@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* =========================================================
   LIONS CLUB — Design « Chaleur éditoriale civique »
   Refonte totale 2026. Fond crème, encre marine, or vif.
   ========================================================= */
:root {
    --blue: #00529b;           /* bleu Lions officiel */
    --blue-deep: #003a70;
    --ink: #16243a;            /* texte principal */
    --ink-soft: #51607a;       /* texte secondaire (AA) */
    --gold: #ffcf06;           /* or Lions officiel */
    --gold-soft: #ffe487;
    --gold-ink: #8a6900;       /* or assombri pour TEXTE sur clair (AA) */

    --cream: #f5f8fc;          /* fond clair (bleuté très léger) */
    --cream-2: #e9f0f8;        /* fond alterné */
    --surface: #ffffff;
    --border: #e1e9f3;

    /* alias rétro-compat (anciennes classes) */
    --lions-blue: var(--blue);
    --lions-blue-deep: var(--blue-deep);
    --lions-blue-soft: #E9F1FA;
    --lions-gold: var(--gold);
    --lions-gold-deep: #d99e00;
    --bg: var(--cream);
    --surface-2: var(--cream-2);
    --text: var(--ink);
    --text-muted: var(--ink-soft);

    --shadow-sm: 0 4px 16px rgba(30, 22, 8, .05);
    --shadow-md: 0 18px 44px rgba(30, 22, 8, .10);
    --shadow-lg: 0 34px 70px rgba(20, 35, 58, .16);

    --r-lg: 30px;
    --r-md: 20px;
    --r-sm: 14px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --spring: cubic-bezier(.34, 1.56, .64, 1);

    --grad-blue: linear-gradient(140deg, #00529b 0%, #0a6dc4 50%, #003a70 100%);
    --grad-gold: linear-gradient(135deg, #ffe066 0%, #ffcf06 100%);
    --grad-ink:  linear-gradient(150deg, #00529b 0%, #003a70 60%, #002a52 100%);
}

/* =========================================================
   THÈMES ACTIVABLES DEPUIS L'ADMIN (body.theme-xxx)
   Chaque thème redéfinit la marque + l'ambiance de fond.
   L'or reste la signature Lions ; seul le primaire/fond varie.
   ========================================================= */
/* 1. Marine & Or (défaut) — défini par :root, theme-default = no-op */
body.theme-default {}

/* 2. Azur & Or — bleu vif, fond blanc froid lumineux */
body.theme-azur {
    --blue: #1565C0; --blue-deep: #0D3F8A; --gold: #F5B301; --gold-ink: #8a6500;
    --ink: #102A43; --ink-soft: #4a5b70;
    --cream: #F4F8FE; --cream-2: #E7F0FB; --surface: #ffffff; --border: #DCE8F7;
    --grad-blue: linear-gradient(140deg,#1565C0,#1E88E5,#0D3F8A);
    --grad-ink: linear-gradient(150deg,#123A6B,#0A2547);
}

/* 3. Forêt & Or — vert profond, fond crème végétal */
body.theme-nature {
    --blue: #1E7A4D; --blue-deep: #135334; --gold: #E8A92C; --gold-ink: #7a5a12;
    --ink: #14271C; --ink-soft: #4c5d52;
    --cream: #F7F8F2; --cream-2: #ECF1E6; --surface: #ffffff; --border: #E2E9DA;
    --grad-blue: linear-gradient(140deg,#1E7A4D,#2A9D63,#135334);
    --grad-ink: linear-gradient(150deg,#1A3A2A,#0F2A1D);
}

/* 4. Bordeaux & Or — prestige chaleureux */
body.theme-bordeaux {
    --blue: #8E2434; --blue-deep: #631622; --gold: #E8B24C; --gold-ink: #7d5a10;
    --ink: #2A1418; --ink-soft: #5c4a4d;
    --cream: #FBF6F2; --cream-2: #F2E7E0; --surface: #ffffff; --border: #ECDDD6;
    --grad-blue: linear-gradient(140deg,#8E2434,#B23548,#631622);
    --grad-ink: linear-gradient(150deg,#3A1A20,#261014);
}

/* 5. Anthracite & Or — sobre et moderne */
body.theme-nuit {
    --blue: #2D3A45; --blue-deep: #1b242c; --gold: #F2B705; --gold-ink: #7a5e00;
    --ink: #1c252e; --ink-soft: #50606e;
    --cream: #F4F5F7; --cream-2: #E8EAEE; --surface: #ffffff; --border: #DCDFE5;
    --grad-blue: linear-gradient(140deg,#2D3A45,#3f5260,#1b242c);
    --grad-ink: linear-gradient(150deg,#222d36,#141a20);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 16px; line-height: 1.65;
    background: var(--cream);
    color: var(--ink);
    margin: 0; overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background .4s var(--ease), color .4s var(--ease);
}

h1, h2, h3, h4, h5,
.section-title, .hero-title, .stat-num, .display-1, .display-4, .navbar-brand {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-weight: 800; letter-spacing: -.02em; line-height: 1.12;
}
h4, h5, .value-card h5, .member-card h4 { font-weight: 700; }

a { color: var(--blue); }
::selection { background: var(--gold); color: var(--blue-deep); }
img { max-width: 100%; }

/* Grain chaud, fixe */
body::after {
    content: ''; position: fixed; inset: 0; z-index: 1; pointer-events: none;
    opacity: .03; mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================
   ACCESSIBILITÉ (WCAG)
   ========================================================= */
small, .small { font-size: .8125rem; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible, .btn-cta:focus-visible,
.share-btn:focus-visible, .social-btn:focus-visible, .theme-toggle:focus-visible,
.gallery-item:focus-visible, .nav-join:focus-visible {
    outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px;
}
.navbar-lions a:focus-visible, .navbar-lions button:focus-visible { outline-color: #fff; }
a, button, [role="button"], .u-card, .gallery-item, .step-card, label[for], summary { cursor: pointer; }
.nav-link, .theme-toggle, .hamburger, .share-btn, .social-btn,
.btn-cta, .btn-gold, .btn-lions, .page-link { min-height: 44px; }
.share-btn, .social-btn { min-width: 44px; }
.skip-link {
    position: absolute; left: 12px; top: -70px; z-index: 1080;
    background: var(--blue); color: #fff !important;
    padding: .7rem 1.2rem; border-radius: 0 0 12px 12px; font-weight: 700; text-decoration: none;
    transition: top .25s ease;
}
.skip-link:focus { top: 0; outline: 3px solid var(--gold); outline-offset: 2px; }

/* =========================================================
   NAVBAR — pilule flottante crème
   ========================================================= */
.navbar-lions { top: 1rem; transition: top .5s var(--ease); padding: 0; }
.navbar-lions > .container {
    background: rgba(255, 253, 248, .82);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    border: 1px solid rgba(20, 35, 58, .08);
    box-shadow: var(--shadow-sm);
    border-radius: 100px;
    padding: .5rem .65rem .5rem 1.25rem;
    transition: box-shadow .5s var(--ease), background .5s var(--ease);
}
.navbar-lions.scrolled > .container { background: rgba(255, 253, 248, .96); box-shadow: var(--shadow-md); }
@media (max-width: 991.98px) { .navbar-lions > .container { border-radius: 24px; } }

.navbar-lions .navbar-brand { display: flex; align-items: center; font-weight: 800; color: var(--ink) !important; }
.navbar-lions .navbar-brand img { transition: transform .5s var(--spring), box-shadow .3s var(--ease); box-shadow: 0 2px 10px rgba(20,35,58,.14), 0 0 0 1px rgba(20,35,58,.05); }
.navbar-lions .navbar-brand:hover img { transform: rotate(-8deg) scale(1.08); box-shadow: 0 6px 16px rgba(20,35,58,.2), 0 0 0 1px rgba(20,35,58,.06); }
.club-name { font-weight: 800; font-size: clamp(.72rem, 3.4vw, .95rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 62vw; color: var(--ink); }

.navbar-lions .nav-link {
    color: var(--ink) !important; font-weight: 600; font-size: .92rem;
    padding: .5rem .85rem !important; position: relative;
    display: inline-flex; align-items: center; transition: color .25s var(--ease);
}
.navbar-lions .nav-link::after {
    content: ''; position: absolute; left: .85rem; right: .85rem; bottom: .35rem; height: 2px;
    background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left;
    transition: transform .3s var(--ease);
}
.navbar-lions .nav-link:hover, .navbar-lions .nav-link.active { color: var(--blue) !important; }
.navbar-lions .nav-link:hover::after, .navbar-lions .nav-link.active::after { transform: scaleX(1); }

.nav-join {
    display: inline-flex; align-items: center; gap: .45rem;
    background: var(--ink); color: #fff !important;
    font-weight: 700; font-size: .85rem; text-decoration: none;
    padding: .55rem 1.15rem; border-radius: 100px;
    transition: transform .3s var(--spring), background .3s var(--ease);
}
.nav-join:hover { background: var(--blue); transform: translateY(-2px); color: #fff !important; }
.nav-join.active { background: var(--blue); }
@media (max-width: 991.98px) { .nav-join { justify-content: center; margin: .4rem .6rem; } }

.theme-toggle {
    width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 1px solid rgba(20, 35, 58, .15); background: transparent; color: var(--ink);
    transition: .3s var(--spring);
}
.theme-toggle:hover { background: var(--gold); color: var(--blue-deep); border-color: var(--gold); transform: rotate(18deg); }

/* Hamburger */
.hamburger { width: 44px; height: 44px; border: none; background: transparent; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; }
.hamburger span { display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .45s var(--ease), opacity .3s var(--ease); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991.98px) {
    .navbar-lions .navbar-collapse {
        margin-top: .6rem; background: rgba(255, 253, 248, .98); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
        border: 1px solid var(--border); border-radius: 22px; padding: .6rem .4rem 1rem; box-shadow: var(--shadow-md);
    }
    .navbar-lions .navbar-collapse .nav-item { opacity: 0; transform: translateY(12px); }
    .navbar-lions .navbar-collapse.show .nav-item { animation: navIn .5s var(--ease) forwards; }
    .navbar-lions .navbar-collapse.show .nav-item:nth-child(1){animation-delay:.05s}
    .navbar-lions .navbar-collapse.show .nav-item:nth-child(2){animation-delay:.10s}
    .navbar-lions .navbar-collapse.show .nav-item:nth-child(3){animation-delay:.15s}
    .navbar-lions .navbar-collapse.show .nav-item:nth-child(4){animation-delay:.20s}
    .navbar-lions .navbar-collapse.show .nav-item:nth-child(5){animation-delay:.25s}
    .navbar-lions .navbar-collapse.show .nav-item:nth-child(6){animation-delay:.30s}
    .navbar-lions .navbar-collapse.show .nav-item:nth-child(7){animation-delay:.35s}
    .navbar-lions .navbar-collapse.show .nav-item:nth-child(8){animation-delay:.40s}
    .navbar-lions .navbar-collapse.show .nav-item:nth-child(9){animation-delay:.45s}
    .navbar-lions .nav-link { font-size: 1.05rem !important; padding: .7rem 1rem !important; }
    .navbar-lions .nav-link::after { display: none; }
}
@keyframes navIn { to { opacity: 1; transform: translateY(0); } }

/* =========================================================
   HERO — éditorial, plein écran
   ========================================================= */
.hero { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; overflow: hidden; background: var(--ink); }
.hero .carousel, .hero .carousel-inner, .hero .carousel-item { height: 100vh; height: 100dvh; }
.hero .carousel-item img { height: 100vh; height: 100dvh; width: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(90deg, rgba(7, 25, 45, .92) 0%, rgba(7, 25, 45, .72) 42%, rgba(7, 25, 45, .25) 100%),
                linear-gradient(0deg, rgba(7, 25, 45, .7) 0%, transparent 45%);
}
.hero-content { position: relative; z-index: 3; color: #fff; width: 100%; text-align: left; padding: 7rem 0 4rem; }
.hero-badge {
    display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 1.1rem; border-radius: 100px;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 207, 6, .55); color: var(--gold);
    font-weight: 700; font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; backdrop-filter: blur(6px);
}
.hero-title {
    font-weight: 600; font-size: clamp(2.8rem, 8.5vw, 6.2rem); line-height: 1;
    margin: 1.4rem 0 1.1rem; max-width: 18ch; letter-spacing: -.02em;
    text-shadow: 0 10px 50px rgba(0, 0, 0, .35);
}
.hero-title .gold { color: var(--gold); position: relative; display: inline-block; }
.hero-title .gold::after {
    content: ''; position: absolute; left: -2px; right: -2px; bottom: .08em; height: .14em;
    background: var(--gold); opacity: .35; border-radius: 4px; z-index: -1;
}
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255, 255, 255, .88); max-width: 50ch; margin: 0 0 2.2rem; }
.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; color: rgba(255, 255, 255, .85); font-size: 1.6rem; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 10px); } }

.fade-up-hero { opacity: 0; transform: translateY(30px); animation: fuh 1s var(--ease) forwards; }
.fade-up-hero.d1 { animation-delay: .15s; } .fade-up-hero.d2 { animation-delay: .3s; } .fade-up-hero.d3 { animation-delay: .45s; }
@keyframes fuh { to { opacity: 1; transform: translateY(0); } }

/* =========================================================
   MARQUEE (bandeau valeurs défilant)
   ========================================================= */
.marquee { background: var(--ink); color: var(--cream); overflow: hidden; padding: .9rem 0; border-block: 1px solid rgba(255,255,255,.08); }
.marquee-track { display: inline-flex; white-space: nowrap; gap: 2.5rem; animation: scroll-x 28s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .14em; display: inline-flex; align-items: center; gap: 2.5rem; }
.marquee span::after { content: '✦'; color: var(--gold); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* =========================================================
   BOUTONS
   ========================================================= */
.btn-cta {
    --bg: var(--grad-gold); --fg: var(--blue-deep);
    display: inline-flex; align-items: center; gap: .85rem;
    padding: .6rem .7rem .6rem 1.6rem; border: none; border-radius: 100px;
    background: var(--bg); color: var(--fg) !important; font-weight: 700; text-decoration: none;
    box-shadow: 0 14px 30px rgba(255, 207, 6, .3);
    transition: transform .5s var(--spring), box-shadow .5s var(--ease);
}
.btn-cta .cta-ico { width: 40px; height: 40px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(0,0,0,.12); font-size: 1.1rem; transition: transform .5s var(--spring); }
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 22px 46px rgba(255, 207, 6, .42); }
.btn-cta:hover .cta-ico { transform: translate(4px, -2px); }
.btn-cta:active { transform: scale(.97); }
.btn-cta.cta-blue { --bg: var(--grad-blue); --fg: #fff !important; color: #fff !important; box-shadow: 0 14px 30px rgba(11, 91, 163, .32); }
.btn-cta.cta-blue .cta-ico { background: rgba(255,255,255,.22); }
.btn-cta.cta-ink { --bg: var(--ink); --fg: #fff !important; color: #fff !important; box-shadow: 0 14px 30px rgba(20,35,58,.3); }
.btn-cta.cta-ink .cta-ico { background: rgba(255,255,255,.16); }
.btn-cta.cta-ghost { --bg: rgba(255,255,255,.08); --fg: #fff !important; color: #fff !important; border: 1.5px solid rgba(255,255,255,.5); backdrop-filter: blur(6px); box-shadow: none; }
.btn-cta.cta-ghost .cta-ico { background: rgba(255,255,255,.18); }
.btn-cta.cta-ghost:hover { background: #fff; color: var(--blue) !important; border-color: #fff; }

.btn-gold { background: var(--grad-gold); color: var(--blue-deep) !important; font-weight: 700; border: none; padding: .85rem 1.8rem; border-radius: 100px; box-shadow: 0 12px 28px rgba(255,207,6,.32); transition: transform .4s var(--spring), box-shadow .4s; }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(255,207,6,.46); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff !important; border: 1.5px solid rgba(255,255,255,.55); font-weight: 700; padding: .85rem 1.8rem; border-radius: 100px; transition: .4s var(--spring); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--blue) !important; transform: translateY(-3px); }
.btn-lions { background: var(--ink); color: #fff !important; font-weight: 700; border: none; padding: .8rem 1.7rem; border-radius: 100px; transition: .4s var(--spring); box-shadow: 0 12px 28px rgba(20,35,58,.25); }
.btn-lions:hover { background: var(--blue); transform: translateY(-3px); }
.btn-outline-secondary { border-radius: 100px !important; border-color: var(--border) !important; color: var(--ink) !important; font-weight: 600; }
.btn-outline-secondary:hover { background: var(--ink) !important; border-color: var(--ink) !important; color: #fff !important; }

/* =========================================================
   SECTIONS & TITRES
   ========================================================= */
section { position: relative; }
.py-6 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
@media (min-width: 768px) { .py-6 { padding-top: 6rem; padding-bottom: 6rem; } }
.eyebrow { display: flex; align-items: center; gap: .55rem; width: max-content; max-width: 100%; font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px; font-size: .8rem; color: var(--gold-ink); margin-bottom: .8rem; }
.eyebrow::before { content: ''; width: 26px; height: 2px; flex-shrink: 0; background: var(--gold); display: inline-block; }
.text-center .eyebrow, .eyebrow.mx-auto { margin-inline: auto; justify-content: center; }
/* Dans une section centrée, le titre n'a plus besoin d'être inline-block */
.text-center .section-title.d-inline-block { display: block !important; }
.section-title { font-weight: 600; color: var(--ink); font-size: clamp(2.1rem, 4.8vw, 3.4rem); margin-bottom: 1rem; }

/* Lettrine éditoriale (magazine) */
.dropcap::first-letter {
    font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700;
    float: left; font-size: 3.4em; line-height: .72; padding: .05em .12em 0 0;
    color: var(--blue);
}
/* Citation / pull-quote */
.pullquote {
    font-family: 'Plus Jakarta Sans', sans-serif; font-style: italic; font-weight: 500;
    font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.4; color: var(--ink);
    border-left: 4px solid var(--gold); padding: .2rem 0 .2rem 1.4rem; margin: 0;
}
.section-title.underline { padding-bottom: 0; }
.section-title.underline::after { display: none; }
.bg-soft { background: var(--cream-2); }
.bg-white-section { background: var(--surface); }
.bg-body-tertiary { background: var(--cream-2) !important; }

/* =========================================================
   CARTES
   ========================================================= */
.u-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-sm); transition: transform .5s var(--spring), box-shadow .5s var(--ease), border-color .4s; }
.u-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(11,91,163,.2); }

.value-card { padding: 2.4rem 1.6rem; text-align: left; height: 100%; }
.value-icon { width: 64px; height: 64px; margin-bottom: 1.3rem; display: flex; align-items: center; justify-content: center; border-radius: 18px; background: var(--cream-2); color: var(--blue); font-size: 1.8rem; transition: .5s var(--spring); }
.value-card:hover .value-icon, .bezel:hover .value-icon { background: var(--ink); color: var(--gold); transform: rotate(-6deg) scale(1.05); }
.value-card h5 { font-weight: 700; color: var(--ink); margin-bottom: .55rem; font-size: 1.2rem; }

.info-card { display: flex; align-items: flex-start; gap: 1.1rem; background: var(--surface); border: 1px solid var(--border); border-left: 5px solid var(--gold); border-radius: var(--r-sm); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.info-card:hover { transform: translateX(5px); box-shadow: var(--shadow-md); }
.info-card-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--cream-2); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }

/* Double-liseré */
.bezel { padding: 8px; border-radius: calc(var(--r-md) + 8px); background: var(--cream-2); border: 1px solid var(--border); transition: transform .5s var(--spring), box-shadow .5s var(--ease); height: 100%; }
.bezel > * { border-radius: var(--r-md) !important; height: 100%; }
.bezel:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
/* Quand une .u-card sert de cœur interne au double-liseré, elle n'a plus besoin
   de sa propre coque (le bezel la fournit) ni de son propre lift au survol
   (sinon addition des deux transforms = saut trop marqué). */
.bezel > .u-card { border: none; box-shadow: none; }
.bezel > .u-card:hover { transform: none; box-shadow: none; border-color: transparent; }

/* =========================================================
   STATS
   ========================================================= */
.stats-band { background: var(--grad-ink); color: #fff; position: relative; overflow: hidden; }
.stats-band::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.1) 1px, transparent 0); background-size: 28px 28px; opacity: .5; }
.stat-num { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(2.6rem, 6vw, 4rem); color: var(--gold); line-height: 1; }
.stat-label { text-transform: uppercase; letter-spacing: 1.5px; font-size: .82rem; opacity: .9; font-weight: 600; }

/* =========================================================
   GALERIE
   ========================================================= */
.gallery-item { position: relative; overflow: hidden; border-radius: var(--r-sm); box-shadow: var(--shadow-sm); display: block; }
.gallery-item img { width: 100%; height: 240px; object-fit: cover; display: block; filter: saturate(.45) contrast(1.02); transition: transform .7s var(--ease), filter .6s var(--ease); }
.gallery-item::after { content: '\F4FE'; font-family: 'bootstrap-icons'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 1.9rem; color: #fff; background: linear-gradient(0deg, rgba(7,25,45,.72), rgba(7,25,45,.12)); opacity: 0; transition: opacity .4s var(--ease); }
.gallery-item:hover img { transform: scale(1.1); filter: saturate(1.1) contrast(1.03); }
.gallery-item:hover::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .gallery-item img { filter: none; } }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band { background: var(--grad-ink); border-radius: var(--r-lg); color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-band::after { content: ''; position: absolute; right: -70px; top: -70px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(255,207,6,.45), transparent 70%); }

/* =========================================================
   NEWS
   ========================================================= */
.news-card { overflow: hidden; height: 100%; }
.news-card .news-img { height: 210px; overflow: hidden; }
.news-card .news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.news-card:hover .news-img img { transform: scale(1.07); }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .85rem; border-radius: 100px; font-size: .75rem; font-weight: 700; letter-spacing: .4px; background: var(--cream-2); color: var(--blue); }
.chip-gold { background: rgba(138, 101, 0, .12); color: var(--gold-ink); }

.date-pill { background: var(--grad-ink); color: #fff; border-radius: var(--r-sm); width: 88px; min-height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.date-pill .d { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2rem; font-weight: 800; line-height: 1; }
.date-pill .m { text-transform: uppercase; font-size: .75rem; letter-spacing: 1px; color: var(--gold); font-weight: 700; }

/* =========================================================
   PAGE HERO (intérieures)
   ========================================================= */
.page-hero { background: var(--grad-ink); color: #fff; position: relative; overflow: hidden; padding: 9rem 0 4rem; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.08) 1px, transparent 0); background-size: 26px 26px; opacity: .6; }
.page-hero::after { content: ''; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255,207,6,.28), transparent 70%); }
.page-hero h1 { position: relative; font-weight: 800; font-size: clamp(2.4rem, 5.5vw, 3.6rem); }
.page-hero p { position: relative; opacity: .9; max-width: 60ch; margin-inline: auto; }
.page-hero .hero-badge { color: var(--gold); }

/* =========================================================
   BUREAU
   ========================================================= */
.member-card { text-align: center; padding: 2.2rem 1.4rem; height: 100%; }
.member-photo { width: 130px; height: 130px; margin: 0 auto 1.2rem; border-radius: 50%; overflow: hidden; border: 4px solid var(--surface); box-shadow: 0 10px 26px rgba(20,35,58,.2); background: var(--cream-2); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6); transition: filter .5s var(--ease); }
.member-card:hover .member-photo img { filter: grayscale(0); }
@media (prefers-reduced-motion: reduce) { .member-photo img { filter: none; } }
.member-card.is-president { border-top: 5px solid var(--gold); }
.member-card .role { color: var(--gold-ink); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; font-size: .85rem; }

/* =========================================================
   STEP CARDS
   ========================================================= */
.step-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-sm); padding: 2.6rem 1.5rem 1.8rem; position: relative; transition: transform .5s var(--spring), box-shadow .5s; }
.step-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.step-num { position: absolute; top: 1rem; right: 1.4rem; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 2.8rem; line-height: 1; color: var(--blue); opacity: .12; }

/* =========================================================
   SOCIAL SHARE
   ========================================================= */
.share-row { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.share-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); color: var(--ink-soft); background: var(--surface); font-size: 1rem; text-decoration: none; transition: transform .35s var(--spring), background .3s, color .3s, border-color .3s; }
.share-btn:hover { transform: translateY(-3px) scale(1.06); background: var(--ink); color: #fff; border-color: var(--ink); }
.share-btn.fb:hover { background: #1877f2; border-color: #1877f2; }
.share-btn.wa:hover { background: #25d366; border-color: #25d366; }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: transform, opacity; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
    .reveal, .fade-up-hero { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; }
    .hero-scroll, .marquee-track { animation: none !important; }
    html { scroll-behavior: auto; }
}

/* =========================================================
   NEWSLETTER
   ========================================================= */
.newsletter-band { background: var(--cream); }
.newsletter-band .bezel { background: var(--cream-2); }
.newsletter-inner { background: var(--grad-ink); border-radius: var(--r-md); position: relative; overflow: hidden; }
.newsletter-inner::after { content: ''; position: absolute; left: -60px; bottom: -90px; width: 250px; height: 250px; border-radius: 50%; background: radial-gradient(circle, rgba(255,207,6,.32), transparent 70%); }
.newsletter-form { position: relative; z-index: 1; display: flex; gap: .5rem; max-width: 480px; margin-inline: auto; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 100px; padding: .4rem; backdrop-filter: blur(6px); }
.newsletter-form input { flex: 1; min-width: 0; border: none; background: transparent; color: #fff; padding: .6rem 1.2rem; font-size: 1rem; outline: none; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.65); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--ink); color: rgba(255,255,255,.82); }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; transition: color .25s; }
.site-footer a:hover { color: var(--gold); }
.social-btn { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.22); color: #fff; font-size: 1.05rem; transition: .3s var(--spring); }
.social-btn:hover { background: var(--gold); color: var(--blue-deep) !important; border-color: var(--gold); transform: translateY(-3px); }

/* =========================================================
   FORMS
   ========================================================= */
.form-modern .form-control, .form-modern .form-select { border-radius: 14px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.96); padding: .85rem 1rem; font-size: 1rem; }
.form-modern .form-control:focus, .form-modern .form-select:focus { box-shadow: 0 0 0 .25rem rgba(255,207,6,.35); border-color: var(--gold); }
.form-control, .form-select { border-radius: 12px; border-color: var(--border); }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 .25rem rgba(255,207,6,.25); }

/* Pagination */
.pagination .page-link { color: var(--ink); border-radius: 100px !important; }
.pagination .page-item.active .page-link { background: var(--ink); border-color: var(--ink); }

/* =========================================================
   DARK MODE (chaud, profond)
   ========================================================= */
[data-bs-theme="dark"] {
    --blue: #3D8BFF; --blue-deep: #0a4da3;
    --gold: #FFC631; --gold-soft: #FFE08A; --gold-ink: #FFD24A;
    --cream: #070C16; --cream-2: #0D1626; --surface: #111C30; --border: #20304a;
    --ink: #EEF2F9; --ink-soft: #9DB0CC;
    --lions-blue-soft: #14233c;
    --grad-blue: linear-gradient(140deg,#1763c9,#3D8BFF,#0a3f86);
    --grad-ink: linear-gradient(155deg, #0D1A30 0%, #0A1322 60%, #060A12 100%);
    --shadow-sm: 0 4px 18px rgba(0,0,0,.5); --shadow-md: 0 20px 50px rgba(0,0,0,.6); --shadow-lg: 0 40px 80px rgba(0,0,0,.7);
}
[data-bs-theme="dark"] body { background: var(--cream); color: var(--ink); }
[data-bs-theme="dark"] body::after { opacity: .05; }
[data-bs-theme="dark"] .section-title { color: var(--ink); }
[data-bs-theme="dark"] .value-card h5 { color: var(--ink); }
[data-bs-theme="dark"] .text-muted { color: var(--ink-soft) !important; }
[data-bs-theme="dark"] .navbar-lions > .container { background: rgba(13, 24, 42, .72); border-color: rgba(255,255,255,.10); box-shadow: inset 0 1px 1px rgba(255,255,255,.06), 0 18px 50px rgba(0,0,0,.5); }
[data-bs-theme="dark"] .navbar-lions.scrolled > .container { background: rgba(8, 15, 28, .92); }
[data-bs-theme="dark"] .navbar-lions .nav-link, [data-bs-theme="dark"] .navbar-brand, [data-bs-theme="dark"] .club-name { color: var(--ink) !important; }
[data-bs-theme="dark"] .hamburger span { background: var(--ink); }
[data-bs-theme="dark"] .nav-join { background: var(--gold); color: var(--blue-deep) !important; }
[data-bs-theme="dark"] .nav-join:hover { background: var(--gold-soft); color: var(--blue-deep) !important; }
[data-bs-theme="dark"] .theme-toggle { color: var(--ink); border-color: rgba(255,255,255,.2); }
[data-bs-theme="dark"] .value-icon, [data-bs-theme="dark"] .chip { background: var(--cream-2); color: var(--gold); }
[data-bs-theme="dark"] .btn-lions { background: var(--blue); }
[data-bs-theme="dark"] .form-control, [data-bs-theme="dark"] .form-select { background: var(--cream-2); color: var(--ink); border-color: var(--border); }
[data-bs-theme="dark"] .btn-outline-secondary { color: var(--ink) !important; }

/* Captcha maison */
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.captcha-block { margin: 0; }
.captcha-hint { display: block; margin-top: .3rem; font-size: .78rem; color: var(--ink-soft); }
.form-modern .captcha-hint, .newsletter-inner .captcha-hint { color: rgba(255,255,255,.78); }
.newsletter-inner .captcha-block label { color: rgba(255,255,255,.92); font-weight: 600; }
.newsletter-inner .newsletter-captcha .form-control { background: rgba(255,255,255,.96); border-radius: 12px; }

/* Pages légales */
.legal-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 1.8rem 2rem; margin-bottom: 1.2rem; box-shadow: var(--shadow-sm); }
.legal-block h2 { font-size: 1.25rem; display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; color: var(--ink); }
.legal-num { flex-shrink: 0; width: 32px; height: 32px; border-radius: 10px; background: var(--gold); color: var(--blue-deep); display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; font-weight: 800; }
.legal-block p, .legal-block li { color: var(--ink-soft); line-height: 1.75; }
.legal-block ul { padding-left: 1.2rem; }
@media (max-width: 575.98px) { .legal-block { padding: 1.3rem 1.2rem; } }

/* Bouton retour en haut */
.back-to-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 40;
    width: 46px; height: 46px; border-radius: 50%; border: none;
    background: var(--blue); color: #fff; font-size: 1.15rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background .25s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--blue-deep); }
@media (max-width: 575.98px) { .back-to-top { right: 14px; bottom: 14px; width: 42px; height: 42px; } }

/* Utils */
.lift { transition: transform .3s var(--spring); }
.lift:hover { transform: translateY(-4px); }
.rounded-2xl { border-radius: var(--r-md) !important; }
.text-blue { color: var(--blue) !important; }
.text-ink { color: var(--ink) !important; }

/* Partenaires (accueil) */
.partenaires { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.2rem 1.6rem; }
.partenaire { display: flex; align-items: center; justify-content: center; width: 170px; height: 90px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); text-decoration: none; color: var(--ink-soft); font-weight: 700; text-align: center; transition: transform .4s var(--spring), box-shadow .4s var(--ease), border-color .3s; }
.partenaire img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .4s var(--ease), opacity .4s var(--ease); }
a.partenaire:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(0,82,155,.25); }
a.partenaire:hover img { filter: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .partenaire img { filter: none; opacity: 1; } }
