:root {
    --bleu-profond: #07355d;
    --bleu: #0b4f7d;
    --bleu-clair: #eaf2f8;
    --turquoise: #08a999;
    --turquoise-fonce: #078879;
    --fond: #071f36;
    --surface: #ffffff;
    --texte: #173042;
    --texte-secondaire: #637786;
    --bordure: #dce5eb;
    --ombre: 0 16px 40px rgba(7, 53, 93, .08);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--fond);
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--texte);
    background:
        radial-gradient(circle at 20% 10%, rgba(8, 169, 153, .2), transparent 32rem),
        linear-gradient(145deg, #062d50, #071f36 72%);
    background-attachment: fixed;
    font-family: "Segoe UI", Arial, sans-serif;
}

button,
select,
input,
textarea {
    font: inherit;
}

.entete-site {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 72px;
    padding: 0 42px;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--bordure);
    backdrop-filter: blur(10px);
}

.marque {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 12px;
    color: var(--bleu-profond);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .18em;
}

.marque img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.navigation-principale {
    display: flex;
    align-items: stretch;
    align-self: stretch;
    gap: 28px;
}

.navigation-principale a {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--texte-secondaire);
    text-decoration: none;
    font-weight: 650;
}

.navigation-principale a.actif {
    color: var(--bleu-profond);
}

.navigation-principale a.actif::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--turquoise);
}

.zone-compte {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 14px;
}

.identite-compte {
    color: var(--texte-secondaire);
    font-size: .9rem;
}

.bouton-secondaire {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    color: var(--bleu-profond);
    background: #fff;
    border: 1px solid var(--bordure);
    border-radius: 0;
    text-decoration: none;
    font-weight: 650;
}

.bouton-secondaire:hover {
    border-color: var(--turquoise);
}

.conteneur-page {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 62px 0 80px;
}

.hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 34px;
}

.sur-titre {
    margin: 0 0 10px;
    color: var(--turquoise-fonce);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 780px;
    margin: 0;
    color: var(--bleu-profond);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.04;
    letter-spacing: -.035em;
}

.introduction {
    max-width: 720px;
    margin: 18px 0 0;
    color: var(--texte-secondaire);
    font-size: 1.04rem;
    line-height: 1.7;
}

.select-annee,
.filtres label {
    display: grid;
    gap: 8px;
    color: var(--texte-secondaire);
    font-size: .78rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .08em;
}

select {
    min-height: 46px;
    padding: 0 40px 0 14px;
    color: var(--texte);
    background: #fff;
    border: 1px solid var(--bordure);
    border-radius: 0;
    outline: none;
}

select:focus {
    border-color: var(--turquoise);
    box-shadow: 0 0 0 3px rgba(8, 169, 153, .12);
}

.bloc {
    margin-top: 22px;
    padding: 30px;
    background: var(--surface);
    border: 1px solid var(--bordure);
    border-radius: 0;
    box-shadow: var(--ombre);
}

.entete-bloc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.numero-etape {
    margin: 0 0 5px;
    color: var(--turquoise);
    font-size: .75rem;
    font-weight: 850;
    letter-spacing: .14em;
}

.entete-bloc h2 {
    margin: 0;
    color: var(--bleu-profond);
    font-size: 1.25rem;
}

.message {
    padding: 14px 18px;
    border-radius: 0;
}

.message-erreur {
    color: #7d2b2b;
    background: #fff0f0;
    border: 1px solid #f0c9c9;
}

@media (max-width: 760px) {
    .entete-site {
        grid-template-columns: 1fr auto;
        padding: 0 18px;
    }

    .navigation-principale {
        display: none;
    }

    .identite-compte {
        display: none;
    }

    .conteneur-page {
        width: min(100% - 28px, 1180px);
        padding-top: 34px;
    }

    .hero {
        align-items: stretch;
        flex-direction: column;
    }

    .bloc {
        padding: 22px;
    }
}
