/* =========================================================================
   SOMOS OPENBANKING | Design System
   Identidade: preto #000000 + amarelo #FBCD09 (extraidos do simbolo oficial)
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;800&display=swap');

/* ---------------------------------------------------------------- Tokens */
:root {
  /* Marca */
  --brand: #fbcd09;
  --brand-hi: #ffe15c;
  --brand-lo: #d4ab04;
  --brand-ink: #120e00;

  /* Superficies */
  --bg: #08080a;
  --bg-alt: #0e0e12;
  --surface: #141419;
  --surface-2: #1b1b22;
  --surface-3: #22222b;

  /* Linhas */
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --line-brand: rgba(251, 205, 9, 0.32);

  /* Texto */
  --text: #ffffff;
  --text-2: #b2b2bd;
  --text-3: #77777f;

  /* Tipografia */
  --font-display: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Raios (cantos discretos, leitura mais premium) */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 10px;
  --r-xl: 14px;
  --r-pill: 999px;

  /* Sombras */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 18px 40px -18px rgba(0, 0, 0, 0.8);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
  --glow: 0 0 0 1px rgba(251, 205, 9, 0.25), 0 18px 50px -14px rgba(251, 205, 9, 0.35);

  /* Layout */
  --container: 1560px;
  --container-wide: 1880px;   /* header e hero quase encostam na borda */
  --gutter: clamp(18px, 4.5vw, 76px);
  --section-y: clamp(72px, 9vw, 132px);
  --header-h: 92px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ------------------------------------------------------------------ Base */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

/* Um display explicito no CSS vence o atributo hidden do HTML: sem isto,
   elementos marcados como hidden pelo JS continuam aparecendo. */
[hidden] { display: none !important; }

img { height: auto; }

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.022em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection {
  background: var(--brand);
  color: #000;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 999;
  background: var(--brand);
  color: #000;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--r-xs);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

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

/* -------------------------------------------------------------- Tipo escala */
.display {
  font-size: clamp(2.7rem, 6.2vw, 4.9rem);
  font-weight: 200;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 250; letter-spacing: -0.028em; }
.h2 { font-size: clamp(2rem, 3.9vw, 3.2rem); font-weight: 300; letter-spacing: -0.026em; }
.h3 { font-size: clamp(1.35rem, 2.1vw, 1.75rem); font-weight: 500; letter-spacing: -0.018em; }
.h4 { font-size: clamp(1.1rem, 1.5vw, 1.28rem); letter-spacing: -0.012em; font-weight: 600; }

/* .h2--light continua valendo como apelido do peso leve */
.h2--light { font-weight: 300; letter-spacing: -0.026em; }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.65;
  color: var(--text-2);
}

.muted { color: var(--text-2); }
.dim { color: var(--text-3); }
.yellow { color: var(--brand); }
.nowrap { white-space: nowrap; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.775rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--brand);
  flex: none;
}
.eyebrow.is-center { justify-content: center; }

/* ---------------------------------------------------------------- Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container.is-narrow { max-width: 860px; }

.section { padding-block: var(--section-y); position: relative; }
.section.is-alt { background: var(--bg-alt); }
.section.is-tight { padding-block: clamp(52px, 6vw, 84px); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }

.grid { display: grid; gap: clamp(18px, 2.2vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 22px; }

.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* --------------------------------------------------------------- Botoes */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--r-xs);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: -0.005em;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 0.22s var(--ease), background 0.22s var(--ease),
              box-shadow 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.75);
}
.btn:active { transform: translateY(0); }

.btn svg { flex: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: none;
}

.btn--dark {
  --btn-bg: #000;
  --btn-fg: #fff;
  border-color: rgba(0, 0, 0, 0.2);
}
.btn--dark:hover { box-shadow: 0 14px 32px -14px rgba(0, 0, 0, 0.7); }

.btn--sm { padding: 11px 20px; font-size: 0.875rem; }
.btn--lg { padding: 18px 38px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--brand);
}
.link-arrow svg { transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------------------------------------------------------------- Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: var(--r-xs);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-2);
}
.chip svg { color: var(--brand); flex: none; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-xs);
  background: rgba(251, 205, 9, 0.13);
  border: 1px solid var(--line-brand);
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------- Cards */
.card {
  position: relative;
  background: linear-gradient(180deg, var(--surface) 0%, #101015 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 2.6vw, 34px);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.card:hover { border-color: var(--line-strong); }

a.card:hover,
.card.is-interactive:hover {
  transform: translateY(-5px);
  border-color: var(--line-brand);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(251, 205, 9, 0.12);
  border: 1px solid var(--line-brand);
  color: var(--brand);
  margin-bottom: 22px;
}

.card__title { font-size: 1.22rem; margin-bottom: 10px; }
.card__text { color: var(--text-2); font-size: 0.97rem; margin-bottom: 0; }
.card__foot { margin-top: 22px; }

/* --------------------------------------------------------------- Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: rgba(8, 8, 10, 0.82);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom-color: var(--line);
}

.header__inner {
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 22px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  color: var(--brand);
}
.logo__mark { width: 48px; height: 48px; flex: none; }
.logo__mark svg { width: 100%; height: 100%; }
.logo__type { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--font-display);
  font-size: 1.62rem;
  font-weight: 800;
  letter-spacing: -0.012em;
  color: #fff;
}
.logo__sub {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 4px;
}

/* Nav */
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* <button> herda fundo e borda do navegador: zeramos para virar so texto */
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-2);
  transition: color 0.2s var(--ease);
}
.nav__link:hover,
.nav__link[aria-expanded='true'] { color: #fff; background: transparent; }
.nav__link.is-active { color: var(--brand); }
.nav__link svg { transition: transform 0.25s var(--ease); }
.nav__link[aria-expanded='true'] svg { transform: rotate(180deg); }

.nav__item { position: relative; }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  left: auto;
  width: min(560px, calc(100vw - 40px));
  background: #101015;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 14px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
}
.nav__item.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown__item {
  display: flex;
  gap: 13px;
  padding: 13px;
  border-radius: var(--r-sm);
  transition: background 0.2s var(--ease);
}
.dropdown__item:hover { background: rgba(255, 255, 255, 0.05); }
.dropdown__ico {
  width: 38px; height: 38px;
  flex: none;
  border-radius: 7px;
  display: grid; place-items: center;
  background: rgba(251, 205, 9, 0.12);
  color: var(--brand);
}
.dropdown__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.94rem;
  margin-bottom: 2px;
}
.dropdown__desc {
  display: block;
  font-size: 0.81rem;
  line-height: 1.45;
  color: var(--text-3);
}

.dropdown__foot {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding: 14px 13px 4px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.dropdown__foot .link-arrow { font-size: 0.88rem; }
.dropdown__cta { color: #fff; }
.dropdown__cta:hover { color: var(--brand); }

.burger {
  display: none;
  width: 46px; height: 46px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-items: center;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.burger span + span { margin-top: 5px; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer mobile */
.drawer {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  background: var(--bg);
  padding: 26px var(--gutter) 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.drawer.is-open { transform: translateX(0); }

.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
}
.drawer__link.is-active { color: var(--brand); }
.drawer__sub {
  padding: 4px 4px 16px;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 2px;
}
.drawer__sub a {
  padding: 10px 12px;
  border-radius: var(--r-xs);
  color: var(--text-2);
  font-size: 0.95rem;
}
.drawer__sub a:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.drawer__foot { margin-top: 22px; display: grid; gap: 12px; }

/* ----------------------------------------------------------------- Hero */
/* Imagem ocupa todo o topo (inclusive atras do header transparente).
   Degrade da esquerda para a direita mantem o texto legivel sobre a foto. */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(100vh, 1040px);
  min-height: min(100svh, 1040px);
  padding-top: calc(var(--header-h) + clamp(20px, 3vw, 44px));
  padding-bottom: clamp(40px, 6vw, 80px);
  background: #000;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 26%;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(0, 0, 0, 0.96) 0%,
      rgba(0, 0, 0, 0.93) 16%,
      rgba(0, 0, 0, 0.84) 28%,
      rgba(0, 0, 0, 0.66) 39%,
      rgba(0, 0, 0, 0.44) 49%,
      rgba(0, 0, 0, 0.25) 59%,
      rgba(0, 0, 0, 0.11) 69%,
      rgba(0, 0, 0, 0.03) 79%,
      rgba(0, 0, 0, 0) 88%),
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.18) 12%,
      rgba(0, 0, 0, 0) 34%,
      rgba(0, 0, 0, 0) 62%,
      rgba(9, 9, 12, 0.42) 82%,
      rgba(12, 12, 15, 0.86) 93%,
      #0b0b0e 100%);
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--container-wide);
}
.hero__copy { max-width: 50rem; }

/* Hierarquia da campanha: pergunta grande em amarelo, resposta em branco */
.hero__title { margin-bottom: 26px; }
.hero__title-q {
  display: block;
  font-size: clamp(1.85rem, 5.9vw, 5.2rem);
  font-weight: 200;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--brand);
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
}
.hero__title-a {
  display: block;
  margin-top: 16px;
  font-size: clamp(1.14rem, 1.75vw, 1.6rem);
  line-height: 1.34;
  letter-spacing: -0.015em;
  color: #fff;
  font-weight: 300;
}
.hero__text {
  max-width: 30em;
  margin-bottom: 30px;
  font-size: clamp(0.94rem, 1.05vw, 1.02rem);
  line-height: 1.68;
  color: #c2c2cd;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hero .chip {
  font-size: 0.78rem;
  padding: 7px 13px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* --------------------------------------------------------------- Marquee */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 30px;
  border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.42);
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}
.marquee__item:hover { color: rgba(255, 255, 255, 0.85); }
.marquee__item::before {
  content: '';
  width: 9px; height: 9px;
  border-radius: 3px;
  background: currentColor;
  opacity: 0.6;
  flex: none;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ----------------------------------------------------------------- Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat {
  background: var(--bg);
  padding: clamp(26px, 3vw, 40px) clamp(20px, 2.4vw, 32px);
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}
.stat__label { font-size: 0.92rem; color: var(--text-2); line-height: 1.5; }

/* ----------------------------------------------------------------- Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.4vw, 30px);
  counter-reset: step;
}
.step { position: relative; padding-top: 34px; }
.step::before {
  content: '';
  position: absolute;
  top: 15px; left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
.step::after {
  content: '';
  position: absolute;
  top: 10px; left: 0;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(251, 205, 9, 0.16);
}
.step__num {
  counter-increment: step;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--brand);
  margin-bottom: 12px;
  display: block;
}
.step__num::before { content: '0' counter(step); }
.step__title { font-size: 1.14rem; font-weight: 600; margin-bottom: 9px; }
.step__text { color: var(--text-2); font-size: 0.95rem; margin: 0; }

/* ------------------------------------------------------------- Solucoes */
.solution {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.solution__rate {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-3);
}
.solution__rate b {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.solution__foot { margin-top: auto; padding-top: 22px; }

/* ------------------------------------------------------------ Simulador */
.sim {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 3.4vw, 48px);
  background: linear-gradient(150deg, var(--surface) 0%, #0d0d11 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(26px, 3.4vw, 48px);
}

.sim__field { margin-bottom: 30px; }
.sim__field:last-of-type { margin-bottom: 0; }
.sim__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.sim__label span:first-child {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text-2);
}
.sim__value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  cursor: pointer;
  margin: 0;
}
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--brand);
  border: 4px solid #0d0d11;
  box-shadow: 0 0 0 1px var(--brand), 0 4px 12px rgba(0, 0, 0, 0.6);
  cursor: grab;
  transition: transform 0.15s var(--ease);
}
input[type='range']::-webkit-slider-thumb:active { transform: scale(1.12); cursor: grabbing; }
input[type='range']::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid #0d0d11;
  box-shadow: 0 0 0 1px var(--brand);
  cursor: grab;
}
.sim__scale {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.sim__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.sim__tab {
  padding: 9px 17px;
  border-radius: var(--r-xs);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-2);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.sim__tab:hover { border-color: var(--line-strong); color: #fff; }
.sim__tab.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #000;
}

.sim__result {
  background: #000;
  border: 1px solid var(--line-brand);
  border-radius: var(--r-lg);
  padding: clamp(24px, 2.8vw, 34px);
  display: flex;
  flex-direction: column;
}
.sim__result-label {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}
.sim__amount {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}
.sim__amount small { font-size: 0.36em; font-weight: 700; color: var(--text-3); letter-spacing: 0; }

.sim__rows { margin: 26px 0; display: grid; gap: 1px; background: var(--line); border-radius: var(--r-sm); overflow: hidden; }
.sim__row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 16px;
  background: #000;
  font-size: 0.9rem;
}
.sim__row span { color: var(--text-3); }
.sim__row b { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; }

.sim__note {
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--text-3);
  margin: 16px 0 0;
}
.sim__result .btn { margin-top: auto; }

/* ---------------------------------------------------------- Lista check */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.checklist li { display: flex; gap: 15px; }
.checklist svg {
  flex: none;
  width: 24px; height: 24px;
  color: var(--brand);
  margin-top: 2px;
}
.checklist b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.03rem;
  margin-bottom: 4px;
}
.checklist p { color: var(--text-2); font-size: 0.95rem; margin: 0; }

/* --------------------------------------------------------------- Figura */
.figure {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--tall { aspect-ratio: 3 / 4; }
.figure--wide { aspect-ratio: 16 / 10; }
.figure::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.5) 100%);
}

.figure__tag {
  position: absolute;
  z-index: 2;
  left: 22px; bottom: 22px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 14px 18px;
}
.figure__tag b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 4px;
}
.figure__tag span { font-size: 0.82rem; color: var(--text-2); }

/* ---------------------------------------------------------- Depoimentos */
.quote {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.quote__stars { display: flex; gap: 3px; color: var(--brand); margin-bottom: 18px; }
.quote__text {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 24px;
}
.quote__who { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.quote__who img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  border: 1px solid var(--line-strong);
}
.quote__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
}
.quote__meta { font-size: 0.82rem; color: var(--text-3); }

/* ------------------------------------------------------------- Faixa CTA */
.band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--brand);
  color: #000;
  padding: clamp(36px, 5vw, 68px);
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}
.band h2 { color: #000; margin-bottom: 14px; }
.band p { color: rgba(0, 0, 0, 0.72); margin-bottom: 0; }
.band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.band__deco {
  position: absolute;
  right: -70px; top: -70px;
  width: 340px;
  color: #000;
  opacity: 0.09;
  pointer-events: none;
}

.band--dark { background: var(--surface); color: #fff; border: 1px solid var(--line); }
.band--dark h2 { color: #fff; }
.band--dark p { color: var(--text-2); }
.band--dark .band__deco { color: var(--brand); opacity: 0.12; }

/* ------------------------------------------------------------------ Blog */
.post { display: flex; flex-direction: column; height: 100%; padding: 0; overflow: hidden; }
.post__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.post__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
a.post:hover .post__img img { transform: scale(1.06); }
.post__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-3);
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.post__meta i { font-style: normal; color: var(--brand); text-transform: uppercase; letter-spacing: 0.1em; }
.post__title { font-size: 1.15rem; line-height: 1.3; margin-bottom: 10px; }
.post__excerpt { color: var(--text-2); font-size: 0.93rem; margin-bottom: 20px; }
.post__more { margin-top: auto; }

/* ------------------------------------------------------------------ FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 26px 4px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s var(--ease);
}
.faq__q:hover { color: var(--brand); }
.faq__icon {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  position: relative;
  transition: all 0.25s var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.faq__icon::before { width: 13px; height: 2px; }
.faq__icon::after { width: 2px; height: 13px; }
.faq__q[aria-expanded='true'] .faq__icon {
  background: var(--brand);
  border-color: var(--brand);
  color: #000;
}
.faq__q[aria-expanded='true'] .faq__icon::after { transform: rotate(90deg); opacity: 0; }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.34s var(--ease);
}
.faq__q[aria-expanded='true'] + .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  color: var(--text-2);
  padding: 0 60px 26px 4px;
  margin: 0;
  max-width: 74ch;
}

/* ------------------------------------------------------------- Formulario */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { display: grid; gap: 8px; }
.field > label {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-2);
}
.field > label .req { color: var(--brand); }

.input,
.select,
.textarea {
  width: 100%;
  padding: 14px 17px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
  font-size: 0.98rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.input::placeholder,
.textarea::placeholder { color: #61616a; }
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(255, 255, 255, 0.055);
}
.textarea { resize: vertical; min-height: 128px; line-height: 1.6; }

.select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23b2b2bd' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}
.select option { background: #16161c; color: #fff; }

.checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.87rem;
  line-height: 1.55;
  color: var(--text-2);
  cursor: pointer;
}
.checkbox input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 21px; height: 21px;
  margin: 1px 0 0;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  position: relative;
}
.checkbox input:checked {
  background: var(--brand);
  border-color: var(--brand);
}
.checkbox input:checked::after {
  content: '';
  position: absolute;
  left: 6px; top: 2px;
  width: 6px; height: 11px;
  border: solid #000;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.checkbox a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

.form__error {
  font-size: 0.8rem;
  color: #ff7a7a;
  display: none;
}
.field.has-error .input,
.field.has-error .select { border-color: #ff7a7a; }
.field.has-error .form__error { display: block; }

.form__success {
  display: none;
  text-align: center;
  padding: clamp(30px, 4vw, 50px) 20px;
}
.form__success svg { color: var(--brand); margin: 0 auto 20px; }
/* Ancorado em .is-sent (e não em .form) para valer também no wizard,
   que usa .card .wizard em vez da classe .form. */
.is-sent .form__success { display: block; }
.is-sent .form__body { display: none; }

/* Steps do formulario */
.wizard__progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 34px;
}
.wizard__dot {
  flex: 1;
  height: 4px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.35s var(--ease);
}
.wizard__dot.is-done { background: var(--brand); }
.wizard__step { display: none; }
.wizard__step.is-active { display: block; animation: fadeUp 0.4s var(--ease); }
.wizard__nav { display: flex; gap: 12px; margin-top: 30px; }
.wizard__nav .btn { flex: 1; }

.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 18px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.94rem;
  transition: all 0.2s var(--ease);
}
.option:hover { border-color: var(--line-brand); background: rgba(255, 255, 255, 0.05); }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option svg { color: var(--text-3); flex: none; transition: color 0.2s var(--ease); }
.option:has(input:checked) {
  border-color: var(--brand);
  background: rgba(251, 205, 9, 0.09);
  color: #fff;
}
.option:has(input:checked) svg { color: var(--brand); }

/* -------------------------------------------------------- Cabecalho pagina */
.pagehead {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(48px, 6vw, 78px));
  padding-bottom: clamp(40px, 5vw, 66px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.pagehead__glow {
  position: absolute;
  width: 620px; height: 620px;
  left: 50%; top: -420px;
  translate: -50% 0;
  background: radial-gradient(circle, rgba(251, 205, 9, 0.14) 0%, rgba(251, 205, 9, 0) 66%);
  pointer-events: none;
}
/* Antes o inner limitava a 760px mas herdava o margin-inline:auto do
   .container, entao a coluna ficava centralizada enquanto o resto da pagina
   alinhava a esquerda. Agora ocupa a largura toda em duas colunas. */
/* Antes o inner limitava a 760px mas herdava o margin-inline:auto do
   .container, entao a coluna ficava centralizada enquanto o resto da pagina
   alinhava a esquerda. Agora o titulo usa a largura toda do container. */
.pagehead__inner { position: relative; }
.pagehead h1 {
  margin-bottom: 0;
  max-width: 26ch;          /* medida de leitura em corpo de display */
  text-wrap: balance;       /* distribui as linhas em vez de deixar uma orfa */
}
.pagehead p { margin-bottom: 0; }
.pagehead .hero__actions { margin-top: clamp(30px, 3.4vw, 42px); }

@media (max-width: 720px) {
  .pagehead h1 { max-width: none; }
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.83rem;
  color: var(--text-3);
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { opacity: 0.5; }

/* ---------------------------------------------------------------- Footer */
.footer {
  background: #050506;
  border-top: 1px solid var(--line);
  padding-top: clamp(56px, 6vw, 88px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(30px, 4vw, 56px);
  padding-bottom: clamp(44px, 5vw, 64px);
}
.footer__about { max-width: 34ch; }
.footer__about p { color: var(--text-2); font-size: 0.93rem; margin: 20px 0 24px; }

.footer__title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 20px;
}
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer__list a {
  color: var(--text-2);
  font-size: 0.93rem;
  transition: color 0.2s var(--ease);
}
.footer__list a:hover { color: var(--brand); }

.footer__contact { display: grid; gap: 16px; }
.footer__contact-item { display: flex; gap: 12px; font-size: 0.92rem; color: var(--text-2); }
.footer__contact-item svg { flex: none; color: var(--brand); margin-top: 3px; }
.footer__contact-item a:hover { color: var(--brand); }
.footer__contact-item b { display: block; color: #fff; font-weight: 600; }

.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--text-2);
  transition: all 0.2s var(--ease);
}
.socials a:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

.footer__legal {
  border-top: 1px solid var(--line);
  padding-block: 28px 34px;
}
.footer__disclaimer {
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--text-3);
  max-width: 92ch;
  margin-bottom: 22px;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-3);
}
.footer__bottom a:hover { color: var(--brand); }

/* -------------------------------------------------------------- WhatsApp */
.wa {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand);
  color: #000;
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.7);
  transition: transform 0.25s var(--ease);
}
.wa:hover { transform: scale(1.07); }

/* ------------------------------------------------------------ Animacoes */
/* Visível por padrão: só escondemos quando o JS confirma que vai animar,
   assim o conteúdo nunca some se o script falhar ou não carregar. */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ----------------------------------------------------------- Responsivo */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__media { max-width: 520px; }
  .hero__float { left: auto; right: -18px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; max-width: 48ch; }
  .sim { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  :root { --header-h: 80px; }
  .nav { display: none; }
  .burger { display: grid; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .split.is-reversed > *:first-child { order: 2; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .band { grid-template-columns: 1fr; }
  .band__actions { justify-content: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .grid-2,
  .grid-3,
  .grid-4,
  .steps { grid-template-columns: 1fr; }
  .form__row,
  .option-grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .hero__float { position: static; width: 100%; margin-top: 16px; }
  .hero__media { max-width: none; }
  .stats { grid-template-columns: 1fr; }
  .compare { overflow-x: auto; }
  .compare table { min-width: 560px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__about { max-width: none; }
  .faq__a p { padding-right: 10px; }
  .wa { right: 16px; bottom: 16px; }
  .marquee__track { gap: 38px; }
}

/* --------------------------------------------------------------- Helpers */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: clamp(30px, 4vw, 48px); }
.text-center { text-align: center; }
.full { grid-column: 1 / -1; }

/* =========================================================================
   Componentes das páginas internas
   ========================================================================= */

/* ------------------------------------------------- Navegação por âncoras */
.anchors-wrap {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(8, 8, 10, 0.86);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.anchors {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-block: 14px;
  scrollbar-width: none;
}
.anchors::-webkit-scrollbar { display: none; }
.anchors a {
  flex: none;
  padding: 9px 17px;
  border-radius: var(--r-xs);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
  transition: all 0.2s var(--ease);
}
.anchors a:hover { border-color: var(--brand); color: var(--brand); }

/* --------------------------------------------------- Especificações (K/V) */
.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-top: clamp(28px, 3.4vw, 40px);
}
.spec { background: var(--bg); padding: 16px 20px; }
.section.is-alt .spec { background: var(--bg-alt); }
.card .spec { background: var(--surface); }
.spec span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 5px;
  font-family: var(--font-display);
  font-weight: 600;
}
.spec b {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
}

/* --------------------------------------------------------- Página wizard */
.wizard fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.wizard legend { padding: 0; }

/* ------------------------------------------------------- Post em destaque */
.post--feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.post--feature .post__img { aspect-ratio: auto; height: 100%; min-height: 300px; }
.post--feature .post__body { padding: clamp(28px, 3.4vw, 48px); justify-content: center; }

/* -------------------------------------------- Ajustes finos do formulário */
.form .field + .btn,
.form .checkbox + .btn { margin-top: 6px; }
.band .form { max-width: 380px; width: 100%; justify-self: end; }
.band--dark .form__success svg { color: var(--brand); }

@media (max-width: 980px) {
  .post--feature { grid-template-columns: 1fr; }
  .post--feature .post__img { min-height: 220px; aspect-ratio: 16 / 9; }
  .band .form { max-width: none; justify-self: stretch; }
}

@media (max-width: 640px) {
  .specs { grid-template-columns: 1fr; }
}

/* Badge sobre fundo amarelo (faixa .band) */
.badge--ink {
  background: rgba(0, 0, 0, 0.86);
  border-color: rgba(0, 0, 0, 0.86);
  color: var(--brand);
}

/* =========================================================================
   Carrossel de solucoes (coverflow) + secao Conecte-se
   ========================================================================= */

/* .h2--light fica definido junto da escala tipografica, la em cima */
.section-head.is-center .lead { margin-inline: auto; max-width: 58ch; }

/* ---------------------------------------------------------- Coverflow */
.coverflow {
  --cf-w: clamp(248px, 26vw, 440px);
  --cf-foot: 76px;
  --cf-gap: 0.74;
  position: relative;
  margin-top: clamp(8px, 2vw, 20px);
}

.coverflow__stage {
  position: relative;
  height: calc(var(--cf-w) + var(--cf-foot));
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.coverflow__item {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--cf-w);
  transform: translate3d(-50%, 0, 0);
  transition: transform 0.62s var(--ease), opacity 0.5s var(--ease), filter 0.5s var(--ease);
}

.pcard {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface) 0%, #0c0c11 100%);
  box-shadow: var(--shadow-md);
}
/* O nome do produto ja vem impresso na imagem: o rodape leva so a acao */
.pcard__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.pcard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pcard__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, 0.35) 100%);
}
.pcard__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--cf-foot);
  border-top: 1px solid var(--line);
}
.pcard__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 26px;
  border-radius: var(--r-xs);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
  color: var(--text-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease), box-shadow 0.25s var(--ease);
}
.pcard__cta svg { transition: transform 0.25s var(--ease); }

/* Cartao central: colorido, maior e com o botao visivel */
.coverflow__item.is-active { z-index: 3; }
.coverflow__item.is-active .pcard {
  border-color: var(--line-brand);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(251, 205, 9, 0.18);
}
.coverflow__item.is-active .pcard__cta {
  background: var(--brand);
  border-color: var(--brand);
  color: #000;
}
.coverflow__item.is-active .pcard:hover .pcard__cta {
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.7);
}
.coverflow__item.is-active .pcard:hover .pcard__cta svg { transform: translateX(4px); }

/* Cartoes laterais: menores, escurecidos e clicaveis para virar o centro */
.coverflow__item.is-side .pcard {
  filter: saturate(0.45) brightness(0.5);
  transition: filter 0.5s var(--ease);
}
.coverflow__item.is-side:hover .pcard { filter: saturate(0.8) brightness(0.72); }
.coverflow__item.is-hidden { opacity: 0; z-index: 1; pointer-events: none; }

/* Navegacao */
.coverflow__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: clamp(26px, 3vw, 38px);
}
.coverflow__arrow {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--r-xs);
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.coverflow__arrow:hover { color: var(--brand); border-color: var(--brand); background: rgba(251, 205, 9, 0.08); }
.coverflow__arrow[data-cf-prev] svg,
.coverflow__arrow[data-pt-prev] svg { transform: rotate(180deg); }

.coverflow__dots { display: flex; align-items: center; gap: 9px; }
.coverflow__dot {
  width: 34px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--line-strong);
  cursor: pointer;
  transition: background 0.3s var(--ease), width 0.3s var(--ease);
}
.coverflow__dot:hover { background: rgba(255, 255, 255, 0.35); }
.coverflow__dot.is-active { background: var(--brand); width: 52px; }

/* Produtos que nao entram no carrossel */
.coverflow__more {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(30px, 3.6vw, 46px);
}
.tag-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: var(--r-xs);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-2);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.tag-link svg { color: var(--brand); flex: none; }
.tag-link:hover { color: #fff; border-color: var(--line-strong); background: rgba(255, 255, 255, 0.05); }
.tag-link.is-brand { color: var(--brand); border-color: var(--line-brand); }
.tag-link.is-brand:hover { color: #000; background: var(--brand); border-color: var(--brand); }
.tag-link.is-brand:hover svg { color: #000; }

/* --------------------------------------------------------- Conecte-se */
.connect { overflow: hidden; }
.connect__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.connect__title { margin-bottom: 18px; }
.connect__copy .lead { max-width: 44ch; margin-bottom: 30px; }

.socials--lg { gap: 14px; margin-bottom: 34px; }
.socials--lg a { width: 52px; height: 52px; }

.connect__lines {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 32px;
  max-width: 480px;
}
.connect__line {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg);
  transition: background 0.2s var(--ease);
}
.connect__line:hover { background: var(--surface); }
.connect__ico {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: rgba(251, 205, 9, 0.12);
  border: 1px solid var(--line-brand);
  color: var(--brand);
}
.connect__line b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
  word-break: break-word;
}
.connect__line small { font-size: 0.8rem; color: var(--text-3); }

/* Mockup de celular com o perfil da SOMOS */
.connect__media {
  position: relative;
  display: grid;
  place-items: center;
  padding-block: 20px;
}
/* Hexagonos de fundo, no espirito do simbolo da marca */
.connect__hex {
  position: absolute;
  width: min(430px, 104%);
  aspect-ratio: 1 / 1.08;
  background: linear-gradient(155deg, rgba(251, 205, 9, 0.22) 0%, rgba(251, 205, 9, 0.06) 46%, rgba(255, 255, 255, 0.025) 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  rotate: 6deg;
}
.connect__media::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4%;
  width: min(230px, 56%);
  aspect-ratio: 1 / 1.08;
  background: rgba(251, 205, 9, 0.07);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  rotate: -9deg;
}

.phone {
  position: relative;
  width: min(288px, 76vw);
  aspect-ratio: 9 / 18.6;
  border-radius: 38px;
  padding: 9px;
  background: linear-gradient(160deg, #2a2a33 0%, #101015 46%, #24242c 100%);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #0b0b0f;
}
.phone::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 17px;
  left: 50%;
  translate: -50% 0;
  width: 78px;
  height: 20px;
  border-radius: var(--r-pill);
  background: #000;
}

.ig {
  height: 100%;
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}
.ig__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px 4px;
  font-family: var(--font-display);
  font-size: 0.62rem;
  color: #fff;
}
.ig__bars {
  width: 34px;
  height: 8px;
  background: linear-gradient(90deg, #fff 0 8px, transparent 8px 11px, #fff 11px 19px, transparent 19px 22px, #fff 22px 34px);
  opacity: 0.75;
  border-radius: 1px;
}
.ig__top {
  padding: 8px 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ig__handle {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  color: #fff;
}
.ig__profile {
  display: flex;
  gap: 11px;
  padding: 13px 14px 10px;
}
.ig__avatar {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #000;
  border: 2px solid var(--brand);
  color: var(--brand);
  padding: 9px;
}
.ig__avatar svg { width: 100%; height: 100%; }
.ig__bio b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.74rem;
  color: #fff;
}
.ig__bio i {
  display: block;
  font-style: normal;
  color: var(--brand);
  font-size: 0.64rem;
  margin-bottom: 3px;
}
.ig__bio span { color: var(--text-2); font-size: 0.64rem; }

.ig__actions { display: flex; gap: 6px; padding: 4px 14px 12px; }
.ig__btn {
  flex: 1;
  text-align: center;
  padding: 6px 0;
  border-radius: var(--r-xs);
  background: rgba(255, 255, 255, 0.09);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.68rem;
  color: #fff;
}
.ig__btn.is-primary { background: var(--brand); color: #000; }

.ig__grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 0 2px 2px;
  align-content: start;
}
.ig__grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ---------------------------------------------------------- Responsivo */
@media (max-width: 1080px) {
  .connect__inner { grid-template-columns: 1fr; }
  .connect__media { order: -1; }
  .connect__copy .lead,
  .connect__lines { max-width: none; }
}

@media (max-width: 980px) {
  .coverflow { --cf-w: clamp(230px, 46vw, 330px); --cf-gap: 0.8; }
}

@media (max-width: 640px) {
  /* No retrato a foto corta muito na horizontal: rosto em cima, texto embaixo */
  .hero {
    align-items: flex-end;
    min-height: min(96vh, 860px);
    min-height: min(96svh, 860px);
    padding-top: calc(var(--header-h) + 12px);
    padding-bottom: clamp(40px, 8vw, 62px);
  }
  .hero__img { object-position: 80% 6%; }
  .hero__veil {
    background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.12) 12%,
      rgba(0, 0, 0, 0.1) 27%,
      rgba(0, 0, 0, 0.44) 38%,
      rgba(0, 0, 0, 0.82) 48%,
      rgba(0, 0, 0, 0.93) 60%,
      rgba(10, 10, 13, 0.97) 80%,
      #0e0e12 100%);
  }
  .coverflow { --cf-w: min(78vw, 320px); --cf-foot: 66px; --cf-gap: 0.9; }
  .coverflow__stage { padding-inline: 0; }
  .coverflow__arrow { width: 40px; height: 40px; }
  .pcard__cta { padding: 10px 20px; font-size: 0.85rem; }
  .phone { width: min(250px, 68vw); }
  .connect__hex { width: min(330px, 96%); }
}

/* ------------------------------------------------ Parceiros Open Banking */
.partners { position: relative; }

.partners__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
}
.partners__viewport::-webkit-scrollbar { display: none; }

.partners__track { display: flex; }

.partners__page {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  gap: clamp(10px, 1.1vw, 16px);
  min-height: 172px;
}

/* Cinco por linha no desktop; linhas incompletas ficam centralizadas */
.partner {
  flex: 0 0 calc((100% - 4 * clamp(10px, 1.1vw, 16px)) / 5);
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 78px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.partner:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
}

.partner__name {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-2);
  transition: color 0.25s var(--ease);
}
.partner:hover .partner__name { color: #fff; }


.partners__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: clamp(24px, 2.8vw, 34px);
}
.partners__dots { display: flex; align-items: center; gap: 9px; }
.partners__dot {
  width: 34px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--line-strong);
  cursor: pointer;
  transition: background 0.3s var(--ease), width 0.3s var(--ease);
}
.partners__dot:hover { background: rgba(255, 255, 255, 0.35); }
.partners__dot.is-active { background: var(--brand); width: 52px; }

@media (max-width: 980px) {
  .partner { flex-basis: calc((100% - 2 * clamp(10px, 1.1vw, 16px)) / 3); }
  .partners__page { min-height: 260px; }
}

@media (max-width: 560px) {
  .partner { flex-basis: calc((100% - clamp(10px, 1.1vw, 16px)) / 2); min-height: 70px; }
  .partner__name { font-size: 0.84rem; }
  .partners__page { min-height: 380px; }
}

/* ------------------------------------------------ Logos dos parceiros */
/* Fundo escuro: a logo vira silhueta branca para o conjunto ficar uniforme,
   independente da cor original de cada marca. */
.partner__logo {
  max-height: 38px;
  max-width: 84%;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.62;
  transition: opacity 0.25s var(--ease);
}
.partner:hover .partner__logo { opacity: 1; }

/* Marca com fundo opaco: a silhueta a transformaria num retangulo cheio.
   Invertendo, o fundo claro vira escuro (some no bloco) e a marca vira clara,
   ficando no mesmo tom das demais. */
.partner__logo--fundo {
  filter: invert(1) grayscale(1) brightness(1.25);
  opacity: 0.75;
  border-radius: 3px;
}
.partner:hover .partner__logo--fundo { opacity: 1; }

.partners__mais {
  display: flex;
  justify-content: center;
  margin-top: clamp(22px, 2.4vw, 30px);
}
.partners__mais .tag-link { cursor: pointer; font-family: var(--font-display); }

/* ---------------------------------------------------------------- Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
}
.modal[hidden] { display: none; }

.modal__fundo {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: modalFundo 0.25s var(--ease);
}

.modal__painel {
  position: relative;
  width: min(880px, 100%);
  max-height: min(84vh, 760px);
  overflow-y: auto;
  background: linear-gradient(180deg, var(--surface) 0%, #0c0c11 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-lg);
  animation: modalEntra 0.3s var(--ease);
}

.modal__topo {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.modal__topo .eyebrow { margin-bottom: 12px; }
.modal__titulo { margin: 0; }

.modal__fechar {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--r-xs);
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.modal__fechar:hover { color: var(--brand); border-color: var(--brand); background: rgba(251, 205, 9, 0.08); }

.modal__intro {
  color: var(--text-2);
  font-size: 0.96rem;
  max-width: 62ch;
  margin-bottom: 26px;
}

.modal__lista {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  overflow: hidden;
}
.modal__lista li {
  background: var(--surface);
  padding: 13px 16px;
  font-size: 0.92rem;
  color: var(--text-2);
}

@media (max-width: 780px) {
  .modal__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .modal__lista { grid-template-columns: 1fr; }
  .modal__painel { max-height: 88vh; }
}

@keyframes modalFundo {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modalEntra {
  from { opacity: 0; transform: translateY(14px) scale(0.99); }
  to { opacity: 1; transform: none; }
}

/* =========================================================================
   Seções claras — a página alterna escuro / claro a partir do hero
   ========================================================================= */

/* Redefinindo os tokens dentro da seção, tudo que está dentro se ajusta
   sozinho. O amarelo da marca não tem contraste sobre fundo claro, então
   textos que usavam --brand passam a usar --brand-ink (dourado escuro);
   preenchimentos (botão, marcador ativo) continuam no amarelo original. */
.section.is-clara {
  --bg: #ecedf1;
  --bg-alt: #e4e6eb;
  --surface: #ffffff;
  --surface-2: #f5f6f9;
  --surface-3: #eceef2;

  --text: #15151c;
  --text-2: #4d4d59;
  --text-3: #7a7a87;

  --line: rgba(12, 12, 24, 0.11);
  --line-strong: rgba(12, 12, 24, 0.2);
  --line-brand: rgba(12, 12, 24, 0.16);

  --brand-ink: #7a5f00;

  --shadow-sm: 0 2px 8px rgba(12, 12, 30, 0.08);
  --shadow-md: 0 14px 34px -20px rgba(12, 12, 30, 0.4);
  --shadow-lg: 0 30px 70px -32px rgba(12, 12, 30, 0.45);

  background: var(--bg);
  color: var(--text);
}

/* Marca em texto: amarelo vira dourado escuro; o traço fica no amarelo */
.is-clara .eyebrow { color: var(--brand-ink); }
.is-clara .eyebrow::before { background: var(--brand); }
.is-clara .link-arrow { color: var(--brand-ink); }
.is-clara .yellow { color: var(--brand-ink); }
.is-clara .checklist svg { color: var(--brand-ink); }
.is-clara .faq__q:hover { color: var(--brand-ink); }

/* Cartões: o gradiente escuro estava fixo no CSS, não vinha de token */
.is-clara .card,
.is-clara .pcard {
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
}
.is-clara .pcard__cta {
  background: rgba(12, 12, 24, 0.05);
  border-color: var(--line-strong);
  color: var(--text-2);
}
.is-clara .coverflow__item.is-active .pcard__cta {
  background: var(--brand);
  border-color: var(--brand);
  color: #000;
}
.is-clara .coverflow__item.is-active .pcard {
  border-color: rgba(12, 12, 24, 0.18);
  box-shadow: var(--shadow-lg);
}
/* Cartão lateral: sobre fundo claro, apaga clareando em vez de escurecendo */
.is-clara .coverflow__item.is-side .pcard { filter: saturate(0.35) opacity(0.45); }
.is-clara .coverflow__item.is-side:hover .pcard { filter: saturate(0.7) opacity(0.7); }

.is-clara .coverflow__arrow:hover,
.is-clara .partners__dot:hover { background: rgba(12, 12, 24, 0.06); }
.is-clara .coverflow__arrow:hover { color: var(--brand-ink); border-color: var(--brand-ink); }

.is-clara .tag-link { background: rgba(12, 12, 24, 0.03); }
.is-clara .tag-link:hover { color: var(--text); background: rgba(12, 12, 24, 0.07); }
.is-clara .tag-link svg { color: var(--brand-ink); }
.is-clara .tag-link.is-brand { color: var(--brand-ink); border-color: var(--line-strong); }
.is-clara .tag-link.is-brand:hover { color: #000; background: var(--brand); border-color: var(--brand); }
.is-clara .tag-link.is-brand:hover svg { color: #000; }

.is-clara .btn--ghost { --btn-fg: var(--text); border-color: var(--line-strong); }
.is-clara .btn--ghost:hover { border-color: var(--brand-ink); color: var(--brand-ink); }

.is-clara .chip { background: rgba(12, 12, 24, 0.03); }
.is-clara .chip svg { color: var(--brand-ink); }

/* Aspas dos depoimentos e demais superfícies que usavam branco translúcido */
.is-clara .quote__text { color: var(--text); }
.is-clara .quote__stars svg { color: #d9a900; }

/* =========================================================================
   Páginas de produto
   ========================================================================= */

/* ------------------------------------------------------------ Hero */
.prodhero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(78vh, 760px);
  min-height: min(78svh, 760px);
  padding-top: calc(var(--header-h) + clamp(28px, 4vw, 56px));
  padding-bottom: clamp(40px, 6vw, 76px);
  background: #000;
  overflow: hidden;
}
.prodhero__bg { position: absolute; inset: 0; z-index: -1; }
.prodhero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 45%;
}
.prodhero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(0, 0, 0, 0.94) 0%,
      rgba(0, 0, 0, 0.88) 20%,
      rgba(0, 0, 0, 0.7) 36%,
      rgba(0, 0, 0, 0.48) 50%,
      rgba(0, 0, 0, 0.34) 64%,
      rgba(0, 0, 0, 0.3) 100%),
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.1) 22%,
      rgba(0, 0, 0, 0.16) 62%,
      rgba(0, 0, 0, 0.6) 100%);
}

.prodhero__inner {
  position: relative;
  width: 100%;
  max-width: var(--container-wide);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.prodhero__copy { max-width: 34rem; }
.prodhero h1 { margin-bottom: 18px; max-width: 15ch; text-wrap: balance; }
.prodhero__lead { margin-bottom: 0; max-width: 40ch; color: #c6c6d1; }

/* ------------------------------------------- Cartão de valor do crédito */
.valorcard {
  background: rgba(12, 12, 18, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: clamp(24px, 2.6vw, 34px);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.valorcard__rotulo {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 12px;
}
.valorcard__valor {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  margin-bottom: 18px;
}
.valorcard__campo {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r-xs);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.valorcard__campo:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(255, 255, 255, 0.07);
}
.valorcard__escala {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
  font-size: 0.8rem;
  color: var(--text-3);
}
.valorcard__texto {
  margin: 22px 0 16px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-2);
}
.valorcard__nota {
  margin: 14px 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-3);
}

/* ---------------------------------------------------- Diferenciais */
.difs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.6vw, 56px) clamp(28px, 4vw, 64px);
}
.dif__ico {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: var(--r-xs);
  border: 1px solid var(--line-brand);
  background: rgba(251, 205, 9, 0.1);
  color: var(--brand);
  margin-bottom: 20px;
}
.dif__titulo {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.dif__texto {
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
  max-width: 38ch;
}
/* Em seção clara o ícone perde o fundo amarelo, que some no claro */
.is-clara .dif__ico {
  border-color: var(--line-strong);
  background: rgba(12, 12, 24, 0.03);
  color: var(--brand-ink);
}
.is-clara .dif__titulo { color: var(--brand-ink); }

/* ------------------------------------------------------- Chamada final */
.prodcta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(150deg, #171712 0%, #100f0a 60%, #0c0c0e 100%);
  border: 1px solid var(--line);
}
.prodcta__copy {
  padding: clamp(30px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.prodcta__copy .h2 { margin-bottom: 6px; }
.prodcta__sub {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 300;
  color: var(--brand);
  margin-bottom: 20px;
}
.prodcta__texto {
  color: var(--text-2);
  font-size: 0.98rem;
  max-width: 46ch;
  margin-bottom: 30px;
}
.prodcta__copy .btn { align-self: flex-start; }
.prodcta__media { position: relative; min-height: 260px; }
.prodcta__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FAQ das páginas de produto ocupa a largura toda */
.faq--largo { max-width: 62rem; }

/* ------------------------------------------------------- Responsivo */
@media (max-width: 1080px) {
  .prodhero__inner { grid-template-columns: 1fr; gap: 34px; }
  .prodhero__copy { max-width: none; }
  .valorcard { max-width: 460px; }
  .difs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .prodcta { grid-template-columns: 1fr; }
  .prodcta__media { min-height: 220px; order: -1; }
}

@media (max-width: 640px) {
  .prodhero {
    min-height: 0;
    padding-top: calc(var(--header-h) + 28px);
  }
  .prodhero__veil {
    background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.55) 26%,
      rgba(0, 0, 0, 0.78) 62%,
      rgba(0, 0, 0, 0.92) 100%);
  }
  .difs { grid-template-columns: 1fr; }
  .valorcard { max-width: none; }
}

/* =========================================================================
   Simulação
   ========================================================================= */

/* O formulário fica sozinho e centrado: a coluna lateral virou faixa abaixo */
.wizard {
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(26px, 3.2vw, 46px);
}

/* A barra de progresso já mostra em que etapa você está: o selo amarelo
   repetia a informação e pesava. Virou uma linha discreta. */
.wizard__etapa {
  display: block;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 20px 0 10px;
}
.wizard__titulo {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.022em;
  margin: 0 0 8px;
}
.wizard__sub {
  font-size: 0.95rem;
  color: var(--text-2);
  margin-bottom: 28px;
}

/* --------------------------------------------- O que acontece depois */
.passos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 40px);
}
.passo { position: relative; padding-top: 22px; }
/* linha fina ligando as etapas, cortada no último */
.passo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: -1px;
  height: 2px;
  background: var(--line);
}
.passo:first-child::before { background: var(--brand); }
.passo__num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--brand);
  margin-bottom: 12px;
}
.passo__titulo {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 7px;
}
.passo__texto {
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------- Avisos de rodapé */
.notas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
  margin-top: clamp(38px, 4.6vw, 62px);
  padding-top: clamp(28px, 3.4vw, 40px);
  border-top: 1px solid var(--line);
}
.nota { display: flex; gap: 15px; }
.nota__ico {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--r-xs);
  border: 1px solid var(--line);
  color: var(--text-3);
}
.nota b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.nota p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-2);
}
.nota--alerta .nota__ico {
  border-color: var(--line-brand);
  color: var(--brand);
}
.nota a { color: var(--brand); }
.nota a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .passos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .notas { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .passos { grid-template-columns: 1fr; gap: 24px; }
}

/* --------------------------------------------------- Simulador (página) */
.simulador__intro {
  max-width: 56ch;
  color: var(--text-2);
  font-size: 1.02rem;
  margin-bottom: clamp(28px, 3.2vw, 42px);
}

/* Painel de espera: ocupa o lugar do resultado antes do primeiro cálculo */
.sim__espera {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  min-height: 260px;
  gap: 16px;
  color: var(--text-3);
}
.sim__espera-ico {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: var(--r-xs);
  border: 1px dashed var(--line-strong);
  color: var(--text-3);
}
.sim__espera p { margin: 0; font-size: 0.94rem; line-height: 1.6; max-width: 30ch; }
.sim__espera b { color: var(--text-2); font-weight: 600; }

.sim__acoes { display: grid; gap: 10px; margin-top: 26px; }

.simulador__extra {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: clamp(26px, 3vw, 38px);
  max-width: 74ch;
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--text-2);
}
.simulador__extra svg { flex: none; margin-top: 4px; color: var(--brand); }
.simulador__extra a { color: var(--brand); }
.simulador__extra a:hover { text-decoration: underline; }

/* ------------------------------------------ Simulador do produto */
.simprod__painel {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface) 0%, #0c0c11 100%);
  padding: clamp(24px, 3vw, 44px);
}
.simprod__cabeca { margin-bottom: clamp(24px, 2.8vw, 34px); }
.simprod__cabeca .h3 { margin-bottom: 10px; }
.simprod__nota {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-3);
  max-width: 62ch;
}

.simprod__grade {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: clamp(26px, 3.4vw, 48px);
  align-items: start;
}

.simprod__campos { display: grid; gap: 20px; }
.spcampo {
  display: grid;
  align-content: start;
  gap: 8px;
}
.spcampo label {
  display: flex;
  align-items: flex-end;
  min-height: 20px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-2);
}
.spcampo input,
.spcampo select {
  width: 100%;
  height: 52px;
  padding: 0 15px;
  line-height: 1.4;
  border-radius: var(--r-xs);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.spcampo select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23b2b2bd' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}
/* Sem isto, a lista aberta usa o fundo branco do sistema e o texto branco
   herdado do select some. Mesmo tratamento do .select dos formulários. */
.spcampo select option,
.spcampo select optgroup {
  background: #16161c;
  color: #fff;
}
.spcampo input:focus,
.spcampo select:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(255, 255, 255, 0.06);
}
.spcampo__dica {
  font-size: 0.79rem;
  color: var(--text-3);
  line-height: 1.45;
  margin-top: -2px;
}

.simprod__resultado {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(0, 0, 0, 0.35);
  padding: clamp(22px, 2.4vw, 30px);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.simprod__resultado .sim__rows { margin: 22px 0; }

/* Avisos: o que a conta encontrou de atenção no cenário informado */
.simprod__avisos {
  list-style: none;
  margin: 0 0 22px;
  padding: 16px 18px;
  display: grid;
  gap: 10px;
  border-radius: var(--r-xs);
  border: 1px solid var(--line-brand);
  background: rgba(251, 205, 9, 0.06);
}
.simprod__avisos li {
  position: relative;
  padding-left: 20px;
  font-size: 0.87rem;
  line-height: 1.55;
  color: var(--text-2);
}
.simprod__avisos li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

@media (max-width: 900px) {
  .simprod__grade { grid-template-columns: 1fr; }
  .simprod__resultado { position: static; }
}

/* ------------------------------------------- Simulador em modal */
.simmodal__painel { width: min(760px, 100%); }
.simmodal__painel .simprod__nota {
  margin: -4px 0 26px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-3);
}
.simmodal__painel .simprod__campos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
/* O primeiro campo é o valor principal: ocupa a linha inteira */
.simmodal__painel .spcampo:first-child { grid-column: 1 / -1; }
.simprod__ver { grid-column: 1 / -1; margin-top: 8px; }

/* O resultado entra abaixo dos campos, depois do clique */
.simmodal__painel .simprod__resultado {
  position: static;
  margin-top: 28px;
  padding-top: 28px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: none;
  animation: modalEntra 0.3s var(--ease);
}
.simmodal__painel .sim__amount { margin-bottom: 4px; }

@media (max-width: 620px) {
  .simmodal__painel .simprod__campos { grid-template-columns: 1fr; }
}
