/* Photo de scène en fond de la section d’entrée de l’accueil. */
body.first .hero-section.hero-photo {
    background-color: #171b20;
    background-image: linear-gradient(180deg, rgba(8, 12, 18, 0.36), rgba(8, 12, 18, 0.42) 65%, rgba(8, 12, 18, 0.68)), url("../Images/assets/photos/accueil-envolee.jpg");
    background-size: cover;
    background-position: center 58%;
    background-repeat: no-repeat;
    background-attachment: scroll;
    isolation: isolate;
}

body.first .hero-section.hero-photo::before {
    content: none;
    animation: none;
}

body.first .hero-photo .hero-title.hero-logo img {
    filter: drop-shadow(0 3px 16px rgba(0, 0, 0, 0.5));
}

body.first .hero-photo .hero-subtitle {
    background: rgba(12, 17, 24, 0.55);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
    animation: slideDown 0.8s ease-out 0.2s both;
}

body.first .hero-photo .hero-subtitle::before {
    content: none;
}

@media screen and (max-width: 768px) {
    body.first .hero-section.hero-photo {
        background-position: 52% center;
    }
}

/* La victoire du tremplin, directement sur la photo d’accueil. */
body.first .hero-section.hero-photo {
    padding-top: 20px !important;
}

/* Absorber l’espace transparent en haut du logo plutôt que décaler le contenu. */
body.first .hero-photo .hero-title.hero-logo {
    margin-top: calc(-1 * clamp(40px, 12vw, 110px)) !important;
}

body.first .hero-photo .hero-award {
    display: flex;
    width: fit-content;
    align-self: flex-end;
    align-items: center;
    justify-content: center;
    gap: 18px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    max-width: calc(100% - 32px);
    margin: 0 clamp(16px, 3vw, 48px) 0 auto;
    padding: 16px 26px;
    border: 1px solid rgba(233, 196, 117, 0.55);
    border-radius: 12px;
    background: rgba(17, 20, 24, 0.72);
    backdrop-filter: blur(8px);
    color: #f4d793;
    font-family: "Trebuchet MS", Arial, sans-serif;
    text-decoration: none;
    text-align: left;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

body.first .hero-award > i {
    font-size: 2rem;
}

body.first .hero-award-copy {
    display: grid;
    gap: 3px;
    line-height: 1.3;
}

body.first .hero-award-copy strong {
    font-size: 1.12rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.first .hero-award-copy > span {
    color: #f8efde;
    font-size: 0.95rem;
}

@media screen and (max-width: 768px) {
    body.first .hero-section.hero-photo {
        padding-top: 16px !important;
    }

    body.first .hero-photo .hero-award {
        align-self: center;
        margin: 0 auto 12px;
        gap: 10px;
        padding: 9px 14px;
    }

    body.first .hero-award-copy strong {
        font-size: 0.8rem;
    }

    body.first .hero-award-copy > span {
        font-size: 0.72rem;
    }

    body.first .hero-award > i {
        font-size: 1.25rem;
    }
}
