/* ==========================================================================
   TABLE DES MATIÈRES
   1.  VARIABLES CSS
   2.  RESET & BASE
   3.  TYPOGRAPHIE
   4.  GOOGLE TRANSLATE (nettoyage)
   5.  NAVBAR & MENU DESKTOP
   6.  MENU MOBILE (Offcanvas)
   7.  BOUTONS GÉNÉRIQUES
   8.  HERO CINEMA
   9.  SECTIONS & LAYOUT
   10. COMPOSANTS (Cards, Stats, Bento...)
   11. BLOG & ARTICLES
   12. SIDEBAR
   13. PAGINATION
   14. PARTENAIRES (Ticker)
   15. BOUTIQUE & PRODUITS
   16. PANIER & CHECKOUT
   17. FORMULAIRE DE DON (Donate Card)
   18. TICKER DONATEURS
   19. GALERIE LIGHTBOX
   20. FOOTER
   21. PAGES GÉNÉRIQUES (Template)
   22. ABOUT (Timeline)
   23. ANIMATIONS (@keyframes)
   24. RESPONSIVE (Media Queries)
   ========================================================================== */


/* ==========================================================================
   1. VARIABLES CSS
   ========================================================================== */

:root {
    /* Brand */
    --brand-blue: #3e4db2;
    --brand-blue-hover: #2d3985;
    --deep-blue: #2c3682;
    --light-blue: #37B6FF;
    --cyan: #5CE1E6;
    --anniv-gold: #F2D411;

    /* Couleurs sémantiques */
    --brand-success: #28a745;
    --brand-success-hover: #1e7e34;
    --brand-warning: #ffb800;
    --brand-warning-hover: #e6a600;
    --brand-danger: #dc3545;
    --brand-danger-hover: #bd2130;
    --brand-info: #17a2b8;
    --brand-info-hover: #117a8b;
    --brand-secondary: #6c757d;
    --brand-secondary-hover: #545b62;
    --brand-dark: #1a1f3c;
    --brand-dark-hover: #0d1021;
    --brand-light: #f8f9fa;
    --brand-light-hover: #e9ecef;

    /* Soft backgrounds */
    --primary-soft: rgba(62, 77, 178, 0.1);
    --warning-soft: rgba(242, 212, 17, 0.15);
    --success-soft: rgba(40, 167, 69, 0.1);

    /* Footer */
    --footer-top-blue: #2c3682;

    /* Easing */
    --ease-cinematic: cubic-bezier(0.4, 0, 0.2, 1);
}


/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
    top: 0 !important;
    position: static !important;
}

::selection {
    background-color: var(--brand-blue);
    color: white;
}

a {
    text-decoration: none;
    color: #2c36a0;
}

a:hover {
    text-decoration: underline;
}

/* Fix overflow parents */
.row, .col-lg-3, .col-lg-9, .col-md-6, .col-md-4, .col-12,
.section-padding, .blog-section, #articleContent,
.container, .container-fluid {
    overflow: visible !important;
}


/* ==========================================================================
   3. TYPOGRAPHIE
   ========================================================================== */

h1, h2, h3 {
    font-family: 'Archivo Black', sans-serif;
    margin-bottom: 1rem;
}

.modern-title {
    font-family: 'Archivo Black';
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    text-transform: uppercase;
    line-height: 0.9;
    margin-bottom: 35px;
    color: var(--brand-blue);
}

.h3-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(1rem, 3vw, 2.5rem);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--brand-blue);
}

.text-outline-brand {
    -webkit-text-stroke: 1px var(--brand-blue);
    color: transparent;
}

.dropcap::first-letter {
    font-family: 'Archivo Black', sans-serif;
    float: left;
    font-size: 4.5rem;
    line-height: 0.8;
    padding-top: 4px;
    padding-right: 12px;
    color: var(--brand-blue);
}

.page-lead {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.page-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.fw-black { font-weight: 900; }
.fs-7 { font-size: 0.85rem; }
.tracking-widest { letter-spacing: 0.15em; }
.text-muted-color { color: #888; }
.text-gold { color: var(--anniv-gold); }
.color-brand { color: var(--brand-blue); font-size: 1.1em; vertical-align: middle; }

/* Titre avec cœurs pulsants */
.heart-framed-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-family: 'Archivo Black', sans-serif;
    color: var(--brand-blue);
    text-transform: uppercase;
    position: relative;
}

.heart-framed-title i {
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.heart-left {
    color: #e74c3c;
    font-size: 0.9em;
    animation: heartBeat 1.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.heart-right {
    color: var(--light-blue);
    font-size: 0.7em;
    animation: heartBeat 1.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-delay: 0.3s;
}

blockquote {
    border-left: 4px solid #2c36a0;
    padding-left: 1rem;
    font-style: italic;
    color: #555;
    margin: 1.5rem 0;
}


/* ==========================================================================
   4. GOOGLE TRANSLATE (nettoyage)
   ========================================================================== */

#goog-gt-tt,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.skiptranslate,
.goog-te-gadget,
.goog-te-gadget-icon,
.goog-te-balloon-frame {
    display: none !important;
    visibility: hidden !important;
}

font {
    background-color: transparent !important;
    box-shadow: none !important;
    all: unset !important;
}

.nav-icon-link.no-caret::after { display: none; }

.translate-link:hover {
    background-color: #f8f9fa;
    color: #0d6efd;
}

body {
    top: 0 !important;
    position: static !important;
    min-height: unset !important;
}

/* --- ALERTES FLASH --- */
.alert-flash {
    border-radius: 12px !important;
    padding: 16px 20px;
    font-size: 0.95rem;
    animation: slideDown 0.3s ease;
}

.alert-flash .alert-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.25);
}

.alert-success .alert-icon { color: #0a3622; }
.alert-warning .alert-icon { color: #664d03; }
.alert-danger  .alert-icon { color: #fff; }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ==========================================================================
   5. NAVBAR & MENU DESKTOP
   ========================================================================== */

 /* --- NAVBAR --- */
.navbar-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.navbar-main .container-fluid {
    flex-wrap: nowrap !important;
    justify-content: space-between;
}

.navbar-brand-custom {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-logo {
    max-height: 80px;
    width: auto;
}


.nav-link-top {
    color: #fff !important;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.72rem;      /* légèrement réduit */
    letter-spacing: 1.5px;   /* légèrement réduit */
    margin: 0 12px;          /* réduit de 15px à 12px */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-don-main span.d-none.d-xl-inline {
    letter-spacing: 1px;
    font-size: 0.8rem;
}

/* Dropdown */
.navbar .nav-item.dropdown {
    display: inline-flex;
    align-items: center;
    position: relative;
    height: 100%;
}

.navbar .nav-link-top.dropdown-toggle {
    padding: 0 !important;
    margin: 0 15px;
    display: inline-flex;
    align-items: center;
}

.navbar .dropdown-toggle::after {
    margin-left: 0.5rem;
    vertical-align: middle;
}

.navbar .dropdown-menu {
    background-color: #fff !important;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-top: 10px;
    min-width: 200px;
    overflow: hidden;
}

.navbar .dropdown-item {
    color: var(--brand-blue) !important;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.navbar .dropdown-item:hover {
    transform: translateX(5px);
    font-weight: 900;
}

/* Icônes nav */
.nav-icon-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-icon-link:hover {
    color: #fff;
    transform: translateY(-2px);
}

.nav-icon-link .badge {
    padding: 0.25em 0.45em;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Sticky bar */
#page-menu-wrap {
    position: sticky;
    top: 0;
    width: 100%;
    height: 50px;
    background-color: var(--brand-blue);
    z-index: 1100;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-menu-row { height: 50px; }

.page-menu-nav ul li a {
    display: flex;
    align-items: center;
    height: 50px;
    padding: 0 20px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    text-decoration: none;
}

/* Modal recherche — version optimisée */
.search-modal-content {
    background: rgba(15, 17, 26, 0.97) !important; /* plus opaque = moins de blur nécessaire */
    backdrop-filter: blur(8px);                      /* réduit de 15px à 8px */
    -webkit-backdrop-filter: blur(8px);
    border: none;

    /* Force le GPU à isoler cet élément — évite le repaint du DOM Livewire */
    will-change: opacity;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Accélère la transition d'ouverture Bootstrap */
.modal.fade .modal-dialog {
    transition: transform 0.2s ease-out; /* réduit de 0.3s à 0.2s */
}

.search-input-group {
    max-width: 800px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}

.search-input-group .form-control {
    background: transparent !important;
    border: none !important;
    color: white !important;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    padding: 0;
}

.search-input-group .form-control::placeholder { color: rgba(255, 255, 255, 0.3); }
.search-input-group .form-control:focus { box-shadow: none; }

.btn-search-submit {
    color: white;
    font-size: 2.5rem;
    padding: 0;
    transition: transform 0.3s ease;
}

.btn-search-submit:hover {
    color: var(--anniv-gold);
    transform: translateX(10px);
}

.search-suggestions .badge {
    transition: all 0.3s ease;
    background: transparent;
}

.search-suggestions .badge:hover {
    background: white;
    color: black !important;
}


/* ==========================================================================
   6. MENU MOBILE (Offcanvas)
   ========================================================================== */

#mobileMenu {
    border-radius: 0 25px 25px 0;
    max-width: 85%;
}

.offcanvas { background-color: #fff !important; }

.offcanvas-body .nav-link {
    font-weight: 600;
    padding: 0.75rem 0;
    color: var(--brand-blue) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.menu-section-title {
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #adb5bd;
    margin-bottom: 15px;
}

.menu-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 15px;
    padding: 12px 15px;
    margin-bottom: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
}

.menu-card-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.menu-card:active {
    background: #f8f9fa;
    transform: scale(0.98);
}

.menu-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.quick-action-card {
    background: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 15px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #333;
    font-size: 0.85rem;
    font-weight: 700;
}

.quick-action-card i {
    font-size: 1.5rem;
    color: var(--brand-blue);
}

.btn-close-custom {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
}

.social-mini {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    border: 1px solid #eee;
    text-decoration: none;
}


/* ==========================================================================
   7. BOUTONS GÉNÉRIQUES
   ========================================================================== */

.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn:hover, .btn:focus {
    transform: translateY(-2px);
}

/* Primary */
.text-primary { color: var(--brand-blue) !important; }
.bg-primary { background-color: var(--brand-blue) !important; }

.btn-primary {
    background-color: var(--brand-blue) !important;
    border-color: var(--brand-blue) !important;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--brand-blue-hover) !important;
    border-color: var(--brand-blue-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(62, 77, 178, 0.3);
}

/* Success */
.text-success { color: var(--brand-success) !important; }
.bg-success { background-color: var(--brand-success) !important; }
.btn-success { background-color: var(--brand-success) !important; border-color: var(--brand-success) !important; }
.btn-success:hover, .btn-success:focus {
    background-color: var(--brand-success-hover) !important;
    border-color: var(--brand-success-hover) !important;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

/* Warning */
.text-warning { color: var(--brand-warning) !important; }
.bg-warning { background-color: var(--brand-warning) !important; }
.btn-warning { background-color: var(--brand-warning) !important; border-color: var(--brand-warning) !important; color: #fff !important; }
.btn-warning:hover, .btn-warning:focus {
    background-color: var(--brand-warning-hover) !important;
    border-color: var(--brand-warning-hover) !important;
    box-shadow: 0 5px 15px rgba(255, 184, 0, 0.3);
}

/* Danger */
.text-danger { color: var(--brand-danger) !important; }
.bg-danger { background-color: var(--brand-danger) !important; }
.btn-danger { background-color: var(--brand-danger) !important; border-color: var(--brand-danger) !important; }
.btn-danger:hover, .btn-danger:focus {
    background-color: var(--brand-danger-hover) !important;
    border-color: var(--brand-danger-hover) !important;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

/* Info */
.text-info { color: var(--brand-info) !important; }
.bg-info { background-color: var(--brand-info) !important; }
.btn-info { background-color: var(--brand-info) !important; border-color: var(--brand-info) !important; color: #fff !important; }
.btn-info:hover, .btn-info:focus {
    background-color: var(--brand-info-hover) !important;
    border-color: var(--brand-info-hover) !important;
    box-shadow: 0 5px 15px rgba(23, 162, 184, 0.3);
}

/* Secondary */
.text-secondary { color: var(--brand-secondary) !important; }
.bg-secondary { background-color: var(--brand-secondary) !important; }
.btn-secondary { background-color: var(--brand-secondary) !important; border-color: var(--brand-secondary) !important; }
.btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--brand-secondary-hover) !important;
    border-color: var(--brand-secondary-hover) !important;
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
}

/* Dark */
.text-dark { color: var(--brand-dark) !important; }
.bg-dark { background-color: var(--brand-dark) !important; }
.btn-dark { background-color: var(--brand-dark) !important; border-color: var(--brand-dark) !important; }
.btn-dark:hover, .btn-dark:focus {
    background-color: var(--brand-dark-hover) !important;
    border-color: var(--brand-dark-hover) !important;
    box-shadow: 0 5px 15px rgba(26, 31, 60, 0.3);
}

/* Light */
.text-light { color: var(--brand-light) !important; }
.bg-light { background-color: var(--brand-light) !important; }
.btn-light {
    background-color: var(--brand-light) !important;
    border-color: var(--brand-light-hover) !important;
    color: var(--brand-dark) !important;
}
.btn-light:hover, .btn-light:focus {
    background-color: var(--brand-light-hover) !important;
    border-color: var(--brand-light-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Soft backgrounds */
.bg-primary-soft { background-color: var(--primary-soft) !important; color: var(--brand-blue) !important; }
.bg-success-soft { background-color: rgba(40, 167, 69, 0.1) !important; color: var(--brand-success) !important; }
.bg-warning-soft { background-color: rgba(255, 184, 0, 0.1) !important; color: var(--brand-warning) !important; }
.bg-danger-soft  { background-color: rgba(220, 53, 69, 0.1) !important; color: var(--brand-danger) !important; }
.bg-info-soft    { background-color: rgba(23, 162, 184, 0.1) !important; color: var(--brand-info) !important; }
.text-primary-soft { color: rgba(62, 77, 178, 0.25); }

/* Bouton brand */
.brand-bg-blue { background: var(--brand-blue); }

/* Bouton Don (sidebar) */
.btn-don-sidebar {
    display: block;
    text-align: center;
    background: var(--anniv-gold);
    color: var(--brand-blue);
    font-weight: 900;
    padding: 12px 20px;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-don-sidebar:hover {
    background: var(--brand-blue);
    color: #fff;
    transform: translateY(-2px);
}

.btn-don-sidebar:active {
    top: 6px;
    box-shadow: 0 0 0 var(--deep-blue);
    background: #F2D411;
}

.btn-don-sidebar i { color: inherit; }

/* Bouton Don (top) */
.btn-don-top {
    background: var(--anniv-gold);
    color: var(--brand-blue);
    font-weight: 900;
    padding: 12px 35px;
    border: none;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
    transition: 0.3s;
}

/* Bouton Don (main navbar) */
.btn-don-main {
    background-color: #F2D411 !important;
    color: #3e4db2 !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    text-decoration: none !important;
    font-size: 0.85rem;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    min-height: 45px;
    border: none;
    transition: all 0.3s ease;
}

.btn-don-pulse { animation: pulse-sdj-final 2s infinite; }

.btn-don-main i {
    display: inline-block;
    animation: heartBeat 1.5s infinite;
}

/* Bouton Don (ultra) */
.btn-don-ultra {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 45px;
    font-family: 'Archivo Black', sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    text-transform: uppercase;
    text-decoration: none;
    color: #3e4db2 !important;
    background: linear-gradient(45deg, #F2D411, #FFEB3B, #F2D411);
    background-size: 200% auto;
    border-radius: 50px;
    border: none;
    box-shadow: 0 10px 20px rgba(242, 212, 17, 0.3);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: gradientShift 3s ease infinite, ultraPulse 2s infinite;
    cursor: pointer;
    overflow: hidden;
}

.btn-don-ultra::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: 0.75s;
    animation: shine 4s infinite;
}

.btn-don-ultra:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 15px 30px rgba(242, 212, 17, 0.5);
    background-position: right center;
}

.btn-don-ultra:hover i.bi-heart-fill { animation: heartBeat 0.8s infinite; }

/* Bouton Don (slim) */
.btn-don-slim {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-family: 'Archivo Black', sans-serif;
    font-weight: 900;
    font-size: 0.85rem;
    text-transform: uppercase;
    text-decoration: none;
    color: #3e4db2 !important;
    background: linear-gradient(45deg, #F2D411, #FFEB3B, #F2D411);
    background-size: 200% auto;
    border-radius: 30px;
    border: none;
    box-shadow: 0 4px 12px rgba(242, 212, 17, 0.2);
    position: relative;
    transition: all 0.3s ease;
    animation: gradientShift 3s ease infinite, slimPulse 2s infinite;
    white-space: nowrap;
    cursor: pointer;
}

.btn-don-slim:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 15px rgba(242, 212, 17, 0.4);
    background-position: right center;
}

.btn-don-slim:hover i.bi-heart-fill { animation: heartBeat 0.8s infinite; }

/* Hero ghost */
.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    margin-top: 40px;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    font-weight: 800;
    text-decoration: none;
    padding: 15px 35px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-hero-ghost:hover {
    background: #fff;
    color: var(--brand-blue);
    transform: translateY(-3px);
}

/* Readmore */
.btn-readmore {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-readmore::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.blog-card:hover .btn-readmore::after { transform: translateX(5px); }

.read-article {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: var(--brand-blue);
    margin-top: 10px;
    transition: transform 0.25s ease;
    margin-top: auto;
    padding-top: 15px;
}

.read-article .arrow {
    margin-left: 5px;
    transition: transform 0.25s ease;
}

.read-article:hover .arrow { transform: translateX(4px); }

/* Refresh */
.btn-refresh {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s var(--ease-cinematic);
}

.btn-refresh:active { transform: rotate(180deg); }


/* ==========================================================================
   8. HERO CINEMA
   ========================================================================== */

.hero-cinema {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: var(--deep-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-cinema .hero-content {
    opacity: 1 !important;
    visibility: visible !important;
    color: #fff !important;
    z-index: 10;
}

.hero-cinema .hero-title,
.hero-cinema .hero-tag,
.hero-cinema .hero-gala-line {
    color: #ffffff !important;
    opacity: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-cinema .fade-step { opacity: 0; }

.hero-cinema .fade-step.active {
    opacity: 1 !important;
    transition: opacity 1s ease-in-out;
}

.hero-cinema .text-outline-white {
    -webkit-text-stroke: 1px #ffffff !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    opacity: 1 !important;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.brand-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(0,0,0,0.35) 100%),
        linear-gradient(135deg, rgba(62,77,178,0.88) 0%, rgba(44,54,130,0.65) 100%);
}

.hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Typo Hero */
.hero-gala-line {
    font-family: 'Archivo Black';
    font-size: clamp(1.4rem, 6vw, 6rem);
    line-height: 1.05;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    white-space: normal;
    word-break: break-word;
}

.anniv-text { color: var(--anniv-gold); }

.hero-title {
    font-family: 'Archivo Black';
    font-size: clamp(2.5rem, 10vw, 7.5rem);
    line-height: 0.85;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}

.hero-tag {
    font-weight: 800;
    letter-spacing: 12px;
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Fade steps */
.fade-step {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    opacity: 0;
    filter: blur(20px);
    transition: all 1.2s var(--ease-cinematic);
}

.fade-step.visible {
    opacity: 1;
    filter: blur(0);
}

.fade-step.exit {
    opacity: 0;
    filter: blur(30px);
    transform: translate(-50%, -70%);
}

/* Hero Home wrapper (isolé du blog) */
.hero-home-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    color: #ffffff !important;
}

.fade-step-home {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 1.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    text-align: center;
}

.fade-step-home.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.fade-step-home.exit {
    opacity: 0;
    transform: translateY(-30px);
    filter: blur(5px);
}

.hero-home-wrapper h1,
.hero-home-wrapper h2,
.hero-home-wrapper p {
    color: #ffffff !important;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* Jumpto arrow */
.hero-jumpto {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    color: #fff;
    font-size: 2rem;
    animation: bounce 2s infinite;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.hero-jumpto:hover {
    opacity: 1;
    color: var(--anniv-gold);
}

/* Countdown */
.cd-wrapper-clean {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.cd-val {
    display: block;
    font-family: 'Archivo Black';
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: var(--anniv-gold);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.cd-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
}


/* ==========================================================================
   9. SECTIONS & LAYOUT
   ========================================================================== */

.section-padding { padding: 60px 0; }

.bento-card {
    background: #f8f9fa;
    padding: 40px;
    height: 100%;
    border-radius: 4px;
}

.icon-brand {
    font-size: 2.5rem;
    color: var(--brand-blue);
    margin-bottom: 15px;
    display: block;
}

.stat-big {
    font-family: 'Archivo Black';
    font-size: 5rem;
    color: var(--anniv-gold);
    line-height: 1;
}

.stat-label {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.grayscale img {
    filter: grayscale(1);
    opacity: 0.5;
    transition: 0.3s;
}

.grayscale img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Patterns décoratifs */
.pattern-top-left,
.pattern-top-right,
.pattern-bottom-left,
.pattern-bottom-right {
    position: absolute;
    width: 380px;
    height: 380px;
    opacity: 0.3;
    animation: floatPattern 12s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

.pattern-top-left  { top: 50px;    left: -100px; }
.pattern-top-right { top: 200px;   right: -100px; }
.pattern-bottom-left  { bottom: 10%; left: -80px; }
.pattern-bottom-right { bottom: 15%; right: -80px; }

.pattern-top-left circle:nth-child(2) { animation: pulse-radar 4s infinite ease-in-out; }

.page-patterns {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.page-patterns svg {
    position: absolute;
    width: 280px;
    height: 280px;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

/* Page quote */
.page-quote {
    border-left: 5px solid #F2D411;
    background: #fdfaf0;
    padding: 2.5rem;
    margin: 3.5rem 0;
    border-radius: 0 20px 20px 0;
    position: relative;
}

.page-quote p {
    font-style: italic;
    font-size: 1.4rem;
    color: var(--brand-blue);
    margin-bottom: 0;
    line-height: 1.6;
}

.page-quote::before {
    content: '"';
    font-family: 'Archivo Black', serif;
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(242, 212, 17, 0.3);
}

/* Image glass */
.glass-image-container {
    display: inline-block;
    position: relative;
    padding: 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.glass-boxed-img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.text-center .glass-image-container {
    margin-left: auto;
    margin-right: auto;
}

/* Vidéo */
.video-container-wrapper {
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    margin: 4rem 0;
    transition: transform 0.3s ease;
}

.video-container-wrapper:hover { transform: scale(1.01); }

.video-ratio {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #000;
}

.video-ratio iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-caption { margin-top: 1.5rem; text-align: center; }

.video-caption h4 {
    font-family: 'Archivo Black', sans-serif;
    color: var(--brand-blue);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}


/* ==========================================================================
   10. COMPOSANTS (Cards, Stats, Poles, Missions...)
   ========================================================================== */

/* Poles */
.pole-card {
    background: #fff;
    padding: 45px 35px;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.pole-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.pole-icon { font-size: 36px; margin-bottom: 20px; }
.pole-card h3 { font-weight: 900; font-size: 20px; margin-bottom: 12px; }
.pole-card p { font-size: 15px; line-height: 1.6; color: #666; margin-bottom: 28px; }

.pole-read {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: .25s;
}

.arrow { transition: transform .25s ease; }
.pole-card:hover .arrow { transform: translateX(6px); }

.pole-1 { border-top: 4px solid #3E4EB2; }
.pole-2 { border-top: 4px solid #37B6FF; }
.pole-3 { border-top: 4px solid #5CE1E6; }
.pole-4 { border-top: 4px solid #3E4EB2; }

.pole-patterns {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.pole-patterns svg.pattern {
    position: absolute;
    width: 80px;
    height: 80px;
    opacity: 0.5;
    filter: drop-shadow(0 0 20px rgba(62, 77, 178, 0.4));
    transform-origin: center;
}

.pattern-1 { top: 10%; left: 10%; animation: float1 6s ease-in-out infinite alternate; }
.pattern-2 { top: 30%; left: 80%; animation: float2 7s ease-in-out infinite alternate; }
.pattern-3 { top: 55%; left: 40%; animation: float3 8s ease-in-out infinite alternate; }

/* Missions */
.mission-item {
    transition: all 0.4s ease;
    position: relative;
}

.mission-item:hover {
    background-color: #fafafa;
    padding-left: 15px !important;
}

.mission-number {
    font-size: 3.5rem;
    opacity: 0.3;
    line-height: 1;
    display: block;
    font-family: 'Montserrat', sans-serif;
}

.mission-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Engagement cards */
.engagement-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    z-index: 2;
}

.engagement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border-color: #F2D411;
}

/* Stat items */
.stat-item {
    padding: 20px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.stat-item:hover { transform: translateY(-5px); }

/* Structure cards */
.structure-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.structure-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(62, 77, 178, 0.1) !important;
}


/* ==========================================================================
   11. BLOG & ARTICLES
   ========================================================================== */

.blog-section {
    background: #fff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.blog-section .row {
    display: flex;
    flex-wrap: wrap;
}

.blog-section .col-md-6 {
    display: flex;
    margin-bottom: 30px;
}

/* Carte blog simple */
.blog-card-simple {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card-simple img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.blog-card-simple:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12) !important;
}

/* Carte blog (swiper) */
.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: transform .35s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.blog-card:hover { transform: translateY(-8px); }

.blog-card img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.blog-card h3 { font-size: 20px; margin-bottom: 10px; }
.blog-card p { font-size: 16px; color: #666; }

/* Blog content (partagé entre les deux types de cartes) */
.blog-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
}

.blog-content h5 {
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
}

.blog-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-intro {
    flex-grow: 1;
    margin-bottom: 15px;
}

/* Blog meta & tags */
.blog-meta {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 10px;
    color: var(--brand-blue);
    transition: color 0.3s ease;
}

.blog-meta:hover { color: #F2D411; }

.blog-categories-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.blog-categories-wrapper .cat-link {
    text-decoration: none;
    display: inline-flex;
}

.cat-separator { color: #ccc; font-size: 0.8rem; }

.title-link { text-decoration: none; color: inherit; }
.title-link h5 { transition: color 0.3s ease; }
.title-link:hover h5 { color: var(--brand-blue); }

.blog-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.blog-tag-link { text-decoration: none !important; }

.blog-meta-tag {
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-block;
    color: #8e44ad;
    background-color: rgba(142, 68, 173, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-tag-link:hover .blog-meta-tag {
    background-color: rgba(142, 68, 173, 0.2);
    color: #732d91;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(142, 68, 173, 0.15);
}

/* Blog slider */
.blog-slider-wrapper {
    position: relative;
    z-index: 1;
    margin-left: calc((100vw - 1200px) / 2);
}

.blogSwiper {
    overflow: visible;
    padding-right: 80px;
}

.swiper-slide {
    width: 420px;
    display: flex;
    height: auto;
}

.blog-nav {
    display: flex;
    gap: 20px;
    margin-top: 50px;
    justify-content: flex-start;
}

.blog-prev, .blog-next {
    position: relative;
    color: var(--brand-blue);
    transition: color 0.3s;
}

.blog-prev:hover, .blog-next:hover { color: var(--anniv-gold); }

.swiper-button-prev, .swiper-button-next {
    top: auto;
    bottom: -60px;
    width: 35px;
    height: 35px;
}

.swiper-button-prev { left: 0; }
.swiper-button-next { left: 50px; }
.swiper-button-prev:after, .swiper-button-next:after { font-size: 22px; }

/* Article hero */
.hero-article {
    position: relative;
    width: 100%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 100px;
}

.hero-article .overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(ellipse at center, rgba(62,77,178,0.95) 0%, rgba(44,54,130,0.95) 100%);
}

.hero-article .hero-content {
    position: relative;
    z-index: 10;
    color: white;
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-article h1 {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(1.6rem, 5vw, 4rem);
    line-height: 1.15;
    text-transform: uppercase;
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    text-align: center;
    text-wrap: balance;
    hyphens: none !important;
    word-break: normal;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s var(--ease-cinematic);
}

.hero-article .breadcrumb {
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: #F2D411;
    margin-top: 25px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.2s var(--ease-cinematic);
    display: inline-block;
    width: 100%;
    text-align: center;
}

.hero-article.visible h1,
.hero-article.visible .breadcrumb {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.hero-article.visible .breadcrumb a {
    color: #fff;
    text-decoration: none;
}

/* Single article */
#articleContent .container { position: relative; z-index: 10; }

.single-article img {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    margin-bottom: 1rem;
}

.entry-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Partage réseaux */
.article-footer-share { border-top: 1px solid rgba(0, 0, 0, 0.1) !important; }
.related-posts-section { border-top: 1px solid rgba(0, 0, 0, 0.1) !important; }

.btn-share-colored {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff !important;
    text-decoration: none;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-share-colored.fb  { background: linear-gradient(135deg, #1877F2, #0a56bd); }
.btn-share-colored.x-twitter { background: linear-gradient(135deg, #1d1d1d, #000000); }
.btn-share-colored.in  { background: linear-gradient(135deg, #0077b5, #005987); }
.btn-share-colored.wa  { background: linear-gradient(135deg, #25D366, #1bd75f); }
.btn-share-colored.copy { background: linear-gradient(135deg, #3e4db2, #2a3682); }
.btn-share-colored.ig  { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }

.btn-share-colored:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    filter: brightness(1.1);
}

.btn-share-colored:active { transform: translateY(0) scale(0.95); }

/* Inspiration cards */
.inspiration-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-image-wrapper {
    overflow: hidden;
    position: relative;
    padding-top: 60%;
    display: block;
}

.inspiration-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.inspiration-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.inspiration-card:hover .inspiration-img { transform: scale(1.1); }

.inspiration-content { flex-grow: 1; }

.inspiration-title a {
    color: var(--brand-blue);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.inspiration-card:hover .inspiration-title a { color: #5CE1E6; }

.inspiration-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.inspiration-category { font-size: 0.75rem; font-weight: 700; }


/* ==========================================================================
   12. SIDEBAR
   ========================================================================== */

.sidebar {
    position: sticky;
    top: 100px;
    z-index: 1001;
    width: 100%;
    min-height: 200px;
    padding: 0 25px 25px 25px;
    border-radius: 12px;
    background: #fff;
    overflow: visible !important;
}

.sidebar .sidebar-title {
    font-family: 'Archivo Black', sans-serif;
    color: #2d3436;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    position: relative;
    padding-bottom: 12px;
}

.sidebar .sidebar-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #F2D411;
    border-radius: 2px;
}

.sidebar .sidebar-title i { color: var(--brand-blue); font-size: 1.1rem; }
.sidebar .list-group-item { border: none !important; padding: 0 !important; background: transparent !important; }

/* Catégories compactes */
.categories-compact { list-style: none; padding: 0; margin: 0; }
.categories-compact li { margin-bottom: 2px; }

.categories-compact .cat-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 6px 0;
    color: #444;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.categories-compact .cat-dot {
    flex-grow: 1;
    border-bottom: 1px dotted #e0e0e0;
    margin: 0 10px;
    position: relative;
    top: -4px;
}

.categories-compact .cat-name { flex-shrink: 0; transition: all 0.2s ease; }

.categories-compact .cat-count {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #888;
    font-weight: 700;
    background: #f0f0f5;
    padding: 2px 8px;
    border-radius: 6px;
    min-width: 30px;
    text-align: center;
    transition: all 0.2s ease;
}

.categories-compact .cat-link:hover .cat-name { color: var(--brand-blue); transform: translateX(5px); }
.categories-compact .cat-link:hover .cat-dot { border-bottom-color: var(--brand-blue); opacity: 0.5; }
.categories-compact .cat-link:hover .cat-count { background: var(--brand-blue); color: #fff; }

/* Articles récents */
.recent-post-blog {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #f5f5f9;
}

.recent-post-blog:last-child { border-bottom: none; }

.recent-post-blog img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

.recent-post-blog h5 { font-size: 1rem; margin: 0.5rem 0; color: #333; }

.recent-post-blog .read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-blue);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

/* Tags cloud */
.tagcloud { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 10px; }

.tagcloud a {
    background: #f0f0ff;
    color: var(--brand-blue);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.3s;
    text-decoration: none;
}

.tagcloud a:hover { background: var(--anniv-gold); color: var(--brand-blue); }

/* Sidebar shop */
.sidebar-shop-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 20px;
    border-left: 4px solid var(--brand-blue);
    padding-left: 15px;
}

.cat-link {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
    border-bottom: 1px solid #eee;
}

.cat-link:hover { color: var(--brand-blue); }

.cat-count {
    background: #eee;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
}


/* ==========================================================================
   13. PAGINATION
   ========================================================================== */

.pagination {
    gap: 8px;
    justify-content: center;
}

.pagination .page-item { margin: 0; }

.pagination .page-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50% !important;
    color: #555;
    font-weight: 600;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.pagination .page-item.active .page-link {
    background-color: var(--brand-blue) !important;
    color: #fff !important;
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(62, 77, 178, 0.3);
}

.pagination .page-link:hover {
    background-color: #F2D411;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(242, 212, 17, 0.4);
}

.pagination .page-item.disabled .page-link {
    opacity: 0.5;
    background: #f1f1f1;
    pointer-events: none;
}

.page-link:focus { box-shadow: none; }

/* Boutons prev/next */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    border-radius: 25px !important;
    width: auto;
    padding: 0 20px;
}

/* Cache pagination WordPress texte */
nav .flex-1.d-none.d-md-flex,
nav .small.text-muted { display: none !important; }

nav .justify-content-between { justify-content: center !important; }


/* ==========================================================================
   14. PARTENAIRES (Ticker)
   ========================================================================== */

#partenaires {
    background-color: #fefefe;
    padding: 80px 0;
    position: relative;
    border-radius: 10px;
    box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.03);
}

#partenaires::before {
    content: "";
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 80px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 80" xmlns="http://www.w3.org/2000/svg"><path fill="%23D0E7FF" fill-opacity="0.3" d="M0,32L48,26.7C96,21,192,11,288,16C384,21,480,43,576,48C672,53,768,43,864,48C960,53,1056,75,1152,74.7C1248,75,1344,53,1392,42.7L1440,32L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat top center;
    background-size: cover;
    pointer-events: none;
    z-index: 0;
}

#partenaires .container { position: relative; z-index: 1; text-align: center; }

.partners-description {
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #444;
    font-size: 1rem;
    line-height: 1.6;
}

.ticker-wrapper { position: relative; width: 100%; overflow: hidden; }

.ticker-track {
    display: flex;
    align-items: center;
    gap: 15px;
    animation: ticker 30s linear infinite;
}

.ticker-track img {
    max-height: 50px;
    width: auto;
    filter: grayscale(0.2);
    opacity: 0.85;
    transition: filter 0.3s, transform 0.3s, opacity 0.3s;
}

.ticker-track img:hover {
    filter: grayscale(0);
    transform: scale(1.05);
    opacity: 1;
}


/* ==========================================================================
   15. BOUTIQUE & PRODUITS
   ========================================================================== */

.product-card {
    border: none;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-img-container {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: #f8f9fa;
}

.product-img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.img-hover { opacity: 0; }
.product-card:hover .img-main { opacity: 0; transform: scale(1.1); }
.product-card:hover .img-hover { opacity: 1; transform: scale(1.05); }

.btn-quickview {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: var(--brand-blue);
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.product-card:hover .btn-quickview { bottom: 20px; }

.product-image-container {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #f8f9fa;
}

.img-main, .img-hover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.product-image-container:hover .img-hover { opacity: 1; }
.product-image-container:hover .img-main { transform: scale(1.05); }

/* Single product */
#sp-container {
    --sp-blue: #3e4db2;
    --sp-yellow: #F2D411;
    --sp-light-bg: #f8f9fa;
}

.sp-product-gallery { position: sticky; top: 100px; }

.sp-main-frame {
    height: 550px;
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.sp-main-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
}

.sp-thumb-list { display: flex; gap: 12px; justify-content: center; margin-top: 15px; }

.sp-thumb-box {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.7;
    transition: all 0.2s;
}

.sp-thumb-box.sp-active, .sp-thumb-box:hover {
    opacity: 1;
    border-color: var(--sp-blue);
    transform: translateY(-3px);
}

.sp-thumb-box img { width: 100%; height: 100%; object-fit: cover; }

.sp-qty-wrapper {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 4px;
    width: fit-content;
}

.sp-btn-step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--sp-light-bg);
    font-weight: bold;
    transition: 0.2s;
}

.sp-btn-step:hover { background: var(--sp-blue); color: white; }

.sp-badge-solidarity {
    background: rgba(62, 77, 178, 0.1);
    color: var(--sp-blue);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.sp-btn-main {
    background: var(--sp-blue);
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
}

.sp-btn-main:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(62, 77, 178, 0.3);
    color: white;
}

.sp-tabs-nav { border-bottom: 2px solid #eee; margin-bottom: 20px; }

.sp-tab-trigger {
    background: none;
    border: none;
    padding: 10px 0;
    color: #888;
    position: relative;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.sp-tab-trigger.active { color: var(--sp-blue) !important; }

.sp-tab-trigger.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--sp-blue);
    border-radius: 50px;
}

#sp-target-view { transition: opacity 0.2s ease-in-out !important; will-change: opacity; }

#sp-container input::-webkit-outer-spin-button,
#sp-container input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

#sp-container input[type=number] { -moz-appearance: textfield; }
#sp-container input:focus { outline: none !important; box-shadow: none !important; }

.tab-pane.fade { transition: opacity 0.2s linear; }

.thumb-item {
    width: 60px;
    height: 60px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0.6;
}

.thumb-item:hover, .thumb-item.active {
    opacity: 1;
    border-color: var(--brand-blue);
    transform: translateY(-3px);
}

.thumb-item img { width: 100%; height: 100%; object-fit: cover; }

.transition-img { transition: opacity 0.3s ease-in-out; }

.btn-outline-light-custom {
    border: 1px solid #eee;
    background: #f8f9fa;
    border-radius: 12px;
    width: 45px;
    height: 45px;
    font-weight: bold;
    transition: all 0.2s;
}

.btn-outline-light-custom:hover, .btn-outline-light-custom.active {
    background: var(--brand-blue);
    color: white;
    border-color: var(--brand-blue);
}

.btn-hover-grow { transition: transform 0.2s; }
.btn-hover-grow:hover { transform: scale(1.02); }


/* ==========================================================================
   16. PANIER & CHECKOUT
   ========================================================================== */

.cart-section { background-color: #f8f9fc; min-height: 60vh; }
.cart-table-container { border: 1px solid rgba(0, 0, 0, 0.05); }

.cart-img-wrapper img { width: 70px; height: 70px; object-fit: cover; }

.quantity-control { background: #f0f2f5; padding: 2px 5px; }
.quantity-control .btn { padding: 0 5px; border: none; color: var(--brand-blue); }
.quantity-control .btn:hover { color: var(--anniv-gold) !important; }

.promo-group .form-control { border-color: transparent; }
.promo-group .form-control:focus { box-shadow: none; background: #fff; border: 1px solid #ced4da; }

.sticky-lg-top { position: -webkit-sticky; position: sticky; top: 100px; }

.cart-header-icon .icon-circle {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--brand-blue);
    border: 2px solid rgba(62, 77, 178, 0.1);
    transition: transform 0.3s ease;
}

.cart-header-icon:hover .icon-circle { transform: scale(1.1) rotate(-10deg); }

/* Checkout */
.step-number {
    width: 35px;
    height: 35px;
    background-color: var(--brand-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(62, 77, 178, 0.2);
}

.payment-card-option {
    cursor: pointer;
    transition: all 0.3s var(--ease-cinematic);
    border: 2px solid #eee !important;
}

.payment-card-option:has(input:checked) {
    border-color: var(--brand-blue) !important;
    background-color: rgba(62, 77, 178, 0.02);
}

.card-details-form { border-style: dashed !important; }

.checkout-form-wrapper .form-control:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 4px rgba(62, 77, 178, 0.1);
    background-color: #fff;
}

/* Thank you */
.thankyou-section {
    min-height: 85vh;
    background: linear-gradient(135deg, #ffffff 0%, #f4f6ff 100%);
    padding: 80px 0;
}

.thankyou-icon-wrapper { position: relative; display: inline-block; }

.icon-circle-main {
    width: 120px;
    height: 120px;
    background: var(--brand-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    position: relative;
    z-index: 2;
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.success-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: rgba(62, 77, 178, 0.2);
    border-radius: 50%;
    z-index: 1;
    animation: pulseWave 2s infinite;
}

.confirmation-card {
    background: #ffffff;
    border-radius: 20px;
    border-top: 5px solid var(--brand-blue) !important;
}

.reveal-up { animation: revealUp 1s ease-out forwards; }


/* ==========================================================================
   17. FORMULAIRE DE DON (Donate Card)
   ========================================================================== */

.row:has(#DonateCard) { display: flex !important; align-items: stretch !important; }
#DonateCard { will-change: transform, top, position; transition: none !important; }
.donate-overlap-section, .donate-overlap-section > .container { overflow: visible !important; }

.donate-overlap-section {
    background: #fff;
    padding-bottom: 120px;
    z-index: 10;
    position: relative;
    overflow: visible !important;
}

.donate-sticky-card-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    z-index: 1000;
    height: fit-content !important;
    width: 100%;
    margin-top: -100px;
    will-change: transform;
}

.donate-overlap-section .col-lg-4 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: auto !important;
}

.donate-overlap-section .row {
    display: flex !important;
    align-items: flex-start !important;
    overflow: visible !important;
}

.donate-patterns-wrapper {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.signup-card {
    border-radius: 0 !important;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 30px 60px -12px rgba(50, 50, 93, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.3) !important;
    overflow: hidden;
}

.signup-card .card-title {
    font-family: 'Archivo Black', sans-serif;
    color: var(--brand-blue);
    font-size: 1.8rem;
    line-height: 1.2;
}

.signup-card .form-control {
    border-radius: 0;
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    background-color: #f9fafb;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.signup-card .form-control:focus { background-color: #fff; border-color: var(--brand-blue); }
.signup-card .form-label { letter-spacing: 1px; color: #6b7280; margin-bottom: 8px; }
.signup-card .btn-don-sidebar { margin-top: 10px; cursor: pointer; }

.custom-input-group .input-group-text {
    border-radius: 0;
    border: 1px solid #e5e7eb;
    background-color: #f9fafb;
    font-weight: bold;
    color: var(--brand-blue);
}

/* Montants */
.btn-amounts-container { display: flex; flex-wrap: nowrap; width: 100%; }

.btn-amount {
    flex: 1;
    padding: 10px 5px;
    font-size: 0.85rem;
    font-weight: 800;
    text-align: center;
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--light-blue) 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-cinematic);
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(62, 77, 178, 0.15);
}

.btn-amount:hover {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--cyan) 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(50, 50, 93, 0.1);
}

.btn-amount:active {
    transform: translateY(-1px);
    background: linear-gradient(135deg, var(--anniv-gold) 0%, #FFEA61 100%);
    color: var(--brand-blue);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Dropdown custom */
.custom-dropdown {
    border-radius: 0 !important;
    padding: 12px 15px;
    border: 1px solid #e5e7eb !important;
    background-color: #f9fafb !important;
    font-size: 0.95rem;
    color: #4b5563;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%233e4db2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
    transition: all 0.3s ease;
}

.custom-dropdown:focus {
    background-color: #fff !important;
    border-color: var(--brand-blue) !important;
    color: var(--brand-blue);
    box-shadow: 0 4px 12px rgba(62, 77, 178, 0.08) !important;
}

.custom-select-wrapper { position: relative; width: 100%; }

.custom-dropdown option { font-family: 'Inter', sans-serif; padding: 10px; background: #fff; color: #333; }

/* Toggle anonymat */
.anon-toggle-container {
    position: relative;
    width: 100%;
    height: 45px;
    background: #f4f5f7;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 4px;
    display: flex;
    align-items: center;
}

.anon-input { display: none; }

.anon-label {
    display: flex;
    width: 100%;
    height: 100%;
    cursor: pointer;
    position: relative;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 0;
}

.anon-label span {
    z-index: 2;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    transition: color 0.3s ease;
    color: #9ca3af;
}

.choice-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--light-blue) 100%);
    border-radius: 2px;
    z-index: 1 !important;
    transition: transform 0.4s var(--ease-cinematic);
    box-shadow: 0 4px 10px rgba(62, 77, 178, 0.2);
}

.choice-public { color: #fff !important; }

.anon-input:checked + .anon-label .choice-slider {
    transform: translateX(100%);
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--brand-blue) 100%);
}

.anon-input:checked + .anon-label .choice-anon { color: #fff !important; }
.anon-input:checked + .anon-label .choice-public { color: #9ca3af !important; }
.anon-label:hover .choice-slider { opacity: 0.9; filter: brightness(1.1); }


/* ==========================================================================
   18. TICKER DONATEURS
   ========================================================================== */

.donor-ticker-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: transparent;
    padding: 10px 0;
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
}

.donor-ticker-track {
    display: flex;
    width: max-content;
    animation: donorTickerLoop 35s linear infinite;
}

.donor-item {
    display: flex;
    align-items: center;
    background: #f0f0ff;
    color: var(--brand-blue);
    padding: 8px 18px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    border-radius: 2px;
    margin-right: 25px;
    border: 1px solid rgba(62, 77, 178, 0.05);
}

.donor-item i.bi-heart-fill { font-size: 0.9em; color: #e74c3c; }

.donor-ticker-wrapper:hover .donor-ticker-track {
    animation-play-state: paused;
    cursor: default;
}


/* ==========================================================================
   19. GALERIE LIGHTBOX
   ========================================================================== */

.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-cinematic); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(62, 77, 178, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    color: var(--anniv-gold);
    font-size: 2.5rem;
    transform: scale(0.5);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img { transform: scale(1.1); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-overlay i { transform: scale(1); }

.modal-content { background-color: rgba(0, 0, 0, 0.9); border: none; }
.modal-header .btn-close { filter: invert(1); }


/* ==========================================================================
   20. FOOTER
   ========================================================================== */

.footer-sdj { background-color: #0d112b; color: #ffffff; }

.footer-main {
    background-color: var(--footer-top-blue) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.footer-bottom { background-color: var(--brand-blue) !important; }

.footer-brand { font-family: 'Archivo Black', sans-serif; font-size: 2rem; color: #fff; }
.dot-gold { color: var(--anniv-gold); }

.footer-title {
    color: var(--anniv-gold);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.text-footer-muted { color: rgba(255, 255, 255, 0.7); line-height: 1.6; font-size: 0.95rem; }

.footer-link { color: rgba(255, 255, 255, 0.8); text-decoration: none; font-size: 0.9rem; }
.footer-link:hover { color: var(--anniv-gold); }

.copyright-text { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }

.insta-label-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    transition: 0.3s;
}

.insta-label-badge:hover { background: #fff; color: var(--footer-top-blue); }

.insta-placeholder {
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.insta-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-cinematic);
    filter: brightness(0.9);
}

.insta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 54, 130, 0.8);
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s;
}

.insta-placeholder:hover img { transform: scale(1.15); filter: brightness(1.05); }
.insta-placeholder:hover .insta-overlay { opacity: 1; }

.newsletter-wrapper {
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-input { background: transparent !important; border: none !important; color: #fff !important; font-size: 0.9rem; }

.btn-newsletter {
    background: var(--anniv-gold);
    color: var(--brand-blue);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: 0.3s;
}

.btn-newsletter:hover { transform: scale(1.1); background: #fff; }

.social-circle {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: 0.3s;
}

.social-circle:hover { background: #fff; color: var(--brand-blue); transform: translateY(-3px); }

.footer-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.f-shape {
    position: absolute;
    color: #fff;
    opacity: 0.15;
    font-size: 3.5rem;
    display: inline-block;
    animation: floatAnim 8s infinite ease-in-out;
}

.shape-1 { top: 10%; left: 5%; animation-delay: 0s; }
.shape-2 { bottom: 15%; left: 20%; font-size: 2.2rem; animation-delay: 2s; }
.shape-3 { top: 30%; right: 10%; font-size: 2.8rem; animation-delay: 4s; }
.shape-4 { bottom: 20%; right: 25%; animation-delay: 1s; opacity: 0.1; }


/* ==========================================================================
   21. PAGES GÉNÉRIQUES (Template)
   ========================================================================== */

#page-section {
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    z-index: 1;
    padding: 80px 0;
}

#page-section .container { position: relative; z-index: 10; }

/* Hero article (responsive) */
.hero-article .breadcrumb {
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: #F2D411;
    margin-top: 25px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.2s var(--ease-cinematic);
    display: inline-block;
    width: 100%;
    text-align: center;
}


/* ==========================================================================
   22. ABOUT (Timeline)
   ========================================================================== */

.history-slider-section {
    padding: 100px 0;
    background: #f8f9fa;
    overflow: hidden;
}

.history-slider-wrapper { position: relative; padding: 0 50px; }

.history-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 10px;
    scrollbar-width: none;
}

.history-slider::-webkit-scrollbar { display: none; }

.history-card {
    min-width: 320px;
    max-width: 320px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.history-card:hover { transform: translateY(-10px); }

.card-image { position: relative; height: 200px; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }

.card-year {
    position: absolute;
    bottom: -15px;
    right: 20px;
    background: #F2D411;
    color: var(--brand-blue);
    font-family: 'Archivo Black', sans-serif;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card-body-history { padding: 30px 20px 20px; }
.card-body-history h5 { font-weight: 900; color: var(--brand-blue); margin-bottom: 10px; }
.card-body-history p { font-size: 0.95rem; color: #666; line-height: 1.6; }

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--brand-blue);
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-nav:hover { background: var(--brand-blue); color: white; }
.slider-nav.prev { left: -10px; }
.slider-nav.next { right: -10px; }


/* ==========================================================================
   23. ANIMATIONS (@keyframes)
   ========================================================================== */

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes heartBeat {
    0%  { transform: scale(0.95); }
    5%  { transform: scale(1.1); }
    10% { transform: scale(0.95); }
    15% { transform: scale(1.2); }
    50% { transform: scale(0.95); }
    100%{ transform: scale(0.95); }
}

@keyframes ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes donorTickerLoop {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes float1 {
    0%   { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-30px) rotate(20deg); }
}

@keyframes float2 {
    0%   { transform: translateY(0) rotate(-10deg); }
    100% { transform: translateY(-25px) rotate(15deg); }
}

@keyframes float3 {
    0%   { transform: translateY(0) rotate(10deg); }
    100% { transform: translateY(-35px) rotate(-20deg); }
}

@keyframes floatPattern {
    0%   { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(15px, -25px) rotate(5deg); }
}

@keyframes floatAnim {
    0%   { transform: translate(0, 0) rotate(0deg); }
    33%  { transform: translate(15px, -25px) rotate(8deg); }
    66%  { transform: translate(-10px, -15px) rotate(-8deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes pulse-sdj-final {
    0%   { box-shadow: 0 0 0 0 rgba(242, 212, 17, 0.7); }
    70%  { box-shadow: 0 0 0 10px rgba(242, 212, 17, 0); }
    100% { box-shadow: 0 0 0 0 rgba(242, 212, 17, 0); }
}

@keyframes ultraPulse {
    0%   { box-shadow: 0 0 0 0 rgba(242, 212, 17, 0.7), 0 0 0 0 rgba(242, 212, 17, 0.4); }
    70%  { box-shadow: 0 0 0 20px rgba(242, 212, 17, 0), 0 0 0 40px rgba(242, 212, 17, 0); }
    100% { box-shadow: 0 0 0 0 rgba(242, 212, 17, 0), 0 0 0 0 rgba(242, 212, 17, 0); }
}

@keyframes slimPulse {
    0%   { box-shadow: 0 0 0 0 rgba(242, 212, 17, 0.6); }
    70%  { box-shadow: 0 0 0 10px rgba(242, 212, 17, 0); }
    100% { box-shadow: 0 0 0 0 rgba(242, 212, 17, 0); }
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes shine {
    0%   { left: -100%; }
    20%  { left: 150%; }
    100% { left: 150%; }
}

@keyframes pulse-radar {
    0%   { transform: scale(1);   opacity: 0.6; }
    50%  { transform: scale(1.1); opacity: 0.3; }
    100% { transform: scale(1);   opacity: 0.6; }
}

@keyframes bounceIn {
    0%   { transform: scale(0);   opacity: 0; }
    80%  { transform: scale(1.1); }
    100% { transform: scale(1);   opacity: 1; }
}

@keyframes pulseWave {
    0%   { width: 120px; height: 120px; opacity: 0.8; }
    100% { width: 250px; height: 250px; opacity: 0; }
}

@keyframes revealUp {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}


/* ==========================================================================
   24. RESPONSIVE (Media Queries)
   ========================================================================== */

@media (min-width: 576px) {
    .border-end-sm { border-right: 1px solid #eee; }
}

@media (min-width: 992px) {
    .navbar-main {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, transparent 100%) !important;
        position: absolute !important;
    }

    body { padding-top: 0 !important; }

    .btn-don-main {
        border-radius: 50px !important;
        padding: 10px 25px;
    }

    .btn-don-main:hover {
        transform: translateY(-2px);
        filter: brightness(1.1);
        box-shadow: 0 5px 15px rgba(242, 212, 17, 0.4);
    }

    .footer-main {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

@media (max-width: 1200px) {
    .navbar-logo {
        height: 50px !important;
        max-height: none !important;
        transition: height 0.3s ease;
    }

    .navbar-main { padding: 15px 0 !important; }
    .nav-links-wrapper { display: none !important; }
    .navbar-toggler { display: block !important; }

    .hero-article h1 {
        display: block !important;
        overflow: visible !important;
        -webkit-line-clamp: none !important;
        font-size: clamp(1.6rem, 6vw, 2.8rem);
        padding: 0 20px;
    }
}

@media (max-width: 991px) {
    .navbar-main {
        position: fixed !important;
        top: 0;
        width: 100%;
        background: rgba(44, 54, 130, 0.95) !important;
        backdrop-filter: blur(10px);
        padding: 10px 0 !important;
        z-index: 2000;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-logo { max-height: 30px !important; }

    .nav-icon-link {
        font-size: 1.2rem;
        color: #fff !important;
        padding: 5px;
    }

    body { padding-top: 60px; }

    .nav-links-wrapper, .btn-don-top { display: none !important; }

    .btn-don-main {
        border-radius: 0px !important;
        padding: 12px 15px;
    }

    .navbar .btn-don-main {
        width: 45px;
        height: 45px;
        padding: 0;
    }

    .btn-don-pulse {
        padding: 10px 15px !important;
        font-size: 1.2rem;
    }

    .btn-don-mobile-adaptive {
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 50%;
        clip-path: none;
        font-size: 1.1rem;
    }

    .sidebar { position: static !important; }

    .navbar .d-flex.align-items-center.gap-2 { flex-wrap: nowrap !important; }

    .cart-summary { margin-top: 2rem; }
    .checkout-summary { margin-top: 2rem; }

    .donate-sticky-card-wrapper {
        position: relative !important;
        top: 0 !important;
        margin-top: 30px !important;
        align-self: stretch !important;
    }

    .donate-overlap-section { padding-top: 40px; }

    .signup-card .card-body { padding: 30px 20px; }
}

@media (max-width: 768px) {
    .navbar-logo { max-height: 40px; }

    .hero-gala-line { font-size: clamp(1.2rem, 8vw, 2.5rem); }

    .btn-hero-ghost { padding: 12px 25px; font-size: 0.75rem; }

    .hero-cinema { height: 85vh; }

    .history-slider-wrapper { padding: 0; }

    .slider-nav { display: none; }

    .pattern-top-left,
    .pattern-top-right,
    .pattern-bottom-left,
    .pattern-bottom-right {
        width: 180px;
        height: 180px;
        opacity: 0.15;
    }

    .pattern-top-left  { top: 10px;   left: -30px; }
    .pattern-top-right { top: 150px;  right: -30px; }
    .pattern-bottom-left  { bottom: 20px; left: -30px; }
    .pattern-bottom-right { bottom: 100px; right: -30px; }

    .page-patterns svg { width: 150px; height: 150px; }

    .heart-framed-title { gap: 10px; font-size: 1.2rem; }
    .heart-framed-title i { font-size: 0.8em; }

    .hero-article {
        min-height: 60vh;
        padding-top: 110px;
    }

    .hero-article h1 {
        font-size: 1.8rem !important;
        padding: 0 15px;
        line-height: 1.2;
    }

    .hero-article .breadcrumb {
        display: block !important;
        width: 100% !important;
        margin: 20px auto 0 auto !important;
        text-align: center !important;
    }

    .ticker-track { gap: 10px; }
    .ticker-track img { max-height: 35px; }

    .swiper-slide { width: 280px !important; }

    .blog-slider-wrapper { margin-left: 20px; }
}

@media (max-width: 480px) {
    .navbar-logo { height: 42px !important; }

    .navbar-main .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .btn-amount { font-size: 0.7rem; padding: 8px 2px; }
}

/* ==========================================================================
   RECHERCHE GLOBALE
   ========================================================================== */

/* --- MODAL : suggestions live --- */
.search-suggestions-live {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.search-suggestion-type {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
    padding: 0 10px;
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-bottom: 2px;
}

.search-suggestion-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    transform: translateX(4px);
}

/* --- PAGE /search : barre de recherche --- */
.search-bar-global .form-control {
    border-right: none;
    border-radius: 50px 0 0 50px !important;
    padding: 14px 24px;
    font-size: 1rem;
    border-color: #e5e7eb;
    background: #f9fafb;
}

.search-bar-global .form-control:focus {
    background: #fff;
    border-color: var(--brand-blue);
    box-shadow: none;
}

.search-bar-global .btn {
    border-radius: 0 50px 50px 0 !important;
    border-color: var(--brand-blue);
}

/* --- PAGE /search : cartes résultats --- */
.search-result-card {
    display: block;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    background: #fff;
    transition: all 0.3s ease;
    height: 100%;
    color: inherit;
}

.search-result-card:hover {
    border-color: var(--brand-blue);
    box-shadow: 0 8px 25px rgba(62, 77, 178, 0.08);
    transform: translateY(-3px);
    color: inherit;
    text-decoration: none;
}

.search-result-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-soft);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.search-result-type {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-blue);
    display: block;
    margin-bottom: 4px;
}

.search-result-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
}

.search-result-card:hover .search-result-title {
    color: var(--brand-blue);
}

.search-result-excerpt {
    font-size: 0.82rem;
    color: #777;
    line-height: 1.5;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}