* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: #000;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: transparent; /* On rend le body transparent pour voir la div derrière */
    color: #fff;
    line-height: 1.8;
    overflow-x: hidden;
    font-size: 1.2rem; /* Texte de base plus grand */
    font-weight: 400; /* Meilleure lisibilité */
}

/* Badges TL;DR */
.tldr-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.tldr-badge {
    background: rgba(204, 172, 0, 0.1);
    border: 1px solid #ccac00;
    color: #ccac00;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 1px;
}

/* Animations de révélation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(179, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Animation Burger */
.burger.toggle span:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
.burger.toggle span:nth-child(2) { opacity: 0; }
.burger.toggle span:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }

.nav-logo {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    letter-spacing: 2px;
}

.nav-logo span {
    color: #fff;
    animation-duration: 4s; /* Vitesse lente et élégante */
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

/* On définit quel span reçoit quelle animation pour créer le mouvement de va-et-vient */
.nav-logo span:nth-child(1) { animation-name: k2000-left; }
.nav-logo span:nth-child(2) { animation-name: k2000-mid; }
.nav-logo span:nth-child(3) { animation-name: k2000-right; }

/* Animation Knight Rider : Rouge à 0% (K), 25% (M), 50% (A), 75% (M), 100% (K) */
@keyframes k2000-left { 
    0%, 100% { color: #b30000; text-shadow: 0 0 8px rgba(179, 0, 0, 0.5); } 
    25%, 50%, 75% { color: #fff; text-shadow: none; } 
}
@keyframes k2000-mid { 
    0%, 50%, 100% { color: #fff; text-shadow: none; } 
    25%, 75% { color: #b30000; text-shadow: 0 0 8px rgba(179, 0, 0, 0.5); } 
}
@keyframes k2000-right { 
    0%, 25%, 75%, 100% { color: #fff; text-shadow: none; } 
    50% { color: #b30000; text-shadow: 0 0 8px rgba(179, 0, 0, 0.5); } 
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.2rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.main-nav a:hover { color: #ccac00; }

/* Background Parallax */
.background-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000; /* Le noir est ici, tout au fond */
    background-image: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)), url('img/background.jpg'); 
    background-size: contain; /* L'image s'adapte sans être coupée */
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -1;
}

header {
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: transparent;
}

.logo {
    font-family: 'Bebas Neue', cursive;
    font-size: 8rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    line-height: 1;
    margin-bottom: 0;
}

.logo span {
    color: #ccac00; /* Jaune/Or assombri */
}

.slogan {
    font-size: 1.8rem;
    font-style: italic;
    margin: 10px 0 40px 0;
}

.cta-header {
    font-family: 'Bebas Neue', cursive;
    background: #b30000;
    color: #fff;
    padding: 18px 45px;
    text-decoration: none;
    font-size: 1.6rem;
    letter-spacing: 2px;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid #b30000;
    display: inline-block;
}

.cta-header:hover {
    background: transparent;
    border-color: #ccac00;
    color: #ccac00;
    transform: scale(1.05);
}

/* Blocks de contenu */
.content-block {
    max-width: 1000px;
    margin: 0 auto;
    padding: 150px 40px; /* Plus d'espace pour isoler les blocs au scroll */
    min-height: 40vh;
    background: transparent;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-margin-top: 100px; /* Évite que le titre soit caché par la nav fixe */
}

.content-block:hover {
    transform: translateY(-5px);
}

h1, h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 4.5rem;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 50px;
    position: relative;
}

h1 i, h2 i {
    color: #ccac00;
    margin-right: 15px;
    font-size: 0.8em;
}

h1::after, h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #b30000;
    margin: 15px auto 0;
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(179, 0, 0, 0.3);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: #ccac00;
    transform: translateY(-10px);
    background: rgba(179, 0, 0, 0.05);
}

.pricing-card h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
    color: #ccac00;
    margin-bottom: 10px;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: #fff;
}

/* Onboarding Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}
.step-item i {
    font-size: 3rem;
    color: #b30000;
    margin-bottom: 15px;
}

/* Horaires Grid */
.horaires-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.horaire-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(179, 0, 0, 0.3);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.horaire-item:hover {
    border-color: #ccac00;
    transform: translateY(-5px);
    background: rgba(179, 0, 0, 0.05);
}

.horaire-item h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    color: #ccac00;
    margin-bottom: 10px;
}

.horaire-item p {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0;
}

.alert-box {
    border: 2px solid #b30000;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
    background: rgba(179, 0, 0, 0.05);
}

p, ul {
    margin-bottom: 20px;
}

ul {
    list-style: none;
}

ul li::before {
    content: "• ";
    color: #ccac00; /* Puces jaunes */
    font-weight: bold;
}

.warning {
    color: #ff4444;
    font-weight: bold;
    text-transform: uppercase;
}

/* Carte interactive */
.map-container {
    width: 100%;
    height: 350px;
    margin: 20px 0;
    border: 2px solid #333;
    border-radius: 8px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

.btn-gps {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #b30000;
    color: #fff;
    text-decoration: none;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-gps:hover {
    background: #b30000;
    border-color: #ccac00;
}

/* Slider */
.slider-container {
    position: relative;
    margin: 20px 0;
    height: auto;
    aspect-ratio: 4 / 3; /* Force le ratio de tes photos 4032x3024 */
    max-height: 600px; /* Limite la hauteur sur les très grands écrans */
    overflow: hidden;
    border: 2px solid #333;
    background-color: #000;
}

.slide {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Affiche l'image ENTIÈRE sans la couper */
    display: none;
}

.slide.active {
    display: block;
}

button.prev, button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(179, 0, 0, 0.7); /* Boutons rouge sombre */
    border: none;
    color: white;
    padding: 10px;
    cursor: pointer;
}

.next { right: 0; border-radius: 5px 0 0 5px; }
.prev { left: 0; border-radius: 0 5px 5px 0; }

/* Formulaire */
.form-group {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

input, textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(179, 0, 0, 0.3);
    color: #fff;
    border-radius: 5px;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ccac00;
    outline: none;
    box-shadow: 0 0 10px rgba(204, 172, 0, 0.2);
}

input:invalid:not(:placeholder-shown) {
    border-color: #ff4444;
}

.anti-spam {
    margin: 15px 0;
    text-align: left;
}

.error-msg {
    color: #ff4444;
    font-size: 0.9rem;
    display: none;
    margin-top: 5px;
}

/* Feedback du formulaire (Envoi mail) */
.form-feedback {
    margin-top: 15px;
    padding: 12px;
    border-radius: 5px;
    display: none;
    font-size: 0.95rem;
    text-align: center;
}

.form-feedback.success {
    display: block;
    border: 1px solid #2ecc71;
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

.form-feedback.error {
    display: block;
    border: 1px solid #ff4444;
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
}

.btn-submit, .btn {
    display: inline-block;
    background: #b30000; /* Boutons rouges */
    color: #fff;
    padding: 18px 35px; /* Boutons plus gros et tactiles */
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 10px;
}

.btn:hover, .btn-submit:hover {
    background: #ccac00; /* Transition vers le jaune au survol */
    color: #000;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.social-item {
    color: #fff;
    text-decoration: none;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.4rem;
    letter-spacing: 1px;
    padding: 12px 25px;
    border: 1px solid rgba(179, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-item i {
    color: #ccac00;
    font-size: 1.3rem;
}

.social-item:hover {
    border-color: #b30000;
    background: rgba(179, 0, 0, 0.1);
    transform: translateY(-5px);
    color: #ccac00;
}

footer {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Bannière d'annonce dynamique */
.announcement-banner {
    background: linear-gradient(90deg, #ccac00, #ffd700);
    color: #000;
    padding: 6px 20px; /* Réduit encore le padding vertical */
    text-align: center;
    position: relative;
    z-index: 1001; /* Au-dessus de la nav */
    line-height: 1.1; /* Réduit encore plus l'interligne */
    font-size: 1.1rem; /* On diminue légèrement la taille */
    white-space: pre-wrap; /* Respecte les retours à la ligne et les espaces */
    margin-top: 80px; /* Pour apparaître sous la nav fixe ou au-dessus du contenu */
    font-weight: 600;
    border-bottom: 2px solid #b30000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.announcement-container i {
    margin-right: 10px;
    color: #b30000;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .logo { font-size: 4rem; }
    
    .burger { display: block; }
    
    .nav-links {
        position: absolute;
        right: 0px;
        height: 100vh;
        top: 0;
        background-color: rgba(0, 0, 0, 0.95);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 70%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        gap: 40px;
        backdrop-filter: blur(15px);
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .nav-links a { font-size: 1.8rem; }

    .nav-container { padding: 0 20px; }
    
    .content-block { 
        padding: 60px 20px;
        min-height: 50vh; 
    }
    .form-group { flex-direction: column; gap: 10px; }
    .cta-header { font-size: 1.2rem; padding: 12px 25px; }
    .map-links { flex-direction: column; }
    .social-links { flex-direction: column; align-items: stretch; }
}