/* PASS/L.AS En ligne — Médiconcours
   Charte : marine institutionnel + accent or, angles droits, filets 1px.
   Aucune dépendance CSS externe (hors Google Fonts). */

/* MCD-0005 : polices auto-hébergées — début. */

/* Archivo — graisses 400 (texte), 600 (libellés), 700 (boutons) — RG-11.
   Sous-ensembles latin + latin-ext (accents français, €, ·). */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/archivo-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/archivo-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./fonts/archivo-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./fonts/archivo-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/archivo-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/archivo-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Source Serif 4 — variable en graisse (400–600 utilisés — RG-11), sous-ensembles
   latin + latin-ext. Nom de famille imposé par le paquet Fontsource (« Variable »),
   repris ci-dessous dans --serif. */
@font-face {
  font-family: "Source Serif 4 Variable";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("./fonts/source-serif-4-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4 Variable";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("./fonts/source-serif-4-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* MCD-0005 : polices auto-hébergées — fin */

:root {
  --navy-900: #08192f;   /* footer */
  --navy-800: #0c2545;   /* fond de marque, titres */
  --navy-600: #123a63;   /* liens, kickers */
  --ink: #12203a;
  --ink-60: #33445f;
  --ink-45: #4a5c78;
  --ink-35: #5d6f8b;
  --gold: #c8952f;
  --gold-300: #e8b862;
  --gold-700: #8a6a1e;
  --line: #dde3ec;
  --line-strong: #cfd8e6;
  --band: #f4f6fa;
  --row-hover: #f6f8fb;
  --row-active: #f0f3f8;
  --paper: #ffffff;

  --wrap: 1180px;
  --gutter: 32px;
  --serif: "Source Serif 4 Variable", Georgia, serif;
  --sans: Archivo, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > main { flex: 1 0 auto; width: 100%; }
img { max-width: 100%; display: block; }
a { color: var(--navy-600); }
a:hover { color: #0a2440; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
sup { font-size: 0.62em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: 88px; }
.section--formules { padding-top: 44px; }
section[id] { scroll-margin-top: 81px; } /* hauteur de l'en-tête collant */

/* Boutons */
.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 15px 28px;
  white-space: nowrap;
  transition: background .16s;
}
a.btn--navy, .nav a.btn--navy { background: var(--navy-800); color: #fff; padding: 12px 22px; font-size: 13.5px; font-weight: 600; }
a.btn--navy:hover, .nav a.btn--navy:hover { background: var(--navy-600); color: #fff; }
a.btn--gold, .footer a.btn--gold, .sticky a.btn--gold { background: var(--gold); color: var(--navy-800); }
a.btn--gold:hover, .footer a.btn--gold:hover, .sticky a.btn--gold:hover { background: #dbaa46; color: var(--navy-800); }

/* Eyebrows / intertitres */
.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-700); margin-bottom: 12px;
}
.eyebrow--gold { color: var(--gold-300); }
.sechead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.sechead--rule { border-bottom: 1px solid var(--navy-800); padding-bottom: 20px; }
.sechead h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; max-width: 26ch; }
.sechead__note { font-size: 13.5px; color: var(--ink-35); max-width: 32ch; }
.finemint { margin-top: 18px; font-size: 12.5px; color: var(--ink-35); }

/* Barre de service */
.topbar { background: var(--navy-800); color: #c3d2e6; font-size: 12.5px; }
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 9px; padding-bottom: 9px; }
.topbar__tag { text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; font-size: 11px; }
.topbar__links { display: flex; gap: 22px; align-items: center; }
.topbar__links a { color: #c3d2e6; text-decoration: none; }
.topbar__space { color: var(--gold-300) !important; font-weight: 600; }
.topbar__space:hover { color: #f5d69c !important; }

/* En-tête */
.header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.header__inner { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy-800); }
.brand__rule { width: 3px; height: 38px; background: var(--gold); display: block; flex: none; }
.brand__name { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.15; }
.brand__sub { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-35); }
.brand__name--light { color: #fff; font-size: 20px; font-weight: 400; }
.brand__sub--light { color: #7d90ab; font-size: 10px; }
.nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { text-decoration: none; color: var(--ink-60); font-size: 13.5px; font-weight: 600; letter-spacing: 0.02em; }
.nav a:hover { color: var(--navy-800); }

/* Hero */
.hero { background: var(--navy-800); color: #eef2f8; border-bottom: 4px solid var(--gold); }
.hero__inner { padding-top: 44px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; }
.hero__text { flex: 1 1 480px; }
.hero h1 { font-size: clamp(32px, 3.9vw, 46px); line-height: 1.14; max-width: 26ch; text-wrap: balance; }
.hero__lede { margin-top: 16px; max-width: 56ch; font-size: 15.5px; color: #b9c8dd; text-wrap: pretty; }
.hero__stats { flex: 0 1 300px; border-left: 1px solid rgba(238, 242, 248, .22); padding-left: 24px; display: flex; flex-wrap: wrap; gap: 20px 32px; }
.stat__value { display: block; font-family: var(--serif); font-size: 26px; line-height: 1; color: #fff; }
.stat__label { display: block; font-size: 12.5px; color: #b9c8dd; margin-top: 4px; }

/* Formules — lignes sélectionnables */
.offers { list-style: none; }
.offer {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px;
  padding: 30px 26px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  transition: background .16s;
}
.offer::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--gold); opacity: 0; transition: opacity .16s;
}
.offer:hover { background: var(--row-hover); }
.offer:focus-visible { outline: 2px solid var(--navy-600); outline-offset: -2px; }
.offer[aria-checked="true"] { background: var(--row-active); }
.offer[aria-checked="true"]::before { opacity: 1; }
.offer__id { flex: 1 1 220px; min-width: 200px; }
.offer__kicker { font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy-600); margin-bottom: 9px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.offer__title { font-family: var(--serif); font-size: 26px; line-height: 1.2; letter-spacing: normal; }
.offer__title a { color: inherit; font: inherit; text-decoration: none; }
.offer__title a:focus-visible { outline: 2px solid var(--navy-600); outline-offset: -2px; }
.offer__meta { font-size: 13px; color: var(--ink-35); }
.offer__program { flex: 2 1 320px; font-size: 14px; color: var(--ink-60); line-height: 1.7; }
.offer__end { flex: 0 0 auto; display: flex; align-items: center; gap: 28px; }
.offer__price { font-family: var(--serif); font-size: 27px; white-space: nowrap; color: var(--navy-800); }
.offer__check {
  width: 22px; height: 22px; display: grid; place-items: center;
  border: 1.5px solid #b9c3d3; background: #fff;
  font-size: 11px; font-weight: 700; color: transparent; transition: all .16s;
}
.offer[aria-checked="true"] .offer__check { border-color: var(--navy-800); background: var(--navy-800); color: #fff; }
.badge {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #6b4f12; border: 1px solid #d9c288; background: #f7efdc; padding: 3px 8px;
}

/* Contenu pédagogique */
.pack { border-top: 4px solid var(--navy-800); padding-top: 34px; }
.pack__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 40px; }
.pack__grid article { background: var(--paper); padding: 30px 26px; }
.pack__num { font-family: var(--serif); font-size: 15px; color: var(--gold); margin-bottom: 14px; }
.pack__grid h3 { font-family: var(--sans); font-size: 15.5px; font-weight: 700; color: var(--navy-800); margin-bottom: 8px; }
.pack__grid p { font-size: 13.5px; color: var(--ink-45); text-wrap: pretty; }

/* Méthode */
.band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 88px; }
.methode { padding-top: 76px; padding-bottom: 76px; display: flex; flex-wrap: wrap; gap: 56px; }
.methode__intro { flex: 1 1 300px; }
.methode__intro h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; max-width: 20ch; }
.methode__intro > p:last-child { margin-top: 20px; max-width: 40ch; font-size: 15px; color: var(--ink-45); text-wrap: pretty; }
.steps { flex: 1 1 480px; list-style: none; }
.steps li { display: flex; gap: 26px; padding: 24px 0; border-top: 1px solid var(--line-strong); }
.steps li:last-child { border-bottom: 1px solid var(--line-strong); }
.steps__num { font-family: var(--serif); font-size: 14px; color: var(--gold-700); flex: 0 0 28px; padding-top: 2px; }
.steps h3 { font-family: var(--sans); font-size: 15.5px; font-weight: 700; color: var(--navy-800); margin-bottom: 5px; }
.steps p { font-size: 14px; color: var(--ink-45); text-wrap: pretty; }

/* FAQ */
.faq { display: flex; flex-wrap: wrap; gap: 56px; }
.faq__intro { flex: 0 1 300px; }
.faq__intro h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; }
.faq__intro > p:last-child { margin-top: 18px; font-size: 14px; color: var(--ink-45); }
.faq__list { flex: 1 1 540px; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; cursor: pointer; font-size: 15.5px; font-weight: 600; color: var(--navy-800);
}
.faq__list summary::-webkit-details-marker { display: none; }
.sign { font-size: 15px; color: var(--gold); transition: transform .2s; line-height: 1; }
details[open] .sign { transform: rotate(90deg); }
.faq__list details p { padding-bottom: 22px; font-size: 14.5px; color: var(--ink-45); max-width: 64ch; text-wrap: pretty; }

/* Rappel */
.cta {
  background: var(--navy-800); color: #eef2f8; border-bottom: 4px solid var(--gold);
  padding: clamp(34px, 4.6vw, 58px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
}
.cta h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.18; max-width: 24ch; }
.cta p { margin-top: 14px; font-size: 15px; color: #b9c8dd; max-width: 48ch; }

/* Pied de page */
.footer { margin-top: 88px; background: var(--navy-900); color: #9fb1c9; padding: 60px 0 30px; font-size: 14px; }
.footer__top { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; padding-bottom: 44px; }
.footer__brand { flex: 1 1 300px; max-width: 380px; }
.footer__brand p { margin-top: 16px; font-size: 13.5px; text-wrap: pretty; }
.footer__col { flex: 0 1 190px; display: flex; flex-direction: column; gap: 9px; }
.footer__col h2 { color: #fff; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 7px; }
.footer__col a, .footer__legal a { color: #9fb1c9; text-decoration: none; font-size: 13.5px; }
.footer__col a:hover, .footer__legal a:hover { color: #fff; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; color: #7d90ab; }
.footer__legal-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* Pages intérieures (pages légales, 404) */
.prose { overflow-wrap: break-word; }
.prose > * { max-width: 660px; } /* ~72 caractères de texte courant */
.prose h1 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.15; color: var(--navy-800); margin-bottom: 24px; }
.prose h2 { font-size: clamp(21px, 2.2vw, 25px); line-height: 1.25; color: var(--navy-800); margin: 40px 0 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.prose h3 { font-family: var(--sans); font-size: 15.5px; font-weight: 700; color: var(--navy-800); margin: 24px 0 8px; }
.prose p, .prose ul, .prose ol { font-size: 15px; color: var(--ink-60); margin-bottom: 14px; text-wrap: pretty; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose code { font-size: 0.9em; background: var(--band); border: 1px solid var(--line); padding: 0 4px; overflow-wrap: anywhere; }

/* Barre de validation */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--navy-800); border-top: 3px solid var(--gold);
  opacity: 0; transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease;
}
.sticky[data-visible] { opacity: 1; transform: none; }
.sticky[hidden] { display: none; }
.sticky__inner { padding-top: 14px; padding-bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.sticky__label { min-width: 0; }
.sticky__label .eyebrow { margin-bottom: 2px; font-size: 10px; letter-spacing: 0.16em; }
.sticky__name { color: #fff; font-family: var(--serif); font-size: 19px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky .btn { padding: 14px 28px; }

/* Adaptations */
@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .topbar__tag { display: none; }
  .header { position: static; }
  section[id] { scroll-margin-top: 0; }
  .header__inner { height: auto; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
  .nav { gap: 10px 18px; width: 100%; justify-content: flex-start; }
  .pack__grid { grid-template-columns: minmax(0, 1fr); }
  .offer { padding: 24px 18px; }
  .section { padding-top: 60px; }
  .band, .footer { margin-top: 60px; }
  .methode { padding-top: 56px; padding-bottom: 56px; gap: 32px; }
  .faq { gap: 28px; }
}
@media (max-width: 620px) {
  .offer__end { width: 100%; justify-content: space-between; }
  .hero__stats { border-left: 0; padding-left: 0; border-top: 1px solid rgba(238,242,248,.22); padding-top: 20px; }
  .sticky__inner { gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  .sticky__label { width: 100%; }
  .sticky .btn { width: 100%; text-align: center; padding: 13px 20px; }
  .cta .btn { width: 100%; text-align: center; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  html { scroll-behavior: auto; }
}
