.te-bandeau { display: block; width: 100%; line-height: 0; }
.te-bandeau a { display: block; width: 100%; }
.te-bandeau__image { display: block; width: 100%; height: auto; max-height: 200px; object-fit: cover; object-position: center; }
@media ( max-width: 768px ) { .te-bandeau__image { max-height: 120px; } }

/* ── Barre de scroll ───────────────────────────────────────────────────────── */

.te-barre-scroll {
    position: fixed;
    top: -40px; /* Cachée par défaut au-dessus de l'écran */
    left: 0;
    width: 100%;
    height: 30px;
    background: #1e3a5f;
    z-index: 9998; /* Sous la pop-up Elementor (z-index: 9999) */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: top 0.3s ease;
}

/* Visible dès qu'Elementor active le sticky sur le header */
.elementor-sticky--active ~ .te-barre-scroll,
body.te-scrolled .te-barre-scroll {
    top: 0;
}

.te-barre-scroll__lien {
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.02em;
    padding: 0 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.te-barre-scroll__lien:hover {
    text-decoration: underline;
    color: #ffffff;
}

@media ( max-width: 768px ) {
    .te-barre-scroll {
        height: 28px;
    }
    .te-barre-scroll__lien {
        font-size: 0.75rem;
    }
}

/* Classe ajoutée par JS au scroll */
body.te-scrolled .te-barre-scroll {
    top: 0;
}
