:root {
    --red: #E3232A;
    --red-dark: #B71C1C;
    --dark: #000000;
    --dark-2: #0A0A0A;
    --dark-3: #141414;
    --dark-4: #1E1E1E;
    --gray: #888;
    --gray-light: #E5E5E5;
    --white: #F5F5F5;
    --white-pure: #FFFFFF;
    --yellow: #00CFEA;
    --green: #00CFEA;
    --cyan: #00CFEA;
    --text-color: #333333;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Jost', 'Futura', sans-serif;
    background-color: var(--dark);
    background-image: url('img/piste-aerienne.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

h1, h2, h3, h4 {
    font-family: 'Orbitron', 'Bank Gothic', sans-serif;
    letter-spacing: 0.05em;
    line-height: 1.1;
    text-transform: uppercase;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* ---- WELCOME MODAL ---- */
.welcome-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.welcome-modal.hidden {
    display: none;
}

.welcome-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(1px);
}

.welcome-content {
    position: relative;
    background: var(--dark-2);
    border: 1px solid rgba(0, 207, 234, 0.2);
    border-radius: 4px;
    padding: 48px 40px;
    max-width: 520px;
    width: 100%;
    text-align: center;
    box-shadow: 0 0 40px rgba(0, 207, 234, 0.1);
}

.welcome-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--gray);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.2s;
}

.welcome-close:hover {
    color: var(--white);
}

.welcome-content h2 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--white-pure);
    text-shadow: 0 0 15px rgba(0, 207, 234, 0.3);
}

.welcome-content p {
    font-size: 15px;
    color: var(--gray-light);
    margin-bottom: 12px;
    line-height: 1.6;
}

.welcome-socials {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 24px 0;
}

.welcome-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white-pure);
    transition: all 0.25s;
}

.welcome-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.welcome-fb { background: #1877F2; }
.welcome-fb:hover { background: #0d65d9; }
.welcome-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.welcome-ig:hover { background: linear-gradient(45deg, #e6683c, #dc2743, #cc2366, #bc1888, #9b1694); }
.welcome-wa { background: #25D366; }
.welcome-wa:hover { background: #1DA851; }

.welcome-enter {
    margin-top: 8px;
    width: 100%;
}

@media (max-width: 600px) {
    .welcome-content {
        padding: 32px 24px;
    }
    .welcome-content h2 {
        font-size: 20px;
    }
}

/* ---- NAV ---- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0.1em;
    color: var(--white);
    text-shadow: 0 0 10px rgba(0, 207, 234, 0.5);
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-light);
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-live {
    display: flex !important;
    align-items: center;
    gap: 6px;
}

.nav-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    display: inline-block;
    animation: navLivePulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(227, 35, 42, 0.6);
}

@keyframes navLivePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 4px rgba(227, 35, 42, 0.6); }
    50% { opacity: 0.3; box-shadow: 0 0 12px rgba(227, 35, 42, 0.9); }
}

.nav-chrono {
    color: var(--cyan) !important;
    font-weight: 700 !important;
    text-shadow: 0 0 8px rgba(0, 207, 234, 0.5);
}

.nav-chrono:hover {
    text-shadow: 0 0 16px rgba(0, 207, 234, 0.8);
}

.btn-nav {
    background: var(--red);
    color: var(--white-pure) !important;
    padding: 10px 20px;
    border-radius: 6px;
    transition: background 0.2s !important;
}

.btn-nav:hover {
    background: var(--red-dark) !important;
}

.nav-socials {
    display: flex;
    gap: 8px;
    margin-left: 12px;
}

.nav-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--gray-light);
    transition: all 0.25s;
}

.nav-social:hover {
    color: var(--white-pure);
    transform: translateY(-2px);
}

.nav-social:first-child:hover {
    background: #1877F2;
}

.nav-social:nth-child(2):hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.nav-social:last-child:hover {
    background: #25D366;
}

/* ---- SOCIAL FLOAT ---- */
.social-float {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.social-float-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    color: var(--white-pure);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s;
    overflow: hidden;
    width: 50px;
}

.social-float-btn span {
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.3s;
}

.social-float-btn:hover {
    width: 160px;
}

.social-float-btn:hover span {
    opacity: 1;
}

.social-float-btn svg {
    flex-shrink: 0;
}

.social-fb {
    background: #1877F2;
    border-radius: 0 8px 0 0;
}

.social-fb:hover {
    background: #0d65d9;
}

.social-ig {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-ig:hover {
    background: linear-gradient(45deg, #e6683c, #dc2743, #cc2366, #bc1888, #9b1694);
}

.social-wa {
    background: #25D366;
    border-radius: 0 0 8px 0;
}

.social-wa:hover {
    background: #1DA851;
}

@media (max-width: 1024px) {
    .social-float {
        display: none;
    }
    .nav-socials {
        margin-left: 0;
        justify-content: center;
    }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: 0.3s;
}

/* ---- HERO ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dark);
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.55);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(227, 35, 42, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 207, 234, 0.15) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.08) 2px,
        rgba(0, 0, 0, 0.08) 4px
    );
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 24px;
}

.hero-content h1 {
    font-size: clamp(48px, 10vw, 120px);
    color: var(--white-pure);
    margin-bottom: 24px;
    text-shadow: 0 0 40px rgba(0, 207, 234, 0.4), 0 0 80px rgba(227, 35, 42, 0.3);
    letter-spacing: 0.12em;
}

.hero-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(16px, 2vw, 20px);
    color: var(--gray-light);
    max-width: 600px;
    margin: 0 auto 40px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.25s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--red);
    color: var(--white-pure);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 0.1em;
    border: 2px solid var(--red);
}

.btn-primary:hover {
    background: transparent;
    color: var(--red);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(227, 35, 42, 0.5), inset 0 0 20px rgba(227, 35, 42, 0.1);
}

.btn-outline {
    background: transparent;
    color: var(--cyan);
    border: 2px solid var(--cyan);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.btn-outline:hover {
    background: var(--cyan);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 207, 234, 0.5);
}

.btn-full {
    width: 100%;
}

/* ---- WEATHER WIDGET ---- */
.hero-weather {
    position: absolute;
    top: 120px;
    right: 32px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px 22px;
}

.weather-icon {
    font-size: 36px;
    line-height: 1;
}

.weather-data {
    display: flex;
    flex-direction: column;
}

.weather-temp {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    line-height: 1;
    color: var(--white-pure);
}

.weather-desc {
    font-size: 13px;
    color: var(--gray-light);
}

.weather-detail {
    font-size: 11px;
    color: var(--gray);
    margin-top: 2px;
}

.weather-location {
    writing-mode: vertical-rl;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding-left: 14px;
}

@media (max-width: 1024px) {
    .hero-weather {
        top: auto;
        bottom: 100px;
        right: 16px;
        left: 16px;
        justify-content: center;
    }
    .weather-location {
        writing-mode: horizontal-tb;
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-top: 8px;
    }
}

.hero-scroll {
    z-index: 3;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero-scroll span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gray), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ---- SECTIONS ---- */
.section {
    padding: 60px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--cyan);
    margin-bottom: 12px;
    text-shadow: 0 0 10px rgba(0, 207, 234, 0.5);
}

.section-header h2 {
    font-size: clamp(32px, 5vw, 56px);
    color: var(--white-pure);
    text-shadow: 0 0 20px rgba(0, 207, 234, 0.3);
}

.section-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: var(--gray-light);
    margin-top: 12px;
    letter-spacing: 0.05em;
}

/* ---- CIRCUIT ---- */
.section-circuit {
    background: rgba(20, 20, 20, 0.85);
}

.circuit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.circuit-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat {
    background: var(--dark-3);
    border: 1px solid rgba(0, 207, 234, 0.2);
    border-radius: 4px;
    padding: 28px;
    text-align: center;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.stat:hover {
    border-color: rgba(0, 207, 234, 0.5);
    box-shadow: 0 0 15px rgba(0, 207, 234, 0.15);
}

.stat-number {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    color: var(--cyan);
    line-height: 1;
    text-shadow: 0 0 15px rgba(0, 207, 234, 0.5);
}

.stat-label {
    font-size: 13px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.circuit-description p {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 16px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.circuit-features {
    list-style: none;
    margin-top: 24px;
}

.circuit-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--white);
    font-size: 15px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.circuit-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

/* ---- CHRONO BANNER ---- */
.chrono-banner {
    margin-top: 60px;
    background: linear-gradient(135deg, var(--dark-3) 0%, rgba(227, 35, 42, 0.1) 100%);
    border: 1px solid rgba(227, 35, 42, 0.25);
    border-radius: 16px;
    padding: 32px 40px;
}

.chrono-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.chrono-banner-text {
    display: flex;
    align-items: center;
    gap: 20px;
}

.chrono-icon {
    font-size: 48px;
}

.chrono-banner h3 {
    font-size: 28px;
    color: var(--white-pure);
    margin-bottom: 2px;
}

.chrono-banner p {
    font-size: 15px;
    color: var(--gray-light);
}

.chrono-embed {
    margin-top: 24px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(0, 207, 234, 0.15);
}

.chrono-embed iframe {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
    background: var(--dark-2);
}

@media (max-width: 600px) {
    .chrono-embed iframe {
        height: 350px;
    }
    .chrono-banner {
        padding: 24px;
    }
    .chrono-banner-content {
        flex-direction: column;
        text-align: center;
    }
    .chrono-banner-text {
        flex-direction: column;
    }
}

/* ---- KARTS ---- */
.section-karts {
    background: rgba(10, 10, 10, 0.88);
}

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

.kart-card {
    background: var(--dark-2);
    border: 1px solid rgba(0, 207, 234, 0.15);
    border-radius: 4px;
    padding: 36px 28px;
    text-align: center;
    position: relative;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.kart-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 207, 234, 0.4);
    box-shadow: 0 0 20px rgba(0, 207, 234, 0.15);
}

.kart-card.featured {
    border-color: var(--red);
    background: linear-gradient(180deg, rgba(227, 35, 42, 0.12) 0%, var(--dark-2) 100%);
    box-shadow: 0 0 20px rgba(227, 35, 42, 0.15);
}

.kart-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--red);
    color: var(--white-pure);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 16px;
    border-radius: 20px;
}

.kart-img {
    width: calc(100% + 56px);
    height: 200px;
    object-fit: cover;
    object-position: center 40%;
    border-radius: 12px 12px 0 0;
    margin: -36px -28px 20px -28px;
}

.kart-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.kart-card h3 {
    font-size: 28px;
    margin-bottom: 4px;
}

.kart-spec {
    font-size: 13px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    min-height: 36px;
}

.kart-card ul {
    list-style: none;
    margin-bottom: 24px;
}

.kart-card li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--gray-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.kart-card li:last-child {
    border: none;
}

.kart-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 40px;
    color: var(--white-pure);
}

.kart-price small {
    font-size: 18px;
    color: var(--gray);
}

/* ---- TARIFS ---- */
.section-tarifs {
    background: rgba(20, 20, 20, 0.85);
}

.tarifs-subtitle {
    font-size: 17px;
    color: var(--gray-light);
    margin-bottom: 40px;
    text-align: center;
}

.tarifs-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.tarif-card {
    background: var(--dark-3);
    border-radius: 4px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.tarif-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 15px rgba(0, 207, 234, 0.1);
}

.tarif-adulte {
    border-top: 3px solid var(--red);
    box-shadow: 0 -2px 10px rgba(227, 35, 42, 0.2);
}

.tarif-biplace {
    border-top: 3px solid var(--cyan);
    box-shadow: 0 -2px 10px rgba(0, 207, 234, 0.2);
}

.tarif-enfant {
    border-top: 3px solid var(--cyan);
    box-shadow: 0 -2px 10px rgba(0, 207, 234, 0.2);
}

.tarif-card h3 {
    font-size: 28px;
    margin-bottom: 4px;
}

.tarif-condition {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 24px;
}

.tarif-block {
    margin-bottom: 20px;
}

.tarif-block h4 {
    font-size: 15px;
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    color: var(--gray-light);
    margin-bottom: 10px;
    letter-spacing: 0;
}

.tarif-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 14px;
    color: var(--gray-light);
}

.tarif-row strong {
    color: var(--white-pure);
    font-size: 16px;
}

.tarif-row small {
    font-size: 12px;
    color: var(--gray);
}

.tarif-promo {
    background: rgba(0, 230, 118, 0.06);
    border-radius: 6px;
    padding: 8px 10px;
    border: none;
}

.tarif-promo strong {
    color: var(--green);
}

.tarifs-rules {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 48px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.rule {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px 24px;
    font-size: 14px;
    color: var(--gray-light);
}

.rule strong {
    color: var(--white-pure);
}

@media (max-width: 1024px) {
    .tarifs-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 40px;
    }
}

.tarifs-note {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--gray);
}

/* ---- LIVE CAMERA ---- */
.section-live {
    background: rgba(10, 10, 10, 0.88);
}

.live-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: start;
}

.live-player {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background: var(--dark-3);
    border: 1px solid rgba(0, 207, 234, 0.2);
    box-shadow: 0 0 15px rgba(0, 207, 234, 0.1);
}

.live-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--white-pure);
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(227, 35, 42, 0.6); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(227, 35, 42, 0); }
}

#live-video {
    width: 100%;
    aspect-ratio: 16/9;
    display: none;
    background: #000;
}

#live-video::-webkit-media-controls {
    display: none !important;
}

.live-fullscreen {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: var(--white-pure);
    font-size: 22px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.live-fullscreen:hover {
    background: rgba(227, 35, 42, 0.8);
}

.live-offline {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-3) 0%, var(--dark-4) 100%);
}

.live-placeholder {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-3) 0%, var(--dark-4) 100%);
}

.live-placeholder-content {
    text-align: center;
}

.live-placeholder-icon {
    font-size: 64px;
    display: block;
    margin-bottom: 16px;
    opacity: 0.5;
}

.live-placeholder p {
    font-size: 18px;
    color: var(--gray-light);
}

.live-placeholder-sub {
    font-size: 14px !important;
    color: var(--gray) !important;
    margin-top: 4px;
}

.live-player iframe,
.live-player video {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
}

.live-info {
    padding: 32px;
    background: var(--dark-2);
    border: 1px solid rgba(0, 207, 234, 0.15);
    border-radius: 4px;
}

.live-info h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.live-info p {
    font-size: 15px;
    color: var(--gray-light);
    margin-bottom: 24px;
}

.live-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.live-detail {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.live-detail strong {
    color: var(--gray);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.live-detail span {
    color: var(--white);
    font-weight: 500;
}

/* ---- ECOLE ---- */
.section-ecole {
    background: rgba(20, 20, 20, 0.85);
}

.ecole-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}

.ecole-text p {
    font-size: 16px;
    color: var(--gray-light);
    margin-bottom: 24px;
}

.ecole-text ul {
    list-style: none;
    margin-bottom: 32px;
}

.ecole-text li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 15px;
    color: var(--gray-light);
}

.ecole-text li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: 700;
}

.ecole-highlights {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.highlight {
    background: var(--dark-3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}

.ecole-cta {
    margin-top: 20px;
    font-style: italic;
    color: var(--gray-light);
}

.ecole-contact {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ecole-contact p {
    margin-bottom: 12px;
}

.highlight-number {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 56px;
    color: var(--cyan);
    line-height: 1;
    text-shadow: 0 0 20px rgba(0, 207, 234, 0.5);
}

.highlight-label {
    font-size: 14px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---- KART 2T ---- */
.section-2t {
    background: rgba(20, 20, 20, 0.85);
}

.section-2t-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}

.section-2t-text p {
    font-size: 16px;
    color: var(--gray-light);
    margin-bottom: 16px;
}

.section-2t-text ul {
    list-style: none;
    margin: 24px 0;
}

.section-2t-text li {
    padding: 10px 0;
    font-size: 15px;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.championnat-card {
    background: linear-gradient(135deg, rgba(227, 35, 42, 0.1) 0%, var(--dark-3) 100%);
    border: 1px solid rgba(227, 35, 42, 0.25);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
}

.championnat-card h3 {
    font-size: 24px;
    color: var(--white-pure);
    margin-bottom: 12px;
}

.championnat-card p {
    font-size: 14px;
    color: var(--gray-light);
    margin-bottom: 12px;
}

.championnat-card ul {
    list-style: none;
}

.championnat-card li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    color: var(--gray-light);
}

.championnat-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--red);
}

.section-2t-cta {
    background: var(--dark-3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
}

.section-2t-cta p {
    font-size: 15px;
    color: var(--gray-light);
    margin-bottom: 12px;
}

@media (max-width: 1024px) {
    .section-2t-content {
        grid-template-columns: 1fr;
    }
}

/* ---- ANNIVERSAIRES ---- */
.anniv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.anniv-card {
    background: var(--dark-2);
    border: 1px solid rgba(0, 207, 234, 0.12);
    border-radius: 4px;
    padding: 36px;
    position: relative;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.anniv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 20px rgba(0, 207, 234, 0.15);
}

.anniv-ado {
    border-top: 3px solid var(--red);
    box-shadow: 0 -2px 10px rgba(227, 35, 42, 0.2);
}

.anniv-junior {
    border-top: 3px solid var(--cyan);
    box-shadow: 0 -2px 10px rgba(0, 207, 234, 0.2);
}

.anniv-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.06);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-light);
    margin-bottom: 16px;
}

.anniv-card h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.anniv-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    color: var(--white-pure);
    display: block;
    margin-bottom: 4px;
}

.anniv-price small {
    font-size: 20px;
    color: var(--gray);
}

.anniv-condition {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 20px;
}

.anniv-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
}

.anniv-card li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 14px;
    color: var(--gray-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.anniv-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

.anniv-card li:last-child {
    border: none;
}

@media (max-width: 1024px) {
    .anniv-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ---- EVENTS ---- */
.section-events {
    background: rgba(10, 10, 10, 0.88);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.event-card {
    background: var(--dark-2);
    border: 1px solid rgba(0, 207, 234, 0.12);
    border-radius: 4px;
    padding: 36px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.event-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 207, 234, 0.4);
    box-shadow: 0 0 20px rgba(0, 207, 234, 0.15);
}

.event-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    margin: -36px -36px 20px -36px;
    width: calc(100% + 72px);
}

.event-card-body h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.event-card-body p {
    font-size: 15px;
    color: var(--gray-light);
    line-height: 1.6;
}

/* ---- CHALLENGES ---- */
.section-challenges {
    background: rgba(20, 20, 20, 0.85);
}

.challenge-sliders {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.challenge-slider-wrapper {
    text-align: center;
}

.challenge-slider-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray);
    margin-bottom: 20px;
}

.challenge-slider-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    max-width: 500px;
    margin: 0 auto;
}

.challenge-range {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: var(--dark-4);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.challenge-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--cyan);
    cursor: pointer;
    box-shadow: 0 0 12px rgba(0, 207, 234, 0.6);
    transition: box-shadow 0.2s;
}

.challenge-range::-webkit-slider-thumb:hover {
    box-shadow: 0 0 24px rgba(0, 207, 234, 0.9);
}

.challenge-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--cyan);
    cursor: pointer;
    border: none;
    box-shadow: 0 0 12px rgba(0, 207, 234, 0.6);
}

.challenge-slider-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    color: var(--cyan);
    min-width: 60px;
    text-align: center;
    text-shadow: 0 0 20px rgba(0, 207, 234, 0.5);
    line-height: 1;
}

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

.challenge-card {
    background: var(--dark-2);
    border: 1px solid rgba(0, 207, 234, 0.12);
    border-radius: 4px;
    padding: 36px;
    position: relative;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.challenge-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 20px rgba(0, 207, 234, 0.15);
}

.challenge-medium {
    border-top: 3px solid var(--cyan);
}

.challenge-big {
    border-top: 3px solid var(--red);
}

.challenge-endurance {
    border-top: 3px solid var(--red);
    background: linear-gradient(180deg, rgba(227, 35, 42, 0.1) 0%, var(--dark-2) 100%);
}

.challenge-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.06);
    padding: 6px 16px;
    border-radius: 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-light);
    margin-bottom: 16px;
}

.challenge-card h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.challenge-price {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    color: var(--white-pure);
    line-height: 1;
    text-shadow: 0 0 15px rgba(0, 207, 234, 0.4);
    margin-bottom: 4px;
    transition: all 0.3s;
}

.challenge-unit {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 16px;
}

.challenge-unit small {
    font-size: 14px;
}

.challenge-condition {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 20px;
}

.challenge-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
}

.challenge-card li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 14px;
    color: var(--gray-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.challenge-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-weight: 700;
}

.challenge-card li:last-child {
    border: none;
}

.challenge-contact {
    text-align: center;
    margin-top: 32px;
    font-size: 15px;
    color: var(--gray);
}

.challenge-contact a {
    color: var(--cyan);
    text-decoration: underline;
}

.challenge-contact a:hover {
    color: var(--white);
}

.endurance-detail {
    display: block;
    font-size: 13px;
    color: var(--gray);
    margin-top: 12px;
}

.challenge-slider-hint {
    display: block;
    font-size: 12px;
    color: var(--gray);
    margin-top: 8px;
    letter-spacing: 0.03em;
}

.challenge-slider-label small {
    font-weight: 400;
    color: var(--gray);
    text-transform: none;
    letter-spacing: 0;
}

@media (max-width: 1024px) {
    .challenge-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    .endurance-result {
        grid-template-columns: 1fr;
    }
}

/* ---- PARTENAIRE ---- */
.section-partenaire {
    background: rgba(10, 10, 10, 0.88);
}

.partenaire-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}

.partenaire-text p {
    font-size: 16px;
    color: var(--gray-light);
    margin-bottom: 16px;
}

.partenaire-text a {
    color: var(--green);
    text-decoration: underline;
}

.partenaire-text a:hover {
    color: var(--white);
}

.partenaire-offre {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.08) 0%, rgba(255, 214, 0, 0.06) 100%);
    border: 1px solid rgba(0, 230, 118, 0.2);
    border-radius: 16px;
    padding: 28px;
    margin: 24px 0;
}

.partenaire-offre h3 {
    font-size: 24px;
    color: var(--white-pure);
    margin-bottom: 12px;
}

.partenaire-offre p {
    margin-bottom: 8px;
}

.partenaire-info {
    margin-top: 24px;
}

.partenaire-info h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--white-pure);
}

.partenaire-info .btn {
    margin-top: 16px;
}

.partenaire-card {
    background: var(--dark-3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
}

.partenaire-emoji {
    font-size: 56px;
    display: block;
    margin-bottom: 20px;
}

.partenaire-card p {
    font-size: 18px;
    color: var(--gray-light);
    margin-bottom: 28px;
    line-height: 1.6;
}

.partenaire-card .btn {
    width: 100%;
}

@media (max-width: 1024px) {
    .partenaire-content {
        grid-template-columns: 1fr;
    }
}

/* ---- HORAIRES ---- */
.section-horaires {
    background: rgba(20, 20, 20, 0.85);
}

.horaires-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.horaire-card {
    background: var(--dark-3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 36px;
}

.horaire-card.highlight-card {
    border-color: var(--red);
    background: linear-gradient(180deg, rgba(227, 35, 42, 0.06) 0%, var(--dark-3) 100%);
}

.horaire-card h3 {
    font-size: 28px;
    margin-bottom: 24px;
}

.horaire-card table {
    width: 100%;
    border-collapse: collapse;
}

.horaire-card td {
    padding: 10px 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.horaire-card td:first-child {
    color: var(--gray);
    font-weight: 500;
}

.horaire-card td:last-child {
    text-align: right;
    color: var(--white);
}

.horaire-extra {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.horaire-extra h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--cyan);
    text-shadow: 0 0 10px rgba(0, 207, 234, 0.4);
}

.horaire-extra p {
    font-size: 14px;
    color: var(--gray-light);
}

/* ---- CONTACT ---- */
.section-contact {
    background: rgba(10, 10, 10, 0.88);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-details {
    margin-top: 32px;
}

.contact-item {
    margin-bottom: 24px;
}

.contact-item strong {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray);
    margin-bottom: 6px;
}

.contact-item p,
.contact-item a {
    font-size: 16px;
    color: var(--gray-light);
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--white);
}

.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.btn-itineraire {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

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

.btn-nav-default {
    background: var(--red);
    color: var(--white-pure);
}

.btn-nav-default:hover {
    background: var(--red-dark);
    box-shadow: 0 6px 20px rgba(227, 35, 42, 0.3);
}

.contact-socials {
    flex-direction: column;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--white-pure);
    transition: all 0.25s;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.social-link-fb {
    background: #1877F2;
}

.social-link-fb:hover {
    background: #0d65d9;
}

.social-link-ig {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link-ig:hover {
    background: linear-gradient(45deg, #e6683c, #dc2743, #cc2366, #bc1888, #9b1694);
}

.social-link-wa {
    background: #25D366;
}

.social-link-wa:hover {
    background: #1DA851;
}

.contact-form-wrapper {
    background: var(--dark-2);
    border: 1px solid rgba(0, 207, 234, 0.15);
    border-radius: 4px;
    padding: 40px;
}

.contact-form h3 {
    font-size: 28px;
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--dark-3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--white);
    font-family: 'Jost', sans-serif;
    font-size: 15px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 8px rgba(0, 207, 234, 0.3);
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--dark-3);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ---- MAP ---- */
.section-map {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.section-map iframe {
    display: block;
}

/* ---- FOOTER ---- */
.footer {
    background: rgba(20, 20, 20, 0.92);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

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

.footer-brand .logo-icon {
    font-size: 24px;
}

.footer-brand .logo-text {
    font-size: 18px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--gray);
    max-width: 300px;
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--white);
}

.footer-links a,
.footer-links p {
    display: block;
    font-size: 14px;
    color: var(--gray);
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.contact-social-intro {
    font-size: 14px;
    color: var(--gray);
    margin-top: 24px;
    margin-bottom: 8px;
}

.footer-social-text {
    margin-top: 20px;
}

.footer-social-text h4 {
    font-size: 14px;
    color: var(--white);
    margin-bottom: 4px;
}

.footer-social-text p {
    font-size: 13px;
    color: var(--gray);
}

.welcome-cta {
    font-style: italic;
    color: var(--cyan) !important;
    margin-top: 8px;
}

.footer-socials {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.footer-socials .welcome-social-btn {
    font-size: 13px;
    padding: 10px 16px;
    border-radius: 4px;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--gray);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        background-color: #000000;
        background-image: none;
        padding: 20px 24px;
        gap: 4px;
        z-index: 999;
        border-bottom: 1px solid rgba(0, 207, 234, 0.2);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        font-size: 16px;
        padding: 8px 0;
    }

    .circuit-grid,
    .ecole-content,
    .contact-grid,
    .horaires-grid,
    .live-container {
        grid-template-columns: 1fr;
    }

    .karts-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .circuit-stats {
        order: 2;
    }

    .circuit-description {
        order: 1;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 40px 0;
    }

    .container {
        padding: 0 16px;
    }

    .circuit-stats {
        grid-template-columns: 1fr 1fr;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 10px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .hero-weather {
        padding: 10px 14px;
        gap: 10px;
        bottom: 30px;
    }

    .weather-temp {
        font-size: 24px;
    }

    .weather-icon {
        font-size: 28px;
    }

    .stat-number {
        font-size: 36px;
    }

    .kart-card, .tarif-card, .anniv-card, .event-card, .challenge-card {
        padding: 20px 16px;
    }

    .kart-img {
        width: calc(100% + 32px);
        margin: -20px -16px 16px -16px;
    }

    .event-img {
        width: calc(100% + 32px);
        margin: -20px -16px 16px -16px;
    }

    .kart-card h3, .anniv-card h3, .challenge-card h3 {
        font-size: 22px;
    }

    .challenge-price {
        font-size: 22px;
    }

    .challenge-slider-value {
        font-size: 28px;
        min-width: 50px;
    }

    .challenge-sliders {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .challenge-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .anniv-price {
        font-size: 36px;
    }

    .chrono-banner {
        padding: 20px 16px;
    }

    .chrono-embed iframe {
        height: 300px;
    }

    .live-container {
        gap: 16px;
    }

    .contact-form-wrapper {
        padding: 24px 16px;
    }

    .welcome-content {
        padding: 24px 16px;
    }

    .welcome-content h2 {
        font-size: 18px;
    }

    .welcome-content p {
        font-size: 13px;
    }

    .footer-grid {
        gap: 24px;
    }
}
