/* ==========================================================================
   GIUSTO — sistema visual
   Cor: apenas os dois azuis da marca (#016FE0 e #0A2540) + branco.
   Tokens em OKLCH, mesma família de matiz (~251–256).
   ========================================================================== */

:root {
  /* cor */
  --blue: oklch(55.65% 0.1918 256.31);          /* #016FE0 — azul da marca */
  --blue-strong: oklch(49.5% 0.176 256.31);     /* hover — mesmo matiz, mais profundo */
  --navy: oklch(25.99% 0.0604 251.32);          /* #0A2540 — azul-marinho da marca */
  --white: oklch(100% 0 0);
  --ink: oklch(30% 0.052 252);                  /* texto corrido (derivado do navy) */
  --ink-soft: oklch(41.5% 0.045 252);           /* texto secundário */
  --wash: oklch(96.9% 0.013 256);               /* superfície azulada muito clara */
  --line: oklch(89.5% 0.018 254);               /* hairlines sobre branco */
  --blue-chip: oklch(93.5% 0.035 256);          /* fundo de ícones/chips */

  /* verde do WhatsApp — sinaliza a ação de conversa (fora do tema de marca) */
  --wa: #25D366;
  --wa-strong: #1EBE57;

  /* mock de conversa (imagem realista do WhatsApp — não faz parte do tema) */
  --chat-bg: #ece2d8;
  --chat-out: #d9fdd3;
  --chat-ink: #111b21;
  --chat-meta: #8696a0;

  /* tipo */
  --font: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-display: clamp(2.4rem, 1.75rem + 4.2vw, 4.9rem);
  --fs-h2: clamp(1.95rem, 1.4rem + 2.4vw, 3.1rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);

  /* ritmo */
  --space-section: clamp(4.5rem, 3rem + 6vw, 8rem);
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;

  /* camadas */
  --z-header: 50;
  --z-float: 60;

  /* movimento */
  --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ---------- base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, p, dl, dd, figure, ol, ul { margin: 0; }
ul, ol { padding: 0; }

::selection { background: var(--blue); color: var(--white); }

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

.hero :focus-visible,
.cta :focus-visible,
.manifest :focus-visible,
.footer :focus-visible,
.site-header:not(.is-solid) :focus-visible {
  outline-color: var(--white);
}

section[id] { scroll-margin-top: 88px; }

.container {
  width: min(100% - clamp(2.5rem, 8vw, 6rem), 74rem);
  margin-inline: auto;
}

.container--narrow { max-width: 52rem; }

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: calc(var(--z-float) + 1);
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--r-s) var(--r-s);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}

.skip-link:focus { top: 0; }

/* ---------- ícones ---------- */

.icon { flex: none; }
.icon--wa { width: 1.2em; height: 1.2em; fill: currentColor; }

/* ---------- botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 640;
  line-height: 1.2;
  padding: 0.95rem 1.6rem;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s var(--ease-out),
    box-shadow 0.18s var(--ease-out),
    background-color 0.18s var(--ease-out),
    color 0.18s var(--ease-out);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--light {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 14px 32px -12px oklch(20% 0.05 252 / 0.5);
}

.btn--light:hover { box-shadow: 0 20px 40px -14px oklch(20% 0.05 252 / 0.55); }

.btn--outline {
  background: transparent;
  color: var(--blue);
  box-shadow: inset 0 0 0 1.5px var(--blue);
}

.btn--outline:hover { background: var(--blue-chip); }

.btn--lg { font-size: 1.125rem; padding: 1.1rem 2rem; }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  transition: background-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 76px;
}

.site-header__brand { display: inline-flex; text-decoration: none; }
.brand__img { height: 28px; width: auto; }
.brand__img--blue { display: none; }

.site-header.is-solid .brand__img--white { display: none; }
.site-header.is-solid .brand__img--blue { display: block; }

.site-header.is-solid {
  background: var(--white);
  box-shadow: 0 1px 0 var(--line), 0 12px 32px -20px oklch(26% 0.06 251 / 0.25);
}

.site-header__nav {
  display: flex;
  gap: 2rem;
}

.site-header__nav a {
  position: relative;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 560;
  text-decoration: none;
  padding: 0.25rem 0;
}

.site-header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}

.site-header__nav a:hover::after { transform: scaleX(1); }
.site-header.is-solid .site-header__nav a { color: var(--ink); }

/* CTA do header: verde do WhatsApp em qualquer estado, para leitura imediata */
.btn--wa { font-size: 0.95rem; padding: 0.65rem 1.2rem; background: var(--wa); color: var(--white); }
.btn--wa:hover { background: var(--wa-strong); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--blue);
  background-image: url("assets/hero-bg.webp");
  background-size: cover;
  background-position: 78% center;
  color: var(--white);
  padding: calc(76px + clamp(4rem, 9vw, 7rem)) 0 clamp(4.5rem, 9vw, 7.5rem);
  min-height: min(92vh, 880px);
  display: flex;
  align-items: center;
}

/* scrim: escurece a esquerda (onde fica o texto) e some sobre o modelo */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(96deg,
    oklch(25% 0.06 255 / 0.82) 0%,
    oklch(25% 0.06 255 / 0.55) 32%,
    oklch(25% 0.06 255 / 0.15) 52%,
    oklch(25% 0.06 255 / 0) 66%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
}

/* 39rem: "com clareza." no corpo variável (wght 820, wdth 125%) mede ~604px
   no clamp máximo — 34rem quebrava o título quando a fonte real carregava */
.hero__copy { max-width: 39rem; }

.hero__title {
  font-size: var(--fs-display);
  font-stretch: 125%;
  font-weight: 820;
  letter-spacing: -0.022em;
  line-height: 1.02;
  text-wrap: balance;
}

.hero__line { display: block; }

.hero__sub {
  margin-top: 1.5rem;
  max-width: 33rem;
  font-size: var(--fs-lead);
  line-height: 1.6;
  text-wrap: pretty;
}

.hero__ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.hero__secondary {
  color: var(--white);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border-bottom: 1.5px solid oklch(100% 0 0 / 0.55);
  padding-bottom: 0.15rem;
  transition: border-color 0.18s var(--ease-out);
}

.hero__secondary:hover { border-color: var(--white); }

.hero__note {
  margin-top: 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: oklch(100% 0 0 / 0.92);
}

/* ---------- seções ---------- */

.section { padding: var(--space-section) 0; }
.section--wash { background: var(--wash); }

.section__title {
  color: var(--navy);
  font-size: var(--fs-h2);
  font-stretch: 115%;
  font-weight: 780;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}

.section__head { max-width: 46rem; }

.section__lead {
  margin-top: 1.25rem;
  font-size: var(--fs-lead);
  color: var(--ink-soft);
  text-wrap: pretty;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.split__copy p { max-width: 34rem; text-wrap: pretty; }
.split__copy p + p { margin-top: 1.1rem; }
.split__copy p strong { color: var(--navy); font-weight: 660; }
.split__copy .btn { margin-top: 2rem; }

/* ---------- checklist ---------- */

.checklist {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  max-width: 32rem;
}

.icon--check {
  width: 1.4rem;
  height: 1.4rem;
  padding: 0.22rem;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: var(--blue-chip);
  color: var(--blue);
}

.checklist span { line-height: 1.55; }
.checklist strong { color: var(--navy); font-weight: 660; }

/* ---------- diagrama do fluxo ---------- */

.flow {
  background: var(--wash);
  border-radius: var(--r-l);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.flow__now {
  background: var(--blue);
  color: var(--white);
  border-radius: var(--r-m);
  padding: 1.25rem 1.5rem;
}

.flow__now-label { display: block; font-size: 0.85rem; font-weight: 550; }

.flow__now-value {
  display: block;
  margin-top: 0.2rem;
  font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.5rem);
  font-stretch: 120%;
  font-weight: 820;
  letter-spacing: -0.015em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.flow__connector {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0.25rem;
  color: var(--blue);
}

.flow__connector-line {
  flex: 1;
  height: 1.5px;
  background: var(--blue);
  opacity: 0.35;
}

.flow__arrow { width: 1.5rem; height: 1.5rem; }

.flow__years {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.flow__year {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 0.8rem 0.5rem;
  text-align: center;
  font-weight: 720;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.flow__caption {
  margin-top: 1.4rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* ---------- passos ---------- */

.steps {
  list-style: none;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
}

.step {
  border-top: 1.5px solid oklch(55.65% 0.1918 256.31 / 0.3);
  padding-top: 1.4rem;
}

.step__num {
  display: block;
  font-size: 2.9rem;
  font-stretch: 125%;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.step__title {
  margin-top: 1rem;
  color: var(--navy);
  font-size: 1.125rem;
  font-weight: 720;
  letter-spacing: -0.005em;
}

.step p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- manifesto ---------- */

.manifest {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  padding: var(--space-section) 0;
}

.manifest__g {
  position: absolute;
  left: -5rem;
  bottom: -7rem;
  height: 27rem;
  width: auto;
  max-width: none;
  opacity: 0.055;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.manifest__entry { position: relative; }

.manifest__word {
  display: block;
  font-size: clamp(3.4rem, 2.4rem + 5vw, 5.9rem);
  font-stretch: 125%;
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1;
}

.manifest__grammar {
  display: block;
  margin-top: 1.1rem;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: oklch(100% 0 0 / 0.72);
}

.manifest__def {
  display: block;
  margin-top: 0.85rem;
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem);
  font-stretch: 112%;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: var(--blue);
}

.manifest__lead {
  position: relative;
  margin-top: 2.4rem;
  max-width: 41rem;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: oklch(100% 0 0 / 0.88);
  text-wrap: pretty;
}

.manifest__principles {
  position: relative;
  margin-top: clamp(2.75rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
}

.manifest__principle {
  border-top: 1.5px solid oklch(100% 0 0 / 0.22);
  padding-top: 1.3rem;
  font-size: 0.97rem;
  line-height: 1.6;
  color: oklch(100% 0 0 / 0.78);
}

.manifest__principle strong {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 740;
  letter-spacing: -0.008em;
}

/* ---------- linhas de features (consignado) ---------- */

.feature-rows { display: flex; flex-direction: column; }

.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.feature-row:first-child { border-top: 1px solid var(--line); }

.feature-row__icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--blue-chip);
  color: var(--blue);
  display: grid;
  place-items: center;
}

.feature-row__icon svg { width: 24px; height: 24px; }

.feature-row h3 {
  color: var(--navy);
  font-size: 1.125rem;
  font-weight: 720;
}

.feature-row p {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- FAQ ---------- */

.faq { margin-top: clamp(2.25rem, 4vw, 3.25rem); border-top: 1px solid var(--line); }

.faq__item { border-bottom: 1px solid var(--line); }

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
  color: var(--navy);
  font-size: 1.075rem;
  font-weight: 660;
  line-height: 1.4;
  transition: color 0.18s var(--ease-out);
}

.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--blue); }

.faq__marker {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px oklch(55.65% 0.1918 256.31 / 0.5);
  transition: transform 0.28s var(--ease-out), background-color 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out);
}

.faq__marker::before,
.faq__marker::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.6px;
  background: var(--blue);
  transform: translate(-50%, -50%);
  transition: background-color 0.28s var(--ease-out);
}

.faq__marker::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq__item[open] .faq__marker {
  transform: rotate(45deg);
  background: var(--blue);
  box-shadow: inset 0 0 0 1.5px var(--blue);
}

.faq__item[open] .faq__marker::before,
.faq__item[open] .faq__marker::after { background: var(--white); }

.faq__answer p {
  padding: 0 0 1.5rem;
  max-width: 44rem;
  color: var(--ink);
  text-wrap: pretty;
}

/* ---------- CTA final ---------- */

.cta {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: var(--white);
  padding: var(--space-section) 0;
}

.cta__g {
  position: absolute;
  left: -4%;
  bottom: -42%;
  height: 125%;
  width: auto;
  max-width: none;
  opacity: 0.1;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.cta__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.cta__title {
  font-size: var(--fs-h2);
  font-stretch: 120%;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}

.cta__sub {
  margin-top: 1.25rem;
  max-width: 32rem;
  font-size: var(--fs-lead);
  line-height: 1.6;
  text-wrap: pretty;
}

.cta__copy .btn { margin-top: 2.25rem; }

/* ---------- mock da conversa ---------- */

.chat {
  justify-self: end;
  width: min(100%, 26rem);
  background: var(--chat-bg);
  border-radius: var(--r-l);
  overflow: hidden;
  box-shadow: 0 36px 72px -30px oklch(19% 0.05 252 / 0.55);
  font-size: 0.9375rem;
}

.chat__head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.85rem 1.1rem;
}

.chat__avatar { width: 36px; height: 36px; border-radius: 50%; }

.chat__peer strong { display: block; font-size: 0.95rem; font-weight: 650; line-height: 1.25; }
.chat__peer span { display: block; font-size: 0.78rem; color: oklch(100% 0 0 / 0.72); }

.chat__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.2rem 0.9rem 1.4rem;
}

.chat__bubble {
  max-width: 84%;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  color: var(--chat-ink);
  line-height: 1.45;
  box-shadow: 0 1px 1px rgb(0 0 0 / 0.09);
  text-wrap: pretty;
}

.chat__bubble--out {
  align-self: flex-end;
  background: var(--chat-out);
  border-bottom-right-radius: 3px;
}

.chat__bubble--in {
  align-self: flex-start;
  background: var(--white);
  border-bottom-left-radius: 3px;
}

.chat__inputbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--white);
  padding: 0.75rem 1.1rem;
  color: var(--chat-meta);
  font-size: 0.9rem;
}

.chat__inputbar svg { width: 22px; height: 22px; }

/* ---------- footer ---------- */

.footer {
  background: var(--navy);
  color: var(--white);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr auto;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid oklch(100% 0 0 / 0.14);
}

.footer__brand img { height: 30px; width: auto; }

.footer__brand p {
  margin-top: 1.1rem;
  max-width: 26rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: oklch(100% 0 0 / 0.68);
}

.footer__nav { display: flex; flex-direction: column; gap: 0.7rem; }

.footer__nav a {
  color: oklch(100% 0 0 / 0.8);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.18s var(--ease-out);
}

.footer__nav a:hover { color: var(--white); }

.footer__wa {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 620;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px oklch(100% 0 0 / 0.3);
  transition: background-color 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out);
}

.footer__wa:hover {
  background: oklch(100% 0 0 / 0.08);
  box-shadow: inset 0 0 0 1.5px oklch(100% 0 0 / 0.5);
}

.footer__legal {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding-top: 2rem;
}

.footer__legal p {
  font-size: 0.8rem;
  line-height: 1.55;
  color: oklch(100% 0 0 / 0.5);
  max-width: 46rem;
}

/* ---------- botão flutuante ---------- */

.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: var(--z-float);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--wa);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  box-shadow: 0 18px 40px -14px oklch(22% 0.06 252 / 0.6);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition:
    opacity 0.3s var(--ease-out),
    transform 0.3s var(--ease-out),
    background-color 0.18s var(--ease-out);
}

.wa-float.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.wa-float:hover { background: var(--wa-strong); }
.wa-float .icon--wa { width: 1.35em; height: 1.35em; }

/* ---------- movimento de entrada ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 0.7s var(--ease-out),
      transform 0.7s var(--ease-out);
  }

  .js .reveal.is-in { opacity: 1; transform: none; }

  .js .steps .step:nth-child(2) { transition-delay: 0.08s; }
  .js .steps .step:nth-child(3) { transition-delay: 0.16s; }
  .js .steps .step:nth-child(4) { transition-delay: 0.24s; }
  .js .manifest__principles .manifest__principle:nth-child(2) { transition-delay: 0.1s; }
  .js .manifest__principles .manifest__principle:nth-child(3) { transition-delay: 0.2s; }

  /* coreografia de carregamento do hero */
  .anim .hero__line,
  .anim .hero__sub,
  .anim .hero__ctas,
  .anim .hero__note {
    opacity: 0;
    transform: translateY(0.55em);
    transition:
      opacity 0.85s var(--ease-out),
      transform 0.85s var(--ease-out);
  }

  .anim .hero__line:nth-child(2) { transition-delay: 0.09s; }
  .anim .hero__line:nth-child(3) { transition-delay: 0.18s; }
  .anim .hero__sub { transition-delay: 0.3s; }
  .anim .hero__ctas { transition-delay: 0.4s; }
  .anim .hero__note { transition-delay: 0.5s; }

  .anim.is-in .hero__line,
  .anim.is-in .hero__sub,
  .anim.is-in .hero__ctas,
  .anim.is-in .hero__note { opacity: 1; transform: none; }
}

/* ---------- responsivo ---------- */

@media (max-width: 1024px) {
  .hero__grid,
  .cta__grid { grid-template-columns: 1fr; }

  .chat { justify-self: start; }

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

  .split { grid-template-columns: 1fr; }
  .split--reverse .split__copy { order: -1; }

  .cta__g { left: auto; right: -25%; bottom: -30%; }
}

@media (max-width: 880px) {
  .site-header__nav { display: none; }
}

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

  /* hero em retrato: imagem inteira sem corte (mesmo aspecto da foto, 887×1774),
     texto ancorado no topo sobre o céu, modelo livre embaixo */
  .hero {
    background-image: url("assets/hero-bg-mobile.webp");
    background-size: cover;
    background-position: center bottom;
    aspect-ratio: 1 / 2;
    min-height: 0;
    align-items: flex-start;
  }

  .hero::before {
    background: linear-gradient(180deg,
      oklch(20% 0.06 255 / 0.66) 0%,
      oklch(20% 0.06 255 / 0.40) 26%,
      oklch(20% 0.06 255 / 0.10) 44%,
      oklch(20% 0.06 255 / 0) 56%);
  }

  .hero__copy { max-width: none; }
  .hero__title { font-size: clamp(2rem, 8.2vw, 2.55rem); }
  .hero__sub { margin-top: 0.9rem; font-size: 1rem; }
  .hero__ctas { margin-top: 1.35rem; }
  .hero__note { margin-top: 0.9rem; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }

  .hero { padding-top: calc(76px + 1.5rem); }

  .hero__ctas { gap: 1.1rem; }
  .hero__ctas .btn { width: 100%; }
  /* um único CTA no celular: a dobra seguinte já explica o produto,
     e o texto precisa terminar antes do modelo na foto */
  .hero__secondary { display: none; }

  .steps { grid-template-columns: 1fr; }

  .split__copy .btn { width: 100%; }

  .cta__copy .btn { width: 100%; }

  .wa-float { padding: 1rem; }
  .wa-float__label { display: none; }
  .wa-float .icon--wa { width: 1.5em; height: 1.5em; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__legal { flex-direction: column; }
}

/* ---------- movimento reduzido ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
