/* ============================================================
   SEKPOLI — landing (Phase 0)
   Brand : savoirs endogènes / Fâ — kola, ocre, indigo
   ============================================================ */

:root {
  --ground:    #F1EADB;
  --surface:   #F8F3E8;
  --surface-2: #EAE0CC;
  --text:      #271B12;
  --muted:     #6C5A45;
  --faint:     #8B7A63;
  --accent:    #B0771A;   /* ocre / or */
  --accent-ink:#FFFFFF;
  --accent-2:  #2E3A59;   /* indigo */
  --border:    #DBCFB6;
  --border-2:  #C7B694;
  --shadow:    0 1px 2px rgba(39,27,18,.06), 0 10px 30px rgba(39,27,18,.06);
  --serif: "Fraunces", Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --maxw: 1120px;
  --prose: 60ch;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground:    #16110C;
    --surface:   #201812;
    --surface-2: #2A2016;
    --text:      #ECE1CE;
    --muted:     #B09B7F;
    --faint:     #8B7A63;
    --accent:    #D79B39;
    --accent-ink:#16110C;
    --accent-2:  #8A99C4;
    --border:    #34281C;
    --border-2:  #463625;
    --shadow:    0 1px 2px rgba(0,0,0,.4), 0 12px 34px rgba(0,0,0,.34);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* language visibility — FR par défaut, EN/ES/PT masqués puis révélés selon <html lang> */
.lang-fr { display: inline; }
.lang-en, .lang-es, .lang-pt, .lang-fon, .lang-yo, .lang-mina { display: none; }
html[lang="en"] .lang-fr { display: none; } html[lang="en"] .lang-en { display: inline; }
html[lang="es"] .lang-fr { display: none; } html[lang="es"] .lang-es { display: inline; }
html[lang="pt"] .lang-fr { display: none; } html[lang="pt"] .lang-pt { display: inline; }
html[lang="fon"] .lang-fr { display: none; } html[lang="fon"] .lang-fon { display: inline; }
html[lang="yo"] .lang-fr { display: none; } html[lang="yo"] .lang-yo { display: inline; }
html[lang="mina"] .lang-fr { display: none; } html[lang="mina"] .lang-mina { display: inline; }

a { color: var(--accent-2); text-underline-offset: 3px; }

/* ---------------- header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--ground) 88%, transparent);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-topbar {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--accent-2); color: #fff;
  font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .02em;
  padding: 6px 16px;
}
.header-topbar > span { display: inline-flex; align-items: center; gap: 7px; }
.header-topbar svg { width: 14px; height: 14px; flex: none; }
.header-topbar .dot { opacity: .45; }
@media (max-width: 480px){ .header-topbar { font-size: .68rem; gap: 8px; } }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; height: 66px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand .mark {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  border-radius: 9px; overflow: hidden;
}
.brand .mark svg { display: block; width: 100%; height: 100%; }
.brand .name {
  font-family: var(--serif); font-weight: 600; font-size: 1.32rem;
  letter-spacing: .04em;
}
.header-tools { display: flex; align-items: center; gap: 14px; }
.platform-link {
  font-family: var(--sans); font-size: .9rem; font-weight: 600; letter-spacing: .01em;
  color: var(--accent-2); text-decoration: none; white-space: nowrap;
}
.platform-link:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px){ .site-nav > a.platform-link { display: inline-flex; } }

/* navigation multi-pages */
.brand { margin-right: auto; }
.header-right { display: flex; align-items: center; gap: 12px; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav > a[data-nav] {
  font-family: var(--sans); font-size: .95rem; font-weight: 600; white-space: nowrap;
  color: var(--muted); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent;
}
.site-nav > a[data-nav]:hover { color: var(--text); }
.site-nav > a[data-nav].active { color: var(--text); border-bottom-color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 4px; }
@media (max-width: 1024px){
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: 92px; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ground); border-bottom: 1px solid var(--border);
    padding: 6px 24px 16px;
  }
  .site-nav.open { display: flex; }
  .site-nav > a[data-nav], .site-nav > a.platform-link {
    padding: 13px 0; border-bottom: 1px solid var(--border);
  }
  .site-nav > a[data-nav].active { border-bottom-color: var(--accent); }
  .site-nav > .btn { margin-top: 10px; align-self: flex-start; }
}
.lang-switch { display: inline-flex; border: 1px solid var(--border-2); border-radius: 999px; overflow: hidden; }
.lang-switch button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 5px 6px; border: 0; background: transparent; cursor: pointer;
  transition: background .12s ease;
}
.lang-switch button:hover { background: var(--surface); }
.lang-switch .flag {
  width: 19px; height: 13px; display: block; border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); opacity: .6; transition: opacity .12s ease;
}
.lang-switch button:hover .flag { opacity: 1; }
.lang-switch button[aria-pressed="true"] { background: var(--accent); }
.lang-switch button[aria-pressed="true"] .flag { opacity: 1; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: .95rem;
  padding: 11px 20px; border-radius: 10px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .12s ease, filter .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { background: var(--surface); }
.header-tools .btn { padding: 8px 16px; }
@media (max-width: 640px){ .header-tools .btn-primary { display: none; } }

/* ---------------- hero ---------------- */
.hero {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--border);
  background: url('/assets/hero-cauris.jpg') right center / cover no-repeat, var(--ground);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(95deg, var(--ground) 0%, var(--ground) 40%, color-mix(in srgb, var(--ground) 62%, transparent) 63%, color-mix(in srgb, var(--ground) 12%, transparent) 100%),
    radial-gradient(120% 90% at 86% -20%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 58%);
}
.hero .wrap { position: relative; z-index: 1; padding: 78px 24px 70px; }
@media (max-width: 760px) {
  .hero { background-position: right bottom; }
  .hero::before {
    background:
      linear-gradient(180deg, var(--ground) 0%, var(--ground) 58%, color-mix(in srgb, var(--ground) 80%, transparent) 100%),
      radial-gradient(120% 60% at 86% -10%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%);
  }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: .74rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
  background: var(--surface); border: 1px solid var(--border-2);
  padding: 7px 15px; border-radius: 999px;
}
h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.04; letter-spacing: -.02em;
  text-wrap: balance; margin: 26px 0 0; max-width: 16ch;
}
h1 em { font-style: italic; color: var(--accent); }
.hero .lede {
  font-size: clamp(1.08rem, 2.4vw, 1.34rem); color: var(--muted);
  max-width: 54ch; margin: 22px 0 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: .86rem; color: var(--faint); }

/* geomantic strip */
.fa-strip { display: flex; gap: 22px; margin-top: 46px; flex-wrap: wrap; }
.fa-sign { display: grid; gap: 5px; opacity: .8; }
.fa-sign .row { display: flex; gap: 6px; }
.fa-sign .row i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-2); display: block; }
.fa-sign .row.single { justify-content: center; }

/* ---------------- sections ---------------- */
section { padding: 74px 0; }
.section-head { max-width: 62ch; }
.kicker {
  font-family: var(--sans); font-size: .74rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px;
}
h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.12; letter-spacing: -.015em;
  margin: 0; text-wrap: balance;
}
.section-head p { color: var(--muted); font-size: 1.05rem; max-width: var(--prose); margin: 14px 0 0; }

.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* services grid */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
@media (max-width: 900px){ .cards { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 26px 24px; box-shadow: var(--shadow);
}
.alt .card { background: var(--ground); }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent);
  margin-bottom: 16px;
}
.card .ico svg { width: 23px; height: 23px; display: block; }
.card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.22rem; margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: .96rem; }

/* témoignages */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
@media (max-width: 900px){ .quotes { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .quotes { grid-template-columns: 1fr; } }
.quote {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 26px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px;
}
.alt .quote { background: var(--ground); }
.quote .mark { font-family: var(--serif); color: var(--accent); font-size: 2.6rem; line-height: .5; height: .42em; }
.quote blockquote { margin: 0; font-style: italic; color: var(--text); font-size: 1.02rem; }
.quote .cite { font-style: normal; color: var(--muted); font-size: .9rem; font-weight: 600; margin-top: auto; }
.quote .sample {
  align-self: flex-start; font-family: var(--sans); font-size: .64rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--border-2); border-radius: 999px; padding: 3px 9px;
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; counter-reset: step; }
@media (max-width: 820px){ .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px){ .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 20px; border-top: 2px solid var(--accent); }
.step .n {
  font-family: var(--serif); font-size: 2.1rem; color: var(--accent); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.step h3 { font-family: var(--serif); font-weight: 600; font-size: 1.14rem; margin: 12px 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ethics callout */
.ethic {
  margin-top: 44px; background: var(--accent-2); color: #F3F1E8;
  border-radius: 18px; padding: 34px 32px; max-width: 760px;
}
.ethic .k { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; opacity: .8; }
.ethic p { font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; margin: 12px 0 0; text-wrap: balance; }

/* organisation */
.assoc-media {
  margin: 34px 0 0; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.assoc-media img {
  display: block; width: 100%; height: clamp(180px, 30vw, 320px);
  object-fit: cover; object-position: center 35%;
}
.org { display: grid; gap: 18px; margin-top: 44px; }
.org-node {
  background: var(--surface); border: 1px solid var(--border-2); border-radius: 16px;
  padding: 24px 26px; text-align: center; box-shadow: var(--shadow); max-width: 560px; margin: 0 auto;
}
.org-node.top { border-color: var(--accent); }
.org-node .role { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.org-node h3 { font-family: var(--serif); font-size: 1.28rem; margin: 8px 0 6px; }
.org-node p { color: var(--muted); font-size: .95rem; margin: 0 auto; max-width: 46ch; }
.org-connector { width: 1px; height: 26px; background: var(--border-2); margin: 0 auto; }
.antennes { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
@media (max-width: 640px){ .antennes { grid-template-columns: 1fr; } }
.antenne { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; text-align: center; }
.antenne .flag { font-size: 1.6rem; }
.antenne strong { display: block; margin-top: 4px; }
.antenne span { font-size: .86rem; color: var(--muted); }

.split { display: flex; gap: 3px; border-radius: 12px; overflow: hidden; margin: 30px auto 0; max-width: 620px; border: 1px solid var(--border); }
.split div { padding: 16px 14px; text-align: center; }
.split b { display: block; font-family: var(--serif); font-size: 1.4rem; }
.split span { font-size: .8rem; color: var(--muted); }
.split .s1 { background: color-mix(in srgb, var(--accent) 22%, var(--surface)); flex: 70; }
.split .s2 { background: color-mix(in srgb, var(--accent-2) 20%, var(--surface)); flex: 15; }
.split .s3 { background: var(--surface-2); flex: 15; }

/* waitlist */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 20ch; margin: 0 auto; }
.cta-band .section-head p { margin-left: auto; margin-right: auto; }
.waitlist {
  margin: 40px auto 0; max-width: 560px; text-align: left;
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 28px 26px; box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--text); margin-bottom: 6px; letter-spacing: .01em; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--text);
  padding: 12px 14px; border: 1px solid var(--border-2); border-radius: 10px;
  background: var(--ground); appearance: none;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 90px; font-family: inherit; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px){ .row-2 { grid-template-columns: 1fr; } }
.waitlist .btn-primary { width: 100%; margin-top: 6px; }
.form-status { margin-top: 14px; font-size: .92rem; text-align: center; min-height: 1.2em; }
.form-status.ok { color: var(--good, #3E6E4B); font-weight: 600; }
.form-status.err { color: #9A3B24; font-weight: 600; }
.consent { font-size: .82rem; color: var(--faint); margin-top: 4px; display: flex; align-items: flex-start; gap: 8px; }
.consent input { margin-top: 3px; accent-color: var(--accent); }
.prose ul { color: var(--text); line-height: 1.7; padding-left: 1.2em; margin: 10px 0; }
.prose li { margin: 4px 0; }

/* ---------------- footer ---------------- */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); }
.site-footer .wrap { padding: 48px 24px; display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; }
.site-footer .fbrand { font-family: var(--serif); font-size: 1.3rem; letter-spacing: .04em; }
.site-footer p { color: var(--muted); font-size: .9rem; max-width: 42ch; margin: 8px 0 0; }
.site-footer .langs-soon { font-size: .82rem; color: var(--faint); }
.site-footer .copy { width: 100%; border-top: 1px solid var(--border); padding-top: 20px; margin-top: 8px; font-size: .82rem; color: var(--faint); }

/* footer (façon academy) : top + grille + newsletter + copyright */
.site-footer .wrap { display: block; }
.footer-top {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding-bottom: 26px; border-bottom: 1px solid var(--border); margin-bottom: 30px;
}
.footer-top .fabout { max-width: 46ch; }
.fsocial { display: flex; align-items: center; gap: 10px; }
.fsocial a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border-2); color: var(--accent-2); transition: background .12s ease, color .12s ease, border-color .12s ease;
}
.fsocial a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.fsocial svg { width: 17px; height: 17px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 28px; align-items: start; }
.fmeta { font-size: .84rem; color: var(--faint); margin: 6px 0 0; }
.footer-newsletter { border-top: 1px solid var(--border); margin-top: 30px; padding-top: 26px; }
.footer-newsletter .fnews { max-width: 520px; }
.copy { border-top: 1px solid var(--border); margin-top: 26px; padding-top: 20px; }
@media (max-width: 760px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px){ .footer-grid { grid-template-columns: 1fr; } .footer-top { justify-content: center; text-align: center; } .footer-top .fabout { text-align: left; } }
.fcol h4 {
  font-family: var(--sans); font-size: .76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: var(--faint); margin: 0 0 12px;
}
.fcol a { display: block; color: var(--muted); text-decoration: none; font-size: .92rem; padding: 3px 0; max-width: none; }
.fcol a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.fcontact a { color: var(--accent-2); font-weight: 600; }
.nl-form { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.nl-form input[type=email] {
  flex: 1 1 150px; min-width: 0; padding: 10px 12px; border-radius: 10px; font: inherit; font-size: .92rem;
  border: 1px solid var(--border-2); background: var(--ground); color: var(--text);
}
.nl-form .btn { padding: 10px 16px; }
.nl-consent { font-size: .76rem; color: var(--faint); margin-top: 8px; }
/* barre de bas de page (façon academy) */
.site-footer .footer-bottom {
  border-top: 1px solid var(--border); margin-top: 30px; padding-top: 22px;
  display: flex; flex-direction: column; gap: 12px;
}
.fb-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
}
.site-footer .fb-copyright { font-size: .82rem; color: var(--faint); margin: 0; max-width: none; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .82rem; }
.footer-legal a { color: var(--muted); text-decoration: none; }
.footer-legal a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal .fl-sep { color: var(--faint); opacity: .5; }
.site-footer .fb-credit { font-size: .8rem; color: var(--faint); margin: 0; max-width: none; text-align: justify; text-align-last: center; }
.fb-credit .credit-link { color: var(--muted); text-decoration: none; }
.fb-credit .credit-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.site-footer .fb-photo { font-size: .72rem; color: var(--faint); opacity: .65; margin: 2px 0 0; max-width: none; text-align: center; }
@media (max-width: 560px){ .fb-row { justify-content: center; text-align: center; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 860px){ .site-footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .site-footer .wrap { grid-template-columns: 1fr; } }

/* ===================== pages de contenu ===================== */
.page { padding: 52px 0 76px; }
.page h1 {
  font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; line-height: 1.1;
  font-size: clamp(1.9rem, 5vw, 2.9rem); margin: 6px 0 0; text-wrap: balance;
}
.page .lead { font-size: 1.12rem; color: var(--muted); max-width: var(--prose); margin: 16px 0 0; line-height: 1.6; }
.prose { max-width: var(--prose); }
.prose h3 { font-family: var(--serif); font-weight: 600; font-size: 1.28rem; margin: 30px 0 6px; }
.prose p { color: var(--text); line-height: 1.72; margin: 10px 0; }
.note {
  margin-top: 22px; border-left: 3px solid var(--accent); background: var(--surface);
  padding: 14px 18px; border-radius: 0 12px 12px 0; font-size: .93rem; color: var(--muted); line-height: 1.6;
}
.legal-draft {
  margin: 22px 0 8px; border: 1px solid var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent);
  padding: 14px 18px; border-radius: 12px; font-size: .9rem; font-weight: 600; color: var(--text); line-height: 1.55; max-width: var(--prose);
}

/* 16 signes */
.signs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
@media (max-width: 900px){ .signs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .signs-grid { grid-template-columns: 1fr; } }
.sign {
  position: relative; border: 1px solid var(--border); border-radius: 14px;
  background: var(--surface); padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.sign-no { position: absolute; top: 10px; left: 12px; font-size: .72rem; font-weight: 700; color: var(--faint); }
.sign .fig { display: flex; flex-direction: column; gap: 6px; align-items: center; padding: 10px 0 6px; }
.sign .fig .row { display: flex; gap: 20px; justify-content: center; }
.sign .fig .col { display: flex; gap: 5px; }
.sign .fig i { width: 8px; height: 8px; border-radius: 50%; background: var(--text); display: block; }
.sign .nm { font-family: var(--serif); font-weight: 600; font-size: 1.02rem; text-align: center; margin-top: 4px; }
.sign .fon { font-size: .84rem; color: var(--muted); }
.sign .todo { font-size: .74rem; color: var(--faint); font-style: italic; text-align: center; }

/* table 256 */
.matrix-scroll { overflow-x: auto; margin-top: 20px; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: 12px; }
.matrix { border-collapse: collapse; font-size: .7rem; min-width: 640px; }
.matrix th, .matrix td { border: 1px solid var(--border); padding: 5px 7px; text-align: center; white-space: nowrap; }
.matrix th { background: var(--surface); font-weight: 700; color: var(--text); }
.matrix td { color: var(--muted); font-variant-numeric: tabular-nums; }
.matrix tbody th { position: sticky; left: 0; }

/* page patriarche */
.patriarch-hero { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; margin-top: 8px; }
@media (max-width: 640px){ .patriarch-hero { grid-template-columns: 1fr; max-width: 260px; } }
.portrait {
  margin: 0; aspect-ratio: 3 / 4; border: 1px solid var(--border); border-radius: 16px;
  background: var(--surface); display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 10px; color: var(--faint);
}
.portrait svg { width: 60px; height: 60px; opacity: .7; }
.portrait figcaption { font-family: var(--sans); font-size: .78rem; letter-spacing: .02em; }
.patriarch-quote { margin: 26px 0; border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; }
.patriarch-quote p { font-family: var(--serif); font-style: italic; font-size: 1.18rem; color: var(--text); margin: 0; }

/* décor & images des pages de contenu */
.page-banner {
  height: 220px; border-radius: 20px; overflow: hidden; margin: 0 0 30px;
  background-size: cover; background-position: center; position: relative; border: 1px solid var(--border);
}
.page-banner::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--ground) 50%, transparent), transparent 55%); }
@media (max-width: 600px){ .page-banner { height: 160px; } }

.fa-divider { display: flex; align-items: center; gap: 16px; margin: 42px auto; max-width: var(--prose); }
.fa-divider .rule { flex: 1; height: 1px; background: var(--border); }
.fa-divider svg { opacity: .55; flex: none; }

.photo-slot {
  aspect-ratio: 16 / 9; border: 1px dashed var(--border-2); border-radius: 16px; background: var(--surface);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--faint); margin: 24px 0; text-align: center;
}
.photo-slot svg { width: 34px; height: 34px; opacity: .6; }
.photo-slot .cap { font-size: .8rem; font-family: var(--sans); letter-spacing: .02em; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
