/* Extraído de includes/footer.php (antes embutido no HTML) */
:root {

    --primary-color: #ffb81c;

    --primary-hover: #ffa500;

    --dark-bg: #ffffff;

    --light-bg: #f8f9fa;

    --text-main: #333;

    --text-muted: #6c757d;

    --white: #ffffff;

    --transition: all 0.3s ease;

}



.footer-modern {

    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    background-color: var(--light-bg);

    color: var(--text-main);

    margin-top: 40px;
    /* Reduzido */

    border-top: 1px solid rgba(0, 0, 0, 0.05);

}



.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* CTA Section Modernizada */
.footer-cta-wrapper {
    transform: translateY(-40px);
    margin-bottom: -10px;
    position: relative;
    z-index: 10;
}

.footer-cta-card {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    padding: 32px 48px;
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    gap: 32px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.05);
}



.cta-text h3 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 8px 0;
    color: #fff;
    letter-spacing: -0.02em;
}

.cta-text p {
    font-size: 16px;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    line-height: 1.5;
}



.btn-modern-cta {
    background: var(--primary-color);
    color: #000;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-modern-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 24px rgba(255, 184, 28, 0.4);
    background: var(--primary-hover);
    color: #000;
}



/* CTA "Impulsione seu Negócio": faixa compacta, cores da marca configurada */
.footer-cta-wrapper {
    transform: translateY(-28px);
    margin-bottom: -18px;
}

.footer-cta-card {
    position: relative;
    background: linear-gradient(120deg, var(--menu-gradient-start, var(--primary)) 0%, var(--menu-gradient-end, var(--secondary)) 100%);
    border: 0;
    border-radius: 16px;
    padding: 20px 28px;
    gap: 24px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.cta-text h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
}

.cta-beneficios {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
}

.cta-beneficios li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.cta-beneficios svg {
    width: 16px;
    height: 16px;
    flex: none;
    color: var(--accent, #ffb81c);
}

.btn-modern-cta {
    min-height: 48px;
    padding: 0 24px;
    border-radius: 12px;
    font-size: 14px;
    white-space: nowrap;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: none;
}

.btn-modern-cta svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 992px) {
    .footer-cta-card { padding: 18px 20px; gap: 14px; text-align: left; align-items: stretch; }
    .cta-beneficios { justify-content: flex-start; }
    .cta-text h3 { font-size: 19px; }
    .cta-action, .btn-modern-cta { width: 100%; justify-content: center; }
}
/* Main Footer */
.footer-main {
    padding: 40px 0 20px;
    background-color: var(--light-bg);
}



/* Grid Layout - Agora Centrado */

.footer-grid-layout.centered-layout {

    display: flex;

    justify-content: center;

    text-align: center;

}



/* Coluna Brand & Social - Centralizada */

.footer-col-brand.centered-col {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 20px;

    text-align: center;

}



.footer-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1) contrast(0.8);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-logo-img:hover {
    filter: none;
    opacity: 1;
}



.footer-slogan {

    font-size: 13px;

    color: var(--text-muted);

    margin: 10px 0 0 0;

    line-height: 1.4;

}



/* Social Logos Modernos */

.social-logos {

    display: flex;

    gap: 15px;

    margin-top: 5px;

    align-items: center;

}



.social-brand-icon {
    font-size: 24px;
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.03);
    text-decoration: none;
}

.social-brand-icon:hover {
    transform: translateY(-5px);
    background: var(--brand-color);
    color: #fff !important;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}






/* Bottom Footer */

.footer-bottom-modern {

    background: var(--light-bg);

    color: var(--text-muted);

    padding: 20px 0;

    font-size: 13px;

    border-top: 1px solid rgba(0, 0, 0, 0.05);

    margin-top: 20px;

}



.bottom-flex {

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 20px;

}



.copyright {

    font-weight: 500;

    color: #555;

}



.bottom-menu-links {

    display: flex;

    gap: 25px;

    align-items: center;

    flex-wrap: wrap;

}



.bottom-link {

    color: var(--text-muted);

    text-decoration: none;

    font-size: 13px;

    transition: color 0.2s;

}



.bottom-link:hover {

    color: var(--primary-color);

    text-decoration: underline;

}



/* Responsividade */

@media (max-width: 992px) {

    .footer-cta-card {

        flex-direction: column;

        text-align: center;

        padding: 30px;

    }



    .bottom-flex {

        flex-direction: column;

        text-align: center;

    }



    .bottom-menu-links {

        justify-content: center;

        gap: 15px;

    }

}



@media (max-width: 768px) {

    .footer-modern {

        margin-top: 30px;

        padding-bottom: 0px;

    }



    .footer-cta-wrapper {

        transform: translateY(-20px);

        padding: 0 10px;

    }



    .footer-cta-card {
        padding: 18px 20px;
        gap: 14px;
        border-radius: 16px;
    }

    .btn-modern-cta {
        width: 100%;
        padding: 0 16px;
        justify-content: center;
    }

    .footer-main {
        padding-top: 50px;
    }



    /* Ajuste fino para copyright e links no mobile */

    .bottom-flex {

        gap: 15px;

    }



    .copyright {

        font-size: 12px;

        order: 2;
        /* Copyright por último no mobile */

    }



    .bottom-menu-links {

        order: 1;
        /* Links primeiro no mobile */

    }

}



.cookie-banner {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    max-width: 450px;
    width: calc(100% - 40px);
    background: rgba(255, 255, 255, 0.7) !important;
    box-shadow: var(--shadow-premium);
    padding: 24px;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    text-align: center;
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}




.cookie-content {

    display: flex;

    flex-direction: column;

    gap: 20px;

}



.cookie-content p {
    margin: 0;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
}




.btn-cookie-accept {

    background-color: var(--primary-color);

    color: #000;

    border: none;

    padding: 12px 20px;

    border-radius: 10px;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.2s;

    text-transform: uppercase;

    font-size: 13px;

    letter-spacing: 0.5px;

    width: 100%;

    text-align: center;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

}



.btn-cookie-accept:hover {

    background-color: var(--primary-hover);

    transform: translateY(-2px);

    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);

}



@media (max-width: 768px) {
    /* Faixa baixa: texto e botão lado a lado, cobre pouco da tela */
    .cookie-banner {
        bottom: 0;
        left: 0;
        right: 0;
        transform: translateY(20px);
        max-width: none;
        width: 100%;
        padding: 10px 12px;
        border-radius: 14px 14px 0 0;
        text-align: left;
        background: rgba(255, 255, 255, 0.96) !important;
    }

    .cookie-banner.show { transform: translateY(0); }

    .cookie-content { flex-direction: row !important; align-items: center; gap: 12px !important; }

    .cookie-content p { font-size: 13px; line-height: 1.4; }

    .btn-cookie-accept { width: auto; flex: 0 0 auto; min-height: 44px; padding: 10px 18px; }

    /* O botão do WhatsApp sobe enquanto a faixa de cookies está aberta */
    body.cookie-aberto .wa-widget-container { bottom: 110px; }

}
