/* BRINKYO — site commercial (WEB-02). Identité OFFICIELLE « D2 — Pierre & laiton » (référence : reference-D2/), palette
   NATIVE : aucun paramètre, aucun sélecteur. Composants D2 repris tels quels ; compositions des pages intérieures dans le
   même vocabulaire (bandes pierre, filets, numéros et prix en laiton, pied sombre). */
@font-face { font-family: "Archivo"; src: url("/assets/polices/Archivo.woff") format("woff");
  font-weight: 400 700; font-stretch: 100% 112%; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/polices/JetBrainsMono.woff") format("woff");
  font-weight: 500 700; font-display: swap; }

:root {
  --blanc: #FFFFFF; --texte: #111317; --texte-2: #4A5059; --texte-3: #60666F;   /* D2 = #6B727C : 4,39 sur #F6F3EE < AA ⇒ ajusté (seul écart, WCAG) */
   --filet: #DDE1E6; --max: 1240px;
  --clair: #F6F3EE;
  --f-fond: #E8E2D6; --f-fond-2: #DED6C7; --f-texte: #1A1916; --f-texte-2: #5B554B; --f-filet: rgba(26, 25, 22, .14);
  --f-accent: #5A5244; --f-btn-fond: #1A1916; --f-btn-texte: #F8F6F1; --f-contour: rgba(26, 25, 22, .45);
  --f-champ-fond: rgba(255, 255, 255, .55); --f-champ-bord: rgba(26, 25, 22, .25);
  --btn-fond: #1A1916; --btn-survol: #33312C; --btn-texte: #FFFFFF; --accent: #1A1916;
  --detail: #7A5C24; --f-detail: #6B511F; --f-detail-filet: rgba(122, 92, 36, .32); --detail-colonne: #A8864A; --accent-doux: #F4EEE2;
  --pied-fond: #1A1916; --pied-texte-2: #B9B2A5;
  --ombre: rgba(40, 32, 20, .20); --ombre-douce: rgba(40, 32, 20, .10);
  --section: 88px;
}

/* Socle */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--blanc); color: var(--texte); font: 17px/1.55 "Archivo", "Segoe UI", system-ui, sans-serif;
  text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
h1, h2 { font-stretch: 112%; font-weight: 600; letter-spacing: -.025em; }
h2 { font-size: clamp(28px, 3.2vw, 42px); }
h3 { font-size: 20px; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; }
.mono { font-family: "JetBrains Mono", Consolas, monospace; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--detail); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
.evitement { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 14px; background: #111317; color: #fff;
  border-radius: 4px; text-decoration: none; font-weight: 600; }
.evitement:focus { top: 12px; }
.conteneur { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
section { padding: var(--section) 0; }
.sur { font: 600 12px/1 "JetBrains Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-3); }
.sur::before { content: ""; display: inline-block; width: 24px; height: 1px; background: var(--detail); vertical-align: middle; margin-right: 12px; }
.fonce { background: var(--f-fond); color: var(--f-texte); }
.fonce .sur { color: var(--f-accent); }
.clair { background: var(--clair); }
.tete-section { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.tete-section h2 { margin-top: 14px; }
.tete-section > p { color: var(--texte-2); font-size: 18px; }
.fonce .tete-section > p { color: var(--f-texte-2); }
.lien-fleche { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--detail); padding-bottom: 1px; }
.lien-fleche::after { content: " →"; color: var(--detail); }
.lien-fleche:hover { color: var(--detail); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 3px;
  font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; }
.btn-plein { background: var(--btn-fond); color: var(--btn-texte); }
.btn-plein:hover { background: var(--btn-survol); }
.btn-contour { border-color: var(--btn-fond); color: var(--btn-fond); background: transparent; }
.btn-contour:hover { background: rgba(26, 25, 22, .05); }
.fonce .btn-plein { background: var(--f-btn-fond); color: var(--f-btn-texte); }
.fonce .btn-contour { border-color: var(--f-contour); color: var(--f-texte); }

/* Statuts honnêtes (relevés le 30/11/2026 dans la documentation du produit) */
.statut { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 4px; font: 600 11px/18px "JetBrains Mono", monospace;
  letter-spacing: .02em; white-space: nowrap; vertical-align: 2px; }
.statut::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.statut.qualif { background: var(--accent-doux); color: #6B511F; box-shadow: inset 0 0 0 1px rgba(122, 92, 36, .28); }
.statut.prevu { background: #ECE7DD; color: #4A4438; box-shadow: inset 0 0 0 1px rgba(26, 25, 22, .16); }
.statut.prevu::before { background: transparent; border: 1.5px solid currentColor; }
.note { font-size: 14px; color: var(--texte-3); }
.fonce .note { color: var(--f-texte-2); }

/* Barre utilitaire + en-tête */
.utilitaire { background: var(--f-fond); color: var(--f-texte-2); font-size: 13px; }
.utilitaire .conteneur { display: flex; align-items: center; gap: 22px; min-height: 38px; }
.utilitaire .editeur { margin-right: auto; }
.utilitaire a { color: var(--f-texte); text-decoration: none; padding: 9px 0; }
.utilitaire a:hover { text-decoration: underline; text-underline-offset: 3px; }
.utilitaire .langues { display: flex; gap: 4px; font: 600 12px/1 "JetBrains Mono", monospace; }
.utilitaire .langues a { color: var(--f-texte-2); padding: 7px 5px; }
.utilitaire .langues a[aria-current] { color: var(--f-texte); text-decoration: underline; text-underline-offset: 4px; }
.utilitaire .compte { color: var(--f-texte-2); }
.utilitaire .compte small { font: 600 10px/1 "JetBrains Mono", monospace; letter-spacing: .06em; text-transform: uppercase; margin-left: 6px;
  padding: 3px 5px; border-radius: 3px; background: var(--f-fond-2); }
.entete { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--filet); }
.entete .conteneur { display: flex; align-items: center; gap: 32px; height: 76px; }
.entete .logo { display: inline-flex; align-items: center; min-height: 44px; }
.entete .logo img { height: 22px; width: auto; }
.entete nav { display: flex; gap: 26px; }
.entete nav a { text-decoration: none; color: var(--texte); font-weight: 500; font-size: 15px; padding: 26px 0; border-bottom: 2px solid transparent; }
.entete nav a:hover, .entete nav a[aria-current="page"] { border-bottom-color: var(--detail); }
.entete .actions { margin-left: auto; display: flex; gap: 12px; }
.entete .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
.bouton-menu { display: none; margin-left: auto; border: 1px solid var(--filet); background: #fff; padding: 9px 14px; border-radius: 3px; min-height: 44px; }

/* Fil d'Ariane */
.ariane { font-size: 13px; color: var(--f-texte-2); margin-bottom: 22px; }
.ariane ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ariane li + li::before { content: "/"; margin-right: 6px; color: var(--f-accent); }
.ariane a { color: var(--f-texte); text-decoration: none; }
.ariane a:hover { text-decoration: underline; }

/* Héro bicolore (accueil) */
.hero { padding: 0; position: relative; }
.hero .bande { padding: 88px 0 0; }
.hero .bande .conteneur { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: end; }
.hero .texte { padding-bottom: 104px; }
.hero h1 { font-size: clamp(36px, 4.4vw, 58px); margin: 22px 0; }
.hero .chapo { color: var(--f-texte-2); font-size: 19px; max-width: 540px; }
.hero .boutons { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero .annonce { margin-top: 18px; font-size: 14px; color: var(--f-texte-2); max-width: 520px; }
.hero .visuel { position: relative; z-index: 2; margin: 0 0 -120px; }
.cadre-capture { background: #fff; border-radius: 6px 6px 4px 4px; overflow: hidden; box-shadow: 0 40px 90px var(--ombre); border: 1px solid var(--f-filet); }
.reperes { background: #fff; border-bottom: 1px solid var(--filet); }
.reperes .conteneur { display: grid; grid-template-columns: repeat(5, 1fr); padding: 156px 0 32px; }
.reperes.quatre .conteneur { grid-template-columns: repeat(4, 1fr); }
.reperes div { padding: 0 20px; border-left: 1px solid var(--filet); }
.reperes div:first-child { border-left: 0; padding-left: 0; }
.reperes strong { display: block; font-size: 30px; font-stretch: 112%; font-weight: 600; letter-spacing: -.02em; color: var(--detail); }
.reperes span { color: var(--texte-2); font-size: 14px; }
.note-captures { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 0 0 24px; color: var(--texte-3); font-size: 13px; }

/* Héro des pages intérieures : même bande pierre, capture qui franchit le bord */
.hero-page { padding: 0; }
.hero-page .bande { padding: 40px 0 0; }
.hero-page .bande .conteneur { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: end; }
.hero-page .texte { padding-bottom: 80px; }
.hero-page h1 { font-size: clamp(34px, 3.9vw, 52px); margin: 18px 0 18px; }
.hero-page .chapo { color: var(--f-texte-2); font-size: 18.5px; max-width: 560px; }
.hero-page .boutons { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-page .visuel { margin: 0 0 -96px; position: relative; z-index: 2; }
.hero-page + .reperes .conteneur { padding-top: 128px; }
.hero-page.sans-visuel .bande .conteneur { grid-template-columns: 1fr; }
.hero-page.sans-visuel .texte { padding-bottom: 56px; }
.hero-page.sans-visuel .chapo { max-width: 760px; }

/* Solutions (colonnes numérotées) */
.solutions { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--filet); }
.solution { padding: 32px 32px 8px 0; border-right: 1px solid var(--filet); margin-right: 32px; display: flex; flex-direction: column; }
.solution:last-child { border-right: 0; margin-right: 0; }
.num { font: 500 13px/1 "JetBrains Mono", monospace; color: var(--detail); }
.solution h3 { font-size: 26px; font-stretch: 112%; font-weight: 600; margin: 16px 0 12px; display: flex; align-items: center; gap: 12px; }
.solution h3 img { width: 26px; height: 26px; }
.solution p { color: var(--texte-2); margin-bottom: 18px; }
.liste-tiret { list-style: none; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.liste-tiret li { padding-left: 18px; position: relative; }
.liste-tiret li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 1.5px; background: var(--detail); }
.solution .liste-tiret { margin-bottom: 22px; }
.solution .vignette { border: 1px solid var(--filet); border-radius: 4px; overflow: hidden; margin-bottom: 18px; }
.solution .lien-fleche { margin-top: auto; align-self: flex-start; }

/* Onglets (profils) */
.onglets [role=tablist] { display: flex; gap: 0; border-bottom: 1px solid var(--filet); margin-bottom: 36px; overflow-x: auto; }
.onglets [role=tab] { border: 0; background: none; padding: 16px 24px; font-weight: 600; color: var(--texte-2); border-bottom: 2px solid transparent;
  margin-bottom: -1px; white-space: nowrap; min-height: 44px; }
.onglets [role=tab][aria-selected=true] { color: var(--accent); border-bottom-color: var(--detail); }
.profil { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.profil h3 { font-size: 28px; font-stretch: 112%; font-weight: 600; margin-bottom: 14px; }
.profil p { color: var(--texte-2); margin-bottom: 20px; }
.profil dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; font-size: 15px; }
.profil dt { font-weight: 700; color: var(--accent); }
.profil dd { margin: 0; color: var(--texte-2); }
.profil img, .capture img { border: 1px solid var(--filet); border-radius: 4px; box-shadow: 0 20px 50px var(--ombre-douce); }

/* Fiche (caractéristiques) */
.fiche { width: 100%; border-collapse: collapse; border-top: 2px solid var(--detail); font-size: 16px; }
.fiche th, .fiche td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--filet); vertical-align: top; }
.fiche th { width: 38%; color: var(--texte-3); font-weight: 500; padding-right: 16px; }
.fiche th a { display: inline-block; padding: 4px 0; color: var(--texte); }
.enreg .grille { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.enreg h2 { margin: 14px 0 18px; }
.enreg .grille > div > p { color: var(--texte-2); margin-bottom: 16px; }

/* Bande « principes » numérotés (sécurité, avantages) */
.secu .grille { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.principes { list-style: none; padding: 0; margin: 0; counter-reset: p; }
.principes li { counter-increment: p; display: grid; grid-template-columns: 52px 1fr; padding: 22px 0; border-top: 1px solid var(--f-detail-filet); }
.principes li::before { content: counter(p, decimal-leading-zero); font: 500 14px/1.7 "JetBrains Mono", monospace; color: var(--f-detail); }
.principes strong { display: block; font-size: 19px; margin-bottom: 4px; }
.principes span { color: var(--f-texte-2); font-size: 16px; }
.principes.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.carte-preuve { background: #fff; color: var(--texte); border-radius: 6px; padding: 24px; display: grid; gap: 16px; }
.carte-preuve h3 { font-size: 18px; }
.carte-preuve img { border: 1px solid var(--filet); border-radius: 4px; }
.carte-preuve p { color: var(--texte-2); font-size: 14px; }

/* Matrice de compatibilité */
.matrice { width: 100%; border-collapse: collapse; font-size: 16px; }
.matrice th, .matrice td { padding: 16px; border-bottom: 1px solid var(--filet); text-align: left; vertical-align: top; }
.matrice thead th { border-bottom: 2px solid var(--detail); font-weight: 700; color: var(--accent); }
.matrice tbody th { font-weight: 600; width: 22%; }
.matrice td { color: var(--texte-2); }

/* Tarifs (tableau formel) */
.comparatif { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; background: #fff; border: 1px solid var(--filet); border-radius: 6px; overflow: hidden; }
.comparatif th, .comparatif td { padding: 16px 20px; border-bottom: 1px solid var(--filet); text-align: center; }
.comparatif tbody th { text-align: left; font-weight: 500; color: var(--texte-2); }
.comparatif thead th { vertical-align: bottom; padding-top: 26px; }
.comparatif thead .nom { display: block; font-stretch: 112%; font-weight: 600; font-size: 19px; color: var(--texte); }
.comparatif thead .prix { display: block; font-size: 34px; font-weight: 650; font-stretch: 112%; color: var(--detail); margin: 10px 0 2px; letter-spacing: -.02em; }
.comparatif thead small { color: var(--texte-3); font-weight: 500; font-size: 13px; }
.comparatif .oui { color: var(--accent); font-weight: 700; }
.comparatif tfoot td { border-bottom: 0; padding: 20px 16px; }
.comparatif .colonne-accent { background: var(--accent-doux); }
.comparatif thead .colonne-accent { box-shadow: inset 0 3px 0 var(--detail-colonne); }
.comparatif-defile { overflow-x: auto; }
.indice-defile { display: none; margin: 0 0 10px; color: var(--texte-3); font: 500 12px/1.4 "JetBrains Mono", monospace; }
.mention { margin-top: 16px; color: var(--texte-3); font-size: 14px; }

/* Calculateur (tarifs) */
.calculateur { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; background: #fff; border: 1px solid var(--filet);
  border-top: 2px solid var(--detail); border-radius: 6px; padding: 28px 32px; margin-top: 32px; }
.calculateur label { display: block; font-weight: 600; margin-bottom: 14px; }
.calculateur .reglage { display: flex; align-items: center; gap: 16px; }
.calculateur input[type=range] { flex: 1; accent-color: #7A5C24; min-height: 32px; }
.calculateur input[type=number] { width: 88px; height: 44px; border: 1px solid #9A9184; border-radius: 3px; padding: 0 10px; font: inherit; }
.calculateur .resultat { border-left: 1px solid var(--filet); padding-left: 32px; }
.calculateur .resultat strong { display: block; font-size: 38px; font-stretch: 112%; font-weight: 650; color: var(--detail); letter-spacing: -.02em; }
.calculateur .resultat span { color: var(--texte-2); font-size: 15px; }

/* FAQ */
.faq .grille { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.faq .grille > div > p { margin-top: 16px; color: var(--texte-2); }
details { border-top: 1px solid var(--filet); }
details:last-child { border-bottom: 1px solid var(--filet); }
details summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-weight: 600; font-size: 18px; position: relative; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 24px; color: var(--detail); }
details[open] summary::after { content: "−"; }
details .reponse { color: var(--texte-2); padding: 0 0 20px; display: grid; gap: 10px; }
.faq-groupes { display: grid; gap: 40px; }
.faq-groupe h2 { font-size: 24px; margin-bottom: 8px; }

/* Bande contact */
.contact .grille { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contact h2 { margin: 14px 0 14px; }
.contact .grille > div > p { color: var(--f-texte-2); }
.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: var(--f-fond-2); padding: 28px; border-radius: 6px; }
.formulaire label { display: grid; gap: 6px; font-size: 14px; color: var(--f-texte-2); }
.formulaire input, .formulaire select, .formulaire textarea { min-height: 44px; border-radius: 3px; border: 1px solid #8E8576; background: var(--f-champ-fond);
  color: var(--f-texte); padding: 0 12px; font: inherit; }
.formulaire textarea { padding: 10px 12px; min-height: 120px; resize: vertical; }
.formulaire .pleine { grid-column: 1 / -1; }
.formulaire .aide { font-size: 13px; color: var(--f-texte-2); }
.formulaire .envoi { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.formulaire [role=status] { font-size: 14px; color: var(--f-texte); }

/* Chapitres : texte + capture (pages modules) */
.chapitre { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.chapitre.inverse { grid-template-columns: 1.1fr .9fr; }
.chapitre.inverse .chapitre-texte { order: 2; }
.chapitre + .chapitre { margin-top: 80px; }
.chapitre-texte h2 { margin: 14px 0 16px; font-size: clamp(26px, 2.8vw, 36px); }
.chapitre-texte > p { color: var(--texte-2); margin-bottom: 18px; }
.chapitre-texte .liste-tiret { margin-bottom: 8px; }
.capture { margin: 0; }
.capture figcaption { margin-top: 10px; font-size: 13px; color: var(--texte-3); }
.capture.petite img { box-shadow: 0 12px 30px var(--ombre-douce); }
.pile-captures { display: grid; gap: 18px; justify-items: start; }

/* Grille de fonctionnalités numérotées */
.fonctions { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--filet); }
.fonction { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--filet); }
.fonction:not(:nth-child(3n)) { border-right: 1px solid var(--filet); margin-right: 28px; }
.fonction h3 { font-size: 19px; margin: 12px 0 8px; }
.fonction p { color: var(--texte-2); font-size: 15.5px; }
.fonction .statut { margin-top: 10px; }

/* Cas d'utilisation */
.cas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--detail); }
.cas article { padding: 24px 28px 8px 0; }
.cas article + article { border-left: 1px solid var(--filet); padding-left: 28px; }
.cas h3 { font-size: 19px; margin-bottom: 10px; }
.cas.quatre { grid-template-columns: repeat(4, 1fr); }
.cas .num { display: block; margin-bottom: 12px; }
.pourquoi { padding-top: 0; }
.cas p { color: var(--texte-2); font-size: 15.5px; }
.cas .qui { font: 600 11px/1 "JetBrains Mono", monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-3); display: block; margin-bottom: 10px; }

/* Disponibilité (tableau des statuts) */
.dispo { width: 100%; border-collapse: collapse; font-size: 16px; }
.dispo th, .dispo td { padding: 13px 16px 13px 0; border-bottom: 1px solid var(--filet); text-align: left; vertical-align: top; }
.dispo thead th { border-bottom: 2px solid var(--detail); font-size: 14px; color: var(--texte-3); font-weight: 600; }
.dispo td:last-child { white-space: nowrap; }

/* Bande de relais (fin de page : autres modules, tarifs) */
.relais .grille { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.relais h2 { margin: 14px 0 12px; }
.relais .grille > div > p { color: var(--f-texte-2); }
.relais nav ul { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--f-detail-filet); }
.relais nav li { border-bottom: 1px solid var(--f-detail-filet); }
.relais nav a { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; text-decoration: none; font-weight: 600; }
.relais nav a span { color: var(--f-texte-2); font-weight: 400; font-size: 15px; }
.relais nav a::after { content: "→"; color: var(--f-detail); }
.relais .boutons { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* Pages de texte (juridique, téléchargement) */
.colonne-texte { display: grid; grid-template-columns: 260px 1fr; gap: 64px; align-items: start; }
.sommaire { position: sticky; top: 100px; font-size: 14px; border-top: 2px solid var(--detail); padding-top: 14px; }
.sommaire p { font: 600 11px/1 "JetBrains Mono", monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-3); margin-bottom: 10px; }
.sommaire ol { padding-left: 18px; display: grid; gap: 7px; color: var(--texte-2); }
.sommaire a { text-decoration: none; }
.sommaire a:hover { text-decoration: underline; }
.texte-legal { max-width: 820px; }
.texte-legal h2 { font-size: 24px; margin: 40px 0 12px; scroll-margin-top: 100px; }
.texte-legal h2:first-child { margin-top: 0; }
.texte-legal p, .texte-legal li { color: var(--texte-2); }
.texte-legal p + p, .texte-legal ul, .texte-legal dl { margin-top: 12px; }
.texte-legal ul { padding-left: 20px; display: grid; gap: 6px; }
.texte-legal dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; }
.texte-legal dt { font-weight: 600; }
.texte-legal dd { margin: 0; color: var(--texte-2); }
.a-completer { background: var(--accent-doux); border-left: 3px solid var(--detail); padding: 2px 8px; font-size: .95em; color: #4A3A18; }
.avertissement { border: 1px solid rgba(122, 92, 36, .35); border-left: 3px solid var(--detail); background: var(--accent-doux); padding: 16px 20px;
  border-radius: 4px; margin-bottom: 32px; color: #3F3220; }
.avertissement strong { display: block; margin-bottom: 4px; }
.etapes { list-style: none; padding: 0; counter-reset: e; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--detail); }
.etapes li { counter-increment: e; padding: 22px 28px 6px 0; }
.etapes li + li { border-left: 1px solid var(--filet); padding-left: 28px; }
.etapes li::before { content: counter(e, decimal-leading-zero); display: block; font: 500 13px/1 "JetBrains Mono", monospace; color: var(--detail); margin-bottom: 12px; }
.etapes strong { display: block; font-size: 18px; margin-bottom: 6px; }
.etapes span { color: var(--texte-2); font-size: 15.5px; }

/* Pied */
.pied { background: var(--pied-fond); color: var(--pied-texte-2); padding: 64px 0 40px; font-size: 15px; }
.pied .colonnes { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.pied h2 { color: #fff; font-size: 14px; font-stretch: 100%; letter-spacing: 0; font-weight: 650; margin-bottom: 14px; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.pied a { color: var(--pied-texte-2); text-decoration: none; }
.pied a:hover { color: #fff; text-decoration: underline; }
.pied .marque p { margin-top: 18px; max-width: 360px; }
.pied .bas { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; font-size: 13px; }
.pied .bas .langues { display: flex; gap: 14px; }
.pied .bas .langues a { display: inline-block; padding: 5px 0; }

/* Choix de langue (racine) et page introuvable */
.page-seuil { min-height: 100vh; display: grid; align-content: center; background: var(--f-fond); color: var(--f-texte); padding: 48px 0; }
.page-seuil .logo img { height: 26px; width: auto; }
.page-seuil h1 { font-size: clamp(30px, 3.6vw, 46px); margin: 28px 0 14px; }
.page-seuil .chapo { color: var(--f-texte-2); max-width: 680px; }
.choix-langues { list-style: none; padding: 0; margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--detail);
  max-width: 900px; }
.choix-langues li + li { border-left: 1px solid var(--f-detail-filet); }
.choix-langues a { display: block; padding: 22px 24px 22px 0; text-decoration: none; }
.choix-langues li + li a { padding-left: 24px; }
.choix-langues strong { display: block; font-size: 22px; font-stretch: 112%; }
.choix-langues span { color: var(--f-texte-2); font-size: 15px; }
.choix-langues a:hover strong { color: var(--detail); }

/* Adaptations */
@media (max-width: 1180px) {
  .entete nav { gap: 18px; }
  .entete .conteneur { gap: 22px; }
  .reperes .conteneur { grid-template-columns: repeat(3, 1fr); gap: 20px 0; }
  .reperes div:nth-child(4) { border-left: 0; padding-left: 0; }
  .reperes.quatre .conteneur { grid-template-columns: repeat(2, 1fr); }
  .reperes.quatre div:nth-child(3) { border-left: 0; padding-left: 0; }
  .cas.quatre { grid-template-columns: repeat(2, 1fr); row-gap: 8px; }
  .cas.quatre article:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 1060px) {
  .entete nav, .entete .actions { display: none; }
  .bouton-menu { display: inline-flex; align-items: center; }
  .menu-ouvert .entete nav { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff;
    padding: 6px 24px 18px; border-bottom: 1px solid var(--filet); box-shadow: 0 16px 30px var(--ombre-douce); }
  .menu-ouvert .entete nav a { padding: 14px 0; border-bottom: 1px solid var(--filet); }
  .menu-ouvert .entete nav .nav-mobile { display: block; }
}
.entete nav .nav-mobile { display: none; }
@media (max-width: 960px) {
  :root { --section: 64px; }
  .utilitaire .editeur { display: none; }
  .utilitaire .conteneur { gap: 14px; justify-content: flex-end; }
  .hero .bande { padding: 56px 0 0; }
  .hero .bande .conteneur, .hero-page .bande .conteneur { grid-template-columns: 1fr; gap: 36px; }
  .hero .texte, .hero-page .texte { padding-bottom: 0; }
  .hero .visuel { margin-bottom: -64px; }
  .hero-page .visuel { margin-bottom: -56px; }
  .reperes .conteneur { padding-top: 100px; }
  .hero-page + .reperes .conteneur { padding-top: 92px; }
  .tete-section, .profil, .enreg .grille, .secu .grille, .faq .grille, .contact .grille, .chapitre, .chapitre.inverse, .relais .grille,
  .colonne-texte, .calculateur { grid-template-columns: 1fr; }
  .tete-section { gap: 16px; margin-bottom: 36px; }
  .chapitre.inverse .chapitre-texte { order: 0; }
  .chapitre { gap: 32px; }
  .chapitre + .chapitre { margin-top: 56px; }
  .solutions, .fonctions, .cas, .cas.quatre, .etapes { grid-template-columns: 1fr; }
  .solution { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--filet); padding-right: 0; padding-bottom: 28px; }
  .fonction:not(:nth-child(3n)) { border-right: 0; margin-right: 0; }
  .fonction { padding-right: 0; }
  .cas article + article, .etapes li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--filet); }
  .principes.deux-colonnes { grid-template-columns: 1fr; }
  .pied .colonnes { grid-template-columns: 1fr 1fr; }
  .comparatif { min-width: 720px; }
  .indice-defile { display: block; }
  .sommaire { position: static; }
  .calculateur .resultat { border-left: 0; padding-left: 0; border-top: 1px solid var(--filet); padding-top: 20px; }
  .choix-langues { grid-template-columns: 1fr; }
  .choix-langues li + li { border-left: 0; border-top: 1px solid var(--f-detail-filet); }
  .choix-langues li + li a { padding-left: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .conteneur, .note-captures { width: calc(100% - 32px); }
  .reperes .conteneur, .reperes.quatre .conteneur { grid-template-columns: 1fr 1fr; }
  .reperes div { border-left: 0; padding-left: 0; }
  .formulaire { grid-template-columns: 1fr; padding: 20px; }
  .pied .colonnes { grid-template-columns: 1fr; }
  .onglets [role=tab] { padding: 14px 12px; font-size: 15px; }
  .matrice thead { display: none; }
  .matrice tr { display: block; border-bottom: 1px solid var(--filet); padding: 10px 0; }
  .matrice th, .matrice td { display: block; border: 0; padding: 4px 0; }
  .matrice td::before { content: attr(data-module) " — "; font-weight: 700; color: var(--accent); }
  .dispo td:last-child { white-space: normal; }
  .utilitaire .compte { display: none; }
  .hero .boutons .btn, .hero-page .boutons .btn { width: 100%; }
}
@media print {
  .utilitaire, .entete, .relais, .pied, .bouton-menu { display: none; }
  .fonce { background: none; }
}
