/* Direction Suisse — feuille de style
   Identité : blanc, noir, rouge #da291c. Inter Tight (titres) + Inter (texte).
   Grille asymétrique à 12 colonnes, angles droits partout, aucun visuel décoratif. */

/* Polices hébergées ici : aucun appel à un serveur tiers */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../polices/inter-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: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../polices/inter-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+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: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../polices/inter-tight-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: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../polices/inter-tight-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+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --blanc: #ffffff;
  --noir: #0a0a0a;
  --rouge: #da291c;
  --gris: #5c5c5c;
  --gris-clair: #e6e6e6;
  --filet: 2px;
  --gouttiere: clamp(12px, 1.8vw, 24px);
  --marge: clamp(16px, 4vw, 56px);
  --titre: "Inter Tight", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --texte: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--blanc);
  color: var(--noir);
  font-family: var(--texte);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.55;
  /* Pas de « tnum » ici : dans Inter, les chiffres à largeur fixe élargissent aussi le trait d'union (« toi - même », mesuré 11,3 px
     au lieu de 8,0). Les chiffres qui doivent rester alignés le demandent eux-mêmes (font-variant-numeric: tabular-nums). */
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, ol, figure, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
a:hover { color: var(--rouge); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--rouge); outline-offset: 3px; }
::selection { background: var(--rouge); color: var(--blanc); }

.lien-evitement {
  position: absolute; left: var(--marge); top: -100px;
  background: var(--noir); color: var(--blanc); padding: 12px 16px; z-index: 50;
}
.lien-evitement:focus { top: 8px; color: var(--blanc); }

/* ---------- Grille ---------- */
.cadre { max-width: 1400px; margin-inline: auto; padding-inline: var(--marge); }
.grille { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gouttiere); }

/* ---------- En-tête ---------- */
.entete { border-bottom: var(--filet) solid var(--noir); }
.entete .cadre { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
/* Zones à toucher : 44 px de haut pour la marque et chaque lien, sur toutes les pages.
   La hauteur vient d'une boîte flexible, pas d'une marge : l'en-tête garde ses 68 px et les mots ne bougent pas. */
.marque { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; font-family: var(--titre); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; }
.marque:hover { color: var(--noir); }
.marque__signe { display: grid; place-items: center; width: 34px; height: 34px; background: var(--rouge); color: var(--blanc); font-size: 1.25rem; line-height: 1; font-weight: 600; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); font-size: 0.9375rem; font-weight: 500; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.nav a:hover { text-decoration: underline; }
/* « Me connecter » : encadré, pour qu'un abonné le distingue des ancres de la page. */
.nav__connexion { padding-inline: 14px; border: var(--filet) solid var(--noir); white-space: nowrap; }
.nav .nav__connexion:hover { background: var(--noir); color: var(--blanc); text-decoration: none; }
/* Téléphone : la place manque. On garde « Faire le test » et « Me connecter » ; une page qui pose .nav__ecran-large sur un lien
   le cache ici (l'accueil y cache « Faire le test » : le bouton rouge « Teste ton CV » est juste en dessous, dans le premier écran). */
@media (max-width: 640px) {
  .nav a:not(.nav__test):not(.nav__connexion) { display: none; }
  .nav .nav__ecran-large { display: none; }
}
/* Nav chargée (.nav--chargee, les cinq liens de l'accueil) : ils ne tiennent sur une ligne qu'à partir de 730 px (mesuré px par px :
   tmp/accueil/entete-largeurs.cjs). Entre 641 et 740 px, elle garde seulement « Faire le test » et « Me connecter » ; sinon
   « Direction Suisse » et « Faire le test » se coupaient en deux lignes. Les autres pages gardent leurs liens jusqu'à 640 px. */
@media (max-width: 740px) {
  .nav--chargee a:not(.nav__test):not(.nav__connexion) { display: none; }
}
/* Très petit téléphone (320 à 380 px) : la marque et « Me connecter » tiennent sur une ligne, sans rien cacher. Les cibles gardent 44 px. */
@media (max-width: 380px) {
  .entete .cadre { gap: 10px; }
  .marque { gap: 8px; font-size: 1rem; }
  .marque__signe { width: 30px; height: 30px; font-size: 1.125rem; }
  .nav { gap: 10px; font-size: 0.875rem; }
  .nav__connexion { padding-inline: 10px; }
}

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 56px; padding: 14px 26px;
  background: var(--noir); color: var(--blanc);
  border: var(--filet) solid var(--noir);
  font-family: var(--titre); font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em;
  text-decoration: none; text-align: left;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.bouton:hover { background: var(--rouge); border-color: var(--rouge); color: var(--blanc); }
.bouton--rouge { background: var(--rouge); border-color: var(--rouge); }
.bouton--rouge:hover { background: var(--noir); border-color: var(--noir); }
.bouton--clair { background: var(--blanc); color: var(--noir); }
.bouton--clair:hover { background: var(--noir); border-color: var(--noir); color: var(--blanc); }
.bouton[disabled] { background: var(--gris-clair); border-color: var(--gris-clair); color: var(--gris); cursor: not-allowed; }
.bouton__fleche { font-family: var(--texte); font-weight: 400; }
.lien-simple { font-weight: 500; }

/* ---------- Accroche ---------- */
.accroche { padding-block: clamp(36px, 4.6vw, 68px) clamp(48px, 7vw, 96px); }
.surtitre { grid-column: 1 / -1; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: clamp(18px, 2.2vw, 32px); display: flex; gap: 12px; align-items: center; }
.surtitre::before { content: ""; width: 28px; height: var(--filet); background: var(--rouge); flex: none; }
.accroche h1 {
  grid-column: 1 / -1;
  font-family: var(--titre); font-weight: 700;
  font-size: clamp(2.5rem, 1.3rem + 5.2vw, 6rem);
  line-height: 0.98; letter-spacing: -0.04em;
  text-wrap: balance;
  max-width: 19ch;
}
.accroche h1 em { font-style: normal; color: var(--rouge); display: block; } /* seconde phrase sur sa ligne : jamais un « À » rouge seul en bout de ligne */
.accroche__bas { grid-column: 1 / -1; margin-top: clamp(32px, 4vw, 60px); }
.accroche__chiffres { grid-column: 1 / span 4; background: var(--rouge); color: var(--blanc); padding: clamp(20px, 2.4vw, 32px); display: grid; align-content: space-between; gap: 28px; min-height: 240px; }
.accroche__chiffres ol { display: grid; gap: 10px; font-family: var(--titre); font-weight: 600; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.1; letter-spacing: -0.025em; }
.accroche__chiffres p { font-size: 0.875rem; line-height: 1.45; max-width: 30ch; }
.accroche__texte { grid-column: 6 / -1; display: grid; gap: 28px; align-content: start; }
.accroche__texte > p { font-size: clamp(1.125rem, 1rem + 0.7vw, 1.5rem); line-height: 1.4; letter-spacing: -0.012em; max-width: 34ch; }
.accroche__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.accroche__prix { font-size: 0.9375rem; color: var(--gris); }
@media (max-width: 860px) {
  .accroche__chiffres { grid-column: 1 / -1; order: 2; min-height: 0; margin-top: 36px; }
  .accroche__texte { grid-column: 1 / -1; order: 1; }
  /* Écran étroit : le bouton remonte juste sous le titre, avant le paragraphe. Il reste dans le premier écran,
     au-dessus du futur bandeau de cookies (295 px de haut à 390 px ; vérifié par outils/essai-consentement.cjs). */
  .accroche__actions { order: -1; }
}

/* ---------- Sections ---------- */
.section { border-top: var(--filet) solid var(--noir); padding-block: clamp(48px, 8vw, 120px); }
.section--noire { background: var(--noir); color: var(--blanc); border-top-color: var(--noir); }
.section--noire a:hover { color: var(--blanc); text-decoration-color: var(--rouge); }
.section__repere { grid-column: 1 / span 3; display: flex; flex-direction: column; gap: 6px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.section__numero { font-family: var(--titre); font-size: clamp(2.5rem, 2rem + 2.4vw, 4.5rem); font-weight: 700; letter-spacing: -0.04em; line-height: 0.9; color: var(--rouge); }
.section__corps { grid-column: 4 / -1; }
.section h2 { font-family: var(--titre); font-weight: 700; font-size: clamp(1.875rem, 1.2rem + 3vw, 4rem); line-height: 1; letter-spacing: -0.04em; text-wrap: balance; max-width: 18ch; }
.section h2 + p, .chapo { margin-top: clamp(20px, 2.4vw, 32px); font-size: clamp(1.0625rem, 1rem + 0.45vw, 1.3125rem); line-height: 1.45; max-width: 46ch; }
@media (max-width: 860px) {
  .section__repere { grid-column: 1 / -1; flex-direction: row; align-items: baseline; gap: 14px; margin-bottom: 24px; }
  .section__corps { grid-column: 1 / -1; }
}

/* ---------- Bloc « Permis B » ---------- */
.deux-sens { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: 1fr 1fr; border: var(--filet) solid var(--noir); }
.deux-sens > div { padding: clamp(18px, 2.4vw, 32px); display: grid; gap: 10px; align-content: start; }
.deux-sens > div + div { border-left: var(--filet) solid var(--noir); background: var(--noir); color: var(--blanc); }
.deux-sens__pays { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.deux-sens__mot { font-family: var(--titre); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); letter-spacing: -0.035em; line-height: 1; }
.deux-sens__sens { font-size: 1rem; line-height: 1.45; }
.correction { margin-top: var(--gouttiere); border: var(--filet) solid var(--rouge); padding: clamp(18px, 2.4vw, 32px); display: grid; gap: 8px; }
.correction__titre { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rouge); }
.correction__texte { font-family: var(--titre); font-weight: 600; font-size: clamp(1.25rem, 1rem + 1vw, 1.875rem); letter-spacing: -0.03em; line-height: 1.1; }
.source { margin-top: 18px; font-size: 0.875rem; color: var(--gris); max-width: 60ch; }
.section--noire .source { color: #b8b8b8; }
.section--noire .test .source { color: var(--gris); } /* la boîte du test est blanche, même dans une section noire */
@media (max-width: 560px) {
  .deux-sens { grid-template-columns: 1fr; }
  .deux-sens > div + div { border-left: 0; border-top: var(--filet) solid var(--noir); }
}

/* ---------- Le test ---------- */
.test { margin-top: clamp(32px, 4vw, 56px); border: var(--filet) solid var(--noir); background: var(--blanc); color: var(--noir); }
.test__tete { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px clamp(16px, 2.4vw, 32px); border-bottom: var(--filet) solid var(--noir); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.test__compteur b { font-family: var(--titre); font-size: 1.125rem; letter-spacing: -0.02em; }
.test__compteur, .resultat__nombre, .defaut__points { font-variant-numeric: tabular-nums; } /* « 01 / 12 » ne bouge pas d'une question à l'autre */
.test__barre { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; width: min(46%, 300px); }
.test__barre span { height: 8px; background: var(--gris-clair); }
.test__barre span.fait { background: var(--noir); }
.test__barre span.ici { background: var(--rouge); }
.test__corps { padding: clamp(20px, 3vw, 44px) clamp(16px, 2.4vw, 32px) clamp(16px, 2.4vw, 32px); }
.test__question { font-family: var(--titre); font-weight: 600; font-size: clamp(1.4rem, 1.05rem + 1.7vw, 2.5rem); line-height: 1.06; letter-spacing: -0.035em; max-width: 24ch; text-wrap: balance; }
.test__options { margin-top: clamp(20px, 2.6vw, 36px); display: grid; gap: 10px; }
.option { position: relative; display: block; }
.option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; appearance: none; } /* appearance: none — depuis Chrome 156, un bouton radio natif garde un rayon de 50 % que même !important n'efface ; invisible ici, mais la règle « aucun angle arrondi » le voyait */
.option span { display: flex; align-items: center; gap: 16px; min-height: 60px; padding: 14px 18px; border: var(--filet) solid var(--noir); font-weight: 500; font-size: 1.0625rem; line-height: 1.3; transition: background-color .12s ease, color .12s ease; }
.option span::before { content: attr(data-lettre); flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: var(--filet) solid currentColor; font-family: var(--titre); font-weight: 700; font-size: 0.875rem; }
.option:hover span { background: var(--noir); color: var(--blanc); }
.option input:checked + span { background: var(--rouge); border-color: var(--rouge); color: var(--blanc); }
.option input:focus-visible + span { outline: 3px solid var(--rouge); outline-offset: 3px; }
.test__pied { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(20px, 2.6vw, 36px); }
.test__retour { font-weight: 500; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; min-height: 44px; padding-inline: 4px; }
.test__retour.invisible { visibility: hidden; }
.test__retour:hover { color: var(--rouge); }
.test__note { padding: 14px clamp(16px, 2.4vw, 32px); border-top: var(--filet) solid var(--noir); font-size: 0.875rem; color: var(--gris); }

/* Résultat */
.resultat__haut { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-bottom: var(--filet) solid var(--noir); }
.resultat__score { background: var(--rouge); color: var(--blanc); padding: clamp(20px, 3vw, 44px) clamp(16px, 2.4vw, 32px); display: grid; align-content: space-between; gap: 24px; }
.resultat__score p:first-child { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.resultat__nombre { font-family: var(--titre); font-weight: 700; font-size: clamp(5rem, 3rem + 12vw, 12rem); line-height: 0.8; letter-spacing: -0.06em; }
.resultat__nombre small { font-size: 0.28em; letter-spacing: -0.02em; font-weight: 600; margin-left: 0.15em; }
.resultat__verdict { padding: clamp(20px, 3vw, 44px) clamp(16px, 2.4vw, 32px); display: grid; gap: 18px; align-content: center; }
.resultat__verdict h3 { font-family: var(--titre); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.625rem); line-height: 1.03; letter-spacing: -0.035em; text-wrap: balance; }
.resultat__defauts { padding: clamp(20px, 3vw, 44px) clamp(16px, 2.4vw, 32px); }
.resultat__defauts > h3 { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.defaut { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px 20px; padding-block: 24px; border-top: var(--filet) solid var(--noir); }
.defaut:first-of-type { border-top: 0; }
.defaut__points { font-family: var(--titre); font-weight: 700; font-size: 1.75rem; letter-spacing: -0.03em; color: var(--rouge); line-height: 1; }
.defaut__points small { display: block; font-family: var(--texte); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gris); margin-top: 6px; }
.defaut h4 { margin: 0; font-family: var(--titre); font-weight: 700; font-size: clamp(1.1875rem, 1rem + 0.8vw, 1.625rem); letter-spacing: -0.03em; line-height: 1.1; }
.defaut p { margin-top: 8px; max-width: 58ch; }
.defaut__correction { font-weight: 600; }
.defaut__correction::before { content: "→ "; color: var(--rouge); }
.defaut .source { margin-top: 8px; }
.resultat__suite { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: clamp(20px, 3vw, 36px) clamp(16px, 2.4vw, 32px); border-top: var(--filet) solid var(--noir); }
/* « Reçois ton résultat par mail » : un seul champ, après le résultat, jamais avant */
.resultat__mail { padding: clamp(20px, 3vw, 36px) clamp(16px, 2.4vw, 32px); border-top: var(--filet) solid var(--noir); background: var(--gris-clair, #f3f3f1); display: grid; gap: 14px; }
.resultat__mail h3 { font-family: var(--titre); font-weight: 700; font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem); letter-spacing: -0.03em; line-height: 1.1; }
.resultat__mail > p { max-width: 58ch; }
.resultat__mail .champ { max-width: 480px; }
.resultat__mail .champ label { display: block; font-family: var(--titre); font-weight: 700; margin-bottom: 8px; }
.resultat__mail .champ input { width: 100%; min-height: 56px; padding: 12px 16px; font: inherit; font-size: 1.0625rem; color: var(--noir); background: var(--blanc); border: var(--filet) solid var(--noir); border-radius: 0; appearance: none; }
.resultat__mail .champ input:focus-visible { outline: 3px solid var(--rouge); outline-offset: 3px; }
.resultat__mail .champ input[aria-invalid="true"] { border-color: var(--rouge); box-shadow: inset 4px 0 0 var(--rouge); }
.resultat__mail .champ__erreur { margin-top: 8px; font-weight: 600; color: var(--rouge); }
.resultat__mail .bouton[aria-disabled="true"] { opacity: .6; cursor: progress; }
.resultat__mail-etat { font-weight: 600; max-width: 58ch; }
.resultat__mail-etat:focus { outline: none; }
@media (max-width: 700px) {
  .resultat__haut { grid-template-columns: 1fr; }
  .defaut { grid-template-columns: 1fr; }
  .test__barre { width: 40%; }
}

/* ---------- Le service : liste numérotée ---------- */
.etapes { margin-top: clamp(32px, 4vw, 64px); border-top: var(--filet) solid currentColor; }
.etape { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--gouttiere); padding-block: clamp(22px, 2.8vw, 40px); border-bottom: var(--filet) solid currentColor; }
.etape__numero { grid-column: 1 / span 1; font-family: var(--titre); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; color: var(--rouge); padding-top: 0.2em; }
.etape h3 { grid-column: 2 / span 4; font-family: var(--titre); font-weight: 700; font-size: clamp(1.3125rem, 1.05rem + 1.1vw, 2rem); line-height: 1.06; letter-spacing: -0.033em; text-wrap: balance; }
.etape p { grid-column: 6 / -1; max-width: 44ch; }
@media (max-width: 860px) {
  .etape { grid-template-columns: 40px minmax(0, 1fr); }
  .etape__numero { grid-column: 1; }
  .etape h3 { grid-column: 2; }
  .etape p { grid-column: 2; margin-top: 10px; }
}

/* Sous les étapes : la relecture (bordure rouge, comme « La correction »), puis l'encart gratuit (inversé, noir). */
.relecture { margin-top: clamp(32px, 4vw, 56px); border: var(--filet) solid var(--rouge); padding: clamp(18px, 2.4vw, 32px); display: grid; gap: 10px; }
.relecture__surtitre, .gratuit__surtitre { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.relecture__surtitre { color: var(--rouge); }
.relecture__titre { font-family: var(--titre); font-weight: 700; font-size: clamp(1.375rem, 1.05rem + 1.3vw, 2.25rem); letter-spacing: -0.035em; line-height: 1.05; text-wrap: balance; }
.relecture p:last-child { max-width: 58ch; }
.gratuit { margin-top: var(--gouttiere); background: var(--noir); color: var(--blanc); padding: clamp(22px, 3vw, 44px) clamp(18px, 2.6vw, 36px); display: grid; gap: 16px; justify-items: start; }
.gratuit__surtitre { display: flex; gap: 12px; align-items: center; } /* le rouge sur noir est trop pâle pour un petit texte : trait rouge, texte blanc */
.gratuit__surtitre::before { content: ""; width: 28px; height: var(--filet); background: var(--rouge); flex: none; }
.gratuit h3 { font-family: var(--titre); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); letter-spacing: -0.035em; line-height: 1.04; max-width: 22ch; text-wrap: balance; }
.gratuit p:not(.gratuit__surtitre) { color: #c9c9c9; max-width: 56ch; }
.gratuit .bouton { margin-top: 8px; }
.gratuit .bouton--clair:hover { background: var(--rouge); border-color: var(--rouge); color: var(--blanc); } /* le survol noir par défaut disparaîtrait sur ce fond */

/* ---------- Règles ---------- */
.regles { margin-top: clamp(32px, 4vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: var(--gouttiere); }
.regle { border: var(--filet) solid currentColor; padding: clamp(18px, 2.4vw, 32px); display: grid; gap: 12px; align-content: start; }
.regle h3 { font-family: var(--titre); font-weight: 700; font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem); letter-spacing: -0.03em; line-height: 1.08; }
.regle p { color: #c9c9c9; font-size: 1rem; }
@media (max-width: 700px) { .regles { grid-template-columns: 1fr; } }

/* ---------- Prix ---------- */
.prix { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); border: var(--filet) solid var(--noir); }
.prix__montant { padding: clamp(20px, 3vw, 44px) clamp(16px, 2.4vw, 32px); display: grid; gap: 20px; align-content: space-between; }
.prix__chiffre { font-family: var(--titre); font-weight: 700; font-size: clamp(4.5rem, 3rem + 9vw, 10rem); line-height: 0.82; letter-spacing: -0.06em; }
.prix__chiffre small { font-size: 0.2em; letter-spacing: -0.01em; font-weight: 600; margin-left: 0.3em; }
.prix__liste { border-left: var(--filet) solid var(--noir); display: grid; }
.prix__liste li { padding: 18px clamp(16px, 2.4vw, 28px); border-bottom: var(--filet) solid var(--noir); font-weight: 500; display: flex; gap: 12px; }
.prix__liste li:last-child { border-bottom: 0; }
.prix__liste li::before { content: "→"; color: var(--rouge); flex: none; }
@media (max-width: 760px) {
  .prix { grid-template-columns: 1fr; }
  .prix__liste { border-left: 0; border-top: var(--filet) solid var(--noir); }
}

/* ---------- Questions ---------- */
.questions { margin-top: clamp(32px, 4vw, 56px); border-top: var(--filet) solid var(--noir); }
.questions details { border-bottom: var(--filet) solid var(--noir); }
.questions summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 22px; font-family: var(--titre); font-weight: 600; font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem); letter-spacing: -0.025em; line-height: 1.15; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; flex: none; font-family: var(--texte); font-weight: 400; font-size: 1.75rem; line-height: 1; color: var(--rouge); }
.questions details[open] summary::after { content: "–"; }
.questions details p { padding-bottom: 24px; max-width: 56ch; }
.questions details p:not(:last-child) { padding-bottom: 12px; } /* deux paragraphes dans une réponse : plus serrés entre eux qu'avec la question suivante */

/* ---------- Pied de page ---------- */
.pied { background: var(--noir); color: var(--blanc); padding-block: clamp(40px, 6vw, 80px) 32px; }
.pied a:hover { color: var(--blanc); text-decoration-color: var(--rouge); }
.pied__avis { grid-column: 1 / span 7; font-family: var(--titre); font-weight: 600; font-size: clamp(1.125rem, 1rem + 0.7vw, 1.625rem); line-height: 1.2; letter-spacing: -0.025em; max-width: 34ch; text-wrap: pretty; }
/* Chaque lien fait 44 px de haut ; l'écart entre deux liens vient de là, plus d'un « gap ». Largeur : celle du mot (justify-items). */
.pied__liens { grid-column: 9 / -1; display: grid; gap: 0; align-content: start; justify-items: start; font-weight: 500; }
.pied__liens a { display: flex; align-items: center; min-height: 44px; }
.pied__liens a[aria-current="page"] { text-decoration-color: var(--rouge); }
.pied__editeur { grid-column: 1 / -1; margin-top: clamp(36px, 5vw, 72px); padding-top: 20px; border-top: 1px solid #3a3a3a; font-size: 0.875rem; color: #b8b8b8; line-height: 1.6; }
@media (max-width: 760px) {
  .pied__avis { grid-column: 1 / -1; }
  .pied__liens { grid-column: 1 / -1; margin-top: 32px; }
}

.sans-js { border: var(--filet) solid var(--rouge); padding: 20px; margin-top: 32px; font-weight: 500; }
[hidden] { display: none !important; }
.insecable { white-space: nowrap; } /* mot composé jamais coupé au trait d'union (« Dis-le-nous », « toi-même ») */

/* ---------- Pages à formulaire (abonnement, connexion) ---------- */
.section--premiere { border-top: 0; }
.titre-page { font-family: var(--titre); font-weight: 800; font-size: clamp(2.5rem, 7vw, 5.5rem); line-height: 0.98; letter-spacing: -0.035em; margin: 0 0 24px; }
.chapeau { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.5; max-width: 46ch; margin: 0 0 40px; }
.lecteur-seul { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.formulaire { max-width: 640px; display: grid; gap: 32px; }
.champ label { display: block; font-family: var(--titre); font-weight: 700; margin-bottom: 8px; }
.champ input { width: 100%; min-height: 56px; padding: 12px 16px; font: inherit; font-size: 1.0625rem; color: var(--noir); background: var(--blanc); border: var(--filet) solid var(--noir); border-radius: 0; appearance: none; }
.champ input:focus-visible { outline: 3px solid var(--rouge); outline-offset: 3px; }
.champ input[aria-invalid="true"] { border-color: var(--rouge); }
.champ__aide { margin: 8px 0 0; font-size: 0.875rem; color: var(--gris); }
.champ__erreur { margin: 10px 0 0; padding-left: 12px; border-left: 4px solid var(--rouge); font-weight: 500; }
.cases { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; }
.case { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; min-height: 44px; cursor: pointer; line-height: 1.45; }
.case input { width: 28px; height: 28px; margin: 0; appearance: none; background: var(--blanc); border: var(--filet) solid var(--noir); border-radius: 0; cursor: pointer; display: grid; place-items: center; }
.case input:checked { background: var(--rouge); border-color: var(--rouge); }
.case input:checked::after { content: ""; width: 7px; height: 13px; border: solid var(--blanc); border-width: 0 3px 3px 0; transform: translateY(-2px) rotate(45deg); }
.case input:focus-visible { outline: 3px solid var(--rouge); outline-offset: 3px; }
.formulaire__action .bouton { cursor: pointer; }
.formulaire__action .bouton[disabled] { cursor: progress; }
/* Zones à toucher de l'en-tête et du pied : la règle est maintenant commune à toutes les pages (plus haut, « En-tête » et « Pied de page »).
   Les copies limitées à une classe de <body> (.page-formulaire ici, .page-recherches, .page-guide ailleurs) disent la même chose : sans effet, sans conflit. */
