/* =========================================================
   CREPS HAUTS-DE-FRANCE
   PREMIUM / HIGH PERFORMANCE
   VERSION STABLE + RESPONSIVE
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --creps-green: #006a6f;
    --creps-green-light: #0b8589;

    --creps-dark: #00383b;
    --creps-dark-2: #00282b;

    --orange: #f97316;
    --orange-light: #fb923c;

    --white: #ffffff;
    --off-white: #f7f9f9;
    --gray-light: #eef2f2;
    --gray: #687879;
    --black: #111b1c;

    --border: rgba(0, 56, 59, 0.10);

    --shadow-sm:
        0 8px 25px rgba(0, 56, 59, 0.07);

    --shadow-md:
        0 18px 45px rgba(0, 56, 59, 0.12);

    --shadow-lg:
        0 30px 80px rgba(0, 56, 59, 0.18);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;

    --ease:
        cubic-bezier(0.22, 1, 0.36, 1);
}
 .reveal,
.reveal-left,
.reveal-right {
    opacity: 1 !important;
    transform: none !important;
}


/* =========================================================
   RESET
========================================================= */

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

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

body {

    margin: 0;

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--creps-dark);

    background: var(--off-white);

    line-height: 1.6;

    overflow-x: hidden;
}

body,
button,
a {
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

button {
    font: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

section {
    position: relative;
}


/* =========================================================
   HEADER
========================================================= */

.main-header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    padding: 15px 5vw;

    background: rgba(255, 255, 255, 0.92);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border-bottom:
        1px solid rgba(0, 56, 59, 0.06);

    transition:
        padding 0.4s var(--ease),
        background 0.4s ease,
        box-shadow 0.4s ease;
}


/* HEADER APRÈS SCROLL */

.main-header.scrolled {

    padding: 9px 5vw;

    background:
        rgba(255, 255, 255, 0.94);

    box-shadow:
        0 10px 35px rgba(0, 56, 59, 0.10);
}


/* CONTENEUR */

.header-inner {

    width: min(1500px, 100%);

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;
}


/* =========================================================
   LOGOS
========================================================= */

.brand {

    display: flex;

    align-items: center;

    gap: 12px;

    flex-shrink: 0;

    text-decoration: none;
}

.logo-fr,
.logo-creps {

    width: auto;

    height: 46px;

    object-fit: contain;
}

.logo-fr {
    max-width: 90px;
}

.logo-creps {
    max-width: 145px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.navbar {

    display: flex;

    align-items: center;
}

.nav-links {

    display: flex;

    align-items: center;

    gap: clamp(18px, 2vw, 32px);

    list-style: none;

    margin: 0;

    padding: 0;
}

.nav-links a {

    position: relative;

    display: inline-block;

    padding: 7px 0;

    text-decoration: none;

    color: var(--creps-dark);

    font-size: 0.86rem;

    font-weight: 750;

    letter-spacing: 0.015em;

    transition:
        color 0.25s ease;
}

.nav-links a::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -2px;

    width: 0;
    height: 2px;

    border-radius: 10px;

    background: var(--orange);

    transition:
        width 0.35s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--creps-green);
}

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


/* =========================================================
   BURGER
========================================================= */

.nav-toggle {

    display: none;

    width: 44px;
    height: 44px;

    padding: 0;

    border: 0;

    background: transparent;

    cursor: pointer;

    flex-direction: column;

    align-items: flex-end;

    justify-content: center;

    gap: 5px;
}

.nav-toggle span {

    display: block;

    width: 25px;
    height: 2px;

    border-radius: 5px;

    background: var(--creps-dark);

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    min-height: 72vh;

    display: flex;

    align-items: center;

    overflow: hidden;

    color: var(--white);

    background: var(--creps-dark);
}


/* IMAGE DE FOND */

.hero-background {

    position: absolute;

    inset: 0;

    z-index: 0;

    background-image:
        url("image_structure/Vue aerienne (5).png");

    background-position: center center;

    background-size: cover;

    background-repeat: no-repeat;

    transform: scale(1.06);

    animation:
        heroZoom 12s ease-out forwards;
}

@keyframes heroZoom {

    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1);
    }
}


/* VOILE */

.hero-overlay {

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(0, 32, 34, 0.90) 0%,
            rgba(0, 56, 59, 0.72) 43%,
            rgba(0, 56, 59, 0.22) 100%
        );
}


/* CONTENU */

.hero-content {

    position: relative;

    z-index: 2;

    width: min(1200px, 90%);

    margin: 0 auto;

    padding-top: 45px;

    padding-bottom: 45px;
}


/* PETIT LABEL */

.hero-tag {

    display: inline-flex;

    align-items: center;

    gap: 11px;
    margin-top: 45px; /* espace avec la navbar */
    margin-bottom: 22px;

    padding: 8px 14px;

    border:
        1px solid rgba(255,255,255,0.28);

    border-radius: 999px;

    background:
        rgba(255,255,255,0.08);

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

    font-size: 0.70rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.14em;

    animation:
        heroAppear 0.8s 0.15s var(--ease) both;
}

.hero-tag span {

    width: 7px;
    height: 7px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--orange);

    box-shadow:
        0 0 0 5px rgba(249,115,22,0.15);
}


/* TITRE */

.hero h1 {

    max-width: 850px;

    margin: 0;

    font-size:
        clamp(3rem, 6.5vw, 6.8rem);

    line-height: 0.98;

    font-weight: 800;

    letter-spacing: -0.055em;

    animation:
        heroAppear 1s 0.30s var(--ease) both;
}

.hero h1 strong {

    display: block;

    color: #8ed9d7;

    font-weight: 800;
}


/* DESCRIPTION */

.hero-content > p {

    max-width: 650px;

    margin:
        24px 0 0;

    color:
        rgba(255,255,255,0.84);

    font-size:
        clamp(1rem, 1.5vw, 1.25rem);

    line-height: 1.55;

    animation:
        heroAppear 1s 0.45s var(--ease) both;
}


/* =========================================================
   ANIMATION HERO
========================================================= */

@keyframes heroAppear {

    from {

        opacity: 0;

        transform:
            translateY(30px);
    }

    to {

        opacity: 1;

        transform:
            translateY(0);
    }
}


/* =========================================================
   BOUTON HERO
========================================================= */

.hero-button {

    position: relative;

    display: inline-flex;

    align-items: center;

    gap: 16px;

    margin-top: 30px;

    padding: 14px 21px;

    overflow: hidden;

    border-radius: 999px;

    color: white;

    background: var(--orange);

    text-decoration: none;

    font-size: 0.9rem;

    font-weight: 750;

    animation:
        heroAppear 1s 0.60s var(--ease) both;

    transition:
        transform 0.35s var(--ease),
        box-shadow 0.35s ease;
}

.hero-button::before {

    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 80%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.42),
            transparent
        );

    transform: skewX(-20deg);

    transition:
        left 0.7s ease;
}

.hero-button:hover::before {
    left: 140%;
}

.hero-button:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 15px 35px rgba(249,115,22,0.30);
}

.hero-button span {

    font-size: 1.15rem;

    transition:
        transform 0.3s ease;
}

.hero-button:hover span {
    transform: translateY(3px);
}


/* =========================================================
   SCROLL INDICATOR
========================================================= */

.hero-scroll {

    position: absolute;

    right: 4vw;

    bottom: 30px;

    z-index: 3;

    display: flex;

    align-items: center;

    gap: 10px;

    color:
        rgba(255,255,255,0.65);

    font-size: 0.65rem;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.16em;

    writing-mode: vertical-rl;
}

.hero-scroll span {

    width: 1px;
    height: 48px;

    background:
        rgba(255,255,255,0.5);

    animation:
        scrollLine 2s infinite;
}

@keyframes scrollLine {

    0%,
    100% {
        transform: scaleY(0.5);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
}


/* =========================================================
   SECTIONS GÉNÉRALES
========================================================= */

.intro,
.location,
.sports,
.accommodation,
.services,
.contacts {

    padding:
        105px 6vw;
}

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

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

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

    color: white;
}


/* =========================================================
   TITRES DE SECTIONS
========================================================= */

.section-heading {

    width: min(850px, 100%);

    margin:
        0 auto 55px;
}

.section-heading.centered {
    text-align: center;
}

.section-label {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--creps-green);

    font-size: 0.70rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.17em;
}

.section-label::before {

    content: "";

    width: 28px;
    height: 2px;

    border-radius: 10px;

    background: var(--orange);
}

.section-label.light {
    color: #8ed9d7;
}

.section-heading h2 {

    margin:
        13px 0 0;

    font-size:
        clamp(2.5rem, 5vw, 4.4rem);

    line-height: 1.02;

    font-weight: 800;

    letter-spacing: -0.045em;
}

.section-heading h2 span {
    color: var(--creps-green);
}

.section-heading p {

    max-width: 650px;

    margin:
        22px 0 0;

    color: var(--gray);

    font-size: 1rem;
}

.section-heading.centered p {
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   INTRO / PRÉSENTATION
========================================================= */

.intro-grid {

    width: min(1250px, 100%);

    margin: auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(300px, 0.85fr);

    gap: clamp(50px, 8vw, 100px);

    align-items: center;
}

.intro-content h2 {

    margin: 12px 0 0;

    font-size:
        clamp(2.5rem, 5vw, 4.4rem);

    line-height: 1;

    font-weight: 800;

    letter-spacing: -0.05em;
}

.intro-content h2 span {
    color: var(--creps-green);
}

.intro-content > p {

    max-width: 700px;

    margin:
        24px 0 0;

    color: var(--gray);

    font-size: 1.03rem;
}


/* =========================================================
   STATS
========================================================= */

.intro-stats {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;

    margin-top: 45px;

    padding-top: 28px;

    border-top:
        1px solid var(--border);
}

.stat strong {

    display: block;

    color: var(--creps-green);

    font-size: 2.3rem;

    line-height: 1;

    font-weight: 800;

    letter-spacing: -0.05em;
}

.stat span {

    display: block;

    margin-top: 7px;

    color: var(--gray);

    font-size: 0.75rem;
}

/* =========================================================
   DIRECTEUR — VERSION PREMIUM + RESPONSIVE
========================================================= */

.director-card {
    position: relative;
    padding: 14px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform 0.55s var(--ease);
}

.director-card:hover {
    transform: translateY(-8px);
}

/* IMAGE WRAPPER — PHOTO PLUS PETITE */
.director-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    max-width: 380px;        /* taille contrôlée */
    margin: 0 auto;
}

.director-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1.1;   /* photo moins haute */
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.director-card:hover .director-image {
    transform: scale(1.04);
}

/* BADGE */
.director-badge {
    position: absolute;
    right: 15px;
    bottom: 15px;
    width: 82px;
    height: 82px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50%;
    color: white;
    background: var(--orange);
    font-size: 0.60rem;
    font-weight: 750;
    line-height: 1.1;
    box-shadow: 0 12px 30px rgba(249,115,22,0.30);
}

.director-badge span {
    font-size: 1.45rem;
    line-height: 1;
}

/* TEXTE */
.director-info {
    padding: 20px 10px 8px;
    text-align: center;
}

.director-info > span {
    color: var(--creps-green);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.director-info h3 {
    margin: 5px 0 0;
    font-size: 1.4rem;
}

.director-info p {
    margin: 7px 0 0;
    color: var(--gray);
    font-size: 0.82rem;
}

/* =========================================================
   RESPONSIVE — TITRE HORIZONTAL + PHOTO EN BAS
========================================================= */

@media (max-width: 900px) {

    .director-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 25px;
    }

    /* Le texte passe au-dessus de la photo */
    .director-info {
        order: -1;
        margin-bottom: 20px;
    }

    /* Photo en bas + plus petite */
    .director-image-wrapper {
        order: 2;
        max-width: 300px;
    }

    .director-image {
        aspect-ratio: 1 / 1.2;
    }

    /* Badge repositionné automatiquement */
    .director-badge {
        right: 50%;
        transform: translateX(50%);
        bottom: -10px;
    }
}

@media (max-width: 600px) {

    .director-image-wrapper {
        max-width: 260px;
    }

    .director-badge {
        width: 70px;
        height: 70px;
        font-size: 0.55rem;
    }

    .director-badge span {
        font-size: 1.2rem;
    }
}



/* =========================================================
   LOCATION
========================================================= */

/* =========================================================
   LOCATION — VERSION STABLE + VH + PREMIUM
========================================================= */

.location {
    overflow: hidden;
    color: white;
    background: var(--creps-dark);
    padding: 105px 6vw;
}

.location::before {
    content: "LOCATION";
    position: absolute;
    right: -40px;
    top: 20px;
    color: rgba(255,255,255,0.025);
    font-size: clamp(6rem, 15vw, 15rem);
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
}

.location .section-heading h2 span {
    color: #8ed9d7;
}

.location .section-heading p {
    color: rgba(255,255,255,0.65);
}

/* GRID */
.location-grid {
    position: relative;
    z-index: 2;
    width: min(1250px, 100%);
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 colonnes équilibrées */
    gap: 25px;
}

/* IMAGE CARD — TAILLE IDENTIQUE POUR LES DEUX */
.image-card {
    position: relative;
    height: 45vh;            /* même taille pour les deux images */
    min-height: 350px;       /* sécurité desktop */
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--creps-dark-2);
}

/* IMAGE */
.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;       /* évite les déformations */
    transition: transform 1s var(--ease);
}

.image-card:hover img {
    transform: scale(1.06);
}

/* OVERLAY */
.image-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 40%,
        rgba(0,0,0,0.70)
    );
    pointer-events: none;
}

/* CAPTION */
.image-card-caption {
    position: absolute;
    left: 22px;
    bottom: 22px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 13px;
    color: white;
    font-weight: 700;
}

.image-card-caption span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: white;
    background: var(--orange);
    font-size: 0.7rem;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {
    .location-grid {
        grid-template-columns: 1fr; /* 1 colonne */
    }

    .image-card {
        height: 40vh; /* un peu plus compact */
    }
}

@media (max-width: 600px) {
    .image-card {
        height: 36vh; /* parfait pour mobile */
    }
}


/* =========================================================
   SPORTS
========================================================= */

.sports {

    background: var(--off-white);
}

.sports-grid {

    width: min(1250px, 100%);

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(12, 1fr);

    gap: 20px;
}

.sport-card {

    grid-column: span 3;

    overflow: hidden;

    border:
        1px solid rgba(0,56,59,0.06);

    border-radius: var(--radius-md);

    background: white;

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.5s var(--ease),
        box-shadow 0.5s ease;
}

.sport-card:nth-child(5),
.sport-card:nth-child(6),
.sport-card:nth-child(7) {
    grid-column: span 4;
}

.sport-card:hover {

    transform:
        translateY(-9px);

    box-shadow: var(--shadow-md);
}


/* IMAGE SPORT */

.sport-image {

    position: relative;

    height: 225px;

    overflow: hidden;
}

.sport-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.8s var(--ease);
}

.sport-card:hover .sport-image img {
    transform: scale(1.08);
}


/* NUMÉRO */

.sport-number {

    position: absolute;

    top: 14px;
    right: 14px;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 39px;
    height: 39px;

    border-radius: 50%;

    color: var(--creps-dark);

    background:
        rgba(255,255,255,0.92);

    backdrop-filter: blur(10px);

    font-size: 0.68rem;

    font-weight: 800;
}


/* TEXTE SPORT */

.sport-content {

    padding: 21px;
}

.sport-content > span {

    color: var(--creps-green);

    font-size: 0.65rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.13em;
}

.sport-content h3 {

    margin:
        7px 0 0;

    font-size: 1.02rem;

    line-height: 1.3;
}


/* =========================================================
   ACCOMMODATION
========================================================= */

.accommodation {

    background: white;
}

.accommodation-grid {

    width: min(1250px, 100%);

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.residence-card {

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius: var(--radius-md);

    background: white;

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.5s var(--ease),
        box-shadow 0.5s ease;
}

.residence-card:hover {

    transform:
        translateY(-9px);

    box-shadow: var(--shadow-md);
}


/* IMAGE */

.residence-image {

    position: relative;

    height: 270px;

    overflow: hidden;
}

.residence-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.8s var(--ease);
}

.residence-card:hover .residence-image img {
    transform: scale(1.07);
}


/* NUMÉRO */

.residence-image span {

    position: absolute;

    top: 15px;
    left: 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 39px;
    height: 39px;

    border-radius: 50%;

    color: white;

    background:
        rgba(0,56,59,0.90);

    font-size: 0.68rem;

    font-weight: 800;
}


/* CONTENU */

.residence-content {

    padding: 25px;
}

.card-label {

    color: var(--creps-green);

    font-size: 0.66rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.14em;
}

.residence-content h3 {

    margin:
        7px 0 0;

    font-size: 1.3rem;

    line-height: 1.25;
}

.residence-content p {

    margin:
        13px 0 0;

    color: var(--gray);

    font-size: 0.88rem;
}


/* =========================================================
   SERVICES
========================================================= */

.services {

    overflow: hidden;

    background: var(--off-white);
}

.services::before {

    content: "PERFORMANCE";

    position: absolute;

    left: -30px;

    bottom: -10px;

    color:
        rgba(0,106,111,0.025);

    font-size:
        clamp(5rem, 13vw, 13rem);

    font-weight: 900;

    line-height: 1;

    pointer-events: none;
}

.services-grid {

    position: relative;

    z-index: 2;

    width: min(1250px, 100%);

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(12, 1fr);

    gap: 20px;
}

.service-card {

    grid-column: span 4;

    overflow: hidden;

    border:
        1px solid rgba(0,56,59,0.06);

    border-radius: var(--radius-md);

    background: white;

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.5s var(--ease),
        box-shadow 0.5s ease;
}

.service-card:hover {

    transform:
        translateY(-8px);

    box-shadow: var(--shadow-md);
}

.service-image {

    position: relative;

    height: 225px;

    overflow: hidden;
}

.service-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.8s var(--ease);
}

.service-card:hover .service-image img {
    transform: scale(1.07);
}

.service-image span {

    position: absolute;

    top: 14px;
    right: 14px;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    color: white;

    background: var(--orange);

    font-size: 0.68rem;

    font-weight: 800;
}

.service-card h3 {

    margin: 0;

    padding:
        20px 21px 3px;

    font-size: 1rem;

    line-height: 1.3;
}

.service-card > p {

    margin: 0;

    padding:
        0 21px 21px;

    color: var(--orange);

    font-size: 0.78rem;

    font-weight: 800;
}


/* =========================================================
   TEAM
========================================================= */

.team {

    position: relative;

    min-height: 560px;

    display: flex;

    align-items: center;

    overflow: hidden;

    padding:
        105px 7vw;

    color: white;

    background: var(--creps-dark);
}

.team-background {

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 75% 30%,
            rgba(0,166,171,0.42),
            transparent 34%
        ),
        radial-gradient(
            circle at 20% 80%,
            rgba(249,115,22,0.08),
            transparent 30%
        );
}

.team::after {

    content: "TEAM";

    position: absolute;

    right: -40px;

    bottom: -60px;

    color:
        rgba(255,255,255,0.025);

    font-size:
        clamp(8rem, 20vw, 20rem);

    font-weight: 900;

    line-height: 1;

    pointer-events: none;
}

.team-content {

    position: relative;

    z-index: 2;

    width: min(1250px, 100%);

    margin: auto;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        clamp(50px, 8vw, 100px);

    align-items: center;
}

.team-heading h2 {

    margin:
        15px 0 0;

    font-size:
        clamp(3rem, 6vw, 6rem);

    line-height: 0.98;

    letter-spacing: -0.055em;
}

.team-heading h2 span {
    color: #8ed9d7;
}

.team-description {
    max-width: 500px;
}

.big-number {

    display: flex;

    align-items: flex-start;

    color: #8ed9d7;

    font-size:
        clamp(6rem, 12vw, 10rem);

    font-weight: 800;

    line-height: 0.8;

    letter-spacing: -0.08em;
}

.big-number sup {

    color: var(--orange);

    font-size: 2.8rem;

    line-height: 1;
}

.team-description h3 {

    margin:
        28px 0 0;

    font-size: 1.7rem;
}

.team-description p {

    margin:
        17px 0 0;

    color:
        rgba(255,255,255,0.68);

    font-size: 0.98rem;
}


/* =========================================================
   CONTACTS
========================================================= */

.contacts {

    background: white;
}

.contacts-grid {

    width: min(1000px, 100%);

    margin: auto;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 25px;
}

.contact-card {

    position: relative;

    padding: 35px;

    border:
        1px solid var(--border);

    border-radius: var(--radius-md);

    background: var(--off-white);

    transition:
        transform 0.5s var(--ease),
        box-shadow 0.5s ease;
}

.contact-card:hover {

    transform:
        translateY(-8px);

    box-shadow: var(--shadow-md);
}

.contact-card.featured {

    color: white;

    border: 0;

    background:
        linear-gradient(
            135deg,
            var(--creps-dark),
            var(--creps-green)
        );
}

.contact-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 45px;
    height: 45px;

    margin-bottom: 28px;

    border-radius: 50%;

    color: white;

    background: var(--orange);

    font-size: 1.2rem;
}

.contact-card h3 {

    max-width: 390px;

    margin:
        0;

    font-size: 1.4rem;

    line-height: 1.25;
}

.contact-card p {

    margin:
        16px 0 0;

    color: var(--gray);

    font-size: 0.88rem;
}

.contact-card.featured p {
    color: rgba(255,255,255,0.72);
}

.contact-card > a:not(.btn-secondary) {

    display: inline-block;

    margin-top: 18px;

    color: var(--creps-green);

    font-size: 0.84rem;

    font-weight: 700;

    text-decoration: none;

    word-break: break-word;
}

.contact-card.featured > a:not(.btn-secondary) {
    color: #a9e6e4;
}


/* =========================================================
   BOUTON SECONDAIRE
========================================================= */

.btn-secondary {

    display: inline-flex;

    align-items: center;

    gap: 13px;

    width: fit-content;

    margin-top: 25px;

    padding: 12px 19px;

    border-radius: 999px;

    color: white !important;

    background: var(--orange);

    text-decoration: none;

    font-size: 0.82rem;

    font-weight: 750;

    transition:
        transform 0.3s var(--ease),
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.btn-secondary:hover {

    transform:
        translateY(-3px);

    background:
        var(--orange-light);

    box-shadow:
        0 10px 25px rgba(249,115,22,0.25);
}

.btn-secondary span {
    transition:
        transform 0.3s ease;
}

.btn-secondary:hover span {
    transform:
        translateX(5px);
}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    padding:
        40px 6vw;

    color:
        rgba(255,255,255,0.70);

    background:
        var(--creps-dark-2);
}

.footer-inner {

    width: min(1250px, 100%);

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.footer-brand {

    display: flex;

    align-items: center;

    gap: 18px;
}

.footer-brand img {

    width: auto;

    height: 42px;

    max-width: 145px;

    object-fit: contain;
}

.footer-brand p,
.footer-right p {

    margin: 0;

    font-size: 0.72rem;
}

.footer-right {
    text-align: right;
}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal {

    opacity: 0;

    transform:
        translateY(45px);

    transition:
        opacity 0.85s ease,
        transform 0.95s var(--ease);
}

.reveal-left {

    opacity: 0;

    transform:
        translateX(-60px);

    transition:
        opacity 0.85s ease,
        transform 0.95s var(--ease);
}

.reveal-right {

    opacity: 0;

    transform:
        translateX(60px);

    transition:
        opacity 0.85s ease,
        transform 0.95s var(--ease);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {

    opacity: 1;

    transform:
        translate(0);
}


/* =========================================================
   ANIMATION DELAYS
========================================================= */

.delay-1 {
    transition-delay: 0.10s;
}

.delay-2 {
    transition-delay: 0.20s;
}

.delay-3 {
    transition-delay: 0.30s;
}

.delay-4 {
    transition-delay: 0.40s;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .header-inner {
        gap: 20px;
    }

    .nav-links {
        gap: 17px;
    }

    .nav-links a {
        font-size: 0.76rem;
    }

    .intro-grid {
        gap: 55px;
    }

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

    .sport-card,
    .sport-card:nth-child(n) {
        grid-column: span 1;
    }

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

    .service-card {
        grid-column: span 1;
    }

    .accommodation-grid {
        gap: 18px;
    }
}


/* =========================================================
   MOBILE / TABLETTE
========================================================= */

@media (max-width: 900px) {

    html {
        scroll-padding-top: 75px;
    }


    /* HEADER */

    .main-header,
    .main-header.scrolled {

        padding:
            9px 5vw;

        background:
            rgba(255,255,255,0.96);

        backdrop-filter:
            blur(18px);

        -webkit-backdrop-filter:
            blur(18px);
    }

    .logo-fr {
        height: 35px;
    }

    .logo-creps {
        height: 38px;
    }

    .nav-toggle {
        display: flex;
    }


    /* MOBILE MENU */

    .nav-links {

        position: absolute;

        top:
            calc(100% + 6px);

        right: 5vw;

        width:
            min(300px, 90vw);

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 15px;

        border-radius: 18px;

        background:
            rgba(255,255,255,0.98);

        box-shadow:
            0 25px 60px rgba(0,56,59,0.16);

        opacity: 0;

        visibility: hidden;

        transform:
            translateY(-10px);

        transition:
            opacity 0.3s ease,
            transform 0.3s ease,
            visibility 0.3s ease;
    }

    .nav-links.show {

        opacity: 1;

        visibility: visible;

        transform:
            translateY(0);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {

        display: block;

        padding:
            12px 7px;

        color:
            var(--creps-dark);

        font-size: 0.9rem;
    }

    .nav-links a::after {
        display: none;
    }


    /* HERO */

    .hero {

        min-height:
            68vh;
    }

    .hero-overlay {

        background:
            linear-gradient(
                90deg,
                rgba(0,32,34,0.91),
                rgba(0,56,59,0.62)
            );
    }

    .hero-content {

        width: 90%;

        padding:
            65px 0 40px;
    }

    .hero h1 {

        max-width: 700px;

        font-size:
            clamp(2.9rem, 11vw, 5rem);
    }

    .hero-content > p {

        max-width: 600px;

        font-size: 1rem;
    }

    .hero-scroll {
        display: none;
    }


    /* SECTIONS */

    .intro,
    .location,
    .sports,
    .accommodation,
    .services,
    .contacts {

        padding:
            80px 5vw;
    }


    /* INTRO */

    .intro-grid {

        grid-template-columns:
            1fr;

        gap: 55px;
    }

    .intro-stats {
        gap: 15px;
    }

    .stat strong {
        font-size: 1.8rem;
    }


    /* LOCATION */

    .location-grid {

        grid-template-columns:
            1fr;

        gap: 18px;
    }

    .image-card {

        min-height:
            350px;
    }

    .image-card img {

        min-height:
            350px;
    }


    /* SPORTS */

    .sports-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 16px;
    }

    .sport-card,
    .sport-card:nth-child(n) {

        grid-column:
            span 1;
    }


    /* ACCOMMODATION */

    .accommodation-grid {

        grid-template-columns:
            repeat(2, 1fr);

        max-width: 750px;
    }


    /* SERVICES */

    .services-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 16px;
    }

    .service-card {
        grid-column: span 1;
    }


    /* TEAM */

    .team {

        min-height:
            auto;

        padding:
            85px 5vw;
    }

    .team-content {

        grid-template-columns:
            1fr;

        gap: 55px;
    }

    .big-number {
        font-size: 7rem;
    }


    /* CONTACT */

    .contacts-grid {

        grid-template-columns:
            1fr;

        max-width:
            650px;
    }


    /* FOOTER */

    .footer-inner {

        flex-direction:
            column;

        align-items:
            flex-start;
    }

    .footer-right {
        text-align: left;
    }
}


/* =========================================================
   PETIT MOBILE
========================================================= */

@media (max-width: 600px) {

    html {
        scroll-padding-top: 70px;
    }


    /* HEADER */

    .brand {
        gap: 7px;
    }

    .logo-fr {

        height: 31px;

        max-width: 62px;
    }

    .logo-creps {

        height: 34px;

        max-width: 115px;
    }


    /* HERO */

    .hero {

        min-height:
            67vh;
    }

    .hero-content {

        width: 90%;

        padding:
            55px 0 35px;
    }

    .hero-tag {

        margin-bottom: 17px;

        padding:
            7px 11px;

        font-size:
            0.58rem;
    }

    .hero h1 {

        font-size:
            clamp(2.7rem, 13vw, 4.2rem);

        letter-spacing:
            -0.05em;
    }

    .hero-content > p {

        margin-top:
            18px;

        font-size:
            0.92rem;
    }

    .hero-button {

        margin-top:
            24px;

        padding:
            12px 17px;

        font-size:
            0.82rem;
    }


    /* SECTIONS */

    .intro,
    .location,
    .sports,
    .accommodation,
    .services,
    .contacts {

        padding:
            70px 5vw;
    }

    .section-heading {

        margin-bottom:
            38px;
    }

    .section-heading h2,
    .intro-content h2 {

        font-size:
            2.6rem;
    }


    /* STATS */

    .intro-stats {

        grid-template-columns:
            1fr;

        gap:
            20px;
    }


    /* LOCATION */

    .image-card {

        min-height:
            300px;
    }

    .image-card img {

        min-height:
            300px;
    }


    /* SPORTS */

    .sports-grid {

        grid-template-columns:
            1fr;
    }

    .sport-image {

        height:
            220px;
    }


    /* ACCOMMODATION */

    .accommodation-grid {

        grid-template-columns:
            1fr;

        max-width:
            520px;
    }

    .residence-image {

        height:
            245px;
    }


    /* SERVICES */

    .services-grid {

        grid-template-columns:
            1fr;
    }

    .service-image {

        height:
            220px;
    }


    /* TEAM */

    .team {

        padding:
            75px 5vw;
    }

    .team-heading h2 {

        font-size:
            3rem;
    }

    .big-number {

        font-size:
            5.5rem;
    }


    /* CONTACT */

    .contact-card {
        padding:
            28px;
    }
}


/* =========================================================
   TRÈS PETITS ÉCRANS
========================================================= */

@media (max-width: 400px) {

    .hero {

        min-height:
            65vh;
    }

    .hero h1 {
        font-size:
            2.55rem;
    }

    .hero-content > p {
        font-size:
            0.88rem;
    }

    .section-heading h2,
    .intro-content h2 {
        font-size:
            2.35rem;
    }

    .big-number {
        font-size:
            4.8rem;
    }
}


/* =========================================================
   ACCESSIBILITÉ
========================================================= */

@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;
    }

    .reveal,
    .reveal-left,
    .reveal-right {

        opacity: 1;

        transform:
            none;
    }
}
