/* ==========================================================================
   URBANISATION STRUCTURELLE - PROPORTIONS ET ANIMATION PARACHUTE
   ========================================================================== */

.glameeto-section-processus-wrapper {
    position: relative;
    display: block;     /* Indispensable pour que le bloc soit rendu */
    width: 100%;
    margin: 0;
    height: 500px;
    padding: 260px 0;
    transition: background-color 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
}


/* L'APLAT H3 : Absolu, 480px, part du haut collé */
.boomerang-section-title-aplat {
    position: absolute;
    top: 0;
    width: 480px;
    height: 50%;
    background: #1e1e1e;
    padding: 80px 45px;
    box-sizing: border-box;
    z-index: 2;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.context-align-left .boomerang-section-title-aplat { left: 100px; }
.context-align-right .boomerang-section-title-aplat { right: 100px; }

.boomerang-section-title-aplat.scroll-visible {
    transform: translateY(0);
    opacity: 1;
}

.boomerang-section-title-aplat .section-main-title {
    font-size: 34px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
    text-transform: uppercase;
}

/* CONTENEUR DU SLIDER PROTEGÉ */
.glameeto-container-boomerang {
    width: 90%;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    z-index: 3;
}

.context-align-left .glameeto-container-boomerang { padding-left: 580px; }
.context-align-right .glameeto-container-boomerang { padding-right: 580px; }

.glameeto-boomerang-wrapper {
    position: relative;
    width: 100%;
    height: 480px; 
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* Correction de la zone gauche (Texte) */
.glameeto-boomerang-wrapper .slideshow-left {
    width: 55%;
    float: left;
    position: relative;
    height: 100%;
    z-index: 2;
}

.glameeto-boomerang-wrapper .slideshow-right {
    width: 45%;
    float: left;
    position: relative;
    height: 100%;
    z-index: 1;
}

/* SÉCURISATION DE L'AFFICHAGE ET MISE EN PAGE DES DIAPOSITIVES */
.Lslide, .Rslide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    transition: top 0.8s ease-in-out;
}

/* Rétablissement d'une mise en page propre et aérée pour les textes */
.glameeto-boomerang-wrapper .Lslide-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    padding: 40px 50px;
    box-sizing: border-box;
    color: #ffffff;
}

.glameeto-boomerang-wrapper .boomerang-main-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 15px 0;
    color: #ffffff;
}

.glameeto-boomerang-wrapper .boomerang-wysiwyg {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
}

/* LE BOUTON ORANGE EMBLÉMATIQUE DE GLAMEETO RETROUVÉ ET AJUSTÉ */
.glameeto-boomerang-wrapper .boomerang-action-wrapper {
    width: 100%;
    display: block;
    margin-top: 10px;
}

.glameeto-boomerang-wrapper .boomerang-btn-orange {
    display: inline-flex;
    align-items: center;
    background-color: #FF4F1A; /* Ton Orange Glameeto officiel */
    color: #ffffff !important;
    padding: 13px 28px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 30px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.glameeto-boomerang-wrapper .boomerang-btn-orange:hover {
    background-color: #e03d0d;
    transform: translateY(-2px);
}

.glameeto-boomerang-wrapper .btn-arrow { 
    margin-left: 8px; 
    display: inline-block;
}

.glameeto-boomerang-wrapper .Rslide img { width: 100%; height: 100%; object-fit: cover; }

/* Flèches de contrôle sur la couture */
.glameeto-boomerang-wrapper .control {
    position: absolute;
    left: 55%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.glameeto-boomerang-wrapper .control .oncontrol {
    width: 44px;
    height: 44px;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    transition: all 0.2s ease;
}
.glameeto-boomerang-wrapper .control .control-top { border-radius: 8px 8px 0 0; border-bottom: 1px solid #f0f0f0; }
.glameeto-boomerang-wrapper .control .control-bottom { border-radius: 0 0 8px 8px; }
.glameeto-boomerang-wrapper .control .oncontrol:hover { background: #FF4F1A; color: #ffffff; }
.section-subtitle  {color:white;}

.glameeto-section-processus-wrapper {
    position: relative; /* Indispensable pour le z-index */
}

.glameeto-section-processus-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg-watermark);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; /* Ou 'cover' si tu veux qu'il remplisse tout */
    opacity: 0.15; /* Ajuste entre 0.05 et 0.2 pour la subtilité */
    pointer-events: none; /* Important pour ne pas bloquer les clics */
    z-index: 1; /* Derrière le contenu (z-index 3 sur le conteneur) */
}
/* Mobile */
/* Mobile */
@media (max-width: 991px) {
    .boomerang-section-title-aplat { 
        display: none !important; 
    }
    
    /* CORRECTION : On force la hauteur en auto pour libérer le padding du bas */
    .glameeto-section-processus-wrapper { 
        padding: 50px 0 !important; 
        height: auto !important; 
    }
    
    .glameeto-container-boomerang { 
        width: 100% !important; 
        max-width: 100% !important; 
        margin: 0 !important; 
        padding: 0 !important; 
    }

    .glameeto-boomerang-wrapper { 
        height: auto !important; 
        border-radius: 0 !important; 
        width: 100% !important;
    }

    .glameeto-boomerang-wrapper .slideshow-left, 
    .glameeto-boomerang-wrapper .slideshow-right { 
        width: 100% !important; 
        float: none !important; 
    }
    
    .glameeto-boomerang-wrapper .slideshow-left { 
        height: auto !important; 
    }
    
    .glameeto-boomerang-wrapper .Lslide-content { 
        padding: 40px 20px; 
    }
    
    .Lslide, .Rslide { 
        position: relative !important; 
        transition: none !important; 
    }
    
    .Lslide { 
        display: none; 
    }
    
    .Lslide.active { 
        display: block; 
    }
    
    .Rslide { 
        display: none; 
    }
    
    /* Hauteur de la photo */
    .Rslide.active { 
        display: block; 
        height: 320px !important; 
    }

    /* POSITIONNEMENT FLÈCHES MOBILE (Haut Droite) */
    .glameeto-boomerang-wrapper .control { 
        display: flex !important; 
        position: absolute !important;
        top: 0px !important;
        right: 10px !important;
        left: auto !important;
        transform: none !important; 
        z-index: 10;
        flex-direction: column; 
    }
}

