/* === PAGE PARTENAIRES === */
.page-partenaires {
    background-color: #ffffff; /* fond général blanc */
    font-family: 'Roboto', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Conteneur principal */
.page-partenaires .site-content {
    flex: 1; /* prend tout l’espace disponible pour pousser le footer en bas */
}

/* === HERO BANNER PARTENAIRES === */
.hero-banner {
    width: 100%;
    max-width: 1440px;
    height: 622px;
    margin: 0 auto;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    color: #fff;
}

.hero-banner .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7); /* filtre noir */
    z-index: 1;
}

.hero-banner .container {
    position: relative;
    z-index: 2;
    padding: 60px;
    max-width: 600px;
}

.hero-banner h1 {
    font-size: 50px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.hero-banner p.subtitle {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 25px;
    line-height: 1.5;
}

.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid #05D9C4;
    color: #05D9C4;
    background: transparent;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #05D9C4;
    color: #000;
}

/* Bande verte sous le hero banner */
.separator-vert {
    width: 100%;
    max-width: 1440px;
    height: 18px;
    background-color: #05D9C4;
    margin: 0 auto;
}

/* === TITRES DE SECTION === */
.titre-section-blanche {
    font-family: 'Watchtower', sans-serif;
    font-size: 45px !important;
    color: #0B0A0A;
    margin: 0;
    text-align: center;
    line-height: 1.1;
}

/* === SECTIONS PARTENAIRES === */
.section-institutionnelle,
.section-officiels,
.section-partenaire,
.section-media,
.section-blanche {
    background-color: #ffffff !important; /* forcer blanc */
    text-align: center;
    padding: 60px 20px;
    margin-top: 40px;
}

/* === LOGOS GÉNÉRAL === */
.logos-institutionnels,
.logos-officiels,
.logos-partenaire,
.logos-media,
.logos-partenaires {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
    margin-top: 40px;
}

.logos-partenaire {
    gap: 45px; /* espacement spécifique pour partenaires */
}

.logo-item {
    width: 220px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* === FORCER LES TITRES À S’AFFICHER === */
.page-partenaires .titre-section-blanche {
    color: #0B0A0A !important;
    visibility: visible !important;
}

/* === FOOTER === */
.site-footer {
    margin-top: auto; /* pousse le footer en bas */
}

/* === MEDIA QUERIES === */

/* Tablette */
@media screen and (max-width: 1024px) {
    .hero-banner h1 {
        font-size: 40px;
    }

    .titre-section-blanche {
        font-size: 60px;
    }

    .logos-institutionnels,
    .logos-officiels,
    .logos-partenaire,
    .logos-media,
    .logos-partenaires {
        gap: 45px;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .hero-banner h1 {
        font-size: 32px;
    }

    .titre-section-blanche {
        font-size: 55px; /* légèrement plus grand que desktop mobile */
    }

    .logos-institutionnels,
    .logos-officiels,
    .logos-partenaire,
    .logos-media,
    .logos-partenaires {
        gap: 30px;
    }
}

/* Très petit mobile */
@media screen and (max-width: 480px) {
    .hero-banner h1 {
        font-size: 15px;
    }

    .titre-section-blanche {
        font-size: 100px; /* légèrement plus grand pour mobile petit écran */
    }

    .logos-institutionnels,
    .logos-officiels,
    .logos-partenaire,
    .logos-media,
    .logos-partenaires {
        gap: 20px;
    }
}
