/* ============================================
   SURCHARGES POUR DIVI - FORCE MAXIMALE
   Version avec spécificité CSS ABSOLUE
   ============================================ */

/* SPÉCIFICITÉ MAXIMALE - Tous les contextes possibles */
html body.et_divi_theme .swiper-slide.hero-section .hero-cta .btn,
html body.et_divi_builder .swiper-slide.hero-section .hero-cta .btn,
html body .swiper-slide.hero-section .hero-cta .btn,
html .swiper-slide.hero-section .hero-cta .btn,
html body.et_divi_theme .swiper-slide.hero-section .hero-cta a.btn,
html body.et_divi_builder .swiper-slide.hero-section .hero-cta a.btn,
html body .swiper-slide.hero-section .hero-cta a.btn,
html .swiper-slide.hero-section .hero-cta a.btn {
    /* Reset COMPLET */
    all: unset !important;
    
    /* Styles de base FORCÉS */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 1rem 2rem !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    cursor: pointer !important;
    transition: all 300ms ease !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

/* BTN PRIMARY - VERT UNI - SPÉCIFICITÉ ABSOLUE */
html body.et_divi_theme .swiper-slide.hero-section .hero-cta .btn.btn-primary,
html body.et_divi_builder .swiper-slide.hero-section .hero-cta .btn.btn-primary,
html body .swiper-slide.hero-section .hero-cta .btn.btn-primary,
html .swiper-slide.hero-section .hero-cta .btn.btn-primary,
html body.et_divi_theme .swiper-slide.hero-section .hero-cta a.btn.btn-primary,
html body.et_divi_builder .swiper-slide.hero-section .hero-cta a.btn.btn-primary,
html body .swiper-slide.hero-section .hero-cta a.btn.btn-primary,
html .swiper-slide.hero-section .hero-cta a.btn.btn-primary,
html body.et_divi_theme .swiper-slide.hero-section a.btn-primary,
html body.et_divi_builder .swiper-slide.hero-section a.btn-primary,
html body .swiper-slide.hero-section a.btn-primary,
html .swiper-slide.hero-section a.btn-primary {
    background: #00D9A3 !important;
    background-color: #00D9A3 !important;
    background-image: none !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
    border: none !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    padding: 1rem 2rem !important;
    border-radius: 12px !important;
}

html body.et_divi_theme .swiper-slide.hero-section .hero-cta .btn.btn-primary:hover,
html body.et_divi_builder .swiper-slide.hero-section .hero-cta .btn.btn-primary:hover,
html body .swiper-slide.hero-section .hero-cta .btn.btn-primary:hover,
html .swiper-slide.hero-section .hero-cta .btn.btn-primary:hover,
html body.et_divi_theme .swiper-slide.hero-section .hero-cta a.btn.btn-primary:hover,
html body.et_divi_builder .swiper-slide.hero-section .hero-cta a.btn.btn-primary:hover,
html body .swiper-slide.hero-section .hero-cta a.btn.btn-primary:hover,
html .swiper-slide.hero-section .hero-cta a.btn.btn-primary:hover {
    background: #00F5B8 !important;
    background-color: #00F5B8 !important;
    background-image: none !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 217, 163, 0.3) !important;
}

/* BTN SECONDARY - TRANSPARENT - SPÉCIFICITÉ ABSOLUE */
html body.et_divi_theme .swiper-slide.hero-section .hero-cta .btn.btn-secondary,
html body.et_divi_builder .swiper-slide.hero-section .hero-cta .btn.btn-secondary,
html body .swiper-slide.hero-section .hero-cta .btn.btn-secondary,
html .swiper-slide.hero-section .hero-cta .btn.btn-secondary,
html body.et_divi_theme .swiper-slide.hero-section .hero-cta a.btn.btn-secondary,
html body.et_divi_builder .swiper-slide.hero-section .hero-cta a.btn.btn-secondary,
html body .swiper-slide.hero-section .hero-cta a.btn.btn-secondary,
html .swiper-slide.hero-section .hero-cta a.btn.btn-secondary,
html body.et_divi_theme .swiper-slide.hero-section a.btn-secondary,
html body.et_divi_builder .swiper-slide.hero-section a.btn-secondary,
html body .swiper-slide.hero-section a.btn-secondary,
html .swiper-slide.hero-section a.btn-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    background-image: none !important;
    color: #FFFFFF !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-width: 2px !important;
    border-style: solid !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: none !important;
    padding: 1rem 2rem !important;
    border-radius: 12px !important;
}

html body.et_divi_theme .swiper-slide.hero-section .hero-cta .btn.btn-secondary:hover,
html body.et_divi_builder .swiper-slide.hero-section .hero-cta .btn.btn-secondary:hover,
html body .swiper-slide.hero-section .hero-cta .btn.btn-secondary:hover,
html .swiper-slide.hero-section .hero-cta .btn.btn-secondary:hover,
html body.et_divi_theme .swiper-slide.hero-section .hero-cta a.btn.btn-secondary:hover,
html body.et_divi_builder .swiper-slide.hero-section .hero-cta a.btn.btn-secondary:hover,
html body .swiper-slide.hero-section .hero-cta a.btn.btn-secondary:hover,
html .swiper-slide.hero-section .hero-cta a.btn.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    background-image: none !important;
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* ALIGNEMENT HERO-CTA */
html body.et_divi_theme .swiper-slide.hero-section .hero-cta,
html body.et_divi_builder .swiper-slide.hero-section .hero-cta,
html body .swiper-slide.hero-section .hero-cta,
html .swiper-slide.hero-section .hero-cta {
    display: flex !important;
    gap: 1rem !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    margin: 0 0 1rem 0 !important;
    padding: 0 !important;
}

/* TEXTE ET ICÔNES */
html body .swiper-slide.hero-section .btn span,
html .swiper-slide.hero-section .btn span {
    display: inline !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
}

html body .swiper-slide.hero-section .btn svg,
html .swiper-slide.hero-section .btn svg {
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
}

html body .swiper-slide.hero-section .btn svg path,
html .swiper-slide.hero-section .btn svg path {
    stroke: currentColor !important;
    fill: none !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    html body .swiper-slide.hero-section .hero-cta,
    html .swiper-slide.hero-section .hero-cta {
        flex-direction: column !important;
        width: 100% !important;
        gap: 0.75rem !important;
    }
    
    html body .swiper-slide.hero-section .btn,
    html .swiper-slide.hero-section .btn {
        width: 100% !important;
        max-width: 300px !important;
    }
}

/* DEBUG - Vérifie que le fichier est chargé */
.swiper-slide.hero-section::before {
    content: "";
    display: none;
    /* Si tu vois ce fichier dans l'inspecteur, il est bien chargé */
}
