:root {
  --azul: #004bda;        /* azul da marca */
  --azul-escuro: #0038a8;
  --azul-claro: #1f66f0;
  --branco: #ffffff;
  --tinta: #0a1f4d;
  --papel: #f6f8fc;
  --linha: #d9e1ee;
  --texto-secundario: #485872;
  --fonte-interface: "Segoe UI", system-ui, sans-serif;
  --fonte: "Saira", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--fonte);
  color: var(--branco);
  background: var(--azul);
  position: relative;
  min-height: 100dvh;
  overflow-x: hidden;
}

/* A vela é o símbolo do próprio logotipo da Rede. */
.vela {
  display: block;
  width: 30px;
  aspect-ratio: 303 / 401;
  background: currentColor;
  mask: url("../imgs/logo-caicara-branco.png") center top / 100% auto no-repeat;
}

.assinatura {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--tinta);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -.045em;
  white-space: nowrap;
  text-decoration: none;
}

.assinatura .vela { color: var(--azul); }

@keyframes surgir {
  from { opacity: 0; transform: translateY(22px) scale(.97); }
  to { opacity: 1; transform: none; }
}

/* ===== Rodapé ===== */
.footer {
  background: var(--azul-escuro);
  padding: 28px 16px 20px;
}

.footer__inner {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__brand img { height: 84px; width: auto; flex: none; }
.footer__brand p { margin: 0; font-weight: 500; line-height: 1.35; max-width: 18ch; }

.footer__col { display: grid; gap: 4px; align-content: start; }

.footer__title {
  margin: 0 0 6px;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .75;
}

.footer__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  color: var(--branco);
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
}

.footer__link:hover { text-decoration: underline; }
.footer__link:focus-visible { outline: 3px solid var(--branco); outline-offset: 2px; }

.footer__copy {
  max-width: 720px;
  margin: 24px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .25);
  font-size: .8rem;
  opacity: .75;
}

@media (min-width: 760px) {
  .footer__inner { grid-template-columns: 1.3fr 1fr 1fr; }
}
