/* Style normal du lien des tarifs */
a[href*="tarif"] {
    display: inline-block;
    position: relative;
    color: #ff6900; /* Couleur normale */
    transition: transform 0.25s ease, color 0.25s ease;
    cursor: pointer;
    text-decoration: none;
}

/* Gradient en arrière-plan au hover */
a[href*="tarif"]:hover {
    transform: scale(1.07);
    color: #ffffff !important; /* Texte blanc pour contraste */
}

/* Le gradient glisse sous le texte */
a[href*="tarif"]:hover::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;

    /* Gradient orange → orange foncé (modifiable) */
    background: linear-gradient(90deg, #ff6900, #ff9d3d);
    border-radius: 6px;
    transition: opacity 0.25s ease;
    opacity: 1;
}

/* Pour que le gradient n’apparaisse qu'au hover */
a[href*="tarif"]::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.25s ease;
}

/* BOÎTE DE CONFIRMATION WPForms — largeur complète + hauteur + position + texte gauche */
.wpforms-confirmation-container-full {
    background-color: #d85a0026 !important;  /* Fond translucide */
    border: 2px solid #ff6900 !important;    /* Bordure orange */

    width: 100% !important;                  
    min-height: 25vh !important;             /* Hauteur = 25% de l'écran */

    display: flex !important;
    align-items: center !important;          /* Centre verticalement le contenu */
    justify-content: flex-start !important;  /* Aligne le contenu à gauche */

    text-align: left !important;             /* Texte aligné à gauche */

    border-radius: 8px !important;
    margin: 40px auto 0 auto !important;     /* Boîte abaissée de 40px */
    padding: 20px !important;                /* Padding interne */
}

/* TEXTE DU MESSAGE */
.wpforms-confirmation-container-full p {
    color: #ff6900 !important;               /* Texte orange foncé */
    font-size: 20px;
    margin: 0;
}

/* ASSURE LE BON COMPORTEMENT DU CONTENEUR PARENT */
.wpforms-confirmation-scroll {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;      
    align-items: center !important;          
}