
/* =========================
   LÉO BORIES — STYLE DU SITE
   Bleu nuit, blanc et or
   ========================= */

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

:root {
    --navy: #071426;
    --navy-light: #10223a;
    --gold: #e7b653;
    --white: #f7f8fb;
    --muted: #b8c1ce;
}

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

/* MENU */

.header {
    min-height: 76px;
    padding: 18px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    background: #061121;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.logo {
    color: white;
    text-decoration: none;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: 5px;
    white-space: nowrap;
}

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

nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color .2s;
}

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

/* ACCUEIL */

.hero {
    min-height: 590px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 75px 12%;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(5,17,34,.98) 0%, rgba(5,17,34,.83) 42%, rgba(5,17,34,.12) 100%),
        url("images/accueil.jpg") center 35% / cover no-repeat;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(5,17,34,.3), transparent 45%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 570px;
}

.eyebrow {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(64px, 8vw, 100px);
    line-height: .88;
    letter-spacing: 3px;
    font-weight: 900;
}

.hero h2 {
    color: var(--gold);
    font-size: 22px;
    letter-spacing: 4px;
    margin-top: 24px;
}

.hero-intro {
    font-size: 19px;
    font-style: italic;
    margin: 16px 0 27px;
}

.button {
    display: inline-block;
    padding: 13px 23px;
    border-radius: 30px;
    background: var(--gold);
    color: #071426;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .5px;
    transition: transform .2s, background .2s;
}

.button:hover {
    transform: translateY(-3px);
    background: white;
}

.hero-label {
    position: absolute;
    bottom: 22px;
    right: 7%;
    color: #d4dce6;
    font-size: 10px;
    letter-spacing: 3px;
}

.hero-label span {
    color: var(--gold);
    padding: 0 8px;
}

/* PROFIL */

.section {
    padding: 90px 8%;
}

.intro {
    display: grid;
    grid-template-columns: minmax(260px, .85fr) 1.15fr;
    gap: 65px;
    align-items: center;
}

.portrait {
    position: relative;
}

.portrait img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.portrait-caption {
    display: block;
    margin-top: 12px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 2px;
}

.intro-copy h2,
.section h2,
.contact h2 {
    font-size: clamp(30px, 4vw, 43px);
    line-height: 1.1;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.intro-copy p:not(.eyebrow) {
    color: var(--muted);
    margin-bottom: 15px;
    font-size: 15px;
}

.signature {
    color: var(--gold);
    font-family: "Brush Script MT", "Segoe Script", cursive;
    font-size: 43px;
    font-style: italic;
    margin-top: 18px;
    transform: rotate(-5deg);
}

/* DISCIPLINES */

.disciplines {
    background: var(--navy-light);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 25px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.heading-note {
    color: var(--muted);
    font-style: italic;
    text-align: right;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-top: 38px;
}

.sport-card {
    background: var(--navy);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.09);
}

.sport-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}

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

.sport-info {
    padding: 18px 15px 20px;
}

.sport-info span {
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 2px;
}

.sport-info h3 {
    font-size: 15px;
    margin: 7px 0;
}

.sport-info p {
    color: var(--muted);
    font-size: 12px;
}

/* PALMARES */

.palmares {
    text-align: center;
}

.palmares h2 {
    margin-bottom: 10px;
}

.palmares-lead {
    color: var(--muted);
}

.results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 40px;
}

.result {
    border: 1px solid rgba(231,182,83,.45);
    padding: 35px 22px;
}

.result-number {
    color: var(--gold);
    font-size: 42px;
    font-weight: 800;
}

.result h3 {
    font-size: 15px;
    margin: 12px 0;
}

.result p {
    color: var(--muted);
    font-size: 14px;
}

.note {
    color: #8e9bad;
    font-size: 12px;
    margin-top: 24px;
    font-style: italic;
}

/* PHILOSOPHIE */

.quote-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--navy-light);
}

.quote-image img {
    display: block;
    width: 100%;
    height: 430px;
    object-fit: cover;
}

.quote-copy {
    padding: 65px 10%;
    align-self: center;
}

.quote-copy blockquote {
    color: white;
    font-size: clamp(29px, 4vw, 44px);
    line-height: 1.2;
    font-weight: 800;
}

.quote-copy > p:not(.eyebrow) {
    color: var(--muted);
    margin-top: 20px;
    max-width: 440px;
}

/* CONTACT */

.contact {
    text-align: center;
    max-width: 900px;
    margin: auto;
}

.contact h2 {
    margin-bottom: 18px;
}

.contact > p:not(.eyebrow) {
    color: var(--muted);
    max-width: 620px;
    margin: 0 auto 25px;
}

/* PARTENAIRES */

.partners {
    padding: 45px 8%;
    background-color: var(--navy-light);
    border-top: 1px solid rgba(255,255,255,.1);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.partners-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 50px;
    max-width: 1100px;
    margin: auto;
}

.partners-logos img {
    max-width: 170px;
    max-height: 75px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0) invert(1);
    opacity: .8;
    transition: .3s;
}

.partners-logos img:hover {
    filter: none;
    opacity: 1;
    transform: scale(1.08);
}

/* PIED DE PAGE */

footer {
    padding: 25px 7%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    background: #040c17;
    color: #9ca8b8;
    font-size: 11px;
    letter-spacing: .5px;
}

footer a {
    color: var(--gold);
    text-decoration: none;
}

/* TABLETTES */

@media (max-width: 900px) {
    .header {
        flex-direction: column;
    }

    nav {
        justify-content: center;
        gap: 16px;
    }

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

    .intro {
        gap: 35px;
    }
}

/* TELEPHONES */

@media (max-width: 650px) {
    .hero {
        min-height: 570px;
        padding: 60px 8%;
        background-position: 62% center;
    }

    .hero h1 {
        font-size: 66px;
    }

    .hero h2 {
        font-size: 16px;
        letter-spacing: 2px;
    }

    .hero-label {
        left: 8%;
        right: auto;
        font-size: 9px;
    }

    .section {
        padding: 65px 7%;
    }

    .intro,
    .quote-section {
        grid-template-columns: 1fr;
    }

    .portrait img {
        height: 360px;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

    .heading-note {
        text-align: left;
    }

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

    .sport-card img {
        height: 170px;
    }

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

    .quote-image img {
        height: 300px;
    }

    .quote-copy {
        padding: 45px 8%;
    }

    .partners-logos {
        flex-wrap: wrap;
        gap: 30px;
    }

    .partners-logos img {
        max-width: 110px;
        max-height: 55px;
    }

    footer {
        flex-direction: column;
    }
}

@media (max-width: 390px) {
    .sports-grid {
        grid-template-columns: 1fr;
    }
}
