/* ==========================================================================
   QUEST — feuille de style principale
   Charte : bleu nuit #09213B · or #C47A25→#E6B451 · crème #FBF8F1
   Typo   : Bricolage Grotesque (titres) · Instrument Sans (texte) — auto-hébergées
   ========================================================================== */

/* ---------- Polices (auto-hébergées, latin + latin-ext, axes bornés) ---------- */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/instrument-sans-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Jetons ---------- */
:root {
  --navy: #09213b;
  --navy-deep: #061729;
  --navy-soft: #12305a;
  --ink: #141f30;
  --text: #22304a;
  --muted: #5d6a7f;
  --cream: #fbf8f1;
  --cream-2: #f4efe3;
  --cream-3: #ebe4d3;
  --white: #ffffff;
  --gold: #d9a33a;
  --gold-dark: #c47a25;
  --gold-light: #f1d27c;
  --gold-pale: #fdf3c0;
  --success: #2f7a4f;
  --error: #b3261e;
  --error-bg: #fdf1f0;

  --line: rgba(9, 33, 59, 0.09);
  --line-strong: rgba(9, 33, 59, 0.16);
  --line-on-dark: rgba(255, 255, 255, 0.12);

  /* Familles (changer ici suffit) */
  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-body: var(--font-text);
  /* Graisses */
  --w-text: 400; --w-text-strong: 600; --w-display: 700; --w-display-accent: 800;
  /* Échelle typographique */
  --fs-xs: 0.78rem; --fs-sm: 0.9rem; --fs-base: 1.0625rem; --fs-md: 1.15rem;
  --fs-lead: clamp(1.1rem, 1.5vw, 1.3rem);
  --fs-h3: 1.2rem;
  --fs-h2: clamp(1.9rem, 4vw, 3.1rem);
  --fs-h1: clamp(2.5rem, 6vw, 4.5rem);
  --tracking-display: -0.025em;

  --radius-xl: 2rem;
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --radius-sm: 0.625rem;

  --ease-out: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;

  --shadow-soft: 0 1px 2px rgba(9, 33, 59, 0.04), 0 12px 40px -12px rgba(9, 33, 59, 0.14);
  --shadow-float: 0 2px 6px rgba(9, 33, 59, 0.05), 0 30px 80px -24px rgba(9, 33, 59, 0.25);
  --shadow-gold: 0 10px 30px -10px rgba(196, 122, 37, 0.45);

  --container: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grain papier — fixe, sans interaction, jamais sur un conteneur défilant */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  mix-blend-mode: multiply;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
[id] { scroll-margin-top: 6rem; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-light); color: var(--navy); }

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

.skip-link {
  position: absolute; top: -100%; left: 1rem; z-index: 100;
  background: var(--navy); color: var(--cream);
  padding: 0.75rem 1.25rem; border-radius: 999px; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { --container: 52rem; }
.container--wide { --container: 84rem; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 { margin: 0; color: var(--navy); font-weight: var(--w-text-strong); line-height: 1.08; letter-spacing: -0.015em; }
h1, h2 { font-family: var(--font-display); font-weight: var(--w-display); letter-spacing: var(--tracking-display); }
h1 { font-size: var(--fs-h1); line-height: 1.02; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.005em; }
h4 { font-size: 1rem; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 40rem; }
.em { font-family: inherit; font-style: normal; font-weight: var(--w-display-accent); color: var(--gold-dark); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { margin-bottom: 1rem; }
.section-head .lead { margin: 0; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--cream); }
.on-dark, .on-dark p { color: rgba(251, 248, 241, 0.86); }
.on-dark .lead { color: rgba(251, 248, 241, 0.7); }
.on-dark .em { color: var(--gold-light); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(217, 163, 58, 0.12);
  border: 1px solid rgba(217, 163, 58, 0.3);
  margin-bottom: 1.25rem;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.on-dark .eyebrow { color: var(--gold-light); background: rgba(217, 163, 58, 0.14); border-color: rgba(241, 210, 124, 0.3); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--dark { background: var(--navy); color: rgba(251, 248, 241, 0.86); }
.section--dark::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(217, 163, 58, 0.16), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(18, 48, 90, 0.9), transparent 70%);
}
.section--dark > * { position: relative; z-index: 1; }
.section--cream2 { background: var(--cream-2); }

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: var(--cream); --btn-icon-bg: rgba(255,255,255,0.12);
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.55rem 0.55rem 0.55rem 1.5rem;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 0.98rem; line-height: 1; text-decoration: none;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
  will-change: transform;
}
.btn .btn__icon {
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--btn-icon-bg);
  transition: transform var(--dur) var(--ease-spring), background var(--dur) var(--ease-out);
}
.btn .btn__icon svg { width: 1rem; height: 1rem; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-float); }
.btn:hover .btn__icon { transform: translate(3px, -1px) scale(1.06); }
.btn:active { transform: scale(0.98); }
.btn--gold {
  --btn-bg: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 55%, #e8b755 100%);
  --btn-fg: var(--navy-deep); --btn-icon-bg: rgba(9, 33, 59, 0.14);
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover { box-shadow: 0 16px 40px -12px rgba(196, 122, 37, 0.6); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--navy); --btn-icon-bg: rgba(9, 33, 59, 0.07);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: rgba(9, 33, 59, 0.04); box-shadow: none; }
.on-dark .btn--ghost { --btn-fg: var(--cream); --btn-icon-bg: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.22); }
.on-dark .btn--ghost:hover { background: rgba(255,255,255,0.06); }
.btn--plain { padding: 0.9rem 1.5rem; }
.btn--block { width: 100%; justify-content: space-between; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; pointer-events: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--navy);
  text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px;
  transition: gap var(--dur) var(--ease-spring), border-color var(--dur) var(--ease-out);
}
.link-arrow:hover { gap: 0.7rem; border-color: var(--gold); }
.on-dark .link-arrow { color: var(--gold-light); border-color: rgba(241,210,124,0.4); }

/* ---------- Double liseré (cartes) ---------- */
.shell {
  padding: 0.4rem;
  border-radius: var(--radius-xl);
  background: rgba(9, 33, 59, 0.035);
  border: 1px solid var(--line);
}
.shell > .core {
  height: 100%;
  border-radius: calc(var(--radius-xl) - 0.4rem);
  background: var(--white);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.9), var(--shadow-soft);
}
.on-dark .shell { background: rgba(255,255,255,0.05); border-color: var(--line-on-dark); }
.on-dark .shell > .core {
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  border-color: rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.12);
}
.shell--img { padding: 0.5rem; }
.shell--img > .core { overflow: hidden; }
.shell--img img { width: 100%; height: 100%; object-fit: cover; }

.card { padding: clamp(1.5rem, 3vw, 2.25rem); }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--muted); }
.on-dark .card p { color: rgba(251,248,241,0.72); }
.card__icon {
  width: 3rem; height: 3rem; border-radius: 1rem; margin-bottom: 1.25rem;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(217,163,58,0.18), rgba(217,163,58,0.06));
  border: 1px solid rgba(217,163,58,0.35);
  color: var(--gold-dark);
}
.card__icon svg { width: 1.35rem; height: 1.35rem; }
.on-dark .card__icon { color: var(--gold-light); }

/* ---------- Grilles ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- Animations d'entrée ---------- */
.reveal { opacity: 0; transform: translateY(2.2rem); filter: blur(6px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), filter 0.9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; filter: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }
.reveal[data-delay="6"] { transition-delay: 0.48s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .btn, .btn .btn__icon, .link-arrow { transition: none; }
}

/* ---------- Header flottant ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 40; padding: 0.9rem var(--gutter) 0; pointer-events: none; }
.header__pill {
  pointer-events: auto;
  margin-inline: auto; width: min(100%, var(--container));
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.5rem 0.5rem 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(9, 33, 59, 0.72);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 20px 50px -20px rgba(9,33,59,0.5);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  color: var(--cream);
  transition: background var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.header.is-scrolled .header__pill { background: rgba(9, 33, 59, 0.9); }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: inherit; }
.brand__mark { width: 2.4rem; height: 2.4rem; border-radius: 0.7rem; background: var(--navy-deep); display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.1); }
.brand__mark svg { width: 1.6rem; height: 1.6rem; }
.brand__name { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.14em; font-size: 1.05rem; line-height: 1; }
.brand__tag { display: block; white-space: nowrap; font-family: var(--font-body); font-weight: 500; font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-light); margin-top: 0.25rem; }
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a { padding: 0.55rem 0.9rem; border-radius: 999px; text-decoration: none; font-size: 0.92rem; font-weight: 500; color: rgba(251,248,241,0.8); transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out); }
.nav a:hover { background: rgba(255,255,255,0.08); color: var(--cream); }
.nav a.active { color: var(--cream); background: rgba(255,255,255,0.1); }
.header .btn { padding-block: 0.4rem; font-size: 0.9rem; }
.header .btn .btn__icon { width: 2rem; height: 2rem; }
.nav-toggle { display: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.06); position: relative; }
.nav-toggle span { position: absolute; left: 50%; top: 50%; width: 1.1rem; height: 2px; background: var(--cream); border-radius: 2px; transform: translate(-50%, -50%); transition: transform var(--dur) var(--ease-spring), opacity var(--dur) var(--ease-out); }
.nav-toggle span:nth-child(1) { transform: translate(-50%, calc(-50% - 5px)); }
.nav-toggle span:nth-child(3) { transform: translate(-50%, calc(-50% + 5px)); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 35;
  background: rgba(6, 23, 41, 0.86);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  display: flex; flex-direction: column; justify-content: center; padding: 6rem var(--gutter) 3rem;
  opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease-out), visibility 0s 0.5s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.5s var(--ease-out); }
.menu a { display: block; font-family: var(--font-display); font-size: clamp(2rem, 8vw, 3rem); font-weight: 700; color: var(--cream); text-decoration: none; padding: 0.4rem 0; opacity: 0; transform: translateY(1.5rem); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.menu a small { display: block; font-family: var(--font-body); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 0.2rem; }
.menu.is-open a { opacity: 1; transform: none; }
.menu.is-open a:nth-child(1) { transition-delay: 0.1s; }
.menu.is-open a:nth-child(2) { transition-delay: 0.17s; }
.menu.is-open a:nth-child(3) { transition-delay: 0.24s; }
.menu.is-open a:nth-child(4) { transition-delay: 0.31s; }
.menu__legal { margin-top: auto; display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; }
.menu__legal a { font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; color: rgba(251,248,241,0.6); padding: 0; }

@media (max-width: 900px) {
  .nav, .header .btn { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 420px) { .brand__tag { display: none; } }
body.menu-open { overflow: hidden; }

/* ---------- Bascule d'audience ---------- */
.audience-switch {
  position: relative; z-index: 1;
  display: flex; justify-content: center; align-items: center; gap: 0.6rem; flex-wrap: wrap;
  padding: 0.6rem var(--gutter); font-size: 0.85rem;
  background: var(--navy-deep); color: rgba(251,248,241,0.7); border-bottom: 1px solid var(--line-on-dark);
}
.audience-switch a { color: var(--gold-light); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy); color: var(--cream);
  padding: clamp(8rem, 16vw, 11rem) 0 clamp(5rem, 9vw, 8rem);
  min-height: 92dvh; display: flex; align-items: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(55% 60% at 80% 20%, rgba(217, 163, 58, 0.22), transparent 65%),
    radial-gradient(50% 50% at 10% 100%, rgba(18, 48, 90, 1), transparent 70%),
    linear-gradient(180deg, var(--navy-deep), var(--navy) 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(60% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 40%, black, transparent);
}
.hero > .container { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero h1 { color: var(--cream); margin-bottom: 1.5rem; max-width: 12ch; }
.hero .lead { color: rgba(251,248,241,0.78); margin-bottom: 2.25rem; }
.hero__marks { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid var(--line-on-dark); font-size: 0.92rem; color: rgba(251,248,241,0.78); }
.hero__marks li { list-style: none; display: flex; align-items: center; gap: 0.5rem; }
ul.hero__marks { padding: 0; margin: 2.75rem 0 0; }
.hero__marks svg { width: 1rem; height: 1rem; color: var(--gold); flex: none; }
.hero__visual { position: relative; }
.hero__visual .shell { transform: rotate(2deg); transition: transform 1.2s var(--ease-out); }
.hero__visual .shell > .core { aspect-ratio: 4 / 4.6; }
.hero__visual:hover .shell { transform: rotate(0.5deg); }
.hero__visual img { filter: saturate(0.85) contrast(1.05); }
.hero__badge {
  position: absolute; left: -1rem; bottom: 2rem; z-index: 2;
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.85rem 1.1rem; border-radius: 1.25rem;
  background: rgba(251,248,241,0.96); color: var(--navy);
  box-shadow: var(--shadow-float); border: 1px solid rgba(255,255,255,0.8);
  transform: rotate(-2deg);
  font-size: 0.85rem; line-height: 1.3;
}
.hero__badge strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.hero__badge .dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(47,122,79,0.18); flex: none; }
@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: 7.5rem; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .hero__visual .shell { transform: none; }
  .hero__visual .shell > .core { aspect-ratio: 4 / 3; }
  .hero__badge { left: 0.75rem; bottom: 0.75rem; transform: none; }
}

/* ---------- Bandeau de réassurance ---------- */
.reassure { position: relative; z-index: 2; margin-top: -3rem; }
.reassure .core { display: grid; grid-template-columns: repeat(4, 1fr); }
.reassure__item { display: flex; align-items: center; gap: 0.85rem; padding: 1.35rem 1.5rem; font-weight: 600; color: var(--navy); font-size: 0.98rem; }
.reassure__item + .reassure__item { border-left: 1px solid var(--line); }
.reassure__item svg { width: 1.35rem; height: 1.35rem; color: var(--gold-dark); flex: none; }
@media (max-width: 900px) {
  .reassure .core { grid-template-columns: repeat(2, 1fr); }
  .reassure__item:nth-child(3) { border-left: 0; }
  .reassure__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .reassure { margin-top: -2rem; }
  .reassure .core { grid-template-columns: 1fr; }
  .reassure__item { border-left: 0 !important; padding: 1rem 1.25rem; }
  .reassure__item + .reassure__item { border-top: 1px solid var(--line); }
}

/* ---------- Processus ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 1.75rem; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), var(--gold), transparent); opacity: 0.6; }
.step { position: relative; padding: 0 0.5rem; }
.step__num {
  font-variant-numeric: tabular-nums;
  width: 3.5rem; height: 3.5rem; border-radius: 50%; margin-bottom: 1.25rem;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--navy-deep);
  background: linear-gradient(145deg, var(--gold-light), var(--gold) 60%, var(--gold-dark));
  box-shadow: var(--shadow-gold), inset 0 1px 1px rgba(255,255,255,0.6);
  position: relative; z-index: 1;
}
.step h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.step p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { left: 1.75rem; right: auto; top: 1rem; bottom: 1rem; width: 1px; height: auto; background: linear-gradient(180deg, var(--gold), var(--gold-light)); }
  .step { display: grid; grid-template-columns: 3.5rem 1fr; gap: 0.25rem 1.25rem; align-items: start; padding: 0 0 2rem; }
  .step__num { margin: 0; grid-row: 1 / span 2; }
  .step h3, .step p { grid-column: 2; }
}

/* ---------- Pourquoi (split éditorial) ---------- */
.why__img .shell > .core { aspect-ratio: 4 / 5; }
.why__img img { filter: saturate(0.9); }
.why__list { display: grid; gap: 1rem; margin-top: 2rem; }
.why__item { display: grid; grid-template-columns: 3rem 1fr; gap: 1.1rem; align-items: start; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.why__item:last-child { border-bottom: 1px solid var(--line); }
.why__item .card__icon { margin: 0; }
.why__item h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.why__item p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* ---------- Garanties (bento sombre) ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.1rem; }
.bento > * { grid-column: span 6; }
.bento .bento--wide { grid-column: span 12; }
@media (max-width: 760px) { .bento > * { grid-column: span 12; } }
.guarantee { padding: clamp(1.5rem, 3vw, 2.25rem); }
.guarantee__idx { font-family: var(--font-display); font-weight: 700; color: var(--gold-light); font-size: 1.4rem; margin-bottom: 1rem; opacity: 0.9; }
.guarantee h3 { color: var(--cream); margin-bottom: 0.6rem; }
.guarantee p { color: rgba(251,248,241,0.72); font-size: 0.98rem; }

/* ---------- Comparatif ---------- */
.compare { overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 1.15rem 1.35rem; text-align: left; vertical-align: top; border-top: 1px solid var(--line); font-size: 0.97rem; font-variant-numeric: tabular-nums; }
.compare thead th { border-top: 0; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding-top: 1.4rem; }
.compare th[scope="row"] { font-weight: 600; color: var(--navy); width: 26%; }
.compare .col-quest { background: linear-gradient(180deg, rgba(217,163,58,0.14), rgba(217,163,58,0.06)); color: var(--navy); font-weight: 500; position: relative; }
.compare thead .col-quest { color: var(--gold-dark); font-weight: 700; }
.compare thead .col-quest::after { content: "Recommandé"; display: none; }
.compare td.col-quest::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold); }
.compare tbody tr:first-child td.col-quest::before { border-top-left-radius: 3px; }
.compare tbody tr:last-child td.col-quest::before { border-bottom-left-radius: 3px; }
.compare .muted { color: var(--muted); }
@media (max-width: 640px) {
  .compare table, .compare thead, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
  .compare thead { position: absolute; left: -9999px; }
  .compare tr { border-top: 1px solid var(--line); padding: 0.5rem 0; }
  .compare th[scope="row"] { width: auto; border: 0; padding-bottom: 0.25rem; }
  .compare td { border: 0; padding-top: 0.35rem; padding-bottom: 0.35rem; }
  .compare td::before { display: block; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.15rem; content: attr(data-label); }
  .compare td.col-quest { border-radius: 0.6rem; margin: 0.25rem 1rem; }
  .compare td.col-quest::before { content: attr(data-label); position: static; width: auto; background: none; color: var(--gold-dark); }
}

/* ---------- Références ---------- */
.refs { text-align: center; }
.refs__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin: 2rem 0 1.5rem; padding: 0; list-style: none; }
.refs__list li { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 2.2vw, 1.6rem); color: var(--navy); padding: 0.9rem 1.75rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.refs__list li.refs__you { background: var(--navy); color: var(--gold-light); }
.refs__list li.refs__logo { padding: 0.75rem 1.5rem; display: flex; align-items: center; }
.refs__list li.refs__logo img { height: 2.6rem; width: auto; max-width: 12rem; object-fit: contain; }
.refs__list li.refs__you a { text-decoration: none; }
.refs__note { color: var(--muted); font-size: 0.95rem; max-width: 40rem; margin-inline: auto; }

/* ---------- Catégories ---------- */
.cats { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(12rem, auto); gap: 1.1rem; }
.cats > * { grid-column: span 4; }
.cats .cats__img { grid-column: span 4; grid-row: span 2; }
.cats .cats__img--short { grid-row: span 1; min-height: 14rem; }
.cats .cats__img .core { aspect-ratio: auto; height: 100%; }
.cats .cats__img img { filter: saturate(0.85); }
.cat { padding: 1.6rem; height: 100%; display: flex; flex-direction: column; }
.cat h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.cat p { color: var(--muted); font-size: 0.93rem; margin: 0; }
@media (max-width: 900px) { .cats > *, .cats .cats__img { grid-column: span 6; } .cats .cats__img { grid-row: span 1; min-height: 14rem; } }
@media (max-width: 560px) { .cats > *, .cats .cats__img { grid-column: span 12; } .cats { grid-auto-rows: auto; } }
.callout {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem 1.5rem; border-radius: var(--radius-md);
  background: rgba(217,163,58,0.1); border: 1px solid rgba(217,163,58,0.35);
  color: var(--navy); font-size: 0.98rem;
}
.callout svg { width: 1.3rem; height: 1.3rem; flex: none; color: var(--gold-dark); margin-top: 0.15rem; }
.callout--navy { background: rgba(9,33,59,0.05); border-color: var(--line-strong); }
.callout--navy svg { color: var(--navy); }
.callout p { margin: 0; }

/* ---------- FAQ ---------- */
.faq-group { margin-bottom: 2.5rem; }
.faq-group h3 { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 0.75rem; font-weight: 700; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font-weight: 600; color: var(--navy); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; flex: none; transition: transform var(--dur) var(--ease-spring), background var(--dur) var(--ease-out); }
.faq summary .plus svg { width: 0.85rem; height: 0.85rem; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--navy); color: var(--cream); border-color: var(--navy); }
.faq details > div { padding: 0 3rem 1.25rem 0; color: var(--muted); }
.faq details > div p { margin: 0; }

/* ---------- Formulaires ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 2rem; align-items: start; }
@media (max-width: 1000px) { .form-layout { grid-template-columns: 1fr; } }
.form-card { padding: clamp(1.5rem, 3.5vw, 2.75rem); }
.form-section { padding: 1.75rem 0; border-top: 1px solid var(--line); }
.form-section:first-of-type { border-top: 0; padding-top: 0; }
.form-section__head { display: flex; align-items: baseline; gap: 0.85rem; margin-bottom: 1.25rem; }
.form-section__head .num { font-family: var(--font-display); font-weight: 700; color: var(--gold-dark); font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.form-section__head h3 { font-size: 1.2rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; }
.form-grid .span-2 { grid-column: span 2; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-grid .span-2 { grid-column: span 1; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label, .field .label { font-weight: 600; font-size: 0.92rem; color: var(--navy); }
.field .opt { font-weight: 400; color: var(--muted); }
.field .hint { font-size: 0.85rem; color: var(--muted); margin: 0; }
.input {
  width: 100%; padding: 0.8rem 1rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: var(--cream);
  font: inherit; color: var(--text); line-height: 1.4;
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
  appearance: none; -webkit-appearance: none;
}
.input:hover { border-color: rgba(9,33,59,0.3); }
.input:focus { outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 4px rgba(217,163,58,0.25); }
.input[aria-invalid="true"] { border-color: var(--error); background: var(--error-bg); }
textarea.input { min-height: 8rem; resize: vertical; }
select.input { padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2309213b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.input-unit { position: relative; }
.input-unit .input { padding-right: 4rem; }
.input-unit span { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 0.9rem; pointer-events: none; }
.field-error { display: none; font-size: 0.85rem; color: var(--error); font-weight: 500; margin: 0; }
.field-error.is-visible { display: flex; align-items: center; gap: 0.35rem; }
.field-error::before { content: ""; width: 0.35rem; height: 0.35rem; border-radius: 50%; background: var(--error); }
.counter { font-size: 0.78rem; color: var(--muted); text-align: right; }

fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset legend { font-weight: 600; font-size: 0.92rem; color: var(--navy); padding: 0; margin-bottom: 0.5rem; }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 0.95rem; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--white);
  font-size: 0.92rem; font-weight: 500; color: var(--text); cursor: pointer;
  transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), transform var(--dur) var(--ease-spring);
}
.choice span::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; border: 1px solid var(--line-strong); transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out); }
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.choice input:checked + span::before { background: var(--gold); border-color: var(--gold); }
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.choice:hover span { transform: translateY(-1px); }

.check { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.85rem; align-items: start; padding: 1rem 1.1rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--white); cursor: pointer; transition: border-color var(--dur) var(--ease-out), background var(--dur) var(--ease-out); }
.check:hover { border-color: var(--line-strong); }
.check input { width: 1.4rem; height: 1.4rem; margin: 0.1rem 0 0; accent-color: var(--navy); cursor: pointer; }
.check span { font-size: 0.95rem; line-height: 1.5; color: var(--text); }
.check span a { color: var(--navy); font-weight: 600; }
.check.is-invalid { border-color: var(--error); background: var(--error-bg); }
.checks { display: grid; gap: 0.75rem; }

.price-panel { position: sticky; top: 6rem; }
.price-panel .core { padding: 1.5rem; }
.price-panel h3 { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 1rem; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; padding: 0.6rem 0; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--muted); }
.price-row strong { color: var(--navy); font-weight: 600; font-variant-numeric: tabular-nums; }
.price-row--total { border-top: 2px solid var(--navy); margin-top: 0.25rem; padding-top: 0.9rem; font-size: 1.05rem; color: var(--navy); }
.price-row--total strong { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; font-variant-numeric: tabular-nums; }
.price-panel .hint { font-size: 0.82rem; color: var(--muted); margin-top: 0.85rem; }
.price-inline { margin-top: 1rem; display: none; }
@media (max-width: 1000px) { .price-panel { position: static; } }

.form-actions { padding-top: 1.75rem; border-top: 1px solid var(--line); display: grid; gap: 1rem; }
.form-note { font-size: 0.82rem; color: var(--muted); line-height: 1.55; }
.form-status { display: none; padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-size: 0.95rem; }
.form-status.is-error { display: block; background: var(--error-bg); color: var(--error); border: 1px solid rgba(179,38,30,0.3); }
.form-success { padding: clamp(2rem, 4vw, 3rem); text-align: left; }
.form-success h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.form-success .icon { width: 3.5rem; height: 3.5rem; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, var(--gold-light), var(--gold)); color: var(--navy-deep); margin-bottom: 1.5rem; }
.form-success .icon svg { width: 1.5rem; height: 1.5rem; }
.recap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem 1.5rem; margin: 1.5rem 0; padding: 1.25rem 1.5rem; border-radius: var(--radius-md); background: var(--cream-2); }
.recap div { font-size: 0.92rem; }
.recap dt { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; }
.recap dd { margin: 0.1rem 0 0; font-weight: 600; color: var(--navy); }
@media (max-width: 520px) { .recap { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact__img .core { aspect-ratio: 5 / 4; }
.contact__img img { filter: saturate(0.85); }
.people { display: grid; gap: 0.85rem; margin: 1.75rem 0; }
.person { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.person__avatar { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: var(--navy-deep); background: linear-gradient(145deg, var(--gold-light), var(--gold)); flex: none; }
.person strong { display: block; color: var(--navy); }
.person small { color: var(--muted); font-size: 0.85rem; }
.person a { margin-left: auto; font-weight: 600; color: var(--navy); text-decoration: none; white-space: nowrap; border-bottom: 1px solid var(--line-strong); }
.person a:hover { border-color: var(--gold); }
@media (max-width: 520px) { .person { flex-wrap: wrap; } .person a { margin-left: 4rem; } }
.contact__mail { font-size: 1.05rem; }
.contact__mail a { color: var(--navy); font-weight: 600; }

/* ---------- Bloc bascule d'audience (bas de page) ---------- */
.crosslink { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; padding: clamp(1.75rem, 4vw, 2.75rem); }
.crosslink h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 0.4rem; }
.crosslink p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .crosslink { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.footer { background: var(--navy-deep); color: rgba(251,248,241,0.7); padding: 4rem 0 2rem; font-size: 0.92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-on-dark); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { color: var(--gold-light); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.footer a { color: rgba(251,248,241,0.8); text-decoration: none; }
.footer a:hover { color: var(--cream); text-decoration: underline; }
.footer__brand p { max-width: 24rem; margin-top: 1rem; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 1.5rem; padding-top: 1.5rem; font-size: 0.8rem; color: rgba(251,248,241,0.5); }

/* ---------- Pages légales ---------- */
.legal-hero { background: var(--navy); color: var(--cream); padding: clamp(8rem, 14vw, 10rem) 0 clamp(3rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.legal-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 90% 0%, rgba(217,163,58,0.18), transparent 65%); pointer-events: none; }
.legal-hero h1 { color: var(--cream); font-size: clamp(2rem, 4.5vw, 3.2rem); }
.legal-hero p { color: rgba(251,248,241,0.7); margin-top: 0.75rem; }
.legal-body { padding-block: clamp(3rem, 6vw, 5rem); }
.legal-body h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin: 2.5rem 0 1rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { margin: 1.5rem 0 0.5rem; }
.legal-body table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 1rem 0 1.5rem; }
.legal-body th, .legal-body td { text-align: left; vertical-align: top; padding: 0.7rem 0.85rem; border-top: 1px solid var(--line); }
.legal-body th { color: var(--navy); font-weight: 600; width: 32%; }
.legal-body ul { padding-left: 1.25rem; }
.legal-body li { margin-bottom: 0.4rem; }
.todo { display: inline-block; padding: 0.1rem 0.5rem; border-radius: 0.4rem; background: var(--gold-pale); color: var(--gold-dark); font-weight: 600; font-size: 0.85rem; border: 1px dashed var(--gold-dark); }
.legal-toc { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.legal-toc a { font-size: 0.85rem; padding: 0.4rem 0.85rem; border-radius: 999px; border: 1px solid var(--line-strong); text-decoration: none; color: var(--navy); background: var(--white); }
.legal-toc a:hover { border-color: var(--gold); }

/* ---------- Page Membres : spécifiques ---------- */
.pay-flow { display: grid; gap: 0; counter-reset: pay; }
.pay-flow__item { display: grid; grid-template-columns: 2.5rem 1.2fr 1fr; gap: 1rem; align-items: center; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.on-dark .pay-flow__item { border-color: var(--line-on-dark); }
.on-dark .pay-flow__item strong { color: var(--cream); }
.on-dark .pay-flow__item span { color: rgba(251,248,241,0.65); }
.on-dark .pay-flow__item::before { color: var(--gold-light); }
.pay-flow__item:last-child { border-bottom: 1px solid var(--line); }
.on-dark .pay-flow__item:last-child { border-bottom-color: var(--line-on-dark); }
.pay-flow__item::before { counter-increment: pay; content: counter(pay, decimal-leading-zero); font-family: var(--font-display); font-weight: 700; color: var(--gold-dark); font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.pay-flow__item strong { color: var(--navy); font-weight: 600; }
.pay-flow__item span { color: var(--muted); font-size: 0.92rem; text-align: right; }
@media (max-width: 560px) { .pay-flow__item { grid-template-columns: 2.5rem 1fr; } .pay-flow__item span { grid-column: 2; text-align: left; } }
.status-pill { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.9rem; border-radius: 999px; background: rgba(47,122,79,0.14); color: #a9e3bf; border: 1px solid rgba(47,122,79,0.4); font-size: 0.82rem; font-weight: 600; }
.status-pill::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #4fd18a; box-shadow: 0 0 0 4px rgba(79,209,138,0.2); }
.prereq { display: grid; grid-template-columns: 2.25rem 1fr; gap: 1rem; align-items: start; padding: 1.35rem; }
.prereq svg { width: 1.3rem; height: 1.3rem; color: var(--gold-dark); margin-top: 0.15rem; }
.prereq h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.prereq p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* ==========================================================================
   EFFETS v2 — motion natif (scroll-driven, view transitions), 0 dépendance
   Tout est en transform/opacity ; désactivé sous prefers-reduced-motion.
   ========================================================================== */

/* ---------- Transitions de page natives ---------- */
@view-transition { navigation: auto; }
.header__pill { view-transition-name: quest-header; }
::view-transition-old(root) { animation: vt-out 0.28s var(--ease-out) both; }
::view-transition-new(root) { animation: vt-in 0.42s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-0.5rem); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(0.75rem); } }
::view-transition-old(quest-header), ::view-transition-new(quest-header) { animation: none; mix-blend-mode: normal; }

/* ---------- Rideau d'ouverture ---------- */
.curtain { position: fixed; inset: 0; z-index: 80; background: var(--navy-deep); display: grid; place-items: center; pointer-events: none; transform-origin: top; }
.curtain svg { width: clamp(4rem, 10vw, 7rem); height: auto; opacity: 0; transform: scale(0.8) rotate(-8deg); animation: curtain-logo 0.7s var(--ease-spring) 0.05s forwards; }
.curtain.is-done { animation: curtain-up 0.8s var(--ease-out) forwards; }
@keyframes curtain-logo { to { opacity: 1; transform: none; } }
@keyframes curtain-up { to { transform: translateY(-100%); border-bottom-left-radius: 50% 12vh; border-bottom-right-radius: 50% 12vh; } }
html.no-curtain .curtain { display: none; }

/* ---------- Barre de progression de lecture ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 45; background: linear-gradient(90deg, var(--gold-dark), var(--gold-light)); transform-origin: left; transform: scaleX(0); pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .progress { animation: progress-grow linear both; animation-timeline: scroll(root); }
  @keyframes progress-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* ---------- Header : se cache à la descente, revient à la montée ---------- */
.header { transition: transform 0.5s var(--ease-out); }
.header.is-hidden { transform: translateY(-120%); }
body.menu-open .header.is-hidden { transform: none; }

/* ---------- Aurora (hero + sections sombres) ---------- */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; contain: strict; }
.aurora span {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; will-change: transform;
  animation: aurora-drift 22s var(--ease-out) infinite alternate;
}
.aurora span:nth-child(1) { width: 55vw; height: 55vw; left: 55%; top: -25%; background: radial-gradient(circle, rgba(230,180,81,0.55), rgba(196,122,37,0.15) 60%, transparent 70%); }
.aurora span:nth-child(2) { width: 45vw; height: 45vw; left: -15%; top: 40%; background: radial-gradient(circle, rgba(18,48,90,1), rgba(18,48,90,0.3) 60%, transparent 70%); animation-duration: 28s; animation-delay: -9s; }
.aurora span:nth-child(3) { width: 30vw; height: 30vw; left: 35%; top: 55%; background: radial-gradient(circle, rgba(241,210,124,0.35), transparent 70%); animation-duration: 18s; animation-delay: -4s; }
@keyframes aurora-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-8%, 6%, 0) scale(1.12); }
  100% { transform: translate3d(6%, -8%, 0) scale(0.95); }
}
@media (max-width: 760px) { .aurora span { filter: blur(48px); } .aurora span:nth-child(3) { display: none; } .aurora span:nth-child(1) { width: 110vw; height: 110vw; left: 20%; } }
.hero::before { z-index: 0; }
.hero::after { z-index: 0; }
.hero .aurora { z-index: 0; }
.hero > .container { z-index: 2; }
/* Grille lumineuse qui suit le pointeur (bureau) */
@media (hover: hover) and (pointer: fine) {
  .hero::after {
    mask-image: radial-gradient(28rem 28rem at var(--mx, 70%) var(--my, 40%), black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(28rem 28rem at var(--mx, 70%) var(--my, 40%), black 0%, transparent 70%);
    opacity: 0.6;
  }
}

/* ---------- Titres : révélation mot à mot ---------- */
.words .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.words .w > span { display: inline-block; transform: translateY(110%); opacity: 0; transition: transform 0.9s var(--ease-out), opacity 0.6s var(--ease-out); }
.words.is-visible .w > span, .words.is-in .w > span { transform: none; opacity: 1; }
.words .w:nth-child(1) > span { transition-delay: 0.05s; } .words .w:nth-child(2) > span { transition-delay: 0.12s; } .words .w:nth-child(3) > span { transition-delay: 0.19s; } .words .w:nth-child(4) > span { transition-delay: 0.26s; } .words .w:nth-child(5) > span { transition-delay: 0.33s; } .words .w:nth-child(6) > span { transition-delay: 0.40s; } .words .w:nth-child(7) > span { transition-delay: 0.47s; } .words .w:nth-child(8) > span { transition-delay: 0.54s; } .words .w:nth-child(9) > span { transition-delay: 0.61s; } .words .w:nth-child(10) > span { transition-delay: 0.68s; } .words .w:nth-child(n+11) > span { transition-delay: 0.75s; }
/* Typographie cinétique : la graisse des H2 monte quand ils entrent dans l'écran */
@supports (animation-timeline: view()) {
  .section h2 { animation: h2-weight linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  @keyframes h2-weight { from { font-variation-settings: "wght" 500; letter-spacing: 0; } to { font-variation-settings: "wght" 700; letter-spacing: var(--tracking-display); } }
}

/* ---------- Marquee ---------- */
.marquee { position: relative; z-index: 3; overflow: hidden; background: var(--navy); color: var(--gold-light); transform: rotate(-1.2deg) scale(1.03); margin: 2.5rem 0 0; border-block: 1px solid rgba(241,210,124,0.25); }
.marquee__track { display: flex; width: max-content; gap: 0; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track ul { display: flex; list-style: none; margin: 0; padding: 0.85rem 0; }
.marquee__track li { display: flex; align-items: center; gap: 1.5rem; padding: 0 1.5rem 0 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1rem, 1.5vw, 1.25rem); white-space: nowrap; letter-spacing: 0.01em; }
.marquee__track li::after { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--gold); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Spotlight + bordure lumineuse sur les cartes ---------- */
@media (hover: hover) and (pointer: fine) {
  .shell { position: relative; isolation: isolate; }
  .shell::before {
    content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; z-index: 0; opacity: 0;
    background: radial-gradient(22rem 22rem at var(--sx, 50%) var(--sy, 50%), rgba(217,163,58,0.55), transparent 60%);
    transition: opacity 0.6s var(--ease-out);
  }
  .shell:hover::before { opacity: 1; }
  .shell > .core { position: relative; z-index: 1; overflow: hidden; }
  .shell > .core::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
    background: radial-gradient(26rem 26rem at var(--sx, 50%) var(--sy, 50%), rgba(217,163,58,0.14), transparent 60%);
    transition: opacity 0.6s var(--ease-out);
  }
  .shell:hover > .core::after { opacity: 1; }
  .on-dark .shell > .core::after { background: radial-gradient(26rem 26rem at var(--sx, 50%) var(--sy, 50%), rgba(241,210,124,0.18), transparent 60%); }
  .price-panel .shell > .core, .form-card { overflow: visible; }
}

/* ---------- Tilt 3D ---------- */
.tilt { transform-style: preserve-3d; transition: transform 0.7s var(--ease-out); will-change: transform; }
.tilt.is-tilting { transition: transform 0.12s linear; }
.hero__visual .shell.tilt { transform: perspective(1200px) rotate(2deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.hero__visual:hover .shell.tilt { transform: perspective(1200px) rotate(0.5deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
@media (max-width: 900px) { .hero__visual .shell.tilt, .hero__visual:hover .shell.tilt { transform: none; } }

/* ---------- Parallaxe des images (scroll-driven) ---------- */
@supports (animation-timeline: view()) {
  .shell--img img { animation: img-parallax linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  @keyframes img-parallax { from { transform: scale(1.14) translateY(-4%); } to { transform: scale(1.14) translateY(4%); } }
  .steps::before { transform-origin: left; animation: line-draw linear both; animation-timeline: view(); animation-range: entry 20% entry 90%; }
  @keyframes line-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @media (max-width: 900px) { .steps::before { transform-origin: top; animation-name: line-draw-y; } @keyframes line-draw-y { from { transform: scaleY(0); } to { transform: scaleY(1); } } }
}
.cats__img img, .why__img img, .contact__img img { transition: transform 1s var(--ease-out); }
.cats__img:hover img { transform: scale(1.06); }

/* ---------- Pile de cartes (garanties) ---------- */
.stack-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.stack-layout > .section-head { position: sticky; top: 7rem; margin: 0; }
.stack { display: grid; gap: 0; }
.stack > .shell { position: sticky; top: calc(6.5rem + var(--i, 0) * 1.1rem); margin-bottom: 22vh; transition: transform 0.6s var(--ease-out), filter 0.6s var(--ease-out); background: var(--navy); }
.stack > .shell:last-child { margin-bottom: 0; }
.stack > .shell > .core { background: linear-gradient(180deg, #14325a, #0e2747); }
.stack > .shell.is-under { transform: scale(0.96) translateY(-0.5rem); filter: brightness(0.75); }
.stack .guarantee { min-height: 14rem; }
.stack .guarantee__idx { font-size: 2.2rem; }
.stack .guarantee h3 { font-size: 1.45rem; }
@media (max-width: 900px) {
  .stack-layout { grid-template-columns: 1fr; }
  .stack-layout > .section-head { position: static; margin-bottom: 2rem; }
  .stack { gap: 1rem; }
  .stack > .shell { position: static; margin-bottom: 0; }
  .stack > .shell.is-under { transform: none; filter: none; }
}

/* ---------- Bande d'appel à l'action ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: var(--cream); padding: clamp(5rem, 10vw, 8rem) 0; text-align: center; }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: var(--cream); font-size: clamp(2.4rem, 6vw, 5rem); margin-bottom: 1rem; }
.cta-band p { color: rgba(251,248,241,0.72); max-width: 36rem; margin: 0 auto 2.25rem; font-size: 1.1rem; }
.cta-band .cta-row { justify-content: center; }
.cta-band__word { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--font-display); font-weight: 700; font-size: clamp(8rem, 28vw, 26rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(241,210,124,0.14); letter-spacing: 0.02em; pointer-events: none; user-select: none; white-space: nowrap; z-index: 1; }
@supports (animation-timeline: view()) {
  .cta-band__word { animation: word-slide linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  @keyframes word-slide { from { transform: translate(-40%, -50%); } to { transform: translate(-60%, -50%); } }
}

/* ---------- Curseur personnalisé (bureau) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; width: 2.4rem; height: 2.4rem; margin: -1.2rem 0 0 -1.2rem; border: 1.5px solid var(--gold); border-radius: 50%; transform: translate(var(--cx, -100px), var(--cy, -100px)) scale(var(--cs, 1)); transition: transform 0.15s var(--ease-out), opacity 0.3s, background 0.3s, border-color 0.3s; opacity: 0.9; mix-blend-mode: difference; }
  html.has-cursor .cursor.is-active { --cs: 1.8; background: rgba(217,163,58,0.18); border-color: var(--gold-light); }
  html.has-cursor .cursor.is-text { --cs: 0.4; }
}

/* ---------- Boutons magnétiques ---------- */
.btn.is-magnet { transition: transform 0.35s var(--ease-out), box-shadow var(--dur) var(--ease-out), background var(--dur) var(--ease-out); }

/* ---------- Icônes : trait qui se dessine au survol ---------- */
.card__icon svg path, .card__icon svg circle, .card__icon svg rect { stroke-dasharray: 60; stroke-dashoffset: 0; transition: stroke-dashoffset 0.9s var(--ease-out); }
.shell:hover .card__icon svg path, .shell:hover .card__icon svg circle, .shell:hover .card__icon svg rect, .why__item:hover .card__icon svg path, .why__item:hover .card__icon svg circle, .why__item:hover .card__icon svg rect { animation: icon-draw 1s var(--ease-out); }
@keyframes icon-draw { from { stroke-dashoffset: 60; } to { stroke-dashoffset: 0; } }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  .curtain { display: none; }
  .aurora span, .marquee__track, .progress, .shell--img img, .steps::before, .cta-band__word, .section h2 { animation: none !important; }
  .words .w > span { transform: none; opacity: 1; transition: none; }
  .tilt, .btn.is-magnet { transition: none; transform: none !important; }
  .stack > .shell.is-under { transform: none; filter: none; }
  .cursor { display: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
.words.reveal { opacity: 1; transform: none; filter: none; }

/* ==========================================================================
   v3 — copy allégée : puces de catégories, formulaires en étapes
   ========================================================================== */

/* ---------- Puces de catégories (détail au survol / tap) ---------- */
.chips { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
@media (max-width: 560px) { .chips { grid-template-columns: 1fr; } }
.chip { border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-soft); overflow: hidden; transition: border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease-out); }
.chip:hover, .chip:focus-within, .chip.is-open { border-color: rgba(217,163,58,0.6); transform: translateY(-2px); box-shadow: var(--shadow-float); }
.chip__btn { display: flex; align-items: center; gap: 0.85rem; width: 100%; padding: 0.85rem 1rem; background: none; border: 0; text-align: left; font-weight: 600; font-size: 0.98rem; color: var(--navy); }
.chip__btn .card__icon { width: 2.5rem; height: 2.5rem; margin: 0; border-radius: 0.75rem; flex: none; }
.chip__btn .card__icon svg { width: 1.15rem; height: 1.15rem; }
.chip__label { flex: 1; }
.chip__plus { position: relative; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 1px solid var(--line-strong); flex: none; transition: transform var(--dur) var(--ease-spring), background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out); }
.chip__plus::before, .chip__plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; transform: translate(-50%, -50%); }
.chip__plus::before { width: 0.6rem; height: 1.5px; }
.chip__plus::after { width: 1.5px; height: 0.6rem; }
.chip:hover .chip__plus, .chip:focus-within .chip__plus, .chip.is-open .chip__plus { transform: rotate(45deg); background: var(--navy); border-color: var(--navy); color: var(--cream); }
.chip__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease-out); }
.chip__more > div { overflow: hidden; padding: 0 1rem; color: var(--muted); font-size: 0.92rem; line-height: 1.5; transition: padding 0.55s var(--ease-out); }
.chip:hover .chip__more, .chip:focus-within .chip__more, .chip.is-open .chip__more { grid-template-rows: 1fr; }
.chip:hover .chip__more > div, .chip:focus-within .chip__more > div, .chip.is-open .chip__more > div { padding: 0 1rem 1rem 4.35rem; }
@media (hover: none) { .chip:hover .chip__more { grid-template-rows: 0fr; } .chip:hover .chip__more > div { padding: 0 1rem; } .chip:hover .chip__plus { transform: none; background: none; border-color: var(--line-strong); color: inherit; } .chip.is-open .chip__more { grid-template-rows: 1fr; } .chip.is-open .chip__more > div { padding: 0 1rem 1rem 4.35rem; } .chip.is-open .chip__plus { transform: rotate(45deg); background: var(--navy); border-color: var(--navy); color: var(--cream); } }
.stack-layout__img { margin-top: 2rem; max-width: 22rem; }
.chips--3 .chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .chips--3 .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .chips--3 .chips { grid-template-columns: 1fr; } }
.why__img--wide .shell--img > .core { aspect-ratio: 3 / 2; }
.shell--img picture { display: block; height: 100%; }
.stack-layout__img .core { aspect-ratio: 3 / 2; }
@media (max-width: 900px) { .stack-layout__img { display: none; } }

/* ---------- Formulaires en étapes ---------- */
.stepper { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0.5rem; }
.stepper li { position: relative; display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 0.25rem 0.75rem; font-size: 0.82rem; font-weight: 600; color: var(--muted); border-bottom: 2px solid var(--line); transition: color var(--dur) var(--ease-out); }
.stepper li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: linear-gradient(90deg, var(--gold-dark), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out); }
.stepper li.is-done::after, .stepper li.is-current::after { transform: scaleX(1); }
.stepper li.is-current { color: var(--navy); }
.stepper li.is-done { color: var(--navy); }
.stepper__num { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--gold-dark); font-variant-numeric: tabular-nums; }
.stepper li.is-done .stepper__num { color: var(--success); }
@media (max-width: 640px) { .stepper__label { display: none; } .stepper li.is-current .stepper__label { display: inline; } }
.js .form-step { display: none; }
.js .form-step.is-current { display: block; animation: step-in 0.5s var(--ease-out); border-top: 0; padding-top: 0; }
@keyframes step-in { from { opacity: 0; transform: translateX(1.5rem); } }
.step-nav { display: none; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.js .step-nav { display: flex; }
.step-nav__prev { padding: 0.9rem 1.5rem; }
.step-nav__prev[hidden] { display: none; }
.js form[data-last-step="false"] .form-actions > .btn { display: none; }
.js form[data-last-step="false"] .form-actions .form-note { display: none; }
.js form[data-last-step="false"] .form-actions { border-top: 0; padding-top: 0; }
@media (prefers-reduced-motion: reduce) { .js .form-step.is-current { animation: none; } .chip, .chip__more, .chip__more > div, .chip__plus { transition: none; } }
[hidden] { display: none !important; }

/* ==========================================================================
   Sprint 1 / lot C — objectifs, brouillon, voie rapide
   ========================================================================== */
.objectives { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 900px) { .objectives { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .objectives { grid-template-columns: 1fr; } }
.objective { padding: 1.5rem 1.6rem 1.6rem; height: 100%; display: flex; flex-direction: column; }
.objective__kicker { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 0.75rem; }
.objective__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--navy); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-bottom: 0.5rem; }
.objective p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.objective--editorial > .core { background: var(--navy); }
.objective--editorial .objective__kicker { color: var(--gold-light); }
.objective--editorial h3 { color: var(--cream); font-size: 1.25rem; line-height: 1.2; margin: 0.15rem 0 0.6rem; }
.objective--editorial p { color: rgba(251,248,241,0.72); }

/* Proposition de connexion avant le formulaire (gain de temps, jamais imposée) */
.login-nudge { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.7rem 1.2rem; padding: 1rem 1.2rem; margin-bottom: 1.25rem; border-radius: var(--radius-sm); background: rgba(9,33,59,0.05); border: 1px solid var(--line-strong); font-size: 0.95rem; color: var(--navy); }
.login-nudge strong { font-weight: 800; }
.login-nudge__actions { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.login-nudge__skip { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: 0.88rem; text-decoration: underline; cursor: pointer; }
.login-nudge__skip:hover { color: var(--navy); }

.draft-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; padding: 0.85rem 1.1rem; margin-bottom: 1.25rem; border-radius: var(--radius-sm); background: rgba(217,163,58,0.12); border: 1px solid rgba(217,163,58,0.4); font-size: 0.92rem; color: var(--navy); }
.draft-banner p { margin: 0; }
.draft-banner .link-arrow { background: none; border: 0; border-bottom: 1px solid var(--line-strong); padding: 0 0 2px; font: inherit; font-weight: 600; color: var(--navy); cursor: pointer; }
.draft-banner__reset { background: none; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.35rem 0.85rem; font: inherit; font-size: 0.82rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.draft-banner__reset:hover { color: var(--navy); border-color: var(--navy); }

.price-recap { margin: 0 0 1.25rem; padding: 0.25rem 1.1rem 0.5rem; border-radius: var(--radius-sm); background: var(--cream-2); }
.price-recap .price-row:first-child { border-top: 0; }

.fast-lane .core { padding: 1.5rem; }
.fast-lane h3 { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 0.5rem; text-transform: none; letter-spacing: var(--tracking-display); color: var(--navy); }
.fast-lane > .core > p { color: var(--muted); font-size: 0.92rem; margin-bottom: 1rem; }
.fast-lane .btn--gold { margin-bottom: 1.25rem; font-size: 0.92rem; }
.fast-lane__form { display: grid; gap: 0.85rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.fast-lane__form .form-note { margin: 0; }
.fast-lane__success { padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: rgba(47,122,79,0.12); border: 1px solid rgba(47,122,79,0.35); color: var(--navy); font-size: 0.95rem; }

/* ---------- Pages par besoin ---------- */
.hero--need { min-height: 0; padding-top: clamp(7rem, 13vw, 9rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.need-examples { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.5rem; color: var(--text); font-size: 0.97rem; }
.need-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.need-links a { display: inline-block; padding: 0.6rem 1rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white); text-decoration: none; font-weight: 600; font-size: 0.92rem; color: var(--navy); transition: border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-spring); }
.need-links a:hover { border-color: var(--gold); transform: translateY(-2px); }
.chip__link { display: inline-block; margin-top: 0.35rem; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.chip__link:hover { border-color: var(--gold); }

/* ---------- Pont espace client (sprint 2) ---------- */
.nav a { white-space: nowrap; }
.nav__espace { opacity: 0.8; }
@media (max-width: 1120px) { .nav__espace { display: none; } }
.prefill { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1rem; padding: 0.9rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--cream-2); margin-bottom: 0.5rem; }
.prefill p { margin: 0; font-size: 0.93rem; color: var(--text); }
.prefill strong { color: var(--navy); }
.prefill .btn { transform: none; }
.prefill-adresses select { cursor: pointer; }
.budget-hint { color: var(--navy); background: var(--gold-pale); padding: 0.6rem 0.8rem; border-radius: var(--radius-sm); }
.account-prompt { margin-top: 1.5rem; padding: 1.1rem 1.2rem; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); }
.account-prompt h4 { margin: 0 0 0.4rem; font-family: var(--font-display); color: var(--navy); font-size: 1.05rem; }
.account-prompt p { margin: 0 0 0.8rem; font-size: 0.95rem; }
.account-prompt a { color: var(--navy); font-weight: 600; }

/* Section « Application QUEST » (site public) */
.app-install { padding: 1.8rem 2rem 2rem; }
.app-install__intro p { margin: 0 0 1.4rem; max-width: 62ch; }
.app-install__cols { display: grid; gap: 1.6rem; }
@media (min-width: 860px) { .app-install__cols { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.app-install__col h3 { display: flex; align-items: baseline; gap: 0.5rem; font-size: 1rem; margin: 0 0 0.8rem; }
.app-install__os { font-family: var(--font-display); font-weight: 800; color: var(--navy); }
.app-install__col h3 small { color: var(--muted); font-weight: 600; font-size: 0.8rem; }
.app-install .ios-steps { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; counter-reset: s; font-size: 0.93rem; }
.app-install .ios-steps li { display: flex; gap: 0.6rem; align-items: flex-start; counter-increment: s; }
.app-install .ios-steps li::before { content: counter(s); flex: none; width: 1.45rem; height: 1.45rem; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; font-size: 0.75rem; display: inline-flex; align-items: center; justify-content: center; }
.app-install__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.4rem; margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.app-install__foot .hint { margin: 0; font-size: 0.86rem; color: var(--muted); max-width: 46ch; }
