/* =================================================================
   Kensho Strategy - Styles personnalisés
   ================================================================= */

:root {
    --cnvs-themecolor: #d4ba85;
    --cnvs-themecolor-rgb: 212, 186, 133;
}

/* Règle Canvas manquante : transparent-header + include-header */
@media not all and (max-width: 768px) {
    #header.transparent-header+.include-header {
        padding-top: 30px !important;
    }
}


/* Autres styles personnalisés */
.testimonials-rating {
    color: #FFD700;
    font-size: 18px;
    line-height: 1;
}

.hero-section {
    background-color: #fafafa;
    position: relative;
}

.feature-section {
    padding: 100px 0;
}

.testimonial-section {
    background-color: #f8f9fa;
    padding: 100px 0;
}

.contact-section {
    padding: 100px 0;
}

.deduction-highlight {
    background: linear-gradient(135deg, var(--cnvs-themecolor) 0%, #c9a961 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(212, 186, 133, 0.3);
}

.feature-highlight {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--cnvs-themecolor);
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--cnvs-themecolor);
}

.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.bg-gradient-green {
    background: linear-gradient(135deg, var(--cnvs-themecolor) 0%, #c9a961 100%);
}

.text-gradient {
    background: linear-gradient(135deg, var(--cnvs-themecolor), #c9a961);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Section spacing */
.section-padding {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* =================================================================
   Corrections Header Mobile
   ================================================================= */

/* Logo responsive : limite la largeur sur mobile */
@media (max-width: 991px) {
    #logo img {
        max-height: 28px !important;
        max-width: 200px !important;
        width: auto !important;
        height: auto !important;
    }
}

@media (max-width: 576px) {
    #logo img {
        max-height: 24px !important;
        max-width: 160px !important;
    }
}

/* Amélioration de l'espacement du header sur mobile */
@media (max-width: 991px) {
    .header-row {
        padding: 10px 0 !important;
    }

    .primary-menu-trigger {
        margin-left: auto !important;
    }
}

/* Fond du menu mobile plus clair pour meilleure lisibilité */
@media (max-width: 991px) {
    .is-expanded-menu .primary-menu {
        background-color: #ffffff !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
    }
}

/* Padding pour les éléments de menu mobile */
.is-expanded-menu .menu-item .menu-link {
    padding: 12px 20px !important;
    border-radius: 5px !important;
    margin: 2px 10px !important;
    transition: all 0.3s ease !important;
}

/* =================================================================
   Corrections Boutons CTA Mobile
   ================================================================= */

/* Responsive pour les boutons CTA dans la section hero */
@media (max-width: 768px) {
    .hero-section .button.button-large {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 0 15px 0 !important;
        padding: 15px 20px !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
        white-space: normal !important;
    }

    .hero-section .button.button-large.ms-2 {
        margin-left: 0 !important;
        margin-top: 10px !important;
    }
}

@media (max-width: 576px) {
    .hero-section .button.button-large {
        font-size: 13px !important;
        padding: 12px 15px !important;
        margin-bottom: 12px !important;
    }
}

/* Boutons plus compacts sur tablette */
@media (min-width: 769px) and (max-width: 991px) {
    .hero-section .button.button-large {
        font-size: 14px !important;
        padding: 12px 25px !important;
    }
}

/* =================================================================
   Corrections Tous les Boutons Mobile
   ================================================================= */

/* Responsive pour TOUS les boutons principaux du site */
@media (max-width: 768px) {

    .btn.btn-lg,
    .btn.btn-light.btn-lg,
    .button.button-large:not(.hero-section .button) {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin: 10px 0 !important;
        padding: 15px 20px !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
        white-space: normal !important;
        box-sizing: border-box !important;
    }

    /* Boutons dans les sections avec fond coloré */
    .text-center .btn.btn-lg,
    .text-center .btn.btn-light.btn-lg {
        margin: 15px auto !important;
        max-width: 100% !important;
    }

    /* Boutons de formulaire */
    .form-widget .btn.btn-lg {
        margin: 20px 0 10px 0 !important;
        width: 100% !important;
    }
}

@media (max-width: 576px) {

    .btn.btn-lg,
    .btn.btn-light.btn-lg,
    .button.button-large:not(.hero-section .button) {
        font-size: 13px !important;
        padding: 12px 15px !important;
        margin: 8px 0 !important;
    }

    /* Texte plus petit pour les longs intitulés */
    .btn.btn-lg[class*="rounded-pill"],
    .btn.btn-light.btn-lg[class*="rounded-pill"] {
        font-size: 12px !important;
        padding: 10px 15px !important;
        line-height: 1.3 !important;
    }
}

/* Boutons sur tablette - taille intermédiaire */
@media (min-width: 769px) and (max-width: 991px) {

    .btn.btn-lg,
    .btn.btn-light.btn-lg {
        font-size: 14px !important;
        padding: 12px 25px !important;
    }
}