/* ============================================================
   rk-ime.css — Styles spécifiques à transport-ime-sessad
============================================================ */

/* ── Steps — Comment ça fonctionne ── */
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute; top: 32px;
  left: calc(16.66% + 16px); right: calc(16.66% + 16px);
  height: 2px;
  background: linear-gradient(90deg, #0170B9, #337bff);
  z-index: 0;
}
.step-card {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 24px;
  position: relative; z-index: 1;
}
.step-number {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, #0170B9, #337bff);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Mada', sans-serif; font-size: 1.4rem; font-weight: 800; color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(1,112,185,0.3);
  flex-shrink: 0;
}
.step-duration {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.72rem; color: #0170B9; font-weight: 600;
  background: #f0f7ff; border: 1px solid #c3dcf5;
  border-radius: 20px; padding: 3px 10px; margin-bottom: 14px;
}
.step-card h3 { font-size: 1rem; color: #3a3a3a; margin-bottom: 10px; }
.step-card p  { font-size: 0.82rem; color: #4B4F58; line-height: 1.7; margin: 0; }

/* ── Garanties familles ── */
.garanties-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.garanties-list { display: flex; flex-direction: column; gap: 16px; }
.garantie-item {
  display: flex; gap: 16px; padding: 18px 20px;
  background: #fff; border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border: 1px solid #e8eff8;
  transition: box-shadow 0.2s;
}
.garantie-item:hover { box-shadow: 0 4px 20px rgba(1,112,185,0.12); }
.garantie-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, #0170B9, #337bff);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; flex-shrink: 0;
}
.garantie-text h4 { font-size: 0.93rem; font-weight: 700; color: #3a3a3a; margin-bottom: 4px; }
.garantie-text p  { font-size: 0.8rem; color: #4B4F58; line-height: 1.6; margin: 0; }
.garanties-visual { position: relative; }
.garanties-visual img {
  width: 100%; height: 480px; object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(1,112,185,0.2);
}
.garanties-badge {
  position: absolute; bottom: -18px; left: -18px;
  background: #fff; border-radius: 14px; padding: 14px 18px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  display: flex; align-items: center; gap: 12px;
}
.garanties-badge img    { width: 40px; height: 40px; object-fit: contain; border-radius: 50%; }
.garanties-badge strong { display: block; font-family: 'Mada', sans-serif; font-size: 0.9rem; color: #3a3a3a; }
.garanties-badge span   { font-size: 0.7rem; color: #4B4F58; }

/* ── Section établissements pro ── */
.etab-pro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.etab-pro-card {
  background: #fff; border-radius: 14px; padding: 30px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-top: 3px solid #0170B9;
  transition: box-shadow 0.2s, transform 0.2s;
}
.etab-pro-card:hover { box-shadow: 0 6px 24px rgba(1,112,185,0.12); transform: translateY(-3px); }
.etab-pro-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, #0170B9, #337bff);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem; margin-bottom: 16px;
}
.etab-pro-card h3 { font-size: 1rem; color: #3a3a3a; margin-bottom: 10px; }
.etab-pro-card p  { font-size: 0.83rem; color: #4B4F58; line-height: 1.7; margin: 0; }
.etab-pro-callout {
  background: #0d2d52; border-radius: 14px; padding: 32px 36px;
  margin-top: 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.etab-pro-callout-text h3  { font-size: 1.2rem; color: #fff; margin-bottom: 6px; }
.etab-pro-callout-text p   { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin: 0; }
.etab-pro-callout .btn-call { white-space: nowrap; flex-shrink: 0; }

/* ── Tabs formulaire double ── */
.form-tabs {
  display: flex; gap: 0; margin-bottom: 32px;
  border-radius: 12px; overflow: hidden;
  border: 2px solid #e8eff8;
}
.form-tab-btn {
  flex: 1; padding: 16px 20px; border: none;
  background: #f5f8fc;
  font-family: 'Mada', sans-serif; font-size: 0.95rem; font-weight: 600; color: #4B4F58;
  cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.form-tab-btn:hover { background: #e8eff8; color: #0170B9; }
.form-tab-btn.active { background: #0170B9; color: #fff; }
.form-tab-btn i { font-size: 1rem; }
.form-panel { display: none; }
.form-panel.active { display: block; }

/* ── Responsive IME ── */
@media (max-width: 1024px) {
  .steps-grid         { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid::before { display: none; }
  .garanties-grid     { grid-template-columns: 1fr; gap: 40px; }
  .garanties-visual   { display: none; }
  .etab-pro-grid      { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .etab-pro-callout { flex-direction: column; text-align: center; }
  .form-tabs        { flex-direction: column; }
}
