/* =============================================
   VARIABLES & RESET
   ============================================= */
:root {
    --red: #ED0000;
    --blue: #0630FF;
    --yellow: #FFF600;
    --black: #000;
    --white: #fff;
    --grey: #f4f4f4;
    --dark: #111;
    --dark-card: #1a1a1a;
    --text-muted: rgba(255, 255, 255, 0.8);
    --text-muted-dark: rgba(0, 0, 0, 0.45);

    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;

    --header-h: 90px;
    --section-pad: clamp(60px, 8vw, 120px);
    --radius: 4px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

ul {
    list-style: none;
}

/* =============================================
   HEADER
   ============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(20px, 5vw, 30px);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--red);
    z-index: 100;
}

.header__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 75px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.header__logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.header__logo-name {
    font-family: var(--font-display);
    font-size: clamp(18px, 2.2vw, 28px);
    letter-spacing: 0.02em;
    color: var(--black);
}

.header__logo-sub {
    font-size: 11px;
    font-weight: 200;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted-dark);
}

.header__nav {
    display: flex;
    gap: clamp(16px, 3vw, 40px);
    align-items: center;
}

.nav-btn {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    color: var(--black);
    padding: 6px 0;
    position: relative;
    transition: color var(--transition);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nav-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width var(--transition);
}

.nav-btn:hover {
    color: var(--red);
}

.nav-btn:hover::after {
    width: 100%;
}

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

.header__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    transition: var(--transition);
}

/* =============================================
   HERO
   ============================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-h);
}

.hero__bg {
    position: absolute;
    inset: 0;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.65) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(64px, 12vw, 160px);
    line-height: 0.9;
    color: var(--white);
    letter-spacing: 0.02em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* =============================================
   BOUTONS
   ============================================= */
.btn-primary {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 18px 48px;
    border: none;
    cursor: pointer;
    border-radius: var(--radius);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 48, 255, 0.3);
}

/* =============================================
   SECTIONS COMMUNES
   ============================================= */
.section {
    padding: var(--section-pad) clamp(20px, 5vw, 80px);
    scroll-margin-top: var(--header-h);
}

.section--white {
    background: var(--white);
}

.section--grey {
    background: var(--grey);
}

.section--dark {
    background: var(--dark);
}

.section__tag {
    display: inline-block;
    background: var(--yellow);
    color: var(--black);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 2px;
    margin-bottom: 20px;
}

.section__tag--light {
    background: transparent;
    color: var(--yellow);
    border: 1px solid var(--yellow);
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 400;
    letter-spacing: 0.04em;
    margin-bottom: clamp(32px, 5vw, 64px);
    line-height: 1;
}

.section__title--light {
    color: var(--white);
}

/* =============================================
   LE CLUB
   ============================================= */
.club__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.club__text p {
    font-size: clamp(15px, 1.5vw, 18px);
    font-weight: 300;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.75);
}

.club__images {
    position: relative;
    height: 420px;
}

.club__img {
    position: absolute;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.club__img--1 {
    width: 65%;
    height: 70%;
    top: 0;
    right: 0;
}

.club__img--2 {
    width: 55%;
    height: 60%;
    bottom: 0;
    left: 0;
    border: 4px solid var(--white);
}

/* =============================================
   HORAIRES
   ============================================= */
.horaires__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.horaire-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border-top: 4px solid var(--red);
    transition: transform var(--transition), box-shadow var(--transition);
}

.horaire-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(237, 0, 0, 0.12);
}

.horaire-card__jour {
    font-family: var(--font-display);
    font-size: 32px;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    color: var(--black);
}

.horaire-card__heure {
    font-size: 20px;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.65);
    margin-bottom: 16px;
}

.horaire-card__niveau {
    display: inline-block;
    background: var(--yellow);
    color: var(--black);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 2px;
}

/* =============================================
   TARIFS
   ============================================= */
.tarifs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.tarif-card {
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.tarif-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.tarif-card--featured {
    border-color: var(--red);
    border-width: 2px;
    box-shadow: 0 4px 24px rgba(237, 0, 0, 0.15);
    position: relative;
    top: -12px;
}

.tarif-card__name {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
}

.tarif-card__price {
    margin-bottom: 28px;
    line-height: 1;
}

.tarif-card__amount {
    font-family: var(--font-display);
    font-size: 56px;
    letter-spacing: 0.02em;
    color: var(--red);
}

.tarif-card__period {
    font-size: 20px;
    color: var(--text-muted-dark);
    font-weight: 300;
}

.tarif-card__features {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-weight: 100;
}

.tarif-card__features li {
    font-size: 15px;
    font-weight: 300;
    padding-left: 18px;
    position: relative;
    color: rgba(0, 0, 0, 0.75);
}

.tarif-card__features li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--blue);
}

.cta-primary {
    background-color: var(--red);
    padding: 5px;
    color: var(--white);
}

/* =============================================
   CONTACT
   ============================================= */
.contact__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.contact__intro {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 300;
}

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

.contact__detail{
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact__detail strong {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--yellow);
}

.contact__detail span {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.5;
}

.contact__form-wrap {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: clamp(24px, 4vw, 48px);
    border-top: 4px solid var(--red);
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.contact__form input,
.contact__form textarea {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 300;
    color: var(--white);
    transition: border-color var(--transition);
    outline: none;
    resize: vertical;
}

.contact__form input::placeholder,
.contact__form textarea::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

.contact__form input:focus,
.contact__form textarea:focus {
    border-color: var(--red);
}

.reseaux_sociaux {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.logo_reseau {
    max-height: 60px;
    width: auto;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--black);
    padding: 32px clamp(20px, 5vw, 80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.5);
    border-top: 3px solid var(--red);
}

.footer__links {
    display: flex;
    gap: 32px;
}

.footer__links a {
    transition: color var(--transition);
}

.footer__links a:hover {
    color: var(--yellow);
}

.footer__credit a:hover {
    color: var(--yellow);
}

/* =============================================
   FORMULAIRE — feedback PHP
   ============================================= */
.form-feedback {
    font-size: 14px;
    font-weight: 400;
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-top: 4px;
    display: none;
}

.form-feedback--success {
    display: block;
    background: rgba(46, 220, 233, 0.15);
    color: var(--accent);
    border: 1px solid rgba(46, 220, 233, 0.3);
}

.form-feedback--error {
    display: block;
    background: rgba(255, 80, 80, 0.12);
    color: #ff6b6b;
    border: 1px solid rgba(255, 80, 80, 0.25);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
    .header__nav {
        display: none;
    }

    .header__nav.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--white);
        padding: 24px clamp(20px, 5vw, 80px);
        border-bottom: 3px solid var(--red);
        gap: 20px;
        z-index: 99;
    }

    .header__burger {
        display: flex;
    }

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

    .club__images {
        height: 260px;
    }

    .horaires__grid,
    .tarifs__grid {
        grid-template-columns: 1fr;
    }

    .tarif-card--featured {
        top: 0;
    }

    .contact__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }
}

/* =============================================
   ANIMATIONS AU SCROLL
   ============================================= */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.horaire-card:nth-child(2) {
    transition-delay: 0.1s;
}

.horaire-card:nth-child(3) {
    transition-delay: 0.2s;
}

.tarif-card:nth-child(2) {
    transition-delay: 0.1s;
}

.tarif-card:nth-child(3) {
    transition-delay: 0.2s;
}