/* 
 * Personnalisations EVA AUTISME
 * Ne modifie pas le design de Childhope, juste la couleur principale et le footer
 */

/* === COULEUR PRINCIPALE #223669 === */
:root {
    --eva-primary: #223669;
    --eva-orange: #FF6B35;
}

/* Remplacer la couleur principale du thème */
a,
.theme_button,
h1, h2, h3, h4, h5, h6,
.post_meta a:hover,
.menu_main_nav > li > a:hover,
.sc_layouts_menu_nav > li > a:hover {
    color: var(--eva-primary);
}

.theme_button,
.post_featured .mask,
.btn-primary,
button[type="submit"],
input[type="submit"] {
    background-color: var(--eva-primary);
    border-color: var(--eva-primary);
}

/* Bouton donation */
.btn-donation,
.footer_wrap .sc_button_donation {
    background-color: var(--eva-orange) !important;
    border-color: var(--eva-orange) !important;
}

/* === FOOTER STYLE AFG === */

/* Section Réseaux Sociaux avant footer */
.footer_socials_afg {
    background: #FFFFFF;
    padding: 50px 0;
    text-align: center;
}

.footer_socials_afg h2 {
    font-size: 28px;
    color: var(--eva-primary);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer_socials_afg .social_icons_large {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer_socials_afg .social_icon_large {
    width: 60px;
    height: 60px;
    background: var(--eva-primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 26px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer_socials_afg .social_icon_large:hover {
    background: #1a2850;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(34, 54, 105, 0.3);
    color: #FFFFFF;
}

/* Section Newsletter */
.footer_newsletter_afg {
    background: var(--eva-primary);
    padding: 60px 0;
    text-align: center;
}

.footer_newsletter_afg h2 {
    color: #FFFFFF;
    font-size: 32px;
    margin-bottom: 15px;
}

.footer_newsletter_afg p {
    color: #FFFFFF;
    opacity: 0.9;
    margin-bottom: 30px;
    font-size: 18px;
}

.footer_newsletter_afg .newsletter_form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 15px;
}

.footer_newsletter_afg .newsletter_input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
}

.footer_newsletter_afg .newsletter_submit {
    padding: 15px 40px;
    background: #FFFFFF;
    color: var(--eva-primary);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.footer_newsletter_afg .newsletter_submit:hover {
    background: var(--eva-orange);
    color: #FFFFFF;
}

/* Footer principal */
.footer_wrap {
    background: #1A1A1A;
    color: #FFFFFF;
}

.footer_copyright_wrap {
    background: #1A1A1A;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer_copyright_wrap p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}

.footer_copyright_wrap a {
    color: rgba(255,255,255,0.6);
    margin: 0 10px;
}

.footer_copyright_wrap a:hover {
    color: #FFFFFF;
}

/* Boutons dans le footer */
.footer_actions {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer_actions .btn {
    padding: 10px 30px;
    font-size: 14px;
    display: inline-block;
    text-transform: uppercase;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer_actions .btn-donation {
    background: var(--eva-orange);
    color: #FFFFFF;
    border: 2px solid var(--eva-orange);
}

.footer_actions .btn-outline {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.footer_actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Réseaux sociaux dans footer */
.footer_socials_bottom {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.footer_socials_bottom .social_icon {
    width: 45px;
    height: 45px;
    background: #FFFFFF;
    color: var(--eva-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer_socials_bottom .social_icon:hover {
    background: var(--eva-primary);
    color: #FFFFFF;
    transform: translateY(-5px);
}

/* Contact dans footer */
.footer_contact {
    margin-top: 20px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer_contact p {
    margin: 5px 0;
}

.footer_contact a {
    color: rgba(255,255,255,0.7);
}

.footer_contact a:hover {
    color: #FFFFFF;
}

/* Liens footer */
.footer_links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer_links a {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    text-decoration: none;
}

.footer_links a:hover {
    color: #FFFFFF;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .footer_socials_afg .social_icons_large {
        gap: 15px;
    }
    
    .footer_socials_afg .social_icon_large {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    
    .footer_newsletter_afg .newsletter_form {
        flex-direction: column;
    }
    
    .footer_actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer_actions .btn {
        width: 80%;
        text-align: center;
    }
}