/**
 * Correction globale du layout
 * v1.5 - Header qui DEFILE (pas fixe)
 */

/* ============================================
   HEADER - PAS FIXE, DEFILE AVEC LA PAGE
   ============================================ */

.site-header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
}

/* Pas de compensation de padding - le header n est plus fixe */
#page > .site-main {
    padding-top: 0 !important;
}

body.home #page > .site-main {
    padding-top: 0 !important;
}

body.home .front-page-fullscreen {
    padding-top: 0 !important;
}

body.page-template-template-filiale #page > .site-main,
body.page-template-template-everdata-core #page > .site-main {
    padding-top: 0 !important;
}

body.page-template-template-page-hero #page > .site-main,
body.page-template-template-partenaires-certifications #page > .site-main {
    padding-top: 0 !important;
}

/* ============================================
   IMAGES HERO PAGES FILIALES
   ============================================ */

.filiale-hero {
    height: 75vh !important;
    min-height: 500px !important;
}

.filiale-hero-image img {
    object-fit: cover;
    object-position: center center;
}

/* ============================================
   IMAGES HERO PAGES ANNEXES
   ============================================ */

.page-hero-full,
.partners-hero-full {
    min-height: 50vh !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 0 !important;
}

.page-hero-full .container,
.partners-hero-full .container {
    padding: 60px 20px !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .filiale-hero {
        height: 50vh !important;
        min-height: 350px !important;
    }

    .page-hero-full,
    .partners-hero-full {
        min-height: 40vh !important;
    }
}
