/* ============================================================
   FOOTER.CSS — Mundo DP
   Coerente com menu.css: mesmas variáveis, fontes e paleta
============================================================ */

/* ── Variáveis (espelho do menu.css) ─────────────────────── */
:root {
    --navy:        #0B1628;
    --navy-mid:    #1A2A44;
    --navy-light:  #243352;
    --amber:       #FFC107;
    --amber-dark:  #E6A800;
    --green:       #1B8A5A;
    --green-light: #22A96E;
    --white:       #FFFFFF;
    --text-muted:  #9AAAC0;
    --text-soft:   #C8D6E8;
    --border:      rgba(255,255,255,0.08);
    --font-display:'Syne', sans-serif;
    --font-body:   'DM Sans', sans-serif;
    --transition:  0.22s cubic-bezier(.4,0,.2,1);
}

/* ── Espaço para o footer fixo não cobrir conteúdo ──────── */
body { padding-bottom: 0; } /* footer não é fixo — é natural no fluxo */

/* ── Footer base ─────────────────────────────────────────── */
#site-footer {
    position: relative;
    background: var(--navy);
    border-top: 1px solid var(--border);
    overflow: hidden;
    font-family: var(--font-body);
    margin-top: 60px;
}

/* ── Luz decorativa de fundo ─────────────────────────────── */
.footer-glow {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 300px;
    background: radial-gradient(ellipse at center,
        rgba(255,193,7,0.07) 0%,
        rgba(27,138,90,0.04) 50%,
        transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ── Topo: grid de colunas ───────────────────────────────── */
.footer-top {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
    gap: 40px 32px;
    padding: 52px 60px 40px;
    max-width: 1320px;
    margin: 0 auto;
}

/* ── Scroll reveal: estado inicial ──────────────────────── */
.footer-brand,
.footer-col {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.footer-brand.footer-visible,
.footer-col.footer-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Coluna Brand ────────────────────────────────────────── */
.footer-logo-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 14px;
}

.footer-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(255,193,7,0.2));
    transition: filter var(--transition);
}

.footer-logo-wrap:hover .footer-logo {
    filter: drop-shadow(0 2px 14px rgba(255,193,7,0.5));
}

.footer-brand-name {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.03em;
}

.footer-brand-name strong {
    color: var(--amber);
    font-weight: 800;
}

.footer-tagline {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 20px;
    max-width: 240px;
}

.footer-tagline strong { color: var(--text-soft); }

/* ── Redes sociais ───────────────────────────────────────── */
.footer-social {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 9px;
    background: var(--navy-light);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 15px;
    text-decoration: none;
    transition: background var(--transition), color var(--transition),
                border-color var(--transition), transform var(--transition),
                box-shadow var(--transition);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

/* Cores individuais no hover */
.social-btn:not([class*="social-"]):hover,
.social-btn.social-em:hover { background: var(--amber);   color: var(--navy);  border-color: var(--amber); }
.social-ig:hover { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; border-color: transparent; }
.social-tt:hover { background: #010101; color: #fff; border-color: #69C9D0; box-shadow: 0 0 0 1px #69C9D0, 0 6px 18px rgba(0,0,0,0.4); }
.social-yt:hover { background: #FF0000; color: #fff; border-color: #FF0000; }
.social-wa:hover { background: #25D366; color: #fff; border-color: #25D366; }
.social-li:hover { background: #0077B5; color: #fff; border-color: #0077B5; }

/* ── Colunas de links ────────────────────────────────────── */
.footer-col-title {
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.footer-col-title i { font-size: 11px; opacity: 0.8; }

.footer-col ul {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-col ul li a,
.footer-col ul li span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 3px 0;
    transition: color var(--transition), padding-left var(--transition);
    position: relative;
}

.footer-col ul li a::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 1px;
    background: var(--amber);
    transition: width var(--transition);
    vertical-align: middle;
    margin-right: 0;
}

.footer-col ul li a:hover {
    color: var(--amber);
    padding-left: 6px;
}

.footer-col ul li a:hover::before { width: 6px; margin-right: 4px; }

/* ── Lista de contato ────────────────────────────────────── */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px !important;
    margin-bottom: 20px;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-list li i {
    width: 30px; height: 30px;
    background: var(--navy-light);
    border: 1px solid var(--border);
    border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    color: var(--amber);
    flex-shrink: 0;
}

.footer-contact-list li a,
.footer-contact-list li span {
    font-size: 13px;
    color: var(--text-muted) !important;
    padding: 0 !important;
    padding-left: 0 !important;
}

.footer-contact-list li a:hover { color: var(--amber) !important; }
.footer-contact-list li a::before { display: none !important; }

/* ── CTA no footer ───────────────────────────────────────── */
.footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--green), var(--green-light));
    color: var(--white);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(27,138,90,0.35);
    transition: background var(--transition), box-shadow var(--transition),
                transform var(--transition);
    margin-top: 4px;
}

.footer-cta:hover {
    background: var(--amber);
    color: var(--navy);
    box-shadow: 0 4px 20px rgba(255,193,7,0.45);
    transform: translateY(-2px);
}

.footer-cta i { font-size: 12px; }

/* ── Divisor ─────────────────────────────────────────────── */
.footer-divider {
    position: relative;
    z-index: 1;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 60px;
}

.footer-divider::after {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--amber) 20%,
        rgba(255,193,7,0.3) 50%,
        var(--amber) 80%,
        transparent
    );
    opacity: 0.35;
}

/* ── Rodapé inferior ─────────────────────────────────────── */
.footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 60px;
    max-width: 1320px;
    margin: 0 auto;
}

.footer-copy,
.footer-made,
.footer-version {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-copy strong { color: var(--text-soft); }

.footer-heart {
    color: #e53935;
    animation: heartbeat 1.4s ease-in-out infinite;
    display: inline-block;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1);    }
    14%       { transform: scale(1.22); }
    28%       { transform: scale(1);    }
    42%       { transform: scale(1.16); }
    56%       { transform: scale(1);    }
}

.footer-version {
    font-size: 11px;
    opacity: 0.4;
    font-family: 'Courier New', monospace;
}

/* ── Responsivo ──────────────────────────────────────────── */
@media (max-width: 1100px) {
    .footer-top {
        grid-template-columns: 1fr 1fr 1fr;
        padding: 40px 32px 32px;
        gap: 32px 24px;
    }

    .footer-brand { grid-column: 1 / -1; }
    .footer-tagline { max-width: 100%; }
    .footer-bottom { padding: 14px 32px; }
    .footer-divider { padding: 0 32px; }
}

@media (max-width: 680px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        padding: 32px 20px 24px;
        gap: 28px 20px;
    }

    .footer-brand { grid-column: 1 / -1; }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 14px 20px;
        gap: 4px;
    }

    .footer-divider { padding: 0 20px; }
}

@media (max-width: 400px) {
    .footer-top { grid-template-columns: 1fr; }
}
