/* ==========================================================================
   BOUTON DECO - Composition WordPress FSE - CLIP-PATH PARALLÉLOGRAMME
   ========================================================================== */

/* Container principal */
.bouton-deco-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 120px;
    padding: 2rem 1rem;
}

/* Wrapper avec position relative pour les éléments absolus */
.bouton-deco-wrapper {
    position: relative !important;
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    padding: 20px 40px;
    margin: 0 auto;
}

/* Conteneur des boutons */
.bouton-deco-buttons {
    position: relative;
    z-index: 2;
    margin: 0;
}

/* Bouton principal */
.bouton-deco-btn {
    margin: 0;
}

/* BOUTON PRINCIPAL - BORDURE SUPÉRIEURE INCLINÉE DROITE VERS GAUCHE */
.bouton-deco-btn .wp-block-button__link {
    position: relative;
    background-color: #ad2241 !important;
    color: #ffffff !important;
    border: none;
    border-radius: 0 !important;
    padding: 1rem 2rem !important;
    font-weight: 300;
    letter-spacing: 0.05em;
    font-size: 1rem;
    min-width: 160px;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    
    /* SEULEMENT le haut incliné - droite vers gauche */
    clip-path: polygon(0 0%, 100% 20px, 100% 100%, 0% 100%);
}

/* Bouton transformation-hero */
.btn-transfo-hero.bouton-deco-btn .wp-block-button__link {
	background-color: #f9a736 !important;
	color: #171717 !important;
	padding: 1.2rem 0.1rem 0.4rem!important;
    line-height: 1.2;
}

/* Bouton accueil-section4 nouveauté */
 .accueil-nouveaute-container-btn {
    display:flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
 }

 .bouton-deco-container.accueil-nouveaute-btn {
   width: 90%;
}

.btn-nouveaute.bouton-deco-btn .wp-block-button__link {
	padding: 1.2rem 0.2rem 0.4rem!important;
    line-height: 1.2;
}

/* Bouton verger bas */
.bouton-deco-container.bt-verger {
	padding: 1rem 0rem;
}

.bouton-deco-container.bt-verger .bouton-deco-btn .wp-block-button__link {
	line-height: 1.3;
}

.bouton-deco-container.bt-verger .bouton-deco-btn .wp-block-button__link  {
	padding: 1rem 1.3rem 0.4rem !important;
}


/* Bouton page trouver section 4 */
.trouver-section4-btn.bouton-deco-btn .wp-block-button__link {
	background-color: #f9a836d9!important;
} 


/* HOVER EFFECT */
.bouton-deco-btn .wp-block-button__link:hover {
    background-color: #91132e !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
    clip-path: polygon(0 0%, 100% 20px, 100% 100%, 0% 100%);
}

/* Bouton transformation-hero */
.transfo-container .bouton-deco-btn .wp-block-button__link:hover {
    background-color: #f9a836d9  !important;
}

/* Bouton transformation-hero */
.trouver-section4-btn.bouton-deco-btn .wp-block-button__link:hover {
    background-color: #e4982ed9  !important;
}

/* Bouton section 4 accueil nouveauté*/
/* .btn-nouveaute.bouton-deco-btn .wp-block-button__link:hover {
    color: #1b1b1b  !important;
    background-color: #f3c27ed9  !important;    
} */

/* Coins décoratifs - Positionnement de base */
.bouton-deco-corner {
    position: absolute !important;
    z-index: 1;
    margin: 0 !important;
    pointer-events: none;
}

/* Positions des coins */
.bouton-deco-corner--top-left {
    top: -8px;
    left: -8px;
}

.bouton-deco-corner--top-right {
    top: -8px;
    right: -8px;
}

.bouton-deco-corner--bottom-left {
    bottom: -8px;
    left: -8px;
}

.bouton-deco-corner--bottom-right {
    bottom: -8px;
    right: -8px;
}

.bouton-deco-corner--top-left img {
    width: 16px;
    height: auto;
    transition: transform 0.3s ease;
    display: block;
}

.bouton-deco-corner--top-right img {
    width: 16px;
    height: auto;
    transition: transform 0.3s ease;
    display: block;
}

.bouton-deco-corner--bottom-left img {
      width: 16px;
    height: auto;
    transition: transform 0.3s ease;
    display: block;
}

.bouton-deco-corner--bottom-right img {
    width: 16px;
    height: auto;
    transition: transform 0.3s ease;
    display: block;
}

/* Animation des coins au hover du bouton */
.bouton-deco-wrapper:hover .bouton-deco-corner img {
    /* transform: rotate(180deg) scale(1.1); */
     transform: translateY(-2px);
}


/* ==========================================================================
   RESPONSIVE DESIGN - Mobile First
   ========================================================================== */

/* Little Mobile - Base (0px) */
.bouton-deco-container {
    padding: 1rem 0.5rem;
    min-height: 100px;
    margin: 0;
}

.bouton-deco-wrapper {
    padding: 15px 20px;
}

.bouton-deco-btn .wp-block-button__link {
    padding: 0.6rem 1.3rem 0.4rem !important;
    font-size: 1.2rem !important;
    min-width: 140px;
    /* Bordure supérieure inclinée droite vers gauche sur mobile */
    clip-path: polygon(0 0%, 100% 15px, 100% 100%, 0% 100%);
}

.bouton-deco-btn .wp-block-button__link:hover {
    clip-path: polygon(0 0%, 100% 15px, 100% 100%, 0% 100%);
}

.bouton-deco-corner--top-left img {
    width: 35px;
    height: auto;
}

.bouton-deco-corner--top-right img {
    width: 35px;
    height: auto;
}

.bouton-deco-corner--bottom-left img {
    width: 35px;
    height: auto;
}

.bouton-deco-corner--bottom-right img {
    width: 22px;
    height: auto;
}

.bouton-deco-corner--top-left,
.bouton-deco-corner--top-right {
    top: -6px;
}

.bouton-deco-corner--bottom-left,
.bouton-deco-corner--bottom-right {
    bottom: -6px;
}

.bouton-deco-corner--top-left,
.bouton-deco-corner--bottom-left {
    left: -6px;
}

.bouton-deco-corner--top-right,
.bouton-deco-corner--bottom-right {
    right: -6px;
}

/* Bouton transformation-hero */
.transfo-container {
	padding: 1rem 1.3rem;
}

.transfo-container .bouton-deco-corner--top-left img {
    width: 25px;
    height: auto;
}

.transfo-container  .bouton-deco-corner--top-right img {
    width: 25px;
    height: auto;
}

.transfo-container  .bouton-deco-corner--bottom-left img {
    width: 25px;
    height: auto;
}

.transfo-container  .bouton-deco-corner--bottom-right img {
    width: 22px;
    height: auto;
}

.transfo-container .bouton-deco-corner--top-left,
.transfo-container .bouton-deco-corner--top-right {
    top: 2px;
}

.transfo-container .bouton-deco-corner--bottom-left,
.transfo-container .bouton-deco-corner--bottom-right {
    bottom: -10px;
}

.transfo-container .bouton-deco-corner--top-left,
.transfo-container .bouton-deco-corner--bottom-left {
    left: 0;
}

.transfo-container .bouton-deco-corner--top-right,
.transfo-container .bouton-deco-corner--bottom-right {
    right: 0;
}

/* Mobile - 350px */
@media (min-width: 350px) {
    .bouton-deco-btn .wp-block-button__link {
      padding: 1rem 1.3rem 0.4rem !important;
      font-size: 1.3rem !important;
      line-height: 1.2;
      min-width: 150px;
      clip-path: polygon(0 0%, 100% 16px, 100% 100%, 0% 100%);
    }
    
    .bouton-deco-btn .wp-block-button__link:hover {
        clip-path: polygon(0 0%, 100% 16px, 100% 100%, 0% 100%);
    }

   .bouton-deco-corner--top-left img {
    width: 43px;
     height: auto;
}

.bouton-deco-corner--top-right img {
   width: 43px;
   height: auto;
}

.bouton-deco-corner--bottom-left img {
    width: 43px;
        height: auto;
}

.bouton-deco-corner--bottom-right img {
    width: 29px;
    height: auto;
}
    
    .bouton-deco-corner--top-left {
        top: -7px;
    }

    .bouton-deco-corner--top-right {
        top: -9px;
        right: -15px;
    }
    
    .bouton-deco-corner--bottom-left {
        bottom: -7px;
        left: -14px;
    }

   .bouton-deco-corner--bottom-right {
       bottom: -19px;
       right: -6px;
    }     
    .btn-transfo-hero.bouton-deco-btn .wp-block-button__link {
	  padding: 1.6rem 1rem 0.9rem !important;
     line-height: 1;
}
}

/* Tablet - 768px */
@media (min-width: 768px) {
    .bouton-deco-container {
        padding: 2rem 6rem;
        min-height: 120px;
    }
    
    .bouton-deco-wrapper {
        padding: 20px 40px;
    }
    
    .bouton-deco-btn .wp-block-button__link {
        padding: 1.4rem 2rem 0.8rem !important;
        font-size: 1.5rem !important;
        min-width: 160px;
        clip-path: polygon(0 0%, 100% 20px, 100% 100%, 0% 100%);
    }
    
    .bouton-deco-btn .wp-block-button__link:hover {
        clip-path: polygon(0 0%, 100% 20px, 100% 100%, 0% 100%);
    }
    
    .bouton-deco-corner--top-left img {
     width: 50px;
        height: auto;
    }

    .bouton-deco-corner--top-right img {
        width: 50px;
            height: auto;
    }

    .bouton-deco-corner--bottom-left img {
        width: 50px;
            height: auto;
    }

    .bouton-deco-corner--bottom-right img {
            width: 41px;
            height: auto;
    }
    .bouton-deco-corner--top-left {
       top: -7px;
       left: -2px;
    }

    .bouton-deco-corner--top-right {
        top: -3px;
        right: -5px;
    }
    
    .bouton-deco-corner--bottom-left {
        bottom: -17px;
        left: -7px;
    }

   .bouton-deco-corner--bottom-right {
        bottom: -32px;
        right: -2px;
    }

    /* Bouton transformation-hero */
        .transfo-container {
        padding: 3rem 6rem;
    }
    .btn-transfo-hero.bouton-deco-btn .wp-block-button__link {
	padding: 1.6rem 0.5rem 0.9rem !important;
    }

    .transfo-container .bouton-deco-corner--top-left img {
        width: 50px;
        height: auto;
    }

    .transfo-container .bouton-deco-corner--top-right img {
        width: 50px;
        height: auto;
    }

    .transfo-container .bouton-deco-corner--bottom-left img {
        width: 50px;
        height: auto;
    }

    .transfo-container .bouton-deco-corner--bottom-right img {
        width: 41px;
        height: auto;
    }

    .transfo-container .bouton-deco-corner--top-left {
       top: -7px;
       left: -2px;
    }

    .transfo-container .bouton-deco-corner--top-right {
        top: -3px;
        right: -5px;
    }
    
    .transfo-container .bouton-deco-corner--bottom-left {
        bottom: -17px;
        left: -7px;
    }

    .transfo-container .bouton-deco-corner--bottom-right {
        bottom: -32px;
        right: -2px;
    }


   /* Bouton accueil section4 nouveauté */
    .bouton-deco-container.accueil-nouveaute-btn {
        width: 80%;
    } 

     /* Bouton accueil section7 ferme */
    .bouton-deco-container.accueil-vieferme-btn {
        padding: 2rem 0rem;
    } 

    .bouton-deco-container.accueil-vieferme-btn .bouton-deco-wrapper {
	padding: 10px 30px;
} 
  /* Bouton page trouver section3 */
    .bouton-deco-container.trouver-btn {
        padding: 2rem 1rem;
    } 


/* Bouton verger bas */
.bouton-deco-container.bt-verger {
	padding: 1rem 5rem;
}

.bouton-deco-container.bt-verger .bouton-deco-btn .wp-block-button__link {
	padding: 1.2rem 1.5rem 0.8rem !important;
}

.bouton-deco-container.bt-verger a {
	 line-height: 1.2;
}
}

/* Desktop - 1024px */
@media (min-width: 1024px) {
    .bouton-deco-btn .wp-block-button__link {
        min-width: 180px;
        clip-path: polygon(0 0%, 100% 22px, 100% 100%, 0% 100%);
    }
    
    .bouton-deco-btn .wp-block-button__link:hover {
        clip-path: polygon(0 0%, 100% 22px, 100% 100%, 0% 100%);
    }
    
    .bouton-deco-corner img {
        width: 68px;
        height: auto;
    }

        .bouton-deco-corner--top-left img {
     width: 60px;
        height: auto;
}

.bouton-deco-corner--top-right img {
       width: 58px;
        height: auto;
}

.bouton-deco-corner--bottom-left img {
   width: 60px;
        height: auto;
}

.bouton-deco-corner--bottom-right img {
  width: 33px;
        height: auto;
}
    
    .bouton-deco-corner--top-left {
       top: -7px;
       left: -2px;
    }

    .bouton-deco-corner--top-right {
        top: -3px;
        right: -5px;
    }
    
    .bouton-deco-corner--bottom-left {
        bottom: -17px;
        left: -7px;
    }

   .bouton-deco-corner--bottom-right {
        bottom: -23px;
        right: 6px;
    }

    /* Bouton transformation-hero */
    .transfo-container {
	    padding: 3rem 1rem;
    }

       /* Bouton accueil section4 nouveauté */
    .bouton-deco-container.accueil-nouveaute-btn {
        width: 60%;
    } 
    .bouton-deco-container.accueil-vieferme-btn {
	padding: 2rem 0.2rem;
}

   /* Bouton accueil section7 ferme */
       .bouton-deco-container.accueil-vieferme-btn .bouton-deco-wrapper {
	padding: 20px 30px;
}

    .accueil-vieferme-btn .bouton-deco-corner--bottom-left img {
	width: 43px;
	height: auto;
}

    .accueil-vieferme-btn .bouton-deco-corner--top-right img {
	width: 43px;
	height: auto;
}
  

}

/* Large Desktop - 1200px */
@media (min-width: 1200px) {
    .bouton-deco-btn .wp-block-button__link {      
        min-width: 200px;
        clip-path: polygon(0 0%, 100% 25px, 100% 100%, 0% 100%);
    }
    
    .bouton-deco-btn .wp-block-button__link:hover {
        clip-path: polygon(0 0%, 100% 25px, 100% 100%, 0% 100%);
    }
    
   .bouton-deco-corner--top-left img {
     width: 70px;
        height: auto;
}

.bouton-deco-corner--top-right img {
         width: 70px;
        height: auto;
}

.bouton-deco-corner--bottom-left img {
   width: 60px;
        height: auto;
}

.bouton-deco-corner--bottom-right img {
   width: 46px;
        height: auto;
}
    .bouton-deco-corner--top-left {
       top: -7px;
       left: -2px;
    }

    .bouton-deco-corner--top-right {
        top: -3px;
        right: -5px;
    }
    
    .bouton-deco-corner--bottom-left {
        bottom: -17px;
        left: -7px;
    }

   .bouton-deco-corner--bottom-right {
        bottom: -32px;
        right: -2px;
    }

    /* Bouton transformation-hero */
    .btn-transfo-hero.bouton-deco-btn .wp-block-button__link {
	   padding: 1.7rem 1.4rem 0.9rem !important;
    }
    
   .transfo-container .bouton-deco-corner--top-left img {
     width: 70px;
        height: auto;
    }

    .transfo-container .bouton-deco-corner--top-right img {
            width: 70px;
            height: auto;
    }

    .transfo-container .bouton-deco-corner--bottom-left img {
    width: 60px;
            height: auto;
    }

    .transfo-container .bouton-deco-corner--bottom-right img {
    width: 46px;
            height: auto;
    }
    .transfo-container .bouton-deco-corner--top-left {
       top: -7px;
       left: -2px;
    }

    .transfo-container .bouton-deco-corner--top-right {
        top: -3px;
        right: -5px;
    }
    
    .transfo-container .bouton-deco-corner--bottom-left {
        bottom: -17px;
        left: -7px;
    }

    .transfo-container .bouton-deco-corner--bottom-right {
        bottom: -32px;
        right: -2px;
    }

       /* Bouton accueil section4 nouveauté */
    .bouton-deco-container.accueil-nouveaute-btn {
        width: 50%;
    } 

     /* Bouton page trouver section3*/
    .bouton-deco-container.trouver-btn {
	padding: 2rem 0rem;
    }

 /* Bouton accueil section4 nouveauté */
    .btn-nouveaute.bouton-deco-btn .wp-block-button__link {
      padding: 1.6rem 2.75rem 0.8rem !important;
      line-height: 1.2;
    }

     /* Bouton accueil section7 */
     .bouton-deco-btn .wp-block-button__link {
        padding: 1.5rem 2rem 0.8rem !important;
    }
}

/* Extra Desktop - 1400px */
@media (min-width: 1400px) {
    .bouton-deco-btn .wp-block-button__link {
        padding: 1.6rem 2.75rem 0.8rem !important;
        font-size: 1.9rem !important;
        min-width: 220px;
        clip-path: polygon(0 0%, 100% 28px, 100% 100%, 0% 100%);
    }
    
    .bouton-deco-btn .wp-block-button__link:hover {
        clip-path: polygon(0 0%, 100% 28px, 100% 100%, 0% 100%);
    }
    
    .bouton-deco-corner img {
        width: 65px;
        height: auto;
    }

       .bouton-deco-corner--top-left img {
    width: 65px;
        height: auto;
}

.bouton-deco-corner--top-right img {
        width: 65px;
        height: auto;
}

.bouton-deco-corner--bottom-left img {
   width: 65px;
        height: auto;
}

.bouton-deco-corner--bottom-right img {
    width: 50px;
        height: auto;
}

    
    .bouton-deco-corner--top-left,
    .bouton-deco-corner--top-right {
        top: -11px;
    }
    
    .bouton-deco-corner--bottom-left {
        bottom: -26px;
    }

    .bouton-deco-corner--bottom-right {
        bottom: -41px;
    }
    
    .bouton-deco-corner--top-left,
    .bouton-deco-corner--bottom-left {
        left: -11px;
    }
    
    .bouton-deco-corner--top-right,
    .bouton-deco-corner--bottom-right {
        right: -11px;
    }

/* Bouton transformation-hero */
    .transfo-container {
	padding: 2rem 3.5rem;
	min-height: 120px;
}

   /* Bouton accueil section4 nouveauté */
    .bouton-deco-container.accueil-nouveaute-btn {
        width: 53%;
    }   
}

/* Extra Desktop - 1600px */
@media (min-width: 1600px) {

    /* Bouton transformation-hero */
    .transfo-container {
	padding: 4rem 6rem 2rem;
}

    /* Bouton accueil-section4 nouveaute */
    .accueil-nouveaute-btn {
	padding: 4rem 2rem 2rem;
}

   /* Bouton accueil section4 nouveauté */
    .bouton-deco-container.accueil-nouveaute-btn {
        width: 38%;
    } 
}

/* Extra x Desktop - 1900px */
@media (min-width: 1900px) {
   /* Bouton accueil section4 nouveauté */
    .bouton-deco-container.accueil-nouveaute-btn {
        width: 33%;
    } 
}




/* ==========================================================================
   ACCESSIBILITÉ
   ========================================================================== */

/* Focus visible pour l'accessibilité */
.bouton-deco-btn .wp-block-button__link:focus {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
}

/* Réduction des mouvements pour les utilisateurs sensibles */
@media (prefers-reduced-motion: reduce) {
    .bouton-deco-btn .wp-block-button__link,
    .bouton-deco-corner img {
        transition: none !important;
    }
    
    .bouton-deco-wrapper:hover .bouton-deco-corner img {
        transform: none !important;
    }
    
    .bouton-deco-btn .wp-block-button__link:hover {
        transform: none !important;
    }
}

/* Contraste élevé */
@media (prefers-contrast: high) {
    .bouton-deco-btn .wp-block-button__link {
        border: 2px solid #000 !important;
        box-shadow: none !important;
    }
}

/* Mode sombre */
@media (prefers-color-scheme: dark) {
    .bouton-deco-btn .wp-block-button__link {
        box-shadow: 0 4px 15px rgba(220, 38, 38, 0.5);
    }
    
    .bouton-deco-btn .wp-block-button__link:hover {
        box-shadow: 0 8px 25px rgba(220, 38, 38, 0.6);
    }
}

/* Fallback pour les navigateurs qui ne supportent pas clip-path */
@supports not (clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%)) {
    .bouton-deco-btn .wp-block-button__link {
        transform: skewX(-15deg);
        clip-path: none;
    }
    
    .bouton-deco-btn .wp-block-button__link:hover {
        transform: skewX(-15deg) translateY(-2px);
    }
}