/* header */
header {
    grid-area: header;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height:100vh;
    height:100dvh; /* hauteur visible sur mobile, cf. commun.css */
    z-index: 100;
    gap:20px;
    background-color: var(--bg-color);
    color: var(--text-title-color);
    border-right: 1px solid gray;;
}
header a {
    color: inherit;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 80px;
    padding: 0 10px;
}
.logo a {
    flex:1;
    display:flex;
    height: 80px;
    justify-content: center;
    align-items: center;
}
.logo__image {
    width: 40px;
    height: 40px;
}
.logo__image img {
    width: 100%;
    height: auto;
    /* L'image vient du src de base/_logo.html.twig (logo_couleur-120.webp, 120 px pour l'écran haute densité) : plus de
       content: url() ici, qui la faisait télécharger une seconde fois en 720 px (lot 1 d'optimisation, 19/10/2026). */
}
.logo__nom {
    font-size: 1em;
    text-decoration: none;
    color: var(--text-color-main);
}
.logo__nom h3 {
    margin:0;
    font-weight: 500;
}
.logo__nom h3::first-letter, .logo_prod h3::first-letter {
    text-transform: uppercase;
    color: var(--logo-letter-color);
    font-weight: 700;
}
.logo_prod {
    display: flex;
    gap: 10px;
}
.logo_prod .material-symbols-outlined {
    font-size: 2em;
    color: var(--main-color);
}
.logo--reduit {
    width:80px;
}
.logo--reduit .logo__nom {
    display: none;
}