/* =========================================================
   EURO SAVATE 2026
   Finales du Championnat d'Europe de Savate Boxe Française
   ========================================================= */

:root {
    --navy: #0b1d3a;
    --navy-light: #152d52;
    --gold: #c99622;
    --gold-light: #e3b84b;
    --white: #ffffff;
    --light: #f6f7f9;
    --text: #172033;
    --border: #e5e7eb;
    --max-width: 1200px;
}

/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

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

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

button {
    font: inherit;
}

/* ---------- UTILITIES ---------- */

.container {
    width: min(92%, var(--max-width));
    margin: 0 auto;
}

/* ---------- HEADER ---------- */

.site-header {
    background: var(--navy);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.brand-subtitle {
    color: var(--gold-light);
    font-size: 0.72rem;
    letter-spacing: 1.5px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.main-nav a {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.main-nav a:hover {
    color: var(--gold-light);
}

.nav-button {
    border: 1px solid var(--gold);
    color: var(--gold-light);
    padding: 9px 16px;
}

/* ---------- HERO ---------- */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 78% 45%,
            rgba(201, 150, 34, 0.12),
            transparent 35%
        ),
        var(--navy);
    color: var(--white);
    padding: 70px 0 85px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background:
        linear-gradient(
            135deg,
            transparent 0%,
            rgba(255, 255, 255, 0.025) 50%,
            transparent 100%
        );
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 70px;
}

.hero-content {
    padding: 20px 0;
}

.hero-kicker {
    display: inline-block;
    color: var(--gold-light);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 3px solid var(--gold);
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.8rem);
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: -3px;
    margin-bottom: 28px;
}

.hero h1 span {
    display: block;
    color: var(--gold-light);
}

.hero-description {
    max-width: 530px;
    font-size: 1.08rem;
    line-height: 1.7;
    color: #dfe5ee;
    margin-bottom: 30px;
}

.hero-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 18px;
    border-left: 3px solid var(--gold);
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.045);
}

.meta-item strong {
    min-width: 175px;
    color: var(--gold-light);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.meta-item span {
    font-size: 0.82rem;
    color: #cdd5e1;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    padding: 0 25px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.78rem;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.btn-outline:hover {
    border-color: var(--gold-light);
    color: var(--gold-light);
    transform: translateY(-2px);
}

/* ---------- AFFICHE HERO ---------- */

.hero-poster {
    position: relative;
    max-width: 650px;
    margin-left: auto;
}

.hero-poster::before {
    content: "";
    position: absolute;
    inset: -18px;
    border: 1px solid rgba(201, 150, 34, 0.45);
    transform: rotate(1deg);
    z-index: 0;
}

.hero-poster::after {
    content: "";
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transform: rotate(-1deg);
    z-index: 0;
}

.hero-poster img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-height: 820px;
    object-fit: contain;
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* ---------- HERO RESPONSIVE ---------- */

@media (max-width: 900px) {

    .hero {
        padding: 55px 0 70px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .hero-content {
        order: 1;
    }

    .hero-poster {
        order: 2;
        margin: 0 auto;
        width: min(100%, 620px);
    }

    .hero h1 {
        font-size: clamp(3rem, 11vw, 5rem);
    }

    .hero-description {
        max-width: 700px;
    }
}

@media (max-width: 600px) {

    .hero {
        padding: 42px 0 55px;
    }

    .hero-grid {
        gap: 42px;
    }

    .hero h1 {
        font-size: 3.1rem;
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 0.98rem;
    }

    .meta-item {
        display: block;
        padding: 12px 15px;
    }

    .meta-item strong {
        display: block;
        min-width: auto;
        margin-bottom: 3px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-poster::before {
        inset: -9px;
    }

    .hero-poster::after {
        inset: -4px;
    }
}

/* ---------- SECTIONS ---------- */

.section {
    padding: 90px 0;
}

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

.section-header {
    max-width: 780px;
    margin-bottom: 45px;
}

.section-kicker {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.section-intro {
    font-size: 1.05rem;
    color: #5d6675;
}

/* ---------- EVENT ---------- */

.event-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.event-card {
    border-top: 4px solid var(--gold);
    background: var(--white);
    padding: 35px;
    box-shadow: 0 12px 40px rgba(11, 29, 58, 0.08);
}

.event-date {
    color: var(--gold);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 25px;
}

.event-location {
    font-size: 1.1rem;
    color: var(--navy);
    font-weight: 700;
}

.event-location span {
    display: block;
    color: #687386;
    font-size: 0.95rem;
    font-weight: 400;
    margin-top: 5px;
}

.event-list {
    list-style: none;
    margin-top: 25px;
}

.event-list li {
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
}

/* ---------- ORGANISATION ---------- */

.organisation {
    background: var(--navy);
    color: var(--white);
}

.organisation .section-title {
    color: var(--white);
}

.organisation .section-intro {
    color: #cfd6e2;
}

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

.organisation-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 30px;
    text-align: center;
}

.organisation-card img {
    height: 95px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 20px;
}

.organisation-card h3 {
    color: var(--gold-light);
    font-size: 1rem;
    text-transform: uppercase;
}

/* ---------- INFO ---------- */

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

.info-card {
    padding: 30px;
    border: 1px solid var(--border);
    background: var(--white);
}

.info-number {
    color: var(--gold);
    font-size: 2rem;
    font-weight: 900;
}

.info-card h3 {
    color: var(--navy);
    margin: 10px 0;
    text-transform: uppercase;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {

    .main-nav {
        display: none;
    }

    .hero-grid,
    .event-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        order: 1;
    }

    .hero-poster {
        order: 2;
        max-width: 650px;
        margin: 0 auto;
    }

    .organisation-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .header-inner {
        min-height: 70px;
    }

    .brand img {
        width: 48px;
        height: 48px;
    }

    .brand-title {
        font-size: 0.85rem;
    }

    .brand-subtitle {
        font-size: 0.6rem;
    }

    .hero {
        padding: 35px 0 50px;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .section {
        padding: 60px 0;
    }

    .event-card {
        padding: 25px;
    }
}
/* =========================================================
   NAVIGATION MOBILE
   ========================================================= */

.mobile-menu-button {
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: var(--white);
    width: 46px;
    height: 46px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-button span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    transition: transform 0.25s ease;
}

@media (max-width: 900px) {

    .mobile-menu-button {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navy);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    }

    .main-nav.is-open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 0;
    }

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

    .main-nav a {
        display: block;
        padding: 15px 25px;
    }

    .main-nav a:hover {
        background: rgba(255, 255, 255, 0.06);
    }

    .nav-button {
        border: none;
    }
    .site-header {
    width: 100%;
}

.header-inner {
    position: relative;
    width: 100%;
}

.mobile-menu-button {
    display: flex;
    flex-shrink: 0;
    z-index: 1002;
}
}
/* =========================================================
   PRÉSENTATION DE L'ÉVÉNEMENT
   ========================================================= */

.event-story {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-story p {
    font-size: 1.02rem;
    color: #4f5969;
    line-height: 1.8;
}

.event-card h3 {
    color: var(--navy);
    font-size: 1.45rem;
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 12px;
}

.event-card > p {
    color: #687386;
    margin-bottom: 18px;
}
/* =========================================================
   PROGRAMME
   ========================================================= */

.section-programme {
    background: #f7f7f5;
}

.programme-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
    gap: 60px;
    align-items: start;
}

/* Affiche Programme */

.programme-poster {
    position: relative;
    display: flex;
    justify-content: center;
}

.programme-poster::before {
    content: "";
    position: absolute;
    inset: -18px;
    border: 1px solid rgba(201, 150, 34, 0.45);
    transform: rotate(1deg);
    z-index: 0;
}

.programme-poster::after {
    content: "";
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transform: rotate(-1deg);
    z-index: 0;
}

.programme-poster img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 520px;
    height: auto;
    display: block;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Contenu */

.programme-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Horaires */

.programme-time {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 20px;
    align-items: start;
    padding-bottom: 24px;
    border-bottom: 1px solid #d9d9d9;
}

.programme-hour {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
}

.programme-time h3 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 1.3rem;
}

.programme-time p {
    margin: 0;
    color: #687386;
    line-height: 1.6;
}

/* Finales */

.programme-highlight {
    padding: 30px;
    background: var(--navy);
    color: white;
}

.programme-highlight span {
    display: block;
    margin-bottom: 15px;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.programme-categories {
    display: flex;
    gap: 30px;
}

.programme-highlight strong {
    font-size: 2.5rem;
}

.programme-highlight p {
    margin: 15px 0 0;
    line-height: 1.6;
}

/* Chiffres clés */

.programme-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.programme-feature {
    padding: 20px 10px;
    text-align: center;
    background: white;
    border: 1px solid #e4e4e4;
}

.programme-feature span {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold);
}

.programme-feature p {
    margin: 5px 0 0;
    color: var(--navy);
    font-size: 0.9rem;
}

/* Animations / restauration / tombola */

.programme-activities {
    padding-top: 5px;
}

.programme-activities p {
    margin: 10px 0;
    color: #596477;
    line-height: 1.6;
}

.programme-activities strong {
    color: var(--navy);
}


/* =========================================================
   PROGRAMME — MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .programme-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .programme-poster img {
        max-width: 450px;
    }

    .programme-time {
        grid-template-columns: 90px 1fr;
    }

}

@media (max-width: 500px) {

    .programme-features {
        grid-template-columns: 1fr;
    }

    .programme-categories {
        gap: 20px;
    }

    .programme-highlight strong {
        font-size: 2rem;
    }

}

/* =========================================================
   INFORMATIONS PRATIQUES — FICHE SPECTATEUR
   ========================================================= */

.spectator-info {
    background: var(--navy);
    color: var(--white);
}

.spectator-header .section-title {
    color: var(--white);
}

.spectator-header .section-intro {
    color: #cbd3df;
}


/* ---------- DATE ---------- */

.spectator-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 35px auto 50px;
    text-align: center;
}

.spectator-date span {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--gold);
}

.spectator-date strong {
    font-size: 4.5rem;
    line-height: 0.9;
    color: var(--white);
}


/* ---------- HORAIRES + LIEU ---------- */

.spectator-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    max-width: 1100px;
    margin: 0 auto;
}

.spectator-time-panel,
.spectator-location-panel {
    padding: 45px;
    min-height: 310px;
}

.spectator-time-panel {
    background: var(--white);
    color: var(--navy);
}

.spectator-location-panel {
    background: var(--gold);
    color: var(--navy);
}

.spectator-panel-label {
    margin: 0 0 25px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.spectator-time-item {
    display: flex;
    align-items: baseline;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid #dfe2e6;
}

.spectator-time-item strong {
    min-width: 110px;
    font-size: 2.4rem;
    color: var(--gold);
}

.spectator-time-item span {
    font-weight: 700;
}

.spectator-location-panel h3 {
    margin: 0 0 15px;
    font-size: 2rem;
    text-transform: uppercase;
}

.spectator-address {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.spectator-map-button {
    display: inline-flex;
    padding: 13px 20px;
    background: var(--navy);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.spectator-map-button:hover {
    background: var(--white);
    color: var(--navy);
}


/* ---------- SERVICES ---------- */

.spectator-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    max-width: 1100px;
    margin: 2px auto 0;
}

.spectator-service {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 30px;
    background: rgba(255, 255, 255, 0.07);
}

.spectator-service-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 800;
}

.spectator-service h3 {
    margin: 0 0 8px;
    color: var(--white);
    font-size: 1rem;
    text-transform: uppercase;
}

.spectator-service p {
    margin: 0;
    color: #cbd3df;
    line-height: 1.6;
    font-size: 0.9rem;
}


/* ---------- GOOGLE MAPS ---------- */

.spectator-map-callout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    max-width: 1100px;
    margin: 2px auto 0;
    padding: 32px 40px;
    background: #111d31;
}

.spectator-map-callout h3 {
    margin: 0 0 8px;
    font-size: 1.35rem;
}

.spectator-map-callout p {
    margin: 0;
    color: #cbd3df;
}


/* ---------- MOBILE ---------- */

@media (max-width: 800px) {

    .spectator-main-grid {
        grid-template-columns: 1fr;
    }

    .spectator-services {
        grid-template-columns: 1fr;
    }

    .spectator-time-panel,
    .spectator-location-panel {
        min-height: auto;
        padding: 32px;
    }

    .spectator-map-callout {
        flex-direction: column;
        align-items: flex-start;
    }

}

@media (max-width: 500px) {

    .spectator-date {
        gap: 10px;
    }

    .spectator-date strong {
        font-size: 3.5rem;
    }

    .spectator-date span {
        font-size: 0.62rem;
        letter-spacing: 1px;
    }

    .spectator-time-item {
        display: block;
    }

    .spectator-time-item strong {
        display: block;
        margin-bottom: 5px;
    }

}
/* =========================================================
   PARTENAIRES
   ========================================================= */

.partners {
    background: #f7f7f5;
}

.partners-intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto 60px;
}

.partners-intro-card {
    padding: 32px;
    background: var(--white);
    border-top: 3px solid var(--gold);
}

.partners-intro-card > span {
    display: block;
    margin-bottom: 20px;
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.partners-intro-card h3 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 1.3rem;
}

.partners-intro-card p {
    margin: 0;
    color: #657083;
    line-height: 1.7;
}


/* ---------- CLUB ---------- */

.partners-club {
    max-width: 1100px;
    margin: 0 auto 60px;
    padding: 55px;
    background: var(--navy);
    color: var(--white);
}

.partners-club-content {
    max-width: 700px;
}

.partners-club h3 {
    margin: 0 0 15px;
    font-size: 2rem;
}

.partners-club p:not(.section-kicker) {
    color: #cbd3df;
    line-height: 1.7;
}


/* ---------- PARTENAIRES ---------- */

.partners-list {
    max-width: 1100px;
    margin: 0 auto 50px;
}

.partners-list-header {
    margin-bottom: 30px;
}

.partners-list-header h3 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: 1.8rem;
}

.partners-list-header > p:last-child {
    max-width: 700px;
    color: #657083;
    line-height: 1.6;
}

.partners-placeholder-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.partner-placeholder {
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px dashed #c7ccd3;
    color: #9aa2ad;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* ---------- DOSSIER ---------- */

.partners-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px;
    background: var(--gold);
    color: var(--navy);
}

.partners-cta h3 {
    margin: 0 0 8px;
    font-size: 1.6rem;
}

.partners-cta p:last-child {
    margin: 0;
    max-width: 650px;
    line-height: 1.6;
}

.partners-cta .section-kicker {
    margin-bottom: 8px;
}


/* ---------- MOBILE ---------- */

@media (max-width: 800px) {

    .partners-intro-grid {
        grid-template-columns: 1fr;
    }

    .partners-placeholder-grid {
        grid-template-columns: 1fr;
    }

    .partners-club {
        padding: 35px;
    }

    .partners-cta {
        flex-direction: column;
        align-items: flex-start;
    }

}

@media (max-width: 500px) {

    .partners-club {
        padding: 28px;
    }

    .partners-cta {
        padding: 30px;
    }

}
/* =========================================================
   GALERIE
   ========================================================= */

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 16px;
    max-width: 1200px;
    margin: 50px auto 0;
}

.gallery-item {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: #e9e9e9;
    border-radius: 2px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}


/* GRANDE IMAGE */

.gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
}


/* IMAGES SECONDAIRES */

.gallery-item-adri {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item-ilies {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item-coaching {
    grid-column: span 2;
    grid-row: span 1;
}


/* EFFET AU SURVOL */

.gallery-item:hover img {
    transform: scale(1.04);
}


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

@media (max-width: 900px) {

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }

    .gallery-item-large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-item-coaching {
        grid-column: span 2;
    }

}


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

@media (max-width: 600px) {

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 260px;
        gap: 12px;
        margin-top: 35px;
    }

    .gallery-item-large,
    .gallery-item-adri,
    .gallery-item-ilies,
    .gallery-item-coaching {
        grid-column: span 1;
        grid-row: span 1;
    }

}
/* =========================================================
   FOOTER — VERSION FINALE
   ========================================================= */

.site-footer {
    background: var(--navy);
    color: var(--white);
    padding: 70px 0 0;
    border-top: 3px solid var(--gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 55px;
}

.footer-brand {
    margin-bottom: 18px;
    color: var(--white);
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.site-footer p {
    margin: 0 0 12px;
    color: #cbd3df;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-title {
    margin-bottom: 20px;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 11px;
}

.footer-links a {
    color: #dce2ea;
    font-size: 0.9rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

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


/* ---------- BAS DU FOOTER ---------- */

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #8f9aaa;
    font-size: 0.72rem;
    line-height: 1.5;
}


/* =========================================================
   FOOTER — TABLETTE
   ========================================================= */

@media (max-width: 900px) {

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

}


/* =========================================================
   FOOTER — MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .site-footer {
        padding-top: 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-bottom: 40px;
    }

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

}

/* =========================================================
CORRECTION MOBILE — LARGEUR DE PAGE
========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* =========================================================
   PARTENAIRES INSTITUTIONNELS — FENÊTRE MODALE
   ========================================================= */

.institutional-partners-trigger {
    cursor: pointer;
}

.partner-card-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
}


/* FENÊTRE */

.institutional-partners-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 2rem;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}


/* FENÊTRE OUVERTE */

.institutional-partners-modal.is-open {
    opacity: 1;
    visibility: visible;
}


/* FOND SOMBRE */

.institutional-partners-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.72);
}


/* CONTENU */

.institutional-partners-dialog {
    position: relative;
    z-index: 1;

    width: min(900px, 100%);

    max-height: 90vh;
    overflow-y: auto;

    padding: 3rem;

    background: #ffffff;

    border-radius: 8px;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.30);

    transform: translateY(20px);

    transition:
        transform 0.25s ease;
}


.institutional-partners-modal.is-open
.institutional-partners-dialog {
    transform: translateY(0);
}


/* BOUTON FERMER */

.institutional-partners-close {
    position: absolute;

    top: 1rem;
    right: 1rem;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: transparent;

    font-size: 2rem;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.institutional-partners-close:hover {
    background: rgba(0, 0, 0, 0.08);
    transform: rotate(90deg);
}


/* GRILLE DES LOGOS */

.institutional-partners-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 2rem;

    margin-top: 2rem;
}


/* PARTENAIRE */

.institutional-partner {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    min-height: 220px;

    padding: 2rem;

    text-align: center;

    border: 1px solid rgba(0, 0, 0, 0.08);

    border-radius: 8px;

    background: #ffffff;
}


.institutional-partner img {
    display: block;

    width: auto;
    max-width: 180px;
    max-height: 120px;

    object-fit: contain;

    margin-bottom: 1.5rem;
}


.institutional-partner h3 {
    margin: 0;

    font-size: 1rem;
}


/* MOBILE */

@media (max-width: 700px) {

    .institutional-partners-modal {
        padding: 1rem;
    }


    .institutional-partners-dialog {
        padding: 2.5rem 1.25rem 1.5rem;
    }


    .institutional-partners-grid {
        grid-template-columns: 1fr;
    }


    .institutional-partner {
        min-height: 190px;
    }

}
 
/* =========================================================
   PARTENAIRES PRIVÉS — FENÊTRE MODALE
   ========================================================= */

.private-partners-trigger {
    cursor: pointer;
}


/* FENÊTRE */

.private-partners-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 2rem;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}


/* FENÊTRE OUVERTE */

.private-partners-modal.is-open {
    opacity: 1;
    visibility: visible;
}


/* FOND */

.private-partners-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.72);
}


/* CONTENU */

.private-partners-dialog {
    position: relative;
    z-index: 1;

    width: min(900px, 100%);

    max-height: 90vh;
    overflow-y: auto;

    padding: 3rem;

    background: #ffffff;

    border-radius: 8px;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.30);

    transform: translateY(20px);

    transition:
        transform 0.25s ease;
}


.private-partners-modal.is-open
.private-partners-dialog {
    transform: translateY(0);
}


/* BOUTON FERMER */

.private-partners-close {
    position: absolute;

    top: 1rem;
    right: 1rem;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: transparent;

    font-size: 2rem;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.private-partners-close:hover {
    background: rgba(0, 0, 0, 0.08);
    transform: rotate(90deg);
}


/* GRILLE DES LOGOS */

.private-partners-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 2rem;

    margin-top: 2rem;
}


/* PARTENAIRE */

.private-partner {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    min-height: 220px;

    padding: 2rem;

    text-align: center;

    border: 1px solid rgba(0, 0, 0, 0.08);

    border-radius: 8px;

    background: #ffffff;
}


.private-partner img {
    display: block;

    width: auto;
    max-width: 180px;
    max-height: 120px;

    object-fit: contain;

    margin-bottom: 1.5rem;
}


.private-partner h3 {
    margin: 0;

    font-size: 1rem;
}


/* MOBILE */

@media (max-width: 700px) {

    .private-partners-modal {
        padding: 1rem;
    }


    .private-partners-dialog {
        padding: 2.5rem 1.25rem 1.5rem;
    }


    .private-partners-grid {
        grid-template-columns: 1fr;
    }


    .private-partner {
        min-height: 190px;
    }

}

/* =========================================================
   CARROUSEL COMBATTANTS
   ========================================================= */

.fighters-carousel {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 3rem;
}


/* ---------------------------------------------------------
   FENÊTRE
   --------------------------------------------------------- */

.fighters-carousel-window {
    width: min(450px, 100%);

    overflow: hidden;

    border-radius: 12px;
}


/* ---------------------------------------------------------
   PISTE
   --------------------------------------------------------- */

.fighters-track {
    display: flex;

    transition: transform 0.45s ease;
}


/* ---------------------------------------------------------
   CARTE
   --------------------------------------------------------- */

.fighter-card {
    flex: 0 0 100%;

    width: 100%;

    box-sizing: border-box;

    background: #ffffff;

    border-radius: 12px;

    overflow: hidden;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.12);
}


/* ---------------------------------------------------------
   IMAGE
   --------------------------------------------------------- */

.fighter-card-image {
    width: 60%;

    aspect-ratio: 210 / 297;

    overflow: hidden;

    background: #eeeeee;
    display: flex;
    justify-content: center; 
    align-items: center;
    margin: 0 auto;
}

.fighter-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* ---------------------------------------------------------
   CONTENU
   --------------------------------------------------------- */

.fighter-card-content {
    padding: 1.8rem 2rem;

    text-align: center;
}

.fighter-category {
    display: inline-block;

    margin-bottom: 0.5rem;

    font-size: 0.8rem;
    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}

.fighter-card-content h3 {
    margin: 0 0 0.7rem;
}

.fighter-card-content p {
    margin: 0;
}


/* ---------------------------------------------------------
   FLÈCHES
   --------------------------------------------------------- */

.fighter-carousel-prev,
.fighter-carousel-next {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 50;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;
    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.16);

    color: #111111;

    font-size: 1.3rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


/* POSITION PC */

.fighter-carousel-prev {
    left: calc(50% - 200px);
}

.fighter-carousel-next {
    right: calc(50% - 200px);
}


.fighter-carousel-prev:hover,
.fighter-carousel-next:hover {

    transform:
        translateY(-50%)
        scale(1.08);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.25);
}


/* ---------------------------------------------------------
   INDICATEUR
   --------------------------------------------------------- */

.fighter-carousel-indicator {

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 0.4rem;

    margin-top: 1.3rem;

    font-size: 0.95rem;

    font-weight: 600;
}

.fighter-current {
    color: #d40000;
}


/* ---------------------------------------------------------
   TABLETTE
   --------------------------------------------------------- */

@media (max-width: 900px) {

    .fighter-carousel-prev {
        left: 10px;
    }

    .fighter-carousel-next {
        right: 10px;
    }

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 700px) {

    .fighters-carousel-window {
        width: 100%;
    }

    .fighter-carousel-prev,
    .fighter-carousel-next {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .fighter-carousel-prev {
        left: 5px;
    }

    .fighter-carousel-next {
        right: 5px;
    }

}

/* =========================================================
   RÉSEAUX SOCIAUX — FOOTER
   ========================================================= */

.footer-social-title {
    margin-top: 28px;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.footer-socials a {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

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

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.footer-socials a:hover {
    transform: translateY(-3px);

    border-color: #d49a16;

    background-color: rgba(212, 154, 22, 0.1);
}

.footer-socials img {
    width: 40px;
    height: 40px;

    object-fit: contain;
}
/* =========================================================
   ANIMATION AFFICHAGE — HERO
   ========================================================= */

.hero-poster {
    opacity: 0;
    transform: translateY(30px) scale(0.97);

    animation:
        heroPosterAppear 1.2s ease-out 0.3s forwards;
}


@keyframes heroPosterAppear {

    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


.hero-poster img {
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


.hero-poster img:hover {
    transform: scale(1.015);
}


/* =========================================================
   ACCESSIBILITÉ — RÉDUCTION DES ANIMATIONS
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .hero-poster {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .hero-poster img {
        transition: none;
    }

}
/* =========================================================
   COMPTE À REBOURS
   ========================================================= */

.countdown {
    margin-top: 35px;
}

.countdown-title {
    margin-bottom: 10px;

    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.countdown-days {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.countdown-prefix {
    font-size: 1.8rem;
    font-weight: 700;
}

.countdown-days strong {
    font-size: 3rem;
    line-height: 1;
    font-weight: 700;
}
@media (max-width: 600px) {

    .countdown {
        margin-top: 28px;
    }

    .countdown-prefix {
        font-size: 1.5rem;
    }

    .countdown-days strong {
        font-size: 2.4rem;
    }

}

/* =========================================================
   BOUTON PROGRAMME OFFICIEL
   ========================================================= */

.btn-programme-officiel {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    background: #c9a227;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-programme-officiel:hover {
    background: #b38d1d;
}