/* ==========================================================================
   secu37.fr — feuille de style unique
   « Loire claire » (variante 12, design/variantes/) : fond crème, grands arrondis,
   boutons en pilule, texte aligné à gauche, petits surtitres en capitales, photo
   d'Amboise en grand avec sa carte « 10 ans », sections en îlots, portrait façon
   tirage. Couleurs grenat et argent des imprimés (carte de visite, flyer) : le
   grand « 904 » argent sur un bandeau grenat parcouru de fines vagues (la Loire
   du logo).
   Aucune ressource externe, aucun style en ligne (la CSP n'autorise que
   style-src 'self').
   Thème sombre : suit le réglage de l'appareil (prefers-color-scheme), sauf si le
   visiteur a choisi un thème avec le bouton de l'en-tête (attribut data-theme posé
   sur <html> par /assets/js/site.js, choix gardé le temps de la visite).
   Contrastes vérifiés par calcul dans les deux thèmes : tout texte ≥ 4,5:1.
   ========================================================================== */

/* Polices — Public Sans (SIL OFL 1.1, voir /assets/fonts/OFL.txt) ---------- */
@font-face {
  font-family: "Public Sans";
  src: url("/assets/fonts/public-sans-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/assets/fonts/public-sans-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/assets/fonts/public-sans-800.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}

/* Variables : thème clair ------------------------------------------------------ */
:root {
  color-scheme: light dark;

  /* Marque (identiques dans les deux thèmes) */
  --grenat: #861c34;           /* blanc dessus : 9,42:1 */
  --grenat-moyen: #5e1628;     /* blanc dessus : 13:1 */
  --grenat-nuit: #2a0a12;
  --argent: #d3d9e2;           /* libellés sur grenat : ≥ 6,6:1 */
  --argent-clair: #eef1f5;
  --sur-grenat: #eadfe2;       /* texte courant sur grenat : ≥ 7,2:1 */
  --sur-grenat-2: #d9cbd0;     /* texte secondaire sur grenat : ≥ 5,8:1 */
  --trait-argent: rgba(238, 241, 245, .28);
  --tuile-vagues: 1200px 26px;

  /* Thème */
  --accent: #861c34;           /* liens, icônes       8,6:1 sur le fond, 9,4:1 sur blanc */
  --accent-fond: #f9e7e9;      /* fonds teintés (pastilles, tuiles d'icônes) ; accent dessus 7,9:1 */
  --nombre: #861c34;           /* grands chiffres */
  --encre: #3a1218;            /* titres, texte fort  16,4:1 sur blanc, 15,4:1 sur le fond */
  --texte: #5a4a47;            /* texte courant       8,4:1 sur blanc, 7,9:1 sur le fond */
  --texte-2: #725f5a;          /* texte secondaire    6,0:1 sur blanc, 5,6:1 sur le fond */
  --fond: #fbf7f2;             /* crème */
  --carte: #ffffff;
  --entete: rgba(251, 247, 242, .92);
  --filet: #efe4dc;
  --filet-fort: #dcc9bd;
  --alerte: #c2410c;
  --alerte-fond: #fff4ed;
  --urgent: #a3122a;
  --urgent-fond: #fde7ea;
  --important: #8a4b0c;
  --important-fond: #fbeedd;

  --bouton: #861c34;
  --bouton-survol: #6e1529;
  --champ: #ffffff;
  --ombre: 0 2px 4px rgba(90, 40, 30, .04), 0 18px 44px rgba(90, 40, 30, .09);
  --ombre-douce: 0 1px 2px rgba(90, 40, 30, .05), 0 6px 18px rgba(90, 40, 30, .06);
  --ombre-forte: 0 18px 44px rgba(90, 40, 30, .16);
  --metal: linear-gradient(135deg, #ffffff 0%, #b9c0ca 25%, #eef1f5 50%, #a3aab5 75%, #e2e6ec 100%);

  --r-carte: 26px;             /* cartes, photos */
  --r-tuile: 18px;             /* tuiles, lignes, questions */
  --r-ilot: 48px;              /* sections en îlots */
  --r-bouton: 999px;           /* boutons en pilule */
  --r-champ: 12px;             /* champs, puces d'icônes */
  --r-pastille: 999px;

  --largeur: 1160px;
  --marge: clamp(16px, 4vw, 40px);
  --section: clamp(48px, 7vw, 88px);
  --gap: clamp(10px, 1.4vw, 16px);
}
@media (max-width: 699px) { :root { --tuile-vagues: 840px 18px; } }

/* Variables : thème sombre -----------------------------------------------------
   Deux blocs aux valeurs identiques (vérifié par tests/unitaires.php) :
   1. l'appareil est réglé en sombre et le visiteur n'a pas choisi le clair ;
   2. le visiteur a choisi le sombre avec le bouton de l'en-tête.
   « screen » : l'impression reste toujours en clair. */
:root[data-theme="clair"] { color-scheme: light; }
@media screen and (prefers-color-scheme: dark) {
  :root:not([data-theme="clair"]) {
    --accent: #f2a2b3;         /* 9,0:1 sur les cartes */
    --accent-fond: #3a1620;    /* accent dessus 7,2:1 */
    --nombre: #ec7a90;         /* 6,6:1 sur les cartes */
    --encre: #f7f0f2;          /* 15,9:1 sur les cartes */
    --texte: #d6c9cd;          /* 11,2:1 sur les cartes */
    --texte-2: #c0aeb3;        /* ≥ 7,8:1 sur toutes les surfaces sombres */
    --fond: #150a0d;
    --carte: #241116;
    --filet: #3a2027;
    --filet-fort: #5e3a45;
    --alerte: #ff9a5c;
    --alerte-fond: #2b1a10;
    --urgent: #ff8fa3;
    --urgent-fond: #34121a;
    --important: #f0b36a;
    --important-fond: #2c1d0e;
    --bouton: #a3243f;         /* texte blanc 7,29:1 */
    --bouton-survol: #b52a47;
    --champ: #150a0d;
    --entete: rgba(21, 10, 13, .92);
    --ombre: 0 1px 2px rgba(0, 0, 0, .5), 0 8px 24px rgba(0, 0, 0, .35);
    --ombre-douce: 0 1px 2px rgba(0, 0, 0, .4);
    --ombre-forte: 0 12px 32px rgba(0, 0, 0, .55);
  }
}
@media screen {
  :root[data-theme="sombre"] {
    color-scheme: dark;
    --accent: #f2a2b3;         /* 9,0:1 sur les cartes */
    --accent-fond: #3a1620;    /* accent dessus 7,2:1 */
    --nombre: #ec7a90;         /* 6,6:1 sur les cartes */
    --encre: #f7f0f2;          /* 15,9:1 sur les cartes */
    --texte: #d6c9cd;          /* 11,2:1 sur les cartes */
    --texte-2: #c0aeb3;        /* ≥ 7,8:1 sur toutes les surfaces sombres */
    --fond: #150a0d;
    --carte: #241116;
    --filet: #3a2027;
    --filet-fort: #5e3a45;
    --alerte: #ff9a5c;
    --alerte-fond: #2b1a10;
    --urgent: #ff8fa3;
    --urgent-fond: #34121a;
    --important: #f0b36a;
    --important-fond: #2c1d0e;
    --bouton: #a3243f;         /* texte blanc 7,29:1 */
    --bouton-survol: #b52a47;
    --champ: #150a0d;
    --entete: rgba(21, 10, 13, .92);
    --ombre: 0 1px 2px rgba(0, 0, 0, .5), 0 8px 24px rgba(0, 0, 0, .35);
    --ombre-douce: 0 1px 2px rgba(0, 0, 0, .4);
    --ombre-forte: 0 12px 32px rgba(0, 0, 0, .55);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px; /* hauteur de l'en-tête collant sur mobile */
}
@media (min-width: 960px) { html { scroll-padding-top: 80px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: 400 16px/1.6 "Public Sans", system-ui, sans-serif;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }
strong { color: var(--encre); font-weight: 600; }

h1, h2, h3, h4 { color: var(--encre); text-wrap: balance; }
h1, h2, h3 { font-weight: 800; }
h4 { font-weight: 600; }
p, li, dd { text-wrap: pretty; }
h1 { font-size: clamp(2rem, 1.45rem + 2.4vw, 3rem); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 16px; }
h2 { font-size: clamp(1.55rem, 1.25rem + 1.1vw, 2.1rem); line-height: 1.18; letter-spacing: -.025em; margin: 0 0 12px; }
h3 { font-size: 1.0625rem; line-height: 1.3; margin: 0 0 6px; }
h4 { font-size: 1rem; line-height: 1.35; margin: 0 0 6px; }

.conteneur { max-width: calc(var(--largeur) + 2 * var(--marge)); margin: 0 auto; padding: 0 var(--marge); }
.section { padding: var(--section) 0; }
/* Une section sur deux (accueil) : îlot blanc aux grands arrondis sur le fond crème */
.section--ilot { background: var(--carte); border-radius: var(--r-ilot); margin: 0 clamp(8px, 2vw, 28px); }

.intro { font-size: 1.0625rem; color: var(--texte-2); max-width: 42em; margin-bottom: clamp(22px, 3vw, 32px); }

.source { display: block; color: var(--texte-2); font-size: 12.5px; line-height: 1.45; margin: 6px 0 0; font-weight: 400; }

.liste-nue { list-style: none; margin: 0; padding: 0; }
.insecable { white-space: nowrap; }

/* Nom de marque : « secu » plein, « 37 » grenat ; argent métallisé sur fond sombre */
.marque { font-weight: 800; letter-spacing: -.025em; color: var(--encre); }
.marque b, .marque small { font-weight: 800; color: var(--accent); }
.pied .marque { color: #fff; }
.pied .marque b, .pied .marque small {
  color: var(--argent);
  background: linear-gradient(135deg, #ffffff 0%, #e4e8ee 40%, #ffffff 62%, #d3d9e2 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (forced-colors: active) {
  .pied .marque b, .pied .marque small { background: none; -webkit-text-fill-color: currentColor; color: CanvasText; }
}

/* Accessibilité ------------------------------------------------------------------ */
.evitement {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--encre); color: var(--fond); padding: 10px 14px; border-radius: var(--r-champ);
  font-weight: 600;
}
.evitement:focus { top: 8px; }

.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 (sprite SVG en tête de page) -------------------------------------------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icone { display: inline-block; width: 20px; height: 20px; flex: none; vertical-align: middle; }

/* Boutons -------------------------------------------------------------------------- */
.bouton {
  display: inline-block;
  background: var(--bouton); color: #fff;
  font-size: 16px; font-weight: 600; line-height: 1.25;
  padding: 13px 24px; border-radius: var(--r-bouton);
  border: 0; cursor: pointer; font-family: inherit;
  text-decoration: none; text-align: center;
  transition: background-color .15s ease;
}
.bouton:hover { background: var(--bouton-survol); color: #fff; text-decoration: none; }
.bouton--petit { font-size: 14px; padding: 9px 18px; white-space: nowrap; }
.bouton--grand { font-size: 17px; padding: 14px 26px; }
.bouton--icone { display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; }
.bouton--icone .icone { width: 20px; height: 20px; }
.bouton--grand.bouton--icone { font-size: 18px; letter-spacing: .01em; }
.bouton--bloc { display: block; width: 100%; }
/* Bouton clair, pour les bandeaux grenat */
.bouton--blanc { background: #fff; color: var(--grenat); font-weight: 800; }
.bouton--blanc:hover { background: var(--argent-clair); color: var(--grenat); }

.lien-fort { font-weight: 600; text-decoration: none; }
.lien-fort::after { content: "\00A0\203A"; }
.lien-fort:hover { text-decoration: underline; }

/* Cartes, pastilles, bandeaux grenat ---------------------------------------------- */
.carte {
  background: var(--carte);
  border: 1px solid var(--filet);
  border-radius: var(--r-carte);
  padding: clamp(18px, 2.2vw, 26px);
}

.tuile__icone {
  display: grid; place-items: center; flex: none;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent-fond); color: var(--accent);
}

.pastille, .badge {
  display: inline-block;
  border-radius: var(--r-pastille);
  font-size: 12px; font-weight: 600; line-height: 1.4;
  padding: 3px 10px;
}
.pastille { background: var(--accent-fond); color: var(--accent); }
.badge { background: var(--bouton); color: #fff; }

/* Fond grenat à fines vagues argent, comme les imprimés */
.bandeau-contact, .contact, .chiffre-du-jour__haut {
  background-color: var(--grenat-moyen);
  background-image:
    url("/assets/img/vagues.svg"),
    radial-gradient(130% 110% at 75% 15%, rgba(18, 4, 8, 0) 45%, rgba(18, 4, 8, .45) 100%),
    linear-gradient(32deg, #2a0a12 0%, #5e1628 50%, #8a1d36 100%);
  background-size: var(--tuile-vagues), 100% 100%, 100% 100%;
  color: var(--sur-grenat);
}
.carte.bandeau-contact { border-color: transparent; }
.bandeau-contact :focus-visible, .contact :focus-visible, .bandeau-haut :focus-visible, .chiffre-du-jour :focus-visible { outline-color: #fff; }

/* Surtitre en petites capitales espacées, au-dessus des titres */
.etiquette {
  display: block; margin: 0 0 12px;
  color: var(--accent); font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .2em;
}

/* Champs de formulaire ------------------------------------------------------------ */
input, textarea {
  font: inherit; color: var(--encre);
  border: 1px solid var(--filet-fort); border-radius: var(--r-champ);
  padding: 10px 12px; width: 100%; background: var(--champ);
}
input::placeholder, textarea::placeholder { color: var(--texte-2); opacity: 1; }
textarea { resize: vertical; min-height: 104px; }
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
input:user-invalid, textarea:user-invalid { border-color: var(--alerte); }

/* Bandeau d'information au-dessus de l'en-tête : qui, où, quand ---------------------- */
.bandeau-haut { background: #3a1218; color: var(--sur-grenat-2); font-size: 13px; line-height: 1.4; }
.bandeau-haut__barre { display: flex; justify-content: space-between; gap: 6px 24px; padding-top: 7px; padding-bottom: 7px; }
.bandeau-haut p { margin: 0; }
.bandeau-haut a { color: #fff; text-decoration: none; }
.bandeau-haut a:hover { text-decoration: underline; }
@media (max-width: 799px) { .bandeau-haut__droite { display: none; } .bandeau-haut { font-size: 12.5px; } }

/* En-tête collant : crème translucide, logo en tuile grenat --------------------------- */
.entete {
  position: sticky; top: 0; z-index: 20;
  background: var(--entete);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.entete__barre {
  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-template-areas: "logo theme cta" "menu menu menu";
  align-items: center;
  column-gap: 10px;
  padding-top: 8px;
}
.logo {
  grid-area: logo;
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-size: 22px; line-height: 1;
  justify-self: start;
}
.logo__tuile { width: 36px; height: 36px; }
@media (max-width: 379px) { .logo { font-size: 20px; gap: 8px; } .logo__tuile { width: 32px; height: 32px; } }

/* Bouton clair / sombre (affiché par site.js ; sans JavaScript, le thème suit l'appareil) */
.theme {
  grid-area: theme;
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; padding: 0;
  border: 1px solid var(--filet-fort); border-radius: var(--r-bouton);
  background: transparent; color: var(--encre);
  cursor: pointer;
}
.theme:hover { background: var(--fond); color: var(--accent); }
.theme[hidden] { display: none; }
.theme .icone { width: 18px; height: 18px; }
.theme__soleil, .theme[aria-pressed="true"] .theme__lune { display: none; }
.theme[aria-pressed="true"] .theme__soleil { display: inline-block; }
.entete .bouton { grid-area: cta; }
.entete .bouton--icone .icone { width: 16px; height: 16px; }
@media (max-width: 359px) { .entete .bouton--icone .icone { display: none; } }

.menu {
  grid-area: menu;
  margin: 8px calc(-1 * var(--marge)) 0;
  padding: 0 var(--marge);
  border-top: 1px solid var(--filet);
  overflow-x: auto;
  scrollbar-width: none;
}
.menu::-webkit-scrollbar { display: none; }
.menu ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.menu a {
  display: block; padding: 9px 0;
  color: var(--encre); text-decoration: none;
  font-size: 13.5px; font-weight: 600; white-space: nowrap;
}
.menu a:hover { color: var(--accent); }

@media (min-width: 960px) {
  .entete__barre {
    grid-template-columns: auto 1fr auto auto;
    grid-template-areas: "logo menu theme cta";
    min-height: 64px; padding-top: 0;
  }
  .menu { margin: 0; padding: 0; border-top: 0; overflow: visible; justify-self: center; }
  .menu ul { gap: 26px; }
  .menu a { font-size: 14.5px; padding: 6px 0; }
}

/* Haut de page : le titre à gauche, le chapô et les boutons à droite, puis la photo
   d'Amboise en grand avec sa carte « 10 ans », puis les trois étapes reliées ------------- */
.hero { background: var(--fond); padding-top: clamp(36px, 6vw, 76px); }
.hero__grille { display: grid; gap: clamp(32px, 4vw, 48px); }
@media (min-width: 960px) {
  .hero__texte {
    display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); column-gap: 64px; align-items: start;
    grid-template-areas: "s s" "t i" "t a" "t g";
  }
  .hero__etiquette { grid-area: s; }
  .hero h1 { grid-area: t; margin: 0; }
  .hero__intro { grid-area: i; padding-top: 8px; }
  .hero__actions { grid-area: a; }
  .garanties { grid-area: g; }
}

.hero h1 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.5rem); line-height: 1.04; max-width: 15em; }
.hero__intro { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.55; max-width: 31em; margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 24px 0 16px; }
.hero__horaires { flex-basis: 100%; margin-top: -4px; color: var(--texte-2); font-size: 14px; }
.garanties { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.garanties li { display: flex; align-items: center; gap: 8px; color: var(--encre); font-size: 14px; font-weight: 600; }
.garanties .icone { width: 18px; height: 18px; color: var(--accent); }

.hero__visuel { display: grid; }
.hero__photo { position: relative; margin: 0; }
.hero__photo picture { display: block; overflow: hidden; border-radius: 36px; box-shadow: var(--ombre); background: var(--grenat-nuit); }
.hero__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 56% 45%; }
@media (min-width: 900px) { .hero__photo img { aspect-ratio: 21 / 9; } }
.hero__photo figcaption {
  position: absolute; top: 14px; right: 14px; max-width: calc(100% - 28px);
  display: flex; align-items: center; gap: 6px;
  background: rgba(20, 5, 9, .8); color: #fff;
  font-size: 12.5px; font-weight: 600; line-height: 1.35;
  padding: 5px 14px 5px 10px; border-radius: var(--r-pastille);
}
@media (min-width: 700px) { .hero__photo figcaption { top: 18px; right: 18px; } }
.hero__photo figcaption .icone { width: 15px; height: 15px; color: var(--argent); }

/* Carte « 10 ans » : sous la photo sur mobile, posée sur la photo sur ordinateur */
.credit {
  position: relative; z-index: 1;
  display: grid; gap: 10px; justify-items: start;
  margin: -36px 14px 0; padding: 18px 22px;
  background: var(--carte); border-radius: var(--r-carte);
  box-shadow: var(--ombre-forte);
}
.credit__chiffre { margin: 0; color: var(--texte); font-size: 14px; line-height: 1.45; }
.credit__chiffre strong {
  display: block; margin-bottom: 2px;
  color: var(--nombre); font-size: 2rem; font-weight: 800; line-height: 1.05; letter-spacing: -.02em;
}
.credit .lien-fort { font-size: 14px; }
@media (min-width: 560px) and (max-width: 959px) { .credit { max-width: 340px; } }
@media (min-width: 960px) {
  .hero__visuel > * { grid-area: 1 / 1; }
  .credit { align-self: end; justify-self: start; width: min(400px, 60%); margin: 0 0 -48px 40px; padding: 20px 24px; }
  .credit__chiffre strong { font-size: 2.4rem; }
}

@media (max-width: 559px) {
  .hero__actions { flex-direction: column; align-items: stretch; text-align: center; }
  .garanties { flex-direction: column; }
}

/* Micro-infographie : 3 étapes, tuiles d'icônes reliées par un trait */
.hero__bande { margin-top: clamp(36px, 5vw, 60px); }
@media (min-width: 960px) { .hero__bande { margin-top: 88px; } }
.flux { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 24px 0 26px; }
.flux li { position: relative; display: flex; flex-direction: column; gap: 2px; color: var(--texte-2); font-size: 13.5px; line-height: 1.4; }
.flux strong { margin-top: 10px; color: var(--encre); font-size: 15.5px; line-height: 1.3; }
.flux__icone {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent-fond); color: var(--accent);
}
.flux li:last-child .flux__icone { background: var(--bouton); color: #fff; }
.flux__icone .icone { width: 22px; height: 22px; }
.flux li:not(:last-child)::after {
  content: ""; position: absolute; top: 22px; left: 58px; right: 12px;
  border-top: 2px dashed var(--filet-fort);
}
@media (max-width: 559px) {
  .flux { grid-template-columns: 1fr; gap: 0; padding: 20px 0; }
  .flux li { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; padding-bottom: 16px; }
  .flux li:last-child { padding-bottom: 0; }
  .flux__icone { grid-row: span 2; }
  .flux strong { margin-top: 2px; }
  .flux li:not(:last-child)::after { top: 50px; bottom: 4px; left: 22px; right: auto; border-top: 0; border-left: 2px dashed var(--filet-fort); }
}

/* Qui suis-je : le portrait, quatre repères chiffrés ---------------------- */
.qui { display: grid; gap: 28px; align-items: start; }
@media (min-width: 760px) { .qui { grid-template-columns: 240px minmax(0, 1fr); gap: 44px; } }
@media (min-width: 1000px) { .qui { grid-template-columns: 280px minmax(0, 1fr); gap: 64px; align-items: center; } }
.qui__photo { margin: 0; }
/* Portrait façon tirage photo, légèrement penché */
.portrait {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%;
  padding: 8px 8px 30px; background: var(--carte); border-radius: 6px;
  box-shadow: 0 16px 36px rgba(90, 40, 30, .16); transform: rotate(-2deg);
}
@media (prefers-reduced-motion: reduce) { .portrait { transform: none; } }
.monogramme { display: grid; place-items: center; color: var(--accent); font-size: 56px; font-weight: 800; letter-spacing: -.03em; }
.qui__photo figcaption { margin-top: 12px; color: var(--texte-2); font-size: 14px; line-height: 1.4; }
.qui__photo figcaption strong { display: block; color: var(--encre); font-size: 16px; }
/* Téléphone : portrait réduit, légende à côté */
@media (max-width: 759px) {
  .qui__photo { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: end; }
  .qui__photo figcaption { margin: 0 0 6px; }
}
.qui__texte > p { max-width: 36em; font-size: 1.0625rem; }
.accroche { color: var(--encre); font-size: 1.125rem; font-weight: 600; line-height: 1.45; max-width: 36em; }

/* Micro-infographie : repères chiffrés, dans une carte, séparés par des filets fins */
.reperes {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 0;
  max-width: 660px; margin: 4px 0 24px; padding: 18px 20px;
  background: var(--carte); border-radius: var(--r-carte); box-shadow: var(--ombre);
}
.reperes li { padding: 0 16px; color: var(--texte-2); font-size: 13px; line-height: 1.35; }
.reperes li:nth-child(odd) { padding-left: 0; }
.reperes li:nth-child(even) { border-left: 1px solid var(--filet); }
.reperes strong { display: block; margin-bottom: 2px; color: var(--nombre); font-size: clamp(1.5rem, 1.3rem + .8vw, 1.9rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
@media (min-width: 560px) {
  .reperes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .reperes li:nth-child(odd) { padding-left: 16px; }
  .reperes li:first-child { padding-left: 0; }
  .reperes li + li { border-left: 1px solid var(--filet); }
}

.signature { margin: 16px 0 20px; color: var(--accent); font-weight: 600; }
.signature::before { content: "\2014\00A0"; }
.qui__texte > .bon-a-savoir {
  max-width: 660px; margin: 0; padding: 12px 16px;
  background: var(--carte); border-radius: var(--r-tuile); box-shadow: var(--ombre);
  color: var(--texte-2); font-size: 13.5px; line-height: 1.5;
}

/* Pourquoi maintenant ---------------------------------------------------------------- */
.pourquoi__entete { display: grid; gap: 12px 56px; align-items: end; }
.pourquoi__entete h2 { margin-bottom: 0; }
@media (min-width: 900px) { .pourquoi__entete { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } }
.citation { margin: 0; padding: 2px 0 2px 16px; border-left: 3px solid var(--accent); }
.citation blockquote { margin: 0; color: var(--encre); font-size: 1.125rem; font-weight: 600; line-height: 1.45; }
.citation figcaption { margin-top: 4px; font-size: 13.5px; color: var(--texte-2); }

/* « 904 » : le chiffre du flyer, puis la question sur un bandeau grenat à vagues */
/* « 904 » : argent sur grenat à vagues, comme le flyer */
.chiffre-du-jour {
  margin-top: clamp(28px, 4vw, 44px);
  border-radius: 36px; overflow: hidden; box-shadow: 0 24px 54px rgba(43, 10, 19, .22);
}
.chiffre-du-jour__haut { display: grid; gap: 4px 44px; align-items: center; padding: clamp(22px, 4vw, 52px) clamp(22px, 4.4vw, 56px) clamp(24px, 3.4vw, 44px); }
@media (min-width: 760px) { .chiffre-du-jour__haut { grid-template-columns: auto minmax(0, 1fr); } }
/* Une colonne : le libellé passe au-dessus du chiffre, comme sur le flyer */
@media (max-width: 759px) {
  .chiffre-du-jour__haut > div { display: contents; }
  .chiffre-du-jour__label { order: -1; }
  .chiffre-du-jour__texte { margin-top: 10px; }
}
.chiffre-du-jour__nombre {
  margin: 0; color: var(--argent);
  font-size: clamp(6rem, 3.4rem + 12vw, 12.5rem); font-weight: 800; line-height: .82; letter-spacing: -.05em;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35));
}
@media (forced-colors: active) { .chiffre-du-jour__nombre { background: none; -webkit-text-fill-color: currentColor; } }
.chiffre-du-jour__label { margin: 0 0 14px; color: var(--argent); font-size: clamp(14px, .78rem + .5vw, 18px); font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.chiffre-du-jour__texte {
  margin: 0; color: #fff;
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.8rem); font-weight: 800; line-height: 1.08; letter-spacing: -.025em;
  text-wrap: balance;
}
.chiffre-du-jour__bas {
  background: #1c070c; border-top: 1px solid var(--trait-argent); color: var(--sur-grenat);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 32px;
  padding: clamp(20px, 2.6vw, 30px) clamp(22px, 4.4vw, 56px);
}
.chiffre-du-jour__question { margin: 0; color: #fff; font-size: clamp(2rem, 1.5rem + 2vw, 3.1rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.chiffre-du-jour__appel { display: grid; gap: 4px; margin: 0; }
.chiffre-du-jour__appel > span { color: var(--argent); font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.chiffre-du-jour__appel a {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; font-size: clamp(1.25rem, 1.05rem + 1vw, 1.8rem); font-weight: 800; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
}
.chiffre-du-jour__appel a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.chiffre-du-jour__appel .icone { width: 24px; height: 24px; color: var(--argent); }
@media (min-width: 700px) { .chiffre-du-jour__appel { justify-items: end; text-align: right; } }
.chiffre-du-jour__source { margin-top: 10px; }

/* Trois chiffres en cartes, chacun avec sa micro-infographie (jauge, points, douze mois) */
.chiffres { display: grid; gap: var(--gap); margin-top: clamp(22px, 3vw, 32px); }
@media (min-width: 700px) { .chiffres { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.chiffres li { padding: 20px 22px; background: var(--fond); border-radius: var(--r-carte); font-size: 15px; }
.chiffres .chiffre {
  display: block; margin-bottom: 4px;
  color: var(--nombre); font-size: clamp(1.9rem, 1.6rem + 1.2vw, 2.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em;
}
.jauge, .points, .mois { display: flex; align-items: center; height: 12px; margin-bottom: 14px; max-width: 180px; }
.jauge { border-radius: 6px; background: var(--filet); overflow: hidden; height: 8px; margin-top: 2px; margin-bottom: 16px; }
.jauge span { display: block; height: 100%; border-radius: 6px; background: var(--nombre); }
.jauge--48 span { width: 48%; }
.points { gap: 6px; }
.points i, .mois i { display: block; flex: none; }
.points i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--filet-fort); }
.points i.plein { background: var(--nombre); border-color: var(--nombre); }
.mois { gap: 3px; }
.mois i { flex: 1; height: 12px; border-radius: 2px; background: var(--nombre); opacity: .85; }

/* Dans l'actualité : trois cartes */
.actualite { margin-top: clamp(32px, 4.6vw, 48px); }
.actualite > h3 { margin: 0 0 14px; font-size: 1.125rem; }
.breves { display: grid; gap: var(--gap); }
@media (min-width: 820px) { .breves { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.breve {
  display: flex; flex-direction: column; padding: 18px 20px;
  background: var(--fond); border-radius: var(--r-carte);
}
.breve--locale { box-shadow: inset 0 4px 0 var(--accent); }
.breve__meta { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; color: var(--texte-2); font-size: 12.5px; }
.breve__rubrique { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 11.5px; }
.breve__rubrique .icone { width: 14px; height: 14px; }
.breve h4 { margin: 0 0 6px; font-size: 1rem; }
.breve p { font-size: 14.5px; line-height: 1.5; }
.breve__source { margin-top: auto; padding-top: 10px; color: var(--texte-2); font-size: 12.5px; }

.sources { margin-top: 20px; color: var(--texte-2); font-size: 13px; line-height: 1.5; }
.sources summary { display: inline-flex; gap: 6px; cursor: pointer; list-style: none; font-weight: 600; }
.sources summary::-webkit-details-marker { display: none; }
.sources summary::before { content: "+"; font-weight: 800; color: var(--accent); width: 10px; }
.sources[open] summary::before { content: "\2212"; }
.sources ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; max-width: 60em; }

/* Ce que je vérifie : pour qui (pastilles), six tuiles à icônes, l'exemple de plan ------ */
.clients { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 clamp(22px, 3vw, 30px); }
.clients li {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; background: var(--carte); border-radius: var(--r-pastille); box-shadow: var(--ombre-douce);
  color: var(--encre); font-size: 14px; font-weight: 600; line-height: 1.3;
}
.clients .icone { width: 18px; height: 18px; color: var(--accent); }

.verifs { display: grid; gap: var(--gap); }
@media (min-width: 600px) { .verifs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .verifs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.verifs li {
  display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 14px; align-items: start;
  padding: 14px 16px; background: var(--carte); border-radius: var(--r-tuile); box-shadow: var(--ombre-douce);
  color: var(--texte-2); font-size: 14px; line-height: 1.45;
}
.verifs .tuile__icone { grid-row: span 2; }
.verifs strong { color: var(--encre); font-size: 15.5px; line-height: 1.35; }

.livrable { display: grid; gap: clamp(22px, 3vw, 56px); align-items: center; margin-top: clamp(32px, 4.6vw, 52px); }
@media (min-width: 900px) { .livrable { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.livrable__texte h3 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); margin-bottom: 10px; }
.livrable__texte p { max-width: 34em; }

/* L'exemple de plan d'action : une carte, trois lignes classées par urgence */
.rapport {
  margin: 0; padding: 20px 22px;
  background: var(--carte); border-radius: var(--r-carte);
  box-shadow: var(--ombre);
}
.rapport figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.rapport__titre { color: var(--encre); font-weight: 800; font-size: 1.0625rem; }
.rapport__exemple {
  flex: none; border: 1.5px dashed var(--accent); border-radius: var(--r-pastille); color: var(--accent);
  padding: 2px 12px; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
}
.rapport__lignes { display: grid; gap: 8px; }
.rapport__lignes li {
  display: flex; align-items: center; gap: 12px;
  background: var(--fond); border-radius: var(--r-tuile); padding: 10px 12px;
  color: var(--texte); font-size: 14.5px; line-height: 1.4;
}
.niveau {
  flex: none; min-width: 86px; text-align: center; white-space: nowrap;
  border-radius: var(--r-pastille); font-size: 12px; font-weight: 800; padding: 2px 10px;
}
.niveau--urgent { background: var(--urgent-fond); color: var(--urgent); }
.niveau--important { background: var(--important-fond); color: var(--important); }
.niveau--prevoir { background: var(--fond); color: var(--texte-2); box-shadow: inset 0 0 0 1px var(--filet-fort); }
@media (max-width: 399px) {
  .rapport__lignes li { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* Les 2 formules : deux cartes, étapes numérotées en frise verticale ------------------ */
.formules { display: grid; gap: var(--gap); }
@media (min-width: 900px) { .formules { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; } }
.formule {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(20px, 2.6vw, 30px);
  background: var(--fond); border-radius: var(--r-carte);
}
.formule--complete { background: var(--carte); border: 2px solid var(--accent); box-shadow: var(--ombre); }
.formule .pastille { align-self: flex-start; margin-bottom: 12px; }
.formule .badge { position: absolute; top: -12px; right: 18px; }
.formule h3 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); margin-bottom: 6px; }
.formule > p { max-width: 32em; }

.etapes { margin: 22px 0; display: grid; counter-reset: etape; }
.etapes li { position: relative; padding: 0 0 18px 48px; min-height: 34px; color: var(--texte-2); font-size: 13.5px; line-height: 1.4; }
.etapes li:last-child { padding-bottom: 0; }
.etapes li::before {
  counter-increment: etape; content: counter(etape);
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--bouton); color: #fff; font-size: 15px; font-weight: 800;
}
.etapes li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 2px; background: var(--filet); }
.etapes strong { display: block; color: var(--encre); font-size: 15.5px; line-height: 1.35; padding-top: 1px; }
.formule__note { display: flex; gap: 10px; align-items: flex-start; margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--filet); color: var(--encre); font-size: 14.5px; font-weight: 600; }
.formule__note .icone { width: 19px; height: 19px; margin-top: 1px; color: var(--accent); }
.formule__note--forte { border-top: 0; padding: 10px 12px; background: var(--accent-fond); border-radius: var(--r-champ); }

.apres-section { margin-top: 20px; }

/* Tarifs : le bilan en vedette, les autres prestations à côté --------------------------- */
.tarifs { display: grid; gap: var(--gap); }
@media (min-width: 820px) { .tarifs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; } }
.tarif, .tarifs-autres {
  background: var(--carte); border-radius: var(--r-carte); box-shadow: var(--ombre);
  padding: clamp(20px, 2.4vw, 28px);
}
.tarif { display: flex; flex-direction: column; border: 2px solid var(--accent); box-shadow: var(--ombre); }
.tarif h3, .tarifs-autres h3 { font-size: 1.125rem; margin: 0; }
.prix { color: var(--nombre); font-size: clamp(2.3rem, 1.9rem + 1.4vw, 2.9rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; margin: 14px 0 18px; }
.prix small { display: block; margin-bottom: 4px; color: var(--texte-2); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.tarif ul { display: grid; gap: 6px; margin: 0; font-size: 15px; }
.tarif li { display: flex; gap: 8px; align-items: flex-start; color: var(--texte); }
.tarif li .icone { width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }
.tarif__note { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--filet); font-size: 14.5px; }
.tarif ul + .tarif__note { margin-top: 18px; }

.tarifs-autres ul { margin-top: 6px; }
.tarifs-autres li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 12px 0; border-top: 1px dashed var(--filet-fort);
}
.tarifs-autres li:first-child { border-top: 0; }
.tarifs-autres li:last-child { padding-bottom: 0; }
.tarifs-autres li > span:first-child { display: flex; flex-direction: column; color: var(--texte-2); font-size: 14px; line-height: 1.4; }
.tarifs-autres strong { font-size: 15.5px; }
.tarifs-autres__prix { flex: none; color: var(--encre); font-size: 18px; font-weight: 800; white-space: nowrap; text-align: right; }
.tarifs-autres__prix small { color: var(--texte-2); font-size: 13px; font-weight: 600; }

.mentions-tarifs { margin: 16px 0 0; display: grid; gap: 2px; color: var(--texte-2); font-size: 13px; }

/* FAQ : questions en cartes ---------------------------------------------------------------- */
.faq-grille { display: grid; gap: 8px; }
@media (min-width: 1000px) {
  .faq-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; align-items: start; }
}
.faq { display: grid; gap: 8px; }
.faq details { background: var(--fond); border-radius: 24px; }
.faq summary {
  position: relative; cursor: pointer; list-style: none;
  padding: 15px 52px 15px 24px;
  color: var(--encre); font-weight: 600; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: var(--r-pastille);
  display: grid; place-items: center;
  background: var(--accent-fond); color: var(--accent); font-weight: 800; line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--accent); }
.faq details p { padding: 0 24px 18px; margin: 0; max-width: 44em; }

/* Contact : bandeau grenat à vagues, adresse du bureau et formulaire ------------------ */
.contact { padding: var(--section) 0; margin-top: var(--section); border-radius: var(--r-ilot) var(--r-ilot) 0 0; }
.contact h2 { color: #fff; font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); }
.contact__grille { display: grid; gap: 36px; align-items: start; }
@media (min-width: 960px) {
  .contact__grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; }
}
.contact__texte > p { color: var(--sur-grenat); font-size: 1.0625rem; max-width: 30em; }
.contact__tel { margin: 26px 0 0; }
.contact__tel a {
  display: inline-flex; align-items: center; gap: 12px;
  color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem); font-weight: 800; letter-spacing: .01em; line-height: 1.1;
  text-decoration: none; white-space: nowrap;
}
.contact__tel a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.contact__tel .icone { width: 30px; height: 30px; color: var(--argent); }
.contact__horaires { display: block; margin-top: 6px; color: var(--sur-grenat-2); font-size: 14.5px; }
.bureau { display: grid; gap: 14px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--trait-argent); max-width: 30em; }
.bureau li { display: flex; gap: 12px; align-items: flex-start; color: var(--sur-grenat); font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.bureau .icone { width: 20px; height: 20px; margin-top: 1px; color: var(--argent); }
.bureau address { font-style: normal; }
.bureau strong { display: block; color: #fff; }
.bureau a { color: #fff; font-weight: 600; }

.formulaire {
  background: var(--carte); color: var(--texte);
  border-radius: 28px;
  padding: clamp(20px, 2.8vw, 32px);
  box-shadow: 0 18px 44px rgba(12, 2, 5, .35);
}
.formulaire a { color: var(--accent); }
.formulaire__entete { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--filet); }
.formulaire__entete h3 { font-size: 1.2rem; margin: 0 0 4px; }
.formulaire__entete p { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--texte-2); font-size: 14px; }
.formulaire__entete .icone { width: 17px; height: 17px; color: var(--accent); }
.formulaire :focus-visible { outline-color: var(--accent); }
@media (min-width: 560px) {
  .formulaire__ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
}
.champ { margin-bottom: 14px; }
.champ label { display: block; margin-bottom: 5px; color: var(--encre); font-size: 14px; font-weight: 600; }
.facultatif { color: var(--texte-2); font-weight: 400; }
.aide { margin: 5px 0 0; font-size: 12.5px; color: var(--texte-2); }
.case { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 18px; font-size: 13.5px; line-height: 1.45; color: var(--texte); }
.case input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: var(--bouton); }
.formulaire .bouton { padding: 13px 20px; font-weight: 800; }
.formulaire__note { margin: 10px 0 0; font-size: 12.5px; color: var(--texte-2); text-align: center; }

/* Champ piège pour robots : hors écran, ignoré par le clavier et les lecteurs d'écran */
.pot-de-miel { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Messages d'erreur sans JavaScript : affichés via l'ancre (#erreur-…) */
.alerte-form {
  display: none;
  margin: 0 0 16px; padding: 12px 14px;
  background: var(--alerte-fond); color: var(--encre);
  border-left: 4px solid var(--alerte); border-radius: var(--r-champ);
  font-size: 14px;
}
.alerte-form:target { display: block; }
.alerte-form strong { color: var(--alerte); }

/* Pied de page ---------------------------------------------------------------------------- */
.pied { background: #1c070c; color: #c9bcc0; font-size: 13.5px; padding: 40px 0 36px; }
.pied a { color: #fff; }
.pied :focus-visible { outline-color: #fff; }
.pied__marque { margin-bottom: 22px; }
.pied__nom { margin: 0 0 4px; font-size: 26px; line-height: 1; }
.pied__devise { margin: 0; color: var(--argent); font-size: 13px; }
.pied__grille { display: grid; gap: 20px; }
@media (min-width: 900px) { .pied__grille { grid-template-columns: 1.2fr 1fr; align-items: start; gap: 48px; } }
.pied__identite { color: #fff; font-weight: 600; }
.pied__liens { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 12px 0 0; padding: 0; }
.urgence {
  display: flex; gap: 12px; align-items: flex-start;
  border: 1px solid rgba(238, 241, 245, .22); border-radius: var(--r-tuile);
  padding: 14px 16px;
}
.urgence .icone { color: #ffa36b; margin-top: 2px; }
.urgence strong { color: #fff; }
.pied__bas { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(238, 241, 245, .14); font-size: 12.5px; }

/* Pages secondaires (légal, merci, erreurs, fiches) ------------------------------------ */
.page { padding: clamp(36px, 6vw, 72px) 0 clamp(52px, 8vw, 96px); }
.prose { max-width: calc(760px + 2 * var(--marge)); }
.prose h1 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem); }
.prose h2 { margin-top: 34px; font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); }
.prose h3 { margin-top: 18px; }
.prose ul { padding-left: 20px; margin: 0 0 12px; }
.prose li { margin-bottom: 4px; }
.prose table { border-collapse: collapse; width: 100%; margin: 0 0 14px; font-size: 14px; }
.prose th, .prose td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--filet); padding: 9px 10px 9px 0; }
.prose th { color: var(--encre); font-weight: 600; width: 38%; }
.prose .accroche { margin-bottom: 18px; }
.prose > .carte { margin: 18px 0; }
.mise-a-jour { color: var(--texte-2); font-size: 13px; }
.a-completer { background: var(--alerte-fond); color: var(--alerte); font-weight: 600; padding: 0 4px; border-radius: 4px; }

.etapes-merci { list-style: none; margin: 16px 0 22px; padding: 0; display: grid; gap: 12px; counter-reset: etape; }
.etapes-merci li { position: relative; padding-left: 44px; min-height: 32px; }
.etapes-merci li::before {
  counter-increment: etape; content: counter(etape);
  position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: var(--r-champ);
  display: grid; place-items: center; background: var(--bouton); color: #fff; font-weight: 800;
}

/* Fiches « L'attaque du mois, et chez vous ? » (phase B) -------------------------------- */
.fiches { display: grid; gap: var(--gap); }
@media (min-width: 900px) { .fiches--accueil { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fiches--accueil .fiche-resume { padding: 18px 20px; background: var(--carte); border: 1px solid var(--filet); border-radius: var(--r-carte); }
.fiche-resume { display: flex; flex-direction: column; }
.fiche-resume h2, .fiche-resume h3 { font-size: 1.125rem; }
.fiche-resume h2 a, .fiche-resume h3 a { color: var(--encre); text-decoration: none; }
.fiche-resume h2 a:hover, .fiche-resume h3 a:hover { color: var(--accent); text-decoration: underline; }
.fiche-resume time, .fiche time { color: var(--texte-2); font-size: 13px; }
.fiche-resume .lien-fort { margin-top: auto; padding-top: 8px; }
.fiche .chapeau { font-size: 1.0625rem; color: var(--encre); }
.questions { display: grid; gap: 8px; margin: 0 0 12px; }
.questions li { display: flex; gap: 10px; align-items: flex-start; background: var(--carte); border: 1px solid var(--filet); border-radius: var(--r-tuile); padding: 10px 12px; color: var(--texte); }
.questions .icone { color: var(--accent); margin-top: 2px; }
.encart-cta { margin: 26px 0; }
.encart-cta p, .encart-cta strong { color: #fff; }
.sources-fiche { font-size: 13px; }
.sources-fiche a { overflow-wrap: anywhere; }
.fil { font-size: 13px; margin-bottom: 14px; }

/* Impression --------------------------------------------------------------------------- */
@media print {
  .bandeau-haut, .entete, .evitement, .formulaire, .hero__actions, .apres-section, .hero__photo,
  .chiffre-du-jour__question, .theme { display: none !important; }
  body, .hero, .hero__bande, .section--ilot, .chiffre-du-jour__haut { background: #fff; }
  .chiffre-du-jour__nombre, .chiffre-du-jour__texte, .chiffre-du-jour__label { -webkit-text-fill-color: #000; color: #000; filter: none; }
  .entete { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .credit { margin: 0; box-shadow: none; }
  .contact, .bandeau-contact, .chiffre-du-jour__bas, .pied { background: #fff !important; color: #000; }
  .contact h2, .contact a, .contact__texte > p, .bureau h3, .bureau strong, .bureau a, .bureau p,
  .chiffre-du-jour__appel a, .chiffre-du-jour__appel > span,
  .pied a, .pied__identite, .urgence strong, .pied__devise { color: #000 !important; }
  .marque, .marque b, .marque small { -webkit-text-fill-color: #000; color: #000; }
}
