/* ==========================================================================
   Collège de la Concorde — landing pages (formations professionnelles)
   Palette : marine institutionnel, or sceau, papier froid.
   ========================================================================== */

:root {
  --navy: #0c3a63;        /* aligné sur le bleu du logo (#004070) */
  --navy-deep: #07253f;
  --navy-soft: #16558a;
  --logo-blue: #004070;
  --gold: #b8902e;
  --gold-light: #e6d29a;
  --gold-pale: #f6efd9;
  --paper: #f3f5f8;
  --white: #ffffff;
  --ink: #1b2432;
  --muted: #5b6676;
  --line: #d9dee6;
  --success: #1f7a4d;
  --error: #b3261e;

  --font-display: "Cormorant Garamond", "Georgia", serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --measure: 62ch;
  --radius: 4px;
  --shadow-card: 0 18px 40px -22px rgba(10, 27, 51, 0.45);
  --wrap: 1180px;
}

*, *::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: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 0.5em;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; max-width: var(--measure); }
ul { padding-left: 1.2em; }
li { margin-bottom: 0.35em; }
strong { font-weight: 600; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.section--navy { background: var(--navy); color: #e8edf5; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: #d3dbe8; }
.section--white { background: var(--white); }

/* Titre de section : filet or à gauche, information structurelle */
.section-head { margin-bottom: 2rem; padding-left: 1.1rem; border-left: 3px solid var(--gold); }
.section-head p { color: var(--muted); font-size: 1.1rem; margin-top: 0.4rem; }
.section--navy .section-head p { color: #b8c4d8; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  font: 600 1.02rem/1 var(--font-body);
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--gold { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.btn--gold:hover { background: #a37f27; border-color: #a37f27; }
.btn--navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-soft); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn--ghost-light:hover { border-color: var(--white); }
.btn--block { width: 100%; }
.btn--lg { padding: 1.1rem 1.9rem; font-size: 1.1rem; }

/* ---------- En-tête ---------- */
.topbar {
  background: var(--navy-deep); color: #c9d3e3; font-size: 0.92rem;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: var(--gold-light); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

.header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--navy); }
.brand__logo { height: 44px; width: auto; }
@media (max-width: 760px) { .brand__logo { height: 36px; } }
.brand__mark {
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid var(--gold); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--navy);
  background: var(--gold-pale);
}
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1; }
.brand__sub { display: block; font-family: var(--font-body); font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; margin-top: 0.2rem; }
.nav { display: flex; gap: 1.4rem; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; }
.nav a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.header__cta { display: flex; gap: 0.6rem; align-items: center; }
.header__phone { display: none; font-weight: 600; text-decoration: none; color: var(--navy); }
@media (min-width: 900px) { .header__phone { display: inline; } }
@media (max-width: 760px) { .nav { display: none; } .header__cta .btn { display: none; } .brand__sub { display: none; } .topbar { display: none; } .header .wrap { min-height: 60px; } }

/* ---------- Héros ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(184,144,46,0.16), transparent 60%),
    linear-gradient(180deg, var(--navy-deep), var(--navy) 70%);
  color: var(--white);
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}
.hero .wrap { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) {
  .hero .wrap { grid-template-columns: 1.15fr 0.85fr; grid-template-rows: auto 1fr; gap: 1.5rem 3.5rem; }
  .hero .fiche { grid-column: 2; grid-row: 1 / span 2; }
  .hero__extra { grid-column: 1; grid-row: 2; }
}
.hero__cat { color: var(--gold-light); font-weight: 600; margin-bottom: 0.9rem; font-size: 1rem; }
.hero h1 { color: var(--white); max-width: 16ch; }
.hero__promise { font-size: 1.25rem; color: #dbe3ef; max-width: 52ch; margin-bottom: 1.6rem; }
.hero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.8rem; }

/* Faits clés : une ligne de "cartouches" séparés par un filet or */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid rgba(230,210,154,0.35); border-bottom: 1px solid rgba(230,210,154,0.35); }
@media (min-width: 560px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { padding: 0.9rem 0.6rem; border-right: 1px solid rgba(230,210,154,0.25); }
.fact:last-child { border-right: 0; }
.fact__v { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--gold-light); line-height: 1.05; }
.fact__v--txt { font-size: 1.15rem; padding-top: 0.2rem; }
@media (max-width: 559px) { .fact:nth-child(2) { border-right: 0; } .fact:nth-child(-n+2) { border-bottom: 1px solid rgba(230,210,154,0.25); } .fact__v { font-size: 1.5rem; } }
.fact__l { font-size: 0.86rem; color: #c3cddc; margin-top: 0.3rem; }

/* ---------- La fiche (formulaire) : élément signature ---------- */
.fiche {
  position: relative;
  background: var(--white); color: var(--ink);
  padding: 2rem 1.75rem 1.75rem;
  border: 1px solid var(--gold);
  outline: 1px solid var(--gold); outline-offset: 5px;
  box-shadow: var(--shadow-card);
}
.fiche--sticky { position: sticky; top: 88px; }
.fiche h2, .fiche h3 { font-size: 1.7rem; margin-bottom: 0.2rem; padding-right: 88px; }
.fiche__lead { color: var(--muted); font-size: 0.98rem; margin-bottom: 1.2rem; }
.seal {
  position: absolute; top: -22px; right: 18px;
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--navy); color: var(--gold-light);
  border: 3px solid var(--gold);
  display: grid; place-items: center; text-align: center; line-height: 1;
  box-shadow: 0 8px 18px -8px rgba(0,0,0,0.5);
}
.seal__n { font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; }
.seal__s { font-size: 0.62rem; letter-spacing: 0.02em; margin-top: 0.15rem; color: #f3e7c2; }
.seal__stars { font-size: 0.72rem; color: var(--gold-light); margin-top: 0.1rem; }

.form { display: grid; gap: 0.85rem; }
.form__row { display: grid; gap: 0.85rem; grid-template-columns: 1fr; }
@media (min-width: 480px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.3rem; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.75rem 0.85rem; font: inherit; font-size: 1rem;
  border: 1px solid #b9c2cf; border-radius: var(--radius); background: var(--white); color: var(--ink);
}
.field input:focus, .field select:focus { border-color: var(--navy); }
.form__consent { font-size: 0.83rem; color: var(--muted); display: flex; gap: 0.5rem; align-items: flex-start; }
.form__consent input { margin-top: 0.25rem; }
.form__consent a { color: var(--navy); }
.form__note { font-size: 0.85rem; color: var(--muted); text-align: center; margin: 0.4rem 0 0; }
.form__status { font-size: 0.95rem; padding: 0.7rem 0.9rem; border-radius: var(--radius); display: none; }
.form__status--error { display: block; background: #fdecea; color: var(--error); }
.form__status--busy { display: block; background: var(--gold-pale); color: var(--navy); }

/* ---------- Bandeau de confiance ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem 1.5rem; padding: 1.6rem 0; }
@media (min-width: 700px) { .trust__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .trust__grid { grid-template-columns: repeat(6, 1fr); } }
.trust__item { display: grid; grid-template-columns: 34px 1fr; gap: 0.6rem; align-items: start; }
.trust__item svg { width: 30px; height: 30px; color: var(--gold); }
.trust__t { font-weight: 600; color: var(--navy); font-size: 0.98rem; line-height: 1.25; }
.trust__d { font-size: 0.83rem; color: var(--muted); }

/* ---------- Deux colonnes objectifs / public ---------- */
.two { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .two { grid-template-columns: 1.2fr 0.8fr; } }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: 0.6rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.35rem; width: 1.05rem; height: 1.05rem;
  border-radius: 50%; background: var(--gold);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.4-4.2-4.2 1.4-1.4 2.8 2.8 5.8-5.8 1.4 1.4-7.2 7.2z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.4-4.2-4.2 1.4-1.4 2.8 2.8 5.8-5.8 1.4 1.4-7.2 7.2z'/></svg>") center/contain no-repeat;
}
.aside { background: var(--white); border-top: 3px solid var(--gold); padding: 1.5rem 1.6rem; }
.aside h3 { font-size: 1.3rem; }
.aside p:last-child { margin-bottom: 0; }

/* ---------- Table des modules (document officiel) ---------- */
.modules { width: 100%; border-collapse: collapse; background: var(--white); font-size: 0.98rem; }
.modules th, .modules td { padding: 0.8rem 0.9rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.modules th { background: var(--navy); color: var(--white); font-weight: 600; font-size: 0.9rem; }
.modules td:first-child { font-family: var(--font-display); font-weight: 700; color: var(--navy); white-space: nowrap; }
.modules td:last-child, .modules th:last-child { text-align: right; white-space: nowrap; }
.modules tfoot td { font-weight: 700; background: var(--gold-pale); border-top: 2px solid var(--gold); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }

/* ---------- Débouchés ---------- */
.jobs { display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0; margin: 0 0 1rem; list-style: none; }
.jobs li { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 0.55rem 0.9rem; margin: 0; font-weight: 500; }
.cnp { color: var(--muted); font-size: 0.92rem; }

/* ---------- Options & tarifs ---------- */
.options { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .options { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .options--4 { grid-template-columns: repeat(4, 1fr); } .options--3 { grid-template-columns: repeat(3, 1fr); } }
.option { background: var(--white); border: 1px solid var(--line); padding: 1.4rem 1.4rem 1.2rem; display: flex; flex-direction: column; }
.option__mode { color: var(--gold); font-weight: 700; font-size: 0.95rem; }
.option__type { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--navy); line-height: 1.1; margin: 0.2rem 0 0.6rem; }
.option__price { font-size: 1.9rem; font-weight: 700; color: var(--navy); line-height: 1; }
.option__price small { font-size: 0.8rem; font-weight: 400; color: var(--muted); display: block; margin-top: 0.3rem; }
.option dl { margin: 1rem 0 1.2rem; font-size: 0.95rem; flex: 1; }
.option dt { color: var(--muted); font-size: 0.8rem; margin-top: 0.5rem; }
.option dd { margin: 0; font-weight: 500; }
.options-note { color: var(--muted); font-size: 0.92rem; margin-top: 1rem; }

/* ---------- Pourquoi la Concorde ---------- */
.why { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .why { grid-template-columns: repeat(2, 1fr); } }
.why__item { border-left: 2px solid var(--gold); padding-left: 1.2rem; }
.why__item h3 { color: var(--white); font-size: 1.35rem; }
.why__item p { font-size: 1rem; margin: 0; }

/* ---------- Avis ---------- */
.reviews { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { background: var(--white); border: 1px solid var(--line); padding: 1.4rem; }
.review__stars { color: var(--gold); letter-spacing: 0.1em; font-size: 1.05rem; }
.review__text { font-size: 1rem; margin: 0.6rem 0 0.9rem; max-width: none; }
.review__who { font-size: 0.9rem; color: var(--muted); }
.review__who strong { color: var(--navy); }
.reviews-head { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: space-between; margin-bottom: 1.5rem; }
.gscore { display: inline-flex; align-items: center; gap: 0.6rem; background: var(--white); border: 1px solid var(--line); padding: 0.6rem 0.9rem; text-decoration: none; color: var(--ink); }
.gscore__n { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--navy); }
.gscore__stars { color: var(--gold); letter-spacing: 0.06em; }
.gscore__l { font-size: 0.82rem; color: var(--muted); }

/* ---------- Admission ---------- */
.admission { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .admission { grid-template-columns: repeat(3, 1fr); } }
.admission__box { background: var(--white); border: 1px solid var(--line); padding: 1.4rem; }
.admission__box h3 { font-size: 1.25rem; }
.admission__box ul { margin: 0; padding-left: 1.1em; font-size: 0.97rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { background: var(--white); border: 1px solid var(--line); margin-bottom: 0.6rem; }
.faq summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--gold); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.2rem 1.1rem; margin: 0; max-width: none; color: #33405a; }

/* ---------- CTA final ---------- */
.cta-final { background: linear-gradient(180deg, var(--navy), var(--navy-deep)); color: var(--white); }
.cta-final .wrap { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .cta-final .wrap { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.cta-final h2 { color: var(--white); }
.cta-final p { color: #d3dbe8; font-size: 1.15rem; }
.cta-final .contact-lines { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.cta-final .contact-lines li { margin-bottom: 0.5rem; }
.cta-final .contact-lines a { color: var(--gold-light); }

/* ---------- Catégories (accueil) ---------- */
.cats { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .cats { grid-template-columns: repeat(2, 1fr); } }
.cat { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--navy); padding: 1.6rem 1.6rem 1.4rem; }
.cat h3 { font-size: 1.55rem; margin-bottom: 0.2rem; }
.cat__tag { color: var(--muted); margin-bottom: 1rem; }
.cat ul { list-style: none; padding: 0; margin: 0; }
.cat li { margin: 0; border-top: 1px solid var(--line); }
.cat li a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.75rem 0; text-decoration: none; color: var(--ink); font-weight: 500; }
.cat li a:hover { color: var(--navy); }
.cat li a span { color: var(--muted); font-size: 0.88rem; white-space: nowrap; }
.cat li a::after { content: "›"; color: var(--gold); font-size: 1.4rem; line-height: 1; margin-left: auto; }

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 0.6rem 0.75rem; background: var(--white); border-top: 1px solid var(--line); display: flex; gap: 0.6rem; box-shadow: 0 -8px 24px -16px rgba(0,0,0,0.4); }
.sticky-cta .btn { flex: 1; padding: 0.85rem 0.6rem; }
@media (min-width: 960px) { .sticky-cta { display: none; } }
@media (max-width: 959px) { body { padding-bottom: 72px; } }

/* ---------- Pied de page ---------- */
.footer { background: var(--navy-deep); color: #aab6c9; font-size: 0.93rem; padding: 2.5rem 0 2rem; }
.footer .wrap { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer a { color: #d8e0ee; }
.footer h4 { color: var(--gold-light); font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; margin-bottom: 0.6rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 0.4rem; }
.footer__legal { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2rem; padding-top: 1.2rem; font-size: 0.82rem; }

/* ---------- Page merci ---------- */
.thanks { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.thanks .box { margin: 0 auto; background: var(--white); border: 1px solid var(--gold); outline: 1px solid var(--gold); outline-offset: 5px; padding: 3rem 2rem; max-width: 640px; }
.thanks p { margin-inline: auto; }
.thanks .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--success); color: white; display: grid; place-items: center; margin: 0 auto 1.2rem; font-size: 2rem; }

/* ---------- Utilitaires ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }

/* ==========================================================================
   v2 — entonnoir : héros image, formulaire en étapes, preuves, parcours
   ========================================================================== */
.hero--img { position: relative; isolation: isolate; }
.hero--img::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: var(--hero-img); background-size: cover; background-position: center;
  filter: saturate(0.85);
}
.hero--img::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(7,37,63,0.96) 0%, rgba(12,58,99,0.9) 55%, rgba(12,58,99,0.72) 100%);
}
@media (min-width: 960px) {
  .hero--img::after { background: linear-gradient(90deg, rgba(7,37,63,0.97) 0%, rgba(7,37,63,0.92) 45%, rgba(12,58,99,0.55) 100%); }
}
.hero__start { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 1.3rem; padding: 0.5rem 0.9rem; background: rgba(255,255,255,0.08); border: 1px solid rgba(230,210,154,0.35); border-radius: 999px; font-size: 0.92rem; color: #eef2f8; }
.hero__start .dot { width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,0.25); }
.hero__quote { margin: 1.6rem 0 0; padding-left: 1rem; border-left: 2px solid var(--gold); max-width: 48ch; }
.hero__quote p { font-family: var(--font-display); font-size: 1.2rem; font-style: italic; color: #f1f4f9; margin: 0 0 0.3rem; line-height: 1.35; }
.hero__quote footer { font-size: 0.85rem; color: var(--gold-light); }

/* Progression */
.progress { height: 5px; background: #e6e9ee; border-radius: 999px; overflow: hidden; margin: 0.2rem 0 0.35rem; }
.progress__bar { display: block; height: 100%; background: var(--gold); transition: width 0.35s ease; }
.progress__label { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--navy); font-weight: 600; margin-bottom: 1rem; }

/* Étapes */
.step { border: 0; padding: 0; margin: 0; display: none; }
.step.is-active { display: block; }
.step__q { font-weight: 600; color: var(--navy); margin: 0 0 0.6rem; font-size: 1.02rem; padding: 0; }
.step__nav { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; margin-top: 1rem; }
.step .btn--block { margin-top: 1rem; }

.choices { display: grid; gap: 0.6rem; grid-template-columns: 1fr; }
@media (min-width: 420px) { .choices { grid-template-columns: repeat(3, 1fr); } }
.choice { position: relative; display: flex; flex-direction: column; gap: 0.15rem; padding: 0.8rem 0.75rem; border: 1.5px solid #c9d1dc; border-radius: var(--radius); cursor: pointer; background: var(--white); transition: border-color 0.15s, background 0.15s; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice__t { font-weight: 600; color: var(--navy); font-size: 0.95rem; line-height: 1.2; }
.choice__d { font-size: 0.78rem; color: var(--muted); }
.choice:hover { border-color: var(--navy); }
.choice:has(input:checked) { border-color: var(--gold); background: var(--gold-pale); box-shadow: inset 0 0 0 1px var(--gold); }
.choice:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }

.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { display: inline-block; padding: 0.5rem 0.85rem; border: 1.5px solid #c9d1dc; border-radius: 999px; font-size: 0.92rem; font-weight: 500; color: var(--ink); background: var(--white); transition: all 0.15s; }
.pill:hover span { border-color: var(--navy); }
.pill:has(input:checked) span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pill:has(input:focus-visible) span { outline: 3px solid var(--gold); outline-offset: 2px; }
.pills.is-invalid .pill span, .choices.is-invalid .choice { border-color: var(--error); }

.fiche__proof { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; justify-content: center; margin-top: 1.1rem; padding-top: 0.9rem; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }
.fiche__proof a { color: var(--navy); font-weight: 600; }

/* Ce que vous obtenez */
.gets { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gets { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gets { grid-template-columns: repeat(4, 1fr); } }
.get { display: flex; flex-direction: column; gap: 0.3rem; padding: 1.2rem 1.2rem 1.2rem 1.4rem; border-left: 3px solid var(--gold); background: var(--paper); }
.get strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); line-height: 1.15; }
.get span { font-size: 0.95rem; color: var(--muted); }

/* Option la plus choisie */
.option { position: relative; }
.option--pop { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow-card); }
.option__badge { position: absolute; top: -12px; left: 1.2rem; background: var(--gold); color: var(--navy-deep); font-size: 0.78rem; font-weight: 700; padding: 0.25rem 0.7rem; border-radius: 999px; }
.option--pop .btn { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.option--pop .btn:hover { background: #a37f27; }

/* Parcours (séquence réelle → numérotation justifiée) */
.timeline { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 0; max-width: 760px; }
.timeline li { counter-increment: step; position: relative; padding: 0 0 1.5rem 3.4rem; display: grid; gap: 0.2rem; }
.timeline li::before { content: counter(step); position: absolute; left: 0; top: -0.1rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--navy); color: var(--gold-light); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; display: grid; place-items: center; }
.timeline li::after { content: ""; position: absolute; left: 1.05rem; top: 2.3rem; bottom: 0.3rem; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline strong { color: var(--navy); font-size: 1.05rem; }
.timeline span { color: var(--muted); }

/* Merci */
.next-steps { display: grid; gap: 0.9rem; text-align: left; margin: 1.5rem auto 0; max-width: 520px; }
.next-steps div { display: grid; gap: 0.15rem; padding: 0.9rem 1rem; background: var(--paper); border-left: 3px solid var(--gold); }
.next-steps strong { color: var(--navy); }
.next-steps span { font-size: 0.95rem; color: var(--muted); }

.pills--sm .pill span { padding: 0.35rem 0.7rem; font-size: 0.85rem; }

/* ---------- Fiche compacte (3 étapes courtes) ---------- */
.fiche--compact { padding: 1.4rem 1.3rem 1.1rem; }
.fiche--compact h2 { font-size: 1.45rem; margin-bottom: 0.6rem; padding-right: 80px; }
.fiche--compact .progress__label { margin-bottom: 0.7rem; }
.fiche--compact .form { gap: 0.6rem; }
.fiche--compact .form__row { gap: 0.6rem; }
.field--sm input, .field--sm select { padding: 0.62rem 0.75rem; font-size: 0.96rem; }
.q { display: grid; grid-template-columns: 22px 1fr; column-gap: 0.55rem; row-gap: 0.35rem; align-items: center; margin-bottom: 0.7rem; }
.q__n { width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: var(--gold-light); font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; display: grid; place-items: center; }
.q__t { font-weight: 600; color: var(--navy); font-size: 0.95rem; }
.q .pills { grid-column: 2; }
.pills--sm { gap: 0.35rem; }
.pills--sm .pill span { padding: 0.32rem 0.65rem; font-size: 0.84rem; }
.fiche--compact .step__nav { margin-top: 0.4rem; }
.fiche--compact .fiche__proof { margin-top: 0.8rem; padding-top: 0.7rem; font-size: 0.82rem; }
.fiche--compact .btn--block { margin-top: 0.2rem; }
.recap { background: var(--paper); border-left: 3px solid var(--gold); padding: 0.75rem 0.9rem; font-size: 0.9rem; display: grid; gap: 0.2rem; margin-bottom: 0.6rem; }
.recap div span { color: var(--muted); }
.recap strong { color: var(--navy); }
.fiche--compact .form__consent { font-size: 0.8rem; }

/* ---------- Choix compacts (objectif) + popup de confirmation ---------- */
.choices--sm { gap: 0.45rem; }
.choices--sm .choice { padding: 0.55rem 0.6rem; }
.choices--sm .choice__t { font-size: 0.88rem; }
.choices--sm .choice__d { font-size: 0.72rem; line-height: 1.25; }
.fiche--compact .step__q { font-size: 0.95rem; margin-bottom: 0.45rem; }
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(7,37,63,0.72); display: grid; place-items: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal__box { background: var(--white); border: 1px solid var(--gold); outline: 1px solid var(--gold); outline-offset: 5px; padding: 2.2rem 1.8rem 1.8rem; max-width: 480px; width: 100%; text-align: center; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5); }
.modal__box h3 { font-size: 1.7rem; margin-bottom: 0.6rem; }
.modal__box { color: var(--ink); } .modal__box p { margin-inline: auto; color: var(--ink); }
.modal__box .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--success); color: #fff; display: grid; place-items: center; margin: 0 auto 1rem; font-size: 1.7rem; }
body.modal-open { overflow: hidden; }
