@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&display=swap');

:root {
    --cor-preto: #0f172a;
    --cor-branco: #ffffff;
    --cor-cinza: #94a3b8;
    --cor-cinza-escuro: #1e293b;
    --cor-gradiente: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --fonte-titulos: "Manrope", sans-serif;
    --fonte-paragrafos: "Montserrat", sans-serif;
}

.container-footer {
    background: #ffffff;
    color: var(--cor-preto);
    position: relative;
    overflow: hidden;
    width: 100%;
    font-family: var(--fonte-paragrafos);
}

.container-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #8b5cf6, #ec4899, transparent);
}

/* CTA */
.footer-cta {
    background: var(--cor-gradiente);
    padding: clamp(4rem, 6vw, 6rem) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 2rem);
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 800;
    color: var(--cor-branco);
    margin-bottom: 1.5rem;
    font-family: var(--fonte-titulos);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cta-content p {
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    color: rgba(255,255,255,0.95);
    margin-bottom: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: clamp(1.5rem, 4vw, 2rem);
    justify-content: center;
    flex-wrap: wrap;
}



/* ============================================
   CSS FORÇADO PARA CATEGORIAS - SOBRESCREVE TUDO
   ============================================ */
body .container-footer .footer-cta .cta-buttons a.btn-primary,
body .container-footer .footer-cta .cta-buttons a.btn-secondary,
body footer .footer-cta .cta-buttons .btn-primary,
body footer .footer-cta .cta-buttons .btn-secondary,
html body .container-footer .footer-cta .cta-buttons a,
html body footer .footer-cta .cta-buttons a {
    padding: 1.6rem 3.5rem !important;
    border-radius: 9999px !important;
    font-weight: 700 !important;
    font-size: 1.8rem !important;
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    animation: pulse-btn-footer 2s infinite !important;
    text-decoration: none !important;
    position: relative !important;
    overflow: hidden !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important;
    margin: 0.5rem !important;
}
body .container-footer .footer-cta .cta-buttons a.btn-primary,
body footer .footer-cta .cta-buttons .btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    color: #6d28d9 !important;
}
body .container-footer .footer-cta .cta-buttons a.btn-secondary,
body footer .footer-cta .cta-buttons .btn-secondary {
    background: rgba(255,255,255,0.1) !important;
    color: #ffffff !important;
}
@media (max-width: 768px) {
    body .container-footer .footer-cta .cta-buttons a,
    body footer .footer-cta .cta-buttons a {
        width: 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
    }
}
@media (max-width: 480px) {
    body .container-footer .footer-cta .cta-buttons a,
    body footer .footer-cta .cta-buttons a {
        width: 240px !important;
        min-width: 240px !important;
        max-width: 240px !important;
    }
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
    /* ESTILOS SOBRESCRITOS ABAIXO */
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem 2.8rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
    transition: all 0.4s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow:
        0 8px 32px rgba(0,0,0,0.12),
        0 0 0 1px rgba(255,255,255,0.1),
        inset 0 1px 0 rgba(255,255,255,0.6);
    color: #4c1d95;
}

.cta-buttons .btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #6d28d9;
}

.cta-buttons .btn-primary::before,
.cta-buttons .btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    left: -100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.cta-buttons .btn-primary:hover::before,
.cta-buttons .btn-secondary:hover::before {
    left: 100%;
}

.cta-buttons .btn-primary:hover,
.cta-buttons .btn-secondary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

.cta-buttons .btn-secondary {
    background: rgba(255,255,255,0.1);
    color: var(--cor-branco);
}

/* Conteúdo principal */
.footer-main {
    padding: clamp(4rem, 7vw, 6rem) 0 clamp(3rem, 5vw, 4rem);
    background: #ffffff;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 2rem);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 4rem);
    align-items: flex-start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--cor-preto);
    font-family: var(--fonte-titulos);
}

.footer-logo i {
    background: var(--cor-gradiente);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.8rem;
}

.footer-brand p {
    font-size: 1.6rem;
    color: #a1a1aa;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    min-width: 90px;
}

.footer-stats .stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--cor-gradiente);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--fonte-titulos);
}

.footer-stats .stat-label {
    font-size: 1.2rem;
    color: #a1a1aa;
    font-weight: 500;
}

.footer-links,
.footer-categories {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-links h3,
.footer-categories h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--cor-preto);
    font-family: var(--fonte-titulos);
}

.footer-links ul,
.footer-categories ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a,
.footer-categories a {
    color: #4b5563;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.footer-links a:hover,
.footer-categories a:hover {
    color: var(--cor-preto);
    transform: translateX(8px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-contact h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--cor-preto);
    font-family: var(--fonte-titulos);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.contact-item i {
    font-size: 2rem;
    background: var(--cor-gradiente);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-item span {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #a1a1aa;
}

.contact-item p {
    font-size: 1.4rem;
    color: var(--cor-preto);
    font-weight: 500;
    margin: 0;
}

/* Redes Sociais / Newsletter */
.footer-social {
    padding: clamp(3rem, 5vw, 4rem) 0;
    background: #f8fafc;
    border-top: 1px solid rgba(139, 92, 246, 0.08);
}

.footer-social .footer-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

.social-links h3,
.newsletter h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--cor-preto);
    margin-bottom: 1.5rem;
    font-family: var(--fonte-titulos);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    color: #a1a1aa;
    font-size: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--cor-gradiente);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link i {
    position: relative;
    z-index: 1;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    color: var(--cor-branco);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.25);
}

.newsletter p {
    font-size: 1.4rem;
    color: #a1a1aa;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
}

.newsletter-form input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 9999px;
    color: var(--cor-preto);
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: #a1a1aa;
}

.newsletter-form input:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(139, 92, 246, 0.1);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.newsletter-form button {
    padding: 1.2rem 1.5rem;
    background: var(--cor-gradiente);
    border: none;
    border-radius: 9999px;
    color: var(--cor-branco);
    font-size: 1.6rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 5rem;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

/* Base */
.footer-bottom {
    padding: clamp(1.5rem, 3vw, 2rem) 0;
    background: #f1f5f9;
    border-top: 1px solid rgba(139, 92, 246, 0.08);
}

.footer-bottom .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    width: 100%;
}

.footer-copyright p {
    font-size: 1.4rem;
    color: #a1a1aa;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: #6b7280;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    color: var(--cor-preto);
    background: var(--cor-gradiente);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Responsividade */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    

/* ============================================
   CSS FORÇADO PARA CATEGORIAS - SOBRESCREVE TUDO
   ============================================ */
body .container-footer .footer-cta .cta-buttons a.btn-primary,
body .container-footer .footer-cta .cta-buttons a.btn-secondary,
body footer .footer-cta .cta-buttons .btn-primary,
body footer .footer-cta .cta-buttons .btn-secondary,
html body .container-footer .footer-cta .cta-buttons a,
html body footer .footer-cta .cta-buttons a {
    padding: 1.6rem 3.5rem !important;
    border-radius: 9999px !important;
    font-weight: 700 !important;
    font-size: 1.8rem !important;
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    animation: pulse-btn-footer 2s infinite !important;
    text-decoration: none !important;
    position: relative !important;
    overflow: hidden !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important;
    margin: 0.5rem !important;
}
body .container-footer .footer-cta .cta-buttons a.btn-primary,
body footer .footer-cta .cta-buttons .btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    color: #6d28d9 !important;
}
body .container-footer .footer-cta .cta-buttons a.btn-secondary,
body footer .footer-cta .cta-buttons .btn-secondary {
    background: rgba(255,255,255,0.1) !important;
    color: #ffffff !important;
}
@media (max-width: 768px) {
    body .container-footer .footer-cta .cta-buttons a,
    body footer .footer-cta .cta-buttons a {
        width: 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
    }
}
@media (max-width: 480px) {
    body .container-footer .footer-cta .cta-buttons a,
    body footer .footer-cta .cta-buttons a {
        width: 240px !important;
        min-width: 240px !important;
        max-width: 240px !important;
    }
}

.cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 30rem;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand,
    .footer-links,
    .footer-categories,
    .footer-contact {
        align-items: center;
    }

    .footer-links a,
    .footer-categories a {
        transform: none;
    }

    .footer-social .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .social-link {
        border-radius: 9999px;
    }

    .newsletter-form {
        max-width: 100%;
        justify-content: center;
    }

    .footer-bottom .footer-content,
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-legal {
        justify-content: center;
    }
}

/* CSS FORÇADO PARA CATEGORIAS - SOBRESCREVE TUDO */
body .container-footer .footer-cta .cta-buttons a.btn-primary,
body .container-footer .footer-cta .cta-buttons a.btn-secondary,
body footer .footer-cta .cta-buttons .btn-primary,
body footer .footer-cta .cta-buttons .btn-secondary,
html body .container-footer .footer-cta .cta-buttons a {
    padding: 1.6rem 3.5rem !important;
    border-radius: 9999px !important;
    font-weight: 700 !important;
    font-size: 1.8rem !important;
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    animation: pulse-btn-footer 2s infinite !important;
    text-decoration: none !important;
    position: relative !important;
    overflow: hidden !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important;
    margin: 0.5rem !important;
}
body .container-footer .footer-cta .cta-buttons a.btn-primary,
body footer .footer-cta .cta-buttons .btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    color: #6d28d9 !important;
}
body .container-footer .footer-cta .cta-buttons a.btn-secondary,
body footer .footer-cta .cta-buttons .btn-secondary {
    background: rgba(255,255,255,0.1) !important;
    color: #ffffff !important;
}
@media (max-width: 768px) {
    body .container-footer .footer-cta .cta-buttons a,
    body footer .footer-cta .cta-buttons a {
        width: 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
    }
}
@media (max-width: 480px) {
    body .container-footer .footer-cta .cta-buttons a,
    body footer .footer-cta .cta-buttons a {
        width: 240px !important;
        min-width: 240px !important;
        max-width: 240px !important;
    }
}
