/* ============================================================
   Site chrome — header and footer, ported 1:1 from the hub's
   components/Header.module.css and components/Footer.module.css.
   Values are copied, not re-derived: this page should be
   indistinguishable from fintrender.com above and below the content.

   On migration this file is deleted and the page renders the hub's
   real <Header> / <Footer> React components instead.

   Two deliberate differences, both because this is a standalone
   deploy rather than a route inside the hub:
     - nav links are absolute to fintrender.com
     - no EN/PT toggle: the dashboard's own copy is English-only, so
       a language pill here would either do nothing or navigate the
       reader off the page. It comes back with the real Header.
   ============================================================ */

/* -- Header ------------------------------------------------- */
.hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
  gap: 28px;
}
.hdr .logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.hdr .mark { height: 27px; }
.hdr .word { height: 16px; }
.hdr img { display: block; }
.hdrNav {
  display: inline-flex;
  gap: 30px;
  margin-left: auto;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ft-cinza-04);
}
.hdrNav a {
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
  transition: border-color var(--dur-base) var(--ease-standard);
}
.hdrNav a:hover { border-bottom-color: var(--ft-cinza-04); }
.hdrEnd {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.pillCta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  background: var(--ft-azul);
  color: var(--ft-cinza-01);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: var(--tracking-tight);
  transition: background var(--dur-base) var(--ease-standard);
}
.pillCta:hover { background: var(--ft-azul-03); }
.pillCta::after { content: "↗"; }

@media (max-width: 680px) {
  .hdrNav { display: none; }
}

/* -- Footer ------------------------------------------------- */
.ft {
  background: var(--ft-cinza-04);
  color: var(--ft-cinza-01);
  margin-top: 96px;
}
.ftInner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 84px 60px 34px;
}
.ftGrid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(242, 242, 242, 0.16);
}
.ftBrand .logo { height: 20px; margin-bottom: 22px; }
.ftBrand p {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  color: rgba(242, 242, 242, 0.66);
  margin: 0;
  max-width: 40ch;
}
.sig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: var(--tracking-tight);
}
.sig::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ft-azul);
}
.ftCol h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: var(--tracking-tight);
  color: rgba(242, 242, 242, 0.5);
  font-weight: 400;
  margin: 0 0 16px;
}
.ftCol ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.ftCol li {
  font-family: var(--font-sans);
  font-size: 15px;
  color: rgba(242, 242, 242, 0.85);
}
.ftCol a {
  border-bottom: 1px solid transparent;
  transition: all var(--dur-fast, 120ms) var(--ease-standard);
  padding-bottom: 1px;
}
.ftCol a:hover {
  color: var(--ft-azul-04);
  border-bottom-color: var(--ft-azul-04);
}
.legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: var(--tracking-tight);
  color: rgba(242, 242, 242, 0.5);
}
/* Social + newsletter icons, right-aligned on the legal line. */
.legal .social { display: flex; align-items: center; gap: 20px; }
.legal .social a {
  display: inline-flex;
  color: rgba(242, 242, 242, 0.6);
  transition: color var(--dur-fast, 120ms) var(--ease-standard);
}
.legal .social a:hover { color: var(--ft-azul-04); }
.legal .social svg { width: 17px; height: 17px; display: block; fill: currentColor; }

/* The disclaimer is not part of the hub's footer - the hub has none. It sits
   between the link grid and the legal line so the site structure is untouched. */
.ftDisc {
  padding: 34px 0 0;
  border-bottom: 1px solid rgba(242, 242, 242, 0.16);
  padding-bottom: 30px;
}
.ftDisc h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: var(--tracking-tight);
  color: rgba(242, 242, 242, 0.5);
  font-weight: 400;
  margin: 0 0 14px;
  text-transform: uppercase;
}
.ftDisc p {
  font-size: 13px;
  line-height: 22px;
  color: rgba(242, 242, 242, 0.66);
  margin: 0 0 12px;
  max-width: 110ch;
}
.ftDisc b { color: var(--ft-cinza-01); font-weight: 500; }

@media (max-width: 1080px) {
  .ftGrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .ftInner { padding: 56px 24px 30px; }
  .ftGrid { grid-template-columns: 1fr; }
  .legal { flex-direction: column; gap: 14px; align-items: flex-start; }
}
