/* ============================================
   VARIABLES & RESET
   ============================================ */
:root {
    --primary-blue: #0066ff;
    --dark-blue: #003d99;
    --electric-blue: #00d4ff;
    --black: #000000;
    --dark-gray: #0f0f0f;
    --medium-gray: #1a1a1a;
    --light-gray: #f8f9fa;
    --text-gray: #8e8e93;
    --white: #ffffff;
    
    /* ✅ NOUVEAU : Backgrounds bleu électronique */
    --bg-primary: linear-gradient(135deg, #001a4d 0%, #003d99 50%, #0066ff 100%);
    --bg-secondary: linear-gradient(135deg, #0a1f4d 0%, #001a4d 50%, #003d99 100%);
    --bg-dark: linear-gradient(135deg, #000814 0%, #001a4d 50%, #003d99 100%);
    
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #000814;  /* Couleur de base (canvas par-dessus) */
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    transition: color 0.5s ease;
    min-height: 100vh;
    position: relative;
}

img {
    max-width: 100%;
    display: block;
    transition: all 0.4s ease;
}

img.image-loaded {
    animation: imageLoad 0.6s ease;
}

@keyframes imageLoad {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.2rem 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

nav.scrolled {
    background: rgba(0, 0, 0, 0.95);
    padding: 0.8rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(0, 102, 255, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 55px;
    width: auto;
    transition: var(--transition-smooth);
    filter: brightness(1);
}

nav.scrolled .logo-img {
    height: 45px;
}

.nav-center {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: center;
    flex-wrap: wrap;
}

.nav-center a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition-fast);
    position: relative;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.nav-center a::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: var(--primary-blue);
    transition: transform 0.3s ease;
}

.nav-center a:hover {
    color: var(--white);
}

.nav-center a:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.theme-toggle {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    margin-left: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

.theme-toggle:hover {
    border-color: var(--primary-blue);
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-blue);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 5% 100px;
    position: relative;
    overflow: hidden;
    background: #000; /* Fallback if video doesn't load */
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    filter: saturate(1.1) contrast(1.05) brightness(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at top left, rgba(0, 212, 255, 0.25), transparent 55%),
        radial-gradient(circle at bottom right, rgba(0, 102, 255, 0.4), transparent 55%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.82));
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-countdown {
    margin: 2.5rem auto 0;
    max-width: 640px;
    padding: 1.2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    animation: fadeInUp 0.8s ease 0.9s both;
}

.countdown-label {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.countdown-timer {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.time-segment {
    min-width: 80px;
    padding: 0.7rem 0.9rem;
    border-radius: 14px;
    background: rgba(0, 102, 255, 0.18);
    border: 1px solid rgba(0, 212, 255, 0.4);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.35);
}

.time-value {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
}

.time-unit {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 480px) {
    .hero-countdown {
        padding: 1rem 1.2rem;
        margin-top: 2rem;
    }

    .time-segment {
        min-width: 70px;
        padding: 0.6rem 0.7rem;
    }

    .time-value {
        font-size: 1.3rem;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--electric-blue);
    animation: fadeInDown 0.8s ease;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease 0.2s both;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.gradient-text {
    background: linear-gradient(135deg, var(--white) 0%, var(--electric-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: -0.3px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 750px;
    margin: 0 auto 3.5rem;
    line-height: 1.7;
    font-weight: 400;
    animation: fadeInUp 0.8s ease 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-info {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.info-card {
    background: rgba(0, 20, 40, 0.6);
    border: 1.5px solid rgba(0, 102, 255, 0.3);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
    min-width: 160px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.info-card:hover {
    background: rgba(0, 102, 255, 0.12);
    border-color: rgba(0, 102, 255, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 102, 255, 0.25);
}

.info-icon {
    font-size: 3.5rem;
    color: var(--electric-blue);
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
    background: none !important;
    border: none !important;
    width: auto !important;
    height: auto !important;
}

.info-card:hover .info-icon {
    transform: scale(1.3);
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.6));
}

.info-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.info-value {
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

body.light-mode .info-card {
    background: rgba(0, 102, 255, 0.05);
    border-color: rgba(0, 102, 255, 0.2);
}

body.light-mode .info-card:hover {
    background: rgba(0, 102, 255, 0.12);
    border-color: rgba(0, 102, 255, 0.4);
}

body.light-mode .info-label {
    color: rgba(0, 0, 0, 0.6);
}

body.light-mode .info-value {
    color: #000000;
}

@media (max-width: 768px) {
    .info-card {
        padding: 1.2rem 1.5rem;
    }

    .info-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }
}

@media (max-width: 480px) {
    .info-card {
        padding: 1rem;
        min-width: 140px;
    }

    .info-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .info-label {
        font-size: 0.75rem;
    }

    .info-value {
        font-size: 1rem;
    }
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 1s both;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.3px;
}

.btn i {
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 24px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    background: var(--electric-blue);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 5rem auto 0;
    animation: fadeInUp 0.8s ease 1.2s both;
}

.stat-card {
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.2);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    background: rgba(0, 102, 255, 0.15);
    border-color: rgba(0, 102, 255, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.25);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--electric-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   SECTION COMMONS
   ============================================ */
section {
    padding: 120px 5%;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-tag {
    display: inline-block;
    color: var(--primary-blue);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.4rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.section-description {
    font-size: 1.15rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ── Réduction globale sur mobile ── */
@media (max-width: 768px) {
    section {
        padding: 48px 4%;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-tag {
        font-size: 0.72rem;
        letter-spacing: 1.5px;
        margin-bottom: 0.6rem;
    }

    .section-title {
        font-size: clamp(1.15rem, 5vw, 1.6rem);
        margin-bottom: 0.8rem;
        letter-spacing: -0.5px;
    }

    .section-description {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--dark-gray);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    height: 500px;
    background: rgba(0, 0, 0, 0.2);
}

.about-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.3) 0%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.about-image:hover .about-image-overlay {
    opacity: 1;
}

.about-image-overlay i {
    font-size: 4rem;
    color: var(--white);
}

/* Masquer l'icône play sur mobile — la vidéo a ses propres contrôles */
@media (max-width: 768px) {
    .about-image-overlay {
        display: none !important;
    }

    .about-image {
        height: auto;
    }

    .about-video {
        width: 100%;
        height: auto;
        border-radius: 12px;
        display: block;
    }
}

.about-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.about-text p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    color: var(--electric-blue);
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin: 0;
}

/* ============================================
   THEMATIC SECTION
   ============================================ */
.thematic {
    background: var(--black);
}

.thematic-container {
    max-width: 1400px;
    margin: 0 auto;
}

.thematic-content {
    margin-top: 4rem;
}

.thematic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    gap: 2.5rem;
}

.thematic-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.thematic-card:hover {
    background: rgba(0, 102, 255, 0.08);
    border-color: rgba(0, 102, 255, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.2);
}

.thematic-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.thematic-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.thematic-card:hover .thematic-image img {
    transform: scale(1.1);
}

.thematic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.thematic-card:hover .thematic-overlay {
    opacity: 1;
}

.thematic-overlay i {
    font-size: 3rem;
    color: var(--electric-blue);
}

.thematic-text {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.thematic-text h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.thematic-text p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.thematic-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.thematic-points li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: var(--electric-blue);
}

.thematic-points i {
    font-size: 0.75rem;
}

/* ============================================
   DEPARTMENT SECTION
   ============================================ */
.department {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
}

.department-container {
    max-width: 1400px;
    margin: 0 auto;
}

.department-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.department-intro p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(500px, 100%), 1fr));
    gap: 3rem;
}

.specialty-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.specialty-card:hover {
    background: rgba(0, 102, 255, 0.08);
    border-color: rgba(0, 102, 255, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.2);
}

.specialty-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.specialty-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.specialty-card:hover .specialty-image img {
    transform: scale(1.1);
}

.specialty-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 2rem;
}

.specialty-overlay i {
    font-size: 3rem;
    color: var(--electric-blue);
}

.specialty-content {
    padding: 2.5rem;
}

.specialty-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 102, 255, 0.1);
    border: 2px solid rgba(0, 102, 255, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

.specialty-card:hover .specialty-icon {
    background: rgba(0, 102, 255, 0.2);
    border-color: var(--electric-blue);
    transform: scale(1.1) rotate(5deg);
}

.specialty-icon i {
    font-size: 2rem;
    color: var(--electric-blue);
}

.specialty-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.specialty-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.specialty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--electric-blue);
}

.tag i {
    font-size: 0.75rem;
}

/* ============================================
   TEACHERS SECTION
   ============================================ */
.teachers {
    background: var(--dark-gray);
}

.teachers-container {
    max-width: 1400px;
    margin: 0 auto;
}

.teachers-list {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.teachers-row {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    width: 100%;
    overflow: hidden;
}

.scrolling-track {
    display: flex;
    gap: 1rem;
    animation: scrollTrack 30s linear infinite;
    width: max-content;
}

.scrolling-track:hover {
    animation-play-state: paused;
}

@keyframes scrollTrack {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.teachers-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    width: max-content;
    animation: teachersScroll 25s linear infinite;
}

.teachers-track:hover {
    animation-play-state: paused;
}

@keyframes teachersScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.teacher-card {
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 16px;
    padding: 0.8rem 1.4rem;
    text-align: center;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    flex: 0 0 auto;
    width: auto;
    min-width: 160px;
    white-space: nowrap;
}

.teacher-card:hover {
    background: rgba(0, 102, 255, 0.15);
    border-color: rgba(0, 102, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 102, 255, 0.15);
}

.teacher-info {
    margin: 0;
}

.teacher-card h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.3rem;
    letter-spacing: -0.2px;
    white-space: nowrap;
}

.teacher-title {
    font-size: 0.75rem;
    color: var(--electric-blue);
    font-weight: 500;
    letter-spacing: 0.1px;
    white-space: nowrap;
}

/* ============================================
   LIGHT MODE
   ============================================ */
body.light-mode .teacher-card {
    background: rgba(0, 102, 255, 0.05);
    border-color: rgba(0, 102, 255, 0.15);
}

body.light-mode .teacher-card:hover {
    background: rgba(0, 102, 255, 0.1);
    border-color: rgba(0, 102, 255, 0.3);
}

body.light-mode .teacher-card h3 {
    color: #000000;
}

body.light-mode .teacher-title {
    color: var(--primary-blue);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .teacher-card {
        min-width: 150px;
        padding: 0.7rem 1.2rem;
    }

    .teacher-card h3 {
        font-size: 0.85rem;
    }

    .teacher-title {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .teachers-list {
        gap: 1rem;
    }

    .teachers-row {
        overflow: hidden;
    }

    .scrolling-track {
        animation: scrollTrack 20s linear infinite;
        gap: 0.8rem;
    }

    .teacher-card {
        min-width: 140px;
        padding: 0.7rem 1rem;
    }

    .teacher-card h3 {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }

    .teacher-title {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .scrolling-track {
        animation: scrollTrack 15s linear infinite;
        gap: 0.6rem;
    }

    .teacher-card {
        min-width: 130px;
        padding: 0.6rem 0.9rem;
    }

    .teacher-card h3 {
        font-size: 0.75rem;
    }

    .teacher-title {
        font-size: 0.6rem;
    }
}
/* ============================================
   TEAM SECTION
   ============================================ */
.team {
    background: var(--black);
}

.team-container {
    max-width: 1400px;
    margin: 0 auto;
}

.team-section {
    margin-bottom: 5rem;
}

.team-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 3rem;
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(0, 102, 255, 0.2);
}

.bureau-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.cells-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    gap: 2.5rem;
}

.cell-members-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.cell-members-grid.single-cell {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
}

.cell-group {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.cell-group:hover {
    background: rgba(0, 102, 255, 0.08);
    border-color: rgba(0, 102, 255, 0.3);
}

.cell-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(0, 102, 255, 0.2);
}

.cell-header i {
    font-size: 2rem;
    color: var(--electric-blue);
}

.cell-header h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.team-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.team-card:hover {
    border-color: rgba(0, 102, 255, 0.4);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.25);
}

.team-image {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.2), rgba(0, 212, 255, 0.2));
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease;
}

@media (max-width: 768px) {
    /* Bureau directeur : 1 colonne */
    .bureau-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 3rem;
    }

    /* Cellules : 1 colonne */
    .cells-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Membres : 1 par ligne */
    .cell-members-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 340px;
        margin: 0 auto;
    }

    /* ── Style centré photo carrée pour toutes les cards ── */
    .team-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 1.2rem;
    }

    .team-card .team-image {
        width: 180px !important;
        height: 180px !important;
        border-radius: 16px !important;
        margin: 1.2rem auto 0;
        flex-shrink: 0;
        cursor: pointer;
    }

    .team-card .team-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

    .team-card .team-image::after {
        display: none;
    }

    .team-card:hover {
        transform: none;
    }

    .team-card:hover .team-image img {
        transform: none;
    }

    .team-card .team-info {
        padding: 0.8rem 1rem 0;
        text-align: center;
        width: 100%;
    }

    /* Overlay au tap uniquement */
    .team-card .team-overlay {
        position: absolute;
        inset: 0;
        opacity: 0;
        background: rgba(0,0,0,0.75);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: opacity 0.3s ease;
    }

    .team-card .team-image:active .team-overlay,
    .team-card .team-image.tapped .team-overlay {
        opacity: 1 !important;
    }

    .team-card .team-social a {
        width: 44px;
        height: 44px;
        background: rgba(0,102,255,0.2);
        border: 1px solid rgba(0,102,255,0.4);
    }
}

@media (max-width: 480px) {
    .team-card .team-image {
        width: 150px !important;
        height: 150px !important;
    }
}

/* ============================================
   IMAGE MODAL — PLEIN ÉCRAN MOBILE
   ============================================ */
.img-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, 0.97);
    align-items: center;
    justify-content: center;
    padding: 0;
    animation: modalFadeIn 0.25s ease;
}

.img-modal.open {
    display: flex;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.img-modal-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.img-modal-inner img {
    width: 100%;
    height: calc(100% - 90px);
    object-fit: contain;
    display: block;
}

.img-modal-caption {
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    text-align: center;
    padding: 16px 20px 20px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.img-modal-caption h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
}

.img-modal-caption p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

.img-modal-close {
    position: fixed;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: 1.5px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s ease;
}

.img-modal-close:hover,
.img-modal-close:active {
    background: rgba(244, 67, 54, 0.85);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.team-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    color: var(--white);
}

.team-social a:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-3px);
}

.team-info {
    padding: 2rem;
    text-align: center;
}

.team-badge {
    display: inline-block;
    background: rgba(0, 102, 255, 0.15);
    border: 1px solid rgba(0, 102, 255, 0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--electric-blue);
    margin-bottom: 1rem;
}

.team-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.team-role {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.cell-card {
    padding: 0;
}

.cell-card .team-image {
    height: 180px;
}

.cell-card .team-image img {
    object-position: center top;
}

.cell-card .team-info {
    padding: 1.5rem;
}

.cell-card h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.cell-card .team-role {
    font-size: 0.8rem;
    margin: 0;
}

body.light-mode .team-card {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .team-card:hover {
    background: rgba(0, 102, 255, 0.08);
    border-color: rgba(0, 102, 255, 0.3);
}

body.light-mode .cell-group {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .cell-group:hover {
    background: rgba(0, 102, 255, 0.08);
    border-color: rgba(0, 102, 255, 0.3);
}

body.light-mode .cell-card h3 {
    color: #000000;
}

/* ============================================
   PROGRAM SECTION
   ============================================ */
.program {
    background: var(--dark-gray);
}

.program-container {
    max-width: 1400px;
    margin: 0 auto;
}

.program-days {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(550px, 100%), 1fr));
    gap: 4rem;
}

.program-day {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

.day-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(0, 102, 255, 0.2);
}

.day-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--electric-blue));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
}

.day-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--white);
}

.day-date {
    font-size: 1rem;
    color: var(--text-gray);
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition-fast);
    position: relative;
    padding-left: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-item:hover {
    background: rgba(0, 102, 255, 0.05);
    border-color: rgba(0, 102, 255, 0.2);
    transform: translateX(5px);
}

.timeline-item:hover::before {
    opacity: 1;
}

.timeline-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--electric-blue);
    margin-bottom: 1rem;
}

.timeline-content {
    display: flex;
    gap: 1.2rem;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--electric-blue);
    font-size: 1.3rem;
}

.timeline-icon.keynote {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

.timeline-icon.workshop {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.3);
    color: #4caf50;
}

.timeline-icon.competition {
    background: rgba(244, 67, 54, 0.1);
    border-color: rgba(244, 67, 54, 0.3);
    color: #f44336;
}

.timeline-icon.innovation {
    background: rgba(156, 39, 176, 0.1);
    border-color: rgba(156, 39, 176, 0.3);
    color: #9c27b0;
}

.timeline-icon.expert {
    background: rgba(33, 150, 243, 0.1);
    border-color: rgba(33, 150, 243, 0.3);
    color: #2196f3;
}

.timeline-icon.awards {
    background: rgba(255, 152, 0, 0.1);
    border-color: rgba(255, 152, 0, 0.3);
    color: #ff9800;
}

.timeline-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.timeline-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.badge {
    display: inline-block;
    background: rgba(0, 102, 255, 0.15);
    border: 1px solid rgba(0, 102, 255, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--electric-blue);
}

.badge-keynote {
    background: rgba(255, 193, 7, 0.15);
    border-color: rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

.badge-workshop {
    background: rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.3);
    color: #4caf50;
}

.badge-expert {
    background: rgba(33, 150, 243, 0.15);
    border-color: rgba(33, 150, 243, 0.3);
    color: #2196f3;
}

.badge-competition {
    background: rgba(244, 67, 54, 0.15);
    border-color: rgba(244, 67, 54, 0.3);
    color: #f44336;
}

.badge-innovation {
    background: rgba(156, 39, 176, 0.15);
    border-color: rgba(156, 39, 176, 0.3);
    color: #9c27b0;
}

.badge-awards {
    background: rgba(255, 152, 0, 0.15);
    border-color: rgba(255, 152, 0, 0.3);
    color: #ff9800;
}

/* ============================================
   FORUM SECTION
   ============================================ */
.forum {
    background: var(--black);
}

.forum-container {
    max-width: 1200px;
    margin: 0 auto;
}

.forum-content {
    margin-top: 4rem;
}

.forum-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.forum-stat {
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.2);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-smooth);
}

.forum-stat:hover {
    background: rgba(0, 102, 255, 0.15);
    border-color: rgba(0, 102, 255, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.2);
}

.forum-stat i {
    font-size: 3rem;
    color: var(--electric-blue);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--electric-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.forum-benefits {
    margin-bottom: 4rem;
}

.forum-benefits h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    text-align: center;
    color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem;
    border-radius: 16px;
    transition: var(--transition-fast);
}

.benefit-item:hover {
    background: rgba(0, 102, 255, 0.08);
    border-color: rgba(0, 102, 255, 0.3);
    transform: translateY(-5px);
}

.benefit-item i {
    font-size: 2.5rem;
    color: var(--electric-blue);
    margin-bottom: 1rem;
}

.benefit-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--white);
}

.benefit-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.forum-cta {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15), rgba(0, 212, 255, 0.15));
    border: 2px solid rgba(0, 102, 255, 0.3);
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
    backdrop-filter: blur(20px);
}

.forum-cta h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
}

.forum-cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

/* ============================================
   PREVIOUS EDITION SECTION - ENHANCED
   ============================================ */
.previous {
    background: var(--dark-gray);
}

.previous-container {
    max-width: 1400px;
    margin: 0 auto;
}

.previous-sponsors,
.previous-partners,
.previous-stats {
    margin-bottom: 4rem;
}

.previous-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.previous-title i {
    font-size: 2rem;
    color: var(--electric-blue);
}
.previous-site-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--electric-blue);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1.5px solid rgba(0, 212, 255, 0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
    letter-spacing: 0.3px;
}

.previous-site-link:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--electric-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.2);
}

.previous-site-link i {
    font-size: 0.8rem;
}
/* ============================================
   SPONSORS SHOWCASE - ENHANCED
   ============================================ */
.sponsors-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sponsor-showcase {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(0, 102, 255, 0.05));
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.sponsor-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.sponsor-showcase:hover::before {
    opacity: 1;
}

.sponsor-showcase:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(0, 102, 255, 0.1));
    border-color: rgba(0, 102, 255, 0.4);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.25);
}

.sponsor-showcase img {
    max-width: 95%;
    max-height: 160px;
    width: auto;
    height: auto;
    filter: brightness(0.9) saturate(1.1);
    opacity: 0.8;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
}

.sponsor-showcase:hover img {
    filter: brightness(1) saturate(1.2);
    opacity: 1;
    transform: scale(1.08);
}

/* ============================================
   PARTNERS SHOWCASE - ENHANCED
   ============================================ */
.partners-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Generic horizontal chain animation */
.scrolling-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 2.5rem;
    animation: scroll-horizontal 40s linear infinite;
    will-change: transform;
}

.scrolling-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-horizontal {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Conteneurs de scroll */
.sponsors-showcase,
.partners-showcase {
    overflow: hidden;
    width: 100%;
}

@media (max-width: 768px) {
    /* Sur mobile : scroll horizontal tactile au lieu de l'animation */
    .sponsors-showcase,
    .partners-showcase {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding: 1rem 0;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .sponsors-showcase::-webkit-scrollbar,
    .partners-showcase::-webkit-scrollbar {
        display: none;
    }

    .scrolling-track {
        animation: none;
        flex-wrap: nowrap;
        gap: 1rem;
        padding: 0 1rem;
        width: max-content;
    }

    .sponsor-showcase,
    .partner-item {
        flex: 0 0 140px;
        width: 140px;
        height: 110px;
        scroll-snap-align: start;
        padding: 1rem;
    }

    .sponsor-showcase img,
    .partner-item img {
        max-height: 80px;
    }
}

.partner-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(0, 102, 255, 0.05));
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.partner-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.partner-item:hover::after {
    opacity: 1;
}

.partner-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(0, 102, 255, 0.1));
    border-color: rgba(0, 102, 255, 0.4);
    transform: translateY(-10px) scale(1.06) rotateX(5deg);
    box-shadow: 0 25px 70px rgba(0, 102, 255, 0.3);
}

.partner-item img {
    max-width: 92%;
    max-height: 140px;
    width: auto;
    height: auto;
    filter: brightness(0.85) saturate(1.05) contrast(1.1);
    opacity: 0.75;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
}

.partner-item:hover img {
    filter: brightness(1) saturate(1.2) contrast(1.15);
    opacity: 1;
    transform: scale(1.12);
}

/* ============================================
   STATS SHOWCASE - ENHANCED
   ============================================ */
.stats-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-showcase {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.12), rgba(0, 212, 255, 0.08));
    border: 1.5px solid rgba(0, 102, 255, 0.25);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.stat-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.08) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.stat-showcase:hover::before {
    opacity: 1;
}

.stat-showcase:hover {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.18), rgba(0, 212, 255, 0.12));
    border-color: rgba(0, 102, 255, 0.5);
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 30px 80px rgba(0, 102, 255, 0.35);
}

.stat-number-large {
    font-size: 3.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--electric-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.8rem;
    letter-spacing: -1px;
    transition: transform 0.3s ease;
}

.stat-showcase:hover .stat-number-large {
    transform: scale(1.1);
}

.stat-label-large {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

/* ============================================
   PREVIOUS CTA
   ============================================ */
.previous-cta {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15), rgba(0, 212, 255, 0.15));
    border: 2px solid rgba(0, 102, 255, 0.3);
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
    backdrop-filter: blur(20px);
}

.previous-cta h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: var(--white);
}

.previous-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

/* ============================================
   CONTACT SECTION - ENHANCED
   ============================================ */
.contact {
    background: var(--black);
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-block {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.info-block:hover {
    background: rgba(0, 102, 255, 0.08);
    border-color: rgba(0, 102, 255, 0.3);
    transform: translateX(5px);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 102, 255, 0.1);
    border: 2px solid rgba(0, 102, 255, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--electric-blue);
    font-size: 1.5rem;
    transition: var(--transition-fast);
}

.info-block:hover .info-icon {
    background: rgba(0, 102, 255, 0.2);
    transform: scale(1.1) rotate(5deg);
}

.info-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--white);
}

.info-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.info-text a {
    color: var(--electric-blue);
    transition: color 0.3s ease;
    font-weight: 500;
}

.info-text a:hover {
    color: var(--primary-blue);
}

.social-links h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    color: rgba(255, 255, 255, 0.7);
}

.social-icons a:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px) scale(1.1);
}

/* ============================================
   CONTACT FORM - ENHANCED
   ============================================ */
.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.form-intro {
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--electric-blue);
}

.form-intro i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.form-intro p {
    margin: 0;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--white);
}

.form-group label i {
    color: var(--electric-blue);
    font-size: 0.9rem;
}

.required {
    color: #ff6b6b;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition-fast);
    font-family: 'Inter', sans-serif;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(0, 102, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.form-group.checkbox input {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--primary-blue);
}

.form-group.checkbox label {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 400;
}

.form-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-note i {
    font-size: 0.9rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--black);
    padding: 80px 5% 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
}

.footer-section p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    color: rgba(255, 255, 255, 0.7);
}

.footer-social a:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px) scale(1.1);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li a:hover {
    color: var(--electric-blue);
    padding-left: 5px;
}

.footer-section ul li i {
    width: 16px;
    color: var(--primary-blue);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--electric-blue);
}

/* ============================================
   PAGE LOADER
   ============================================ */
#page-loader {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top, #001633 0%, #000 55%, #000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    color: var(--white);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#page-loader.page-loader-hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    width: 90%;
    max-width: 420px;
    padding: 2.5rem 2rem;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(0, 102, 255, 0.5);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8);
}

.loader-logo {
    font-size: clamp(1.2rem, 5vw, 1.7rem);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, #fff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.loader-subtitle {
    font-size: clamp(0.75rem, 2.5vw, 0.9rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.8rem;
    line-height: 1.5;
}

.loader-bar {
    position: relative;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-bottom: 1rem;
}

.loader-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--electric-blue), var(--primary-blue));
    border-radius: 999px;
    animation: loader-progress 2.8s ease-out forwards;
}

.loader-text {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    animation: loader-pulse 1.4s ease-in-out infinite;
}

@keyframes loader-progress {
    0%   { width: 0%; }
    30%  { width: 35%; }
    60%  { width: 65%; }
    85%  { width: 88%; }
    100% { width: 100%; }
}

@keyframes loader-pulse {
    0%, 100% { opacity: 0.4; }
    50%       { opacity: 1; }
}

/* ============================================
   LIGHT MODE - COMPLET
   ============================================ */
body.light-mode {
    background: var(--white);
    color: #1a1a1a;
}

body.light-mode nav {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-mode nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 102, 255, 0.2);
}

body.light-mode .nav-center a {
    color: rgba(0, 0, 0, 0.7);
}

body.light-mode .nav-center a:hover {
    color: #000000;
}

body.light-mode .theme-toggle {
    border-color: rgba(0, 0, 0, 0.15);
    color: rgba(0, 0, 0, 0.7);
}

body.light-mode .theme-toggle:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: rgba(0, 102, 255, 0.1);
}

body.light-mode .gradient-text {
    background: linear-gradient(135deg, #000000 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .hero-description {
    color: #666666;
}

body.light-mode .hero-subtitle {
    color: var(--primary-blue);
}

body.light-mode .about,
body.light-mode .program,
body.light-mode .contact,
body.light-mode .footer {
    background: #f8f9fa;
}

body.light-mode .department,
body.light-mode .forum,
body.light-mode .previous {
    background: var(--white);
}

body.light-mode .team,
body.light-mode .thematic,
body.light-mode .teachers {
    background: #f8f9fa;
}

body.light-mode .section-title,
body.light-mode .about-text h3,
body.light-mode .feature-text h4,
body.light-mode .specialty-content h3,
body.light-mode .team-info h3,
body.light-mode .teacher-card h3,
body.light-mode .day-info h3,
body.light-mode .timeline-content h4,
body.light-mode .benefit-item h4,
body.light-mode .forum-benefits h3,
body.light-mode .forum-cta h3,
body.light-mode .previous-title,
body.light-mode .info-text h4,
body.light-mode .footer-section h4,
body.light-mode .thematic-text h3,
body.light-mode .cell-header h4,
body.light-mode .team-section-title {
    color: #000000;
}

body.light-mode .about-text p,
body.light-mode .feature-text p,
body.light-mode .specialty-content p,
body.light-mode .timeline-content p,
body.light-mode .benefit-item p,
body.light-mode .forum-cta p,
body.light-mode .info-text p,
body.light-mode .footer-section p,
body.light-mode .thematic-text p {
    color: #666666;
}

body.light-mode .stat-card,
body.light-mode .info-card,
body.light-mode .specialty-card,
body.light-mode .team-card,
body.light-mode .program-day,
body.light-mode .timeline-item,
body.light-mode .forum-stat,
body.light-mode .benefit-item,
body.light-mode .contact-form,
body.light-mode .teacher-card,
body.light-mode .thematic-card,
body.light-mode .cell-group,
body.light-mode .sponsor-showcase,
body.light-mode .partner-item,
body.light-mode .stat-showcase {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .stat-card:hover,
body.light-mode .info-card:hover,
body.light-mode .specialty-card:hover,
body.light-mode .team-card:hover,
body.light-mode .program-day:hover,
body.light-mode .timeline-item:hover,
body.light-mode .forum-stat:hover,
body.light-mode .benefit-item:hover,
body.light-mode .teacher-card:hover,
body.light-mode .thematic-card:hover,
body.light-mode .cell-group:hover,
body.light-mode .sponsor-showcase:hover,
body.light-mode .partner-item:hover,
body.light-mode .stat-showcase:hover {
    background: rgba(0, 102, 255, 0.08);
    border-color: rgba(0, 102, 255, 0.3);
}

body.light-mode .form-group input,
body.light-mode .form-group select,
body.light-mode .form-group textarea {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
    color: #000000;
}

body.light-mode .form-group input::placeholder,
body.light-mode .form-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

body.light-mode .form-group input:focus,
body.light-mode .form-group select:focus,
body.light-mode .form-group textarea:focus {
    border-color: var(--primary-blue);
    background: rgba(0, 102, 255, 0.05);
}

body.light-mode .footer {
    background: #f8f9fa;
    border-top-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .footer-social a {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.6);
}

body.light-mode .footer-social a:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}

body.light-mode .footer-section ul li a {
    color: rgba(0, 0, 0, 0.6);
}

body.light-mode .footer-section ul li a:hover {
    color: var(--primary-blue);
}

body.light-mode .info-block {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .info-block:hover {
    background: rgba(0, 102, 255, 0.08);
    border-color: rgba(0, 102, 255, 0.3);
}

body.light-mode .form-intro {
    background: rgba(0, 102, 255, 0.08);
    border-color: rgba(0, 102, 255, 0.25);
    color: var(--primary-blue);
}

/* ============================================
   RESPONSIVE DESIGN - TABLET
   ============================================ */
@media (max-width: 1024px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .specialties-grid {
        grid-template-columns: 1fr;
    }

    .program-days {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    section {
        padding: 100px 5%;
    }

    .section-header {
        margin-bottom: 3.5rem;
    }

    .thematic-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sponsors-showcase,
    .partners-showcase,
    .stats-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   HAMBURGER MENU
   ============================================ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 1100;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

body.light-mode .hamburger span {
    background: rgba(0, 0, 0, 0.8);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 999;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.mobile-nav-overlay.active {
    display: block;
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE
   ============================================ */
@media (max-width: 768px) {
    nav {
        padding: 0;
    }

    .nav-container {
        height: 60px;
        padding: 0 16px;
        gap: 10px;
    }

    /* Hamburger visible on mobile */
    .hamburger {
        display: flex;
    }

    /* Nav menu: slide from right on mobile */
    .nav-center {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(300px, 80vw);
        height: 100vh;
        background: #0a0a14;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 24px 40px;
        gap: 4px;
        z-index: 1000;
        overflow-y: auto;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -4px 0 30px rgba(0, 0, 0, 0.5);
        display: flex !important; /* Override display:none from base style */
    }

    .nav-center.open {
        right: 0;
    }

    .nav-center li {
        width: 100%;
    }

    .nav-center li a {
        display: block;
        padding: 13px 10px;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        white-space: normal;
        color: rgba(255, 255, 255, 0.85);
    }

    .nav-center li:last-child a {
        border-bottom: none;
    }

    .nav-center a::before {
        display: none;
    }

    body.light-mode .nav-center {
        background: #ffffff;
        box-shadow: -4px 0 30px rgba(0, 0, 0, 0.12);
    }

    body.light-mode .nav-center li a {
        color: rgba(0, 0, 0, 0.8);
        border-bottom-color: rgba(0, 0, 0, 0.06);
    }

    /* Theme toggle stays visible */
    .theme-toggle {
        margin-left: auto;
        margin-right: 8px;
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .logo-img {
        height: 36px;
    }

    /* Hero */
    .hero {
        padding: 70px 4% 40px;
        min-height: 100svh;
    }

    .hero-title {
        font-size: clamp(1.3rem, 5.5vw, 1.9rem);
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-description {
        font-size: 0.82rem;
        margin-bottom: 1.4rem;
        line-height: 1.55;
    }

    .hero-info {
        gap: 8px;
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .info-card {
        flex: 1 1 calc(33% - 8px);
        min-width: 80px;
        max-width: 120px;
        padding: 0.7rem 0.5rem;
    }

    .info-value {
        font-size: 0.9rem;
    }

    .info-label {
        font-size: 0.65rem;
    }

    .hero-countdown {
        padding: 0.8rem;
        margin-top: 1rem;
    }

    .countdown-label {
        font-size: 0.72rem;
        letter-spacing: 1px;
    }

    .time-segment {
        min-width: 58px;
        padding: 0.5rem 0.6rem;
        border-radius: 10px;
    }

    .time-value {
        font-size: 1.3rem;
    }

    .time-unit {
        font-size: 0.58rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1.2rem;
        font-size: 0.85rem;
        min-height: 44px;
        border-radius: 10px;
    }

    .btn-large {
        padding: 0.85rem 1.4rem;
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-top: 1.5rem;
    }

    .stat-card {
        padding: 1rem 0.7rem;
        border-radius: 14px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.72rem;
    }

    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-text h3 {
        font-size: 1.2rem;
    }

    .about-text p {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .about-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .feature-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
        border-radius: 9px;
    }

    .feature-text h4 {
        font-size: 0.9rem;
    }

    .feature-text p {
        font-size: 0.78rem;
    }

    /* Thematic */
    .thematic-image {
        height: 180px;
    }

    .thematic-text {
        padding: 1.2rem;
    }

    .thematic-text h3 {
        font-size: 1.1rem;
    }

    .thematic-text p {
        font-size: 0.82rem;
    }

    .thematic-points li {
        font-size: 0.8rem;
    }

    /* Specialty */
    .specialty-content {
        padding: 1.4rem;
    }

    .specialty-content h3 {
        font-size: 1.2rem;
    }

    .specialty-content p {
        font-size: 0.85rem;
    }

    .specialty-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
        margin-bottom: 1rem;
    }

    .specialty-icon i {
        font-size: 1.5rem;
    }

    .tag {
        font-size: 0.72rem;
        padding: 0.35rem 0.7rem;
    }

    /* Team */
    .team-info {
        padding: 0.9rem;
    }

    .team-info h3 {
        font-size: 0.95rem;
        margin-bottom: 0.2rem;
    }

    .team-role {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .team-badge {
        font-size: 0.72rem;
        padding: 0.3rem 0.8rem;
        margin-bottom: 0.5rem;
    }

    .cell-card h3 {
        font-size: 0.82rem;
    }

    .cell-card .team-role {
        font-size: 0.7rem;
    }

    .cell-header i {
        font-size: 1.4rem;
    }

    .cell-header h4 {
        font-size: 1rem;
    }

    .cell-group {
        padding: 1.2rem;
    }

    /* Program */
    .program-day {
        padding: 1.2rem;
    }

    .day-number {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
        border-radius: 12px;
    }

    .day-info h3 {
        font-size: 1.2rem;
    }

    .day-date {
        font-size: 0.8rem;
    }

    .timeline-item {
        padding: 0.9rem 0.9rem 0.9rem 1rem;
        border-radius: 10px;
    }

    .timeline-content {
        flex-direction: column;
        gap: 0.6rem;
    }

    .timeline-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        border-radius: 8px;
    }

    .timeline-content h4 {
        font-size: 0.9rem;
    }

    .timeline-content p {
        font-size: 0.78rem;
        line-height: 1.5;
        margin-bottom: 0.5rem;
    }

    .timeline-time {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.6rem;
    }

    /* Forum */
    .forum-cta {
        padding: 1.8rem 1.2rem;
        border-radius: 16px;
    }

    .forum-cta h3 {
        font-size: 1.3rem;
    }

    .forum-cta p {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
    }

    .forum-stat {
        padding: 1.5rem 0.8rem;
        border-radius: 14px;
    }

    .forum-stat i {
        font-size: 2rem;
        margin-bottom: 0.6rem;
    }

    .benefit-item {
        padding: 1.2rem;
        border-radius: 12px;
    }

    .benefit-item i {
        font-size: 1.8rem;
    }

    .benefit-item h4 {
        font-size: 0.95rem;
    }

    .benefit-item p {
        font-size: 0.82rem;
    }

    /* Previous */
    .previous-cta {
        padding: 1.8rem 1.2rem;
        border-radius: 16px;
    }

    .previous-cta h3 {
        font-size: 1.3rem;
    }

    .previous-cta p {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
    }

    .previous-title {
        font-size: 1.1rem;
        gap: 0.4rem;
        margin-bottom: 1.4rem;
    }

    .previous-title i {
        font-size: 1.1rem;
    }

    .stats-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }

    .stat-showcase {
        padding: 1.4rem 1rem;
        border-radius: 12px;
    }

    .stat-number-large {
        font-size: 1.8rem;
    }

    .stat-label-large {
        font-size: 0.78rem;
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-form {
        padding: 1.2rem;
        border-radius: 16px;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group label {
        font-size: 0.82rem;
        margin-bottom: 0.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem 0.9rem;
        font-size: 16px;
        border-radius: 10px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .info-block {
        padding: 1rem;
        border-radius: 12px;
        flex-direction: row;
        align-items: flex-start;
    }

    .info-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
        border-radius: 10px;
    }

    .info-text h4 {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .info-text p {
        font-size: 0.8rem;
        line-height: 1.6;
    }

    /* Touch targets */
    .social-icons a,
    .team-social a,
    .footer-social a {
        width: 40px;
        height: 40px;
    }

    .dossier-link {
        font-size: 0.8rem;
        padding: 0.45rem 1rem;
    }

    /* Footer */
    .footer {
        padding: 40px 4% 16px;
    }

    .footer-logo {
        height: 36px;
        margin-bottom: 0.8rem;
    }

    .footer-section h4 {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    .footer-section p {
        font-size: 0.78rem;
        margin-bottom: 0.8rem;
    }

    .footer-section ul li {
        margin-bottom: 0.5rem;
    }

    .footer-section ul li a {
        font-size: 0.78rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding-top: 1.2rem;
    }

    .footer-bottom p {
        font-size: 0.72rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.6rem;
    }

    .footer-links a {
        font-size: 0.72rem;
    }
}

/* ============================================
   RESPONSIVE DESIGN - PETIT MOBILE
   ============================================ */
@media (max-width: 480px) {
    .logo-img {
        height: 35px;
    }

    .hero {
        padding: 70px 4% 50px;
    }

    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* Info cards: 2 per row on very small screens */
    .hero-info {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .info-card {
        flex: 1 1 calc(50% - 8px);
        min-width: 80px;
        max-width: none;
        padding: 0.8rem 0.6rem;
    }

    .info-value {
        font-size: 0.95rem;
    }

    .info-label {
        font-size: 0.7rem;
    }

    /* Countdown tighter */
    .time-segment {
        min-width: 58px;
        padding: 0.5rem 0.6rem;
    }

    .time-value {
        font-size: 1.3rem;
    }

    .time-unit {
        font-size: 0.6rem;
    }

    /* Stats: 2 columns */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        margin-top: 2rem;
    }

    .stat-card {
        padding: 1rem 0.8rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Sections */
    section {
        padding: 48px 4%;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .section-description {
        font-size: 0.9rem;
    }

    /* About features: single column on very small */
    .about-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Timeline */
    .timeline-time {
        font-size: 0.8rem;
    }

    .timeline-content h4 {
        font-size: 1rem;
    }

    .timeline-content p {
        font-size: 0.85rem;
    }

    /* Forum stats: 2 per row */
    .forum-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .forum-stat {
        padding: 1.5rem 0.8rem;
    }

    .forum-stat i {
        font-size: 2rem;
    }

    /* Previous: 2-col stats */
    .stats-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }

    .sponsors-showcase,
    .partners-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }

    .sponsor-showcase,
    .partner-item {
        height: 100px;
        padding: 1rem;
    }

    .stat-showcase {
        padding: 1.5rem 1rem;
    }

    .stat-number-large {
        font-size: 2rem;
    }

    .stat-label-large {
        font-size: 0.8rem;
    }

    /* Contact */
    .info-icon {
        width: 46px;
        height: 46px;
        font-size: 1.2rem;
    }

    .info-text h4 {
        font-size: 1rem;
    }

    .info-text p {
        font-size: 0.875rem;
    }

    .contact-form {
        padding: 1rem;
    }

    .form-intro {
        padding: 0.8rem 1rem;
        margin-bottom: 1.5rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .form-group.checkbox {
        margin-bottom: 1.5rem;
    }

    /* Footer */
    .footer {
        padding: 48px 4% 20px;
    }

    .footer-logo {
        height: 40px;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-section p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .footer-section ul li a {
        font-size: 0.85rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }

    /* Previous / Forum CTA */
    .previous-cta,
    .forum-cta {
        padding: 2rem 1rem;
    }

    .previous-cta h3,
    .forum-cta h3 {
        font-size: 1.4rem;
    }

    .previous-cta p,
    .forum-cta p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    /* Btn large on mobile */
    .btn-large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* ============================================
   ANIMATIONS & TRANSITIONS AVANCÉES
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    nav,
    .footer,
    .hero-actions,
    .contact-form {
        display: none;
    }

    section {
        page-break-inside: avoid;
        padding: 20px;
    }

    .section-title {
        color: #000;
    }
}

/* ============================================
   DARK MODE ENHANCEMENTS
   ============================================ */
@supports (backdrop-filter: blur(10px)) {
    nav,
    .about,
    .program-day,
    .contact-form,
    .sponsors-showcase,
    .partners-showcase,
    .stats-showcase {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 6px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--electric-blue);
}

body.light-mode::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

body.light-mode::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
}

body.light-mode::-webkit-scrollbar-thumb:hover {
    background: var(--dark-blue);
}

/* ============================================
   FOCUS & ACCESSIBILITY
   ============================================ */
*:focus {
    outline: none;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* ============================================
   SMOOTH ANIMATIONS
   ============================================ */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(0, 102, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 102, 255, 0.6);
    }
}

/* ============================================
   UTILITIES
   ============================================ */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.m-0 {
    margin: 0;
}

.p-0 {
    padding: 0;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.no-scroll {
    overflow: hidden;
}
.dossier-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--electric-blue);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
    padding: 0.5rem 1.2rem;
    border: 1.5px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.dossier-link:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--electric-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.2);
}

.dossier-link i {
    color: #ff4444;
    font-size: 1rem;
}
#subject option {
    background: #1a1a2e;
    color: #ffffff;
}

#subject option:first-child {
    background: #0066ff;
    color: #ffffff;
}
body.light-mode #subject option {
    background: #ffffff;
    color: #000000;
}

/* ============================================
   COMPETITION SECTION
   ============================================ */
.competition {
    background: linear-gradient(135deg, var(--black) 0%, #0a001a 100%);
    position: relative;
    overflow: hidden;
}

.competition::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,102,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.competition-container {
    max-width: 1200px;
    margin: 0 auto;
}

.competition-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.competition-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.competition-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--electric-blue));
}

.competition-card:hover {
    background: rgba(0,102,255,0.07);
    border-color: rgba(0,102,255,0.35);
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0,102,255,0.2);
}

.competition-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0,102,255,0.15), rgba(0,212,255,0.1));
    border: 2px solid rgba(0,102,255,0.3);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--electric-blue);
    margin-bottom: 1.2rem;
    transition: var(--transition-fast);
}

.competition-card:hover .competition-icon {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--electric-blue);
}

.competition-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--electric-blue));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.competition-badge-alt {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.competition-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.competition-card > p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.competition-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.8rem;
}

.competition-features li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.competition-features li i {
    color: #4caf50;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.competition-prize {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, rgba(255,193,7,0.12), rgba(255,152,0,0.08));
    border: 1px solid rgba(255,193,7,0.3);
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffc107;
}

.competition-prize i {
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* CTA bloc */
.competition-cta {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.openmind-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.openmind-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 16px;
}

.openmind-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.4rem;
}

.openmind-info p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 0.8rem;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    text-decoration: none;
    transition: var(--transition-fast);
}

.instagram-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220,39,67,0.4);
}

.competition-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.competition-cta-text {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

.competition-cta-text i {
    color: var(--electric-blue);
    margin-top: 3px;
    flex-shrink: 0;
}

.competition-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Light mode */
body.light-mode .competition {
    background: #f8f9fa;
}

body.light-mode .competition-card {
    background: rgba(0,0,0,0.02);
    border-color: rgba(0,0,0,0.08);
}

body.light-mode .competition-card h3 {
    color: #000;
}

body.light-mode .competition-card > p,
body.light-mode .competition-features li {
    color: #555;
}

body.light-mode .competition-cta {
    background: rgba(0,0,0,0.02);
    border-color: rgba(0,0,0,0.08);
}

body.light-mode .openmind-info h4 {
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .competition-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .competition-card {
        padding: 1.5rem;
    }

    .competition-card h3 {
        font-size: 1.3rem;
    }

    .competition-cta {
        padding: 1.5rem;
    }

    .openmind-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .competition-buttons {
        flex-direction: column;
    }

    .competition-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   BOUTON WHATSAPP FLOTTANT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 997;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #1ebe5d;
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
}

/* Animation pulsation */
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: whatsapp-pulse 2s ease-out infinite;
}

@keyframes whatsapp-pulse {
    0%   { transform: scale(1);   opacity: 0.8; }
    70%  { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    left: 68px;
    background: #111;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.whatsapp-tooltip::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: #111;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* Mobile : plus petit, remonté au-dessus du scroll-to-top */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 90px;
        left: 16px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

/* ============================================
   END OF STYLESHEET
   ============================================ */
   /* ============================================
   THEMATIC — MOBILE ACCORDION
   ============================================ */
@media (max-width: 768px) {
    .thematic-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .thematic-card {
        cursor: pointer;
    }

    .thematic-text {
        display: none;
        padding: 1.2rem;
    }

    .thematic-card.active .thematic-text {
        display: block;
        animation: fadeInDown 0.3s ease;
    }

    .thematic-image {
        height: 160px;
        position: relative;
    }

    .thematic-image::after {
        content: '\f107';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        bottom: 10px;
        right: 14px;
        color: white;
        font-size: 1.2rem;
        transition: transform 0.3s ease;
        background: rgba(0,0,0,0.4);
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .thematic-card.active .thematic-image::after {
        transform: rotate(180deg);
    }

    @keyframes fadeInDown {
        from { opacity: 0; transform: translateY(-10px); }
        to   { opacity: 1; transform: translateY(0); }
    }
}
/* ============================================
   BARRE DE PROGRESSION
   ============================================ */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--electric-blue));
    z-index: 99999;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}
/* ============================================
   GALERIE SCROLL HORIZONTAL
   ============================================ */
.gallery-scroll-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.gallery-scroll-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.gallery-scroll-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.5rem 0;
    flex: 1;
}

.gallery-scroll-track::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    flex: 0 0 300px;
    height: 200px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 102, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-arrow {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 102, 255, 0.3);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.gallery-arrow:hover {
    background: var(--primary-blue);
    transform: scale(1.1);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0, 102, 255, 0.5);
}

@media (max-width: 768px) {
    .gallery-item {
        flex: 0 0 220px;
        height: 150px;
    }
}
/* ═══ ÉVÉNEMENT ═══ */
.evenement { padding: 80px 0; background: var(--bg-section, #0d0d1a); }
.evenement-block { margin: 60px 0; }
.evenement-block-title {
  font-size: 1.5rem; font-weight: 700; color: var(--accent, #00d4ff);
  margin-bottom: 30px; display: flex; align-items: center; gap: 12px;
}

/* Conférenciers */
.speakers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.speaker-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 28px 20px; display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 12px;
  transition: transform .3s, box-shadow .3s;
}
.speaker-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,212,255,.15); }
.speaker-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,212,255,.15); }
.speaker-card--placeholder { opacity: .55; }
.speaker-img-wrap {
  width: 150px; height: 150px; border-radius: 50%; overflow: hidden;
  border: 3px solid rgba(0,212,255,.3); margin: 0 auto;
  flex-shrink: 0;
}
.speaker-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.speaker-img--placeholder {
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05); font-size: 3rem; color: rgba(255,255,255,.2);
}
.speaker-img--placeholder {
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05); font-size: 4rem; color: rgba(255,255,255,.2);
}
.speaker-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.speaker-name { font-size: 1.2rem; font-weight: 700; color: #fff; margin: 0; }
.speaker-role { font-size: .85rem; color: rgba(255,255,255,.6); margin: 0; line-height: 1.6; }
.speaker-theme {
  background: rgba(0,212,255,.08); border-left: 3px solid #00d4ff;
  padding: 12px 14px; border-radius: 8px; display: flex; gap: 10px;
  align-items: flex-start; font-size: .85rem; color: rgba(255,255,255,.8);
}
.speaker-theme i { color: #00d4ff; margin-top: 2px; flex-shrink: 0; }
.speaker-theme--main {
  margin-bottom: 24px; background: rgba(0,212,255,.06);
  border: 1px solid rgba(0,212,255,.2); padding: 16px 20px; border-radius: 10px;
  display: flex; gap: 12px; font-size: .9rem; color: rgba(255,255,255,.75);
}
.speaker-linkedin {
  display: inline-flex; align-items: center; gap: 8px;
  background: #0077b5; color: #fff; padding: 8px 16px; border-radius: 8px;
  font-size: .82rem; font-weight: 600; text-decoration: none;
  transition: background .2s; align-self: flex-start; margin-top: auto;
}
.speaker-linkedin { align-self: center; margin-top: 8px; }
.speaker-linkedin:hover { background: #005f94; }
.speaker-linkedin--disabled { background: rgba(255,255,255,.1); color: rgba(255,255,255,.3); cursor: default; pointer-events: none; }

/* Table Ronde */
.experts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.expert-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 20px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: transform .3s, box-shadow .3s;
}
.expert-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,212,255,.12); }
.expert-card--placeholder { opacity: .5; }
.expert-img-wrap { width: 110px; height: 110px; border-radius: 50%; overflow: hidden; border: 3px solid rgba(0,212,255,.3); }
.expert-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.expert-img--placeholder {
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05); font-size: 2.5rem; color: rgba(255,255,255,.2);
}
.expert-name { font-size: 1rem; font-weight: 700; color: #fff; margin: 0; }
.expert-role { font-size: .8rem; color: rgba(255,255,255,.55); margin: 0; }


/* ═══ PARTENAIRES OFFICIELS ═══ */
.partenaires-section { padding: 80px 0; background: #080814; }

.partners-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 3rem;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.partners-slider-overflow {
    overflow: hidden;
    flex: 1;
}

.partners-slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 1.5rem;
    width: max-content;
    transition: none;
    will-change: transform;
}

.partner-official-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform .3s, box-shadow .3s;
  flex-shrink: 0;
  width: 280px;
}
.partner-official-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,212,255,.1); }
.partner-official-logo {
  width: 120px; height: 80px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); border-radius: 10px; padding: 10px;
}
.partner-official-logo img { max-width: 100%; max-height: 100%; object-fit: contain; filter: brightness(1.1); }
.partner-official-card h4 { font-size: 1rem; font-weight: 700; color: #fff; margin: 0; }
.partner-official-card p { font-size: .8rem; color: rgba(255,255,255,.55); margin: 0; line-height: 1.5; }

/* Mobile scroll support */
@media (max-width: 768px) {
    .team-slider-overflow,
    .partners-slider-overflow {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    .team-slider-overflow::-webkit-scrollbar,
    .partners-slider-overflow::-webkit-scrollbar {
        height: 6px;
    }
    
    .team-slider-overflow::-webkit-scrollbar-track,
    .partners-slider-overflow::-webkit-scrollbar-track {
        background: rgba(255,255,255,0.05);
        border-radius: 10px;
    }
    
    .team-slider-overflow::-webkit-scrollbar-thumb,
    .partners-slider-overflow::-webkit-scrollbar-thumb {
        background: rgba(0,212,255,0.3);
        border-radius: 10px;
    }
    
    .team-slider-overflow::-webkit-scrollbar-thumb:hover,
    .partners-slider-overflow::-webkit-scrollbar-thumb:hover {
        background: rgba(0,212,255,0.6);
    }
}

/* ═══ GALERIE (nouvelle section) ═══ */
.gallery-section { padding: 80px 0; background: var(--bg-section, #0d0d1a); }
/* ═══ ONGLETS PROGRAMME ═══ */
.program-tabs {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 40px 0 0;
}
.program-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 16px 32px;
  cursor: pointer;
  transition: all .3s;
  color: rgba(255,255,255,0.6);
}
.program-tab:hover {
  border-color: rgba(0,212,255,0.4);
  color: #fff;
  background: rgba(0,212,255,0.06);
}
.program-tab.active {
  border-color: #00d4ff;
  background: rgba(0,212,255,0.12);
  color: #fff;
  box-shadow: 0 0 24px rgba(0,212,255,0.15);
}
.tab-day-num {
  font-size: 2rem;
  font-weight: 900;
  color: #00d4ff;
  line-height: 1;
}
.tab-day-label {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.tab-day-label strong { font-size: 1rem; }
.tab-day-label small { font-size: .8rem; opacity: .7; }

.program-day-content {
  margin-top: 40px;
  animation: fadeInUp .4s ease;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .program-tabs { flex-direction: column; align-items: stretch; }
  .program-tab { justify-content: center; padding: 14px 20px; }
}
/* ═══ ACTIVITÉS DE L'ANNÉE ═══ */
.activites-section { padding: 80px 0; background: #080814; }

.activites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.activite-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.activite-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,212,255,.12);
}

.activite-img-wrap {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}
.activite-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .4s;
}
.activite-card:hover .activite-img-wrap img { transform: scale(1.05); }

.activite-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: #00d4ff;
  color: #000;
  font-size: .75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.activite-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; }

.activite-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .78rem;
  color: rgba(255,255,255,.5);
}
.activite-meta span { display: flex; align-items: center; gap: 6px; }
.activite-meta i { color: #00d4ff; }

.activite-name { font-size: 1.1rem; font-weight: 700; color: #fff; margin: 0; }
.activite-role  { font-size: .82rem; color: #00d4ff; margin: 0; font-weight: 500; }
.activite-desc  { font-size: .85rem; color: rgba(255,255,255,.6); margin: 0; line-height: 1.6; }
/* ═══ ENCADREMENT ═══ */
.encadrement-section { padding: 80px 0; background: #0a0a14; }

.encadrement-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.encadrement-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  width: 260px;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.encadrement-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,212,255,.12);
}

.encadrement-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.encadrement-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
}

.encadrement-role-badge {
  position: absolute;
  bottom: 10px; left: 50%; transform: translateX(-50%);
  background: #00d4ff; color: #000;
  font-size: .72rem; font-weight: 700;
  padding: 4px 14px; border-radius: 20px;
  white-space: nowrap;
  text-transform: uppercase; letter-spacing: .5px;
}

.encadrement-body { padding: 18px 14px; }
.encadrement-name { font-size: 1rem; font-weight: 700; color: #fff; margin: 0 0 6px; }
.encadrement-role { font-size: .82rem; color: rgba(255,255,255,.55); margin: 0; line-height: 1.5; }
.speakers-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.theme-toggle { display: none !important; }
/* ═══ BUREAU HORIZONTAL (style image 1) ═══ */
.bureau-horizontal-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 30px;
}

.bureau-hcard {
  position: relative;
  width: 280px;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
  transition: transform .3s;
}
.bureau-hcard:hover { transform: translateY(-6px); }

.bureau-hcard-img {
  width: 100%;
  height: 320px;
  overflow: hidden;
}
.bureau-hcard-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  transition: transform .4s;
}
.bureau-hcard:hover .bureau-hcard-img img { transform: scale(1.05); }

.bureau-hcard-country {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(220,38,38,.85);
  color: #fff;
  font-size: .7rem; font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.bureau-hcard-info {
  padding: 16px 18px 20px;
  background: linear-gradient(180deg, #111 0%, #0a0a14 100%);
}
.bureau-hcard-badge {
  display: inline-block;
  background: rgba(0,212,255,.85);
  color: #000;
  font-size: .72rem; font-weight: 700;
  padding: 4px 12px; border-radius: 20px;
  margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: .5px;
}
.bureau-hcard-info h3 { font-size: 1.1rem; font-weight: 800; color: #fff; margin: 0 0 4px; }
.bureau-hcard-info p  { font-size: .82rem; color: rgba(255,255,255,.55); margin: 0 0 12px; }

@media (max-width: 768px) {
  .bureau-horizontal-grid { flex-direction: column; align-items: center; }
  .bureau-hcard { width: 100%; max-width: 340px; }
}

/* ═══ THÉMATIQUE ARTICLES (style image 2) ═══ */
.thematic-articles {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 20px;
}

.thematic-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 40px;
  transition: box-shadow .3s;
}
.thematic-article:hover { box-shadow: 0 20px 60px rgba(0,212,255,.08); }

.thematic-article--reverse { direction: rtl; }
.thematic-article--reverse > * { direction: ltr; }

.thematic-article-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,212,255,.1);
  border: 1px solid rgba(0,212,255,.25);
  color: #00d4ff;
  font-size: .8rem; font-weight: 600;
  padding: 6px 14px; border-radius: 20px;
  margin-bottom: 16px;
}
.thematic-article-text h3 {
  font-size: 1.5rem; font-weight: 800; color: #fff;
  margin: 0 0 14px; line-height: 1.3;
}
.thematic-article-text p {
  color: rgba(255,255,255,.65); font-size: .92rem; line-height: 1.7; margin: 0 0 20px;
}

.thematic-article-img {
  border-radius: 14px; overflow: hidden;
  height: 240px; box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.thematic-article-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.thematic-article:hover .thematic-article-img img { transform: scale(1.04); }

@media (max-width: 768px) {
  .thematic-article, .thematic-article--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .thematic-article-img { height: 200px; }
}
/* ============================================
   TEAM SLIDER
   ============================================ */
.team-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    overflow: hidden;
}

.team-slider-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.4s ease;
    width: 100%;
}

.team-slide {
    flex: 0 0 calc(25% - 1.2rem);
    min-width: calc(25% - 1.2rem);
}

.team-slide-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--electric-blue);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.team-slide-card {
    background: linear-gradient(135deg, rgba(0,102,255,0.08), rgba(0,30,80,0.4));
    border: 1.5px solid rgba(0,102,255,0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.team-slide-card:hover {
    border-color: rgba(0,102,255,0.5);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,102,255,0.2);
}

.team-slide-img {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.team-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
}

.team-slide-card:hover .team-slide-img img {
    transform: scale(1.05);
}

.team-slide-info {
    padding: 1.2rem;
    background: rgba(0,0,0,0.4);
}

.team-slide-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.team-slide-role {
    font-size: 0.8rem;
    color: var(--electric-blue);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.team-slide-dept {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.8rem;
}

.team-slide-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(0,102,255,0.2);
    border: 1px solid rgba(0,102,255,0.3);
    border-radius: 50%;
    color: var(--electric-blue);
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.team-slide-linkedin:hover {
    background: var(--primary-blue);
    color: white;
}

.team-arrow {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,102,255,0.3);
    background: rgba(0,102,255,0.1);
    color: var(--electric-blue);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    flex-shrink: 0;
}

.team-arrow:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.team-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}

.team-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.team-dot.active {
    background: var(--electric-blue);
    width: 24px;
    border-radius: 4px;
}

/* Light mode */
body.light-mode .team-slide-card {
    background: linear-gradient(135deg, rgba(0,102,255,0.05), rgba(0,80,180,0.08));
}

body.light-mode .team-slide-info {
    background: rgba(255,255,255,0.9);
}

body.light-mode .team-slide-info h3 {
    color: #0a0a0a;
}

body.light-mode .team-slide-dept {
    color: rgba(0,0,0,0.5);
}

/* Responsive */
@media (max-width: 1024px) {
    .team-slide {
        flex: 0 0 calc(33.33% - 1rem);
        min-width: calc(33.33% - 1rem);
    }
}

@media (max-width: 768px) {
    .team-slide {
        flex: 0 0 calc(50% - 0.75rem);
        min-width: calc(50% - 0.75rem);
    }
}

@media (max-width: 480px) {
    .team-slide {
        flex: 0 0 80%;
        min-width: 80%;
    }
}
/* ============================================
   TEAM NEW STYLE
   ============================================ */
.team-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 3rem;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.team-slider-overflow {
    overflow: hidden;
    flex: 1;
}

.team-slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 1.5rem;
    width: max-content;
    transition: none;
    will-change: transform;
}

.team-new-card {
    background: rgba(10, 15, 30, 0.8);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    width: 220px;
}

.team-new-card:hover {
    border-color: rgba(0,102,255,0.4);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,102,255,0.15);
}

.team-new-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(0,212,255,0.3);
    margin-bottom: 0.8rem;
}

.team-new-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.team-new-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.team-new-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--electric-blue);
    text-transform: uppercase;
}

.team-new-card p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

.team-new-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.8rem;
    padding: 0.5rem 1.2rem;
    border: 1.5px solid rgba(0,212,255,0.3);
    border-radius: 50px;
    color: var(--electric-blue);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.team-new-linkedin:hover {
    background: rgba(0,212,255,0.1);
    border-color: var(--electric-blue);
}

.team-arrow {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,102,255,0.3);
    background: rgba(0,102,255,0.1);
    color: var(--electric-blue);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-arrow:hover {
    background: var(--primary-blue);
    color: white;
}

.team-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}

.team-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.team-dot.active {
    background: var(--electric-blue);
    width: 24px;
    border-radius: 4px;
}

/* Light mode */
body.light-mode .team-new-card {
    background: rgba(255,255,255,0.9);
    border-color: rgba(0,0,0,0.08);
}

body.light-mode .team-new-card h3 {
    color: #0a0a0a;
}

body.light-mode .team-new-card p {
    color: rgba(0,0,0,0.5);
}

/* Responsive */
@media (max-width: 1024px) {
    .team-slider-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 1.5rem;
        width: max-content;
        transition: none;
        will-change: transform;
    }
}

@media (max-width: 768px) {
    .team-slider-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 1.5rem;
        width: max-content;
        transition: none;
        will-change: transform;
    }
}

@media (max-width: 480px) {
    .team-slider-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 1.5rem;
        width: max-content;
        transition: none;
        will-change: transform;
    }
    .team-new-card {
        padding: 1.2rem 0.8rem;
        flex-shrink: 0;
        width: 220px;
    }
    .team-new-img {
        width: 80px;
        height: 80px;
    }
}
/* ============================================
   QUOTE BANNER ANIMATION
   ============================================ */
.quote-banner {
    padding: 80px 5%;
    background: linear-gradient(135deg, rgba(0,102,255,0.08), rgba(0,212,255,0.04));
    position: relative;
    overflow: hidden;
}

.quote-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(0,212,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.quote-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.quote-container img {
    display: block;
    width: 100%;
    border-radius: 20px;
    box-shadow: 
        0 0 0 1px rgba(0,212,255,0.3),
        0 0 40px rgba(0,102,255,0.25),
        inset 0 0 40px rgba(0,212,255,0.1);
    animation: quoteSlideIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid rgba(0,212,255,0.4);
    transition: all 0.4s ease;
}

.quote-container:hover img {
    box-shadow: 
        0 0 0 1px rgba(0,212,255,0.6),
        0 0 60px rgba(0,102,255,0.4),
        inset 0 0 60px rgba(0,212,255,0.15);
    transform: scale(1.02);
}

@keyframes quoteSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px);
        filter: blur(10px);
        box-shadow: 
            0 0 0 1px rgba(0,212,255,0),
            0 0 0 rgba(0,102,255,0),
            inset 0 0 0 rgba(0,212,255,0);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
        box-shadow: 
            0 0 0 1px rgba(0,212,255,0.3),
            0 0 40px rgba(0,102,255,0.25),
            inset 0 0 40px rgba(0,212,255,0.1);
    }
}

/* Light mode */
body.light-mode .quote-banner {
    background: linear-gradient(135deg, rgba(0,102,255,0.04), rgba(0,212,255,0.02));
}

@media (max-width: 768px) {
    .quote-banner {
        padding: 40px 4%;
    }
    
    .quote-container img {
        border-radius: 16px;
        animation: quoteSlideInMobile 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
}

@keyframes quoteSlideInMobile {
    from {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}
/* ============================================
   TEAM SLIDER - RESPONSIVE FIX
   ============================================ */
.team-slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 1.5rem;
    width: max-content;
    transition: none;
    will-change: transform;
}

/* Light mode */
body.light-mode .team-new-card {
    background: rgba(255,255,255,0.9);
    border-color: rgba(0,0,0,0.08);
}

body.light-mode .team-new-card h3 {
    color: #0a0a0a;
}

body.light-mode .team-new-card p {
    color: rgba(0,0,0,0.5);
}

/* Responsive - 3 colonnes sur tablette */
@media (max-width: 1024px) {
    .team-slider-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 1.5rem;
        width: max-content;
        transition: none;
        will-change: transform;
    }
}

/* Responsive - 2 colonnes sur petite tablette */
@media (max-width: 768px) {
    .team-slider-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 1.5rem;
        width: max-content;
        transition: none;
        will-change: transform;
    }
    
    .team-new-card {
        padding: 1.5rem 1rem;
        flex-shrink: 0;
        width: 220px;
    }
    
    .team-new-img {
        width: 90px;
        height: 90px;
    }
    
    .team-new-card h3 {
        font-size: 0.9rem;
    }
}

/* Responsive - 4 cartes visibles sur mobile (horizontal scroll) */
@media (max-width: 600px) {
    .team-slider-overflow {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .team-slider-overflow::-webkit-scrollbar {
        display: none;
    }
    
    .team-slider-track {
        grid-template-columns: repeat(4, minmax(160px, 1fr));
        gap: 0.8rem;
        width: max-content;
        padding: 0.5rem 0;
    }
    
    .team-new-card {
        padding: 1.2rem 0.8rem;
        min-width: 160px;
    }
    
    .team-new-img {
        width: 80px;
        height: 80px;
        margin-bottom: 0.6rem;
    }
    
    .team-new-card h3 {
        font-size: 0.85rem;
        margin: 0;
    }
    
    .team-new-label {
        font-size: 0.6rem;
        margin-bottom: 0.3rem;
    }
    
    .team-new-card p {
        font-size: 0.75rem;
    }
    
    .team-new-linkedin {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
        margin-top: 0.5rem;
    }
    
    /* Masquer les flèches sur mobile */
    .team-arrow {
        display: none !important;
    }
    
    /* Afficher l'indication de scroll */
    .team-slider-overflow::after {
        content: '← Glissez →';
        display: block;
        text-align: center;
        font-size: 0.75rem;
        color: rgba(255,255,255,0.4);
        margin-top: 0.8rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .team-slider-track {
        grid-template-columns: repeat(4, minmax(140px, 1fr));
        gap: 0.6rem;
    }
    
    .team-new-card {
        padding: 1rem 0.6rem;
        min-width: 140px;
    }
    
    .team-new-img {
        width: 70px;
        height: 70px;
    }
}
/* ============================================
   CUSTOM CURSOR - ELECTRODAYS THEME
   ============================================ */

/* Curseur par défaut */
* {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><circle cx="16" cy="16" r="3" fill="%2300d4ff"/><circle cx="16" cy="16" r="8" fill="none" stroke="%2300d4ff" stroke-width="1.5" opacity="0.4"/></svg>') 16 16, auto;
}

/* Curseur sur les liens/boutons */
a, button, .btn, [role="button"], .nav-center a {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><circle cx="16" cy="16" r="4" fill="%2300d4ff"/><circle cx="16" cy="16" r="10" fill="none" stroke="%2300d4ff" stroke-width="1.5" opacity="0.6"/></svg>') 16 16, pointer;
}

/* Curseur sur les cartes */
.thematic-carousel-card,
.team-new-card,
.competition-card,
.partner-item,
.specialty-card {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><circle cx="16" cy="16" r="5" fill="%2300d4ff"/><circle cx="16" cy="16" r="12" fill="none" stroke="%2300d4ff" stroke-width="2" opacity="0.7"/></svg>') 16 16, grab;
}

/* Light mode */
body.light-mode * {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><circle cx="16" cy="16" r="3" fill="%230066ff"/><circle cx="16" cy="16" r="8" fill="none" stroke="%230066ff" stroke-width="1.5" opacity="0.4"/></svg>') 16 16, auto;
}

body.light-mode a, 
body.light-mode button {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><circle cx="16" cy="16" r="4" fill="%230066ff"/><circle cx="16" cy="16" r="10" fill="none" stroke="%230066ff" stroke-width="1.5" opacity="0.6"/></svg>') 16 16, pointer;
}
/* ============================================
   ADVANCED ANIMATIONS & VISUAL EFFECTS
   ============================================ */

/* ═══ PARALLAX AVANCÉ ═══ */
.hero-background {
    transform-origin: center;
    will-change: transform;
}

@media (prefers-reduced-motion: no-preference) {
    .hero-background {
        animation: parallaxShift 20s ease-in-out infinite;
    }
}

@keyframes parallaxShift {
    0%, 100% { transform: translateY(0px) scale(1.02); }
    50% { transform: translateY(-20px) scale(1.03); }
}

/* ═══ EFFET WAVE/LIQUID ═══ */
section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 60"><path d="M0,30 Q300,0 600,30 T1200,30 L1200,60 L0,60 Z" fill="%230a0a0f" opacity="0.5"/></svg>');
    background-size: 600px 60px;
    background-repeat: repeat-x;
    animation: waveMove 15s linear infinite;
    pointer-events: none;
}

@keyframes waveMove {
    0% { background-position: 0 0; }
    100% { background-position: 600px 0; }
}

/* ═══ FLOATING ELEMENTS ═══ */
.float-element {
    animation: float 6s ease-in-out infinite;
}

.float-element:nth-child(2) {
    animation-delay: 2s;
}

.float-element:nth-child(3) {
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

/* ═══ GLOW EFFECTS ═══ */
.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0,212,255,0.3), transparent 70%);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

/* ═══ BLUR ENTRANCE ═══ */
.blur-in {
    animation: blurIn 0.8s ease-out;
}

@keyframes blurIn {
    from {
        opacity: 0;
        filter: blur(20px);
    }
    to {
        opacity: 1;
        filter: blur(0);
    }
}

/* ═══ SHIMMER EFFECT ═══ */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ═══ TILT 3D EFFECT ═══ */
.tilt-3d {
    perspective: 1000px;
    transition: transform 0.6s ease;
}

.tilt-3d:hover {
    transform: rotateX(5deg) rotateY(-5deg) scale(1.02);
}

/* ═══ STAGGER ANIMATION ═══ */
.stagger-item {
    opacity: 0;
    animation: staggerIn 0.6s ease-out forwards;
}

@for $i from 1 through 10 {
    .stagger-item:nth-child(#{$i}) {
        animation-delay: #{($i - 1) * 0.1}s;
    }
}

/* CSS equivalent pour non-SCSS */
.stagger-item:nth-child(1) { animation-delay: 0s; }
.stagger-item:nth-child(2) { animation-delay: 0.1s; }
.stagger-item:nth-child(3) { animation-delay: 0.2s; }
.stagger-item:nth-child(4) { animation-delay: 0.3s; }
.stagger-item:nth-child(5) { animation-delay: 0.4s; }
.stagger-item:nth-child(6) { animation-delay: 0.5s; }
.stagger-item:nth-child(7) { animation-delay: 0.6s; }
.stagger-item:nth-child(8) { animation-delay: 0.7s; }
.stagger-item:nth-child(9) { animation-delay: 0.8s; }
.stagger-item:nth-child(10) { animation-delay: 0.9s; }

@keyframes staggerIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══ MORPHING SHAPES ═══ */
.morph {
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

/* ═══ BOUNCE IN ═══ */
.bounce-in {
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; }
    100% { transform: scale(1); }
}

/* ═══ FLIP CARD ═══ */
.flip-card {
    background-color: transparent;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.flip-card-back {
    background-color: var(--primary-blue);
    color: white;
    transform: rotateY(180deg);
}
/* ============================================
   NEUMORPHISM DESIGN
   ============================================ */

.neumorphic {
    background: linear-gradient(145deg, #1a1a2e, #0f0f1e);
    border-radius: 20px;
    box-shadow: 
        8px 8px 16px #0a0a14,
        -8px -8px 16px #2a2a3e,
        inset 1px 1px 2px rgba(255,255,255,0.1),
        inset -1px -1px 2px rgba(0,0,0,0.5);
    padding: 2rem;
    transition: all 0.4s ease;
}

.neumorphic:hover {
    box-shadow: 
        4px 4px 8px #0a0a14,
        -4px -4px 8px #2a2a3e,
        inset 2px 2px 4px rgba(255,255,255,0.15),
        inset -2px -2px 4px rgba(0,0,0,0.4);
}

.neumorphic-button {
    background: linear-gradient(145deg, #1a1a2e, #0f0f1e);
    border: none;
    border-radius: 15px;
    padding: 1rem 2rem;
    color: var(--electric-blue);
    font-weight: 600;
    cursor: pointer;
    box-shadow: 
        5px 5px 10px #0a0a14,
        -5px -5px 10px #2a2a3e;
    transition: all 0.3s ease;
}

.neumorphic-button:hover {
    box-shadow: 
        2px 2px 5px #0a0a14,
        -2px -2px 5px #2a2a3e,
        inset 1px 1px 2px rgba(0,212,255,0.2);
    color: var(--white);
}

.neumorphic-button:active {
    box-shadow: 
        inset 5px 5px 10px #0a0a14,
        inset -5px -5px 10px #2a2a3e;
}

.neumorphic-input {
    background: linear-gradient(145deg, #0f0f1e, #1a1a2e);
    border: none;
    border-radius: 15px;
    padding: 1rem 1.5rem;
    color: var(--white);
    box-shadow: 
        inset 3px 3px 6px #0a0a14,
        inset -3px -3px 6px #2a2a3e;
    outline: none;
    transition: all 0.3s ease;
}

.neumorphic-input:focus {
    box-shadow: 
        inset 1px 1px 3px #0a0a14,
        inset -1px -1px 3px #2a2a3e,
        0 0 20px rgba(0,212,255,0.3);
    color: var(--electric-blue);
}

.neumorphic-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 
        12px 12px 24px #0a0a14,
        -12px -12px 24px #2a2a3e,
        inset 1px 1px 1px rgba(255,255,255,0.08);
    position: relative;
    overflow: hidden;
}

.neumorphic-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,212,255,0.1), transparent);
    pointer-events: none;
}
/* ============================================
   GLASSMORPHISM - ADVANCED FROSTED GLASS
   ============================================ */

.glassmorphic {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.2),
        inset 0 -1px 1px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.glassmorphic::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.1) 0%,
        rgba(255,255,255,0) 50%,
        rgba(0,0,0,0.1) 100%
    );
    pointer-events: none;
}

.glassmorphic:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 
        0 12px 48px rgba(0, 102, 255, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.3),
        inset 0 -1px 2px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}

/* Glassmorphic Button */
.glassmorphic-btn {
    background: rgba(0, 102, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    color: var(--electric-blue);
    padding: 0.9rem 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.2);
}

.glassmorphic-btn:hover {
    background: rgba(0, 102, 255, 0.35);
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 
        0 8px 30px rgba(0, 102, 255, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    color: var(--white);
}

/* Glassmorphic Card */
.glassmorphic-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.25);
}

.glassmorphic-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 
        0 15px 50px rgba(0, 102, 255, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

/* Glassmorphic Navbar */
.glassmorphic-nav {
    background: rgba(10, 10, 20, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Glassmorphic Input */
.glassmorphic-input {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    color: var(--white);
    outline: none;
    transition: all 0.3s ease;
}

.glassmorphic-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.glassmorphic-input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
}

/* Glassmorphic Overlay */
.glassmorphic-overlay {
    background: rgba(10, 10, 20, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Light mode glassmorphism */
body.light-mode .glassmorphic {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .glassmorphic:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 102, 255, 0.4);
}

body.light-mode .glassmorphic-input {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.12);
    color: #000;
}

body.light-mode .glassmorphic-input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}
/* ============================================
   SUPPRESSION TOTALE DES BANDEAUX NOIRS
   ============================================ */

/* Rendre toutes les sections transparentes */
section,
.hero,
.about,
.thematic,
.department,
.team,
.program,
.competition,
.forum,
.previous,
.contact,
.footer,
.quote-banner,
.activites-section,
.encadrement-section,
.evenement,
.partenaires-section,
.gallery-section {
    background: transparent !important;
    background-color: transparent !important;
}

/* Supprimer les backgrounds fixes des cards */
.stat-card, .info-card, .specialty-card, .team-card,
.program-day, .timeline-item, .benefit-item,
.sponsor-showcase, .partner-item, .stat-showcase,
.contact-form, .teacher-card, .thematic-card,
.cell-group, .competition-card, .partner-official-card,
.activite-card, .encadrement-card, .speaker-card,
.expert-card, .glassmorphic-card {
    background: rgba(10, 15, 30, 0.75) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Light mode - version plus claire */
body.light-mode .stat-card,
body.light-mode .info-card,
body.light-mode .specialty-card,
body.light-mode .team-card,
body.light-mode .program-day,
body.light-mode .timeline-item,
body.light-mode .competition-card,
body.light-mode .contact-form {
    background: rgba(255, 255, 255, 0.85) !important;
}

/* Navbar transparente */
nav {
    background: rgba(10, 10, 20, 0.85) !important;
    backdrop-filter: blur(16px);
}

/* Footer */
.footer {
    background: rgba(10, 10, 20, 0.8) !important;
}

/* Supprimer tous les pseudo-éléments noirs */
section::before,
.competition::before,
.quote-banner::before,
[class*="bg-"]::before {
    display: none !important;
}

/* Garder l'overlay hero mais plus clair */
.hero-overlay {
    background: rgba(0, 0, 0, 0.4) !important;
}

/* Vidéo hero plus discrète */
.hero-video {
    opacity: 0.25 !important;
}
/* ═══ QUOTE BANNER ANIMATION ═══ */
.quote-banner {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.quote-banner.visible {
  opacity: 1;
  transform: translateY(0);
}/* ═══ CARTE CONTACT ═══ */
.contact-map {
  margin-top: 24px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  max-width: 100%;
}

.map-open-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: rgba(0,212,255,0.08);
  color: #00d4ff;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.map-open-link:hover {
  background: rgba(0,212,255,0.15);
}
/* ═══ MODALES ÉVÉNEMENT ═══ */
.event-modal {
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 9999;
  width: 90%; max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  background: #0d0d1a;
  border: 1px solid rgba(0,212,255,.25);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,.8), 0 0 40px rgba(0,212,255,.1);
  opacity: 0;
  transition: opacity .3s ease, transform .3s ease;
}
.event-modal.active {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.event-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  z-index: 9998;
  backdrop-filter: blur(4px);
}
.event-modal-overlay.active { display: block; }

.event-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,.1);
  border: none; color: #fff;
  width: 36px; height: 36px;
  border-radius: 50%; cursor: pointer;
  font-size: 1rem;
  transition: background .2s;
  z-index: 10;
}
.event-modal-close:hover { background: rgba(255,0,0,.3); }

.event-modal-header {
  display: flex; gap: 20px;
  padding: 30px 30px 20px;
  align-items: flex-start;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.event-modal-img {
  width: 100px; height: 100px;
  border-radius: 50%; overflow: hidden;
  border: 3px solid rgba(0,212,255,.4);
  flex-shrink: 0;
}
.event-modal-img img { width: 100%; height: 100%; object-fit: cover; }
.event-modal-badge {
  display: inline-block;
  background: rgba(0,212,255,.85);
  color: #000; font-size: .72rem;
  font-weight: 700; padding: 4px 12px;
  border-radius: 20px; margin-bottom: 8px;
  text-transform: uppercase;
}
.event-modal-title h2 { font-size: 1.2rem; font-weight: 800; color: #fff; margin: 0 0 4px; }
.event-modal-title p  { font-size: .85rem; color: rgba(255,255,255,.6); margin: 0 0 12px; line-height: 1.5; }

.event-modal-body { padding: 20px 30px 30px; }
.event-modal-section { margin-bottom: 20px; }
.event-modal-section h4 {
  display: flex; align-items: center; gap: 8px;
  font-size: .9rem; color: #00d4ff;
  margin: 0 0 8px; font-weight: 700;
}
.event-modal-section p { font-size: .88rem; color: rgba(255,255,255,.7); line-height: 1.7; margin: 0; }
.event-modal-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.event-modal-tags span {
  background: rgba(0,212,255,.1);
  border: 1px solid rgba(0,212,255,.25);
  color: #00d4ff; font-size: .78rem;
  padding: 4px 12px; border-radius: 20px;
}

/* Bouton Read More */
.read-more-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent;
  border: 1px solid rgba(0,212,255,.4);
  color: #00d4ff; font-size: .82rem;
  padding: 7px 16px; border-radius: 8px;
  cursor: pointer; margin-top: 10px;
  transition: all .2s;
}
.read-more-btn:hover {
  background: rgba(0,212,255,.1);
  border-color: #00d4ff;
}