:root {
  --ink: #171612;
  --ink-2: #2a2924;
  --muted: #686157;
  --paper: #f8f6f1;
  --surface: #ffffff;
  --line: #e6dfd2;
  --gold: #8b6318;
  --gold-2: #e5d1a4;
  --blue: #255d8f;
  --rose: #b56576;
  --purple: #6e5aa8;
  --shadow: 0 18px 40px rgba(23, 22, 18, 0.1);
  font-family: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  margin: 0;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(184, 146, 75, 0.45);
  outline-offset: 4px;
}

.site-header {
  align-items: center;
  display: flex;
  height: 76px;
  justify-content: space-between;
  left: 0;
  padding: 0 40px;
  position: fixed;
  right: 0;
  top: 0;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
  z-index: 20;
}

.site-header.is-scrolled,
.site-header.nav-active {
  background: rgba(248, 246, 241, 0.92);
  border-bottom: 1px solid rgba(230, 223, 210, 0.78);
  color: var(--ink);
}

@supports (backdrop-filter: blur(18px)) {
  .site-header.is-scrolled,
  .site-header.nav-active {
    backdrop-filter: blur(18px);
  }
}

.brand {
  align-items: center;
  color: #fff;
  display: inline-flex;
  font-size: 20px;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0;
}

.site-header.is-scrolled .brand,
.site-header.nav-active .brand {
  color: var(--ink);
}

.brand-mark {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  height: 48px;
  justify-content: center;
  overflow: visible;
  width: 48px;
}

.brand-mark img {
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  transform: none;
  width: 100%;
}

.site-nav {
  align-items: center;
  color: rgba(255, 255, 255, 0.86);
  display: flex;
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
}

.site-header.is-scrolled .site-nav,
.site-header.nav-active .site-nav {
  color: var(--ink-2);
}

.site-nav a {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.nav-active .site-nav a:hover {
  background: rgba(184, 146, 75, 0.1);
}

.site-nav .nav-cta {
  background: var(--gold);
  color: #fff;
  margin-left: 8px;
}

.site-nav .nav-cta:hover {
  background: #a57f3b;
  color: #fff;
}

.menu-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  display: none;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.site-header.is-scrolled .menu-toggle,
.site-header.nav-active .menu-toggle {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.hero {
  align-items: center;
  display: grid;
  min-height: 76svh;
  overflow: hidden;
  padding: 116px 40px 72px;
  position: relative;
}

.hero-media {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center right;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.76) 32%, rgba(0, 0, 0, 0.35) 64%, rgba(0, 0, 0, 0.16) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.42));
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-content {
  color: #fff;
  max-width: 680px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 70px;
  line-height: 0.98;
  letter-spacing: 0;
  margin: 0;
  max-width: 670px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.5;
  margin: 24px 0 0;
  max-width: 610px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  gap: 10px;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--gold);
  color: #fff;
}

.button.primary:hover {
  background: #a57f3b;
}

.button.icon-button {
  border-radius: 999px;
  flex: 0 0 auto;
  min-width: 48px;
  padding: 0;
  width: 48px;
}

.button.whatsapp-button {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(37, 211, 102, 0.38);
  color: #25d366;
}

.button.whatsapp-button:hover {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.68);
  color: #25d366;
}

.button.whatsapp-button svg {
  fill: currentColor;
  height: 20px;
  width: 20px;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.button.secondary.light {
  border-color: rgba(255, 255, 255, 0.5);
}

.button.dark {
  background: var(--ink);
  color: #fff;
}

.button.dark:hover {
  background: #000;
}

.quick-access,
.method,
.leadership,
.visual-strip,
.cta {
  padding-left: 40px;
  padding-right: 40px;
}

.quick-access {
  background: var(--paper);
  padding-bottom: 82px;
  padding-top: 56px;
}

.section-heading {
  margin: 0 auto 34px;
  max-width: 820px;
  text-align: center;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.section-heading .eyebrow,
.leader-copy .eyebrow,
.cta .eyebrow {
  color: var(--gold);
}

.section-heading h2,
.method h2,
.leader-copy h2,
.cta h2 {
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: 0;
  margin: 0;
}

.section-heading p,
.leader-copy p,
.cta p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  margin: 18px auto 0;
  max-width: 760px;
}

.access-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.access-card {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(23, 22, 18, 0.05);
  display: grid;
  gap: 14px;
  grid-template-columns: 48px minmax(0, 1fr) 24px;
  min-height: 118px;
  padding: 20px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.access-card:hover {
  border-color: rgba(184, 146, 75, 0.55);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.card-icon {
  align-items: center;
  background: rgba(184, 146, 75, 0.13);
  border-radius: 8px;
  color: var(--gold);
  display: inline-flex;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.accent-blue {
  background: rgba(37, 93, 143, 0.11);
  color: var(--blue);
}

.accent-rose {
  background: rgba(181, 101, 118, 0.12);
  color: var(--rose);
}

.accent-gold {
  background: rgba(184, 146, 75, 0.14);
  color: var(--gold);
}

.accent-purple {
  background: rgba(110, 90, 168, 0.12);
  color: var(--purple);
}

.access-card strong,
.timeline h3,
.visual-strip h3 {
  display: block;
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1.25;
}

.access-card small {
  color: var(--muted);
  display: block;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 4px;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* ===============================
   Gaveta de crédito | dentro de #acessos
   =============================== */

/* O expansor é <button> e não <a> porque abre e fecha em vez de navegar.
   Estes resets são o que o <button> precisa para herdar o visual do .access-card */
.access-card.access-toggle {
  appearance: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  width: 100%;
}

.access-card.access-toggle[aria-expanded="true"] {
  border-color: rgba(184, 146, 75, 0.55);
  box-shadow: var(--shadow);
}

/* A gaveta ocupa a linha inteira da grade. O card de crédito é o 3º de 3 no
   desktop, então fecha a linha 1 e a gaveta cai exatamente embaixo dele.
   Fica display:none quando fechada para o gap de 14px da grade não sobrar. */
.access-drawer {
  display: none;
  grid-column: 1 / -1;
  height: 0;
  overflow: hidden;
  transition: height 440ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.drawer-inner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(23, 22, 18, 0.05);
  padding: 20px;
}

/* Linha dourada que se desenha da esquerda para a direita, mesmo idioma de
   motion do sublinhado do menu (.site-nav a::after) */
.drawer-rule {
  background: linear-gradient(90deg, var(--gold), rgba(184, 146, 75, 0));
  border-radius: 999px;
  display: block;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 560ms cubic-bezier(0.22, 0.61, 0.36, 1) 80ms;
}

.access-drawer.is-open .drawer-rule {
  transform: scaleX(1);
}

.drawer-lead {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 16px 0 12px;
  text-transform: uppercase;
}

.drawer-options {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.partner-option {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  border-radius: 8px;
  gap: 14px;
  grid-template-columns: 100px minmax(0, 1fr) 20px;
  min-height: 88px;
  opacity: 0;
  padding: 14px;
  transform: translateY(16px) scale(0.985);
  transition:
    opacity 420ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 180ms ease,
    box-shadow 180ms ease;
}

/* Entram em sequência, não juntos: o olho lê uma opção depois a outra */
.access-drawer.is-open .partner-option {
  opacity: 1;
  transform: none;
}

.access-drawer.is-open .partner-option:nth-child(1) {
  transition-delay: 150ms;
}

.access-drawer.is-open .partner-option:nth-child(2) {
  transition-delay: 225ms;
}

.access-drawer.is-open .partner-option:hover {
  border-color: rgba(184, 146, 75, 0.55);
  box-shadow: 0 10px 26px rgba(23, 22, 18, 0.08);
  transform: translateY(-2px);
}

/* Placa idêntica para os dois logos: o do Itaú é um símbolo quadrado e o da
   CashMe é um wordmark deitado, então quem iguala é a placa, não a imagem */
.partner-plate {
  align-items: center;
  background: var(--surface);
  border: 1px solid rgba(229, 209, 164, 0.6);
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(23, 22, 18, 0.08);
  display: flex;
  height: 48px;
  justify-content: center;
  padding: 6px 10px;
  width: 100px;
}

.partner-plate img {
  height: auto;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.partner-copy strong {
  display: block;
  font-size: 15px;
  letter-spacing: 0;
  line-height: 1.3;
}

.partner-copy small {
  color: var(--muted);
  display: block;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 4px;
}

.drawer-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  margin: 14px 0 0;
}

.solutions-marquee {
  background: var(--ink);
  border-bottom: 1px solid rgba(184, 146, 75, 0.35);
  border-top: 1px solid rgba(184, 146, 75, 0.22);
  overflow-x: clip;
}

.marquee-viewport {
  align-items: center;
  display: flex;
  height: 108px;
  overflow: hidden;
}

.marquee-track {
  align-items: center;
  animation: solutions-marquee 48s linear infinite;
  display: flex;
  width: max-content;
  will-change: transform;
}

.marquee-group {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.marquee-group li {
  color: rgba(229, 209, 164, 0.62); /* fallback: --gold-2 a 62% */
  color: color-mix(in srgb, var(--gold-2) 62%, transparent);
  flex-shrink: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  padding: 0 42px;
  position: relative;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-group li::after {
  background: rgba(184, 146, 75, 0.5);
  content: "";
  height: 5px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(50%, -50%) rotate(45deg);
  width: 5px;
}

/* Emenda do loop: separador entre grupos vem do ::before do primeiro item,
   não do ::after do último — mantém o conteúdo do track exatamente periódico */
.marquee-group li:last-child::after {
  content: none;
}

.marquee-group li:first-child::before {
  background: rgba(184, 146, 75, 0.5);
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 5px;
}

@media (hover: hover) and (pointer: fine) {
  .marquee-group li {
    transition: color 0.4s ease;
  }

  .solutions-marquee:hover .marquee-group li {
    color: rgba(229, 209, 164, 0.75); /* fallback: --gold-2 a 75% */
    color: color-mix(in srgb, var(--gold-2) 75%, transparent);
  }
}

@keyframes solutions-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.visual-strip h3 {
  font-size: 26px;
  margin: 0;
}

.timeline p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 12px 0 0;
}

.method {
  background: #f1eee6;
  padding-bottom: 90px;
  padding-top: 90px;
}

.timeline {
  counter-reset: method;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0 auto;
  max-width: 1180px;
  padding: 0;
}

.timeline li {
  background: var(--surface);
  border: 1px solid var(--line);
  min-height: 250px;
  padding: 26px;
}

.timeline li:first-child {
  border-radius: 8px 0 0 8px;
}

.timeline li:last-child {
  border-radius: 0 8px 8px 0;
}

.timeline span {
  color: var(--gold);
  display: block;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 34px;
}

.timeline h3 {
  margin: 0;
}

.leadership {
  align-items: center;
  background: #fff;
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1fr);
  padding-bottom: 96px;
  padding-top: 96px;
}

.leader-photo {
  justify-self: end;
  max-width: 510px;
  position: relative;
  width: 100%;
}

.leader-photo img {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  height: auto;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.leader-copy {
  max-width: 650px;
}

.leader-copy p {
  margin-left: 0;
}

.leader-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 28px;
}

.leader-points span {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-2);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
}

.leader-points svg {
  color: var(--gold);
}

.visual-strip {
  background: var(--ink);
  display: grid;
  gap: 1px;
  grid-template-columns: 1.05fr 0.95fr 0.75fr 0.75fr;
  padding-bottom: 1px;
  padding-top: 1px;
}

.visual-strip .strip-card {
  color: #fff;
  display: block;
  isolation: isolate;
  min-height: 430px;
  overflow: hidden;
  position: relative;
}

.visual-strip .strip-media {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform 700ms ease;
  width: 100%;
}

.visual-strip .visual-card-link:hover .strip-media {
  transform: scale(1.035);
}

/* Os cards de parceiro nao tem .strip-media para escalar: quem responde ao
   hover e a placa clara com o logo, no mesmo tempo e escala das fotos */
.itau-logo-panel::before,
.cashme-logo-panel::before,
.itau-logo,
.cashme-logo {
  transition: transform 700ms ease;
}

.visual-strip .visual-card-link:hover .itau-logo-panel::before,
.visual-strip .visual-card-link:hover .cashme-logo-panel::before,
.visual-strip .visual-card-link:hover .itau-logo,
.visual-strip .visual-card-link:hover .cashme-logo {
  transform: scale(1.035);
}

.visual-strip .visual-card-static {
  cursor: default;
}

.strip-investments .strip-media {
  object-position: 52% 56%;
}

/* 58% e nao 52%: com a faixa em 4 colunas o card estreitou e o 52% cortava a
   borda direita da capa da revista. Deslocar a janela para a direita recupera
   a capa inteira e sacrifica so parede de madeira do lado esquerdo. */
.strip-recognition .strip-media {
  object-position: 58% 44%;
}

.visual-strip .strip-card::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.82)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.04));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.visual-strip .strip-copy {
  bottom: 0;
  color: #fff;
  left: 0;
  padding: 26px;
  position: absolute;
  right: 0;
  z-index: 2;
}

.visual-strip span {
  color: var(--gold-2);
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.visual-strip h3 {
  max-width: 430px;
}

.visual-strip a.strip-card:focus-visible {
  outline-offset: -8px;
}

.strip-itau {
  background:
    radial-gradient(circle at 50% 34%, rgba(245, 130, 32, 0.23), transparent 34%),
    linear-gradient(145deg, #17120d 0%, #070706 100%);
}

/* Mesma receita do card do Itaú, com o brilho na cor da marca do parceiro */
.strip-cashme {
  background:
    radial-gradient(circle at 50% 34%, rgba(24, 84, 255, 0.26), transparent 34%),
    linear-gradient(145deg, #0d1017 0%, #070706 100%);
}

.strip-itau::after,
.strip-cashme::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.74)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent);
}

.itau-logo-panel,
.cashme-logo-panel {
  align-items: center;
  display: flex;
  inset: 42px 30px 126px;
  justify-content: center;
  position: absolute;
  z-index: 1;
}

.itau-logo-panel::before,
.cashme-logo-panel::before {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(229, 209, 164, 0.38);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  content: "";
  position: absolute;
  width: min(76%, 250px);
}

/* O logo da CashMe é um wordmark (928x177), não um símbolo quadrado como o do
   Itaú: a placa clara precisa ser larga e baixa para o logo não ficar minúsculo */
.cashme-logo-panel::before {
  aspect-ratio: 2.4;
  width: min(88%, 240px);
}

.itau-logo {
  height: auto;
  max-height: 178px;
  object-fit: contain;
  position: relative;
  width: min(56%, 178px);
  z-index: 1;
}

.cashme-logo {
  height: auto;
  object-fit: contain;
  position: relative;
  width: min(72%, 186px);
  z-index: 1;
}

.cta {
  align-items: center;
  background: #14120e;
  color: #fff;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding-bottom: 72px;
  padding-top: 72px;
}

.cta > div:first-child {
  max-width: 760px;
}

.cta .eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.cta p {
  color: rgba(255, 255, 255, 0.82);
  margin-left: 0;
}

.cta-actions {
  justify-content: flex-end;
  margin-top: 0;
}

svg {
  flex: 0 0 auto;
  height: 20px;
  width: 20px;
}

@media (max-width: 1040px) {
  .site-header {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero,
  .quick-access,
  .method,
  .leadership,
  .visual-strip,
  .cta {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .marquee-viewport {
    height: 88px;
  }

  .marquee-track {
    animation-duration: 42s;
  }

  .marquee-group li {
    font-size: 22px;
    padding: 0 32px;
  }

  .access-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Em 2 colunas o card de crédito seria o 1º da linha 2 e a gaveta abriria um
     buraco ao lado dele. Ocupando a linha inteira, a gaveta encosta nele. */
  .access-card.access-toggle {
    grid-column: 1 / -1;
  }

  .leadership,
  .cta {
    grid-template-columns: 1fr;
  }

  .leader-photo {
    justify-self: start;
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline li:first-child,
  .timeline li:last-child {
    border-radius: 0;
  }

  .timeline li:nth-child(1) {
    border-radius: 8px 0 0 0;
  }

  .timeline li:nth-child(2) {
    border-radius: 0 8px 0 0;
  }

  .timeline li:nth-child(3) {
    border-radius: 0 0 0 8px;
  }

  .timeline li:nth-child(4) {
    border-radius: 0 0 8px 0;
  }

  .visual-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visual-strip .strip-card {
    min-height: 360px;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 68px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    height: 44px;
    width: 44px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    align-items: stretch;
    background: rgba(248, 246, 241, 0.98);
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    display: none;
    flex-direction: column;
    gap: 4px;
    left: 0;
    padding: 84px 16px 18px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: -1;
  }

  .site-header.nav-active .site-nav {
    display: flex;
  }

  .site-nav a {
    min-height: 48px;
  }

  .site-nav .nav-cta {
    margin-left: 0;
  }

  .hero,
  .quick-access,
  .method,
  .leadership,
  .visual-strip,
  .cta {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    min-height: 78svh;
    padding-bottom: 52px;
    padding-top: 112px;
  }

  .hero-media {
    object-position: 66% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.74) 52%, rgba(0, 0, 0, 0.38) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.5));
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1.04;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    align-items: center;
    flex-direction: row;
  }

  .hero-actions .button:not(.icon-button) {
    width: auto;
  }

  .hero-actions .icon-button {
    width: 48px;
  }

  .quick-access {
    padding-bottom: 60px;
    padding-top: 42px;
  }

  .method,
  .leadership {
    padding-bottom: 66px;
    padding-top: 66px;
  }

  .marquee-viewport {
    height: 74px;
  }

  .marquee-track {
    animation-duration: 36s;
  }

  .marquee-group li {
    font-size: 18px;
    padding: 0 24px;
  }

  .section-heading {
    text-align: left;
  }

  .section-heading h2,
  .method h2,
  .leader-copy h2,
  .cta h2 {
    font-size: 34px;
  }

  .section-heading p,
  .leader-copy p,
  .cta p {
    font-size: 16px;
  }

  .access-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .access-card {
    grid-template-columns: 46px minmax(0, 1fr) 22px;
    min-height: 108px;
    padding: 16px;
  }

  .drawer-inner {
    padding: 16px;
  }

  .drawer-options {
    grid-template-columns: 1fr;
  }

  /* A placa ao lado do texto deixaria ~128px de linha a 360px, e o titulo
     quebraria em 4 linhas. Empilhada, o texto ganha a largura toda. */
  .partner-option {
    align-items: start;
    gap: 12px 12px;
    grid-template-columns: minmax(0, 1fr) 20px;
  }

  .partner-plate {
    grid-column: 1 / -1;
  }

  .visual-strip h3 {
    font-size: 23px;
  }

  .timeline li,
  .timeline li:first-child,
  .timeline li:last-child,
  .timeline li:nth-child(1),
  .timeline li:nth-child(2),
  .timeline li:nth-child(3),
  .timeline li:nth-child(4) {
    border-radius: 8px;
    min-height: 220px;
  }

  .leadership {
    gap: 34px;
  }

  .leader-photo {
    max-width: none;
  }

  .leader-points {
    align-items: stretch;
    flex-direction: column;
  }

  .leader-points span {
    min-height: 44px;
  }

  .visual-strip {
    grid-template-columns: 1fr;
    padding-left: 0;
    padding-right: 0;
  }

  .visual-strip .strip-card {
    min-height: 330px;
  }

  .visual-strip .strip-copy {
    padding: 22px 18px;
  }

  .visual-strip .strip-card::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.88)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.42), transparent);
  }

  .itau-logo-panel,
  .cashme-logo-panel {
    inset: 32px 22px 116px;
  }

  .itau-logo-panel::before,
  .cashme-logo-panel::before {
    width: min(70%, 210px);
  }

  .cashme-logo-panel::before {
    width: min(84%, 230px);
  }

  .itau-logo {
    max-height: 148px;
    width: min(52%, 148px);
  }

  .cashme-logo {
    width: min(68%, 176px);
  }

  .cta {
    padding-bottom: 56px;
    padding-top: 56px;
  }

}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 38px;
  }

  .section-heading h2,
  .method h2,
  .leader-copy h2,
  .cta h2 {
    font-size: 30px;
  }

  .access-card strong,
  .timeline h3 {
    font-size: 17px;
  }

  .marquee-group li {
    font-size: 17px;
    padding: 0 20px;
  }
}

/* ===============================
   Footer | Servidor Público Replica
   =============================== */

.site-footer {
  padding: 64px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #050505;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site-footer .footer-inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(130px, 0.42fr) minmax(330px, 1fr) minmax(260px, 0.72fr);
  gap: 34px 30px;
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.footer-brand {
  display: flex;
  gap: 14px;
}

.footer-mark {
  flex: 0 0 auto;
}

.site-footer .brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #050505;
  border: 1px solid rgba(199, 155, 67, 0.25);
  overflow: hidden;
}

.site-footer .brand-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 0;
}

.footer-brand strong {
  display: block;
  font-size: 1.1rem;
}

.footer-brand p,
.footer-bottom p {
  margin: 8px 0 0;
  color: #9f9687;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-links a,
.footer-contact a {
  color: #d8d1c3;
  font-size: 0.95rem;
  line-height: 1.2;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-contact a svg,
.footer-contact a i {
  flex: 0 0 auto;
  color: #e3c477;
  width: 18px;
  height: 18px;
  transform: translateY(1px);
}

.footer-credentials {
  align-content: start;
  padding: 18px;
  border: 1px solid rgba(199, 155, 67, 0.24);
  border-radius: 8px;
  background: rgba(199, 155, 67, 0.07);
}

.footer-credentials strong {
  display: block;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 0.95rem;
}

.footer-credentials p {
  margin: 6px 0 0;
  color: #d8d1c3;
  font-size: 0.9rem;
  line-height: 1.35;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #e3c477;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 1040px) {
  .site-footer .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-footer .footer-inner {
    width: min(100% - 32px, 1180px);
    grid-template-columns: 1fr;
  }

  .footer-links a,
  .footer-contact a {
    min-height: 44px;
    padding-block: 10px;
  }

  .footer-contact a,
  .footer-links a {
    display: inline-flex;
    align-items: center;
  }

  .footer-brand {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .footer-links a,
  .footer-contact a {
    transition: color 0.25s ease, transform 0.25s ease;
  }

  .footer-links a:hover,
  .footer-contact a:hover {
    transform: translateX(3px);
  }
}

/* ===============================
   Motion V8 | TSW
   Somente animações e microinterações.
   Nada de estrutura, texto ou link.
   =============================== */

/* Entrada cinematográfica do hero */
@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroMediaSettle {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}

.hero-media {
  animation: heroMediaSettle 2.2s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  will-change: transform;
}

.hero-content > .eyebrow {
  animation: heroRise 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s both;
}

.hero-content > h1 {
  animation: heroRise 1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.3s both;
}

.hero-content > .hero-copy {
  animation: heroRise 1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.5s both;
}

.hero-content > .hero-actions {
  animation: heroRise 1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.68s both;
}

/* Revelação ao rolar (classes aplicadas via script) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* CTAs com brilho dourado sutil */
.button.primary,
.site-nav .nav-cta {
  position: relative;
  overflow: hidden;
}

.button.primary::after,
.site-nav .nav-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.35) 50%, transparent 68%);
  transform: translateX(-120%);
  transition: transform 0.65s ease;
}

.button.primary:hover::after,
.site-nav .nav-cta:hover::after {
  transform: translateX(120%);
}

.button.primary:hover {
  box-shadow: 0 14px 34px rgba(184, 146, 75, 0.35);
}

.button.dark:hover {
  box-shadow: 0 14px 30px rgba(23, 22, 18, 0.28);
}

/* Cards de acesso: ícone e seta respondem ao hover */
.access-card .card-icon,
.access-card > i,
.access-card > svg {
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), background 0.35s ease;
}

.access-card:hover .card-icon {
  transform: translateY(-2px) scale(1.06);
}

.access-card:hover > i,
.access-card:hover > svg {
  transform: translate(3px, -3px);
}

/* O chevron do expansor gira em vez de sair para fora: ele não navega.
   Os seletores levam .access-card junto para vencer a regra de hover acima,
   que empataria em especificidade; e duplicam i/svg porque o
   lucide.createIcons() substitui o <i> por <svg> em runtime */
.access-card.access-toggle > i,
.access-card.access-toggle > svg {
  transition: transform 340ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.access-card.access-toggle:hover > i,
.access-card.access-toggle:hover > svg {
  transform: translateY(2px);
}

.access-card.access-toggle[aria-expanded="true"] > i,
.access-card.access-toggle[aria-expanded="true"] > svg,
.access-card.access-toggle[aria-expanded="true"]:hover > i,
.access-card.access-toggle[aria-expanded="true"]:hover > svg {
  transform: rotate(180deg);
}

/* A gaveta é a única animação grande da página; quem pede menos movimento
   recebe a troca de estado sem o percurso */
@media (prefers-reduced-motion: reduce) {
  .access-drawer,
  .drawer-rule,
  .partner-option,
  .access-card.access-toggle > i,
  .access-card.access-toggle > svg {
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }
}

/* Serviços e método: elevação leve */
.timeline li {
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline li:hover {
  border-color: rgba(184, 146, 75, 0.5);
  box-shadow: 0 14px 34px rgba(23, 22, 18, 0.08);
  transform: translateY(-3px);
}

/* Liderança: foto ganha profundidade no hover */
.leader-photo img {
  transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.5s ease;
}

.leader-photo:hover img {
  box-shadow: 0 26px 60px rgba(23, 22, 18, 0.18);
  transform: scale(1.015);
}

.leader-points span {
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.leader-points span:hover {
  border-color: rgba(184, 146, 75, 0.55);
  transform: translateY(-2px);
}

/* Menu: sublinhado dourado que cresce */
.site-nav a:not(.nav-cta) {
  position: relative;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.55;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.site-nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}


