/* Polices chargées en <link> dans le HTML (preconnect + display=swap). */

:root {
    /* Color Palette */
    --bg-primary: #030814;
    --bg-secondary: rgba(8, 17, 36, 0.5);
    --bg-tertiary: rgba(14, 26, 53, 0.6);
    --navy: #101c36;
    --navy-dark: #020610; /* était utilisé sans être défini (bandeau promo) */
    --navy-light: #192a4f;
    --navy-glow: rgba(16, 28, 54, 0.6);
    --bronze: #c59b6c;
    --bronze-dark: #9c754a;
    --bronze-light: #e3bd92;
    --bronze-glow: rgba(197, 155, 108, 0.2);
    --white: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: #a0a6b5;
    --text-muted: #676c7a;

    /* Typographie.
       --font-primary : lecture (90 % du site).
       --font-display : titres d'impact, sportifs, condensés.
       Les trois scripts ne sont jamais la police de texte courant. */
    --font-primary: "Manrope", sans-serif;
    --font-display: "Barlow Condensed", sans-serif;
    --font-script: "Great Vibes", cursive;
    --font-script-alt: "Allura", cursive;
    --font-energy: "Pacifico", cursive;
    
    /* Layout Details */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: 0 0 15px rgba(16, 28, 54, 0.5);
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;

    /* Échelle d'espacement : une seule progression pour tout le site, afin que
       deux sections différentes respirent de la même façon. */
    --space-2xs: 0.5rem;
    --space-xs: 0.75rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --section-y: clamp(4.5rem, 8vw, 7.5rem);

    /* Durées : hover court (réactif), reveal plus long (narratif). */
    --dur-hover: 200ms;
    --dur-reveal: 620ms;
    --dur-sign: 780ms;
    --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-sign: cubic-bezier(0.16, 1, 0.3, 1);

    /* Container Width */
    --container-max: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Header fixe (~80px). Sur Abonnements, le bandeau d’ancres sticky
       s’ajoute : voir body.page-abonnements. */
    scroll-padding-top: 6rem;
}

body {
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(16, 28, 54, 0.5), transparent 60%),
        radial-gradient(circle at 85% 30%, rgba(197, 155, 108, 0.03), transparent 50%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Grain d'arrière-plan.
   Texture fixe et non animée : une animation permanente tourne en continu sans
   rien apporter à la lecture, et repeint le fond à chaque frame de scroll. */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: -1;
    background-image: 
        radial-gradient(1.5px 1.5px at 10% 20%, rgba(255, 255, 255, 0.6) 100%, transparent),
        radial-gradient(2px 2px at 30% 60%, rgba(255, 255, 255, 0.4) 100%, transparent),
        radial-gradient(1px 1px at 80% 30%, rgba(255, 255, 255, 0.8) 100%, transparent),
        radial-gradient(2.5px 2.5px at 50% 80%, rgba(255, 255, 255, 0.3) 100%, transparent),
        radial-gradient(1px 1px at 90% 90%, rgba(255, 255, 255, 0.5) 100%, transparent),
        radial-gradient(1.5px 1.5px at 20% 90%, rgba(255, 255, 255, 0.4) 100%, transparent),
        radial-gradient(2px 2px at 70% 10%, rgba(255, 255, 255, 0.7) 100%, transparent);
    background-size: 200px 200px;
    opacity: 0.55;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.1;
    color: var(--white);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

p {
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ==========================================================================
   Système typographique
   ==========================================================================
   Manrope = lecture. Barlow Condensed = impact sportif.
   Great Vibes / Allura / Pacifico = signatures uniquement (≈ 10–15 %
   des titres). Jamais de texte courant en script. */

.script,
.script-soft,
.script-energy {
    --script-rot: 0deg;
    font-style: normal;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.01em;
    line-height: 0.9;
    display: inline-block;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
    -webkit-text-stroke: 0;
    paint-order: normal;
    filter: none;
    max-width: 100%;
    text-transform: none;
    white-space: nowrap;
}

.script {
    font-family: var(--font-script);
    color: var(--bronze-light);
}

.script-soft {
    font-family: var(--font-script-alt);
    color: var(--bronze);
}

.script-energy {
    font-family: var(--font-energy);
    color: var(--bronze-light);
}

h1 .script,
h2 .script,
h3 .script,
.section-title .script,
.section-head h2 .script,
.page-hero-content h1 .script,
.immersive-body h2 .script,
.club-h2 .script {
    color: var(--bronze-light);
}

h1 .script-soft,
h2 .script-soft,
.page-hero-content h1 .script-soft,
.club-h2 .script-soft {
    color: var(--bronze-light);
}

.script-caption,
.type-kicker,
.values-sign,
.script--block {
    white-space: normal;
}

/* Accroche Pacifico : une ligne, jamais un titre de section. */
.type-kicker {
    display: block;
    font-size: clamp(1.35rem, 2.6vw, 1.85rem);
    margin: 0.15rem 0 0.35rem;
    line-height: 1.15;
    color: var(--bronze-light);
}

/* Légende Allura, au-dessus d'un titre éditorial. */
.script-caption {
    display: block;
    font-size: clamp(1.65rem, 3.2vw, 2.15rem);
    margin-bottom: 0.65rem;
    color: var(--bronze);
}

/* Signature de bas de page. */
.footer-sign {
    display: block;
    font-size: 1.85rem;
    margin: -0.35rem 0 1.15rem;
    color: var(--bronze);
}

/* Soulignement animé — hover uniquement, éléments rares. */
.script-line {
    position: relative;
}

.script-line::after {
    content: '';
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 0.02em;
    height: 1.5px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    opacity: 0.75;
    transition: transform 0.38s var(--ease-out);
    pointer-events: none;
}

@media (hover: hover) {
    .script-line:hover::after {
        transform: scaleX(1);
    }
    .script-line:hover {
        filter: brightness(1.12);
    }
}

/* Wordmark BOXING + Center : composition, pas un remplacement de logo. */
.wordmark {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    line-height: 0.78;
    padding-inline: 0.4em;
}

.wordmark-lead {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.script--hero {
    --script-rot: -5.5deg;
    font-size: clamp(2.55rem, 8.5vw, 5.1rem);
    margin-top: -0.18em;
    padding: 0 0.12em;
    color: var(--bronze-light);
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.55),
        0 10px 28px rgba(0, 0, 0, 0.45);
    transform: rotate(var(--script-rot));
    transform-origin: center;
}

.wordmark--footer {
    align-items: flex-start;
    margin: -0.2rem 0 1.1rem;
    padding-inline: 0;
}

.wordmark--footer .wordmark-lead {
    font-size: 1.55rem;
    letter-spacing: 0.12em;
    color: var(--white);
}

.wordmark--footer .script {
    --script-rot: -4deg;
    font-size: 1.7rem;
    margin-top: -0.28em;
    margin-left: 1.6rem;
    transform: rotate(var(--script-rot));
}

/* Révélation type signature (Great Vibes / Allura). */
@keyframes signatureWrite {
    from {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
        transform: translate3d(-6px, 10px, 0) rotate(calc(var(--script-rot, 0deg) - 3deg));
    }
    to {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translate3d(0, 0, 0) rotate(var(--script-rot, 0deg));
    }
}

@keyframes titleRise {
    from {
        opacity: 0;
        transform: translateY(30px);
        clip-path: inset(0 0 100% 0);
    }
    to {
        opacity: 1;
        transform: none;
        clip-path: inset(0 0 0 0);
    }
}

@keyframes placeIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Layout Utilities */
.container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: var(--section-y) 0;
    position: relative;
}

.section-bg-alt {
    background: rgba(8, 17, 36, 0.55);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.section-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 3.5rem;
    position: relative;
}

.section-title span {
    color: var(--bronze);
    background: linear-gradient(135deg, var(--white) 30%, var(--bronze) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--bronze);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

/* En-tête de section aligné à gauche.
   Toutes les sections centrées à l'identique produisent un rythme plat : le
   regard retombe au même endroit à chaque écran. Cette variante alterne avec
   .section-title centré et loge l'action secondaire à droite du titre. */
.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
}

.section-head h2 {
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    font-weight: 800;
    line-height: 0.95;
    margin: 0.55rem 0 0;
    /* Répartit les lignes du titre : évite le mot — ou le point
       d'interrogation — isolé sur la dernière ligne en mobile. */
    text-wrap: balance;
}

.section-head h2 span {
    color: var(--bronze);
}

.section-head p {
    max-width: 46ch;
    margin: 0.85rem 0 0;
}

/* Surtitre : repère de section commun à toute la page, il annonce le sujet
   avant le titre et donne un point d'entrée constant au regard. */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bronze);
}

.eyebrow::before {
    content: '';
    width: 1.75rem;
    height: 2px;
    background: var(--bronze);
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .section-head {
        grid-template-columns: 1fr;
        align-items: start;
    }
    .section-head > .btn {
        justify-self: start;
    }
}

/* Double outline accent class inspired by the logo */
.double-outline-element {
    border: 1px solid var(--bronze);
    outline: 1px solid var(--white);
    outline-offset: -5px;
}

/* Buttons */
.btn {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--bronze);
    color: var(--bg-primary);
    border: 1px solid var(--bronze);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-slow);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--bronze);
    box-shadow: 0 0 15px var(--bronze-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    border-color: var(--bronze);
    color: var(--bronze);
    box-shadow: var(--border-glow);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding-top: env(safe-area-inset-top, 0px);
    background-color: rgba(3, 8, 20, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

header.scrolled {
    background-color: rgba(3, 8, 20, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    min-height: 80px;
    max-height: 80px;
    transition: height 0.3s var(--ease-out), min-height 0.3s var(--ease-out), max-height 0.3s var(--ease-out);
}

header.scrolled .nav-wrapper {
    height: 65px;
    min-height: 65px;
    max-height: 65px;
}

.logo-link {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 48px;
    width: auto;
    transition: var(--transition-smooth);
}

header.scrolled .header-logo {
    height: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    list-style: none;
    gap: 1.05rem;
}

.nav-item a {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--bronze);
    transition: var(--transition-smooth);
}

.nav-item a:hover,
.nav-item.active a {
    color: var(--white);
}

.nav-item.active a::after,
.nav-item a:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-cta .btn {
    white-space: nowrap;
    padding: 0.55rem 1.25rem;
    font-size: 1rem;
    line-height: 1;
    min-height: 0;
}

@media (max-width: 1180px) and (min-width: 993px) {
    .nav-menu { gap: 0.85rem; }
    .nav-item a { font-size: 1.02rem; }
    .nav-cta .btn { padding: 0.65rem 1.15rem; font-size: 1rem; }
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 1100;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition-smooth);
    background-color: var(--white);
}

/* Hero Section — accueil, composition split (contenu | photographie) */
@keyframes heroZoom {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}

@keyframes heroIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

.hero {
    --hero-bg: #0d0f11;
    --hero-bg-mid: #111b24;
    --hero-deep: #263746;
    --hero-accent: #8fafc5;
    --hero-mist: #b8c0c7;
    --hero-ice: #f4f7fa;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top: 80px;
    padding-bottom: 0;
    background:
        radial-gradient(ellipse 70% 60% at 78% 42%, rgba(38, 55, 70, 0.45), transparent 62%),
        linear-gradient(180deg, var(--hero-bg-mid) 0%, var(--hero-bg) 55%, #0a0c0e 100%);
    overflow: hidden;
    color: var(--white);
}

.hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 58%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-visual picture,
.hero-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 58% 42%;
}

.hero-visual img {
    transform: scale(1.06);
    will-change: transform;
    filter: saturate(0.88) contrast(1.05);
}

.hero-visual::before,
.hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-visual::before {
    background:
        linear-gradient(90deg,
            var(--hero-bg) 0%,
            rgba(13, 15, 17, 0.82) 14%,
            rgba(17, 27, 36, 0.35) 32%,
            rgba(17, 27, 36, 0.08) 48%,
            transparent 64%),
        linear-gradient(180deg,
            rgba(13, 15, 17, 0.42) 0%,
            transparent 22%,
            transparent 62%,
            rgba(13, 15, 17, 0.72) 100%);
}

.hero-visual::after {
    background:
        radial-gradient(ellipse 90% 80% at 72% 40%, transparent 35%, rgba(13, 15, 17, 0.28) 100%),
        linear-gradient(to top right, rgba(13, 15, 17, 0.88) 0%, rgba(13, 15, 17, 0.2) 28%, transparent 52%),
        linear-gradient(180deg, rgba(38, 55, 70, 0.18), transparent 40%);
}

.hero-stage {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    width: min(90%, var(--container-max));
    margin: 0 auto;
    padding: 1.25rem 15px 1.75rem;
}

.hero-copy {
    max-width: 36rem;
    text-align: left;
    min-width: 0;
}

.hero-copy > * {
    animation: heroIn 0.72s var(--ease-out) both;
}

.hero-copy > *:nth-child(1) { animation-delay: 0.08s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.28s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.36s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.44s; }

.hero-copy > .hero-title {
    animation: none;
    opacity: 1;
    transform: none;
}

.hero-tagline {
    font-size: 0.92rem;
    color: var(--hero-accent);
    letter-spacing: 0.22em;
    font-weight: 600;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    font-family: var(--font-display);
}

.hero-title {
    margin: 0 0 0.85rem;
    line-height: 0;
    overflow: visible;
}

.hero-lockup {
    display: block;
    width: min(108%, 38rem);
    max-width: none;
    height: auto;
    margin: -0.35rem 0 0.15rem -0.65rem;
    animation: titleRise 0.78s var(--ease-out) 0.18s both;
    user-select: none;
    pointer-events: none;
}

.hero-desc {
    font-size: 1.08rem;
    line-height: 1.65;
    color: rgba(244, 247, 250, 0.88);
    max-width: 42ch;
    margin: 0 0 1.75rem;
    text-wrap: balance;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

.hero .hero-btns {
    justify-content: flex-start;
    gap: 0.85rem;
}

.hero-btn-primary {
    background: var(--hero-accent);
    color: var(--hero-bg);
    border: 1px solid var(--hero-accent);
}

.hero-btn-primary:hover {
    background: #a8c5d6;
    color: var(--hero-bg);
    border-color: #a8c5d6;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(143, 175, 197, 0.22);
}

.hero-btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.32);
}

.hero-btn-secondary:hover {
    border-color: var(--hero-accent);
    color: var(--hero-accent);
    background: rgba(143, 175, 197, 0.08);
    transform: translateY(-2px);
}

.hero-stats {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 1.85rem;
    padding: 0.85rem 0.35rem;
    max-width: 36rem;
    background: rgba(17, 27, 36, 0.55);
    border: 1px solid rgba(143, 175, 197, 0.2);
    border-radius: 10px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.hero-stats li {
    display: block;
    text-align: center;
    padding: 0.25rem 0.55rem;
    position: relative;
}

.hero-stats li + li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14%;
    bottom: 14%;
    width: 1px;
    background: rgba(143, 175, 197, 0.2);
}

.hero-stats strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.22rem;
    font-weight: 800;
    line-height: 1.05;
    color: var(--white);
    letter-spacing: 0.02em;
}

.hero-stats span {
    display: block;
    margin-top: 0.12rem;
    font-size: 0.72rem;
    line-height: 1.25;
    color: var(--hero-mist);
}

.hero-band {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 1.45rem max(15px, calc((100% - var(--container-max)) / 2 + 15px)) 1.6rem;
    border-top: 1px solid rgba(143, 175, 197, 0.22);
    background: rgba(17, 27, 36, 0.48);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-band article {
    min-width: 0;
    padding: 0.1rem 1.5rem;
    border-right: 1px solid rgba(143, 175, 197, 0.18);
}

.hero-band article:first-child {
    padding-left: 0;
}

.hero-band article:last-child {
    border-right: none;
    padding-right: 0;
}

.hero-band h2 {
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 0 0 0.4rem;
    color: var(--hero-accent);
}

.hero-band p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--white);
}

body.home header {
    background: linear-gradient(180deg, rgba(13, 15, 17, 0.72) 0%, rgba(13, 15, 17, 0.18) 100%);
    border-bottom-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.home header.scrolled {
    background: rgba(13, 15, 17, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: rgba(143, 175, 197, 0.16);
}

body.home .nav-item a::after {
    background-color: #8fafc5;
}

body.home .nav-cta .btn-primary {
    background: transparent;
    color: var(--white);
    border: 1px solid #8fafc5;
}

body.home .nav-cta .btn-primary:hover {
    background: #8fafc5;
    color: #0d0f11;
    box-shadow: 0 8px 20px rgba(143, 175, 197, 0.2);
}

body.home .nav-cta .btn-primary::before {
    display: none;
}

@media (max-width: 992px) {
    body.home .nav-menu {
        background-color: rgba(13, 15, 17, 0.96);
    }
    .hero {
        padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
    }
    .hero-visual {
        position: relative;
        width: 100%;
        height: min(42vh, 360px);
        min-height: 220px;
        order: 2;
        right: auto;
        top: auto;
        bottom: auto;
    }
    .hero-visual::before {
        background:
            linear-gradient(180deg,
                var(--hero-bg) 0%,
                rgba(13, 15, 17, 0.28) 22%,
                transparent 48%),
            linear-gradient(180deg, transparent 62%, rgba(13, 15, 17, 0.82) 100%),
            linear-gradient(90deg, rgba(13, 15, 17, 0.35), transparent 30%);
    }
    .hero-stage {
        order: 1;
        align-items: start;
        padding-top: 1.5rem;
        padding-bottom: 1.25rem;
        flex: 0 0 auto;
    }
    .hero-copy {
        max-width: 40rem;
        padding-bottom: 0;
    }
    .hero-stats {
        grid-template-columns: 1fr 1fr;
        max-width: none;
        row-gap: 0.7rem;
    }
    .hero-stats li:nth-child(3)::before {
        display: none;
    }
    .hero-band {
        order: 3;
        grid-template-columns: 1fr 1fr;
        padding-bottom: 5.5rem;
        gap: 1.35rem 0;
    }
    .hero-band article:first-child,
    .hero-band article:nth-child(2n-1) {
        padding: 0.15rem 1.25rem 0.15rem 0;
        border-right: 1px solid rgba(143, 175, 197, 0.18);
    }
    .hero-band article:nth-child(2n) {
        border-right: none;
        padding: 0.15rem 0 0.15rem 1.25rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100svh;
        padding-top: calc(80px + env(safe-area-inset-top, 0px) + 0.85rem);
        padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
    }
    .hero-lockup {
        width: 100%;
        max-width: 100%;
        margin: -0.2rem 0 0.1rem 0;
    }
    .hero-desc {
        font-size: 1.02rem;
        max-width: none;
        margin-bottom: 1.05rem;
    }
    .hero .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    .hero .hero-btns .btn {
        width: 100%;
    }
    .hero-stage {
        padding-top: 0.65rem;
        padding-bottom: 0.5rem;
    }
    .hero-stats {
        margin-top: 1.05rem;
        padding: 0.5rem 0.25rem;
        row-gap: 0.45rem;
    }
}

@media (max-width: 576px) {
    .hero-band {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .hero-band article,
    .hero-band article:nth-child(2n-1),
    .hero-band article:nth-child(2n) {
        border-right: none;
        padding: 0.95rem 0;
        border-bottom: 1px solid rgba(143, 175, 197, 0.16);
    }
    .hero-band article:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .hero-stats li {
        padding: 0.45rem 0.5rem;
    }
}

/* Cards & Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.sticky-img.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--bronze));
    opacity: 0;
    transition: var(--transition-smooth);
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(197, 155, 108, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), var(--border-glow);
}

/* Feature Showcase */
.feature-info {
    padding-right: 2rem;
}

.feature-tag {
    color: var(--bronze);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.feature-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 1.5rem;
}

.feature-title span {
    color: var(--bronze);
}

.feature-img-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.feature-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--bronze);
    border-radius: var(--border-radius-lg);
    transform: translate(-12px, 12px);
    z-index: -1;
    transition: var(--transition-smooth);
}

.feature-img-wrapper:hover::after {
    transform: translate(0, 0);
}

.feature-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px;
    transition: var(--transition-slow);
}

.feature-img-wrapper:hover .feature-img {
    transform: scale(1.03);
}

.price-card.featured {
    border-color: var(--bronze);
    background: linear-gradient(180deg, var(--bg-secondary) 0%, rgba(16, 28, 54, 0.2) 100%);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), var(--border-glow);
    transform: scale(1.03);
}

.price-feature-item.disabled {
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-feature-item.disabled svg {
    color: var(--text-muted);
}

/* Contact Info */
.contact-info-list {
    list-style: none;
    margin-top: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 2rem;
}

.contact-info-icon {
    width: 45px;
    height: 45px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bronze);
    flex-shrink: 0;
    box-shadow: var(--border-glow);
}

.contact-info-details h4 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.contact-info-details p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Footer */
footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo-img {
    height: 55px;
    width: auto;
    margin-bottom: 0.35rem;
}

.footer-brand {
    margin-bottom: 0.25rem;
}

.footer-about p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.social-link:hover {
    color: var(--bronze);
    border-color: var(--bronze);
    box-shadow: var(--border-glow);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 1.8rem;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--bronze);
    margin-top: 0.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--bronze);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Scroll Reveal System */
/* Apparition au scroll.
   `.active` est l'ancienne classe (encore utilisée par le script de clubs.html),
   `.is-revealed` la nouvelle : les deux mènent au même état final.
   --reveal-i est posé par main.js sur les enfants d'une grille : les cartes
   arrivent l'une après l'autre, ce qui donne un ordre de lecture. */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity var(--dur-reveal) var(--ease-out),
        transform var(--dur-reveal) var(--ease-out);
    transition-delay: calc(var(--reveal-i, 0) * 90ms);
}

.reveal.active,
.reveal.is-revealed {
    opacity: 1;
    transform: none;
}

/* La signature arrive juste après le titre de section, pas en même temps. */
.reveal .script:not(.script--hero),
.reveal .script-soft,
.reveal .script-energy {
    opacity: 0;
}

.reveal.active .script:not(.script--hero),
.reveal.is-revealed .script:not(.script--hero),
.reveal.active .script-soft,
.reveal.is-revealed .script-soft,
.reveal.active .script-energy,
.reveal.is-revealed .script-energy {
    animation: signatureWrite 0.72s var(--ease-sign) 0.18s both;
}

.grid-3 .card:nth-child(1) { transition-delay: 0.1s; }
.grid-3 .card:nth-child(2) { transition-delay: 0.25s; }
.grid-3 .card:nth-child(3) { transition-delay: 0.4s; }

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    }
    50% {
        transform: scale(1.02);
        filter: drop-shadow(0 15px 25px rgba(197, 155, 108, 0.15));
    }
}

/* Responsive Rules */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: calc(80px + env(safe-area-inset-top, 0px));
        flex-direction: column;
        background-color: rgba(3, 8, 20, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
        padding: 2rem 0;
        gap: 2rem;
        border-bottom: 1px solid var(--border-color);
        z-index: 999;
        overflow-y: auto;
        max-height: calc(100dvh - 80px - env(safe-area-inset-top, 0px));
        overscroll-behavior: contain;
    }

    /* Le header ne se compacte pas au scroll : 65px collait logo et menu
       trop près des bords, et décalait le bandeau d’ancres. */
    header.scrolled .nav-wrapper {
        height: 80px;
        min-height: 80px;
        max-height: 80px;
    }
    header.scrolled .header-logo {
        height: 48px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-cta {
        display: none; /* Hide on small screens or move inside menu */
    }
    
    .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Interleaved Mobile Layout (Standard Cards) */
    .sticky-scroll-section {
        padding: 3rem 0;
    }
    .sticky-scroll-container {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .sticky-media-col, .media-frame, .scrolling-content-col {
        display: contents; /* Aplati la hiérarchie DOM pour le layout flex */
    }
    .sticky-img {
        position: relative !important;
        opacity: 1 !important;
        transform: none !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
        width: 100%;
        object-fit: cover;
        border-radius: var(--border-radius-md);
        margin-top: 3rem;
        margin-bottom: 1.5rem;
    }
    .content-slide {
        min-height: auto !important;
        padding: 0 0 2rem 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        opacity: 1 !important;
    }
    .content-slide:last-child {
        border-bottom: none;
    }
    
    /* Réorganisation de l'ordre pour alterner Image -> Texte -> Image -> Texte */
    .media-frame > .sticky-img:nth-child(1) { order: 1; }
    .scrolling-content-col > .content-slide:nth-child(1) { order: 2; }
    
    .media-frame > .sticky-img:nth-child(2) { order: 3; }
    .scrolling-content-col > .content-slide:nth-child(2) { order: 4; }
    
    .media-frame > .sticky-img:nth-child(3) { order: 5; }
    .scrolling-content-col > .content-slide:nth-child(3) { order: 6; }
    
    .media-frame > .sticky-img:nth-child(4) { order: 7; }
    .scrolling-content-col > .content-slide:nth-child(4) { order: 8; }
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: none;
    }

    .hero-btns .btn {
        width: 100%;
    }
    
    .feature-info {
        padding-right: 0;
        text-align: center;
    }
    
    /* Mobile overrides for inline immersive blocks in clubs.html & index.html */
    section .container > div[style*="min-height"] {
        padding: 2rem 1.5rem !important;
        min-height: 80vh !important;
        flex-direction: column !important;
        justify-content: flex-end !important; /* Push content to bottom */
    }
    
    /* Override horizontal gradients to vertical so text is readable on mobile */
    section .container > div[style*="min-height"] > div:nth-child(2) {
        background: linear-gradient(180deg, rgba(15,15,15,0) 0%, rgba(15,15,15,0.6) 40%, rgba(15,15,15,0.95) 100%) !important;
    }
    
    section .container > div[style*="min-height"] > div:last-child {
        text-align: center !important;
        padding-top: 1.5rem !important;
        margin-top: auto; /* Ensure it stays at bottom */
        width: 100% !important;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
}

/* FAQ Accordion Styles */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
}

.faq-item {
    background-color: rgba(8, 17, 36, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item.active {
    border-color: var(--bronze);
    box-shadow: 0 5px 15px rgba(197, 155, 108, 0.15);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    color: var(--bronze-light);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--bronze);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 250px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.card, .price-card, .contact-info-icon, .form-control {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* ==========================================================================
   Accessibilité & conversion — ajouts transverses
   ========================================================================== */

/* 1. Visibilité du focus clavier.
   La feuille ne définissait aucun style de focus : un utilisateur au clavier
   ne savait pas où il se trouvait. */
:focus-visible {
    outline: 2px solid var(--bronze-light);
    outline-offset: 3px;
    border-radius: 2px;
}
.btn:focus-visible,
.nav-item a:focus-visible,
.social-link:focus-visible,
.faq-question:focus-visible {
    outline: 2px solid var(--bronze-light);
    outline-offset: 3px;
}
/* .double-outline-element utilise déjà outline pour son liseré décoratif :
   on passe par un box-shadow pour ne pas l'écraser au focus. */
.double-outline-element:focus-visible {
    outline: 1px solid var(--white);
    outline-offset: -5px;
    box-shadow: 0 0 0 3px var(--bronze-light);
}

/* 2. Lien d'évitement : accès direct au contenu au clavier. */
.skip-link {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -120%);
    z-index: 3000;
    padding: 0.75rem 1.5rem;
    background: var(--bronze);
    color: var(--navy-dark);
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
    transition: transform 0.25s ease;
}
.skip-link:focus {
    transform: translate(-50%, 0);
}

/* 3. Barre d'action fixe sur mobile et tablette.
   .nav-cta est masqué en dessous de 992px : sans cette barre, il n'existe
   aucun CTA visible sur tactile, le seul accès à la réservation étant
   enfermé dans le menu burger. */
.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    padding-bottom: calc(0.6rem + env(safe-area-inset-bottom, 0px));
    background: rgba(3, 8, 20, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-cta-bar .btn {
    flex: 1;
    min-height: 50px;
    font-size: 1.05rem;
    padding: 0.7rem 0.75rem;
}

/* Même seuil que le masquage de .nav-cta, pour ne laisser aucune taille
   d'écran sans CTA visible. */
@media (max-width: 992px) {
    .mobile-cta-bar { display: flex; }
    /* On dégage le pied de page pour que la barre ne le recouvre pas. */
    body { padding-bottom: 4.75rem; }
}

@media (max-width: 768px) {
    /* 4. Cibles tactiles : 48px minimum (recommandation WCAG 2.5.5). */
    .btn,
    .nav-item a,
    .faq-question {
        min-height: 48px;
    }
    .social-link {
        min-width: 44px;
        min-height: 44px;
    }
}

/* ==========================================================================
   Accueil — chiffres, 3 espaces, disciplines, planning, coachs, localisation
   ========================================================================== */

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 0 1.75rem;
    list-style: none;
}

.hero-facts li {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(3, 8, 20, 0.35);
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
}

.stats-home {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat-home {
    padding: 1.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    background: var(--bg-secondary);
}

.stat-home strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-home span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.space-card .card-arrow {
    margin-top: 1rem;
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bronze);
    opacity: 0.7;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.space-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(4px);
}

.discipline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.discipline-card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1.25rem 1.3rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

@media (hover: hover) {
    .discipline-card:hover {
        transform: translateY(-3px);
        border-color: rgba(197, 155, 108, 0.55);
        background: var(--bg-tertiary);
    }
}

.discipline-card h3 {
    font-size: 1.25rem;
    margin: 0;
}

.discipline-card p {
    font-size: 0.9rem;
    margin: 0;
}

.discipline-grid .discipline-card:nth-child(1) { transition-delay: 0.05s; }
.discipline-grid .discipline-card:nth-child(2) { transition-delay: 0.1s; }
.discipline-grid .discipline-card:nth-child(3) { transition-delay: 0.15s; }
.discipline-grid .discipline-card:nth-child(4) { transition-delay: 0.08s; }
.discipline-grid .discipline-card:nth-child(5) { transition-delay: 0.13s; }
.discipline-grid .discipline-card:nth-child(6) { transition-delay: 0.18s; }
.discipline-grid .discipline-card:nth-child(7) { transition-delay: 0.11s; }
.discipline-grid .discipline-card:nth-child(8) { transition-delay: 0.16s; }
.discipline-grid .discipline-card:nth-child(9) { transition-delay: 0.21s; }

.planning-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.planning-card {
    position: relative;
    display: block;
    min-height: 280px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    isolation: isolate;
    transition: border-color var(--dur-hover) var(--ease-out), transform var(--dur-hover) var(--ease-out);
}

.planning-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s var(--ease-out);
}

.planning-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 8, 20, 0.94) 12%, rgba(3, 8, 20, 0.4) 55%, rgba(3, 8, 20, 0.12) 100%);
}

.planning-card-body {
    position: relative;
    z-index: 1;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.45rem 1.4rem 1.35rem;
}

@media (hover: hover) {
    .planning-card:hover {
        transform: translateY(-4px);
        border-color: var(--bronze);
    }
    .planning-card:hover img {
        transform: scale(1.05);
    }
}

.planning-card h3 {
    font-size: 1.55rem;
    margin: 0.35rem 0 0.4rem;
}

.planning-card p {
    font-size: 0.92rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.82);
}

.planning-card .card-arrow {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bronze-light);
}

.coach-home-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.coach-home {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    min-height: 320px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: border-color var(--dur-hover) var(--ease-out), transform var(--dur-hover) var(--ease-out);
}

.coach-home > picture {
    display: block;
    min-height: 320px;
    height: 100%;
}

.coach-home img,
.coach-initials {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border-radius: 0;
    object-fit: cover;
    object-position: center 18%;
    border: 0;
}

.coach-home-body {
    padding: 1.7rem 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (hover: hover) {
    .coach-home:hover {
        border-color: rgba(197, 155, 108, 0.5);
        transform: translateY(-3px);
    }
}

.coach-home h3 {
    font-size: 1.7rem;
    margin-bottom: 0.25rem;
}

.coach-home .coach-role {
    color: var(--bronze);
    font-size: 0.92rem;
    margin-bottom: 0.75rem;
}

.coach-home p {
    font-size: 0.95rem;
    margin: 0;
}

.location-block {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
}

.location-stage {
    position: relative;
    min-height: 480px;
    border-block: 1px solid var(--border-color);
}

.location-stage .map-wrapper {
    position: absolute;
    inset: 0;
    height: 100% !important;
    border: 0 !important;
    border-radius: 0 !important;
}

.location-stage .map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.45) contrast(1.05);
}

.location-card {
    position: relative;
    z-index: 1;
    width: min(92%, 420px);
    margin: 4.5rem 0 4.5rem max(5%, calc((100% - var(--container-max)) / 2));
    padding: 2rem 1.8rem;
    background: rgba(3, 8, 20, 0.92);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.location-address {
    font-size: 1.35rem;
    color: var(--white);
    font-weight: 600;
    margin: 0.5rem 0 0.35rem;
    line-height: 1.4;
}

.location-hint {
    margin-bottom: 1.5rem;
}

.location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.back-to-top {
    position: fixed;
    right: 1rem;
    bottom: 5.5rem;
    z-index: 998;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: rgba(3, 8, 20, 0.9);
    color: var(--white);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, border-color 0.25s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    border-color: var(--bronze);
    color: var(--bronze);
}

@media (min-width: 993px) {
    .back-to-top { bottom: 1.5rem; }
}

@media (max-width: 992px) {
    .stats-home,
    .stats-home--strip,
    .space-grid,
    .discipline-grid {
        grid-template-columns: 1fr 1fr;
    }
    .coach-home-grid,
    .planning-preview,
    .home-plans,
    .plan-grid,
    .plan-grid--3,
    .decide-grid,
    .plan-conditions {
        grid-template-columns: 1fr;
    }
    .proof-grid {
        grid-template-columns: 1fr 1fr;
    }
    .proof-item:first-child {
        grid-row: auto;
        grid-column: 1 / -1;
    }
    .proof-item:nth-child(4) {
        grid-column: auto;
    }
    .compare-wrap {
        display: none;
    }
    .compare-mobile {
        display: grid;
        gap: 0.9rem;
    }
    .compare-mobile article {
        padding: 1.2rem 1.15rem;
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius-md);
        background: var(--bg-secondary);
    }
    .compare-mobile h3 {
        font-size: 1.2rem;
        margin-bottom: 0.7rem;
    }
    .compare-mobile dl {
        display: grid;
        grid-template-columns: minmax(5.5rem, 0.4fr) minmax(0, 1fr);
        gap: 0.45rem 0.75rem;
        font-size: 0.9rem;
    }
    .compare-mobile dt { color: var(--text-muted); }
    .compare-mobile dd { color: var(--text-secondary); margin: 0; }
}

@media (max-width: 768px) {
    .space-grid,
    .discipline-grid,
    .planning-preview,
    .coach-home-grid,
    .location-block,
    .home-plans {
        grid-template-columns: 1fr;
    }
    .coach-home {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .coach-home > picture,
    .coach-home img,
    .coach-initials {
        min-height: 240px;
        max-height: 280px;
        object-position: center 15%;
    }
    .location-stage {
        min-height: 0;
        display: flex;
        flex-direction: column;
    }
    .location-stage .map-wrapper {
        position: relative;
        min-height: 280px;
    }
    .location-card {
        width: auto;
        margin: 0;
        border-radius: 0;
    }
    .stats-strip {
        width: 92%;
        margin-top: -3.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal,
    .hero-copy > *,
    .page-hero-content > *,
    .hero-lockup,
    .wordmark-lead,
    .hero-place-pill,
    .script,
    .script-soft,
    .script-energy,
    .script--hero {
        opacity: 1;
        transform: none;
        clip-path: none;
        animation: none;
    }
    .script--hero,
    .wordmark--footer .script {
        transform: rotate(var(--script-rot));
    }
    .hero-visual img {
        animation: none;
        transform: none;
    }
}

/* ==========================================================================
   Réseau de clubs + bandeau promo flottant
   ========================================================================== */

.network-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.25rem;
}

.network-card {
    position: relative;
    display: block;
    min-height: 420px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    isolation: isolate;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.network-card--wide {
    grid-column: 1 / -1;
    min-height: 280px;
}

.network-card picture,
.network-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.network-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.6rem 1.7rem;
    background: linear-gradient(to top, rgba(3, 8, 20, 0.92) 12%, rgba(3, 8, 20, 0.45) 55%, rgba(3, 8, 20, 0.12) 100%);
    z-index: 1;
    transition: transform 0.35s ease;
}

@media (hover: hover) {
    .network-card:hover {
        border-color: rgba(197, 155, 108, 0.5);
        transform: translateY(-4px);
    }
    .network-card:hover img {
        transform: scale(1.05);
    }
    .network-card:hover .network-card-overlay {
        transform: translateY(-4px);
    }
}

.network-card .card-arrow {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bronze-light);
    opacity: 0.8;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.network-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(4px);
}

.network-here {
    align-self: flex-start;
    margin-bottom: auto;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bg-primary);
    background: var(--bronze);
    padding: 0.28rem 0.7rem;
    border-radius: 3px;
}

/* Commune du club, posée au-dessus du nom : c'est le premier critère de choix
   quand on compare cinq salles. Discrète pour ne pas concurrencer le titre. */
.img-card-badge {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bronze-light);
}

.network-card h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 0.35rem 0 0.4rem;
}

.network-card p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    max-width: 46ch;
    margin-bottom: 0.85rem;
}

.network-grid .network-card:nth-child(1) { transition-delay: 0.04s; }
.network-grid .network-card:nth-child(2) { transition-delay: 0.1s; }
.network-grid .network-card:nth-child(3) { transition-delay: 0.16s; }
.network-grid .network-card:nth-child(4) { transition-delay: 0.22s; }

.offer-strip {
    border-top: 1px solid rgba(197, 155, 108, 0.22);
    border-bottom: 1px solid rgba(197, 155, 108, 0.22);
    background: linear-gradient(90deg, rgba(8, 17, 36, 0.96), rgba(16, 28, 54, 0.88));
}

.offer-strip-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.25rem 1.5rem;
    padding-top: 1.15rem;
    padding-bottom: 1.15rem;
}

.offer-strip-glove {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(197, 155, 108, 0.4);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.offer-strip-glove img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 42% 48%;
    display: block;
}

.offer-strip-kicker {
    margin: 0 0 0.2rem;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bronze-light);
    font-weight: 600;
}

.offer-strip-title {
    margin: 0 0 0.2rem;
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1;
    color: var(--white);
}

.offer-strip-title span {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-left: 0.35rem;
}

.offer-strip-hook {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.offer-strip-cta {
    white-space: nowrap;
}

.offer-glove {
    position: fixed;
    right: 1.15rem;
    bottom: 1.15rem;
    z-index: 980;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
    gap: 0.7rem;
    max-width: min(22rem, calc(100vw - 2rem));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), visibility 0.4s;
}

.offer-glove.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

.offer-glove-hand {
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    padding: 0;
    border: 1px solid rgba(197, 155, 108, 0.5);
    border-radius: 50%;
    overflow: hidden;
    background: #0b1016;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.offer-glove-hand img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 40% 48%;
    display: block;
    transform: rotate(-12deg) scale(1.15);
    transition: transform 0.45s var(--ease-out);
}

.offer-glove.is-expanded .offer-glove-hand img {
    transform: rotate(-4deg) scale(1.08);
}

.offer-glove-panel {
    position: relative;
    width: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    background: rgba(8, 17, 36, 0.96);
    border: 1px solid transparent;
    border-radius: 14px;
    box-shadow: none;
    padding: 0;
    transform: translateX(-10px);
    transition: width 0.42s var(--ease-out), max-height 0.42s var(--ease-out), opacity 0.32s ease, transform 0.42s var(--ease-out), padding 0.42s var(--ease-out), border-color 0.3s ease;
}

.offer-glove.is-expanded .offer-glove-panel {
    width: 16.5rem;
    max-height: 14rem;
    overflow: visible;
    opacity: 1;
    padding: 0.9rem 1.7rem 1rem 1.05rem;
    border-color: rgba(197, 155, 108, 0.38);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    transform: none;
}

.offer-glove-kicker {
    margin: 0 0 0.2rem;
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bronze-light);
    font-weight: 600;
}

.offer-glove-price {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1;
    color: var(--white);
}

.offer-glove-meta {
    margin: 0.2rem 0 0.45rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.offer-glove-hook {
    margin: 0 0 0.75rem;
    font-size: 0.86rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

.offer-glove-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: var(--bronze);
    color: var(--bg-primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
}

.offer-glove-cta:hover {
    background: var(--bronze-light);
}

.offer-glove-close {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
}

.offer-glove-close:hover { color: var(--white); }

.offer-glove.is-swap .offer-glove-price,
.offer-glove.is-swap .offer-glove-hook,
.offer-glove.is-swap .offer-glove-meta {
    animation: offerSwap 0.45s var(--ease-out);
}

@keyframes offerSwap {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

@media (hover: hover) {
    .offer-glove.is-visible:not(.is-expanded) .offer-glove-hand:hover img {
        transform: rotate(-6deg) scale(1.18);
    }
}

@media (min-width: 993px) {
    body.offer-glove-open .back-to-top {
        bottom: 10.5rem;
    }
}

@media (max-width: 992px) {
    .network-grid {
        grid-template-columns: 1fr;
    }
    .network-card,
    .network-card--wide {
        min-height: 340px;
    }
    .offer-glove {
        left: 0.7rem;
        right: auto;
        bottom: calc(4.85rem + env(safe-area-inset-bottom, 0px));
        max-width: min(17.5rem, calc(100vw - 1.4rem));
        flex-direction: row;
    }
    .offer-glove-hand {
        width: 48px;
        height: 48px;
    }
    .offer-glove.is-expanded .offer-glove-panel {
        width: min(12rem, calc(100vw - 5.2rem));
        max-height: none;
        padding: 0.65rem 1.35rem 0.7rem 0.75rem;
        transform: none;
    }
    .offer-glove-meta,
    .offer-glove-hook {
        display: none;
    }
    .offer-glove-price { font-size: 1.35rem; margin-bottom: 0.45rem; }
    .offer-strip-inner {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 0.85rem 1rem;
    }
    .offer-strip-cta {
        grid-column: 1 / -1;
        justify-self: start;
    }
    .offer-strip-glove {
        width: 52px;
        height: 52px;
    }
    body.offer-glove-open .back-to-top {
        bottom: calc(12.5rem + env(safe-area-inset-bottom, 0px));
    }
}

body:has(.nav-menu.active) .offer-glove {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@media (max-width: 768px) {
    .network-card { min-height: 300px; }
}

/* ==========================================================================
   Accueil — rythme éditorial + page Abonnements
   ========================================================================== */

.stats-strip {
    position: relative;
    z-index: 3;
    width: min(90%, var(--container-max));
    margin: -4.25rem auto 0;
    padding: 0;
    background: rgba(8, 17, 36, 0.92);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.stats-home--strip {
    gap: 0;
}

.stats-strip .container {
    width: 100%;
    max-width: none;
    padding: 0;
}

.stats-home--strip .stat-home {
    padding: 1.35rem 1rem 1.45rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    position: relative;
}

.stats-home--strip .stat-home + .stat-home::before {
    content: '';
    position: absolute;
    left: 0;
    top: 22%;
    bottom: 22%;
    width: 1px;
    background: var(--border-color);
}

.stats-home--strip .stat-home strong {
    font-size: clamp(1.85rem, 3.4vw, 2.55rem);
    margin-bottom: 0.2rem;
}

.editorial-split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    min-height: 560px;
    border-bottom: 1px solid var(--border-color);
}

.editorial-media {
    position: relative;
    min-height: 420px;
    overflow: hidden;
}

.editorial-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.editorial-split:hover .editorial-media img {
    transform: scale(1.03);
}

.editorial-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem);
    background: var(--bg-primary);
}

.editorial-copy h2 {
    font-size: clamp(2.2rem, 4.2vw, 3.6rem);
    line-height: 0.95;
    margin: 0.85rem 0 1.1rem;
}

.editorial-copy p {
    max-width: 36rem;
    margin-bottom: 1.4rem;
}

.editorial-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 1.75rem;
}

.editorial-points li {
    color: var(--text-secondary);
    padding-left: 1.4rem;
    position: relative;
}

.editorial-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.55rem;
    height: 0.55rem;
    background: var(--bronze);
}

.bento-spaces {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    min-height: 560px;
}

.bento-tile {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    isolation: isolate;
    min-height: 220px;
}

.bento-tile--lg {
    grid-row: 1 / 3;
    min-height: 100%;
}

.bento-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.bento-tile-body {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.45rem 1.5rem;
    background: linear-gradient(to top, rgba(3, 8, 20, 0.92) 8%, rgba(3, 8, 20, 0.35) 52%, rgba(3, 8, 20, 0.08) 100%);
}

.bento-tile h3 {
    font-size: clamp(1.45rem, 2.4vw, 2.1rem);
    margin: 0.35rem 0 0.4rem;
}

.bento-tile p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
}

/* Survol réservé aux appareils à pointeur.
   Sur écran tactile, :hover se déclenche au tap juste avant la navigation et
   provoque un scintillement. L'information reste entièrement lisible sans
   survol : rien d'essentiel n'est caché derrière un hover. */
@media (hover: hover) {
    .bento-tile:hover {
        border-color: rgba(197, 155, 108, 0.55);
    }
    .bento-tile:hover img {
        transform: scale(1.045);
    }
    .bento-tile:hover .card-arrow {
        transform: translateX(4px);
        opacity: 1;
    }
}

.bento-tile .card-arrow {
    transition: transform var(--dur-hover) var(--ease-out), opacity var(--dur-hover) var(--ease-out);
}

.bento-tile .card-arrow {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bronze-light);
    opacity: 0.85;
}

.discipline-lead .discipline-card {
    padding: 1.6rem 1.5rem 1.5rem;
    min-height: 10.5rem;
}

.discipline-lead .discipline-card h3 {
    font-size: 1.55rem;
}

.discipline-more .discipline-card {
    padding: 1rem 1.15rem;
}

.discipline-more .discipline-card h3 {
    font-size: 1.1rem;
}

.discipline-more .discipline-card p {
    font-size: 0.85rem;
}

.home-plans {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: stretch;
}

@media (min-width: 993px) {
    .home-plans {
        grid-template-columns: 1fr 1.2fr;
    }
}

.page-hero {
    position: relative;
    padding: 9rem 0 4.5rem;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.page-hero-media {
    position: absolute;
    inset: 0;
}

.page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    animation: heroZoom 16s var(--ease-out) both;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at 38% 48%, rgba(3, 8, 20, 0.78) 0%, rgba(3, 8, 20, 0.5) 55%, rgba(3, 8, 20, 0.2) 100%),
        linear-gradient(to right, rgba(3, 8, 20, 0.88) 0%, rgba(3, 8, 20, 0.35) 70%, rgba(3, 8, 20, 0.15) 100%);
}

/* Cet élément porte aussi la classe .container : lui donner un max-width
   réduit le recentrait (margin: 0 auto), et le titre de page ne tombait plus
   sur la même verticale que le logo et les titres de section. La largeur de
   lecture est donc limitée sur les enfants, pas sur le bloc. */
.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero-content h1 {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    line-height: 0.92;
    margin: 0.6rem 0 1rem;
    max-width: 16ch;
    overflow: visible;
}

.page-hero-content p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.12rem;
    margin-bottom: 1.4rem;
    max-width: 54ch;
}

.page-hero-content h1 span {
    color: var(--bronze-light);
}

.page-hero-content h1 .script,
.page-hero-content h1 .script-soft {
    color: var(--bronze-light);
    font-size: clamp(2.5rem, 8vw, 4.4rem);
    line-height: 0.85;
    vertical-align: baseline;
    animation: signatureWrite 0.82s var(--ease-sign) 0.4s both;
}

.page-hero-content h1 .script--block {
    display: block;
    --script-rot: -4deg;
    margin-top: 0.02em;
    font-size: clamp(2.8rem, 9vw, 5rem);
    white-space: normal;
}

.section-head .type-kicker {
    margin: 0.2rem 0 0;
    max-width: none;
}

.page-hero-content .type-kicker {
    color: var(--bronze-light);
    margin-bottom: 0.15rem;
    max-width: none;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
    animation: signatureWrite 0.75s var(--ease-sign) 0.28s both;
}

/* Les hero de pages internes sont alignés à gauche : on neutralise le
   centrage hérité du hero d'accueil. */
.page-hero-content .hero-btns {
    justify-content: flex-start;
}

.page-hero-content .eyebrow {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.page-hero-content h1,
.page-hero-content p {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

/* Entrée du hero de page : même principe que l'accueil, joué une seule fois. */
.page-hero-content > * {
    animation: heroIn 0.7s var(--ease-out) both;
}

.page-hero-content > *:nth-child(1) { animation-delay: 0.05s; }
.page-hero-content > *:nth-child(2) { animation-delay: 0.13s; }
.page-hero-content > *:nth-child(3) { animation-delay: 0.21s; }
.page-hero-content > *:nth-child(4) { animation-delay: 0.29s; }
.page-hero-content > *:nth-child(5) { animation-delay: 0.37s; }

.page-hero-facts {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.75rem;
}

.page-hero-facts li {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.92rem;
    padding: 0.4rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    color: var(--white);
}

.plan-jump {
    position: sticky;
    top: calc(80px + env(safe-area-inset-top, 0px));
    z-index: 40;
    background: rgba(3, 8, 20, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.plan-jump-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 0;
}

.plan-jump a {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.4rem 0.9rem;
    flex: 0 1 auto;
    max-width: 100%;
}

.plan-jump a:hover,
.plan-jump a:focus-visible {
    color: var(--white);
    border-color: var(--bronze);
}

.plan-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 993px) {
    .plan-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .plan-grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.plan-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 1.8rem 1.7rem 1.6rem;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transition:
        transform var(--dur-hover) var(--ease-out),
        border-color var(--dur-hover) var(--ease-out),
        background-color var(--dur-hover) var(--ease-out);
}

.plan-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--bronze);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

@media (hover: hover) {
    .plan-card:hover {
        transform: translateY(-6px);
        border-color: rgba(197, 155, 108, 0.6);
        background: rgba(14, 26, 53, 0.72);
    }
    .plan-card:hover::after {
        transform: scaleX(1);
    }
    .plan-card:hover .btn-primary svg,
    .plan-card:hover .plan-link svg {
        transform: translateX(4px);
    }
    .plan-card:hover li {
        color: rgba(255, 255, 255, 0.88);
    }
}

.plan-card--featured {
    border-color: var(--bronze);
    background: linear-gradient(180deg, rgba(197, 155, 108, 0.16) 0%, var(--bg-secondary) 46%);
}

.plan-card--featured::after {
    transform: scaleX(1);
}

@keyframes offerGlow {
    0% { opacity: 0; }
    45% { opacity: 1; box-shadow: 0 0 0 1px var(--bronze), 0 0 36px rgba(197, 155, 108, 0.38); }
    100% { opacity: 1; box-shadow: 0 0 0 1px var(--bronze), 0 18px 45px rgba(197, 155, 108, 0.16); }
}

.plan-card--featured::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    z-index: -1;
    box-shadow: 0 0 0 1px var(--bronze), 0 18px 45px rgba(197, 155, 108, 0.16);
    opacity: 0;
}

.plan-card--featured.is-revealed::before,
.plan-card--featured.active::before,
.plan-card--featured:not(.reveal)::before {
    animation: offerGlow 1.05s var(--ease-out) 0.12s both;
}

.home-plans .plan-card--featured {
    padding: 2.15rem 1.9rem 1.85rem;
}

.plan-badge {
    align-self: flex-start;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bg-primary);
    background: var(--bronze);
    padding: 0.28rem 0.65rem;
    border-radius: 3px;
    margin-bottom: 0.85rem;
}

.plan-card h3 {
    font-size: 1.55rem;
    margin-bottom: 0.35rem;
}

.plan-period {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 0.85rem;
}

.plan-price {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    line-height: 1;
    color: var(--white);
    margin-bottom: 0.35rem;
}

.plan-price small {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.plan-was {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.plan-note {
    font-size: 0.9rem;
    color: var(--bronze-light);
    margin-bottom: 1rem;
}

.plan-card ul {
    list-style: none;
    margin: 0.4rem 0 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex: 1;
}

.plan-card li {
    color: var(--text-secondary);
    padding-left: 1.35rem;
    position: relative;
    font-size: 0.95rem;
}

.plan-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.55rem;
    height: 0.55rem;
    background: var(--bronze);
}

.plan-card .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.plan-card .btn svg {
    transition: transform var(--dur-hover) var(--ease-out);
}

/* Précision tarifaire secondaire (badge, prélèvement…) : visible en
   permanence, y compris sur mobile — jamais réservée au survol. */
.plan-fineprint {
    margin-top: 0.75rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
}

.plan-conditions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.1rem;
}

@media (min-width: 993px) {
    .plan-conditions {
        grid-template-columns: repeat(3, 1fr);
    }
}

.plan-conditions article {
    padding: 1.4rem 1.3rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    background: var(--bg-secondary);
}

.plan-conditions h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.compare-wrap {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.compare-table th,
.compare-table td {
    padding: 0.9rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.compare-table th {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--white);
    background: rgba(16, 28, 54, 0.65);
}

.compare-table td {
    color: var(--text-secondary);
}

.compare-table tr:last-child td {
    border-bottom: 0;
}

.compare-mobile {
    display: none;
}

.decide-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.1rem;
}

@media (min-width: 993px) {
    .decide-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.decide-card {
    padding: 1.5rem 1.4rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    background: var(--bg-secondary);
}

.decide-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.45rem;
}

.decide-card p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.decide-card a {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bronze);
}

.section-lead {
    text-align: center;
    max-width: 38rem;
    margin: -2.4rem auto 2.4rem;
}

body.page-abonnements {
    scroll-padding-top: calc(11rem + env(safe-area-inset-top, 0px));
}

#essai,
#offres,
#sans-engagement,
#comptant,
#enfants,
#comparer,
#choix {
    scroll-margin-top: calc(11rem + env(safe-area-inset-top, 0px));
}

.trial-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 1.7rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    background: var(--bg-secondary);
}

.trial-banner h2 {
    font-size: 1.7rem;
    margin-bottom: 0.3rem;
}

@media (max-width: 992px) {
    .editorial-split {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .bento-spaces {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
        min-height: 0;
    }
    .bento-tile--lg {
        grid-row: auto;
        grid-column: 1 / -1;
        min-height: 340px;
    }
    .stats-home--strip {
        grid-template-columns: 1fr 1fr;
    }
    .stats-home--strip .stat-home:nth-child(3)::before {
        display: none;
    }
    .plan-jump-inner {
        flex-wrap: wrap;
        overflow: visible;
        gap: 0.4rem;
        padding: 0.55rem 0;
    }
    .plan-jump {
        top: calc(80px + env(safe-area-inset-top, 0px));
        overflow: visible;
    }
    .plan-jump a {
        flex: 0 1 auto;
        font-size: 0.8rem;
        letter-spacing: 0.04em;
        padding: 0.32rem 0.7rem;
    }
    .home-plans,
    .plan-grid,
    .plan-grid--3,
    .decide-grid,
    .plan-conditions {
        grid-template-columns: 1fr;
    }
    .plan-card {
        padding: 1.35rem 1.2rem 1.25rem;
    }
    .trial-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .trial-banner .btn {
        width: 100%;
        text-align: center;
    }
    .page-hero {
        min-height: 0;
        padding: calc(8.5rem + env(safe-area-inset-top, 0px)) 0 3rem;
    }
}

@media (max-width: 768px) {
    .editorial-split,
    .discipline-lead,
    .discipline-more {
        grid-template-columns: 1fr;
    }
    .editorial-media {
        min-height: 280px;
    }
    .bento-spaces {
        grid-template-columns: 1fr;
    }
    .bento-tile,
    .bento-tile--lg {
        min-height: 280px;
    }
    .page-hero-content h1 .script,
    .page-hero-content h1 .script-soft,
    .page-hero-content h1 .script--block {
        font-size: clamp(2.15rem, 13vw, 3.35rem);
        --script-rot: -2.5deg;
        max-width: 100%;
    }
    .script-caption,
    .values-sign {
        font-size: clamp(1.55rem, 7vw, 2.1rem);
    }
    .wordmark--footer .script {
        margin-left: 0.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .editorial-split:hover .editorial-media img,
    .bento-tile:hover img {
        transform: none;
    }
}

/* ==========================================================================
   Disciplines : trois cartes photo + liens secondaires
   ==========================================================================
   Les trois familles principales passent par l'image — c'est ce qui donne
   envie et ce qui distingue un club de combat d'une salle de fitness. Les
   autres cours sont des liens compacts : ils restent accessibles sans
   revendiquer le même poids visuel, ce qui évite une grille de neuf boîtes
   identiques où plus rien ne ressort. */

.disc-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.disc-tile {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: border-color var(--dur-hover) var(--ease-out);
}

.disc-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}

.disc-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 8, 20, 0.95) 12%, rgba(3, 8, 20, 0.55) 48%, rgba(3, 8, 20, 0.12) 100%);
}

.disc-tile-body {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 1;
    padding: 1.5rem 1.4rem 1.4rem;
}

.disc-tile-body h3 {
    font-size: 1.55rem;
    margin: 0.4rem 0 0.4rem;
    color: var(--white);
}

.disc-tile-body p {
    font-size: 0.94rem;
    margin: 0 0 0.7rem;
    color: rgba(255, 255, 255, 0.82);
}

.disc-tile .card-arrow {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.92rem;
    color: var(--bronze-light);
    transition: transform var(--dur-hover) var(--ease-out);
    display: inline-block;
}

@media (hover: hover) {
    .disc-tile:hover { border-color: rgba(197, 155, 108, 0.6); }
    .disc-tile:hover img { transform: scale(1.05); }
    .disc-tile:hover .card-arrow { transform: translateX(5px); }
}

.disc-chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 1.5rem 0 0;
    padding: 0;
}

.disc-chips a {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 1rem;
    color: var(--white);
    transition: border-color var(--dur-hover) var(--ease-out), background-color var(--dur-hover) var(--ease-out);
}

.disc-chips em {
    font-family: var(--font-primary);
    font-style: normal;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (hover: hover) {
    .disc-chips a:hover {
        border-color: rgba(197, 155, 108, 0.6);
        background: var(--bg-tertiary);
    }
}

@media (max-width: 992px) {
    .disc-tiles { grid-template-columns: 1fr 1fr; }
    .disc-tiles > :first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}

@media (max-width: 600px) {
    .disc-tiles { grid-template-columns: 1fr; }
    /* Un peu plus haut qu'en 16/9 : la photo doit rester lisible sous le
       dégradé qui porte le texte. */
    .disc-tiles > * { aspect-ratio: 5 / 4; }
    .disc-chips a { width: 100%; }
}

/* ==========================================================================
   Composants d'accueil : preuve, bande immersive, repère de scroll
   ========================================================================== */

/* Repère de scroll : indique qu'il y a du contenu sous le hero plein écran.
   Sans lui, un premier écran 100vh peut se lire comme la page entière. */
.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 1.75rem;
    transform: translateX(-50%);
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-display);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.hero-scroll::after {
    content: '';
    width: 1px;
    height: 2.25rem;
    background: linear-gradient(to bottom, var(--bronze), transparent);
}

@media (max-width: 992px) {
    .hero-scroll { display: none; }
}

/* Bande de preuve : ce qui rend le club crédible avant de parler de prix
   (ancienneté, affiliations, mixité, compétition). */
.proof-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1px;
    background: var(--border-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.proof-item {
    background: var(--bg-primary);
    padding: 1.6rem 1.5rem;
}

.proof-item:first-child {
    grid-row: 1 / -1;
    padding: 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg, rgba(197, 155, 108, 0.08), var(--bg-primary) 55%);
}

.proof-item:nth-child(4) {
    grid-column: 2 / -1;
}

.proof-item:first-child h3 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.proof-item h3 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
    color: var(--bronze-light);
}

.proof-item p {
    font-size: 0.92rem;
    margin: 0;
}

/* Bande immersive pleine largeur : rupture de rythme entre deux sections en
   container, pour éviter l'empilement de blocs de même largeur. */
.immersive {
    position: relative;
    min-height: 62vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-block: 1px solid var(--border-color);
}

.immersive img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
}

.immersive::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 8, 20, 0.94) 6%, rgba(3, 8, 20, 0.4) 55%, rgba(3, 8, 20, 0.15) 100%);
}

.immersive-body {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.immersive-body h2 {
    font-size: clamp(2.1rem, 5vw, 4rem);
    line-height: 0.94;
    margin: 0.6rem 0 0.9rem;
    max-width: 22ch;
}

.immersive-body h2 span { color: var(--bronze); }
.immersive-body h2 .script { color: var(--bronze-light); }

.values-sign {
    --script-rot: -3deg;
    display: block;
    text-align: center;
    font-size: clamp(2.15rem, 5vw, 3.35rem);
    margin: 0 0 1.35rem;
    color: var(--bronze-light);
}

.immersive-body p {
    max-width: 48ch;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-md);
}

@media (max-width: 992px) {
    .proof-grid { grid-template-columns: 1fr 1fr; }
    .immersive { min-height: 0; }
}

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

/* Disciplines : composition éditoriale alternée (hors page d'accueil). */
.discipline-row {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: center;
    margin-bottom: clamp(3rem, 7vw, 6rem);
}

.discipline-row:nth-child(even) {
    grid-template-columns: 1.05fr 0.95fr;
}

.discipline-row:nth-child(even) .discipline-img-wrapper {
    order: 2;
}

.discipline-img-wrapper {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    height: 420px;
}

.discipline-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s var(--ease-out);
}

@media (hover: hover) {
    .discipline-img-wrapper:hover .discipline-img {
        transform: scale(1.04);
    }
}

.discipline-meta {
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.discipline-meta-item {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.discipline-meta-item strong {
    color: var(--bronze-light);
}

.benefits-list {
    list-style: none;
    margin: 1.5rem 0 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.benefit-item svg {
    color: var(--bronze);
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .discipline-row,
    .discipline-row:nth-child(even) {
        grid-template-columns: 1fr;
        margin-bottom: 3.5rem;
    }
    .discipline-row:nth-child(even) .discipline-img-wrapper {
        order: 0;
    }
    .discipline-img-wrapper {
        height: 280px;
    }
    .benefits-list {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Page 404
   ========================================================================== */

.page-404 {
    min-height: 72svh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: calc(8.5rem + env(safe-area-inset-top, 0px)) 0 5rem;
}

.page-404-code {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(5.5rem, 22vw, 10rem);
    line-height: 0.8;
    letter-spacing: 0.04em;
    color: var(--bronze);
    margin: 0 0 1.1rem;
    text-shadow: 0 0 40px rgba(197, 155, 108, 0.18);
}

.page-404 h1 {
    font-size: clamp(1.85rem, 5vw, 3.1rem);
    margin-bottom: 0.85rem;
}

.page-404 > .container > p {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.page-404-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.page-404-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 1.25rem;
    margin-top: 1.75rem;
}

.page-404-links a {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
}

.page-404-links a:hover,
.page-404-links a:focus-visible {
    color: var(--bronze);
}

@media (max-width: 992px) {
    .page-404 {
        min-height: 0;
        padding: calc(7.5rem + env(safe-area-inset-top, 0px)) 0 6.5rem;
    }
    .page-404-actions .btn {
        width: 100%;
        max-width: 22rem;
    }
}
