/* =========================================================
   La Bulle d'Équilibre — Maureen Vial
   Identité officielle : Navy #162035 · Or #C9A84C · Bleu ciel #7BAFD4
   Typo : Cormorant Garamond (display) + Outfit (UI/corps)
   Accessibilité AA visée. Aucune couleur violet/rose.
   ========================================================= */

/* Polices auto-hébergées (RGPD) — voir assets/fonts.css */
@import "fonts.css";

:root {
  /* Couleurs marque */
  --navy:        #162035;
  --navy-2:      #1d2a44;
  --navy-3:      #26365a;
  --gold:        #c9a84c;
  --gold-soft:   #e3cd8a;
  --gold-ink:    #8a6d22; /* or lisible sur blanc (contraste AA) */
  --blue:        #7bafd4;
  --steel:       #4891b5;
  --steel-dark:  #1f5f80; /* liens sur blanc (AA) */
  --mist:        #f1f6fb; /* fond froid */
  --cream:       #faf7ef; /* fond chaud premium */
  --tint:        #eef5fb;
  --ink:         #162035;
  --body:        #3a4658;
  --muted:       #4a5e7a;
  --line:        #e5e9f1;
  --line-soft:   #eef1f7;
  --white:       #ffffff;
  --bg:          #ffffff;

  /* Typo */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Système */
  --maxw: 1160px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(22,32,53,.05), 0 4px 14px rgba(22,32,53,.05);
  --shadow:    0 14px 40px rgba(22,32,53,.10);
  --shadow-lg: 0 30px 70px rgba(22,32,53,.18);
  --gut: clamp(1.1rem, 4vw, 2rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--body);
  background: var(--bg);
  line-height: 1.72;
  font-size: 1.0625rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); line-height: 1.08; font-weight: 600; letter-spacing: .2px; }
p { margin: 0 0 1rem; }
strong { font-weight: 600; color: var(--navy); }

/* ---------- Accessibilité ---------- */
.skip-link { position: absolute; left: -999px; top: 0; z-index: 2000; background: var(--gold); color: var(--navy); padding: .8rem 1.2rem; border-radius: 0 0 10px 0; font-weight: 600; font-family: var(--sans); }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding: clamp(3.8rem, 8vw, 6.5rem) 0; position: relative; }
.section--mist { background: var(--mist); }
.section--cream { background: var(--cream); }
.section--navy { background:
  radial-gradient(120% 120% at 12% 0%, #21304e 0%, var(--navy) 55%);
  color: #c2d0e2; }

/* Étiquette de section — or + filet doré */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .24em;
  font-size: .72rem; font-weight: 600; color: var(--gold-ink); margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); }
.section--navy .eyebrow { color: var(--gold); }
.section--navy .eyebrow::before { background: var(--gold); opacity: .8; }
.section-head { max-width: 760px; margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
h2.title { font-size: clamp(2.1rem, 5vw, 3.3rem); margin: 0 0 1rem; font-weight: 600; }
.lead { font-size: 1.18rem; color: var(--muted); font-weight: 400; }
.section--navy h2.title, .section--navy h3 { color: #fff; }
.section--navy .lead { color: #9fb3cb; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-weight: 500; font-size: 1rem;
  padding: .9rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  text-decoration: none; line-height: 1; transition: transform .15s ease, box-shadow .2s ease, background .2s, color .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--navy); font-weight: 600; box-shadow: 0 10px 26px rgba(201,168,76,.38); }
.btn--gold:hover { background: var(--gold-soft); color: var(--navy); box-shadow: 0 14px 32px rgba(201,168,76,.5); transform: translateY(-1px); }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 10px 26px rgba(22,32,53,.25); }
.btn--primary:hover { background: var(--navy-2); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-ink); background: #fff; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { border-color: var(--gold); color: var(--gold); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand:hover { color: inherit; }
.brand__logo { height: 68px; width: auto; display: block; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(201,168,76,.28);
  box-shadow: 0 6px 24px rgba(22,32,53,.22);
}
.site-header::after { /* fin liseré doré */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .7;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 1rem; }
.nav__links { display: flex; align-items: center; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }
.nav__links a { font-family: var(--sans); font-weight: 400; color: #e7eef6; text-decoration: none; font-size: .98rem; position: relative; padding: .3rem 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px; background: var(--gold); transition: right .25s ease; }
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { right: 0; }
.nav__cta { display: flex; align-items: center; gap: .9rem; }
.nav__phone { color: #cdd9e8; text-decoration: none; font-size: .96rem; font-weight: 400; white-space: nowrap; }
.nav__phone:hover { color: var(--gold); }
.nav__toggle { display: none; background: none; border: 1.5px solid rgba(255,255,255,.25); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { content: ""; display: block; width: 20px; height: 2px; background: #fff; position: relative; transition: .2s; }
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }

@media (max-width: 980px) {
  .nav { height: 72px; }
  .brand__logo { height: 54px; }
  .nav__toggle { display: inline-flex; }
  .nav__phone { display: none; }
  .nav__links {
    position: absolute; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--navy); gap: 0; padding: .4rem var(--gut) 1.2rem; border-bottom: 1px solid rgba(201,168,76,.3);
    box-shadow: var(--shadow); transform: translateY(-135%); transition: transform .25s ease; z-index: -1;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__links a { display: block; padding: .95rem .2rem; }
}

/* ---------- Décor bulles ---------- */
.deco-bubble { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.deco-bubble.ring { border: 1.4px solid currentColor; background: transparent; }
.deco-bubble.fill { background: radial-gradient(circle at 32% 28%, rgba(123,175,212,.18), rgba(201,168,76,.05)); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(110% 80% at 88% -8%, rgba(123,175,212,.16), transparent 55%),
  radial-gradient(80% 70% at 0% 100%, rgba(201,168,76,.10), transparent 55%),
  linear-gradient(180deg, #fbfcfe 0%, #ffffff 60%); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,5vw,4.5rem); align-items: center;
  padding: clamp(3.2rem,7vw,6rem) 0 clamp(3rem,6vw,5.5rem); position: relative; z-index: 1; }
.hero__badge { display: inline-flex; align-items: center; gap: .55rem; background: #fff; border: 1px solid var(--line);
  color: var(--navy); font-family: var(--sans); font-weight: 500; font-size: .82rem; padding: .5rem .95rem; border-radius: 999px; margin-bottom: 1.5rem; box-shadow: var(--shadow-sm); }
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201,168,76,.18); }
.hero h1 { font-size: clamp(2.7rem, 6.4vw, 4.6rem); margin: 0 0 1.3rem; font-weight: 600; letter-spacing: -.5px; color: var(--navy); }
.hero h1 .accent { font-style: italic; font-weight: 500; color: var(--navy); position: relative; white-space: nowrap; }
.hero h1 .accent::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .42em; background: linear-gradient(90deg, rgba(201,168,76,.45), rgba(201,168,76,.18)); z-index: -1; border-radius: 3px; }
.hero__lead { font-size: 1.24rem; color: var(--muted); max-width: 31rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; color: var(--muted); font-size: .92rem; }
.hero__trust span { display: inline-flex; align-items: center; gap: .5rem; }
.hero__trust svg { color: var(--gold); flex: 0 0 auto; }

.hero__art { position: relative; z-index: 1; }
.hero__card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 1.5rem; max-width: 430px; margin-inline: auto; }
.hero__card::before { content: ""; position: absolute; inset: -1px; border-radius: 24px; padding: 1px; background: linear-gradient(160deg, rgba(201,168,76,.55), rgba(123,175,212,.25) 45%, transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.hero__photo, .ph-portrait { border-radius: 18px; width: 100%; object-fit: cover; }
.hero__photo { aspect-ratio: 4/4.5; }
.ph-portrait { aspect-ratio: 4/4.5; background:
  radial-gradient(120% 90% at 30% 20%, #26365a, var(--navy) 70%); display: grid; place-items: center; color: #cdd9e8; text-align: center; position: relative; overflow: hidden; }
.ph-portrait::before { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(201,168,76,.35); top: -60px; right: -60px; }
.ph-portrait::after { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; border: 1px solid rgba(123,175,212,.3); bottom: -40px; left: -30px; }
.ph-portrait .mono { font-family: var(--serif); font-size: 3.4rem; color: var(--gold); font-weight: 600; letter-spacing: 2px; line-height: 1; }
.ph-portrait small { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin-top: .8rem; color: #9fb3cb; padding: 0 1rem; }
.hero__stat { display: flex; align-items: center; gap: .9rem; margin-top: 1.3rem; padding-top: 1.3rem; border-top: 1px solid var(--line-soft); }
.hero__stat b { font-family: var(--serif); font-size: 2.4rem; color: var(--gold-ink); line-height: 1; font-weight: 600; }
.hero__stat small { color: var(--muted); font-size: .86rem; }
.hero__float { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: .7rem .95rem; font-size: .85rem; font-weight: 500; color: var(--navy); display: flex; align-items: center; gap: .55rem; z-index: 2; }
.hero__float--1 { top: 4%; left: -5%; }
.hero__float--2 { bottom: 7%; right: -4%; }
.hero__float .pill { background: rgba(201,168,76,.15); color: var(--gold-ink); border-radius: 9px; min-width: 34px; height: 30px; padding: 0 .4rem; display: grid; place-items: center; font-weight: 700; }
.hero .deco-bubble--1 { width: 320px; height: 320px; color: rgba(123,175,212,.4); top: -90px; left: -120px; }
.hero .deco-bubble--2 { width: 180px; height: 180px; color: rgba(201,168,76,.4); bottom: 40px; left: 38%; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 370px; margin-inline: auto; }
  .hero__float { display: none; }
}

/* ---------- Bandeau confiance ---------- */
.trustbar { background: var(--navy); }
.trustbar__inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .8rem 2.6rem; padding: 1.5rem 0; }
.trustbar__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--gold); font-weight: 600; }
.trustbar__item { font-family: var(--serif); font-weight: 600; color: #e7eef6; font-size: 1.18rem; font-style: italic; opacity: .9; }
.trustbar__sep { color: rgba(201,168,76,.5); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.stat-card { background: rgba(255,255,255,.04); border: 1px solid rgba(201,168,76,.22); border-radius: var(--radius); padding: 1.8rem 1.4rem; text-align: center; backdrop-filter: blur(4px); }
.stat-card b { display: block; font-family: var(--serif); font-size: clamp(2.4rem, 4.5vw, 3.2rem); color: var(--gold); line-height: 1; margin-bottom: .4rem; font-weight: 600; }
.stat-card span { font-size: .92rem; color: #a9bbd0; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2,1fr); } }
.wins { list-style: none; margin: 2.4rem 0 0; padding: 1.8rem 0 0; border-top: 1px solid rgba(201,168,76,.22);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2rem; }
.wins li { display: flex; gap: .6rem; align-items: center; color: #cfdcec; font-size: .98rem; }
.wins svg { color: var(--gold); flex: 0 0 auto; }

/* ---------- Les 3 Bulles ---------- */
.bulles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.bulle { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.9rem; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s; }
.bulle::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.bulle:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(201,168,76,.45); }
.bulle:hover::before { transform: scaleX(1); }
.bulle__rank { position: absolute; top: 1.6rem; right: 1.6rem; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.bulle__icon { width: 58px; height: 58px; border-radius: 16px; background: linear-gradient(150deg, var(--navy), var(--navy-3)); display: grid; place-items: center; color: var(--gold); margin-bottom: 1.2rem; box-shadow: 0 8px 20px rgba(22,32,53,.18); }
.bulle__icon svg { width: 28px; height: 28px; }
.bulle h3 { font-size: 1.7rem; margin: 0 0 .2rem; font-weight: 600; }
.bulle__tag { font-family: var(--sans); font-size: .78rem; font-weight: 600; color: var(--steel-dark); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .9rem; }
.bulle p { font-size: .99rem; color: var(--body); }
.bulle ul { list-style: none; padding: 0; margin: .5rem 0 1.4rem; }
.bulle li { position: relative; padding-left: 1.6rem; margin-bottom: .6rem; font-size: .95rem; }
.bulle li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--gold); }
.bulle__price { margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line-soft); font-size: .9rem; color: var(--muted); }
.bulle__price b { color: var(--navy); font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.bulle__link { margin-top: 1.1rem; font-family: var(--sans); font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; color: var(--navy); }
.bulle__link:hover { gap: .7rem; color: var(--gold-ink); }
@media (max-width: 940px) { .bulles { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.3rem; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.step__num { font-family: var(--serif); font-size: 2.6rem; color: var(--gold); font-weight: 600; line-height: 1; margin-bottom: .6rem; }
.step h3 { font-size: 1.32rem; margin: 0 0 .4rem; font-weight: 600; }
.step p { font-size: .93rem; color: var(--muted); margin: 0; }
@media (max-width: 840px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- À propos ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.creds { margin-top: 1.7rem; display: grid; gap: 1.15rem; }
.cred { padding-top: 1.15rem; border-top: 1px solid var(--line); }
.cred:first-child { padding-top: 0; border-top: 0; }
.cred__tag { display: inline-block; font-family: var(--sans); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-ink); margin-bottom: .4rem; }
.cred p { margin: 0; font-size: .98rem; color: var(--body); }
.about__media { position: relative; }
.about__photo, .about .ph-portrait { width: 100%; border-radius: 22px; box-shadow: var(--shadow-lg); }
.about__photo { aspect-ratio: 4/4.7; object-fit: cover; }
.about .ph-portrait { aspect-ratio: 4/4.7; }
.about__media::after { content: ""; position: absolute; width: 120px; height: 120px; border: 1.5px solid var(--gold); border-radius: 50%; right: -22px; bottom: -22px; opacity: .5; z-index: -1; }
.about__quote { position: relative; background: #fff; padding: 1.4rem 1.6rem 1.4rem 3rem; border-radius: 14px; box-shadow: var(--shadow-sm); font-family: var(--serif); font-style: italic; color: var(--navy); font-size: 1.35rem; line-height: 1.45; margin: 1.5rem 0; }
.about__quote::before { content: "\201C"; position: absolute; left: .8rem; top: .35rem; font-family: var(--serif); font-size: 3.2rem; color: var(--gold); line-height: 1; }
.about__sign { display: flex; align-items: center; gap: .9rem; margin-top: 1.5rem; }
.about__sign .mono { width: 50px; height: 50px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; }
.about__sign b { font-family: var(--serif); color: var(--navy); font-size: 1.2rem; font-weight: 600; }
.about__sign small { color: var(--muted); }
@media (max-width: 840px) { .about { grid-template-columns: 1fr; } .about__media { max-width: 350px; } }

/* ---------- Références ---------- */
.refs { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.ref { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.ref__quote { font-size: 1.04rem; color: var(--body); margin-bottom: 1.3rem; }
.ref__quote::before { content: "\201C"; font-family: var(--serif); color: var(--gold); font-size: 3rem; line-height: 0; vertical-align: -.45em; margin-right: .15rem; }
.ref__who { margin-top: auto; display: flex; align-items: center; gap: .85rem; }
.ref__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-weight: 600; font-family: var(--serif); font-size: 1.05rem; }
.ref__who b { display: block; color: var(--navy); font-size: .98rem; font-family: var(--serif); font-weight: 600; }
.ref__who small { color: var(--muted); font-size: .83rem; }
@media (max-width: 940px) { .refs { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: .85rem; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: rgba(201,168,76,.5); box-shadow: var(--shadow-sm); }
.faq__item summary { cursor: pointer; padding: 1.2rem 1.4rem; font-family: var(--serif); font-weight: 600; font-size: 1.22rem; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-family: var(--sans); font-size: 1.6rem; color: var(--gold); line-height: 1; transition: transform .2s; font-weight: 300; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item .faq__body { padding: 0 1.4rem 1.3rem; color: var(--body); font-size: .99rem; }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; overflow: hidden; }
.cta-final .container { max-width: 800px; position: relative; z-index: 1; }
.cta-final h2 { color: #fff; font-size: clamp(2.3rem,5vw,3.4rem); margin-bottom: 1rem; font-weight: 600; }
.cta-final p { color: #a9bbd0; font-size: 1.2rem; margin-bottom: 2rem; }
.cta-final .btn { margin: .3rem; }
.cta-final .deco-bubble--1 { width: 360px; height: 360px; color: rgba(201,168,76,.18); top: -120px; right: -120px; }
.cta-final .deco-bubble--2 { width: 220px; height: 220px; color: rgba(123,175,212,.18); bottom: -90px; left: -70px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,3.5rem); align-items: start; }
.contact__info .item { display: flex; gap: .95rem; align-items: flex-start; margin-bottom: 1.4rem; }
.contact__info .item .ic { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 13px; background: linear-gradient(150deg, var(--navy), var(--navy-3)); color: var(--gold); display: grid; place-items: center; }
.contact__info .item b { display: block; color: var(--navy); font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.contact__info .item a { color: var(--steel-dark); text-decoration: none; font-size: 1.05rem; }
.contact__info .item a:hover { text-decoration: underline; }
.contact__info .item small, .contact__info .item span { color: var(--muted); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--sans); font-weight: 500; color: var(--navy); font-size: .92rem; margin-bottom: .4rem; }
.field input, .field select, .field textarea { width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--body); padding: .85rem .95rem; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(201,168,76,.15); }
.field textarea { min-height: 120px; resize: vertical; }
.form__consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--muted); margin-bottom: 1.1rem; }
.form__consent input { margin-top: .25rem; width: auto; accent-color: var(--gold); }
.form button { width: 100%; justify-content: center; }
.form__note { font-size: .8rem; color: var(--muted); margin-top: .8rem; text-align: center; }
@media (max-width: 840px) { .contact { grid-template-columns: 1fr; } .form .row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #93a6bd; padding: clamp(3rem,5vw,4rem) 0 1.6rem; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .6; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.2rem; margin-bottom: 2.2rem; }
.footer__brand p { font-size: .93rem; max-width: 30ch; margin-top: 1.1rem; color: #93a6bd; }
.footer h4 { color: #fff; font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; margin: 0 0 1.1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .65rem; }
.footer a { color: #93a6bd; text-decoration: none; font-size: .95rem; }
.footer a:hover { color: var(--gold); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; font-size: .84rem; color: #7e93ac; }
.footer__bottom a { color: #93a6bd; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Reveal (amélioration progressive : visible par défaut) ---------- */
.reveal { transition: opacity .7s ease, transform .7s ease; }
html.js-reveal .reveal:not(.is-visible) { opacity: 0; transform: translateY(26px); }
html.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Panneau emblème (hero, sans photo) ---------- */
.brand-emblem { position: relative; border-radius: 18px; width: 100%; aspect-ratio: 4/4.5; overflow: hidden;
  background: radial-gradient(120% 90% at 30% 18%, #26365a, var(--navy) 72%); display: grid; place-items: center; text-align: center; }
.brand-emblem > svg { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 50% 46%; animation: emblem-breathe 8s ease-in-out infinite; }
@keyframes emblem-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }
@media (prefers-reduced-motion: reduce) { .brand-emblem > svg { animation: none; } }
.brand-emblem__txt { position: relative; z-index: 1; padding: 1.6rem; }
.brand-emblem__kicker { font-family: var(--sans); text-transform: uppercase; letter-spacing: .22em; font-size: .68rem; color: var(--gold); margin-bottom: .7rem; }
.brand-emblem__name { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.3rem); color: #fff; font-weight: 600; line-height: 1.12; }
.brand-emblem__name em { font-style: italic; color: var(--gold-soft); font-weight: 500; }
.brand-emblem__sub { color: #9fb3cb; font-size: .9rem; margin-top: .6rem; letter-spacing: .04em; }

/* ---------- Carte profil (à propos, sans photo) ---------- */
.profile-card { background: radial-gradient(120% 90% at 28% 8%, #26365a, var(--navy) 72%); border-radius: 22px;
  padding: 2.1rem 1.9rem; box-shadow: var(--shadow-lg); color: #c2d0e2; }
.profile-card__mono { width: 66px; height: 66px; border-radius: 50%; background: rgba(201,168,76,.12); border: 1px solid rgba(201,168,76,.5);
  color: var(--gold); display: grid; place-items: center; font-family: var(--serif); font-size: 1.7rem; font-weight: 600; margin-bottom: 1.2rem; }
.profile-card__photo { width: 118px; height: 118px; border-radius: 50%; object-fit: cover; object-position: center;
  border: 1px solid rgba(201,168,76,.5); box-shadow: 0 0 0 6px rgba(201,168,76,.10); margin-bottom: 1.2rem; display: block; }
.profile-card h3 { color: #fff; font-size: 1.9rem; margin: 0; font-weight: 600; }
.profile-card__role { color: var(--gold); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-top: .35rem; margin-bottom: 1.4rem; }
.profile-card__list { list-style: none; padding: 1.4rem 0 0; margin: 0; display: grid; gap: .9rem; border-top: 1px solid rgba(255,255,255,.12); }
.profile-card__list li { display: flex; gap: .7rem; align-items: flex-start; font-size: .96rem; color: #c2d0e2; }
.profile-card__list svg { color: var(--gold); flex: 0 0 auto; margin-top: .25rem; }

/* ---------- Pages légales ---------- */
.legal { padding: clamp(2.6rem,6vw,4.5rem) 0; }
.legal .container { max-width: 840px; }
.legal h1 { font-size: clamp(2.2rem,4.5vw,3rem); margin-bottom: .4rem; font-weight: 600; }
.legal .updated { color: var(--muted); font-size: .92rem; margin-bottom: 2.2rem; }
.legal h2 { font-size: 1.6rem; margin: 2.3rem 0 .8rem; font-weight: 600; color: var(--navy); }
.legal h3 { font-size: 1.2rem; margin: 1.5rem 0 .5rem; font-weight: 600; }
.legal p, .legal li { color: var(--body); }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .5rem; }
.legal .todo { background: #fff6df; border: 1px solid #e8d49a; color: #6b551a; padding: .15rem .5rem; border-radius: 6px; font-weight: 600; font-size: .92em; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.legal th, .legal td { text-align: left; padding: .75rem .85rem; border: 1px solid var(--line); font-size: .94rem; vertical-align: top; }
.legal th { background: var(--cream); color: var(--navy); }
.legal .back { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 1.6rem; font-family: var(--sans); font-weight: 500; text-decoration: none; color: var(--steel-dark); }
.legal .back:hover { color: var(--gold-ink); }

/* =========================================================
   MOTION — couche premium (activée par html.js-anim)
   Tout est neutralisé sous prefers-reduced-motion (voir plus bas
   et le reset global en tête de fichier) ; contenu visible sans JS.
   ========================================================= */
:root {
  --ease-out-quart: cubic-bezier(.25, 1, .5, 1);
  --ease-out-quint: cubic-bezier(.22, 1, .36, 1);
  --ease-out-expo:  cubic-bezier(.16, 1, .3, 1);
}

@keyframes rise-in     { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes rise-in-sm  { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes art-in      { from { opacity: 0; transform: translateY(26px) scale(.965); } to { opacity: 1; transform: none; } }
@keyframes line-rise   { to { transform: none; } }
@keyframes underline-draw { to { transform: scaleX(1); } }
@keyframes bubble-rise { from { transform: translate3d(0, 0, 0) scale(.7); opacity: 0; }
  15% { opacity: var(--bmax, .5); } 85% { opacity: var(--bmax, .5); }
  to { transform: translate3d(var(--bx, 0), -115vh, 0) scale(1); opacity: 0; } }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes aurora-drift { from { transform: translate3d(-6%, -4%, 0) rotate(0deg); }
  to { transform: translate3d(6%, 4%, 0) rotate(8deg); } }

/* ---------- Barre de progression de lecture ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transform: scaleX(0); transform-origin: 0 50%; will-change: transform;
  box-shadow: 0 0 12px rgba(201,168,76,.5);
}

/* ---------- Header condensé au défilement ---------- */
.site-header { transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease; }
.site-header .nav { transition: height .3s var(--ease-out-quart); }
.site-header .brand__logo { transition: height .3s var(--ease-out-quart); }
.site-header.scrolled { background: rgba(18,26,45,.86); backdrop-filter: blur(12px) saturate(1.2); box-shadow: 0 10px 34px rgba(22,32,53,.34); }
.site-header.scrolled .nav { height: 66px; }
.site-header.scrolled .brand__logo { height: 52px; }
@media (max-width: 980px) { .site-header.scrolled .nav { height: 60px; } }

/* Lien de navigation actif (scrollspy) */
.nav__links a.is-active { color: #fff; }
.nav__links a.is-active::after { right: 0; }

/* ---------- Hero : entrée orchestrée au chargement ---------- */
.hero__title .line { display: block; overflow: hidden; padding-block: .1em; margin-block: -.1em; }
.hero__title .line__inner { display: block; }

html.js-anim .hero__badge,
html.js-anim .hero__lead,
html.js-anim .hero__actions,
html.js-anim .hero__trust,
html.js-anim .hero__art { opacity: 0; }
html.js-anim .hero__title .line__inner { transform: translateY(105%); }
html.js-anim .hero__title .accent::after { transform: scaleX(0); transform-origin: left; }

html.js-anim body.is-loaded .hero__badge  { animation: rise-in .7s var(--ease-out-quint) .10s both; }
html.js-anim body.is-loaded .hero__title .line:nth-child(1) .line__inner { animation: line-rise .95s var(--ease-out-quint) .22s both; }
html.js-anim body.is-loaded .hero__title .line:nth-child(2) .line__inner { animation: line-rise .95s var(--ease-out-quint) .34s both; }
html.js-anim body.is-loaded .hero__title .accent::after { animation: underline-draw .8s var(--ease-out-quart) 1.05s both; }
html.js-anim body.is-loaded .hero__lead    { animation: rise-in .75s var(--ease-out-quint) .5s both; }
html.js-anim body.is-loaded .hero__actions { animation: rise-in .75s var(--ease-out-quint) .62s both; }
html.js-anim body.is-loaded .hero__trust   { animation: rise-in .75s var(--ease-out-quint) .74s both; }
html.js-anim body.is-loaded .hero__art     { animation: art-in .95s var(--ease-out-expo) .34s both; }

/* Parallaxe douce (pilotée en JS via --px/--py) */
.hero__card { transition: transform .5s var(--ease-out-quart); transform: translate3d(calc(var(--px,0) * 14px), calc(var(--py,0) * 14px), 0); }
.brand-emblem > svg { transform: translate3d(calc(var(--px,0) * -22px), calc(var(--py,0) * -18px), 0); }

/* ---------- Bulles flottantes (signature de marque) ---------- */
.bubble-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.has-bubbles > .container { position: relative; z-index: 1; }
.bubble {
  position: absolute; bottom: -8vh; left: var(--bl, 50%);
  width: var(--bs, 20px); height: var(--bs, 20px); border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--bhi, rgba(201,168,76,.55)), var(--blo, rgba(201,168,76,.05)) 70%);
  border: 1px solid var(--bbd, rgba(201,168,76,.25));
  animation: bubble-rise var(--bd, 18s) linear var(--bdelay, 0s) infinite;
  will-change: transform, opacity;
}

/* ---------- Aurore lente sur les panneaux navy ---------- */
.section--navy { overflow: hidden; }
.section--navy .container { position: relative; z-index: 1; }
.section--navy::after {
  content: ""; position: absolute; width: 70%; height: 130%; top: -15%; left: 8%;
  background: radial-gradient(circle at 50% 50%, rgba(123,175,212,.16), transparent 60%);
  pointer-events: none; z-index: 0; will-change: transform;
  animation: aurora-drift 26s ease-in-out infinite alternate;
}

/* ---------- Cartes : tilt 3D léger + reflet ---------- */
.bulles { perspective: 1200px; }
.bulle {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0));
  transition: transform .3s var(--ease-out-quart), box-shadow .3s ease, border-color .3s;
  transform-style: preserve-3d;
}
.bulle:hover { --ty: -6px; box-shadow: var(--shadow); border-color: rgba(201,168,76,.45); }
.bulle__icon { transition: transform .35s var(--ease-out-quint), box-shadow .35s ease; }
.bulle:hover .bulle__icon { transform: translateY(-2px) rotate(-4deg) scale(1.06); box-shadow: 0 14px 30px rgba(22,32,53,.28); }

/* Reflet balayant le bouton or */
.btn--gold { position: relative; overflow: hidden; isolation: isolate; }
.btn--gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 32%, rgba(255,255,255,.55) 50%, transparent 68%);
  transform: translateX(-130%); transition: transform .7s var(--ease-out-quart);
}
.btn--gold:hover::after { transform: translateX(130%); }
.btn:active { transform: translateY(1px) scale(.985); }

/* Chiffres animés : évite le "saut" quand le compteur démarre */
.stat-card b[data-count], .hero__stat b[data-count] { font-variant-numeric: tabular-nums; }

/* ---------- FAQ : ouverture fluide ---------- */
.faq__item[open] .faq__body { animation: faq-in .32s var(--ease-out-quart); }
.faq__item summary::after { transition: transform .3s var(--ease-out-quint), color .2s; }

/* ---------- Étapes : léger relief au survol ---------- */
.step { transition: transform .25s var(--ease-out-quart), box-shadow .25s ease, border-color .25s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(201,168,76,.4); }
.step__num { transition: transform .3s var(--ease-out-quint); display: inline-block; }
.step:hover .step__num { transform: scale(1.08); }

/* ---------- Références : relief au survol ---------- */
.ref { transition: transform .25s var(--ease-out-quart), box-shadow .25s ease, border-color .25s; }
.ref:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(201,168,76,.4); }

/* ---------- Reveal enrichi : léger flou qui se lève ---------- */
html.js-reveal .reveal:not(.is-visible) { filter: blur(2px); }
html.js-reveal .reveal.is-visible { filter: none; }
.reveal { transition: opacity .7s var(--ease-out-quart), transform .7s var(--ease-out-quart), filter .7s ease; }

/* =========================================================
   MOTION — couche "wahou" (intro, emblème vivant, canvas,
   marquee, projecteur, magnétisme, retour-haut)
   ========================================================= */

/* ---------- Intro de marque (s'efface toute seule, même sans JS) ---------- */
.intro {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; gap: 1.4rem;
  grid-auto-flow: row; align-content: center;
  background: radial-gradient(120% 100% at 50% 38%, #26365a 0%, var(--navy) 68%);
  animation: intro-out .8s var(--ease-out-quart) 1.5s forwards;
}
.intro__mark { width: clamp(96px, 18vw, 140px); height: auto; overflow: visible; }
.intro__ring { transform-box: view-box; transform-origin: 60px 60px; opacity: 0; }
.intro__ring--1 { animation: intro-ring .7s var(--ease-out-expo) .05s forwards, spin 22s linear .9s infinite; }
.intro__ring--2 { animation: intro-ring .7s var(--ease-out-expo) .18s forwards, spin 16s linear .9s infinite reverse; }
.intro__ring--3 { animation: intro-ring .7s var(--ease-out-expo) .31s forwards; }
.intro__dot { transform-box: view-box; transform-origin: 60px 60px; transform: scale(0); animation: intro-dot .6s var(--ease-out-expo) .42s forwards; }
.intro__word {
  font-family: var(--serif); font-size: clamp(1.5rem, 4vw, 2.1rem); color: #fff; font-weight: 600;
  letter-spacing: .01em; opacity: 0; transform: translateY(12px);
  animation: rise-in .7s var(--ease-out-quint) .6s forwards;
}
.intro__word::after { content: ""; display: block; height: 1px; width: 0; margin: .5rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); animation: intro-line .7s var(--ease-out-quart) .9s forwards; }
body.intro-lock { overflow: hidden; }
@keyframes intro-ring { to { opacity: 1; } }
@keyframes intro-dot  { to { transform: scale(1); } }
@keyframes intro-line { to { width: 190px; } }
@keyframes intro-out  { to { opacity: 0; visibility: hidden; } }

/* ---------- Emblème vivant (hero) ---------- */
.brand-emblem > svg.emblem-svg { animation: none; }
.em-inner { transform-box: view-box; transform-origin: 200px 205px; animation: emblem-breathe 8s ease-in-out infinite; }
.em-rot   { transform-box: view-box; transform-origin: 200px 205px; }
.em-rot--cw  { animation: spin 46s linear infinite; }
.em-rot--ccw { animation: spin 64s linear infinite reverse; }
.em-core  { transform-box: view-box; transform-origin: 200px 205px; animation: core-pulse 3.6s ease-in-out infinite; }
.em-halo  { transform-box: view-box; transform-origin: 200px 205px; animation: core-halo 3.6s ease-out infinite; }
@keyframes spin       { to { transform: rotate(360deg); } }
@keyframes core-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.35); } }
@keyframes core-halo  { 0% { transform: scale(1); opacity: .8; } 70%,100% { transform: scale(3.4); opacity: 0; } }

/* ---------- Canvas de bulles interactif (hero) ---------- */
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* ---------- Bandeau de confiance défilant ---------- */
.trustbar__inner { flex-direction: column; gap: .9rem; }
.marquee { position: relative; width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: inline-flex; align-items: center; gap: 0 2.4rem; white-space: nowrap; will-change: transform;
  animation: marquee var(--marquee-dur, 34s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee .trustbar__item { flex: 0 0 auto; }
.marquee .trustbar__sep { color: var(--gold); opacity: .55; font-size: .8rem; padding: 0 .2rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Projecteur doré suivant le curseur (fonds sombres) ----------
   Réservé aux pointeurs fins : sur écran tactile, :hover reste "collé"
   après un appui et laissait deux gros halos dorés figés. */
/* Projecteur doré au survol : SUPPRIMÉ (source de "taches jaunes") */
.section--navy::before { content: none !important; }

/* ---------- Boutons magnétiques (or) ---------- */
.hero__actions .btn--gold, .cta-final .btn--gold { transition: transform .3s var(--ease-out-quart), box-shadow .2s ease, background .2s; }

/* ---------- Bouton retour-haut ---------- */
.to-top {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 150;
  width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(201,168,76,.5);
  background: linear-gradient(150deg, var(--navy), var(--navy-3)); color: var(--gold);
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
  transition: opacity .35s var(--ease-out-quart), transform .35s var(--ease-out-quint), background .2s, border-color .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: linear-gradient(150deg, var(--navy-2), var(--navy-3)); border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 16px 34px rgba(22,32,53,.32); }
.to-top:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Respect total de prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .bubble-field, .scroll-progress, .hero__canvas, .intro { display: none !important; }
  .section--navy::after, .section--navy::before { animation: none !important; opacity: 0 !important; }
  .hero__card, .brand-emblem > svg { transform: none !important; }
  .em-inner, .em-rot, .em-core, .em-halo { animation: none !important; }
  .marquee__track { animation: none !important; transform: none !important; white-space: normal; flex-wrap: wrap; justify-content: center; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .to-top { transition: opacity .2s ease !important; }
  html.js-anim .hero__badge, html.js-anim .hero__lead, html.js-anim .hero__actions,
  html.js-anim .hero__trust, html.js-anim .hero__art { opacity: 1 !important; }
  html.js-anim .hero__title .line__inner { transform: none !important; }
  html.js-anim .hero__title .accent::after { transform: scaleX(1) !important; }
}

/* =========================================================
   MOTION — couche "site totalement animé"
   (curseur, titres mot-à-mot, connecteurs, jauges,
    anneau de progression, parallaxe pilotée au scroll)
   ========================================================= */

/* ---------- Curseur personnalisé (accent, desktop) ----------
   Taille pilotée en transform:scale (composité, pas de layout). */
.cursor-ring {
  position: fixed; top: 0; left: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1.5px solid rgba(201,168,76,.6); border-radius: 50%; z-index: 300; pointer-events: none;
  opacity: 0; will-change: transform; transform: translate3d(-100px,-100px,0);
  transition: background .22s, border-color .22s, opacity .3s;
}
.cursor-ring.is-active { opacity: 1; }
.cursor-ring.is-hover { background: rgba(201,168,76,.08); border-color: var(--gold); }

/* ---------- Titres de section révélés mot par mot ---------- */
.reveal-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .08em; margin-block: -.08em; }
.reveal-words .w > span { display: inline-block; transform: translateY(115%); transition: transform .8s var(--ease-out-quint); transition-delay: var(--wd, 0ms); }
.reveal-words.is-in .w > span { transform: none; }

/* ---------- Connecteur animé entre les étapes (Méthode) ---------- */
.steps { position: relative; }
@media (min-width: 841px) {
  .steps::before {
    content: ""; position: absolute; top: 3.05rem; left: 12.5%; right: 12.5%; height: 2px; z-index: 0;
    background: linear-gradient(90deg, var(--gold), var(--gold-soft));
    transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-out-quart) .1s;
  }
  html.js-reveal .steps.is-in::before { transform: scaleX(1); }
}

/* ---------- Anneau de progression du bouton retour-haut ---------- */
.to-top { overflow: visible; }
.to-top__arrow { position: relative; z-index: 1; }
.to-top__ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); }
.to-top__track { stroke: rgba(201,168,76,.18); stroke-width: 2; }
.to-top__bar { stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .1s linear; }

/* ---------- Séparateurs "filament" doré entre sections claires ---------- */
.section + .section:not(.section--navy)::after {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(90%, var(--maxw)); height: 1px; opacity: .55;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,.5), transparent);
}

/* ---------- Parallaxe pilotée par le scroll (API moderne, repli propre) ---------- */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero .deco-bubble--1 { animation: par-up linear both; animation-timeline: scroll(root); animation-range: 0 70vh; }
    .hero .deco-bubble--2 { animation: par-down linear both; animation-timeline: scroll(root); animation-range: 0 70vh; }
    .about__media { animation: par-soft linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
    .cta-final .deco-bubble--1 { animation: par-up linear both; animation-timeline: view(); }
  }
}
@keyframes par-up   { to { transform: translateY(-90px); } }
@keyframes par-down { to { transform: translateY(70px); } }
@keyframes par-soft { from { transform: translateY(38px); } to { transform: translateY(-24px); } }

/* ---------- Respect reduced-motion (couche moderne) ---------- */
@media (prefers-reduced-motion: reduce) {
  .cursor-ring { display: none !important; }
  .reveal-words .w > span { transform: none !important; }
  .steps::before { transform: scaleX(1) !important; }
  .stat-fill { transition: none !important; }
  .to-top__bar { display: none !important; }
}

/* =========================================================
   V3 — Site multi-pages, imagerie photo & hero 3D
   ========================================================= */

/* --- Correctif : plus de gros aplats dorés décoratifs --- */
.hero {
  background:
    radial-gradient(120% 90% at 85% -12%, rgba(123,175,212,.20), transparent 55%),
    linear-gradient(180deg, #f4f8fc 0%, #ffffff 60%);
}
.hero .deco-bubble--2 { color: rgba(123,175,212,.30); }
.cta-final .deco-bubble--1 { color: rgba(123,175,212,.18); }

/* --- Imagerie : cadre premium, filet doré, ratio --- */
figure { margin: 0; }
.media {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--navy);
}
.media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease-out-quart); }
.media::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(201,168,76,.35);
}
.media--tall img { aspect-ratio: 4/5; }
.media--wide img { aspect-ratio: 16/10; }
.media--hero img { aspect-ratio: 4/4.6; }
a.media:hover img, .split:hover .media img, .expertise-card:hover .media img { transform: scale(1.05); }
.media__tag {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  background: rgba(18,26,45,.72); backdrop-filter: blur(6px);
  color: #fff; font-family: var(--sans); font-size: .78rem; font-weight: 500;
  padding: .45rem .85rem; border-radius: 999px; border: 1px solid rgba(201,168,76,.4);
}

/* --- HERO refondu : texte + visuel + calque 3D --- */
.hero__stage { position: absolute; inset: 0; z-index: 0; }        /* canvas WebGL */
.hero__stage canvas { width: 100% !important; height: 100% !important; display: block; }
.hero__visual { position: relative; }
.hero__visual .media { aspect-ratio: 4/4.7; }
.hero__badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.3rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem; background: #fff; border: 1px solid var(--line);
  color: var(--navy); font-family: var(--sans); font-weight: 500; font-size: .82rem;
  padding: .45rem .9rem; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.chip svg { color: var(--gold-ink); }

/* --- Bannière de page intérieure (image plein cadre + voile navy) --- */
.page-hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  padding: clamp(6.5rem, 14vw, 10rem) 0 clamp(3.2rem, 7vw, 5rem);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(18,26,45,.72) 0%, rgba(18,26,45,.82) 100%),
    radial-gradient(90% 80% at 15% 10%, rgba(38,54,90,.5), transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; max-width: 900px; }
.breadcrumb { font-family: var(--sans); font-size: .86rem; color: #b9c8dc; margin: 0 0 1.1rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.breadcrumb a { color: #cdd9e8; text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4rem); margin: 0 0 1rem; font-weight: 600; letter-spacing: -.5px; text-wrap: balance; }
.page-hero .lead { color: #cdd9e8; font-size: clamp(1.1rem, 2.4vw, 1.35rem); max-width: 44rem; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }

/* --- Sections texte + image alternées --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split + .split { margin-top: clamp(3rem, 7vw, 5.5rem); }
.split--rev .split__media { order: 2; }
.split__body h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0 0 1rem; }
.split__body .lead { margin-bottom: 1.1rem; }
.split__list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .8rem; }
.split__list li { position: relative; padding-left: 1.9rem; color: var(--body); }
.split__list li svg { position: absolute; left: 0; top: .15rem; color: var(--gold-ink); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split--rev .split__media { order: 0; }
}

/* --- Cartes expertise (accueil) avec photo, cliquables --- */
.expertise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.expertise-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); text-decoration: none;
  transition: transform .25s var(--ease-out-quart), box-shadow .25s ease, border-color .25s;
}
.expertise-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(201,168,76,.45); }
.expertise-card .media { border-radius: 0; box-shadow: none; }
.expertise-card .media img { aspect-ratio: 16/10; }
.expertise-card__body { padding: 1.6rem 1.7rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.expertise-card__kicker { font-family: var(--sans); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-ink); margin-bottom: .5rem; }
.expertise-card h3 { font-size: 1.7rem; margin: 0 0 .5rem; color: var(--navy); }
.expertise-card p { font-size: .98rem; color: var(--body); margin: 0 0 1.1rem; }
.expertise-card__more { margin-top: auto; font-family: var(--sans); font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: .45rem; transition: gap .2s, color .2s; }
.expertise-card:hover .expertise-card__more { gap: .75rem; color: var(--gold-ink); }
@media (max-width: 900px) { .expertise { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* --- Bandeau image pleine largeur --- */
.band { position: relative; min-height: clamp(280px, 40vw, 440px); display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; }
.band__bg { position: absolute; inset: 0; z-index: -2; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,26,45,.6), rgba(18,26,45,.78)); }
.band .container { max-width: 760px; }
.band h2 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); margin: 0 0 1rem; }
.band p { color: #dbe5f0; font-size: 1.15rem; margin: 0 0 1.6rem; }

/* --- Pied de page CTA large --- */
.pagecta { text-align: center; }
.pagecta .btn { margin: .3rem; }

/* =========================================================
   V3 — En-tête & menu déroulant « Les 3 Bulles »
   ========================================================= */
.nav__links { gap: 1.5rem; }
.nav__trigger {
  display: inline-flex; align-items: center; gap: .4rem; background: none; border: 0; cursor: pointer;
  font-family: var(--sans); font-weight: 400; font-size: .98rem; color: #e7eef6; padding: .3rem 0; position: relative;
}
.nav__trigger:hover { color: #fff; }
.nav__chev { transition: transform .25s var(--ease-out-quart); margin-top: 1px; }
.has-menu:hover .nav__chev, .has-menu.open .nav__chev { transform: rotate(180deg); }
.nav__trigger::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px; background: var(--gold); transition: right .25s ease; }
.has-menu:hover .nav__trigger::after, .has-menu.open .nav__trigger::after { right: 20px; }
.nav__trigger:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.has-menu { position: relative; }
.has-menu::after { content: ""; position: absolute; top: 100%; left: -10px; right: -10px; height: 18px; } /* pont anti-flicker */
.megamenu {
  position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: 350px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: .7rem; display: grid; gap: .15rem; z-index: 120;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .25s var(--ease-out-quart), visibility .2s;
}
.megamenu::before { content: ""; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg); width: 12px; height: 12px; background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.megamenu::after { content: ""; position: absolute; top: 0; left: 16px; right: 16px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); }
.has-menu:hover .megamenu, .has-menu:focus-within .megamenu, .has-menu.open .megamenu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.megamenu__item { display: flex; gap: .85rem; align-items: center; padding: .75rem .8rem; border-radius: 12px; text-decoration: none; transition: background .18s; }
.megamenu__item:hover { background: var(--mist); }
.megamenu__ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(150deg, var(--navy), var(--navy-3)); color: var(--gold); display: grid; place-items: center; }
.megamenu__ic svg { width: 21px; height: 21px; }
.megamenu__txt { display: flex; flex-direction: column; }
.megamenu__txt b { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--navy); line-height: 1.12; }
.megamenu__txt small { color: var(--muted); font-size: .82rem; margin-top: .1rem; }

/* États actifs */
.nav__links a.is-active, .has-menu.is-active > .nav__trigger { color: #fff; }
.nav__links a.is-active::after { right: 0; }
.has-menu.is-active > .nav__trigger::after { right: 20px; }

/* --- Grille de prestations (pages Bulles) --- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.3rem; }
.service { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.6rem; box-shadow: var(--shadow-sm); transition: transform .22s var(--ease-out-quart), box-shadow .22s, border-color .22s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(201,168,76,.4); }
.service__ic { width: 48px; height: 48px; border-radius: 13px; background: linear-gradient(150deg, var(--navy), var(--navy-3)); color: var(--gold); display: grid; place-items: center; margin-bottom: 1rem; }
.service__ic svg { width: 24px; height: 24px; }
.service h3 { font-size: 1.45rem; margin: 0 0 .5rem; color: var(--navy); }
.service > p { font-size: .96rem; color: var(--body); margin: 0; }
.service ul { list-style: none; padding: 0; margin: .7rem 0 0; }
.service li { position: relative; padding-left: 1.3rem; font-size: .92rem; margin-bottom: .4rem; color: var(--body); }
.service li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--gold); }

/* --- Bloc "problème / enjeu" sur fond teinté --- */
.pain { background: var(--mist); border: 1px solid var(--line); border-left: 0; border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.4rem); }
.pain p:last-child { margin-bottom: 0; }
.pain strong { color: var(--navy); }

/* --- Liste "bénéfices" en deux colonnes --- */
.benefits { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: .7rem 1.6rem; }
.benefits li { position: relative; padding-left: 1.9rem; color: var(--body); }
.benefits li svg { position: absolute; left: 0; top: .15rem; color: var(--gold-ink); }

/* Mobile : le menu s'ouvre en accordéon, les 3 Bulles restent visibles */
@media (max-width: 980px) {
  .nav__links { gap: 0; }
  .has-menu { position: static; }
  .has-menu::after { display: none; }
  .nav__trigger { width: 100%; justify-content: space-between; padding: .95rem .2rem; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__trigger::after { display: none; }
  .has-menu .megamenu,
  .has-menu:hover .megamenu,
  .has-menu:focus-within .megamenu,
  .has-menu.open .megamenu {
    position: static; left: auto; transform: none !important; width: auto; opacity: 1; visibility: visible; pointer-events: auto;
    box-shadow: none; border: 0; background: transparent; padding: .5rem 0 .8rem; gap: .4rem;
  }
  .megamenu::before, .megamenu::after { display: none; }
  .megamenu__item { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
  .megamenu__txt b { color: #fff; }
  .megamenu__txt small { color: #9fb3cb; }
  .megamenu__ic { background: rgba(201,168,76,.14); }
}

/* ============================================================
   Offres 2026 — méga-menu élargi, cartes tarifaires, grille pack
   ============================================================ */

/* --- Méga-menu deux colonnes --- */
.megamenu--wide { width: 700px; grid-template-columns: 1fr 1fr; gap: .15rem 1rem; padding: 1rem; }
.megamenu__group { display: grid; gap: .15rem; align-content: start; }
.megamenu__label {
  font-family: var(--sans); font-size: .68rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); padding: .3rem .8rem .5rem; margin: 0;
}
.megamenu__label--new { color: var(--gold-ink); }
.megamenu__tag {
  display: inline-block; margin-left: .45rem; padding: .1rem .4rem; border-radius: 5px;
  background: rgba(201,168,76,.16); color: var(--gold-ink); font-family: var(--sans);
  font-size: .62rem; font-weight: 600; letter-spacing: .06em; vertical-align: middle;
}

/* --- Cartes tarifaires --- */
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.3rem; align-items: stretch; }
.offer {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease-out-quart), box-shadow .22s, border-color .22s;
}
.offer:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(201,168,76,.4); }
.offer--feature { border-color: rgba(201,168,76,.55); box-shadow: var(--shadow); }
.offer--feature::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px; border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
}
.offer__flag {
  position: absolute; top: -.7rem; left: 1.6rem; padding: .2rem .65rem; border-radius: 999px;
  background: var(--navy); color: var(--gold); font-size: .68rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
}
.offer h3 { font-size: 1.42rem; margin: 0 0 .35rem; color: var(--navy); }
.offer__price { font-family: var(--serif); font-size: 2.3rem; font-weight: 600; color: var(--navy); line-height: 1; margin: .5rem 0 .1rem; }
.offer__price small { font-family: var(--sans); font-size: .82rem; font-weight: 400; color: var(--muted); display: block; margin-top: .35rem; letter-spacing: .01em; }
.offer__desc { font-size: .95rem; color: var(--body); margin: .7rem 0 0; }
.offer__list { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .55rem; }
.offer__list li { position: relative; padding-left: 1.7rem; font-size: .93rem; color: var(--body); }
.offer__list li svg { position: absolute; left: 0; top: .2rem; color: var(--gold-ink); }
.offer__cta { margin-top: auto; padding-top: 1.4rem; }

/* --- Tableau des prestations (pack à la carte) --- */
.ptable { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ptable caption { caption-side: top; text-align: left; padding: 0 0 .9rem; color: var(--muted); font-size: .92rem; }
.ptable th, .ptable td { padding: .95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: .95rem; vertical-align: top; }
.ptable thead th { background: var(--mist); color: var(--navy); font-family: var(--sans); font-weight: 600; font-size: .82rem; letter-spacing: .07em; text-transform: uppercase; }
.ptable tbody tr:last-child th, .ptable tbody tr:last-child td { border-bottom: 0; }
.ptable td:last-child, .ptable th:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ptable tbody th { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--navy); }
.ptable tbody th small { display: block; font-family: var(--sans); font-size: .84rem; font-weight: 400; color: var(--muted); margin-top: .2rem; }
.ptable tfoot td, .ptable tfoot th { background: var(--cream); font-weight: 600; color: var(--navy); border-top: 1px solid var(--line); }
.ptable__wrap { overflow-x: auto; }

/* --- Bandeau d'échéance --- */
.deadline {
  display: flex; gap: 1.1rem; align-items: flex-start; background: var(--cream);
  border: 1px solid rgba(201,168,76,.4);
  border-radius: var(--radius-sm); padding: 1.3rem 1.5rem; margin: 0 0 1.6rem;
}
.deadline__ic { flex: 0 0 auto; color: var(--gold-ink); margin-top: .1rem; }
.deadline p { margin: 0; color: var(--body); font-size: .97rem; }
.deadline strong { color: var(--navy); }

@media (max-width: 980px) {
  .megamenu--wide { width: auto; grid-template-columns: 1fr; gap: .4rem; padding: .5rem 0 .8rem; }
  .megamenu__label { color: #9fb3cb; padding: .6rem .2rem .2rem; }
  .megamenu__label--new { color: var(--gold-soft); }
  .megamenu__tag { background: rgba(201,168,76,.2); color: var(--gold-soft); }
}

/* ============================================================
   Lisibilité de <strong> sur les fonds sombres
   ------------------------------------------------------------
   La règle globale `strong { color: var(--navy) }` s'appliquait
   aussi sur les surfaces sombres : navy sur navy = 1.38:1, sous
   le minimum WCAG AA (4.5:1). Les infos clés en gras y étaient
   illisibles. L'or clair rétablit le contraste (7.49:1) tout en
   conservant la fonction de mise en valeur.
   ============================================================ */
.page-hero strong,
.band strong,
.section--navy strong,
.scanner strong { color: var(--gold-soft); }

/* Titres et exergues restent blancs : l'or ne doit pas les concurrencer */
.page-hero h1 strong,
.band h2 strong,
.section--navy h2 strong { color: #fff; }

/* --- Or sur fond clair : passer à --gold-ink (règle PRODUCT.md) ---
   .step__num et le "+" des FAQ utilisaient --gold (#c9a84c) sur blanc,
   soit 2.29:1 — sous le minimum WCAG (3:1 pour du grand texte et pour
   un élément d'interface). --gold-ink donne 4.89:1 sur blanc. */
.step__num { color: var(--gold-ink); }
.faq__item summary::after { color: var(--gold-ink); }

/* ============================================================
   Menu mobile : tiroir défilant
   ------------------------------------------------------------
   Le tiroir liste les 4 entrées + les 6 items du méga-menu
   (déployés en accordéon sur mobile). Il atteint ~1137 px, soit
   plus que la hauteur d'un écran de téléphone : « À propos »,
   « Références » et surtout « Contact » devenaient inatteignables.
   On borne la hauteur au viewport et on rend le tiroir défilant.
   ============================================================ */
@media (max-width: 980px) {
  .nav__links {
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}

/* --- Numéro de téléphone dans le tiroir mobile ---
   `.nav__phone` (barre du haut) est masqué sous 980 px faute de place.
   Or appeler est l'action la plus naturelle depuis un téléphone : on
   remet le numéro en tête du tiroir. Masqué sur desktop, où la barre
   du haut l'affiche déjà. */
.nav__tel-m { display: none; }
@media (max-width: 980px) {
  .nav__tel-m { display: block; }
  .nav__tel-m a {
    display: flex !important; align-items: center; gap: .6rem;
    color: var(--gold-soft); font-weight: 500;
  }
  .nav__tel-m a svg { flex: 0 0 auto; }
}

/* --- Lignes cliquables du tableau Pack Conformité --- */
.ptable__link {
  color: var(--navy); text-decoration: none; position: relative;
  border-bottom: 1px solid rgba(201,168,76,.55); transition: color .18s, border-color .18s;
}
.ptable__link:hover, .ptable__link:focus-visible { color: var(--gold-ink); border-color: var(--gold-ink); }
.ptable__link::after {
  content: "›"; font-family: var(--sans); margin-left: .35rem; color: var(--gold-ink);
  display: inline-block; transition: transform .18s;
}
.ptable__link:hover::after { transform: translateX(3px); }
.ptable tbody tr:hover { background: var(--cream); }

/* ============================================================
   Recherche par mot-clé (overlay)
   ============================================================ */
.nav__search {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  background: none; border: 1.5px solid rgba(255,255,255,.25); border-radius: 10px;
  width: 40px; height: 40px; cursor: pointer; color: #cdd9e8;
  transition: border-color .18s, color .18s, background .18s;
}
.nav__search:hover { color: #fff; border-color: rgba(201,168,76,.7); background: rgba(201,168,76,.08); }
.nav__search:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.nav__search kbd {
  display: none; font-family: var(--sans); font-size: .68rem; color: #9fb3cb;
  border: 1px solid rgba(255,255,255,.18); border-radius: 4px; padding: 0 .25rem;
}
@media (min-width: 1200px) {
  .nav__search { width: auto; padding: 0 .7rem; }
  .nav__search kbd { display: inline-block; }
}

.srch {
  position: fixed; inset: 0; z-index: 200; background: rgba(12,18,32,.72);
  backdrop-filter: blur(5px); padding: clamp(1rem, 8vh, 6rem) var(--gut) 2rem;
  display: flex; justify-content: center; align-items: flex-start;
}
.srch[hidden] { display: none; }
body.srch-open { overflow: hidden; }
.srch__box {
  width: 100%; max-width: 640px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden; animation: srch-in .18s var(--ease-out-quart);
}
@keyframes srch-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .srch__box { animation: none; } }
.srch__bar { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.srch__bar input {
  flex: 1; border: 0; outline: 0; font-family: var(--sans); font-size: 1.05rem;
  color: var(--navy); background: transparent; min-width: 0;
}
.srch__bar input::placeholder { color: #9aa6b8; }
.srch__close {
  border: 1px solid var(--line); background: var(--mist); border-radius: 6px; cursor: pointer;
  font-family: var(--sans); font-size: .72rem; color: var(--muted); padding: .2rem .45rem;
}
.srch__close:hover { color: var(--navy); border-color: var(--gold); }
.srch__results { max-height: min(60vh, 460px); overflow-y: auto; overscroll-behavior: contain; }
.srch__hint { padding: 1.4rem 1.3rem; color: var(--muted); font-size: .93rem; line-height: 1.7; margin: 0; }
.srch__hint a { color: var(--steel-dark); }
.srch__sugg {
  border: 1px solid var(--line); background: var(--mist); border-radius: 999px; cursor: pointer;
  font-family: var(--sans); font-size: .8rem; color: var(--navy); padding: .2rem .6rem; margin: .15rem .1rem;
}
.srch__sugg:hover { border-color: var(--gold); background: var(--cream); }
.srch__item {
  display: block; padding: .85rem 1.3rem; text-decoration: none; border-bottom: 1px solid var(--line-soft);
  transition: background .14s;
}
.srch__item:hover, .srch__item.is-on { background: var(--mist); }
.srch__item:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.srch__rub {
  display: inline-block; font-family: var(--sans); font-size: .64rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink);
  background: var(--cream); border-radius: 4px; padding: .1rem .4rem; margin-bottom: .3rem;
}
.srch__t { display: block; font-family: var(--serif); font-size: 1.16rem; font-weight: 600; color: var(--navy); line-height: 1.2; }
.srch__x { display: block; font-size: .86rem; color: var(--muted); margin-top: .22rem; line-height: 1.5; }
.srch mark { background: rgba(201,168,76,.28); color: inherit; border-radius: 2px; padding: 0 .1em; }

@media (max-width: 980px) {
  .srch { padding-top: 1rem; }
  .srch__results { max-height: 66vh; }
}

/* --- Recherche : dans la barre du haut en desktop, dans le tiroir en mobile ---
   À 360 px, logo + recherche + CTA + burger dépassaient la largeur de l'écran.
   Sous 980 px, le bouton de la barre disparaît au profit d'une entrée de tiroir. */
.nav__search-m { display: none; }
@media (max-width: 980px) {
  .nav__search { display: none; }
  .nav__search-m { display: block; }
  .nav__search-m button {
    display: flex; align-items: center; gap: .6rem; width: 100%;
    background: none; border: 0; cursor: pointer;
    font-family: var(--sans); font-size: 1rem; color: #e7eef6;
    padding: .95rem .2rem; text-align: left;
  }
  .nav__search-m button:hover { color: #fff; }
  .nav__search-m button svg { flex: 0 0 auto; color: var(--gold-soft); }
}

/* --- Très petits écrans (≤ 420 px) : la barre du haut débordait ---
   logo (142 px) + « Échange offert » (126 px) + burger (36 px) + espacements
   dépassaient la largeur utile d'un écran de 360 px : le burger était coupé.
   On réduit le logo et on resserre le bouton, sans rien masquer. */
@media (max-width: 420px) {
  .brand__logo { height: 44px; }
  .nav__cta { gap: .5rem; }
  .nav__cta .btn--gold { padding: .6rem .85rem; font-size: .88rem; }
  .nav__toggle { width: 40px; height: 40px; }
}
