.footer-modern {
background: var(--bg-footer, #0f172a);
color: var(--footer-text, #94a3b8);
padding: 0;
margin-top: 0;
position: relative;
overflow: hidden;
}

[data-theme="dark"] .footer-modern {
--bg-footer: #0a0f1a;
--footer-text: #94a3b8;
--footer-heading: #e2e8f0;
--footer-link: #94a3b8;
--footer-link-hover: #6366f1;
--footer-border: rgba(255, 255, 255, 0.06);
--footer-bg-accent: rgba(99, 102, 241, 0.08);
}

.footer-modern::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 1px;
background: linear-gradient(90deg, transparent, var(--primary, #6366f1), transparent);
}

.footer-modern::after {
content: '';
position: absolute;
top: -150px;
right: -100px;
width: 400px;
height: 400px;
border-radius: 50%;
background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
pointer-events: none;
}

.footer-top {
padding: 2rem 0 0.5rem; /* Redução drástica do padding inferior */
position: relative;
z-index: 1;
}

.footer-brand { margin-bottom: 1rem; }

.footer-brand img {
max-height: 58px;
max-width: 180px;
margin-bottom: 0.25rem;
opacity: 0.9;
transition: all 0.3s ease;
}

.footer-brand img:hover { opacity: 1; }

.footer-brand-name {
font-size: 1.3rem;
font-weight: 700;
color: #f1f5f9;
margin-bottom: 0.5rem;
display: flex;
align-items: center;
gap: 8px;
}

.footer-brand-name i { color: var(--primary, #6366f1); }

.footer-brand-desc {
font-size: 0.78rem;
color: #64748b;
line-height: 1.4;
max-width: 300px;
margin-bottom: 0.5rem;
}

.footer-heading {
font-size: 0.78rem;
font-weight: 700;
color: #f1f5f9;
text-transform: uppercase;
letter-spacing: 0.08em;
margin-bottom: 0.5rem; /* Reduzido */
position: relative;
padding-bottom: 0.25rem; /* Reduzido */
}

.footer-heading::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 30px;
height: 2px;
background: var(--primary, #6366f1);
border-radius: 2px;
}

.footer-links {
list-style: none;
padding: 0;
margin: 0;
}

.footer-links li { margin-bottom: 0.3rem; }

.footer-links a {
color: #64748b;
text-decoration: none;
font-size: 0.76rem;
display: inline-flex;
align-items: center;
gap: 8px;
transition: all 0.3s ease;
padding: 2px 0;
}

.footer-links a i {
font-size: 0.65rem;
color: var(--primary, #6366f1);
opacity: 0;
transform: translateX(-5px);
transition: all 0.3s ease;
}

.footer-links a:hover {
color: #e2e8f0;
transform: translateX(4px);
}

.footer-links a:hover i {
opacity: 1;
transform: translateX(0);
}

.footer-contact-item {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 0.32rem;
font-size: 0.74rem;
color: #64748b;
}

.footer-contact-icon {
width: 30px;
height: 30px;
border-radius: 8px;
background: rgba(99, 102, 241, 0.1);
display: flex;
align-items: center;
justify-content: center;
color: var(--primary, #6366f1);
font-size: 0.85rem;
flex-shrink: 0;
transition: all 0.3s ease;
}

.footer-contact-item:hover .footer-contact-icon {
background: var(--primary, #6366f1);
color: white;
transform: scale(1.05);
}

.footer-contact-item a {
color: #64748b;
text-decoration: none;
transition: color 0.3s ease;
}

.footer-contact-item a:hover { color: #e2e8f0; }

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

.footer-contact-label {
font-size: 0.64rem;
color: #475569;
text-transform: uppercase;
letter-spacing: 0.05em;
font-weight: 600;
}

.footer-newsletter {
background: rgba(99, 102, 241, 0.05);
border: 1px solid rgba(99, 102, 241, 0.1);
border-radius: 12px;
padding: 0.6rem 0.8rem;
margin-top: 0; /* Removida margem superior */
display: flex;
flex-direction: column;
align-items: center;
gap: 0.4rem;
justify-content: center;
}

.footer-newsletter p {
font-size: 0.82rem;
color: #94a3b8;
margin-bottom: 0;
line-height: 1.5;
}

.footer-payment-title {
display: flex;
align-items: center;
gap: 8px;
color: #e2e8f0;
font-size: 0.88rem;
font-weight: 800;
margin-bottom: 0;
white-space: nowrap;
justify-content: center;
}

.footer-payment-title i { color: #10b981; }

.footer-payment-methods {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: nowrap;
gap: 0.7rem;
width: 100%;
}

.footer-payment-method {
width: 42px;
height: 42px;
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.05);
color: #cbd5e1;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0;
flex: 0 0 42px;
position: relative;
}

.footer-payment-method i {
color: var(--primary, #6366f1);
font-size: 1.05rem;
}

.footer-social {
display: flex;
gap: 10px;
margin-top: 0.5rem;
}

.footer-social a {
width: 38px;
height: 38px;
border-radius: 10px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.08);
display: flex;
align-items: center;
justify-content: center;
color: #94a3b8;
font-size: 0.9rem;
transition: all 0.3s ease;
text-decoration: none;
}

.footer-social a:hover {
background: var(--primary, #6366f1);
border-color: var(--primary, #6366f1);
color: white;
transform: translateY(-3px);
box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.footer-social a.whatsapp:hover {
background: #25d366;
border-color: #25d366;
box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.footer-social a.instagram {
color: #94a3b8;
border-color: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.05);
}

.footer-social a.instagram:hover {
background: #ef4444;
border-color: #ef4444;
color: #ffffff;
box-shadow: 0 4px 12px rgba(239, 68, 68, 0.32);
}

.footer-top {
padding: 3.25rem 0 2.4rem;
}

.footer-layout-row {
display: grid;
grid-template-columns: minmax(190px, 250px) minmax(110px, 150px) minmax(110px, 150px) minmax(145px, 190px) minmax(240px, 320px);
column-gap: clamp(1.3rem, 2.4vw, 3.2rem);
row-gap: 2rem;
align-items: start;
justify-content: space-between;
margin-left: 0;
margin-right: 0;
}

.footer-column {
min-width: 0;
}

.footer-brand-column {
max-width: 250px;
}

.footer-contact-column {
max-width: 190px;
}

.footer-trust-strip {
display: none;
align-items: center;
justify-content: space-between;
gap: 0.85rem;
margin-top: 1.35rem;
padding: 0.75rem 1rem;
border: 1px solid rgba(99, 102, 241, 0.12);
border-radius: 14px;
background: rgba(99, 102, 241, 0.045);
}

.footer-contact-column .footer-newsletter {
max-width: 420px;
}

.footer-payment-column .footer-newsletter {
border-radius: 10px;
padding: 0.55rem 0.75rem;
}

.footer-payment-column .footer-payment-title {
font-size: 0.76rem;
}

.footer-payment-column .footer-payment-methods {
gap: 0.55rem;
}

.footer-payment-column .footer-payment-method {
width: 34px;
height: 34px;
flex-basis: 34px;
}

.footer-payment-column .footer-payment-method i {
font-size: 0.9rem;
}

.footer-social a {
width: 30px;
height: 30px;
font-size: 0.78rem;
border-radius: 8px;
}

.footer-payment-column {
justify-self: end;
align-self: center;
width: min(100%, 320px);
}

.footer-trust-strip span {
display: inline-flex;
align-items: center;
gap: 0.55rem;
min-width: 0;
color: #94a3b8;
font-size: 0.84rem;
font-weight: 700;
white-space: nowrap;
}

.footer-trust-strip i {
width: 28px;
height: 28px;
border-radius: 9px;
display: inline-flex;
align-items: center;
justify-content: center;
background: rgba(99, 102, 241, 0.14);
color: #8b5cf6;
font-size: 0.82rem;
}

@media (max-width: 1199px) {
.footer-layout-row {
grid-template-columns: minmax(220px, 1fr) minmax(130px, 0.7fr) minmax(130px, 0.7fr);
}

.footer-contact-column,
.footer-payment-column {
grid-column: 1 / -1;
max-width: 520px;
justify-self: start;
}
}

.footer-assurance-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.85rem;
padding: 0.9rem;
border: 1px solid rgba(99, 102, 241, 0.12);
border-radius: 14px;
background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(15, 23, 42, 0.18));
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.footer-assurance-item {
display: grid;
grid-template-columns: 38px minmax(0, 1fr);
align-items: center;
gap: 0.7rem;
min-width: 0;
padding: 0.75rem;
border-radius: 12px;
background: rgba(255, 255, 255, 0.035);
border: 1px solid rgba(255, 255, 255, 0.06);
transition: all 0.25s ease;
}

.footer-assurance-item:hover {
background: rgba(99, 102, 241, 0.1);
border-color: rgba(99, 102, 241, 0.24);
transform: translateY(-2px);
}

.footer-assurance-item span {
width: 38px;
height: 38px;
border-radius: 12px;
display: inline-flex;
align-items: center;
justify-content: center;
background: rgba(99, 102, 241, 0.14);
color: #8b5cf6;
}

.footer-assurance-item strong {
display: block;
color: #e2e8f0;
font-size: 0.86rem;
line-height: 1.15;
margin-bottom: 0.2rem;
}

.footer-assurance-item small {
display: block;
color: #64748b;
font-size: 0.76rem;
line-height: 1.3;
}

.footer-bottom {
border-top: 1px solid rgba(255, 255, 255, 0.06);
padding: 1rem 0; /* Reduzido */
position: relative;
z-index: 1;
}

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

.footer-copyright { font-size: 0.82rem; color: #475569; }

.footer-credits {
font-size: 0.82rem;
color: #475569;
display: flex;
align-items: center;
gap: 4px;
}

.footer-credits .heart {
color: #ef4444;
animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.15); }
}

.footer-scroll-top {
position: fixed;
bottom: 24px;
right: 24px;
width: 44px;
height: 44px;
border-radius: 12px;
background: var(--gradient-primary, linear-gradient(135deg, #6366f1, #8b5cf6));
color: white;
border: none;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
opacity: 0;
visibility: hidden;
transform: translateY(10px);
transition: all 0.3s ease;
z-index: 999;
font-size: 1rem;
}

.footer-scroll-top.visible {
opacity: 1;
visibility: visible;
transform: translateY(0);
}

.footer-scroll-top:hover {
transform: translateY(-3px);
box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

@media (max-width: 768px) {
.footer-top { padding: 2.5rem 0 2rem; }
.footer-layout-row {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.footer-brand-column,
.footer-contact-column,
.footer-payment-column {
    grid-column: 1 / -1;
}
.footer-payment-column {
    justify-self: stretch;
}
.footer-layout-row > [class*="col-"] { display: block; }
.footer-trust-strip {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1.25rem;
}
.footer-trust-strip span {
    white-space: normal;
}
.footer-assurance-grid { grid-template-columns: 1fr; padding: 0.75rem; }
.footer-bottom-inner { justify-content: center; text-align: center; }
.footer-heading::after { left: 50%; transform: translateX(-50%); }
.footer-brand-desc { max-width: 100%; }
.footer-social { justify-content: center; }
.footer-newsletter { align-items: center; }
.footer-payment-methods {
    flex-wrap: wrap;
    justify-content: center;
}
}
