/* --- VARIABLES ET THÈME --- */
:root {
    --black: #0a0a0a;
    --white: #ffffff;
    --neon-green: #ccff00; /* Couleur énergie sport */
    --gray: #1a1a1a;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--black);
    color: var(--white);
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3 { 
    font-family: 'Montserrat', sans-serif; 
    text-transform: uppercase; 
}

/* --- NAVIGATION --- */
.navbar {
    display: flex;
    justify-content: space-between;
    padding: 2rem 5%;
    align-items: center;
    position: absolute;
    width: 100%;
    z-index: 10;
}

.logo { 
    font-weight: 900; 
    font-size: 1.5rem; 
    letter-spacing: 2px; 
}

.logo span { color: var(--neon-green); }

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

.nav-links a { 
    text-decoration: none; 
    color: white; 
    font-weight: 500; 
    font-size: 0.9rem; 
    transition: 0.3s;
}

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

.btn-nav {
    border: 1px solid var(--neon-green);
    padding: 0.5rem 1.2rem;
    color: var(--neon-green) !important;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    /* L'image gym.jpg est appelée dans le HTML */
}

.hero h1 { 
    font-size: clamp(3rem, 10vw, 5rem); 
    line-height: 0.9; 
    margin-bottom: 2rem; 
}

.outline {
    color: transparent;
    -webkit-text-stroke: 1px var(--white);
}

.hero p { 
    max-width: 500px; 
    font-size: 1.2rem; 
    color: #bbb; 
    margin-bottom: 3rem; 
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-main {
    background: var(--neon-green);
    color: var(--black);
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    font-weight: 900;
    transition: 0.3s;
}

.btn-main:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(204, 255, 0, 0.4);
}

.btn-sub {
    border: 1px solid var(--white);
    color: var(--white);
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    font-weight: 700;
}

/* --- STATS SECTION --- */
.stats-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 6rem 5%;
    background: var(--gray);
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-card { text-align: center; }

.stat-card h2 { 
    color: var(--neon-green); 
    font-size: 3.5rem; 
}

.stat-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 2px solid var(--neon-green);
}

/* --- PROGRAMMES --- */
.programs { 
    padding: 8rem 5%; 
    text-align: center; 
}

.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2.5rem; 
}

.p-card {
    border: 1px solid #222;
    padding: 2rem;
    background: #0f0f0f;
    transition: 0.4s ease;
    text-align: left;
}

.p-card:hover { 
    border-color: var(--neon-green); 
    transform: translateY(-10px);
}

.p-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 2px;
    margin-bottom: 1.5rem;
    filter: grayscale(100%);
    transition: 0.5s ease;
}

.p-card:hover .p-img { filter: grayscale(0%); }

.p-card h3 { 
    margin-bottom: 1rem; 
    color: var(--neon-green); 
    font-size: 1.5rem;
}

/* --- VISUAL BREAK --- */
.visual-break {
    display: flex;
    height: 400px;
    width: 100%;
}

.visual-break img {
    width: 50%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
    transition: 0.5s;
}

/* --- CONTACT --- */
.contact { 
    padding: 8rem 5%; 
    display: flex; 
    justify-content: center; 
}

.contact-box { 
    background: var(--gray); 
    padding: 4rem; 
    width: 100%; 
    max-width: 600px; 
}

form { 
    display: flex; 
    flex-direction: column; 
    gap: 1.2rem; 
}

input, select { 
    padding: 1.2rem; 
    background: #111; 
    border: 1px solid #333; 
    color: white; 
}

.btn-submit { 
    background: var(--neon-green); 
    border: none; 
    padding: 1.2rem; 
    font-weight: 900; 
    cursor: pointer; 
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .visual-break { height: 200px; }
    .contact-box { padding: 2rem; }
}
