/* ============================================================================
   kycimmo — site vitrine, refonte 2026
   ============================================================================

   Feuille DÉDIÉE à la page d'accueil.

   `style.css` reste en place : il habille encore `cgu.html`,
   `mentions-legales.html` et `politique-de-confidentialite.html`. Le remplacer
   aurait cassé trois pages juridiques pour un chantier qui n'en demandait pas.

   Les jetons reprennent la charte de l'application (design_handoff, §Couleurs)
   pour que le site et le produit ne se contredisent pas au premier clic.
   ========================================================================= */

:root {
  --bg-page: oklch(0.985 0.003 258);
  --bg-band: oklch(0.975 0.004 258);
  --bg-card: #fff;
  --ink-panel: oklch(0.19 0.015 258);
  --ink-panel-deep: oklch(0.16 0.014 258);

  --line: oklch(0.92 0.008 258);
  --line-soft: oklch(0.955 0.005 258);
  --line-panel: oklch(0.3 0.02 258);

  --text: oklch(0.2 0.015 258);
  --text-2: oklch(0.44 0.02 258);
  --text-3: oklch(0.55 0.02 258);
  --text-on-panel: oklch(0.97 0.005 258);
  --text-on-panel-2: oklch(0.82 0.015 258);
  --text-on-panel-3: oklch(0.68 0.02 258);

  --accent: oklch(0.55 0.17 258);
  --accent-hover: oklch(0.49 0.17 258);
  --accent-border: oklch(0.5 0.17 258);

  /* Échelle de risque — même chroma, teintes ordonnées. Jamais réutilisée
     pour un statut de workflow (c'est la règle de la charte). */
  --risk-low: oklch(0.62 0.13 162);
  --risk-low-text: oklch(0.5 0.13 162);
  --risk-mid: oklch(0.72 0.13 88);
  --risk-mid-text: oklch(0.55 0.13 88);
  --risk-high: oklch(0.63 0.16 45);
  --risk-high-text: oklch(0.5 0.14 45);
  --risk-crit: oklch(0.52 0.19 20);
  --risk-crit-text: oklch(0.48 0.19 20);

  --sans: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --shell: 1160px;
  --gut: clamp(18px, 4vw, 32px);
  --bloc: clamp(48px, 7vw, 88px);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: oklch(0.52 0.17 258); text-decoration: none; }
a:hover { color: oklch(0.42 0.17 258); text-decoration: underline; }

h1, h2, h3 { margin: 0; text-wrap: pretty; }

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--gut);
  padding-right: var(--gut);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-3);
}
.eyebrow--panel { color: var(--text-on-panel-3); }

.titre-section {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.015em;
}

.lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-2);
}

/* --- Boutons ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 9px;
  padding: 13px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease;
}
.btn:hover { text-decoration: none; }

.btn--accent { background: var(--accent); border-color: var(--accent-border); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); color: #fff; }

.btn--clair { background: var(--text-on-panel); color: var(--ink-panel); }
.btn--clair:hover { background: #fff; color: var(--ink-panel); }

.btn--contour-panel { color: oklch(0.95 0.005 258); border-color: oklch(0.36 0.02 258); font-weight: 550; }
.btn--contour-panel:hover { background: oklch(0.24 0.017 258); color: oklch(0.95 0.005 258); }

.btn--contour { color: var(--text); background: var(--bg-card); border-color: oklch(0.85 0.01 258); font-weight: 550; }
.btn--contour:hover { background: oklch(0.97 0.004 258); color: var(--text); }

.btn--sm { font-size: 13.5px; padding: 9px 15px; }

/* --- En-tête ------------------------------------------------------------ */

.entete {
  position: sticky;
  top: 0;
  z-index: 20;
  /* Le panneau du menu se positionne par rapport à cette barre. */
  isolation: isolate;
  background: oklch(0.985 0.003 258 / 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.entete__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.marque { display: flex; align-items: center; gap: 9px; color: inherit; }
.marque:hover { text-decoration: none; color: inherit; }
.marque__glyphe {
  width: 24px; height: 24px; border-radius: 7px;
  background: var(--text); color: #fff;
  font-family: var(--serif); font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.marque__nom { font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }

.entete__nav { display: flex; align-items: center; gap: 22px; margin-left: 8px; }
.entete__nav a { font-size: 13.5px; color: var(--text-2); }
.entete__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.entete__connexion { font-size: 13.5px; font-weight: 550; color: var(--text); padding: 8px 12px; }
.entete__connexion:hover { color: var(--text); }

@media (max-width: 860px) {
  .entete__nav { display: none; }
  .entete__actions { margin-left: auto; }
}

/*
  Sous 480 px, « kycimmo » + « Se connecter » + le bouton dépassaient de
  quelques pixels et l'en-tête passait sur deux lignes. On resserre plutôt que
  de laisser la barre doubler de hauteur au premier écran.
*/
@media (max-width: 480px) {
  .entete__inner { gap: 10px 12px; }
  .entete__connexion { padding: 8px 4px; }
  .entete__actions { gap: 6px; }
  .btn--sm { padding: 9px 12px; }
}

/* --- Panneaux sombres --------------------------------------------------- */

.panneau { background: var(--ink-panel); color: var(--text-on-panel); }
.panneau-carte { background: var(--ink-panel); border-radius: 18px; padding: clamp(26px, 4vw, 48px); }

/* --- Hero --------------------------------------------------------------- */

.hero__grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
  padding-top: var(--bloc);
}
.hero__texte { display: flex; flex-direction: column; gap: 26px; padding-bottom: 88px; }
.hero__titre {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.hero__lead { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-on-panel-2); max-width: 520px; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.hero__note { font-size: 13px; color: var(--text-on-panel-3); }
.hero__apercu { padding-bottom: 88px; }

.apercu {
  background: var(--bg-page);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px -30px oklch(0.05 0.02 258 / 0.7);
}
.apercu__barre {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px;
  background: var(--bg-band);
  border-bottom: 1px solid var(--line);
}
.apercu__glyphe {
  width: 18px; height: 18px; border-radius: 5px;
  background: var(--text); color: #fff;
  font-family: var(--serif); font-size: 11px;
  display: flex; align-items: center; justify-content: center;
}
.apercu__onglet { font-size: 13px; font-weight: 600; color: var(--text); }
.apercu__tri { margin-left: auto; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.apercu__corps { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.apercu__date { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.apercu__accroche { font-family: var(--serif); font-size: 26px; line-height: 1.06; color: var(--text); }

.file { display: flex; flex-direction: column; gap: 8px; }
.file__ligne {
  background: var(--bg-card);
  border: 1px solid oklch(0.91 0.008 258);
  border-left: 3px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  display: flex; align-items: center; gap: 12px;
}
.file__ligne--crit { border-left-color: var(--risk-crit); }
.file__ligne--high { border-left-color: var(--risk-high); }
.file__ligne--mid { border-left-color: var(--risk-mid); }
.file__score { font-family: var(--mono); font-size: 13px; font-weight: 500; width: 24px; flex: none; }
.file__score--crit { color: var(--risk-crit-text); }
.file__score--high { color: var(--risk-high-text); }
.file__score--mid { color: var(--risk-mid-text); }
.file__corps { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.file__nom { font-size: 13.5px; font-weight: 600; color: var(--text); }
.file__motif { font-size: 12px; color: oklch(0.48 0.02 258); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file__geste { flex: none; font-size: 11.5px; font-weight: 550; color: oklch(0.3 0.02 258); border: 1px solid oklch(0.88 0.01 258); border-radius: 999px; padding: 5px 10px; }

.portefeuille {
  background: var(--bg-card);
  border: 1px solid oklch(0.91 0.008 258);
  border-radius: 10px;
  padding: 13px;
  display: flex; flex-direction: column; gap: 9px;
}
.portefeuille__tete { display: flex; align-items: baseline; justify-content: space-between; }
.portefeuille__titre { font-size: 13px; font-weight: 600; color: var(--text); }
.portefeuille__compte { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); }
.portefeuille__barre { display: flex; gap: 3px; height: 9px; }
.portefeuille__barre span:first-child { border-radius: 3px 0 0 3px; }
.portefeuille__barre span:last-child { border-radius: 0 3px 3px 0; }
.portefeuille__note { font-size: 12px; color: var(--text-2); }

/* --- Bandeau de chiffres ------------------------------------------------ */

.chiffres { background: var(--bg-band); border-bottom: 1px solid var(--line); }
.chiffres__grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.chiffre { display: flex; flex-direction: column; gap: 6px; }
.chiffre__valeur { font-family: var(--serif); font-size: clamp(36px, 4vw, 46px); line-height: 1; }
.chiffre__libelle { font-size: 14.5px; line-height: 1.45; max-width: 290px; }
.chiffre__source { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); }

/* --- Sections ----------------------------------------------------------- */

.section { padding-top: var(--bloc); }
.section__intro { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }

/* --- Les quatre moments ------------------------------------------------- */

.moment {
  display: grid;
  grid-template-columns: 74px repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 24px 40px;
  padding: 32px 0;
  border-top: 1px solid oklch(0.91 0.008 258);
  align-items: start;
}
/*
  Sous 720 px, la colonne de gauche (74 px) plus une colonne d'au moins 260 px
  ne tiennent plus dans la largeur disponible : la grille débordait de deux
  pixels et la page défilait latéralement. On empile.
*/
@media (max-width: 720px) {
  .moment { grid-template-columns: 1fr; gap: 16px; }
  .moment__etape { padding-top: 0; }
}

.moment__etape { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: oklch(0.58 0.02 258); padding-top: 5px; }
.moment__corps { display: flex; flex-direction: column; gap: 10px; }
.moment__titre { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.moment__texte { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
.moment__article { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); }
.moment__demo {
  background: var(--bg-card);
  border: 1px solid oklch(0.9 0.008 258);
  border-radius: 12px;
  padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
}
.moment__demo-titre { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.demo-ligne { display: flex; align-items: center; gap: 11px; border-top: 1px solid var(--line-soft); padding-top: 11px; }
.demo-ligne__puce { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.demo-ligne__libelle { font-size: 13.5px; flex: 1; min-width: 0; }
.demo-ligne__valeur { font-family: var(--mono); font-size: 11px; flex: none; }

.is-low { background: var(--risk-low); }
.is-mid { background: var(--risk-mid); }
.is-high { background: var(--risk-high); }
.is-crit { background: var(--risk-crit); }
.is-accent { background: var(--accent); }
.t-low { color: var(--risk-low-text); }
.t-mid { color: var(--risk-mid-text); }
.t-high { color: var(--risk-high-text); }
.t-crit { color: var(--risk-crit-text); }
.t-neutre { color: var(--text-3); }
.t-accent { color: oklch(0.45 0.15 258); }

/* --- La preuve ---------------------------------------------------------- */

.preuve__grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}
.preuve__texte { display: flex; flex-direction: column; gap: 20px; }
.preuve__titre { font-family: var(--serif); font-weight: 400; font-size: 42px; line-height: 1.05; color: oklch(0.98 0.005 258); }
.preuve__lead { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--text-on-panel-2); }
.preuve__points { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.preuve__point { display: flex; align-items: baseline; gap: 12px; border-top: 1px solid var(--line-panel); padding-top: 12px; }
.preuve__cle { font-family: var(--mono); font-size: 11px; color: oklch(0.66 0.02 258); width: 76px; flex: none; }
.preuve__valeur { font-size: 13.5px; color: oklch(0.85 0.015 258); }

.chaine {
  background: var(--ink-panel-deep);
  border: 1px solid var(--line-panel);
  border-radius: 14px;
  padding: 22px;
  display: flex; flex-direction: column;
}
.chaine__titre { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: oklch(0.66 0.02 258); padding-bottom: 14px; }
.chaine__evt { border-top: 1px solid oklch(0.28 0.02 258); padding: 13px 0; display: flex; flex-direction: column; gap: 5px; }
.chaine__tete { display: flex; align-items: baseline; gap: 10px; }
.chaine__id, .chaine__heure { font-family: var(--mono); font-size: 10.5px; color: oklch(0.62 0.02 258); flex: none; }
.chaine__nom { font-size: 13.5px; font-weight: 550; color: oklch(0.96 0.005 258); flex: 1; }
.chaine__qui { font-size: 12.5px; line-height: 1.4; color: oklch(0.78 0.015 258); }
.chaine__hash { font-family: var(--mono); font-size: 10px; color: oklch(0.56 0.02 258); word-break: break-all; }
.chaine__pied { border-top: 1px solid oklch(0.28 0.02 258); padding-top: 13px; display: flex; align-items: center; gap: 9px; }
.chaine__coche {
  width: 14px; height: 14px; border-radius: 999px;
  background: var(--risk-low); color: var(--ink-panel-deep);
  font-size: 9px; display: flex; align-items: center; justify-content: center; flex: none;
}
.chaine__verdict { font-size: 12.5px; color: oklch(0.85 0.015 258); }

/* --- Cartes génériques -------------------------------------------------- */

.cartes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 18px;
}
.carte {
  background: var(--bg-card);
  border: 1px solid oklch(0.9 0.008 258);
  border-radius: 14px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.carte__titre { font-size: 16px; font-weight: 600; }
.carte__texte { margin: 0; font-size: 14px; line-height: 1.55; color: oklch(0.46 0.02 258); }

/* --- Chronologie -------------------------------------------------------- */

.horizon {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.jalon {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid oklch(0.91 0.008 258);
  align-items: start;
}
.jalon__annee { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--text-3); }
.jalon__annee--haut { color: var(--risk-high-text); }
.jalon__annee--crit { color: var(--risk-crit-text); }
.jalon__titre { font-size: 15px; font-weight: 600; }
.jalon__texte { font-size: 13.5px; line-height: 1.5; color: oklch(0.46 0.02 258); }

/* --- Tarifs ------------------------------------------------------------- */

.tarifs__tete { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 24px 40px; }
.bascule { flex: none; display: flex; gap: 3px; background: var(--line-soft); border-radius: 9px; padding: 3px; }
.bascule__opt {
  font-size: 13px; font-weight: 400; color: var(--text-2);
  background: transparent; border: 1px solid transparent;
  border-radius: 7px; padding: 8px 14px; cursor: pointer;
  font-family: inherit;
}
.bascule__opt[aria-pressed='true'] { background: #fff; color: var(--text); font-weight: 600; border-color: oklch(0.9 0.008 258); }

.offres {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 18px;
  align-items: stretch;
}
.offre {
  background: var(--bg-card);
  border: 1px solid oklch(0.9 0.008 258);
  border-radius: 14px;
  padding: 26px;
  display: flex; flex-direction: column; gap: 18px;
}
.offre--panel { background: var(--ink-panel); border-color: var(--ink-panel); color: var(--text-on-panel); }
.offre__tete { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.offre__nom { font-size: 16px; font-weight: 600; }
.offre__cible { font-size: 13px; color: var(--text-3); }
.offre--panel .offre__cible { color: oklch(0.75 0.015 258); }
.offre__fanion {
  flex: none; font-family: var(--mono); font-size: 9.5px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-panel); background: oklch(0.9 0.05 258);
  border-radius: 999px; padding: 5px 9px;
}
.offre__prix { display: flex; align-items: baseline; gap: 7px; }
.offre__montant { font-family: var(--serif); font-size: 44px; line-height: 1; }
.offre__unite { font-size: 13.5px; color: oklch(0.48 0.02 258); }
.offre--panel .offre__unite { color: oklch(0.78 0.015 258); }
.offre__note { font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.offre--panel .offre__note { color: oklch(0.7 0.02 258); }
.offre__liste { display: flex; flex-direction: column; gap: 9px; border-top: 1px solid var(--line-soft); padding-top: 16px; margin: 0; padding-left: 0; list-style: none; }
.offre--panel .offre__liste { border-top-color: var(--line-panel); }
.offre__item { display: flex; align-items: baseline; gap: 10px; font-size: 13.5px; line-height: 1.45; color: oklch(0.32 0.018 258); }
.offre--panel .offre__item { color: oklch(0.9 0.01 258); }
.offre__item::before {
  content: ''; width: 5px; height: 5px; border-radius: 999px;
  background: oklch(0.72 0.02 258); flex: none; transform: translateY(-2px);
}
.offre--panel .offre__item::before { background: oklch(0.6 0.05 258); }
.offre__cta { margin-top: auto; text-align: center; }

.acte {
  background: var(--bg-band);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.acte__tete { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
.acte__titre { font-size: 15px; font-weight: 600; }
.acte__note { font-size: 13px; color: oklch(0.48 0.02 258); }
.acte__grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.acte__item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
}
.acte__libelle { font-size: 13px; line-height: 1.35; }
.acte__prix { font-family: var(--mono); font-size: 12.5px; font-weight: 500; flex: none; }

/* --- Questions ---------------------------------------------------------- */

.questions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.questions__aside { display: flex; flex-direction: column; gap: 14px; }
.question { border-top: 1px solid oklch(0.91 0.008 258); padding: 24px 0; display: flex; flex-direction: column; gap: 10px; }
.question__q { font-size: 17px; font-weight: 600; letter-spacing: -0.005em; }
.question__a { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text-2); }

@media (min-width: 900px) {
  .questions__aside { position: sticky; top: 90px; }
}

/* --- Appel final -------------------------------------------------------- */

.final {
  display: flex; flex-direction: column; align-items: center;
  gap: 22px; text-align: center;
  padding: clamp(36px, 5vw, 64px) clamp(22px, 4vw, 48px);
}
.final__titre { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4.2vw, 48px); line-height: 1.04; color: oklch(0.98 0.005 258); max-width: 700px; }
.final__lead { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-on-panel-2); max-width: 560px; }
.final__actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 12px; padding-top: 6px; }

/* --- Pied --------------------------------------------------------------- */

.pied { border-top: 1px solid var(--line); }
.pied__grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 32px 40px;
  padding-top: 44px;
  padding-bottom: 44px;
}
.pied__colonne { display: flex; flex-direction: column; gap: 10px; }
.pied__titre { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.pied__colonne a { font-size: 13.5px; color: var(--text-2); }
.pied__pitch { margin: 0; font-size: 13.5px; line-height: 1.55; color: oklch(0.48 0.02 258); max-width: 300px; }
.pied__contact { font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.pied__bas {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px;
  border-top: 1px solid var(--line-soft);
  padding-top: 20px; padding-bottom: 40px;
  font-size: 12.5px; color: var(--text-3);
}
.pied__sep { color: oklch(0.78 0.01 258); }

/* --- Accessibilité ------------------------------------------------------ */

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.saut-contenu {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--bg-card);
  color: var(--text);
  padding: 12px 18px;
  border-radius: 0 0 9px 0;
  z-index: 100;
}
.saut-contenu:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ============================================================
   NAVIGATION MOBILE
   ============================================================

   La barre cachait `.entete__nav` sous 860 px sans rien proposer à la place :
   en dessous de cette largeur, tout le site était sans navigation — seuls
   « Se connecter » et l'essai restaient, et il fallait descendre jusqu'au pied
   de page pour atteindre un lien.

   Le bouton n'apparaît que là où la barre disparaît : sur grand écran les
   liens sont visibles, un burger ne servirait à rien.
   ============================================================ */

.entete__burger {
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg-card);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: none;
}

.entete__burger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.entete__burger-trait {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 160ms ease, opacity 160ms ease;
}

/* Ouvert, les deux traits se croisent : l'état du bouton dit ce qu'il fera. */
.entete__burger[aria-expanded="true"] .entete__burger-trait:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.entete__burger[aria-expanded="true"] .entete__burger-trait:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/*
  LE PANNEAU EST ACCROCHÉ À LA BARRE, PAS AU HAUT DU DOCUMENT.

  Posé dans le flux après l'en-tête, il s'ouvrait à sa place d'origine : après
  avoir défilé, le menu se dépliait hors de l'écran et poussait le contenu vers
  le bas sans qu'on le voie jamais.

  Il vit maintenant DANS l'en-tête collant, en position absolue juste sous la
  barre. Il suit donc la barre où qu'on soit dans la page.
*/
.menu-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100dvh - 100%);
  overflow-y: auto;
  border-bottom: 1px solid var(--line);
  background: var(--bg-card);
  box-shadow: 0 12px 24px oklch(0.2 0.015 258 / 12%);
}

.menu-mobile__liens {
  display: flex;
  flex-direction: column;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 6px var(--gut) 14px;
}

.menu-mobile__liens a {
  padding: 13px 0;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--line-soft);
}

.menu-mobile__liens a:last-child {
  border-bottom: none;
  font-weight: 550;
}

@media (max-width: 860px) {
  .entete__burger { display: flex; }
  .menu-mobile:not([hidden]) { display: block; }

  /*
    Le burger tient dans la barre, il ne passe pas à la ligne.

    `.entete__inner` autorise le retour à la ligne pour les liens ; une fois
    ceux-ci masqués, il ne reste que la marque, l'essai et le burger — trois
    éléments qui tiennent sur une ligne, à condition de le dire.
  */
  .entete__inner { flex-wrap: nowrap; }

  /* « Se connecter » est dans le menu : le garder ici serait un doublon qui
     mange la place du burger sur les petits écrans. */
  .entete__connexion { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .entete__burger-trait { transition: none; }
}

/* ==========================================================================
   BANDEAU D'ALERTE RÉGLEMENTAIRE

   Le rouge est réservé à ce bandeau, et à lui seul. Il annonce un ÉVÉNEMENT
   daté et vérifiable — deux décisions de la Commission nationale des
   sanctions — et non un argument commercial : employé pour vendre, il perd
   sa valeur de signal, et le jour où une vraie alerte arrive, plus personne
   ne la voit.

   La pastille pulse lentement et s'arrête pour qui a demandé moins de
   mouvement. Une animation rapide sur un fond rouge se remarque pour de
   mauvaises raisons.
   ========================================================================== */
.bandeau-alerte {
  position: relative;
  background: #dc2626;
  color: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.bandeau-alerte[hidden] { display: none; }

/*
  PLEINE LARGEUR, ET AUSSI FIN QUE POSSIBLE.

  Le bandeau ne passe PAS par `.shell` : un bandeau d'alerte borné à la
  largeur du contenu se lit comme un encart, pas comme une bande. Il occupe
  donc toute la fenêtre, avec ses propres marges latérales.

  La hauteur descend à 32 px. Un bandeau d'information doit se voir sans
  repousser la page : chaque pixel qu'il prend est pris au titre, qui est ce
  qu'on est venu lire.
*/
.bandeau-alerte__contenu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  /*
    La marge droite laisse la place à la croix, qui est sortie du flux.
    Sans elle, une phrase longue passerait dessous sur les écrans étroits.
  */
  padding: 6px 46px 6px 24px;
  min-height: 32px;
  width: 100%;
  max-width: none;
}

.bandeau-alerte__pastille {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  animation: bandeau-pulse 2.8s ease-in-out infinite;
}

@keyframes bandeau-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  .bandeau-alerte__pastille { animation: none; }
}

.bandeau-alerte__texte {
  margin: 0;
  /*
    PAS DE `flex: 1` : le texte ne doit plus pousser le bouton à l'autre bout.
    Les deux forment un groupe centré, et le texte s'arrête à sa longueur.
  */
  flex: 0 1 auto;
  min-width: 0;
  font-size: 13px;
  line-height: 1.35;
  color: #fff;
  /* Une seule ligne tant que la place le permet : deux lignes doublent la
     hauteur du bandeau, ce qu'on cherche justement à éviter. */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bandeau-alerte__texte strong { font-weight: 650; color: #fff; }

/* Le lien est le seul élément clair sur le rouge : c'est l'action. */
.bandeau-alerte__lien {
  flex: none;
  font-size: 12.5px;
  font-weight: 600;
  color: #dc2626;
  background: #fff;
  border-radius: 6px;
  padding: 5px 11px;
  text-decoration: none;
  white-space: nowrap;
}

.bandeau-alerte__lien:hover { background: #fef2f2; color: #b91c1c; }

.bandeau-alerte__lien:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/*
  LA CROIX RESTE À DROITE, ET SORT DU FLUX.

  Laissée dans le flux, elle décentrerait le groupe texte + bouton de sa
  propre largeur. Positionnée, elle ne participe plus au centrage.
*/
.bandeau-alerte__fermer {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border: none;
  background: none;
  color: #fff;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  border-radius: 5px;
  opacity: 0.75;
  padding: 0;
}

.bandeau-alerte__fermer:hover { opacity: 1; background: rgba(255, 255, 255, 0.15); }

.bandeau-alerte__fermer:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 1px;
  opacity: 1;
}

@media (max-width: 860px) {
  .bandeau-alerte__contenu { padding: 7px 40px 7px 16px; gap: 10px; }
  /*
    Sur mobile on préfère deux lignes à une phrase tronquée : « 210 000 €
    contre un réseau de manda… » ne dit plus rien.
  */
  .bandeau-alerte__texte {
    font-size: 12.5px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .bandeau-alerte__lien { font-size: 12px; padding: 5px 10px; }
}
