/* ============================================
   TCSM - Tennis Club de Sourcieux-les-Mines
   Style: moderne & sportif
   ============================================ */

/* ---------- CUSTOM FONT ---------- */
@font-face {
    font-family: 'Distress';
    src: url('Distress-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; }

/* ---------- DESIGN TOKENS ---------- */
:root {
    /* Couleurs principales — vert terre battue / blanc / orange */
    --primary: #2a7a3a;          /* vert profond */
    --primary-dark: #1f5c2b;
    --primary-light: #C8E85D;    /* jaune-vert balle de tennis */
    --accent: #ff6a1f;           /* orange vif */
    --accent-dark: #e85a0f;

    --bg: #fafdf7;
    --bg-alt: #f0f5e8;
    --bg-dark: #0f2415;          /* vert très foncé */
    --bg-darker: #071a0c;

    --text: #1a2e1f;
    --text-muted: #5a6a60;
    --text-light: #e8f0e4;
    --text-light-muted: #a8bfad;

    --border: rgba(42, 122, 58, 0.15);
    --border-light: rgba(255, 255, 255, 0.12);

    --shadow-sm: 0 2px 8px rgba(15, 36, 21, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 36, 21, 0.1);
    --shadow-lg: 0 20px 50px rgba(15, 36, 21, 0.15);

    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --max-w: 1200px;
    --header-h: 80px;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- CONTAINER ---------- */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- TYPO ---------- */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; color: var(--text); }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p  { color: var(--text-muted); }

.highlight {
    color: var(--accent);
    position: relative;
    display: inline-block;
}
.highlight::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 8%;
    height: 35%;
    background: rgba(255, 106, 31, 0.25);
    z-index: -1;
    border-radius: 4px;
    transform: skewX(-5deg);
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s var(--ease);
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(42, 122, 58, 0.35);
}
.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(42, 122, 58, 0.45);
}
.btn--outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn--outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}
.btn--ghost {
    background: rgba(255, 255, 255, 0.1);
    color: inherit;
    border-color: currentColor;
    backdrop-filter: blur(8px);
}
.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}
.btn--lg { padding: 18px 36px; font-size: 1.05rem; }
.btn--full { width: 100%; }

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    background: rgba(250, 253, 247, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: all 0.3s var(--ease);
}
.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo__icon {
    width: 54px;
    height: 54px;
    filter: drop-shadow(0 2px 6px rgba(42, 122, 58, 0.25));
    transition: transform 0.3s var(--bounce);
    flex-shrink: 0;
}
.logo__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}
.logo:hover .logo__icon { transform: rotate(-8deg) scale(1.08); }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name {
    font-family: 'Distress', 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--accent);
}
.logo__sub {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}
.logo--light .logo__name { color: var(--accent); }
.logo--light .logo__sub { color: var(--text-light-muted); }

.nav { display: flex; align-items: center; gap: 32px; }
.nav__list {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav__link {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text);
    position: relative;
    transition: color 0.2s;
}
.nav__link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.25s var(--ease);
    transform: translateX(-50%);
}
.nav__link:hover { color: var(--primary); }
.nav__link:hover::after { width: 100%; }
.nav__link.active { color: var(--primary); }
.nav__link.active::after { width: 100%; }

.nav__toggle {
    display: none;
    width: 40px;
    height: 40px;
    position: relative;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}
.nav__toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
    margin: 0 auto;
}
.nav__toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: var(--header-h);
    overflow: hidden;
    background: linear-gradient(135deg, #e8f5e0 0%, #fafdf7 50%, #f5f0e0 100%);
}
.hero__bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(200, 232, 93, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 106, 31, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 60px;
    min-height: calc(100vh - var(--header-h));
    padding: 60px 24px;
    position: relative;
    z-index: 1;
}

.hero__content { max-width: 600px; }
.hero__badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(42, 122, 58, 0.1);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(42, 122, 58, 0.2);
}
.hero__title {
    margin-bottom: 24px;
    font-weight: 800;
}
.hero__text {
    font-size: 1.12rem;
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.7;
}
.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}
.hero__actions .btn--ghost {
    border-color: var(--primary);
    color: var(--primary);
}
.hero__actions .btn--ghost:hover {
    background: var(--primary);
    color: #fff;
}

.hero__stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; }
.stat__num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    letter-spacing: 0.02em;
}
.stat__label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}

/* Hero visual */
.hero__visual {
    position: relative;
    height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero__photo {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-xl);
    position: relative;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: rotate(-3deg);
    transition: transform 0.5s var(--ease);
}
.hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero__photo-frame {
    position: absolute;
    inset: 12px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: calc(var(--radius-xl) - 6px);
    pointer-events: none;
}
.hero:hover .hero__photo { transform: rotate(-1deg) scale(1.02); }

.hero__logo {
    position: absolute;
    width: 130px;
    height: 130px;
    object-fit: contain;
    top: 4%;
    right: 4%;
    z-index: 2;
    border-radius: 50%;
    box-shadow: 0 12px 40px rgba(15, 36, 21, 0.3);
    animation: float 4s ease-in-out infinite;
    background: #fff;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary);
    border-radius: 100px;
    z-index: 3;
}
.hero__scroll span {
    position: absolute;
    left: 50%;
    top: 10px;
    width: 4px;
    height: 10px;
    background: var(--primary);
    border-radius: 4px;
    transform: translateX(-50%);
    animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
    0%, 100% { opacity: 0; transform: translate(-50%, 0); }
    50% { opacity: 1; transform: translate(-50%, 16px); }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 100px 0;
    position: relative;
}
.section--dark {
    background: var(--bg-dark);
    color: var(--text-light);
}
.section--dark p { color: var(--text-light-muted); }
.section--accent {
    background: linear-gradient(135deg, var(--bg-alt) 0%, #e8f5e0 100%);
}

.section__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}
.section__eyebrow {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(42, 122, 58, 0.1);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.section__eyebrow--light {
    background: rgba(200, 232, 93, 0.15);
    color: var(--primary-light);
}
.section__title { margin-bottom: 16px; }
.section__title--light { color: #fff; }
.section__lead { font-size: 1.08rem; line-height: 1.7; }
.section__lead--light { color: var(--text-light-muted); }

/* ============================================
   FEATURES
   ============================================ */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.feature {
    background: #fff;
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease);
}
.feature:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.feature__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 6px 16px rgba(42, 122, 58, 0.3);
}
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 { margin-bottom: 10px; }
.feature p { font-size: 0.94rem; }

/* ============================================
   COURTS
   ============================================ */
.courts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}
.court-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.35s var(--ease);
}
.court-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.07);
}
.court-card__image {
    height: 260px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}
.court-card__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.court-card:hover .court-card__image img {
    transform: scale(1.06);
}
.court-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 36, 21, 0.75) 100%);
    pointer-events: none;
}
.court-card__tag {
    position: relative;
    z-index: 2;
    background: var(--accent);
    color: #fff;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 106, 31, 0.4);
}
.court-card__body { padding: 28px; }
.court-card__body h3 { color: #fff; margin-bottom: 10px; }
.court-card__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}
.court-card__list li {
    padding: 6px 14px;
    background: rgba(200, 232, 93, 0.1);
    color: var(--primary-light);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(200, 232, 93, 0.2);
}

/* Installations gallery */
.installations-gallery {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.04);
    aspect-ratio: 16 / 10;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.gallery-item:hover img {
    transform: scale(1.04);
}
.gallery-item figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 20px 24px;
    background: linear-gradient(180deg, transparent 0%, rgba(7, 26, 12, 0.92) 100%);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 500;
}
.gallery-item--wide { aspect-ratio: 16 / 10; }

.amenities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

/* Virtual tour 360 */
.virtual-tour {
    margin-top: 48px;
}
.virtual-tour__title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-light);
    font-size: 1.3rem;
    margin-bottom: 20px;
}
.virtual-tour__title svg {
    width: 28px;
    height: 28px;
    color: var(--primary-light);
}
.virtual-tour__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    background: #000;
}
.virtual-tour__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Video thumbnail (click-to-play) */
.video-thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}
.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease), filter 0.4s var(--ease);
}
.video-thumbnail:hover img {
    transform: scale(1.03);
    filter: brightness(0.7);
}
.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.3s var(--bounce);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}
.video-play svg {
    width: 80px;
    height: 56px;
}
.video-thumbnail:hover .video-play {
    transform: translate(-50%, -50%) scale(1.15);
}
.video-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
}
.amenity {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-light);
    font-size: 0.92rem;
}
.amenity svg {
    width: 22px;
    height: 22px;
    color: var(--primary-light);
    flex-shrink: 0;
}

/* ============================================
   TEAM
   ============================================ */
.team-block { margin-bottom: 60px; }
.team-block:last-child { margin-bottom: 0; }
.team-block__title {
    font-size: 1.4rem;
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--border);
    color: var(--primary);
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.member {
    background: #fff;
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s var(--ease);
}
.member:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.member__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--c, var(--primary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    margin: 0 auto 16px;
    box-shadow: 0 8px 20px rgba(42, 122, 58, 0.25);
}
.member__photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    box-shadow: 0 8px 20px rgba(42, 122, 58, 0.25);
}
.member h4 { margin-bottom: 4px; }
.member__role {
    display: block;
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}
.member p { font-size: 0.88rem; }

.member--coach { border-top: 4px solid var(--accent); }

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: 14px;
}
.tag {
    padding: 4px 12px;
    background: var(--bg-alt);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ============================================
   STEPS (inscriptions)
   ============================================ */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}
.step {
    background: #fff;
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: all 0.3s var(--ease);
    border: 1px solid var(--border);
}
.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.step__num {
    position: absolute;
    top: -20px;
    left: 24px;
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    box-shadow: 0 6px 16px rgba(255, 106, 31, 0.35);
}
.step h3 {
    margin-top: 14px;
    margin-bottom: 10px;
}

.docs {
    background: #fff;
    padding: 36px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
}
.docs h3 { margin-bottom: 16px; color: var(--primary); }

/* Inscription CTA */
.inscription-cta {
    margin-top: 48px;
    text-align: center;
    background: #fff;
    padding: 48px 36px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--primary);
}
.inscription-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--primary);
}
.inscription-cta p {
    margin-bottom: 28px;
    font-size: 1.05rem;
}
.docs ul { display: grid; gap: 8px; }
.docs ul li {
    position: relative;
    padding-left: 28px;
    color: var(--text-muted);
}
.docs ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}
.price-card {
    background: #fff;
    padding: 40px 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border);
    position: relative;
    transition: all 0.3s var(--ease);
    display: flex;
    flex-direction: column;
}
.price-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.price-card--featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, #fff 0%, #f5fbef 100%);
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
}
.price-card--featured:hover {
    transform: scale(1.03) translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.price-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 4px 12px rgba(255, 106, 31, 0.35);
}
.price-card__head { margin-bottom: 24px; }
.price-card__head h3 { margin-bottom: 4px; }
.price-card__tag {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.price-card__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.price-card__amount {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.6rem;
    color: var(--primary);
    font-weight: 700;
    line-height: 1;
}
.price-card__unit {
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 500;
}
.price-card__features {
    margin-bottom: 28px;
    flex: 1;
}
.price-card__features li {
    padding: 8px 0 8px 26px;
    position: relative;
    font-size: 0.92rem;
    color: var(--text-muted);
}
.price-card__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 800;
}
.price-card .btn { margin-top: auto; }

/* Tarifs sub-sections */
.tarifs-subtitle {
    font-size: 1.4rem;
    color: var(--primary);
    margin: 56px 0 28px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--border);
}
.pricing--3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Early-bird price */
.price-card__early {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    margin-top: -18px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

/* Compact card (badminton) */
.price-card--compact {
    padding: 28px 24px;
}
.price-card--compact .price-card__price {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.price-card--compact .price-card__early {
    margin-top: 4px;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Tarifs table (famille) */
.tarifs-table-wrap {
    overflow-x: auto;
    margin-bottom: 8px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.tarifs-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 0.94rem;
}
.tarifs-table thead {
    background: var(--primary);
    color: #fff;
}
.tarifs-table th {
    padding: 16px 24px;
    text-align: left;
    font-weight: 600;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.tarifs-table td {
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}
.tarifs-table tbody tr:last-child td {
    border-bottom: none;
}
.tarifs-table tbody tr:hover {
    background: var(--bg-alt);
}
.tarifs-table td:nth-child(2),
.tarifs-table td:nth-child(3),
.tarifs-table th:nth-child(2),
.tarifs-table th:nth-child(3) {
    text-align: center;
}
.tarifs-table td:nth-child(3) {
    color: var(--accent);
    font-weight: 500;
}

.pricing__note {
    text-align: center;
    background: #fff;
    padding: 20px 28px;
    border-radius: var(--radius);
    border: 1px dashed var(--border);
    font-size: 0.92rem;
    margin-top: 32px;
}

/* ============================================
   SPONSORING
   ============================================ */
.sponsoring-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
.sponsoring-card {
    background: #fff;
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s var(--ease);
}
.sponsoring-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}
.sponsoring-card__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin: 0 auto 20px;
    box-shadow: 0 6px 16px rgba(255, 106, 31, 0.3);
}
.sponsoring-card__icon svg { width: 28px; height: 28px; }
.sponsoring-card h3 { margin-bottom: 10px; }
.sponsoring-card p { font-size: 0.94rem; }

.sponsoring-cta {
    text-align: center;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .sponsoring-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .pricing--3 { grid-template-columns: 1fr; }
    .tarifs-table th, .tarifs-table td { padding: 12px 14px; font-size: 0.85rem; }
}

/* ============================================
   RESERVATION
   ============================================ */
.reservation {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: center;
}
.reservation__content .section__eyebrow { margin-bottom: 16px; }
.reservation__content .section__title { text-align: left; margin-bottom: 20px; }
.reservation__content .section__lead { text-align: left; margin-bottom: 32px; }
.reservation__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.reservation__actions .btn--ghost {
    color: var(--primary-light);
    border-color: var(--primary-light);
}
.reservation__info {
    background: rgba(200, 232, 93, 0.05);
    border: 1px solid rgba(200, 232, 93, 0.15);
    padding: 36px;
    border-radius: var(--radius-lg);
}
.reservation__info h3 {
    color: var(--primary-light);
    margin-bottom: 20px;
}
.reservation__info ul { display: grid; gap: 14px; }
.reservation__info ul li {
    color: var(--text-light);
    font-size: 0.92rem;
    padding-left: 4px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    margin-bottom: 48px;
}
.contact-info {
    display: grid;
    gap: 24px;
    align-content: start;
}
.contact-item {
    display: flex;
    gap: 18px;
    padding: 20px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.25s var(--ease);
}
.contact-item:hover {
    transform: translateX(4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}
.contact-item__icon {
    width: 48px;
    height: 48px;
    background: var(--bg-alt);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item h4 { margin-bottom: 4px; }
.contact-item p { font-size: 0.92rem; }
.contact-item a { color: var(--primary); transition: color 0.2s; }
.contact-item a:hover { color: var(--accent); }

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.contact-form h3 {
    margin-bottom: 24px;
    color: var(--primary);
}
.field { margin-bottom: 18px; }
.field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}
.field input, .field select, .field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    color: var(--text);
    transition: all 0.2s var(--ease);
    font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(42, 122, 58, 0.1);
}
.field textarea { resize: vertical; min-height: 110px; }

.form-status {
    margin-top: 14px;
    font-size: 0.9rem;
    text-align: center;
    min-height: 20px;
}
.form-status.success { color: var(--primary); font-weight: 600; }
.form-status.error { color: #d64545; font-weight: 600; }

.map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    height: 380px;
}
.map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-darker);
    color: var(--text-light);
    padding-top: 72px;
}
.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 56px;
}
.footer__col h4 {
    color: #fff;
    margin-bottom: 18px;
    font-size: 1rem;
}
.footer__col p {
    color: var(--text-light-muted);
    font-size: 0.92rem;
    margin-top: 16px;
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col a {
    color: var(--text-light-muted);
    font-size: 0.92rem;
    transition: color 0.2s;
}
.footer__col a:hover { color: var(--primary-light); }

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
}
.footer__bottom .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.footer__bottom p {
    font-size: 0.84rem;
    color: var(--text-light-muted);
    margin: 0;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(42, 122, 58, 0.4);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s var(--ease);
    z-index: 90;
}
.back-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.back-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}
.back-top svg { width: 22px; height: 22px; }

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero__inner { grid-template-columns: 1fr; text-align: center; }
    .hero__visual { order: -1; height: 420px; }
    .hero__photo { max-width: 460px; }
    .hero__content { margin: 0 auto; }
    .hero__text { margin-left: auto; margin-right: auto; }
    .hero__actions { justify-content: center; }
    .hero__stats { justify-content: center; }
    .reservation { grid-template-columns: 1fr; }
    .reservation__content .section__title,
    .reservation__content .section__lead { text-align: center; }
    .reservation__actions { justify-content: center; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
    .installations-gallery { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        transform: translateX(100%);
        transition: transform 0.35s var(--ease);
        border-top: 1px solid var(--border);
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }
    .nav.open { transform: translateX(0); }
    .nav__list {
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }
    .nav__link { font-size: 1.1rem; }
    .nav__cta { width: 100%; }
    .nav__toggle { display: flex; }

    .section { padding: 72px 0; }
    .section__head { margin-bottom: 44px; }

    .hero__stats {
        flex-wrap: wrap;
        gap: 24px;
        justify-content: space-around;
    }
    .stat__num { font-size: 2.2rem; }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }
    .logo { justify-content: center; }
    .footer__bottom .container { justify-content: center; text-align: center; }

    .price-card--featured { transform: scale(1); }
    .price-card--featured:hover { transform: translateY(-6px); }

    .contact-form { padding: 28px; }
    .back-top { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
    h1 { font-size: 2.2rem; }
    .hero__actions .btn { flex: 1; min-width: 0; }
    .hero__visual { height: 300px; }
    .hero__ball { width: 80px; height: 80px; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
