/* ==========================================================================
   OEPP / PPEA — Feuille de style du site public
   Palette issue du logo officiel : bleu institutionnel, bleu nuit, azur (carte), or (orbite)
   ========================================================================== */

/* ---------- Police Montserrat (locale, aucun CDN) ----------
   Fichiers variables (graisses 100 à 900) optimisés pour le web : public/fonts/Montserrat/web/
   Le TTF d'origine sert de repli pour les très anciens navigateurs. */
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/Montserrat/web/montserrat-var.woff2") format("woff2"),
         url("../fonts/Montserrat/Montserrat-VariableFont_wght.ttf") format("truetype");
}
@font-face {
    font-family: "Montserrat";
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/Montserrat/web/montserrat-italic-var.woff2") format("woff2"),
         url("../fonts/Montserrat/Montserrat-Italic-VariableFont_wght.ttf") format("truetype");
}

:root {
    --oepp-blue: #0b2e8f;
    --oepp-blue-600: #123aa6;
    --oepp-navy: #0a1f5c;
    --oepp-navy-900: #071543;
    --oepp-azure: #4da8f0;
    --oepp-azure-100: #e6f2fd;
    --oepp-gold: #d99a00;
    --oepp-gold-soft: #f6e7bf;
    --oepp-bg: #f5f8fc;
    --oepp-line: #dfe6f1;
    --oepp-text: #1a2340;
    --oepp-muted: #5b6785;
    --oepp-radius: 14px;
    --oepp-shadow: 0 10px 30px -12px rgba(10, 31, 92, .18);
    --oepp-shadow-lg: 0 24px 60px -24px rgba(10, 31, 92, .35);
    --oepp-font: "Montserrat", "Segoe UI", Roboto, Arial, sans-serif;
    --oepp-font-heading: var(--oepp-font);

    --bs-primary: var(--oepp-blue);
    --bs-primary-rgb: 11, 46, 143;
    --bs-body-font-family: var(--oepp-font);
    --bs-body-color: var(--oepp-text);
    --bs-link-color: var(--oepp-blue);
    --bs-link-color-rgb: 11, 46, 143;
    --bs-link-hover-color: var(--oepp-navy);
    --bs-border-radius: 10px;
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
/* Montserrat a un grand œil : corps de texte à 1rem, interligne généreux */
body { font-family: var(--oepp-font); font-size: 1rem; line-height: 1.75; color: var(--oepp-text); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .font-heading { font-family: var(--oepp-font-heading); font-weight: 700; color: var(--oepp-navy); letter-spacing: -.015em; }
h1 { line-height: 1.15; }
h2 { line-height: 1.2; }
a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
/* Les icônes <i class="bi"> ne doivent pas déclencher le chargement de Montserrat italique */
i.bi { font-style: normal; }
::selection { background: var(--oepp-gold-soft); color: var(--oepp-navy); }
:focus-visible { outline: 3px solid var(--oepp-azure); outline-offset: 2px; }

.skip-link { position: absolute; left: 1rem; top: -60px; z-index: 2000; background: var(--oepp-gold); color: var(--oepp-navy); padding: .6rem 1rem; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 1rem; }

/* Gouttières larges réduites sur mobile (évite le défilement horizontal) */
@media (max-width: 767.98px) {
    .row.g-5 { --bs-gutter-x: 1.5rem; }
}

/* ---------- Boutons ---------- */
.btn { font-weight: 600; letter-spacing: .01em; border-radius: 999px; padding: .7rem 1.5rem; }
.btn-sm { padding: .4rem 1rem; }
.btn-primary { --bs-btn-bg: var(--oepp-blue); --bs-btn-border-color: var(--oepp-blue); --bs-btn-hover-bg: var(--oepp-navy); --bs-btn-hover-border-color: var(--oepp-navy); --bs-btn-active-bg: var(--oepp-navy-900); }
.btn-gold { background: var(--oepp-gold); border-color: var(--oepp-gold); color: var(--oepp-navy-900); }
.btn-gold:hover, .btn-gold:focus { background: #c28900; border-color: #c28900; color: var(--oepp-navy-900); }
.btn-outline-light:hover { color: var(--oepp-navy); }
.btn-outline-primary { --bs-btn-color: var(--oepp-blue); --bs-btn-border-color: var(--oepp-blue); --bs-btn-hover-bg: var(--oepp-blue); --bs-btn-hover-border-color: var(--oepp-blue); }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Barre supérieure ---------- */
.topbar { background: var(--oepp-navy-900); color: rgba(255,255,255,.82); font-size: .875rem; }
.topbar a { color: rgba(255,255,255,.9); text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .lang-switch a { padding: .15rem .55rem; border-radius: 999px; font-weight: 600; letter-spacing: .04em; }
.topbar .lang-switch a.active { background: var(--oepp-gold); color: var(--oepp-navy-900); }

/* ---------- Navigation principale ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.97); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(10,31,92,.35); border-color: var(--oepp-line); }
.navbar-brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; padding: 0; }
.navbar-brand img { width: 62px; height: 62px; transition: width .25s, height .25s; }
.site-header.is-scrolled .navbar-brand img { width: 50px; height: 50px; }
.brand-text { line-height: 1.15; }
.brand-text .brand-acronym { font-family: var(--oepp-font-heading); font-weight: 800; font-size: 1.3rem; color: var(--oepp-blue); letter-spacing: .05em; }
.brand-text .brand-name { display: block; font-size: .78rem; color: var(--oepp-muted); max-width: 250px; }
.site-nav .nav-link { font-weight: 600; color: var(--oepp-text); padding: .55rem .8rem !important; position: relative; font-size: .9rem; }
.site-nav .nav-link::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px; background: var(--oepp-gold); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--oepp-blue); }
.site-nav .nav-link:hover::after, .site-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-toggler { border: 0; padding: .5rem; }
.navbar-toggler:focus { box-shadow: none; }
@media (max-width: 1199.98px) {
    .site-nav { padding: .75rem 0 1.25rem; }
    .site-nav .nav-link::after { display: none; }
    .site-nav .nav-link { border-bottom: 1px solid var(--oepp-line); padding: .8rem .25rem !important; }
    .brand-text .brand-name { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; position: relative; }
.section-sm { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.bg-soft { background: var(--oepp-bg); }
.bg-navy { background: linear-gradient(160deg, var(--oepp-navy) 0%, var(--oepp-blue) 100%); color: #fff; }
.bg-navy h2, .bg-navy h3, .bg-navy .h2 { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--oepp-font); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--oepp-blue); margin-bottom: .75rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--oepp-gold); border-radius: 2px; }
.bg-navy .eyebrow { color: var(--oepp-gold-soft); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 1rem; }
.section-lead { color: var(--oepp-muted); font-size: 1.125rem; max-width: 720px; }
.bg-navy .section-lead { color: rgba(255,255,255,.8); }
.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.text-center .section-lead { margin-inline: auto; }
.section-head.text-center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--oepp-gold); border-radius: 2px; }

/* Arc doré (orbite du logo) utilisé comme séparateur décoratif */
.orbit-divider { display: block; width: 120px; height: 18px; margin: .25rem 0 1.25rem; }
.text-center .orbit-divider { margin-inline: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(120% 90% at 85% 10%, #1d56c9 0%, var(--oepp-blue) 38%, var(--oepp-navy) 72%, var(--oepp-navy-900) 100%); padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(6.5rem, 10vw, 9rem); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .22; mix-blend-mode: luminosity; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,21,67,.85) 0%, rgba(7,21,67,.35) 60%, rgba(7,21,67,0) 100%); pointer-events: none; }
.hero .container { position: relative; z-index: 2; }
.hero-kicker { display: inline-flex; align-items: center; gap: .6rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: .35rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--oepp-gold); }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 3.2rem); font-weight: 800; line-height: 1.12; margin: 1.25rem 0 1.25rem; }
.hero h1 .accent { color: var(--oepp-gold-soft); font-style: italic; font-weight: 500; }
.hero-lead { font-size: clamp(1rem, 1.5vw, 1.15rem); font-weight: 400; color: rgba(255,255,255,.88); max-width: 640px; border-left: 3px solid var(--oepp-gold); padding-left: 1.1rem; }
/* Emblème de la bannière : carte du Cameroun, croix, orbite dorée */
.hero-emblem-wrap { display: flex; justify-content: center; }
.hero-emblem { width: min(470px, 100%); height: auto; aspect-ratio: 1; overflow: visible; animation: emblem-float 7s ease-in-out infinite; }
.hero-emblem .emblem-ring { stroke-dasharray: 100; stroke-dashoffset: 100; animation: emblem-ring-draw 1.8s cubic-bezier(.3,.7,.3,1) .35s forwards; }
.hero-emblem .emblem-glow { transform-origin: 300px 285px; animation: emblem-glow 6s ease-in-out infinite; }
.hero-emblem .emblem-map { opacity: 0; animation: emblem-fade .9s ease-out .1s forwards; }
@media (max-width: 991.98px) { .hero-emblem { width: min(290px, 72vw); } }

/* Bandeau de chiffres chevauchant le hero */
.figures-strip { position: relative; z-index: 5; margin-top: calc(-1 * clamp(4rem, 7vw, 5.5rem)); }
.figures-card { background: #fff; border-radius: var(--oepp-radius); box-shadow: var(--oepp-shadow-lg); padding: 1.5rem .5rem; }
.figure { text-align: center; padding: .5rem 1rem; }
.figure + .figure { border-left: 1px solid var(--oepp-line); }
.figure-value { font-family: var(--oepp-font-heading); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--oepp-blue); line-height: 1.1; font-variant-numeric: tabular-nums; }
.figure-label { font-size: .88rem; color: var(--oepp-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 767.98px) {
    .figure + .figure { border-left: 0; }
    .figures-card .col-6:nth-child(n+3) .figure { border-top: 1px solid var(--oepp-line); padding-top: 1rem; margin-top: .5rem; }
}

/* ---------- En-tête de page intérieure ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--oepp-navy-900) 0%, var(--oepp-navy) 45%, var(--oepp-blue) 100%); color: #fff; padding: clamp(2.75rem, 6vw, 4.75rem) 0 clamp(2.5rem, 5vw, 4rem); }
.page-hero .page-hero-orbit { position: absolute; right: -120px; bottom: -80px; width: 560px; opacity: .6; pointer-events: none; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; margin-bottom: .5rem; }
.page-hero .lead { color: rgba(255,255,255,.85); max-width: 760px; font-size: 1.15rem; }
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.5); --bs-breadcrumb-item-active-color: rgba(255,255,255,.75); font-size: .9rem; margin-bottom: 1rem; }
.page-hero .breadcrumb a { color: #fff; text-decoration: none; }
.page-hero .breadcrumb a:hover { text-decoration: underline; }

/* ---------- Cartes ---------- */
.card-oepp { background: #fff; border: 1px solid var(--oepp-line); border-radius: var(--oepp-radius); height: 100%; transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.card-oepp:hover { transform: translateY(-4px); box-shadow: var(--oepp-shadow); border-color: transparent; }
.card-oepp .card-img { aspect-ratio: 16/10; object-fit: cover; width: 100%; border-radius: 0; background: var(--oepp-azure-100); }
.card-oepp .card-body { padding: 1.4rem 1.5rem 1.6rem; }
.card-oepp .card-title { font-size: 1.2rem; margin-bottom: .5rem; }
.card-oepp .card-title a { color: inherit; text-decoration: none; }
.card-oepp .card-title a::after { content: ""; position: absolute; inset: 0; }
.card-oepp { position: relative; }
.card-meta { font-size: .85rem; color: var(--oepp-muted); display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin-bottom: .6rem; }
.badge-soft { display: inline-block; background: var(--oepp-azure-100); color: var(--oepp-blue); font-weight: 600; font-size: .75rem; padding: .3rem .65rem; border-radius: 999px; letter-spacing: .02em; }
.badge-gold { background: var(--oepp-gold-soft); color: #7a5600; }
.img-placeholder { aspect-ratio: 16/10; display: grid; place-items: center; background: linear-gradient(135deg, var(--oepp-azure-100), #fff); color: var(--oepp-blue); }
.img-placeholder img { width: 72px; opacity: .55; }

/* Mission / Vision / Objectif */
.purpose-card { background: #fff; border-radius: var(--oepp-radius); padding: 2rem 1.75rem; height: 100%; border-top: 4px solid var(--oepp-blue); box-shadow: var(--oepp-shadow); }
.purpose-card.is-vision { border-top-color: var(--oepp-gold); }
.purpose-card.is-goal { border-top-color: var(--oepp-azure); }
.purpose-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; background: var(--oepp-azure-100); color: var(--oepp-blue); margin-bottom: 1.1rem; }
.purpose-card.is-vision .purpose-icon { background: var(--oepp-gold-soft); color: #8a6100; }
.purpose-card h3 { font-size: 1.35rem; }
.purpose-card p { font-size: 1rem; font-weight: 500; line-height: 1.7; color: var(--oepp-text); margin: 0; }

/* À propos : image / emblème */
.about-visual { position: relative; border-radius: calc(var(--oepp-radius) + 6px); overflow: hidden; box-shadow: var(--oepp-shadow-lg); background: linear-gradient(150deg, var(--oepp-azure-100), #fff 70%); aspect-ratio: 4/3.4; display: grid; place-items: center; }
.about-visual img.cover { width: 100%; height: 100%; object-fit: cover; }
.about-visual img.emblem { width: 62%; border-radius: 10px; filter: drop-shadow(0 20px 30px rgba(10,31,92,.2)); }
.about-badge { position: absolute; left: 1.25rem; bottom: 1.25rem; background: var(--oepp-navy); color: #fff; border-radius: 12px; padding: .8rem 1.1rem; box-shadow: var(--oepp-shadow); font-size: .9rem; }
.about-badge strong { display: block; font-family: var(--oepp-font-heading); font-size: 1.5rem; color: var(--oepp-gold-soft); line-height: 1; }
.prose { font-size: 1.075rem; }
.prose p { margin-bottom: 1.1rem; }
.prose h2 { font-size: 1.7rem; margin: 2rem 0 1rem; }
.prose h3 { font-size: 1.35rem; margin: 1.6rem 0 .8rem; }
.prose img { border-radius: 10px; margin: 1rem 0; }
.prose blockquote { border-left: 3px solid var(--oepp-gold); padding-left: 1rem; font-family: var(--oepp-font-heading); font-style: italic; color: var(--oepp-navy); }
.prose table { width: 100%; margin: 1rem 0; }
.prose table td, .prose table th { border: 1px solid var(--oepp-line); padding: .5rem .75rem; }

/* Structures (5 niveaux) */
.levels { counter-reset: level; }
.level-item { display: grid; grid-template-columns: 64px 1fr; gap: 1.25rem; padding: 1.4rem 0; border-bottom: 1px solid var(--oepp-line); }
.level-item:last-child { border-bottom: 0; }
.level-num { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--oepp-font-heading); font-weight: 700; font-size: 1.5rem; color: #fff; background: var(--oepp-blue); box-shadow: 0 0 0 6px var(--oepp-azure-100); }
.level-item:nth-child(2) .level-num { background: var(--oepp-blue-600); }
.level-item:nth-child(3) .level-num { background: #2c64c8; }
.level-item:nth-child(4) .level-num { background: #3b87dc; }
.level-item:nth-child(5) .level-num { background: var(--oepp-azure); }
.level-item h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.level-item ul { margin: 0; padding-left: 1.1rem; color: var(--oepp-muted); }
.level-item li + li { margin-top: .3rem; }
.bg-navy .level-item { border-color: rgba(255,255,255,.15); }
.bg-navy .level-item ul { color: rgba(255,255,255,.8); }
.bg-navy .level-num { box-shadow: 0 0 0 6px rgba(255,255,255,.1); }

/* Réseau */
.seduc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--oepp-line); border-radius: var(--oepp-radius); padding: 1.4rem; height: 100%; position: relative; transition: transform .25s, box-shadow .25s; }
.seduc-card:hover { transform: translateY(-4px); box-shadow: var(--oepp-shadow); }
.seduc-acronym { font-family: var(--oepp-font-heading); font-weight: 700; font-size: 1.45rem; color: var(--oepp-blue); letter-spacing: .03em; }
.seduc-name { font-size: .95rem; color: var(--oepp-muted); margin-bottom: 1rem; }
.seduc-card a.stretched-link { text-decoration: none; }
.church-chip { display: inline-flex; align-items: center; gap: .35rem; background: var(--oepp-bg); border: 1px solid var(--oepp-line); color: var(--oepp-navy); border-radius: 999px; padding: .2rem .7rem; font-size: .8rem; font-weight: 600; margin: 0 .3rem .4rem 0; }
.church-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px dashed var(--oepp-line); }
.church-row:last-child { border-bottom: 0; }
.church-mark { flex: 0 0 56px; height: 56px; border-radius: 12px; background: var(--oepp-azure-100); color: var(--oepp-blue); display: grid; place-items: center; font-weight: 700; font-size: .78rem; text-align: center; line-height: 1.1; padding: .25rem; overflow: hidden; }
.church-mark img { width: 100%; height: 100%; object-fit: contain; }

/* Historique (frise) */
.timeline { position: relative; padding-left: 2.25rem; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--oepp-gold), var(--oepp-azure)); }
.tl-item { position: relative; padding-bottom: 1.75rem; }
.tl-item::before { content: ""; position: absolute; left: calc(-2.25rem + 4px); top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--oepp-blue); }
.tl-year { font-family: var(--oepp-font-heading); font-weight: 700; color: var(--oepp-blue); font-size: 1.2rem; }
.tl-church { margin-left: .5rem; }
.tl-item p { margin: .35rem 0 0; color: var(--oepp-text); }
@media (min-width: 992px) {
    .timeline.timeline-split { padding-left: 0; }
    .timeline.timeline-split::before { left: 50%; transform: translateX(-1px); }
    .timeline-split .tl-item { width: 50%; padding-right: 2.75rem; text-align: right; }
    .timeline-split .tl-item:nth-child(even) { margin-left: 50%; padding-right: 0; padding-left: 2.75rem; text-align: left; }
    .timeline-split .tl-item::before { left: auto; right: -9px; }
    .timeline-split .tl-item:nth-child(even)::before { left: -9px; right: auto; }
}

/* Statistiques */
.stats-table { font-size: .95rem; font-variant-numeric: tabular-nums; margin: 0; }
.stats-table thead th { background: var(--oepp-navy); color: #fff; font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; vertical-align: middle; border-color: rgba(255,255,255,.15); white-space: nowrap; }
.stats-table thead tr:nth-child(2) th { background: var(--oepp-blue); }
.stats-table td, .stats-table th { padding: .65rem .8rem; }
.stats-table tbody td:not(:first-child):not(:nth-child(2)) { text-align: right; }
.stats-table .seduc-cell { font-weight: 700; color: var(--oepp-blue); background: var(--oepp-bg); }
.stats-table tfoot td { font-weight: 700; background: var(--oepp-gold-soft); color: var(--oepp-navy); text-align: right; }
.stats-table tfoot td:first-child { text-align: left; }
.table-wrap { border-radius: var(--oepp-radius); overflow: hidden; border: 1px solid var(--oepp-line); box-shadow: var(--oepp-shadow); }
.level-bar { height: 10px; border-radius: 99px; background: var(--oepp-azure-100); overflow: hidden; }
.level-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--oepp-blue), var(--oepp-azure)); width: 0; transition: width 1.2s ease; }
.level-stat { background: #fff; border: 1px solid var(--oepp-line); border-radius: var(--oepp-radius); padding: 1.35rem; height: 100%; }
.level-stat h3 { font-size: 1.15rem; }
.level-stat dl { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; margin: 1rem 0 0; font-size: .95rem; }
.level-stat dt { font-weight: 400; color: var(--oepp-muted); }
.level-stat dd { margin: 0; font-weight: 700; color: var(--oepp-navy); font-variant-numeric: tabular-nums; }
.bg-navy .figure-dark { text-align: center; padding: 1rem; }
.bg-navy .figure-dark .figure-value { color: #fff; }
.bg-navy .figure-dark .figure-label { color: var(--oepp-gold-soft); }

/* Documents */
.doc-item { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--oepp-line); border-radius: 12px; padding: 1rem 1.25rem; transition: box-shadow .2s, border-color .2s; height: 100%; }
.doc-item:hover { box-shadow: var(--oepp-shadow); border-color: transparent; }
.doc-icon { flex: 0 0 52px; height: 60px; border-radius: 8px; background: var(--oepp-azure-100); color: var(--oepp-blue); display: grid; place-items: center; font-size: 1.5rem; position: relative; }
.doc-icon small { position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); background: var(--oepp-blue); color: #fff; font-size: .62rem; font-weight: 700; padding: .05rem .35rem; border-radius: 4px; letter-spacing: .03em; }
.doc-body { flex: 1; min-width: 0; }
.doc-body h3 { font-size: 1.05rem; margin: 0 0 .2rem; font-family: var(--oepp-font); font-weight: 700; color: var(--oepp-navy); }
.doc-body p { margin: 0; font-size: .9rem; color: var(--oepp-muted); }

/* Partenaires */
.partner-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .6rem; background: #fff; border: 1px solid var(--oepp-line); border-radius: var(--oepp-radius); padding: 1.5rem 1rem; height: 100%; transition: box-shadow .25s, transform .25s; }
.partner-card:hover { box-shadow: var(--oepp-shadow); transform: translateY(-3px); }
.partner-logo { height: 64px; display: grid; place-items: center; }
.partner-logo img { max-height: 64px; max-width: 150px; object-fit: contain; filter: grayscale(.2); }
.partner-initials { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--oepp-azure-100); color: var(--oepp-blue); font-family: var(--oepp-font-heading); font-weight: 700; font-size: .95rem; letter-spacing: .02em; }
.partner-name { font-size: .92rem; font-weight: 600; color: var(--oepp-navy); line-height: 1.3; }

/* Galerie */
.album-card .card-img { aspect-ratio: 4/3; }
.gallery-grid { columns: 3 280px; column-gap: 1rem; }
.gallery-grid figure { break-inside: avoid; margin: 0 0 1rem; border-radius: 10px; overflow: hidden; position: relative; cursor: zoom-in; background: var(--oepp-azure-100); }
.gallery-grid img { width: 100%; display: block; transition: transform .4s; }
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem .9rem .7rem; font-size: .88rem; color: #fff; background: linear-gradient(transparent, rgba(7,21,67,.85)); opacity: 0; transition: opacity .25s; }
.gallery-grid figure:hover figcaption, .gallery-grid figure:focus-within figcaption { opacity: 1; }
.gallery-grid button { all: unset; display: block; width: 100%; }
.gallery-grid button:focus-visible { outline: 3px solid var(--oepp-azure); }
.lightbox .modal-content { background: rgba(7,21,67,.97); border: 0; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; display: block; border-radius: 6px; }
.lightbox .caption { color: rgba(255,255,255,.85); text-align: center; margin-top: .75rem; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; }
.lightbox .lb-prev { left: 1rem; } .lightbox .lb-next { right: 1rem; }

/* Filtres */
.filter-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-pills a { text-decoration: none; border: 1px solid var(--oepp-line); padding: .4rem 1rem; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--oepp-navy); background: #fff; }
.filter-pills a.active, .filter-pills a:hover { background: var(--oepp-blue); border-color: var(--oepp-blue); color: #fff; }

/* Article */
.article-cover { border-radius: var(--oepp-radius); overflow: hidden; box-shadow: var(--oepp-shadow-lg); margin-bottom: 2rem; }
.article-cover img { width: 100%; max-height: 520px; object-fit: cover; }

/* CTA */
.cta { position: relative; overflow: hidden; }
.cta-box { position: relative; border-radius: calc(var(--oepp-radius) + 8px); padding: clamp(2rem, 5vw, 3.5rem); background: linear-gradient(135deg, var(--oepp-navy-900), var(--oepp-blue)); color: #fff; overflow: hidden; }
.cta-box h2 { color: #fff; }
.cta-box .cta-orbit { position: absolute; right: -60px; top: -40px; width: 420px; opacity: .5; pointer-events: none; }

/* Contact */
.contact-card { background: #fff; border: 1px solid var(--oepp-line); border-radius: var(--oepp-radius); padding: 1.75rem; height: 100%; }
.contact-line { display: flex; gap: .9rem; align-items: flex-start; padding: .8rem 0; border-bottom: 1px solid var(--oepp-line); }
.contact-line:last-child { border-bottom: 0; }
.contact-line i { flex: 0 0 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--oepp-azure-100); color: var(--oepp-blue); font-size: 1.1rem; }
.contact-line .label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--oepp-muted); }
.contact-line a { text-decoration: none; word-break: break-word; }
.form-control, .form-select { border-radius: 10px; border-color: #cfd8e7; padding: .7rem .95rem; }
.form-control:focus, .form-select:focus { border-color: var(--oepp-azure); box-shadow: 0 0 0 .2rem rgba(77,168,240,.2); }
.form-label { font-weight: 600; font-size: .92rem; color: var(--oepp-navy); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.map-embed { border-radius: var(--oepp-radius); overflow: hidden; border: 1px solid var(--oepp-line); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* État vide */
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--oepp-muted); background: var(--oepp-bg); border-radius: var(--oepp-radius); border: 1px dashed #c9d4e6; }
.empty-state i { font-size: 2.4rem; color: var(--oepp-azure); display: block; margin-bottom: .6rem; }

/* Pagination */
.pagination { --bs-pagination-color: var(--oepp-blue); --bs-pagination-active-bg: var(--oepp-blue); --bs-pagination-active-border-color: var(--oepp-blue); --bs-pagination-border-radius: 10px; gap: .25rem; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--oepp-navy-900); color: rgba(255,255,255,.75); font-size: .95rem; position: relative; overflow: hidden; }
.site-footer .footer-top { padding: 4rem 0 2.5rem; position: relative; z-index: 1; }
.site-footer h2 { color: #fff; font-family: var(--oepp-font); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.1rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--oepp-gold-soft); }
.site-footer .footer-brand img { width: 84px; height: 84px; border-radius: 50%; background: #fff; padding: 4px; }
.site-footer .footer-brand strong { font-family: var(--oepp-font-heading); color: #fff; font-size: 1.15rem; display: block; line-height: 1.25; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer .footer-contact i { color: var(--oepp-gold); width: 1.4rem; display: inline-block; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem 0; font-size: .85rem; position: relative; z-index: 1; }
.footer-orbit { position: absolute; left: -200px; bottom: -220px; width: 620px; opacity: .25; pointer-events: none; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255,255,255,.08); margin-right: .35rem; }
.social a:hover { background: var(--oepp-gold); color: var(--oepp-navy-900); }

.back-to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1040; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--oepp-blue); color: #fff; box-shadow: var(--oepp-shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Animations discrètes ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; } .reveal-delay-2 { transition-delay: .16s; } .reveal-delay-3 { transition-delay: .24s; }
@keyframes emblem-ring-draw { to { stroke-dashoffset: 0; } }
@keyframes emblem-fade { to { opacity: 1; } }
@keyframes emblem-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes emblem-glow { 0%, 100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-emblem, .hero-emblem .emblem-glow { animation: none; }
    .hero-emblem .emblem-ring { animation: none; stroke-dashoffset: 0; }
    .hero-emblem .emblem-map { animation: none; opacity: 1; }
    .card-oepp, .seduc-card, .partner-card { transition: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

@media print {
    .topbar, .site-header, .site-footer, .back-to-top { display: none !important; }
    .page-hero { background: none; color: #000; }
}
