/* GESTIA — feuille de style principale (refonte R2 : D61, D66). Mobile d'abord ; points de rupture 600 / 900 / 1000 / 1200 px.
   Aucun code couleur ici : uniquement les variables de tokens.css. */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--g-bg); color: var(--g-ink); font: 400 var(--g-fs-base)/1.65 var(--g-font-text); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--g-font-title); line-height: 1.15; margin: 0 0 .5em; color: var(--g-navy-900); }
h1 { font-size: var(--g-fs-h1); font-weight: var(--g-fw-display); line-height: 1.08; letter-spacing: -.025em; }
h2 { font-size: var(--g-fs-h2); font-weight: var(--g-fw-display); line-height: 1.12; letter-spacing: -.02em; }
h3 { font-size: var(--g-fs-h3); font-weight: var(--g-fw-medium); line-height: 1.3; }
h4 { font-size: var(--g-fs-base); font-weight: var(--g-fw-medium); }
p { margin: 0 0 1em; }
a { color: var(--g-navy-700); text-underline-offset: 3px; }
a:hover { color: var(--g-navy-900); }
strong, b { font-weight: var(--g-fw-strong); }
:focus-visible { outline: 3px solid var(--g-navy-700); outline-offset: 3px; }
.sombre :focus-visible { outline-color: var(--g-sky); }
ul, ol { margin: 0; padding: 0; }

.lien-evitement { position: absolute; left: -999px; top: 8px; z-index: 60; background: var(--g-white); color: var(--g-navy-900); padding: 10px 16px; border-radius: var(--g-radius); font-weight: 600; }
.lien-evitement:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.conteneur { max-width: var(--g-container); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--alt { background: var(--g-bg-alt); }
.section--serree { padding: 56px 0; }
.attenue { color: var(--g-ink-muted); }
.petit { font-size: var(--g-fs-sm); }

/* Titres de section : alignés à gauche, sans trait ni sur-titre systématique (R1 §3.6) */
.tete { max-width: 680px; margin: 0 0 var(--g-space-7); }
.tete h2 { margin-bottom: 0; }
.tete p { margin: var(--g-space-4) 0 0; color: var(--g-ink-muted); font-size: var(--g-fs-lg); font-weight: var(--g-fw-display); }
.tete--centre { margin-left: auto; margin-right: auto; text-align: center; }
.surtitre { display: block; margin-bottom: var(--g-space-3); font: var(--g-fw-medium) var(--g-fs-sm)/1.3 var(--g-font-title); color: var(--g-sky-ink); }
.chapo { font-size: var(--g-fs-lg); font-weight: var(--g-fw-display); color: var(--g-ink-muted); max-width: 56ch; }

.grille { display: grid; gap: var(--g-space-5); grid-template-columns: 1fr; }
.grille > * { min-width: 0; }

/* ---------- Boutons ---------- */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: var(--g-space-2); min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--g-radius); font: var(--g-fw-medium) var(--g-fs-sm)/1.2 var(--g-font-title);
  text-decoration: none; text-align: center; cursor: pointer; white-space: nowrap;
  transition: background-color var(--g-fast), color var(--g-fast), border-color var(--g-fast), transform var(--g-fast); }
.bouton:active { transform: translateY(1px); }
.bouton svg { width: 20px; height: 20px; flex: 0 0 auto; }
.bouton--action { background: var(--g-cta); color: var(--g-white); }
.bouton--action:hover { background: var(--g-cta-hover); color: var(--g-white); }
.bouton--contour { background: var(--g-white); color: var(--g-navy-900); border-color: var(--g-border); }
.bouton--contour:hover { border-color: var(--g-navy-900); color: var(--g-navy-900); }
.bouton--clair { background: transparent; color: var(--g-white); border-color: var(--g-line-dark); }
.bouton--clair:hover { background: var(--g-white); color: var(--g-navy-900); }
.bouton--whatsapp { background: var(--g-wa); color: var(--g-navy-900); }
.bouton--whatsapp:hover { color: var(--g-navy-900); filter: brightness(.95); }
.bouton--plein { width: 100%; white-space: normal; }
.bouton--petit { min-height: 40px; padding: 0 16px; }
.bouton[disabled], .bouton[aria-busy="true"] { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: var(--g-space-3); }
.lien-fleche { font: var(--g-fw-medium) var(--g-fs-sm)/1.4 var(--g-font-title); color: var(--g-navy-900); text-decoration: underline; text-decoration-color: var(--g-border-hover); text-underline-offset: 4px; }
.lien-fleche:hover { text-decoration-color: currentColor; }

/* ---------- En-tête : 64 px, blanc translucide, collant ---------- */
.entete { position: sticky; top: 0; z-index: 30; background: var(--g-header); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--g-border); }
.entete .conteneur { display: flex; align-items: center; gap: var(--g-space-5); min-height: 56px; }
.logo { display: inline-flex; color: var(--g-navy-900); flex: 0 0 auto; }
.logo svg { width: 128px; height: auto; }
.logo__fond { fill: var(--g-navy-900); }
.logo__g { stroke: var(--g-white); }
.logo__point { fill: var(--g-sky); }
.pied .logo__fond { fill: var(--g-white); }
.pied .logo__g { stroke: var(--g-navy-900); }
.entete__droite { display: flex; align-items: center; gap: var(--g-space-2); margin-left: auto; }
.entete__demo { min-height: 40px; padding: 0 var(--g-space-4); }
.entete__demo .long { display: none; }
.langue { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border: 1px solid var(--g-border); border-radius: var(--g-radius-full); color: var(--g-ink-muted); font-size: var(--g-fs-xs); text-decoration: none; }
.langue:hover { color: var(--g-navy-900); border-color: var(--g-navy-900); }
.entete .langue { display: none; }
.bouton-menu { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--g-border); border-radius: var(--g-radius); background: var(--g-white); color: var(--g-navy-900); cursor: pointer; }
.bouton-menu svg { width: 20px; height: 20px; }
.bouton-menu svg + svg, .bouton-menu[aria-expanded="true"] svg:first-child { display: none; }
.bouton-menu[aria-expanded="true"] svg + svg { display: block; }

/* Navigation : tiroir plein écran sur mobile, menus déroulants sur ordinateur (D52) */
.nav { display: none; }
.nav ul { list-style: none; }
.nav__lien, .nav__declencheur { display: flex; align-items: center; gap: 6px; width: 100%; min-height: 52px; padding: 0; border: 0; background: none; color: var(--g-navy-900);
  text-decoration: none; font: var(--g-fw-medium) var(--g-fs-base) var(--g-font-title); cursor: pointer; text-align: left; }
.nav__lien:hover, .nav__declencheur:hover, .nav__deroulant.ouvert .nav__declencheur { color: var(--g-navy-700); }
.nav__declencheur svg { width: 14px; height: 14px; opacity: .6; transition: transform var(--g-fast); }
.nav__deroulant.ouvert .nav__declencheur svg { transform: rotate(180deg); }
.mega { display: none; }
.nav__deroulant.ouvert .mega { display: block; }
.mega__titre { margin: var(--g-space-4) 0 var(--g-space-2); font: var(--g-fw-medium) var(--g-fs-xs)/1.4 var(--g-font-title); color: var(--g-ink-muted); }
.mega__grille { display: grid; gap: 2px; }
.mega__grille a { display: flex; align-items: center; gap: var(--g-space-3); padding: var(--g-space-2); border-radius: var(--g-radius); color: var(--g-navy-900); text-decoration: none; }
.mega__grille a:hover { background: var(--g-bg-alt); color: var(--g-navy-900); }
.mega__grille .pastille { width: 34px; height: 34px; border-radius: var(--g-radius); }
.mega__grille .pastille svg { width: 18px; height: 18px; }
.mega__grille strong { display: block; font: var(--g-fw-medium) var(--g-fs-sm)/1.3 var(--g-font-title); }
.mega__grille small { display: block; color: var(--g-ink-muted); font-size: var(--g-fs-xs); line-height: 1.4; }
.mega__liens a { display: block; padding: 6px 0; color: var(--g-navy-900); text-decoration: none; font-size: var(--g-fs-sm); }
.mega__liens a:hover { color: var(--g-navy-700); text-decoration: underline; }
.mega__offre { margin-top: var(--g-space-4); padding: var(--g-space-4); border-radius: var(--g-radius-lg); background: var(--g-bg-alt); border: 1px solid var(--g-border); display: grid; gap: var(--g-space-3); font-size: var(--g-fs-sm); }
.mega__offre strong { font: var(--g-fw-medium) var(--g-fs-sm)/1.4 var(--g-font-title); }
/* Menu mobile ouvert : plein écran, les deux parcours en tête */
/* l'en-tête flouté sert de bloc conteneur : le tiroir se place sous lui, hauteur = reste de l'écran */
.nav.ouvert { display: block; position: fixed; top: 100%; left: 0; right: 0; height: calc(100vh - 56px); height: calc(100dvh - 56px); overflow-y: auto; overscroll-behavior: contain; background: var(--g-white); border-top: 1px solid var(--g-border); }
.nav.ouvert .nav__liste { display: grid; padding: var(--g-space-2) 20px var(--g-space-7); }
.nav.ouvert .nav__liste > li { border-bottom: 1px solid var(--g-border); }
.nav.ouvert .nav__parcours { order: -1; }
.nav.ouvert .mega { padding-bottom: var(--g-space-4); }
.nav__mobile { display: flex; flex-wrap: wrap; gap: var(--g-space-3); align-items: center; padding-top: var(--g-space-5); border-bottom: 0 !important; }
.nav__mobile .langue { display: inline-flex; }
.nav__mobile .bouton { flex: 1 1 100%; }
.nav__mobile .bouton svg { width: 20px; height: 20px; }
body.menu-ouvert { overflow: hidden; }

/* ---------- Haut de page : texte à gauche, composition produit à droite ---------- */
.hero { padding: 32px 0 48px; overflow: hidden; }
.hero__grille { display: grid; gap: var(--g-space-7); align-items: center; }
.hero__grille > * { min-width: 0; }
.hero__offre { display: inline-flex; align-items: center; gap: var(--g-space-2); margin-bottom: 18px; padding: 5px 14px 5px 6px; border: 1px solid var(--g-border); border-radius: var(--g-radius-full); background: var(--g-bg-alt); color: var(--g-navy-900); font-size: var(--g-fs-sm); text-decoration: none; }
.hero__offre span { padding: 2px 10px; border-radius: var(--g-radius-full); background: var(--g-navy-900); color: var(--g-white); font: var(--g-fw-medium) var(--g-fs-xs)/1.5 var(--g-font-title); }
.hero__offre:hover { border-color: var(--g-border-hover); color: var(--g-navy-900); }
.hero h1 { font-size: var(--g-fs-h1); margin-bottom: 20px; }
.hero__accroche { font-size: var(--g-fs-lg); font-weight: var(--g-fw-display); color: var(--g-ink-muted); max-width: 36ch; margin-bottom: var(--g-space-6); }
.hero__mention { margin: var(--g-space-4) 0 0; font-size: var(--g-fs-xs); color: var(--g-ink-muted); max-width: 52ch; }

/* Cadre d'appareil (captures du logiciel) */
.appareil { margin: 0; background: var(--g-white); border: 1px solid var(--g-border); border-radius: var(--g-radius-xl); box-shadow: var(--g-shadow-device); overflow: hidden; }
.appareil__barre { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-bottom: 1px solid var(--g-border); background: var(--g-bg-alt); font-size: var(--g-fs-xs); color: var(--g-ink-muted); }
.appareil__barre i { width: 9px; height: 9px; border-radius: 50%; background: var(--g-border-hover); }
.appareil__barre span { margin-left: 10px; font-weight: var(--g-fw-medium); color: var(--g-navy-900); }
.appareil img { width: 100%; }
.appareil__fictif { margin: 0; padding: 10px 20px; border-top: 1px solid var(--g-border); background: var(--g-bg-alt); font-size: var(--g-fs-xs); color: var(--g-ink-muted); }
.composition { margin: 0; }
.composition__scene { position: relative; padding-bottom: 12%; }
.composition__scene .appareil--second { position: absolute; right: 0; bottom: 0; width: 50%; }
.composition figcaption { margin-top: var(--g-space-3); font-size: var(--g-fs-xs); color: var(--g-ink-muted); }

/* Mini-interfaces fictives (créances, stocks) : données d'illustration */
.ui { padding: 16px; font-size: var(--g-fs-sm); overflow-x: auto; }
.ui table { width: 100%; border-collapse: collapse; }
.ui th { text-align: left; font-weight: var(--g-fw-medium); color: var(--g-ink-muted); font-size: var(--g-fs-xs); padding: 8px; border-bottom: 1px solid var(--g-border); }
.ui td { padding: 10px 8px; border-bottom: 1px solid var(--g-border); }
.ui tr:last-child td { border-bottom: 0; }
.ui td:last-child, .ui th:last-child { text-align: right; }
.puce { display: inline-block; padding: 2px 8px; border-radius: var(--g-radius-full); background: var(--g-sky-50); color: var(--g-sky-ink); font-size: var(--g-fs-xs); white-space: nowrap; }
.puce--alerte { background: var(--g-cta-50); color: var(--g-cta-hover); }

/* Apparition unique du haut de page (coupée si moins d'animations est demandé) */
@media (prefers-reduced-motion: no-preference) {
  .apparait { animation: apparition .7s var(--g-ease) both; }
  .apparait--2 { animation-delay: .12s; }
  @keyframes apparition { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ---------- Bande de preuves ---------- */
.preuves { border-top: 1px solid var(--g-border); border-bottom: 1px solid var(--g-border); background: var(--g-bg-alt); }
.preuves ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: var(--g-space-4) var(--g-space-5); padding: 22px 0; }
.preuves li { display: flex; align-items: center; gap: 10px; font: var(--g-fw-medium) var(--g-fs-sm)/1.35 var(--g-font-title); }
.preuves svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--g-sky-ink); }

/* ---------- Deux parcours ---------- */
.parcours { display: grid; gap: 20px; }
.parcours__carte { display: flex; flex-direction: column; gap: var(--g-space-4); padding: var(--g-space-6); border: 1px solid var(--g-border); border-radius: var(--g-radius-lg); background: var(--g-white);
  transition: border-color var(--g-fast), transform var(--g-fast), box-shadow var(--g-fast); }
.parcours__carte:hover { border-color: var(--g-border-hover); transform: translateY(-2px); box-shadow: var(--g-shadow-sm); }
.parcours__carte h3 { margin: 0; }
.parcours__type { font: var(--g-fw-medium) var(--g-fs-xs)/1.4 var(--g-font-title); color: var(--g-sky-ink); }
.parcours__carte .coches { margin: 0; }
.parcours__carte .lien-fleche { margin-top: auto; }
.parcours__carte--sombre { background: var(--g-navy-900); border-color: var(--g-navy-900); color: var(--g-white); }
.parcours__carte--sombre h3, .parcours__carte--sombre .lien-fleche { color: var(--g-white); }
.parcours__carte--sombre .parcours__type { color: var(--g-sky); }
.parcours__carte--sombre .coches li { color: var(--g-navy-200); }
.parcours__carte--sombre .coches svg { color: var(--g-sky); }
.parcours__carte--sombre:hover { border-color: var(--g-navy-700); }

/* ---------- Visite du logiciel (onglets) ---------- */
.onglets__liste { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-bottom: var(--g-space-7); border-bottom: 1px solid var(--g-border); }
.onglets__liste::-webkit-scrollbar { display: none; }
@media (max-width: 599px) {
  .onglets__liste { padding-right: 48px; -webkit-mask-image: linear-gradient(to right, var(--g-navy-900) calc(100% - 48px), transparent); mask-image: linear-gradient(to right, var(--g-navy-900) calc(100% - 48px), transparent); }
}
.onglets__liste[hidden] { display: none; }
.onglet { flex: 0 0 auto; padding: 12px 14px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--g-ink-muted); font: var(--g-fw-medium) var(--g-fs-sm) var(--g-font-title); cursor: pointer;
  transition: color var(--g-fast), border-color var(--g-slow); }
.onglet:hover { color: var(--g-navy-900); }
.onglet[aria-selected="true"] { color: var(--g-navy-900); border-bottom-color: var(--g-navy-900); }
.panneau { display: grid; gap: var(--g-space-6); align-items: center; }
.panneau + .panneau { margin-top: var(--g-space-8); }
.js-actif .panneau + .panneau { margin-top: 0; }
.panneau[hidden] { display: none; }
.panneau > * { min-width: 0; }
.panneau h3 { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); font-weight: 400; margin-bottom: var(--g-space-3); }
.panneau p { color: var(--g-ink-muted); }
.panneau .facture { box-shadow: var(--g-shadow-device); }

/* ---------- Atouts (5 avantages) ---------- */
.atouts-liste { list-style: none; display: grid; gap: 1px; background: var(--g-border); border: 1px solid var(--g-border); border-radius: var(--g-radius-lg); overflow: hidden; }
.atouts-liste > li { background: var(--g-white); padding: var(--g-space-6) var(--g-space-5); }
.atouts-liste svg { width: 24px; height: 24px; color: var(--g-sky-ink); margin-bottom: var(--g-space-4); }
.atouts-liste h3 { margin-bottom: var(--g-space-2); }
.atouts-liste p { margin: 0; color: var(--g-ink-muted); font-size: var(--g-fs-sm); }
.atouts-liste__large { display: grid; gap: var(--g-space-5); }
.puces-modules { list-style: none; display: flex; flex-wrap: wrap; gap: var(--g-space-2); }
.puces-modules a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--g-border); border-radius: var(--g-radius-full); color: var(--g-navy-900); font-size: var(--g-fs-xs); text-decoration: none; background: var(--g-white); }
.puces-modules a:hover { border-color: var(--g-navy-900); }
.puces-modules svg { width: 14px; height: 14px; margin: 0; color: var(--g-sky-ink); }
/* Ancienne carte d'avantage (pages intérieures) */
.avantage { background: var(--g-white); border: 1px solid var(--g-border); border-radius: var(--g-radius-lg); padding: var(--g-space-6) var(--g-space-5); }
.avantage .pastille { margin-bottom: var(--g-space-4); }
.avantage p { color: var(--g-ink-muted); margin: 0; }
.avantage__lien { display: inline-block; margin-top: var(--g-space-3); font-weight: 600; }
.avantage--appel { background: var(--g-navy-900); border-color: var(--g-navy-900); color: var(--g-white); display: flex; flex-direction: column; justify-content: center; }
.avantage--appel h3 { color: var(--g-white); }
.avantage--appel p { color: var(--g-navy-200); margin-bottom: var(--g-space-5); }

.pastille { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--g-radius); background: var(--g-sky-50); color: var(--g-sky-ink); }
.pastille svg { width: 22px; height: 22px; }

/* ---------- Secteurs : défilement horizontal sur mobile ---------- */
.secteurs { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: var(--g-space-4); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--g-space-3); scrollbar-width: thin; }
.secteurs > * { scroll-snap-align: start; }
.carte-secteur { display: flex; flex-direction: column; background: var(--g-white); border: 1px solid var(--g-border); border-radius: var(--g-radius-lg); overflow: hidden; text-decoration: none; color: inherit;
  transition: border-color var(--g-fast), transform var(--g-fast); }
.carte-secteur:hover { border-color: var(--g-border-hover); transform: translateY(-2px); color: inherit; }
.carte-secteur img, .carte-secteur__fond { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.carte-secteur__fond { display: flex; align-items: center; justify-content: center; background: var(--g-bg-alt); color: var(--g-navy-700); }
.carte-secteur__fond svg { width: 48px; height: 48px; opacity: .45; }
.carte-secteur > .pastille { display: none; }
.carte-secteur__corps { padding: var(--g-space-5); display: flex; flex-direction: column; flex: 1; }
.carte-secteur h2, .carte-secteur h3 { margin-bottom: var(--g-space-2); font-size: var(--g-fs-base); font-weight: var(--g-fw-medium); }
.carte-secteur p { color: var(--g-ink-muted); font-size: var(--g-fs-sm); flex: 1; }
.carte-secteur__lien { font: var(--g-fw-medium) var(--g-fs-sm) var(--g-font-title); color: var(--g-navy-900); text-decoration: underline; text-decoration-color: var(--g-border-hover); text-underline-offset: 4px; }

/* ---------- Bloc image + texte ---------- */
.partage { display: grid; gap: var(--g-space-7); align-items: center; }
.partage > * { min-width: 0; }
.partage__image { border-radius: var(--g-radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.coches { list-style: none; margin: 0 0 var(--g-space-5); }
.coches li { position: relative; padding-left: 30px; margin-bottom: var(--g-space-2); }
.coches svg { position: absolute; left: 0; top: 4px; width: 18px; height: 18px; color: var(--g-success); }

/* ---------- La caisse (liste) ---------- */
.caisse-liste { list-style: none; display: grid; gap: var(--g-space-4); }
.caisse-liste li { display: flex; gap: var(--g-space-3); align-items: flex-start; }
.caisse-liste .pastille { width: 40px; height: 40px; }
.caisse-liste strong { display: block; font-family: var(--g-font-title); font-weight: var(--g-fw-medium); }
.caisse-liste span { color: var(--g-ink-muted); font-size: var(--g-fs-sm); }

/* ---------- Facture normalisée d'exemple (données fictives, D50) ---------- */
.facture { margin: 0; background: var(--g-white); color: var(--g-navy-900); border: 1px solid var(--g-border); border-radius: var(--g-radius-lg); box-shadow: var(--g-shadow-md); padding: var(--g-space-5); font-size: var(--g-fs-xs); line-height: 1.5; }
.facture__entete { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--g-space-3); padding-bottom: var(--g-space-3); border-bottom: 2px solid var(--g-border); }
.facture__entete > div { display: flex; flex-direction: column; }
.facture__societe, .facture__ref strong { font: 600 var(--g-fs-base)/1.3 var(--g-font-title); }
.facture__ref { text-align: right; }
.facture__lignes { width: 100%; border-collapse: collapse; margin: var(--g-space-3) 0; }
.facture__lignes th { background: var(--g-bg-alt); text-align: left; font-weight: 600; padding: 6px 8px; }
.facture__lignes td { padding: 6px 8px; border-bottom: 1px solid var(--g-border); }
.facture__lignes th:not(:first-child), .facture__lignes td:not(:first-child) { text-align: right; white-space: nowrap; }
.facture__bas { display: grid; gap: var(--g-space-3); grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.facture__totaux, .facture__mecef { margin: 0; border: 1px solid var(--g-border); border-radius: var(--g-radius); padding: var(--g-space-3); }
.facture__totaux div, .facture__mecef dl div { display: flex; justify-content: space-between; gap: var(--g-space-3); }
.facture dt { font-weight: 600; }
.facture dd { margin: 0; text-align: right; }
.facture__ttc { border-top: 1px solid var(--g-border); margin-top: 4px; padding-top: 4px; font-size: var(--g-fs-sm); }
.facture__lettres dd { font-style: italic; max-width: 60%; }
.facture__mecef { text-align: center; display: flex; flex-direction: column; gap: 4px; }
.facture__mecef-grille { display: flex; align-items: center; gap: var(--g-space-3); text-align: left; }
.facture__mecef dl { margin: 0; flex: 1; }
.facture__qr { width: 72px; height: 72px; }
.masque { filter: blur(3px); user-select: none; }
.masque--qr { flex: 0 0 auto; filter: blur(2.5px); }
.facture__legende { margin-top: var(--g-space-3); text-align: center; color: var(--g-ink-muted); }

/* ---------- Ticket de caisse (conservé pour les pages qui l'utilisent) ---------- */
.ticket { justify-self: center; width: min(100%, 320px); background: var(--g-paper); color: var(--g-navy-900); border-radius: var(--g-radius-sm) var(--g-radius-sm) 0 0;
  box-shadow: var(--g-shadow-md); font: 400 var(--g-fs-sm)/1.5 var(--g-font-ticket); padding: var(--g-space-5) var(--g-space-5) var(--g-space-6); position: relative; }
.ticket::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px;
  background: linear-gradient(-45deg, transparent 6px, var(--g-paper) 0) 0 0 / 12px 10px repeat-x, linear-gradient(45deg, transparent 6px, var(--g-paper) 0) 0 0 / 12px 10px repeat-x; }
.ticket__tete { text-align: center; border-bottom: 1px dashed var(--g-border-strong); padding-bottom: var(--g-space-3); margin-bottom: var(--g-space-3); }
.ticket__tete strong { display: block; font-family: var(--g-font-title); font-size: var(--g-fs-base); letter-spacing: .08em; }
.ticket__lignes { list-style: none; }
.ticket__lignes li, .ticket__total, .ticket__paiement { display: flex; justify-content: space-between; gap: var(--g-space-3); }
.ticket__total { border-top: 1px dashed var(--g-border-strong); margin-top: var(--g-space-3); padding-top: var(--g-space-3); font-weight: 700; font-size: var(--g-fs-base); }
.ticket__paiement { color: var(--g-ink-muted); }
.ticket__etat { display: flex; align-items: center; gap: var(--g-space-2); margin-top: var(--g-space-4); padding: var(--g-space-2) var(--g-space-3); border-radius: var(--g-radius-sm); background: var(--g-sky-50); color: var(--g-sky-ink); font: 600 var(--g-fs-xs)/1.3 var(--g-font-text); }
.ticket__etat svg { width: 16px; height: 16px; flex: 0 0 auto; }
.ticket__legende { margin: var(--g-space-3) 0 0; text-align: center; color: var(--g-ink-muted); font-size: var(--g-fs-xs); }

/* ---------- Étapes (vraie séquence) ---------- */
.etapes { list-style: none; counter-reset: etape; display: grid; gap: var(--g-space-4); }
.etapes li { counter-increment: etape; position: relative; padding: var(--g-space-5) var(--g-space-5) var(--g-space-5) 68px; background: var(--g-white); border: 1px solid var(--g-border); border-radius: var(--g-radius-lg); }
.etapes li::before { content: counter(etape); position: absolute; left: var(--g-space-5); top: var(--g-space-5); width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--g-navy-900); color: var(--g-navy-900); display: flex; align-items: center; justify-content: center; font: var(--g-fw-medium) var(--g-fs-sm) var(--g-font-title); }
.etapes h3 { font-size: var(--g-fs-base); margin-bottom: var(--g-space-1); }
.etapes p { margin: 0; color: var(--g-ink-muted); font-size: var(--g-fs-sm); }

/* ---------- Formules ---------- */
.formule { position: relative; display: flex; flex-direction: column; background: var(--g-white); border: 1px solid var(--g-border); border-radius: var(--g-radius-lg); overflow: hidden; }
.formule__tete { padding: 60px var(--g-space-5) var(--g-space-4); }
.formule__tete h3 { font-size: var(--g-fs-base); margin-bottom: var(--g-space-3); }
.formule__prix { font: var(--g-fw-display) clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem)/1.1 var(--g-font-title); letter-spacing: -.02em; color: var(--g-navy-900); margin: 0; white-space: nowrap; }
.formule__environ { display: block; margin-bottom: 2px; font: 400 var(--g-fs-sm)/1.4 var(--g-font-text); letter-spacing: 0; color: var(--g-ink-muted); }
.formule .etiquette { position: absolute; top: var(--g-space-5); left: var(--g-space-5); margin: 0; }
.formule__periode { color: var(--g-ink-muted); font-size: var(--g-fs-sm); }
.formule ul { list-style: none; padding: var(--g-space-4) var(--g-space-5); flex: 1; border-top: 1px solid var(--g-border); font-size: var(--g-fs-sm); }
.formule li { position: relative; padding: 6px 0 6px 22px; }
.formule li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--g-sky); }
.formule__pied { padding: 0 var(--g-space-5) var(--g-space-5); }
.formule--conseillee { border-color: var(--g-navy-900); box-shadow: var(--g-shadow-md); }
.etiquette { display: inline-block; margin-bottom: var(--g-space-3); padding: 2px 10px; border-radius: var(--g-radius-full); background: var(--g-navy-900); color: var(--g-white); font: var(--g-fw-medium) var(--g-fs-xs)/1.5 var(--g-font-title); }
.formules__note { margin-top: var(--g-space-5); }

/* ---------- FAQ + formulaire ---------- */
.faq-forme { align-items: start; }
details { border-bottom: 1px solid var(--g-border); }
details:first-of-type { border-top: 1px solid var(--g-border); }
summary { display: flex; justify-content: space-between; gap: var(--g-space-3); padding: var(--g-space-4) 0; cursor: pointer; list-style: none; font: var(--g-fw-medium) var(--g-fs-base)/1.4 var(--g-font-title); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--g-ink-muted); font-size: 1.4rem; line-height: 1; font-weight: 300; transition: transform var(--g-fast); }
summary:hover { color: var(--g-navy-700); }
details[open] summary::after { content: "−"; }
details p { padding: 0 0 var(--g-space-4); margin: 0; color: var(--g-ink-muted); max-width: 64ch; }

.carte-formulaire { background: var(--g-white); border: 1px solid var(--g-border); border-radius: var(--g-radius-lg); padding: var(--g-space-6) var(--g-space-5); box-shadow: var(--g-shadow-sm); }
.carte-formulaire > p { color: var(--g-ink-muted); }
.champ { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--g-space-4); }
.champ label { font-weight: var(--g-fw-medium); font-size: var(--g-fs-sm); }
.champ input, .champ select { min-height: 48px; width: 100%; padding: 0 var(--g-space-3); border: 1px solid var(--g-border-strong); border-radius: var(--g-radius); background: var(--g-white); color: var(--g-ink); font: 400 var(--g-fs-base) var(--g-font-text); }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 3px solid var(--g-sky); outline-offset: 1px; }
.champ input[aria-invalid="true"] { border: 2px solid var(--g-error); }
.champ__erreur { font-size: var(--g-fs-sm); color: var(--g-error); background: var(--g-error-50); border-radius: var(--g-radius-sm); padding: 4px 8px; }
.champ__erreur:empty { display: none; }
.champ textarea { min-height: 120px; width: 100%; padding: var(--g-space-3); border: 1px solid var(--g-border-strong); border-radius: var(--g-radius); font: 400 var(--g-fs-base)/1.5 var(--g-font-text); resize: vertical; }
.champ__aide { font-size: var(--g-fs-xs); color: var(--g-ink-muted); }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Formulaires (D74) : blocs titrés, grille souple 1 ou 2 colonnes, indicatif, confirmation qui remplace les champs */
.formulaire__bloc { border: 0; margin: 0 0 var(--g-space-5); padding: 0; min-width: 0; }
.formulaire__bloc > legend { width: 100%; margin-bottom: var(--g-space-4); padding: 0 0 var(--g-space-2); border-bottom: 1px solid var(--g-border); font: var(--g-fw-medium) var(--g-fs-sm)/1.4 var(--g-font-title); color: var(--g-ink-muted); }
.formulaire__grille { display: grid; gap: 0 var(--g-space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.formulaire__grille > * { min-width: 0; }
.champ--plein { grid-column: 1 / -1; }
.champ select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--g-ink-muted) 50%), linear-gradient(135deg, var(--g-ink-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.champ input:hover, .champ select:hover, .champ textarea:hover { border-color: var(--g-navy-900); }
.champ__groupe { display: flex; align-items: stretch; min-height: 48px; border: 1px solid var(--g-border-strong); border-radius: var(--g-radius); background: var(--g-white); overflow: hidden; }
.champ__groupe:hover { border-color: var(--g-navy-900); }
.champ__groupe:focus-within { outline: 3px solid var(--g-sky); outline-offset: 1px; }
.champ__prefixe { display: flex; align-items: center; padding: 0 var(--g-space-3); border-right: 1px solid var(--g-border); background: var(--g-bg-alt); color: var(--g-ink-muted); font-size: var(--g-fs-sm); }
.champ .champ__groupe input { border: 0; border-radius: 0; min-height: 46px; }
.champ .champ__groupe input:focus { outline: none; }
.champ__groupe:has(input[aria-invalid="true"]) { border: 2px solid var(--g-error); }
.formulaire .case { color: var(--g-ink-muted); line-height: 1.5; }
.sombre .formulaire .case { color: var(--g-navy-200); }
.formulaire__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--g-space-3); }
.formulaire .message--ok { display: flex; gap: var(--g-space-3); align-items: flex-start; padding: var(--g-space-5); border: 1px solid var(--g-success); border-radius: var(--g-radius-lg); font-weight: var(--g-fw-medium); line-height: 1.5; }
.formulaire .message--ok::before { content: "✓"; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--g-success); color: var(--g-white); font-weight: 700; }
.formulaire--envoye > :not(.message) { display: none; }
.formulaire--envoye .message { margin-top: 0; }
.formulaire .message:focus { outline: none; }
.message { margin: var(--g-space-4) 0 0; padding: var(--g-space-3) var(--g-space-4); border-radius: var(--g-radius); font-weight: 600; }
.message:empty { display: none; }
.message--ok { background: var(--g-success-50); color: var(--g-success); }
.message--erreur { background: var(--g-error-50); color: var(--g-error); }
.message .bouton { margin-top: var(--g-space-3); }
.mention { font-size: var(--g-fs-xs); color: var(--g-ink-muted); margin: var(--g-space-3) 0 0; }
.sombre .mention { color: var(--g-navy-200); }
.sombre .mention a { color: var(--g-white); }

/* ---------- Blog ---------- */
.article-carte { background: var(--g-white); border: 1px solid var(--g-border); border-radius: var(--g-radius-lg); overflow: hidden; transition: border-color var(--g-fast); }
.article-carte:hover { border-color: var(--g-border-hover); }
.article-carte img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.article-carte__corps { padding: var(--g-space-5); }
.article-carte__categorie { font: var(--g-fw-medium) var(--g-fs-xs)/1.4 var(--g-font-title); color: var(--g-sky-ink); }
.article-carte h3 { margin: var(--g-space-2) 0 0; font-size: var(--g-fs-base); }
.article-carte h3 a { color: var(--g-navy-900); text-decoration: none; }
.article-carte h3 a:hover { text-decoration: underline; }
.liens-conseils { list-style: none; margin-top: var(--g-space-6); }
.liens-conseils li { padding: var(--g-space-3) 0; border-top: 1px solid var(--g-border); font-size: var(--g-fs-sm); }
.liens-conseils span { display: block; color: var(--g-ink-muted); font-size: var(--g-fs-xs); }

/* ---------- Appel final ---------- */
.appel { display: grid; gap: var(--g-space-5); align-items: center; padding: var(--g-space-7) var(--g-space-5); border-radius: var(--g-radius-xl); background: var(--g-navy-900); color: var(--g-white); }
.appel h2 { margin: 0 0 var(--g-space-2); color: var(--g-white); font-size: var(--g-fs-h2); }
.appel p { margin: 0; color: var(--g-navy-200); }
.appel .bouton--whatsapp { background: var(--g-wa); }

/* ---------- Pied de page ---------- */
.pied { background: var(--g-navy-900); color: var(--g-navy-200); padding: var(--g-space-8) 0 var(--g-space-5); font-size: var(--g-fs-sm); }
.pied h2 { color: var(--g-white); font: var(--g-fw-medium) var(--g-fs-sm)/1.4 var(--g-font-title); letter-spacing: 0; margin-bottom: var(--g-space-3); }
.pied ul { list-style: none; }
.pied a { color: var(--g-navy-200); text-decoration: none; display: inline-block; padding: 5px 0; }
.pied a:hover { color: var(--g-white); text-decoration: underline; }
.pied .logo { color: var(--g-white); margin-bottom: var(--g-space-4); padding: 0; }
.pied .champ label { color: var(--g-white); }
.pied__haut { display: grid; gap: var(--g-space-6); grid-template-columns: 1fr 1fr; }
.pied__marque, .pied__lettre { grid-column: 1 / -1; }
.pied__assurance { list-style: none; display: flex; flex-wrap: wrap; gap: var(--g-space-3) var(--g-space-6); margin-top: var(--g-space-7); padding: var(--g-space-5) 0; border-top: 1px solid var(--g-line-dark); }
.pied__assurance li { display: flex; align-items: center; gap: var(--g-space-2); color: var(--g-white); }
.pied__assurance svg { width: 18px; height: 18px; color: var(--g-sky); }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--g-space-3); border-top: 1px solid var(--g-line-dark); padding-top: var(--g-space-5); }
.pied__bas p { margin: 0; }
.pied__bas ul { display: flex; flex-wrap: wrap; gap: 0 var(--g-space-4); }
.pied .langue { color: var(--g-white); border-color: var(--g-line-dark); padding: 0 12px; }
.lien-bouton { background: none; border: 0; padding: 5px 0; color: var(--g-navy-200); font: inherit; cursor: pointer; text-decoration: none; }
.lien-bouton:hover { color: var(--g-white); text-decoration: underline; }

/* ---------- Bouton WhatsApp flottant ---------- */
.whatsapp-flottant { position: fixed; right: var(--g-space-4); bottom: var(--g-space-4); z-index: 25; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--g-wa); color: var(--g-navy-900); box-shadow: var(--g-shadow-md); }
.whatsapp-flottant svg { width: 28px; height: 28px; }
body.bandeau-visible .whatsapp-flottant { bottom: 168px; }
body.menu-ouvert .whatsapp-flottant { display: none; }

/* ---------- Bandeau cookies ---------- */
.bandeau-cookies { position: fixed; left: var(--g-space-3); right: var(--g-space-3); bottom: var(--g-space-3); z-index: 40; display: flex; flex-wrap: wrap; align-items: center; gap: var(--g-space-3);
  max-width: 760px; margin: 0 auto; padding: var(--g-space-4); background: var(--g-white); border: 1px solid var(--g-border); border-radius: var(--g-radius-lg); box-shadow: var(--g-shadow-md); font-size: var(--g-fs-sm); }
.bandeau-cookies[hidden] { display: none; }
.bandeau-cookies p { margin: 0; flex: 1 1 280px; }
.bandeau-cookies .actions { flex: 0 0 auto; }
.bandeau-cookies .bouton { min-height: 44px; }

/* ---------- Popup e-mailing ---------- */
.popup { position: fixed; inset: 0; z-index: 45; display: flex; align-items: flex-end; justify-content: center; background: var(--g-overlay-soft); }
.popup[hidden] { display: none; }
.popup__boite { position: relative; width: 100%; max-width: 460px; max-height: 90vh; overflow: auto; background: var(--g-white); border-radius: var(--g-radius-xl) var(--g-radius-xl) 0 0; padding: var(--g-space-6) var(--g-space-5) var(--g-space-5); box-shadow: var(--g-shadow-lg); }
.popup__fermer { position: absolute; top: var(--g-space-2); right: var(--g-space-2); width: 44px; height: 44px; border: 0; background: none; color: var(--g-navy-900); cursor: pointer; border-radius: var(--g-radius); }
.popup__fermer svg { width: 22px; height: 22px; margin: auto; }
.case { display: flex; gap: var(--g-space-2); align-items: flex-start; margin-bottom: var(--g-space-4); font-size: var(--g-fs-sm); }
.case input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--g-navy-700); }

/* ---------- Pages intérieures ---------- */
/* En-tête de page clair (par défaut) ; variante photo sombre réservée aux secteurs (R1 §3.7) */
.entete-page { position: relative; isolation: isolate; overflow: hidden; background: var(--g-bg-alt); border-bottom: 1px solid var(--g-border); padding: var(--g-space-6) 0 var(--g-space-8); }
.entete-page h1 { max-width: 20ch; }
.entete-page__chapo { font-size: var(--g-fs-lg); font-weight: var(--g-fw-display); color: var(--g-ink-muted); max-width: 58ch; }
.entete-page .actions { margin-top: var(--g-space-5); }
.entete-page .hero__mention { margin-top: var(--g-space-3); }
.entete-page .bouton--clair { background: var(--g-white); color: var(--g-navy-900); border-color: var(--g-border); }
.entete-page .bouton--clair:hover { border-color: var(--g-navy-900); }
.entete-page__grille { display: grid; gap: var(--g-space-7); align-items: center; }
.entete-page__grille > * { min-width: 0; }
.entete-page--photo { background: var(--g-navy-900); color: var(--g-white); border-bottom: 0; }
.entete-page--photo h1 { color: var(--g-white); }
.entete-page--photo .surtitre { color: var(--g-sky); }
.entete-page--photo .entete-page__chapo { color: var(--g-ink-soft); }
.entete-page--photo .hero__mention { color: var(--g-navy-200); }
.entete-page--photo .bouton--clair { background: transparent; color: var(--g-white); border-color: var(--g-white); }
.entete-page--photo .bouton--clair:hover { background: var(--g-white); color: var(--g-navy-900); }
.entete-page__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.entete-page--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--g-overlay); }
.entete-page--photo :focus-visible { outline-color: var(--g-sky); }
.fil { font-size: var(--g-fs-xs); margin-bottom: var(--g-space-5); color: var(--g-ink-muted); }
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.fil li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.fil a { color: var(--g-ink-muted); }
.fil a:hover { color: var(--g-navy-900); }
.entete-page--photo .fil, .entete-page--photo .fil a, .article-entete .fil a { color: var(--g-navy-200); }
.entete-page--photo .fil a:hover { color: var(--g-white); }

.prose { max-width: 72ch; }
.prose h2 { font-size: var(--g-fs-h3); font-weight: var(--g-fw-medium); letter-spacing: 0; margin-top: var(--g-space-6); }
.prose h3 { font-size: var(--g-fs-base); margin-top: var(--g-space-5); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 0 0 1em; font-size: var(--g-fs-sm); }
.prose code { overflow-wrap: anywhere; font-size: .92em; }
.prose th, .prose td { border: 1px solid var(--g-border); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--g-bg-alt); font-weight: var(--g-fw-medium); }
.encadre { background: var(--g-bg-alt); border: 1px solid var(--g-border); border-left: 3px solid var(--g-sky); border-radius: var(--g-radius); padding: var(--g-space-4) var(--g-space-5); margin: var(--g-space-5) 0; }
.encadre--attention { background: var(--g-error-50); border-left-color: var(--g-error); }
.mise-a-jour { color: var(--g-ink-muted); font-size: var(--g-fs-sm); }

.tableau { width: 100%; overflow-x: auto; border: 1px solid var(--g-border); border-radius: var(--g-radius-lg); background: var(--g-white); }
.tableau table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--g-fs-sm); }
.tableau th, .tableau td { padding: 14px 16px; border-bottom: 1px solid var(--g-border); text-align: left; vertical-align: top; }
.tableau thead th { background: var(--g-bg-alt); color: var(--g-navy-900); font-family: var(--g-font-title); font-weight: var(--g-fw-medium); }
.tableau tbody th { font-weight: var(--g-fw-medium); }
.tableau tr:last-child td, .tableau tr:last-child th { border-bottom: 0; }

.douleur { background: var(--g-white); border: 1px solid var(--g-border); border-radius: var(--g-radius-lg); padding: var(--g-space-5); }
.douleur h3 { font-size: var(--g-fs-base); margin-bottom: var(--g-space-2); }
.douleur p { margin: 0; color: var(--g-ink-muted); font-size: var(--g-fs-sm); }
.douleur__solution { display: block; margin-top: var(--g-space-3); padding-top: var(--g-space-3); border-top: 1px solid var(--g-border); color: var(--g-ink); }

.module { background: var(--g-white); border: 1px solid var(--g-border); border-radius: var(--g-radius-lg); padding: var(--g-space-5); scroll-margin-top: 96px; transition: border-color var(--g-fast); }
.module:hover { border-color: var(--g-border-hover); }
.module .pastille { margin-bottom: var(--g-space-3); }
.module h2, .module h3 { font-size: var(--g-fs-h3); font-weight: var(--g-fw-medium); letter-spacing: 0; margin-bottom: var(--g-space-2); }
.module p { color: var(--g-ink-muted); font-size: var(--g-fs-sm); }
.module ul { list-style: none; font-size: var(--g-fs-sm); }
.module li { padding: 4px 0 4px 22px; position: relative; }
.module li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--g-sky); }
.module--caisse { border-color: var(--g-navy-900); margin-bottom: var(--g-space-5); }
.module.carte-page--sombre { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }

.carte-page { background: var(--g-white); border: 1px solid var(--g-border); border-radius: var(--g-radius-lg); padding: var(--g-space-6) var(--g-space-5); }
.carte-page + .carte-page, .carte-page + p { margin-top: var(--g-space-5); }
.carte-page .pastille { margin-bottom: var(--g-space-3); }
.carte-page--sombre { background: var(--g-navy-900); color: var(--g-white); border-color: var(--g-navy-900); }
.carte-page--sombre h2, .carte-page--sombre h3 { color: var(--g-white); }
.carte-page--sombre p, .carte-page--sombre .coches li { color: var(--g-navy-200); }
.carte-page--sombre .coches svg { color: var(--g-sky); }
.carte-page--sombre .champ__aide { color: var(--g-navy-200); }
.carte-page--sombre .pastille { background: var(--g-sky-glow); color: var(--g-sky); }
.creneaux { border: 0; padding: 0; margin: 0 0 var(--g-space-4); min-width: 0; }
.creneaux legend { padding: 0; font-weight: var(--g-fw-medium); font-size: var(--g-fs-sm); margin-bottom: 6px; }
.creneaux__grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: var(--g-space-2); }
.creneaux__grille label { display: block; }
.creneaux__grille input { position: absolute; opacity: 0; }
.creneaux__grille span { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--g-border-strong); border-radius: var(--g-radius); background: var(--g-white); color: var(--g-navy-900); font-weight: var(--g-fw-medium); cursor: pointer; }
.creneaux__grille input:checked + span { background: var(--g-navy-900); color: var(--g-white); border-color: var(--g-navy-900); }
.creneaux__grille input:focus-visible + span { outline: 3px solid var(--g-sky); outline-offset: 2px; }
.creneaux__etat { font-size: var(--g-fs-sm); color: var(--g-ink-muted); }

/* Parcours de la marchandise (page Distribution) */
.flux { list-style: none; counter-reset: flux; display: grid; gap: 1px; background: var(--g-border); border: 1px solid var(--g-border); border-radius: var(--g-radius-lg); overflow: hidden; }
.flux li { counter-increment: flux; background: var(--g-white); padding: var(--g-space-5); }
.flux li::before { content: counter(flux); display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-bottom: var(--g-space-3); border-radius: 50%; border: 1px solid var(--g-navy-900); font: var(--g-fw-medium) var(--g-fs-xs) var(--g-font-title); }
.flux h3 { font-size: var(--g-fs-base); margin-bottom: var(--g-space-1); }
.flux p { margin: 0; color: var(--g-ink-muted); font-size: var(--g-fs-sm); }

.article-entete { max-width: 72ch; }
.article-meta { color: var(--g-ink-muted); font-size: var(--g-fs-sm); }
.entete-page--photo .article-meta { color: var(--g-navy-200); }
.article-image { border-radius: var(--g-radius-lg); width: 100%; max-width: 72ch; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: var(--g-space-6); }
.categories { display: flex; flex-wrap: wrap; gap: var(--g-space-2); list-style: none; margin-bottom: var(--g-space-6); }
.categories a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--g-space-4); border: 1px solid var(--g-border); border-radius: var(--g-radius-full); color: var(--g-navy-900); text-decoration: none; font-size: var(--g-fs-sm); background: var(--g-white); }
.categories a:hover, .categories a[aria-current="page"] { border-color: var(--g-navy-900); background: var(--g-navy-900); color: var(--g-white); }

/* Anciennes classes (barre d'info, atouts chevauchants, faits sur photo) : plus utilisées par l'accueil refondu */
.barre-info { display: none; }

/* ---------- Points de rupture ---------- */
@media (max-width: 599px) {
  .hero .actions .bouton { flex: 1 1 auto; padding: 0 14px; }
}
@media (min-width: 600px) {
  .conteneur { padding: 0 32px; }
  .entete__demo .long { display: inline; }
  .entete__demo .court { display: none; }
  .entete__demo { padding: 0 var(--g-space-5); }
  .grille--2, .grille--3, .grille--4 { grid-template-columns: 1fr 1fr; }
  .secteurs { grid-auto-columns: 44%; }
  .atouts-liste { grid-template-columns: 1fr 1fr; }
  .atouts-liste__large { grid-column: 1 / -1; }
  .flux { grid-template-columns: 1fr 1fr; }
  .popup { align-items: center; }
  .popup__boite { border-radius: var(--g-radius-xl); }
  body.bandeau-visible .whatsapp-flottant { bottom: 120px; }
  .appel { padding: var(--g-space-8) var(--g-space-7); }
}
@media (min-width: 900px) {
  .section { padding: 112px 0; }
  .section--serree { padding: 80px 0; }
  .grille--3 { grid-template-columns: repeat(3, 1fr); }
  .grille--4 { grid-template-columns: repeat(4, 1fr); }
  .secteurs { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; overflow: visible; padding-bottom: 0; }
  .preuves ul { grid-template-columns: repeat(4, 1fr); }
  .parcours { grid-template-columns: 1fr 1fr; }
  .partage { grid-template-columns: 1fr 1fr; gap: var(--g-space-8); }
  .panneau { grid-template-columns: 4fr 8fr; gap: var(--g-space-8); }
  .atouts-liste { grid-template-columns: repeat(3, 1fr); }
  .atouts-liste__large { grid-column: span 2; grid-template-columns: 1fr 1.2fr; align-items: start; }
  .flux { grid-template-columns: repeat(3, 1fr); }
  .etapes { grid-template-columns: repeat(4, 1fr); }
  .etapes li { padding: 64px var(--g-space-5) var(--g-space-5); }
  .faq-forme { grid-template-columns: 1.2fr .8fr; gap: var(--g-space-8); }
  .pied__haut { grid-template-columns: 1.4fr repeat(3, 1fr) 1.4fr; }
  .pied__marque, .pied__lettre { grid-column: auto; }
  .appel { grid-template-columns: 1fr auto; }
  .entete-page { padding: var(--g-space-7) 0 96px; }
  .entete-page__grille { grid-template-columns: 5fr 7fr; gap: var(--g-space-8); }
}
@media (min-width: 1000px) {
  .entete .conteneur { min-height: 64px; gap: var(--g-space-6); }
  .entete .langue { display: inline-flex; }
  .nav { display: block; }
  .nav__liste { display: flex; align-items: center; gap: 28px; }
  .nav__lien, .nav__declencheur { width: auto; min-height: 64px; font-size: var(--g-fs-sm); }
  .nav__mobile, .nav__seul-mobile { display: none !important; }
  .mega { position: absolute; top: 100%; left: 0; right: 0; background: var(--g-white); border-bottom: 1px solid var(--g-border); box-shadow: var(--g-shadow-md); }
  .mega__interieur { max-width: var(--g-container); margin: 0 auto; padding: var(--g-space-5) 40px var(--g-space-6); display: grid; grid-template-columns: 2.2fr 1fr; gap: var(--g-space-7); }
  .mega__grille { grid-template-columns: repeat(3, 1fr); gap: var(--g-space-1) var(--g-space-3); }
  .mega__cote { border-left: 1px solid var(--g-border); padding-left: var(--g-space-6); }
  .mega--ressources .mega__interieur { grid-template-columns: repeat(3, 1fr); }
  .mega__interieur--seul { grid-template-columns: 1fr; }
  .mega__interieur--seul .mega__grille { grid-template-columns: repeat(4, 1fr); }
  .bouton-menu { display: none; }
  .hero { padding: 72px 0 72px; }
  .hero__grille { grid-template-columns: 11fr 13fr; gap: var(--g-space-8); }
}
@media (min-width: 1200px) {
  .conteneur { padding: 0 40px; }
  .hero .composition { margin-right: -64px; }
  .section { padding: 128px 0; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Pages légales (D73) : titre centré, date, articles en accordéon ---------- */
.entete-legal { padding: var(--g-space-7) 0 var(--g-space-6); text-align: center; border-bottom: 1px solid var(--g-border); }
.entete-legal .fil ol { justify-content: center; }
.entete-legal h1 { margin: 0 auto var(--g-space-3); max-width: 24ch; }
.entete-legal__maj { margin: 0; font-size: var(--g-fs-xs); font-weight: var(--g-fw-medium); letter-spacing: .06em; text-transform: uppercase; color: var(--g-ink-muted); }
.legal { max-width: 860px; margin: 0 auto; }
.legal__intro { color: var(--g-ink-muted); margin-bottom: var(--g-space-6); }
.legal details { border-bottom: 1px solid var(--g-border); }
.legal details:first-of-type { border-top: 1px solid var(--g-border); }
.legal summary { padding: var(--g-space-5) 0; }
.legal summary h2 { margin: 0; font-size: var(--g-fs-base); font-weight: var(--g-fw-medium); letter-spacing: 0; line-height: 1.4; color: inherit; }
.legal__corps { padding: 0 0 var(--g-space-5); color: var(--g-ink-muted); }
.legal__corps p, .legal__corps li { color: var(--g-ink-muted); max-width: none; padding: 0; }
.legal__corps p { margin: 0 0 var(--g-space-3); }
.legal__corps ul { padding-left: 1.3em; margin: 0 0 var(--g-space-3); }
.legal__corps li { margin-bottom: 6px; }
.legal__corps h3 { margin: var(--g-space-4) 0 var(--g-space-2); font-size: var(--g-fs-sm); text-transform: uppercase; letter-spacing: .05em; color: var(--g-ink); }
.legal__corps table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; margin: 0 0 var(--g-space-3); font-size: var(--g-fs-sm); }
.legal__corps th, .legal__corps td { border: 1px solid var(--g-border); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal__corps th { background: var(--g-bg-alt); color: var(--g-ink); font-weight: var(--g-fw-medium); }
.legal__note { margin-top: var(--g-space-6); font-size: var(--g-fs-sm); color: var(--g-ink-muted); text-align: center; }

/* ---------- Sections détaillées (D74) : texte + visuel en alternance ---------- */
.detail { display: grid; gap: var(--g-space-6); align-items: center; scroll-margin-top: 96px; }
.detail + .detail { margin-top: var(--g-space-9); }
.detail > * { min-width: 0; }
.detail h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); }
.detail__icone { margin-bottom: var(--g-space-4); }
.detail__pourqui { margin-top: var(--g-space-4); font-size: var(--g-fs-sm); color: var(--g-ink-muted); }
.detail__pourqui strong { color: var(--g-ink); }
.detail__image { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--g-radius-lg); }
.fiche { background: var(--g-bg-alt); border: 1px solid var(--g-border); border-radius: var(--g-radius-lg); padding: var(--g-space-6) var(--g-space-5); }
.fiche__titre { margin: 0 0 var(--g-space-4); font: var(--g-fw-medium) var(--g-fs-sm)/1.4 var(--g-font-title); color: var(--g-ink-muted); }
.fiche ul { list-style: none; display: grid; gap: var(--g-space-3); }
.fiche li { display: flex; gap: var(--g-space-3); align-items: flex-start; }
.fiche li svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 4px; color: var(--g-success); }
.bande-photo { display: grid; gap: var(--g-space-6); align-items: center; }
.bande-photo > * { min-width: 0; }
@media (min-width: 900px) {
  .detail { grid-template-columns: 1fr 1fr; gap: var(--g-space-8); }
  .detail--inverse > :first-child { order: 2; }
  .bande-photo { grid-template-columns: 5fr 7fr; gap: var(--g-space-8); }
}
.fiche--sous-image { margin-top: calc(-1 * var(--g-space-7)); margin-left: var(--g-space-5); margin-right: var(--g-space-5); position: relative; background: var(--g-white); box-shadow: var(--g-shadow-md); }
.appel--modules { margin: var(--g-space-9) 0 var(--g-space-4); }
.flux--colonne { grid-template-columns: 1fr !important; margin-top: var(--g-space-5); }
.carte-page > h2, .carte-formulaire > h3 { font-size: var(--g-fs-h3); font-weight: var(--g-fw-medium); letter-spacing: 0; line-height: 1.3; }
