/* =========================================================
   FESTIVAL BI-WÔRI — Feuille de style commune
   Structure inspirée des références fournies (MetaSource),
   palette adaptée : savane ivoirienne (terre, vert, ocre).
   Les couleurs sont des tokens : remplacez-les par les hex
   exacts de la charte dès qu'ils sont disponibles.
   ========================================================= */

:root {
  --ink: #10241A;          /* vert nuit — remplace le bleu marine */
  --ink-2: #173826;
  --green: #1E6B3C;
  --green-soft: #2F8A52;
  --ocre: #E07B1A;         /* accent principal (liens, boutons) */
  --ocre-dark: #B85E0C;
  --sun: #F2B33D;
  --terre: #7E3514;
  --text: #1C2B22;
  --muted: #5B6A61;
  --line: #E3DED4;
  --surface: #F6F2EA;      /* gris chaud des cartes */
  --surface-2: #EFE9DD;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(16, 36, 26, .08);
  --container: 1200px;
  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Montserrat", "Segoe UI", Arial, sans-serif;
  --grad-cta: linear-gradient(120deg, #10241A 0%, #1E6B3C 48%, #7E3514 100%);
  --grad-band: linear-gradient(120deg, #1E6B3C 0%, #2F8A52 55%, #E07B1A 130%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ocre-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: 24px; }
.center { text-align: center; }
.narrow { max-width: 780px; margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ocre-dark);
  margin-bottom: 14px;
}
.on-dark .eyebrow, .hero .eyebrow { color: var(--sun); }

/* ---------- Boutons (pilules) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: .92rem; font-family: var(--font-head);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
  text-decoration: none !important; line-height: 1.2;
}
.btn::after { content: "›"; font-size: 1.2em; line-height: 0; transform: translateY(-1px); }
.btn.no-arrow::after { content: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ocre); color: #fff; }
.btn-primary:hover { background: var(--ocre-dark); }
.btn-light { background: #fff; color: var(--ink); }
.btn-outline-light { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.link-arrow { font-weight: 700; color: var(--ink); font-family: var(--font-head); }
.link-arrow::after { content: " ›"; color: var(--ocre); }

/* =========================================================
   EN-TÊTE + MEGA MENU
   ========================================================= */
.topbar { background: var(--white); font-size: .86rem; }
.topbar .container { display: flex; justify-content: flex-end; align-items: center; gap: 22px; min-height: 40px; }
.topbar a { color: var(--ink); font-weight: 500; }
.topbar .sep { width: 1px; height: 18px; background: var(--line); }
.topbar .tag { color: var(--ocre-dark); font-weight: 700; }

.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.header-main .container { display: flex; align-items: center; justify-content: space-between; min-height: 86px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none !important; }
.brand img { height: 70px; width: auto; display: block; flex: none; }
.mobile-top .brand img { height: 56px; }
.site-footer .brand img { height: 118px; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; letter-spacing: .01em; line-height: 1; }
.brand-name small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .16em; color: var(--muted); margin-top: 4px; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-item {
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--ink);
  padding: 10px 14px; display: flex; flex-direction: column; align-items: center; gap: 0;
  position: relative;
}
.nav-item .label { border-bottom: 2px solid transparent; padding-bottom: 2px; }
.nav-item .chev { font-size: .7rem; line-height: 1; margin-top: 2px; transition: transform .2s; }
.nav-item[aria-expanded="true"] .label, .nav-item.is-current .label { color: var(--ocre-dark); border-color: var(--ocre); }
.nav-item[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-item:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.btn-contact { border: 2px solid var(--ink); color: var(--ink); padding: 11px 24px; border-radius: 999px; font-weight: 700; font-family: var(--font-head); margin-left: 12px; }
.btn-contact:hover, .btn-contact.is-current { background: var(--ink); color: #fff; text-decoration: none; }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 30px 50px rgba(16,36,26,.12);
  display: none;
}
.mega.open { display: block; animation: megaIn .18s ease-out; }
@keyframes megaIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega-inner { display: grid; grid-template-columns: 1.05fr 2.1fr 1.25fr; min-height: 380px; max-width: 1400px; margin: 0 auto; }
.mega-intro { padding: 56px 40px 48px 64px; border-right: 1px solid var(--line); margin: 20px 0; }
.mega-intro h3 { font-size: 1.7rem; font-weight: 800; }
.mega-intro p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.mega-intro .btn { margin-top: 10px; padding: 16px 26px; font-size: 1.05rem; }
.mega-col { padding: 60px 48px; }
.mega-col.alt { background: var(--surface); }
.mega-label { font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--ink); margin-bottom: 30px; }
.mega-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 36px; }
.mega-col.alt .mega-links { grid-template-columns: 1fr; }
.mega-links a { font-family: var(--font-head); font-weight: 700; font-size: 1.22rem; color: var(--ink); line-height: 1.45; }
.mega-links a::after { content: " ›"; color: var(--ocre); font-weight: 800; }
.mega-links a:hover { color: var(--ocre-dark); text-decoration: none; }
.mega-links a small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .85rem; color: var(--muted); margin-top: 2px; }

.mega-links.compact { gap: 14px 30px; }
.mega-links.compact a { font-size: 1.02rem; line-height: 1.35; }

/* Sélecteur de langue */
.lang-switch { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; font-size: .78rem; font-weight: 700; font-family: var(--font-head); }
.lang-switch > * { padding: 4px 11px; line-height: 1.4; }
.lang-switch strong { background: var(--ink); color: #fff; }
.lang-switch a { color: var(--ink); }
.lang-switch a:hover { background: var(--surface); text-decoration: none; }
.site-footer .lang-switch { margin-top: 6px; }
.mobile-actions { display: none; align-items: center; gap: 12px; }
.m-direct { display: flex; justify-content: space-between; padding: 18px 0; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.m-lang { padding: 18px 0 0; }

/* Pages dispositifs */
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.pill-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .85rem; font-weight: 600; color: var(--ink); }
.cards.benefits .card { background: #fff; border: 1px solid var(--line); }
.status-banner { display: inline-flex; gap: 10px; align-items: center; background: rgba(242,179,61,.16); border: 1px solid rgba(242,179,61,.5); color: #FCE3AE; padding: 8px 16px; border-radius: 999px; font-size: .82rem; font-weight: 700; margin-bottom: 18px; }
.fiche .more { display: inline-block; margin-top: 16px; }

.burger { display: none; background: none; border: 2px solid var(--ink); border-radius: 10px; width: 46px; height: 42px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; }

/* Menu mobile plein écran avec accordéons */
.mobile-menu { position: fixed; inset: 0; background: #fff; z-index: 200; overflow-y: auto; padding: 18px 20px 40px; display: none; }
.mobile-menu.open { display: block; }
.mobile-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mobile-close { background: none; border: 0; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--ink); }
.m-acc { border-bottom: 1px solid var(--line); }
.m-acc > button { width: 100%; background: none; border: 0; text-align: left; padding: 18px 0; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--ink); display: flex; justify-content: space-between; cursor: pointer; }
.m-acc > button[aria-expanded="true"] { color: var(--ocre-dark); }
.m-acc .m-panel { display: none; padding: 0 0 16px; }
.m-acc .m-panel.open { display: block; }
.m-panel .mega-label { margin: 10px 0 6px; font-size: .7rem; color: var(--muted); }
.m-panel a { display: block; padding: 8px 0; font-weight: 700; color: var(--ink); }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 22px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  background-color: var(--ink);
  background-image:
    radial-gradient(1200px 500px at 85% -10%, rgba(224,123,26,.28), transparent 60%),
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  color: #E7EFE9;
  padding-block: 84px 96px;
}
.hero h1 { color: #fff; max-width: 820px; }
.hero p { font-size: 1.08rem; max-width: 720px; color: #D5E1D8; }
.hero .watermark { position: absolute; right: -60px; bottom: -80px; width: 460px; opacity: .07; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.hero-grid .ph { min-height: 340px; }
.hero.compact { padding-block: 64px 72px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; font-weight: 600; color: #fff; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.devise { font-family: var(--font-head); font-weight: 700; color: var(--sun); font-size: 1rem; letter-spacing: .02em; margin-bottom: 10px; }
.breadcrumb { font-size: .8rem; color: #AFC3B5; margin-bottom: 18px; }
.breadcrumb a { color: #fff; }

/* Bande de chiffres (overlap) */
.stats-band { margin-top: -56px; position: relative; z-index: 2; }
.stats {
  background: var(--grad-band); color: #fff; border-radius: var(--radius-lg);
  display: grid; grid-template-columns: repeat(4, 1fr); padding: 38px 20px; box-shadow: var(--shadow);
}
.stats.three { grid-template-columns: repeat(3, 1fr); }
.stat { text-align: center; padding: 6px 16px; border-right: 1px solid rgba(255,255,255,.22); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; }
.stat span { font-size: .88rem; color: #F1F6F2; }
.stat .badge { margin-top: 8px; }
.stats-plain { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-plain .stat { border-right: 1px solid var(--line); padding: 34px 16px; }
.stats-plain .stat:last-child { border-right: 0; }
.stats-plain .stat strong { color: var(--ink); }
.stats-plain .stat span { color: var(--muted); }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding-block: 88px; }
.section.tight { padding-block: 60px; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--ink); color: #D5E1D8; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-purple { background: linear-gradient(160deg, #10241A 0%, #1B4A2F 60%, #5A2A10 100%); color: #D9E4DC; }
.section-purple h2, .section-purple h3 { color: #fff; }
.section-head { max-width: 800px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.04rem; }
.section-dark .section-head p, .section-purple .section-head p { color: #C3D2C8; }
.lead { font-size: 1.12rem; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.text-left { grid-template-columns: 1fr 1.1fr; align-items: start; }
.split .ph { min-height: 320px; }
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border-radius: 3px; background: var(--ocre); transform: rotate(45deg); }
.section-dark .checklist li::before { background: var(--sun); }

/* Emplacement photo "à venir" */
.ph {
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(16,36,26,.05) 0 12px, rgba(16,36,26,.0) 12px 24px),
    var(--surface-2);
  border: 1.5px dashed #C9BFAE;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  color: var(--muted); padding: 24px; min-height: 220px; font-size: .88rem;
}
.ph svg { width: 54px; height: 54px; opacity: .45; margin-bottom: 10px; }
.ph strong { color: var(--ink); font-family: var(--font-head); display: block; }
.hero .ph, .section-dark .ph, .cta-banner .ph { background: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 12px, transparent 12px 24px), rgba(255,255,255,.04); border-color: rgba(255,255,255,.3); color: #C3D2C8; }
.hero .ph strong, .section-dark .ph strong, .cta-banner .ph strong { color: #fff; }

/* Cartes */
.cards { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border-radius: var(--radius); padding: 28px 26px; transition: transform .2s, box-shadow .2s; border: 1px solid transparent; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line); }
.card h3 { margin-bottom: 10px; }
.card h3 a { color: var(--ink); }
.card h3 a::after { content: " ›"; color: var(--ocre); }
.card p { color: var(--muted); font-size: .93rem; margin: 0; }
.card .num { font-family: var(--font-head); font-weight: 800; color: var(--ocre); font-size: .85rem; letter-spacing: .1em; display: block; margin-bottom: 10px; }
.card .ph { min-height: 150px; margin: -8px -6px 20px; }
.card-dark { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.card-dark h3, .card-dark h3 a { color: #fff; }
.card-dark p { color: #C3D2C8; }
.icon-dot { width: 46px; height: 46px; border-radius: 12px; background: #fff; display: grid; place-items: center; margin-bottom: 18px; color: var(--green); }
.icon-dot svg { width: 26px; height: 26px; }

/* Liste de cartes empilées (colonne droite) */
.stack { display: grid; gap: 16px; }
.stack .card { background: #fff; border: 1px solid var(--line); }
.section-dark .stack .card { background: var(--ink-2); border-color: rgba(255,255,255,.08); }
.section-dark .stack .card h3 { color: #fff; }
.section-dark .stack .card p { color: #BFD0C4; }

/* Citation */
.quote { text-align: center; max-width: 900px; margin: 0 auto; }
.quote .mark { font-family: Georgia, serif; font-size: 4rem; line-height: .6; color: var(--ocre); display: block; margin-bottom: 18px; }
.quote blockquote { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.9rem); color: var(--ink); line-height: 1.35; }
.section-dark .quote blockquote, .section-purple .quote blockquote { color: #fff; }
.quote cite { display: block; margin-top: 18px; font-style: normal; font-size: .85rem; color: var(--muted); }
.quotes-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.quotes-2 .q { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 44px 36px; text-align: center; }

/* Note "brouillon à valider" */
.draft-note { display: inline-flex; align-items: center; gap: 8px; background: #FFF3D6; color: #7A4B00; border: 1px dashed #E0A93A; border-radius: 8px; padding: 6px 12px; font-size: .78rem; font-weight: 600; margin-top: 14px; }
.draft-note::before { content: "✎"; }

/* Badges statut des chiffres */
.badge { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; line-height: 1.3; }
.badge-mesure { background: #DDF2E3; color: #145A2E; }
.badge-objectif { background: #FDE9D3; color: #8A4608; }
.badge-estimation { background: #E4E7F5; color: #33407A; }
.badge-amesurer { background: #EEE; color: #555; }
.stats .badge-mesure { background: rgba(255,255,255,.95); }
.stats .badge-objectif, .stats .badge-estimation { background: rgba(255,255,255,.9); }
.legend { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: center; font-size: .88rem; color: var(--muted); }
.legend div { display: flex; gap: 10px; align-items: center; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.step { background: var(--surface); border-radius: var(--radius); padding: 28px 26px; }
.section-purple .step, .section-dark .step { background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.1); }
.step h3 { font-size: 1.05rem; }
.step h3::before { counter-increment: step; content: counter(step) ". "; color: var(--ocre); }
.section-purple .step h3::before, .section-dark .step h3::before { color: var(--sun); }
.step p { font-size: .92rem; color: var(--muted); margin: 0; }
.section-purple .step p, .section-dark .step p { color: #C9D6CD; }
.step .time { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ocre-dark); margin-bottom: 8px; }
.section-purple .step .time { color: var(--sun); }

/* Timeline programme */
.timeline { position: relative; max-width: 960px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 150px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-row { display: grid; grid-template-columns: 150px 1fr; gap: 40px; padding: 0 0 38px; position: relative; }
.tl-row::before { content: ""; position: absolute; left: 144px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--ocre); box-shadow: 0 0 0 5px #fff; }
.tl-when { font-family: var(--font-head); font-weight: 800; color: var(--ink); text-align: right; padding-right: 18px; }
.tl-when small { display: block; font-weight: 600; color: var(--muted); font-size: .8rem; }
.tl-body { background: var(--surface); border-radius: var(--radius); padding: 22px 26px; }
.tl-body ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: .94rem; }

/* Tableau */
.table-wrap { overflow-x: auto; border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 640px; }
th, td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--font-head); font-size: .85rem; color: var(--ink); background: #fff; }
tbody th { font-weight: 700; color: var(--ink); width: 24%; }
td { color: var(--muted); }
.section-dark .table-wrap { box-shadow: 0 0 0 1px rgba(255,255,255,.1); }

/* Bannière CTA dégradée */
.cta-banner {
  background: var(--grad-cta); border-radius: var(--radius-lg); color: #E6EEE8;
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; position: relative;
}
.cta-banner .cta-text { padding: 64px 56px; position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; }
.cta-banner .ph { border-radius: 0; border: 0; border-left: 1.5px dashed rgba(255,255,255,.25); min-height: 100%; }
.cta-banner .watermark { position: absolute; left: 44%; bottom: -60px; width: 300px; opacity: .08; }

/* FAQ */
.faq { max-width: 900px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 2px 6px rgba(16,36,26,.04); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; font-family: var(--font-head); font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "›"; color: var(--ocre); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(90deg); }
.faq details > div { padding: 0 26px 22px; color: var(--muted); }

/* Pastilles domaines */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.section-dark .chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); color: #fff; }

/* Formulaires */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 40px 38px; box-shadow: 0 20px 50px rgba(0,0,0,.18); color: var(--text); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-size: .82rem; font-weight: 600; color: var(--ink); display: block; margin-bottom: 6px; }
input, select, textarea { width: 100%; font: inherit; font-size: .95rem; padding: 11px 13px; border: 1px solid #CFC7B8; border-radius: 8px; background: #fff; color: var(--text); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ocre); border-color: var(--ocre); }
textarea { min-height: 110px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--muted); }
.consent input { width: auto; margin-top: 4px; }
.form-card .btn { margin-top: 8px; }
.form-msg { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 8px; background: #DDF2E3; color: #145A2E; font-size: .88rem; font-weight: 600; }
.form-msg.show { display: block; }
.form-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }

/* Onglets de formulaires (page Participer) */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tab { background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 700; font-family: var(--font-head); color: var(--ink); cursor: pointer; font-size: .9rem; }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Mobile money */
.momo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.momo .card { background: #fff; text-align: center; }
.momo .logo-dot { width: 58px; height: 58px; border-radius: 16px; margin: 0 auto 14px; display: grid; place-items: center; font-weight: 800; font-family: var(--font-head); color: #fff; font-size: .85rem; }

/* Carte OSM */
.map { width: 100%; height: 420px; border: 0; border-radius: var(--radius); display: block; }

/* Encart info */
.callout { border-left: 4px solid var(--ocre); background: var(--surface); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; font-size: .93rem; color: var(--muted); }
.callout strong { color: var(--ink); }

/* Fiches dispositifs */
.fiche { display: grid; grid-template-columns: 90px 1fr 1fr; gap: 34px; padding: 44px 0; border-bottom: 1px solid var(--line); align-items: start; }
.fiche:last-child { border-bottom: 0; }
.fiche .n { font-family: var(--font-head); font-weight: 800; font-size: 3rem; color: var(--ocre); line-height: 1; }
.fiche dl { margin: 0; display: grid; gap: 14px; }
.fiche dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--ocre-dark); }
.fiche dd { margin: 2px 0 0; color: var(--muted); font-size: .94rem; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery .ph { min-height: 180px; }
.gallery .ph.big { grid-column: span 2; grid-row: span 2; }

/* Filigrane arbre / séparateur */
.tree-sep { display: flex; align-items: center; gap: 18px; justify-content: center; margin: 0 auto 26px; color: var(--ocre); }
.tree-sep::before, .tree-sep::after { content: ""; height: 1px; width: 70px; background: currentColor; opacity: .5; }
.tree-sep svg { width: 30px; height: 30px; }

/* Bloc partenaires (masqué tant qu'aucun partenariat signé) */
.partners-block[hidden] { display: none !important; }

/* =========================================================
   PIED DE PAGE
   ========================================================= */
.site-footer { background: #fff; padding-block: 72px 30px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-size: .95rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; font-size: .9rem; }
.site-footer li a { color: var(--text); }
.site-footer li a::after { content: " ›"; color: var(--ocre); }
.footer-contact { font-size: .9rem; color: var(--muted); margin-top: 18px; }
.footer-devise { font-family: var(--font-head); font-weight: 700; color: var(--green); margin-top: 16px; font-size: .95rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.socials { display: flex; gap: 14px; }
.socials a { font-weight: 700; color: var(--ink); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .main-nav, .topbar { display: none; }
  .burger { display: block; }
  .mobile-actions { display: flex; }
  .mega { display: none !important; }
  .cards.four { grid-template-columns: repeat(2, 1fr); }
  .steps.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .section { padding-block: 64px; }
  .hero { padding-block: 60px 90px; }
  .hero-grid, .split, .split.text-left, .form-section, .cta-banner, .quotes-2 { grid-template-columns: 1fr; gap: 36px; }
  .cards, .steps, .momo { grid-template-columns: repeat(2, 1fr); }
  .stats, .stats-plain { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .stats.three { grid-template-columns: 1fr; }
  .stat:nth-child(2n) { border-right: 0; }
  .stats.three .stat { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner .cta-text { padding: 44px 30px; }
  .cta-banner .ph { min-height: 200px; border-left: 0; border-top: 1.5px dashed rgba(255,255,255,.25); }
  .fiche { grid-template-columns: 1fr; gap: 16px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .timeline::before, .tl-row::before { display: none; }
  .tl-row { grid-template-columns: 1fr; gap: 10px; }
  .tl-when { text-align: left; }
}
@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .cards, .cards.two, .cards.four, .steps, .steps.four, .momo, .form-grid, .footer-grid, .stats, .stats-plain { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; }
  .form-card { padding: 28px 20px; }
  .brand-name { font-size: 1.2rem; }
  .brand img { height: 54px; }
  .gallery .ph.big { grid-column: auto; grid-row: auto; }
  .gallery { grid-template-columns: 1fr; }
}
