/* Vigie : le site public (accueil, pages, journal, pages légales). Sobre : fond blanc, gris doux, filets fins, encarts.
   Les mêmes couleurs et la même police de titre que le tableau de bord ; clair et sombre. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("police/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --encre: #1A2238;
  --encre-2: #566078;
  --encre-3: #8A93A6;
  --trait: #E8EBF0;
  --trait-fort: #D9DEE6;
  --fond: #FFFFFF;
  --fond-2: #F7F8FA;
  --fond-3: #EEF0F4;
  --carte: #FFFFFF;
  --jaune: #FFD84A;
  --jaune-doux: #FFF6D1;
  --bleu-doux: #EAF1FC;
  --vert-doux: #E6F6EE;
  --rouge-doux: #FDECEB;
  --rouge-texte: #B53632;
  --vert-texte: #137A50;
  --jaune-texte: #7A5B00;
  --mer: #E4F2F5;
  --lagon: #F2F9F6;
  --sur-encre: #FFFFFF;
  --lien: #1F4BB0;
  --titre: "Bricolage Grotesque", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --texte: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ombre: 0 1px 2px rgba(26, 34, 56, .05), 0 12px 32px -18px rgba(26, 34, 56, .28);
  --largeur: 760px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --encre: #E7EBF3; --encre-2: #AAB3C6; --encre-3: #7F899D; --trait: #232C3D; --trait-fort: #2E384C;
    --fond: #0F1420; --fond-2: #151C2A; --fond-3: #1E2738; --carte: #141B29;
    --jaune-doux: #352F17; --bleu-doux: #1B2A44; --vert-doux: #12342A; --rouge-doux: #3B1E21;
    --rouge-texte: #FF9590; --vert-texte: #5FD6A2; --jaune-texte: #F2CF5B;
    --mer: #11303B; --lagon: #173640; --sur-encre: #0F1420; --lien: #8FB0FF;
    --ombre: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -18px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --encre: #E7EBF3; --encre-2: #AAB3C6; --encre-3: #7F899D; --trait: #232C3D; --trait-fort: #2E384C;
  --fond: #0F1420; --fond-2: #151C2A; --fond-3: #1E2738; --carte: #141B29;
  --jaune-doux: #352F17; --bleu-doux: #1B2A44; --vert-doux: #12342A; --rouge-doux: #3B1E21;
  --rouge-texte: #FF9590; --vert-texte: #5FD6A2; --jaune-texte: #F2CF5B;
  --mer: #11303B; --lagon: #173640; --sur-encre: #0F1420; --lien: #8FB0FF;
  --ombre: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -18px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body.site { margin: 0; background: var(--fond); color: var(--encre); font: 16.5px/1.65 var(--texte); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
img { max-width: 100%; height: auto; }
a { color: var(--lien); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--encre); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--titre); color: var(--encre); letter-spacing: -.018em; line-height: 1.2; }
strong { font-weight: 650; }
code { font: .88em/1.4 var(--mono); background: var(--fond-3); padding: .12em .42em; border-radius: 6px; overflow-wrap: anywhere; }
pre { background: var(--fond-2); border: 1px solid var(--trait); border-radius: 12px; padding: 14px 16px; overflow-x: auto; }
pre code { background: none; padding: 0; font-size: 14px; }
hr { border: 0; border-top: 1px solid var(--trait); margin: 40px 0; }
.petit { font-size: 14px; }
.discret { color: var(--encre-3); }
.discret a { color: inherit; }
.aller-contenu { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--encre); color: var(--sur-encre); padding: 8px 14px; border-radius: 10px; text-decoration: none; }
.aller-contenu:focus { top: 12px; }

/* ---------- En-tête ---------- */
.site-entete { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--fond) 86%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--trait); }
.site-entete-dedans { max-width: 1120px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 10px 28px; }
.site-marque { display: inline-flex; align-items: center; gap: 9px; font-family: var(--titre); font-weight: 800; font-size: 21px; letter-spacing: -.03em; color: var(--encre); text-decoration: none; flex: none; }
.site-marque i { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--encre); display: grid; place-items: center; background: var(--carte); }
.site-marque i::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--jaune); box-shadow: 0 0 0 2px var(--encre); }
.site-menu { display: flex; gap: 2px; flex: 1 1 auto; min-width: 0; }
.site-menu a { color: var(--encre-2); text-decoration: none; font-size: 15px; font-weight: 550; padding: 7px 11px; border-radius: 9px; white-space: nowrap; }
.site-menu a:hover { color: var(--encre); background: var(--fond-2); }
.site-menu a[aria-current=page] { color: var(--encre); background: var(--fond-3); }
.site-acces { margin-left: auto; }
@media (max-width: 760px) {
  .site-entete-dedans { flex-wrap: wrap; padding: 10px 16px 0; }
  .site-menu { order: 3; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 12px 8px; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .site-menu::-webkit-scrollbar { display: none; }
  .site-menu a { font-size: 14.5px; padding: 6px 10px; }
  .site-acces { padding: 7px 14px !important; }
}

/* ---------- Boutons ---------- */
.bouton { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; text-align: center; font: 600 15.5px/1.25 var(--texte); text-decoration: none; border-radius: 12px; padding: 11px 20px; cursor: pointer; border: 0; transition: background .15s, transform .15s, box-shadow .15s; }
.bouton small { font-weight: 500; font-size: 12.5px; opacity: .72; }
.bouton.principal { background: var(--encre); color: var(--sur-encre); }
.bouton.principal:hover { background: color-mix(in srgb, var(--encre) 86%, var(--fond)); }
.bouton.discret { background: var(--fond); color: var(--encre); box-shadow: inset 0 0 0 1px var(--trait-fort); }
.bouton.discret:hover { background: var(--fond-2); }
.bouton:active { transform: translateY(1px); }
.bouton.petit { font-size: 14px; padding: 8px 15px; border-radius: 10px; }
.bouton.plein { display: flex; width: 100%; }
.bouton.indisponible { opacity: .6; cursor: default; }
.boutons { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }

/* ---------- Le contenu des pages ---------- */
.contenu { max-width: var(--largeur); margin: 0 auto; padding: 56px 24px 72px; }
.page-tete { margin: 0 0 30px; }
.page-tete h1 { font-size: clamp(34px, 5vw, 46px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 12px; font-weight: 750; }
.chapo { font-size: 19.5px; line-height: 1.55; color: var(--encre-2); margin: 0; max-width: 62ch; }
.fil { margin: 0 0 18px; font-size: 14.5px; }
.fil a { color: var(--encre-3); text-decoration: none; }
.fil a::before { content: "← "; }
.fil a:hover { color: var(--encre); }
.texte > :first-child { margin-top: 0; }
.texte p, .texte ul, .texte ol { margin: 0 0 16px; }
.texte h2 { font-size: 27px; margin: 52px 0 12px; padding-top: 26px; border-top: 1px solid var(--trait); }
.texte h2:first-child { border-top: 0; padding-top: 0; }
.texte h3 { font-size: 20px; margin: 32px 0 8px; }
.texte h4 { font-size: 17px; margin: 24px 0 6px; }
.texte ul { padding-left: 22px; }
.texte li { margin: 6px 0; }
.texte li::marker { color: var(--encre-3); }
.texte figure { margin: 28px 0; }
.texte figure img { display: block; border-radius: 14px; border: 1px solid var(--trait); }
.texte figcaption { font-size: 14px; color: var(--encre-3); margin-top: 8px; text-align: center; }
.texte img.en-ligne { vertical-align: middle; max-height: 1.6em; width: auto; }
.couverture { margin: 0 0 34px; }
.couverture img { display: block; width: 100%; border-radius: 16px; border: 1px solid var(--trait); }
.maj { margin: 48px 0 0; padding-top: 18px; border-top: 1px solid var(--trait); font-size: 13.5px; color: var(--encre-3); }
.manque { font-size: 13px; color: var(--rouge-texte); background: var(--rouge-doux); padding: 6px 10px; border-radius: 8px; }
.vide { color: var(--encre-2); }

/* Les étapes numérotées */
ol.etapes { list-style: none; padding: 0; counter-reset: e; }
ol.etapes > li { counter-increment: e; position: relative; padding: 10px 0 12px 46px; margin: 0; border-bottom: 1px solid var(--trait); }
ol.etapes > li:last-child { border-bottom: 0; }
ol.etapes > li::before { content: counter(e); position: absolute; left: 0; top: 9px; width: 30px; height: 30px; border-radius: 9px; background: var(--fond-3); color: var(--encre); display: grid; place-items: center; font: 650 14px/1 var(--texte); }
ol.etapes > li > :last-child { margin-bottom: 0; }

/* Les cases à cocher */
ul.coches { list-style: none; padding: 0; }
ul.coches > li { position: relative; padding: 11px 0 11px 34px; margin: 0; border-bottom: 1px solid var(--trait); }
ul.coches > li:last-child { border-bottom: 0; }
ul.coches input { position: absolute; left: 2px; top: 15px; width: 18px; height: 18px; margin: 0; accent-color: var(--encre); }
ul.coches label { cursor: pointer; }

/* Les encarts : un fond doux, jamais de bordure de côté */
.encart { display: flex; gap: 12px; align-items: flex-start; background: var(--fond-2); border-radius: 14px; padding: 15px 18px; margin: 22px 0; }
.encart .ico { flex: none; font-size: 19px; line-height: 1.45; }
.encart > div { min-width: 0; }
.encart p, .encart ul, .encart ol { margin: 0 0 8px; }
.encart > div > :last-child { margin-bottom: 0; }
.encart.jaune { background: var(--jaune-doux); }
.encart.bleu { background: var(--bleu-doux); }
.encart.vert { background: var(--vert-doux); }
.encart.rouge { background: var(--rouge-doux); }

/* Les tableaux */
.tableau { overflow-x: auto; margin: 24px 0; border: 1px solid var(--trait); border-radius: 14px; }
.tableau table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 520px; }
.tableau th, .tableau td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--trait); }
.tableau tr:last-child > * { border-bottom: 0; }
.tableau thead th { background: var(--fond-2); font-size: 14px; font-weight: 650; }
.tableau tbody th { font-weight: 600; color: var(--encre-2); font-size: 14px; width: 26%; }

/* Les colonnes (cartes côte à côte) */
.colonnes { display: grid; gap: 14px; margin: 26px 0; }
.colonnes.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.colonnes.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.colonnes.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.colonne { background: var(--fond-2); border-radius: 16px; padding: 18px 20px; min-width: 0; }
.colonne h3 { font-size: 18px; margin: 0 0 6px; }
.colonne p { margin: 0 0 8px; font-size: 15.5px; color: var(--encre-2); }
.colonne > :last-child { margin-bottom: 0; }
.colonne .boutons { margin: 12px 0 0; }
@media (max-width: 760px) { .colonnes.c2, .colonnes.c3, .colonnes.c4 { grid-template-columns: 1fr; } }

/* Le sommaire */
.sommaire { background: var(--fond-2); border-radius: 14px; padding: 16px 20px; margin: 0 0 34px; font-size: 15px; }
.sommaire p { margin: 0 0 6px; font-size: 12.5px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--encre-3); }
.sommaire ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.sommaire li { margin: 3px 0; break-inside: avoid; }
.sommaire a { color: var(--encre); text-decoration: none; }
.sommaire a:hover { text-decoration: underline; }
@media (max-width: 600px) { .sommaire ol { columns: 1; } }

/* La FAQ : chaque question s'ouvre */
details.question { border-bottom: 1px solid var(--trait); }
.texte h2 + details.question { border-top: 1px solid var(--trait); }
details.question > summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-weight: 620; font-size: 17px; position: relative; color: var(--encre); }
details.question > summary::-webkit-details-marker { display: none; }
details.question > summary::after { content: ""; position: absolute; right: 8px; top: 22px; width: 9px; height: 9px; border-right: 2px solid var(--encre-3); border-bottom: 2px solid var(--encre-3); transform: rotate(45deg); transition: transform .2s; }
details.question[open] > summary::after { transform: rotate(-135deg); top: 26px; }
details.question > summary:hover { color: var(--lien); }
details.question > div { padding: 0 0 16px; }
details.question > div > :last-child { margin-bottom: 0; }

/* ---------- L'accueil ---------- */
.accueil { padding-bottom: 40px; }
.accueil-haut { max-width: 1120px; margin: 0 auto; padding: 64px 24px 48px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 380px); gap: 56px; align-items: center; }
.accueil-promesse h1 { font-size: clamp(38px, 5.6vw, 60px); line-height: 1.03; letter-spacing: -.035em; font-weight: 780; margin: 0 0 18px; }
.accueil-promesse .chapo { font-size: 20px; }
.carte-connexion { background: var(--carte); border: 1px solid var(--trait); border-radius: 20px; padding: 26px 26px 22px; box-shadow: var(--ombre); scroll-margin-top: 90px; }
.carte-connexion h2 { font-size: 22px; margin: 0 0 2px; }
.carte-connexion .sous { margin: 0 0 18px; color: var(--encre-2); font-size: 15px; }
.carte-connexion label { display: block; font-size: 13.5px; font-weight: 550; color: var(--encre-2); margin: 0 0 5px; }
.carte-connexion input { width: 100%; font: inherit; font-size: 16px; color: var(--encre); background: var(--fond); border: 1px solid var(--trait-fort); border-radius: 11px; padding: 10px 13px; margin: 0 0 14px; }
.carte-connexion input:focus { outline: none; border-color: var(--encre-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--jaune) 55%, transparent); }
.carte-connexion button { margin-top: 4px; }
.carte-connexion-liens { margin: 12px 0 0; font-size: 14px; text-align: center; }
.carte-connexion-liens a { color: var(--encre-2); }
.carte-connexion-pied { margin: 18px -26px -22px; padding: 16px 26px 20px; border-top: 1px solid var(--trait); background: var(--fond-2); border-radius: 0 0 20px 20px; }
.carte-connexion-pied p { font-size: 14px; color: var(--encre-2); margin: 0 0 10px; }
.carte-connexion .encart { margin: 0 0 14px; padding: 10px 14px; font-size: 14.5px; }
.accueil-texte { padding-top: 8px; }
.accueil .bandeau-master { max-width: 1072px; margin: 16px auto 0; }
@media (max-width: 900px) {
  .accueil-haut { grid-template-columns: 1fr; gap: 32px; padding: 36px 16px 28px; }
  .carte-connexion { max-width: 520px; }
}

/* La démo : une île et ses Blops imaginaires */
.demo { margin: 30px 0; }
.demo-ile { position: relative; height: 230px; border-radius: 26px; background: radial-gradient(120% 90% at 50% 0%, var(--carte) 52%, var(--lagon) 100%); box-shadow: 0 0 0 8px color-mix(in srgb, var(--mer) 70%, transparent), 0 0 0 20px color-mix(in srgb, var(--mer) 35%, transparent); overflow: hidden; }
.demo-nom { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); font: 700 15px/1 var(--titre); color: var(--encre); background: var(--fond-2); padding: 6px 12px; border-radius: 99px; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.demo-nom::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1FA36C; box-shadow: 0 0 0 3px rgba(31, 163, 108, .18); }
.demo-sol { position: absolute; inset: 52px 18px 16px; }
.demo-legende { font-size: 13px; color: var(--encre-3); text-align: center; margin: 22px 0 0; }
.demo-blop { position: absolute; width: 58px; height: 58px; transition: left 2.2s cubic-bezier(.45, .05, .3, 1), top 2.2s cubic-bezier(.45, .05, .3, 1), opacity .6s, transform .6s; }
.demo-blop svg { width: 100%; height: 100%; display: block; overflow: visible; }
.demo-blop.nait { opacity: 0; transform: scale(.3, .05); }
.demo-blop.part { opacity: 0; transform: scale(1.4, .05); }
.demo-blop .demo-bulle { position: absolute; left: 50%; bottom: 100%; transform: translate(-50%, -2px); font: 600 11.5px/1.3 var(--texte); color: var(--encre); background: var(--carte); border-radius: 99px; padding: 3px 9px; white-space: nowrap; box-shadow: 0 2px 8px rgba(26, 34, 56, .18); opacity: 0; transition: opacity .3s; pointer-events: none; }
.demo-blop.parle .demo-bulle { opacity: 1; }
.demo-blop.anonymes { width: 66px; height: 66px; }
.demo-compte { position: absolute; right: 16px; bottom: 12px; font-size: 12.5px; color: var(--encre-2); background: var(--voile, rgba(255, 255, 255, .7)); padding: 3px 10px; border-radius: 99px; }
.b-tout { transform-origin: 50px 86px; animation: respire var(--resp, 3s) ease-in-out infinite; }
.b-yeux { transform-box: fill-box; transform-origin: center; animation: cligne var(--clin, 5s) infinite; animation-delay: var(--clin-d, 0s); }
.b-yeux.fixes { animation: none; }
@keyframes respire { 50% { transform: scale(1.03, .96); } }
@keyframes cligne { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.08); } }
@media (prefers-reduced-motion: reduce) { .b-tout, .b-yeux { animation: none; } .demo-blop { transition: none; } }

/* ---------- Le journal ---------- */
.articles { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 4px; }
.article-carte { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--trait); }
.article-carte:has(.article-image) { grid-template-columns: 180px minmax(0, 1fr); }
.article-image img { display: block; width: 180px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; border: 1px solid var(--trait); }
.article-carte h3 { font-size: 21px; margin: 2px 0 6px; }
.article-carte h3 a { color: var(--encre); text-decoration: none; }
.article-carte h3 a:hover { text-decoration: underline; }
.article-carte p { margin: 0; color: var(--encre-2); font-size: 15.5px; }
.article-date { margin: 0; font-size: 13.5px; color: var(--encre-3); }
.articles.grand .article-carte h3 { font-size: 24px; }
.pastille { display: inline-block; font-size: 12px; font-weight: 650; padding: 1px 8px; border-radius: 99px; background: var(--jaune-doux); color: var(--jaune-texte); vertical-align: 1px; }
.article .page-tete h1 { font-size: clamp(32px, 4.6vw, 44px); }
.suite { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 56px 0 0; }
.suite a { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid var(--trait); border-radius: 14px; text-decoration: none; color: var(--encre); }
.suite a:hover { background: var(--fond-2); }
.suite small { color: var(--encre-3); font-size: 12.5px; }
.suite-apres { text-align: right; grid-column: 2; }
@media (max-width: 600px) {
  .article-carte:has(.article-image) { grid-template-columns: 1fr; }
  .article-image img { width: 100%; }
  .suite { grid-template-columns: 1fr; }
  .suite-apres { grid-column: 1; }
}

/* ---------- Pages légales ---------- */
.legal .onglets { display: flex; gap: 4px; flex-wrap: wrap; margin: 0 0 28px; padding-bottom: 12px; border-bottom: 1px solid var(--trait); }
.legal .onglets a { font-size: 14px; color: var(--encre-2); text-decoration: none; padding: 6px 11px; border-radius: 9px; }
.legal .onglets a:hover { background: var(--fond-2); color: var(--encre); }
.legal .onglets a[aria-current=page] { background: var(--fond-3); color: var(--encre); font-weight: 600; }
.legal h1 { font-size: clamp(30px, 4.4vw, 40px); margin: 0 0 6px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal .encart p { margin: 0; }
.legal mark.a-completer { background: var(--jaune-doux); color: var(--jaune-texte); border-radius: 4px; padding: 0 4px; }
.legal-pied { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--trait); }
.legal form { margin: 18px 0; }
.legal .btn { font: 600 15px/1 var(--texte); background: var(--encre); color: var(--sur-encre); border: 0; border-radius: 11px; padding: 11px 18px; cursor: pointer; }
.legal table { border-collapse: collapse; width: 100%; font-size: 14.5px; margin: 16px 0; }
.legal th, .legal td { text-align: left; border-bottom: 1px solid var(--trait); padding: 8px 10px; vertical-align: top; }

/* ---------- La page introuvable ---------- */
.introuvable { text-align: center; padding-top: 72px; }
.introuvable .boutons { justify-content: center; }
.blop-perdu { width: 120px; height: 120px; margin: 0 auto 8px; }
.blop-perdu svg { width: 100%; height: 100%; overflow: visible; }

/* ---------- Ce que seul le master voit ---------- */
.bandeau-master { background: var(--fond-2); border-radius: 12px; padding: 10px 14px; margin: 0 0 24px; font-size: 14px; }
.bandeau-master.brouillon { background: var(--jaune-doux); }
.bandeau-master p { margin: 0; }

/* ---------- Pied de page ---------- */
.site-pied { border-top: 1px solid var(--trait); background: var(--fond-2); margin-top: 40px; }
.site-pied-dedans { max-width: 1120px; margin: 0 auto; padding: 40px 24px 48px; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.site-pied-marque p { color: var(--encre-2); font-size: 14.5px; margin: 12px 0 0; max-width: 34ch; }
.site-pied nav { display: flex; flex-direction: column; gap: 7px; }
.site-pied nav p { margin: 0 0 4px; font-size: 12.5px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--encre-3); }
.site-pied nav a { color: var(--encre-2); text-decoration: none; font-size: 14.5px; }
.site-pied nav a:hover { color: var(--encre); text-decoration: underline; }
@media (max-width: 760px) { .site-pied-dedans { grid-template-columns: 1fr 1fr; padding: 32px 16px 40px; } .site-pied-marque { grid-column: 1 / -1; } }

/* ---------- Téléphone ---------- */
@media (max-width: 600px) {
  body.site { font-size: 16px; }
  .contenu { padding: 32px 16px 56px; }
  .chapo { font-size: 18px; }
  .texte h2 { font-size: 23px; margin-top: 40px; }
  .boutons .bouton { flex: 1 1 100%; }
}

/* ---------- Aperçu dans l'éditeur ---------- */
body.apercu .contenu { padding: 28px 22px 40px; }

/* ---------- Impression : le guide tient sur papier ---------- */
@media print {
  .site-entete, .site-pied, .boutons, .bandeau-master, .aller-contenu, .demo, .fil, .suite { display: none !important; }
  body.site { font-size: 11.5pt; background: #fff; color: #000; }
  .contenu { max-width: none; padding: 0; }
  a { color: #000; }
  .texte h2 { break-after: avoid; }
  .encart, .colonne, .sommaire, details.question { break-inside: avoid; }
  details.question > div { display: block !important; }
  details.question > summary::after { display: none; }
  ol.etapes > li, ul.coches > li { break-inside: avoid; }
}
