/* =====================================================================
   L'HORIZON — Centre de Formation Professionnelle | Gafsa, Tunisie
   REFONTE MAJEURE : DESIGN MODERNE, CRÉATIF, IMMERSIF ET LUXUEUX
   ===================================================================== */

:root {
    /* Palette Principale & Luxe */
    --clr-navy-950: #060B18;
    --clr-navy-900: #0B132B;
    --clr-navy-850: #0F1C3F;
    --clr-navy-800: #142850;
    --clr-navy-700: #1C3879;
    
    /* Couleurs d'Accent Énergiques */
    --clr-fuchsia: #E81778;
    --clr-fuchsia-glow: rgba(232, 23, 120, 0.35);
    --clr-fuchsia-light: #FF2E93;
    --clr-cyan: #06B6D4;
    --clr-cyan-glow: rgba(6, 182, 212, 0.35);
    --clr-teal: #0A5F7C;
    --clr-gold: #F59E0B;
    --clr-gold-light: #FBBF24;
    --clr-emerald: #10B981;
    --clr-purple: #8B5CF6;
    
    /* Neutres & Surfaces */
    --clr-white: #FFFFFF;
    --clr-slate-50: #F8FAFC;
    --clr-slate-100: #F1F5F9;
    --clr-slate-200: #E2E8F0;
    --clr-slate-300: #CBD5E1;
    --clr-slate-400: #94A3B8;
    --clr-slate-600: #475569;
    --clr-slate-700: #334155;
    --clr-slate-800: #1E293B;
    --clr-slate-900: #0F172A;
    
    /* Dégradés Royaux */
    --grad-hero: linear-gradient(135deg, #070F26 0%, #0D1B3E 45%, #132247 100%);
    --grad-fuchsia: linear-gradient(135deg, #E81778 0%, #FF3D77 100%);
    --grad-cyan: linear-gradient(135deg, #0A5F7C 0%, #06B6D4 100%);
    --grad-gold: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
    --grad-emerald: linear-gradient(135deg, #059669 0%, #10B981 100%);
    --grad-purple: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 100%);
    --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    --grad-text-glow: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 60%, #94A3B8 100%);
    --grad-accent-text: linear-gradient(135deg, #FF2E93 0%, #F59E0B 50%, #06B6D4 100%);
    
    /* Ombres Portées & Néons */
    --shadow-sm: 0 2px 8px rgba(11, 19, 43, 0.05);
    --shadow-md: 0 8px 24px rgba(11, 19, 43, 0.08);
    --shadow-lg: 0 16px 36px rgba(11, 19, 43, 0.12);
    --shadow-xl: 0 24px 50px rgba(11, 19, 43, 0.16);
    --shadow-glow-fuchsia: 0 10px 30px rgba(232, 23, 120, 0.4);
    --shadow-glow-cyan: 0 10px 30px rgba(6, 182, 212, 0.35);
    
    /* Rayons & Transitions */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Wrapper */
.public-site-wrapper {
    width: 100%;
    background-color: #F8FAFC;
    color: var(--clr-slate-800);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    position: relative;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

/* =====================================================================
   0. TOPBAR PRÉ-HEADER (INFORMATION OFFICIELLE & CONTACT)
   ===================================================================== */
.site-topbar {
    background: #081126;
    color: #94A3B8;
    font-size: 12.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 7px 0;
    position: relative;
    z-index: 1001;
}

.topbar-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.topbar-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(16, 185, 129, 0.14);
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.28);
    padding: 2.5px 10px;
    border-radius: var(--radius-full);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.pulse-dot-green {
    width: 7px;
    height: 7px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10B981;
    animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

.topbar-accreditation {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #E2E8F0;
    font-weight: 500;
}

.topbar-accreditation strong {
    color: #FBBF24;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-contact-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-contact-links a {
    color: #CBD5E1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    font-weight: 600;
}

.topbar-contact-links a:hover {
    color: #00E5FF;
}

.topbar-ar-quote {
    font-family: 'Cairo', sans-serif;
    color: #F8FAFC;
    font-size: 12px;
    direction: rtl;
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 10px;
    border-radius: 6px;
}

/* =====================================================================
   A. NAVIGATION BAR FLOATING GLASSMORPHISM
   ===================================================================== */
.site-navbar {
    width: 100%;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(11, 19, 43, 0.04);
}

.site-navbar .nav-container {
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    position: relative;
}

.nav-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-brand-link:hover .nav-logo-img {
    transform: scale(1.03);
}

.nav-brand-tag {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-teal);
    background: rgba(10, 95, 124, 0.08);
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

/* Menu Central */
.nav-center-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--clr-slate-700);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 10px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover {
    color: var(--clr-fuchsia);
    background: rgba(232, 23, 120, 0.05);
}

.nav-link.active {
    color: #FFFFFF !important;
    background: #006D77 !important;
    font-weight: 700;
    border-radius: 999px;
    padding: 7px 18px;
    box-shadow: 0 4px 12px rgba(0, 109, 119, 0.25);
}

.nav-pill-badge {
    background: var(--clr-fuchsia);
    color: #FFF;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 999px;
    line-height: 1;
}

/* Dropdown Menu Formations */
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #FFFFFF;
    min-width: 320px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 45px rgba(11, 19, 43, 0.14);
    border: 1px solid var(--clr-slate-200);
    padding: 12px;
    display: none;
    list-style: none;
    z-index: 100;
    transform-origin: top left;
}

.nav-item:hover .nav-dropdown-menu {
    display: block;
    animation: dropIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropIn {
    from { opacity: 0; transform: translateY(-8px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.nav-dropdown-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--clr-slate-700);
    text-decoration: none;
    border-radius: 10px;
    transition: var(--transition);
}

.nav-dropdown-item a:hover {
    background: #FFF1F6;
    color: var(--clr-fuchsia);
    transform: translateX(4px);
}

/* Right Actions */
.nav-right-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-phone-quick {
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--clr-slate-100);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    color: var(--clr-navy-900);
    text-decoration: none;
    transition: var(--transition);
}

.nav-phone-quick:hover {
    background: #E0F2FE;
    color: var(--clr-teal);
    transform: translateY(-1px);
}

.btn-nav-portal {
    background: #FFFFFF;
    color: var(--clr-navy-900);
    border: 1.5px solid var(--clr-slate-200);
    border-radius: var(--radius-full);
    padding: 9px 18px;
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.btn-nav-portal:hover {
    border-color: var(--clr-teal);
    color: var(--clr-teal);
    background: rgba(10, 95, 124, 0.04);
    box-shadow: 0 4px 12px rgba(10, 95, 124, 0.12);
    transform: translateY(-1px);
}

.btn-nav-prereg {
    background: var(--grad-fuchsia);
    color: #FFFFFF;
    border: none;
    border-radius: var(--radius-full);
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-glow-fuchsia);
    position: relative;
    overflow: hidden;
}

.btn-nav-prereg::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-25deg);
    animation: buttonShine 3.5s infinite;
}

@keyframes buttonShine {
    0%, 70% { left: -100%; }
    100% { left: 160%; }
}

.btn-nav-prereg:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(232, 23, 120, 0.5);
}

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--clr-navy-900);
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    border-bottom: 1px solid var(--clr-slate-200);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    padding: 20px 24px 28px;
    z-index: 999;
}

.mobile-nav-drawer.active {
    display: block;
    animation: dropIn 0.25s ease-out;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-nav-link {
    font-size: 16px;
    font-weight: 700;
    color: var(--clr-slate-800);
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 10px;
    display: block;
}

.mobile-nav-link:hover {
    background: #FFF1F6;
    color: var(--clr-fuchsia);
}

/* Téléphone & Recherche style Maquette */
.nav-phone-box-ref {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: #1E293B;
}

.phone-glyph {
    color: #0E3D73;
    font-size: 16px;
}

.nav-phone-numbers-ref {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-phone-numbers-ref a {
    color: #1E293B;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-phone-numbers-ref a:hover {
    color: #E81778;
}

.phone-sep {
    color: #94A3B8;
    font-weight: 400;
}

.nav-search-btn-ref {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #475569;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.nav-search-btn-ref:hover {
    background: #F1F5F9;
    color: #0E3D73;
}

/* =====================================================================
   B. HERO 3D MASTERPIECE — L'AVENIR PROFESSIONNEL EN GRAND
   Direction Artistique : Livre 3D Ouvert, Apprenants Photoréalistes & Énergie Turquoise
   ===================================================================== */
.hero-3d-masterpiece {
    position: relative;
    width: 100%;
    min-height: 620px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F5FBFC 45%, #EBF6F9 85%, #E2F2F6 100%);
    overflow: hidden;
    padding: 24px 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Décoration Végétale Vivante en Bas à Gauche */
.hero-3d-leaves-decor {
    position: absolute;
    bottom: -5px;
    left: -5px;
    z-index: 2;
    pointer-events: none;
}

.hero-leaves-img {
    width: 140px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(10, 95, 124, 0.12));
    animation: swayLeaves 6s ease-in-out infinite alternate;
    transform-origin: bottom left;
}

@keyframes swayLeaves {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(2deg) scale(1.02); }
    100% { transform: rotate(0deg) scale(1); }
}

/* Conteneur Panoramique */
.hero-3d-container {
    position: relative;
    z-index: 3;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 28px;
    width: 100%;
}

/* Grille 2 Colonnes : Gauche Contenu, Droite Chef-d'œuvre 3D */
.hero-3d-grid {
    display: grid;
    grid-template-columns: 1.05fr 1.25fr;
    align-items: center;
    gap: 36px;
    min-height: 480px;
}

/* ------------------------------------------------------------- */
/* COLONNE GAUCHE                                                */
/* ------------------------------------------------------------- */
.hero-3d-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 4;
}

/* 1. En-tête Marque avec Logo */
.hero-3d-brand-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.hero-3d-logo-box {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-3d-logo-icon {
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(230, 0, 126, 0.2));
    transition: transform 0.3s ease;
}

.hero-3d-logo-box:hover .hero-3d-logo-icon {
    transform: scale(1.06) rotate(-3deg);
}

.hero-3d-brand-titles {
    display: flex;
    flex-direction: column;
}

.hero-3d-brand-name {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-size: 52px;
    font-weight: 900;
    font-style: italic;
    color: #E6007E;
    letter-spacing: -1.5px;
    line-height: 0.95;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 0 2px 14px rgba(230, 0, 126, 0.18);
}

.hero-3d-brand-sub {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #0A5F7C;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-top: 2px;
}

.hero-3d-official-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    border: 1.5px solid rgba(10, 95, 124, 0.2);
    border-radius: 999px;
    padding: 5px 16px;
    font-size: 12.5px;
    font-weight: 700;
    color: #0A5F7C;
    box-shadow: 0 3px 12px rgba(10, 95, 124, 0.06);
    width: fit-content;
}

.tag-pulse-dot {
    width: 8px;
    height: 8px;
    background: #20B5C0;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(32, 181, 192, 0.25);
    animation: pulseTealDot 2s infinite;
}

@keyframes pulseTealDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(32, 181, 192, 0.5); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(32, 181, 192, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(32, 181, 192, 0); }
}

/* 2. Slogan Emblématique */
.hero-3d-slogan-wrap {
    margin: 8px 0 20px;
}

.hero-3d-slogan-main {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #0A5F7C;
    line-height: 1.15;
    margin: 0 0 4px;
    letter-spacing: -0.5px;
}

.hero-3d-slogan-cursive {
    font-family: 'Caveat', cursive;
    font-size: 44px;
    font-weight: 700;
    color: #0A5F7C;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.1;
}

.hero-3d-slogan-cursive .slogan-prefix {
    color: #0A5F7C;
}

.hero-3d-slogan-cursive .slogan-highlight {
    position: relative;
    color: #E6007E;
    display: inline-block;
    padding-bottom: 4px;
}

.slogan-underline-svg {
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 14px;
    pointer-events: none;
}

/* 3. Présentation des 4 Avantages Clés */
.hero-3d-pillars-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.pillar-3d-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 10px 8px 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 1.5px solid rgba(10, 95, 124, 0.12);
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(10, 95, 124, 0.05);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pillar-3d-card:hover {
    transform: translateY(-4px);
    border-color: #20B5C0;
    box-shadow: 0 10px 24px rgba(32, 181, 192, 0.2);
}

.pillar-3d-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #F0F9FB;
    border: 1.5px solid #CCEEF2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0A5F7C;
    box-shadow: 0 2px 8px rgba(10, 95, 124, 0.08);
    transition: transform 0.25s ease;
}

.pillar-3d-card:hover .pillar-3d-icon-circle {
    transform: scale(1.1) rotate(5deg);
    background: #20B5C0;
    border-color: #20B5C0;
}

.pillar-3d-card:hover .pillar-3d-icon-circle svg {
    stroke: #FFFFFF;
}

.pillar-3d-label {
    display: flex;
    flex-direction: column;
}

.pillar-3d-label strong {
    font-size: 13px;
    font-weight: 800;
    color: #0A5F7C;
    line-height: 1.2;
}

.pillar-3d-label span {
    font-size: 11.5px;
    font-weight: 600;
    color: #64748B;
}

/* 4. Actions & Boutons CTA */
.hero-3d-cta-container {
    position: relative;
}

.hero-3d-sparkles-box {
    position: absolute;
    top: -16px;
    left: 200px;
    pointer-events: none;
    animation: sparkleTwinkle 2.5s ease-in-out infinite alternate;
}

@keyframes sparkleTwinkle {
    0% { transform: scale(0.9) rotate(-5deg); opacity: 0.75; }
    50% { transform: scale(1.15) rotate(5deg); opacity: 1; }
    100% { transform: scale(0.9) rotate(-5deg); opacity: 0.75; }
}

.hero-3d-buttons-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.btn-3d-magenta-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #E6007E 0%, #D00070 100%);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 15.5px;
    padding: 13px 26px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(230, 0, 126, 0.38);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-3d-magenta-pill:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 34px rgba(230, 0, 126, 0.52);
    color: #FFFFFF;
}

.btn-3d-arrow-bubble {
    background: #FFFFFF;
    color: #E6007E;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    transition: transform 0.25s ease;
}

.btn-3d-magenta-pill:hover .btn-3d-arrow-bubble {
    transform: translateX(4px);
}

.btn-3d-teal-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #20B5C0;
    color: #0A5F7C;
    font-weight: 800;
    font-size: 15px;
    padding: 11px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(32, 181, 192, 0.15);
}

.btn-3d-teal-pill:hover {
    background: #20B5C0;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(32, 181, 192, 0.32);
}

.btn-3d-phone-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #0A5F7C;
    font-weight: 800;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px solid rgba(10, 95, 124, 0.18);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}

.btn-3d-phone-pill:hover {
    color: #E6007E;
    border-color: #E6007E;
    transform: translateY(-2px);
}

.btn-3d-phone-pill .phone-ico {
    color: #20B5C0;
}

/* Filtres Rapides Diplômes d'État */
.hero-3d-diploma-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    flex-wrap: wrap;
}

.chips-intro-text {
    font-weight: 700;
    color: #0A5F7C;
}

.chip-diploma-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #FFFFFF;
    color: #1E293B;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 999px;
    text-decoration: none;
    border: 1.5px solid #CBD5E1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}

.chip-diploma-item:hover {
    border-color: #20B5C0;
    color: #0A5F7C;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(32, 181, 192, 0.18);
}

.chip-diploma-item strong {
    color: #E6007E;
}

/* ------------------------------------------------------------- */
/* COLONNE DROITE : LE CHEF-D'ŒUVRE 3D                           */
/* ------------------------------------------------------------- */
.hero-3d-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.hero-3d-stage {
    position: relative;
    width: 100%;
    max-width: 720px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.hero-3d-scene-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 22px 45px rgba(10, 95, 124, 0.2));
    border-radius: 16px;
    animation: float3DBookScene 5s ease-in-out infinite alternate;
    transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1);
}

@keyframes float3DBookScene {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(-0.5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Anneau Néon Turquoise Flottant */
.hero-3d-neon-ring {
    position: absolute;
    width: 380px;
    height: 180px;
    border-radius: 50%;
    border: 3px solid rgba(32, 181, 192, 0.55);
    box-shadow: 0 0 25px rgba(32, 181, 192, 0.45), inset 0 0 20px rgba(32, 181, 192, 0.25);
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%) rotate(-12deg);
    pointer-events: none;
    z-index: 1;
    animation: pulseNeonRing 4s ease-in-out infinite alternate;
}

@keyframes pulseNeonRing {
    0% {
        opacity: 0.6;
        box-shadow: 0 0 20px rgba(32, 181, 192, 0.35);
        transform: translate(-50%, -50%) rotate(-12deg) scale(0.98);
    }
    100% {
        opacity: 0.9;
        box-shadow: 0 0 35px rgba(32, 181, 192, 0.65);
        transform: translate(-50%, -50%) rotate(-10deg) scale(1.02);
    }
}

/* Doodles Flottants au-dessus de l'Informaticien */
.hero-3d-doodle {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(10, 95, 124, 0.14);
    border: 1.5px solid rgba(32, 181, 192, 0.3);
    z-index: 6;
    animation: floatDoodle 4s ease-in-out infinite alternate;
}

.hero-3d-doodle.doodle-lightbulb {
    top: 25px;
    left: 20%;
    animation-delay: 0.2s;
}

.hero-3d-doodle.doodle-chart {
    top: 35px;
    left: 32%;
    animation-delay: 0.8s;
}

@keyframes floatDoodle {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-9px) rotate(4deg); }
}

/* Pastilles Flottantes de Réassurance */
.hero-3d-floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 999px;
    padding: 8px 16px;
    box-shadow: 0 12px 30px rgba(10, 95, 124, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    z-index: 6;
}

.hero-3d-floating-badge.badge-top-right {
    top: 15px;
    right: 15px;
    animation: floatBadgeTR 4.6s ease-in-out infinite alternate;
}

.hero-3d-floating-badge.badge-bottom-left {
    bottom: 25px;
    left: 10px;
    animation: floatBadgeBL 4.2s ease-in-out infinite alternate;
}

@keyframes floatBadgeTR {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

@keyframes floatBadgeBL {
    0% { transform: translateY(0); }
    100% { transform: translateY(8px); }
}

.badge-glyph-circle {
    font-size: 20px;
}

.hero-3d-floating-badge .badge-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.hero-3d-floating-badge .badge-content strong {
    font-size: 13px;
    font-weight: 800;
    color: #0A5F7C;
    line-height: 1.2;
}

.hero-3d-floating-badge .badge-content span {
    font-size: 11px;
    color: #64748B;
    font-weight: 600;
}

/* Double Ruban Pinceau Emblématique en Bas */
.hero-3d-bottom-badge-strip {
    position: relative;
    z-index: 4;
    display: flex;
    justify-content: flex-end;
    max-width: 1360px;
    margin: -10px auto 0;
    padding: 0 28px;
    pointer-events: none;
}

.hero-3d-bottom-badge-strip .hero-brush-badge-container {
    pointer-events: auto;
}

.hero-brush-badge-img {
    height: 72px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(11, 37, 69, 0.15));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.hero-brush-badge-img:hover {
    transform: scale(1.06) rotate(-1.5deg);
}

/* ------------------------------------------------------------- */
/* RESPONSIVE DESIGN : TABLETTES & MOBILES                       */
/* ------------------------------------------------------------- */
@media (max-width: 1200px) {
    .hero-3d-brand-name { font-size: 46px; }
    .hero-3d-brand-sub { font-size: 22px; }
    .hero-3d-slogan-main { font-size: 30px; }
    .hero-3d-slogan-cursive { font-size: 36px; }
    .hero-3d-pillars-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .hero-3d-doodle { display: none; }
}

@media (max-width: 992px) {
    .hero-3d-masterpiece {
        padding: 20px 0 30px;
        min-height: auto;
    }
    .hero-3d-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }
    .hero-3d-content {
        align-items: center;
        order: 2;
    }
    .hero-3d-visual {
        order: 1;
        margin-top: 10px;
    }
    .hero-3d-logo-box { justify-content: center; }
    .hero-3d-official-tag { margin: 0 auto; }
    .hero-3d-slogan-cursive { justify-content: center; }
    .hero-3d-pillars-row {
        width: 100%;
        max-width: 540px;
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-3d-buttons-row { justify-content: center; }
    .hero-3d-diploma-chips { justify-content: center; }
    .hero-3d-bottom-badge-strip {
        justify-content: center;
        margin-top: 15px;
    }
    .hero-3d-sparkles-box {
        left: 50%;
        transform: translateX(-50%);
    }
    .hero-3d-leaves-decor { display: none; }
}

@media (max-width: 640px) {
    .hero-3d-brand-name { font-size: 38px; }
    .hero-3d-brand-sub { font-size: 19px; }
    .hero-3d-slogan-main { font-size: 24px; }
    .hero-3d-slogan-cursive { font-size: 28px; }
    .hero-3d-floating-badge { display: none; }
    .hero-3d-neon-ring { display: none; }
    .hero-3d-pillars-row { grid-template-columns: 1fr; }
    .pillar-3d-card { flex-direction: row; text-align: left; padding: 10px 14px; gap: 12px; }
    .btn-3d-magenta-pill,
    .btn-3d-teal-pill,
    .btn-3d-phone-pill {
        width: 100%;
        justify-content: center;
    }
}


/* =====================================================================
   C. TRUST & STATISTICS TICKER (RUBAN DES CHIFFRES CLÉS)
   ===================================================================== */
.site-trust-ticker {
    background: #FFFFFF;
    border-bottom: 1px solid var(--clr-slate-200);
    padding: 30px 0;
    box-shadow: 0 4px 18px rgba(11, 19, 43, 0.04);
}

.trust-ticker-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.trust-stat-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.trust-stat-box:hover {
    background: var(--clr-slate-50);
    transform: translateY(-2px);
}

.stat-box-glyph {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: rgba(10, 95, 124, 0.08);
    color: var(--clr-teal);
    flex-shrink: 0;
}

.stat-box-data {
    display: flex;
    flex-direction: column;
}

.stat-big-number {
    font-size: 26px;
    font-weight: 800;
    color: var(--clr-navy-900);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.stat-label-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--clr-slate-600);
    margin-top: 2px;
}

/* =====================================================================
   D. SECTION « NOS FORMATIONS D'AVENIR »
   ===================================================================== */
.site-courses-section {
    padding: 95px 0 105px;
    background: #F8FAFC;
    position: relative;
}

.courses-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-head-center {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 45px;
}

.section-eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--clr-fuchsia);
    background: rgba(232, 23, 120, 0.08);
    padding: 5px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
}

.section-primary-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--clr-navy-900);
    line-height: 1.2;
    letter-spacing: -0.8px;
    margin: 0 0 12px;
}

.section-primary-title span.title-highlight {
    background: var(--grad-fuchsia);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-primary-desc {
    font-size: 16px;
    color: var(--clr-slate-600);
    line-height: 1.6;
    margin: 0;
}

/* Filter Tabs */
.courses-filter-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-filter-tab {
    background: #FFFFFF;
    color: var(--clr-slate-700);
    border: 1px solid var(--clr-slate-200);
    border-radius: var(--radius-full);
    padding: 9px 20px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-filter-tab:hover {
    border-color: var(--clr-fuchsia);
    color: var(--clr-fuchsia);
    transform: translateY(-1px);
}

.btn-filter-tab.active {
    background: var(--clr-navy-900);
    color: #FFFFFF;
    border-color: var(--clr-navy-900);
    box-shadow: 0 4px 14px rgba(11, 19, 43, 0.2);
}

/* Grid of Programs Cards */
.courses-grid-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.course-card-item {
    background: #FFFFFF;
    border: 1px solid var(--clr-slate-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.course-card-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(232, 23, 120, 0.3);
}

.course-card-thumb {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--clr-slate-100);
}

.course-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-card-item:hover .course-card-thumb img {
    transform: scale(1.06);
}

.badge-level-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 2;
    text-transform: uppercase;
}

.badge-state-guarantee {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    color: #FBBF24;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    z-index: 2;
}

/* Theme color accents */
.badge-magenta, .color-magenta { background: var(--grad-fuchsia); }
.badge-blue, .color-blue { background: var(--grad-cyan); }
.badge-purple, .color-purple { background: var(--grad-purple); }
.badge-green, .color-green { background: var(--grad-emerald); }
.badge-orange, .color-orange { background: var(--grad-gold); }
.badge-turquoise, .color-turquoise { background: linear-gradient(135deg, #0D9488 0%, #14B8A6 100%); }

.course-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-arabic-title {
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    direction: rtl;
    text-align: right;
    display: block;
    color: var(--clr-teal);
}

.course-fr-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--clr-navy-900);
    line-height: 1.3;
    margin-bottom: 12px;
}

.course-description-text {
    font-size: 13.5px;
    color: var(--clr-slate-600);
    line-height: 1.55;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-specs-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    padding-top: 12px;
    border-top: 1px solid var(--clr-slate-100);
}

.spec-chip {
    font-size: 12px;
    font-weight: 600;
    color: var(--clr-slate-700);
    background: var(--clr-slate-100);
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.course-actions-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.btn-card-prereg {
    flex-grow: 1;
    background: var(--clr-navy-900);
    color: #FFFFFF;
    border: none;
    border-radius: var(--radius-md);
    padding: 11px 16px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-card-prereg:hover {
    background: var(--clr-fuchsia);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(232, 23, 120, 0.35);
}

.btn-card-details {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--clr-slate-100);
    border: 1px solid var(--clr-slate-200);
    color: var(--clr-slate-700);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-card-details:hover {
    background: #E0F2FE;
    color: var(--clr-teal);
    border-color: var(--clr-teal);
}

.btn-card-details-page {
    height: 44px;
    padding: 0 16px;
    border-radius: var(--radius-md);
    background: #F1F5F9;
    border: 1px solid var(--clr-slate-200);
    color: var(--clr-navy-900);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-card-details-page:hover {
    background: #E0F2FE;
    color: #0284C7;
    border-color: #38BDF8;
    transform: translateY(-1px);
}

.course-title-link {
    color: var(--clr-navy-900);
    text-decoration: none;
    transition: color 0.2s ease;
}

.course-title-link:hover {
    color: var(--clr-cyan-600);
}

.course-thumb-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* =====================================================================
   D2. SECTION « NOS FORMATIONS ACCÉLÉRÉES » (FIDÈLE AU FLYER OFFICIEL)
   ===================================================================== */
.site-accelerated-section {
    padding: 95px 0 105px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF7 40%, #F8FAFC 100%);
    border-top: 1px solid #FEF3C7;
    border-bottom: 1px solid var(--clr-slate-200);
    position: relative;
}

.accelerated-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
}

.title-highlight-amber {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accel-trust-badge-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: -10px auto 42px;
}

.accel-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1.5px solid #FCD34D;
    padding: 8px 18px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    color: #92400E;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.08);
}

.accel-trust-pill.pill-ar {
    font-family: 'Cairo', sans-serif;
    font-size: 14.5px;
    font-weight: 800;
    color: #B45309;
    background: #FEF3C7;
    direction: rtl;
}

.accel-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 50px;
}

.accel-category-card {
    background: #FFFFFF;
    border-radius: 26px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1.5px solid #E2E8F0;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.accel-category-card:hover {
    transform: translateY(-6px);
}

/* Thèmes de Couleurs par Catégorie */
.accel-cat-langues:hover {
    border-color: #38BDF8;
    box-shadow: 0 20px 45px -10px rgba(2, 132, 199, 0.22);
}
.accel-cat-langues .module-status-dot {
    background: #0284C7;
}
.accel-cat-langues .accel-module-interactive-item:hover {
    border-color: #BAE6FD;
}

.accel-cat-informatique:hover {
    border-color: #818CF8;
    box-shadow: 0 20px 45px -10px rgba(99, 102, 241, 0.22);
}
.accel-cat-informatique .module-status-dot {
    background: #6366F1;
}
.accel-cat-informatique .accel-module-interactive-item:hover {
    border-color: #C7D2FE;
}

.accel-cat-gestion:hover {
    border-color: #F59E0B;
    box-shadow: 0 20px 45px -10px rgba(217, 119, 6, 0.22);
}
.accel-cat-gestion .module-status-dot {
    background: #D97706;
}
.accel-cat-gestion .accel-module-interactive-item:hover {
    border-color: #FDE68A;
}

.accel-cat-beaute:hover {
    border-color: #F43F5E;
    box-shadow: 0 20px 45px -10px rgba(225, 29, 72, 0.22);
}
.accel-cat-beaute .module-status-dot {
    background: #E11D48;
}
.accel-cat-beaute .accel-module-interactive-item:hover {
    border-color: #FECDD3;
}

/* En-tête Médias avec Photo & Scrim */
.accel-card-media-header {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: #0F172A;
}

.accel-card-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
    filter: brightness(0.92);
}

.accel-category-card:hover .accel-card-bg-img {
    transform: scale(1.08);
    filter: brightness(1);
}

.accel-card-scrim-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.55) 55%, rgba(15, 23, 42, 0.94) 100%);
    pointer-events: none;
}

.accel-card-floating-top {
    position: absolute;
    top: 14px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    pointer-events: none;
}

.accel-glass-category-pill {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    color: #0F172A;
    font-size: 11.5px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.accel-modules-count-pill {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    color: #FDE68A;
    border: 1px solid rgba(253, 230, 138, 0.3);
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 9999px;
}

.accel-card-header-titles {
    position: absolute;
    bottom: 14px;
    left: 18px;
    right: 18px;
    z-index: 2;
    pointer-events: none;
}

.accel-card-ar-title {
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #FDE68A;
    direction: rtl;
    text-align: right;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 2px;
}

.accel-card-fr-title {
    font-size: 20px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* Corps Intérieur de Carte */
.accel-card-inner-body {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.accel-card-pitch {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.55;
    margin: 0 0 16px;
}

.accel-interactive-modules-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.accel-module-interactive-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 15px;
    border-radius: 14px;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    text-decoration: none;
    transition: all 0.25s ease;
    gap: 12px;
}

.accel-module-interactive-item:hover {
    background: #FFFFFF;
    transform: translateX(5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    border-color: #CBD5E1;
}

.module-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.module-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #94A3B8;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.accel-module-interactive-item:hover .module-status-dot {
    transform: scale(1.3);
}

.module-names {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.module-name-fr {
    font-size: 13.5px;
    font-weight: 800;
    color: #0F172A;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.module-name-ar {
    font-family: 'Cairo', sans-serif;
    font-size: 12px;
    color: #B45309;
    font-weight: 700;
}

.module-meta-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.module-duration-tag {
    font-size: 11.5px;
    font-weight: 700;
    color: #475569;
    background: #E2E8F0;
    padding: 3px 9px;
    border-radius: 6px;
    white-space: nowrap;
}

.module-arrow-indicator {
    color: #94A3B8;
    font-weight: 800;
    font-size: 14px;
    transition: all 0.2s ease;
}

.accel-module-interactive-item:hover .module-arrow-indicator {
    transform: translateX(3px);
    color: var(--clr-magenta-600);
}

/* Barre d'Action Inférieure */
.accel-card-footer-toolbar {
    padding: 16px 24px 20px;
    background: #FAFBFD;
    border-top: 1px solid #F1F5F9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.accel-schedule-modes-tag {
    font-size: 11.5px;
    font-weight: 700;
    color: #64748B;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.accel-card-buttons-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-accel-explore-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    background: #FFFFFF;
    border: 1.5px solid #CBD5E1;
    padding: 7px 14px;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-accel-explore-link:hover {
    background: #F1F5F9;
    border-color: #94A3B8;
    color: #0F172A;
}

.btn-accel-direct-prereg {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 800;
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--clr-magenta-600), var(--clr-magenta-500));
    border: none;
    padding: 8px 16px;
    border-radius: 9999px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(232, 23, 120, 0.25);
    transition: all 0.2s;
}

.btn-accel-direct-prereg:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(232, 23, 120, 0.35);
}

/* Bannière d'Excellence Campus Réel (Remplace l'Affiche Flyer) */
.accel-flyer-banner-card {
    background: linear-gradient(135deg, #0A5F7C 0%, #064054 100%);
    color: #FFFFFF;
    border-radius: 28px;
    padding: 38px 46px;
    display: grid;
    grid-template-columns: 220px 1fr auto;
    gap: 36px;
    align-items: center;
    box-shadow: 0 20px 50px rgba(6, 64, 84, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.accel-flyer-thumb-box {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.accel-flyer-thumb-box img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.banner-seal-overlay {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(6px);
    color: #FFFFFF;
    padding: 5px 8px;
    border-radius: 8px;
    font-size: 11px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.banner-seal-overlay strong {
    display: block;
    color: #FCD34D;
    font-size: 12px;
}

.accel-flyer-content h3 {
    font-size: 25px;
    font-weight: 800;
    margin: 0 0 10px;
    color: #FFFFFF;
}

.accel-flyer-content p {
    font-size: 15px;
    color: #E2E8F0;
    line-height: 1.6;
    margin: 0 0 18px;
    max-width: 650px;
}

.accel-flyer-details-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13.5px;
}

.accel-flyer-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #F8FAFC;
}

.accel-flyer-detail-item strong {
    color: #FBBF24;
}

.accel-flyer-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-flyer-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    color: #0A5F7C;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.btn-flyer-phone:hover {
    background: #F0F9FF;
    transform: translateY(-2px);
}

.btn-flyer-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #10B981;
    color: #FFFFFF;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
    transition: var(--transition);
}

.btn-flyer-whatsapp:hover {
    background: #059669;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .accel-categories-grid {
        grid-template-columns: 1fr;
    }
    
    .accel-flyer-banner-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .accel-flyer-thumb-box img {
        max-width: 260px;
        margin: 0 auto;
    }
    
    .accel-flyer-details-row {
        justify-content: center;
    }
    
    .accel-flyer-actions {
        flex-direction: row;
        justify-content: center;
    }
}

/* =====================================================================
   E. SECTION BENTO GRID « L'EXPÉRIENCE L'HORIZON »
   ===================================================================== */
.site-about-section {
    padding: 95px 0 105px;
    background: #FFFFFF;
    position: relative;
}

.bento-grid-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 24px;
}

.bento-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-xl);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
    border-color: rgba(14, 165, 233, 0.4);
}

/* Bento Card 1 : Grand Campus Showcase (Col 1-8) - Refonte Lumineuse Haute Lisibilité */
.bento-campus-hero {
    grid-column: span 8;
    grid-row: span 2;
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F9FF 55%, #E0F2FE 100%);
    color: #0F172A;
    padding: 42px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1.5px solid #BAE6FD;
    box-shadow: 0 16px 40px rgba(2, 132, 199, 0.07);
    position: relative;
}

.bento-campus-hero::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.bento-campus-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #E0F2FE;
    color: #0369A1;
    border: 1px solid #7DD3FC;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    width: fit-content;
}

.bento-campus-hero h3 {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 14px;
    color: #0F172A;
    line-height: 1.25;
    letter-spacing: -0.4px;
}

.bento-campus-hero p {
    font-size: 16px;
    color: #334155;
    line-height: 1.65;
    max-width: 620px;
    margin: 0 0 28px;
    font-weight: 500;
}

.bento-campus-stats-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    background: #FFFFFF;
    border: 1px solid #BAE6FD;
    box-shadow: 0 4px 18px rgba(2, 132, 199, 0.06);
    border-radius: var(--radius-lg);
    padding: 18px 26px;
}

.campus-stat-item {
    display: flex;
    flex-direction: column;
}

.campus-stat-item strong {
    font-size: 26px;
    font-weight: 800;
    color: #0284C7;
    line-height: 1.1;
}

.campus-stat-item span {
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    margin-top: 3px;
}

/* Bento Card 2 : Quote Luxueuse Lumineuse (Col 9-12) */
.bento-quote-card {
    grid-column: span 4;
    grid-row: span 2;
    background: linear-gradient(135deg, #FFF1F7 0%, #FDF2F8 50%, #FFFBEB 100%);
    color: #831843;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 30px;
    border: 1.5px solid #FBCFE8;
    box-shadow: 0 16px 40px rgba(219, 39, 119, 0.08);
    position: relative;
    overflow: hidden;
}

.bento-quote-giant {
    font-family: Georgia, serif;
    font-size: 84px;
    line-height: 0.5;
    color: #E11D48;
    margin-bottom: 24px;
    opacity: 0.85;
}

.bento-quote-text {
    font-family: 'Caveat', cursive;
    font-size: 36px;
    font-weight: 700;
    color: #9D174D;
    line-height: 1.3;
    margin-bottom: 22px;
}

.bento-quote-author {
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #BE185D;
    background: #FCE7F3;
    padding: 5px 14px;
    border-radius: 9999px;
    border: 1px solid #FBCFE8;
}

/* Bento Cards Row 2 (3 Columns x 4) */
.bento-pedagogy {
    grid-column: span 4;
}

.bento-faculty {
    grid-column: span 4;
}

.bento-career {
    grid-column: span 4;
}

.bento-glyph-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.bento-card h4 {
    font-size: 20px;
    font-weight: 800;
    color: var(--clr-navy-900);
    margin: 0 0 10px;
}

.bento-card p {
    font-size: 14px;
    color: var(--clr-slate-600);
    line-height: 1.6;
    margin: 0;
}

/* =====================================================================
   F. SECTION « POURQUOI CHOISIR L'HORIZON ? » (6 CARTES CRÉATIVES)
   ===================================================================== */
.site-why-section {
    padding: 95px 0 105px;
    background: #F8FAFC;
    position: relative;
}

.why-grid-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.why-feature-card {
    background: #FFFFFF;
    border: 1px solid var(--clr-slate-200);
    border-radius: var(--radius-xl);
    padding: 34px 28px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.why-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: var(--transition);
}

.why-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.why-card-1:hover::before { background: var(--grad-fuchsia); }
.why-card-2:hover::before { background: var(--grad-cyan); }
.why-card-3:hover::before { background: var(--grad-gold); }
.why-card-4:hover::before { background: var(--grad-emerald); }
.why-card-5:hover::before { background: var(--grad-purple); }
.why-card-6:hover::before { background: linear-gradient(135deg, #0A5F7C, #00E5FF); }

.why-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.why-card-glyph {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.why-number-chip {
    font-size: 18px;
    font-weight: 800;
    color: var(--clr-slate-300);
    font-family: monospace;
}

.why-feature-card h4 {
    font-size: 20px;
    font-weight: 800;
    color: var(--clr-navy-900);
    margin: 0 0 10px;
    line-height: 1.3;
}

.why-feature-card p {
    font-size: 14px;
    color: var(--clr-slate-600);
    line-height: 1.6;
    margin: 0;
}

/* =====================================================================
   G. SECTION TÉMOIGNAGES & RÉUSSITES (SUCCESS STORIES)
   ===================================================================== */
.site-testimonials-section {
    padding: 95px 0 105px;
    background: #FFFFFF;
    position: relative;
}

.testimonials-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #F8FAFC;
    border: 1px solid var(--clr-slate-200);
    border-radius: var(--radius-xl);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--clr-fuchsia);
    background: #FFFFFF;
}

.testimonial-rating-stars {
    color: #F59E0B;
    font-size: 16px;
    margin-bottom: 16px;
}

.testimonial-quote-text {
    font-size: 15px;
    color: var(--clr-slate-700);
    line-height: 1.65;
    font-style: italic;
    margin: 0 0 24px;
}

.testimonial-author-row {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--clr-slate-200);
    padding-top: 16px;
}

.author-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--clr-navy-900);
    color: #FFFFFF;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.author-meta {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--clr-navy-900);
}

.author-promo {
    font-size: 12px;
    color: var(--clr-fuchsia);
    font-weight: 600;
}

.author-job {
    font-size: 11.5px;
    color: var(--clr-slate-600);
}

/* =====================================================================
   H. SECTION ACTUALITÉS & ÉVÉNEMENTS
   ===================================================================== */
.site-news-section {
    padding: 95px 0 105px;
    background: #F8FAFC;
    position: relative;
}

.news-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
}

.news-grid-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card-single {
    background: #FFFFFF;
    border: 1px solid var(--clr-slate-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card-single:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.news-thumb {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card-single:hover .news-thumb img {
    transform: scale(1.06);
}

.news-content-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-date-badge {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--clr-teal);
    background: rgba(10, 95, 124, 0.08);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
    width: fit-content;
}

.news-item-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--clr-navy-900);
    line-height: 1.35;
    margin: 0 0 10px;
}

.news-item-excerpt {
    font-size: 13.5px;
    color: var(--clr-slate-600);
    line-height: 1.6;
    margin: 0 0 16px;
    flex-grow: 1;
}

.news-read-more {
    color: var(--clr-fuchsia);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.news-read-more:hover {
    gap: 10px;
    color: var(--clr-fuchsia-light);
}

/* =====================================================================
   I. SECTION FOIRE AUX QUESTIONS (F.A.Q.) ACCORDION
   ===================================================================== */
.site-faq-section {
    padding: 95px 0 105px;
    background: #FFFFFF;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.faq-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #F8FAFC;
    border: 1px solid var(--clr-slate-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--clr-teal);
    box-shadow: 0 6px 20px rgba(10, 95, 124, 0.08);
    background: #FFFFFF;
}

.faq-header-btn {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 16.5px;
    font-weight: 700;
    color: var(--clr-navy-900);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 16px;
}

.faq-toggle-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--clr-slate-200);
    color: var(--clr-slate-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
    background: var(--clr-teal);
    color: #FFFFFF;
}

.faq-body-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out, padding 0.35s ease-out;
    padding: 0 24px;
    color: var(--clr-slate-600);
    font-size: 14.5px;
    line-height: 1.65;
}

.faq-item.active .faq-body-content {
    max-height: 260px;
    padding-bottom: 22px;
}

/* =====================================================================
   J. BANDEAU CTA SPECTACULAIRE HAUTE CONVERSION
   ===================================================================== */
.site-cta-banner-section {
    padding: 60px 0 90px;
    background: #FFFFFF;
}

.cta-banner-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
}

.cta-banner-card {
    background: var(--grad-hero);
    border-radius: var(--radius-xl);
    padding: 45px 55px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(6, 11, 24, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-banner-card::before {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 23, 120, 0.35) 0%, transparent 70%);
    top: -150px;
    right: 15%;
    pointer-events: none;
}

.cta-left-content {
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.cta-student-avatar {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    border: 3px solid #FFFFFF;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    flex-shrink: 0;
}

.cta-text-stack h3 {
    font-size: 32px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 8px;
    line-height: 1.2;
}

.cta-text-stack p {
    font-size: 16px;
    color: #CBD5E1;
    margin: 0;
}

.cta-right-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.btn-cta-prereg {
    background: var(--grad-fuchsia);
    color: #FFFFFF;
    border: none;
    border-radius: var(--radius-full);
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: var(--shadow-glow-fuchsia);
    transition: var(--transition);
}

.btn-cta-prereg:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 16px 40px rgba(232, 23, 120, 0.6);
}

.cta-sub-hint {
    font-size: 12px;
    color: #94A3B8;
    font-weight: 500;
}

/* =====================================================================
   K. PIED DE PAGE MASTERCLASS (DARK NAVY FOOTER)
   ===================================================================== */
.site-main-footer {
    background: var(--clr-navy-950);
    color: #CBD5E1;
    padding: 85px 0 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
    gap: 45px;
    margin-bottom: 50px;
}

.footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    align-self: flex-start;
    filter: brightness(1.1);
}

.footer-slogan {
    font-size: 14.5px;
    line-height: 1.6;
    color: #94A3B8;
    margin: 0;
}

.footer-slogan strong {
    color: #FBBF24;
}

.footer-accred-stamp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 12px;
    border-radius: var(--radius-md);
    font-size: 12px;
    color: #E2E8F0;
    width: fit-content;
}

.footer-col-links h4,
.footer-col-contact h4,
.footer-col-map h4 {
    font-size: 16px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 20px;
    letter-spacing: 0.5px;
}

.footer-links-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
}

.footer-links-grid a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 13.5px;
    transition: var(--transition);
}

.footer-links-grid a:hover {
    color: #00E5FF;
    transform: translateX(4px);
    display: inline-block;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
}

.contact-row-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13.5px;
    color: #CBD5E1;
}

.contact-row-item a {
    color: #00E5FF;
    text-decoration: none;
    font-weight: 600;
}

.footer-social-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-pill-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}

.social-pill-btn:hover {
    background: var(--clr-fuchsia);
    border-color: var(--clr-fuchsia);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(232, 23, 120, 0.4);
}

.footer-map-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
}

.footer-map-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
    filter: brightness(0.9);
}

.footer-map-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: rgba(15, 28, 63, 0.9);
    color: #00E5FF;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition);
}

.footer-map-card a:hover {
    background: var(--clr-navy-900);
    color: #FFFFFF;
}

.footer-bottom-bar {
    max-width: 1360px;
    margin: 0 auto;
    padding: 24px 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #64748B;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom-cursive {
    font-family: 'Caveat', cursive;
    font-size: 20px;
    color: #FBBF24;
}

/* =====================================================================
   L. MODALE DE PRÉINSCRIPTION EN LIGNE (MODERNE & ACCESSIBLE)
   ===================================================================== */
.prereg-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 11, 24, 0.75);
    backdrop-filter: blur(14px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.prereg-modal-overlay.active {
    display: flex;
    animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.prereg-modal-box {
    background: #FFFFFF;
    width: 100%;
    max-width: 580px;
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    border: 1px solid var(--clr-slate-200);
    overflow: hidden;
    animation: zoomUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoomUp {
    from { transform: scale(0.92) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.prereg-modal-header {
    background: var(--grad-hero);
    color: #FFFFFF;
    padding: 24px 28px;
    position: relative;
}

.prereg-modal-header h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 6px;
    color: #FFFFFF;
}

.prereg-modal-header p {
    font-size: 13.5px;
    color: #CBD5E1;
    margin: 0;
}

.btn-close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.btn-close-modal:hover {
    background: var(--clr-fuchsia);
    transform: rotate(90deg);
}

.prereg-modal-body {
    padding: 28px;
    max-height: calc(85vh - 120px);
    overflow-y: auto;
}

.prereg-form-group {
    margin-bottom: 18px;
}

.prereg-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--clr-navy-900);
    margin-bottom: 6px;
}

.prereg-input,
.prereg-select,
.prereg-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--clr-slate-200);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: inherit;
    color: var(--clr-slate-800);
    outline: none;
    transition: var(--transition);
    background: var(--clr-slate-50);
}

.prereg-input:focus,
.prereg-select:focus,
.prereg-textarea:focus {
    border-color: var(--clr-teal);
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(10, 95, 124, 0.1);
}

.btn-submit-prereg {
    width: 100%;
    background: var(--grad-fuchsia);
    color: #FFFFFF;
    border: none;
    border-radius: var(--radius-md);
    padding: 14px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-glow-fuchsia);
    margin-top: 8px;
}

.btn-submit-prereg:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(232, 23, 120, 0.5);
}

/* =====================================================================
   M. MODALE DÉTAILS DU PROGRAMME (CURRICULUM MODAL)
   ===================================================================== */
.course-detail-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 11, 24, 0.8);
    backdrop-filter: blur(14px);
    z-index: 2005;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.course-detail-modal-overlay.active {
    display: flex;
    animation: fadeIn 0.25s ease-out;
}

.course-detail-box {
    background: #FFFFFF;
    width: 100%;
    max-width: 680px;
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    position: relative;
    animation: zoomUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-detail-header {
    background: var(--grad-hero);
    color: #FFFFFF;
    padding: 28px;
    position: relative;
}

.course-detail-body {
    padding: 28px;
    max-height: calc(80vh - 120px);
    overflow-y: auto;
}

/* =====================================================================
   N. BOUTON FLOTTANT RETOUR EN HAUT (BACK TO TOP)
   ===================================================================== */
.btn-back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--clr-navy-900);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 900;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
}

.btn-back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.btn-back-to-top:hover {
    background: var(--clr-fuchsia);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-fuchsia);
}

/* =====================================================================
   O. RESPONSIVE DESIGN & ADAPTATIONS MULTI-ÉCRANS
   ===================================================================== */
@media (max-width: 1200px) {
    .hero-main-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .hero-left-col {
        align-items: center;
    }
    .hero-headline {
        font-size: 46px;
    }
    .hero-features-list {
        max-width: 600px;
    }
    .hero-cta-group {
        justify-content: center;
    }
    .trust-ticker-container {
        grid-template-columns: repeat(3, 1fr);
    }
    .courses-grid-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-campus-hero {
        grid-column: span 12;
    }
    .bento-quote-card {
        grid-column: span 12;
    }
    .bento-pedagogy, .bento-faculty, .bento-career {
        grid-column: span 4;
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .site-topbar {
        display: none;
    }
    .nav-center-menu, .nav-phone-quick {
        display: none;
    }
    .nav-mobile-toggle {
        display: block;
    }
    .trust-ticker-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-grid-container,
    .testimonials-grid,
    .news-grid-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-pedagogy, .bento-faculty, .bento-career {
        grid-column: span 12;
    }
    .cta-banner-card {
        flex-direction: column;
        text-align: center;
        padding: 35px 25px;
    }
    .cta-left-content {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .hero-headline {
        font-size: 36px;
    }
    .hero-features-list {
        grid-template-columns: 1fr;
    }
    .card-top-left, .card-bottom-right, .card-bottom-left {
        position: static;
        margin-top: 10px;
    }
    .trust-ticker-container {
        grid-template-columns: 1fr;
    }
    .courses-grid-row {
        grid-template-columns: 1fr;
    }
    .why-grid-container,
    .testimonials-grid,
    .news-grid-row {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
    }
}
