/* Rodapé do domínio principal (templates/landing/partials/footer_main.html) */
.fm {
    --fm-bg: #0f1a16;
    --fm-ink: #e9efec;
    --fm-muted: #9fb1aa;
    --fm-line: rgba(255, 255, 255, .09);
    --fm-accent: #ffc107;
    background: var(--fm-bg);
    color: var(--fm-ink);
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    padding-top: 64px;
    position: relative;
    overflow: hidden;
}
.fm::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(circle at 85% 0%, rgba(255, 193, 7, .14), transparent 45%),
                radial-gradient(circle at 0% 30%, rgba(41, 73, 64, .9), transparent 55%);
}
.fm .container { position: relative; }
.fm a { color: var(--fm-ink); text-decoration: none; transition: color .15s ease; }
.fm a:hover { color: var(--fm-accent); }

.fm-cta {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
    background: linear-gradient(135deg, #294940, #1d3830); border: 1px solid var(--fm-line); border-radius: 28px;
    padding: 32px 36px; margin-bottom: 56px; box-shadow: 0 24px 50px rgba(0, 0, 0, .25);
}
.fm-cta-title { font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -0.02em; line-height: 1.15; }
.fm-cta p { margin: .5rem 0 0; color: var(--fm-muted); }
.fm-cta-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.fm-btn {
    display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.3rem; border-radius: 999px; font-weight: 700;
    border: 2px solid transparent; transition: transform .15s ease, background-color .2s ease, color .2s ease;
}
.fm-btn:hover { transform: translateY(-2px); }
.fm .fm-btn-accent { background: var(--fm-accent); color: #1b1b1b; }
.fm .fm-btn-accent:hover { color: #1b1b1b; }
.fm .fm-btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.fm .fm-btn-ghost:hover { background: #fff; color: #13201c; }

.fm-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr; gap: 32px; padding-bottom: 48px; }
.fm-brand p { color: var(--fm-muted); margin: 1rem 0 1.25rem; max-width: 300px; line-height: 1.6; font-size: .95rem; }
.fm-brand img { height: auto; }
.fm-social { display: flex; gap: .5rem; }
.fm-social a {
    width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .07);
    border: 1px solid var(--fm-line); font-size: 1.05rem;
}
.fm-social a:hover { background: var(--fm-accent); color: #1b1b1b; border-color: transparent; }
.fm-col { display: flex; flex-direction: column; gap: .65rem; font-size: .95rem; }
.fm-col a { color: var(--fm-muted); }
.fm-col a:hover { color: #fff; }
.fm-title { font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: .3rem; }
.fm .fm-contact { overflow-wrap: anywhere; display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-weight: 600; }
.fm .fm-contact i { color: var(--fm-accent); }
.fm-tech { display: flex; gap: .75rem; align-items: center; margin-top: .75rem; opacity: .85; }
.fm-tech img { height: auto; }

.fm-bottom { border-top: 1px solid var(--fm-line); padding: 20px 0; font-size: .88rem; color: var(--fm-muted); }
.fm-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; }
.fm-legal { display: flex; gap: 1.25rem; }
.fm-legal a { color: var(--fm-muted); }

@media (max-width: 991px) {
    .fm-grid { grid-template-columns: 1fr 1fr; }
    .fm-brand { grid-column: 1 / -1; }
}
@media (max-width: 575px) {
    .fm { padding-top: 40px; }
    .fm-cta { padding: 24px 20px; border-radius: 22px; margin-bottom: 40px; }
    .fm-cta-actions, .fm-cta-actions .fm-btn { width: 100%; justify-content: center; }
    .fm-grid { gap: 28px 20px; }
    .fm-col:last-child { grid-column: 1 / -1; }
}
