/* 1. Polices locales, couleurs et dimensions réutilisables. */
@font-face {
    font-family: 'Barlow Condensed';
    src: url('../fonts/BarlowCondensed-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap
}

@font-face {
    font-family: Barlow;
    src: url('../fonts/Barlow-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap
}

@font-face {
    font-family: Barlow;
    src: url('../fonts/Barlow-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-display: swap
}

:root {
    --dark: #151817;
    --panel: #202522;
    --ivory: #f3f1e8;
    --muted: #afb8b1;
    --green: #c0f547;
    --line: #404a42;
    --title: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --body: Barlow, Arial, sans-serif;
    --gutter: clamp(22px, 5vw, 80px)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px
}

body {
    margin: 0;
    background: var(--dark);
    color: var(--ivory);
    font: 16px/1.65 var(--body)
}

h1,
h2,
h3,
p,
figure {
    margin: 0
}

h1,
h2,
h3 {
    font-family: var(--title);
    font-weight: 700;
    line-height: .98;
    letter-spacing: -.025em
}

h1 {
    font-size: clamp(62px, 7.7vw, 116px)
}

h2 {
    font-size: clamp(42px, 4.8vw, 72px)
}

h3 {
    font-size: 33px
}

em {
    font-style: normal;
    color: var(--green)
}

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

button,
input,
select,
textarea {
    font: inherit
}

button {
    cursor: pointer
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 5px
}

.wrap {
    width: min(100%, 1600px);
    margin-inline: auto;
    padding-inline: var(--gutter)
}

.section {
    padding-block: 110px
}

.eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    margin-bottom: 27px
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 27px;
    background: var(--green);
    color: var(--dark);
    border: 1px solid var(--green);
    font-size: 14px;
    font-weight: 600;
    transition: transform .2s, background .2s, box-shadow .2s
}

.button:hover {
    transform: translateY(-3px);
    background: #d7ff82;
    box-shadow: 5px 5px 0 #c0f54724
}

.button.compact {
    padding: 11px 18px;
    font-size: 12px;
    min-height: 44px
}

.button.outline {
    background: transparent;
    color: var(--ivory);
    border-color: #68766b
}

.button.outline:hover {
    background: var(--green);
    color: var(--dark);
    border-color: var(--green)
}

.text-link {
    display: inline-block;
    font-size: 14px;
    border-bottom: 1px solid #89978b;
    padding-bottom: 5px
}

.skip {
    position: absolute;
    top: -100px;
    background: var(--green);
    color: var(--dark);
    padding: 14px;
    z-index: 10
}

.skip:focus {
    top: 6px
}

.demo {
    font-size: 9px;
    text-align: center;
    padding: 8px 18px;
    background: #293127;
    color: #d5e5c9;
    letter-spacing: .06em
}

.note,
.fine-print {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7
}

/* 2. Identité, navigation et accueil. */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding-block: 24px;
    border-bottom: 1px solid var(--line)
}

.brand {
    font: 700 39px/.85 var(--title);
    letter-spacing: -.02em;
    display: inline-flex;
    align-items: end;
    gap: 8px
}

.brand span {
    font: 600 10px/1 var(--body);
    letter-spacing: .14em;
    padding-bottom: 2px
}

.header nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 13px
}

.header nav>a:not(.button):hover {
    color: var(--green)
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid #6f7a70;
    color: var(--ivory);
    padding: 10px 18px;
    min-height: 44px
}

.hero {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 3vw;
    align-items: center;
    padding-top: 55px;
    padding-bottom: 65px
}

.hero-copy {
    position: relative;
    z-index: 1
}

.hero .eyebrow {
    display: flex;
    align-items: center;
    gap: 10px
}

.status-dot {
    width: 7px;
    height: 7px;
    background: var(--green);
    display: inline-block
}

.hero-copy>p:not(.eyebrow) {
    max-width: 425px;
    font-size: 15px;
    color: var(--muted);
    margin-top: 28px
}

.actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 32px
}

.hero-tags {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    font-size: 10px;
    color: var(--muted);
    margin-top: 40px
}

.hero-photo {
    height: 620px;
    position: relative;
    overflow: hidden;
    border-bottom: 6px solid var(--green)
}

.hero-photo img {
    height: 100%;
    filter: brightness(.76) saturate(.7);
    transition: transform .8s
}

.hero-photo:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, #000b)
}

.hero-photo figcaption {
    position: absolute;
    bottom: 28px;
    left: 28px;
    right: 28px;
    z-index: 1
}

.hero-photo figcaption span {
    font-size: 10px;
    letter-spacing: .15em
}

.hero-photo figcaption strong {
    font: 700 38px/1 var(--title);
    display: block;
    margin-top: 9px
}

.energy-band {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    background: var(--green);
    color: var(--dark);
    padding: 23px var(--gutter);
    font: 700 clamp(26px, 3vw, 44px)/1 var(--title)
}

/* 3. Club, activités et comparatif d’abonnements. */
.club {
    display: grid;
    grid-template-columns: 1fr 2.2fr;
    gap: 40px
}

.club>.eyebrow {
    padding-top: 8px
}

.club-copy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    margin-top: 32px;
    color: var(--muted);
    font-size: 14px
}

.activities {
    background: var(--ivory);
    color: var(--dark)
}

.activities em {
    color: #526c22
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: end;
    margin-bottom: 42px
}

.section-head>p {
    font-size: 14px;
    color: var(--muted);
    max-width: 290px
}

.activities .section-head>p {
    color: #59635b
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: #c5c9bc;
    border: 1px solid #c5c9bc
}

.activity {
    background: var(--ivory);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    transition: background .25s, transform .25s
}

.index {
    font: 700 50px/1 var(--title);
    color: #748361;
    display: block;
    margin-bottom: 45px
}

.activity h3 {
    font-size: 31px
}

.activity p {
    font-size: 13px;
    color: #535d54;
    margin: 22px 0 28px
}

.activity a {
    margin-top: auto;
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 5px
}

.activity:hover {
    background: #e8efd9;
    transform: translateY(-5px)
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px
}

.plan {
    border: 1px solid #4d594d;
    padding: 30px;
    display: flex;
    flex-direction: column;
    background: var(--panel)
}

.plan.featured {
    border: 2px solid var(--green);
    position: relative;
    background: #252e21
}

.plan-kicker {
    font-size: 9px;
    letter-spacing: .13em;
    color: var(--muted);
    margin-bottom: 23px
}

.plan h3 {
    font-size: 42px
}

.price {
    font: 700 67px/1 var(--title);
    margin: 25px 0 18px
}

.price span {
    font: 400 12px var(--body);
    color: var(--muted);
    margin-left: 8px
}

.plan>p:not(.price):not(.plan-kicker) {
    font-size: 13px;
    color: var(--muted)
}

.plan ul {
    list-style: none;
    padding: 0;
    margin: 25px 0 30px;
    font-size: 13px
}

.plan li {
    padding: 12px 0;
    border-top: 1px solid #4d594d
}

.plan .button {
    margin-top: auto;
    width: 100%
}

.fine-print {
    margin-top: 24px
}

/* 4. Coaching et formulaires, champs alignés. */
.coaching {
    background: #242b25
}

.coach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8vw;
    align-items: start
}

.coach-photo {
    position: relative;
    overflow: hidden
}

.coach-photo img {
    height: 730px;
    filter: saturate(.6);
    transition: transform .6s
}

.coach-photo figcaption {
    font-size: 9px;
    letter-spacing: .05em;
    color: var(--muted);
    padding-top: 14px
}

.coach-grid>div>p:not(.eyebrow) {
    font-size: 14px;
    color: var(--muted);
    margin-top: 27px;
    max-width: 430px
}

.coach-form {
    margin-top: 25px
}

.booking {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10vw;
    align-items: start
}

.booking>div>p:not(.eyebrow) {
    color: var(--muted);
    margin-top: 28px;
    max-width: 400px
}

.booking>div>.note {
    border-top: 1px solid var(--line);
    padding-top: 25px
}

.form-card {
    background: var(--panel);
    padding: 34px;
    border-top: 4px solid var(--green)
}

.form-card h3 {
    margin-bottom: 25px
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin: 18px 0 7px
}

input,
select,
textarea {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 12px;
    border: 1px solid #778477;
    background: #202620;
    color: var(--ivory);
    border-radius: 0;
    font-size: 16px;
    color-scheme: dark
}

input,
select {
    height: 52px;
    line-height: 1.25
}

select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23f3f1e8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-position: right 16px center;
    background-repeat: no-repeat;
    background-size: 12px 8px
}

textarea {
    resize: vertical;
    line-height: 1.6
}

textarea::placeholder {
    color: #aab6aa
}

form .button {
    width: 100%;
    margin-top: 24px
}

form .note {
    margin-top: 15px
}

.result {
    font-size: 13px;
    color: var(--green);
    margin-top: 20px
}

.result:empty {
    display: none
}

.contact {
    background: var(--ivory);
    color: var(--dark)
}

.contact em {
    color: #526c22
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10vw
}

.contact-grid>div>p:not(.eyebrow) {
    font-size: 14px;
    color: #535d54;
    max-width: 400px;
    margin-top: 26px
}

.concept-note {
    margin-top: 35px;
    padding-top: 24px;
    border-top: 1px solid #b7bfb1;
    font-size: 11px;
    max-width: 400px
}

.concept-note p {
    font-size: 12px;
    color: #535d54;
    margin-top: 12px
}

.contact input,
.contact select,
.contact textarea {
    background-color: #faf9f2;
    color: var(--dark);
    color-scheme: light
}

.contact select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23151817' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")
}

.contact textarea::placeholder {
    color: #647164
}

.contact .note {
    color: #535d54
}

.contact .result {
    color: #36520e
}

.contact .button {
    border-color: #6b8e21
}

/* 5. Pied de page et animations courtes, sans défilement imposé. */
footer {
    padding-block: 45px 25px
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px
}

.footer-top>p {
    font: 700 25px var(--title)
}

.footer-top>a:last-child {
    font-size: 12px
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid var(--line);
    margin-top: 35px;
    padding-top: 24px;
    font-size: 10px;
    color: var(--muted)
}

details {
    max-width: 420px
}

summary {
    cursor: pointer
}

details p {
    margin-top: 12px
}

.reveal {
    opacity: 1
}

.motion .reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .3, 1)
}

.motion .reveal.visible {
    opacity: 1;
    transform: none
}

.motion .activity:nth-child(2),
.motion .plan:nth-child(2) {
    transition-delay: .07s
}

.motion .activity:nth-child(3),
.motion .plan:nth-child(3) {
    transition-delay: .14s
}

.motion .activity:nth-child(4) {
    transition-delay: .21s
}

.motion .hero-copy {
    animation: enter .7s ease both
}

.motion .hero-photo {
    animation: photo-enter .8s ease both
}

@keyframes enter {
    from {
        opacity: 0;
        transform: translateX(-20px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes photo-enter {
    from {
        opacity: 0;
        transform: translateY(25px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@media(hover:hover) {

    .hero-photo:hover img,
    .coach-photo:hover img {
        transform: scale(1.025)
    }
}

/* 6. Tablettes et téléphones. */
@media(max-width:1100px) {
    .header nav {
        gap: 18px;
        font-size: 12px
    }

    .hero-photo {
        height: 550px
    }

    .activity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .activity .index {
        margin-bottom: 25px
    }

    .plan {
        padding: 24px
    }

    .plan h3 {
        font-size: 37px
    }

    .coach-grid,
    .booking,
    .contact-grid {
        gap: 45px
    }

    .coach-photo img {
        height: 710px
    }

    .section {
        padding-block: 85px
    }
}

@media(max-width:800px) {
    .header {
        flex-wrap: wrap
    }

    .menu-toggle {
        display: block
    }

    .header nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        border-top: 1px solid var(--line);
        padding-top: 18px;
        gap: 3px
    }

    .header nav.open {
        display: flex
    }

    .header nav a {
        padding: 12px
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 45px
    }

    .hero h1 {
        font-size: clamp(62px, 11vw, 90px)
    }

    .hero-copy>p:not(.eyebrow) {
        max-width: 530px
    }

    .hero-photo {
        height: 460px
    }

    .hero-tags {
        margin-top: 28px
    }

    .energy-band {
        gap: 20px;
        font-size: 28px
    }

    .club {
        grid-template-columns: 1fr;
        gap: 8px
    }

    .section-head {
        display: block
    }

    .section-head>p {
        margin-top: 25px
    }

    .plan-grid {
        grid-template-columns: 1fr
    }

    .plan {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 25px;
        padding: 30px
    }

    .plan-kicker,
    .plan h3,
    .plan>p,
    .plan ul,
    .plan .button {
        grid-column: 1
    }

    .plan ul {
        grid-column: 2;
        grid-row: 2 / span 3;
        margin: 0
    }

    .plan .button {
        grid-column: 2;
        grid-row: 5
    }

    .coach-grid,
    .booking,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .coach-photo img {
        height: 520px;
        object-position: center 38%
    }

    .coach-grid>div>p:not(.eyebrow) {
        max-width: 600px
    }

    .coach-form {
        max-width: 620px
    }

    .booking>div>p:not(.eyebrow) {
        max-width: 550px
    }

    .footer-top {
        flex-wrap: wrap
    }

    .footer-top>p {
        font-size: 22px
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px
    }
}

@media(max-width:500px) {
    .demo {
        font-size: 7px;
        letter-spacing: 0
    }

    .header {
        padding-block: 20px
    }

    .brand {
        font-size: 35px
    }

    .section {
        padding-block: 65px
    }

    .eyebrow {
        font-size: 9px;
        margin-bottom: 23px
    }

    .hero {
        padding-top: 32px;
        padding-bottom: 42px
    }

    .hero h1 {
        font-size: clamp(60px, 15.5vw, 76px)
    }

    .hero-copy>p:not(.eyebrow) {
        font-size: 14px
    }

    .hero-photo {
        height: 370px
    }

    .hero-photo figcaption {
        left: 20px;
        bottom: 24px
    }

    .hero-photo figcaption strong {
        font-size: 32px
    }

    .hero-tags {
        gap: 16px
    }

    .energy-band {
        font-size: 21px;
        gap: 12px;
        padding: 20px 14px
    }

    .club-copy,
    .activity-grid {
        grid-template-columns: 1fr
    }

    .club-copy {
        gap: 22px
    }

    .activity {
        padding: 28px
    }

    .activity h3 {
        font-size: 35px
    }

    .activity p {
        max-width: 340px
    }

    .plan {
        display: flex;
        padding: 28px
    }

    .plan ul {
        margin: 25px 0
    }

    .plan .button {
        margin-top: 0
    }

    .price {
        font-size: 65px
    }

    .coach-photo img {
        height: 440px
    }

    .form-card {
        padding: 25px
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0
    }

    .footer-top>p {
        flex-basis: 100%;
        order: 3;
        font-size: 20px
    }

    .footer-top {
        gap: 24px
    }

    h2 {
        font-size: 43px
    }
}

@media(forced-colors:active) {

    select,
    .contact select {
        appearance: auto;
        background-image: none
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important
    }

    .motion .reveal {
        opacity: 1;
        transform: none
    }
}

/* 8. Club : panneau de navigation et accueil panoramique. */
.header {
    flex-wrap: wrap;
}

.header .menu-toggle {
    display: block;
    background: #d8ff45;
    color: #111;
    padding: 14px 24px;
    border: 0;
    font-weight: 800;
    text-transform: uppercase;
}

.header nav {
    display: none;
    width: 100%;
}

.header nav.open {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #d8ff45;
    color: #121713;
    padding: 20px;
}

.header nav>a {
    padding: 18px 25px;
    font-size: 28px;
    font-family: var(--title);
    text-transform: uppercase;
    border-bottom: 1px solid #19231144;
}

.header nav>a:not(.button):hover {
    background: #17231b;
    color: #d8ff45;
}

.header nav>.button {
    grid-column: 1/-1;
    margin-top: 15px;
}

.hero {
    display: block;
}

.hero-copy {
    max-width: 1000px;
    padding-bottom: 40px;
}

.hero h1 {
    max-width: 900px;
}

.hero-photo {
    width: 100%;
    margin: 0;
    transform: none;
}

.hero-photo img {
    height: 440px;
    object-position: center 38%;
}

@media(prefers-reduced-motion:no-preference) {
    .header nav.open {
        animation: club-panel .25s ease-out;
    }

    .header nav.open>a {
        animation: club-link .35s ease-out both;
    }

    .header nav.open>a:nth-child(2) {
        animation-delay: .04s;
    }

    .header nav.open>a:nth-child(3) {
        animation-delay: .08s;
    }

    .header nav.open>a:nth-child(4) {
        animation-delay: .12s;
    }

    .motion .reveal {
        transform: scale(.97);
        transition: opacity .3s, transform .35s cubic-bezier(.2, .8, .3, 1);
    }

    .motion .reveal.visible {
        transform: scale(1);
    }
}

@keyframes club-panel {
    from {
        clip-path: inset(0 0 100% 0)
    }

    to {
        clip-path: inset(0)
    }
}

@keyframes club-link {
    from {
        opacity: 0;
        transform: translateX(-15px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@media(max-width:540px) {
    .header nav.open {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .header nav>a {
        font-size: 24px;
        padding: 14px;
    }

    .hero-photo img {
        height: 330px;
    }
}

/* Accroche du club en affiche, puis photographie panoramique. */
@media(min-width:821px) {
    .hero-copy {
        display: grid;
        grid-template-columns: 1.25fr 1fr;
        column-gap: 65px;
        max-width: none;
    }

    .hero-copy>.eyebrow {
        grid-column: 1/-1;
    }

    .hero-copy>h1 {
        grid-column: 1;
        grid-row: 2/5;
        font-size: clamp(68px, 6.5vw, 96px);
    }

    .hero-copy>p:not(.eyebrow) {
        grid-column: 2;
        grid-row: 2;
        align-self: end;
        max-width: 430px;
    }

    .hero-copy>.actions {
        grid-column: 2;
        grid-row: 3;
        align-self: center;
    }

    .hero-copy>.hero-tags {
        grid-column: 2;
        grid-row: 4;
        align-self: start;
    }
}