:root {
    --bg: #0b0f14;
    --surface: #131a22;
    --surface-2: #1a2430;
    --text: #f5f7fa;
    --muted: #b6c2cf;
    --accent: #f59e0b;
    --accent-2: #22d3ee;
    --radius: 16px;
    --radius-sm: 12px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

::selection {
    background: rgba(245, 158, 11, 0.35);
    color: #fff;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(245, 158, 11, 0.4);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(245, 158, 11, 0.7);
}

h1,
h2,
h3,
h4 {
    margin: 0;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 700;
}

h4 {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: var(--muted);
    font-weight: 500;
}

p,
li {
    color: var(--muted);
}

a {
    color: inherit;
    transition: 0.25s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

li {
    text-align: left;
    font-size: 0.98rem;
    margin-bottom: 6px;
    padding-left: 18px;
    position: relative;
}

li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.72rem;
    top: 4px;
}

iframe {
    width: 100%;
    min-height: 210px;
    border: 0;
    border-radius: 12px;
    margin-top: 8px;
}

/* ── Sections background / overlay ─────────────────────── */

.header0,
.section00,
.section3,
.section04 {
    position: relative;
    isolation: isolate;
}

.header0::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5, 8, 12, 0.55), rgba(5, 8, 12, 0.65));
    z-index: -1;
}

.section00::before,
.section3::before,
.section04::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5, 8, 12, 0.65), rgba(5, 8, 12, 0.9));
    z-index: -1;
}

.header0 {
    background-image: url(fond%20nature%202%20noir%20et%20blanc.JPG);
    background-size: cover;
    background-position: center;
    padding-bottom: 56px;
}

.section00 {
    background-image: url(2073775-fond-de-parc-nature-flou-gratuit-photo.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 90px 20px;
}

.section3 {
    background-image: url(2073831-fond-de-parc-nature-flou-gratuit-photo.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 90px 20px;
}

.section04 {
    background-image: url(fond%20MMA%20noir%20et%20blanc.PNG);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 90px 20px;
}

/* ── Navigation ─────────────────────────────────────────── */

.header2 {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(8px);
    background: rgba(11, 15, 20, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
    max-width: var(--container);
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.nav-brand {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--accent);
    letter-spacing: 0.04em;
    white-space: nowrap;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #e8edf3;
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: 0.05em;
    opacity: 0.92;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.25s ease;
}

nav a:hover {
    color: var(--accent);
    opacity: 1;
}

nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    line-height: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
}

/* ── Hero ───────────────────────────────────────────────── */

.content-section2 {
    max-width: var(--container);
    margin: 0 auto;
    padding: 56px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero-logo {
    width: 200px;
    height: auto;
    margin-bottom: 32px;
}

.hero-content h1 {
    color: var(--accent);
    margin-bottom: 8px;
}

.hero-content h2 {
    color: #d8e1eb;
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 500;
    margin-bottom: 28px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.hero-tags span {
    padding: 6px 14px;
    border: 1px solid rgba(245, 158, 11, 0.45);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(245, 158, 11, 0.07);
}

.hero-cta {
    display: inline-block;
    align-self: flex-start;
    padding: 14px 32px;
    background: var(--accent);
    color: #161616;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
}

.hero-cta:hover {
    background: #fb923c;
    transform: translateY(-2px);
}

.hero-photo img {
    width: 100%;
    max-height: 540px;
    object-fit: cover;
    object-position: top;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ── Photo galleries ────────────────────────────────────── */

.section-img,
.section-img2 {
    max-width: var(--container);
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.section-img img,
.section-img2 img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease;
}

.section-img img:hover,
.section-img2 img:hover {
    transform: scale(1.03);
}

/* ── Prestations ────────────────────────────────────────── */

.section0 {
    max-width: var(--container);
    margin: 0 auto;
}

.prestations-header {
    text-align: center;
    margin-bottom: 56px;
}

.prestations-header h2 {
    display: inline-block;
}

.prestations-header h2::after {
    content: '';
    display: block;
    width: 64px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #fb923c);
    border-radius: 2px;
    margin: 16px auto 0;
}

.prestations-quote {
    position: relative;
    max-width: 680px;
    margin: 28px auto 0;
    padding: 0 40px;
    font-size: 1.05rem;
    font-style: italic;
    color: var(--muted);
    border: none;
    background: none;
    text-align: center;
    line-height: 1.8;
}

.prestations-quote::before,
.prestations-quote::after {
    position: absolute;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.prestations-quote::before {
    content: '\201C';
    left: 0;
    top: -8px;
}

.prestations-quote::after {
    content: '\201D';
    right: 0;
    bottom: -24px;
}

.prestations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.prestations-grid > div:nth-child(1),
.prestations-grid > div:nth-child(6),
.prestations-grid > div:nth-child(7),
.prestations-grid > div:nth-child(8) {
    grid-column: span 2;
}

.prestations-grid > div {
    background: linear-gradient(150deg, rgba(22, 31, 42, 0.98), rgba(11, 16, 23, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-top: 2px solid var(--accent);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.prestations-grid > div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(245, 158, 11, 0.06), transparent);
    pointer-events: none;
}

.prestations-grid > div:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow), 0 20px 40px rgba(245, 158, 11, 0.12);
}

.prestations-grid > div h3 {
    color: var(--text);
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* ── Tarifs ─────────────────────────────────────────────── */

.tarifs-container {
    max-width: var(--container);
    margin: 0 auto;
}

.tarifs-header {
    text-align: center;
    margin-bottom: 52px;
}

.tarifs-header h2 {
    display: inline-block;
}

.tarifs-header h2::after {
    content: '';
    display: block;
    width: 64px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #fb923c);
    border-radius: 2px;
    margin: 16px auto 0;
}

.tarifs-sap {
    max-width: 560px;
    margin: 20px auto 0;
    font-size: 0.95rem;
    font-style: italic;
}

.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: center;
}

.tarif-card {
    background: linear-gradient(150deg, rgba(22, 31, 42, 0.98), rgba(11, 16, 23, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-top: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 36px 28px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarif-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow), 0 24px 48px rgba(0, 0, 0, 0.25);
}

.tarif-featured {
    border-top: 2px solid var(--accent);
    transform: scale(1.05);
    box-shadow: var(--shadow), 0 0 40px rgba(245, 158, 11, 0.15);
}

.tarif-featured:hover {
    transform: scale(1.05) translateY(-6px);
    box-shadow: var(--shadow), 0 24px 48px rgba(245, 158, 11, 0.2);
}

.tarif-card h3 {
    color: var(--text);
    margin-bottom: 24px;
}

.tarif-price {
    margin-bottom: 16px;
}

.tarif-amount {
    font-size: clamp(2.8rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.tarif-unit {
    font-size: 1rem;
    color: var(--muted);
    margin-left: 4px;
}

.tarif-amount-text {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--muted);
}

.tarif-sap-price {
    font-size: 0.88rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 16px;
    margin-top: 8px;
}

.tarifs-contact {
    text-align: center;
    margin-top: 36px;
    font-size: 1rem;
    color: var(--muted);
}

.tarifs-contact a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.tarifs-contact a:hover {
    text-decoration: underline;
}

/* ── Coach ──────────────────────────────────────────────── */

.coach-container {
    max-width: var(--container);
    margin: 0 auto;
}

.coach-header {
    text-align: center;
    margin-bottom: 52px;
}

.coach-header h2 {
    display: inline-block;
}

.coach-header h2::after {
    content: '';
    display: block;
    width: 64px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #fb923c);
    border-radius: 2px;
    margin: 16px auto 0;
}

.coach-subtitle {
    margin: 14px auto 0;
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.coach-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.coach-card {
    background: linear-gradient(150deg, rgba(22, 31, 42, 0.98), rgba(11, 16, 23, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-top: 2px solid var(--accent);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.coach-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(245, 158, 11, 0.06), transparent);
    pointer-events: none;
}

.coach-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow), 0 20px 40px rgba(245, 158, 11, 0.12);
}

.coach-card h3 {
    color: var(--text);
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.coach-quote {
    position: relative;
    max-width: 720px;
    margin: 52px auto;
    padding: 0 44px;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--muted);
    border: none;
    background: none;
    text-align: center;
    line-height: 1.8;
}

.coach-quote::before,
.coach-quote::after {
    position: absolute;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.coach-quote::before {
    content: '\201C';
    left: 0;
    top: -8px;
}

.coach-quote::after {
    content: '\201D';
    right: 0;
    bottom: -24px;
}

.coach-block {
    margin-top: 48px;
}

.coach-block-title {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.coach-block-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(245, 158, 11, 0.4), transparent);
}

.coach-sherdog {
    margin-top: 52px;
    text-align: center;
}

.coach-sherdog img {
    max-width: 500px;
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 0 auto;
}

/* ── UI chrome ──────────────────────────────────────────── */

#backToTop {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    display: none;
    place-items: center;
    cursor: pointer;
    background: linear-gradient(135deg, var(--accent), #fb923c);
    color: #161616;
    font-size: 1.2rem;
    font-weight: 800;
    box-shadow: var(--shadow);
    z-index: 9999;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

#backToTop:hover {
    transform: translateY(-2px);
}

#image-viewer {
    width: min(92vw, 900px);
    border: 0;
    padding: 0;
    background: transparent;
}

#image-viewer::backdrop {
    background: rgba(0, 0, 0, 0.8);
}

#image-viewer img {
    width: 100%;
    border-radius: var(--radius);
}

.close-overlay {
    position: absolute;
    right: 14px;
    top: 6px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 1024px) {
    .content-section2 {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 20px;
    }

    .hero-logo {
        width: 160px;
    }

    .hero-photo img {
        max-height: 400px;
    }

    .section-img,
    .section-img2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .prestations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .prestations-grid > div:nth-child(1),
    .prestations-grid > div:nth-child(6),
    .prestations-grid > div:nth-child(7),
    .prestations-grid > div:nth-child(8) {
        grid-column: span 1;
    }

    .section00,
    .section3,
    .section04 {
        background-attachment: scroll;
    }

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

    .coach-grid-3 > div:last-child:nth-child(odd) {
        grid-column: span 2;
    }

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

    .tarif-featured {
        transform: scale(1);
    }

    .tarif-featured:hover {
        transform: translateY(-6px);
    }
}

@media (max-width: 680px) {
    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    nav {
        position: absolute;
        top: 62px;
        left: 0;
        right: 0;
        background: rgba(11, 15, 20, 0.96);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }

    nav.active {
        max-height: 300px;
        padding: 14px 20px;
    }

    .section-img,
    .section-img2 {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        padding: 0 20px;
        margin: 24px 0;
        max-width: 100%;
    }

    .section-img img,
    .section-img2 img {
        flex: 0 0 78vw;
        scroll-snap-align: center;
        aspect-ratio: 3 / 4;
        border-radius: var(--radius-sm);
    }

    .section-img::-webkit-scrollbar,
    .section-img2::-webkit-scrollbar {
        display: none;
    }

    .prestations-grid,
    .coach-grid-3 {
        grid-template-columns: 1fr;
    }

    .coach-grid-3 > div:last-child:nth-child(odd) {
        grid-column: span 1;
    }

    .coach-quote {
        padding: 0 28px;
        font-size: 1rem;
    }

    .prestations-quote {
        padding: 0 24px;
    }

    .section00,
    .section3,
    .section04 {
        padding: 48px 14px;
    }
}
