/*
====================================
verger SECTION 1
====================================
*/

/* Base styles - Little Mobile (0px) */
.verger-section1 {
    width: 100%!important;
    background: transparent; 
    z-index:20;
    position: relative;
    margin: 65px 0 0!important;
}

.verger-section1__container {
    max-width: 100%;
    width: 74%!important;
}

.verger-section1__row {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: stretch;
    justify-content: center;
}

/* Colonne gauche */
.verger-section1__col-left {
    width: 100% !important;
    flex-basis: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    order: 1;
}

.verger-section1__text-wrapper {
    /* height: 100%; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.verger-section1__title-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.verger-section1__title {
    font-size: 1.6rem;
    line-height: 1.3;
    margin: 0;
    position: relative;
    z-index: 2;
}

.verger-section1__title::before {
    content: '';
    position: absolute; 
    top: 0;
    left: 0;
    width: 35%;
    height: 100%;
    background: #cce3af;
    clip-path: polygon(0 0, 100% 20px, 100% 100%, 0 100%);
    z-index: -1;  
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.verger-section1__text-container {
    position: relative;
}

.verger-section1__description {
    font-size: 0.8rem;
    line-height: 1.7;
    margin: 0;
    text-align: justify;
}

   .verger-section1__text_container::before {
    content: "";
    width: 0;
}

/* Images décoratives du titre */
.verger-section1__deco-top,
.verger-section1__deco-bottom {
    position: absolute;
    z-index: 1;
    margin: 0;
}

.verger-section1__deco-top {
    top: -15px;
    left: -10px;
    width: 70px;
    height: auto;
}

.verger-section1__deco-bottom {
    bottom: -25px;
    left: -5px;
    width: 70px;
    height: auto;
}

.verger-section1__deco-top img,
.verger-section1__deco-bottom img {
    width: 100%;
    height: auto;
    display: block;
}

/* Colonne droite */
.verger-section1__col-right {
    width: 100% !important;
    flex-basis: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
}

.verger-section1__image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 500px;
}

.verger-section1__main-image {
    margin: 0;
    width: 100%;
    max-width: 300px;
    border: 0.5rem solid #cce3af;
}

.verger-section1__main-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Images décoratives des coins */
.verger-section1__corner-top-left,
.verger-section1__corner-bottom-right {
    position: absolute;
    z-index: 1;
    margin: 0;
}

.verger-section1__corner-top-left {
    top: -1px;
    left: -30px;
    width: 54px;
    height: auto;
    z-index: 3;
}

.verger-section1__corner-bottom-right {
    bottom: -7px;
    right: -8px;
    width: 59px;
    height: auto;
    z-index: 3;
}

.verger-section1__corner-top-left img,
.verger-section1__corner-bottom-right img {
    width: 100%;
    height: auto;
    display: block;
}

/* Mobile - 350px */
@media (min-width: 350px) {
    .verger-section1 {
       
    }
    
    .verger-section1__title {
        font-size: 1.75rem;
    }
    
    .verger-section1__deco-top {
       width: 79px;
       top: -22px;
       left: -18px;
    }
    
    .verger-section1__deco-bottom {
        width: 71px;
        bottom: -24px;
        left: -8px;
    }
    
    .verger-section1__corner-top-left {
       width: 64px;
       top: -1px;
       left: -34px;
    }
    
    .verger-section1__corner-bottom-right {
       width: 73px;
       bottom: -9px;
       right: -10px;
    }
}

/* Tablet - 768px */
@media (min-width: 768px) {
    .verger-section1 {
        width: 87%!important;
    }
    
    .verger-section1__title {
        font-size: 2rem;
    }

    .verger-section1__title::before {
        width: 35%;
        clip-path: polygon(0 0, 100% 35px, 100% 100%, 0 100%);
    }
    
    .verger-section1__description {    
        margin-top: 15px;
        font-size: 0.9rem;
    }
    
    .verger-section1__deco-top {
        width: 80px;
        top: -20px;
        left: -15px;
    }
    
    .verger-section1__deco-bottom {
        width: 80px;
        bottom: -27px;
        left: -8px;
    }
    
    .verger-section1__main-image {
        max-width: 350px;
    }
    
    .verger-section1__corner-top-left {
       width: 112px;
       top: 0px;
       left: 12px;
    }
    
    .verger-section1__corner-bottom-right {
        width: 117px;
        bottom: -18px;
        right: 57px;
    } 
}  

/* Desktop - 782px */
@media (min-width: 782px) {
    .verger-section1__row {
        gap: 4rem;     
        flex-wrap: wrap !important;    
    }
} 


/* Desktop - 1024px */
@media (min-width: 1024px) {
    .verger-section1 {
        margin: 20px 0 90px!important;
    } 
    
    .verger-section1__container {
        width: 84%!important
    }
    .verger-section1__row {
        gap: 4rem; 
        flex-wrap: nowrap !important;        
    }
         
    .verger-section1__col-left {
        width: 65% !important;
        flex-basis: 65% !important;
         order: 2;
    }

    .verger-section1__col-right {
        width: 35% !important;
        flex-basis: 35% !important;
         order: 1;
    }

    .verger-section1__title::before {
        width: 26%;       
    }
     
    .verger-section1__text-container::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 0;
    width: 30px;
    height: 100%;
    background-image: url('https://maisonprouane.com/wp-content/uploads/2025/07/maison-prouane-baton-vert.svg'); 
    background-size: 100% 100%; /* Étire l'image pour remplir exactement l'espace */
    background-repeat: no-repeat;
}
    
    .verger-section1__deco-top {
        width: 90px;
        top: -25px;
        left: -18px;
    }
    
    .verger-section1__deco-bottom {
        width: 90px;
        bottom: -33px;
        left: -10px;
    }
    
    .verger-section1__main-image {
        max-width: 400px;	   
    }
    
    .verger-section1__corner-top-left {
        width: 125px;
        top: -1px;
        left: -61px;
    }
    
    .verger-section1__corner-bottom-right {
        width: 135px;
        bottom: -19px;
        right: -10px;
    }
}

/* Large Desktop - 1200px */
@media (min-width: 1200px) {
    .verger-section1 {
        margin: 20px 0 0!important;
    } 
    
    .verger-section1__row {
        gap: 5rem;
    }

    .verger-section1__description {
        margin-top: 25px;
    }
    
    .verger-section1__title {
        font-size: 2.5rem;
    }
    
    .verger-section1__deco-top {
        width: 100px;
        top: -23px;
        left: -20px;
    }
    
    .verger-section1__deco-bottom {
        width: 90px;
        bottom: -30px;
        left: -12px;
    }
    
    .verger-section1__main-image {
        max-width: 450px;
    }
        
    .verger-section1__corner-top-left {
        width: 143px;
        top: -1px;
        left: -78px;
    }
    
    .verger-section1__corner-bottom-right {
       
    }
}

/* Extra Desktop - 1400px */
@media (min-width: 1400px) {
    .verger-section1 {
       
    }

    .verger-section1__container {
    width: 80%!important;
    }

    .verger-section1__main-image {
	   margin-left: -200px;
    }
        
    .verger-section1__row {
        gap: 6rem;
    }

    .verger-section1__deco-top {
      width: 150px;
      top: -39px;
      left: -33px;
    }
    
    .verger-section1__deco-bottom {
      width: 114px;
      bottom: -42px;
      left: -15px;
    }
    
    .verger-section1__main-image {
        max-width: 400px;
    }
    
    .verger-section1__corner-top-left {
       width: 150px;
       top: -1px;
       left: -82px;
    }
    
    .verger-section1__corner-bottom-right {
        width: 152px;
        bottom: -23px;
        right: -22px;
    }
}

/* Extra extra Desktop - 1600px */
@media (min-width: 1600px) {
    .verger-section1 {
        width: 80%;
        margin: 40px 0 0;
    }

   .verger-section1__main-image {
      margin-left: -275px;
   }  

       .verger-section1__title {
        font-size: 2.75rem;
    }
}

/* Extra extra extra Desktop - 1900px */
@media (min-width: 1900px) {
    .verger-section1__main-image {
        margin-left: -315px;
    }

    .verger-section1__text-wrapper {
	    padding: 0 180px 0 0;
}
}


/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
    .verger-section1__deco-top,
    .verger-section1__deco-bottom,
    .verger-section1__corner-top-left,
    .verger-section1__corner-bottom-right {
        animation: none;
        opacity: 1;
        transform: scale(1);
    }
}


/* Focus pour accessibilité */
.verger-section1 *:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}