/* =========================================================
   MEDFOCO • RODAPÉ DO SITE  ([medfoco_rodape])
   Todas as regras ficam dentro de .medfoco-footer (prefixo mfoot-),
   para não atingir nada fora do rodapé.
   ========================================================= */
.medfoco-footer {
  --mfoot-teal: #2dd4df;
  --mfoot-teal-2: #0f9ea8;
  --mfoot-head: #7fdfe8;
  --mfoot-link: rgba(226, 236, 247, 0.76);
  --mfoot-text: rgba(214, 226, 240, 0.72);
  --mfoot-line: rgba(255, 255, 255, 0.1);

  position: relative;
  overflow: hidden;
  padding: 0 24px;
  background: linear-gradient(135deg, #081a31 0%, #0e2a4d 55%, #123763 130%);
  color: var(--mfoot-text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.medfoco-footer *,
.medfoco-footer *::before,
.medfoco-footer *::after { box-sizing: border-box; }

/* Faixa colorida no topo e brilhos sutis */
.medfoco-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--mfoot-teal-2), #1d4ed8);
}
.medfoco-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(560px 320px at 8% -8%, rgba(15, 158, 168, 0.18), transparent 60%),
    radial-gradient(520px 340px at 96% 8%, rgba(37, 99, 235, 0.18), transparent 60%);
}

.medfoco-footer .mfoot-wrap { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 56px 0 0; }

.medfoco-footer .mfoot-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr));
  gap: 30px 30px;
  padding-bottom: 44px;
}

/* Marca */
.medfoco-footer .mfoot-logo { display: block; width: 205px; max-width: 100%; height: auto; margin-bottom: 20px; }
.medfoco-footer .mfoot-brand p { max-width: 340px; margin: 0 0 22px; color: var(--mfoot-text); font-size: 14px; line-height: 1.75; }
.medfoco-footer .mfoot-social { display: flex; flex-wrap: wrap; gap: 10px; }
.medfoco-footer .mfoot-social a {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mfoot-line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--mfoot-teal) !important;
  font-size: 18px;
  text-decoration: none !important;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.medfoco-footer .mfoot-social a:hover {
  transform: translateY(-3px);
  border-color: transparent;
  background: linear-gradient(135deg, var(--mfoot-teal-2), #1d4ed8);
  color: #fff !important;
}

/* Colunas de links */
.medfoco-footer .mfoot-col { display: flex; flex-direction: column; align-items: flex-start; }
.medfoco-footer .mfoot-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--mfoot-head);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  line-height: 1.3;
  text-transform: uppercase;
}
.medfoco-footer .mfoot-title i { color: var(--mfoot-teal); font-size: 15px; }
.medfoco-footer .mfoot-col a {
  position: relative;
  max-width: 100%;
  margin-bottom: 13px;
  padding-left: 16px;
  color: var(--mfoot-link) !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none !important;
  transition: color 0.2s ease, transform 0.2s ease;
}
.medfoco-footer .mfoot-col a::before {
  content: "›";
  position: absolute;
  top: -1px;
  left: 0;
  color: var(--mfoot-teal);
  font-size: 16px;
  font-weight: 700;
}
.medfoco-footer .mfoot-col a:hover { color: #fff !important; transform: translateX(3px); }
.medfoco-footer .mfoot-col a:focus-visible,
.medfoco-footer .mfoot-social a:focus-visible { outline: 2px solid var(--mfoot-teal); outline-offset: 3px; border-radius: 6px; }

/* Rodapé inferior */
.medfoco-footer .mfoot-bottom { padding: 22px 0 28px; border-top: 1px solid var(--mfoot-line); text-align: center; }
.medfoco-footer .mfoot-disclaimer { max-width: 760px; margin: 0 auto 12px; color: rgba(178, 196, 218, 0.75); font-size: 12px; line-height: 1.6; }
.medfoco-footer .mfoot-disclaimer i { margin-right: 4px; color: var(--mfoot-teal); }
.medfoco-footer .mfoot-copy { margin: 0 0 4px; color: rgba(226, 236, 247, 0.82); font-size: 13.5px; font-weight: 500; }
.medfoco-footer .mfoot-legal { margin: 0; color: rgba(178, 196, 218, 0.6); font-size: 12px; line-height: 1.6; }
.medfoco-footer .mfoot-legal strong { color: rgba(214, 226, 240, 0.85); font-weight: 700; }

/* ===================== RESPONSIVO ===================== */
/* Notebook: marca em cima, 4 colunas embaixo */
@media (max-width: 1080px) {
  .medfoco-footer .mfoot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 26px; }
  .medfoco-footer .mfoot-brand { grid-column: 1 / -1; }
  .medfoco-footer .mfoot-brand p { max-width: 600px; }
}
/* Celular: links em 2 colunas */
@media (max-width: 680px) {
  .medfoco-footer { padding: 0 20px; }
  .medfoco-footer .mfoot-wrap { padding-top: 44px; }
  .medfoco-footer .mfoot-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; padding-bottom: 34px; }
  .medfoco-footer .mfoot-logo { width: 185px; }
  .medfoco-footer .mfoot-col a:hover { transform: none; }
}
@media (max-width: 380px) {
  .medfoco-footer .mfoot-col a { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .medfoco-footer * { transition: none !important; }
}
.medfoco-footer .mfoot-legal a { color: rgba(214, 226, 240, 0.85) !important; text-decoration: none !important; }
.medfoco-footer .mfoot-legal a:hover { color: #fff !important; }
