/* Baoule.ci — site public. Direction : l'indigo et le coton du pagne baoulé, l'or des poids akan. */
:root {
  --night: #10153f; --indigo: #1f2a80; --indigo-soft: #e9ecf8; --gold: #e2a61f; --gold-deep: #8a5d00; --kola: #a3271c;
  --ink: #14162c; --muted: #575b76; --paper: #ffffff; --cotton: #f5f6fb; --line: #d6daec;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --text: "Literata", Georgia, "Times New Roman", serif;
  --wrap: 1240px;
  /* Motif ikat : rayures et tirets flous du pagne, en SVG répété */
  --ikat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='48'%3E%3Crect width='96' height='48' fill='%2310153f'/%3E%3Cg stroke='%23fff' stroke-linecap='round'%3E%3Cpath stroke-width='2' d='M10 2v12M10 22v5M10 34v12M16 8v9M16 26v14M22 2v6M22 18v12M22 38v8'/%3E%3Cpath stroke-width='1' opacity='.55' d='M13 0v48M19 0v48M7 0v48M25 0v48'/%3E%3C/g%3E%3Cpath stroke='%23e2a61f' stroke-width='5' d='M46 0v48'/%3E%3Cpath stroke='%231f2a80' stroke-width='14' d='M64 0v48'/%3E%3Cg stroke='%23fff' stroke-linecap='round' stroke-width='2'%3E%3Cpath d='M82 6v10M82 26v6M82 40v8M88 0v7M88 16v12M88 36v8'/%3E%3C/g%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--display); }
img, video, iframe, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--indigo); text-underline-offset: .2em; text-decoration-thickness: .08em; }
a:hover { color: var(--kola); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; margin: 0 0 .5em; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--night); padding: .7rem 1rem; z-index: 100; font-weight: 700; }
.skip:focus { left: 0; }
.hp { position: absolute !important; left: -9999px; }
.ikat { height: 14px; background: var(--ikat) 0 0 / 96px 48px; }

/* En-tête */
.site-header { background: var(--paper); position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.logo { display: flex; flex: none; }
.logo img { width: 172px; height: auto; display: block; mix-blend-mode: multiply; }
.nav { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; flex-wrap: wrap; gap: .1rem; }
.nav > ul > li { position: relative; }
.nav-link { display: block; padding: .55rem .8rem; font: 700 1rem/1.2 var(--display); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: 999px; }
.nav-link:hover, .has-sub.open > .nav-link { color: #fff; background: var(--indigo); }
.has-sub > .nav-link::after { content: ""; display: inline-block; width: .42em; height: .42em; margin-left: .45em; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-.2em) rotate(45deg); }
.sub { display: none; position: absolute; top: calc(100% + 6px); left: 0; width: 340px; background: var(--night); padding: .6rem !important; z-index: 60; border-radius: 14px; box-shadow: 0 24px 50px rgb(16 21 63 / .35); }
.sub::before { content: ""; position: absolute; inset: -8px 0 auto 0; height: 8px; }
.nav > ul > li:nth-last-child(-n+3) .sub { left: auto; right: 0; }
.has-sub.open > .sub { display: block; }
@media (hover: hover) and (min-width: 1081px) { .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block; } }
.sub a { display: block; padding: .55rem .8rem; color: #fff; text-decoration: none; font-size: .97rem; line-height: 1.3; border-radius: 8px; }
.sub a:hover { background: var(--gold); color: var(--night); }
.search { display: flex; border: 2px solid var(--ink); border-radius: 999px; background: #fff; overflow: hidden; }
.search input { border: 0; background: none; padding: .45rem .2rem .45rem 1rem; font: inherit; font-size: .97rem; width: 150px; min-width: 0; color: var(--ink); }
.search input:focus { outline: none; }
.search:focus-within { border-color: var(--indigo); box-shadow: 0 0 0 4px var(--indigo-soft); }
.search button { border: 0; background: none; padding: 0 .85rem; color: var(--ink); cursor: pointer; display: flex; align-items: center; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 2px solid var(--ink); background: #fff; border-radius: 50%; cursor: pointer; padding: 13px 11px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); }
@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 2px solid var(--ink); flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.5rem; max-height: calc(100vh - 80px); overflow: auto; }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; }
  .nav-link { width: 100%; text-align: left; padding: .8rem .9rem; font-size: 1.1rem; }
  .sub, .nav > ul > li:nth-last-child(-n+3) .sub { position: static; width: auto; box-shadow: none; margin: .3rem 0 .6rem; }
  .search input { width: 100%; flex: 1; }
}

/* Éléments communs */
.kicker { font: 700 1rem/1.3 var(--display); color: var(--gold); margin: 0 0 .5rem; }
.meta { color: var(--muted); font-size: .9rem; margin: 0; }
.more { font-weight: 700; white-space: nowrap; }
.btn { display: inline-block; background: var(--indigo); color: #fff; border: 0; border-radius: 999px; padding: .8rem 1.6rem; font: 700 1rem var(--display); cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--night); color: #fff; }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: #fff; color: var(--night); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1.1rem; }
.chips a { font: 700 .88rem/1 var(--display); text-decoration: none; color: var(--night); background: var(--gold); padding: .45rem .8rem; border-radius: 999px; }
.chips a:hover { background: #fff; color: var(--night); }
.notice { padding: .9rem 1.1rem; border-radius: 10px; margin: 1rem 0; font-weight: 600; }
.notice-ok { background: #e2f3e6; color: #17462a; }
.notice-err { background: #fbe4e1; color: #7c1c13; }
.empty { color: var(--muted); font-size: 1.15rem; }

/* Cartes d'articles */
.grid { display: grid; gap: 2.25rem 1.5rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; min-width: 0; position: relative; }
.card-tile .card-body p:not(.meta) { display: none; }
.card-media { display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--ikat) center / 96px 48px; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding-top: .9rem; }
.card h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; margin-bottom: .4rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card:hover h3 a { color: var(--indigo); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; }
.card p { margin: 0 0 .45rem; font: 400 1rem/1.5 var(--text); color: #33364f; }
.card-lead .card-media { aspect-ratio: 16 / 10; }
.card-lead h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.card-lead p { font-size: 1.08rem; }
.card-row { flex-direction: row; gap: 1rem; align-items: center; padding: 1rem 0; border-top: 2px solid var(--ink); }
.card-row:last-child { border-bottom: 2px solid var(--ink); }
.card-row .card-media { flex: none; width: 112px; aspect-ratio: 1; border-radius: 10px; }
.card-row .card-body { padding: 0; }
.card-row h3 { font-size: 1.08rem; }
.card-cover { height: 100%; min-height: 420px; border-radius: 20px; overflow: hidden; justify-content: flex-end; }
.card-cover .card-media { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.card-cover .card-body { position: relative; padding: 5rem 1.6rem 1.5rem; background: linear-gradient(to top, rgb(16 21 63 / .96) 35%, rgb(16 21 63 / 0)); }
.card-cover h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 800; line-height: 1.12; }
.card-cover h3 a, .card-cover:hover h3 a { color: #fff; }
.card-cover .meta { color: #c9cdea; }
.grid-feature > .card:first-child { grid-column: span 2; grid-row: span 2; }
.grid-feature > .card:first-child .card-media { aspect-ratio: 16 / 11; flex: 1; }
.grid-feature > .card:first-child h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; line-height: 1.1; }
@media (max-width: 1000px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4, .grid-3 { grid-template-columns: 1fr; } .grid-feature > .card:first-child { grid-column: auto; grid-row: auto; } }

/* Accueil : bandeau d'ouverture */
.hero { background: var(--night); color: #fff; padding: 3.5rem 0 4rem; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 22px; background: var(--ikat) 0 0 / 96px 48px; }
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: stretch; }
.hero h1 { font-size: clamp(4.5rem, 13vw, 11rem); line-height: .86; letter-spacing: -.055em; color: var(--gold); margin: 0 0 1.5rem -.05em; }
.hero-lede { font: 400 1.3rem/1.5 var(--text); max-width: 34ch; margin: 0 0 2.25rem; color: #e6e8f6; }
.dayname { border-top: 2px solid rgb(255 255 255 / .25); padding-top: 1.5rem; }
.dayname-q { margin: 0 0 .9rem; font-weight: 700; font-size: 1.05rem; max-width: 40ch; }
.dayname-days { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.25rem; }
.dayname-days button { font: 700 .95rem var(--display); color: #fff; background: none; border: 2px solid rgb(255 255 255 / .45); border-radius: 999px; padding: .4rem .85rem; cursor: pointer; }
.dayname-days button:hover { border-color: #fff; }
.dayname-days button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--night); }
.dayname-out { margin: 0 0 1.5rem; display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 0 .8rem; }
.dayname-out #dn-day { grid-column: 1 / -1; color: #c9cdea; margin-bottom: .2rem; }
.dayname-out strong { font: 800 clamp(2.2rem, 4.6vw, 3.6rem)/1.05 var(--display); letter-spacing: -.03em; color: #fff; }
.dayname-and { color: #c9cdea; }
@media (max-width: 900px) { .hero-in { grid-template-columns: 1fr; } .card-cover { min-height: 340px; } .hero { padding-top: 2.5rem; } }

/* Accueil : outils de langue */
.tools { background: var(--cotton); padding: 4rem 0; margin-top: 3.5rem; }
.tools h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: 2rem; }
.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tool { display: flex; flex-direction: column; padding: 1.5rem; min-height: 300px; border-radius: 20px; text-decoration: none; color: var(--ink); transition: transform .2s ease; }
.tool:hover { transform: translateY(-6px); color: inherit; }
.tool-sample { font: 800 clamp(1.5rem, 2.3vw, 2rem)/1.1 var(--display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.tool-gloss { font: italic 400 1rem/1.4 var(--text); margin: .4rem 0 auto; opacity: .85; }
.tool strong { font: 700 1.15rem/1.2 var(--display); margin-top: 1.5rem; padding-top: 1rem; border-top: 2px solid currentColor; }
.tool strong + span { font-size: .95rem; line-height: 1.4; margin-top: .3rem; opacity: .9; }
.tool-dict { background: var(--indigo); color: #fff; } .tool-dict:hover { color: #fff; }
.tool-count { background: var(--gold); color: var(--night); }
.tool-name { background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.tool-prov { background: var(--kola); color: #fff; } .tool-prov:hover { color: #fff; }
@media (max-width: 1000px) { .tools-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tools-grid { grid-template-columns: 1fr; } .tool { min-height: 230px; } }

/* Accueil : rubriques */
.section { padding: 3.5rem 0 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin: 0; }
.split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.popular-band { background: var(--gold); color: var(--night); padding: 4rem 0; margin-top: 4.5rem; }
.popular-band h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: 1.5rem; }
.popular { margin: 0; padding: 0; list-style: none; counter-reset: pop; }
.popular li { counter-increment: pop; display: grid; grid-template-columns: 4.5rem 1fr; align-items: baseline; padding: 1rem 0; border-top: 2px solid var(--night); }
.popular li::before { content: counter(pop); font: 800 2.6rem/1 var(--display); letter-spacing: -.04em; }
.popular a { color: var(--night); text-decoration: none; font: 700 clamp(1.1rem, 2vw, 1.45rem)/1.25 var(--display); letter-spacing: -.01em; }
.popular a:hover { text-decoration: underline; text-decoration-thickness: 3px; }

/* Bandeau des pages intérieures */
.page-band { background: var(--night); color: #fff; }
.page-head { padding: 3.5rem 0 3rem; }
.page-head h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); line-height: .95; letter-spacing: -.04em; margin-bottom: .4em; }
.page-head .proverb-title { font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.05; color: var(--gold); }
.page-band a.more { color: var(--gold); }
.lede { font: 400 1.25rem/1.5 var(--text); color: #e6e8f6; max-width: 60ch; margin: 0 0 1.2rem; }
.search-big { max-width: 600px; margin: 1.2rem 0; border-color: #fff; }
.search-big input { flex: 1; width: auto; padding: .8rem 1.2rem; font-size: 1.1rem; }
.search-big .btn { border-radius: 0; background: var(--gold); color: var(--night); }
.dict-hits { background: var(--cotton); border-radius: 20px; padding: 1.6rem 1.8rem; margin-bottom: 2.5rem; }
.dict-hits h2 { font-size: 1.4rem; }
.dict-hits ul { margin: 0 0 1rem; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .4rem 1.5rem; font-family: var(--text); }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 3.5rem 0 1rem; padding-top: 1.4rem; border-top: 2px solid var(--ink); font-weight: 700; }
.pagination span { color: var(--muted); font-weight: 500; margin-inline: auto; }
.pagination a { background: var(--indigo); color: #fff; text-decoration: none; padding: .6rem 1.2rem; border-radius: 999px; }
.pagination a:hover { background: var(--night); }

/* Article */
.article { --col: 760px; }
.article:has(.tool-embed), .article:has(.bt), .article:has(.article-body script) { --col: 1060px; }
.article-head { padding: 3.5rem 0 3rem; }
.article-head > * { max-width: 980px; }
.article-head h1 { font-size: clamp(2.2rem, 5.2vw, 4.2rem); line-height: 1; letter-spacing: -.035em; margin-bottom: .5em; }
.article-head.is-page h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); line-height: .95; }
.article-head .meta { color: #c9cdea; font-size: 1rem; }
.page-band.has-cover { padding-bottom: 9rem; }
.article-cover { margin: -9rem auto 0; max-width: 1060px; }
.article-cover img { width: 100%; max-height: 600px; object-fit: cover; border-radius: 20px; display: block; box-shadow: 0 30px 60px rgb(16 21 63 / .3); }
.article-body { max-width: var(--col); padding: 3rem 0 1rem; }
.article-foot { max-width: var(--col); padding: 1.5rem 0 2rem; border-top: 2px solid var(--ink); margin-top: 2rem; }
.prose { font: 400 1.19rem/1.75 var(--text); overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.15em; }
.prose > p:first-of-type { font-size: 1.32rem; line-height: 1.6; color: var(--night); }
.prose h1, .prose h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-top: 2.2em; color: var(--indigo); }
.prose h3 { font-size: 1.5rem; margin-top: 1.9em; }
.prose h4 { font-size: 1.2rem; margin-top: 1.6em; letter-spacing: -.01em; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--gold-deep); font-family: var(--display); font-weight: 700; }
.prose a { text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.prose strong { font-weight: 600; }
.prose blockquote { margin-inline: 0; padding: 1.4rem 1.6rem; background: var(--indigo-soft); border-radius: 0 20px 20px 0; border-left: 8px solid var(--gold); font: italic 400 1.3rem/1.5 var(--text); color: var(--night); }
.prose blockquote > :first-child { margin-top: 0; }
.prose hr { border: 0; height: 14px; width: 144px; margin: 3em 0; background: var(--ikat) 0 0 / 96px 48px; border-radius: 4px; }
.prose img { border-radius: 14px; }
.prose figure { margin-inline: 0; }
.prose figcaption { font: 500 .9rem/1.4 var(--display); color: var(--muted); margin-top: .5rem; }
/* Anciens conteneurs de tableaux des articles migrés : rendus neutres, seul .table-wrap habille */
.prose div:has(> .table-wrap), .prose figure:has(> .table-wrap) { all: unset !important; display: block !important; }
.prose p:has(> .table-wrap) { margin: 0; }
.table-wrap { --w: min(1140px, 100vw - 2.5rem); width: var(--w); margin: 2.4em 0 2.4em calc((100% - var(--w)) / 2); overflow-x: auto; border-radius: 18px; border: 2px solid var(--night); background: #fff; box-shadow: 8px 8px 0 var(--gold); }
.table-wrap:focus-visible { outline-offset: 6px; }
.prose table { width: 100% !important; min-width: min(620px, 100%); max-width: none; height: auto !important; table-layout: auto; border-collapse: collapse; margin: 0; font: 400 1.02rem/1.5 var(--display); }
.prose th, .prose td { padding: 1rem 1.25rem; text-align: left; min-width: 7.5rem; color: var(--ink); background: #fff; vertical-align: top; border: 0; border-bottom: 1px solid var(--line); width: auto !important; }
.prose td + td, .prose th + th { border-left: 1px solid var(--line); }
.prose thead tr > *, .prose table:not(:has(thead)) tr:first-child > * { background: var(--night); color: #fff; font: 700 1.02rem/1.3 var(--display); border-color: rgb(255 255 255 / .18); vertical-align: bottom; }
.prose thead strong, .prose table:not(:has(thead)) tr:first-child strong { font-weight: 700; color: inherit; }
.prose tbody tr:nth-child(even) > td { background: var(--cotton); }
.prose tbody tr:hover > td { background: var(--indigo-soft); }
.prose tbody td:first-child, .prose tbody th { font-weight: 700; color: var(--indigo); }
.prose tr:last-child > td { border-bottom: 0; }
.prose td p, .prose th p { margin: 0; font: inherit; }
.prose td p + p { margin-top: .5em; }
.prose table caption { caption-side: top; text-align: left; padding: 1rem 1.25rem; margin: 0; border: 0; font: 700 1.1rem/1.3 var(--display); color: var(--night); background: var(--gold); }
@media (max-width: 700px) { .table-wrap { box-shadow: 5px 5px 0 var(--gold); border-radius: 14px; } .prose th, .prose td { padding: .75rem .9rem; } .prose table { font-size: .95rem; } }
.prose .alignleft { float: left; margin: .3em 1.5em 1em 0; } .prose .alignright { float: right; margin: .3em 0 1em 1.5em; }
.prose .aligncenter { display: block; margin-inline: auto; }
.prose .wp-caption { max-width: 100%; }

/* Applications intégrées (anciens plugins) : mini-réinitialisation à la place du « preflight » Tailwind */
.tool-embed { font: 400 1rem/1.5 var(--display); margin-top: 0; }
.tool-embed *, .tool-embed ::before, .tool-embed ::after { border: 0 solid #e5e7eb; }
.tool-embed button, .tool-embed input, .tool-embed select, .tool-embed textarea { font: inherit; color: inherit; margin: 0; }
.tool-embed button { background: transparent; cursor: pointer; padding: 0; }
.tool-embed h1, .tool-embed h2, .tool-embed h3, .tool-embed h4, .tool-embed p { margin: 0; font-size: inherit; font-family: inherit; letter-spacing: normal; line-height: inherit; color: inherit; }
.tool-embed h2, .tool-embed h3 { font-weight: inherit; }
.tool-embed img, .tool-embed svg { display: block; }
.tool-embed ul, .tool-embed ol { list-style: none; margin: 0; padding: 0; }

/* Partage, proverbes, formulaires, commentaires */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0; font: 700 1rem var(--display); }
.share a { color: #fff; text-decoration: none; font-size: .9rem; padding: .45rem 1rem; border-radius: 999px; }
.share-wa { background: #17703b; } .share-fb { background: #2748a0; } .share-x { background: #000; }
.share a:hover { filter: brightness(1.2); color: #fff; }
.proverbs { display: grid; gap: 1.25rem; }
.proverb { background: var(--night); color: #fff; border-radius: 20px; padding: 1.8rem 2rem; font-family: var(--display); position: relative; overflow: hidden; }
.proverb::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 14px; background: var(--ikat) 0 0 / 96px 48px; }
.proverb h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.12; margin: 0 0 .8rem; }
.proverb h3 a { color: var(--gold); text-decoration: none; }
.proverb p { margin: .5rem 0; font: 400 1.08rem/1.55 var(--text); }
.proverb .meta { color: #c9cdea; font-family: var(--display); }
.proverb-meaning { font-style: italic; }
.proverb .share { margin-top: 1.2rem; }
.proverb-single { --col: 760px; max-width: 760px; }
.proverb-single .proverb h3 { display: none; }
.form-card { background: var(--cotton); border-radius: 20px; padding: 2rem; margin-top: 2.5rem; font-family: var(--display); }
.form-card h2, .form-card h3 { font-size: 1.7rem; margin-top: 0; color: var(--ink); }
.form-card label { display: block; font: 700 .97rem/1.4 var(--display); margin-bottom: 1.1rem; }
.form-card input[type=text], .form-card input[type=email], .form-card textarea { display: block; width: 100%; margin-top: .35rem; padding: .75rem .9rem; border: 2px solid var(--ink); border-radius: 10px; font: 400 1.05rem/1.5 var(--display); background: #fff; color: var(--ink); }
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px var(--indigo-soft); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.comments { max-width: 760px; padding: 2rem 0; }
.comments > h2 { font-size: 2rem; }
.comment { padding: 1.2rem 0; border-top: 2px solid var(--ink); }
.comment-reply { margin-left: 2rem; padding-left: 1.2rem; border-top: 0; border-left: 6px solid var(--gold); }
.comment-head { margin: 0 0 .35rem; color: var(--muted); font-size: .92rem; }
.comment-head strong { color: var(--ink); font-size: 1.05rem; margin-right: .4rem; }
.comment-text { font: 400 1.06rem/1.6 var(--text); }
.badge { background: var(--indigo); color: #fff; font-size: .72rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; margin-right: .4rem; }

/* Pied de page */
.site-footer { background: var(--night); color: #c9cdea; margin-top: 5rem; font-size: 1rem; }
.popular-band + .site-footer, main:has(> .popular-band:last-child) + .site-footer { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding: 3.5rem 0 2.5rem; }
.footer-brand { font: 800 clamp(2.4rem, 5vw, 3.6rem)/1 var(--display); letter-spacing: -.04em; color: #fff; margin: 0 0 1rem; }
.footer-brand span { color: var(--gold); }
.footer-grid > div:first-child p:last-child { font: 400 1.02rem/1.55 var(--text); max-width: 38ch; }
.site-footer h2 { font: 700 1.05rem/1.2 var(--display); letter-spacing: 0; color: var(--gold); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .2); padding: 1.2rem 0 1.6rem; font-size: .9rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.card p.meta, .card-cover .meta { font: 500 .9rem/1.4 var(--display); }
@media (max-width: 1340px) { .hero::before { display: none; } }

/* ===== Outils de langue (dictionnaire, nombres, prénoms, proverbes) ===== */
.bt { font: 400 1.0625rem/1.55 var(--display); margin-top: 0; }
.bt > * + * { margin-top: 3rem; }
.bt h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--ink); margin: 0 0 .8rem; }
.bt p { margin: 0 0 1rem; }
.bt [hidden] { display: none !important; }
.bt label, .bt legend { font-weight: 700; font-size: 1.05rem; display: block; margin-bottom: .5rem; padding: 0; }
.bt fieldset { border: 0; padding: 0; margin: 0 0 1.4rem; }
.bt input[type=search], .bt input[type=number], .bt input[type=date] { font: 500 1.25rem/1.3 var(--display); color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: .8rem 1.1rem; width: 100%; min-width: 0; }
.bt input:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px var(--indigo-soft); }
.bt-search-row { display: flex; gap: .6rem; }
.bt-search-row .btn { flex: none; border-radius: 14px; }
.bt-keys { margin: .8rem 0 0 !important; font-size: .95rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.bt-keys button { font: 700 1.2rem/1 var(--display); width: 2.4rem; height: 2.4rem; border: 2px solid var(--ink); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; }
.bt-keys button:hover { background: var(--gold); }
.bt-keys span { margin-left: .4rem; }
.bt-count { color: var(--muted); font-weight: 600; }
.bt-results:empty { display: none; }
.bt-results { margin-top: 1.5rem; }
.bt-words { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.bt-words li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1rem; align-items: baseline; padding: .8rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.bt-words strong { font: 800 1.35rem/1.2 var(--display); letter-spacing: -.01em; color: var(--indigo); overflow-wrap: anywhere; }
.bt-words span { font: 400 1.1rem/1.4 var(--text); }
.bt-words-cols { columns: 2 320px; column-gap: 3rem; border-top: 0; }
.bt-words-cols li { break-inside: avoid; }
.bt-words-cols strong { font-size: 1.12rem; font-weight: 700; }
.bt-day { background: var(--gold); color: var(--night); border-radius: 20px; padding: 1.6rem 2rem 1.8rem; display: grid; }
.bt-day p { margin: 0 0 .3rem; font-weight: 700; }
.bt-day strong { font: 800 clamp(2.4rem, 7vw, 4.5rem)/1 var(--display); letter-spacing: -.03em; overflow-wrap: anywhere; }
.bt-day span { font: italic 400 1.3rem/1.4 var(--text); margin-top: .4rem; }
.bt-tabs { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1rem !important; }
.bt-tabs a, .bt-tabs button { font: 700 .98rem/1.2 var(--display); color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: .5rem 1rem; text-decoration: none; cursor: pointer; }
.bt-tabs small { font-weight: 500; opacity: .7; margin-left: .2rem; }
.bt-tabs a:hover, .bt-tabs button:hover { background: var(--indigo-soft); color: var(--ink); }
.bt-tabs [aria-current="true"], .bt-tabs [aria-pressed="true"] { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.bt-letters { display: flex; flex-wrap: wrap; gap: .3rem; }
.bt-letters a { font: 800 1.05rem/1 var(--display); width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 10px; background: var(--cotton); color: var(--ink); text-decoration: none; }
.bt-letters a:hover { background: var(--gold); }
.bt-letters [aria-current="true"] { background: var(--night); color: var(--gold); }

.bt-converter { background: var(--night); color: #fff; border-radius: 24px; padding: 2rem; position: relative; overflow: hidden; }
.bt-converter::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 18px; background: var(--ikat) 0 0 / 96px 48px; }
.bt-converter label { color: #fff; }
.bt-stepper { display: flex; gap: .5rem; max-width: 420px; }
.bt-stepper button { font: 800 1.6rem/1 var(--display); width: 3.4rem; flex: none; border: 2px solid #fff; background: none; color: #fff; border-radius: 14px; cursor: pointer; }
.bt-stepper button:hover { background: #fff; color: var(--night); }
.bt-stepper input { text-align: center; border-color: #fff !important; font-weight: 800 !important; font-size: 1.6rem !important; }
.bt-number { font: 800 clamp(2.4rem, 8vw, 5.5rem)/1.02 var(--display); letter-spacing: -.035em; color: var(--gold); margin: 1.5rem 0 1rem !important; overflow-wrap: anywhere; padding-right: 1rem; }
.bt-rule { font: italic 400 1.1rem/1.5 var(--text); margin: 0 !important; max-width: 60ch; }
.bt-converter .bt-rule { color: #c9cdea; }
.bt-numbers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.bt-numbers li { margin: 0; }
.bt-numbers button { width: 100%; text-align: left; display: grid; gap: .1rem; padding: .8rem 1rem; background: var(--cotton); border: 2px solid transparent; border-radius: 14px; cursor: pointer; font-family: var(--display); color: var(--ink); }
.bt-numbers button:hover { border-color: var(--ink); background: #fff; }
.bt-numbers span { font-weight: 800; font-size: 1.5rem; color: var(--indigo); letter-spacing: -.02em; }
.bt-numbers strong { font-weight: 600; font-size: 1.02rem; }
.bt-quiz { background: var(--cotton); border-radius: 24px; padding: 2rem; }
.bt-quiz-progress { display: flex; justify-content: space-between; font-weight: 700; color: var(--muted); }
.bt-quiz-q { font: 500 clamp(1.4rem, 3.4vw, 2.2rem)/1.2 var(--display); margin: 1rem 0 1.5rem !important; }
.bt-quiz-q strong { font-weight: 800; color: var(--indigo); }
.bt-quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-bottom: 1.2rem; }
.bt-quiz-options button { font: 700 1.2rem/1.25 var(--display); padding: 1.1rem; background: #fff; border: 2px solid var(--ink); border-radius: 14px; cursor: pointer; color: var(--ink); }
.bt-quiz-options button:hover:not(:disabled) { background: var(--indigo-soft); }
.bt-quiz-options button:disabled { cursor: default; opacity: .55; }
.bt-quiz-options .is-right { background: #17703b !important; border-color: #17703b; color: #fff; opacity: 1 !important; }
.bt-quiz-options .is-wrong { background: var(--kola) !important; border-color: var(--kola); color: #fff; opacity: 1 !important; }
.bt-quiz-feedback { font-weight: 700; min-height: 1.6em; }
.bt-quiz .bt-number { color: var(--indigo); }
.bt-best { color: var(--muted); margin-top: 1rem !important; }
@media (max-width: 520px) { .bt-quiz-options { grid-template-columns: 1fr; } }

.bt-filters { background: var(--cotton); border-radius: 24px; padding: 1.8rem; }
.bt-inline input { margin-top: .5rem; max-width: 420px; }
.bt-filters .bt-count { margin: 1rem 0 0; }
.bt-names-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .8rem; }
.bt-names-list li { margin: 0; padding: 1.2rem 1.3rem; border: 2px solid var(--ink); border-radius: 18px; display: flex; flex-direction: column; }
.bt-names-list strong { font: 800 1.7rem/1.1 var(--display); letter-spacing: -.02em; color: var(--indigo); }
.bt-names-who { font-size: .92rem; color: var(--muted); font-weight: 600; margin: .2rem 0 .6rem; }
.bt-names-list p { font: 400 1.02rem/1.45 var(--text); margin: 0 0 .4rem; }
.bt-names-list .bt-caress { font: 500 .95rem/1.4 var(--display); margin-top: auto; padding-top: .6rem; }
.bt-caress em { font-style: normal; font-weight: 800; color: var(--gold-deep); }
.bt-empty { font-weight: 700; }

.bt-prenom-form { background: var(--cotton); border-radius: 24px; padding: 1.8rem; display: grid; gap: .4rem; max-width: 640px; }
.bt-prenom-form input[type=date] { margin-top: .5rem; }
.bt-prenom-form fieldset { margin: 1rem 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.bt-prenom-form legend { margin-bottom: .6rem; }
.bt-radio { margin: 0 !important; cursor: pointer; }
.bt-radio input { position: absolute; opacity: 0; }
.bt-radio span { display: inline-block; font-weight: 700; border: 2px solid var(--ink); border-radius: 999px; padding: .55rem 1.2rem; background: #fff; }
.bt-radio input:checked + span { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.bt-radio input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 3px; }
.bt-prenom-form .btn { justify-self: start; }
.bt-prenom-result { background: var(--night); color: #fff; border-radius: 24px; padding: 2rem; }
.bt-prenom-result .bt-rule { color: #c9cdea; margin-bottom: 1.5rem !important; }
.bt-prenom-result strong { color: var(--gold); }
.bt-card { margin: 1.5rem 0; }
.bt-card canvas { display: block; width: min(100%, 380px); height: auto; border-radius: 18px; box-shadow: 0 0 0 2px rgb(255 255 255 / .25); margin-bottom: 1rem; }
.bt-card .btn { background: var(--gold); color: var(--night); }
.bt-card .btn:hover { background: #fff; }
.share-copy { font: 700 .9rem var(--display); color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: .35rem .9rem; cursor: pointer; }
.bt-prenom-result .share-copy, .proverb .share-copy { border-color: #fff; }
.bt-days { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.bt-days th { text-align: left; font-weight: 700; color: var(--muted); padding: .5rem .8rem .5rem 0; border-bottom: 2px solid var(--ink); }
.bt-days td { padding: .7rem .8rem .7rem 0; border-bottom: 1px solid var(--line); }
.bt-days strong { color: var(--indigo); font-weight: 800; }
.bt-proverbs > * + * { margin-top: 1.5rem; }

/* ===== Infographies (pages composées, classe .info) ===== */
.article:has(.info) { --col: 1140px; }
.info { font: 400 1.0625rem/1.55 var(--display); }
.info > * + * { margin-top: 0; }
.info p { margin: 0 0 1rem; }
.info em[lang] { font-style: normal; font-weight: 800; }
.info-lede { font: 400 1.4rem/1.45 var(--text) !important; color: var(--night); max-width: 44ch; }
.info-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; }
.info-nav a { font-weight: 700; text-decoration: none; color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: .5rem 1.1rem; }
.info-nav a:hover { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.info-section { margin-top: 4.5rem; scroll-margin-top: 100px; }
.info-section > h2 { font-size: clamp(2.2rem, 5.5vw, 4.2rem); line-height: .98; letter-spacing: -.035em; color: var(--ink); margin: 0 0 .4em; }
.info-intro { font: 400 1.22rem/1.55 var(--text) !important; max-width: 62ch; margin-bottom: 2rem !important; }
.info h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 .6rem; color: inherit; }
.info h4 { font-size: 1.15rem; margin: 0 0 .4rem; letter-spacing: -.01em; }
.info-row { display: grid; grid-template-columns: 1fr 2fr; gap: 1rem; }
.info-stat { background: var(--night); color: #fff; border-radius: 24px; padding: 2rem; display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; position: relative; overflow: hidden; }
.info-stat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 18px; background: var(--ikat) 0 0 / 96px 48px; }
.info-stat strong { font: 800 clamp(2.8rem, 6vw, 4.6rem)/.95 var(--display); letter-spacing: -.045em; color: var(--gold); margin-bottom: .8rem; }
.info-stat span { font: 400 1.08rem/1.5 var(--text); color: #e6e8f6; }
.info-chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 2px solid var(--ink); border-radius: 24px; overflow: hidden; counter-reset: none; }
.info-chain li { margin: 0; padding: 2rem 1.6rem; display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.info-chain li + li { border-left: 2px solid var(--ink); }
.info-chain li + li::before { content: ""; position: absolute; left: -13px; top: 2.4rem; width: 22px; height: 22px; background: var(--gold); border: 2px solid var(--ink); border-radius: 50%; }
.info-chain li:nth-child(2) { background: var(--cotton); }
.info-chain li:nth-child(3) { background: var(--indigo-soft); }
.info-chain strong { font: 800 clamp(1.6rem, 3vw, 2.4rem)/1 var(--display); letter-spacing: -.03em; color: var(--indigo); margin-bottom: auto; padding-bottom: 2.5rem; }
.info-chain em { align-self: flex-start; font-size: 1.05rem; background: var(--gold); color: var(--night); border-radius: 999px; padding: .2rem .8rem; margin-bottom: .5rem; }
.info-chain span { font: 400 1.02rem/1.45 var(--text); }
.info-block { background: var(--cotton); border-radius: 24px; padding: 2rem; margin-top: 1rem; }
.info-block > p { font: 400 1.08rem/1.6 var(--text); max-width: 70ch; }
.info-block > p:last-child { margin-bottom: 0; }
.info-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.info-duo > div { border-radius: 18px; padding: 1.5rem; display: grid; gap: .2rem; }
.info-duo span { font-weight: 600; }
.info-duo strong { font: 800 clamp(1.4rem, 2.8vw, 2rem)/1.05 var(--display); letter-spacing: -.02em; }
.info-duo p { font: 400 1rem/1.45 var(--text); margin: .5rem 0 0; }
.info-duo-a { background: var(--indigo); color: #fff; }
.info-duo-b { background: var(--gold); color: var(--night); }
.info-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: stretch; }
.info-cols > .info-block { margin-top: 0; }
.info-card { border-radius: 24px; padding: 2rem; display: flex; flex-direction: column; }
.info-card-gold { background: var(--gold); color: var(--night); }
.info-card-indigo { background: var(--night); color: #fff; }
.info-roles { margin: .8rem 0 1.5rem; }
.info-roles dt { font-weight: 800; font-size: 1.15rem; padding-top: 1rem; border-top: 2px solid currentColor; }
.info-roles dd { margin: .2rem 0 1rem; font: 400 1.05rem/1.5 var(--text); }
.info-paradox { background: #fff; color: var(--ink); border-radius: 18px; padding: 1.4rem; margin-top: auto; }
.info-paradox p { font: 400 1rem/1.5 var(--text); }
.info-versus { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 !important; font: 700 .98rem/1.25 var(--display) !important; text-align: center; border-radius: 12px; overflow: hidden; }
.info-versus span { padding: .8rem .6rem; }
.info-versus span:first-child { background: var(--indigo); color: #fff; }
.info-versus span:last-child { background: var(--kola); color: #fff; }
.info blockquote.info-quote { margin: auto 0 0; padding: 1.4rem 1.5rem; border: 0; border-left: 8px solid var(--gold); border-radius: 0 18px 18px 0; background: rgb(255 255 255 / .08); font: italic 400 1.2rem/1.5 var(--text); color: #fff; }
.info-yam { background: var(--kola); color: #fff; border-radius: 24px; padding: 2rem; display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px; }
.info-yam strong { font: 800 clamp(3rem, 8vw, 6rem)/.9 var(--display); letter-spacing: -.05em; margin-bottom: 1rem; }
.info-yam span { font: 400 1.15rem/1.5 var(--text); max-width: 34ch; }
.info-bar { display: flex; height: 64px; border-radius: 14px; overflow: hidden; font-weight: 800; font-size: 1.4rem; margin-top: 1.2rem; }
.info-bar span { display: flex; align-items: center; padding: 0 1rem; }
.info-bar span:first-child { background: var(--indigo); color: #fff; }
.info-bar span:last-child { background: var(--gold); color: var(--night); justify-content: flex-end; }
.info-bar-legend { display: flex; justify-content: space-between; font: 600 .95rem/1.3 var(--display) !important; margin: .5rem 0 0 !important; }
.info-label { font: 700 1rem/1.3 var(--display) !important; margin: 1.5rem 0 .6rem !important; }
.info-chips { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.info-chips li { margin: 0; font-weight: 700; background: #fff; border: 2px solid var(--kola); color: var(--kola); border-radius: 999px; padding: .45rem 1rem; }
.info-rites-title { margin: 3rem 0 1.2rem !important; font-size: clamp(1.6rem, 3.4vw, 2.4rem) !important; }
.info-rites { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: rite; border-top: 6px solid var(--ink); }
.info-rites li { counter-increment: rite; margin: 0; padding: 1.6rem 1.6rem 0 0; position: relative; }
.info-rites li::before { content: ""; position: absolute; top: -17px; left: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); border: 4px solid var(--ink); }
.info-rites strong { display: block; font: 800 clamp(1.5rem, 3vw, 2.1rem)/1.05 var(--display); letter-spacing: -.025em; color: var(--indigo); margin-bottom: .6rem; }
.info-rites strong::before { content: counter(rite) ". "; color: var(--gold-deep); }
.info-rites p { font: 400 1.05rem/1.6 var(--text); }
.info-credit { margin-top: 3.5rem !important; padding-top: 1.2rem; border-top: 2px solid var(--ink); font-size: .98rem; color: var(--muted); }
@media (max-width: 860px) {
  .info-row, .info-cols, .info-duo { grid-template-columns: 1fr; }
  .info-chain, .info-rites { grid-template-columns: 1fr; }
  .info-chain li + li { border-left: 0; border-top: 2px solid var(--ink); }
  .info-chain li + li::before { left: 1.6rem; top: -13px; }
  .info-chain strong { padding-bottom: 1rem; }
  .info-stat, .info-yam { min-height: 0; padding-top: 3rem; }
  .info-rites { border-top: 0; border-left: 6px solid var(--ink); }
  .info-rites li { padding: 0 0 1.5rem 1.6rem; }
  .info-rites li::before { top: 0; left: -17px; }
}

/* ===== Outils de référence : fil d'Ariane, sommaire, série, citation ===== */
.crumbs { font: 600 .95rem/1.3 var(--display); margin-bottom: 1.2rem; display: flex; flex-wrap: wrap; gap: .5rem; color: #c9cdea; }
.crumbs a { color: #c9cdea; text-decoration: none; } .crumbs a:hover { color: var(--gold); text-decoration: underline; }
.toc { max-width: var(--col); margin-top: 2.5rem; }
.toc details { background: var(--cotton); border-radius: 20px; padding: 1.2rem 1.6rem; }
.toc summary { font: 800 1.25rem/1.3 var(--display); cursor: pointer; }
.toc summary span { font-weight: 500; font-size: .95rem; color: var(--muted); margin-left: .5rem; }
.toc ol { list-style: none; margin: 1rem 0 .3rem; padding: 0; columns: 2 280px; column-gap: 2.5rem; }
.toc li { break-inside: avoid; margin: 0 0 .45rem; font: 600 1rem/1.35 var(--display); }
.toc li.toc-3 { padding-left: 1.1rem; font-weight: 400; font-size: .95rem; }
.toc a { color: var(--ink); text-decoration: none; } .toc a:hover { color: var(--indigo); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.toc + .article-body { padding-top: 2rem; }
.prose h2, .prose h3 { scroll-margin-top: 100px; }
.serie { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.serie a { display: block; padding: 1.1rem 1.3rem; border: 2px solid var(--ink); border-radius: 18px; text-decoration: none; color: var(--ink); font: 700 1.05rem/1.3 var(--display); }
.serie a:hover { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.serie span { display: block; font-weight: 500; font-size: .9rem; opacity: .75; margin-bottom: .3rem; }
.serie-next { text-align: right; }
.cite { background: var(--cotton); border-radius: 18px; padding: 1rem 1.4rem; margin-bottom: 1.2rem; font-family: var(--display); }
.cite summary { font-weight: 800; font-size: 1.1rem; cursor: pointer; }
.cite div { padding: .9rem 0; border-top: 1px solid var(--line); margin-top: .9rem; }
.cite p { font: 400 1rem/1.5 var(--text); margin: .2rem 0 .6rem; overflow-wrap: anywhere; user-select: all; }
.article-tools { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; }
.article-tools .share-copy { text-decoration: none; }
@media (max-width: 600px) { .serie { grid-template-columns: 1fr; } .serie-next { text-align: left; } }

/* ===== Lettre d'information ===== */
.footer-letter { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; padding: 3rem 0; border-bottom: 1px solid rgb(255 255 255 / .2); }
.footer-letter h2 { font: 800 clamp(1.6rem, 3vw, 2.2rem)/1.05 var(--display) !important; letter-spacing: -.03em !important; color: #fff !important; margin-bottom: .5rem; }
.footer-letter p { margin: 0; font: 400 1.02rem/1.5 var(--text); max-width: 44ch; }
.footer-letter label { display: block; font-weight: 700; color: #fff; margin-bottom: .5rem; }
.footer-letter form > div { display: flex; gap: .5rem; }
.footer-letter input[type=email] { flex: 1; min-width: 0; font: 500 1.05rem var(--display); padding: .8rem 1.1rem; border-radius: 999px; border: 2px solid #fff; background: transparent; color: #fff; }
.footer-letter input::placeholder { color: #9aa0c8; }
.footer-letter input:focus { outline: none; border-color: var(--gold); }
@media (max-width: 760px) { .footer-letter { grid-template-columns: 1fr; } .footer-letter form > div { flex-wrap: wrap; } }

/* ===== Carte et chronologie ===== */
.bt-map-canvas { height: min(70vh, 560px); border: 2px solid var(--night); border-radius: 24px; overflow: hidden; background: var(--cotton); display: grid; place-items: center; padding: 2rem; text-align: center; color: var(--muted); z-index: 0; position: relative; }
.bt-map-canvas.is-ready { display: block; padding: 0; text-align: left; }
.map-label { font: 700 .9rem var(--display); color: var(--night); background: #fff; border: 2px solid var(--night); border-radius: 999px; padding: .1rem .6rem; box-shadow: none; }
.map-label::before { display: none; }
.leaflet-popup-content { font: 400 1rem/1.4 var(--display); }
.bt-places { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .8rem; }
.bt-places li { margin: 0; border: 2px solid var(--ink); border-radius: 18px; padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .3rem; align-items: flex-start; }
.bt-places strong { font: 800 1.5rem/1.1 var(--display); letter-spacing: -.02em; color: var(--indigo); }
.bt-places span { font: 400 1rem/1.45 var(--text); }
.bt-places a { font-weight: 700; }
.bt-places button { font: 700 .9rem var(--display); background: none; border: 0; padding: 0; color: var(--gold-deep); cursor: pointer; text-decoration: underline; margin-top: auto; }
.bt-groups { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); columns: 2 340px; column-gap: 2.5rem; }
.bt-groups li { margin: 0; padding: .8rem 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.bt-groups a { font-weight: 700; color: var(--ink); text-decoration: none; } .bt-groups a:hover { color: var(--indigo); text-decoration: underline; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 6px solid var(--night); }
.timeline li { margin: 0; padding: 0 0 2.8rem 2rem; position: relative; display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 1rem 2rem; align-items: start; }
.timeline li::before { content: ""; position: absolute; left: -17px; top: .5rem; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); border: 4px solid var(--night); }
.timeline time { font: 800 clamp(1.6rem, 3.6vw, 2.6rem)/1 var(--display); letter-spacing: -.035em; color: var(--indigo); }
.timeline h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem) !important; margin: .2rem 0 .5rem !important; }
.timeline p { font: 400 1.08rem/1.6 var(--text); margin: 0 0 .5rem; max-width: 62ch; }
@media (max-width: 700px) { .timeline li { grid-template-columns: 1fr; gap: .3rem; } }
.article:has(.bt-timeline) { --col: 980px; }

/* ===== Impression et export PDF ===== */
@media print {
  .site-header, .ikat, .site-footer, .nav, .comments, .share, .serie, .article-tools, .toc, .section, .skip, .crumbs, .chips { display: none !important; }
  body { font-size: 11pt; } .page-band { background: none !important; color: #000 !important; padding: 0 !important; }
  .article-head { padding: 0 0 1rem !important; } .article-head h1 { font-size: 24pt !important; } .article-head .meta { color: #333 !important; }
  .article-cover { margin: 0 0 1rem !important; } .article-cover img { box-shadow: none; max-height: 9cm; }
  .article-body { padding-top: 0 !important; max-width: none !important; } .prose { font-size: 11pt; }
  .table-wrap { width: auto !important; margin: 1rem 0 !important; box-shadow: none !important; overflow: visible !important; } .prose table { min-width: 0 !important; font-size: 9pt; }
  .cite { background: none; border: 1px solid #999; } .cite[open] summary, .cite button { display: none; } .cite:not([open]) { display: none; }
  a { color: #000 !important; }
}

/* ===== Animations tirées du monde baoulé (désactivées si l'appareil demande moins de mouvement) ===== */
/* Le métier à tisser : le liseré de pagne défile lentement et une navette dorée le traverse à l'arrivée sur la page */
.ikat { position: relative; overflow: hidden; }
.motion .ikat { animation: loom 60s linear infinite; }
.motion .site-header + .ikat::after { content: ""; position: absolute; top: 2px; left: 0; width: 64px; height: 10px; background: var(--gold); border-radius: 50% / 100%; box-shadow: 0 0 0 2px var(--night); animation: shuttle 2.4s cubic-bezier(.5, 0, .3, 1) .2s both; }
@keyframes loom { to { background-position: -960px 0; } }
@keyframes shuttle { from { transform: translateX(-80px); } to { transform: translateX(100vw); } }

/* « Akwaba » se tisse : une lettre passe par-dessus, la suivante par-dessous, comme la trame et la chaîne */
.weave { overflow: hidden; padding: .06em .05em .12em 0; }
.weave span { display: inline-block; }
.motion .weave span { animation: weave-up .9s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * 90ms + .15s) both; }
.motion .weave span:nth-child(even) { animation-name: weave-down; }
@keyframes weave-up { from { transform: translateY(110%); } }
@keyframes weave-down { from { transform: translateY(-110%); } }

/* La Comoé : le fleuve que la reine Pokou fit traverser à son peuple, au pied du bandeau d'accueil */
.hero { padding-bottom: 7.5rem; }
.comoe { position: absolute; inset: auto 0 0 0; height: 84px; display: block; overflow: hidden; text-decoration: none; }
.comoe-w { position: absolute; inset: 0; background-repeat: repeat-x; background-position: 0 100%; }
.comoe-w1 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='60'%3E%3Cpath d='M0 30 Q60 6 120 30 T240 30 V60 H0Z' fill='%231f2a80'/%3E%3C/svg%3E"); background-size: 240px 60px; opacity: .9; }
.comoe-w2 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='44'%3E%3Cpath d='M0 22 Q45 4 90 22 T180 22 V44 H0Z' fill='%23e2a61f'/%3E%3C/svg%3E"); background-size: 180px 44px; }
.comoe-w3 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='26'%3E%3Cpath d='M0 13 Q35 1 70 13 T140 13 V26 H0Z' fill='%23ffffff'/%3E%3C/svg%3E"); background-size: 140px 26px; }
.motion .comoe-w1 { animation: flow1 14s linear infinite; }
.motion .comoe-w2 { animation: flow2 9s linear infinite; }
.motion .comoe-w3 { animation: flow3 6s linear infinite; }
@keyframes flow1 { to { background-position: -240px 100%; } }
@keyframes flow2 { to { background-position: 180px 100%; } }
@keyframes flow3 { to { background-position: -140px 100%; } }
.comoe-text { position: absolute; right: 1.25rem; bottom: 50px; font: 600 .92rem/1.2 var(--display); color: #c9cdea; background: var(--night); padding: .2rem .7rem; border-radius: 999px; opacity: 0; transition: opacity .25s; }
.comoe:hover .comoe-text, .comoe:focus-visible .comoe-text { opacity: 1; }
@media (max-width: 900px) { .comoe { height: 60px; } .hero { padding-bottom: 5.5rem; } }

/* Le tam-tam : deux battements quand on change de jour de naissance */
.dayname-out strong { display: inline-block; transform-origin: left center; }
.motion .dayname-out strong.beat { animation: tamtam .55s ease-out; }
@keyframes tamtam { 0% { transform: scale(1); } 18% { transform: scale(1.09); } 36% { transform: scale(1); } 58% { transform: scale(1.06); } 100% { transform: scale(1); } }
.motion .dayname-days button[aria-pressed="true"] { animation: tamtam .55s ease-out; transform-origin: center; }

/* Le fil : un point de couture doré se coud sous les titres de section à leur entrée dans l'écran */
.stitch { position: relative; padding-bottom: .28em; }
.stitch::after { content: ""; position: absolute; left: 0; bottom: 0; height: 5px; width: 100%; max-width: 9em; background: repeating-linear-gradient(90deg, var(--gold) 0 18px, transparent 18px 26px); border-radius: 3px; }
.popular-band .stitch::after { background: repeating-linear-gradient(90deg, var(--night) 0 18px, transparent 18px 26px); }
.anim .stitch::after { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s cubic-bezier(.3, .7, .2, 1) .15s; }
.anim .stitch.in-view::after { clip-path: inset(0 0 0 0); }

/* La veillée de contes : Kakou Ananzè descend au bout de son fil, et les étincelles du feu montent */
.page-band { position: relative; overflow: hidden; }
.page-band > .wrap { position: relative; z-index: 1; }
.ananze { position: absolute; top: 0; right: clamp(1rem, 9vw, 9rem); width: 64px; color: var(--gold); padding-top: 150px; transform-origin: 50% 0; z-index: 0; }
.ananze::before { content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: 156px; margin-left: -1px; background: rgb(255 255 255 / .55); }
.ananze svg { display: block; position: relative; }
.motion .ananze { animation: ananze-drop 2.6s cubic-bezier(.3, .9, .3, 1) .3s both, ananze-sway 5s ease-in-out 3s infinite; }
@keyframes ananze-drop { from { transform: translateY(-230px); } }
@keyframes ananze-sway { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(4deg); } 75% { transform: rotate(-4deg); } }
.motion .ananze svg g path { animation: ananze-legs 1.1s ease-in-out infinite alternate; transform-origin: 32px 32px; }
@keyframes ananze-legs { to { transform: scaleY(.9); } }
.embers { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.embers i { position: absolute; bottom: -10px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px 2px rgb(226 166 31 / .6); opacity: 0; }
.motion .embers i { animation: ember 6.5s ease-out var(--d) infinite; }
@keyframes ember { 0% { transform: translate(0, 0) scale(1); opacity: 0; } 10% { opacity: .95; } 60% { opacity: .7; } 100% { transform: translate(28px, -280px) scale(.3); opacity: 0; } }
@media (max-width: 700px) { .ananze { transform: scale(.7); right: .5rem; padding-top: 90px; } .ananze::before { height: 96px; } }

@media (prefers-reduced-motion: reduce) { .ikat, .weave span, .comoe-w, .ananze, .ananze svg g path, .embers i, .dayname-out strong, .site-header + .ikat::after { animation: none !important; } .embers, .site-header + .ikat::after { display: none; } }
.hero h1.weave { white-space: nowrap; font-size: clamp(4rem, 11vw, 9.5rem); }

/* Image à la une des articles : toujours entière (jamais rognée), posée par-dessus le bandeau */
.article-cover { position: relative; z-index: 2; margin: -9rem auto 0; max-width: 1060px; text-align: center; }
.article-cover img { display: inline-block; width: auto; max-width: 100%; height: auto; max-height: none; object-fit: contain; border-radius: 20px; box-shadow: 0 30px 60px rgb(16 21 63 / .3); vertical-align: top; }
@media (min-width: 900px) { .article-cover img { max-height: 88vh; } }
/* Vignettes : le recadrage privilégie le haut de l'image, où se trouvent le plus souvent les visages */
.card-media img { object-position: 50% 22%; }

/* ===== Encadré de l'auteur sous les articles ===== */
.author-box { display: grid; grid-template-columns: 120px 1fr; gap: 1.5rem; align-items: start; background: var(--night); color: #fff; border-radius: 20px; padding: 1.8rem; margin-bottom: 1.5rem; font-family: var(--display); position: relative; overflow: hidden; }
.author-box::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 12px; background: var(--ikat) 0 0 / 96px 48px; }
.author-box img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid var(--gold); background: var(--indigo); margin-left: .6rem; }
.author-box p { margin: 0; }
.author-label { font-weight: 600; font-size: .92rem; color: var(--gold); }
.author-name { font: 800 1.6rem/1.15 var(--display); letter-spacing: -.02em; margin-bottom: .5rem !important; }
.author-bio { font: 400 1.05rem/1.55 var(--text); color: #e6e8f6; }
.author-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: .9rem !important; font-weight: 700; }
.author-links a { color: var(--gold); } .author-links a:hover { color: #fff; }
@media (max-width: 560px) { .author-box { grid-template-columns: 1fr; } .author-box img { width: 88px; height: 88px; } }
@media print { .author-box { display: none; } }

/* ===== Autres sites du même auteur ===== */
.footer-sites { padding: 2.5rem 0; border-top: 1px solid rgb(255 255 255 / .2); }
.footer-sites h2 { margin-bottom: .5rem; }
.footer-sites p { margin: 0 0 1.2rem; font: 400 1.02rem/1.5 var(--text); max-width: 62ch; }
.footer-sites ul { display: flex !important; flex-wrap: wrap; gap: .6rem !important; }
.footer-sites li a { display: flex; flex-direction: column; gap: .1rem; padding: .7rem 1.1rem; border: 2px solid rgb(255 255 255 / .35); border-radius: 14px; text-decoration: none; min-width: 150px; }
.footer-sites li a:hover { border-color: var(--gold); background: rgb(255 255 255 / .06); text-decoration: none; }
.footer-sites strong { font: 800 1.1rem/1.2 var(--display); color: #fff; }
.footer-sites li a:hover strong { color: var(--gold); }
.footer-sites span { font-size: .92rem; color: #e6e8f6; }
.footer-sites small { font-size: .85rem; color: #c9cdea; }
.author-sites { margin-top: .9rem !important; padding-top: .9rem; border-top: 1px solid rgb(255 255 255 / .2); font-size: .98rem; line-height: 1.6; color: #e6e8f6; }
.author-sites a { color: #fff; font-weight: 700; } .author-sites a:hover { color: var(--gold); }
@media print { .footer-sites { display: none; } }

/* Accueil, article à la une : la photo est entièrement visible (plus de voile sombre), le titre passe dessous */
.card-cover { height: 100%; min-height: 0; border-radius: 20px; overflow: hidden; justify-content: flex-start; background: var(--indigo); }
.card-cover .card-media { position: relative; inset: auto; flex: 1 1 auto; min-height: 320px; aspect-ratio: auto; border-radius: 0; }
.card-cover .card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.card-cover .card-body { position: relative; padding: 1.4rem 1.6rem 1.5rem; background: var(--indigo); border-top: 6px solid var(--gold); }
.card-cover:hover h3 a { text-decoration-color: var(--gold); }
@media (max-width: 900px) { .card-cover .card-media { min-height: 0; aspect-ratio: 4 / 3; flex: none; } }

/* ===== En-tête : indigo du pagne, frise de motifs dorés, repli au défilement ===== */
:root {
  /* Frise : dents de scie, losanges et points, motifs géométriques des pagnes et des poids à peser l'or */
  --frieze: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='36'%3E%3Cg fill='%23e2a61f'%3E%3Cpath d='M0 0h16L8 9zM16 0h16l-8 9zM32 0h16l-8 9zM48 0h16l-8 9zM64 0h16l-8 9zM80 0h16l-8 9z'/%3E%3C/g%3E%3Cg fill='%23a3271c'%3E%3Cpath d='M0 36h16L8 27zM16 36h16l-8-9zM32 36h16l-8-9zM48 36h16l-8-9zM64 36h16l-8-9zM80 36h16l-8-9z'/%3E%3C/g%3E%3Cg fill='none' stroke='%23e2a61f' stroke-width='2'%3E%3Cpath d='M24 11l7 7-7 7-7-7zM72 11l7 7-7 7-7-7z'/%3E%3Cpath stroke='%23ffffff' d='M40 18h16M0 18h8M88 18h8'/%3E%3C/g%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='24' cy='18' r='2.2'/%3E%3Ccircle cx='72' cy='18' r='2.2'/%3E%3C/g%3E%3Ccircle cx='48' cy='18' r='3.2' fill='%23e2a61f'/%3E%3C/svg%3E");
  --saw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M0 7h12L6 0z' fill='%23e2a61f'/%3E%3C/svg%3E");
}
.site-header { background: var(--night); color: #fff; }
.site-header .header-in { min-height: 84px; transition: min-height .3s ease; position: relative; }
/* semis de points dorés, comme la poudre d'or sur le plateau de la balance */
.site-header::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgb(226 166 31 / .2) 1.4px, transparent 1.9px) 0 0 / 18px 18px; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%); }
.frieze { height: 36px; background: var(--night) var(--frieze) 0 0 / 96px 36px repeat-x; border-bottom: 1px solid rgb(226 166 31 / .35); transition: height .3s ease, opacity .3s ease; position: relative; }
.motion .frieze { animation: frieze-drift 50s linear infinite, frieze-unroll 1.1s cubic-bezier(.3, .8, .2, 1) both; }
@keyframes frieze-drift { to { background-position: 960px 0; } }
@keyframes frieze-unroll { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.site-header.is-scrolled .frieze { height: 0; opacity: 0; border: 0; }
.site-header.is-scrolled .header-in { min-height: 64px; }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgb(16 21 63 / .35); }
.logo img { mix-blend-mode: normal; width: 190px; filter: brightness(1.55) saturate(1.25) drop-shadow(0 0 0 transparent); transition: width .3s ease, filter .3s ease, transform .3s ease; }
.logo:hover img { filter: brightness(1.8) saturate(1.3) drop-shadow(0 0 14px rgb(226 166 31 / .55)); transform: scale(1.03); }
.site-header.is-scrolled .logo img { width: 150px; }
.site-header .nav-link { color: #fff; position: relative; padding: .6rem .85rem; border-radius: 10px; }
.site-header .nav-link::before { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .1rem; height: 7px; background: var(--saw) 0 0 / 12px 7px repeat-x; clip-path: inset(0 100% 0 0); transition: clip-path .35s cubic-bezier(.3, .7, .2, 1); }
.site-header .nav-link:hover, .site-header .has-sub.open > .nav-link { background: rgb(255 255 255 / .08); color: var(--gold); }
.site-header .nav-link:hover::before, .site-header .has-sub.open > .nav-link::before, .site-header .is-current > .nav-link::before { clip-path: inset(0 0 0 0); }
.site-header .is-current > .nav-link { color: var(--gold); }
.site-header .sub { background: #fff; border-radius: 0 0 16px 16px; border-top: 0; padding: 1.1rem .6rem .6rem !important; box-shadow: 0 24px 50px rgb(16 21 63 / .4); top: calc(100% + 10px); }
.site-header .sub::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 10px; background: var(--gold) var(--ikat) 0 0 / 96px 48px; border-radius: 3px 3px 0 0; }
.site-header .sub::before { inset: -12px 0 auto 0; height: 12px; }
.site-header .sub a { color: var(--ink); font-weight: 600; position: relative; padding-left: 1.7rem; }
.site-header .sub a::before { content: ""; position: absolute; left: .6rem; top: 50%; width: 8px; height: 8px; background: var(--gold); transform: translateY(-50%) rotate(45deg) scale(.6); transition: transform .2s ease, background .2s ease; }
.site-header .sub a:hover { background: var(--indigo-soft); color: var(--indigo); }
.site-header .sub a:hover::before { transform: translateY(-50%) rotate(45deg) scale(1.15); background: var(--kola); }
.motion .site-header .has-sub.open > .sub, .motion .site-header .has-sub:hover > .sub { animation: sub-in .22s ease-out; }
@keyframes sub-in { from { opacity: 0; transform: translateY(-8px); } }
.site-header .search { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .55); }
.site-header .search input { color: #fff; }
.site-header .search input::placeholder { color: #c9cdea; }
.site-header .search button { color: var(--gold); }
.site-header .search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgb(226 166 31 / .25); background: rgb(255 255 255 / .14); }
.site-header .nav-toggle { background: transparent; border-color: var(--gold); }
.site-header .nav-toggle span { background: var(--gold); }
@media (max-width: 1080px) {
  .site-header .nav { background: var(--night); border-bottom: 6px solid var(--gold); }
  .site-header .sub, .site-header .nav > ul > li:nth-last-child(-n+3) .sub { border-radius: 12px; top: auto; }
  .frieze { height: 26px; background-size: 70px 26px; }
  .logo img { width: 160px; }
}
@media (prefers-reduced-motion: reduce) { .frieze { animation: none !important; } }
@media print { .frieze { display: none; } }

/* La Comoé, version ample : cinq nappes de vagues hautes, l'or dominant, qui se soulèvent en avançant */
.hero { padding-bottom: calc(clamp(120px, 15vw, 240px) + 2.5rem); }
.comoe { height: clamp(120px, 15vw, 240px); }
.comoe-w { inset: auto auto 0 0; width: 200%; background-repeat: repeat-x; background-position: 0 0; transform-origin: 50% 100%; will-change: transform; opacity: 1; }
.comoe-w1 { height: 100%; background-size: 16.6667% 100%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 42 Q25 -8 50 42 T100 42 V100 H0Z' fill='%231f2a80'/%3E%3C/svg%3E"); }
.comoe-w2 { height: 84%; background-size: 12.5% 100%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 40 Q25 -12 50 40 T100 40 V100 H0Z' fill='%23b97d06'/%3E%3C/svg%3E"); }
.comoe-w4 { height: 66%; background-size: 10% 100%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 40 Q25 -14 50 40 T100 40 V100 H0Z' fill='%23e2a61f'/%3E%3C/svg%3E"); }
.comoe-w5 { height: 46%; background-size: 14.2857% 100%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 42 Q25 -10 50 42 T100 42 V100 H0Z' fill='%23f6cf63'/%3E%3C/svg%3E"); }
.comoe-w3 { height: 24%; background-size: 8.3333% 100%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 46 Q25 -6 50 46 T100 46 V100 H0Z' fill='%23ffffff'/%3E%3C/svg%3E"); }
.motion .comoe-w1 { animation: swell-a 16s linear infinite; }
.motion .comoe-w2 { animation: swell-b 11s linear infinite; }
.motion .comoe-w4 { animation: swell-c 8s linear infinite; }
.motion .comoe-w5 { animation: swell-d 12s linear infinite; }
.motion .comoe-w3 { animation: swell-e 6s linear infinite; }
@keyframes swell-a { 0% { transform: translateX(0) scaleY(1); } 50% { transform: translateX(-8.3333%) scaleY(1.1); } 100% { transform: translateX(-16.6667%) scaleY(1); } }
@keyframes swell-b { 0% { transform: translateX(-12.5%) scaleY(1.12); } 50% { transform: translateX(-6.25%) scaleY(.94); } 100% { transform: translateX(0) scaleY(1.12); } }
@keyframes swell-c { 0% { transform: translateX(0) scaleY(.92); } 50% { transform: translateX(-5%) scaleY(1.16); } 100% { transform: translateX(-10%) scaleY(.92); } }
@keyframes swell-d { 0% { transform: translateX(-14.2857%) scaleY(1.1); } 50% { transform: translateX(-7.1428%) scaleY(.9); } 100% { transform: translateX(0) scaleY(1.1); } }
@keyframes swell-e { 0% { transform: translateX(0) scaleY(1); } 50% { transform: translateX(-4.1667%) scaleY(1.25); } 100% { transform: translateX(-8.3333%) scaleY(1); } }
.comoe-text { bottom: auto; top: .4rem; z-index: 2; }
@media (max-width: 900px) { .comoe { height: 120px; } .hero { padding-bottom: 9.5rem; } .comoe-w { width: 400%; } .comoe-w1 { background-size: 8.3333% 100%; } .comoe-w2 { background-size: 6.25% 100%; } .comoe-w4 { background-size: 5% 100%; } .comoe-w5 { background-size: 7.1428% 100%; } .comoe-w3 { background-size: 4.1667% 100%; }
  @keyframes swell-a { 0% { transform: translateX(0) scaleY(1); } 50% { transform: translateX(-4.1667%) scaleY(1.1); } 100% { transform: translateX(-8.3333%) scaleY(1); } }
  @keyframes swell-b { 0% { transform: translateX(-6.25%) scaleY(1.12); } 50% { transform: translateX(-3.125%) scaleY(.94); } 100% { transform: translateX(0) scaleY(1.12); } }
  @keyframes swell-c { 0% { transform: translateX(0) scaleY(.92); } 50% { transform: translateX(-2.5%) scaleY(1.16); } 100% { transform: translateX(-5%) scaleY(.92); } }
  @keyframes swell-d { 0% { transform: translateX(-7.1428%) scaleY(1.1); } 50% { transform: translateX(-3.5714%) scaleY(.9); } 100% { transform: translateX(0) scaleY(1.1); } }
  @keyframes swell-e { 0% { transform: translateX(0) scaleY(1); } 50% { transform: translateX(-2.0833%) scaleY(1.25); } 100% { transform: translateX(-4.1667%) scaleY(1); } } }
@media (prefers-reduced-motion: reduce) { .comoe-w { animation: none !important; } }

/* ===== Pendentif d'or baoulé suspendu au bord droit : il suit la lecture de la page ===== */
.pendant { --p: 0; --top: 150px; --travel: calc(100vh - var(--top) - 96px); position: fixed; top: 0; right: clamp(6px, 1.4vw, 26px); width: 64px; height: 100vh; z-index: 40; padding: 0; border: 0; background: none; pointer-events: none; cursor: pointer; }
.pendant-thread { position: absolute; left: 50%; top: 0; width: 2px; margin-left: -1px; height: calc(var(--top) + var(--p) * var(--travel) + 6px); background: linear-gradient(to bottom, rgb(226 166 31 / 0) 0, rgb(226 166 31 / .9) 140px, #b97d06 100%); }
.pendant-disc { position: absolute; left: 0; top: 0; transform: translateY(calc(var(--top) + var(--p) * var(--travel))) rotate(calc(var(--p) * 540deg)); pointer-events: auto; filter: drop-shadow(0 6px 10px rgb(16 21 63 / .35)); border-radius: 50%; transition: filter .2s ease; }
.pendant:hover .pendant-disc, .pendant:focus-visible .pendant-disc { filter: drop-shadow(0 0 14px rgb(226 166 31 / .9)); }
.pendant:focus-visible { outline: none; }
.pendant:focus-visible .pendant-disc { outline: 3px solid var(--gold); outline-offset: 4px; }
.motion .pendant { animation: pendant-sway 6s ease-in-out infinite; transform-origin: 50% 0; }
@keyframes pendant-sway { 0%, 100% { transform: rotate(0deg); } 30% { transform: rotate(.7deg); } 70% { transform: rotate(-.7deg); } }
@media (max-width: 1100px) { .pendant { width: 44px; --top: 120px; --travel: calc(100vh - var(--top) - 70px); right: 2px; } .pendant-disc { width: 44px; height: 44px; } }
@media (max-width: 700px) { .pendant { width: 34px; opacity: .92; } .pendant-disc { width: 34px; height: 34px; } }
@media print { .pendant { display: none; } }

/* ===== Accueil : vitrine « à la une », trois articles qui se relaient ===== */
.hero-in { grid-template-columns: 1fr 1.08fr; }
.showcase { min-width: 0; display: flex; flex-direction: column; gap: 1rem; }
.showcase-stage { display: grid; position: relative; border-radius: 22px; background: var(--indigo); box-shadow: 10px 10px 0 var(--gold); border: 2px solid var(--gold); overflow: hidden; }
.showcase-stage::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 9px; background: var(--saw) 0 0 / 15px 9px repeat-x; transform: scaleY(-1); z-index: 3; pointer-events: none; }
.showcase-slide { grid-area: 1 / 1; display: flex; flex-direction: column; min-width: 0; }
.showcase.is-live .showcase-slide { opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s linear .5s; }
.showcase.is-live .showcase-slide.is-active { opacity: 1; visibility: visible; transition: opacity .5s ease; z-index: 1; }
.showcase:not(.is-live) .showcase-slide:not(.is-active) { display: none; }
.showcase-media { display: block; aspect-ratio: 8 / 6; background: var(--ikat) center / 96px 48px; overflow: hidden; }
.showcase-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; display: block; }
/* l'image se déroule comme un pagne qu'on déplie */
.motion .showcase.is-live .showcase-slide.is-active .showcase-media img { animation: unfold .9s cubic-bezier(.2, .8, .2, 1) both; }
.motion .showcase.is-live .showcase-slide.is-active .showcase-body > * { animation: rise .6s ease-out both; }
.motion .showcase.is-live .showcase-slide.is-active .showcase-body > *:nth-child(2) { animation-delay: .08s; }
.motion .showcase.is-live .showcase-slide.is-active .showcase-body > *:nth-child(3) { animation-delay: .16s; }
.motion .showcase.is-live .showcase-slide.is-active .showcase-body > *:nth-child(4) { animation-delay: .24s; }
@keyframes unfold { from { clip-path: inset(0 100% 0 0); transform: scale(1.08); } to { clip-path: inset(0 0 0 0); transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.showcase-body { padding: 1.4rem 1.6rem 1.5rem; border-top: 6px solid var(--gold); color: #fff; flex: 1; display: flex; flex-direction: column; }
.showcase-cat { align-self: flex-start; margin: 0 0 .7rem; font: 700 .85rem/1 var(--display); color: var(--night); background: var(--gold); padding: .4rem .75rem; border-radius: 999px; }
.showcase-body h2 { font-size: clamp(1.35rem, 2.1vw, 1.85rem); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .6rem; }
.showcase-body h2 a { color: #fff; text-decoration: none; }
.showcase-body h2 a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; }
.showcase-text { font: 400 1.02rem/1.5 var(--text); color: #dfe2f5; margin: 0 0 1.1rem; }
.showcase-foot { margin: auto 0 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: #c9cdea; font-size: .92rem; }
.showcase-foot .btn { padding: .6rem 1.2rem; font-size: .95rem; }
.showcase-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; padding-right: 10px; }
.showcase-tabs a { position: relative; display: flex; align-items: center; gap: .7rem; min-width: 0; padding: .55rem; border-radius: 14px; border: 2px solid rgb(255 255 255 / .28); color: #e6e8f6; text-decoration: none; overflow: hidden; transition: border-color .2s, background .2s, transform .2s; }
.showcase-tabs a:hover { border-color: #fff; transform: translateY(-3px); color: #fff; }
.showcase-tabs a[aria-current="true"] { border-color: var(--gold); background: rgb(226 166 31 / .14); color: #fff; }
.showcase-thumb { flex: none; width: 54px; height: 54px; border-radius: 10px; overflow: hidden; background: var(--ikat) center / 96px 48px; }
.showcase-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.showcase-tab-title { font: 700 .86rem/1.25 var(--display); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.showcase-tabs i { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; }
.motion .showcase.is-live .showcase-tabs a[aria-current="true"] i { animation: showcase-timer 7s linear forwards; }
.showcase.is-paused .showcase-tabs i { animation: none !important; transform: scaleX(0); }
@keyframes showcase-timer { to { transform: scaleX(1); } }
@media (max-width: 900px) { .hero-in { grid-template-columns: 1fr; } .showcase-tabs { grid-template-columns: 1fr; padding-right: 0; } .showcase-tab-title { -webkit-line-clamp: 2; } .showcase-stage { box-shadow: 6px 6px 0 var(--gold); } }

/* ===== Monétisation : annonces, sponsor, soutien, partenaires, kit annonceurs ===== */
.ad { margin: 1.5rem auto; text-align: center; max-width: 100%; }
.ad-label { font: 600 .72rem/1 var(--display); letter-spacing: .06em; color: var(--muted); margin: 0 0 .35rem !important; }
.ad a { display: inline-block; max-width: 100%; }
.ad img { display: block; max-width: 100%; height: auto; border-radius: 12px; margin-inline: auto; }
.ad a span { display: inline-block; padding: 1rem 1.5rem; border: 2px dashed var(--line); border-radius: 12px; font-weight: 700; }
.ad-header, .ad-footer { width: min(100% - 2.5rem, var(--wrap)); }
.ad-slot:empty { display: none; } .ad-slot { max-width: var(--col, var(--wrap)); }
.prose .ad { clear: both; margin: 2em auto; }
.sponsor-note { max-width: var(--col); margin: 1.5rem auto 0; padding: .8rem 1.1rem; background: var(--gold); color: var(--night); border-radius: 12px; font: 600 1rem/1.45 var(--display); }
.sponsor-note a { color: var(--night); font-weight: 800; }
.support-box { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; background: var(--indigo); color: #fff; border-radius: 20px; padding: 1.5rem 1.8rem; margin-bottom: 1.5rem; font-family: var(--display); }
.support-box strong { font: 800 1.35rem/1.2 var(--display); letter-spacing: -.02em; }
.support-box p { margin: .3rem 0 0; font: 400 1rem/1.5 var(--text); color: #e6e8f6; max-width: 46ch; }
.support-intro { font: 400 1.25rem/1.6 var(--text) !important; max-width: 60ch; }
.support-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.support-list li { margin: 0; border: 2px solid var(--ink); border-radius: 20px; padding: 1.4rem; display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; }
.support-list strong { font: 800 1.6rem/1.1 var(--display); letter-spacing: -.02em; color: var(--indigo); }
.support-list span { font: 400 1rem/1.45 var(--text); }
.support-list code { font: 700 1.15rem/1.3 var(--display); background: var(--cotton); padding: .5rem .8rem; border-radius: 10px; overflow-wrap: anywhere; }
.support-list .share-copy { border-color: var(--ink); }
.support-other { font: 400 1.05rem/1.6 var(--text); max-width: 62ch; }
.partners ul { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.partners li { margin: 0; padding: .9rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .2rem; }
.partners a { font: 700 1.1rem/1.3 var(--display); }
.partners span { font-size: 1rem; }
.partners-note { font: 400 .9rem/1.5 var(--display); color: var(--muted); margin-top: .8rem; }
.kit-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.kit-stats li { margin: 0; background: var(--night); color: #fff; border-radius: 20px; padding: 1.4rem; display: grid; gap: .3rem; }
.kit-stats strong { font: 800 clamp(2rem, 4.4vw, 3rem)/1 var(--display); letter-spacing: -.04em; color: var(--gold); }
.kit-offers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.kit-offers li { margin: 0; border: 2px solid var(--ink); border-radius: 20px; padding: 1.3rem; display: grid; gap: .4rem; align-content: start; }
.kit-offers strong { font: 800 1.35rem/1.15 var(--display); color: var(--indigo); } .kit-offers span { font: 400 1.02rem/1.5 var(--text); }
.kit-top { padding-left: 1.3rem; } .kit-top li { margin-bottom: .5rem; } .kit-top a { font-weight: 700; } .kit-top span { color: var(--muted); font-size: .95rem; white-space: nowrap; }
.consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 80; max-width: 720px; margin-inline: auto; background: var(--night); color: #fff; border: 2px solid var(--gold); border-radius: 18px; padding: 1.2rem 1.4rem; box-shadow: 0 20px 50px rgb(16 21 63 / .45); font-family: var(--display); }
.consent p { margin: 0 0 .8rem; line-height: 1.5; } .consent p:last-child { margin: 0; display: flex; gap: .6rem; flex-wrap: wrap; }
.consent .btn { padding: .55rem 1.2rem; } .consent .btn:not(.btn-gold) { background: transparent; box-shadow: inset 0 0 0 2px #fff; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: #fff; cursor: pointer; text-align: left; } .linklike:hover { color: var(--gold); text-decoration: underline; }
@media print { .ad, .support-box, .consent { display: none !important; } }

/* ---------- Annuaire et boutique ---------- */
.nav-user { display: flex; gap: .9rem; margin: 0; font: 700 .92rem/1 var(--display); white-space: nowrap; }
.nav-user a { color: var(--night); background: var(--gold); padding: .5rem .8rem; border-radius: 999px; text-decoration: none; }
.nav-user a:hover { background: var(--night); color: #fff; }
.mk-filter { display: flex; flex-wrap: wrap; gap: .8rem; align-items: end; margin: 1.4rem 0 1.2rem; font-family: var(--display); }
.mk-filter label { display: grid; gap: .3rem; font-weight: 700; font-size: .9rem; color: #e6e8f6; flex: 1 1 180px; }
.mk-filter input, .mk-filter select, .mk-form select, .mk-form input[type=password], .mk-form input[type=number], .prod-buy input, .cart-qty input { width: 100%; padding: .7rem .85rem; border: 2px solid var(--ink); border-radius: 10px; font: 400 1.02rem/1.4 var(--display); background: #fff; color: var(--ink); }
.mk-filter input, .mk-filter select { border-color: transparent; }
.mk-filter input:focus, .mk-filter select:focus { outline: 3px solid var(--gold); outline-offset: 2px; }
.mk-form select, .mk-form input[type=password], .mk-form input[type=number] { display: block; margin-top: .35rem; }
.mk-form select:focus, .mk-form input:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px var(--indigo-soft); }
.mk-form { margin-top: 0; }
.mk-form small, .mk-small { font: 400 .92rem/1.5 var(--display); color: var(--muted); }
.mk-form fieldset { border: 0; border-top: 2px solid var(--ink); margin: .6rem 0 1.1rem; padding: 1rem 0 0; }
.mk-form legend { font: 800 1.1rem/1.2 var(--display); padding-right: .8rem; }
.mk-form input[type=file] { display: block; margin-top: .45rem; font: 400 .98rem var(--display); max-width: 100%; }
.mk-check { display: flex !important; gap: .6rem; align-items: flex-start; font-weight: 500 !important; }
.mk-check input { margin-top: .3rem; flex: none; width: 1.1rem; height: 1.1rem; accent-color: var(--indigo); }
.page-band .chips a[aria-current] { background: #fff; }
.mk-bar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin: 0 0 1.8rem; font-family: var(--display); }
.mk-bar p { margin: 0; color: var(--muted); font-weight: 600; }
.mk-links { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; }
.mk-links a:not(.btn) { font-weight: 700; color: var(--indigo); }
.mk-narrow { max-width: 820px; } .mk-slim { max-width: 520px; }
.mk-alt { font-family: var(--display); margin-top: 1.4rem; }
.mk-two { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.mk-panel { background: var(--cotton); border-radius: 20px; padding: 1.6rem; font-family: var(--display); border-top: 6px solid var(--gold); }
.mk-panel h2 { font-size: 1.3rem; margin: 0 0 .8rem; }
.mk-panel p { margin: 0 0 .8rem; } .mk-panel > :last-child { margin-bottom: 0; }
.mk-call { background: var(--night); color: #fff; } .mk-call h2 { color: #fff; }
.mk-facts { margin: 0 0 1.2rem; } .mk-facts dt { font-weight: 700; font-size: .88rem; color: var(--muted); margin-top: .8rem; } .mk-facts dd { margin: 0; font-size: 1.08rem; overflow-wrap: anywhere; }
.mk-h { font-size: 1.6rem; margin: 3rem 0 1.2rem; }
.mk-list { padding-left: 1.2rem; font-family: var(--display); } .mk-list li + li { margin-top: .4rem; } .mk-list small { color: var(--muted); }
.mk-crumbs { font: 600 .95rem/1.3 var(--display); margin: 0 0 1.4rem; color: var(--muted); } .mk-crumbs a { color: var(--indigo); }
/* Annuaire */
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 0 2.5rem; }
.dir-card { display: flex; gap: 1.1rem; padding: 1.4rem 0; border-top: 2px solid var(--ink); position: relative; font-family: var(--display); }
.dir-mark { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--gold); color: var(--night); font: 800 1.5rem/1 var(--display); box-shadow: 0 0 0 4px var(--cotton), 0 0 0 6px var(--gold); }
.dir-card h2 { font-size: 1.25rem; margin: 0 0 .25rem; line-height: 1.2; }
.dir-card h2 a { color: var(--ink); text-decoration: none; } .dir-card h2 a::after { content: ""; position: absolute; inset: 0; }
.dir-card:hover h2 a { color: var(--indigo); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; }
.dir-meta { font-weight: 700; font-size: .9rem; color: var(--kola); margin: 0 0 .4rem; }
.dir-card p:last-child { margin: 0; color: #33364f; font-size: .98rem; line-height: 1.5; }
.dir-photo { border-radius: 20px; margin-bottom: 1.6rem; max-height: 440px; width: 100%; object-fit: cover; }
.dir-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; font: 700 .88rem/1 var(--display); }
.dir-tags span { background: var(--indigo-soft); color: var(--night); padding: .5rem .8rem; border-radius: 999px; }
/* Produits */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2.2rem 1.5rem; }
.prod { position: relative; font-family: var(--display); min-width: 0; }
.prod-media { display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--ikat) center / 96px 48px; }
.prod-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.prod:hover .prod-media img { transform: scale(1.05); }
.prod h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.25; margin: .8rem 0 .3rem; }
.prod h3 a { color: var(--ink); text-decoration: none; } .prod h3 a::after { content: ""; position: absolute; inset: 0; }
.prod:hover h3 a { color: var(--indigo); }
.prod-price { font: 800 1.15rem/1.2 var(--display); color: var(--night); margin: 0 0 .2rem; }
.prod-price.big { font-size: 2rem; margin: .4rem 0; }
.prod-out { font-weight: 700; font-size: .8rem; color: var(--kola); }
.prod-shop { font-size: .9rem; color: var(--muted); margin: 0; }
.prod-page { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.prod-gallery > img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; background: var(--cotton); }
.prod-thumbs { display: flex; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }
.prod-thumbs button { padding: 0; border: 3px solid transparent; border-radius: 12px; background: none; cursor: pointer; width: 76px; height: 76px; overflow: hidden; }
.prod-thumbs button[aria-current] { border-color: var(--gold); }
.prod-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prod-info h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; margin: 0; }
.prod-stock { font: 700 .95rem var(--display); color: var(--kola); margin: 0 0 1.2rem; }
.prod-buy { display: flex; gap: 1rem; align-items: end; margin-bottom: .6rem; font-family: var(--display); }
.prod-buy label { font-weight: 700; font-size: .9rem; display: grid; gap: .3rem; width: 6.5rem; }
.prod-desc { font-size: 1.08rem; margin: 1.6rem 0; } .prod-desc.prose > p:first-of-type { font-size: inherit; }
.vendor-head { display: flex; gap: 1.6rem; align-items: flex-start; }
.vendor-head img { border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 4px var(--gold); }
.mk-how { margin-top: 4rem; background: var(--cotton); border-radius: 20px; padding: 2rem; font-family: var(--display); }
.mk-how h2 { margin: 0 0 1rem; font-size: 1.5rem; }
.mk-how ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding: 0; margin: 0 0 1.2rem; list-style: none; counter-reset: how; }
.mk-how li { counter-increment: how; padding-top: .8rem; border-top: 4px solid var(--gold); }
.mk-how li::before { content: counter(how); display: block; font: 800 1.8rem/1 var(--display); color: var(--indigo); margin-bottom: .3rem; }
.mk-how p { margin: 0; color: var(--muted); }
/* Tableaux, panier, espace vendeur */
.mk-table { width: 100%; border-collapse: collapse; font-family: var(--display); margin-bottom: 1.4rem; }
.mk-table th, .mk-table td { padding: .9rem .8rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.mk-table thead th { font-size: .88rem; color: var(--muted); border-bottom: 2px solid var(--ink); }
.mk-table tfoot th, .mk-table tfoot td { border-bottom: 0; border-top: 2px solid var(--ink); font-size: 1.1rem; }
.mk-table .num { text-align: right; white-space: nowrap; }
.mk-table small { color: var(--muted); }
.cart-item { display: flex; gap: .9rem; align-items: center; } .cart-item img { border-radius: 10px; object-fit: cover; flex: none; }
.cart-qty { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; } .cart-qty input { width: 4.6rem; padding: .45rem .5rem; }
.linklike.danger, .mk-actions .danger { color: var(--kola); }
.mk-actions { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; font-family: var(--display); } .mk-actions form { display: contents; }
.mk-tabs { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; align-items: center; border-bottom: 2px solid var(--ink); margin-bottom: 2.2rem; font: 700 1rem var(--display); }
.mk-tabs a { padding: .7rem 0; text-decoration: none; color: var(--muted); border-bottom: 5px solid transparent; margin-bottom: -2px; }
.mk-tabs a[aria-current] { color: var(--night); border-color: var(--gold); } .mk-tabs a:hover { color: var(--indigo); }
.mk-tabs form { margin-left: auto; }
.mk-state { display: inline-block; font: 700 .8rem/1 var(--display); padding: .35rem .6rem; border-radius: 999px; background: var(--indigo-soft); color: var(--night); vertical-align: middle; }
.mk-state.s-published, .mk-state.s-delivered { background: #e2f3e6; color: #17462a; }
.mk-state.s-pending, .mk-state.s-new { background: var(--gold); }
.mk-state.s-rejected, .mk-state.s-cancelled { background: #fbe4e1; color: #7c1c13; }
.mk-photos { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1rem; }
.mk-photos label { margin: 0; font-weight: 500; font-size: .9rem; } .mk-photos img, .mk-thumb { border-radius: 10px; object-fit: cover; display: block; margin-bottom: .3rem; }
.mk-order { border-top: 2px solid var(--ink); padding: 1.4rem 0 1.8rem; font-family: var(--display); }
.mk-order header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; align-items: baseline; margin-bottom: .8rem; }
.mk-order h2 { font-size: 1.25rem; margin: 0; } .mk-order header p { margin: 0; color: var(--muted); font-weight: 600; }
.mk-steps { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; margin: 0 0 1.8rem; font: 700 .92rem var(--display); color: var(--muted); }
.mk-steps li { padding-top: .7rem; border-top: 6px solid var(--line); }
.mk-steps li.done { border-color: var(--gold); color: var(--night); }
@media (max-width: 860px) { .mk-two, .prod-page { grid-template-columns: 1fr; gap: 2rem; } .mk-how ol { grid-template-columns: 1fr; } .dir-grid { grid-template-columns: 1fr; } .vendor-head { flex-direction: column; } .mk-tabs form { margin-left: 0; } }
@media (max-width: 560px) { .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; } .mk-table th, .mk-table td { padding: .7rem .4rem; } .cart-item img { display: none; } }
main .linklike { color: var(--indigo); text-decoration: underline; font: 600 .95rem var(--display); } main .linklike:hover { color: var(--kola); }
main .linklike.danger { color: var(--kola); }
.page-band .kicker a { color: inherit; }
@media (min-width: 901px) and (max-width: 1420px) { .site-header .nav-link { padding: .6rem .55rem; font-size: .95rem; } .site-header .search input { width: 9.5rem; } }
.mk-pay .mk-check { background: #fff; border: 2px solid var(--ink); border-radius: 12px; padding: .9rem 1rem; margin-bottom: .7rem; cursor: pointer; }
.mk-pay .mk-check:has(input:checked) { border-color: var(--indigo); box-shadow: 0 0 0 4px var(--indigo-soft); }
.open-all { display: inline-block; font: 700 .95rem/1.4 var(--display); color: var(--night); background: var(--gold); padding: .5rem .9rem; border-radius: 10px; margin: 0 0 1rem; max-width: 60ch; }
.home-school { margin-top: 3.5rem; }
.home-school-in { display: flex; gap: 1.6rem; align-items: center; background: var(--night); color: #fff; border-radius: 24px; padding: 1.6rem 2rem; border-bottom: 10px solid var(--gold); }
.home-school-in .sc-art { flex: none; width: 92px; height: 92px; }
.home-school-in h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0 0 .3rem; line-height: 1.1; }
.home-school-in p { margin: 0; color: #e6e8f6; font: 400 1.08rem/1.5 var(--text); }
.home-school-in .btn { margin-left: auto; white-space: nowrap; }
@media (max-width: 760px) { .home-school-in { flex-direction: column; align-items: flex-start; } .home-school-in .btn { margin-left: 0; } }
/* Dons */
.don-cur { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 .9rem; } .don-cur label { margin: 0; font-weight: 700; border: 2px solid var(--ink); border-radius: 999px; padding: .45rem .9rem; cursor: pointer; background: #fff; } .don-cur label:has(input:checked) { background: var(--night); color: #fff; border-color: var(--night); } .don-cur input { position: absolute; opacity: 0; }
.don-cur label:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.don-presets { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .6rem; margin: 0 0 1rem; }
.don-presets button { font: 800 1.15rem var(--display); padding: .9rem .5rem; border: 2px solid var(--ink); border-radius: 14px; background: #fff; color: var(--ink); cursor: pointer; }
.don-presets button:hover { border-color: var(--indigo); box-shadow: 0 0 0 4px var(--indigo-soft); } .don-presets button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); }
.don-uses { padding-left: 1.1rem; margin: 0; } .don-uses li + li { margin-top: .6rem; }
.don-count { font-family: var(--display); margin: 1.4rem 0 0; } .don-count strong { font-size: 1.6rem; color: var(--indigo); }
.don-wall { list-style: none; padding: 0; margin: 0 0 1.4rem; font-family: var(--display); } .don-wall li { padding: .6rem 0; border-top: 1px solid var(--line); } .don-wall span { display: block; color: var(--muted); font-size: .95rem; }
.sc-donate { background: #fdf3d6; border-radius: 14px; padding: .9rem 1.1rem; }
/* Anniversaires */
.bd-h { font-size: 1.7rem; margin: 2.4rem 0 1rem; } .bd-h:first-of-type { margin-top: 0; }
.bd-filter { font: 700 .95rem var(--display); margin-bottom: 1.6rem; } .bd-filter select { margin-left: .4rem; padding: .5rem .7rem; border: 2px solid var(--ink); border-radius: 10px; font: 400 1rem var(--display); background: #fff; }
.bd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1rem; }
.bd-card { position: relative; display: flex; gap: 1.1rem; align-items: center; background: var(--cotton); border-radius: 20px; padding: 1.2rem; font-family: var(--display); border: 3px solid transparent; }
.bd-card:hover { border-color: var(--gold); } .bd-card.is-today { background: var(--night); color: #fff; border-color: var(--gold); }
.bd-photo { flex: none; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--gold); color: var(--night); font: 800 2rem/1 var(--display); box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--gold); }
.bd-photo.big { width: clamp(120px, 18vw, 200px); height: clamp(120px, 18vw, 200px); font-size: 4rem; box-shadow: 0 0 0 5px var(--night), 0 0 0 10px var(--gold); }
.bd-when { margin: 0 0 .2rem; font-weight: 700; font-size: .88rem; color: var(--kola); } .is-today .bd-when { color: var(--gold); }
.bd-card h3 { font-size: 1.25rem; line-height: 1.2; margin: 0 0 .25rem; } .bd-card h3 a { color: inherit; text-decoration: none; } .bd-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.bd-meta { margin: 0 0 .25rem; font-size: .98rem; } .bd-meta strong { color: var(--indigo); } .is-today .bd-meta strong { color: var(--gold); }
.bd-counts { margin: 0; font-size: .85rem; color: var(--muted); } .is-today .bd-counts { color: #c9cdea; }
.bd-head { display: flex; gap: 2rem; align-items: center; } .bd-head h1 { font-size: clamp(2.2rem, 5.5vw, 4.2rem); }
.bd-name { font: 600 1.15rem/1.4 var(--display); color: #fff; margin: 0; } .bd-name strong { color: var(--gold); font-size: 1.4rem; } .bd-name span { display: block; font-weight: 400; color: #c9cdea; font-size: 1rem; }
.bd-text { font-size: 1.2rem; margin-bottom: 1.6rem; }
.bd-prayer { background: #fdf3d6; border-left: 8px solid var(--gold); border-radius: 0 16px 16px 0; padding: 1.2rem 1.4rem; margin-bottom: 1.6rem; font-family: var(--display); } .bd-prayer h2 { font-size: 1.15rem; margin: 0 0 .4rem; color: var(--gold-deep); } .bd-prayer p { margin: 0; font-size: 1.08rem; line-height: 1.55; }
.bd-actions { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin: 0 0 2.4rem; font-family: var(--display); } .bd-actions form { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; } .bd-actions span { font-weight: 600; color: var(--muted); font-size: .95rem; } .bd-actions .btn:disabled { opacity: .6; cursor: default; }
.bd-wishes h2 { font-size: 1.6rem; margin: 0 0 1rem; } .bd-wishes .form-card { margin-bottom: 1.6rem; }
.bd-wish { border-top: 2px solid var(--ink); padding: 1rem 0; font-family: var(--display); } .bd-wish p { margin: 0 0 .4rem; font-size: 1.08rem; line-height: 1.5; } .bd-wish footer { font-size: .88rem; color: var(--muted); }
.home-bdays { margin-top: 3.5rem; font-family: var(--display); } .home-bdays-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; } .home-bdays-head h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.home-bdays ul { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .8rem; }
.home-bdays li a { display: block; background: var(--cotton); border-left: 8px solid var(--gold); border-radius: 0 14px 14px 0; padding: .9rem 1.1rem; text-decoration: none; color: var(--ink); } .home-bdays li a:hover { background: var(--night); color: #fff; } .home-bdays strong { display: block; font-size: 1.1rem; } .home-bdays span { font-size: .9rem; opacity: .8; }
@media (max-width: 760px) { .bd-head { flex-direction: column; align-items: flex-start; gap: 1.2rem; } .bd-grid { grid-template-columns: 1fr; } }
@media (min-width: 901px) and (max-width: 1420px) { .site-header .nav-link { padding: .6rem .42rem; font-size: .92rem; } .site-header .search input { width: 8.5rem; } .site-header .nav > ul { gap: 0; } }
/* Cérémonies */
.cer-rings { background: var(--kola); color: #fff; letter-spacing: .04em; }
.cer-amp { color: var(--gold); font-weight: 500; }
.cer-other { color: #fff; font: 700 1rem var(--display); margin-left: 1rem; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 4px; } .cer-other:hover { color: var(--gold); }
.cer-program { background: var(--cotton); border-radius: 16px; padding: 1.2rem 1.4rem; margin-bottom: 1.6rem; font-family: var(--display); } .cer-program h2 { font-size: 1.15rem; margin: 0 0 .5rem; } .cer-program p { margin: 0; line-height: 1.7; }
.cer-about .cer-text { color: var(--ink); font-size: 1.1rem; line-height: 1.6; margin-bottom: .9rem; } .cer-about p + p { margin-top: .7rem; }
.home-bdays + .home-bdays { margin-top: 2.5rem; }
.cer-other + .cer-other { margin-left: 1.2rem; }

/* ---------- Mutuelles de développement ---------- */
.mu-mine { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; align-items: center; background: var(--cotton); border-left: 6px solid var(--gold); border-radius: 0 14px 14px 0; padding: 1rem 1.3rem; margin: 0 0 1.8rem; font-family: var(--display); }
.mu-mine a { font-weight: 700; color: var(--indigo); } .mu-mine small { font-weight: 500; color: var(--muted); }
.mu-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 2rem; }
.mu-card { display: flex; gap: 1.1rem; align-items: center; padding: 1.2rem 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; font-family: var(--display); }
.mu-card:hover strong { color: var(--indigo); text-decoration: underline; }
.mu-text { display: flex; flex-direction: column; min-width: 0; } .mu-text strong { font-size: 1.12rem; line-height: 1.25; color: var(--night); } .mu-text span, .mu-text small { color: var(--muted); }
.mu-logo { flex: none; width: 68px; height: 68px; border-radius: 14px; object-fit: cover; background: var(--indigo); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; font: 800 1.35rem/1 var(--display); letter-spacing: .02em; }
.mu-logo.big { width: 112px; height: 112px; font-size: 2.2rem; border: 3px solid var(--gold); border-radius: 20px; }
.mu-head { display: flex; gap: 1.8rem; align-items: center; }
.mu-feats { padding: 1.4rem 0 0; margin: 0 0 1rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem 2rem; color: var(--muted); }
.mu-feats p { margin: 0; } .mu-feats strong { display: block; color: var(--night); }
.mu-pick { display: flex; gap: .7rem; align-items: center; font-family: var(--display); font-weight: 700; } .mu-pick select { padding: .6rem .8rem; border: 2px solid var(--ink); border-radius: 10px; font: 400 1rem var(--display); background: #fff; max-width: 100%; }
.mu-projects, .mu-agenda, .mu-bureau { list-style: none; padding: 0; margin: 0 0 2rem; font-family: var(--display); }
.mu-projects li { padding: 1.2rem 0; border-top: 1px solid var(--line); } .mu-projects h3 { margin: 0 0 .4rem; font-size: 1.2rem; } .mu-projects p { margin: 0 0 .5rem; }
.mu-state { display: inline-block; font-size: .85rem; font-weight: 700; color: var(--muted); margin: 0 0 .2rem; } .mu-state.s-en_cours { color: var(--indigo); } .mu-state.s-termine { color: #1f7a4d; }
.mu-bar { height: 10px; background: var(--line); border-radius: 99px; overflow: hidden; max-width: 420px; } .mu-bar span { display: block; height: 100%; background: var(--gold); }
.mu-agenda li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.mu-agenda time { font-weight: 700; color: var(--indigo); } .mu-agenda time small, .mu-agenda span { display: block; font-weight: 500; color: var(--muted); }
.mu-bureau li { padding: .6rem 0; border-top: 1px solid var(--line); } .mu-bureau span { display: block; color: var(--muted); font-size: .95rem; }
.mu-pay { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-bottom: 1.5rem; align-items: start; } .mu-pay h2 { margin-top: 0; font-size: 1.3rem; }
.momo-how { background: var(--cotton); border-left: 5px solid var(--gold); padding: .9rem 1.1rem; margin: 0 0 1rem; font: 600 1rem/1.6 var(--display); border-radius: 0 10px 10px 0; }
.mu-tabs { gap: .2rem 1.4rem; font-size: .95rem; } .mu-tabs a { padding: .55rem 0; }
.mu-stats { list-style: none; padding: 0; margin: 0 0 2.2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; font-family: var(--display); }
.mu-stats li > * { display: block; padding: 1.1rem 1.2rem; border-top: 5px solid var(--gold); background: var(--cotton); border-radius: 0 0 14px 14px; text-decoration: none; color: var(--muted); height: 100%; }
.mu-stats strong { display: block; font-size: 1.9rem; line-height: 1.1; color: var(--indigo); } .mu-stats a:hover { background: #f0e9d8; }
.mu-start { padding-left: 1.2rem; margin: 0 0 1rem; } .mu-start li { margin-bottom: .5rem; }
.mu-scroll { overflow-x: auto; } .mu-off td { color: var(--muted); } .mu-off strong { font-weight: 500; }
.mu-actions { display: flex; gap: 1.2rem; align-items: center; margin: 0; } .mu-del { margin-top: 1rem; } .mu-del .linklike { color: #a8321f; }
.mu-pill { display: inline-block; padding: .15rem .7rem; border-radius: 99px; font-size: .85rem; font-weight: 700; } .mu-pill.ok { background: #dff3e6; color: #17603c; } .mu-pill.part { background: #fff0c9; color: #7a5600; } .mu-pill.none { background: #fbe3de; color: #96301f; }
.mu-intro { max-width: 760px; font-size: 1.1rem; }
.mu-partner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.5rem; padding: 1.2rem 0; border-top: 1px solid var(--line); font-family: var(--display); }
.mu-partner h3 { margin: 0; font-size: 1.15rem; } .mu-partner p { margin: .2rem 0; } .mu-partner summary { cursor: pointer; font-weight: 700; color: var(--indigo); } .mu-partner details form { margin-top: .8rem; }
@media (max-width: 860px) { .mu-stats { grid-template-columns: repeat(2, 1fr); } .mu-partner { grid-template-columns: 1fr; gap: .6rem; } .mu-head { flex-direction: column; align-items: flex-start; gap: 1rem; } .mu-agenda li { grid-template-columns: 1fr; gap: .2rem; } }

/* ---------- Mur des donateurs ---------- */
.dw-h { font-size: 1.5rem; margin: 2.4rem 0 1.2rem; padding-bottom: .5rem; border-bottom: 2px solid var(--ink); }
.dw-grid { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 2rem 1.5rem; font-family: var(--display); }
.dw-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; }
.dw-pic { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--indigo); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; font: 800 1.7rem/1 var(--display); box-shadow: 0 0 0 4px var(--gold); margin-bottom: .5rem; }
.dw-item strong { font-size: 1.05rem; line-height: 1.25; } .dw-item strong a { color: var(--indigo); } .dw-item span:not(.dw-pic) { color: var(--muted); font-size: .92rem; line-height: 1.4; }
.dw-companies { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.dw-co .dw-pic { width: 100%; max-width: 200px; height: 110px; border-radius: 14px; object-fit: contain; background: #fff; box-shadow: none; border: 1px solid var(--line); padding: .8rem; }
.dw-co span.dw-pic { background: var(--indigo); border: 0; }
.dw-mini { grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 1.2rem .6rem; } .dw-mini .dw-pic { width: 56px; height: 56px; font-size: 1.05rem; box-shadow: 0 0 0 3px var(--gold); } .dw-mini .dw-co .dw-pic { height: 56px; padding: .3rem; } .dw-mini strong { font-size: .85rem; font-weight: 600; }
.dw-foot { margin-top: 2.5rem; }
.don-presets[hidden] { display: none; }
@media (min-width: 901px) and (max-width: 1420px) { .site-header:has(.nav-user) .search input { width: 5.6rem; } .site-header:has(.nav-user) .nav-link { padding: .6rem .34rem; font-size: .9rem; } .site-header .nav-user a { padding-left: .7rem; padding-right: .7rem; font-size: .88rem; } }

/* ---------- Villes et villages, recherche étendue ---------- */
.vi-index { columns: 3 260px; column-gap: 2.5rem; font-family: var(--display); }
.vi-index section { break-inside: avoid; margin: 0 0 1.8rem; } .vi-index h2 { font-size: 2rem; line-height: 1; color: var(--gold); margin: 0 0 .5rem; padding-bottom: .4rem; border-bottom: 2px solid var(--ink); }
.vi-index ul { list-style: none; padding: 0; margin: 0; } .vi-index a { display: block; padding: .55rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.vi-index strong { display: block; font-size: 1.08rem; color: var(--night); } .vi-index span { color: var(--muted); font-size: .92rem; } .vi-index a:hover strong { color: var(--indigo); text-decoration: underline; }
.vi-photo { width: 100%; max-height: 440px; object-fit: cover; border-radius: 18px; margin: 0 0 1.6rem; }
.vi-note { margin-top: 2.5rem; } .vi-note h2 { margin-top: 0; font-size: 1.35rem; }
.vi-near { display: flex; flex-wrap: wrap; gap: .5rem; font-family: var(--display); } .vi-near a { padding: .3rem .8rem; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; color: var(--indigo); font-weight: 600; font-size: .95rem; } .vi-near a:hover { border-color: var(--indigo); }
.found { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem 2.5rem; margin: 0 0 2.5rem; font-family: var(--display); }
.found h2 { font-size: 1.15rem; margin: 0 0 .4rem; padding-bottom: .4rem; border-bottom: 2px solid var(--ink); } .found ul { list-style: none; padding: 0; margin: 0; }
.found li { padding: .55rem 0; border-bottom: 1px solid var(--line); } .found a { color: var(--indigo); } .found span { display: block; color: var(--muted); font-size: .92rem; }

/* ---------- Menu principal : bandeau utilitaire, sous-menus en colonnes ---------- */
.site-header .header-in { padding-top: 30px; }
.nav-util { position: absolute; top: 7px; right: 0; margin: 0; display: flex; gap: 1.3rem; align-items: center; font: 600 .86rem/1 var(--display); white-space: nowrap; }
.nav-util a { color: #c9cdea; text-decoration: none; } .nav-util a:hover { color: #fff; text-decoration: underline; }
.nav-util .nav-don { color: var(--night); background: var(--gold); padding: .38rem .85rem; border-radius: 999px; font-weight: 800; } .nav-util .nav-don:hover { background: #fff; color: var(--night); text-decoration: none; }
.site-header.is-scrolled .header-in { padding-top: 0; } .site-header.is-scrolled .nav-util { display: none; }
.site-header .nav-link { padding: .6rem .8rem; font-size: 1rem; }
.site-header .sub { width: 330px; left: 0; right: auto; }
.nav > ul > li:nth-last-child(-n+3) .sub { left: 0; right: auto; }
.sub ul { list-style: none; margin: 0; padding: 0; }
.site-header .sub-cols { display: none; gap: 0 1.2rem; padding: 1.4rem 1rem 1rem !important; }
.site-header .sub-2 { width: 620px; grid-template-columns: 1fr 1fr; } .site-header .sub-3 { width: 860px; grid-template-columns: repeat(3, 1fr); }
.has-sub.open > .sub-cols { display: grid; }
@media (hover: hover) and (min-width: 1081px) { .has-sub:hover > .sub-cols, .has-sub:focus-within > .sub-cols { display: grid; } }
.sub-title { margin: 0 0 .35rem; padding: 0 .6rem .45rem; font: 800 .82rem/1.2 var(--display); color: var(--kola); border-bottom: 2px solid var(--gold); }
.sub-group + .sub-group .sub-title { margin-top: 0; }
.site-header .sub a[aria-current] { color: var(--indigo); background: var(--indigo-soft); } .site-header .sub a[aria-current]::before { background: var(--kola); transform: translateY(-50%) rotate(45deg) scale(1.15); }
.sub-all { grid-column: 1 / -1; margin: .5rem 0 0; padding-top: .5rem; border-top: 1px solid var(--line); font-family: var(--display); } .site-header .sub .sub-all a { color: var(--indigo); font-weight: 800; }
@media (min-width: 1081px) and (max-width: 1420px) { .site-header .nav-link { padding: .6rem .62rem; font-size: .97rem; } .site-header .search input { width: 9rem; } .site-header .nav > ul { gap: .1rem; } }
@media (max-width: 1080px) {
  .site-header .header-in { padding-top: 0; }
  .nav-util { position: static; flex-wrap: wrap; gap: .6rem 1.1rem; padding: 1rem .9rem .4rem; margin-top: .6rem; border-top: 1px solid rgb(255 255 255 / .18); font-size: 1rem; order: 3; white-space: normal; }
  .site-header .nav .search { order: -1; margin-bottom: .8rem; }
  .site-header .nav-link { padding: .9rem .9rem; font-size: 1.12rem; border-bottom: 1px solid rgb(255 255 255 / .1); border-radius: 0; display: flex; justify-content: space-between; align-items: center; }
  .site-header .sub, .site-header .sub-cols { width: auto !important; margin-left: 0 !important; }
  .has-sub.open > .sub-cols { grid-template-columns: 1fr; gap: 1rem; }
  .site-header .sub a { padding-top: .75rem; padding-bottom: .75rem; font-size: 1.02rem; }
}
@media (min-width: 1081px) { .site-header .sub-long { width: 480px; } .sub-long ul { columns: 2; column-gap: .6rem; } .sub-long li { break-inside: avoid; } }
@media (max-width: 1080px) { .site-header .sub, .site-header .sub-cols { position: relative; top: auto; left: auto; } }
@media (max-width: 1080px) { .site-header .nav-link::before, .site-header .sub::after { display: none; } }

/* Menu sur une seule ligne (version 33) : tailles fluides, jamais de retour à la ligne au-dessus de 1080 px */
@media (min-width: 1081px) {
  .header-in { gap: clamp(.6rem, 1.4vw, 1.5rem); }
  .site-header .logo img, .site-header.is-scrolled .logo img { width: clamp(120px, 11vw, 190px); }
  .nav { flex-wrap: nowrap; gap: clamp(.5rem, 1.1vw, 1.25rem); min-width: 0; }
  .nav > ul { flex-wrap: nowrap; gap: 0; }
  .site-header .nav-link { white-space: nowrap; font-size: clamp(.88rem, 1.12vw, 1.05rem); padding: .6rem clamp(.35rem, .75vw, .85rem); }
  .site-header .nav-link::before { left: clamp(.35rem, .75vw, .85rem); right: clamp(.35rem, .75vw, .85rem); }
  .site-header .search { flex: none; }
  .site-header .search input { width: clamp(5rem, 8vw, 9.5rem); }
  .site-header:has(.nav-user) .nav-link { font-size: clamp(.88rem, 1.12vw, 1.05rem); padding: .6rem clamp(.35rem, .75vw, .85rem); }
}

/* Page d'accueil par blocs (version 33) */
.hero-solo .hero-in { grid-template-columns: 1fr; max-width: 60rem; }
.home-banner { flex-wrap: wrap; } .home-banner > div { flex: 1 1 18rem; } .home-banner p { margin: 0; line-height: 1.5; }
.home-banner.hb-gold { background: var(--gold); color: var(--night); border-bottom-color: var(--night); } .home-banner.hb-gold h2 { color: var(--night); }
.home-banner.hb-light { background: var(--indigo-soft, #eceefb); color: var(--night); border-bottom-color: var(--indigo); } .home-banner.hb-light h2 { color: var(--night); } .home-banner.hb-light .btn { background: var(--indigo); color: #fff; }
.home-banner .hb-photo { flex: none; width: 120px; height: 120px; object-fit: cover; border-radius: 16px; }
.hc-head p, .hc-intro { margin: .4rem 0 0; color: var(--muted, #555); max-width: 60ch; }
.hc-grid { display: grid; gap: 1.2rem; } .hc-2 { grid-template-columns: repeat(2, 1fr); } .hc-3 { grid-template-columns: repeat(3, 1fr); } .hc-4 { grid-template-columns: repeat(4, 1fr); }
.hc-card { display: flex; flex-direction: column; gap: .5rem; padding: 1.2rem 1.3rem; background: #fff; border: 2px solid var(--ink, #10153f); border-radius: 16px; text-decoration: none; color: inherit; font-family: var(--display); }
a.hc-card:hover { background: var(--gold); } .hc-card strong { font-size: 1.2rem; line-height: 1.2; } .hc-card span:not(.hc-img) { font-family: inherit; line-height: 1.45; opacity: .85; }
.hc-img { display: block; margin: -1.2rem -1.3rem .3rem; aspect-ratio: 16/9; overflow: hidden; border-radius: 14px 14px 0 0; } .hc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) { .hc-3, .hc-4 { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 560px) { .hc-2, .hc-3, .hc-4 { grid-template-columns: 1fr; } }
.home-text-in { max-width: 70ch; } .home-text-in h2 { margin-top: 0; }
.home-textband { background: var(--gold); color: var(--night); padding: 3rem 0; margin-top: 3rem; } .home-textband .home-text-in { max-width: 70ch; }
.home-proverb blockquote { margin: 0; font: 700 clamp(1.5rem, 3vw, 2.4rem)/1.25 var(--display); max-width: 30ch; border-left: 8px solid var(--gold); padding-left: 1.2rem; }
.home-proverb blockquote footer { font: 400 1rem/1.4 var(--body, inherit); margin-top: .7rem; opacity: .8; }
.home-list { display: grid; gap: 1rem; }
