body {
    overflow-x: hidden; /* Évite le scroll horizontal */
    padding-top: 0;
}

/* --- HERO SECTION (Vidéo) --- */
.hero {
    position: relative;
    height: 100vh; /* Plein écran */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 90px;
    padding-bottom: 60px;
}

.overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Assombrit la vidéo pour le texte */
    z-index: -1;
}

.hero-content {
    z-index: 1;
    width: min(1200px, 100%);
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 40px;
    animation: fadeInUp 1s ease-out;
}

.hero-media {
    flex: 1;
    min-width: 280px;
}

.hero-media video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    display: block;
    cursor: pointer;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero h2 {
    font-size: 1.5rem;
    letter-spacing: 3px;
    color: var(--text-white);
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 4rem; /* Très grand titre */
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #ddd;
}

/* --- STATS SECTION --- */
.stats-bar {
    background: var(--bg-card);
    padding: 40px 5%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    border-bottom: 1px solid #333;
    text-align: center;
}

.stat-item { margin: 10px; min-width: 150px; }
.stat-num { display: block; font-size: 2.5rem; color: var(--primary-yellow); font-family: var(--font-title); font-weight: bold; }
.stat-label { font-size: 1rem; text-transform: uppercase; color: #aaa; }

/* --- SERVICES (Univers) --- */
.section-padding { padding: 80px 5%; }

.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 10px; }
.section-header p { color: var(--text-gray); max-width: 600px; margin: 0 auto; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background: #222;
    height: 300px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    group: pointer;
    transition: 0.3s;
    border: 1px solid #333;
    display: block;
}

/* Images placeholder - À remplacer par vos images réelles */
.bg-muscu { background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.15)), url('../img/home_cardio.png') center/cover; }
.bg-cours { background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.9)), url('../img/cours_collectifs.png') center/cover; }
.bg-cross { background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.9)), url('../img/cross_training.png') center/cover; }
.bg-aqua { background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.9)), url('../img/aquagym.png') center/cover; }

.service-card:hover { transform: translateY(-5px); border-color: var(--primary-yellow); }

.card-content {
    position: absolute;
    bottom: 0;
    padding: 20px;
    width: 100%;
}

.card-content h3 { font-size: 1.5rem; margin-bottom: 5px; color: white; }
.card-content p { font-size: 0.9rem; color: #ccc; }

/* --- WHY US (Pourquoi Adrigym) --- */
.why-us-section {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 50px;
    background: linear-gradient(45deg, #111, #1a1a1a);
}

.why-text { text-align: center; }
.why-image,
.why-app { text-align: center; }
.why-image img,
.why-app img { max-height: 420px; width: auto; filter: drop-shadow(0 0 20px rgba(255,215,0,0.2)); }

.why-app p {
    margin-top: 12px;
    color: #bbb;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.feature-item {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    text-align: center;
    color: #ddd;
    gap: 10px;
}

.feature-item::before {
    content: "✓";
    color: var(--primary-yellow);
    font-weight: bold;
}

/* --- CLUBS (Locations) --- */
.clubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.club-card {
    background: var(--bg-card);
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #333;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.club-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

.club-card > * {
    position: relative;
    z-index: 1;
}

.club-fes {
    background: url('../img/fes.png') center/cover;
}

.club-meknes {
    background: url('../img/meknes.png') center/cover;
}

.club-tanger {
    background: url('../img/tanger.png') center/cover;
}

.club-card:hover { border-color: var(--primary-yellow); }
.club-card h3 { font-size: 1.8rem; margin-bottom: 10px; }
.club-info { color: #888; font-size: 0.9rem; margin-bottom: 20px; }

/* --- CTA BANNER --- */
.cta-banner {
    background: linear-gradient(90deg, #333, #000);
    text-align: center;
    padding: 80px 20px;
    border-top: 3px solid var(--primary-yellow);
}

/* --- ANIMATION --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .why-us-section { grid-template-columns: 1fr; text-align: center; }
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero {
        height: auto;
        padding-top: 60px;
        padding-bottom: 80px;
    }
}

@media (max-width: 900px) {
    .hero {
        height: auto;
        padding-top: 60px;
        padding-bottom: 80px;
    }
}
