/* ========================================
   AMÉLIORATIONS VISUELLES INNOVA AI
   Appliquées sans modifier le positionnement
   ======================================== */

/* Gradient subtil sur le fond bleu */
.wp-block-cover {
    background: linear-gradient(135deg, #1a2b5e 0%, #2d4a9e 100%) !important;
}

/* Lueur d'arrière-plan légère pour créer de la profondeur */
.wp-block-cover::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.08) 0%, transparent 70%);
    top: 10%;
    right: 20%;
    pointer-events: none;
    z-index: 0;
}

/* Text-shadow pour améliorer la lisibilité du titre */
.wp-block-cover h1 {
    text-shadow: 0 3px 15px rgba(0,0,0,0.25) !important;
}

/* Text-shadow pour améliorer la lisibilité du texte */
.wp-block-cover p {
    text-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}

/* Effets hover fluides sur les boutons */
.wp-block-cover a {
    transition: all 0.3s ease !important;
}

.wp-block-cover a:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25) !important;
}

/* Améliorer la carte "Loi 64" avec ombre portée */
.wp-block-cover .wp-block-group {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25) !important;
    border-radius: 12px !important;
}

/* Ombre portée sur l'image de la femme */
.wp-block-cover img {
    filter: drop-shadow(0 10px 25px rgba(0,0,0,0.25)) !important;
}
/* Centrer la section "Un parcours simple" */
.stk-45a5871-inner-blocks,
.stk-45a5871-container {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

/* Centrer les cartes numérotées */
.stk-45a5871 .wp-block-stackable-card,
.stk-45a5871 .stk-block {
    margin-left: auto !important;
    margin-right: auto !important;
}
/* ========================================
   AMÉLIORATIONS SUPPLÉMENTAIRES INNOVA AI
   Cohérence visuelle et micro-interactions
   ======================================== */

/* 1. CARTES BLEUES FONCÉES - COHÉRENCE */
.wp-block-group[style*="background"],
.stk-block[style*="background-color"] {
    border-radius: 12px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2) !important;
    transition: all 0.3s ease !important;
}

.wp-block-group[style*="background"]:hover,
.stk-block[style*="background-color"]:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 35px rgba(0,0,0,0.25) !important;
}

/* 2. ICÔNES - VISIBILITÉ ET GLOW */
.stk-block img[src*="icon"],
.wp-block-image img {
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2)) !important;
    transition: all 0.3s ease !important;
}

.stk-block img[src*="icon"]:hover {
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.4)) !important;
    transform: scale(1.05) !important;
}

/* Animation pulse subtile sur icônes importantes */
@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(255,255,255,0.2)); }
    50% { filter: drop-shadow(0 0 15px rgba(255,255,255,0.35)); }
}

.stk-block-column img[src*="icon"] {
    animation: pulse-glow 3s ease-in-out infinite !important;
}

/* 3. ESPACEMENT HARMONISÉ */
.stk-block-columns,
.wp-block-columns {
    margin-top: 80px !important;
    margin-bottom: 80px !important;
    padding: 60px 40px !important;
}

@media (max-width: 960px) {
    .stk-block-columns,
    .wp-block-columns {
        margin-top: 40px !important;
        margin-bottom: 40px !important;
        padding: 30px 20px !important;
    }
}

/* 4. BOUTONS - UNIFORMISATION */
a[class*="button"],
.wp-block-button__link,
button,
input[type="submit"] {
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
}

a[class*="button"]:hover,
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25) !important;
}

/* 5. TITRES - HIÉRARCHIE AMÉLIORÉE */
h2 {
    font-weight: 700 !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    margin-bottom: 20px !important;
}

h3 {
    font-weight: 600 !important;
    margin-bottom: 15px !important;
}

/* Titres sur fond blanc */
.has-background h2,
.has-background h3 {
    text-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
}

/* 6. FOOTER - MEILLEUR CONTRASTE */
.site-footer,
footer,
.footer-top,
.footer-main,
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1) !important;
}

.site-footer p,
.site-footer a,
footer p,
footer a {
    opacity: 0.9 !important;
    transition: opacity 0.3s ease !important;
}

.site-footer a:hover,
footer a:hover {
    opacity: 1 !important;
}

/* Séparateurs entre colonnes du footer */
.footer-top .builder-item:not(:last-child),
.footer-main .builder-item:not(:last-child) {
    border-right: 1px solid rgba(255,255,255,0.08) !important;
    padding-right: 30px !important;
}

/* 7. IMAGES - COHÉRENCE */
img:not([class*="icon"]) {
    border-radius: 8px !important;
    filter: drop-shadow(0 10px 25px rgba(0,0,0,0.15)) !important;
    transition: all 0.3s ease !important;
}

img:not([class*="icon"]):hover {
    transform: scale(1.02) !important;
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.2)) !important;
}

/* 8. ANIMATIONS AU SCROLL */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stk-block-columns,
.wp-block-columns,
.wp-block-group {
    animation: fadeInUp 0.8s ease-out !important;
}

/* 9. SMOOTH SCROLL */
html {
    scroll-behavior: smooth !important;
}

/* 10. SECTIONS BLEUES - AMÉLIORATION TEXTE */
[style*="background-color: #"] p,
[style*="background: #"] p {
    text-shadow: 0 1px 3px rgba(0,0,0,0.2) !important;
}

/* 11. CARTES - EFFET GLASSMORPHISM SUBTIL */
.wp-block-group[style*="background: white"],
.wp-block-group[style*="background-color: white"] {
    backdrop-filter: blur(10px) !important;
    background: rgba(255, 255, 255, 0.98) !important;
}

/* 12. TRANSITIONS UNIVERSELLES */
* {
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}

/* Exceptions pour ne pas affecter les animations existantes */
@keyframes * {
    transition: none !important;
}

/* 13. FOCUS ACCESSIBILITY */
a:focus,
button:focus,
input:focus {
    outline: 2px solid rgba(0, 101, 203, 0.5) !important;
    outline-offset: 2px !important;
}

/* 14. AMÉLIORATION RESPONSIVE */
@media (max-width: 768px) {
    h2 {
        font-size: 28px !important;
    }

    h3 {
        font-size: 22px !important;
    }

    .stk-block-columns,
    .wp-block-columns {
        padding: 20px 15px !important;
    }
}