/* ==========================================================================
   CCML Theme — Main Stylesheet
   Adapté depuis la maquette HTML v6
   ========================================================================== */

/* --- Variables & Design System --- */
:root {
    --cp: #2D6B4A;
    --cpl: #3d8a62;
    --ca: #A4D233;
    --cal: #b8e04d;
    --bg: #f5f5f5;
    --bg2: #fff;
    --card: #fff;
    --elev: #fff;
    --tx: #1a1a1a;
    --tx2: #555;
    --mu: #888;
    --bd: #e0e0e0;
    --bd2: #eee;
    --f: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --rs: 6px;
    --rm: 10px;
    --rl: 16px;
    --rx: 24px;
    --tr: .3s ease;
    --sh: 0 4px 20px rgba(0,0,0,.08);
    --shl: 0 8px 40px rgba(0,0,0,.12);
    --hh: 72px;
    /* Semantic aliases used by WordPress templates */
    --primary: #2D6B4A;
    --accent: #A4D233;
    --bg-alt: #fff;
    --text: #1a1a1a;
    --text-muted: #888;
    --border: #e0e0e0;
    --danger: #dc3545;
    --section-gap: 80px;
    --bg-rgb: 245,245,245;
}

[data-theme="dark"] {
    --bg: #0A0A0A;
    --bg2: #111;
    --card: #1a1a1a;
    --elev: #222;
    --tx: #fff;
    --tx2: #a0a0a0;
    --mu: #666;
    --bd: #2a2a2a;
    --bd2: #333;
    --sh: 0 4px 20px rgba(0,0,0,.3);
    --shl: 0 8px 40px rgba(0,0,0,.4);
    /* Dark-mode semantic aliases */
    --bg-alt: #111;
    --text: #fff;
    --text-muted: #666;
    --border: #2a2a2a;
    --bg-rgb: 10,10,10;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--f);
    background: var(--bg);
    color: var(--tx);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: var(--f);
}

/* --- Conteneur --- */
.ct, .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   LOADER / PROGRESS BAR
   ========================================================================== */
.ld {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s;
}
.ld.on { opacity: 1; }
.ld i {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--ca), var(--cp), var(--ca));
    background-size: 200% 100%;
    animation: ls 1.5s ease forwards, lsh 1s linear infinite;
    border-radius: 0 2px 2px 0;
}
@keyframes ls { 0%{width:0} 30%{width:60%} 60%{width:80%} 100%{width:95%} }
@keyframes lsh { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.ld.done i { width: 100%; transition: width .2s; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.hdr {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(245,245,245,.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--bd);
    transition: var(--tr);
}
[data-theme="dark"] .hdr { background: rgba(10,10,10,.95); }
.hdr .ct { display: flex; align-items: center; justify-content: space-between; height: var(--hh); }

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: var(--tr);
    text-decoration: none;
    color: var(--tx);
}
.logo:hover { opacity: .8; }
.logo__icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--cp), var(--ca));
    border-radius: var(--rm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.logo__icon svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 2; }

/* Navigation principale */
.nav {
    display: flex;
    align-items: center;
    gap: 2px;
}
.nav a, .nav > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    color: var(--tx2);
    font-weight: 500;
    font-size: 14px;
    border-radius: var(--rm);
    transition: var(--tr);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}
.nav a:hover, .nav > li > a:hover { color: var(--tx); background: var(--bd); }
.nav a.current-menu-item, .nav a.on, .nav > li.current-menu-item > a { color: var(--ca); }
.nav svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Dropdown */
.dd { position: relative; }
.dd__m {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: var(--elev);
    border: 1px solid var(--bd);
    border-radius: var(--rm);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--tr);
    box-shadow: var(--shl);
    z-index: 110;
}
.dd:hover .dd__m { opacity: 1; visibility: visible; transform: translateY(0); }
.dd__m a { display: block; padding: 10px 16px; }
.dd__m a:hover { background: var(--bg); color: var(--ca); }

/* Actions header */
.hact {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ==========================================================================
   BOUTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--rm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: var(--tr);
    font-family: var(--f);
    text-decoration: none;
    white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Primaire */
.bp, .btn-primary {
    background: linear-gradient(135deg, var(--cp), var(--cpl));
    color: #fff;
}
.bp:hover, .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45,107,74,.4);
    color: #fff;
}

/* Secondaire */
.bs, .btn-secondary {
    background: var(--card);
    color: var(--tx);
    border: 1px solid var(--bd);
}
.bs:hover { border-color: var(--cp); }

/* Outline */
.bo, .btn-outline {
    background: transparent;
    border: 1px solid var(--cp);
    color: var(--cp);
}
.bo:hover { background: var(--cp); color: #fff; }

/* Small */
.bsm, .btn-sm { padding: 8px 16px; font-size: 13px; }

/* Pleine largeur */
.btn-full { width: 100%; justify-content: center; }

/* ==========================================================================
   THEME TOGGLE
   ========================================================================== */
.thm {
    width: 40px;
    height: 40px;
    border-radius: var(--rm);
    background: var(--card);
    border: 1px solid var(--bd);
    color: var(--tx);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--tr);
}
.thm:hover { border-color: var(--cp); }
.thm svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }
.thm .mn { display: none; }
[data-theme="dark"] .thm .sn { display: none; }
[data-theme="dark"] .thm .mn { display: block; }

/* ==========================================================================
   MENU MOBILE
   ========================================================================== */
.mt {
    display: none;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--tx);
    cursor: pointer;
    z-index: 201;
    position: relative;
    align-items: center;
    justify-content: center;
}
.mt svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; }
.mt .xi { display: none; }
.mt.op .mi { display: none; }
.mt.op .xi { display: block; }

.mov {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 199;
    opacity: 0;
    transition: opacity .35s;
}
.mov.op { opacity: 1; }

.mm {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: var(--bg);
    z-index: 200;
    padding: calc(var(--hh) + 20px) 24px 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.mm.op { transform: translateX(0); }

.mm a.ml {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--bd);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    color: var(--tx);
    text-decoration: none;
}
.mm a.ml svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; transition: var(--tr); }
.mm a.ml.exp svg { transform: rotate(180deg); }

.mm__sub { max-height: 0; overflow: hidden; transition: max-height .3s; }
.mm__sub.op { max-height: 300px; }
.mm__sub a { display: block; padding: 12px 0 12px 20px; font-size: 15px; color: var(--tx2); }

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */
.bc {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    font-size: 13px;
    color: var(--mu);
    flex-wrap: wrap;
}
.bc a { color: var(--tx2); transition: var(--tr); }
.bc a:hover { color: var(--ca); }
.bc .cu { color: var(--tx); }

/* ==========================================================================
   SECTIONS & LAYOUT
   ========================================================================== */
.sec { padding: 48px 0; }
.sca { background: var(--bg2); }

.shd {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 24px;
    flex-wrap: wrap;
}

.stt {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.sic {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--cp), var(--ca));
    border-radius: var(--rs);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sic svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; }

.sds { color: var(--tx2); font-size: 14px; }

.slk {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ca);
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--tr);
    text-decoration: none;
}
.slk:hover { gap: 12px; color: var(--ca); }
.slk svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Page hero */
.ph { padding: 40px 0 48px; position: relative; }
.ph__bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 0%, rgba(45,107,74,.1), transparent 60%); }
.ph h1 { font-size: 40px; font-weight: 800; margin-bottom: 16px; position: relative; }
.ph p { font-size: 17px; color: var(--tx2); max-width: 700px; line-height: 1.7; position: relative; }

/* Sidebar layout */
.layS { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
.layS__m { min-width: 0; }
.layS__s { position: sticky; top: calc(var(--hh) + 20px); }

/* ==========================================================================
   RAILS DE CONTENU
   ========================================================================== */
.rail { position: relative; }

.rtr {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 8px 0;
    scroll-snap-type: x mandatory;
}
.rtr::-webkit-scrollbar { display: none; }

.rn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--elev);
    border: 1px solid var(--bd);
    color: var(--tx);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--tr);
    box-shadow: var(--sh);
}
.rn:hover { background: var(--cp); border-color: var(--cp); color: #fff; }
.rn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }
.rnp { left: -22px; }
.rnn { right: -22px; }

/* ==========================================================================
   CARDS
   ========================================================================== */
.cd {
    flex: 0 0 300px;
    background: var(--card);
    border: 1px solid var(--bd);
    border-radius: var(--rl);
    overflow: hidden;
    transition: var(--tr);
    cursor: pointer;
    scroll-snap-align: start;
    text-decoration: none;
    color: var(--tx);
    display: block;
}
.cd:hover { transform: translateY(-4px); box-shadow: var(--shl); }

.cd__i { position: relative; aspect-ratio: 16/9; background: var(--elev); overflow: hidden; }
.cd__i img { width: 100%; height: 100%; object-fit: cover; transition: var(--tr); }
.cd:hover .cd__i img { transform: scale(1.05); }

.cd__b {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(0,0,0,.7);
    backdrop-filter: blur(10px);
    border-radius: var(--rs);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #fff;
}
.cd__b svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }

.cd__b--v { color: #ef4444; }
.cd__b--p { color: #a855f7; }
.cd__b--a { color: #f97316; }
.cd__b--d { color: #3b82f6; }
.cd__b--u { background: #ef4444; color: #fff; }
.cd__b--f { background: var(--cp); color: #fff; }
.cd__b--x { background: #ef4444; color: #fff; }

.cd__dur {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 4px 8px;
    background: rgba(0,0,0,.8);
    border-radius: var(--rs);
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.cd__pl {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.3);
    opacity: 0;
    transition: var(--tr);
}
.cd:hover .cd__pl { opacity: 1; }
.cd__pl div {
    width: 56px;
    height: 56px;
    background: var(--cp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.cd__pl svg { width: 24px; height: 24px; fill: currentColor; stroke: none; margin-left: 3px; }

.cd__c { padding: 16px; }
.cd__m { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font-size: 12px; flex-wrap: wrap; }
.cd__cat { color: var(--ca); font-weight: 600; }
.cd__dt { color: var(--mu); }
.cd__t {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cd__au { font-size: 13px; color: var(--tx2); }
.cd__loc {
    font-size: 12px;
    color: var(--mu);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
}
.cd__loc svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ==========================================================================
   HERO (PAGE D'ACCUEIL)
   ========================================================================== */
.hero {
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 0%, rgba(45,107,74,.15) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 100%, rgba(164,210,51,.1) 0%, transparent 50%);
}
.hero__g {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: center;
    position: relative;
}

.hbadge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--card);
    border: 1px solid var(--bd);
    border-radius: var(--rx);
    font-size: 13px;
    margin-bottom: 24px;
}
.hdot {
    width: 8px;
    height: 8px;
    background: var(--ca);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }

.hero h1 {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero h1 em, .gradient-text {
    font-style: normal;
    background: linear-gradient(135deg, var(--ca), var(--cal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero .sub {
    font-size: 17px;
    color: var(--tx2);
    margin-bottom: 32px;
    line-height: 1.7;
}
.hact2 { display: flex; gap: 16px; flex-wrap: wrap; }

/* ==========================================================================
   WIDGET HORAIRES DE PRIÈRES
   ========================================================================== */
.pw {
    background: var(--card);
    border: 1px solid var(--bd);
    border-radius: var(--rx);
    padding: 24px;
    box-shadow: var(--shl);
}
.pw__h {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--bd);
}
.pw__t {
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pw__t svg { width: 20px; height: 20px; stroke: var(--ca); fill: none; stroke-width: 2; }
.pw__hi { font-size: 12px; color: var(--mu); }

.pw__n {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: linear-gradient(135deg, var(--cp), var(--cpl));
    border-radius: var(--rm);
    margin-bottom: 20px;
    color: #fff;
}
.pw__n small { font-size: 12px; opacity: .8; }
.pw__n strong { font-weight: 700; font-size: 18px; }
.pw__n b { font-size: 28px; font-weight: 800; }

.pw__l { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.pw__it {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    background: var(--elev);
    border-radius: var(--rs);
    border: 1px solid transparent;
    transition: var(--tr);
}
.pw__it.active {
    border-color: var(--cp);
    background: rgba(45,107,74,.1);
}
.pw__it span:first-child { color: var(--tx2); font-size: 13px; }
.pw__it span:last-child { font-weight: 600; font-size: 14px; }

/* Compte à rebours */
.prayer-countdown {
    text-align: center;
    padding: 12px;
    background: rgba(164,210,51,.15);
    border-radius: var(--rm);
    margin-top: 16px;
    font-size: 13px;
    color: var(--tx2);
}
.prayer-countdown strong { color: var(--cp); font-size: 20px; font-weight: 700; display: block; }

/* ==========================================================================
   AUTOPROMOTION
   ========================================================================== */
.ap {
    position: relative;
    border-radius: var(--rl);
    overflow: hidden;
    margin: 32px 0;
    background: linear-gradient(135deg, #1a3a2a, #0d1f16);
}
.ap__lb {
    position: absolute;
    top: 8px;
    left: 12px;
    font-size: 10px;
    color: rgba(255,255,255,.4);
    text-transform: uppercase;
    letter-spacing: .5px;
    z-index: 2;
}
.ap__sl {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    gap: 24px;
    animation: fi .5s;
}
.ap__sl.on { display: flex; }
@keyframes fi { from{opacity:0} to{opacity:1} }
.ap__ic {
    width: 56px;
    height: 56px;
    background: rgba(164,210,51,.2);
    border-radius: var(--rm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ap__ic svg { width: 28px; height: 28px; stroke: var(--ca); fill: none; stroke-width: 2; }
.ap__tx { flex: 1; }
.ap__tx h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; color: #fff; }
.ap__tx p { color: rgba(255,255,255,.7); font-size: 14px; }
.ap__x {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: var(--tr);
}
.ap__x:hover { background: rgba(255,255,255,.2); }
.ap__x svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.ap__do {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}
.ap__d { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.3); cursor: pointer; transition: var(--tr); }
.ap__d.on { background: #fff; width: 20px; border-radius: 3px; }

/* ==========================================================================
   RÉGLETTE (Feature Banner)
   ========================================================================== */
.rg {
    background: var(--card);
    border: 1px solid var(--bd);
    border-radius: var(--rx);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 300px 300px;
}
.rg__m {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, var(--elev), var(--card));
}
.rg__src { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.rg__src i {
    width: 36px;
    height: 36px;
    background: var(--cp);
    border-radius: var(--rs);
    display: flex;
    align-items: center;
    justify-content: center;
}
.rg__src i svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; }
.rg__src span { font-size: 13px; color: var(--tx2); font-weight: 500; }
.rg h2 { font-size: 32px; font-weight: 800; line-height: 1.2; margin-bottom: 12px; }
.rg p { color: var(--tx2); margin-bottom: 28px; font-size: 15px; line-height: 1.6; }
.rg__cd {
    border-left: 1px solid var(--bd);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: var(--tr);
}
.rg__cd:hover { background: var(--elev); }
.rg__cd-img { height: 180px; background: var(--elev); overflow: hidden; }
.rg__cd-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--tr); }
.rg__cd:hover img { transform: scale(1.05); }
.rg__cd-c { padding: 20px; flex: 1; }
.rg__cd-t { font-size: 15px; font-weight: 600; line-height: 1.4; margin-bottom: 12px; }
.rg__cd-tag {
    font-size: 12px;
    color: var(--mu);
    display: flex;
    align-items: center;
    gap: 6px;
}
.rg__cd-tag svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ==========================================================================
   CAGNOTTES / FUNDRAISING
   ========================================================================== */
.cag-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.cag {
    background: var(--card);
    border: 1px solid var(--bd);
    border-radius: var(--rl);
    padding: 24px;
    transition: var(--tr);
}
.cag:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.cag__hd { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.cag__ic {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--cp), var(--ca));
    border-radius: var(--rm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cag__ic svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 2; }
.cag h3 { font-size: 18px; font-weight: 700; flex: 1; }
.cag p { color: var(--tx2); font-size: 14px; margin-bottom: 20px; line-height: 1.6; }
.cag__bar { height: 8px; background: var(--bd); border-radius: 4px; overflow: hidden; margin-bottom: 12px; }
.cag__bar div { height: 100%; background: linear-gradient(90deg, var(--cp), var(--ca)); border-radius: 4px; transition: width 1s ease; }
.cag__st { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 20px; }
.cag__st b { color: var(--ca); }
.cag__st span { color: var(--mu); }

/* ==========================================================================
   MAGAZINE HERO (Page Actualités)
   ========================================================================== */
.mh { display: grid; grid-template-columns: 1fr 380px; gap: 20px; margin-bottom: 48px; }
.mh__main {
    position: relative;
    border-radius: var(--rx);
    overflow: hidden;
    min-height: 420px;
    cursor: pointer;
}
.mh__main img { width: 100%; height: 100%; object-fit: cover; }
.mh__main-c {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,.95), rgba(0,0,0,.6) 60%, transparent);
}
.mh__tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--ca);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-radius: var(--rs);
    margin-bottom: 16px;
}
.mh__main h2 { font-size: 28px; font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 12px; }
.mh__main p { color: rgba(255,255,255,.7); font-size: 15px; }
.mh__side { display: flex; flex-direction: column; gap: 16px; }
.mh__card {
    flex: 1;
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--card);
    border: 1px solid var(--bd);
    border-radius: var(--rl);
    cursor: pointer;
    transition: var(--tr);
    align-items: center;
    text-decoration: none;
    color: var(--tx);
}
.mh__card:hover { background: var(--elev); }
.mh__card-img { width: 100px; height: 75px; border-radius: var(--rm); overflow: hidden; flex-shrink: 0; }
.mh__card-img img { width: 100%; height: 100%; object-fit: cover; }
.mh__card-tag { font-size: 11px; color: var(--ca); font-weight: 600; text-transform: uppercase; margin-bottom: 6px; }
.mh__card-t { font-size: 14px; font-weight: 600; line-height: 1.4; }

/* ==========================================================================
   FILTRES / TABS
   ========================================================================== */
.ftabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.ftab {
    padding: 10px 20px;
    background: var(--card);
    border: 1px solid var(--bd);
    border-radius: var(--rx);
    color: var(--tx2);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: var(--tr);
    font-family: var(--f);
}
.ftab:hover { border-color: var(--cp); color: var(--tx); }
.ftab.on { background: var(--cp); border-color: var(--cp); color: #fff; }

/* Barre de filtres */
.bf {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    align-items: center;
}
.bf__s {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    position: relative;
}
.bf__s input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    background: var(--card);
    border: 1px solid var(--bd);
    border-radius: var(--rm);
    color: var(--tx);
    font-size: 14px;
    font-family: var(--f);
    transition: var(--tr);
}
.bf__s input:focus { outline: none; border-color: var(--cp); }
.bf__s svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    stroke: var(--mu);
    fill: none;
    stroke-width: 2;
    pointer-events: none;
}
.bf select {
    padding: 12px 16px;
    background: var(--card);
    border: 1px solid var(--bd);
    border-radius: var(--rm);
    color: var(--tx);
    font-size: 14px;
    font-family: var(--f);
    transition: var(--tr);
    cursor: pointer;
}
.bf select:focus { outline: none; border-color: var(--cp); }

/* Grille blog */
.bg { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-bottom: 48px; }
.bg .cd { flex: none; }

/* ==========================================================================
   ORATEURS
   ========================================================================== */
.or {
    flex: 0 0 160px;
    text-align: center;
    padding: 24px 16px;
    background: var(--card);
    border: 1px solid var(--bd);
    border-radius: var(--rl);
    transition: var(--tr);
    cursor: pointer;
    text-decoration: none;
    color: var(--tx);
}
.or:hover { transform: translateY(-4px); border-color: var(--cp); box-shadow: var(--sh); }
.or__ph {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--elev);
    margin: 0 auto 14px;
    overflow: hidden;
    border: 3px solid var(--bd);
    transition: var(--tr);
}
.or:hover .or__ph { border-color: var(--cp); }
.or__ph img { width: 100%; height: 100%; object-fit: cover; }
.or h3 { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.or span { font-size: 12px; color: var(--mu); }

/* ==========================================================================
   PAGE SERVICES
   ========================================================================== */
.svh {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 40px 0 60px;
}
.svh h1 { font-size: 44px; font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.svh h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--ca), var(--cal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.svh p { font-size: 17px; color: var(--tx2); margin-bottom: 32px; line-height: 1.7; }

.svh__img {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--rx);
    background: linear-gradient(135deg, rgba(45,107,74,.15), rgba(164,210,51,.1));
    display: flex;
    align-items: center;
    justify-content: center;
}
.svh__img svg { width: 80px; height: 80px; stroke: var(--cp); fill: none; stroke-width: 1; opacity: .5; }

/* Nav secondaire services */
.svn {
    position: sticky;
    top: var(--hh);
    background: var(--bg);
    border-bottom: 1px solid var(--bd);
    z-index: 50;
}
.svn .ct { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.svn__l { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.svn__l::-webkit-scrollbar { display: none; }
.svn a {
    color: var(--tx2);
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: var(--rm);
    transition: var(--tr);
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}
.svn a:hover { background: var(--bd); }
.svn a.on { color: var(--cp); background: rgba(45,107,74,.1); }

/* Sections services */
.svsec { padding: 80px 0; border-bottom: 1px solid var(--bd); }
.svsec:nth-child(even) { background: var(--bg2); }
.svsec__in { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.svsec:nth-child(even) .svsec__in { direction: rtl; }
.svsec:nth-child(even) .svsec__ct { direction: ltr; }
.svsec__img {
    border-radius: var(--rx);
    background: linear-gradient(135deg, rgba(45,107,74,.1), rgba(164,210,51,.05));
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.svsec__img svg { width: 64px; height: 64px; stroke: var(--cp); fill: none; stroke-width: 1.5; opacity: .4; }
.svsec__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--cp);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.svsec__tag svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.svsec h2 { font-size: 32px; font-weight: 700; margin-bottom: 16px; }
.svsec .ds { color: var(--tx2); margin-bottom: 24px; line-height: 1.7; font-size: 15px; }
.svsec ul { list-style: none; margin-bottom: 32px; }
.svsec li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 12px;
    padding: 14px 18px;
    background: var(--card);
    border: 1px solid var(--bd);
    border-radius: var(--rm);
    font-size: 14px;
    color: var(--tx2);
    transition: var(--tr);
}
.svsec li:hover { border-color: var(--cp); }
.svsec li svg { width: 20px; height: 20px; stroke: var(--cp); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 1px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: 80px 0; }
.faq__hd { text-align: center; margin-bottom: 48px; }
.faq__hd h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.faq__hd p { color: var(--tx2); font-size: 15px; }
.faq__list { max-width: 800px; margin: 0 auto; }
.faq__it { border: 1px solid var(--bd); border-radius: var(--rl); margin-bottom: 12px; overflow: hidden; transition: var(--tr); }
.faq__it.op { border-color: var(--cp); }
.faq__q {
    width: 100%;
    padding: 20px 24px;
    background: var(--card);
    border: none;
    color: var(--tx);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: var(--f);
    transition: var(--tr);
}
.faq__q:hover { color: var(--cp); }
.faq__q svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; transition: var(--tr); flex-shrink: 0; }
.faq__it.op .faq__q svg { transform: rotate(180deg); }
.faq__a { display: none; padding: 0 24px 24px; color: var(--tx2); line-height: 1.7; font-size: 14px; }
.faq__it.op .faq__a { display: block; }

/* ==========================================================================
   BÉNÉVOLAT — Infos, Stats, Steps
   ========================================================================== */
.stg {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 40px 0;
}
.st {
    text-align: center;
    padding: 32px 20px;
    background: var(--card);
    border: 1px solid var(--bd);
    border-radius: var(--rl);
    transition: var(--tr);
}
.st:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.st b {
    font-size: 36px;
    font-weight: 800;
    display: block;
    background: linear-gradient(135deg, var(--cp), var(--ca));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.st span { font-size: 14px; color: var(--tx2); margin-top: 4px; display: block; }

.ig { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.ic {
    background: var(--card);
    border: 1px solid var(--bd);
    border-radius: var(--rl);
    padding: 32px;
    transition: var(--tr);
}
.ic:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.ic__i {
    width: 48px;
    height: 48px;
    border-radius: var(--rm);
    background: linear-gradient(135deg, var(--cp), var(--ca));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.ic__i svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 2; }
.ic h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.ic p { color: var(--tx2); font-size: 14px; line-height: 1.7; margin-bottom: 16px; }

.steps { display: flex; gap: 24px; margin: 48px 0; flex-wrap: wrap; }
.stp {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 32px 20px;
    background: var(--card);
    border: 1px solid var(--bd);
    border-radius: var(--rl);
    transition: var(--tr);
}
.stp:hover { border-color: var(--cp); }
.stp b {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cp);
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.stp h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.stp p { font-size: 13px; color: var(--tx2); line-height: 1.6; }

/* Éco items */
.eco {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--card);
    border: 1px solid var(--bd);
    border-radius: var(--rl);
    margin-bottom: 12px;
    transition: var(--tr);
}
.eco:hover { border-color: var(--cp); }
.eco__i {
    width: 40px;
    height: 40px;
    border-radius: var(--rs);
    background: rgba(45,107,74,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.eco__i svg { width: 20px; height: 20px; stroke: var(--cp); fill: none; stroke-width: 2; }
.eco h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.eco p { font-size: 13px; color: var(--tx2); line-height: 1.6; }

/* ==========================================================================
   FORMULAIRES
   ========================================================================== */
.fg { margin-bottom: 20px; }
.fl { display: block; font-weight: 500; font-size: 14px; margin-bottom: 8px; }
.fi, .fse, .fta {
    width: 100%;
    padding: 12px 16px;
    background: var(--elev);
    border: 1px solid var(--bd);
    border-radius: var(--rm);
    color: var(--tx);
    font-size: 14px;
    font-family: var(--f);
    transition: var(--tr);
}
.fi:focus, .fse:focus, .fta:focus { outline: none; border-color: var(--cp); box-shadow: 0 0 0 3px rgba(45,107,74,.1); }
.fta { min-height: 100px; resize: vertical; }
.fr { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Message d'erreur / succès formulaire */
.form-msg { padding: 12px 16px; border-radius: var(--rm); margin-top: 12px; font-size: 14px; }
.form-msg--success { background: rgba(45,107,74,.15); color: var(--cp); border: 1px solid rgba(45,107,74,.3); }
.form-msg--error { background: rgba(239,68,68,.1); color: #ef4444; border: 1px solid rgba(239,68,68,.3); }

/* ==========================================================================
   MODALS
   ========================================================================== */
.mod {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.mod.op { display: flex; }
.mod__bk {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.8);
    backdrop-filter: blur(4px);
}
.mod__ct {
    position: relative;
    background: var(--card);
    border: 1px solid var(--bd);
    border-radius: var(--rx);
    padding: 32px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1;
    animation: modIn .25s ease;
}
@keyframes modIn { from{opacity:0;transform:scale(.95)} to{opacity:1;transform:scale(1)} }
.mod__x {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--elev);
    border: 1px solid var(--bd);
    color: var(--tx);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--tr);
}
.mod__x:hover { background: var(--bd); }
.mod__x svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.mod h2 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.mod .ds { color: var(--tx2); margin-bottom: 24px; font-size: 14px; }

/* SSO boutons */
.sso { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.sso button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: var(--rm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid var(--bd);
    background: var(--elev);
    color: var(--tx);
    font-family: var(--f);
    transition: var(--tr);
}
.sso button:hover { border-color: var(--cp); }
.sso svg { width: 20px; height: 20px; }
.dv { display: flex; align-items: center; gap: 16px; margin: 24px 0; color: var(--mu); font-size: 13px; }
.dv::before, .dv::after { content: ''; flex: 1; height: 1px; background: var(--bd); }

/* Don amounts */
.don-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }

/* ==========================================================================
   NEWSLETTER POPUP
   ========================================================================== */
.nl {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    transform: translateY(100%);
    transition: transform .5s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
}
.nl.show { transform: translateY(0); pointer-events: auto; }
/* Contrôle via aria-hidden (JS du thème WP) */
.nl[aria-hidden="false"] { transform: translateY(0); pointer-events: auto; }
.nl__in {
    background: var(--card);
    border-top: 3px solid var(--cp);
    box-shadow: 0 -8px 40px rgba(0,0,0,.15);
    padding: 0 24px;
}
[data-theme="dark"] .nl__in { box-shadow: 0 -8px 40px rgba(0,0,0,.5); }
.nl__ct {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 20px 0;
    flex-wrap: wrap;
}
.nl__txt { flex: 1; min-width: 200px; }
.nl__txt small { color: var(--ca); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.nl__txt h3 { font-size: 18px; font-weight: 700; margin-top: 4px; }
.nl__form { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.nl__form input {
    padding: 12px 20px;
    border: 2px solid var(--bd);
    border-radius: var(--rx);
    background: var(--elev);
    color: var(--tx);
    font-size: 14px;
    min-width: 280px;
    font-family: var(--f);
    transition: var(--tr);
}
.nl__form input:focus { outline: none; border-color: var(--cp); }
.nl__form button {
    padding: 12px 28px;
    border: none;
    border-radius: var(--rx);
    background: var(--cp);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    font-family: var(--f);
    transition: var(--tr);
}
.nl__form button:hover { background: var(--cpl); }
.nl__x {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--elev);
    border: 1px solid var(--bd);
    color: var(--tx);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.nl__x svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.nl__priv { font-size: 11px; color: var(--mu); margin-top: 4px; }
.nl__priv a { color: var(--ca); }

/* ==========================================================================
   PUBLICITÉ — Formats
   ========================================================================== */
.adp {
    background: linear-gradient(135deg, #1a3a2a, #0d1f16);
    border-radius: var(--rm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.4);
    font-size: 11px;
    font-weight: 600;
    border: 2px dashed rgba(255,255,255,.12);
    position: relative;
    text-align: center;
    line-height: 1.3;
}
.adp::before {
    content: 'AUTOPROMOTION';
    position: absolute;
    top: 6px;
    left: 8px;
    font-size: 8px;
    color: rgba(255,255,255,.2);
}
.aditem {
    background: var(--card);
    border: 1px solid var(--bd);
    border-radius: var(--rl);
    margin-bottom: 24px;
    overflow: hidden;
    transition: var(--tr);
}
.aditem:hover { box-shadow: var(--sh); }
.aditem .adp { margin: 20px; border-radius: var(--rm); }
.aditem__info { padding: 0 20px 20px; display: flex; justify-content: space-between; align-items: center; }
.aditem__info h4 { font-size: 15px; font-weight: 700; }
.aditem__info span { font-size: 12px; color: var(--mu); background: var(--elev); padding: 4px 10px; border-radius: var(--rs); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.ftr { background: var(--bg2); border-top: 1px solid var(--bd); padding: 60px 0 30px; }
.ftr__g { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.ftr__br p { color: var(--tx2); font-size: 14px; margin: 16px 0 24px; line-height: 1.7; }
.ftr__so { display: flex; gap: 12px; }
.ftr__so a {
    width: 40px;
    height: 40px;
    border-radius: var(--rm);
    background: var(--card);
    border: 1px solid var(--bd);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tx2);
    transition: var(--tr);
    text-decoration: none;
}
.ftr__so a:hover { background: var(--cp); color: #fff; border-color: var(--cp); }
.ftr__so svg { width: 18px; height: 18px; fill: currentColor; }
.ftr h4 { font-weight: 700; font-size: 14px; margin-bottom: 20px; }
.ftr ul { list-style: none; }
.ftr li { margin-bottom: 12px; }
.ftr li a { color: var(--tx2); font-size: 14px; cursor: pointer; transition: var(--tr); text-decoration: none; }
.ftr li a:hover { color: var(--ca); }
.ftr__bt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--bd);
    font-size: 13px;
    color: var(--mu);
    flex-wrap: wrap;
    gap: 16px;
}
.ftr__bt-l { display: flex; gap: 20px; flex-wrap: wrap; }
.ftr__bt-l a { color: var(--tx2); cursor: pointer; text-decoration: none; transition: var(--tr); }
.ftr__bt-l a:hover { color: var(--ca); }

/* ==========================================================================
   UTILITAIRES DIVERS
   ========================================================================== */
.text-center { text-align: center; }
.mt-48 { margin-top: 48px; }
.mb-24 { margin-bottom: 24px; }
.pt-top { padding-top: 90px; }

/* Destination Ramadan */
.dest-banner {
    background: linear-gradient(135deg, #1a3a2a, var(--cp));
    color: #fff;
    padding: 12px 24px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}
.dest-banner a { color: var(--ca); text-decoration: underline; }

/* Infobulle admin preview */
.admin-preview-bar {
    background: #1E4D8C;
    color: #fff;
    padding: 8px 24px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    position: relative;
    z-index: 99;
}

/* ==========================================================================
   RESPONSIVE — Mobile First
   ========================================================================== */
@media (max-width: 1200px) {
    .hero__g { grid-template-columns: 1fr; }
    .pw { max-width: 500px; }
    .rg { grid-template-columns: 1fr; }
    .rg__m { padding: 32px; }
    .rg__cd { border-left: none; border-top: 1px solid var(--bd); }
    .svh, .svsec__in { grid-template-columns: 1fr; gap: 40px; }
    .svsec:nth-child(even) .svsec__in { direction: ltr; }
    .layS { grid-template-columns: 1fr; }
    .layS__s { display: none; }
}

@media (max-width: 1024px) {
    .mh { grid-template-columns: 1fr; }
    .mh__side { flex-direction: row; overflow-x: auto; }
    .mh__card { flex: 0 0 300px; }
    .ftr__g { grid-template-columns: repeat(2, 1fr); }
    .rnp { left: 8px; }
    .rnn { right: 8px; }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .mt { display: flex; }
    .mm { display: block; }
    .mov { display: block; }
    .hero { padding: 100px 0 40px; }
    .hero h1 { font-size: 28px; }
    .shd { flex-direction: column; gap: 12px; }
    .cd { flex: 0 0 280px; }
    .rn { width: 40px; height: 40px; }
    .mh__side { flex-direction: column; }
    .mh__card { flex: none; }
    .cag-g { grid-template-columns: 1fr; }
    .ftabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; scrollbar-width: none; }
    .ftabs::-webkit-scrollbar { display: none; }
    .svn__l { overflow-x: auto; }
    .svh h1 { font-size: 32px; }
    .ftr__g { grid-template-columns: 1fr; gap: 32px; }
    .ftr__bt { flex-direction: column; text-align: center; }
    .bf { flex-direction: column; align-items: stretch; }
    .bf__s { max-width: none; }
    .ig { grid-template-columns: 1fr; }
    .steps { flex-direction: column; }
    .fr { grid-template-columns: 1fr; }
    .ap__sl { flex-direction: column; text-align: center; padding: 32px 20px 40px; }
    .stg { grid-template-columns: repeat(2, 1fr); }
    .ph h1 { font-size: 28px; }
    .nl__ct { flex-direction: column; text-align: center; gap: 16px; }
    .nl__form { justify-content: center; width: 100%; }
    .nl__form input { min-width: 0; flex: 1; }
    .svsec { padding: 48px 0; }
    .faq { padding: 48px 0; }
}

@media (max-width: 480px) {
    .ct, .container { padding: 0 16px; }
    .hact2 { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .cd { flex: 0 0 calc(100vw - 40px); }
    .rg__m { padding: 24px; }
    .rg h2 { font-size: 24px; }
    .pw { padding: 20px; }
    .pw__l { grid-template-columns: 1fr; }
    .don-amounts { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
    .hdr, .nl, .mod, .mm, .mt, .rn, .hact { display: none !important; }
    body { background: #fff; color: #000; }
}

/* ==========================================================================
   WORDPRESS TEMPLATE STYLES — semantic class names used in PHP templates
   ========================================================================== */

/* --- Utilities --- */
.w-100 { width: 100%; }
.section-gap { padding: var(--section-gap, 80px) 0; }
.section-alt { background: var(--bg-alt); }
.screen-reader-text {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; top: -100%; left: 16px; z-index: 9999;
    padding: 8px 16px; background: var(--primary); color: #fff;
    border-radius: 0 0 6px 6px; font-weight: 600;
    transition: top .2s;
}
.skip-link:focus { top: 0; }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }
.btn-sm { padding: 6px 14px; font-size: 0.85rem; }
.btn-outline-primary {
    border: 2px solid var(--primary); color: var(--primary);
    background: transparent;
}
.btn-outline-primary:hover { background: var(--primary); color: #fff; }
.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.7); color: #fff;
    background: transparent;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.15); }

/* --- Site Header --- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--hh, 64px);
    background: rgba(var(--bg-rgb, 255,255,255), 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background .3s, box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
[data-theme="dark"] .site-header {
    background: rgba(18,18,18,0.92);
}
.header-inner {
    display: flex; align-items: center;
    justify-content: space-between;
    height: var(--hh, 64px);
    gap: 24px;
}
.site-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; flex-shrink: 0;
}
.site-logo img { height: 40px; width: auto; }
.logo-text {
    font-size: 1.1rem; font-weight: 700;
    color: var(--primary); line-height: 1.2;
}
.main-nav { display: flex; align-items: center; flex: 1; }
.nav-list {
    display: flex; align-items: center; gap: 2px;
    list-style: none; margin: 0; padding: 0;
}
.nav-list a {
    display: block; padding: 8px 14px;
    font-size: 0.9rem; font-weight: 500;
    color: var(--text); text-decoration: none;
    border-radius: 6px; transition: background .2s, color .2s;
}
.nav-list a:hover,
.nav-list .current-menu-item a { background: var(--bg-alt); color: var(--primary); }

/* --- Header Actions --- */
.header-actions {
    display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.prayer-badge {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 12px; border-radius: 20px;
    background: var(--primary); color: #fff;
    font-size: 0.8rem; cursor: pointer; border: none;
    transition: opacity .2s;
}
.prayer-badge:hover { opacity: .85; }
.prayer-badge-label { font-size: 0.7rem; opacity: .8; line-height: 1; }
.prayer-name { font-weight: 700; line-height: 1.1; }
.prayer-time { font-size: 0.95rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.theme-toggle {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--bg-alt); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--text); transition: background .2s;
}
.theme-toggle:hover { background: var(--border); }
.icon-sun, .icon-moon { width: 18px; height: 18px; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun,
:not([data-theme="dark"]) .icon-sun { display: none; }
[data-theme="light"] .icon-moon,
:not([data-theme="dark"]) .icon-moon { display: block; }

/* --- Mobile Menu Toggle --- */
.mobile-menu-toggle {
    display: none; flex-direction: column; justify-content: center;
    align-items: center; gap: 5px;
    width: 40px; height: 40px;
    background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger-line {
    display: block; width: 22px; height: 2px;
    background: var(--text); border-radius: 2px;
    transition: transform .3s, opacity .3s;
}
.mobile-menu-open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-open .hamburger-line:nth-child(2) { opacity: 0; }
.mobile-menu-open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Mobile Nav Overlay --- */
.mobile-nav-overlay {
    position: fixed; inset: 0; z-index: 1100;
    background: rgba(0,0,0,.5); opacity: 0; visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.mobile-menu-open .mobile-nav-overlay { opacity: 1; visibility: visible; }
.mobile-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 1200;
    width: min(320px, 85vw);
    background: var(--bg); display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
}
.mobile-menu-open .mobile-nav { transform: translateX(0); }
.mobile-nav-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.mobile-nav-title { font-weight: 700; font-size: 1rem; color: var(--text); }
.mobile-nav-close {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--bg-alt); border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 1.2rem; color: var(--text);
}
.mobile-nav-list {
    list-style: none; margin: 0; padding: 12px 0; flex: 1;
}
.mobile-nav-list li a {
    display: block; padding: 12px 20px;
    font-size: 1rem; color: var(--text); text-decoration: none;
    border-bottom: 1px solid var(--border); transition: background .2s;
}
.mobile-nav-list li a:hover { background: var(--bg-alt); color: var(--primary); }
.mobile-nav-footer {
    padding: 16px 20px; border-top: 1px solid var(--border); flex-shrink: 0;
}

/* --- Hero Section --- */
.hero {
    position: relative; overflow: hidden;
    min-height: 90vh; display: flex; align-items: center;
    padding-top: var(--hh, 64px);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(135deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.4) 60%, rgba(0,0,0,.2) 100%);
}
.hero-content {
    position: relative; z-index: 2;
    padding: 80px 0; color: #fff;
    max-width: 640px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: 20px;
    background: var(--accent); color: var(--primary);
    font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .05em;
    margin-bottom: 20px;
}
.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800; line-height: 1.15; margin-bottom: 20px;
}
.hero-subtitle { font-size: 1.1rem; opacity: .85; margin-bottom: 32px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-prayer-strip {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
    background: rgba(0,0,0,.5); backdrop-filter: blur(10px);
    padding: 12px 0;
}

/* --- Prayer Widget (modal) --- */
.prayer-widget { padding: 0; }
.prayer-widget-header { margin-bottom: 20px; }
.prayer-next-info { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.prayer-next-name { font-size: 1.4rem; font-weight: 700; color: var(--primary); }
.prayer-countdown-wrap { margin-bottom: 20px; }
.prayer-countdown {
    font-size: 2rem; font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--primary);
}
.prayer-hijri { font-size: 0.85rem; color: var(--text-muted); }
.prayer-times-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.prayer-time-item {
    display: flex; flex-direction: column; align-items: center;
    padding: 10px 8px; border-radius: 8px;
    background: var(--bg-alt); border: 1px solid var(--border);
    font-size: 0.8rem;
}
.prayer-time-item.is-next {
    background: var(--primary); color: #fff; border-color: var(--primary);
}
.prayer-time-item--sunrise { opacity: .6; }

/* --- Section Rail --- */
.section-rail { padding: var(--section-gap, 80px) 0; overflow: hidden; }
.section-rail--alt { background: var(--bg-alt); }
.rail-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 28px; flex-wrap: wrap; gap: 12px;
}
.section-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700; color: var(--text); margin: 0;
}
.section-title--center { text-align: center; }
.section-subtitle { color: var(--text-muted); margin-top: 8px; }
.section-subtitle--center { text-align: center; }
.rail-see-all {
    font-size: 0.85rem; font-weight: 600;
    color: var(--primary); text-decoration: none;
    display: flex; align-items: center; gap: 4px; flex-shrink: 0;
}
.rail-see-all:hover { text-decoration: underline; }
.rail-wrapper { position: relative; }
.rail-track {
    display: flex; gap: 20px; overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding-bottom: 4px;
}
.rail-track::-webkit-scrollbar { display: none; }
.rail-item {
    flex: 0 0 280px; scroll-snap-align: start;
}
.rail-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--bg); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 5;
    transition: background .2s, box-shadow .2s; box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.rail-nav:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.rail-nav--prev { left: 4px; }
.rail-nav--next { right: 4px; }

/* --- Cards --- */
.card {
    background: var(--bg); border-radius: 12px;
    overflow: hidden; border: 1px solid var(--border);
    display: flex; flex-direction: column;
    transition: transform .2s, box-shadow .2s;
    height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.12); }
.card-thumb-link { display: block; overflow: hidden; aspect-ratio: 16/9; position: relative; }
.card-thumb { width: 100%; height: 100%; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; display: block; }
.card-thumb-link:hover .card-thumb img { transform: scale(1.05); }
.card-badge {
    position: absolute; top: 10px; left: 10px;
    padding: 3px 8px; border-radius: 4px;
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    background: var(--primary); color: #fff;
}
.card-badge--complet { background: var(--danger, #dc3545); }
.card-badge--prix { background: var(--accent); color: var(--primary); }
.card-play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,.9);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
}
.card-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.card-cat {
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    color: var(--primary); letter-spacing: .05em; margin-bottom: 6px;
}
.card-title {
    font-size: 1rem; font-weight: 600; line-height: 1.4;
    color: var(--text); margin-bottom: 8px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-excerpt {
    font-size: 0.85rem; color: var(--text-muted); line-height: 1.5;
    flex: 1; margin-bottom: 12px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.card-date, .card-read-time, .card-orateur, .card-lieu {
    font-size: 0.75rem; color: var(--text-muted);
    display: flex; align-items: center; gap: 4px;
}
.card-date-activite { font-size: 0.8rem; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.card-inscription-btn { margin-top: 12px; }

/* Cagnotte card extras */
.cagnotte-progress { margin: 10px 0 4px; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.cagnotte-progress-bar { height: 100%; background: var(--accent); border-radius: 3px; transition: width .4s; }
.cagnotte-amounts { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--text-muted); }
.cagnotte-collecte { font-weight: 600; color: var(--primary); }
.cagnotte-objectif { }
.cagnotte-pct { font-size: 0.72rem; color: var(--text-muted); text-align: right; margin-top: 2px; }

/* Posts grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px; margin-top: 32px;
}
.no-results { padding: 48px 0; text-align: center; color: var(--text-muted); }
.search-count { margin: 24px 0 0; color: var(--text-muted); font-size: 0.9rem; }

/* --- Autopromo Carousel --- */
.section-autopromo { position: relative; overflow: hidden; }
.autopromo-carousel { position: relative; }
.autopromo-track { position: relative; }
.autopromo-slide {
    display: none; position: relative;
    min-height: 420px; overflow: hidden;
}
.autopromo-slide.is-active { display: flex; align-items: flex-end; }
.autopromo-slide-bg { position: absolute; inset: 0; }
.autopromo-slide-bg img { width: 100%; height: 100%; object-fit: cover; }
.autopromo-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.2) 60%);
}
.autopromo-slide-content {
    position: relative; z-index: 2; color: #fff;
    padding: 40px; max-width: 640px;
}
.autopromo-cat {
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: var(--accent); margin-bottom: 10px;
}
.autopromo-title { font-size: clamp(1.2rem, 3vw, 2rem); font-weight: 700; margin-bottom: 10px; }
.autopromo-excerpt { font-size: 0.9rem; opacity: .8; margin-bottom: 20px; }
.autopromo-meta { font-size: 0.75rem; opacity: .7; margin-bottom: 16px; }
.autopromo-btn { }
.autopromo-dots {
    position: absolute; bottom: 16px; right: 40px; z-index: 5;
    display: flex; gap: 6px;
}
.autopromo-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,.4); border: none; cursor: pointer; padding: 0;
    transition: background .2s, transform .2s;
}
.autopromo-dot.is-active { background: #fff; transform: scale(1.3); }

/* --- Modals --- */
.modal {
    position: fixed; inset: 0; z-index: 2000;
    display: none; align-items: center; justify-content: center;
    padding: 20px;
}
.modal.is-open { display: flex; }
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 2000;
}
.modal-panel {
    position: relative; z-index: 2001;
    background: var(--bg); border-radius: 16px;
    width: 100%; max-width: 520px; max-height: 90vh;
    overflow-y: auto; animation: modalIn .25s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(24px) scale(.97); }
    to   { opacity: 1; transform: none; }
}
.modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px; border-bottom: 1px solid var(--border); position: sticky; top: 0;
    background: var(--bg); z-index: 1;
}
.modal-title { font-size: 1.1rem; font-weight: 700; margin: 0; }
.modal-close {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--bg-alt); border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 1.1rem; color: var(--text);
}
.modal-body { padding: 24px; }
.modal-intro { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; }
.modal-section-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 8px; }

/* --- Newsletter Popup --- */
.newsletter-popup-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1900;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.newsletter-popup {
    position: fixed; bottom: 24px; right: 24px; z-index: 1950;
    transform: translateY(20px); opacity: 0; visibility: hidden;
    transition: transform .4s, opacity .4s, visibility .4s;
}
.newsletter-popup.is-visible,
.newsletter-popup-overlay.is-visible { opacity: 1; visibility: visible; transform: none; }
.newsletter-popup-card {
    background: var(--bg); border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
    padding: 28px; width: min(360px, calc(100vw - 48px));
}
.newsletter-popup-close {
    position: absolute; top: 12px; right: 12px;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--bg-alt); border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 1rem; color: var(--text);
}
.newsletter-popup-icon { font-size: 2rem; margin-bottom: 12px; }
.newsletter-popup-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.newsletter-popup-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; }
.newsletter-popup-form { display: flex; flex-direction: column; gap: 8px; }
.newsletter-popup-field { width: 100%; }
.newsletter-popup-feedback { font-size: 0.8rem; margin-top: 6px; }
.newsletter-popup-skip { background: none; border: none; color: var(--text-muted); font-size: 0.8rem; cursor: pointer; margin-top: 8px; text-decoration: underline; }
.newsletter-input-group { display: flex; gap: 8px; }
.newsletter-input { flex: 1; min-width: 0; }
.newsletter-feedback { font-size: 0.8rem; margin-top: 6px; }

/* --- Services Grid --- */
.section-services { padding: var(--section-gap, 80px) 0; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px; margin-top: 32px;
}
.service-card {
    background: var(--bg-alt); border-radius: 12px;
    padding: 28px 20px; text-align: center; border: 1px solid var(--border);
    transition: transform .2s, box-shadow .2s;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,.1); }
.service-card-icon { font-size: 2.4rem; line-height: 1; }
.service-card-title { font-size: 1rem; font-weight: 700; color: var(--text); }
.service-card-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.services-cta { text-align: center; margin-top: 40px; }

/* --- Cagnottes Section --- */
.section-cagnottes { padding: var(--section-gap, 80px) 0; }
.cagnottes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px; margin-top: 32px;
}

/* --- Orateurs Rail --- */
.section-orateurs { padding: var(--section-gap, 80px) 0; background: var(--bg-alt); }
.orateurs-rail { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.orateurs-rail::-webkit-scrollbar { display: none; }
.orateur-card {
    flex: 0 0 120px; display: flex; flex-direction: column;
    align-items: center; gap: 8px; text-align: center;
    text-decoration: none; color: var(--text);
}
.orateur-avatar {
    width: 80px; height: 80px; border-radius: 50%; overflow: hidden;
    border: 3px solid var(--border); flex-shrink: 0;
}
.orateur-avatar img { width: 100%; height: 100%; object-fit: cover; }
.orateur-initials {
    width: 80px; height: 80px; border-radius: 50%;
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; font-weight: 700; flex-shrink: 0;
}
.orateur-name { font-size: 0.8rem; font-weight: 600; line-height: 1.3; }
.orateur-count { font-size: 0.72rem; color: var(--text-muted); }

/* --- Stats Section --- */
.section-stats { padding: var(--section-gap, 80px) 0; background: var(--primary); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 32px; }
.stat-item { text-align: center; }
.stat-number { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; color: var(--accent); }
.stat-label { font-size: 0.9rem; opacity: .8; margin-top: 4px; }

/* --- Bénévolat CTA --- */
.section-benevolat-cta { padding: var(--section-gap, 80px) 0; }
.benevolat-cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, #1a4a30 100%);
    border-radius: 16px; padding: 60px 40px; text-align: center; color: #fff;
}
.benevolat-cta-title { font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 16px; }
.benevolat-cta-desc { font-size: 1.05rem; opacity: .85; margin-bottom: 32px; }

/* --- Site Footer --- (fidèle à .ftr de la maquette — fond clair) */
.site-footer, .ftr {
    background: var(--bg2);
    border-top: 1px solid var(--bd);
    padding: 60px 0 30px;
    color: var(--tx);
}
.footer-grid, .ftr__g {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px; margin-bottom: 48px;
}
.footer-col, .ftr__br { }
.footer-col--brand { }
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 16px; }
.footer-logo img { height: 36px; width: auto; }
.footer-logo-text { font-size: 1rem; font-weight: 700; color: var(--tx); }
.footer-desc { color: var(--tx2); font-size: 14px; margin: 16px 0 24px; line-height: 1.7; }
.footer-contact-line { font-size: 0.8rem; color: var(--tx2); margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.footer-socials, .ftr__so { display: flex; gap: 12px; margin-top: 0; }
.social-link, .ftr__so a {
    width: 40px; height: 40px; border-radius: var(--rm);
    background: var(--card); border: 1px solid var(--bd);
    display: flex; align-items: center; justify-content: center;
    color: var(--tx2); text-decoration: none; font-size: 1rem;
    transition: var(--tr);
}
.social-link:hover, .ftr__so a:hover { background: var(--cp); color: #fff; border-color: var(--cp); }
.ftr__so svg, .social-link svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.footer-col-title, .ftr h4 { font-weight: 700; font-size: 14px; margin-bottom: 20px; color: var(--tx); }
.footer-nav-list, .ftr ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.footer-nav-list li, .ftr li { margin-bottom: 7px; }
.footer-nav-list a, .ftr li a { color: var(--tx2); font-size: 14px; text-decoration: none; transition: color .2s; }
.footer-nav-list a:hover, .ftr li a:hover { color: var(--ca); }
.footer-newsletter-form { display: flex; flex-direction: column; gap: 8px; }
.footer-newsletter-field { }
.footer-newsletter-field input {
    width: 100%; background: var(--elev); border: 1px solid var(--bd);
    color: var(--tx); padding: 10px 14px; border-radius: var(--rm); font-size: 14px;
    font-family: var(--f); transition: var(--tr);
}
.footer-newsletter-field input:focus { outline: none; border-color: var(--cp); }
.footer-newsletter-feedback { font-size: 0.78rem; color: var(--tx2); }
.footer-newsletter-desc { font-size: 14px; color: var(--tx2); margin-bottom: 16px; line-height: 1.6; }
.footer-bottom, .ftr__bt {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 32px; border-top: 1px solid var(--bd);
    font-size: 13px; color: var(--mu); flex-wrap: wrap; gap: 16px;
}
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; flex-wrap: wrap; gap: 12px; }
.footer-copyright { font-size: 0.8rem; color: var(--mu); }
.footer-legal-nav, .ftr__bt-l { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal-nav a, .ftr__bt-l a { color: var(--tx2); font-size: 13px; text-decoration: none; }
.footer-legal-nav a:hover, .ftr__bt-l a:hover { color: var(--ca); }
.back-to-top {
    position: fixed; bottom: 24px; right: 24px; z-index: 500;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--primary); color: #fff;
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .3s, visibility .3s, transform .3s;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* --- Breadcrumb --- */
.breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span[aria-hidden] { color: var(--border); }

/* --- Page Hero --- */
.page-hero {
    background: var(--bg-alt); padding: 60px 0 40px;
    border-bottom: 1px solid var(--border);
    margin-top: var(--hh, 64px);
}
.page-hero-title { font-size: clamp(1.6rem, 4vw, 2.8rem); font-weight: 800; margin: 0; color: var(--text); }
.page-hero-desc { font-size: 1rem; color: var(--text-muted); margin-top: 12px; }

/* --- Single Content --- */
.single-content-wrap { padding-top: 48px; padding-bottom: 80px; }
.single-content { max-width: 720px; margin: 0 auto; }
.single-content img { max-width: 100%; border-radius: 8px; }
.single-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.single-cat { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--primary); }
.single-date { font-size: 0.8rem; color: var(--text-muted); }
.single-author { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }

/* --- Forms --- */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.form-input, .form-select, .form-textarea {
    width: 100%; padding: 11px 14px; border-radius: 8px;
    border: 1px solid var(--border); background: var(--bg);
    color: var(--text); font-size: 0.9rem; font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45,107,74,.15);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-error { font-size: 0.78rem; color: var(--danger, #dc3545); margin-top: 4px; }
.form-success { font-size: 0.78rem; color: var(--primary); margin-top: 4px; }
.form-radio-group { display: flex; flex-wrap: wrap; gap: 12px; }
.form-radio, .form-checkbox {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.875rem; cursor: pointer; color: var(--tx);
}
.form-radio input, .form-checkbox input { accent-color: var(--cp); width: 16px; height: 16px; cursor: pointer; }
.form-actions { margin-top: 24px; }
.form-feedback {
    margin-top: 12px; font-size: 0.875rem; min-height: 24px;
    border-radius: 6px; padding: 0;
}
.form-feedback--success { color: var(--cp); }
.form-feedback--error   { color: var(--danger, #dc3545); }
.form-feedback--success .form-success-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--cp); color: #fff;
    font-size: 0.75rem; font-weight: 800;
    margin-right: 8px; vertical-align: middle; flex-shrink: 0;
}
.form-feedback--success .form-success-text {
    display: block; margin-top: 4px; line-height: 1.55;
}
.form-feedback--success .form-success-nav {
    display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px;
}
.form-action-link {
    display: inline-block; padding: 6px 14px; border-radius: 20px;
    background: var(--cp); color: #fff !important;
    text-decoration: none; font-size: 0.82rem; font-weight: 600;
    transition: background 0.2s;
}
.form-action-link:hover { background: var(--ca); color: #fff !important; }

/* --- Filter Tabs --- */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-select {
    padding: 8px 14px; border-radius: 20px;
    border: 1px solid var(--border); background: var(--bg);
    color: var(--text); font-size: 0.85rem; cursor: pointer;
}
.filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-tab {
    padding: 6px 16px; border-radius: 20px;
    border: 1px solid var(--border); background: var(--bg);
    color: var(--text-muted); font-size: 0.85rem; cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}
.filter-tab.is-active, .filter-tab:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* --- Page: Generic --- */
.page-generic { }

/* --- Error 404 --- */
.error-404 { text-align: center; padding: 120px 0; margin-top: var(--hh, 64px); }
.error-404-inner { max-width: 540px; margin: 0 auto; }
.error-404-code { font-size: clamp(5rem, 15vw, 10rem); font-weight: 900; color: var(--border); line-height: 1; margin-bottom: 16px; }
.error-404-title { font-size: 1.8rem; font-weight: 700; margin-bottom: 12px; }
.error-404-desc { color: var(--text-muted); margin-bottom: 32px; }
.error-404-actions { margin-bottom: 40px; }
.error-404-search { max-width: 400px; margin: 0 auto; }

/* --- Pagination --- */
.nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.nav-links a, .nav-links span {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 8px;
    border: 1px solid var(--border); font-size: 0.9rem;
    color: var(--text); text-decoration: none; transition: background .2s;
}
.nav-links .current { background: var(--primary); color: #fff; border-color: var(--primary); }
.nav-links a:hover { background: var(--bg-alt); }

/* --- Header hide on scroll down --- */
.site-header {
    transition: transform .35s ease, background .3s, box-shadow .3s;
}
.site-header.is-hidden { transform: translateY(-100%); }
.hdr { transition: transform .35s ease, background .3s; }
.hdr.is-hidden { transform: translateY(-100%); }

/* --- Hero photo background (optionnel) --- */
.hero__img-bg {
    position: absolute; inset: 0; z-index: 0;
}
.hero__img-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.3) 100%);
}
.hero:has(.hero__img-bg) { color: #fff; }
.hero:has(.hero__img-bg) .pw { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); backdrop-filter: blur(12px); color: #fff; }
.hero:has(.hero__img-bg) .pw__it span:first-child,
.hero:has(.hero__img-bg) .pw__hi { color: rgba(255,255,255,.75); }
.hero:has(.hero__img-bg) .pw__it { background: rgba(255,255,255,.08); }
.hero:has(.hero__img-bg) .hbadge { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); color: #fff; }
.hero:has(.hero__img-bg) .hero__bg { display: none; }
.hero__g { position: relative; z-index: 1; }

/* --- Prayer widget variants --- */
.pw__it--lever { opacity: .65; }

/* --- Section .sca alias (fond alterné) --- */
.sca { background: var(--bg2); }

/* --- Back-to-top (style mockup) --- */
.back-to-top {
    position: fixed; bottom: 24px; right: 24px; z-index: 500;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--cp); color: #fff; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .3s, visibility .3s, transform .3s;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; }

/* --- Cagnotte cards (.cag = fidèle maquette) --- */
.cag-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-top: 24px; }
.cag {
    background: var(--card); border: 1px solid var(--bd);
    border-radius: var(--rl); padding: 24px; transition: var(--tr);
}
.cag:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.cag__hd { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.cag__ic {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--cp), var(--ca));
    border-radius: var(--rm); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cag__ic svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 2; }
.cag h3 { font-size: 18px; font-weight: 700; flex: 1; }
.cag p { color: var(--tx2); font-size: 14px; margin-bottom: 20px; line-height: 1.6; }
.cag__bar { height: 8px; background: var(--bd); border-radius: 4px; overflow: hidden; margin-bottom: 12px; }
.cag__bar div { height: 100%; background: linear-gradient(90deg, var(--cp), var(--ca)); border-radius: 4px; }
.cag__st { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 20px; }
.cag__st b { color: var(--ca); font-weight: 700; }
.cag__st span { color: var(--mu); }

/* --- WordPress Admin Bar offset --- */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* ==========================================================================
   ARCHIVE HERO (.arc-hero)
   ========================================================================== */
.arc-hero {
    background: linear-gradient(135deg, var(--cp) 0%, #3d8c60 100%);
    padding: 56px 0 44px;
    margin-top: var(--hh, 64px);
    color: #fff;
}
.arc-hero--page { background: linear-gradient(135deg, #1a3d2b 0%, var(--cp) 100%); }
.arc-hero--services { background: linear-gradient(135deg, var(--cp) 0%, #1a4a30 100%); }
.arc-bc { margin-bottom: 16px; }
.arc-bc a { color: rgba(255,255,255,.7); text-decoration: none; }
.arc-bc a:hover { color: #fff; }
.arc-bc span { color: rgba(255,255,255,.5); }
.arc-hero__ttl {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 800; color: #fff;
    display: flex; align-items: center;
    margin: 0 0 12px;
    line-height: 1.2;
}
.arc-hero__ttl .sic {
    width: 40px; height: 40px; flex-shrink: 0;
    background: rgba(255,255,255,.15);
    border-radius: 10px;
}
.arc-hero__sub { font-size: 1.05rem; color: rgba(255,255,255,.8); margin: 0; max-width: 560px; }

/* Archive grid */
.arc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 40px 0;
}
.arc-pagination { display: flex; justify-content: center; padding: 16px 0 48px; gap: 6px; flex-wrap: wrap; }
.arc-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 14px;
    border-radius: 8px; border: 1px solid var(--bd);
    background: var(--bg); color: var(--tx); font-size: .9rem; font-weight: 500;
    text-decoration: none; transition: background .15s, color .15s, border-color .15s;
    white-space: nowrap;
}
.arc-pagination .page-numbers:hover { background: var(--cp); color: #fff; border-color: var(--cp); }
.arc-pagination .page-numbers.current { background: var(--cp); color: #fff; border-color: var(--cp); }
.arc-pagination .page-numbers.dots { border: none; background: none; pointer-events: none; }
.arc-empty { color: var(--mu); text-align: center; padding: 80px 0; font-size: 1.1rem; }

/* Quick-nav services */
.srv-nav {
    display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px;
}
.srv-nav__lk {
    padding: 8px 18px; border-radius: 20px;
    background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
    color: #fff; font-size: 0.875rem; font-weight: 500;
    text-decoration: none; transition: background .2s;
}
.srv-nav__lk:hover { background: rgba(255,255,255,.3); }

/* ==========================================================================
   SERVICES PAGE (.srv-*)
   ========================================================================== */
.srv-sec {
    padding: 72px 0;
    border-bottom: 1px solid var(--bd);
}
.srv-sec--alt { background: var(--elev); }
.srv-sec:last-of-type { border-bottom: none; }

.srv-lay {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.srv-lay--rev { direction: rtl; }
.srv-lay--rev > * { direction: ltr; }

.srv-lay__txt { }
.srv-lay__txt h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800; margin: 0 0 20px;
    color: var(--tx); line-height: 1.25;
}
.srv-lay__txt p {
    color: var(--tx2); line-height: 1.75; margin-bottom: 20px; font-size: 1rem;
}
.srv-tag {
    display: inline-block; padding: 4px 14px;
    border-radius: 20px; font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em;
    background: rgba(45,107,74,.12);
    color: var(--cp); margin-bottom: 16px;
}
.srv-tag--accent { background: rgba(164,210,51,.18); color: #5a7a1a; }
.srv-list {
    list-style: none; padding: 0; margin: 0 0 28px;
    display: flex; flex-direction: column; gap: 10px;
}
.srv-list li {
    padding-left: 26px; position: relative;
    color: var(--tx2); font-size: 0.95rem; line-height: 1.5;
}
.srv-list li::before {
    content: '';
    position: absolute; left: 0; top: 6px;
    width: 14px; height: 14px; border-radius: 50%;
    background: linear-gradient(135deg, var(--cp), var(--ca));
}

.srv-lay__vis { }
.srv-illu {
    background: var(--elev);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
    border: 1px solid var(--bd);
    aspect-ratio: 4/3;
    display: flex; align-items: center; justify-content: center;
}
.srv-illu svg { width: 100%; height: 100%; }

.srv-cta {
    background: linear-gradient(135deg, var(--cp) 0%, #3d8c60 100%);
    padding: 72px 0; text-align: center; color: #fff;
}
.srv-cta h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin: 0 0 12px; color: #fff; }
.srv-cta p { color: rgba(255,255,255,.8); margin: 0 0 28px; font-size: 1rem; }

/* ==========================================================================
   ENTRY CONTENT — Typographie éditoriale
   ========================================================================== */
.entry-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--tx);
    max-width: 760px;
    margin: 0 auto;
}
.entry-content > *:first-child { margin-top: 0; }
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
    font-weight: 700; line-height: 1.3; color: var(--tx);
    margin: 2.25em 0 0.75em;
}
.entry-content h2 { font-size: 1.65rem; }
.entry-content h3 { font-size: 1.3rem; color: var(--cp); }
.entry-content h4 { font-size: 1.1rem; }
.entry-content h5, .entry-content h6 { font-size: 1rem; }
.entry-content p { margin: 0 0 1.4em; }
.entry-content a { color: var(--cp); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--ca); }
.entry-content strong, .entry-content b { font-weight: 700; }
.entry-content em, .entry-content i { font-style: italic; }
.entry-content ul, .entry-content ol {
    padding-left: 1.6em; margin: 0 0 1.4em;
}
.entry-content ul { list-style: none; }
.entry-content ul li { position: relative; padding-left: 6px; margin-bottom: 0.6em; }
.entry-content ul li::before {
    content: ''; position: absolute; left: -1.2em; top: 0.65em;
    width: 8px; height: 8px; border-radius: 50%;
    background: linear-gradient(135deg, var(--cp), var(--ca));
}
.entry-content ol { list-style: decimal; }
.entry-content ol li { margin-bottom: 0.6em; padding-left: 4px; }
.entry-content blockquote {
    border-left: 4px solid var(--cp);
    padding: 20px 28px;
    margin: 2em 0;
    background: var(--elev);
    border-radius: 0 12px 12px 0;
    font-style: italic; font-size: 1.05rem; color: var(--tx2);
    position: relative;
}
.entry-content blockquote p { margin: 0; }
.entry-content blockquote::before {
    content: '\201C';
    position: absolute; top: 8px; left: 12px;
    font-size: 3rem; color: var(--cp); opacity: .3; line-height: 1;
}
.entry-content code {
    background: var(--elev); padding: 2px 8px;
    border-radius: 5px; font-family: 'Courier New', monospace;
    font-size: 0.875em; color: var(--cp);
}
.entry-content pre {
    background: var(--elev); padding: 24px;
    border-radius: 12px; overflow-x: auto; margin: 1.5em 0;
    border: 1px solid var(--bd);
}
.entry-content pre code { background: none; padding: 0; color: var(--tx); }
.entry-content img {
    max-width: 100%; height: auto; border-radius: 12px;
    margin: 1.5em 0; display: block;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.entry-content hr {
    border: none; border-top: 2px solid var(--bd);
    margin: 2.5em 0;
}
.entry-content table {
    width: 100%; border-collapse: collapse; margin: 1.5em 0;
    font-size: 0.95rem;
}
.entry-content th, .entry-content td {
    padding: 12px 16px; border: 1px solid var(--bd); text-align: left;
}
.entry-content th { background: var(--elev); font-weight: 700; }
.entry-content tr:nth-child(even) td { background: rgba(0,0,0,.025); }

/* Page editorial wrapper */
.page-editorial {
    padding: 60px 0 80px;
    max-width: 820px;
    margin: 0 auto;
}
.page-editorial .entry-content { max-width: 100%; }

/* ==========================================================================
   SINGLE PAGE — Hero & layout
   ========================================================================== */
.single-hero {
    background: linear-gradient(135deg, #1a3d2b 0%, var(--cp) 100%);
    padding: 52px 0 44px;
    margin-top: var(--hh, 64px);
    color: #fff;
}
.single-hero .breadcrumb a { color: rgba(255,255,255,.65); }
.single-hero .breadcrumb span[aria-hidden] { color: rgba(255,255,255,.35); }
.single-hero .breadcrumb span:last-child { color: rgba(255,255,255,.75); }
.single-title {
    font-size: clamp(1.5rem, 4vw, 2.6rem);
    font-weight: 800; margin: 16px 0 0; color: #fff;
    line-height: 1.25; max-width: 800px;
}
.single-hero .card-cat {
    background: rgba(255,255,255,.2); color: #fff;
    border: 1px solid rgba(255,255,255,.3);
}
.single-meta, .single-author-meta {
    display: flex; align-items: center; gap: 16px;
    margin-top: 16px; flex-wrap: wrap;
    font-size: 0.875rem; color: rgba(255,255,255,.75);
}
.single-meta time, .single-author-meta time { color: rgba(255,255,255,.75); }
.single-orateur a { color: rgba(255,255,255,.9); font-weight: 600; }

/* Single thumb */
.single-thumb-wrap, .single-thumb {
    background: var(--bg2);
    padding: 32px 0 0;
}
.single-thumb-img {
    width: 100%; max-height: 480px; object-fit: cover;
    border-radius: 16px; display: block;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
}

/* Single content */
.single-content-wrap { padding: 48px 0 80px; }
.single-content { }
.single-content.entry-content { max-width: 760px; margin: 0 auto; }

/* Single with sidebar */
.single-with-sidebar {
    display: grid; grid-template-columns: 1fr 340px; gap: 48px;
    align-items: start;
}
.single-main { }
.single-sidebar { }
.sidebar-card {
    background: var(--card); border: 1px solid var(--bd);
    border-radius: var(--rl); padding: 28px;
    position: sticky; top: calc(var(--hh, 64px) + 20px);
}
.sidebar-card-title {
    font-size: 1.1rem; font-weight: 700; margin: 0 0 20px;
    padding-bottom: 16px; border-bottom: 1px solid var(--bd); color: var(--tx);
}
.activite-details { margin: 0 0 20px; }
.detail-row {
    display: flex; justify-content: space-between; align-items: flex-start;
    padding: 10px 0; border-bottom: 1px solid var(--bd); gap: 12px;
    font-size: 0.9rem;
}
.detail-row:last-child { border-bottom: none; }
.detail-row dt { color: var(--mu); font-weight: 500; flex-shrink: 0; }
.detail-row dd { color: var(--tx); font-weight: 600; text-align: right; margin: 0; }
.detail-row dd a { color: var(--cp); text-decoration: none; }

/* Inscription form in sidebar */
.activite-inscription-form { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--bd); }
.activite-inscription-form h3 { font-size: 1rem; font-weight: 700; margin: 0 0 16px; }

/* Series box */
.single-series-box {
    background: var(--elev); border-radius: 10px;
    padding: 16px 20px; margin: 32px 0;
    border-left: 4px solid var(--cp);
}
.single-series-label { font-size: 0.875rem; color: var(--tx2); margin: 0; }
.single-series-label a { color: var(--cp); font-weight: 600; }

/* Post navigation */
.single-post-nav {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--bd);
}
.single-nav-link {
    display: flex; flex-direction: column; gap: 6px;
    padding: 16px 20px; border-radius: 10px;
    border: 1px solid var(--bd); text-decoration: none;
    transition: border-color .2s, background .2s;
    background: var(--card);
}
.single-nav-link:hover { border-color: var(--cp); background: var(--elev); }
.single-nav-link--next { text-align: right; }
.single-nav-direction { font-size: 0.75rem; color: var(--mu); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.single-nav-title { font-size: 0.9rem; font-weight: 600; color: var(--tx); line-height: 1.4; }

/* Share buttons */
.single-share {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    margin: 32px 0; padding: 20px 24px;
    background: var(--elev); border-radius: 10px;
}
.single-share-label { font-size: 0.85rem; font-weight: 600; color: var(--tx2); }
.share-btn {
    padding: 6px 16px; border-radius: 20px;
    font-size: 0.8rem; font-weight: 600; text-decoration: none;
    transition: opacity .2s;
}
.share-btn--facebook { background: #1877f2; color: #fff; }
.share-btn--twitter { background: #000; color: #fff; }
.share-btn--whatsapp { background: #25d366; color: #fff; }
.share-btn:hover { opacity: .85; }

/* Related section title */
.section-title {
    font-size: 1.4rem; font-weight: 700; color: var(--tx);
    margin: 0 0 24px;
}

/* ==========================================================================
   FORMS — Contrainte de largeur sur desktop
   ========================================================================== */
.contact-layout {
    display: grid; grid-template-columns: 1fr 380px;
    gap: 64px; align-items: start;
}
.contact-form-wrap { }
.contact-form-title, .contact-info-title {
    font-size: 1.3rem; font-weight: 700; margin: 0 0 24px; color: var(--tx);
}
.contact-info { }
.contact-info-items { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px; background: var(--card);
    border: 1px solid var(--bd); border-radius: 10px;
}
.contact-info-item svg { stroke: var(--cp); flex-shrink: 0; margin-top: 2px; }
.contact-info-item strong { font-size: 0.85rem; font-weight: 700; display: block; margin-bottom: 4px; color: var(--tx); }
.contact-info-item p { margin: 0; font-size: 0.9rem; color: var(--tx2); }
.contact-info-item a { color: var(--cp); text-decoration: none; }
.contact-info-item a:hover { text-decoration: underline; }

.form-constrained { max-width: 640px; margin: 0 auto; }
.form-row { display: flex; gap: 16px; }
.form-row--two > * { flex: 1; min-width: 0; }
.w-100 { width: 100%; }

/* ==========================================================================
   SERVICES RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
    .srv-lay { grid-template-columns: 1fr; gap: 32px; }
    .srv-lay--rev { direction: ltr; }
    .srv-lay--rev .srv-lay__vis { order: -1; }
    .srv-illu { max-width: 360px; margin: 0 auto; }
    .contact-layout { grid-template-columns: 1fr; gap: 40px; }
    .single-with-sidebar { grid-template-columns: 1fr; }
    .sidebar-card { position: static; }
    .single-post-nav { grid-template-columns: 1fr; }
    .single-nav-link--next { text-align: left; }
}
@media (max-width: 768px) {
    .arc-hero { padding: 40px 0 32px; }
    .arc-grid { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
    .srv-sec { padding: 48px 0; }
    .form-row { flex-direction: column; gap: 0; }
    .page-editorial { padding: 40px 0 60px; }
}

/* ==========================================================================
   RESPONSIVE — WordPress template classes
   ========================================================================== */
@media (max-width: 1200px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
    .main-nav { display: none; }
    .mobile-menu-toggle { display: flex; }
    .hero-content { padding: 60px 0; }
    .autopromo-slide-content { padding: 28px; }
}
@media (max-width: 768px) {
    .section-gap { padding: 48px 0; }
    .page-hero { padding: 40px 0 28px; }
    .hero { min-height: 70vh; }
    .hero-title { font-size: 1.8rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .header-actions .prayer-badge .prayer-badge-label { display: none; }
    .benevolat-cta-card { padding: 40px 24px; }
    .newsletter-popup { bottom: 12px; right: 12px; }
    .autopromo-slide { min-height: 300px; }
}
@media (max-width: 480px) {
    .posts-grid { grid-template-columns: 1fr; }
    .prayer-times-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .cagnottes-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .back-to-top { bottom: 16px; right: 16px; }
}

/* ==========================================================================
   BOUTON DEVENIR MEMBRE
   ========================================================================== */
.btn-membre {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: var(--rm);
    border: 2px solid var(--cp); color: var(--cp);
    background: transparent; font-size: 0.85rem; font-weight: 600;
    font-family: var(--f); text-decoration: none; white-space: nowrap;
    transition: background .2s, color .2s;
    cursor: pointer;
}
.btn-membre:hover { background: var(--cp); color: #fff; }
.btn-full { width: 100%; justify-content: center; }

/* ==========================================================================
   RAIL — correctif ombre visible + swipe
   ========================================================================== */
.rail-wrapper { overflow: visible; }
.rail-track {
    padding-top: 8px; padding-bottom: 20px;
    margin-top: -8px; margin-bottom: -20px;
    padding-inline: 4px;
    scroll-padding-inline: 4px;
}

/* ==========================================================================
   FILTRES & RECHERCHE — composant partagé
   ========================================================================== */
.arc-filters {
    display: flex; align-items: center; flex-wrap: wrap;
    gap: 12px; padding: 20px 0 28px;
    border-bottom: 1px solid var(--bd); margin-bottom: 28px;
}
.filt-search-wrap {
    position: relative; flex: 1; min-width: 220px; max-width: 360px;
}
.filt-search-icon {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    width: 16px; height: 16px; color: var(--mu); pointer-events: none;
}
.filt-search {
    width: 100%; padding: 10px 14px 10px 38px;
    border: 1px solid var(--bd); border-radius: 30px;
    background: var(--card); color: var(--tx); font-size: 0.9rem;
    font-family: var(--f); transition: border-color .2s, box-shadow .2s;
}
.filt-search:focus {
    outline: none; border-color: var(--cp);
    box-shadow: 0 0 0 3px rgba(45,107,74,.12);
}
.filt-pills {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px; flex: 1;
}
.filt-pill {
    padding: 7px 16px; border-radius: 30px;
    border: 1px solid var(--bd); background: var(--card);
    color: var(--tx2); font-size: 0.85rem; font-weight: 500;
    font-family: var(--f); cursor: pointer;
    transition: background .2s, border-color .2s, color .2s;
    white-space: nowrap;
}
.filt-pill:hover { border-color: var(--cp); color: var(--cp); }
.filt-pill.is-active {
    background: var(--cp); border-color: var(--cp);
    color: #fff; font-weight: 600;
}
.filt-sort-wrap { margin-left: auto; flex-shrink: 0; }
.filt-select {
    padding: 9px 32px 9px 14px; border-radius: var(--rm);
    border: 1px solid var(--bd); background: var(--card);
    color: var(--tx); font-size: 0.875rem; font-family: var(--f);
    cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 10px center;
    transition: border-color .2s;
}
.filt-select:focus { outline: none; border-color: var(--cp); }
@media (max-width: 768px) {
    .arc-filters { flex-direction: column; align-items: stretch; }
    .filt-search-wrap { max-width: 100%; }
    .filt-sort-wrap { margin-left: 0; }
}

/* ==========================================================================
   NOUVELLES — mise en page style Radio-Canada
   ========================================================================== */
.nvl-top {
    display: grid; grid-template-columns: 1fr 340px;
    gap: 32px; margin-bottom: 48px;
}
.nvl-featured {
    background: var(--card); border-radius: var(--rl);
    overflow: hidden; border: 1px solid var(--bd);
    display: flex; flex-direction: column;
    box-shadow: var(--sh);
    transition: box-shadow .25s, transform .25s;
}
.nvl-featured:hover { box-shadow: var(--shl); transform: translateY(-2px); }
.nvl-featured__img-link { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; }
.nvl-featured__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.nvl-featured__img-link:hover .nvl-featured__img { transform: scale(1.03); }
.nvl-badge {
    position: absolute; top: 16px; left: 16px;
    background: var(--ca); color: #1a2a0a;
    font-size: 0.75rem; font-weight: 700; letter-spacing: .5px;
    padding: 4px 12px; border-radius: 20px; text-transform: uppercase;
}
.nvl-featured__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.nvl-featured__title {
    font-size: 1.5rem; font-weight: 800; line-height: 1.25;
    margin: 10px 0 12px; color: var(--tx);
}
.nvl-featured__title a { color: inherit; text-decoration: none; }
.nvl-featured__title a:hover { color: var(--cp); }
.nvl-featured__exc { color: var(--tx2); font-size: 1rem; line-height: 1.6; margin-bottom: 20px; flex: 1; }
.nvl-featured__meta {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: var(--mu);
}

/* Colonne articles récents */
.nvl-recent { display: flex; flex-direction: column; gap: 0; }
.nvl-section-title {
    font-size: 0.75rem; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; color: var(--mu);
    margin-bottom: 16px; padding-bottom: 12px;
    border-bottom: 2px solid var(--cp);
}
.nvl-rec-item {
    display: flex; gap: 14px; padding: 16px 0;
    border-bottom: 1px solid var(--bd);
}
.nvl-rec-item:last-child { border-bottom: none; }
.nvl-rec-item__img-link { flex-shrink: 0; width: 100px; height: 70px; overflow: hidden; border-radius: var(--rs); display: block; }
.nvl-rec-item__img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.nvl-rec-item__img-link:hover .nvl-rec-item__img { transform: scale(1.05); }
.nvl-rec-item__body { flex: 1; min-width: 0; }
.nvl-rec-item__cat { font-size: 0.7rem; font-weight: 700; color: var(--cp); text-transform: uppercase; letter-spacing: .5px; display: block; margin-bottom: 4px; }
.nvl-rec-item__title { font-size: 0.9rem; font-weight: 700; line-height: 1.3; margin: 0 0 6px; color: var(--tx); }
.nvl-rec-item__title a { color: inherit; text-decoration: none; }
.nvl-rec-item__title a:hover { color: var(--cp); }
.nvl-rec-item__date { font-size: 0.78rem; color: var(--mu); }
.nvl-grid-section { margin-top: 48px; }

@media (max-width: 960px) {
    .nvl-top { grid-template-columns: 1fr; }
    .nvl-recent { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 20px; }
}
@media (max-width: 600px) {
    .nvl-recent { grid-template-columns: 1fr; }
    .nvl-featured__title { font-size: 1.2rem; }
}

/* ==========================================================================
   PUBLICATIONS — page style ONU
   ========================================================================== */
.pub-hero {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #1a3d2b 0%, var(--cp) 100%);
    padding: 80px 0 64px; margin-top: var(--hh, 64px);
    color: #fff;
}
.pub-hero__bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    filter: blur(20px) brightness(.4); transform: scale(1.05);
}
.pub-hero .ct { position: relative; z-index: 1; }
.pub-hero__kicker {
    font-size: 0.75rem; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: var(--ca);
    display: block; margin-bottom: 12px;
}
.pub-hero__title { font-size: 2.4rem; font-weight: 800; line-height: 1.15; margin: 0 0 16px; }
.pub-hero__sub { font-size: 1.05rem; opacity: .85; max-width: 600px; }

.pub-featured-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 28px; padding: 48px 0;
}
.pub-card {
    background: var(--card); border-radius: var(--rl);
    overflow: hidden; border: 1px solid var(--bd);
    box-shadow: var(--sh); display: flex; flex-direction: column;
    transition: box-shadow .25s, transform .25s;
}
.pub-card:hover { box-shadow: var(--shl); transform: translateY(-4px); }
.pub-card__cover { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--elev); }
.pub-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.pub-card__cover-blur {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    filter: blur(12px) brightness(.6); transform: scale(1.08);
}
.pub-card__cover-front {
    position: absolute; inset: 0; display: flex;
    align-items: center; justify-content: center; padding: 20px;
}
.pub-card__cover-front img {
    max-width: 70%; max-height: 80%; object-fit: contain;
    border-radius: 4px; box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.pub-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.pub-card__type { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--cp); margin-bottom: 6px; }
.pub-card__title { font-size: 1rem; font-weight: 700; line-height: 1.35; margin: 0 0 8px; color: var(--tx); }
.pub-card__desc { font-size: 0.875rem; color: var(--tx2); line-height: 1.5; flex: 1; margin-bottom: 16px; }
.pub-card__dl {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: var(--rm);
    background: linear-gradient(135deg, var(--cp), #3d8c60);
    color: #fff; font-size: 0.82rem; font-weight: 600;
    text-decoration: none; transition: opacity .2s;
}
.pub-card__dl:hover { opacity: .88; }
.pub-card__dl svg { width: 14px; height: 14px; }

.pub-filter-section { padding: 0 0 48px; }
.pub-filter-title { font-size: 1.2rem; font-weight: 700; margin: 0 0 20px; }
.pub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.pub-item {
    background: var(--card); border: 1px solid var(--bd);
    border-radius: var(--rm); overflow: hidden; display: flex; gap: 14px;
    padding: 14px; transition: border-color .2s;
}
.pub-item:hover { border-color: var(--cp); }
.pub-item__cover { width: 60px; height: 80px; flex-shrink: 0; border-radius: 4px; overflow: hidden; background: var(--elev); }
.pub-item__cover img { width: 100%; height: 100%; object-fit: cover; }
.pub-item__body { flex: 1; min-width: 0; }
.pub-item__type { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--cp); }
.pub-item__title { font-size: 0.88rem; font-weight: 700; margin: 4px 0 8px; color: var(--tx); line-height: 1.3; }
.pub-item__dl { font-size: 0.78rem; color: var(--cp); font-weight: 600; text-decoration: none; }
.pub-item__dl:hover { text-decoration: underline; }

.pub-suggest {
    background: var(--elev); border: 1px solid var(--bd);
    border-radius: var(--rl); padding: 40px; margin-top: 48px;
}
.pub-suggest__title { font-size: 1.3rem; font-weight: 700; margin: 0 0 8px; }
.pub-suggest__sub { color: var(--tx2); margin-bottom: 24px; }

@media (max-width: 960px) {
    .pub-featured-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .pub-featured-grid { grid-template-columns: 1fr; }
    .pub-hero__title { font-size: 1.8rem; }
    .pub-suggest { padding: 24px; }
}

/* ==========================================================================
   DEVENIR MEMBRE — page
   ========================================================================== */
.membre-hero {
    background: linear-gradient(135deg, #1a3d2b 0%, var(--cp) 100%);
    padding: 72px 0 56px; margin-top: var(--hh, 64px); color: #fff;
}
.membre-hero .ct { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: center; }
.membre-hero__title { font-size: 2.4rem; font-weight: 800; line-height: 1.15; margin: 0 0 16px; }
.membre-hero__sub { font-size: 1.05rem; opacity: .85; margin-bottom: 28px; }
.membre-benefits {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 20px; padding: 48px 0;
}
.membre-benefit {
    background: var(--card); border: 1px solid var(--bd);
    border-radius: var(--rl); padding: 28px;
    box-shadow: var(--sh); transition: box-shadow .25s, transform .2s;
}
.membre-benefit:hover { box-shadow: var(--shl); transform: translateY(-2px); }
.membre-benefit__icon {
    width: 52px; height: 52px; border-radius: var(--rm);
    background: rgba(45,107,74,.1); display: flex;
    align-items: center; justify-content: center; margin-bottom: 16px;
}
.membre-benefit__icon svg { width: 24px; height: 24px; stroke: var(--cp); fill: none; stroke-width: 1.5; }
.membre-benefit__title { font-size: 1rem; font-weight: 700; margin: 0 0 8px; }
.membre-benefit__desc { font-size: 0.875rem; color: var(--tx2); line-height: 1.5; margin: 0; }
.membre-form-section {
    background: var(--elev); border: 1px solid var(--bd);
    border-radius: var(--rl); padding: 40px; margin-bottom: 48px;
}
.membre-form-title { font-size: 1.3rem; font-weight: 700; margin: 0 0 24px; }
.membre-tiers {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 16px; margin-bottom: 32px;
}
.membre-tier {
    border: 2px solid var(--bd); border-radius: var(--rm); padding: 20px;
    cursor: pointer; transition: border-color .2s; position: relative;
    text-align: center;
}
.membre-tier:hover { border-color: var(--cp); }
.membre-tier.is-selected { border-color: var(--cp); background: rgba(45,107,74,.06); }
.membre-tier__price { font-size: 1.6rem; font-weight: 800; color: var(--cp); }
.membre-tier__label { font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.membre-tier__desc { font-size: 0.78rem; color: var(--mu); }
@media (max-width: 960px) {
    .membre-hero .ct { grid-template-columns: 1fr; }
    .membre-benefits { grid-template-columns: 1fr; }
    .membre-tiers { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .membre-hero__title { font-size: 1.8rem; }
    .membre-form-section { padding: 24px; }
}

/* ==========================================================================
   ORATEUR — page taxonomie style Wikipedia
   ========================================================================== */
.ora-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: start;
}
.ora-infobox {
    border: 1px solid var(--bd);
    border-radius: var(--rl);
    background: var(--elev);
    overflow: hidden;
    position: sticky;
    top: 80px;
}
.ora-infobox__photo {
    width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block;
}
.ora-infobox__photo-placeholder {
    width: 100%; aspect-ratio: 1/1; background: var(--bg2);
    display: flex; align-items: center; justify-content: center;
}
.ora-infobox__photo-placeholder svg { width: 80px; height: 80px; }
.ora-infobox__table {
    width: 100%; border-collapse: collapse; font-size: 0.85rem;
}
.ora-infobox__table th,
.ora-infobox__table td {
    padding: 10px 14px; border-top: 1px solid var(--bd);
    vertical-align: top; text-align: left;
}
.ora-infobox__table th { color: var(--tx2); font-weight: 600; width: 38%; white-space: nowrap; }
.ora-infobox__table td { color: var(--tx); }
.ora-name { font-size: 2rem; font-weight: 800; margin: 0 0 6px; }
.ora-titre { font-size: 1rem; color: var(--cp); font-weight: 600; margin: 0 0 24px; }
.ora-bio { color: var(--tx); line-height: 1.75; margin-bottom: 40px; }
.ora-bio p { margin-bottom: 16px; }
.ora-bio-empty { color: var(--tx2); margin-bottom: 40px; }
.ora-section-title { font-size: 1.25rem; font-weight: 700; margin: 0 0 24px; padding-bottom: 12px; border-bottom: 2px solid var(--bd); }
.ora-courses-section { margin-top: 8px; }
@media (max-width: 900px) {
    .ora-layout { grid-template-columns: 1fr; }
    .ora-infobox { position: static; }
}

/* ==========================================================================
   MEMBRE — cotisation unique + quote
   ========================================================================== */
.membre-card-unique {
    border: 2px solid var(--cp); border-radius: var(--rl);
    background: var(--bg); padding: 36px 32px; text-align: center;
    box-shadow: 0 8px 32px rgba(45,107,74,.12);
}
.membre-card-unique__badge {
    display: inline-block; background: var(--cp); color: #fff;
    font-size: 0.75rem; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; padding: 4px 14px; border-radius: 20px; margin-bottom: 20px;
}
.membre-card-unique__price { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin-bottom: 4px; }
.membre-card-unique__amount { font-size: 3rem; font-weight: 800; color: var(--cp); line-height: 1; }
.membre-card-unique__period { font-size: 1rem; color: var(--tx2); font-weight: 500; }
.membre-card-unique__annual { font-size: 0.85rem; color: var(--tx2); margin: 0 0 24px; }
.membre-card-unique__list {
    list-style: none; padding: 0; margin: 0 0 28px; text-align: left;
}
.membre-card-unique__list li {
    padding: 9px 0; border-bottom: 1px solid var(--bd); font-size: 0.9rem;
    display: flex; align-items: flex-start; gap: 10px;
}
.membre-card-unique__list li::before { content: '✓'; color: var(--cp); font-weight: 700; flex-shrink: 0; }

/* Quote styles */
.ccml-quote { max-width: 720px; margin: 0 auto; padding: 16px 0; }
.ccml-quote__block {
    border-left: 4px solid var(--cp); padding: 20px 28px;
    background: var(--elev); border-radius: 0 var(--rm) var(--rm) 0; margin: 0;
}
.ccml-quote__arabic {
    font-size: 1.4rem; line-height: 2; text-align: right; direction: rtl;
    color: var(--cp); margin: 0 0 16px; font-family: 'Amiri', serif;
}
.ccml-quote__text { font-size: 1.05rem; font-style: italic; color: var(--tx); line-height: 1.7; margin: 0 0 10px; }
.ccml-quote__cite { font-size: 0.85rem; font-style: normal; color: var(--tx2); font-weight: 600; }
.ccml-quote--scholar .ccml-quote__block { border-left-color: var(--ca); }
.ccml-quote--scholar .ccml-quote__cite::before { content: '— '; }

/* ==========================================================================
   BÉNÉVOLAT — domains grid
   ========================================================================== */
.ben-domains {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.ben-domain-item {
    border: 1px solid var(--bd); border-radius: var(--rm);
    background: var(--bg); padding: 20px 16px;
    display: flex; align-items: center; gap: 14px;
    font-size: 0.9rem; font-weight: 600; color: var(--tx);
    transition: border-color .2s, background .2s;
}
.ben-domain-item:hover { border-color: var(--cp); background: var(--elev); }
.ben-domain-icon { flex-shrink: 0; width: 36px; height: 36px; color: var(--cp); }
.ben-domain-icon svg { width: 100%; height: 100%; }

/* ==========================================================================
   SÉLECTEUR DE LANGUE — Google Translate
   ========================================================================== */
.lang-switcher { position: relative; }
.lang-btn {
    display: flex; align-items: center; gap: 5px;
    padding: 6px 10px; border-radius: 20px;
    background: transparent; border: 1px solid var(--bd);
    color: var(--tx); font-size: 0.8rem; font-weight: 600;
    cursor: pointer; transition: background .2s, border-color .2s, color .2s;
    white-space: nowrap;
}
.lang-btn:hover { background: var(--elev); border-color: var(--cp); color: var(--cp); }
.lang-chevron { transition: transform .25s ease; flex-shrink: 0; }
.lang-btn[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }
.lang-dropdown {
    position: absolute; top: calc(100% + 8px); right: 0;
    background: var(--bg); border: 1px solid var(--bd);
    border-radius: 12px; padding: 6px;
    min-width: 140px; list-style: none; margin: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 200;
}
.lang-dropdown.is-open {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.lang-option {
    display: flex; align-items: center; gap: 8px;
    width: 100%; padding: 8px 12px; border-radius: 8px;
    background: none; border: none; cursor: pointer;
    font-size: 0.875rem; font-weight: 500; color: var(--tx);
    text-align: left; transition: background .15s, color .15s;
}
.lang-option:hover { background: var(--elev); color: var(--cp); }
.lang-option.is-active { color: var(--cp); font-weight: 700; }

/* Masquer les éléments Google Translate injectés */
.goog-te-banner-frame.skiptranslate,
.goog-te-balloon-frame { display: none !important; }
body { top: 0 !important; }
.goog-tooltip, .goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
#goog-gt-tt { display: none !important; }
.skiptranslate > iframe { display: none !important; }

/* ==========================================================================
   ARTICLE SINGLE — layout Radio-Canada
   ========================================================================== */
.single-article-wrap {
    max-width: 760px; margin: 0 auto; padding: 48px 20px 80px;
}
.single-deck { margin-bottom: 32px; }
.single-deck .card-cat { margin-bottom: 12px; display: inline-block; }
.single-hero-img {
    width: 100%; max-height: 520px; object-fit: cover;
    border-radius: 12px; display: block; margin: 0 0 40px;
}
.single-hero-caption {
    font-size: 0.8rem; color: var(--tx2); text-align: center;
    margin: -32px 0 40px; font-style: italic;
}
.entry-content { line-height: 1.8; color: var(--tx); font-size: 1.0625rem; }
.entry-content p { margin-bottom: 1.4em; }
.entry-content h2 { font-size: 1.4rem; font-weight: 700; margin: 2em 0 .75em; }
.entry-content h3 { font-size: 1.2rem; font-weight: 700; margin: 1.8em 0 .6em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.4em 1.6em; }
.entry-content li { margin-bottom: .4em; }
.entry-content img { max-width: 100%; border-radius: 10px; margin: 1.5em 0; display: block; }
.entry-content figure { margin: 1.8em 0; }
.entry-content figcaption { font-size: .82rem; color: var(--tx2); text-align: center; margin-top: 6px; }
.entry-content blockquote {
    border-left: 4px solid var(--cp); padding: 14px 20px;
    margin: 1.8em 0; background: var(--elev); border-radius: 0 8px 8px 0;
    font-style: italic; font-size: 1.1rem; color: var(--tx);
}
.entry-content .wp-video, .entry-content .wp-block-embed { margin: 2em 0; }
.entry-content .wp-block-embed__wrapper iframe,
.entry-content iframe { border-radius: 10px; width: 100%; }
.single-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 24px 0; border-top: 1px solid var(--bd); margin-top: 40px; }
.single-share-label { font-size: .85rem; font-weight: 600; color: var(--tx2); }
.share-btn { display: inline-flex; align-items: center; padding: 7px 16px; border-radius: 20px; font-size: .82rem; font-weight: 600; text-decoration: none; transition: opacity .2s; }
.share-btn--facebook { background: #1877f2; color: #fff; }
.share-btn--twitter  { background: #000; color: #fff; }
.share-btn--whatsapp { background: #25d366; color: #fff; }
.share-btn:hover { opacity: .85; }
.single-post-nav { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--bd); }
.single-nav-link { flex: 1; min-width: 200px; padding: 16px; border: 1px solid var(--bd); border-radius: 10px; text-decoration: none; transition: border-color .2s, background .2s; }
.single-nav-link:hover { border-color: var(--cp); background: var(--elev); }
.single-nav-direction { font-size: .78rem; color: var(--tx2); display: block; margin-bottom: 4px; }
.single-nav-title { font-size: .9rem; font-weight: 600; color: var(--tx); display: block; }
.single-nav-link--next { text-align: right; }
