/* =========================================================
   OAK CRÉDITO — Sistema visual
   Paleta e tipografia derivadas da identidade OAK
   ========================================================= */

:root {
  /* Paleta */
  --bone:  #F2EEEA;
  --sand:  #E7E2DA;
  --stone: #C9C2B8;
  --clay:  #9A948C;
  --umber: #665B52;
  --ink:   #111111;
  --white: #FFFFFF;

  /* Tipografia */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Montserrat", "Helvetica Neue", Arial, sans-serif;

  /* Métricas */
  --shell: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 84px;

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

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

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

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
blockquote, figure, address, dl { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--ink); color: var(--bone); }

:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 4px;
}

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.12;
  margin: 0;
}

h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }

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

.lead {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.85;
  color: var(--umber);
  max-width: 58ch;
}

.mark {
  font-family: var(--serif);
  font-style: italic;
}

/* Label institucional — caixa alta com tracking largo (assinatura da marca) */
.label {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--clay);
}

.label--ink { color: var(--umber); }
.label--light { color: var(--stone); }

.rule {
  width: 56px;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
  margin: 22px 0;
  border: 0;
}

.rule--center { margin-inline: auto; }

/* ---------- Estrutura ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(72px, 10vw, 140px);
}

.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--sand { background: var(--sand); }
.section--stone { background: var(--stone); }
.section--ink { background: var(--ink); color: var(--bone); }
.section--ink .lead { color: var(--stone); }
.section--ink h2 { color: var(--bone); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 68px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 { margin-top: 18px; }
.section-head .lead { margin-top: 22px; }
.section-head--center .lead { margin-inline: auto; }

.grid { display: grid; gap: clamp(20px, 2.6vw, 34px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--bone);
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 34px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: background 0.45s var(--ease), color 0.45s var(--ease),
              border-color 0.45s var(--ease), transform 0.45s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  --btn-bg: var(--umber);
  --btn-bd: var(--umber);
}

.btn svg { width: 15px; height: 15px; flex: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: rgba(17, 17, 17, 0.28);
}

.btn--ghost:hover {
  --btn-bg: var(--ink);
  --btn-fg: var(--bone);
  --btn-bd: var(--ink);
}

.btn--light {
  --btn-bg: var(--bone);
  --btn-fg: var(--ink);
  --btn-bd: var(--bone);
}

.btn--light:hover {
  --btn-bg: transparent;
  --btn-fg: var(--bone);
  --btn-bd: var(--bone);
}

.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

/* Link com traço animado */
.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.2);
  transition: border-color 0.4s var(--ease), gap 0.4s var(--ease);
}

.link:hover { border-color: var(--ink); gap: 18px; }
.link svg { width: 14px; height: 14px; }

/* =========================================================
   Header
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease),
              height 0.5s var(--ease);
}

.header.is-stuck,
.header.is-solid {
  background: rgba(242, 238, 234, 0.94);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(17, 17, 17, 0.09);
  height: 70px;
}

.header__inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Marca — lockup vetorial: símbolo OAK, filete e assinatura */
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  line-height: 1;
  color: var(--ink);
}

.brand__mark {
  display: block;
  height: 34px;
  width: auto;
  color: inherit;
  transition: opacity 0.35s var(--ease);
}

.brand:hover .brand__mark { opacity: 0.72; }

.brand__tag {
  display: block;
  width: 100%;
  padding-top: 7px;
  border-top: 1px solid rgba(17, 17, 17, 0.2);
  font-size: 0.47rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  color: var(--umber);
}

/* Lockup maior no rodapé */
.footer .brand__mark { height: 46px; }
.footer .brand__tag { font-size: 0.56rem; padding-top: 9px; }

/* Sobre fundo escuro, o traço acompanha o texto claro */
.section--ink .brand,
.cta .brand { color: var(--bone); }

.section--ink .brand__tag,
.cta .brand__tag {
  color: var(--stone);
  border-top-color: rgba(242, 238, 234, 0.28);
}

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }

.nav__link {
  position: relative;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-block: 6px;
  color: var(--umber);
  transition: color 0.35s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"] { color: var(--ink); }

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__cta { display: flex; align-items: center; gap: 16px; }
.header__cta .btn { padding: 13px 26px; font-size: 0.62rem; }

/* Botão hambúrguer */
.burger {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: none;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: var(--radius);
  position: relative;
}

.burger span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}

.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 26px; }

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Menu mobile */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--bone);
  padding: calc(var(--header-h) + 40px) var(--gutter) 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0.5s;
}

.drawer.is-open { opacity: 1; visibility: visible; transform: none; }

.drawer a {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  padding-block: 10px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.drawer .btn { margin-top: 28px; }

body.is-locked { overflow: hidden; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 60px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 82% 12%, var(--sand) 0%, transparent 62%),
    linear-gradient(180deg, var(--bone) 0%, var(--sand) 100%);
}

/* Marca d'água tipográfica */
.hero__watermark {
  position: absolute;
  right: -4vw;
  bottom: -6vh;
  font-family: var(--serif);
  font-size: clamp(16rem, 40vw, 42rem);
  line-height: 0.72;
  color: var(--ink);
  opacity: 0.035;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  width: 100%;
}

.hero h1 { margin-top: 26px; }
.hero h1 .mark { display: block; color: var(--umber); }
.hero .lead { margin-top: 30px; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 52px);
  margin-top: 54px;
  padding-top: 30px;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.hero__meta div strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1;
}

.hero__meta div span {
  display: block;
  margin-top: 8px;
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--umber);
}

/* Cartão flutuante do hero */
.hero__card {
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, 0.08);
  padding: clamp(26px, 3vw, 40px);
  box-shadow: 0 30px 70px -50px rgba(17, 17, 17, 0.6);
}

.hero__card h3 { margin-top: 14px; font-size: 1.35rem; }

.hero__card ul {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}

.hero__card li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--umber);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.07);
}

.hero__card li:last-child { border-bottom: 0; padding-bottom: 0; }
.hero__card li svg { width: 16px; height: 16px; margin-top: 5px; flex: none; color: var(--clay); }
.hero__card .btn { margin-top: 30px; }

/* Faixa de credibilidade */
.strip {
  background: var(--ink);
  color: var(--stone);
  padding-block: 22px;
  overflow: hidden;
}

.strip__track {
  display: flex;
  align-items: center;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
}

.strip span {
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 60px;
}

.strip span::after {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--umber);
  border-radius: 50%;
}

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

/* =========================================================
   Página interna — cabeçalho
   ========================================================= */
.pagehead {
  padding-top: calc(var(--header-h) + clamp(60px, 9vw, 120px));
  padding-bottom: clamp(48px, 7vw, 90px);
  background: linear-gradient(180deg, var(--sand) 0%, var(--bone) 100%);
}

.pagehead h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); margin-top: 20px; }
.pagehead .lead { margin-top: 26px; }

.crumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 26px;
}

.crumbs a:hover { color: var(--ink); }

/* =========================================================
   Cards de modalidade (inspirado no board COLEÇÕES)
   ========================================================= */
.collection {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.collection__item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.6vw, 40px) clamp(20px, 2vw, 30px);
  min-height: 340px;
  border-right: 1px solid rgba(17, 17, 17, 0.07);
  transition: transform 0.55s var(--ease);
}

.collection__item:last-child { border-right: 0; }
.collection__item:hover { transform: translateY(-6px); }

.collection__item:nth-child(1) { background: var(--bone); }
.collection__item:nth-child(2) { background: var(--sand); }
.collection__item:nth-child(3) { background: var(--stone); }
.collection__item:nth-child(4) { background: var(--clay); color: var(--bone); }
.collection__item:nth-child(5) { background: var(--ink); color: var(--bone); }

.collection__item:nth-child(4) .label,
.collection__item:nth-child(5) .label { color: rgba(242, 238, 234, 0.62); }

.collection__item:nth-child(4) p,
.collection__item:nth-child(5) p { color: rgba(242, 238, 234, 0.78); }

.collection__num {
  font-family: var(--serif);
  font-size: 0.85rem;
  opacity: 0.4;
}

.collection__item h3 {
  margin-top: auto;
  padding-top: 40px;
  font-size: 1.32rem;
}

.collection__item hr {
  width: 28px;
  border: 0;
  border-top: 1px solid currentColor;
  opacity: 0.3;
  margin: 18px 0;
}

.collection__item p {
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--umber);
}

/* =========================================================
   Cards genéricos
   ========================================================= */
.card {
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, 0.08);
  padding: clamp(26px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -48px rgba(17, 17, 17, 0.75);
}

.card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 50%;
  margin-bottom: 26px;
  color: var(--umber);
}

.card__icon svg { width: 20px; height: 20px; }
.card h3 { font-size: 1.24rem; }
.card p { margin-top: 14px; font-size: 0.92rem; color: var(--umber); }
.card .link { margin-top: auto; padding-top: 26px; align-self: flex-start; }

/* Cards com fundo da paleta — usados nas linhas de "Outras modalidades" */
.card--fundo { border-color: transparent; }
.card--fundo-1 { background: var(--sand); }
.card--fundo-2 { background: var(--stone); }
.card--fundo-3 { background: var(--clay); color: var(--bone); }

.card--fundo-3 h3 { color: var(--bone); }
.card--fundo-3 p { color: rgba(242, 238, 234, 0.82); }
.card--fundo-3 .card__icon { border-color: rgba(242, 238, 234, 0.4); color: var(--bone); }
.card--fundo-3 .link { border-bottom-color: rgba(242, 238, 234, 0.4); }
.card--fundo-3 .link:hover { border-bottom-color: var(--bone); }

/* Faixa de instituições parceiras — logotipos lado a lado */
.bancos {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: rgba(17, 17, 17, 0.1);
  border: 1px solid rgba(17, 17, 17, 0.1);
}

.bancos__item {
  flex: 1 1 160px;
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 20px 16px;
  background: var(--white);
  transition: background 0.4s var(--ease);
}

.bancos__item:hover { background: var(--bone); }

.bancos__item span {
  font-family: var(--serif);
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  color: var(--umber);
  text-align: center;
}

.bancos__item img {
  max-height: 42px;
  width: auto;
  object-fit: contain;
  /* Logos coloridos convivem melhor com a paleta em escala de cinza */
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.4s var(--ease), opacity 0.4s var(--ease);
}

.bancos__item:hover img { filter: none; opacity: 1; }

.card--flat { background: transparent; border: 0; padding: 0; }
.card--flat:hover { transform: none; box-shadow: none; }

.card--outline { background: transparent; }

/* Lista de checagem */
.checks { display: grid; gap: 14px; margin-top: 28px; }

.checks li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--umber);
}

.checks svg { width: 16px; height: 16px; margin-top: 5px; flex: none; color: var(--clay); }
.section--ink .checks li { color: var(--stone); }

/* =========================================================
   Passo a passo
   ========================================================= */
.steps { counter-reset: step; display: grid; gap: 0; }

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: clamp(20px, 3vw, 48px);
  padding-block: clamp(28px, 3vw, 40px);
  border-top: 1px solid rgba(17, 17, 17, 0.1);
  align-items: start;
}

.step:last-child { border-bottom: 1px solid rgba(17, 17, 17, 0.1); }

.step__num {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
  color: var(--clay);
}

.step__num::before { content: "0" counter(step); }
.step h3 { font-size: 1.28rem; }
.step p { margin-top: 12px; color: var(--umber); max-width: 62ch; }

.section--ink .step { border-color: rgba(242, 238, 234, 0.14); }
.section--ink .step p { color: var(--stone); }
.section--ink .step__num { color: var(--umber); }

/* =========================================================
   Simulador
   ========================================================= */
.sim {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: var(--white);
}

.sim__form { padding: clamp(28px, 3.4vw, 52px); }

.sim__result {
  padding: clamp(28px, 3.4vw, 52px);
  background: var(--ink);
  color: var(--bone);
  display: flex;
  flex-direction: column;
}

.field { margin-bottom: 26px; }

.field label,
.field > .label-text {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--umber);
  margin-bottom: 12px;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  padding: 15px 16px;
  background: var(--bone);
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--ink);
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.field textarea { min-height: 140px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--white);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23665B52' stroke-width='1.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 42px;
}

.field__hint {
  margin-top: 8px;
  font-size: 0.74rem;
  color: var(--clay);
}

.field__error {
  display: none;
  margin-top: 8px;
  font-size: 0.75rem;
  color: #8a3b2f;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #8a3b2f; }
.field.has-error .field__error { display: block; }

/* Range estilizado */
.range-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  gap: 12px;
}

.range-head output {
  font-family: var(--serif);
  font-size: 1.4rem;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 1px;
  background: rgba(17, 17, 17, 0.2);
  margin: 14px 0 4px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--bone);
  box-shadow: 0 0 0 1px var(--ink);
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 3px solid var(--bone);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
  cursor: pointer;
}

.range-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--clay);
}

/* Grupo de opções (chips) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }

.chips input { position: absolute; opacity: 0; pointer-events: none; }

.chips label {
  margin: 0;
  padding: 11px 18px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: var(--radius);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--umber);
  cursor: pointer;
  transition: all 0.35s var(--ease);
}

.chips input:checked + label {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bone);
}

.chips input:focus-visible + label { outline: 1px solid var(--ink); outline-offset: 3px; }

/* Resultado */
.result__value {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: 1;
  margin-top: 16px;
}

.result__value small {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-right: 10px;
}

.result__list {
  margin-top: 38px;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(242, 238, 234, 0.16);
}

.result__list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 15px;
  border-bottom: 1px solid rgba(242, 238, 234, 0.16);
  font-size: 0.88rem;
  color: var(--stone);
}

.result__list li b {
  font-weight: 400;
  color: var(--bone);
  font-family: var(--serif);
  font-size: 1.02rem;
}

.result__note {
  margin-top: auto;
  padding-top: 30px;
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--clay);
}

.result .btn { margin-top: 28px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { border-top: 1px solid rgba(17, 17, 17, 0.12); }

.faq__item { border-bottom: 1px solid rgba(17, 17, 17, 0.12); }

.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  transition: color 0.35s var(--ease);
}

.faq__q:hover { color: var(--umber); }

.faq__sign {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
}

.faq__sign::before,
.faq__sign::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}

.faq__sign::before { top: 7.5px; left: 0; width: 16px; height: 1px; }
.faq__sign::after { left: 7.5px; top: 0; width: 1px; height: 16px; }

.faq__q[aria-expanded="true"] .faq__sign::after { transform: rotate(90deg); opacity: 0; }

.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s var(--ease);
}

.faq__a > div {
  padding-bottom: 30px;
  max-width: 76ch;
  color: var(--umber);
  font-size: 0.95rem;
}

/* =========================================================
   Depoimentos
   ========================================================= */
.quote {
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, 0.08);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.quote__mark {
  font-family: var(--serif);
  font-size: 3.4rem;
  line-height: 0.6;
  color: var(--stone);
  margin-bottom: 22px;
}

.quote p {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.65;
  font-style: italic;
}

.quote footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: auto;
  padding-top: 26px;
  font-size: 0.62rem;
  line-height: 1.6;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
}

/* Consultor responsável pelo atendimento */
.quote__agent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 6px 12px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  font-size: 0.54rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
  color: var(--umber);
}

.quote__agent::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clay);
}

/* =========================================================
   Blocos de conteúdo
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.split--wide { grid-template-columns: 0.9fr 1.1fr; }

.figure {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(90% 70% at 30% 20%, rgba(242, 238, 234, 0.9) 0%, transparent 60%),
    linear-gradient(140deg, var(--stone) 0%, var(--clay) 55%, var(--umber) 100%);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.figure--tall { aspect-ratio: 3 / 4; }
.figure--wide { aspect-ratio: 16 / 11; }

.figure__mark {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 5.4rem);
  color: var(--bone);
  letter-spacing: 0.1em;
  opacity: 0.9;
  text-align: center;
  line-height: 1;
}

.figure__mark span {
  display: block;
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  margin-top: 14px;
  opacity: 0.85;
}

.figure--ink {
  background: linear-gradient(150deg, var(--umber) 0%, var(--ink) 70%);
}

/* Números / indicadores */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(17, 17, 17, 0.1);
  border: 1px solid rgba(17, 17, 17, 0.1);
}

.section--ink .stats { background: rgba(242, 238, 234, 0.16); border-color: rgba(242, 238, 234, 0.16); }

.stats > div {
  background: var(--bone);
  padding: clamp(26px, 3vw, 42px);
}

.section--ink .stats > div { background: var(--ink); }
.section--sand .stats > div { background: var(--sand); }

.stats strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 400;
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 12px;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--umber);
}

.section--ink .stats span { color: var(--clay); }

/* Tabela */
.table-wrap { overflow-x: auto; border: 1px solid rgba(17, 17, 17, 0.1); }

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: var(--white);
}

th, td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  font-size: 0.9rem;
}

th {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--umber);
  background: var(--sand);
}

td b { font-weight: 400; font-family: var(--serif); font-size: 1.02rem; }
tbody tr:last-child td { border-bottom: 0; }

/* Valores da marca (board lateral escuro) */
.values { display: grid; gap: 0; }

.values__item {
  padding-block: clamp(26px, 3vw, 38px);
  border-bottom: 1px solid rgba(242, 238, 234, 0.14);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 26px;
  align-items: start;
}

.values__item:last-child { border-bottom: 0; }
.values__item svg { width: 26px; height: 26px; color: var(--clay); }
.values__item h3 { font-size: 1.15rem; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--sans); font-weight: 400; font-size: 0.72rem; }
.values__item p { margin-top: 10px; color: var(--stone); font-size: 0.92rem; }

/* CTA final */
.cta {
  background: var(--ink);
  color: var(--bone);
  text-align: center;
  padding-block: clamp(72px, 9vw, 130px);
}

.cta h2 { color: var(--bone); max-width: 20ch; margin-inline: auto; }
.cta p { color: var(--stone); max-width: 56ch; margin: 26px auto 0; }
.cta .btn-row { justify-content: center; }

/* =========================================================
   Rodapé
   ========================================================= */
.footer {
  background: var(--sand);
  padding-top: clamp(60px, 7vw, 96px);
  padding-bottom: 36px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

.footer h4 {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--umber);
  margin-bottom: 22px;
}

.footer li { margin-bottom: 12px; }

.footer li a,
.footer address a {
  font-size: 0.92rem;
  color: var(--umber);
  transition: color 0.3s var(--ease);
}

.footer li a:hover,
.footer address a:hover { color: var(--ink); }

.footer address { font-style: normal; font-size: 0.92rem; color: var(--umber); line-height: 1.9; }

.footer .brand__name { font-size: 2rem; }
.footer__about { margin-top: 26px; font-size: 0.9rem; color: var(--umber); max-width: 34ch; }

.socials { display: flex; gap: 12px; margin-top: 26px; }

.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 50%;
  color: var(--umber);
  transition: all 0.4s var(--ease);
}

.socials a:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.socials svg { width: 16px; height: 16px; }

.footer__legal {
  padding-top: 32px;
  font-size: 0.74rem;
  line-height: 1.9;
  color: var(--clay);
}

.footer__legal p { max-width: 110ch; }

.footer__bottom {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(17, 17, 17, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
}

.footer__bottom a:hover { color: var(--ink); }

/* WhatsApp flutuante */
.wa {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 70;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--bone);
  border-radius: 50%;
  box-shadow: 0 18px 40px -20px rgba(17, 17, 17, 0.8);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}

.wa:hover { transform: scale(1.06); background: var(--umber); }
.wa svg { width: 24px; height: 24px; }

/* Aviso legal em bloco */
.notice {
  border: 1px solid rgba(17, 17, 17, 0.14);
  padding: clamp(22px, 3vw, 34px);
  background: var(--white);
  font-size: 0.82rem;
  line-height: 1.85;
  color: var(--umber);
}

.notice strong { font-weight: 400; color: var(--ink); }

/* Conteúdo longo (legal, artigos) */
.prose { max-width: 76ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 56px; }
.prose h3 { font-size: 1.2rem; margin-top: 36px; }
.prose h2 + p, .prose h3 + p { margin-top: 16px; }
.prose p, .prose li { color: var(--umber); font-size: 0.96rem; }
.prose ul { margin: 18px 0; display: grid; gap: 10px; }
.prose ul li { padding-left: 22px; position: relative; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 1px;
  background: var(--clay);
}

/* =========================================================
   Animação de entrada
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

[data-reveal].is-visible { opacity: 1; transform: none; }

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

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1080px) {
  .collection { grid-template-columns: repeat(2, 1fr); }
  .collection__item { min-height: 280px; border-bottom: 1px solid rgba(17, 17, 17, 0.07); }
  .collection__item:nth-child(2n) { border-right: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .nav, .header__cta .btn--ghost { display: none; }
  .burger { display: block; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .sim { grid-template-columns: 1fr; }
  .split, .split--wide { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  /* --- densidade --- */
  :root { --gutter: 20px; }

  .section { padding-block: 54px; }
  .section--tight { padding-block: 42px; }
  .cta { padding-block: 64px; }

  h1 { font-size: clamp(2.1rem, 9vw, 2.9rem); }
  h2 { font-size: clamp(1.7rem, 7.4vw, 2.2rem); }
  h3 { font-size: 1.15rem; }

  .lead { font-size: 0.96rem; line-height: 1.72; }
  .section-head { margin-bottom: 30px; }
  .section-head h2 { margin-top: 12px; }
  .section-head .lead { margin-top: 16px; }
  .btn-row { margin-top: 26px; gap: 10px; }
  .btn { padding: 15px 26px; }

  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr 1fr; }
  .card { padding: 22px; }
  .card__icon { width: 38px; height: 38px; margin-bottom: 18px; }
  .card p { font-size: 0.88rem; }

  .step { grid-template-columns: 1fr; gap: 6px; padding-block: 22px; }
  .step__num { font-size: 1.6rem; }
  .checks { gap: 11px; margin-top: 20px; }
  .checks li { font-size: 0.9rem; }

  .values__item { grid-template-columns: 1fr; gap: 12px; padding-block: 24px; }

  /* --- hero --- */
  .hero { padding-top: calc(var(--header-h) + 20px); padding-bottom: 44px; }
  .hero h1 { margin-top: 18px; }
  .hero .lead { margin-top: 18px; }
  .hero__watermark { font-size: 22rem; bottom: -3vh; opacity: 0.04; }
  /* grid de 3 colunas evita que o último rótulo estoure a borda */
  .hero__meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 30px;
    padding-top: 20px;
    gap: 12px;
  }
  .hero__meta div strong { font-size: 1.45rem; }
  .hero__meta div span { font-size: 0.5rem; letter-spacing: 0.1em; line-height: 1.5; margin-top: 6px; }

  /* --- simulador --- */
  .sim__form, .sim__result { padding: 24px 20px; }
  .field { margin-bottom: 20px; }
  .result__value { font-size: 2.5rem; }
  .result__list { margin-top: 26px; }
  .result__list li { padding-block: 12px; font-size: 0.84rem; }

  /* --- tabela --- */
  table { min-width: 520px; }
  th, td { padding: 14px 16px; font-size: 0.84rem; }

  /* --- figuras decorativas: viram faixas, não blocos altos --- */
  .figure, .figure--tall, .figure--wide { aspect-ratio: 16 / 7; }
  .figure__mark { font-size: 2.6rem; }

  /* --- rodapé --- */
  .footer { padding-top: 46px; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; padding-bottom: 30px; }
  .footer h4 { margin-bottom: 14px; }
  .footer li { margin-bottom: 9px; }
  .footer__nav-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .footer__about { margin-top: 18px; }
  .socials { margin-top: 18px; }
  .footer__legal { padding-top: 24px; font-size: 0.7rem; }

  .header__cta .btn { display: none; }

  /* no topo do celular fica só o símbolo; a assinatura completa segue no rodapé */
  .header .brand__mark { height: 24px; }
  .header .brand__tag { display: none; }
  .footer .brand__mark { height: 34px; }

  .quote p { font-size: 1rem; }
  .quote__mark { font-size: 2.6rem; margin-bottom: 14px; }
}

/* =========================================================
   Utilitários responsivos
   ========================================================= */

/* Some no celular — usado em blocos redundantes ou decorativos */
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
}

/* Vira carrossel horizontal centralizado no celular, no lugar da pilha vertical */
@media (max-width: 640px) {
  .scroll-sm,
  .collection {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    /* sangra até as bordas e reserva 11vw de cada lado: o item central fica no meio da tela */
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px 11vw 16px;
    scrollbar-width: none;
    border: 0;
  }

  .scroll-sm::-webkit-scrollbar,
  .collection::-webkit-scrollbar { display: none; }

  .scroll-sm > *,
  .collection__item {
    flex: 0 0 78vw;
    scroll-snap-align: center;
  }

  /* :nth-child(n) eleva a especificidade para vencer a regra de 2 colunas acima */
  .collection__item:nth-child(n) {
    aspect-ratio: 1 / 1;
    min-height: 0;
    justify-content: flex-end;
    padding: 26px 24px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 24px 50px -44px rgba(17, 17, 17, 0.9);
  }

  .collection__item:nth-child(4),
  .collection__item:nth-child(5) { border-color: transparent; }

  .collection__num { position: absolute; top: 24px; left: 24px; }
  .collection__item h3 { padding-top: 0; }

  /* Indicadores do carrossel (montados via JS) */
  .dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2px;
  }

  .dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--clay);
    opacity: 0.35;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }

  .dots button[aria-current="true"] {
    opacity: 1;
    transform: scale(1.35);
    background: var(--ink);
  }

  .section--ink .dots button { background: var(--stone); }
  .section--ink .dots button[aria-current="true"] { background: var(--bone); }

  /* dica textual só aparece se os indicadores não tiverem sido montados */
  .scroll-hint {
    display: block;
    margin-top: 4px;
    font-size: 0.6rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--clay);
    text-align: center;
  }

  .dots ~ .scroll-hint { display: none; }
}

@media (min-width: 641px) {
  .scroll-hint, .dots { display: none; }
}
