@charset "UTF-8";
/* ================================================================
   DOMEXIS — Direction v2
   « Le document technique » : grille stricte, annotations
   monospace, étiquette DPE comme motif structurant.
   ================================================================ */

/* ---------------- Jetons ---------------- */
:root {
  /* Fonds & encre — neutres à biais bleu, jamais un gris pur */
  --papier:      #f1f3f6;
  --papier-2:    #e7ebf1;
  --surface:     #ffffff;
  --encre:       #0e1621;
  --encre-2:     #4a5768;
  --encre-3:     #7c8899;
  --trait:       #d8dee7;
  --trait-fort:  #b9c3d0;

  /* Identité DOMEXIS conservée */
  --marine:      #1e3a5f;
  --marine-fonce:#102741;
  --marine-nuit: #0a1826;
  --or:          #b8943f;
  --or-clair:    #d4b368;

  /* Spectre DPE — réservé aux données, jamais décoratif */
  --dpe-a: #2e7d32;
  --dpe-b: #55a630;
  --dpe-c: #96c11f;
  --dpe-d: #ecd400;
  --dpe-e: #f0a02e;
  --dpe-f: #e2661f;
  --dpe-g: #c8102e;

  /* Sémantique */
  --requis:      #b3261e;
  --requis-fond: #fdf0ee;
  --selon:       #9a6700;
  --selon-fond:  #fdf7e6;
  --ok:          #1d6f42;
  --ok-fond:     #edf7f1;

  /* Rythme */
  --pas: 8px;
  --gouttiere: clamp(1.25rem, 4vw, 2.5rem);
  --largeur: 1240px;
  --prose: 66ch;

  --t-rapide: .16s cubic-bezier(.4,0,.2,1);
  --t-lent:   .4s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  background: var(--papier);
  color: var(--encre);
  font-family: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
/* Le reset global neutralise marges et remplissages, pas les bordures :
   sans cette règle, le fieldset conserve sa bordure « groove » native
   et la légende apparaît barrée. */
fieldset { border: 0; min-width: 0; }
legend { padding: 0; }

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

.enveloppe {
  width: 100%;
  max-width: var(--largeur);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

/* Lien d'évitement */
.evitement {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--marine);
  color: #fff;
  padding: .85rem 1.5rem;
  font-weight: 600;
}
.evitement:focus { left: 0; }

/* ---------------- Typographie ---------------- */
.mono {
  font-family: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
}

h1, h2, h3, h4 {
  font-family: Archivo, system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.022em;
  text-wrap: balance;
}

.titre-section {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  margin-bottom: .75rem;
}
.chapeau {
  color: var(--encre-2);
  max-width: var(--prose);
  font-size: 1.06rem;
}

/* En-tête de section : titre + trait */
.tete {
  margin-bottom: 2.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--encre);
}

/* ---------------- Boutons ---------------- */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.6rem;
  font-family: Archivo, sans-serif;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: -.01em;
  border: 2px solid transparent;
  border-radius: 2px;
  transition: background var(--t-rapide), color var(--t-rapide),
              border-color var(--t-rapide), transform var(--t-rapide);
  text-align: center;
}
.bouton:active { transform: translateY(1px); }
.bouton--or      { background: var(--or); color: var(--marine-nuit); border-color: var(--or); }
.bouton--or:hover{ background: var(--or-clair); border-color: var(--or-clair); }
.bouton--marine  { background: var(--marine); color: #fff; border-color: var(--marine); }
.bouton--marine:hover { background: var(--marine-fonce); border-color: var(--marine-fonce); }
.bouton--fantome { background: transparent; color: var(--encre); border-color: var(--trait-fort); }
.bouton--fantome:hover { border-color: var(--encre); background: var(--surface); }
.bouton--clair   { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.bouton--clair:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.bouton--large   { width: 100%; }

/* ================================================================
   EN-TÊTE
   ================================================================ */
.entete {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--marine-nuit);
  border-bottom: 2px solid var(--or);
}
.entete__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 88px;
}
/* Panneau du logo : le marine du logo se noie sur le fond de la barre.
   Plutot qu'une plaque rapportee, un aplat clair qui file jusqu'au bord de
   l'ecran et se termine en biais — la coupe oblique evite l'effet etiquette. */
.entete__inner { position: relative; }
.entete__logo {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: flex;
  align-items: center;
  /* 3.75rem : l'oblique passe a bonne distance du logo, y compris en bas ou
     elle se rapproche de 26px (demande du 9 oct. 2026 : « que le logo respire »). */
  padding-right: 3.75rem;
  /* Sans cela, l'en-tete comprime le bloc a l'etroit et l'image s'ecrase. */
  flex: none;
}
.entete__logo::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; right: 0;
  left: -50vw;                     /* deborde jusqu'au bord de la fenetre */
  background: linear-gradient(115deg, #ffffff 0%, #eef1f6 60%, #dde4ed 100%);
  clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 100%, 0 100%);
  z-index: -1;
}
.entete__logo img { height: 72px; width: auto; flex: none; }
/* Juste au-dessus du seuil du burger, le menu a besoin de ces 12px pour
   tenir sur une ligne. */
@media (max-width: 1100px) { .entete__logo { padding-right: 3rem; } }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  color: #c6d3e2;
  font-size: .92rem;
  font-weight: 600;
  padding: .55rem .9rem;
  border-radius: 2px;
  transition: color var(--t-rapide), background var(--t-rapide);
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }

.entete__tel {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--or-clair);
  font-family: Archivo, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: .5rem .9rem;
  border: 1.5px solid rgba(184,148,63,.45);
  border-radius: 2px;
  transition: background var(--t-rapide), border-color var(--t-rapide), color var(--t-rapide);
  white-space: nowrap;
}
.entete__tel:hover { background: var(--or); color: var(--marine-nuit); border-color: var(--or); }

/* Telephone et e-mail forment un bloc : sans ce groupe, le space-between
   de l'en-tete les ecarterait l'un de l'autre. */
.entete__contact { display: flex; align-items: center; gap: .5rem; }

/* Bouton e-mail : meme traitement que le telephone, mais sans libelle —
   au seuil de bascule, la barre ne dispose plus que d'une centaine de
   pixels de marge. L'intitule est porte par aria-label et title. */
.entete__mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: none;
  color: var(--or-clair);
  border: 1.5px solid rgba(184,148,63,.45);
  border-radius: 2px;
  transition: background var(--t-rapide), border-color var(--t-rapide), color var(--t-rapide);
}
.entete__mail:hover { background: var(--or); color: var(--marine-nuit); border-color: var(--or); }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span {
  display: block; width: 26px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform var(--t-rapide), opacity var(--t-rapide);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Bascule vers le menu burger. Avec ses cinq liens, le logo et le bloc
   contact, l'en-tete demande 990px pour tenir sur une ligne : le seuil
   est place au-dessus. A garder identique au matchMedia de js/v2.js. */
@media (max-width: 1024px) {
  .burger { display: flex; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--marine-fonce);
    border-bottom: 2px solid var(--or);
    padding: .75rem;
    gap: .15rem;
  }
  .nav[hidden] { display: none; }
  .nav a { padding: .9rem 1rem; font-size: 1rem; }
  .entete__tel { font-size: .9rem; padding: .45rem .7rem; }
  .entete__mail { width: 38px; height: 38px; }
  /* Sur petit ecran, les trois blocs frolent le bord : on resserre, et
     le logo revient a une taille raisonnable — un telephone n'a pas
     besoin des 72px de l'affichage bureau. */
  .entete__inner { min-height: 76px; gap: .75rem; }
  .entete__logo { padding-right: 2rem; }
  .entete__logo img { height: 62px; }
  .entete__logo::before { clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%); }
}
/* Telephone : la barre est pleine, le pan ne peut pas s'elargir sans
   pousser le bouton mail hors de l'ecran. L'oblique se redresse a la place,
   pour que le bas du logo ne touche plus la coupe. */
@media (max-width: 420px) {
  .entete__logo { padding-right: 1.25rem; }
  .entete__logo::before { clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  background: var(--marine-nuit);
  color: #fff;
  padding-block: clamp(3rem, 7vw, 5.5rem);
  position: relative;
  overflow: hidden;
}
/* Trame technique discrète */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

.hero__ref { color: var(--or-clair); margin-bottom: 1.25rem; display: block; }
.hero h1 {
  font-size: clamp(2.15rem, 5.4vw, 3.9rem);
  margin-bottom: 1.35rem;
}
.hero h1 em { font-style: normal; color: var(--or-clair); }
.hero__intro {
  color: #b4c4d6;
  font-size: clamp(1.02rem, 1.6vw, 1.14rem);
  max-width: 54ch;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ---- Étiquette DPE ---- */
.etiquette {
  background: var(--surface);
  border-radius: 3px;
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.42);
}
.etiquette__tete {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: .85rem;
  margin-bottom: 1rem;
  border-bottom: 1.5px solid var(--encre);
}
.etiquette__titre {
  font-family: Archivo, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--encre);
}
.etiquette__note { color: var(--encre-3); }
/* Énergie et climat côte à côte ; l'une sous l'autre sur petit écran */
.etiquette__paire { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.etiquette__paire .etiquette__tete { flex-direction: column; align-items: flex-start; gap: .15rem; padding-bottom: .6rem; margin-bottom: .8rem; }
.etiquette__paire .etiquette__titre { font-size: .95rem; }
.etiquette__paire .etiquette__note { font-size: .72rem; text-transform: none; letter-spacing: 0; }
@media (max-width: 340px) { .etiquette__paire { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .etiquette { padding: 1.1rem 1rem 1rem; } .etiquette__paire { gap: .8rem; } }
.etiquette svg { width: 100%; height: auto; display: block; }
.etiquette__pied {
  margin-top: .9rem;
  padding-top: .8rem;
  border-top: 1px solid var(--trait);
  color: var(--encre-3);
  font-size: .82rem;
  line-height: 1.45;
}

/* Animation d'entrée des barres — depuis un état visible */
.barre-dpe { transform-origin: left center; }
@media (prefers-reduced-motion: no-preference) {
  .barre-dpe { animation: barre-entre .55s cubic-bezier(.22,1,.36,1) backwards; }
  @keyframes barre-entre {
    from { transform: scaleX(.55); opacity: .3; }
    to   { transform: scaleX(1);   opacity: 1; }
  }
}

/* ================================================================
   SECTIONS
   ================================================================ */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--papier  { background: var(--papier); }
.section--surface { background: var(--surface); border-block: 1px solid var(--trait); }
.section--nuit    { background: var(--marine-nuit); color: #fff; }
.section--nuit .titre-section { color: #fff; }
.section--nuit .chapeau { color: #b4c4d6; }
.section--nuit .tete { border-bottom-color: rgba(255,255,255,.3); }

/* ================================================================
   OUTIL — De quels diagnostics ai-je besoin ?
   ================================================================ */
.outil {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--trait);
  border-top: 3px solid var(--or);
  border-radius: 3px;
  overflow: hidden;
}
@media (max-width: 880px) { .outil { grid-template-columns: 1fr; } }

.outil__saisie {
  padding: 1.75rem;
  background: var(--papier);
  border-right: 1px solid var(--trait);
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}
@media (max-width: 880px) {
  .outil__saisie { border-right: none; border-bottom: 1px solid var(--trait); }
}

.champ { display: flex; flex-direction: column; gap: .5rem; }
/* Le display:flex ci-dessus l'emporte sur la regle [hidden] du navigateur :
   sans cette ligne, un champ masque par JavaScript resterait visible. */
.champ[hidden] { display: none; }
/* Question qui decoule de la reponse precedente : le decalage et le filet
   montrent la dependance. */
.champ--dependant {
  margin-left: 1.25rem;
  padding-left: 1rem;
  border-left: 2px solid var(--trait);
}
.champ__intitule {
  font-family: Archivo, sans-serif;
  font-weight: 700;
  font-size: .88rem;
  color: var(--encre);
}
.champ__aide { font-size: .8rem; color: var(--encre-3); line-height: 1.45; }

/* Groupe de choix segmenté */
.choix { display: flex; gap: 0; border: 1.5px solid var(--trait-fort); border-radius: 2px; overflow: hidden; }
.choix input { position: absolute; opacity: 0; pointer-events: none; }
.choix label {
  flex: 1;
  text-align: center;
  padding: .65rem .5rem;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--surface);
  color: var(--encre-2);
  transition: background var(--t-rapide), color var(--t-rapide);
  border-right: 1.5px solid var(--trait-fort);
  user-select: none;
}
.choix label:last-of-type { border-right: none; }
.choix label:hover { background: var(--papier-2); }
.choix input:checked + label { background: var(--marine); color: #fff; }
.choix input:focus-visible + label { outline: 3px solid var(--or); outline-offset: -3px; }

.saisie-nombre {
  width: 100%;
  padding: .7rem .9rem;
  border: 1.5px solid var(--trait-fort);
  border-radius: 2px;
  background: var(--surface);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  transition: border-color var(--t-rapide), box-shadow var(--t-rapide);
}
.saisie-nombre:focus {
  outline: none;
  border-color: var(--marine);
  box-shadow: 0 0 0 3px rgba(30,58,95,.14);
}
.saisie-nombre[aria-invalid="true"] { border-color: var(--requis); }

/* --- Résultats --- */
.outil__sortie { padding: 1.75rem; display: flex; flex-direction: column; min-width: 0; }
.outil__bilan {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1.5px solid var(--encre);
}
.outil__compte {
  font-family: Archivo, sans-serif;
  font-weight: 800;
  font-size: 2.1rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
/* Taille intermédiaire entre le nombre (2.1rem) et le texte courant :
   la phrase accompagne le chiffre sans lui disputer la vedette. */
.outil__compte-txt {
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--encre);
}

.liste-diag { list-style: none; display: flex; flex-direction: column; gap: 0; }
.diag {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .3rem .9rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--trait);
  align-items: start;
}
.diag:last-child { border-bottom: none; }
.diag__etat {
  grid-row: span 2;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  margin-top: .45rem;
}
.diag__etat--requis { background: var(--requis); }
.diag__etat--selon  { background: var(--selon); }
.diag__nom {
  font-family: Archivo, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--encre);
  min-width: 0;
}
.diag__motif { grid-column: 2; font-size: .88rem; color: var(--encre-2); line-height: 1.5; }

/* Diagnostic requis mais confié à un confrère : information distincte
   de l'obligation réglementaire, donc traitement visuel distinct. */
.diag--confrere .diag__nom { color: var(--encre-2); }
.diag--confrere .diag__etat { background: transparent; box-shadow: inset 0 0 0 2px var(--trait-fort); }
.diag__oriente {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  margin-top: .45rem;
  padding: .45rem .7rem;
  background: var(--papier-2);
  border-left: 2px solid var(--trait-fort);
  border-radius: 0 2px 2px 0;
  font-size: .82rem;
  color: var(--encre-2);
  line-height: 1.45;
}
.diag__oriente svg { flex: none; margin-top: .22rem; color: var(--encre-3); }
.diag__meta {
  grid-row: span 2;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  align-items: flex-end;
}
.etiq {
  display: inline-block;
  padding: .15rem .5rem;
  border-radius: 2px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.etiq--requis { background: var(--requis-fond); color: var(--requis); }
.etiq--selon  { background: var(--selon-fond);  color: var(--selon); }
/* La mention est explicite (« Valable 3 ans en vente… ») donc plus longue :
   on la laisse passer à la ligne plutôt que d'élargir la colonne. */
.diag__validite {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .72rem;
  color: var(--encre-3);
  line-height: 1.45;
  max-width: 15ch;
  text-align: right;
}
@media (max-width: 560px) {
  .diag { grid-template-columns: auto 1fr; }
  .diag__meta { grid-row: auto; grid-column: 2; flex-direction: row; align-items: center; justify-content: flex-start; }
}

/* Mention hors liste : dépend d'un résultat encore inconnu */
.info-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .25rem .9rem;
  align-items: baseline;
  margin-top: 1.1rem;
  padding: .9rem 1.1rem;
  background: var(--papier);
  border: 1px dashed var(--trait-fort);
  border-radius: 2px;
  font-size: .88rem;
  color: var(--encre-2);
  line-height: 1.55;
}
.info-note__cle { color: var(--or); white-space: nowrap; }
.info-note strong { color: var(--encre); font-weight: 600; }
@media (max-width: 560px) {
  .info-note { grid-template-columns: 1fr; }
}

.outil__pied {
  margin-top: auto;
  padding-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.outil__avert {
  font-size: .8rem;
  color: var(--encre-3);
  line-height: 1.5;
  max-width: 46ch;
}

/* ================================================================
   INDEX DES DIAGNOSTICS
   ================================================================ */
.index-diag { border-top: 2px solid var(--encre); }
.ligne {
  display: grid;
  grid-template-columns: 3.25rem 1fr 1.5fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.35rem .5rem;
  border-bottom: 1px solid var(--trait);
  transition: background var(--t-rapide), padding-left var(--t-rapide);
}
.ligne:hover { background: var(--surface); padding-left: 1rem; }
.ligne__ref { color: var(--encre-3); font-variant-numeric: tabular-nums; }
/* Nom et sous-titre s'empilent : sans « block », les deux <span> restent
   sur la même ligne et le libellé se colle à son intitulé complet. */
.ligne__nom { display: block; font-family: Archivo, sans-serif; font-weight: 700; font-size: 1.12rem; }
.ligne__sous { display: block; font-size: .84rem; color: var(--encre-3); margin-top: .1rem; line-height: 1.4; }
.ligne__cond { font-size: .92rem; color: var(--encre-2); }
.ligne__fleche { color: var(--or); font-size: 1.3rem; transition: transform var(--t-rapide); }
.ligne:hover .ligne__fleche { transform: translateX(5px); }
/* Prestations sans page dédiée : pas de flèche, pas d'effet de survol
   qui laisserait croire à un lien. */
.ligne--sansfleche { cursor: default; }
.ligne--sansfleche:hover { background: transparent; padding-left: .5rem; }

.note-confrere {
  margin-top: 2rem;
  padding: 1.15rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--trait);
  border-left: 3px solid var(--trait-fort);
  border-radius: 0 2px 2px 0;
  font-size: .92rem;
  color: var(--encre-2);
  line-height: 1.6;
  max-width: 78ch;
}
.note-confrere strong { color: var(--encre); }
@media (max-width: 820px) {
  .ligne { grid-template-columns: 2.5rem 1fr auto; gap: .35rem 1rem; padding-block: 1.15rem; }
  .ligne__ref { grid-row: span 2; align-self: start; margin-top: .25rem; }
  .ligne__cond { grid-column: 2; }
  .ligne__fleche { grid-row: span 2; }
}

/* ================================================================
   BANDEAU DÉFILANT DES DIAGNOSTICS
   ================================================================ */
.bandeau { position: relative; }

/* Le défilement passe par la position de scroll du conteneur, et non par
   une animation CSS : le glissement au doigt fonctionne alors nativement,
   et les flèches peuvent reprendre la main sans conflit. */
.bandeau__piste-masque {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Estompe les deux bords : les vignettes entrent et sortent en fondu
     au lieu d'être tranchées net. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.bandeau__piste-masque::-webkit-scrollbar { display: none; }

.bandeau__piste {
  display: flex;
  gap: 1rem;
  width: max-content;
}

/* --- Vignette --- */
.vignette {
  position: relative;
  flex: none;
  width: 300px;
  height: 220px;
  border-radius: 3px;
  overflow: hidden;
  display: block;
  background: var(--marine-nuit);
  border: 1px solid var(--trait);
  transition: transform var(--t-rapide), box-shadow var(--t-rapide);
}
.vignette:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(14,22,33,.22); }
.vignette__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-lent);
}
.vignette:hover .vignette__img { transform: scale(1.05); }

/* Sans photo, la vignette reste une tuile pleine à la charte : c'est un
   parti pris assumé, pas une image manquante. */
.vignette--sans-photo::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 26px 26px;
}
.vignette__voile {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,24,38,.92) 12%, rgba(10,24,38,.35) 55%, rgba(10,24,38,.1) 100%);
}
.vignette--sans-photo .vignette__voile { background: none; }

.vignette__texte {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.vignette__nom {
  font-family: Archivo, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  line-height: 1.15;
}
.vignette__sous {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .66rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--or-clair);
  /* Deux lignes reservees d'office : le bloc etant cale sur le bas de la
     tuile, sans cette hauteur fixe un sous-titre long remonte le nom et
     les titres ne s'alignent plus d'une vignette a l'autre. */
  line-height: 1.4;
  min-height: 2.8em;
}

/* --- Flèches de défilement manuel --- */
.bandeau__fleche {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--trait-fort);
  color: var(--encre);
  box-shadow: 0 4px 16px rgba(14,22,33,.16);
  transition: background var(--t-rapide), border-color var(--t-rapide),
              color var(--t-rapide), opacity var(--t-rapide);
}
.bandeau__fleche:hover {
  background: var(--marine-nuit);
  border-color: var(--marine-nuit);
  color: #fff;
}
.bandeau__fleche--gauche { left: -14px; }
.bandeau__fleche--droite { right: -14px; }
.bandeau__fleche svg { display: block; }

@media (max-width: 760px) {
  /* Sur mobile le glissement au doigt suffit ; les flèches empiéteraient
     sur les vignettes, déjà étroites. */
  .bandeau__fleche { display: none; }
}

/* ================================================================
   PROCESSUS
   ================================================================ */
.jalons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.14);
  list-style: none;
}
@media (max-width: 900px) { .jalons { grid-template-columns: repeat(2, 1fr); } }
.jalons--trois { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .jalons--trois { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .jalons { grid-template-columns: 1fr; } }
.jalon {
  background: var(--marine-nuit);
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.jalon__ref { color: var(--or-clair); }
.jalon__titre { font-family: Archivo, sans-serif; font-weight: 700; font-size: 1.05rem; color: #fff; }
.jalon__txt { font-size: .9rem; color: #a8bacd; line-height: 1.55; }
.jalon__duree {
  margin-top: auto;
  padding-top: .6rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .72rem;
  color: var(--or-clair);
  letter-spacing: .05em;
}

/* ================================================================
   DEVIS
   ================================================================ */
.devis { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .devis { grid-template-columns: 1fr; } }

.devis__coord { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.devis__coord li { display: flex; flex-direction: column; gap: .2rem; }
.devis__coord .mono { color: var(--or); }
.devis__coord a, .devis__coord span { font-family: Archivo, sans-serif; font-weight: 700; font-size: 1.08rem; }
.devis__coord a { transition: color var(--t-rapide); }
.devis__coord a:hover { color: var(--or); }

.formulaire {
  background: var(--surface);
  border: 1px solid var(--trait);
  border-top: 3px solid var(--or);
  border-radius: 3px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.rangee { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 560px) { .rangee { grid-template-columns: 1fr; } }

.champ__label {
  font-family: Archivo, sans-serif;
  font-weight: 700;
  font-size: .84rem;
  color: var(--encre);
  display: flex;
  gap: .3rem;
}
.champ__label span { color: var(--requis); }
.saisie {
  width: 100%;
  padding: .75rem .95rem;
  border: 1.5px solid var(--trait-fort);
  border-radius: 2px;
  background: var(--surface);
  font-size: .95rem;
  transition: border-color var(--t-rapide), box-shadow var(--t-rapide);
}
.saisie:focus {
  outline: none;
  border-color: var(--marine);
  box-shadow: 0 0 0 3px rgba(30,58,95,.14);
}
.saisie[aria-invalid="true"] { border-color: var(--requis); background: var(--requis-fond); }
textarea.saisie { resize: vertical; min-height: 92px; }

.erreur { font-size: .8rem; color: var(--requis); font-weight: 600; min-height: 1.1rem; }
.formulaire__note {
  margin: -.35rem 0 0;
  font-size: .82rem;
  color: var(--encre-3);
  line-height: 1.55;
  text-align: center;
}
.alerte { padding: .9rem 1.15rem; border-radius: 2px; font-size: .9rem; font-weight: 600; }
.alerte--ok { background: var(--ok-fond); color: var(--ok); border: 1px solid #bfe0cd; }
.alerte--ko { background: var(--requis-fond); color: var(--requis); border: 1px solid #f3c9c4; }

/* Pot de miel */
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

/* ================================================================
   PIED DE PAGE
   ================================================================ */
.pied { background: var(--marine-nuit); color: #93a6ba; padding-block: 2.5rem 1.5rem; border-top: 2px solid var(--or); }
.pied__grille { display: grid; grid-template-columns: 1.7fr 1fr 1.1fr; gap: 2.5rem; padding-bottom: 1.75rem; }
/* Trois colonnes demandent environ 1020px : en dessous, le titre des
   diagnostics passait sur deux lignes et la liste descendait sous le pan.
   Meme seuil que le menu burger. */
@media (max-width: 1024px) { .pied__grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pied__grille { grid-template-columns: 1fr; } }
/* Les deux listes sont centrees entre le pan clair et le bord droit du
   contenu : meme vide a gauche, mesure a la pointe haute de l'oblique, et a
   droite. Le premier rail reproduit exactement l'ancienne colonne 1.7fr,
   le pan garde donc sa largeur. Les listes occupent des rails a leur taille ;
   la place restante se partage entre les deux bords (1fr chacun) et l'ecart
   central (2.6fr, soit environ 7rem sur grand ecran). Sur ecran etroit, tout
   se resserre ensemble sans forcer les diagnostics a passer a la ligne. */
@media (min-width: 1025px) {
  .pied__grille {
    grid-template-columns: calc((100% - 5rem) * 1.7 / 3.8) minmax(1rem, 1fr) auto minmax(2.5rem, 2.6fr) auto minmax(1rem, 1fr);
    column-gap: 0;
  }
  /* 1.5rem : le debord du pan au-dela de sa colonne (right: -1.5rem plus bas). */
  .pied__grille > div:nth-child(2) { grid-column: 3; margin-left: 1.5rem; }
  .pied__grille > div:nth-child(3) { grid-column: 5; }
}
/* Marque du pied : un large pan clair occupe la gauche du pied sur toute
   sa hauteur et se termine par une longue oblique. Le logo garde ses
   couleurs d'origine, le texte de cette colonne passe en encre sombre.
   Les debordements negatifs reprennent les rembourrages de .pied et de
   .pied__grille pour aller d'un bord a l'autre. */
.pied__grille > div:first-child {
  position: relative;
  /* Sans cela, la colonne s'etire a la hauteur de la plus haute (les sept
     diagnostics) et le pan traine un vide sous le paragraphe. */
  align-self: start;
  /* Une seule valeur pour le vide au-dessus des pointes du M et celui sous
     le texte : les deux ne peuvent plus diverger. */
  --pied-marge: 1.25rem;
  padding-top: var(--pied-marge);
  /* Largeur commune au logo et au paragraphe : c'est elle qui rend le
     debord symetrique de part et d'autre du logo. */
  --pied-marque: 260px;
}
.pied__grille > div:first-child::before {
  content: '';
  position: absolute;
  /* Le pan demarre sous le haut du pied : une bande du marine traverse
     ainsi toute la largeur avant lui, d'un bord a l'autre. */
  top: 0;
  bottom: calc(-1 * var(--pied-marge));
  left: -50vw;
  right: -1.5rem;
  /* Exactement le degrade du panneau de l'en-tete, meme angle. */
  background: linear-gradient(115deg, #ffffff 0%, #eef1f6 60%, #dde4ed 100%);
  border-top: 2px solid var(--or);
  border-bottom: 2px solid var(--or);
  clip-path: polygon(0 0, 100% 0, calc(100% - 140px) 100%, 0 100%);
  z-index: 0;
}
.pied__grille > div:first-child > * { position: relative; z-index: 1; }
/* Le logo est centre sur la largeur du paragraphe, et non cale sur son bord
   gauche : la phrase deborde alors autant a gauche qu'a droite. */
.pied__grille > div:first-child p {
  color: var(--encre-2);
  width: 100%;
  max-width: var(--pied-marque);
  text-align: center;
}

.pied__marque {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: var(--pied-marque);
  margin-bottom: 1.1rem;
}
.pied__logo { height: 140px; width: auto; flex: none; }
.pied p { font-size: .88rem; line-height: 1.6; }
.pied__titre { color: var(--or-clair); margin-bottom: 1rem; display: block; }
/* L'interligne est resserre pour que la liste des diagnostics tienne
   dans la hauteur du pan clair, sans deborder sous sa limite basse. */
.pied__liens { list-style: none; display: flex; flex-direction: column; gap: .4rem; line-height: 1.35; }
.pied__liens a { font-size: .88rem; transition: color var(--t-rapide); }
.pied__liens a:hover { color: #fff; }

/* Colonne Contact : le telephone et le mail, sur lesquels on clique, priment
   sur l'adresse postale, qui n'est qu'une information. */
.pied__grille > div:last-child .pied__liens a { font-size: 1rem; }
.pied__grille > div:last-child .pied__liens li:last-child { font-size: .88rem; }

/* Icones du contact : alignees sur la premiere ligne, y compris pour
   l'adresse qui en occupe deux. */
.pied__grille > div:last-child .pied__liens li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
}
.pied__icone {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: .22em;
  color: var(--or-clair);
}
.pied__bas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: .8rem;
}
.pied__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.pied__legal a:hover { color: #fff; }
.encadre__vitrophanie { max-width: 120px; margin-top: 1.25rem; }

/* ================================================================
   PAGES INTÉRIEURES
   ================================================================ */
.page-tete {
  background: var(--marine-nuit);
  color: #fff;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.page-tete::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.page-tete > * { position: relative; }
.page-tete h1 {
  font-size: clamp(1.9rem, 4.4vw, 3.15rem);
  margin-bottom: .85rem;
  max-width: 20ch;
}
.page-tete h1 em { font-style: normal; color: var(--or-clair); }
.page-tete__sous { color: #b4c4d6; max-width: 58ch; font-size: 1.05rem; }

/* En-tête à deux colonnes sur les pages qui disposent d'une illustration.
   Le liseré doré reprend le traitement de l'encadré et de la fiche. */
.page-tete__grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(230px, 28vw, 340px);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}
.page-tete__img {
  width: 100%;
  aspect-ratio: 600 / 440;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.14);
  border-top: 3px solid var(--or);
  border-radius: 0 0 2px 2px;
}
@media (max-width: 800px) {
  .page-tete__grille { grid-template-columns: 1fr; gap: 1.75rem; }
  .page-tete__img { max-width: 380px; }
}

.fil {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
  color: #8fa3b8;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.fil a { transition: color var(--t-rapide); }
.fil a:hover { color: var(--or-clair); }
.fil span[aria-current] { color: #fff; }

/* Corps : article + colonne latérale */
.corps { padding-block: clamp(3rem, 6vw, 4.5rem); background: var(--papier); }
.corps__grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
/* minmax(0, …) : sans lui, le tableau des mesurages élargit toute la page au
   lieu de défiler dans son cadre. */
@media (max-width: 940px) { .corps__grille { grid-template-columns: minmax(0, 1fr); } }

/* --- Prose --- */
.article { max-width: 72ch; }
.article > p, .article > ul, .article > ol { margin-bottom: 1.15rem; }
.article__chapo {
  font-size: 1.14rem;
  line-height: 1.7;
  color: var(--encre);
  padding-bottom: 1.75rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--encre);
}
.article h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  color: var(--encre);
  margin: 2.75rem 0 .85rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--trait);
}
.article h2:first-of-type { border-top: none; padding-top: 0; }
.article h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--marine);
  margin: 1.85rem 0 .5rem;
}
.article p { color: var(--encre-2); line-height: 1.72; }
.article strong { color: var(--encre); font-weight: 600; }
.article a:not(.bouton) {
  color: var(--marine);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color var(--t-rapide);
}
.article a:not(.bouton):hover { color: var(--or); }

.article ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
/* La puce est positionnée hors flux, et non posée dans une colonne de
   grille : sinon un <li> contenant « <strong>Titre</strong> puis du texte »
   voit ce texte compté comme un troisième élément de grille, renvoyé à la
   ligne dans la colonne étroite de la puce — un mot par ligne. */
.article ul li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--encre-2);
  line-height: 1.65;
}
.article ul li::before {
  content: '';
  position: absolute;
  left: .28rem;
  top: .62rem;
  width: .4rem; height: .4rem;
  border-radius: 50%;
  background: var(--or);
}

/* Encadré d'avertissement */
.avert {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .9rem;
  background: var(--requis-fond);
  border: 1px solid #f3c9c4;
  border-left: 3px solid var(--requis);
  border-radius: 0 2px 2px 0;
  padding: 1.1rem 1.35rem;
  margin: 1.75rem 0;
  color: #7f1d17;
  font-size: .94rem;
  line-height: 1.6;
}
.avert svg { flex: none; margin-top: .18rem; color: var(--requis); }
.avert strong { color: #5f1511; }

/* Tableau comparatif */
.tableau-enveloppe { overflow-x: auto; margin: 1.75rem 0; border: 1px solid var(--trait); border-radius: 2px; }
.article p.source { margin-top: -1rem; font-size: .85rem; color: var(--encre-3); }
.article ul.communes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.5rem; }
@media (max-width: 520px) { .article ul.communes { grid-template-columns: 1fr; } }
.tableau { width: 100%; border-collapse: collapse; background: var(--surface); font-size: .92rem; min-width: 460px; }
.tableau th, .tableau td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--trait); vertical-align: top; }
.tableau thead th {
  background: var(--marine-nuit);
  color: #fff;
  font-family: Archivo, sans-serif;
  font-weight: 700;
  font-size: .85rem;
  border-bottom: none;
}
.tableau tbody th { font-weight: 600; color: var(--encre); width: 30%; }
.tableau td { color: var(--encre-2); }
.tableau tbody tr:last-child th, .tableau tbody tr:last-child td { border-bottom: none; }
@media (max-width: 520px) {
  .tableau { min-width: 0; font-size: .84rem; }
  .tableau th, .tableau td { padding: .65rem .55rem; }
  .tableau tbody th { width: 28%; }
}

/* --- Colonne latérale --- */
/* Le decalage suit la hauteur de l'en-tete collante (90px) plus 22px de
   respiration : si la barre change de hauteur, ajuster cette valeur,
   sinon la fiche passe sous l'en-tete au defilement. */
.flanc { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 1rem; }
.encart {
  background: var(--marine-nuit);
  color: #fff;
  border-top: 3px solid var(--or);
  border-radius: 0 0 2px 2px;
  padding: 1.75rem;
}
.encart__cle { color: var(--or-clair); display: block; margin-bottom: .6rem; }
.encart h2 { font-size: 1.25rem; color: #fff; margin-bottom: .7rem; }
.encart p { font-size: .92rem; color: #a8bacd; line-height: 1.6; margin-bottom: 1.35rem; }
.encart .bouton { width: 100%; }
.encart__liste { list-style: none; margin-top: 1.35rem; display: flex; flex-direction: column; gap: .55rem; }
.encart__liste li {
  display: grid; grid-template-columns: 1rem 1fr; gap: .6rem;
  font-size: .88rem; color: #a8bacd; align-items: start;
}
.encart__liste li::before { content: '✓'; color: var(--or-clair); font-weight: 700; }



/* --- Étapes numérotées (page méthode) --- */
.article .etapes {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: etape;
}
.article .etape {
  display: grid;
  grid-template-columns: 2.85rem 1fr;
  gap: 0 1.35rem;
  padding: 0 0 2rem;
  position: relative;
  counter-increment: etape;
}
.article .etape::before { content: none; }
.article .etape:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 1.42rem;
  top: 3.15rem;
  bottom: .15rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--or), var(--trait));
  transform: translateX(-1px);
}
.etape__num {
  width: 2.85rem; height: 2.85rem;
  border-radius: 50%;
  background: var(--marine-nuit);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: Archivo, sans-serif;
  font-weight: 800; font-size: 1.05rem;
  border: 2px solid var(--or);
  position: relative; z-index: 1;
}
.etape__num::after { content: counter(etape); }
.etape__body { padding-top: .3rem; min-width: 0; }
/* Le reset global supprime les marges : sans cette regle, les paragraphes
   d'une meme etape se suivent sans respiration. */
.etape__body p + p { margin-top: .85rem; }
.etape__titre {
  font-family: Archivo, sans-serif;
  font-weight: 700; font-size: 1.12rem;
  color: var(--encre); margin: 0 0 .45rem;
}
.etape__duree {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .68rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--marine); background: #dbe6f2;
  border-radius: 2px; padding: .22rem .6rem;
  margin-bottom: .6rem;
}
@media (max-width: 560px) {
  .article .etape { grid-template-columns: 2.25rem 1fr; gap: 0 1rem; }
  .etape__num { width: 2.25rem; height: 2.25rem; font-size: .9rem; }
  .article .etape:not(:last-child)::after { left: 1.12rem; top: 2.55rem; }
}

/* --- Liste de préparation --- */
.prep {
  background: var(--surface);
  border: 1px solid var(--trait);
  border-left: 3px solid var(--or);
  border-radius: 0 2px 2px 0;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
}
.prep__titre {
  font-family: Archivo, sans-serif;
  font-weight: 700; font-size: 1rem;
  color: var(--encre); margin: 0 0 1rem;
}
.article .prep__liste {
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: .7rem 1.5rem;
}
@media (max-width: 640px) { .article .prep__liste { grid-template-columns: 1fr; } }
.article .prep__liste li {
  padding-left: 1.5rem;
  font-size: .9rem;
}
.article .prep__liste li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .42rem;
  width: .6rem; height: .6rem;
  border-radius: 2px;
  background: transparent;
  border: 2px solid var(--or);
}
.prep__note {
  margin: 1.15rem 0 0 !important;
  font-size: .87rem;
  color: var(--encre-3);
  font-style: italic;
  line-height: 1.55;
}

/* --- Garanties vérifiables --- */
.article .garanties {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .85rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 760px) { .article .garanties { grid-template-columns: 1fr; } }
.article .garantie {
  display: flex; flex-direction: column; gap: .3rem;
  background: var(--surface);
  border: 1px solid var(--trait);
  border-top: 3px solid var(--or);
  border-radius: 0 0 2px 2px;
  padding: 1.15rem 1.25rem;
}
.article .garantie::before { content: none; }
.garantie__label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .66rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--or);
}
.garantie__valeur {
  font-family: Archivo, sans-serif;
  font-weight: 700; font-size: .98rem;
  color: var(--encre); line-height: 1.3;
}
.garantie__detail { font-size: .84rem; color: var(--encre-2); line-height: 1.5; }

/* --- Encadré neutre (rétractation, dates de mise à jour) --- */
.encadre {
  background: var(--surface);
  border: 1px solid var(--trait);
  border-left: 3px solid var(--or);
  border-radius: 0 2px 2px 0;
  padding: 1.35rem 1.6rem;
  margin: 1.75rem 0;
}
.encadre p { margin: .35rem 0 !important; font-size: .92rem; }
.encadre p:first-child { margin-top: 0 !important; }
.encadre p:last-child { margin-bottom: 0 !important; }

/* Marqueur d'article (pages juridiques) */
.cgvi-tag {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .66rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  background: #dbe6f2; color: var(--marine);
  padding: .18rem .5rem; border-radius: 2px;
  margin-left: .5rem; vertical-align: middle;
}

/* Ajout du 4 oct. 2026 : la liste « a preparer » est scindee en deux
   (a envoyer / le jour du passage) ; le second titre a besoin d'air. */
.prep__liste + .prep__titre { margin-top: 1.5rem; }

/* ================================================================
   BARRE D'ACTION MOBILE
   ================================================================ */
.barre-mobile {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  display: none;
  background: var(--marine-nuit);
  border-top: 2px solid var(--or);
  padding: .6rem;
  gap: .6rem;
  box-shadow: 0 -6px 24px rgba(0,0,0,.25);
}
.barre-mobile .bouton { flex: 1; padding: .8rem 1rem; font-size: .9rem; }
@media (max-width: 760px) {
  .barre-mobile { display: flex; }
  body { padding-bottom: 76px; }
}
