/* ============================================================
   COMPONENT: Footer
   Sitemap: 07 — Footer · Logo · Redes Sociais · Créditos
   Extra bottom padding to clear WhatsApp float
   ============================================================ */

footer {
  background: var(--bg-deep);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 60px var(--section-pad-x) 32px;
  /* Extra bottom clearance for WhatsApp float button */
  padding-bottom: calc(32px + var(--safe-bottom));
}

.footer-in { max-width: var(--max-w); margin: 0 auto; }

.ftop {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 28px;
}

.flogo { display: flex; align-items: center; gap: 8px; margin-bottom: 13px; text-decoration: none; }

.flogo-i {
  width: 36px; height: 36px; background: var(--orange); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.flogo-i svg { width: 20px; height: 20px; fill: #fff; }
.flogo-t { font-size: 18px; font-weight: 800; color: #fff; letter-spacing: -.02em; }

.ftagline { font-size: 14px; color: var(--text-muted); line-height: 1.65; max-width: 280px; margin-bottom: 18px; }

.fsocial { display: flex; gap: 9px; }

.socbtn {
  width: var(--touch-min); height: var(--touch-min);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 18px; transition: background .2s, border-color .2s, transform .2s;
}
.socbtn:hover { background: var(--orange-dim); border-color: rgba(255,73,0,0.38); transform: translateY(-3px); }

@media (hover: none) {
  .socbtn:hover { transform: none; }
  .socbtn:active { background: var(--orange-dim); border-color: var(--orange-border); }
}

.fcol-t { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #555; margin-bottom: 16px; }

.flinks { display: flex; flex-direction: column; gap: 9px; }
.flinks a {
  font-size: 14px; color: var(--text-muted); text-decoration: none; transition: color .2s;
  min-height: var(--touch-min); display: inline-flex; align-items: center;
}
.flinks a:hover { color: var(--orange); }

.fci { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 11px; }
.fci-ico { font-size: 15px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.fci-txt { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.fci-txt a { color: var(--text-muted); text-decoration: none; min-height: 28px; display: inline-flex; align-items: center; }
.fci-txt a:hover { color: var(--orange); }

.fbot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.fcopy { font-size: 12px; color: var(--text-faint); }
.fcopy span { color: var(--orange); }

.fbadge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,73,0,0.07); border: 1px solid rgba(255,73,0,0.2);
  border-radius: 100px; padding: 5px 12px; font-size: 11px; color: #FF7744;
}

/* ── Tablet/Mobile ───────────────────────────────────────── */
@media (max-width: 900px) {
  .ftop { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 768px) {
  footer {
    /* Extra padding so WhatsApp float doesn't cover last content */
    padding-bottom: calc(100px + var(--safe-bottom));
  }
  .fbot {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .ftagline {
    font-size: 13px;
  }
  .fsocial {
    gap: 8px;
  }
}
