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

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

.verger-section9__container {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;    
    width: 74%!important;
}

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

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

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

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

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

.verger-section9__title::before {
    content: '';
    position: absolute;
    /* top: 0; 
    left: 0;
    right: 0;
    bottom: 0; */
    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-section9__text-container {
    position: relative;
}
/* 
.verger-section9__text-container::before {
	content: "";
	position: absolute;
	left: -18px;
	top: 0;
	width: 30px;
	height: 100%;
	background-image: url('https://maisonprouane.com/wp-content/uploads/2025/07/maison-prouane-baton-vert.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: left center;
    display: none;
} */

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

/* Alternative si vous voulez que l'image s'étire sur toute la hauteur */
.verger-section9__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-section9__deco-top,
.verger-section9__deco-bottom {
    position: absolute;
    z-index: 1;
    margin: 0;
}

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

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

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


/* Mobile - 350px */
@media (min-width: 350px) {
    .verger-section9 {
       width: 68%!important;;
    }
    
    .verger-section9__title {
        font-size: 1.75rem;
    }
    
    .verger-section9__deco-top {
       width: 79px;
       top: -22px;
       left: -18px;
    }
    
    .verger-section9__deco-bottom {
        width: 71px;
        bottom: -24px;
        left: -8px;
    }
}

/* Tablet - 768px */
@media (min-width: 768px) {
    .verger-section9 {
        margin: 50px 0; 
        width: 77%!important;;
    }
    
    .verger-section9__row {
        gap: 3rem;
    }
    
    .verger-section9__col{
        width: 100% !important;
        flex-basis: 100% !important;
    }
  
    .verger-section9__title {
        font-size: 2rem;
    }
    
    .verger-section9__description {
        margin-top: 15px;
          font-size: 0.9rem;
    }
    
    .verger-section9__deco-top {
        width: 80px;
        top: -20px;
        left: -15px;
    }
    
    .verger-section9__deco-bottom {
        width: 80px;
        bottom: -27px;
        left: -8px;
    }

    .verger-section9__title::before {
	width: 25%;
	clip-path: polygon(0 0, 100% 25px, 100% 100%, 0 100%);

}
}

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

/* Desktop - 1024px */
@media (min-width: 1024px) {
    .verger-section9 {
       width: 75%!important;;
       margin: 50px 0 ;
    }
    
    .verger-section9__row {
        gap: 4rem;
        flex-wrap: nowrap;
    }

    .verger-section9__text-container::before {
    display: block;
    }
    
    .verger-section9__deco-top {
        width: 90px;
        top: -25px;
        left: -18px;
    }
    
    .verger-section9__deco-bottom {
        width: 90px;
        bottom: -33px;
        left: -10px;
    }
}

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

    .verger-section9__description {
        margin-top: 25px;
    }
    
    .verger-section9__title {
        font-size: 2.5rem;
    }
    
    .verger-section9__deco-top {
        width: 100px;
        top: -23px;
        left: -20px;
    }
    
    .verger-section9__deco-bottom {
        width: 90px;
        bottom: -30px;
        left: -12px;
    }
}

/* Extra Desktop - 1400px */
@media (min-width: 1400px) {
    .verger-section9 {
       margin: 100px 0 ;
    }
    
    .verger-section9__row {
        gap: 6rem;
    }
       
    .verger-section9__deco-top {
      width: 150px;
      top: -39px;
      left: -33px;
    }
    
    .verger-section9__deco-bottom {
      width: 114px;
      bottom: -42px;
      left: -15px;
    }
}

/* Extra extra Desktop - 1600px */
@media (min-width: 1600px) {
.verger-section9 {
	width: 60%!important;;
	margin: 120px 0;
}
    
    .verger-section9__title {
        font-size: 2.75rem;
    }
}



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


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