/* Transformation Hero Section */
.transformation-hero-section {
    position: relative;
    width: 100%;
    margin: 0!important;
    padding: 0!important;
    overflow: hidden;
}

/* Overlay dégradé avec pseudo-élément */
.transformation-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(to right, #ad2241 10%, #bb2245 30%, #cb2a33 40%, #f05165d4 55%, transparent 65%, transparent 100%);  */
    z-index: 10;
    pointer-events: none;
    /* display: none; */
}

.transformation-hero-columns {
    margin: 0;
    padding: 0;
    align-items: stretch;
}

/* Colonnes responsive */
.transformation-hero-left,
.transformation-hero-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem 0.2rem;
}

.transformation-hero-left {
    background-color: transparent;
    z-index: 11;
    position: relative;
    flex-basis: 100%!important;
    order: 2;
    /* margin-top: -216px!important; */
    /*background: linear-gradient(to right, #ad2241 10%, #bb2245 30%, #cb2a33 40%, #f05165d4 55%, transparent 65%, transparent 100%);  */
    background: #ad2240e4;
    margin: -75px 5px 0!important;
    border-radius: 33px;
}

.transformation-hero-right {
    padding: 0;
    position: relative;
    flex-basis: 100%!important;
    order: 1;
}
/* 
.transformation-hero-section .transformation-hero-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #ad2240de 10%, #ad2240a0 20%, transparent 35%, transparent 100%); 
    z-index: 10;
    pointer-events: none;
} */

/* Titres */
.transformation-hero-title {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
}

.transformation-hero-subtitle {
    font-size: 0.9rem;   
    margin-top: 0;
    opacity: 0.9;
    opacity: 0;
    transform: translateY(20px);
}

/* Image */
.transformation-hero-image {
    width: 100%;
    margin: 0;
    position: relative;
    height: 100%;
}

.transformation-hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Règles d'accessibilité */
@media (prefers-reduced-motion: reduce) {
    .transformation-hero-title, 
    .transformation-hero-columns {
        flex-direction: column;
    }
    
    .transformation-hero-left,
    .transformation-hero-right {
        width: 100%;
        flex-basis: auto;
        min-height: 40vh;
    }
    
     
    .transformation-hero-subtitle {
        font-size: 1.125rem;
    }
}

/* Mobile : 350px */


/* Tablet : 768px */
@media (min-width: 768px) {
    .transformation-hero-columns {
        flex-direction: row;
        align-items: stretch;
    }
        
     .transformation-hero-left {        
        margin: -190px 70px 0!important;
        border-radius: 33px;
    }

    .transformation-hero-image img {
        height: auto;
        min-height: 100%;
        object-fit: cover;
    }
    
    .transformation-hero-title {
        font-size: 2.5rem;
    }
    
    .transformation-hero-subtitle {
        font-size: 1.3rem;
    }
}


/* Desktop - 782px */
@media (min-width: 782px) {
    .transformation-hero-columns {  
        flex-wrap: wrap !important;    
    }
} 

/* Large Desktop : 1024px */
@media (min-width: 1024px) {
     .transformation-hero-columns {
       flex-wrap: nowrap!important;
    }

.transformation-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #ad2241 10%, #bb2245 30%, #cb2a33 40%, #f05165d4 55%, transparent 65%, transparent 100%); 
    z-index: 10;
    pointer-events: none;
    /* display: none; */
}

    .transformation-hero-left {
        /* padding: 3rem 1rem; */
        min-height: auto;
        width: 40%;
        flex-basis: 40%!important;
        background: unset;  
        order: 1;
        margin: 0 !important;
    }
    
    .transformation-hero-right {
        min-height: auto;
        width: 60%;
        flex-basis: 60%!important;       
        order: 2;

    }
    .transformation-hero-left {
     padding: 2rem 0.5rem;
    }
    
    .transformation-hero-title {
        font-size: 2rem;
    }
    
    .transformation-hero-subtitle {
        font-size: 1.1rem;
    }
}


/* Desktop : 1200px */
 @media (min-width: 1200px) {
    .transformation-hero-title{
        font-size: 2.5rem;
    }
 }

/* Extra Desktop : 1400px */
@media (min-width: 1400px) {
    .transformation-hero-left {
        padding: 3.7rem 1rem;
    }
    
    .transformation-hero-title {
        font-size: 2.9rem;
    }
    
    .transformation-hero-subtitle {
        font-size: 1.5rem;
    }
}

/* Extra Extra Desktop : 1600px */
@media (min-width: 1600px) {
    .transformation-hero-left {
        padding: 5rem 3rem;
    }
    
    .transformation-hero-title {
        font-size: 3rem;
    }
    
    .transformation-hero-subtitle {
        font-size: 1.6rem;
    }
}

/* Extra Extra Extra Desktop : 1900px */
@media (min-width: 1900px) {
    .transformation-hero-left {
        padding: 4rem 3rem;
    }
    
    .transformation-hero-title {
        font-size: 3.2rem;
    }
    
    .transformation-hero-subtitle {
        font-size: 1.8rem;
        margin-top: 10px;
    }
}


.wp-block-spacer {
    display: none;
}
