/* ==========================================================================
   Hors Bureau — feuille de style unique
   Mise en page : mobile d'abord, une colonne ; grilles à 2 ou 3 colonnes
   à partir de 900 px. Fond « papier », texte « encre » bleu nuit,
   surligneur jaune pour les mots-clés, tampon bleu pour les dates
   de vérification, stylo rouge pour les points de vigilance.
   ========================================================================== */

/* --- Polices hébergées sur le site (aucune requête vers un service tiers) --- */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-wght.woff2") format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-next-wght.woff2") format("woff2");
}

/* --- Jetons : mêmes noms que dans le design system Hors Bureau --- */
:root {
  --papier: #F7F5EF;
  --papier-2: #EFEBE0;
  --blanc: #FFFFFF;
  --bleu-pale: #E7ECF6;
  --encre: #18213A;
  --encre-profonde: #0F1629;
  --encre-douce: #4A5368;
  --encre-claire: #B9C0D4;
  --trait: #DFD9CC;
  --trait-fort: #7A7F92;
  --trait-survol: #CBC4B4;
  --marge: #E8A39B;
  --encre-trait: #2C3757;
  --surligneur: #FFE14D;
  --surligneur-pale: #FFF4BF;
  --tampon: #2F4EBE;
  --tampon-pale: #E4E9FB;
  --stylo-rouge: #B83226;
  --stylo-rouge-pale: #FBE6E2;
  --stylo-rouge-clair: #FFB4A8;
  --vert: #1D6B41;
  --vert-pale: #DCF0E2;
  --ambre: #855600;
  --ambre-pale: #FBEFCF;

  --font-titres: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-texte: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --espace-1: 4px;
  --espace-2: 8px;
  --espace-3: 12px;
  --espace-4: 16px;
  --espace-5: 24px;
  --espace-6: 32px;
  --espace-7: 48px;
  --espace-8: 64px;
  --espace-9: 96px;

  --rayon-xs: 6px;
  --rayon-sm: 10px;
  --rayon-md: 14px;
  --rayon-lg: 20px;
  --rayon-xl: 28px;
  --rayon-pilule: 999px;

  --ombre-carte: 0 1px 2px #18213a0f, 0 10px 24px -14px #18213a33;
  --ombre-survol: 0 2px 4px #18213a14, 0 18px 36px -16px #18213a47;
  --ombre-flottante: 0 24px 48px -20px #18213a59, 0 4px 10px #18213a14;

  --anneau: var(--tampon);
  --largeur-max: 1180px;
  --gouttiere: 16px;
  color-scheme: light;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
:root {
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--font-texte);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
}
/* bande sous la barre d'état des téléphones */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 40;
  background: var(--papier);
}
img, svg, video { max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-titres);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
p, li, dd { text-wrap: pretty; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}
a:hover { text-decoration-color: var(--tampon); }

:focus-visible {
  outline: 3px solid var(--anneau);
  outline-offset: 3px;
  border-radius: var(--rayon-xs);
}
::selection { background: var(--surligneur); color: var(--encre); }

strong, b { font-weight: 700; }
small { font-size: 0.875em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ==========================================================================
   Mise en page
   ========================================================================== */
.conteneur {
  width: 100%;
  max-width: calc(var(--largeur-max) + 2 * var(--gouttiere));
  margin-inline: auto;
  padding-left: max(var(--gouttiere), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gouttiere), env(safe-area-inset-right, 0px));
}
.conteneur--etroit { max-width: calc(780px + 2 * var(--gouttiere)); }
@media (min-width: 720px) {
  :root { --gouttiere: 32px; }
}

.section { padding-block: clamp(56px, 7vw, 104px); }
.section--serree { padding-block: clamp(40px, 5vw, 64px); }
.section--bleu { background: var(--bleu-pale); }
.section--papier-2 { background: var(--papier-2); }
.section--trait-haut { border-top: 1px solid var(--trait); }

.bande-encre {
  --anneau: var(--surligneur);
  background: var(--encre);
  color: var(--papier);
}
.bande-surligneur {
  --anneau: var(--encre);
  background: var(--surligneur);
  color: var(--encre);
  overflow-x: clip;
}

.pile > * + * { margin-top: var(--espace-4); }
.pile--l > * + * { margin-top: var(--espace-5); }

.entete-section {
  display: grid;
  gap: var(--espace-3);
  max-width: 720px;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.entete-section--centre { margin-inline: auto; text-align: center; justify-items: center; }
.entete-section--ligne {
  max-width: none;
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 900px) {
  .entete-section--ligne { grid-template-columns: minmax(0, 1fr) auto; }
}

/* lien d'évitement */
.lien-evitement {
  position: absolute;
  left: max(var(--gouttiere), env(safe-area-inset-left, 0px));
  top: -100px;
  z-index: 60;
  padding: var(--espace-2) var(--espace-4);
  border-radius: var(--rayon-pilule);
  background: var(--encre);
  color: var(--papier);
  font-weight: 700;
  text-decoration: none;
}
.lien-evitement:focus { top: calc(env(safe-area-inset-top, 0px) + 8px); }

/* ==========================================================================
   Typographie (styles nommés comme dans le design system)
   ========================================================================== */
.display-xl, .hero__titre {
  font-size: clamp(2.55rem, 1.45rem + 4.7vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.display, .titre-page {
  font-size: clamp(2.25rem, 1.55rem + 3vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.032em;
  font-weight: 800;
}
.titre-2 {
  font-size: clamp(1.8rem, 1.3rem + 2.1vw, 2.75rem);
  line-height: 1.07;
  letter-spacing: -0.028em;
  font-weight: 800;
}
.titre-3 {
  font-size: clamp(1.25rem, 1.12rem + 0.55vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 700;
}
.titre-4 {
  font-family: var(--font-titres);
  font-size: 1.0625rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.chapeau, .corps-lg {
  font-size: clamp(1.125rem, 1.04rem + 0.38vw, 1.3125rem);
  line-height: 1.55;
  color: var(--encre-douce);
}
.bande-encre .chapeau { color: var(--encre-claire); }
.bande-surligneur .chapeau { color: var(--encre); }
.petit { font-size: 0.9375rem; line-height: 1.55; }
.micro { font-size: 0.8125rem; line-height: 1.45; }
.discret { color: var(--encre-douce); }
.bande-encre .discret { color: var(--encre-claire); }

.etiquette {
  font-family: var(--font-titres);
  font-size: 0.8125rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--encre-douce);
}
.bande-encre .etiquette { color: var(--encre-claire); }

/* ==========================================================================
   COMPOSANTS (repris tels quels dans le design system : components/bundle.css)
   ========================================================================== */
/* @composants-debut */

/* --- Accessibilité --- */
.hb-visuellement-cache {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --- Icônes : SVG au trait, 24 × 24, couleur héritée --- */
.hb-icone {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.22em;
}

/* --- Boutons --- */
.hb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: var(--rayon-pilule);
  font-family: var(--font-titres);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.hb-btn .hb-icone { width: 18px; height: 18px; transition: transform 0.15s ease; }
.hb-btn:hover .hb-icone--fleche { transform: translateX(3px); }
.hb-btn--primaire { background: var(--encre); color: var(--papier); }
.hb-btn--primaire:hover { background: var(--encre-profonde); transform: translateY(-1px); box-shadow: 0 8px 18px -10px #18213a99; }
.hb-btn--secondaire { background: transparent; color: var(--encre); border-color: var(--encre); }
.hb-btn--secondaire:hover { background: var(--blanc); }
.hb-btn--surligneur { background: var(--surligneur); color: var(--encre); }
.hb-btn--surligneur:hover { background: var(--surligneur-pale); transform: translateY(-1px); }
.hb-btn--petit { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; }
.hb-btn--large { width: 100%; }
.hb-btn:active { transform: translateY(0); }
.hb-btn[aria-busy="true"] { opacity: 0.75; cursor: progress; }

.hb-lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-titres);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--surligneur);
  padding-bottom: 2px;
}
.hb-lien-fleche .hb-icone { width: 18px; height: 18px; transition: transform 0.15s ease; }
.hb-lien-fleche:hover .hb-icone { transform: translateX(3px); }
.hb-lien-fleche:hover { border-bottom-color: var(--encre); }

/* --- Puces de statut et étiquettes --- */
.hb-puce {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 3px 11px 3px 9px;
  border: 1px solid transparent;
  border-radius: var(--rayon-pilule);
  font-family: var(--font-texte);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.hb-puce .hb-icone { width: 15px; height: 15px; stroke-width: 2; }
/* icône automatique des statuts : le texte suffit dans le HTML */
.hb-puce--oui::before, .hb-puce--conditions::before, .hb-puce--non::before, .hb-puce--parrainage::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--hb-puce-icone) center / contain no-repeat;
  mask: var(--hb-puce-icone) center / contain no-repeat;
}
.hb-puce--oui { --hb-puce-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.hb-puce--conditions { --hb-puce-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 4.2 2.9 17.6a2 2 0 0 0 1.7 3h14.8a2 2 0 0 0 1.7-3L13.7 4.2a2 2 0 0 0-3.4 0Z'/%3E%3Cpath d='M12 9.5V14'/%3E%3Cpath d='M12 17.2h.01'/%3E%3C/svg%3E"); }
.hb-puce--non { --hb-puce-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 6.5 11 11M17.5 6.5l-11 11'/%3E%3C/svg%3E"); }
.hb-puce--parrainage { --hb-puce-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5.5'/%3E%3Cpath d='M12 7.7h.01'/%3E%3C/svg%3E"); }
.hb-puce--oui { background: var(--vert-pale); color: var(--vert); }
.hb-puce--conditions { background: var(--ambre-pale); color: var(--ambre); }
.hb-puce--non { background: var(--stylo-rouge-pale); color: var(--stylo-rouge); }
.hb-puce--type { background: var(--tampon-pale); color: var(--tampon); }
.hb-puce--neutre { background: var(--papier-2); color: var(--encre-douce); }
.hb-puce--a-completer { background: transparent; color: var(--encre-douce); border: 1px dashed var(--trait-fort); }
.hb-puce--parrainage { background: var(--surligneur); color: var(--encre); }
.hb-puce--blanc { background: var(--blanc); color: var(--encre); border-color: var(--trait); }

/* --- Surligneur : un trait de stabilo derrière quelques mots, jamais une phrase entière --- */
.hb-surligne {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}
.hb-surligne::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.08em;
  right: -0.1em;
  top: 0.12em;
  bottom: 0.02em;
  background: var(--surligneur);
  border-radius: 0.12em 0.3em 0.18em 0.34em;
  transform: rotate(-1.2deg) skewX(-6deg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M4 7C40 3 120 6 197 2l1 11-2 9 3 15C140 39 70 36 3 38l-2-12 3-8Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M4 7C40 3 120 6 197 2l1 11-2 9 3 15C140 39 70 36 3 38l-2-12 3-8Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.hb-souligne-rouge {
  text-decoration: underline wavy var(--stylo-rouge);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.25em;
}
.hb-barre-rouge {
  text-decoration: line-through;
  text-decoration-color: var(--stylo-rouge);
  text-decoration-thickness: 0.11em;
}

/* --- Tampon de vérification --- */
.hb-tampon {
  display: inline-grid;
  justify-items: center;
  gap: 2px;
  padding: 9px 15px 8px;
  border: 2px solid currentColor;
  outline: 1.5px solid currentColor;
  outline-offset: -6px;
  border-radius: var(--rayon-sm);
  color: var(--tampon);
  font-family: var(--font-titres);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  transform: rotate(-5deg);
  background: transparent;
}
.hb-tampon__date {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  text-transform: none;
}
.hb-tampon--droit { transform: none; }
.hb-tampon--a-reverifier { color: var(--stylo-rouge); }
.hb-tampon--vide { color: var(--encre-douce); border-style: dashed; outline-style: dashed; }

/* --- Champ « à compléter » : la place réservée à une information pas encore vérifiée --- */
.hb-a-completer {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  padding: 2px 10px;
  border: 1px dashed var(--trait-fort);
  border-radius: var(--rayon-xs);
  background: repeating-linear-gradient(-45deg, transparent 0 6px, #18213a08 6px 7px);
  color: var(--encre-douce);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.5;
}
.hb-a-completer small { font-weight: 400; font-size: 0.8125rem; }
.hb-a-completer--bloc { display: flex; padding: 12px 14px; }

/* --- Encadrés --- */
.hb-encadre {
  padding: 20px 22px;
  border-radius: var(--rayon-lg);
  background: var(--tampon-pale);
  color: var(--encre);
}
.hb-encadre__titre {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-family: var(--font-titres);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--tampon);
}
.hb-encadre__titre .hb-icone { width: 22px; height: 22px; }
.hb-encadre ul { padding-left: 1.2em; }
.hb-encadre li + li { margin-top: 6px; }
.hb-encadre--vigilance { background: var(--stylo-rouge-pale); }
.hb-encadre--vigilance .hb-encadre__titre { color: var(--stylo-rouge); }
.hb-encadre--vigilance .hb-encadre__titre span {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 8' preserveAspectRatio='none'%3E%3Cpath d='M2 5C30 2 60 6 118 3' fill='none' stroke='%23B83226' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 100% 7px no-repeat;
  padding-bottom: 6px;
}
.hb-encadre--parrainage { background: var(--surligneur-pale); }
.hb-encadre--parrainage .hb-encadre__titre { color: var(--encre); }
.hb-encadre--neutre { background: var(--papier-2); }
.hb-encadre--neutre .hb-encadre__titre { color: var(--encre); }

/* --- Carte de fiche plateforme --- */
.hb-carte-fiche {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  padding: 22px 22px 18px;
  border: 1px solid var(--trait);
  border-radius: var(--rayon-lg);
  background: var(--blanc);
  box-shadow: var(--ombre-carte);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.hb-carte-fiche:hover { transform: translateY(-3px); box-shadow: var(--ombre-survol); border-color: var(--trait-survol); }
.hb-carte-fiche__haut {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.hb-carte-fiche__nom {
  font-size: 1.625rem;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.hb-carte-fiche__nom a { text-decoration: none; }
.hb-carte-fiche__nom a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.hb-carte-fiche__nom a:focus-visible { outline: none; }
.hb-carte-fiche:has(a:focus-visible) { outline: 3px solid var(--anneau); outline-offset: 3px; }
.hb-carte-fiche__resume { color: var(--encre-douce); font-size: 0.9375rem; line-height: 1.5; }
.hb-carte-fiche__puces { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.hb-carte-fiche__bas {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--bleu-pale);
  font-size: 0.875rem;
  color: var(--encre-douce);
}
.hb-carte-fiche__verif { display: inline-flex; align-items: center; gap: 6px; }
.hb-carte-fiche__verif .hb-icone { width: 16px; height: 16px; color: var(--tampon); }
.hb-carte-fiche__fleche {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--encre);
  color: var(--papier);
  transition: transform 0.18s ease, background-color 0.18s ease;
}
.hb-carte-fiche__fleche .hb-icone { width: 18px; height: 18px; }
.hb-carte-fiche:hover .hb-carte-fiche__fleche { transform: translateX(3px); background: var(--tampon); }
.hb-carte-fiche.est-a-reverifier .hb-carte-fiche__verif { color: var(--stylo-rouge); }
.hb-carte-fiche.est-a-reverifier .hb-carte-fiche__verif .hb-icone { color: var(--stylo-rouge); }

/* --- Formulaire d'inscription (guide + newsletter) --- */
.hb-formulaire { display: grid; gap: 12px; max-width: 560px; }
.hb-formulaire__label {
  font-family: var(--font-titres);
  font-size: 0.9375rem;
  font-weight: 700;
}
.hb-formulaire__ligne {
  display: grid;
  gap: 10px;
}
.hb-champ {
  width: 100%;
  min-height: 54px;
  padding: 0 22px;
  border: 1.5px solid var(--trait-fort);
  border-radius: var(--rayon-pilule);
  background: var(--blanc);
  color: var(--encre);
  font: inherit;
  font-size: 1.0625rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.hb-champ::placeholder { color: var(--trait-fort); opacity: 1; }
.hb-champ:hover { border-color: var(--encre-douce); }
.hb-champ:focus-visible { outline: none; border-color: var(--anneau); box-shadow: 0 0 0 3px var(--anneau); }
.hb-champ[aria-invalid="true"] { border-color: var(--stylo-rouge); }
/* Champ mot de passe avec bouton « œil » */
.champ-mdp { position: relative; display: block; }
.champ-mdp .hb-champ { padding-right: 58px; }
.champ-mdp__bouton {
  position: absolute;
  top: 50%;
  right: 6px;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--rayon-pilule);
  background: transparent;
  color: var(--encre-douce);
  cursor: pointer;
  transform: translateY(-50%);
}
.champ-mdp__bouton:hover { background: var(--papier); color: var(--encre); }
.champ-mdp__bouton .hb-icone { width: 22px; height: 22px; }
.hb-formulaire .hb-btn { min-height: 54px; }
@media (min-width: 560px) {
  .hb-formulaire__ligne {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0;
  }
  .hb-formulaire__ligne .hb-champ { padding-right: 230px; }
  .hb-formulaire__ligne .hb-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    bottom: 5px;
    min-height: 0;
  }
}
.hb-case {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--encre-douce);
  cursor: pointer;
}
.hb-case input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--encre);
  cursor: pointer;
}
.hb-case a { color: inherit; }
.hb-case[data-erreur="true"] { color: var(--stylo-rouge); }
.hb-formulaire__message {
  display: none;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--rayon-md);
  font-size: 0.9375rem;
  line-height: 1.45;
}
.hb-formulaire__message.est-visible { display: flex; }
.hb-formulaire__message .hb-icone { width: 20px; height: 20px; margin-top: 1px; }
.hb-formulaire__message--erreur { background: var(--stylo-rouge-pale); color: var(--stylo-rouge); }
.hb-formulaire__message--succes { background: var(--vert-pale); color: var(--vert); }
.hb-formulaire__rassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--encre-douce);
}
.hb-formulaire__rassurance li { display: inline-flex; align-items: center; gap: 6px; }
.hb-formulaire__rassurance .hb-icone { width: 16px; height: 16px; color: var(--vert); stroke-width: 2.2; }
.hb-pot-de-miel { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
/* variante sur fond encre */
.bande-encre .hb-champ { border-color: var(--blanc); }
.bande-encre .hb-case, .bande-encre .hb-formulaire__rassurance { color: var(--encre-claire); }
.bande-encre .hb-formulaire__rassurance .hb-icone { color: var(--surligneur); }
.bande-encre .hb-case input { accent-color: var(--surligneur); }
.bande-encre .hb-case[data-erreur="true"] { color: var(--stylo-rouge-clair); }
/* variante sur fond surligneur */
.bande-surligneur .hb-champ { border-color: var(--encre); }
.bande-surligneur .hb-case, .bande-surligneur .hb-formulaire__rassurance { color: var(--encre); }
.bande-surligneur .hb-formulaire__rassurance .hb-icone { color: var(--encre); }

/* --- Questions fréquentes --- */
.hb-faq { border-top: 1px solid var(--trait); }
.hb-faq details { border-bottom: 1px solid var(--trait); }
.hb-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 2px;
  font-family: var(--font-titres);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.hb-faq summary::-webkit-details-marker { display: none; }
.hb-faq summary .hb-icone {
  width: 22px;
  height: 22px;
  padding: 7px;
  box-sizing: content-box;
  border-radius: 50%;
  background: var(--blanc);
  border: 1px solid var(--trait);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.hb-faq details[open] summary .hb-icone { transform: rotate(45deg); background: var(--surligneur); border-color: var(--surligneur); }
.hb-faq__reponse { padding: 0 2px 22px; color: var(--encre-douce); max-width: 66ch; }
.hb-faq__reponse > * + * { margin-top: 10px; }

/* --- Fil d'Ariane --- */
.hb-ariane ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--encre-douce);
}
.hb-ariane li { display: inline-flex; align-items: center; gap: 8px; }
.hb-ariane li + li::before { content: "/"; color: var(--trait-fort); }
.hb-ariane a { text-decoration: none; }
.hb-ariane a:hover { text-decoration: underline; }
.hb-ariane [aria-current] { color: var(--encre); font-weight: 700; }
/* sur téléphone, le titre de la page (déjà affiché juste dessous) sort du fil d’Ariane */
@media (max-width: 640px) { .hb-ariane li:nth-child(n+3):last-child { display: none; } }

/* --- Filtre (bouton à bascule avec compteur) --- */
.hb-filtre {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 8px 0 14px;
  border: 1.5px solid var(--trait);
  border-radius: var(--rayon-pilule);
  background: var(--papier);
  color: var(--encre);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.hb-filtre:hover { border-color: var(--encre-douce); }
.hb-filtre__nb {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--rayon-pilule);
  background: var(--blanc);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}
.hb-filtre[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: var(--papier); }
.hb-filtre[aria-pressed="true"] .hb-filtre__nb { background: var(--surligneur); color: var(--encre); }
.hb-filtre:disabled { opacity: 0.5; cursor: not-allowed; }

/* @composants-fin */

/* ==========================================================================
   En-tête du site
   ========================================================================== */
.entete {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: var(--papier);
  background: color-mix(in srgb, var(--papier) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.entete.est-defile { border-bottom-color: var(--trait); }
.entete__interieur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-titres);
  font-size: 1.3125rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.logo svg { width: 36px; height: 36px; flex: none; }
.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: 4px; padding: 0; list-style: none; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--rayon-pilule);
  font-size: 0.9688rem;
  font-weight: 600;
  text-decoration: none;
}
.nav a:hover { background: var(--papier-2); }
.nav a[aria-current="page"] { background: var(--blanc); box-shadow: inset 0 0 0 1px var(--trait); }
.entete__actions { display: flex; align-items: center; gap: 8px; }
.entete__cta { display: none; }

.menu-mobile { position: relative; }
.menu-mobile > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px 0 14px;
  border: 1.5px solid var(--encre);
  border-radius: var(--rayon-pilule);
  font-family: var(--font-titres);
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.menu-mobile > summary::-webkit-details-marker { display: none; }
.menu-mobile > summary .hb-icone { width: 20px; height: 20px; }
.menu-mobile[open] > summary { background: var(--encre); color: var(--papier); }
.menu-mobile__panneau {
  position: fixed;
  left: max(12px, env(safe-area-inset-left, 0px));
  right: max(12px, env(safe-area-inset-right, 0px));
  top: calc(env(safe-area-inset-top, 0px) + 76px);
  z-index: 35;
  padding: 10px;
  border: 1px solid var(--trait);
  border-radius: var(--rayon-xl);
  background: var(--blanc);
  box-shadow: var(--ombre-flottante);
}
.menu-mobile__panneau ul { display: grid; gap: 2px; padding: 0; list-style: none; }
.menu-mobile__panneau a:not(.hb-btn) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 14px;
  border-radius: var(--rayon-md);
  font-family: var(--font-titres);
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
}
.menu-mobile__panneau a:not(.hb-btn):hover, .menu-mobile__panneau a[aria-current="page"] { background: var(--papier); }
.menu-mobile__panneau .hb-btn { margin-top: 8px; width: 100%; }

@media (min-width: 900px) {
  .nav { display: block; }
  .entete__cta { display: inline-flex; }
  .menu-mobile { display: none; }
}

/* ==========================================================================
   Accueil — héros
   ========================================================================== */
.hero { padding-block: clamp(28px, 5vw, 72px) clamp(40px, 5vw, 64px); overflow-x: clip; }
.hero__grille {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
@media (min-width: 1000px) {
  .hero__grille { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
}
.hero__texte { display: grid; gap: 22px; min-width: 0; }
.hero__badge {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--trait);
  border-radius: var(--rayon-pilule);
  background: var(--blanc);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
}
.hero__badge-point {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surligneur);
}
.hero__badge-point .hb-icone { width: 14px; height: 14px; stroke-width: 2.4; }
.hero__titre { max-width: 13ch; }
.hero__chapeau { max-width: 36em; }
.hero__secondaire { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }

/* illustration : l'anatomie d'une fiche */
.fiche-demo {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
  padding: 34px 6px 54px;
}
.fiche-demo__arriere {
  position: absolute;
  inset: 50px 18px 30px 40px;
  border-radius: var(--rayon-xl);
  background: var(--bleu-pale);
  transform: rotate(5deg);
}
.fiche-demo__carte {
  position: relative;
  padding: 22px 22px 18px;
  border: 1px solid var(--trait);
  border-radius: var(--rayon-xl);
  background: var(--blanc);
  box-shadow: var(--ombre-flottante);
  transform: rotate(-1.5deg);
}
.fiche-demo__entete {
  display: grid;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--marge);
}
.fiche-demo__nom { display: flex; align-items: center; gap: 10px; }
.fiche-demo__logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--papier-2);
  flex: none;
}
.barre {
  display: block;
  height: 10px;
  border-radius: var(--rayon-pilule);
  background: var(--papier-2);
}
.barre--forte { height: 14px; background: var(--trait); }
.fiche-demo__lignes { display: grid; padding: 0; margin: 0; }
.fiche-demo__ligne {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 10.5em) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 46px;
  border-bottom: 1px solid var(--bleu-pale);
  font-size: 0.875rem;
}
.fiche-demo__ligne:last-child { border-bottom: 0; }
.fiche-demo__ligne .hb-icone { width: 18px; height: 18px; color: var(--encre-douce); }
.fiche-demo__ligne dt { display: flex; align-items: center; gap: 10px; font-weight: 700; line-height: 1.25; }
.fiche-demo__ligne dd { display: flex; align-items: center; gap: 8px; margin: 0; }
.fiche-demo__date {
  flex: none;
  padding: 1px 7px;
  border-radius: var(--rayon-pilule);
  background: var(--tampon-pale);
  color: var(--tampon);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.6;
}
.fiche-demo__cercle {
  position: absolute;
  left: -8px;
  top: 2px;
  width: 160px;
  height: 42px;
  color: var(--stylo-rouge);
  pointer-events: none;
}
.fiche-demo__ligne--piege dt, .fiche-demo__ligne--piege .hb-icone { color: var(--stylo-rouge); }
.fiche-demo .hb-tampon {
  position: absolute;
  top: -4px;
  right: 4px;
  z-index: 2;
  background: color-mix(in srgb, var(--blanc) 88%, transparent);
  transform: rotate(-8deg);
}
.fiche-demo__bulle {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 260px;
  padding: 9px 14px 9px 10px;
  border: 1px solid var(--trait);
  border-radius: var(--rayon-pilule);
  background: var(--blanc);
  box-shadow: var(--ombre-flottante);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.25;
}
.fiche-demo__bulle-icone {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
}
.fiche-demo__bulle-icone .hb-icone { width: 15px; height: 15px; stroke-width: 2.2; }
.fiche-demo__bulle--1 { left: 0; top: 0; }
.fiche-demo__bulle--1 .fiche-demo__bulle-icone { background: var(--vert-pale); color: var(--vert); }
.fiche-demo__bulle--2 { right: 0; bottom: 6px; }
.fiche-demo__bulle--2 .fiche-demo__bulle-icone { background: var(--tampon-pale); color: var(--tampon); }
.fiche-demo__pointilles {
  position: absolute;
  left: -34px;
  top: 40px;
  width: 60px;
  height: 160px;
  color: var(--trait-fort);
  display: none;
}
@media (min-width: 1000px) {
  .fiche-demo__pointilles { display: block; }
  .fiche-demo__bulle--1 { left: -28px; }
  .fiche-demo__bulle--2 { right: -22px; }
}
@media (max-width: 560px) {
  .fiche-demo .hb-tampon { top: 64px; right: 16px; }
}
@media (max-width: 420px) {
  .fiche-demo { padding-top: 46px; }
  .fiche-demo__ligne { grid-template-columns: minmax(0, 9.2em) minmax(0, 1fr); gap: 8px; font-size: 0.8125rem; }
  .fiche-demo__ligne dt { gap: 8px; }
  .fiche-demo__bulle { font-size: 0.75rem; }
}

/* bandeau des plateformes étudiées */
.plateformes-etudiees {
  display: grid;
  gap: 14px;
  padding-top: 26px;
  border-top: 1px solid var(--trait);
}
.plateformes-etudiees__noms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 34px;
  padding: 0;
  list-style: none;
  font-family: var(--font-titres);
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--encre-douce);
}
.plateformes-etudiees__noms a { text-decoration: none; }
.plateformes-etudiees__noms a:hover { color: var(--encre); text-decoration: underline; text-decoration-color: var(--surligneur); text-decoration-thickness: 4px; }

/* ==========================================================================
   Accueil — bénéfices, confiance
   ========================================================================== */
.grille-3 { display: grid; gap: 22px; }
@media (min-width: 760px) { .grille-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.grille-2 { display: grid; gap: 22px; }
@media (min-width: 760px) { .grille-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.benefice { display: grid; gap: 12px; align-content: start; padding-top: 22px; border-top: 2px solid var(--encre); }
.benefice__icone {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--rayon-md);
  background: var(--blanc);
  border: 1px solid var(--trait);
  color: var(--tampon);
}
.benefice__icone .hb-icone { width: 26px; height: 26px; }
.benefice p { color: var(--encre-douce); }

.grille-fiches { display: grid; gap: 18px; padding: 0; list-style: none; }
@media (min-width: 680px) { .grille-fiches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .grille-fiches { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.confiance {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
}
@media (min-width: 960px) { .confiance { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; } }
.confiance__intro { display: grid; gap: 18px; align-content: start; }
@media (min-width: 960px) { .confiance__intro { position: sticky; top: 110px; } }
.confiance__liste { display: grid; gap: 14px; padding: 0; list-style: none; }
.confiance__point {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 22px;
  border-radius: var(--rayon-lg);
  background: var(--blanc);
  border: 1px solid var(--trait);
}
@media (min-width: 560px) { .confiance__point { grid-template-columns: 150px minmax(0, 1fr); align-items: start; } }
.confiance__point .hb-tampon { justify-self: start; font-size: 0.8125rem; }
.confiance__point h3 { margin-bottom: 6px; }
.confiance__point p { color: var(--encre-douce); }
.promesses-non {
  display: grid;
  gap: 10px;
  padding: 20px 22px;
  border: 1.5px dashed var(--stylo-rouge);
  border-radius: var(--rayon-lg);
}
.promesses-non ul { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 0; list-style: none; font-family: var(--font-titres); font-weight: 700; font-size: 1.0625rem; }

/* ==========================================================================
   Bande d'inscription (fin de chaque page)
   ========================================================================== */
.inscription {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}
@media (min-width: 940px) { .inscription { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }
.inscription__texte { display: grid; gap: 18px; min-width: 0; }
.guide-couverture {
  position: relative;
  width: min(100%, 330px);
  margin-inline: auto;
  aspect-ratio: 3 / 4;
  max-width: 100%;
}
.guide-couverture__page {
  position: absolute;
  inset: 0;
  border-radius: 6px 16px 16px 6px;
  background: var(--blanc);
  box-shadow: var(--ombre-flottante);
}
.guide-couverture__page--2 { transform: rotate(6deg) translate(14px, 6px); background: var(--papier-2); }
.guide-couverture__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px;
  border-radius: 6px 16px 16px 6px;
  background: var(--papier);
  box-shadow: var(--ombre-flottante), inset 10px 0 0 var(--encre);
  transform: rotate(-3deg);
  color: var(--encre);
}
.guide-couverture__face .etiquette { padding-left: 10px; color: var(--encre-douce); }
.guide-couverture__titre {
  padding-left: 10px;
  font-family: var(--font-titres);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.9rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.guide-couverture__lignes { display: grid; gap: 9px; padding-left: 10px; margin-top: 4px; }
.guide-couverture__sommaire { display: grid; gap: 11px; padding-left: 10px; margin-top: 6px; }
.guide-couverture__sommaire > span { display: flex; align-items: center; gap: 9px; }
.guide-couverture__numero {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  flex: none;
  border-radius: 50%;
  background: var(--encre);
  color: var(--papier);
  font-family: var(--font-titres);
  font-size: 0.625rem;
  font-weight: 800;
}
.guide-couverture__pied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-left: 10px;
  font-family: var(--font-titres);
  font-weight: 800;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
}
.guide-couverture__pied svg { width: 28px; height: 28px; }
.guide-couverture .hb-tampon { position: absolute; right: -10px; top: 38%; z-index: 2; background: var(--papier); transform: rotate(-12deg); font-size: 0.75rem; }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.pied {
  --anneau: var(--surligneur);
  background: var(--encre);
  color: var(--papier);
  padding-block: clamp(48px, 6vw, 72px) 28px;
}
.pied a { text-decoration: none; }
.pied a:hover { text-decoration: underline; text-decoration-color: var(--surligneur); }
.pied__grille { display: grid; gap: 36px; }
@media (min-width: 860px) { .pied__grille { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr)); } }
.pied__marque { display: grid; gap: 16px; align-content: start; max-width: 420px; }
.pied__marque p { color: var(--encre-claire); font-size: 0.9375rem; }
.pied .logo svg { width: 36px; height: 36px; }
.pied__titre { margin-bottom: 12px; color: var(--encre-claire); }
.pied ul { display: grid; gap: 10px; padding: 0; list-style: none; }
.pied__bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--encre-trait);
  font-size: 0.8125rem;
  color: var(--encre-claire);
}

/* ==========================================================================
   Pages intérieures
   ========================================================================== */
.tete-page { padding-block: clamp(24px, 4vw, 48px) clamp(32px, 4vw, 56px); overflow-x: clip; }
.tete-page__grille { display: grid; gap: 18px; max-width: 820px; }
.tete-page .hb-ariane { margin-bottom: 8px; }

/* Plateformes : filtres */
.filtres {
  display: grid;
  gap: 18px;
  padding: 20px;
  margin-bottom: 26px;
  border: 1px solid var(--trait);
  border-radius: var(--rayon-xl);
  background: var(--blanc);
}
@media (min-width: 1000px) { .filtres { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 24px 26px; } }
.filtres__groupe { display: grid; gap: 10px; align-content: start; min-width: 0; }
.filtres__options { display: flex; flex-wrap: wrap; gap: 8px; }
.filtres__bas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  padding-top: 14px;
  border-top: 1px solid var(--bleu-pale);
}
@media (min-width: 1000px) { .filtres__bas { grid-column: 1 / -1; } }
.filtres__compte { font-family: var(--font-titres); font-weight: 700; }
.bouton-texte {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--encre);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.liste-vide {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 26px;
  border: 1.5px dashed var(--trait-fort);
  border-radius: var(--rayon-lg);
}

/* Fiche plateforme */
.fiche-tete { display: grid; gap: 26px; }
@media (min-width: 900px) { .fiche-tete { grid-template-columns: minmax(0, 1fr) auto; align-items: start; } }
.fiche-tete__titre { display: grid; gap: 14px; min-width: 0; }
.fiche-tete__puces { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.fiche-tete__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.fiche-tete .hb-tampon { justify-self: start; font-size: 0.8125rem; }
@media (min-width: 900px) { .fiche-tete .hb-tampon { margin: 12px 18px 0 0; } }

.fiche-corps { display: grid; gap: 40px; }
@media (min-width: 1000px) { .fiche-corps { grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 56px; } }
.fiche-corps__principal { display: grid; gap: 44px; min-width: 0; }
.fiche-corps__cote { display: grid; gap: 18px; }
@media (min-width: 1000px) { .fiche-corps__cote { position: sticky; top: 96px; } }

.en-bref {
  border: 1px solid var(--trait);
  border-radius: var(--rayon-xl);
  background: var(--blanc);
  overflow: hidden;
}
.en-bref__titre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 22px;
  border-bottom: 2px solid var(--marge);
}
.en-bref dl { display: grid; margin: 0; }
@media (min-width: 640px) { .en-bref dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.en-bref__ligne {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 16px 22px;
  border-bottom: 1px solid var(--bleu-pale);
}
@media (min-width: 640px) { .en-bref__ligne:nth-child(odd) { border-right: 1px solid var(--bleu-pale); } }
.en-bref__ligne dt { display: flex; align-items: center; gap: 8px; }
.en-bref__ligne dt .hb-icone { width: 18px; height: 18px; color: var(--tampon); }
.en-bref__ligne dd { margin: 0; }

.bloc-fiche { display: grid; gap: 16px; scroll-margin-top: 96px; }
.bloc-fiche__titre { display: flex; align-items: center; gap: 12px; }
.bloc-fiche__titre .hb-icone {
  width: 22px;
  height: 22px;
  padding: 8px;
  box-sizing: content-box;
  border-radius: var(--rayon-md);
  background: var(--bleu-pale);
  color: var(--tampon);
}
.champs { display: grid; margin: 0; border-top: 1px solid var(--trait); }
.champs__ligne {
  display: grid;
  gap: 6px 22px;
  padding: 14px 0;
  border-bottom: 1px solid var(--trait);
}
@media (min-width: 640px) { .champs__ligne { grid-template-columns: 210px minmax(0, 1fr); align-items: baseline; } }
.champs__ligne dt { font-weight: 700; }
.champs__ligne dd { margin: 0; min-width: 0; }
.note-fiche { font-size: 0.9375rem; color: var(--encre-douce); }
/* « En bref » de la fiche : colonne étroite, libellé au-dessus de la valeur */
.en-bref .champs { border-top: 0; padding: 4px 22px 0; column-gap: 18px; }
.en-bref .champs__ligne:last-child { grid-column: 1 / -1; }
.en-bref .champs__ligne { grid-template-columns: none; gap: 4px; padding: 14px 0; }
.en-bref .champs__ligne:last-child { border-bottom: 0; }
.en-bref .champs__ligne dt {
  font-family: var(--font-titres);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--encre-douce);
}
.en-bref .champs__ligne dd { font-weight: 700; line-height: 1.45; }
.en-bref > .hb-btn--large { display: flex; width: calc(100% - 44px); margin: 4px 22px 22px; }

.sommaire-fiche {
  padding: 18px 20px;
  border-radius: var(--rayon-lg);
  background: var(--papier-2);
}
.sommaire-fiche ol { display: grid; gap: 4px; margin-top: 8px; padding: 0; list-style: none; counter-reset: s; }
.sommaire-fiche a {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  font-weight: 600;
  text-decoration: none;
}
.sommaire-fiche a::before {
  counter-increment: s;
  content: counter(s);
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--blanc);
  font-family: var(--font-titres);
  font-size: 0.75rem;
  font-weight: 800;
}
.sommaire-fiche a:hover { text-decoration: underline; }

.carte-inscription {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: var(--rayon-xl);
  background: var(--surligneur);
  --anneau: var(--encre);
}
.carte-inscription .hb-formulaire__ligne { grid-template-columns: 1fr; gap: 10px; }
.carte-inscription .hb-formulaire__ligne .hb-champ { padding-right: 22px; border-color: var(--encre); }
.carte-inscription .hb-formulaire__ligne .hb-btn { position: static; min-height: 52px; }
.carte-inscription .hb-case { color: var(--encre); }

.autres-fiches ul { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.autres-fiches a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--trait);
  border-radius: var(--rayon-pilule);
  background: var(--blanc);
  font-family: var(--font-titres);
  font-weight: 700;
  text-decoration: none;
}
.autres-fiches a:hover { border-color: var(--encre); }
.autres-fiches .hb-icone { width: 16px; height: 16px; }

.lien-parrainage {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1.5px solid var(--encre);
  border-radius: var(--rayon-lg);
  background: var(--surligneur-pale);
}
.lien-parrainage p { font-size: 0.875rem; line-height: 1.45; }

/* Texte long (à propos, mentions, confidentialité) */
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); letter-spacing: -0.025em; }
.prose h3 { margin-top: 1.6em; font-size: 1.1875rem; letter-spacing: -0.01em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 0.4em; }
.prose a { text-decoration-color: var(--tampon); }
.prose .hb-encadre, .prose .hb-a-completer--bloc { margin-top: 1.2em; }
.prose dl.champs { margin-top: 1em; }
.prose .etapes, .prose .resume-rgpd { padding-left: 0; }
.bloc-fiche--vigilance .bloc-fiche__titre .hb-icone { background: var(--stylo-rouge-pale); color: var(--stylo-rouge); }

.page-colonnes { display: grid; gap: 40px; }
@media (min-width: 1000px) { .page-colonnes { grid-template-columns: 250px minmax(0, 1fr); gap: 64px; align-items: start; } }
.page-colonnes__nav { display: none; }
@media (min-width: 1000px) {
  .page-colonnes__nav { display: block; position: sticky; top: 100px; }
  .page-colonnes__nav ol { display: grid; gap: 2px; padding: 0; margin-top: 10px; list-style: none; }
  .page-colonnes__nav a { display: block; padding: 6px 12px; border-radius: var(--rayon-sm); font-weight: 600; text-decoration: none; color: var(--encre-douce); }
  .page-colonnes__nav a:hover { background: var(--papier-2); color: var(--encre); }
}

.etapes { display: grid; gap: 14px; padding: 0; list-style: none; counter-reset: etape; }
.etapes li {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.etapes li::before {
  counter-increment: etape;
  content: counter(etape);
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--encre);
  color: var(--papier);
  font-family: var(--font-titres);
  font-weight: 800;
}
.etapes strong { display: block; font-family: var(--font-titres); font-size: 1.0625rem; }
.etapes p { color: var(--encre-douce); }

.resume-rgpd { display: grid; gap: 12px; padding: 0; list-style: none; }
.resume-rgpd li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; }
.resume-rgpd .hb-icone { width: 22px; height: 22px; margin-top: 2px; color: var(--vert); }

/* Contact */
.contact-email {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: var(--rayon-xl);
  background: var(--blanc);
  border: 1px solid var(--trait);
}
.contact-email__adresse {
  font-family: var(--font-titres);
  font-size: clamp(1.25rem, 1rem + 1.4vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  user-select: all;
}
.contact-email__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.raison { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: var(--rayon-lg); background: var(--blanc); border: 1px solid var(--trait); }
.raison .hb-icone { width: 26px; height: 26px; color: var(--tampon); }
.raison p { color: var(--encre-douce); font-size: 0.9375rem; }

/* Bandeau « mode démo » du formulaire */
.bandeau-demo {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 16px;
  border-radius: var(--rayon-md);
  background: var(--tampon-pale);
  color: var(--tampon);
  font-size: 0.875rem;
  line-height: 1.45;
}
.bandeau-demo .hb-icone { width: 18px; height: 18px; margin-top: 2px; }

/* Page modèle */
.bandeau-modele {
  padding-block: 12px;
  background: var(--surligneur);
  font-size: 0.9375rem;
  font-weight: 700;
}

/* 404 */
.page-404 { display: grid; gap: 20px; justify-items: start; max-width: 640px; padding-block: clamp(48px, 10vw, 120px); }
.page-404 .hb-tampon { font-size: 0.875rem; }

/* ==========================================================================
   Compléments
   ========================================================================== */
.logo__fond { fill: var(--encre); }
.logo__maison { fill: var(--papier); stroke: var(--papier); }
.logo__porte { fill: var(--surligneur); }
.pied .logo__fond { fill: var(--papier); }
.pied .logo__maison { fill: var(--encre); stroke: var(--encre); }

.section--sans-haut { padding-top: 0; }
.espace-haut { margin-top: clamp(28px, 4vw, 44px); }

.grille-faq { display: grid; gap: 28px; }
@media (min-width: 960px) {
  .grille-faq { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
  .grille-faq > :first-child { position: sticky; top: 110px; }
}

@media (max-width: 999px) { .sommaire-fiche { display: none; } }

.hero--guide .hero__titre { max-width: 19ch; }
.pour-qui { display: grid; gap: 12px; padding: 0; list-style: none; }
.pour-qui li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; }
.pour-qui .hb-icone { width: 22px; height: 22px; margin-top: 3px; color: var(--vert); stroke-width: 2.2; }

.tableau-defile { overflow-x: auto; border: 1px solid var(--trait); border-radius: var(--rayon-lg); background: var(--blanc); }
.tableau { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.tableau th, .tableau td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--trait); }
.tableau th { font-family: var(--font-titres); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--encre-douce); background: var(--papier); }
.tableau tr:last-child td { border-bottom: 0; }
.tableau td:first-child { white-space: nowrap; font-variant-numeric: tabular-nums; }

.note-fiche { display: flex; gap: 10px; align-items: flex-start; }
.note-fiche .hb-icone { width: 20px; height: 20px; margin-top: 2px; color: var(--tampon); }

.demo-parrainage { display: grid; gap: 12px; }

/* ==========================================================================
   Comptes membres : en-tête, connexion, Mon espace, Mon profil
   ========================================================================== */
.entete__compte { display: flex; align-items: center; gap: 8px; }
@media (max-width: 440px) {
  .menu-mobile__libelle { display: none; }
  .menu-mobile > summary { padding: 0 12px; }
  .entete .logo { font-size: 1.125rem; gap: 8px; }
  .entete .logo svg { width: 32px; height: 32px; }
}
.menu-mobile__panneau [data-si-deconnecte], .menu-mobile__panneau [data-si-connecte] { display: grid; }
.menu-mobile__panneau [data-si-connecte] nav { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--trait); }
.pied [data-si-connecte], .pied [data-si-deconnecte] { display: list-item; list-style: none; }

.hb-carte-fiche--fermee { background: var(--papier); }
.hb-carte-fiche--fermee .hb-carte-fiche__nom { color: var(--encre-douce); }

.section--compte { padding-block: clamp(32px, 5vw, 72px); }
.section--compte > .conteneur > .bandeau-demo, .section--compte [data-erreur-espace] { margin-bottom: 20px; }
.carte-compte {
  display: grid;
  gap: 20px;
  max-width: 520px;
  margin-inline: auto;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--trait);
  border-radius: var(--rayon-xl);
  background: var(--blanc);
  box-shadow: var(--ombre-carte);
}
.carte-compte > [data-vue], .carte-compte > [data-lien-expire] { display: grid; gap: 16px; justify-items: start; }
.carte-compte > [data-vue] > form { justify-self: stretch; }
.onglets { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: var(--rayon-pilule); background: var(--papier-2); }
.onglets__onglet {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: var(--rayon-pilule);
  font-family: var(--font-titres);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  color: var(--encre-douce);
}
.onglets__onglet[aria-current="page"] { background: var(--blanc); color: var(--encre); box-shadow: var(--ombre-carte); }
@media (max-width: 420px) { .onglets__onglet { padding: 0 6px; font-size: 0.9375rem; white-space: nowrap; } }
.formulaire-compte { max-width: none; gap: 16px; }
/* Connexion en un clic (Google, Microsoft, LinkedIn) */
.connexion-sociale { display: grid; gap: 12px; justify-self: stretch; }
.connexion-sociale__boutons { display: grid; gap: 10px; }
.bouton-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--trait-fort);
  border-radius: var(--rayon-pilule);
  background: var(--blanc);
  color: var(--encre);
  font: 700 0.9875rem/1.2 var(--font-texte);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.bouton-social:hover { background: var(--papier); border-color: var(--encre); }
.bouton-social svg { width: 20px; height: 20px; flex: none; }
.bouton-social[aria-busy="true"] { opacity: 0.75; cursor: progress; }
.connexion-sociale .hb-formulaire__message:empty { display: none; }
.connexion-sociale__ou {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  font-size: 0.875rem;
  color: var(--encre-douce);
}
.connexion-sociale__ou::before, .connexion-sociale__ou::after { content: ""; flex: 1; height: 1px; background: var(--trait); }
.formulaire-compte [data-etape], .formulaire-compte [data-champs-etape2] { display: grid; gap: 16px; }
.formulaire-compte__oubli { justify-self: start; margin-top: -6px; font-size: 0.9375rem; }
.formulaire-compte__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.etapes-compte { display: grid; gap: 8px; }

.champ { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.champ legend { padding: 0; margin-bottom: 6px; }
.champ__aide { font-size: 0.875rem; line-height: 1.45; color: var(--encre-douce); }
fieldset.champ .champ__aide { margin-bottom: 6px; }
.hb-select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 52px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318213A' stroke-width='2' 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 20px center;
  background-size: 18px;
  cursor: pointer;
}
.options-cases { display: flex; flex-wrap: wrap; gap: 8px; }
.option-case { position: relative; display: inline-flex; cursor: pointer; }
.option-case input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.option-case span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1.5px solid var(--trait-fort);
  border-radius: var(--rayon-pilule);
  background: var(--blanc);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.option-case:hover span { border-color: var(--encre-douce); }
.option-case input:checked + span { background: var(--encre); border-color: var(--encre); color: var(--papier); }
.option-case input:focus-visible + span { outline: 3px solid var(--anneau); outline-offset: 2px; }

.jauge { --pct: 0%; height: 12px; overflow: hidden; border-radius: var(--rayon-pilule); background: var(--papier-2); }
.jauge > span { display: block; width: var(--pct); height: 100%; border-radius: inherit; background: var(--tampon); transition: width 0.3s ease; }
.jauge--fine { height: 6px; }
.jauge--fine > span { background: var(--encre); }

.espace { display: grid; gap: clamp(36px, 5vw, 56px); }
.espace__tete { display: grid; gap: 8px; }
.espace__grille { display: grid; gap: 18px; }
@media (min-width: 860px) { .espace__grille { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.carte-espace {
  display: grid;
  gap: 14px;
  align-content: start;
  justify-items: start;
  padding: 22px;
  border: 1px solid var(--trait);
  border-radius: var(--rayon-lg);
  background: var(--blanc);
  box-shadow: var(--ombre-carte);
}
.carte-espace .jauge, .carte-espace .hb-formulaire__message { justify-self: stretch; }
.carte-espace--guide { background: var(--surligneur-pale); }
.carte-espace--collante { position: sticky; top: 80px; z-index: 5; gap: 8px; margin-block: 24px; }
.espace__bloc { display: grid; gap: 18px; }
.espace__compte { justify-items: start; gap: 12px; padding-top: 28px; border-top: 1px solid var(--trait); }
.liste-liens { display: grid; gap: 10px; }
.lien-obtenu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--trait);
  border-radius: var(--rayon-md);
  background: var(--blanc);
}
.lien-obtenu__titre { font-family: var(--font-titres); font-weight: 700; text-decoration: none; }
.lien-obtenu__titre:hover { text-decoration: underline; }
.bouton-texte--danger { color: var(--stylo-rouge); }
.bouton-danger { background: var(--stylo-rouge); }
.bouton-danger:hover { background: #962519; }

.formulaire-profil { max-width: none; gap: 18px; }
.questions-profil { display: grid; gap: 14px; }
.question-profil {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--trait);
  border-radius: var(--rayon-lg);
  background: var(--blanc);
}
.question-profil__numero {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surligneur);
  font-family: var(--font-titres);
  font-size: 0.875rem;
  font-weight: 800;
}
.espace-haut-petit { margin-top: 12px; }
.pour-qui--conditions .hb-icone { color: var(--tampon); }
.fiche-tete .bandeau-demo { justify-self: start; }

/* Impression */
@media print {
  .entete, .pied, .bande-surligneur, .filtres, .carte-inscription { display: none !important; }
  body { background: #fff; }
}

/* ==========================================================================
   Plateformes qui proposent les missions (Ethos, Outlier)
   ========================================================================== */
.proposee {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 24px;
  border: 1px solid var(--trait);
  border-radius: var(--rayon-lg);
  background: var(--blanc);
  box-shadow: var(--ombre-carte);
}
.proposee__entete { display: grid; gap: 10px; }
.proposee__puces { display: flex; flex-wrap: wrap; gap: 8px; }
.proposee > p { color: var(--encre-douce); }
.proposee__etapes { display: grid; gap: 8px; padding: 0; list-style: none; counter-reset: proposee; }
.proposee__etapes li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: baseline;
  counter-increment: proposee;
}
.proposee__etapes li::before {
  content: counter(proposee);
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: var(--rayon-pilule);
  background: var(--surligneur);
  font-family: var(--font-titres);
  font-size: 0.875rem;
  font-weight: 800;
}
.proposee__bouton { align-self: flex-start; margin-top: auto; }
@media (max-width: 480px) { .proposee__bouton { align-self: stretch; } }

/* ==========================================================================
   Page Guide
   ========================================================================== */
.recevoir-guide .etapes p { color: var(--encre); }
.recevoir-guide .hb-formulaire__message:empty { display: none; }
