/* ═══════════════════════════════════════════════════════════
   Guide « Elle est sue » — feuille de style commune
   Reprend la charte de la landing (couleurs, polices, formes).
   Polices auto-hébergées : aucune requête vers Google (RGPD + vitesse).
   ═══════════════════════════════════════════════════════════ */

@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/playfair-display-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 900; font-display: swap; src: url('fonts/playfair-display-latin-900-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Kalam'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/kalam-latin-700-normal.woff2') format('woff2'); }

:root {
  --cream:   #FFFBF2;
  --warm:    #FFF5E4;
  --accent:  #FF6B45;
  --accent-ink: #C8401E;   /* orange assombri : liens lisibles (contraste AA) */
  --accent2: #FFB627;
  --sky:     #2FA4D6;
  --violet:  #8B5CF6;
  --green:   #2FA671;
  --ink:     #211F3D;
  --ink-soft:#57567A;
  --border:  #EFE3CE;
  --font-d:  'Playfair Display', Georgia, serif;
  --font-b:  'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-hand: 'Kalam', cursive;
  --r: 20px;
  --shadow: 0 4px 24px rgba(33,31,61,.08);
  --nav-h: 66px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-b); background: var(--cream); color: var(--ink); line-height: 1.7; font-size: 17px; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
}
a { color: var(--accent-ink); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

/* ─── NAV (identique à la landing) ─── */
.site-nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 40px;
  background: rgba(255,253,248,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; min-width: 0; }
.nav-brand:hover { color: var(--ink); }
.nav-logo-mark { width: 38px; height: 38px; flex-shrink: 0; display: block; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.nav-brand-name { font-family: var(--font-d); font-size: 20px; font-weight: 900; letter-spacing: -.5px; white-space: nowrap; }
.nav-brand-name span { color: var(--accent); }
.nav-brand-tag { font-size: 10.5px; font-weight: 600; color: var(--ink-soft); margin-top: 4px; white-space: nowrap; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--ink-soft); text-decoration: none; font-weight: 600; padding: 7px 14px; border-radius: 20px; transition: background .15s, color .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent-ink); background: rgba(255,107,69,.09); }
.nav-cta { background: var(--accent); color: #fff !important; padding: 10px 20px; border-radius: 24px; font-size: 14px; font-weight: 700; text-decoration: none; box-shadow: 0 4px 14px rgba(255,107,69,.32); white-space: nowrap; transition: background .15s, transform .15s; }
.nav-cta:hover { background: #e5502e; transform: translateY(-1px); }
@media (max-width: 900px) { .nav-links { display: none; } .site-nav { padding: 0 20px; } }
@media (max-width: 560px) { .nav-brand-tag { display: none; } .nav-brand-name { font-size: 17px; } .nav-cta { padding: 9px 14px; font-size: 13px; } .cta-long { display: none; } }


/* ─── EN-TÊTE D'ARTICLE ─── */
.page-head {
  background: linear-gradient(160deg, #FFFDF8 0%, #F5EAFF 50%, #EAF3FF 100%);
  padding: 34px 40px 48px; border-bottom: 1px solid var(--border);
}
.page-head-inner { max-width: 1120px; margin: 0 auto; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 13.5px; color: var(--ink-soft); margin-bottom: 22px; }
.breadcrumb li + li::before { content: '›'; margin-right: 8px; color: #A9A7C4; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--accent-ink); text-decoration: underline; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 2px dashed rgba(139,92,246,.35); color: #6D3FD9; border-radius: 20px; padding: 5px 14px; font-size: 11.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 18px; transform: rotate(-1.5deg); }
.page-head h1 { font-family: var(--font-d); font-weight: 900; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.12; letter-spacing: -.5px; max-width: 900px; margin-bottom: 18px; text-wrap: balance; }
.page-head h1 em { font-style: normal; color: var(--accent); }
.lede { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--ink-soft); max-width: 760px; line-height: 1.65; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 13.5px; color: var(--ink-soft); }
.meta > span { display: inline-flex; align-items: center; gap: 6px; }
.meta svg { flex-shrink: 0; }
@media (max-width: 640px) { .page-head { padding: 24px 20px 36px; } }

/* ─── MISE EN PAGE ARTICLE + SOMMAIRE ─── */
.layout { max-width: 1120px; margin: 0 auto; padding: 48px 40px 24px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 24px); max-height: calc(100vh - var(--nav-h) - 48px); overflow: auto; font-size: 14px; }
.toc-title { font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.toc ol { list-style: none; border-left: 2px solid var(--border); }
.toc li a { display: block; padding: 6px 0 6px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-soft); text-decoration: none; line-height: 1.4; transition: color .15s, border-color .15s; }
.toc li a:hover { color: var(--ink); }
.toc li a.is-active { color: var(--accent-ink); border-left-color: var(--accent); font-weight: 600; }
.toc details > summary { display: none; }
@media (max-width: 1000px) {
  .layout { grid-template-columns: minmax(0,1fr); gap: 0; padding: 28px 20px 16px; }
  .toc { position: static; max-height: none; background: #fff; border: 1.5px solid var(--border); border-radius: 16px; padding: 0; margin-bottom: 32px; }
  .toc details > summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; padding: 14px 18px; font-weight: 700; font-size: 15px; list-style: none; }
  .toc details > summary::-webkit-details-marker { display: none; }
  .toc details > summary::after { content: '+'; width: 26px; height: 26px; border-radius: 8px; background: #FFF0EA; color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; }
  .toc details[open] > summary::after { content: '−'; }
  .toc .toc-title { display: none; }
  .toc ol { margin: 0 18px 16px; }
}

/* ─── TYPOGRAPHIE DU CONTENU ─── */
.prose { max-width: 720px; min-width: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--font-d); font-size: clamp(25px, 2.6vw, 32px); font-weight: 900; line-height: 1.2; margin-top: 2.2em; letter-spacing: -.3px; text-wrap: balance; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19.5px; font-weight: 700; line-height: 1.35; margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose p, .prose li { color: #2E2C4A; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.prose blockquote { border-left: 4px solid var(--violet); background: #F7F2FF; padding: 14px 20px; border-radius: 0 14px 14px 0; font-style: italic; color: #3B3266; }
.prose blockquote cite { display: block; margin-top: 6px; font-style: normal; font-size: 13.5px; color: var(--ink-soft); }
.prose hr { border: none; height: 1px; background: var(--border); margin: 2.4em 0; }
.prose abbr { text-decoration: underline dotted; cursor: help; }
.hand { font-family: var(--font-hand); font-weight: 700; color: var(--accent-ink); }

/* Encadrés */
.box { border-radius: 18px; padding: 20px 22px; border: 1.5px solid; position: relative; }
.box > * + * { margin-top: .6em; }
.box-title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.box ul { padding-left: 1.2em; }
.box-essentiel { background: #FFF8E6; border-color: #F6DDA0; }
.box-essentiel .box-title { color: #8A5A00; }
.box-texte { background: #F7F2FF; border-color: #DDD0FB; }
.box-texte .box-title { color: #5B33C9; }
.box-astuce { background: #EAF6FC; border-color: #BFE3F3; }
.box-astuce .box-title { color: #19739B; }
.box-attention { background: #FFF1EC; border-color: #FFCDBD; }
.box-attention .box-title { color: #B23A17; }
.box-ok { background: #EAF7F0; border-color: #BCE5CF; }
.box-ok .box-title { color: #1C7A51; }

/* Tableaux */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1.5px solid var(--border); border-radius: 16px; background: #fff; }
.table-wrap:focus-visible { outline: 3px solid var(--sky); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table-wrap.wide table { min-width: 580px; }
@media (max-width: 640px) {
  table { font-size: 14px; }
  th, td { padding: 10px 12px; }
  .table-wrap.wide caption::after { content: ' · faites glisser →'; font-weight: 400; }
}
caption { text-align: left; padding: 14px 16px 4px; font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--border); line-height: 1.5; }
thead th { background: var(--warm); font-size: 13px; letter-spacing: .3px; text-transform: uppercase; color: var(--ink); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: none; }
tbody th { font-weight: 700; color: var(--ink); }

/* Frise chronologique */
.timeline { list-style: none; padding: 0 !important; position: relative; }
.timeline::before { content: ''; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.timeline li { position: relative; padding-left: 38px; }
.timeline li + li { margin-top: 1.1em; }
.timeline li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
.timeline li.is-now::before { background: var(--accent); }
.timeline .when { display: block; font-weight: 700; color: var(--ink); font-size: 15px; }

/* Grille de cartes (domaines, types de traces…) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.cards > div { background: #fff; border: 1.5px solid var(--border); border-radius: 16px; padding: 16px 18px; }
.cards h3, .cards h4 { font-size: 16px; margin: 0 0 6px; line-height: 1.35; }
.cards p { font-size: 15px; margin: 0; color: var(--ink-soft); }
.cards .tag { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 10px; margin-bottom: 8px; color: #fff; }

/* Exemple d'écrit (commentaire, appréciation) */
.sample { background: #fff; border: 1.5px dashed #E3CFA8; border-radius: 16px; padding: 18px 20px; font-family: var(--font-hand); font-weight: 700; font-size: 19px; line-height: 1.55; color: #3A3560; }
.sample-label { display: block; font-family: var(--font-b); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compare .sample.is-bad { border-color: #FFCDBD; background: #FFFAF8; }
.compare .sample.is-good { border-color: #BCE5CF; background: #FAFFFC; }
@media (max-width: 640px) { .compare { grid-template-columns: 1fr; } }

/* Liste de contrôle */
.checklist { list-style: none; padding: 0 !important; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before { content: ''; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 7px; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; margin-top: 1em; }
.faq details { background: #fff; border-radius: 16px; border: 1.5px solid var(--border); padding: 0 20px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 0; font-weight: 700; font-size: 16.5px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex-shrink: 0; width: 28px; height: 28px; border-radius: 9px; background: #FFF0EA; color: var(--accent-ink); display: grid; place-items: center; font-size: 19px; font-weight: 700; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq .faq-a { padding-bottom: 18px; color: #2E2C4A; }
.faq .faq-a > * + * { margin-top: .6em; }

/* Sources */
.sources { font-size: 14.5px; }
.sources li { color: var(--ink-soft); }
.sources a { word-break: break-word; }

/* Encart auteur */
.author { display: flex; gap: 16px; align-items: center; background: #fff; border: 1.5px solid var(--border); border-radius: 18px; padding: 18px 20px; }
.author img { width: 56px; height: 56px; flex-shrink: 0; }
.author p { font-size: 14.5px; color: var(--ink-soft); margin: 0; line-height: 1.55; }
.author strong { color: var(--ink); }

/* Encart produit (discret) */
.promo { display: flex; gap: 20px; align-items: center; background: linear-gradient(135deg, #FFF5E4, #FFEDE6); border: 2px dashed #FFC3A8; border-radius: 22px; padding: 22px 24px; }
.promo img { width: 64px; height: 64px; flex-shrink: 0; }
.promo-body { flex: 1; min-width: 0; }
.promo-kicker { font-family: var(--font-hand); font-weight: 700; color: var(--accent-ink); font-size: 17px; line-height: 1.2; }
.promo p { margin: 4px 0 0; font-size: 15px; color: var(--ink-soft); }
.promo-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 26px; font-size: 14.5px; font-weight: 700; text-decoration: none; transition: transform .15s, background .15s, border-color .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #e5502e; color: #fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border: 2px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-ink); }
@media (max-width: 560px) { .promo { flex-direction: column; align-items: flex-start; } }

/* Articles liés */
.related { max-width: 1120px; margin: 0 auto; padding: 24px 40px 72px; }
.related h2 { font-family: var(--font-d); font-weight: 900; font-size: 26px; margin-bottom: 18px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
@media (max-width: 640px) { .related { padding: 16px 20px 56px; } }

.card-link { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1.5px solid var(--border); border-radius: 20px; padding: 22px; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; height: 100%; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #F3C9B6; color: var(--ink); }
.card-link .kicker { font-size: 11.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.card-link h3 { font-family: var(--font-d); font-size: 21px; line-height: 1.25; font-weight: 700; }
.card-link p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }
.card-link .more { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 14px; color: var(--accent-ink); }

/* ─── PAGE D'ACCUEIL DU GUIDE ─── */
.hub { max-width: 1120px; margin: 0 auto; padding: 48px 40px 24px; }
.hub-pillar { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; background: var(--ink); color: #fff; border-radius: 26px; overflow: hidden; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.hub-pillar:hover { transform: translateY(-3px); box-shadow: 0 18px 50px rgba(33,31,61,.22); color: #fff; }
.hub-pillar-body { padding: 34px 36px; display: flex; flex-direction: column; gap: 12px; }
.hub-pillar .kicker { color: var(--accent2); font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.hub-pillar h2 { font-family: var(--font-d); font-size: clamp(26px, 3vw, 36px); line-height: 1.15; font-weight: 900; }
.hub-pillar p { color: rgba(255,255,255,.75); font-size: 16px; }
.hub-pillar .more { color: #FFB49F; font-weight: 700; margin-top: 6px; }
.hub-pillar-art { background: linear-gradient(135deg, #FF6B45, #FFB627); display: grid; place-items: center; padding: 30px; }
.hub-pillar-art ul { list-style: none; display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 280px; }
.hub-pillar-art li { background: rgba(255,255,255,.94); color: var(--ink); border-radius: 12px; padding: 10px 14px; font-size: 14px; font-weight: 600; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.hub-pillar-art li:nth-child(odd) { transform: rotate(-1.2deg); }
.hub-pillar-art li:nth-child(even) { transform: rotate(1deg); margin-left: 14px; }
@media (max-width: 820px) { .hub-pillar { grid-template-columns: 1fr; } .hub-pillar-art { display: none; } .hub { padding: 28px 20px 16px; } }
.hub h2.section-h { font-family: var(--font-d); font-weight: 900; font-size: 28px; margin: 48px 0 18px; }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.hub-about { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.hub-about > div { background: #fff; border: 1.5px solid var(--border); border-radius: 18px; padding: 20px; }
.hub-about h3 { font-size: 16.5px; margin-bottom: 6px; }
.hub-about p { font-size: 15px; color: var(--ink-soft); }

/* ─── PIED DE PAGE (identique à la landing) ─── */
.site-footer { background: var(--ink); color: rgba(255,255,255,.68); padding: 48px 40px 32px; font-size: 14px; }
.footer-inner { max-width: 1120px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-brand img { width: 300px; max-width: 100%; height: auto; display: block; }
.footer-col .footer-h { font-family: var(--font-b); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(255,255,255,.72); text-decoration: none; margin-bottom: 8px; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.footer-bottom a { color: rgba(255,255,255,.72); }
.footer-note { font-size: 12.5px; color: rgba(255,255,255,.5); margin-top: 10px; max-width: 520px; line-height: 1.55; }
@media (max-width: 640px) { .site-footer { padding: 40px 20px 28px; } .footer-top { flex-direction: column; gap: 28px; } }

/* ─── BARRE DE LECTURE ─── */
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent2)); z-index: 150; }

/* ─── PAGE LÉGALE ─── */
.legal .prose h2 { font-size: 24px; }
.legal .prose { max-width: 760px; }

/* ─── IMPRESSION : les enseignants impriment ─── */
/* ═══ Barre de navigation du bas — téléphone et tablette (jusqu'à 900 px) ═══
   Mêmes rubriques et même apparence que sur la page d'accueil. */
.nav-bas { display: none; }
@media (max-width: 900px) {
  .nav-bas {
    display: grid; grid-template-columns: 1.3fr repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 6px 4px calc(9px + env(safe-area-inset-bottom));
    background: #FFFDF8; border-top: 1px solid var(--border); box-shadow: 0 -6px 24px rgba(33,31,61,.07);
  }
  .nav-bas a {
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 3px;
    min-height: 54px; padding: 3px 0 0; border-radius: 14px;
    color: var(--ink-soft); text-decoration: none; font: 600 11px/1.15 var(--font-b); letter-spacing: -.1px;
    -webkit-tap-highlight-color: transparent; transition: color .15s;
  }
  .nav-bas a span { white-space: nowrap; text-align: center; }
  .nav-bas a .deux-lignes { line-height: 1.05; }
  .nav-bas svg {
    width: 44px; height: 28px; padding: 4px 11px; border-radius: 14px;
    fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
    transition: background .15s;
  }
  .nav-bas a:hover { color: var(--ink); }
  .nav-bas a:active svg { background: rgba(255,107,69,.12); }
  .nav-bas a.is-active { color: var(--accent-ink); }
  .nav-bas a.is-active svg { background: rgba(255,107,69,.14); }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .nav-bas a { font-size: 10.5px; }
  .nav-bas svg { width: 40px; padding: 4px 9px; }
}

/* ═══ Titre de l'en-tête : identique à celui de l'application EES ═══ */
.nav-brand-name .brand-dash { font-size: .42em; font-weight: 400; color: var(--accent); opacity: .85; vertical-align: middle; margin: 0 1px; }
.nav-brand-name .brand-dot  { font-size: .42em; font-weight: 400; color: #bcbcc8; }
.nav-brand-name .brand-tld  { font-family: 'Kalam', cursive; font-style: italic; font-size: .68em; font-weight: 700; color: var(--accent); opacity: .85; vertical-align: -.28em; margin-left: 1px; }
.nav-brand-name .brand-mat  { color: var(--accent); }
.nav-brand-tag { display: block !important; font-family: var(--font-b); font-size: 12.5px; font-weight: 400; letter-spacing: 0; color: #8888aa; margin-top: 4px; white-space: nowrap; }
@media (max-width: 900px) {
  .nav-brand-name { font-size: 17px !important; }
  .nav-brand-tag { font-size: 11px; margin-top: 2px; }
}
@media (max-width: 400px) { .nav-brand-name { font-size: 15px !important; } .nav-brand-tag { font-size: 10.5px; } }
@media (max-width: 340px) { .nav-brand-name { font-size: 13.5px !important; } }

@media print {
  @page { margin: 16mm 14mm; }
  body { background: #fff; font-size: 11.5pt; color: #000; }
  .site-nav, .nav-bas, .toc, .promo, .related, .site-footer, .read-progress, .skip-link, .breadcrumb, .eyebrow { display: none !important; }
  .page-head { background: none; padding: 0 0 10pt; border: none; }
  .layout { display: block; padding: 0; }
  .prose { max-width: none; }
  .prose a { color: #000; text-decoration: none; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; word-break: break-all; }
  .faq details { border: none; padding: 0; }
  .faq details > .faq-a { display: block !important; }
  .faq summary::after { display: none; }
  .box, .table-wrap, .sample, .cards > div { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
}
