/*
====================================
verger SECTION 9
====================================
*/

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

.verger-section4__container {
    max-width: 100%;
    width: 74%;
    margin: 0 auto;
}

.verger-section4__row {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: stretch;
}

/* titre */

.verger-section4 .verger-section4__titlehight {
    text-align: center;
    font-size: 1.7rem;
}

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

.verger-section4__text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

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

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

.verger-section4__title::before {
    content: '';
    position: absolute;   
    top: 0;
    left: 0;
    width: 55%;
    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-section4__text-container {
    position: relative;
}

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

.verger-section4__wrapper::before {
    content: "";
    position: absolute;
    left: 0;
    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;
}

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

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

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

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


/* Mobile - 350px */
@media (min-width: 350px) {    
    .verger-section4__title {
        font-size: 1.75rem;
    }
    
    .verger-section4__deco-top {
       width: 79px;
       top: -22px;
       left: -18px;
    }
    
    .verger-section4__deco-bottom {
        width: 71px;
        bottom: -24px;
        left: -8px;
    }
}

/* Tablet - 768px */
@media (min-width: 768px) {
    .verger-section4 {
       margin: 40px 0;
    }

    .verger-section4__container {
       width: 77%;
    }

    .verger-section4__col{
        width: 65% !important;
        flex-basis: 65% !important;
    }

        .verger-section4__col-right {
        width: 35% !important;
        flex-basis: 35% !important;
    }
    
    .verger-section4__title {
        font-size: 2rem;
    }

    .verger-section4__title::before {
	width: 25%;
	clip-path: polygon(0 0, 100% 25px, 100% 100%, 0 100%);
}
    
    .verger-section4__description {
        font-size: 0.9rem;
        margin-top: 15px;
    }
    
    .verger-section4__deco-top {
        width: 80px;
        top: -20px;
        left: -15px;
    }
    
    .verger-section4__deco-bottom {
        width: 80px;
        bottom: -27px;
        left: -8px;
    }

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

/* Desktop - 1024px */
@media (min-width: 1024px) {
    .verger-section4 {
        margin: 0 0 40px;  
    }

    .verger-section4__container {  
        width: 67%;
    }
    
    .verger-section4__row {
        gap: 4rem;
        flex-wrap: nowrap !important;   
    }

    .verger-section4 .verger-section4__titlehight {
    font-size: 2.5rem;
    }
        
    .verger-section4__deco-top {
        width: 90px;
        top: -25px;
        left: -18px;
    }
    
    .verger-section4__deco-bottom {
        width: 90px;
        bottom: -33px;
        left: -10px;
    }

    .verger-section4__title::before {
	width: 21%;
	clip-path: polygon(0 0, 100% 35px, 100% 100%, 0 100%);
}
}

/* Large Desktop - 1200px */
@media (min-width: 1200px) {
    .verger-section4 {
          margin: 0 0 60px;   
    }
    
    .verger-section4__row {
        gap: 5rem;
          }

  .verger-section4 .verger-section4__titlehight {
    font-size: 2.7rem;
}
    .verger-section4__description {
        margin-top: 25px;
    }
    
    .verger-section4__title {
        font-size: 2.5rem;
    }
    
    .verger-section4__deco-top {
        width: 100px;
        top: -23px;
        left: -20px;
    }
    
    .verger-section4__deco-bottom {
        width: 90px;
        bottom: -30px;
        left: -12px;
    }

        .verger-section2__text-container {
	margin-top: 45px;
}   

}

/* Extra Desktop - 1400px */
@media (min-width: 1400px) {
    .verger-section4 {
    margin: 0 0 85px;   
    }
    
    .verger-section4__row {
        gap: 6rem;
    }

    .verger-section4 .verger-section4__titlehight {
    font-size: 2.9rem;
    }
       
    .verger-section4__deco-top {
      width: 150px;
      top: -39px;
      left: -33px;
    }
    
    .verger-section4__deco-bottom {
      width: 114px;
      bottom: -42px;
      left: -15px;
    }
}

/* Extra extra Desktop - 1600px */
@media (min-width: 1600px) {
  .verger-section4 {   
    margin: 0 0 100px;   
  }

    .verger-section4__container {
         width: 60%;
    }

      .verger-section4 .verger-section4__titlehight {
    margin: 0 0 30px;
}

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

/* Extra extra Desktop - 1900px */
@media (min-width: 1900px) {
   
}


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

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