:root {
    --primary-color: #9c5096;
    --accent-color: #00f5ca;
    --dark-bg: #111111;
    --light-bg: #ffffff;
    --card-bg: #1a1a1a;
    --text-light: #f5f5f5;
    --text-dark: #333333;
    --text-muted: #a0a0a0;
    --header-bg: rgba(17, 17, 17, 0.85);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    --border-radius: 12px;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
}
main {
    flex-grow: 1;
    position: relative;
    z-index: 1;
}
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    width: 100%;
}
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Nouvel éclairage d'arrière-plan Firefly */
.background-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.firefly {
    position: absolute;
    border-radius: 50%;
    animation: move-firefly 20s infinite alternate ease-in-out;
}

/* Grosses lueurs fixes */
.firefly.large.fixed {
    filter: blur(200px);
    opacity: 0.3;
    animation: none;
}

#glow1 {
    width: 700px;
    height: 700px;
    top: -25%;
    left: -15%;
    background-color: var(--primary-color);
}

#glow2 {
    width: 600px;
    height: 600px;
    bottom: -30%;
    right: -20%;
    background-color: var(--accent-color);
}

/* Animation pour les petites lueurs */
@keyframes move-firefly {
    0% {
        transform: translate(0, 0);
        opacity: 0.4;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: translate(var(--x-end, 50px), var(--y-end, 50px));
        opacity: 0;
    }
}

/* Propriétés uniques pour chaque petite lueur */
.firefly:nth-of-type(3) { width: 5px; height: 5px; background: var(--accent-color); top: 10%; left: 20%; animation-duration: 15s; animation-delay: -2s; --x-end: 100px; --y-end: -200px; }
.firefly:nth-of-type(4) { width: 8px; height: 8px; background: var(--primary-color); top: 80%; left: 90%; animation-duration: 22s; animation-delay: -5s; --x-end: -300px; --y-end: 150px; }
.firefly:nth-of-type(5) { width: 3px; height: 3px; background: var(--accent-color); top: 50%; left: 50%; animation-duration: 18s; animation-delay: -1s; --x-end: 250px; --y-end: 250px; }
.firefly:nth-of-type(6) { width: 6px; height: 6px; background: var(--primary-color); top: 90%; left: 10%; animation-duration: 25s; animation-delay: -8s; --x-end: 400px; --y-end: -100px; }
.firefly:nth-of-type(7) { width: 4px; height: 4px; background: var(--accent-color); top: 5%; left: 85%; animation-duration: 12s; animation-delay: -10s; --x-end: -150px; --y-end: 200px; }
.firefly:nth-of-type(8) { width: 7px; height: 7px; background: var(--primary-color); top: 25%; left: 70%; animation-duration: 28s; animation-delay: -3s; --x-end: -200px; --y-end: -300px; }
.firefly:nth-of-type(9) { width: 3px; height: 3px; background: var(--accent-color); top: 60%; left: 30%; animation-duration: 16s; animation-delay: -12s; --x-end: 100px; --y-end: 200px; }
.firefly:nth-of-type(10) { width: 9px; height: 9px; background: var(--primary-color); top: 40%; left: 80%; animation-duration: 30s; animation-delay: -7s; --x-end: -350px; --y-end: 100px; }
.firefly:nth-of-type(11) { width: 5px; height: 5px; background: var(--accent-color); top: 75%; left: 5%; animation-duration: 14s; animation-delay: -4s; --x-end: 200px; --y-end: -150px; }
.firefly:nth-of-type(12) { width: 6px; height: 6px; background: var(--primary-color); top: 15%; left: 45%; animation-duration: 20s; animation-delay: -9s; --x-end: -100px; --y-end: 300px; }
.firefly:nth-of-type(13) { width: 4px; height: 4px; background: var(--accent-color); top: 85%; left: 60%; animation-duration: 23s; animation-delay: -6s; --x-end: 250px; --y-end: -250px; }
.firefly:nth-of-type(14) { width: 8px; height: 8px; background: var(--primary-color); top: 30%; left: 5%; animation-duration: 17s; animation-delay: -11s; --x-end: 150px; --y-end: -200px; }


/* Header */
header {
    background: var(--header-bg);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
}
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center; /* Centre le logo FEI-AIX */
    gap: 1rem;
}
.fei-logo {
    max-width: 5rem;
    height: auto;
    transition: transform 0.3s ease;
}
.fei-logo:hover {
    transform: scale(1.05);
}

/* Nouveau logo textuel FEI-AIX */
.fei-logo-text {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.fei-logo-text:hover {
    transform: scale(1.05);
}
.fei-logo-text .fei {
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}
.fei-logo-text .separator {
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(0, 245, 202, 0.7);
    margin: 0 2px;
}
.fei-logo-text .aix {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}
.logo-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 0.3rem;
    text-align: center;
    font-family: var(--font-body);
    font-weight: 400;
    letter-spacing: 0.5px;
    width: 100%;
    display: none; /* Désactivé pour le mode entreprises */
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}
.logo-container:hover .logo-subtitle {
    opacity: 1;
    transform: translateY(0);
}
.logo-container a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}
.logo-text {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.2;
}
.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}
.desktop-nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}
.desktop-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}
.desktop-nav ul li a:hover,
.desktop-nav ul li a.active {
    color: var(--accent-color);
}
.desktop-nav ul li a:hover::after,
.desktop-nav ul li a.active::after {
    width: 100%;
}
/* Mobile Navigation */
.menu-toggle { display: none; }
.mobile-nav { display: none; }
.menu-icon {
    display: none;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    width: 28px;
    height: 22px;
}
.menu-icon span {
    background: var(--text-light);
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}
.menu-icon span:nth-child(1) { top: 0px; }
.menu-icon span:nth-child(2) { top: 9px; }
.menu-icon span:nth-child(3) { top: 18px; }
.overlay { display: none; }

/* Bouton de menu mobile flottant */
.mobile-menu-icon {
    display: none; 
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
    cursor: pointer;
    width: 50px;
    height: 50px;
    background: rgba(17, 17, 17, 0.8);
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}
.mobile-menu-icon span {
    width: 24px;
    height: 2px;
    background: var(--text-light);
    position: absolute;
    transition: all 0.3s ease;
}
.mobile-menu-icon span:nth-child(1) {
    top: 15px;
    left: 13px;
    width: 24px;
}
.mobile-menu-icon span:nth-child(2) {
    top: 22px;
    left: 13px;
    width: 24px;
}
.mobile-menu-icon span:nth-child(3) {
    top: 29px;
    left: 13px;
    width: 24px;
}
/* Hero Section */
#hero {
    text-align: center;
    padding: 10rem 2rem 6rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(17, 17, 17, 0.5), rgba(17, 17, 17, 0.7)), url('images/Amphi.png') no-repeat center center/cover;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

/* Lueur dynamique qui se balade */
#hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(156, 80, 150, 0.15) 0%,
        rgba(0, 245, 202, 0.1) 20%,
        rgba(156, 80, 150, 0.08) 40%,
        transparent 60%
    );
    animation: wanderingGlow 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* Seconde lueur plus subtile */
#hero::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 150%;
    height: 150%;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 245, 202, 0.08) 0%,
        rgba(156, 80, 150, 0.05) 30%,
        transparent 50%
    );
    animation: wanderingGlow2 25s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: 1;
}

/* Lumière mobile qui éclaire l'arrière-plan */
#hero .moving-light {
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: radial-gradient(
        circle 500px at center,
        rgba(255, 223, 0, 0.4) 0%,
        rgba(255, 193, 7, 0.3) 15%,
        rgba(255, 255, 255, 0.2) 25%,
        rgba(0, 245, 202, 0.15) 35%,
        rgba(156, 80, 150, 0.1) 50%,
        transparent 70%
    );
    animation: lightWander 35s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: screen;
    opacity: 0.9;
}

@keyframes wanderingGlow {
    0% {
        transform: translate(-20%, -20%) scale(0.8);
        opacity: 0.3;
    }
    25% {
        transform: translate(10%, -30%) scale(1.2);
        opacity: 0.6;
    }
    50% {
        transform: translate(30%, 10%) scale(0.9);
        opacity: 0.4;
    }
    75% {
        transform: translate(-10%, 30%) scale(1.1);
        opacity: 0.5;
    }
    100% {
        transform: translate(-20%, -20%) scale(0.8);
        opacity: 0.3;
    }
}

@keyframes wanderingGlow2 {
    0% {
        transform: translate(20%, 20%) scale(1.0) rotate(0deg);
        opacity: 0.2;
    }
    33% {
        transform: translate(-15%, 25%) scale(1.3) rotate(120deg);
        opacity: 0.4;
    }
    66% {
        transform: translate(25%, -15%) scale(0.7) rotate(240deg);
        opacity: 0.3;
    }
    100% {
        transform: translate(20%, 20%) scale(1.0) rotate(360deg);
        opacity: 0.2;
    }
}

@keyframes lightWander {
    0% {
        transform: translate(10%, 15%) scale(0.8);
        opacity: 0.6;
    }
    20% {
        transform: translate(60%, 10%) scale(1.2);
        opacity: 0.9;
    }
    40% {
        transform: translate(80%, 60%) scale(1.0);
        opacity: 0.7;
    }
    60% {
        transform: translate(20%, 80%) scale(1.3);
        opacity: 0.8;
    }
    80% {
        transform: translate(40%, 20%) scale(0.9);
        opacity: 0.6;
    }
    100% {
        transform: translate(10%, 15%) scale(0.8);
        opacity: 0.6;
    }
}

/* S'assurer que le contenu reste au-dessus */
#hero > * {
    position: relative;
    z-index: 2;
}
#hero h1 {
    font-size: clamp(6rem, 10vw, 6rem);
    font-weight: 700;
    margin-bottom: 0.1rem;
    color: var(--light-bg);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}
#hero .hero-edition-green {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 0.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(0, 245, 202, 0.5);
}
#hero .hero-date-main {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: white;
    font-weight: 500;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}
#hero p {
    font-size: clamp(1rem, 3vw, 1.25rem);
    max-width: 700px;
    margin: 0 auto 1rem auto;
    color: var(--text-muted);
}
/* Countdown */
#countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2.5rem 0;
}
#countdown div {
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    min-width: 90px;
}
#countdown span {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    display: block;
    color: var(--accent-color);
}
#countdown p {
    font-size: 0.9rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}
.cta-button {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background-color: var(--accent-color);
    color: var(--dark-bg);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 50px;
    margin-top: 1.5rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 2px solid var(--accent-color);
    z-index: 2;
    position: relative;
}
.cta-button:hover {
    transform: translateY(-5px);
    background-color: transparent;
    color: var(--accent-color);
}
/* Partner Carousel Section */
.partners-section {
    background-color: #141414;
    padding: 4rem 0;
    position: relative;
    z-index: 2;
}
.partners-content { text-align: center; }
.partners-content h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    color: var(--text-light);
    margin-bottom: 3rem;
    font-weight: 600;
}
.carousel { overflow: hidden; width: 100%; position: relative; }
.carousel::before, .carousel::after {
    content: ''; position: absolute; top: 0; width: 150px; height: 100%; z-index: 1;
}
.carousel::before { left: 0; background: linear-gradient(to right, #141414, transparent); }
.carousel::after { right: 0; background: linear-gradient(to left, #141414, transparent); }
.carousel-track { display: flex; animation: scroll 40s linear infinite; }
.carousel-logo { height: 50px; margin: 0 40px; filter: grayscale(1) opacity(0.6); transition: filter 0.3s ease, transform 0.3s ease; }
.carousel-logo:hover { filter: grayscale(0) opacity(1); transform: scale(1.1); }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
/* General Section Styling */
section {
    padding-top: 6rem;
    padding-bottom: 6rem;
    text-align: center;
    position: relative;
    z-index: 2;
}
section h2 {
    font-size: clamp(2rem, 6vw, 2.8rem);
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-weight: 600;
}
section > .container > p {
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 3rem auto;
}
/* Venue Section */
.venue-wrapper {
    display: flex;
    gap: 3rem;
    align-items: center;
    text-align: left;
}
.venue-details { flex: 1.2; }
.map-container {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
}
.venue-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.stat-card {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    flex: 1;
    min-width: 120px;
    border: 1px solid var(--border-color);
}
.stat-card h4 { font-size: 2rem; margin: 0; color: var(--accent-color); }
.stat-card p { font-size: 0.9rem; margin: 0.5rem 0 0; max-width: none; color: var(--text-muted); }
/* Invited Schools Section */
.schools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    text-align: center;
    justify-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.school-card {
    background-color: var(--card-bg);
    padding: 1rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.school-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color), var(--primary-color));
    border-radius: var(--border-radius);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}
.school-card:hover::before {
    opacity: 0.6;
}
.school-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(156, 80, 150, 0.25), 0 0 30px rgba(0, 245, 202, 0.1);
    border-color: var(--accent-color);
}
.school-logo {
    width: 100%;
    height: 140px;
    object-fit: contain;
    object-position: center;
    margin-bottom: 0.5rem;
    filter: brightness(1.5) contrast(1.4) saturate(1.1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 8px;
    box-sizing: border-box;
    max-width: 100%;
    max-height: 140px;
    display: block;
    flex: 1;
}
.school-card:hover .school-logo {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(1.8) contrast(1.6) saturate(1.2);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 25px rgba(156, 80, 150, 0.15);
}
.school-card h3 { 
    font-size: 1rem; 
    margin: 0; 
    color: var(--text-light); 
    transition: color 0.3s ease;
    flex-shrink: 0;
}
.school-card:hover h3 {
    color: var(--accent-color);
}
.school-card p { 
    font-size: 1rem; 
    margin: 0; 
    max-width: none; 
    color: var(--text-muted);
    transition: color 0.3s ease;
}
.school-card:hover p {
    color: var(--text-light);
}
/* Why Attend Section */
.reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    text-align: left;
}
.reason {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}
.reason:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
}
.reason h3 { font-size: 1.3rem; color: var(--accent-color); margin-bottom: 0.75rem; }
.reason p { font-size: 1rem; margin: 0; max-width: none; color: var(--text-muted); line-height: 1.6; }
/* Final CTA Section (Glassmorphism) */
#cta {
    padding: 0;
    background: transparent;
    margin-bottom: 4rem; /* MODIFICATION : Ajout de la marge inférieure */
}
#cta .container {
    background: rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--border-radius);
    padding: 4rem 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}
#cta .container p {
    margin: 1.5rem auto 2rem auto;
    max-width: 600px;
    color: rgba(255,255,255,0.9);
}
/* Footer */
footer {
    background: #000;
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
}
footer p { margin-bottom: 1rem; }
footer ul { list-style: none; display: flex; justify-content: center; gap: 1.5rem; }
footer a { color: var(--text-muted); text-decoration: none; transition: all 0.3s ease; }
footer a:hover { color: var(--accent-color); }
/* Scroll Top & Loader */
#scroll-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: var(--dark-bg);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 100;
    display: none;
    opacity: 0;
    visibility: hidden;
}
.loader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--dark-bg); z-index: 10000;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.5s ease;
}
.loader::after {
    content: ''; width: 30px; height: 30px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.loader-hidden { opacity: 0; pointer-events: none; }
/* Responsive Styles */
@media (max-width: 768px) {
    .container { padding-left: 1rem; padding-right: 1rem; }
    header {
        padding: 1rem;
        flex-direction: column;
        align-items: center;
    }
    .desktop-nav { display: none; }
    .logo-container {
        justify-content: center;
        width: 100%;
    }
    
    .menu-icon {
        display: none;
    }
    
    .mobile-menu-icon {
        display: flex; 
    }
    .mobile-nav {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--dark-bg);
        z-index: 999;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    }
    .mobile-nav ul { list-style: none; text-align: center; }
    .mobile-nav ul li { margin: 1.5rem 0; }
    .mobile-nav ul li a { color: var(--text-light); text-decoration: none; font-size: 1.5rem; font-family: var(--font-heading); }
    
    /* MODIFICATION : Correction des sélecteurs pour l'animation du menu */
    .menu-toggle:checked ~ .mobile-nav { transform: translateX(0); }
    .menu-toggle:checked ~ .mobile-menu-icon span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle:checked ~ .mobile-menu-icon span:nth-child(2) { opacity: 0; }
    .menu-toggle:checked ~ .mobile-menu-icon span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    section { padding-top: 4rem; padding-bottom: 4rem; }
    #hero { padding: 8rem 1rem 4rem 1rem; min-height: 90vh; }
    
    /* MODIFICATION : Mise en colonne de la section lieu */
    .venue-wrapper { 
        flex-direction: column; 
        gap: 2rem;
    }
    
    /* Optimisation mobile pour les logos d'école */
    .schools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .school-card {
        height: 180px;
        padding: 1rem;
    }
    
    .school-logo {
        height: 110px;
        padding: 6px;
    }
    
    .school-card h3 {
        font-size: 0.9rem;
    }

    .partners-content h2 { font-size: 1.5rem; }
    .carousel-logo { height: 35px; margin: 0 20px; }
}
@media (max-width: 480px) {
    .logo-text { display: none; }
    #countdown { flex-wrap: wrap; gap: 1rem; transform: scale(0.9); }
    #countdown div { padding: 0.8rem; min-width: 70px; }
    #countdown span { font-size: 2rem; }
    section h2 { font-size: 1.8rem; }
    
    #hero h1 {
        font-size: clamp(2.2rem, 8vw, 4rem);
        margin-bottom: 1rem;
    }
    
    #hero .hero-edition-green {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
        letter-spacing: 1px;
    }
    
    #hero .hero-date-main {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Optimisation supplémentaire pour les très petits écrans */
    .schools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .school-card {
        height: 160px;
        padding: 0.8rem;
    }
    
    .school-logo {
        height: 90px;
        margin-bottom: 0.3rem;
    }
    
    .school-card h3 {
        font-size: 0.8rem;
    }
}