/* =========================================================
   PSMH — Parti Socialiste Moderne d'Hayti
   Couleurs du parti (logo au lion) : noir, rouge #E0242F, orange #FEA81D
   ========================================================= */
:root {
    --noir: #1A1A1A;
    --noir-profond: #0A0A0A;
    --noir-doux: #111111;
    --red: #E0242F;
    --red-dark: #A3141C;
    --red-logo: #EB4048;
    --red-deep: #6D0607;
    --gold: #FEA81D;
    --cream: #FBF8F1;
    --paper: #ffffff;
    --ink: #161616;
    --muted: #66615C;
    --line: #e6e3da;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(0,0,0, .08);
    --font-display: 'Anton', Impact, 'Arial Narrow', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --bs-body-font-family: var(--font-body);
    --bs-body-color: var(--ink);
    --bs-body-bg: var(--cream);
    --bs-link-color-rgb: 224, 36, 47;
    --bs-link-hover-color-rgb: 163, 20, 28;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: var(--cream); color: var(--ink); font-family: var(--font-body); overflow-x: hidden; }
img { max-width: 100%; }

.skip-link { position: absolute; top: 8px; left: 8px; z-index: 2000; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; }

/* ---------- Typographie ---------- */
.display-title,
h1.display-title, h2.display-title {
    font-family: var(--font-display);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .5px;
    line-height: 1.02;
}
.section-title { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.05; margin-bottom: .75rem; }
.section-title .accent { color: var(--red); }
.kicker {
    display: inline-flex; align-items: center; gap: .5rem;
    font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--red); margin-bottom: .75rem;
}
.kicker::before { content: ''; width: 28px; height: 3px; background: currentColor; }
.text-noir { color: var(--noir) !important; }
.text-red { color: var(--red) !important; }
.text-gold { color: var(--gold) !important; }
.bg-noir { background: var(--noir) !important; }
.bg-ink { background: var(--noir-doux) !important; }
.lead { color: var(--muted); }
.kreyol { font-style: italic; }
.kreyol-big { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); text-transform: uppercase; line-height: 1; }
.kreyol-tag { display: inline-block; margin-top: 1rem; padding: .4rem .9rem; border-left: 4px solid var(--gold); background: rgba(255,255,255,.1); font-style: italic; font-weight: 600; }

/* ---------- Boutons ---------- */
.btn { white-space: nowrap; font-weight: 700; border-radius: 999px; padding: .6rem 1.25rem; }
.btn-lg { padding: .85rem 1.7rem; }
.btn-red { background: var(--red); color: #fff; border: 2px solid var(--red); }
.btn-red:hover, .btn-red:focus { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-noir { background: var(--noir); color: #fff; border: 2px solid var(--noir); }
.btn-noir:hover, .btn-noir:focus { background: var(--noir-profond); border-color: var(--noir-profond); color: #fff; }
.btn-gold { background: var(--gold); color: var(--ink); border: 2px solid var(--gold); }
.btn-gold:hover { background: #FFBA45; color: var(--ink); }
.btn-outline-noir { border: 2px solid var(--noir); color: var(--noir); background: transparent; }
.btn-outline-noir:hover { background: var(--noir); color: #fff; }
.btn-outline-light { border-width: 2px; }

/* ---------- Topbar / Header ---------- */
.topbar { background: var(--noir-doux); color: #D4D4D4; font-size: .82rem; position: relative; z-index: 1030; /* au-dessus de la barre collante (1020) pour que le menu Langues ne passe pas dessous */ }
.topbar .dropdown-menu { font-size: .9rem; }
.topbar .container { min-height: 38px; }
.topbar-slogan { font-weight: 600; letter-spacing: .03em; }
.topbar-slogan .bi { color: var(--gold); }
.topbar-link { color: #D4D4D4; text-decoration: none; padding: .45rem .7rem; font-weight: 500; }
.topbar-link:hover, .topbar-link.active { color: #fff; }
.topbar-link.active { box-shadow: inset 0 -2px 0 var(--gold); }

.site-header { background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .navbar { padding: .55rem 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; letter-spacing: 1px; color: var(--noir); }
.brand-text small { font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); margin-top: 3px; }
.site-footer .brand-text strong, .mobile-menu .brand-text strong { color: #fff; }
.site-header .nav-link { font-weight: 700; color: var(--ink); padding: .5rem .7rem !important; position: relative; white-space: nowrap; }
.site-header .nav-link::after { content: ''; position: absolute; left: .7rem; right: .7rem; bottom: .2rem; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); }
.site-header .nav-link.active { color: var(--noir); }
.navbar-toggler { border: 0; font-size: 2rem; color: var(--noir); padding: 0 .25rem; }
.navbar-toggler:focus { box-shadow: none; }

.mobile-menu { background: var(--noir); color: #fff; }
.mobile-link { color: #fff; text-decoration: none; font-family: var(--font-display); text-transform: uppercase; font-size: 1.5rem; padding: .35rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.mobile-link.active, .mobile-link:hover { color: var(--gold); }
.lang-pill { color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: .2rem .7rem; text-decoration: none; }
.lang-pill.active { background: #fff; color: var(--noir); }

/* ---------- Bande drapeau ---------- */
.flag-stripe { height: 8px; background: linear-gradient(90deg, var(--noir) 0 46%, var(--red) 46% 88%, var(--gold) 88% 100%); }
.flag-stripe.thin { height: 4px; }

/* ---------- Hero accueil ---------- */
.hero {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(circle at 85% 20%, rgba(254,168,29,.25), transparent 35%),
        linear-gradient(160deg, var(--noir) 0%, var(--noir-profond) 55%, #000000 100%);
    padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(5rem, 10vw, 8rem);
}
.hero::before { /* motif rayons de soleil */
    content: ''; position: absolute; right: -15%; top: -40%; width: 900px; height: 900px; border-radius: 50%;
    background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.05) 0 6deg, transparent 6deg 18deg);
    pointer-events: none;
}
.hero::after { /* vague rouge en bas */
    content: ''; position: absolute; left: -5%; right: -5%; bottom: -1px; height: 90px;
    background: var(--red); clip-path: polygon(0 60%, 18% 30%, 32% 55%, 50% 15%, 68% 55%, 84% 25%, 100% 60%, 100% 100%, 0 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-title { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: .95; margin-bottom: 1.25rem; }
.hero-title .hl { color: var(--gold); }
.hero-title .outline { color: transparent; -webkit-text-stroke: 2px #fff; }
.hero-lead { font-size: clamp(1.05rem, 1.8vw, 1.3rem); max-width: 620px; color: #E6E6E6; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: .35rem .9rem; font-weight: 700; font-size: .85rem; margin-bottom: 1.25rem; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(254,168,29,.25); }
.hero-number { font-family: var(--font-display); font-size: clamp(9rem, 22vw, 17rem); line-height: .8; color: transparent; -webkit-text-stroke: 3px rgba(255,255,255,.85); text-align: center; position: relative; }
.hero-number span { display: block; font-size: 1.6rem; letter-spacing: .3em; -webkit-text-stroke: 0; color: var(--gold); margin-top: 1rem; }
.hero-years { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; margin-top: 1.2rem; }
.hero-years span { background: #fff; color: var(--noir); font-weight: 800; padding: .25rem .7rem; border-radius: 6px; font-size: .9rem; }
.hero-years span:nth-child(2) { background: var(--red); color: #fff; }
.hero-years span:nth-child(3) { background: var(--gold); color: var(--ink); }

/* ---------- Ticker de slogans ---------- */
.ticker { background: var(--red); color: #fff; overflow: hidden; white-space: nowrap; border-bottom: 4px solid var(--noir-doux); }
.ticker-track { display: inline-flex; animation: ticker 40s linear infinite; padding: .7rem 0; }
.ticker-track span { font-family: var(--font-display); text-transform: uppercase; font-size: 1.35rem; letter-spacing: .04em; padding: 0 1.4rem; }
.ticker-track span::after { content: '★'; color: var(--gold); margin-left: 2.8rem; font-family: var(--font-body); font-size: 1rem; vertical-align: middle; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Page hero (pages intérieures) ---------- */
.page-hero {
    position: relative; color: #fff; overflow: hidden;
    background:
        repeating-linear-gradient(-45deg, rgba(255,255,255,.035) 0 2px, transparent 2px 14px),
        linear-gradient(135deg, var(--noir) 0%, var(--noir-profond) 70%);
    padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
}
.page-hero::after { content: ''; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border-radius: 50%; border: 40px solid rgba(224,36,47,.55); }
.page-hero .kicker { color: var(--gold); }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); margin-bottom: 1rem; }
.page-hero .lead { color: #E6E6E6; font-size: 1.15rem; }
.page-hero .flag-stripe { position: absolute; left: 0; right: 0; bottom: 0; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: #fff; }
.section-dark { background: var(--noir-doux); color: #fff; }
.section-dark .lead { color: #BDBDBD; }
.section-red { background: var(--red); color: #fff; }
.section-red .kicker, .section-dark .kicker { color: var(--gold); }

/* ---------- Cartes ---------- */
.card-psmh { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; height: 100%; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.card-psmh:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.12); }
.card-psmh .icon { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; font-size: 1.5rem; background: rgba(20,20,20,.08); color: var(--noir); margin-bottom: 1rem; }
.card-psmh.red .icon { background: rgba(224,36,47,.1); color: var(--red); }
.card-psmh.gold .icon { background: rgba(254,168,29,.18); color: #9A5B00; }
.card-psmh h3 { font-size: 1.2rem; font-weight: 800; }
.card-psmh p:last-child { margin-bottom: 0; }

.not-card { border-left: 5px solid var(--red); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; padding: 1.25rem 1.5rem; height: 100%; }
.not-card h3 { font-size: 1.05rem; font-weight: 800; display: flex; gap: .6rem; align-items: center; }
.not-card h3 .bi { color: var(--red); font-size: 1.4rem; }

/* Encart citation */
.quote-block { position: relative; font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.8rem, 4.5vw, 3.2rem); line-height: 1.05; }
.quote-block::before { content: '“'; position: absolute; left: -.1em; top: -.45em; font-size: 3em; color: var(--red); opacity: .9; line-height: 1; z-index: -1; }
.quote-block .hl { color: var(--gold); }

/* Encart accueil Qui sommes-nous */
.about-box { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.about-box .side { background: var(--red); color: #fff; padding: 2.5rem; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.about-box .side .big { font-family: var(--font-display); font-size: clamp(4rem, 9vw, 6.5rem); line-height: .9; }
.about-box .main { padding: 2.5rem; }

/* Statistiques */
.stat { text-align: center; padding: 1rem; }
.stat-num { font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; color: var(--gold); }
.stat-label { font-weight: 600; opacity: .85; margin-top: .4rem; }

/* ---------- Phases (timeline) ---------- */
.phase-card { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; height: 100%; box-shadow: var(--shadow); border: 1px solid var(--line); }
.phase-card .phase-top { padding: 1.5rem 1.75rem; color: #fff; }
.phase-card.p1 .phase-top { background: var(--noir); }
.phase-card.p2 .phase-top { background: var(--red); }
.phase-card.p3 .phase-top { background: var(--gold); color: var(--ink); }
.phase-card .phase-num { font-family: var(--font-display); font-size: 3.2rem; line-height: 1; opacity: .35; position: absolute; right: 1.25rem; top: 1rem; }
.phase-card .years { font-weight: 800; letter-spacing: .08em; font-size: .85rem; text-transform: uppercase; }
.phase-card .slogan { font-family: var(--font-display); text-transform: uppercase; font-size: 1.7rem; line-height: 1.05; margin: .4rem 0 .2rem; }
.phase-card .trad { font-style: italic; opacity: .85; font-size: .92rem; }
.phase-card .phase-body { padding: 1.5rem 1.75rem; }

.nav-phases { gap: .5rem; flex-wrap: wrap; }
.nav-phases .nav-link { border-radius: 999px; font-weight: 800; color: var(--ink); background: #fff; border: 2px solid var(--line); padding: .6rem 1.3rem; }
.nav-phases .nav-link.active { background: var(--noir); border-color: var(--noir); color: #fff; }
.nav-phases .nav-link[data-bs-target="#phase2"].active { background: var(--red); border-color: var(--red); }
.nav-phases .nav-link[data-bs-target="#phase3"].active { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.build-list { list-style: none; padding: 0; margin: 0; }
.build-list li { display: flex; gap: .9rem; padding: .85rem 0; border-bottom: 1px dashed var(--line); }
.build-list li:last-child { border-bottom: 0; }
.build-list .bi { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: rgba(20,20,20,.08); color: var(--noir); font-size: 1.15rem; }

.goal { background: var(--noir-doux); color: #fff; border-radius: var(--radius); padding: 1.25rem; text-align: center; height: 100%; }
.goal .v { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold); line-height: 1; }
.goal .l { font-size: .9rem; opacity: .85; margin-top: .35rem; }

/* ---------- Carte des départements ---------- */
.dept-panel { background: #fff; border-radius: 20px; padding: 2rem; box-shadow: var(--shadow); height: 100%; border-top: 6px solid var(--red); }
.dept-panel h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 2.4rem; color: var(--noir); margin: 0; }
.dept-panel dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--red); font-weight: 800; margin-top: 1rem; }
.dept-panel dd { margin: .2rem 0 0; font-weight: 600; }
.chip { display: inline-block; background: #F3EFE9; color: var(--noir); border-radius: 999px; padding: .2rem .7rem; font-size: .8rem; font-weight: 600; margin: .15rem; }

/* ---------- Équipe ---------- */
.team-card { background: #fff; border-radius: var(--radius); overflow: hidden; height: 100%; box-shadow: var(--shadow); text-align: center; }
.team-card .photo { aspect-ratio: 1 / 1; display: grid; place-items: center; background: linear-gradient(160deg, var(--noir), var(--noir-profond)); position: relative; }
.team-card:nth-child(even) .photo, .col:nth-child(even) .team-card .photo { background: linear-gradient(160deg, var(--red), var(--red-dark)); }
.team-card .photo span { font-family: var(--font-display); font-size: 3.2rem; color: #fff; letter-spacing: 2px; }
.team-card .photo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--gold); }
.team-card .body { padding: 1.25rem; }
.team-card h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: .2rem; }
.team-card .role { color: var(--red); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.team-card .parcours { color: var(--muted); font-size: .86rem; margin: .6rem 0 0; }

/* Organigramme */
.org { display: flex; flex-direction: column; align-items: center; gap: 0; }
.org-level { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; position: relative; padding: 1.4rem 0; width: 100%; }
.org-level + .org-level::before { content: ''; position: absolute; top: 0; left: 50%; width: 3px; height: 1.4rem; background: var(--noir); transform: translateX(-50%); }
.org-node { background: #fff; border: 2px solid var(--noir); color: var(--noir); border-radius: 12px; padding: .55rem 1rem; font-weight: 800; font-size: .9rem; text-align: center; }
.org-node small { display: block; font-weight: 500; color: var(--muted); font-size: .75rem; }
.org-node.top { background: var(--noir); color: #fff; font-size: 1.05rem; padding: .9rem 1.6rem; }
.org-node.top small { color: #D4D4D4; }
.org-node.red { border-color: var(--red); color: var(--red); }
.org-node.wide { min-width: min(100%, 420px); }

.dept-card { background: #fff; border-radius: var(--radius); padding: 1.4rem; border: 1px solid var(--line); height: 100%; }
.dept-card h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.6rem; color: var(--noir); margin: 0; }
.dept-card .coord { display: flex; gap: .75rem; align-items: center; margin: .9rem 0; padding: .7rem; background: var(--cream); border-radius: 10px; }
.dept-card .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--line); display: grid; place-items: center; color: var(--muted); font-size: 1.2rem; }
.badge-open { background: rgba(254,168,29,.2); color: #9A5B00; font-weight: 700; font-size: .7rem; border-radius: 999px; padding: .15rem .55rem; }

/* ---------- Valeurs ---------- */
.value-item { display: flex; gap: 1rem; padding: 1.25rem; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); height: 100%; }
.value-item .n { font-family: var(--font-display); font-size: 2rem; color: var(--gold); line-height: 1; min-width: 2.2rem; }
.value-item h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: .25rem; }
.value-item p { margin: 0; color: #BDBDBD; font-size: .93rem; }

/* Méthode */
.step { position: relative; padding: 1.5rem; background: #fff; border-radius: var(--radius); height: 100%; border: 1px solid var(--line); }
.step .n { width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--font-display); font-size: 1.4rem; display: grid; place-items: center; margin-bottom: .9rem; }
.step h3 { font-size: 1.1rem; font-weight: 800; }

/* Galerie */
.photo-ph { aspect-ratio: 4 / 3; border-radius: var(--radius); display: flex; align-items: flex-end; padding: 1rem; color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; position: relative; overflow: hidden;
    background: repeating-linear-gradient(45deg, rgba(255,255,255,.07) 0 10px, transparent 10px 20px), linear-gradient(160deg, var(--noir), var(--noir-profond)); }
.photo-ph.r { background: repeating-linear-gradient(45deg, rgba(255,255,255,.07) 0 10px, transparent 10px 20px), linear-gradient(160deg, var(--red), var(--red-dark)); }
.photo-ph.g { background: repeating-linear-gradient(45deg, rgba(0,0,0,.05) 0 10px, transparent 10px 20px), linear-gradient(160deg, var(--gold), #E08A00); color: var(--ink); }
.photo-ph .bi { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%); font-size: 2.6rem; opacity: .5; }

/* ---------- Articles ---------- */
.article-card { background: #fff; border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .25s ease; }
.article-card:hover { transform: translateY(-4px); }
.article-card .thumb { aspect-ratio: 16 / 9; display: grid; place-items: center; color: rgba(255,255,255,.9); font-size: 2.8rem; position: relative; }
.article-card .thumb .cat { position: absolute; left: 1rem; top: 1rem; background: #fff; color: var(--ink); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; border-radius: 999px; padding: .25rem .7rem; }
.thumb-annonce { background: linear-gradient(135deg, var(--noir), var(--noir-profond)); }
.thumb-mobilisation { background: linear-gradient(135deg, var(--red), var(--red-dark)); }
.thumb-formation { background: linear-gradient(135deg, var(--red-deep), #2A0203); }
.thumb-partenariat { background: linear-gradient(135deg, #FEA81D, #E08A00); }
.thumb-diaspora { background: linear-gradient(135deg, #1A1A1A, var(--red)); }
.thumb-presse { background: linear-gradient(135deg, #3A3A3A, var(--noir-doux)); }
.article-card .body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.article-card .meta { font-size: .8rem; color: var(--muted); font-weight: 600; margin-bottom: .5rem; }
.article-card h3 { font-size: 1.15rem; font-weight: 800; line-height: 1.25; }
.article-card p { color: var(--muted); font-size: .93rem; }
.article-card .more { margin-top: auto; font-weight: 800; color: var(--red); text-decoration: none; background: none; border: 0; padding: 0; text-align: left; }
.article-card .more:hover { text-decoration: underline; }

.filter-btn { border: 2px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: .45rem 1rem; font-weight: 700; font-size: .88rem; }
.filter-btn.active, .filter-btn:hover { background: var(--noir); border-color: var(--noir); color: #fff; }

/* ---------- Formulaires ---------- */
.form-panel { background: #fff; border-radius: 20px; padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--shadow); border-top: 6px solid var(--noir); }
.form-panel h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.5rem; color: var(--noir); margin: 1.5rem 0 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--line); }
.form-panel h3:first-of-type { margin-top: 0; }
.form-label { font-weight: 700; font-size: .9rem; }
.form-control, .form-select { border-radius: 10px; padding: .65rem .9rem; border-color: #DCD8D0; }
.form-control:focus, .form-select:focus { border-color: var(--noir); box-shadow: 0 0 0 .2rem rgba(20,20,20,.15); }
.form-check-input:checked { background-color: var(--noir); border-color: var(--noir); }
.check-tile { display: block; border: 2px solid var(--line); border-radius: 12px; padding: .75rem .9rem; cursor: pointer; height: 100%; font-weight: 600; font-size: .92rem; transition: all .15s; }
.check-tile:has(input:checked) { border-color: var(--noir); background: #F3EFE9; }
.check-tile input { margin-right: .5rem; }

.amount-btn { border: 2px solid var(--line); background: #fff; border-radius: 12px; padding: .9rem; font-weight: 800; font-size: 1.15rem; width: 100%; color: var(--ink); }
.btn-check:checked + .amount-btn { border-color: var(--red); background: var(--red); color: #fff; }
.pay-method { border: 2px solid var(--line); border-radius: 14px; padding: 1.1rem; background: #fff; height: 100%; }
.pay-method .bi { font-size: 1.6rem; color: var(--red); }

/* Avantages */
.benefit { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; }
.benefit .bi { font-size: 1.4rem; color: var(--gold); flex: 0 0 auto; margin-top: .1rem; }
.benefit h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: .2rem; }
.benefit p { margin: 0; color: #BDBDBD; font-size: .93rem; }

/* Tableaux */
.table-psmh { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.table-psmh table { margin: 0; }
.table-psmh th { background: var(--noir); color: #fff; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; border: 0; }
.table-psmh td, .table-psmh th { padding: .9rem 1.1rem; vertical-align: middle; }

/* Accordéon FAQ */
.faq .accordion-item { border: 0; margin-bottom: .75rem; border-radius: 12px !important; overflow: hidden; box-shadow: var(--shadow); }
.faq .accordion-button { font-weight: 800; padding: 1.15rem 1.35rem; }
.faq .accordion-button:not(.collapsed) { background: var(--noir); color: #fff; box-shadow: none; }
.faq .accordion-button:not(.collapsed)::after { filter: brightness(0) invert(1); }
.faq .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(20,20,20,.2); }

/* Budget donut */
.donut { width: min(320px, 80vw); aspect-ratio: 1; border-radius: 50%; position: relative; margin: 0 auto; }
.donut::after { content: ''; position: absolute; inset: 22%; background: var(--cream); border-radius: 50%; }
.donut-center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; z-index: 2; }
.donut-center strong { font-family: var(--font-display); font-size: 2.6rem; color: var(--noir); display: block; line-height: 1; }
.legend-row { display: flex; align-items: center; gap: .9rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.legend-row .sw { width: 16px; height: 16px; border-radius: 4px; flex: 0 0 auto; }
.legend-row .pct { font-family: var(--font-display); font-size: 1.6rem; margin-left: auto; color: var(--ink); }
.legend-bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: .35rem; }
.legend-bar span { display: block; height: 100%; width: 0; transition: width 1.2s ease; }

/* Documents */
.doc-item { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; background: #fff; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); height: 100%; transition: border-color .2s; }
.doc-item:hover { border-color: var(--red); color: var(--ink); }
.doc-item .bi { font-size: 1.8rem; color: var(--red); }
.doc-item small { color: var(--muted); display: block; }

/* Outils militant */
.template-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.template-card header { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); font-weight: 800; }
.template-card header .bi { font-size: 1.2rem; }
.template-card pre { white-space: pre-wrap; font-family: var(--font-body); font-size: .9rem; padding: 1.1rem; margin: 0; color: var(--ink); flex: 1; }
.copy-btn { font-size: .8rem; padding: .3rem .8rem; }
.day-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: .5rem; }
.day-cal .d { background: #fff; border-radius: 12px; padding: 1rem .75rem; text-align: center; border-top: 4px solid var(--noir); }
.day-cal .d:nth-child(even) { border-top-color: var(--red); }
.day-cal .d strong { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 1.15rem; }
.day-cal .d span { display: block; font-size: .82rem; font-weight: 700; margin-top: .3rem; }
.day-cal .d small { color: var(--muted); }
@media (max-width: 767.98px) { .day-cal { grid-template-columns: repeat(2, 1fr); } }

/* Page « bientôt » */
.soon { min-height: 50vh; display: grid; place-items: center; text-align: center; }
.soon .big-icon { width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1.5rem; background: var(--noir); color: #fff; font-size: 3rem; box-shadow: 0 0 0 12px rgba(20,20,20,.1), 0 0 0 24px rgba(224,36,47,.08); }

/* ---------- CTA + Footer ---------- */
.cta-band { background: linear-gradient(90deg, var(--red) 0%, var(--red-dark) 100%); color: #fff; padding: 2.75rem 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 28px solid rgba(255,255,255,.08); }
.site-footer { background: var(--noir-doux); color: #fff; }
.footer-title { font-family: var(--font-display); text-transform: uppercase; font-size: 1.15rem; letter-spacing: .05em; color: var(--gold); margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a { color: #BDBDBD; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.social-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; text-decoration: none; transition: background .2s; }
.social-btn:hover { background: var(--red); color: #fff; }
.social-btn.dark { background: var(--noir); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1rem 0; color: #9A9A9A; }

/* ---------- Animations d'apparition ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
    .ticker-track { animation: none; }
    html { scroll-behavior: auto; }
}

@media (max-width: 991.98px) {
    .g-5, .gx-5 { --bs-gutter-x: 1.5rem; }
    .hero-number { margin-top: 3rem; }
}
@media (max-width: 575.98px) {
    .about-box .side, .about-box .main { padding: 1.75rem; }
}

/* ---------- Lion du logo (hero) ---------- */
.hero-lion { position: relative; text-align: center; }
.hero-lion::before { content: ''; position: absolute; inset: 8% 8%; border-radius: 50%; background: radial-gradient(circle, rgba(254,168,29,.45), rgba(224,36,47,.25) 45%, transparent 70%); filter: blur(30px); }
.hero-lion img { position: relative; width: min(420px, 78vw); filter: drop-shadow(0 25px 45px rgba(0,0,0,.6)); animation: lion-in 1s ease-out both; }
.hero-lion .tag { font-family: var(--font-display); letter-spacing: .25em; color: var(--gold); font-size: 1.3rem; margin-top: 1rem; position: relative; }
@keyframes lion-in { from { opacity: 0; transform: scale(.92) translateY(15px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-lion img { animation: none; } }

/* ---------- Page article ---------- */
.article-card .thumb.has-img { background-size: cover; background-position: center; }
.article-card h3 a:focus-visible { outline: 3px solid var(--gold); }
.article-hero { position: relative; color: #fff; background: var(--noir-profond); overflow: hidden; }
.article-hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .45; }
.article-hero .bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.85)); }
.article-hero .container { position: relative; padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.article-hero h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); max-width: 900px; }
.article-hero .kicker { color: var(--gold); }
.article-body { font-size: 1.12rem; line-height: 1.75; color: #222; }
.article-body > * + * { margin-top: 1.25rem; }
.article-body p { margin-bottom: 0; }
.article-body h2, .article-body h3 { font-family: var(--font-display); text-transform: uppercase; line-height: 1.1; margin-top: 2.25rem; }
.article-body h2 { font-size: 2rem; }
.article-body h3 { font-size: 1.45rem; color: var(--red); }
.article-body a { color: var(--red); font-weight: 600; }
.article-body ul, .article-body ol { padding-left: 1.4rem; }
.article-body li + li { margin-top: .35rem; }
.article-body ul li::marker { color: var(--red); }
.art-figure { margin: 2rem 0; }
.art-figure img { width: 100%; border-radius: var(--radius); display: block; }
.art-figure figcaption { font-size: .88rem; color: var(--muted); margin-top: .6rem; padding-left: .8rem; border-left: 3px solid var(--gold); }
.art-quote { margin: 2rem 0; padding: 1.5rem 1.75rem; background: var(--noir); color: #fff; border-radius: var(--radius); position: relative; }
.art-quote::before { content: '“'; position: absolute; top: -.35em; left: .2em; font-family: var(--font-display); font-size: 5rem; color: var(--red); line-height: 1; }
.art-quote p { font-family: var(--font-display); text-transform: uppercase; font-size: 1.5rem; line-height: 1.2; }
.art-quote cite { display: block; margin-top: .75rem; color: var(--gold); font-style: normal; font-weight: 700; font-size: .95rem; }
.art-callout { padding: 1.1rem 1.35rem; border-radius: 12px; border-left: 6px solid; font-weight: 600; }
.art-callout.tone-red { background: #fde8e9; border-color: var(--red); color: #5e0a10; }
.art-callout.tone-noir { background: var(--noir); border-color: var(--gold); color: #fff; }
.art-callout.tone-gold { background: #fff3dd; border-color: var(--gold); color: #5a3600; }
.art-button { text-align: center; margin: 2rem 0; }
.art-button .btn { color: #fff; }
.art-video { margin: 2rem 0; border-radius: var(--radius); overflow: hidden; background: #000; }
.art-divider { border: 0; height: 6px; width: 120px; margin: 2.5rem auto; opacity: 1; background: linear-gradient(90deg, var(--noir) 0 33%, var(--red) 33% 66%, var(--gold) 66%); border-radius: 3px; }
.share-btn { width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--noir); color: #fff; text-decoration: none; border: 0; }
.share-btn:hover { background: var(--red); color: #fff; }

/* ---------- Carte d'Hayti ---------- */
.map-frame { position: relative; border-radius: 22px; overflow: hidden; background: #0b0b0b; box-shadow: 0 25px 60px rgba(0,0,0,.25); border: 6px solid var(--noir); outline: 2px solid var(--gold); outline-offset: -12px; }
.haiti-map { display: block; width: 100%; height: auto; font-family: var(--font-body); }
.hm-sea-label { fill: rgba(255,255,255,.35); font-size: 13px; font-style: italic; letter-spacing: .12em; }
.hm-sea-label.big { font-family: var(--font-display); font-style: normal; font-size: 22px; letter-spacing: .4em; fill: rgba(254,168,29,.45); }
.hm-sea-label.small { font-size: 11px; letter-spacing: .05em; }
.hm-compass text { fill: var(--gold); font-family: var(--font-display); font-size: 16px; }
.hm-dept { cursor: pointer; outline: none; }
.hm-dept path { stroke: #f5efe4; stroke-width: 1.6; stroke-linejoin: round; transition: fill .25s ease; }
.hm-dept.tone-0 path { fill: #c81d27; }
.hm-dept.tone-1 path { fill: #a3141c; }
.hm-dept.tone-2 path { fill: #d9363f; }
.hm-dept.tone-3 path { fill: #8c1118; }
.hm-dept:hover path, .hm-dept:focus-visible path { fill: #3a3a3a; }
.hm-dept.active path { fill: var(--gold); stroke: #fff; stroke-width: 3; filter: url(#hm-glow); }
.hm-dept:focus-visible path { stroke: var(--gold); stroke-width: 3; }
.hm-labels { pointer-events: none; }
.hm-name { font-family: var(--font-display); font-size: 15px; letter-spacing: .08em; fill: #fff; paint-order: stroke; stroke: rgba(0,0,0,.55); stroke-width: 3px; }
.hm-city { fill: #fff; stroke: var(--noir); stroke-width: 2; }
.hm-capital { fill: var(--gold); stroke: var(--noir); stroke-width: 1.5; }
.hm-city-name { font-size: 12px; font-weight: 700; fill: #fff; paint-order: stroke; stroke: var(--noir); stroke-width: 3px; opacity: 0; transition: opacity .2s; }
[data-label].active .hm-name { fill: var(--noir); stroke: rgba(255,255,255,.6); }
[data-label].active .hm-city-name { opacity: 1; }
[data-label].active .hm-city { fill: var(--red); stroke: #fff; }
.dept-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.dept-chip { border: 2px solid var(--line); background: #fff; border-radius: 999px; padding: .3rem .85rem; font-weight: 700; font-size: .85rem; color: var(--ink); }
.dept-chip:hover { border-color: var(--noir); }
.dept-chip.active { background: var(--noir); border-color: var(--noir); color: var(--gold); }
@media (max-width: 575.98px) { .hm-name { font-size: 20px; } .hm-sea-label.big { font-size: 18px; } .map-frame { border-width: 4px; outline-offset: -9px; } }

/* ---------- Membres ---------- */
.member-card { position: relative; display: flex; align-items: center; gap: .9rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; height: 100%; box-shadow: 0 4px 14px rgba(0,0,0,.04); }
.member-avatar { width: 52px; height: 52px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.25rem; color: #fff; background: var(--noir); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--red); }
.member-avatar.tone-1 { background: var(--red); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--noir); }
.member-avatar.tone-2 { background: var(--gold); color: var(--noir); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--noir); }
.member-avatar.lg { width: 72px; height: 72px; font-size: 1.7rem; }
.min-w-0 { min-width: 0; }
.badge-new { position: absolute; top: -8px; right: 10px; background: var(--gold); color: var(--noir); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: .2rem .55rem; border-radius: 999px; }
.verify-box { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 1.25rem; }
a.dept-chip { text-decoration: none; display: inline-block; }
.pagination .page-link { color: var(--noir); }
.pagination .active > .page-link { background: var(--noir); border-color: var(--noir); color: var(--gold); }

.member-verified { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.12); border: 2px solid #1C7C54; }
.mv-head { background: #1C7C54; color: #fff; font-family: var(--font-display); letter-spacing: .12em; font-size: 1.3rem; padding: .7rem 1.4rem; }
.mv-body { display: flex; gap: 1.25rem; align-items: center; padding: 1.5rem; flex-wrap: wrap; }
.mv-name { font-family: var(--font-display); text-transform: uppercase; font-size: 1.9rem; line-height: 1.05; }
.mv-num { font-weight: 800; color: var(--red); letter-spacing: .08em; margin: .2rem 0 .75rem; }
.mv-dl { display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0; }
.mv-dl dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.mv-dl dd { margin: 0; font-weight: 600; }
