/* ============================================================
   SARGAWATT – Page /contact (routage par acteur)
   Extends styles.css + sargasses.css + demande.css
   ============================================================ */

.nav a.active { color: var(--teal-700); background: var(--teal-tint-2); }

/* Hero never carries a form here – keep it compact */
.page-hero .page-hero-visual .ph { min-height: 340px; }

/* ============================================================
   ROUTAGE – question principale + 3 cartes commerciales
   ============================================================ */
.routage { background: var(--surface); border-block: 1px solid var(--line); }
.routage .section-head { margin-bottom: clamp(28px, 4vw, 44px); }

.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.choice-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px 26px 26px;
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.choice-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--teal); }
.choice-ico {
  width: 50px; height: 50px; border-radius: 13px;
  background: var(--teal-tint); color: var(--teal-700);
  display: grid; place-items: center; margin-bottom: 20px;
}
.choice-ico svg { width: 26px; height: 26px; }
.choice-card h3 { font-size: 21px; line-height: 1.14; }
.choice-card p { margin-top: 12px; color: var(--ink-soft); font-size: 15px; line-height: 1.55; flex: 1; }
.choice-cta {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 22px;
  font-family: var(--font-display); font-weight: 600; font-size: 15.5px; color: var(--teal-700);
}
.choice-cta svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.choice-card:hover .choice-cta svg { transform: translateX(5px); }

/* ---------- "Autre demande" – secondary, full width ---------- */
.choice-other {
  margin-top: 18px;
  display: flex; align-items: center; gap: 24px;
  background: var(--bg); border: 1px dashed var(--gray-300);
  border-radius: var(--radius-lg); padding: 24px clamp(24px, 3vw, 34px);
}
.choice-other .co-ico {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink-soft); display: grid; place-items: center;
}
.choice-other .co-ico svg { width: 23px; height: 23px; }
.choice-other .co-text { flex: 1; }
.choice-other h3 { font-size: 19px; }
.choice-other p { margin-top: 6px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.5; }
.choice-other .btn { flex: none; }
.choice-other .btn svg { transition: transform 0.3s var(--ease); }
.choice-other.is-active .btn svg { transform: rotate(180deg); }

/* ---------- Reassurance line under routing ---------- */
.routage-help {
  margin-top: 22px; display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--ink-soft); line-height: 1.5;
}
.routage-help svg { flex: none; width: 17px; height: 17px; color: var(--teal-700); margin-top: 1px; }

/* ============================================================
   FORMULAIRE GÉNÉRAL – révélé seulement pour "Autre demande"
   ============================================================ */
.general-form {
  background: var(--bg);
  overflow: hidden;
  max-height: 0; opacity: 0;
  transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease);
}
.general-form.open { max-height: 2400px; opacity: 1; }
.general-form .wrap { padding-block: clamp(40px, 5vw, 72px); }
.general-form .form-card { max-width: 760px; margin-inline: auto; }
.gf-note {
  max-width: 760px; margin: 0 auto 22px;
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--ink-soft); line-height: 1.5;
}
.gf-note svg { flex: none; width: 17px; height: 17px; color: var(--teal-700); margin-top: 1px; }
@media (prefers-reduced-motion: reduce) {
  .general-form { transition: none; }
}

/* ============================================================
   COORDONNÉES DIRECTES
   ============================================================ */
.coords { background: var(--surface); border-top: 1px solid var(--line); }
.coords-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.coords-card {
  display: flex; gap: 15px; align-items: flex-start;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px;
}
.coords-card .cc-ico {
  flex: none; width: 44px; height: 44px; border-radius: 11px;
  background: var(--teal-tint); color: var(--teal-700);
  display: grid; place-items: center;
}
.coords-card .cc-ico svg { width: 22px; height: 22px; }
.coords-card .cc-label {
  font-weight: 700; font-size: 11.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gray); margin-bottom: 6px;
}
.coords-card .cc-value {
  font-family: var(--font-display); font-weight: 500; font-size: 15.5px;
  color: var(--ink); line-height: 1.5;
}
.coords-card a.cc-value:hover { color: var(--teal-700); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .choice-grid { grid-template-columns: 1fr; }
  .coords-grid { grid-template-columns: 1fr; }
  .choice-other { flex-direction: column; align-items: flex-start; gap: 16px; }
  .choice-other .btn { width: 100%; justify-content: center; }
}
