/* 
 * PORTAIL INSTITUTIONNEL - COUR DES COMPTES DE LA RDC
 * Charte graphique officielle inspirée de la Cour des comptes européenne (ECA) et française (ccomptes.fr)
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@500;600;700;800;900&display=swap');

:root {
    --primary: #3298ff;
    --primary-dark: #1f7cdb;
    --secondary: #3298ff;
    --secondary-hover: #1b80e7;
    --accent-blue: #3298ff;
    --gold: #D4AF37;
    --gold-light: #FBF4DB;
    --national-yellow: #F4D000;
    --national-red: #E30613;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --bg-light: #F8FAFC;
    --bg-surface: #FFFFFF;
    --border-color: #E2E8F0;
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(50, 152, 255, 0.12);
    --shadow-lg: 0 10px 25px rgba(50, 152, 255, 0.18);
    --transition: all 0.25s ease-in-out;
}

/* Surcharges de la couleur primaire dominante #3298ff */
.text-primary {
    color: #3298ff !important;
}

.bg-primary {
    background-color: #3298ff !important;
}

.bg-primary-subtle {
    background-color: rgba(50, 152, 255, 0.12) !important;
    color: #1665b8 !important;
}

.border-primary {
    border-color: #3298ff !important;
}

.btn-primary {
    background-color: #3298ff !important;
    border-color: #3298ff !important;
    color: #FFFFFF !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #1b80e7 !important;
    border-color: #1b80e7 !important;
}

.btn-outline-primary {
    color: #3298ff !important;
    border-color: #3298ff !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: #3298ff !important;
    border-color: #3298ff !important;
    color: #FFFFFF !important;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-hover);
}

/* ==========================================================================
   HEADER OFFICIEL : SPLIT NAVIGATION (COULEUR PRIMAIRE #3298ff OPACITÉ 80%)
   ========================================================================== */
.main-header-split {
    background-color: rgba(50, 152, 255, 0.80);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 6px 24px rgba(50, 152, 255, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    margin: 0;
    padding: 0;
}

/* BANDEAU SUPÉRIEUR */
.header-top-band {
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.top-motto-tag {
    font-size: 0.8rem;
    letter-spacing: 0.3px;
    color: #FFFFFF;
}

.header-top-tools {
    font-size: 0.84rem;
}

.top-tool-link-light {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.top-tool-link-light:hover {
    color: var(--gold);
}

.top-tool-sep-light {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
}

.top-tool-lang-light {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.9);
}

.top-tool-lang-light .lang-opt.active {
    color: #FFFFFF;
    font-weight: 700;
}

.top-tool-lang-light .lang-sep {
    color: rgba(255, 255, 255, 0.35);
}

.top-agent-btn-light {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.84rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.top-agent-btn-light:hover {
    color: var(--gold);
}

/* BARRE DE NAVIGATION PRINCIPALE (SPLIT) */
.header-split-nav-band {
    background-color: transparent;
    padding: 4px 0;
    border-bottom: none;
}

/* Conteneur desktop de split nav */
@media (min-width: 992px) {
    .split-nav-container {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }

    .nav-split-left {
        flex: 1 1 0 !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-end !important;
        align-items: center !important;
        gap: 6px !important;
    }

    .nav-split-right {
        flex: 1 1 0 !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 6px !important;
    }
}

@media (min-width: 1200px) {
    .nav-split-left {
        gap: 16px !important;
    }
    .nav-split-right {
        gap: 16px !important;
    }
}

/* Liens des menus */
.nav-split-link {
    font-family: var(--font-heading);
    font-size: 0.94rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #FFFFFF !important;
    padding: 0.75rem 0.8rem !important;
    position: relative;
    transition: all 0.15s ease;
    white-space: nowrap;
    border-radius: 4px;
}

.nav-split-link:hover,
.nav-split-link:focus,
.nav-split-link.active {
    color: var(--gold) !important;
    background-color: rgba(255, 255, 255, 0.18);
}

.nav-split-link::after {
    display: none;
}

/* Centre : Logo officiel */
.nav-center-brand-box {
    padding: 4px 18px;
}

.nav-split-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.nav-split-brand:hover {
    transform: scale(1.03);
}

.nav-split-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

.nav-split-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 1px;
    line-height: 1.1;
    margin-top: 4px;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Bouton Recherche Loupe (style capture référence) */
.nav-split-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.12);
    text-decoration: none;
    font-size: 0.92rem;
    transition: all 0.2s ease;
}

.nav-split-search-btn:hover {
    background-color: var(--gold);
    color: #040F22;
    border-color: var(--gold);
    transform: scale(1.05);
}

/* Mobile brand */
.mobile-brand {
    color: #FFFFFF;
    text-align: center;
}

.mobile-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.mobile-main-title {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    line-height: 1.15;
    color: #FFFFFF;
    text-align: center;
}

.mobile-sub-title {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1;
    text-align: center;
}

.btn-mobile-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    font-size: 0.9rem;
}

/* Dropdowns institutionnels — couleur primaire 80% opacité mobile & tablette */
.dropdown-menu-cour {
    background-color: rgba(50, 152, 255, 0.80);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    padding: 8px 0;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
}

.dropdown-menu-cour .dropdown-header {
    color: var(--gold);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 18px 2px 18px;
}

.dropdown-menu-cour .dropdown-item {
    color: #FFFFFF;
    font-size: 0.88rem;
    padding: 8px 18px;
    transition: all 0.15s ease;
}

.dropdown-menu-cour .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.18);
    color: var(--gold);
    padding-left: 22px;
}

.dropdown-menu-cour .dropdown-divider {
    border-top-color: rgba(255, 255, 255, 0.15);
}

/* Survol en desktop */
@media (min-width: 992px) {
    .nav-split-left .nav-item.dropdown:hover > .dropdown-menu-cour,
    .nav-split-right .nav-item.dropdown:hover > .dropdown-menu-cour {
        display: block;
    }
}

/* ==========================================================================
   HERO SLIDER PLEINE LARGEUR (IMAGE ENTIÈRE EN BACKGROUND)
   ========================================================================== */
main {
    margin: 0;
    padding: 0;
}

.hero-full-slider-section {
    position: relative;
    background-color: var(--primary);
    overflow: hidden;
    margin-top: 0 !important;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 992px) {
    .hero-full-slider-section {
        aspect-ratio: 1672 / 941;
        min-height: 600px;
    }
}

/* Transition fade douce pour le hero */
#heroMainCarousel.carousel-fade .carousel-item {
    transition: opacity 0.85s ease-in-out;
}

/* Image de fond de chaque slide avec effet de zoom continu (Ken Burns) */
.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
    transform: scale(1);
    transform-origin: center center;
    will-change: transform;
}

/* Effet Zoom fluide progressif pendant les 3 secondes de chaque slide actif */
.carousel-item.active .hero-slide-bg {
    animation: heroKenBurnsZoom 3.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes heroKenBurnsZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

/* Contenu texte au centre vertical de chaque slide */
.hero-slide-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-top: 80px;
    padding-bottom: 100px;
}

.hero-row {
    min-height: 500px;
}

@media (min-width: 992px) {
    .hero-row {
        min-height: 560px;
    }
}

.hero-content-container {
    padding-bottom: 90px !important;
}

/* Boutons Hero Consulter & En savoir plus (style moderne pill selon image de référence) */
.btn-hero-clean {
    background-color: #FFFFFF !important;
    color: #0A1D3D !important;
    border: none !important;
    outline: none !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28) !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 13px 30px;
    border-radius: 50px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-hero-clean:hover,
.btn-hero-clean:focus,
.btn-hero-clean:active {
    background-color: #F8FAFC !important;
    color: #0A1D3D !important;
    border: none !important;
    outline: none !important;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35) !important;
    transform: translateY(-2px);
}

.btn-hero-clean-outline {
    background-color: rgba(255, 255, 255, 0.16) !important;
    backdrop-filter: blur(8px);
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    outline: none !important;
    box-shadow: none !important;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 50px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-hero-clean-outline:hover,
.btn-hero-clean-outline:focus,
.btn-hero-clean-outline:active {
    background-color: rgba(255, 255, 255, 0.28) !important;
    border-color: rgba(255, 255, 255, 0.7) !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   SECTION ACTUALITÉS & COMMUNIQUÉS (DESIGN RAFFINÉ AVEC LOGO)
   ========================================================================== */
.card-news-modern {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease !important;
    border: none !important;
    background-color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
    border-radius: 16px !important;
}

.card-news-modern:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(50, 152, 255, 0.16) !important;
}

.card-news-header {
    height: 195px;
    background: linear-gradient(180deg, #F8FAFC 0%, #EEF2F6 100%) !important;
    overflow: hidden;
    position: relative;
    border: none !important;
    border-radius: 16px 16px 0 0;
}

.card-news-logo {
    max-height: 125px;
    max-width: 85%;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-news-modern:hover .card-news-logo {
    transform: scale(1.08) rotate(1deg);
}

.card-news-title {
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.1rem;
    margin-bottom: 0.75rem;
}

.card-news-title a {
    color: #1E293B !important;
    transition: color 0.2s ease;
    text-decoration: none;
}

.card-news-title a:hover {
    color: var(--primary) !important;
}

.card-news-desc {
    color: #64748B !important;
    font-size: 0.88rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

.btn-news-action {
    background-color: rgba(50, 152, 255, 0.08);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 10px 18px;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-news-action:hover,
.btn-news-action:focus {
    background-color: var(--primary);
    color: #FFFFFF !important;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(50, 152, 255, 0.25);
    transform: translateY(-1px);
}

/* Voile de superposition : opacité couleur primaire (#3298ff) à 60% (avec prise de couleur en bas à 60%) sur desktop, tablette et mobile */
.hero-full-overlay,
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(50, 152, 255, 0.60) 0%,
        rgba(50, 152, 255, 0.48) 40%,
        rgba(50, 152, 255, 0.25) 70%,
        rgba(50, 152, 255, 0.08) 100%
    ),
    linear-gradient(
        0deg,
        rgba(50, 152, 255, 0.60) 0%,
        rgba(50, 152, 255, 0.30) 25%,
        transparent 55%
    );
    z-index: 1;
    pointer-events: none;
}

/* Version tablette : adaptation de l'opacité et de la couleur à 60% en bas */
@media (max-width: 991.98px) {
    .hero-full-overlay,
    .hero-slide-overlay {
        background: linear-gradient(
            180deg,
            rgba(50, 152, 255, 0.55) 0%,
            rgba(50, 152, 255, 0.42) 45%,
            rgba(50, 152, 255, 0.60) 100%
        );
    }
}

/* Version mobile : maintien de la couleur avec opacité à 60% en bas et clarté des photos */
@media (max-width: 767.98px) {
    .hero-full-overlay,
    .hero-slide-overlay {
        background: linear-gradient(
            180deg,
            rgba(50, 152, 255, 0.58) 0%,
            rgba(50, 152, 255, 0.45) 50%,
            rgba(50, 152, 255, 0.60) 100%
        );
    }
}

.hero-cat-tag-light {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #F4D000;
    margin-bottom: 16px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.hero-full-title {
    font-family: var(--font-heading);
    font-size: 2.65rem;
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.025em;
    color: #FFFFFF;
    margin-bottom: 20px;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.5);
    text-transform: none !important;
}

@media (min-width: 992px) {
    .hero-full-title {
        font-size: 3.35rem;
    }
    .hero-title-desktop-single-line {
        white-space: nowrap !important;
        font-size: clamp(2rem, 2.9vw, 3.25rem) !important;
    }
}

.hero-full-lead {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #F1F5F9;
    max-width: 660px;
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
    opacity: 0.95;
}

/* ==========================================================================
   PAGINATION SOULIGNEMENT DU HERO (UNDERLINE DOTS)
   ========================================================================== */
.hero-underline-pagination {
    position: absolute;
    bottom: 28px;
    left: 0;
    right: 0;
    z-index: 10;
}

.hero-dots-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Chaque indicateur : barre soulignée */
.hero-dot-line {
    display: block;
    width: 48px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.40);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.35s ease, width 0.35s ease;
    outline: none;
}

.hero-dot-line.active,
.hero-dot-line:hover {
    background-color: var(--gold, #D4AF37);
    width: 72px;
}

/* ==========================================================================
   BOUTON RETOUR HAUT DE PAGE (SCROLL TO TOP)
   ========================================================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 36px;
    right: 28px;
    z-index: 9999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--gold, #D4AF37);
    color: #0A1D3D;
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.30);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background-color: #0A1D3D;
    color: var(--gold, #D4AF37);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.40);
}

/* ==========================================================================
   LIGNE COULEUR DRAPEAU RDC AVANT LE FOOTER
   ========================================================================== */
.national-ribbon {
    height: 6px;
    width: 100%;
    background: linear-gradient(90deg, #0077C8 0%, #0077C8 46%, #F4D000 46%, #F4D000 48%, #E30613 48%, #E30613 52%, #F4D000 52%, #F4D000 54%, #0077C8 54%, #0077C8 100%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   HERO SLIDER PROFESSIONNEL (OPACITÉ ALLÉGÉE, IMAGES CLAIRES)
   ========================================================================== */
.hero-slider-section {
    position: relative;
    background-color: var(--primary-dark);
    overflow: hidden;
}

.hero-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 540px;
    display: flex;
    align-items: center;
}

.min-vh-hero {
    min-height: 480px;
}

/* Opacité de couleur diminuée pour apprécier les photos du bâtiment et de la cour */
.hero-overlay-light {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7, 27, 54, 0.60) 0%, rgba(11, 42, 91, 0.44) 45%, rgba(4, 15, 34, 0.62) 100%);
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(212, 175, 55, 0.22);
    border: 1px solid var(--gold);
    color: #F8FAFC;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: 2.35rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-top: 14px;
    margin-bottom: 16px;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #F1F5F9;
    max-width: 660px;
    margin-bottom: 28px;
    font-weight: 400;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-card-mandat {
    background: rgba(4, 15, 34, 0.45);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.hero-carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    margin: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.25s ease;
}

.hero-carousel-btn:hover {
    background: var(--primary);
    opacity: 1;
    border-color: var(--gold);
}

.carousel-indicators [data-bs-target] {
    width: 32px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.6);
    border: none;
    margin: 0 5px;
    transition: all 0.2s ease;
}

.carousel-indicators .active {
    background-color: var(--gold);
    width: 48px;
}

/* BOUTONS INSTITUTIONNELS (CORRIGÉS AVEC COULEUR DOMINANTE #3298ff) */
.btn-institutional {
    background-color: var(--primary);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 4px;
    border: 1px solid var(--primary);
    box-shadow: 0 4px 14px rgba(50, 152, 255, 0.35);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-institutional:hover {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(50, 152, 255, 0.45);
}

.btn-institutional-outline {
    background-color: transparent;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 4px;
    border: 2px solid #FFFFFF;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-institutional-outline:hover {
    background-color: #FFFFFF;
    color: var(--primary);
    border-color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   VALEURS FONDAMENTALES & PILIERS
   ========================================================================== */
.card-pillar {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--primary);
    border-radius: 8px;
    padding: 28px 24px;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card-pillar:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(50, 152, 255, 0.15);
    border-top-color: var(--gold);
}

.card-pillar .icon-box {
    width: 52px;
    height: 52px;
    background-color: rgba(50, 152, 255, 0.12);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
}

/* ==========================================================================
   SECTION MOT DU PREMIER PRÉSIDENT (PORTRAIT CADRE DORÉ DÉCALÉ & MESSAGE OFFICIEL)
   ========================================================================== */
.section-president {
    background-color: #FFFFFF;
}

.president-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

/* Zone Portrait : Fond neutre sobre sans couleur primaire massive */
.president-img-col {
    background-color: #F8FAFC !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #E2E8F0;
}

@media (max-width: 991px) {
    .president-img-col {
        border-right: none;
        border-bottom: 1px solid #E2E8F0;
    }
}

/* Conteneur du portrait agrandi et harmonieux */
.president-framed-wrapper {
    position: relative;
    display: inline-block;
    max-width: 440px;
    width: 100%;
    margin: 10px auto;
}

@media (max-width: 991px) {
    .president-framed-wrapper {
        max-width: 380px;
    }
}

@media (max-width: 576px) {
    .president-framed-wrapper {
        max-width: 300px;
    }
}

/* Cadre doré officiel entourant la photo agrandie */
.president-gold-frame {
    position: relative;
    z-index: 1;
    border: 3px solid var(--gold);
    border-radius: 20px;
    overflow: hidden;
    background-color: #FFFFFF;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.10);
}

.president-portrait {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: top center;
    display: block;
    border-radius: 17px;
    transition: transform 0.4s ease;
}

.president-card:hover .president-portrait {
    transform: scale(1.025);
}

.president-badge-box h5 {
    letter-spacing: -0.3px;
    color: #1E293B !important;
    font-size: 1.15rem;
}

.badge-president-title {
    background-color: rgba(212, 175, 55, 0.15) !important;
    color: #92700a !important;
    border: 1px solid rgba(212, 175, 55, 0.5) !important;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
}

.president-heading {
    color: #1E293B;
    font-size: 1.85rem;
    font-weight: 800;
}

.president-quote {
    background-color: #F8FAFC;
    border-radius: 8px;
}

.quote-icon {
    line-height: 1;
}

/* ==========================================================================
   CHIFFRES CLÉS (FOND BLANC ÉPURÉ, ANIMATION & ICÔNES CONSERVÉES)
   ========================================================================== */
.section-stats {
    background: #FFFFFF !important;
    color: #1E293B;
    padding: 65px 0 60px 0;
    position: relative;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.stats-badge-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(50, 152, 255, 0.08);
    border: 1px solid rgba(50, 152, 255, 0.25);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.stat-card {
    background: #FFFFFF !important;
    border: none;
    border-radius: 12px;
    padding: 30px 18px 24px 18px;
    transition: all 0.28s ease;
    height: 100%;
    box-shadow: none;
}

.stat-card:hover {
    background: #FFFFFF !important;
    border: none;
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(50, 152, 255, 0.10);
}

.stat-icon-wrap {
    width: 68px;
    height: 68px;
    margin: 0 auto 16px auto;
    border-radius: 50%;
    background: rgba(50, 152, 255, 0.08);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.stat-card:hover .stat-icon-wrap {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.08);
}

.stat-card:hover .stat-icon-large {
    color: #FFFFFF !important;
}

.stat-icon-large {
    font-size: 2.2rem;
    color: var(--primary);
    transition: color 0.2s ease;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.7rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    text-shadow: none;
}

.stat-label {
    font-size: 0.88rem;
    color: #64748B;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* ==========================================================================
   CARTES DE PUBLICATIONS & RAPPORTS (SANS BORDURE, DESIGN MODERNE & ANIMATION)
   ========================================================================== */
.card-publication {
    background: var(--bg-surface);
    border: none !important;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-publication:hover {
    box-shadow: 0 20px 40px rgba(50, 152, 255, 0.16);
    transform: translateY(-8px);
}

.card-publication-header {
    background-color: var(--bg-light);
    padding: 16px 20px;
    border-bottom: none !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.badge-pub-type {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--secondary);
}

.card-publication-body {
    padding: 20px 20px;
    flex-grow: 1;
}

.card-publication-title {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.35;
}

.card-publication-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    display: flex;
    gap: 12px;
}

.card-publication-footer {
    padding: 16px 20px;
    background: var(--bg-surface);
    border-top: none !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================================================
   MOTEUR DE RECHERCHE DOCUMENTAIRE
   ========================================================================== */
.search-filter-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 26px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

/* ==========================================================================
   CYCLE DE TRANSPARENCE & BAROMÈTRE
   ========================================================================== */
.transparency-step {
    background: var(--bg-surface);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 22px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.transparency-step-number {
    width: 42px;
    height: 42px;
    background-color: var(--primary);
    color: #FFFFFF;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px auto;
}

.badge-status-mise-en-oeuvre {
    background-color: #DCFCE7;
    color: #166534;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.78rem;
}

.badge-status-en-cours {
    background-color: #FEF3C7;
    color: #92400E;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.78rem;
}

.badge-status-partiellement {
    background-color: #E0E7FF;
    color: #3730A3;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.78rem;
}

.badge-status-non-mise-en-oeuvre {
    background-color: #FEE2E2;
    color: #991B1B;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.78rem;
}

/* ==========================================================================
   FOOTER INSTITUTIONNEL (COULEUR PRIMAIRE DOMINANTE #3298ff)
   ========================================================================== */
.main-footer {
    background: linear-gradient(180deg, #3298ff 0%, #1f7cdb 100%);
    color: #FFFFFF;
    padding-top: 45px;
    border-top: none;
}

/* En-tête Centré du Footer (Logo + Titre + Tagline + Description + Réseaux) */
.footer-center-header {
    max-width: 780px;
    margin: 0 auto;
}

.footer-center-logo {
    height: 72px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
    transition: transform 0.25s ease;
}

.footer-center-logo:hover {
    transform: scale(1.04);
}

.footer-lead-text {
    max-width: 640px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9) !important;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social-btn:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: #071933;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

/* Colonnes de liens */
.footer-col-title {
    color: #FFFFFF;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: var(--gold);
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 9px;
}

.footer-links-list li a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.83rem;
    text-decoration: none;
    transition: all 0.15s ease;
    display: inline-block;
}

.footer-links-list li a:hover {
    color: #FFFFFF;
    padding-left: 4px;
    font-weight: 600;
}

.footer-contact-box {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
}

.footer-contact-box .text-slate-300 {
    color: rgba(255, 255, 255, 0.9) !important;
}

.footer-contact-box .btn-warning {
    background-color: #F4D000;
    border-color: #F4D000;
    color: #040F22;
    font-weight: 700;
    transition: all 0.2s ease;
}

.footer-contact-box .btn-warning:hover {
    background-color: #FFFFFF;
    border-color: #FFFFFF;
    color: #1760ad;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.footer-bottom {
    background-color: #1760ad;
    padding: 18px 0;
    font-size: 0.80rem;
    color: rgba(255, 255, 255, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-bottom-link:hover {
    color: var(--gold);
}

.footer-bottom-link {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-bottom-link:hover {
    color: var(--gold);
}

/* ==========================================================================
   BACK-OFFICE ADMIN STYLING
   ========================================================================== */
.admin-sidebar {
    background-color: var(--primary-dark);
    color: #E2E8F0;
    min-height: 100vh;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar .nav-link {
    color: #CBD5E1;
    font-size: 0.9rem;
    padding: 10px 18px;
    border-radius: 4px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background-color: var(--secondary);
    color: #FFFFFF;
}

.admin-content {
    background-color: var(--bg-light);
    min-height: 100vh;
    padding: 30px;
}

.admin-card {
    background: #FFFFFF;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    margin-bottom: 24px;
}

/* ==========================================================================
   SECTION : NOS VALEURS (DESIGN FIN SANS BORDURE AVEC ANIMATION & EFFETS)
   ========================================================================== */
.section-values {
    background-color: #FFFFFF;
}

.card-value-clean {
    padding: 2.2rem 1.6rem;
    border-radius: 18px;
    background: #FFFFFF;
    border: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-value-clean:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(50, 152, 255, 0.14);
}

.value-icon-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(50, 152, 255, 0.12) 0%, rgba(212, 175, 55, 0.14) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.85rem;
    color: var(--primary);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease;
}

.card-value-clean:hover .value-icon-circle {
    transform: scale(1.12) rotate(6deg);
    background: linear-gradient(135deg, var(--primary) 0%, #1E40AF 100%);
    color: #FFFFFF;
    box-shadow: 0 10px 25px rgba(50, 152, 255, 0.3);
}

.value-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 0.75rem;
}

.value-desc {
    font-size: 0.9rem;
    color: #64748B;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ==========================================================================
   SECTION PRÉ-FOOTER : APPEL CITOYEN & SAISINE OFFICIELLE
   ========================================================================== */
.section-prefooter-cta {
    background: linear-gradient(135deg, #0A1D3D 0%, #0F2854 100%);
    position: relative;
}

.prefooter-cta-card {
    background: linear-gradient(135deg, rgba(50, 152, 255, 0.12) 0%, rgba(212, 175, 55, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   SECTION ÉVÉNEMENTS & AGENDA INSTITUTIONNEL
   ========================================================================== */
.section-events {
    background-color: #FFFFFF;
    position: relative;
}

.card-event-home,
.card-event-modern {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
}

.card-event-home:hover,
.card-event-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(50, 152, 255, 0.12) !important;
}

.card-event-img-wrap {
    height: 220px;
    background-color: #0A1D3D;
    position: relative;
}

.card-event-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease;
    display: block;
}

/* Overlay dégradé subtil en bas de l'image */
.card-event-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 40%,
        rgba(10, 29, 61, 0.55) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.card-event-home:hover .card-event-img,
.card-event-modern:hover .card-event-img {
    transform: scale(1.06);
}

.card-event-date-badge {
    background-color: #FFFFFF;
    padding: 6px 12px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    min-width: 58px;
    z-index: 2;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.event-badge-day {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary);
}

.event-badge-month {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #64748B;
    text-transform: uppercase;
}

.card-event-title {
    font-size: 1.05rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.9rem;
}

.card-event-title a {
    color: #1E293B !important;
    transition: color 0.2s ease;
}

.card-event-title a:hover {
    color: var(--primary) !important;
}

.card-event-desc {
    font-size: 0.86rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.btn-event-action {
    background-color: rgba(50, 152, 255, 0.08);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 9px 16px;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-event-action:hover,
.btn-event-action:focus {
    background-color: var(--primary);
    color: #FFFFFF !important;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(50, 152, 255, 0.25);
    transform: translateY(-1px);
}

.max-w-220 {
    max-width: 220px;
}

/* ==========================================================================
   SPLASH SCREEN INSTITUTIONNEL (ANIMATION SOLENNELLE DU LOGO D'ÉTAT)
   ========================================================================== */
.institutional-splash {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: radial-gradient(circle at 50% 46%, #0F2F60 0%, #081B38 55%, #030C1A 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.65s ease;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
    cursor: pointer;
}

.institutional-splash.splash-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-national-ribbon,
.splash-bottom-ribbon {
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0077C8 0%, #0077C8 46%, #F4D000 46%, #F4D000 48%, #E30613 48%, #E30613 52%, #F4D000 52%, #F4D000 54%, #0077C8 54%, #0077C8 100%);
    box-shadow: 0 0 10px rgba(244, 208, 0, 0.4);
}

.splash-national-ribbon {
    top: 0;
}

.splash-bottom-ribbon {
    bottom: 0;
}

.splash-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 580px;
}

.splash-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.22) 0%, rgba(50, 152, 255, 0.12) 45%, transparent 70%);
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: splashGlowPulse 2.4s ease-in-out infinite alternate;
}

.splash-logo-wrapper {
    position: relative;
    display: inline-block;
    animation: splashLogoEntrance 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.splash-logo {
    height: 110px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 25px rgba(212, 175, 55, 0.35));
}

.splash-country {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3.5px;
    color: #D4AF37;
    text-transform: uppercase;
    margin-bottom: 6px;
    opacity: 0;
    animation: splashTextFade 0.8s ease 0.35s forwards;
}

.splash-title {
    font-family: var(--font-heading);
    font-size: 1.95rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: #FFFFFF;
    margin-bottom: 4px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: splashTextFade 0.8s ease 0.45s forwards;
}

.splash-subtitle {
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: rgba(241, 245, 249, 0.75);
    opacity: 0;
    animation: splashTextFade 0.8s ease 0.55s forwards;
}

.splash-progress-track {
    width: 240px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.16);
    overflow: hidden;
    position: relative;
    opacity: 0;
    animation: splashTextFade 0.6s ease 0.5s forwards;
}

.splash-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #0077C8 0%, #D4AF37 50%, #F4D000 80%, #FFFFFF 100%);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
    transition: width 0.08s linear;
}

.splash-loading-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 240px;
    margin: 8px auto 0 auto;
    font-size: 0.76rem;
    letter-spacing: 0.5px;
    color: rgba(241, 245, 249, 0.70);
    opacity: 0;
    animation: splashTextFade 0.6s ease 0.6s forwards;
}

.splash-loading-text {
    font-family: var(--font-body);
    font-weight: 500;
}

.splash-loading-percent {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #F4D000;
}

@keyframes splashLogoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.82) translateY(12px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes splashGlowPulse {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.9);
    }
    100% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

@keyframes splashTextFade {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

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


