/* =========================================================================
   SOMOS OPENBANKING | Design System
   Identidade: amarelo #FBCD09 (extraido do simbolo oficial) sobre off-white,
   com texto quase preto (#161616). Visual claro e limpo: cantos generosos,
   botoes em pilula e vidro (backdrop-filter) no cabecalho e sobre as fotos.
   ========================================================================= */

/* As fontes (Sora nos titulos, Inter no texto) vem de um <link> no layout:
   pelo @import aqui elas so eram descobertas depois de baixar este arquivo. */

/* ---------------------------------------------------------------- Tokens */
:root {
  /* Marca */
  --brand: #fbcd09;
  --brand-hi: #ffd93f;
  --brand-lo: #f0c000;
  /* O amarelo nao tem contraste como texto sobre fundo claro. Ele fica para
     preenchimentos (botao, icone, marca-texto); texto de marca usa o dourado. */
  --brand-ink: #7a5f00;
  /* Dourado da segunda linha dos titulos (so texto grande: 3,4:1 no off-white) */
  --brand-deep: #b08000;
  --brand-soft: rgba(251, 205, 9, 0.16);
  --ink: #161616;

  /* Superficies: off-white quente, cartoes brancos */
  --bg: #faf9f6;
  --bg-alt: #f3f1ec;
  --surface: #ffffff;
  --surface-2: #f6f5f1;
  --surface-3: #eceae4;
  /* Fundo dos cartoes. Em secao branca (.is-clara) vira off-white. */
  --card: var(--surface);

  /* Vidro: branco translucido com desfoque do que esta atras */
  --glass: rgba(255, 255, 255, 0.64);
  --glass-strong: rgba(255, 255, 255, 0.8);
  --glass-line: rgba(255, 255, 255, 0.72);
  --glass-blur: saturate(180%) blur(20px);
  /* Vidro sobre foto escura (topo da home) */
  --glass-dark: rgba(255, 255, 255, 0.13);
  --glass-dark-line: rgba(255, 255, 255, 0.3);

  /* Linhas */
  --line: rgba(22, 22, 22, 0.08);
  --line-strong: rgba(22, 22, 22, 0.15);
  --line-brand: rgba(214, 170, 0, 0.45);
  /* Borda dos campos de formulario: 3:1 contra o branco, para o campo nao
     sumir no cartao claro */
  --line-field: #8a857b;
  /* Foco dos campos: anel preto fino e o halo amarelo por fora */
  --focus-campo: 0 0 0 1px var(--ink), 0 0 0 5px rgba(251, 205, 9, 0.5);

  /* Texto */
  --text: #161616;
  --text-2: #55524b;
  --text-3: #6f6b63;

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

  /* Raios: cantos generosos, como nos cartoes de aplicativo */
  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-2xl: 44px;
  --r-pill: 999px;

  /* Sombras: quentes e difusas, quase sem borda */
  --shadow-sm: 0 1px 2px rgba(22, 22, 22, 0.04), 0 6px 18px -10px rgba(22, 22, 22, 0.14);
  --shadow-md: 0 2px 6px rgba(22, 22, 22, 0.04), 0 22px 44px -24px rgba(22, 22, 22, 0.26);
  --shadow-lg: 0 4px 14px rgba(22, 22, 22, 0.05), 0 44px 90px -40px rgba(22, 22, 22, 0.36);
  --shadow-brand: 0 12px 28px -12px rgba(214, 170, 0, 0.75);

  /* Layout */
  --container: 1360px;
  --container-wide: 1520px;   /* header e topo um pouco mais largos */
  --gutter: clamp(18px, 4.5vw, 64px);
  --section-y: clamp(72px, 9vw, 128px);
  --header-h: 84px;

  --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%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(251, 205, 9, 0.24);
}

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

/* Rede de seguranca contra rolagem lateral. O overflow-x:hidden do body e
   repassado para a viewport, e ai o navegador mobile ainda deixa a pagina mais
   larga que a tela (o header fixo estica e o botao do menu sai da tela). Com
   clip no html e no body, o proprio body corta o que vaza sem virar container
   de rolagem, entao o position:sticky continua funcionando. */
@supports (overflow: clip) {
  html,
  body { overflow-x: clip; }
}

/* Menu ou modal aberto: o body fica fixo onde estava (o JS guarda a rolagem
   em top e devolve ao fechar). So overflow:hidden nao segura a rolagem por
   baixo no iOS. */
html.is-locked { overflow: hidden; }
html.is-locked body {
  position: fixed;
  inset-inline: 0;
  width: 100%;
}

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.12;
  letter-spacing: -0.028em;
  margin: 0 0 0.5em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

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

::selection {
  background: var(--brand);
  color: var(--ink);
}
/* Sobre o amarelo, a selecao amarela sumiria: ali ela inverte */
.band ::selection,
.vcard--destaque ::selection,
.figure--pop .figure__tag ::selection,
.btn ::selection,
.btn::selection,
.marca::selection,
.marca ::selection,
h1 .yellow::selection,
.h1 .yellow::selection,
.h2 .yellow::selection,
.display .yellow::selection {
  background: var(--ink);
  color: var(--brand);
}
.btn--dark::selection,
.btn--dark ::selection {
  background: var(--brand);
  color: var(--ink);
}

/* Amarelo nao aparece como contorno sobre o claro: o foco usa o preto */
:focus-visible {
  outline: 2px solid var(--foco, var(--ink));
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 999;
  background: var(--brand);
  color: var(--ink);
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  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, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.042em;
}

.h1 { font-size: clamp(2.3rem, 4.8vw, 4rem); font-weight: 600; line-height: 1.06; letter-spacing: -0.038em; }
.h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.034em; }
.h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 600; letter-spacing: -0.024em; }
.h4 { font-size: clamp(1.08rem, 1.4vw, 1.22rem); font-weight: 600; letter-spacing: -0.016em; }

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

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-2);
}

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

/* Titulo em dois tons: a segunda parte desce de linha, em dourado (no
   claro) ou no amarelo da marca (sobre foto ou fundo escuro). */
.destaque { color: var(--brand-deep); }
.titulo-duplo .destaque { display: block; }
.banner .destaque,
.footer .destaque,
.pagehead--foto .destaque { color: var(--brand); }
.nowrap { white-space: nowrap; }

/* Marca-texto: o amarelo entra por baixo das palavras, sem virar cor de
   texto. Vale para .marca e para o .yellow dentro de titulo grande. */
.marca,
h1 .yellow,
.h1 .yellow,
.h2 .yellow,
.display .yellow {
  color: inherit;
  background: linear-gradient(180deg, transparent 58%, var(--brand) 58%, var(--brand) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-inline: 0.05em;
}

/* Link de destaque no meio do texto: preto, sublinhado amarelo grosso */
a.yellow {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
  transition: background 0.2s var(--ease);
}
@media (hover: hover) {
  a.yellow:hover { background: var(--brand-soft); }
}

/* ---------------------------------------------------------------- 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-tight { padding-block: clamp(52px, 6vw, 84px); }

/* Ritmo das secoes: off-white (padrao), branco (.is-clara) e areia (.is-alt).
   Em secao branca o cartao vira off-white, para nao sumir no fundo. */
.section.is-alt { background: var(--bg-alt); }
.section.is-clara {
  --card: var(--surface-2);
  background: var(--surface);
}
.section.is-clara.is-alt {
  --card: var(--surface);
  background: var(--bg-alt);
}

.section-head { max-width: 760px; 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(16px, 2vw, 24px); }
.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: minmax(0, 1fr) minmax(0, 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-bg-h: var(--brand-lo);
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.006em;
  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 {
  background: var(--btn-bg-h);
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand);
}
.btn:active { transform: translateY(0); }

/* Enviando o formulario (o JS desabilita o botao) */
.btn:disabled,
.btn:disabled:hover,
.btn[aria-disabled='true'] {
  background: var(--surface-3);
  color: var(--text-2);
  border-color: var(--line-strong);
  cursor: progress;
  transform: none;
  box-shadow: none;
}

.btn svg { flex: none; }

/* Secundario: branco translucido com borda fina */
.btn--ghost {
  --btn-bg: rgba(255, 255, 255, 0.66);
  --btn-bg-h: #fff;
  --btn-fg: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn--dark {
  --btn-bg: var(--ink);
  --btn-bg-h: #000;
  --btn-fg: #fff;
}
.btn--dark:hover { box-shadow: 0 16px 32px -16px rgba(0, 0, 0, 0.6); }

.btn--sm { min-height: 42px; padding: 10px 20px; font-size: 0.9rem; }
.btn--lg { min-height: 64px; padding: 18px 40px; font-size: 1.1rem; }

/* Branco sobre foto escura */
.btn--branco {
  --btn-bg: #fff;
  --btn-bg-h: #fff;
  --btn-fg: var(--ink);
}
.btn--branco:hover { box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7); }
.btn--block { width: 100%; }

/* Botoes lado a lado; no celular cada um ocupa a linha inteira */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Link com a seta num circulo amarelo, igual aos cartoes de solucao */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}
.link-arrow svg {
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--ink);
  transition: transform 0.25s var(--ease);
}
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------------------------------------------------------------- Cards */
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 2.6vw, 36px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
/* Em secao branca o cartao off-white ja se destaca: sem sombra */
.section.is-clara:not(.is-alt) .card { box-shadow: none; }

a.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

/* Icone em quadrado arredondado amarelo, como os icones de aplicativo */
.card__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: var(--ink);
  margin-bottom: 22px;
}

/* Aviso (golpes): fundo amarelo claro e borda dourada */
.card--alerta {
  background: var(--brand-soft);
  border-color: var(--brand-ink);
}

.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 */
/* Vidro claro o tempo todo: o conteudo passa desfocado por baixo */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(250, 249, 246, 0.6);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
/* Rolando, o header passa sobre fotos escuras: o vidro fica mais denso para o
   menu continuar legivel */
.header.is-stuck {
  background: rgba(250, 249, 246, 0.9);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(22, 22, 22, 0.35);
}
/* Menu aberto: header solido, emendando no fundo do drawer */
.header.is-menu {
  background: var(--bg);
  border-bottom-color: var(--line);
  box-shadow: none;
}

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

/* Logo: o simbolo amarelo vai num quadrado preto, como no icone do site */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.logo__mark {
  width: 50px;
  height: 50px;
  flex: none;
  padding: 7px;
  border-radius: 15px;
  background: var(--ink);
  color: var(--brand);
}
.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.02em;
  color: var(--text);
}
/* "OpenBanking" junto, com O e B maiusculos, como a marca e escrita. O tamanho
   faz a linha terminar alinhada com "SOMOS". */
.logo__sub {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-2);
  margin-top: 4px;
}

/* Catavento do cabecalho: so o simbolo, sem fundo. Uma sombra fininha
   escura contorna o amarelo, que sozinho sumiria sobre o vidro claro. */
.catavento {
  display: block;
  width: 52px;
  height: 52px;
  overflow: visible;
  fill: none;
  stroke: var(--brand);
  stroke-width: 3.2;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  filter: drop-shadow(0 0 0.6px rgba(22, 22, 22, 0.75)) drop-shadow(0 1px 1px rgba(22, 22, 22, 0.25));
}

/* Montagem ao abrir a pagina, como o logo do Inter: o catavento gira ate o
   lugar enquanto as quatro pas se desenham, uma depois da outra, cada traco
   da pa em sequencia. pathLength="1" no SVG deixa todo traco com
   comprimento 1, entao o mesmo dasharray serve para os tres. */
@media (prefers-reduced-motion: no-preference) {
  .catavento {
    animation: catavento-gira 1.5s cubic-bezier(0.2, 0.75, 0.25, 1) both;
  }
  .catavento__pa path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: catavento-traco 0.5s var(--ease) forwards;
    animation-delay: calc(0.15s + var(--pa) * 0.16s);
  }
  .catavento__pa path:nth-child(2) { animation-delay: calc(0.25s + var(--pa) * 0.16s); }
  .catavento__pa path:nth-child(3) { animation-delay: calc(0.35s + var(--pa) * 0.16s); }

  /* No mouse ele da mais uma volta, como catavento no vento. A volta fica
     no link, e nao no SVG, para nao reiniciar a montagem ao tirar o mouse. */
  @media (hover: hover) {
    .logo--catavento:hover { animation: catavento-vento 0.9s var(--ease); }
  }
}
@keyframes catavento-gira {
  from { transform: rotate(-150deg) scale(0.7); opacity: 0; }
  25% { opacity: 1; }
  to { transform: none; opacity: 1; }
}
@keyframes catavento-traco {
  to { stroke-dashoffset: 0; }
}
@keyframes catavento-vento {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

/* <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: var(--r-pill);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__link:hover,
.nav__item.is-open > .nav__link { background: rgba(22, 22, 22, 0.05); }
.nav__link.is-active { color: var(--text); }

.nav__item { position: relative; }

/* Dropdown opaco: dentro do header (que ja tem backdrop-filter) o desfoque
   dele nao alcanca a pagina, entao a transparencia so sujaria o texto. */
.dropdown {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  left: auto;
  width: min(580px, calc(100vw - 40px));
  background: var(--surface);
  border: 1px solid var(--line);
  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: 12px;
  border-radius: var(--r-md);
  transition: background 0.2s var(--ease);
}
.dropdown__item:hover { background: rgba(22, 22, 22, 0.04); }
.dropdown__ico {
  width: 40px; height: 40px;
  flex: none;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand);
  color: var(--ink);
}
.dropdown__name {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.dropdown__desc {
  display: block;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-3);
}

.dropdown__foot {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding: 14px 12px 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.9rem; }

.burger {
  display: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 0;
  /* place-content junta as tres linhas no centro. So com place-items as
     linhas do grid esticavam ate as bordas e o X nao fechava ao abrir. */
  place-content: center;
  place-items: center;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  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. Fechado ele fica invisivel (fora do Tab e do leitor de
   tela), nao so deslocado para fora da tela. No desktop nem e exibido. */
.drawer {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  background: var(--bg);
  padding: 14px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
  display: none;
  flex-direction: column;
  gap: 4px;
}
.drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.35s var(--ease);
}

.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.drawer__link.is-active { color: var(--brand-ink); }
.drawer__sub {
  padding: 4px 4px 16px;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 2px;
}
.drawer__sub a {
  padding: 10px 14px;
  border-radius: var(--r-sm);
  color: var(--text-2);
  font-size: 0.96rem;
}
.drawer__sub a:hover { background: rgba(22, 22, 22, 0.04); color: var(--text); }
.drawer__foot { margin-top: 22px; display: grid; gap: 12px; }

/* ----------------------------------------------------------------- Hero */
/* Foto de ponta a ponta atras do cabecalho de vidro, como nos apps de banco.
   O titulo fica no alto, centralizado, e o botao "Simule ja" no centro, la
   embaixo. Um veu escuro no alto e na base garante a leitura do branco. */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-height: min(100vh, 960px);
  min-height: min(100svh, 960px);
  --hero-pe: clamp(32px, 6vh, 64px);   /* respiro da base (os controles ficam nele) */
  padding-top: calc(var(--header-h) + clamp(32px, 7vh, 88px));
  padding-bottom: var(--hero-pe);
  overflow: hidden;
  background: #2c6fb3;
  color: #fff;
  text-align: center;
}
.hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% 40%;
  /* Carrossel: as fotos ficam empilhadas e trocam por esmaecimento */
  opacity: 0;
  transition: opacity 0.9s var(--ease), translate 0.45s var(--ease), scale 0.45s var(--ease);
  -webkit-user-drag: none;
  user-select: none;
}
.hero__img.is-ativa { opacity: 1; }

/* Arrastar para o lado troca a foto (JS). pan-y deixa a rolagem vertical
   da pagina com o navegador e pinch-zoom deixa ampliar com dois dedos; no
   mouse o cursor vira a "mao". Durante o arrasto a foto ativa acompanha o
   gesto na hora e cresce de leve (com transicao, sem pulo) para a borda nao
   aparecer. */
.hero.is-carrossel {
  touch-action: pan-y;
  touch-action: pan-y pinch-zoom;
  /* espaco dos controles, embaixo do bloco do botao */
  padding-bottom: calc(var(--hero-pe) + 50px);
}
@media (hover: hover) and (pointer: fine) {
  .hero.is-carrossel { cursor: grab; }
  .hero.is-arrastando { cursor: grabbing; }
}
.hero.is-arrastando { -webkit-user-select: none; user-select: none; }
.hero.is-arrastando .hero__img.is-ativa {
  translate: var(--arrasto, 0px) 0;
  scale: 1.06;
  transition: opacity 0.9s var(--ease), scale 0.3s var(--ease);
}
/* Carro: a cliente fica no terco esquerdo e o ceu a direita. Ancorada pela
   esquerda, o corte das telas mais quadradas cai sempre no ceu. */
.hero__img--carro { object-position: 0% 40%; }
/* Varanda: a cliente fica no terco direito. Em tela larga a ancora da
   esquerda a deixa junto da borda direita; abaixo de 3:2 o corte cairia nela,
   e ali a ancora vai para o meio. */
.hero__img--terraco { object-position: 0% 40%; }
@media (max-aspect-ratio: 3/2) {
  .hero__img--terraco { object-position: 60% 40%; }
}
/* Veu para o texto branco: escuro no alto, um halo atras do bloco de texto
   (as nuvens ficam bem ali) e escuro de novo na base, atras do botao. */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(46% 42% at var(--halo-x, 70%) 30%, rgba(8, 22, 40, 0.4) 0%, rgba(8, 22, 40, 0) 72%),
    linear-gradient(180deg,
      rgba(8, 22, 40, 0.46) 0%,
      rgba(8, 22, 40, 0.22) 34%,
      rgba(8, 22, 40, 0.06) 56%,
      rgba(8, 22, 40, 0.18) 74%,
      rgba(8, 22, 40, 0.58) 100%);
  pointer-events: none;
}
/* Texto e botao numa coluna centralizada no ceu da foto ativa: a direita
   na do carro, a esquerda na da varanda (a cliente fica sempre do outro
   lado). Ficam acima das etiquetas de vidro (z-index), que nunca os cobrem.
   Na troca de lado o bloco some, muda de lugar e volta (.is-trocando). */
.hero__inner,
.hero__base {
  position: relative;
  z-index: 1;
  max-width: var(--container-wide);
  padding-left: max(var(--gutter), min(44vw, 720px));
  transition: opacity 0.35s var(--ease), translate 0.35s var(--ease);
}
.hero--texto-esquerda { --halo-x: 40%; }
.hero--texto-esquerda .hero__inner,
.hero--texto-esquerda .hero__base {
  padding-left: var(--gutter);
  padding-right: max(var(--gutter), min(26vw, 420px));
}
.hero.is-trocando .hero__inner,
.hero.is-trocando .hero__base,
.hero.is-trocando .hero__vidro {
  opacity: 0;
  translate: 0 10px;
}
.hero__title {
  max-width: 15ch;
  margin: 0 auto 20px;
  font-size: clamp(2.6rem, 4.8vw, 5.2rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(8, 22, 40, 0.35), 0 2px 28px rgba(8, 22, 40, 0.35);
}
.hero__linha { display: block; }
.hero__text {
  max-width: 27rem;
  margin: 0 auto;
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  font-weight: 500;
  line-height: 1.55;
  color: #fff;
  text-shadow: 0 1px 2px rgba(8, 22, 40, 0.55), 0 0 22px rgba(8, 22, 40, 0.5);
}
.hero__base {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* Botao grande do topo */
.btn--hero {
  min-height: 76px;
  padding: 0 clamp(48px, 5vw, 76px);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 700;
  box-shadow: 0 24px 48px -20px rgba(8, 22, 40, 0.65);
}
.btn--hero:hover { box-shadow: 0 28px 52px -20px rgba(8, 22, 40, 0.7), var(--shadow-brand); }

/* Selos em vidro escuro: o branco le sobre a pedra da sacada e a camisa */
.hero__selos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.hero__selos li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: rgba(8, 22, 40, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.26);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  font-size: 0.84rem;
  font-weight: 500;
  color: #fff;
}
.hero__selos svg { color: var(--brand); flex: none; }

/* Marcadores e pausa do carrossel. So aparecem com JS (.is-carrossel): sem
   ele o topo fica na primeira foto e os botoes nao fariam nada. Ficam no
   centro, la embaixo, e nao acompanham o texto quando ele troca de lado:
   o botao que a pessoa acabou de usar nunca sai do lugar nem some. */
.hero__controles {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: var(--hero-pe);
  translate: -50% 0;
  display: none;
  align-items: center;
  gap: 6px;
}
.hero.is-carrossel .hero__controles { display: flex; }
.hero__ponto {
  width: 30px;
  height: 24px;
  padding: 10px 0;
  border: 0;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.55);
  background-clip: content-box;
  cursor: pointer;
  transition: width 0.3s var(--ease), background-color 0.3s var(--ease);
}
.hero__ponto.is-ativo { width: 46px; background-color: #fff; }
.hero__pausa {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-left: 4px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(8, 22, 40, 0.44);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  cursor: pointer;
}
@media (hover: hover) {
  .hero__ponto:not(.is-ativo):hover { background-color: rgba(255, 255, 255, 0.85); }
  .hero__pausa:hover { background: rgba(8, 22, 40, 0.65); }
}

/* Etiquetas de vidro flutuando sobre a foto (enfeite: nao recebem clique) */
.hero__vidro {
  transition: opacity 0.35s var(--ease), translate 0.35s var(--ease);
  position: absolute;
  z-index: 0;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 26px;
  background: var(--glass-dark);
  border: 1px solid var(--glass-dark-line);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  color: #fff;
  box-shadow: 0 24px 48px -24px rgba(8, 22, 40, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  pointer-events: none;
}
.hero__vidro--b { width: 66px; height: 66px; border-radius: 20px; }
.hero__vidro--c { width: 70px; height: 70px; border-radius: 22px; }
/* foto do carro: no ceu, acima do teto, a direita do texto e perto do capo */
.hero--texto-direita .hero__vidro--a { left: 34%; top: 12%; }
.hero--texto-direita .hero__vidro--b { right: 4%; top: 56%; }
.hero--texto-direita .hero__vidro--c { right: 18%; top: 62%; }
/* foto da varanda: sobre o mar, a esquerda, longe do rosto dela */
.hero--texto-esquerda .hero__vidro--a { left: 6%; top: 44%; }
.hero--texto-esquerda .hero__vidro--b { left: 18%; top: 68%; }
.hero--texto-esquerda .hero__vidro--c { left: 38%; top: 58%; }
/* tela baixa ou mais quadrada (4:3): a do meio cairia no retrovisor */
@media (max-height: 700px), (max-aspect-ratio: 3/2) {
  .hero__vidro--c { display: none; }
}

/* Tela em pe (celular, tablet, monitor girado): a foto desce para a parte de
   baixo e se dissolve num degrade de ceu, onde ficam o titulo e o texto. A
   altura da foto nunca invade o bloco de texto, mesmo em celular baixo. */
@media (orientation: portrait) {
  .hero {
    min-height: min(100svh, 880px);
    background: linear-gradient(180deg, #1f5d9c 0%, #2f74b8 40%, #4a8cc9 62%);
  }
  .hero__img {
    top: auto;
    height: min(60%, calc(100% - 340px));
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 26%);
    mask-image: linear-gradient(180deg, transparent 0, #000 26%);
  }
  .hero::after {
    background: linear-gradient(180deg, rgba(8, 22, 40, 0.22) 0%, rgba(8, 22, 40, 0) 34%, rgba(8, 22, 40, 0) 66%, rgba(8, 22, 40, 0.5) 100%);
  }
  .hero__img--carro { object-position: 10% 40%; }
  .hero__img--terraco { object-position: 66% 30%; }
  .hero__inner,
  .hero__base,
  .hero--texto-esquerda .hero__inner,
  .hero--texto-esquerda .hero__base { padding-left: var(--gutter); padding-right: var(--gutter); }
  .hero--texto-direita .hero__vidro--b { right: 6%; top: 52%; }
  .hero--texto-esquerda .hero__vidro--b { left: 6%; top: 55%; }
  .hero__vidro--a { display: none; }
}
/* Celular baixo: sem o paragrafo e os selos (o recado se repete logo abaixo,
   na vitrine), a foto ganha altura e o botao fica abaixo do rosto dela */
@media (orientation: portrait) and (max-height: 720px) {
  .hero__vidro,
  .hero__text,
  .hero__selos { display: none; }
  .hero__img { height: calc(100% - 210px); }
}
@media (max-width: 400px) {
  .hero__title { font-size: 2.1rem; }
  .hero__selos li:nth-child(3) { display: none; }
}
/* Celular deitado: pouca altura; fica so o titulo e o botao, acima da dobra */
@media (orientation: landscape) and (max-height: 500px) {
  .hero { padding-top: calc(var(--header-h) + 16px); gap: 16px; }
  .hero__title { font-size: 2.2rem; margin-bottom: 0; }
  .hero__text,
  .hero__selos,
  .hero__vidro { display: none; }
  .btn--hero { min-height: 56px; }
}

@keyframes flutua {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Flutuacao so no desktop (vidro desfocado em movimento custa caro no
   celular) e por algumas voltas, para nao ficar mexendo para sempre */
@media (hover: hover) and (min-width: 981px) and (prefers-reduced-motion: no-preference) {
  .hero__vidro,
  .connect__selo { animation: flutua 7s var(--ease) 3; }
  .hero__vidro--b { animation-delay: -2s; }
  .hero__vidro--c { animation-delay: -4s; }
  .connect__selo--b { animation-delay: -3.5s; }
}

/* ----------------------------------------------------------------- Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.4vw, 20px);
}
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  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: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}
.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: 36px; }
.step::before {
  content: '';
  position: absolute;
  top: 15px; left: 0; right: 0;
  height: 1px;
  background: var(--line-strong);
}
.step::after {
  content: '';
  position: absolute;
  top: 9px; left: 0;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px var(--brand-soft);
}
.step__num {
  counter-increment: step;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-3);
  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; }

/* ------------------------------------------------------------ Simulador */
/* Resultado dos simuladores das paginas de produto (modal) */
.sim__result-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  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: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}

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

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

/* ---------------------------------------------------------- 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: 26px; height: 26px;
  padding: 1px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--ink);
  margin-top: 1px;
}
.checklist b {
  display: block;
  font-weight: 600;
  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;
  aspect-ratio: 4 / 3;
  background: var(--surface-3);
  box-shadow: var(--shadow-md);
}
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--tall { aspect-ratio: 3 / 4; }
.figure::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22, 22, 22, 0) 55%, rgba(22, 22, 22, 0.28) 100%);
  pointer-events: none;
}

/* Selo de vidro sobre a foto */
.figure__tag {
  position: absolute;
  z-index: 2;
  left: 18px; bottom: 18px;
  max-width: calc(100% - 36px);
  background: var(--glass-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
}
.figure__tag b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 5px;
}
.figure__tag span { font-size: 0.84rem; color: var(--text-2); }

/* ---------------------------------------------------------- Depoimentos */
.quote {
  display: flex;
  flex-direction: column;
  height: 100%;
}
/* Dourado escuro: amarelo puro some no cartao branco */
.quote__stars { display: flex; gap: 3px; color: #b38600; 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: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
}
.quote__name {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
}
.quote__meta { font-size: 0.82rem; color: var(--text-3); }

/* ------------------------------------------------------------- Faixa CTA */
.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r-xl);
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 60%),
    var(--brand);
  color: var(--ink);
  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: var(--ink); margin-bottom: 14px; }
.band p { color: rgba(22, 22, 22, 0.74); margin-bottom: 0; }
.band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.band__deco {
  position: absolute;
  z-index: -1;
  right: -70px; top: -70px;
  width: 340px;
  color: var(--ink);
  opacity: 0.08;
  pointer-events: none;
}

/* ------------------------------------------------------------------ FAQ */
.faq { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px 4px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.4vw, 1.14rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
}
.faq__icon {
  flex: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  display: grid; place-items: center;
  position: relative;
  transition: all 0.25s var(--ease);
}
/* So com mouse: no toque o :hover gruda e brigaria com o estado aberto */
@media (hover: hover) {
  .faq__q:hover .faq__icon { background: var(--brand-soft); border-color: var(--line-brand); }
}
.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: var(--ink);
}
.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,
.form__body { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

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

.input,
.select,
.textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-field);
  background-color: var(--surface);
  color: var(--text);
  font-size: 1rem;   /* 16px: abaixo disso o iOS da zoom na pagina ao focar o campo */
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.input::placeholder,
.textarea::placeholder { color: #77736a; }
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: var(--focus-campo);
}
.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='%236f6b63' 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: var(--surface); color: var(--text); }

.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: 22px; height: 22px;
  margin: 1px 0 0;
  border-radius: 7px;
  border: 1px solid var(--line-field);
  background: var(--surface);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  position: relative;
}
.checkbox input:checked {
  background: var(--brand);
  border-color: var(--brand-lo);
}
.checkbox input:checked::after {
  content: '';
  position: absolute;
  left: 7px; top: 3px;
  width: 6px; height: 11px;
  border: solid var(--ink);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.checkbox a { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 3px; }

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

.form__success {
  display: none;
  text-align: center;
  padding: clamp(30px, 4vw, 50px) 20px;
}
.form__success svg {
  margin: 0 auto 20px;
  padding: 6px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--ink);
}
.is-sent .form__success { display: block; }
.is-sent .form__body { display: none; }

/* -------------------------------------------------------- Cabecalho pagina */
.pagehead {
  position: relative;
  isolation: isolate;
  padding-top: calc(var(--header-h) + clamp(48px, 6vw, 88px));
  padding-bottom: clamp(40px, 5vw, 72px);
  overflow: hidden;
}
.pagehead.is-clara { background: var(--surface); }
/* Brilho amarelo no canto, atras do titulo */
.pagehead__glow {
  position: absolute;
  z-index: -1;
  width: 980px; height: 980px;
  right: -300px; top: -560px;
  background: radial-gradient(closest-side, rgba(251, 205, 9, 0.28) 0%, rgba(251, 205, 9, 0.08) 55%, rgba(251, 205, 9, 0) 72%);
  pointer-events: none;
}
.pagehead__inner { position: relative; }
.pagehead h1 {
  margin-bottom: 0;
  max-width: 24ch;          /* medida de leitura em corpo de display */
  text-wrap: balance;       /* distribui as linhas em vez de deixar uma orfa */
}
.pagehead p { margin-bottom: 0; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.pagehead .hero__actions { margin-top: clamp(30px, 3.4vw, 42px); }

/* Com foto: um cartao grande arredondado logo abaixo do cabecalho, com a
   imagem, um veu escuro e o titulo em branco embaixo, a esquerda. */
.pagehead--foto {
  padding-top: calc(var(--header-h) + clamp(12px, 1.6vw, 24px));
  padding-bottom: clamp(24px, 3vw, 48px);
  overflow: visible;   /* o brilho nao aparece aqui; assim a sombra do cartao nao corta */
}
.pagehead--foto.is-clara { background: transparent; }
.pagehead__cartao {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: clamp(420px, 42vw, 580px);
  padding: clamp(28px, 4vw, 64px);
  border-radius: var(--r-2xl);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.pagehead__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pagehead__cartao::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 10, 12, 0.14) 0%, rgba(10, 10, 12, 0.36) 40%, rgba(10, 10, 12, 0.86) 100%),
    linear-gradient(90deg, rgba(10, 10, 12, 0.62) 0%, rgba(10, 10, 12, 0.3) 50%, rgba(10, 10, 12, 0) 78%);
}
.pagehead--foto .pagehead__glow { display: none; }
.pagehead--foto h1 { color: #fff; max-width: 20ch; }
.pagehead--foto .breadcrumb { color: #fff; }
.pagehead--foto .breadcrumb a:hover,
.pagehead--foto .breadcrumb > span:last-child { color: #fff; }
.pagehead--foto .yellow { color: var(--brand); background: none; }
.pagehead--foto .lead,
.pagehead--foto p { color: rgba(255, 255, 255, 0.9); }

@media (max-width: 720px) {
  .pagehead h1 { max-width: none; }
}
@media (max-width: 640px) {
  .pagehead__cartao { padding: 24px 20px; border-radius: var(--r-xl); }
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.84rem;
  color: var(--text-3);
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--text); }
/* So as barras ficam apagadas; a pagina atual (ultimo item) le bem */
.breadcrumb span:not(:last-child) { opacity: 0.6; }
.breadcrumb > span:last-child { color: var(--text-2); }

/* ---------------------------------------------------------------- Footer */
/* Rodape escuro, como nos apps de banco, com os cantos de cima arredondados.
   Ele sobe sobre o fim da ultima secao para os cantos mostrarem o fundo dela.
   Os tokens de texto e linha se invertem aqui dentro. */
main > section:last-of-type {
  padding-bottom: calc(var(--section-y) + var(--r-2xl));
  margin-bottom: calc(-1 * var(--r-2xl));
}
main > section.is-tight:last-of-type { padding-bottom: calc(clamp(52px, 6vw, 84px) + var(--r-2xl)); }
/* Superficies escuras: o anel de foco preto sumiria, ali ele fica branco */
.footer,
.hero,
.banner,
.pagehead__cartao { --foco: #fff; }

.footer {
  --text: #ffffff;
  --text-2: #bdbab2;
  --text-3: #8f8b83;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  position: relative;
  background: var(--ink);
  color: var(--text);
  border-radius: var(--r-2xl) var(--r-2xl) 0 0;
  padding-top: clamp(56px, 6vw, 88px);
}
.footer .logo__mark { background: transparent; padding: 2px; }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 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-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  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.94rem;
  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); }
/* min-width e overflow-wrap: o e-mail comprido alargava a pagina em telas de 320px */
.footer__contact-item > div { min-width: 0; overflow-wrap: anywhere; }
.footer__contact-item svg { flex: none; color: var(--brand); margin-top: 3px; }
.footer__contact-item a { display: inline-block; padding-block: 3px; }
.footer__contact-item a:hover { color: var(--brand); }
.footer__contact-item b { display: block; color: var(--text); font-weight: 600; }

.socials { display: flex; gap: 10px; }
.socials a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid; place-items: center;
  color: var(--text-2);
  transition: all 0.2s var(--ease);
}
.footer .socials a { background: rgba(255, 255, 255, 0.06); }
.socials a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--ink);
  transform: translateY(-2px);
}

.footer__legal {
  border-top: 1px solid var(--line);
  padding-block: 28px 34px;
}
.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: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand);
  color: var(--ink);
  box-shadow: var(--shadow-brand), 0 0 0 6px rgba(255, 255, 255, 0.6);
  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. */
/* A entrada usa a propriedade translate (e nao transform) para nao brigar com
   o levantar dos cartoes no hover; depois de visivel, as transicoes de hover
   voltam a valer. */
.js-reveal [data-reveal] {
  opacity: 0;
  translate: 0 26px;
  transition: opacity 0.7s var(--ease), translate 0.7s var(--ease);
}
.js-reveal [data-reveal].is-visible {
  opacity: 1;
  translate: none;
  transition: opacity 0.7s var(--ease), translate 0.7s var(--ease),
              transform 0.3s var(--ease), border-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

@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; translate: none; }
}

/* ----------------------------------------------------------- Responsivo */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; max-width: 48ch; }
}

@media (max-width: 980px) {
  :root { --header-h: 76px; }
  .nav { display: none; }
  .burger { display: grid; }
  .drawer { display: flex; }
  .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: minmax(0, 1fr); }
  .split.is-reversed > *:first-child { order: 2; }
  /* Empilhado, o retrato 3:4 virava uma foto da altura da tela */
  .figure--tall { aspect-ratio: 4 / 3; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .band { grid-template-columns: 1fr; }
  .band__actions { justify-content: flex-start; }
}

/* Tablet: na grade de 2 colunas, o terceiro card de 3 ficava sozinho pela metade */
@media (min-width: 641px) and (max-width: 980px) {
  .grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  body { font-size: 1rem; }
  .logo { gap: 10px; }
  .logo__mark { width: 42px; height: 42px; padding: 6px; border-radius: 13px; }
  .catavento { width: 44px; height: 44px; }
  .logo__name { font-size: 1.36rem; }
  .logo__sub { font-size: 0.74rem; margin-top: 3px; }
  .burger { width: 44px; height: 44px; }
  .grid-2,
  .grid-3,
  .grid-4,
  .steps { grid-template-columns: minmax(0, 1fr); }
  .form__row { grid-template-columns: 1fr; }
  .hero__actions .btn,
  .btn-row > .btn { width: 100%; }
  .btn--lg { min-height: 58px; padding: 16px 28px; font-size: 1.02rem; }
  .footer { border-radius: var(--r-xl) var(--r-xl) 0 0; }
  main > section:last-of-type { padding-bottom: calc(var(--section-y) + var(--r-xl)); margin-bottom: calc(-1 * var(--r-xl)); }
  main > section.is-tight:last-of-type { padding-bottom: calc(clamp(52px, 6vw, 84px) + var(--r-xl)); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__about { max-width: none; }
  /* espaco para o botao do WhatsApp nao cobrir a ultima linha do rodape */
  .footer__legal { padding-bottom: 96px; }
  .faq__a p { padding-right: 10px; }
  .figure { border-radius: var(--r-lg); }
  .figure__tag { left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 12px 16px; }
  .figure__tag b { font-size: 1.2rem; }
  .band { padding: 34px 22px; border-radius: var(--r-lg); }
  .band__deco { width: 230px; right: -60px; top: -60px; }
  .band__actions .btn { width: 100%; }
  .wa { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }

  /* Topo no celular: etiquetas menores; a foto ja desceu para a metade de
     baixo (regra de tela em pe, junto do topo) */
  .hero {
    --hero-pe: 28px;
    padding-top: calc(var(--header-h) + 36px);
  }
  .hero__text { font-size: 1rem; }
  .btn--hero { width: 100%; max-width: 360px; min-height: 64px; }
  .hero__selos li { padding: 6px 12px; font-size: 0.78rem; }
  .hero__vidro { width: 54px; height: 54px; border-radius: 17px; }
  .hero__vidro svg { width: 22px; height: 22px; }
}

/* Numeros curtos cabem 2 por linha; so em tela bem estreita vira 1 */
@media (max-width: 380px) {
  .stats { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------- 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 */
/* Faixa de vidro que gruda logo abaixo do cabeçalho */
.anchors-wrap {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(250, 249, 246, 0.72);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--line);
}
.anchors {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-block: 12px;
  scrollbar-width: none;
}
.anchors::-webkit-scrollbar { display: none; }
.anchors a {
  flex: none;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
  transition: all 0.2s var(--ease);
}
.anchors a:hover { background: var(--brand); border-color: var(--brand); color: var(--ink); }

/* No celular a faixa corre de ponta a ponta da tela: o chip cortado na borda
   mostra que da para arrastar. O ::after garante o respiro no fim da rolagem,
   que o padding sozinho nao garante em todo navegador. */
@media (max-width: 640px) {
  .anchors {
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter) 0;
    scroll-padding-inline: var(--gutter);
  }
  .anchors::after { content: ''; flex: 0 0 calc(var(--gutter) - 8px); }
}

/* --------------------------------------------------- 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(--card); padding: 16px 20px; }
.card .spec { background: var(--surface-2); }
.spec span {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 5px;
  font-weight: 600;
}
.spec b {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
}

/* -------------------------------------------- Ajustes finos do formulário */
.form .field + .btn,
.form .checkbox + .btn { margin-top: 6px; }

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

/* =========================================================================
   Setas de carrossel + 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; }

/* ----------------------------------------------------- Setas de carrossel */
.seta {
  width: 52px;
  height: 52px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease), opacity 0.2s var(--ease);
}
.seta--volta svg { transform: rotate(180deg); }
.seta[aria-disabled="true"] { opacity: 0.4; cursor: default; box-shadow: none; }
@media (hover: hover) {
  .seta:not([aria-disabled="true"]):hover { background: var(--brand); border-color: var(--brand); color: var(--ink); }
}

/* --------------------------------------------------------- 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: 12px; margin-bottom: 34px; }
.socials--lg a { width: 54px; height: 54px; }

.connect__lines {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 32px;
  max-width: 480px;
  box-shadow: var(--shadow-sm);
}
.connect__line {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--card);
  transition: background 0.2s var(--ease);
}
.connect__line:hover { background: var(--surface-2); }
.connect__ico {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--brand);
  color: var(--ink);
}
.connect__line b {
  display: block;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.25;
  word-break: break-word;
}
.connect__line small { font-size: 0.8rem; color: var(--text-3); }

/* Foto do perfil da SOMOS no Instagram, aberto num celular, num cartao
   arredondado. O brilho amarelo atras faz o cartao parecer iluminado. */
.connect__media {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
  width: min(540px, 100%);
}
.connect__media::before {
  content: "";
  position: absolute;
  inset: -6% -14% -6% -14%;
  background: radial-gradient(closest-side, rgba(251, 205, 9, 0.3), rgba(251, 205, 9, 0.08) 60%, transparent);
  pointer-events: none;
}
.connect__foto {
  position: relative;
  width: 100%;
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-lg);
}
/* Selos redondos de vidro sobre a foto, como os do Inter */
.connect__selo {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}
.connect__selo--a { left: -22px; top: 16%; }
.connect__selo--b { right: -18px; bottom: 18%; }

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

@media (max-width: 640px) {
  /* O titulo da secao vem antes da foto do celular, que fica menor */
  .connect__media { order: 0; width: min(400px, 100%); }
  .connect__foto { border-radius: var(--r-xl); }
  .connect__selo { width: 60px; height: 60px; }
  .connect__selo--a { left: 10px; }
  .connect__selo--b { right: 10px; }
}

/* ------------------------------------------------ Parceiros Open Banking */
/* Faixa amarelo-clara de ponta a ponta, com duas esteiras de logos correndo
   em sentidos opostos. Cada faixa tem a lista duas vezes: a animacao anda
   meia faixa (uma lista mais um vao) e recomeca sem emenda. */
.parceiros-ob {
  overflow: hidden;
  background: radial-gradient(120% 85% at 50% 0%, #fff1bf 0%, #fdf5dc 42%, var(--bg) 100%);
}
.parceiros-ob__topo {
  max-width: 880px;
  margin-bottom: clamp(36px, 4vw, 56px);
  text-align: center;
}
.parceiros-ob__topo .lead { margin-top: 14px; }

.esteira {
  --esteira-gap: clamp(12px, 1.4vw, 18px);
  display: grid;
  gap: var(--esteira-gap);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
/* respiro embaixo para a sombra do hover nao ser cortada */
.esteira__linha { overflow: hidden; padding-block: 8px 24px; margin-bottom: -16px; }
.esteira__faixa {
  display: flex;
  gap: var(--esteira-gap);
  width: max-content;
  animation: esteira 70s linear infinite;
}
.esteira__linha--volta .esteira__faixa { animation-direction: reverse; animation-duration: 82s; }
.esteira:hover .esteira__faixa,
.esteira:focus-within .esteira__faixa,
.esteira.is-pausada .esteira__faixa { animation-play-state: paused; }
@keyframes esteira {
  to { transform: translateX(calc(-50% - var(--esteira-gap) / 2)); }
}

.partner {
  flex: none;
  display: grid;
  place-items: center;
  width: clamp(170px, 15vw, 232px);
  height: clamp(92px, 7.6vw, 118px);
  padding: 16px 22px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.partner:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.partner__name {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-2);
}

.parceiros-ob__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
  margin-top: clamp(32px, 3.6vw, 48px);
}
.esteira__pausa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
@media (hover: hover) {
  .esteira__pausa:hover { border-color: var(--ink); background: #fff; }
}

/* Sem animacao: as logos quebram em linhas, todas a vista, sem a copia */
@media (prefers-reduced-motion: reduce) {
  .esteira { -webkit-mask-image: none; mask-image: none; padding-inline: var(--gutter); }
  .esteira__linha { overflow: visible; margin-bottom: 0; }
  .esteira__faixa { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .esteira .partner[aria-hidden="true"],
  .esteira__pausa { display: none; }
}

/* ------------------------------------------------ Logos dos parceiros */
/* Em cinza para o conjunto ficar uniforme, independente da cor de cada
   marca; a cor original volta ao passar o mouse. O multiply apaga o fundo
   branco que algumas logos trazem. */
.partner__logo {
  max-height: clamp(30px, 2.6vw, 42px);
  max-width: 82%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  mix-blend-mode: multiply;
  opacity: 0.74;
  transition: opacity 0.25s var(--ease), filter 0.25s var(--ease);
}
.partner:hover .partner__logo { filter: none; opacity: 1; }

/* Marca com fundo opaco: fica em cinza, um pouco mais apagada que as demais,
   para o retangulo do fundo nao pesar no bloco. Com fundo escuro, a inversao
   deixa o fundo cinza claro e a marca escura. */
.partner__logo--fundo {
  opacity: 0.58;
  border-radius: 6px;
}
.partner__logo--escura { filter: grayscale(1) invert(1); }

/* Logo branca (arquivo feito para o site escuro): vira silhueta escura, ate
   no hover, porque a cor original e branco sobre branco. */
.partner__logo--clara,
.partner:hover .partner__logo--clara {
  filter: brightness(0);
  mix-blend-mode: normal;
}
.partner__logo--clara { opacity: 0.55; }
.partner:hover .partner__logo--clara { opacity: 0.85; }

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

/* Fundo de vidro: a pagina fica desfocada atras do painel */
.modal__fundo {
  position: absolute;
  inset: 0;
  background: rgba(22, 22, 22, 0.3);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
  animation: modalFundo 0.25s var(--ease);
}

.modal__painel {
  --modal-pad: clamp(24px, 3vw, 40px);
  position: relative;
  width: min(880px, 100%);
  max-height: min(84vh, 760px);
  max-height: min(84dvh, 760px);
  overflow-y: auto;
  overscroll-behavior: contain;
  /* barra fina e trilho transparente: os cantos arredondados cortam as pontas */
  scrollbar-width: thin;
  scrollbar-color: rgba(22, 22, 22, 0.25) transparent;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  /* sem padding no topo: o respiro de cima vem do .modal__topo, que gruda */
  padding: 0 var(--modal-pad) var(--modal-pad);
  box-shadow: var(--shadow-lg);
  animation: modalEntra 0.3s var(--ease);
}

/* Titulo e botao de fechar grudam no alto do painel: no formulario longo do
   celular o fechar nao some ao rolar. */
.modal__topo {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 calc(var(--modal-pad) * -1) 18px;
  padding: var(--modal-pad) var(--modal-pad) 14px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
.modal__titulo { margin: 0; }

.modal__fechar {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
@media (hover: hover) {
  .modal__fechar:hover { color: var(--ink); border-color: var(--brand); background: var(--brand); }
}

.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-md);
  overflow: hidden;
}
.modal__lista li {
  background: var(--surface-2);
  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; }
}

/* Celular: o modal vira uma folha que sobe da base e usa a largura toda.
   dvh acompanha a barra do navegador, que o vh ignora. */
@media (max-width: 640px) {
  .modal { padding: 0; place-items: end stretch; }
  .modal__painel {
    --modal-pad: 20px;
    width: 100%;
    max-height: 92vh;
    max-height: 92dvh;
    border-bottom: 0;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    padding-bottom: calc(var(--modal-pad) + env(safe-area-inset-bottom, 0px));
    animation: folhaSobe 0.34s var(--ease);
  }
}

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

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

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

/* ------------------------------------------------------------ Hero */
/* Texto a esquerda; a direita um painel arredondado com a foto do produto no
   alto, que se dissolve no fundo, e o cartao de valor em vidro subindo sobre a
   borda dela. Assim o assunto de qualquer foto fica a vista. */
.prodhero {
  position: relative;
  isolation: isolate;
  padding-top: calc(var(--header-h) + clamp(20px, 3vw, 44px));
  padding-bottom: clamp(48px, 6vw, 88px);
  overflow: hidden;
  overflow: clip visible;
}
.prodhero::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: min(1000px, 110vw);
  aspect-ratio: 1;
  left: -24%;
  top: -46%;
  background: radial-gradient(closest-side, rgba(251, 205, 9, 0.24), rgba(251, 205, 9, 0.06) 55%, rgba(251, 205, 9, 0) 72%);
  pointer-events: none;
}

.prodhero__inner {
  position: relative;
  width: 100%;
  max-width: var(--container-wide);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 4.5vw, 80px);
  align-items: center;
}
.prodhero__copy { max-width: 36rem; }
.prodhero h1 { margin-bottom: 20px; max-width: 15ch; text-wrap: balance; }
.prodhero__lead { margin-bottom: 0; max-width: 42ch; }

.prodhero__media {
  --faixa: clamp(200px, 19vw, 290px);   /* altura da foto acima do cartao */
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  padding: var(--faixa) clamp(18px, 2.4vw, 36px) clamp(18px, 2.4vw, 36px);
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: var(--shadow-lg);
}
.prodhero__img {
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  width: 100%;
  height: calc(var(--faixa) + 200px);
  object-fit: cover;
  object-position: 50% 40%;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
  mask-image: linear-gradient(180deg, #000 60%, transparent);
}

/* ------------------------------------------- Cartão de valor do crédito */
/* Vidro quase opaco: os textos pequenos precisam ler sobre qualquer foto */
.valorcard {
  width: min(420px, 100%);
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 2.6vw, 34px);
  box-shadow: 0 30px 60px -30px rgba(22, 22, 22, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-align: center;
}
.valorcard__rotulo {
  display: block;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.valorcard__valor {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  margin-bottom: 18px;
}
.valorcard__campo {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-field);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-align: center;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.valorcard__campo:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: var(--focus-campo);
}
.valorcard__escala {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
  font-size: 0.8rem;
  color: var(--text-2);
}
.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-2);
}

/* ---------------------------------------------------- Diferenciais */
.difs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.6vw, 56px) clamp(28px, 4vw, 64px);
}
/* Amarelo e preto (analise de usabilidade): o ícone chama mais atenção */
.dif__ico {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--brand);
  color: var(--ink);
  margin-bottom: 20px;
  box-shadow: 0 14px 28px -16px rgba(214, 170, 0, 0.8);
}
.dif__titulo {
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin-bottom: 10px;
}
.dif__texto {
  color: var(--text-2);
  font-size: 0.96rem;
  line-height: 1.65;
  margin: 0;
  max-width: 38ch;
}

/* ------------------------------------------------------- Chamada final */
/* Cartao branco com brilho amarelo; a foto entra recuada, com cantos proprios */
.prodcta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    radial-gradient(90% 120% at 0% 100%, rgba(251, 205, 9, 0.2) 0%, rgba(251, 205, 9, 0) 60%),
    var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.prodcta__copy {
  padding: clamp(30px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.prodcta__copy .h2 { margin-bottom: 8px; }
.prodcta__sub {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--brand-ink);
  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;
  margin: 12px;
  border-radius: calc(var(--r-xl) - 12px);
  overflow: hidden;
}
.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; }
  .prodhero__media { --faixa: clamp(200px, 36vw, 340px); box-shadow: var(--shadow-md); }
  .valorcard { width: min(460px, 100%); }
  .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 { padding-top: calc(var(--header-h) + 24px); }
  .prodhero__media {
    --faixa: clamp(180px, 50vw, 260px);
    padding: var(--faixa) 12px 12px;
    border-radius: var(--r-xl);
  }
  .prodhero__img { height: calc(var(--faixa) + 150px); }
  .valorcard { width: 100%; border-radius: var(--r-md); }
  .difs { grid-template-columns: 1fr; }
  .prodcta { border-radius: var(--r-lg); }
  .prodcta__media { margin: 8px; border-radius: calc(var(--r-lg) - 8px); }
}

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

/* ------------------------------------------ Simulador do produto */
.simprod__nota {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-3);
  max-width: 62ch;
}

.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-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-2);
}
.spcampo input,
.spcampo select {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  line-height: 1.4;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-field);
  background-color: var(--surface);
  color: var(--text);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.2s var(--ease), box-shadow 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='%236f6b63' 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;
}
/* A lista aberta usa as cores do sistema; aqui ela fica igual ao campo */
.spcampo select option,
.spcampo select optgroup {
  background: var(--surface);
  color: var(--text);
}
.spcampo input:focus,
.spcampo select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: var(--focus-campo);
}
.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-lg);
  background: var(--surface-2);
  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-md);
  border: 1px solid var(--line-brand);
  background: var(--brand-soft);
}
.simprod__avisos li {
  position: relative;
  padding-left: 20px;
  font-size: 0.87rem;
  line-height: 1.55;
  color: var(--text);
}
.simprod__avisos li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
}

@media (max-width: 900px) {
  .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: 28px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: none;
  animation: modalEntra 0.3s var(--ease);
  /* ao rolar ate o resultado, o topo grudado do modal nao cobre a parcela */
  scroll-margin-top: 110px;
}
.simmodal__painel .sim__amount { margin-bottom: 4px; }

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

/* =========================================================================
   Telas de toque
   ========================================================================= */
/* Sem mouse, o :hover "gruda" depois do toque: o botao ficava levantado ou
   com a cor de hover ate a pessoa tocar em outro lugar. Aqui os efeitos voltam
   ao normal e o toque ganha um retorno rapido pelo :active. */
@media (hover: none) {
  .btn:hover,
  a.card:hover,
  .socials a:hover,
  .wa:hover { transform: none; }
  .btn:hover { background: var(--btn-bg); box-shadow: none; }
  .btn--ghost:hover { border-color: var(--line-strong); }
  a.card:hover { border-color: var(--line); box-shadow: var(--shadow-sm); }
  .section.is-clara:not(.is-alt) a.card:hover { box-shadow: none; }
  .socials a:hover { background: var(--surface); border-color: var(--line); color: var(--text-2); }
  .footer .socials a:hover { background: rgba(255, 255, 255, 0.06); }
  .link-arrow:hover svg { transform: none; }
  .anchors a:hover { background: rgba(255, 255, 255, 0.7); border-color: var(--line); color: var(--text-2); }
  .partner:hover .partner__logo { filter: grayscale(1); opacity: 0.74; }
  .partner:hover .partner__logo--fundo { opacity: 0.58; }
  .partner:hover .partner__logo--escura { filter: grayscale(1) invert(1); }
  .partner:hover .partner__logo--clara { filter: brightness(0); opacity: 0.55; }
  .partner:hover { transform: none; box-shadow: var(--shadow-sm); }

  .btn:active { transform: scale(0.98); }
  a.card:active,
  .vcard:active,
  .seta:active { opacity: 0.8; }
}

/* =========================================================================
   Ajustes da análise de usabilidade (set/2026)
   ========================================================================= */

/* ----------------------------------------------- Menu: link + seta + CTA */
/* "Soluções" agora é link para a página; a seta ao lado abre a lista.
   Com mouse, passar por cima continua abrindo a lista. */
.nav__item.has-dropdown { display: flex; align-items: center; }
.nav__item.has-dropdown > .nav__link { padding-right: 4px; }
.nav__toggle {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  margin-left: 2px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__toggle:hover,
.nav__item.is-open > .nav__toggle { color: var(--text); background: rgba(22, 22, 22, 0.06); }
/* Página atual: a pílula amarela clara envolve o link e a seta juntos */
.nav__item.has-dropdown:has(> .nav__link.is-active) {
  background: var(--brand-soft);
  border-radius: var(--r-pill);
  padding-right: 6px;
}
.nav__toggle svg { transition: transform 0.25s var(--ease); }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Gancho principal: botão amarelo colado em "Soluções" */
.nav__cta {
  margin-left: 4px;
  padding: 12px 24px;
  font-size: 0.97rem;
  box-shadow: 0 10px 24px -14px rgba(214, 170, 0, 0.9);
}

/* ----------------------------------------- Vitrine de solucoes (home) */
/* Cartoes com foto num trilho horizontal com snap. O trilho vai de ponta a
   ponta da tela, mas o primeiro cartao alinha com a borda do container. */
.vitrine__topo { margin-bottom: clamp(28px, 3.4vw, 44px); }
.vitrine__topo .lead { max-width: 52ch; margin-top: 14px; }

.vitrine__trilho {
  --borda: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  position: relative;   /* referencia do offsetLeft dos cartoes no JS */
  display: flex;
  gap: clamp(12px, 1.4vw, 18px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--borda);
  padding: 6px 0 18px var(--borda);
  scrollbar-width: none;
}
/* respiro no fim da rolagem: o padding da direita some em alguns navegadores */
.vitrine__trilho::after { content: ""; flex: 0 0 calc(var(--borda) - clamp(12px, 1.4vw, 18px)); }
.vitrine__trilho::-webkit-scrollbar { display: none; }
.vitrine__trilho:focus-visible { outline-offset: -4px; }

.vcard {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex: 0 0 clamp(260px, 24vw, 340px);
  height: clamp(420px, 36vw, 520px);
  border-radius: var(--r-lg);
  background: var(--ink);
  color: #fff;
  scroll-snap-align: start;
  box-shadow: var(--shadow-md);
}
.vcard__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.vcard::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0) 28%, rgba(10, 10, 12, 0.55) 54%, rgba(10, 10, 12, 0.86) 100%);
}
/* Selo de vidro claro com texto escuro: le sobre qualquer foto. Nao passa
   por baixo da seta amarela do canto. */
.vcard__selo {
  position: absolute;
  top: 16px;
  left: 16px;
  max-width: calc(100% - 16px - 14px - 42px - 10px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}
.vcard__selo svg {
  flex: none;
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--ink);
}
.vcard__seta {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--ink);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.vcard__rodape {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 8px;
}
.vcard__titulo {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.7vw, 1.65rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.vcard__texto { font-size: 0.92rem; line-height: 1.5; color: rgba(255, 255, 255, 0.9); }

/* Destaque: bloco amarelo da marca, com o simbolo grande ao fundo */
.vcard--destaque {
  flex-basis: clamp(290px, 32vw, 460px);
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 60%),
    var(--brand);
  color: var(--ink);
}
.vcard--destaque::after { content: none; }
.vcard--destaque .vcard__selo {
  padding-left: 14px;
  background: rgba(22, 22, 22, 0.08);
  border-color: rgba(22, 22, 22, 0.14);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: var(--ink);
}
.vcard--destaque .vcard__titulo { font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.06; }
.vcard--destaque .vcard__texto { color: rgba(22, 22, 22, 0.78); max-width: 32ch; }
.vcard__btn { justify-self: start; margin-top: 8px; }
.vcard__marca {
  position: absolute;
  z-index: -1;
  top: -14%;
  right: -24%;
  width: 80%;
  color: var(--ink);
  opacity: 0.1;
  pointer-events: none;
  transition: transform 0.6s var(--ease);
}
@media (hover: hover) {
  .vcard:hover .vcard__img { transform: scale(1.05); }
  .vcard:hover .vcard__seta { background: #fff; transform: translateX(3px); }
  .vcard--destaque:hover .vcard__marca { transform: rotate(-18deg); }
}

.vitrine__base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(16px, 2vw, 28px);
}
.vitrine__setas { display: flex; gap: 10px; }

@media (max-width: 640px) {
  .vcard { flex-basis: 78vw; height: 440px; }
  .vcard--destaque { flex-basis: 86vw; }
  /* no toque a vitrine e arrastada; as setas saem e o botao ocupa a linha */
  .vitrine__setas { display: none; }
  .vitrine__base .btn { width: 100%; }
}

/* ------------------------------------------ Por que a SOMOS (faixa de foto) */
/* Foto de ponta a ponta com veu escuro, a chamada centralizada e os quatro
   motivos em cartoes de vidro escuro na base. */
.banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(100vh, 920px);
  min-height: min(100svh, 920px);
  padding-block: clamp(88px, 10vw, 132px) clamp(40px, 5vw, 64px);
  background: var(--ink);
  color: #fff;
}
.banner__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.banner::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.68) 0%, rgba(10, 10, 12, 0.6) 38%, rgba(10, 10, 12, 0.62) 68%, rgba(10, 10, 12, 0.9) 100%);
}
.banner__inner {
  position: relative;
  display: grid;
  gap: clamp(48px, 7vw, 112px);
}
.banner__copy {
  max-width: 46rem;
  margin-inline: auto;
  display: grid;
  justify-items: center;
  text-align: center;
}
.banner__titulo { color: #fff; margin-bottom: 16px; }
.banner__texto {
  max-width: 44ch;
  margin-bottom: 30px;
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
}

.banner__itens {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
}
.banner__item {
  padding: clamp(20px, 2vw, 28px);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}
.banner__ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand);
  color: var(--ink);
}
.banner__item h3 {
  margin: 18px 0 6px;
  font-size: clamp(1.04rem, 1.25vw, 1.16rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
}
.banner__item p { margin: 0; font-size: 0.92rem; line-height: 1.55; color: rgba(255, 255, 255, 0.82); }

/* Selo "Atendimento humano": texto girando em volta do icone */
.selo {
  position: relative;
  flex: none;
  width: clamp(124px, 11vw, 168px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: var(--ink);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.6), 0 0 0 8px rgba(255, 255, 255, 0.16);
}
/* gira uma volta quando entra na tela, e para */
.selo__anel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.selo.is-visible .selo__anel { animation: selo-gira 4.5s var(--ease) 0.3s 1; }
.selo__anel text {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  fill: var(--ink);
}
.selo__centro {
  display: grid;
  place-items: center;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  color: var(--brand);
}
.selo__centro svg { width: 44%; height: 44%; }
@keyframes selo-gira { to { transform: rotate(360deg); } }

/* Na faixa de foto o selo flutua no canto de cima, a direita */
.selo.banner__selo { position: absolute; top: -36px; right: var(--gutter); }

@media (max-width: 1080px) {
  .banner__itens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .selo.banner__selo { position: relative; top: auto; right: auto; justify-self: center; margin-bottom: -24px; }
}
@media (max-width: 640px) {
  .banner { min-height: 0; padding-block: 72px 20px; }
  .banner__inner { gap: 40px; }
  .banner__selo { width: 108px; }
  .banner__itens { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .banner__item { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; border-radius: var(--r-md); }
  .banner__ico { grid-row: span 2; }
  .banner__item h3 { margin-top: 0; }
}

/* -------------------------------- Cartões de informação sobrepostos à foto */
/* Soluções: o cartão amarelo sai da moldura da foto para chamar atenção. */
.figure.figure--pop { overflow: visible; }
.figure--pop img,
.figure--pop::after { border-radius: inherit; }
.figure--pop .figure__tag {
  bottom: clamp(26px, 3vw, 46px);
  left: calc(-1 * clamp(18px, 2.4vw, 42px));
  max-width: min(320px, 82%);
  padding: clamp(18px, 1.8vw, 26px) clamp(20px, 2vw, 30px);
  background: var(--brand);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: 0;
  border-radius: var(--r-lg);
  box-shadow: 0 30px 60px -28px rgba(22, 22, 22, 0.5);
  transition: transform 0.35s var(--ease);
}
.split.is-reversed .figure--pop .figure__tag {
  left: auto;
  right: calc(-1 * clamp(18px, 2.4vw, 42px));
}
.figure--pop:hover .figure__tag { transform: translateY(-6px); }
.figure--pop .figure__tag b {
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 6px;
}
.figure--pop .figure__tag span {
  display: block;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(22, 22, 22, 0.78);
}

@media (max-width: 980px) {
  .figure.figure--pop { margin-bottom: 34px; }
  .figure--pop .figure__tag,
  .split.is-reversed .figure--pop .figure__tag {
    left: 16px;
    right: auto;
    bottom: -30px;
    max-width: calc(100% - 32px);
  }
}
@media (max-width: 640px) {
  .figure--pop .figure__tag,
  .split.is-reversed .figure--pop .figure__tag { padding: 14px 16px; max-width: min(260px, calc(100% - 32px)); }
  .figure--pop .figure__tag b { font-size: 1.3rem; }
  .figure--pop .figure__tag span { font-size: 0.84rem; }
}
@media (hover: none) {
  .figure--pop:hover .figure__tag { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .selo__anel { animation: none; }
}
