/* =====================================================================
   OnePage · Psychothérapie systémique
   ÉTAPE 1 — Design System (tokens, typographie, layout, composants)
   Palette neuro-esthétique : sauge organique · lin chaud · encre douce
   ===================================================================== */

/* ----------------------------------------------------------------
   1. TOKENS
   ---------------------------------------------------------------- */
:root {
  /* --- Couleurs : tons organiques et rassurants --- */
  --canvas:     #E9EBE2;   /* fond sauge-lin (base derrière le WebGL) */
  --paper:      #F5F4EE;   /* surfaces / cartes */
  --paper-hi:   #FBFAF5;   /* surfaces surélevées / champs */
  --sage-100:   #DBE1D2;
  --sage-300:   #AEBBA1;
  --sage-500:   #7E8E72;   /* vert sauge principal */
  --sage-700:   #52604A;   /* vert profond */
  --ink:        #2E3830;   /* texte principal (encre vert-profond, jamais noir pur) */
  --ink-soft:   #5B6459;   /* texte secondaire */
  --clay:       #B98B6E;   /* accent chaud — argile, usage parcimonieux */
  --clay-deep:  #9C6E52;
  --line:       rgba(46, 56, 48, 0.12);
  --line-soft:  rgba(46, 56, 48, 0.06);

  /* --- Typographie --- */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-eyebrow: 0.8rem;
  --fs-body:    1.0625rem;                          /* 17px */
  --fs-lead:    clamp(1.15rem, 0.9rem + 0.9vw, 1.375rem);
  --fs-h3:      clamp(1.25rem, 1.05rem + 0.7vw, 1.5rem);
  --fs-h2:      clamp(1.9rem, 1.4rem + 2.2vw, 2.85rem);
  --fs-h1:      clamp(2.2rem, 1.5rem + 3vw, 3.5rem);

  --lh-tight: 1.12;
  --lh-snug:  1.28;
  --lh-body:  1.68;

  /* --- Rythme / espacement (généreux : « respiration ») --- */
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --section-y: clamp(5rem, 3rem + 8vw, 9rem);

  --maxw:   1160px;
  --maxw-text: 62ch;
  --header-h: 77px;   /* hauteur de l'en-tête sticky (min-height 76 + bordure 1) */

  /* --- Formes & profondeur : douceur --- */
  --radius:    18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 50px -28px rgba(46, 56, 48, 0.35);
  --shadow-card: 0 1px 0 rgba(255,255,255,0.6) inset, 0 22px 45px -34px rgba(46,56,48,0.4);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.5s;
}

/* ----------------------------------------------------------------
   2. RESET & BASE
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;              /* remplacé par Lenis à l'Étape 2 */
  -webkit-text-size-adjust: 100%;
  scrollbar-width: thin;                /* barre fine (Firefox) */
  scrollbar-color: var(--sage-300) transparent;
}

/* Barre de défilement discrète (WebKit) — cohérente avec la palette */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--sage-300);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: var(--sage-500); }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--canvas);
  font-weight: 400;
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }

/* ----------------------------------------------------------------
   3. FOND WEBGL — « Liquid Gradient »
   Fallback statique (dégradé « respiration ») avant le shader.
   ---------------------------------------------------------------- */
#webgl-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 18% 12%, #F1F2EA 0%, rgba(241,242,234,0) 55%),
    radial-gradient(100% 80% at 85% 18%, #E4EAD9 0%, rgba(228,234,217,0) 60%),
    radial-gradient(120% 100% at 75% 92%, #E6E4D6 0%, rgba(230,228,214,0) 55%),
    linear-gradient(180deg, #ECEEE4 0%, #E7E9DF 100%);
}

/* ----------------------------------------------------------------
   4. UTILITAIRES DE MISE EN PAGE
   ---------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 0.5rem + 3vw, 2.5rem);
}

.section {
  min-height: 100vh;
  min-height: 100svh;            /* chaque section occupe l'écran → calage net */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(6rem, 4.5rem + 3vw, 8rem) clamp(2.5rem, 1.5rem + 2vw, 3.5rem);
  position: relative;
}

.section__head { max-width: var(--maxw-text); margin-bottom: var(--space-12); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  background: var(--sage-700); color: #fff; padding: 0.6rem 1.1rem;
  border-radius: var(--radius-pill); z-index: 200; transition: top var(--dur) var(--ease);
  white-space: nowrap; /* sur mobile, le texte passait sur 2 lignes → dépassait
    l'offset -60px et restait visible en permanence en haut de l'écran */
}
.skip-link:focus { top: 12px; }

/* ----------------------------------------------------------------
   5. TYPOGRAPHIE
   ---------------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-500);
  margin-bottom: var(--space-4);
}

.section__title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  letter-spacing: -0.01em;
  color: var(--sage-700);
  text-wrap: balance;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: var(--maxw-text);
}

/* ----------------------------------------------------------------
   6. BOUTONS
   ---------------------------------------------------------------- */
.btn {
  --btn-bg: var(--sage-700);
  --btn-fg: #F7F8F2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 0.975rem;
  letter-spacing: 0.005em;
  cursor: pointer;
  transition: transform var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  will-change: transform;
}
.btn--primary:hover {
  background: var(--clay-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.btn--primary:active { transform: translateY(0); }

/* ----------------------------------------------------------------
   7. EN-TÊTE / NAVIGATION
   ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  background: rgba(237, 238, 228, 0.62);
  border-bottom: 1px solid var(--line-soft);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 0.85rem; }
.brand__mark {
  flex: none;
  height: clamp(32px, 22px + 2vw, 42px);
  width: auto;
  color: var(--sage-700);
}
.brand__tagline {
  display: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-500);
}
/* Le tagline n'apparaît que sur ordinateur, une fois la nav complète en place. */
@media (min-width: 961px) {
  .brand__tagline { display: inline-block; }
}

.nav__list { display: flex; gap: clamp(1rem, 0.4rem + 1.6vw, 2.1rem); }
.nav__list a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding-block: 0.35rem;
  transition: color var(--dur) var(--ease);
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--sage-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__list a:hover { color: var(--sage-700); }
.nav__list a:hover::after { transform: scaleX(1); }

/* --- Menu mobile : bouton burger (affiché sous 720px, voir §16) --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle__bar {
  width: 20px; height: 1.5px;
  margin-inline: auto;
  background: var(--sage-700);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
/* État ouvert : les deux barres forment une croix */
.site-header.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.site-header.is-open .nav-toggle__bar:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

/* Centrage optique de la navigation sur grand écran (cf. audit).
   Doit coïncider avec le seuil du burger (§16 RESPONSIVE) : c'est exactement
   au-dessus de 960px que la nav revient dans le flux normal de l'en-tête. */
@media (min-width: 961px) {
  .header__inner { position: relative; }
  .nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

/* ----------------------------------------------------------------
   8. HERO
   ---------------------------------------------------------------- */
.hero {
  /* en-tête (sticky, dans le flux) + hero = un seul écran → aucun vide en haut,
     et rien à « remonter » au-dessus du contenu d'accueil */
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
  scroll-margin-top: var(--header-h); /* clic « Accueil » → retour tout en haut */
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: stretch;   /* l'image épouse la hauteur du texte → jamais plus haute */
}
.hero__content { max-width: 34rem; }
.hero__title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 340;
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  color: var(--sage-700);
  text-wrap: balance;
  margin-block: 0.25rem 1.1rem;
}
.hero__lead { margin-bottom: 1.25rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1.1rem;
  background: var(--sage-100);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--sage-700);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 1.25rem;
}
.badge__dot {
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage-500);
}

.hero__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--sage-100);
  height: 100%;            /* = hauteur de la colonne texte (grille en stretch) */
  min-height: 0;
}
.hero__visual img { width: 100%; height: 100%; object-fit: cover; }

/* ----------------------------------------------------------------
   9. CONSULTATIONS — CARTES
   ---------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 0.5rem + 1.6vw, 1.75rem);
}
.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: clamp(1.5rem, 1rem + 1.4vw, 2.25rem);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h3);
  color: var(--sage-700);
  letter-spacing: -0.01em;
}
.card__intro {
  color: var(--ink-soft);
  font-size: 0.98rem;
  min-height: 5.05em;   /* ≈ 3 lignes : aligne les filets horizontaux des 3 cartes */
}
.card__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: var(--space-4);
  border-top: 1px solid var(--line-soft);
}
.card__list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.94rem;
  color: var(--ink);
  line-height: 1.45;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage-300);
}

/* ----------------------------------------------------------------
   10. APPROCHE
   ---------------------------------------------------------------- */
.approche__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
.approche__head { position: sticky; top: 110px; margin-bottom: 0; }
.approche__intro { margin-top: var(--space-6); }

.pillars { display: flex; flex-direction: column; gap: var(--space-8); }
.pillar {
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--line-soft);
}
.pillar:last-child { border-bottom: 0; padding-bottom: 0; }
.pillar__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h3);
  color: var(--sage-700);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}
.pillar__text { color: var(--ink-soft); }

/* ----------------------------------------------------------------
   11. TARIFS
   ---------------------------------------------------------------- */
.tarifs__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-areas:
    "head  head"
    "price insurance";
  gap: clamp(1.75rem, 1rem + 2vw, 2.75rem) clamp(1.5rem, 1rem + 2vw, 3rem);
  align-items: start;
}
.tarifs .section__head { grid-area: head; margin-bottom: 0; } /* évite le double espacement */
.tarifs__price-card { grid-area: price; }
.tarifs .insurance { grid-area: insurance; max-width: none; }

.tarifs__price-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding: clamp(2rem, 1.5rem + 2vw, 3rem);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  height: 100%;
}
.price-card__label {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-500);
}
.price-card__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: var(--font-display);
  color: var(--sage-700);
}
.price-card__value {
  font-size: var(--fs-h3);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
}
.price-card__currency { font-size: 1rem; font-weight: 500; }
.price-card__unit {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.price-card__note {
  color: var(--ink-soft);
  max-width: 38ch;
  padding-top: var(--space-4);
  border-top: 1px solid var(--line-soft);
}
.price-card__modalities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: auto;
}
.price-card__modalities li {
  padding: 0.55rem 1.05rem;
  background: var(--sage-100);
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--sage-700);
}

.insurance {
  max-width: var(--maxw-text);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  background: var(--paper-hi);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--sage-300);
  border-radius: var(--radius);
}
.insurance__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h3);
  color: var(--sage-700);
  margin-bottom: var(--space-3);
}
.insurance__text { color: var(--ink-soft); }

/* ----------------------------------------------------------------
   12. CONTACT & ACCÈS
   ---------------------------------------------------------------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-areas:
    "eyebrow eyebrow"
    "intro   details"
    "form    details";
  gap: clamp(1rem, 0.6rem + 1vw, 1.5rem) clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
.contact__head { grid-area: eyebrow; margin-bottom: 0; }
.contact__intro { grid-area: intro; }
.form { grid-area: form; }
/* Le bloc coordonnées + carte démarre au niveau du paragraphe d'intro (pas
   après lui) et s'étire (align-self: stretch) sur toute la hauteur
   intro+formulaire : la carte peut alors grandir vers le haut pour occuper
   l'espace ainsi libéré, au lieu de rester comprimée en bas de colonne. */
.contact__side {
  grid-area: details;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.details { flex: 0 0 auto; }

/* --- Carte de localisation --- */
.map {
  flex: 1 1 auto;
  min-height: 140px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
  /* Désature et réchauffe la palette bleu/vert saturée de Google Maps pour
     qu'elle rejoigne les tons sauge/lin du reste du site. */
  filter: grayscale(0.5) sepia(0.16) saturate(1.35) brightness(1.04) contrast(0.96);
}
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* --- Formulaire --- */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--sage-700);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--paper-hi);
  border: 1px solid var(--line);
  border-radius: 12px;   /* plus précis qu'un rayon « bulle » sur un formulaire médical */
  color: var(--ink);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.field input::placeholder,
.field textarea::placeholder { color: #99a094; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sage-500);
  box-shadow: 0 0 0 4px rgba(126, 142, 114, 0.15);
}
.form__actions { justify-items: start; }
.form__actions .btn { width: 100%; }
.form__actions .btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Piège à robots : masqué pour tout le monde sauf les robots qui remplissent
   les champs aveuglément (pas display:none, que certains bots détectent). */
.field--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__feedback {
  font-size: 0.92rem;
  font-weight: 500;
  min-height: 1.3em;
}
.form__feedback--success { color: var(--sage-700); }
.form__feedback--error { color: var(--clay-deep); }

/* --- Coordonnées --- */
.details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: clamp(1rem, 0.7rem + 1vw, 1.375rem);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.details__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-500);
  margin-bottom: 0.5rem;
}
.details__text { color: var(--ink-soft); font-style: normal; }
.details__block--note {
  padding-top: var(--space-4);
  border-top: 1px solid var(--line-soft);
}
.details__block--note .details__text { font-size: 0.9rem; }

/* ----------------------------------------------------------------
   13. PIED DE PAGE
   ---------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding-block: var(--space-12);
  background: rgba(233, 235, 226, 0.5);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.footer__legal a { border-bottom: 1px solid var(--line); transition: color var(--dur) var(--ease); }
.footer__legal a:hover { color: var(--sage-700); }

/* ----------------------------------------------------------------
   14. HOOKS D'ANIMATION (états gérés par GSAP à l'Étape 2)
   Contenu volontairement visible sans JS — pas de flash of invisible content.
   ---------------------------------------------------------------- */
[data-reveal] { will-change: opacity, filter, transform; }

/* Anti-FOUC : quand JS est actif (classe .js posée avant le premier paint),
   on pré-masque les éléments que GSAP va révéler. Sans JS, tout reste visible. */
html.js [data-reveal] { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; }
}

/* ----------------------------------------------------------------
   15. ACCESSIBILITÉ — focus visible & mouvement réduit
   ---------------------------------------------------------------- */
:focus-visible {
  outline: 2.5px solid var(--sage-500);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ----------------------------------------------------------------
   16. RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; aspect-ratio: 16 / 10; height: auto; }
  .approche__grid { grid-template-columns: 1fr; }
  .approche__head { position: static; }
  .cards { grid-template-columns: 1fr; }
  .tarifs__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "price" "insurance";
  }
  .contact__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "eyebrow" "intro" "form" "details";
  }
  .contact__side { align-self: auto; }
  .map { flex: none; height: clamp(140px, 30vw, 200px); }

  /* Le CTA d'en-tête laisse place au burger ; l'action reste couverte par le
     CTA du hero et l'entrée « Contact » du menu. Basculé au même point de
     rupture que la mise en page ci-dessus : entre 720 et 960px, la nav
     complète + le CTA ne tiennent plus sur une seule ligne sans repli. */
  .header__cta { display: none; }
  .nav-toggle { display: inline-flex; }

  /* Le menu devient un panneau déroulant piloté par .is-open (voir app.js) */
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    padding: var(--space-4) 0 var(--space-6);
    background: rgba(237, 238, 228, 0.96);
    backdrop-filter: blur(12px) saturate(1.05);
    -webkit-backdrop-filter: blur(12px) saturate(1.05);
    border-bottom: 1px solid var(--line-soft);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity var(--dur) var(--ease),
                transform var(--dur) var(--ease),
                visibility var(--dur);
  }
  .site-header.is-open .nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav__list {
    flex-direction: column;
    gap: 0;
    padding-inline: clamp(1.25rem, 0.5rem + 3vw, 2.5rem);
  }
  .nav__list li { border-top: 1px solid var(--line-soft); }
  .nav__list li:first-child { border-top: 0; }
  .nav__list a { display: block; padding: 0.9rem 0; font-size: 1.05rem; }
  .nav__list a::after { display: none; }
}

@media (max-width: 720px) {
  .form { grid-template-columns: 1fr; }
}
