/* ======================================================
   HERO — PAGE D’ACCUEIL
====================================================== */

.home-hero {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 610px;
    padding-top: 120px;
    padding-bottom: 85px;

    overflow: hidden;

    background: var(--color-black);
    color: var(--color-white);
}

/* Photo du Hero */

.home-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 0;

    background-image: var(--hero-image);
    background-position: 52% center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ======================================================
   OVERLAY SOMBRE
====================================================== */

.home-hero__overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(2, 12, 7, 0.94) 0%,
            rgba(2, 13, 7, 0.84) 22%,
            rgba(2, 15, 8, 0.55) 43%,
            rgba(3, 17, 9, 0.14) 72%,
            rgba(3, 17, 9, 0.03) 100%
        );

    pointer-events: none;
}


/* ======================================================
   CONTENU DU HERO
====================================================== */

.home-hero__inner {
    position: relative;
    z-index: 2;
}

.home-hero__content {
    width: min(100%, 570px);
}

.home-hero__eyebrow {
    margin-bottom: 0.8rem;

    color: var(--color-primary);

    font-family: var(--font-display);
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.home-hero__title {
    margin-bottom: 1.4rem;

    color: var(--color-white);

    font-size: clamp(6.2rem, 8vw, 9rem);
    line-height: 0.8;
    letter-spacing: 0.005em;
}

.home-hero__title span,
.home-hero__title strong {
    display: block;
}

.home-hero__title strong {
    color: var(--color-primary);
    font-weight: 400;
}

.home-hero__description {
    max-width: 540px;
    margin-bottom: 1.8rem;

    color: rgba(255, 255, 255, 0.92);

    font-size: clamp(1rem, 1.1vw, 1.12rem);
    line-height: 1.7;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

/* ======================================================
   APPARITION DU CONTENU DU HERO
====================================================== */

.home-hero__eyebrow,
.home-hero__title,
.home-hero__description,
.home-hero__actions {
    opacity: 0;

    animation: hero-content-appear 700ms ease forwards;
}

.home-hero__title {
    animation-delay: 100ms;
}

.home-hero__description {
    animation-delay: 200ms;
}

.home-hero__actions {
    animation-delay: 300ms;
}

@keyframes hero-content-appear {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {

    .home-hero__eyebrow,
    .home-hero__title,
    .home-hero__description,
    .home-hero__actions {
        opacity: 1;
        animation: none;
    }
}


/* ======================================================
   HEADER SUPERPOSÉ À LA PHOTO
====================================================== */

.home .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;

    background:
        linear-gradient(
            180deg,
            rgba(3, 10, 6, 0.94) 0%,
            rgba(3, 10, 6, 0.58) 68%,
            rgba(3, 10, 6, 0) 100%
        );

    transition:
        background-color var(--transition-base),
        box-shadow var(--transition-base),
        backdrop-filter var(--transition-base);
}

.home .site-header.is-scrolled {
    background: rgba(8, 13, 10, 0.96);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.2);

    backdrop-filter: blur(12px);
}

.home .site-header__inner {
    min-height: 92px;
    padding-block: 4px;
}

/* ======================================================
   CONTENEURS LARGES DE L’ACCUEIL
====================================================== */

.home .site-header__inner,
.home-hero__inner {
    width: min(
        calc(100% - 56px),
        1720px
    );
    margin-inline: auto;
}

/* ======================================================
   VALEURS DU CLUB
====================================================== */

.club-values {
    position: relative;
    z-index: 30;

    margin-top: -42px;
    padding-bottom: var(--spacing-2xl);
}

.club-values__card {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    overflow: hidden;

    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;

    background: var(--color-white);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.14);
}


/* ======================================================
   ÉLÉMENT D’UNE VALEUR
====================================================== */

.club-values__item {
    position: relative;

    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 1rem;

    min-width: 0;
    padding:
        2.5rem
        1.8rem;
}

.club-values__item + .club-values__item::before {
    content: "";

    position: absolute;
    top: 22%;
    bottom: 22%;
    left: 0;

    width: 1px;

    background: var(--color-border);
}


/* ======================================================
   ICÔNES
====================================================== */

.club-values__icon {
    display: flex;
    align-items: flex-start;
    justify-content: center;

    padding-top: 0.15rem;

    color: var(--color-primary);
}

.club-values__icon svg {
    width: 44px;
    height: 44px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ======================================================
   TEXTES
====================================================== */

.club-values__title {
    margin-bottom: 0.8rem;

    color: var(--color-primary-dark);

    font-family: var(--font-display);
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.club-values__text {
    margin: 0;

    color: var(--color-text);

    font-size: 0.92rem;
    line-height: 1.65;
}


/* ======================================================
   VALEURS — ÉCRANS INTERMÉDIAIRES
====================================================== */

@media (max-width: 1100px) {

    .club-values {
        margin-top: -45px;
    }

    .club-values__card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .club-values__item:nth-child(3)::before {
        display: none;
    }

    .club-values__item:nth-child(n + 3) {
        border-top: 1px solid var(--color-border);
    }
}


/* ======================================================
   VALEURS — MOBILE
====================================================== */

@media (max-width: 650px) {

    .club-values {
        margin-top: -28px;
        padding-bottom: var(--spacing-xl);
    }

    .club-values__card {
        grid-template-columns: 1fr;
    }

    .club-values__item {
        grid-template-columns: 46px 1fr;

        padding: 1.4rem;
    }

    .club-values__item + .club-values__item::before {
        display: none;
    }

    .club-values__item:nth-child(n + 2) {
        border-top: 1px solid var(--color-border);
    }

    .club-values__icon svg {
        width: 38px;
        height: 38px;
    }
}

/* ======================================================
   BARRE D’ADMINISTRATION WORDPRESS
====================================================== */

.admin-bar.home .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {

    .admin-bar.home .site-header {
        top: 46px;
    }
}


/* ======================================================
   TABLETTE
====================================================== */

@media (max-width: 1050px) {

    .home-hero {
        min-height: 650px;
        padding-top: 125px;
        padding-bottom: 75px;

        background-position: 62% center;
    }

    .home-hero__content {
        width: min(100%, 500px);
    }

    .home .site-navigation {
        background: rgba(8, 13, 10, 0.98);
    }
}


/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 700px) {

    .home-hero {
        align-items: flex-end;

        min-height: 680px;
        padding-top: 120px;
        padding-bottom: 55px;

        background-position: 65% center;
    }

    .home-hero__overlay {
        background:
            linear-gradient(
                180deg,
                rgba(3, 12, 7, 0.2) 0%,
                rgba(3, 12, 7, 0.55) 42%,
                rgba(3, 12, 7, 0.98) 100%
            );
    }

    .home-hero__content {
        width: 100%;

        transform: translateY(0);
    }

    .home-hero__eyebrow {
        font-size: 0.95rem;
    }

    .home-hero__title {
        font-size: clamp(4.2rem, 21vw, 6rem);
    }

    .home-hero__description {
        font-size: 0.92rem;
        line-height: 1.6;
    }

    .home-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-hero__actions .button {
        width: 100%;
    }
}