/* =====================================================================
   Camille Bouchut · Diététicienne-nutritionniste
   Palette OKLCH dérivée de la couleur de marque #ECA4A4 (hue 19).
   Contrastes vérifiés WCAG AA. Réalisation : Skyrisen.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Référence : échelle rose (OKLCH, hue 19.2) */
  --rose-50:  oklch(0.975 0.010 19.2);
  --rose-100: oklch(0.945 0.022 19.2);
  --rose-200: oklch(0.900 0.040 19.2);
  --rose-300: oklch(0.840 0.060 19.2);
  --rose-400: oklch(0.788 0.086 19.2); /* #ECA4A4 marque */
  --rose-500: oklch(0.680 0.110 19.2);
  --rose-600: oklch(0.590 0.130 19.2);
  --rose-700: oklch(0.500 0.120 19.2);

  /* Botanique sage (hue 145) */
  --sage:      oklch(0.550 0.055 145);
  --sage-deep: oklch(0.430 0.045 145);
  --sage-soft: oklch(0.955 0.018 145);

  /* Neutres chauds */
  --cream:    oklch(0.988 0.008 60);   /* fond principal */
  --cream-2:  oklch(0.975 0.012 40);
  --ink:      oklch(0.330 0.045 25);   /* texte, 11.9:1 sur crème */
  --muted:    oklch(0.500 0.035 30);   /* texte secondaire, 5.85:1 */

  /* Sémantique */
  --bg:            var(--cream);
  --surface:       #fff;
  --surface-pink:  var(--rose-100);
  --surface-soft:  var(--rose-50);
  --text:          var(--ink);
  --text-muted:    var(--muted);
  --brand:         var(--rose-400);
  --accent:        oklch(0.545 0.150 25);   /* CTA · blanc dessus 5.36:1 */
  --accent-hover:  oklch(0.490 0.150 25);
  --on-accent:     #fff;
  --border:        oklch(0.900 0.030 19.2);
  --ring:          oklch(0.545 0.150 25);

  /* Typo */
  --font-title: "Lora", Georgia, "Times New Roman", serif;
  --font-body:  "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Rythme */
  --wrap: 1160px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px oklch(0.4 0.05 25 / .06), 0 4px 14px oklch(0.4 0.05 25 / .06);
  --shadow-md: 0 10px 30px oklch(0.45 0.08 25 / .10), 0 2px 8px oklch(0.45 0.08 25 / .06);
  --shadow-lg: 0 24px 60px oklch(0.45 0.08 25 / .16);
  --header-h: 74px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3 { font-family: var(--font-title); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; color: var(--text); margin: 0 0 .5em; }
p { margin: 0 0 1rem; }
::selection { background: var(--rose-300); color: var(--ink); }

:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 200;
  background: var(--accent); color: #fff; padding: .7rem 1.1rem; border-radius: 10px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.wrap { width: min(100% - 2*var(--gutter), var(--wrap)); margin-inline: auto; }

/* ---------- Boutons ---------- */
.btn {
  --pad-y: .85rem; --pad-x: 1.5rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--font-body); font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  border-radius: 999px; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
  min-height: 48px; will-change: transform;
}
.btn .ic { flex: none; }
.btn:active { transform: translateY(1px) scale(.99); }

.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 18px oklch(0.545 0.15 25 / .32); }
.btn-accent:hover { background: var(--accent-hover); box-shadow: 0 10px 26px oklch(0.545 0.15 25 / .40); transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--border); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--brand); background: var(--surface-soft); transform: translateY(-2px); }

.btn-ghost-light { background: oklch(1 0 0 / .14); color: #fff; box-shadow: inset 0 0 0 1.5px oklch(1 0 0 / .55); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: oklch(1 0 0 / .24); transform: translateY(-2px); }

.btn-lg { --pad-y: 1rem; --pad-x: 1.9rem; font-size: 1.03rem; min-height: 54px; }
.btn-sm { --pad-y: .6rem; --pad-x: 1.1rem; min-height: 42px; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- En-tête / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 130; /* au-dessus du backdrop (110) : le drawer, enfant du header, reste ainsi au-dessus du voile */
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
/* Le calque frosté est porté par un ::before, et non par le header lui-même :
   sinon le backdrop-filter crée un "containing block" qui casse le
   position:fixed du drawer mobile (il s'ancrerait au header). */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: oklch(0.988 0.008 60 / .82);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  transition: background-color .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--border); }
.site-header.is-scrolled::before { background: oklch(0.988 0.008 60 / .92); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand-mark { color: var(--brand); display: grid; place-items: center; transition: transform .4s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-title); font-weight: 600; font-size: 1.24rem; color: var(--ink); }
.brand-role { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }

.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav-list > li > a:not(.btn) {
  display: inline-block; padding: .55rem .8rem; border-radius: 10px; font-weight: 500; font-size: .95rem;
  color: var(--text); position: relative; transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-list > li > a:not(.btn)::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .38rem; height: 2px;
  background: var(--brand); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-list > li > a:not(.btn):hover { color: var(--rose-700); }
.nav-list > li > a:not(.btn):hover::after,
.nav-list > li > a.is-active::after { transform: scaleX(1); }
.nav-cta { margin-left: .5rem; }

/* Hamburger */
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; position: relative; z-index: 130;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  position: fixed; inset: 0; z-index: 110; background: oklch(0.30 0.045 25 / .52);
  opacity: 0; transition: opacity .3s var(--ease);
}
.nav-backdrop.is-open { opacity: 1; }

/* Bouton de fermeture du drawer (visible seulement dans le drawer mobile) */
.drawer-close-item { display: none; }
/* Verrou de défilement quand le drawer est ouvert */
body.drawer-open { overflow: hidden; }

/* ---------- Sections génériques ---------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section-soft { background: linear-gradient(180deg, var(--surface-soft), var(--cream)); }
.section-head { max-width: 44rem; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section-intro { color: var(--text-muted); font-size: 1.08rem; }
.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--rose-700); margin-bottom: .9rem;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--brand); border-radius: 2px; }
.kicker-light { color: var(--rose-200); }
.kicker-light::before { background: var(--rose-300); }
h2 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.6rem); }
h3 { font-size: 1.22rem; }
.muted { color: var(--text-muted); }
.note-todo {
  font-size: .82rem; color: var(--sage-deep); background: var(--sage-soft);
  border: 1px dashed var(--sage); border-radius: 10px; padding: .5rem .8rem; display: inline-block;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.grid-2-wide { grid-template-columns: 1.05fr .95fr; align-items: start; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: min(94vh, 820px);
  /* Pas de flex ici : en bloc, le contenu commence forcément en haut (aucun centrage vertical possible) */
  display: block;
  /* Le header sticky est déjà dans le flux au-dessus : pas besoin de compenser sa hauteur ici */
  padding: 2.5rem 0 5rem;
  overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: -8% 0 0; z-index: -2; overflow: hidden; }
.hero-video { width: 100%; height: 116%; object-fit: cover; }
/* Repli chaleureux si la vidéo est absente (le poster/fallback couvre le vide) */
.hero-media-fallback {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 78% 12%, var(--rose-300), transparent 60%),
    radial-gradient(120% 100% at 12% 90%, var(--sage-soft), transparent 55%),
    linear-gradient(140deg, var(--rose-400) 0%, var(--rose-500) 42%, var(--sage) 120%);
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, oklch(0.30 0.05 25 / .72) 0%, oklch(0.30 0.05 25 / .38) 42%, oklch(0.30 0.05 25 / .12) 78%),
    linear-gradient(0deg, oklch(0.30 0.05 25 / .45), transparent 45%);
}
.hero-inner { position: relative; }
.hero-copy { max-width: 40rem; color: #fff; }
.hero-copy .eyebrow { color: #fff; }
.hero-copy .eyebrow-dot { background: var(--rose-300); }
/* Surlignage effet pinceau : coup de brosse rose translucide, texte blanc conservé.
   Le SVG utilise la couleur de marque (#ECA4A4 = --rose-400) avec une opacité faible. */
.hl {
  color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 64' preserveAspectRatio='none'%3E%3Cpath d='M7 33 C3 16 17 9 42 10 C120 5 192 13 264 8 C292 6 300 21 293 34 C300 47 283 56 250 53 C160 58 88 50 28 55 C9 56 4 46 7 33 Z' fill='%23ECA4A4' fill-opacity='0.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 0 .22em .04em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
/* Retour à la ligne réservé au mobile */
.br-mobile { display: none; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .82rem;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.1rem;
}
.eyebrow-dot { width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 0 4px oklch(1 0 0 / .18); }
.hero h1 {
  color: #fff; font-size: clamp(2.2rem, 1.3rem + 4.6vw, 4.1rem); font-weight: 600; line-height: 1.06;
  text-shadow: 0 2px 30px oklch(0.25 0.05 25 / .35);
}
.hero .lede {
  color: oklch(0.97 0.01 60 / .95); font-size: clamp(1.05rem, 1rem + .5vw, 1.28rem);
  max-width: 34rem; text-shadow: 0 1px 16px oklch(0.25 0.05 25 / .3);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.8rem 0 1.6rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; margin: 0; padding: 0; }
.hero-trust li { position: relative; font-size: .92rem; font-weight: 500; color: #fff; padding-left: 1.3rem; }
.hero-trust li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px;
  border-left: 2px solid var(--rose-300); border-bottom: 2px solid var(--rose-300);
  transform: rotate(-45deg);
}

.hero-scroll {
  position: absolute; left: 50%; bottom: 2.2rem; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  color: oklch(1 0 0 / .85); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
}
.hero-scroll-line { width: 1px; height: 44px; background: linear-gradient(oklch(1 0 0 / .8), transparent); position: relative; overflow: hidden; }
.hero-scroll-line::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 40%; background: #fff; animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { transform: translateY(-100%); } 60%,100% { transform: translateY(240%); } }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; line-height: 0; }
.hero-wave svg { width: 100%; height: clamp(40px, 6vw, 84px); }
.hero-wave path { fill: var(--cream); }

/* ---------- À PROPOS ---------- */
.section-apropos { overflow: hidden; margin-top: -1px; background: var(--cream); }
.apropos-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }

/* Portrait blob */
.apropos-portrait { position: relative; justify-self: center; width: min(100%, 420px); }
.blob { position: relative; margin: 0; aspect-ratio: 1 / 1.08; }
.blob-bg { position: absolute; inset: 0; border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%; z-index: 0; }
.blob-bg-rose { background: linear-gradient(150deg, var(--rose-300), var(--rose-400)); transform: translate(6%, 6%) rotate(6deg); opacity: .55; }
.blob-bg-sage { background: linear-gradient(150deg, var(--sage), var(--sage-soft)); transform: translate(-7%, -4%) rotate(-8deg); opacity: .38; }
.blob-img {
  position: relative; z-index: 1; width: 100%; height: 100%; overflow: hidden;
  border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
  box-shadow: var(--shadow-lg); background: var(--surface-pink);
}
.blob-img img { width: 100%; height: 100%; object-fit: cover; }
.blob-placeholder { display: none; }
.blob-img.is-empty img { display: none; }
.blob-img.is-empty .blob-placeholder {
  display: grid; place-content: center; text-align: center; height: 100%;
  color: var(--rose-700); font-family: var(--font-title); font-size: 1.2rem;
}
.blob-img.is-empty .blob-placeholder small { font-family: var(--font-body); font-size: .72rem; color: var(--text-muted); }

.portrait-badge {
  position: absolute; right: -.4rem; bottom: 1.6rem; z-index: 2;
  background: var(--surface); border-radius: 14px; padding: .6rem .9rem;
  box-shadow: var(--shadow-md); display: flex; flex-direction: column; line-height: 1.1;
  border: 1px solid var(--border);
}
.badge-num { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-700); font-weight: 700; }
.badge-txt { font-family: var(--font-title); font-size: .98rem; color: var(--ink); }

.apropos-text .kicker { justify-content: flex-start; }

/* Légumes qui tombent */
.veg-fall { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.veg { position: absolute; top: -8%; left: var(--x); width: clamp(26px, 3.4vw, 40px); opacity: 0; will-change: transform, opacity; }
.veg svg { width: 100%; height: auto; filter: drop-shadow(0 6px 8px oklch(0.4 0.06 25 / .16)); }
.section-apropos.veg-active .veg { animation: vegFall 2.6s var(--ease) forwards; animation-delay: var(--d); }
@keyframes vegFall {
  0%   { opacity: 0; transform: translateY(-30px) rotate(0deg); }
  12%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(78vh) rotate(var(--r)); }
}

/* ---------- Liste diplômes ---------- */
.cred-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.cred-list li {
  display: flex; align-items: flex-start; gap: .9rem; padding: 1.15rem 1.2rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cred-list li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cred-ic { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-pink); color: var(--rose-700); }
.cred-list div { display: flex; flex-direction: column; }
.cred-list strong { font-family: var(--font-title); font-weight: 600; font-size: 1rem; }
.cred-list span { font-size: .84rem; color: var(--text-muted); }

/* ---------- Réassurance ---------- */
.reassurance { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: clamp(4rem, 7vw, 5.5rem) 0; }
/* Vagues séparatrices (haut + bas), remplies du fond clair des sections voisines */
.band-wave { position: absolute; left: 0; right: 0; z-index: 1; line-height: 0; pointer-events: none; }
.band-wave svg { width: 100%; height: clamp(30px, 4vw, 56px); display: block; }
.band-wave path { fill: var(--cream); }
.band-wave-top { top: -1px; transform: scaleY(-1); }
.band-wave-bottom { bottom: -1px; }
.reassurance-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.4rem, 3vw, 2.4rem); }
.reassure { text-align: center; }
.reassure-num { display: block; font-family: var(--font-title); font-size: clamp(1.5rem, 1rem + 1.8vw, 2.1rem); color: var(--rose-300); margin-bottom: .4rem; }
.reassure p { color: oklch(0.94 0.01 60 / .82); font-size: .92rem; margin: 0; }

/* ---------- Méthode ---------- */
.method { position: relative; margin-top: 2rem; }
.method-line { position: absolute; color: var(--brand); opacity: .85; z-index: 0; pointer-events: none; }
.method-line-h { top: 0; left: 0; width: 100%; height: 120px; }
.method-line-v { display: none; }
.method-path { transition: none; } /* pilotée au scroll par JS : pas de transition CSS */
.method-steps { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.method-step { text-align: center; padding-top: 1rem; }
.step-dot {
  display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 1.2rem;
  border-radius: 50%; background: var(--surface); color: var(--rose-700);
  font-family: var(--font-title); font-size: 1.4rem; box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.method-step.step-active .step-dot { background: var(--accent); color: var(--cream); border-color: var(--accent); box-shadow: 0 8px 22px oklch(0.545 0.15 25 / .35); }
.method-step h3 { margin-bottom: .4rem; }
.method-step p { color: var(--text-muted); font-size: .96rem; max-width: 20rem; margin-inline: auto; }

/* ---------- Cartes prises en charge ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 1.5rem); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.7rem 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--rose-300); }
.card-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(145deg, var(--surface-pink), var(--sage-soft)); color: var(--rose-700); margin-bottom: 1.1rem; }
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--text-muted); font-size: .95rem; margin: 0; }
.cards + .note-todo { margin-top: 1.6rem; }

/* ---------- Tarifs ---------- */
.pay-facts { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .9rem; }
.pay-facts li { display: flex; align-items: flex-start; gap: .75rem; font-size: .96rem; }
.pay-ic { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-pink); color: var(--rose-700); }

.pricing { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.2rem); box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.pricing::before { content: ""; position: absolute; top: -40px; right: -40px; width: 150px; height: 150px; border-radius: 50%; background: var(--surface-pink); opacity: .6; z-index: 0; }
.price-head { position: relative; z-index: 1; display: flex; align-items: baseline; gap: .6rem; padding-bottom: 1.2rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--border); }
.price-amount { font-family: var(--font-title); font-size: clamp(2.4rem, 1.6rem + 3vw, 3.4rem); font-weight: 600; color: var(--ink); }
.price-per { color: var(--text-muted); font-size: .95rem; }
.price-motifs { position: relative; z-index: 1; list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .9rem; }
.price-motifs li { display: flex; align-items: flex-start; gap: .7rem; }
.price-motifs li::before { content: ""; flex: none; margin-top: .5rem; width: 16px; height: 9px; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg); }
.price-motifs strong { font-family: var(--font-title); font-weight: 600; display: block; }
.price-motifs span { font-size: .86rem; color: var(--text-muted); }
.price-foot { position: relative; z-index: 1; margin: 1rem 0 0; font-size: .85rem; color: var(--text-muted); text-align: center; }

/* ---------- Cabinet ---------- */
.cabinet-address { font-style: normal; font-size: 1.05rem; margin: 1.3rem 0; line-height: 1.7; }
.cabinet-address strong { font-family: var(--font-title); }
.access-list { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: .8rem; }
.access-list li { display: flex; align-items: center; gap: .75rem; font-size: .97rem; }
.access-ic { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--sage-soft); color: var(--sage-deep); }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); aspect-ratio: 4 / 3; background: var(--surface-pink); }
.map-frame iframe { width: 100%; height: 100%; }

/* ---------- Contact ---------- */
.section-contact { background: linear-gradient(150deg, var(--rose-600), var(--rose-700) 65%, var(--sage-deep)); color: #fff; }
.contact-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2.5rem; }
.contact-copy { max-width: 30rem; }
.contact-copy h2 { color: #fff; }
.contact-copy p { color: oklch(0.96 0.01 60 / .9); margin: 0; }
.contact-actions { display: flex; flex-direction: column; gap: 1.1rem; align-items: flex-start; }
.contact-direct { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.contact-direct a { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-weight: 500; padding: .4rem 0; border-bottom: 1px solid transparent; transition: border-color .2s var(--ease); }
.contact-direct a:hover { border-bottom-color: oklch(1 0 0 / .7); }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream-2); border-top: 1px solid var(--border); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-brand .brand-name { font-size: 1.4rem; color: var(--ink); }
.footer-role { color: var(--text-muted); font-size: .92rem; margin: .3rem 0 .2rem; }
.footer-rpps { font-size: .82rem; color: var(--text-muted); margin: 0; }
.footer-nav { display: flex; flex-direction: column; gap: .55rem; }
.footer-nav a { color: var(--text); font-size: .95rem; width: fit-content; border-bottom: 1px solid transparent; transition: border-color .2s var(--ease), color .2s var(--ease); }
.footer-nav a:hover { color: var(--rose-700); border-bottom-color: var(--brand); }
.footer-contact { display: flex; flex-direction: column; gap: .5rem; font-size: .95rem; align-items: flex-start; }
.footer-contact a:hover { color: var(--rose-700); }
.footer-linkedin { display: inline-flex; align-items: center; justify-content: center; color: var(--accent); line-height: 0; padding: .15rem; margin-top: .35rem; border-radius: 8px; transition: color .2s var(--ease), transform .2s var(--ease); }
.footer-linkedin:hover { color: var(--rose-600); transform: translateY(-2px); }
.footer-contact address { font-style: normal; color: var(--text-muted); }

.legal { border-top: 1px solid var(--border); }
.legal summary { cursor: pointer; padding: 1.2rem 0; font-weight: 600; font-size: .95rem; list-style: none; display: flex; align-items: center; gap: .6rem; color: var(--text); }
.legal summary::-webkit-details-marker { display: none; }
.legal summary::before { content: "+"; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--surface-pink); color: var(--rose-700); font-weight: 700; transition: transform .25s var(--ease); }
.legal[open] summary::before { content: "-"; }
.legal-body { padding-bottom: 1.5rem; font-size: .88rem; color: var(--text-muted); max-width: 60rem; }
.legal-body h3 { font-size: 1rem; color: var(--text); margin-top: 1.2rem; }
.legal-body p { margin-bottom: .8rem; }

.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding: 1.4rem 0; border-top: 1px solid var(--border); font-size: .82rem; color: var(--text-muted); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--rose-700); border-bottom: 1px solid transparent; transition: border-color .2s var(--ease); }
.footer-bottom a:hover { border-bottom-color: var(--brand); }
.credit { font-weight: 500; }
.credit::before { content: "✦ "; color: var(--brand); }

/* ---------- Boutons flottants mobile (FAB ronds, icône seule, à droite) ---------- */
.mobile-cta {
  position: fixed; right: 14px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 90;
  display: none; flex-direction: column; gap: .7rem;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
/* Les boutons s'effacent une fois arrivé dans le pied de page */
.mobile-cta.is-hidden { opacity: 0; transform: translateY(24px) scale(.85); pointer-events: none; }
.fab {
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.fab svg { width: 25px; height: 25px; }
.fab:active { transform: scale(.93); }
.fab-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 24px oklch(0.545 0.15 25 / .45); }
.fab-accent:hover { background: var(--accent-hover); }
.fab-soft { background: var(--surface); color: var(--rose-700); border: 1px solid var(--border); }
.fab-soft:hover { background: var(--surface-soft); }

/* ---------- Page mentions légales ---------- */
.legal-page { padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(3rem, 7vw, 5rem); }
.legal-page-wrap { max-width: 780px; }
.legal-page h1 { font-size: clamp(1.9rem, 1.4rem + 2.4vw, 2.8rem); margin-bottom: 1.6rem; }
.legal-article { font-size: 1rem; color: var(--text); max-width: none; }
.legal-article h2 { font-family: var(--font-title); font-weight: 600; font-size: 1.3rem; color: var(--ink); margin: 2rem 0 .6rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.legal-article h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 1rem; }
.legal-article p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.7; }
.legal-article a { color: var(--rose-700); border-bottom: 1px solid var(--border); }
.legal-article a:hover { border-bottom-color: var(--brand); }
.legal-back { margin-top: 2.5rem; }
/* Nav simplifiée (pages secondaires) : jamais de drawer, reste en ligne */
.nav-list-simple { gap: .8rem; }

/* ---------- Révélations au scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
[data-draw] { transition: stroke-dashoffset 1.6s var(--ease); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 980px) {
  .grid-2, .grid-2-wide { grid-template-columns: 1fr; }
  .apropos-grid { grid-template-columns: 1fr; }
  .apropos-portrait { order: -1; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .method-line-h { display: none; }
  .method-line-v { display: block; top: 0; left: 0; width: 58px; height: 100%; }
  .method-steps { grid-template-columns: 1fr; gap: 2.4rem; }
  .method-step { display: grid; grid-template-columns: 58px 1fr; column-gap: 1rem; row-gap: .3rem; align-items: center; text-align: left; padding-top: 0; }
  .method-step .step-dot { grid-column: 1; grid-row: 1 / span 2; margin: 0; align-self: center; }
  .method-step h3 { grid-column: 2; align-self: end; margin-bottom: 0; }
  .method-step p { grid-column: 2; align-self: start; text-align: left; max-width: none; margin-inline: 0; }
  .reassurance-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  /* Drawer mobile */
  .nav-toggle { display: flex; }
  .nav-list {
    position: fixed; top: 0; right: 0; z-index: 120;
    height: 100dvh; width: min(82vw, 340px);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: .2rem;
    padding: calc(var(--header-h) + 1rem) 1.5rem 2rem;
    background: var(--cream); box-shadow: -20px 0 60px oklch(0.4 0.06 25 / .18);
    transform: translateX(100%); visibility: hidden;
    transition: transform .38s var(--ease), visibility .38s var(--ease);
    overflow-y: auto; overscroll-behavior: contain;
  }
  .nav-list.is-open { transform: translateX(0); visibility: visible; }

  /* Croix de fermeture : ancrée au viewport (dans le panneau fixe), toujours en haut à droite */
  .drawer-close-item { display: block; opacity: 1 !important; transform: none !important; }
  .drawer-close {
    position: fixed; top: 1rem; right: 1.05rem; z-index: 6;
    width: 46px; height: 46px; border-radius: 12px;
    display: grid; place-items: center; color: var(--ink);
    background: var(--surface-soft); box-shadow: var(--shadow-sm);
    transition: background-color .2s var(--ease), transform .2s var(--ease);
  }
  .drawer-close:hover { background: var(--surface-pink); }
  .drawer-close:active { transform: scale(.94); }
  /* On masque le hamburger du header quand le drawer est ouvert (la croix du panneau le remplace) */
  body.drawer-open .nav-toggle { opacity: 0; pointer-events: none; }
  .nav-list > li { opacity: 0; transform: translateX(18px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav-list.is-open > li { opacity: 1; transform: none; }
  .nav-list.is-open > li:nth-child(1) { transition-delay: .08s; }
  .nav-list.is-open > li:nth-child(2) { transition-delay: .13s; }
  .nav-list.is-open > li:nth-child(3) { transition-delay: .18s; }
  .nav-list.is-open > li:nth-child(4) { transition-delay: .23s; }
  .nav-list.is-open > li:nth-child(5) { transition-delay: .28s; }
  .nav-list.is-open > li:nth-child(6) { transition-delay: .33s; }
  .nav-list.is-open > li:nth-child(7) { transition-delay: .38s; }
  .nav-list.is-open > li:nth-child(8) { transition-delay: .43s; }
  .nav-list > li > a:not(.btn) { display: block; padding: .9rem .6rem; font-size: 1.05rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-list > li > a:not(.btn)::after { display: none; }
  .nav-cta { margin: 1rem 0 0; }
  .nav-cta .btn { width: 100%; }

  /* Nav simplifiée (page mentions légales) : pas de drawer, reste en ligne */
  .nav-list.nav-list-simple {
    position: static; height: auto; width: auto; flex-direction: row; align-items: center;
    padding: 0; background: none; box-shadow: none; transform: none; visibility: visible; overflow: visible;
  }
  .nav-list.nav-list-simple > li { opacity: 1; transform: none; border: 0; }
  .nav-list.nav-list-simple > li > a:not(.btn) { display: inline-block; padding: .5rem .5rem; font-size: .9rem; border-bottom: 0; }
  .nav-list.nav-list-simple .nav-cta { margin: 0; }
  .nav-list.nav-list-simple .nav-cta .btn { width: auto; }

  .mobile-cta { display: flex; }
  main { scroll-margin-top: var(--header-h); }

  .hero { min-height: 88vh; text-align: left; padding: 2rem 0 7rem; }
  .br-mobile { display: inline; }
  .cards { grid-template-columns: 1fr; }
  .cred-list { grid-template-columns: 1fr; }
  .reassurance-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .contact-actions { width: 100%; }
  .contact-actions .btn { width: 100%; }
}

@media (max-width: 420px) {
  .brand-role { display: none; }
  .reassurance-grid { grid-template-columns: 1fr; }
}

/* Ancrage : compenser le header sticky */
:where(section[id]) { scroll-margin-top: calc(var(--header-h) + 12px); }

/* =====================================================================
   PRÉFÉRENCE MOUVEMENT RÉDUIT
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-video { display: none; }
  .hero-scroll-line::after { display: none; }
  .veg { opacity: 0 !important; }
  [data-draw] { stroke-dashoffset: 0 !important; }
}
