/* ===== HEADER PRINCIPAL ===== */
.head_page {
    background-color: #143768;
    display: flex;
    align-items: center;
    padding: 16px 32px; /* norme institutionnelle */
}

/* ===== LOGO À GAUCHE ===== */
.brand_page {
    flex: 0 0 auto;
}

.brand_page img {
    height: 80px;              /* taille standard gouvernementale */
    max-width: 100%;
}

/* ===== ZONE CENTRALE (TITRE + BOUTON) ===== */
.caption_ex {
    flex: 1;                   /* prend l’espace restant */
    display: flex;
    flex-direction: column;
    align-items: center;       /* centrage horizontal */
    justify-content: center;   /* centrage vertical */
    text-align: center;
}

/* ===== TITRE ===== */
.caption_ex h5 {
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
/* =========================
   RESPONSIVE MOBILE
   ========================= */
@media (max-width: 768px) {

    .head_page {
        flex-direction: column;
        padding: 20px 16px;
        text-align: center;
    }

    /* Logo centré */
    .brand_page {
        margin-bottom: 15px;
    }

    .brand_page img {
        height: 50px;
    }

    /* Zone titre + bouton */
    .caption_ex {
        width: 100%;
        align-items: center;
    }

    .caption_ex h5 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    /* Bouton plus lisible sur mobile */
    .btn-group {
        width: 100%;
        justify-content: center;
    }

    .btn-group .btn {
        width: auto;
    }
}
