/* =========================================================
   Stratus IA — página inicial (modelo base)
   Linha escura, inspirada em assistentes de IA modernas:
   vídeo no topo, barra de pergunta, rolagem em etapas,
   carrossel de casos, cartões com animação de pontos.
   ========================================================= */

:root {
  --bg: #03060D;
  --bg-2: #0A0E16;
  --bg-3: #121825;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #F2F4F7;
  --muted: rgba(242, 244, 247, 0.64);
  --dim: rgba(242, 244, 247, 0.32);
  --accent: #4DA3FF;
  --accent-soft: rgba(77, 163, 255, 0.16);

  /* WhatsApp (tema escuro) */
  --wa-bg: #0B141A;
  --wa-header: #1F2C34;
  --wa-in: #202C33;
  --wa-out: #005C4B;
  --wa-text: #E9EDEF;
  --wa-meta: #8696A0;
  --wa-green: #00A884;
  --wa-field: #2A3942;
  --wa-tick: #53BDEB;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --amber: #FFC94D;
  --side: clamp(20px, 4.2vw, 72px); /* margem lateral única: logo, menu e títulos alinhados */
  --phone-w: 320px;
  /* tamanho único dos celulares (topo, demonstração e Como funciona); diminui em telas baixas */
  --mock-w: min(390px, calc((100svh - 70px) * 0.486));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { -webkit-text-size-adjust: 100%; background: var(--bg); }
/* tudo 10% menor, como o zoom de 90% do navegador (só em telas de computador) */
@media (min-width: 1001px) { body { zoom: 0.9; } }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 400; }
button, input { font-family: inherit; }

::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.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;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-weight: 500;
}
.skip-link:focus { top: 12px; }

/* títulos revelados: escondidos só até o JS dividir em linhas */
[data-reveal] > div { padding-block: 0.06em 0.12em; margin-block: -0.06em -0.12em; }
html.js:not(.is-ready) [data-reveal]:not(.is-split) { visibility: hidden; }
html.js:not(.is-ready) .hero__inner,
html.js:not(.is-ready) .logos { opacity: 0; }

/* ---------- Botões em pílula ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.pill--light { background: var(--text); color: var(--bg); }
.pill--light:hover { background: #fff; }
.pill--ghost { color: var(--text); border-color: var(--line-2); }
.pill--ghost:hover { border-color: rgba(255, 255, 255, 0.4); }
.pill--sm { height: 40px; padding: 0 16px; font-size: 14.5px; }
.pill--lg { height: 58px; padding: 0 30px; font-size: 17px; }

/* =========================================================
   Navegação
   ========================================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 30px;
  height: 88px;
  padding: 0 var(--side);
  transition: transform 0.6s var(--ease), opacity 0.4s ease;
}
/* rolando para baixo o topo sai de cena; rolando para cima ele volta */
.nav.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
/* ao rolar: fica só a logo e o menu recolhe no botão com dropdown */
.nav__links,
.nav__sep,
.nav__cta { transition: opacity 0.35s ease, transform 0.5s var(--ease); }
.nav.is-compact .nav__links,
.nav.is-compact .nav__sep,
.nav.is-compact .nav__cta {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}
.nav__burger {
  position: absolute;
  top: 50%;
  right: var(--side);
  display: grid;
  place-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(16, 22, 34, 0.6);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  cursor: pointer;
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.5s var(--ease), background-color 0.25s ease;
}
.nav__burger i {
  display: block;
  width: 18px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.4s var(--ease);
}
.nav__burger:hover { background: rgba(30, 38, 52, 0.8); }
.nav.is-compact .nav__burger { opacity: 1; transform: scale(1); pointer-events: auto; }
.nav__burger[aria-expanded="true"] i:first-of-type { transform: translateY(3.8px) rotate(45deg); }
.nav__burger[aria-expanded="true"] i:last-of-type { transform: translateY(-3.8px) rotate(-45deg); }

.nav__drop {
  position: absolute;
  top: calc(50% + 34px);
  right: var(--side);
  display: grid;
  gap: 2px;
  min-width: 240px;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 17, 27, 0.88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  transform-origin: 100% 0;
}
.nav__drop[hidden] { display: none; }
.nav__drop a:not(.pill) {
  padding: 11px 14px;
  border-radius: 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav__drop a:not(.pill):hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.nav__drop .pill { margin-top: 8px; }
.nav__blur {
  position: absolute;
  inset: 0 0 -40px 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(3, 6, 13, 0.85) 50%, rgba(3, 6, 13, 0) 100%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  transition: opacity 0.5s ease;
}
.nav.is-solid .nav__blur { opacity: 1; }
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.nav__logo img { border-radius: 50%; }
.nav__logo sup { font-size: 9px; font-weight: 600; letter-spacing: 0.02em; margin-left: 2px; vertical-align: 1.1em; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.25s ease;
}
.nav__links a:hover { color: var(--text); }
.nav__sep { width: 1px; height: 20px; background: var(--line-2); }

/* =========================================================
   Topo
   ========================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 150px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__video {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform: scale(1.06);
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 60% at 50% 48%, rgba(3, 6, 13, 0.25) 0%, rgba(3, 6, 13, 0.62) 100%),
    linear-gradient(180deg, rgba(3, 6, 13, 0.55) 0%, rgba(3, 6, 13, 0.1) 30%, rgba(3, 6, 13, 0.25) 70%, var(--bg) 100%);
}
.hero__title {
  font-size: clamp(2.5rem, 1rem + 4.7vw, 4.6rem);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.025em;
}
.hero__line { display: block; white-space: nowrap; }

.app-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 1.12em;
  height: 1.12em;
  margin: 0 0.06em;
  border-radius: 0.27em;
  vertical-align: -0.2em;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}
.app-icon svg { width: 0.7em; height: 0.7em; }
.app-icon--sky { background: linear-gradient(160deg, #6CB8FF 0%, #2E6FE0 100%); }
.app-icon--doc { background: linear-gradient(160deg, #3D86F5 0%, #1C3F9E 100%); }
.app-icon--chat { background: linear-gradient(160deg, #3EE07A 0%, #1EA952 100%); color: #fff; }
.app-icon--chat svg { width: 0.74em; height: 0.74em; }

/* barra de pergunta (vidro) */
.ask {
  position: relative;
  width: min(760px, 100%);
  margin: 52px auto 0;
  padding: 18px 12px 12px 22px;
  border-radius: 26px;
  background: rgba(28, 32, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
  text-align: left;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.ask:focus-within { border-color: rgba(255, 255, 255, 0.3); background: rgba(28, 32, 42, 0.65); }
.ask__input {
  width: 100%;
  padding: 2px 0 20px;
  border: 0;
  outline: none;
  background: none;
  color: var(--text);
  font-size: 17px;
  caret-color: var(--accent);
}
.ask__ghost {
  position: absolute;
  top: 20px;
  left: 22px;
  right: 22px;
  pointer-events: none;
  color: rgba(242, 244, 247, 0.6);
  font-size: 17px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ask__ghost::after {
  content: "";
  display: inline-block;
  width: 1.5px;
  height: 1.1em;
  margin-left: 2px;
  vertical-align: -0.2em;
  background: rgba(242, 244, 247, 0.6);
  animation: blink 1s steps(1) infinite;
}
.ask.has-text .ask__ghost { opacity: 0; }
@keyframes blink { 50% { opacity: 0; } }
.ask__bar { display: flex; align-items: center; gap: 10px; }
.ask__chip, .ask__mic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}
.ask__chip svg, .ask__mic svg { width: 19px; height: 19px; }
.ask__hint { margin-right: auto; font-size: 13.5px; color: var(--dim); }
.ask__send {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  cursor: pointer;
  transition: transform 0.3s var(--ease), background-color 0.3s ease;
}
.ask__send:hover { transform: scale(1.07); background: #fff; }
.ask__send svg { width: 20px; height: 20px; }

/* faixa de fontes oficiais */
.logos {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.logos__track { display: flex; width: max-content; }
.logos__list {
  display: flex;
  gap: 88px;
  margin: 0;
  padding: 0 88px 0 0;
  list-style: none;
}
.logos__list li {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(242, 244, 247, 0.42);
  white-space: nowrap;
}

/* =========================================================
   Como funciona (rolagem em etapas)
   ========================================================= */

.story { position: relative; }
.story__pin {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 8vw;
  min-height: 100vh;
  min-height: 100svh;
  padding: 100px clamp(24px, 10vw, 200px);
}
.story__visual {
  position: relative;
  justify-self: center;
  width: min(520px, 100%);
  aspect-ratio: 1 / 1.1;
}
.scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 34px;
  overflow: hidden;
  isolation: isolate;
  opacity: 0;
  visibility: hidden;
}
.scene.is-active { opacity: 1; visibility: visible; }
.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}
.scene--ask {
  background:
    radial-gradient(110% 85% at 18% 12%, #A9C1DE 0%, transparent 55%),
    radial-gradient(90% 80% at 85% 92%, #34507A 0%, transparent 62%),
    linear-gradient(160deg, #7690B2 0%, #1F2E47 100%);
}
.scene--orbit {
  background:
    radial-gradient(110% 90% at 25% 14%, #BFD0DE 0%, transparent 55%),
    radial-gradient(90% 90% at 80% 88%, #47678A 0%, transparent 62%),
    linear-gradient(170deg, #8CA4BE 0%, #263850 100%);
}
.scene--notes {
  background:
    radial-gradient(110% 90% at 20% 10%, #EADCC6 0%, transparent 55%),
    radial-gradient(90% 90% at 85% 90%, #6B5848 0%, transparent 62%),
    linear-gradient(165deg, #CBB9A1 0%, #3C332D 100%);
}

.scene__ask {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 90%;
  min-height: 62px;
  padding: 10px 10px 10px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.32);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 15.5px;
  font-weight: 500;
}
.scene__typed { white-space: nowrap; overflow: hidden; }
.scene__caret {
  width: 1.5px;
  height: 1.2em;
  margin-left: -8px;
  margin-right: auto;
  background: #fff;
  animation: blink 1s steps(1) infinite;
}
.scene__send {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #0B1324;
}
.scene__send svg { width: 18px; height: 18px; }
.scene__modes { display: flex; gap: 8px; margin-top: 20px; }
.scene__modes span {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}

.scene__status { position: relative; z-index: 2; color: rgba(255, 255, 255, 0.92); font-size: 18px; }
.orbit { position: absolute; inset: 9%; border-radius: 50%; }
.orbit span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 17px;
  background: #fff;
  color: #0B2554;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.5);
}

.scene--notes { gap: 12px; }
.note {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  width: 86%;
  padding: 13px 16px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #111;
  box-shadow: 0 16px 34px -20px rgba(0, 0, 0, 0.55);
}
.note b { font-size: 14px; font-weight: 600; }
.note span { font-size: 12.5px; color: #6b6b6b; }
.note p { grid-column: 1 / -1; font-size: 14px; line-height: 1.4; }

/* fundos de aviação nas etapas (foto desfocada) */
.scene__bg {
  position: absolute;
  inset: -40px;
  z-index: -2;
  background-size: cover;
  background-position: center;
  filter: blur(18px) saturate(1.15) brightness(0.8);
  transform: scale(1.05);
}
.scene--ask .scene__bg { background-position: 60% 50%; }
.scene--notes .scene__bg { filter: blur(16px) saturate(1.2) brightness(0.9); }

/* etapa 2: radar varrendo as fontes oficiais */
.scene--radar {
  background:
    radial-gradient(70% 70% at 50% 50%, #0E2342 0%, #050B16 75%);
}
.scene__radar { position: absolute; inset: 0; width: 100%; height: 100%; }
.blips { position: absolute; inset: 0; }
.blip {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 5px 9px;
  border-radius: 7px;
  border: 1px solid rgba(77, 163, 255, 0.35);
  background: rgba(5, 11, 22, 0.75);
  color: rgba(166, 205, 255, 0.55);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transform: translate(-50%, -50%);
  transition: color 0.4s ease, border-color 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
}
.blip.is-lit {
  color: #fff;
  border-color: var(--accent);
  background: rgba(77, 163, 255, 0.25);
  box-shadow: 0 0 18px rgba(77, 163, 255, 0.55);
}
.scene--radar .scene__status {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 15px;
  color: rgba(242, 244, 247, 0.75);
}

/* =========================================================
   Painel de partidas (letras que viram)
   ========================================================= */

.board { padding: clamp(80px, 10vw, 140px) var(--side) clamp(40px, 6vw, 80px); }
.board__head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: end;
  gap: 32px;
  max-width: 1240px;
  margin: 0 auto 48px;
}
.board__lead { color: var(--muted); font-size: 1.15rem; max-width: 40ch; }
.board__panel {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 40px);
  border-radius: 30px;
  background: linear-gradient(180deg, #0B0D12 0%, #06070A 100%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 40px 80px -50px rgba(0, 0, 0, 0.9);
  overflow-x: auto;
}
.board__table { min-width: 860px; }
.board__row {
  display: grid;
  grid-template-columns: 9fr 6fr 10fr 8fr 6fr;
  gap: 18px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.board__row--head {
  padding: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.board__cell { display: flex; gap: 3px; }
.flap {
  position: relative;
  display: grid;
  place-items: center;
  width: 1.15em;
  height: 1.6em;
  border-radius: 4px;
  background: linear-gradient(180deg, #1A1C22 0%, #1A1C22 49%, #111317 51%, #111317 100%);
  color: var(--amber);
  font-family: var(--mono);
  font-size: clamp(14px, 1.25vw, 19px);
  font-weight: 700;
  line-height: 1;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.6), 0 1px 0 rgba(255, 255, 255, 0.03);
}
.flap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(0, 0, 0, 0.7);
}
.flap.is-flip { animation: flap 0.08s linear; }
@keyframes flap { 50% { transform: scaleY(0.15); filter: brightness(1.6); } }
.board__cell--ok .flap { color: #7CE3A1; }
.board__cell--warn .flap { color: #FF9F6B; }
.board__note { margin-top: 18px; font-size: 13px; color: var(--dim); }

.story__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.step__title {
  font-size: clamp(2.6rem, 1.5rem + 2.8vw, 4.3rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: rgba(242, 244, 247, 0.3);
  transition: color 0.6s ease;
}
.step.is-active .step__title { color: var(--text); }
.step__body { overflow: hidden; }
.step__body p {
  max-width: 30ch;
  margin: 14px 0 24px;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem);
  line-height: 1.42;
  color: var(--muted);
}
.step__body .pill { margin-bottom: 18px; }
html.js .step:not(.is-active) .step__body { height: 0; }

/* =========================================================
   Para quem (carrossel de casos)
   ========================================================= */

.cases { padding: clamp(90px, 11vw, 170px) 0 clamp(80px, 10vw, 140px); overflow: hidden; }

/* cabeçalho no padrão da página: rótulo + título à esquerda, texto à direita alinhado à base */
.cases__head {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr);
  align-items: end;
  gap: clamp(40px, 6vw, 110px);
  margin: 0 auto;
  padding: 0 var(--side);
}
.cases__title {
  font-size: clamp(2.3rem, 1rem + 3.4vw, 4.4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.cases__title span { color: var(--dim); }
.cases__text { justify-self: end; max-width: 36ch; font-size: 1.15rem; color: var(--muted); }

/* abas à esquerda, setas à direita */
.cases__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: clamp(36px, 4vw, 56px) var(--side) clamp(24px, 3vw, 36px);
}
.cases__arrows { display: flex; gap: 10px; }
.cases__arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--text);
  color: #0A0E16;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s var(--ease), background-color 0.3s ease;
}
.cases__arrow svg { width: 20px; height: 20px; }
.cases__arrow:hover { background: #fff; transform: scale(1.06); }
.cases__arrow:disabled { opacity: 0.3; cursor: default; transform: none; }
.cases__arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab {
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.tab:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.32); }
.tab[aria-selected="true"] { background: var(--text); border-color: var(--text); color: #0A0E16; }

/* fileira de cards que passa da borda da tela; arrasta, rola de lado ou usa as setas */
.cases__viewport {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--side);
  scrollbar-width: none;
  padding: 0 var(--side) 6px;
  cursor: grab;
}
.cases__viewport::-webkit-scrollbar { display: none; }
.cases__viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.cases__track { display: flex; gap: 16px; width: max-content; }
.case {
  flex: none;
  display: flex;
  flex-direction: column;
  width: clamp(290px, 23vw, 340px);
  min-height: 430px;
  padding: 12px 12px 26px;
  border-radius: 28px;
  background: #0E131C;
  border: 1px solid var(--line);
  scroll-snap-align: start;
  transition: border-color 0.4s ease, transform 0.6s var(--ease);
}
.case:hover { border-color: var(--line-2); transform: translateY(-4px); }
.case__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.case__chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.case__av { width: 30px; height: 30px; border-radius: 50%; background-size: cover; background-position: center; }
.case__go {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.4s var(--ease);
}
.case__go svg { width: 18px; height: 18px; }
.case__go:hover, .case:hover .case__go { background: var(--text); color: #0A0E16; }
.case__q { width: 26px; height: 22px; margin: 46px 14px 14px; color: var(--dim); }
.case h3 {
  padding: 0 14px;
  font-size: clamp(1.25rem, 1rem + 0.55vw, 1.55rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.case__foot { margin: auto 14px 0; padding: 30px 0 0; }
.case__foot > div { padding-left: 12px; border-left: 1px solid var(--line-2); }
.case__foot b {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--amber);
}
.case__foot p { margin-top: 5px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }


/* =========================================================
   Confiança
   ========================================================= */

.trust { padding: 40px var(--side) clamp(100px, 12vw, 160px); }
.trust__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--side); }
.trust__card {
  display: flex;
  flex-direction: column;
  min-height: clamp(560px, 82vh, 840px);
  padding: clamp(32px, 4vw, 60px) clamp(28px, 4vw, 64px);
  border-radius: 34px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.trust__card h3 {
  max-width: 14ch;
  font-size: clamp(1.8rem, 1.1rem + 1.5vw, 2.6rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
}
.trust__canvas { flex: 1; width: 100%; min-height: 280px; margin: 24px 0; }
.trust__card p { max-width: 46ch; font-size: 1.1rem; color: var(--muted); }

/* =========================================================
   Depoimentos
   ========================================================= */

.section-title {
  max-width: 15ch;
  font-size: clamp(2.3rem, 1.2rem + 3vw, 4.3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.section-title--center { margin: 0 auto clamp(48px, 6vw, 72px); text-align: center; max-width: 18ch; }

.reviews { padding: 40px var(--side) clamp(100px, 12vw, 160px); }
/* cabeçalho no padrão da página: rótulo + título à esquerda, botão à direita */
.reviews__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.reviews__title {
  max-width: 16ch;
  font-size: clamp(2.3rem, 1rem + 3.4vw, 4.4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.reviews__title span { color: var(--dim); }

/* mural em masonry: 3 colunas alinhadas no topo; cada cartão ocupa a altura do seu texto */
.reviews__grid {
  columns: 3;
  column-gap: 24px;
}
.review {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 0 0 24px;
  break-inside: avoid;
  padding: clamp(28px, 2.6vw, 38px) clamp(26px, 2.4vw, 34px);
  border-radius: 26px;
  background: #0E131C;
  border: 1px solid var(--line);
  transition: border-color 0.4s ease, transform 0.6s var(--ease);
}
.review:hover { border-color: var(--line-2); transform: translateY(-4px); }
.review blockquote {
  margin: 0;
  font-size: clamp(1.1rem, 0.95rem + 0.45vw, 1.35rem);
  line-height: 1.42;
  letter-spacing: -0.01em;
  color: rgba(242, 244, 247, 0.86);
}
.review figcaption { display: flex; align-items: center; gap: 14px; }
.review__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(160deg, #1D3A63 0%, #0F2240 100%);
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
}
.review__who { flex: 1; min-width: 0; line-height: 1.3; }
.review figcaption b { display: block; font-size: 1.05rem; font-weight: 600; }
.review figcaption small { color: var(--muted); font-size: 14px; }
.review__badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--text);
  color: #0A0E16;
}
.review__badge svg { width: 18px; height: 18px; }

/* =========================================================
   Planos
   ========================================================= */

.plans { padding: 40px var(--side) clamp(100px, 12vw, 160px); }
.plans__head { max-width: 760px; margin: 0 auto clamp(44px, 5vw, 70px); text-align: center; }
.plans__title {
  font-size: clamp(2.3rem, 1rem + 3.4vw, 4.4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.plans__title span { color: var(--dim); }
.plans__sub { max-width: 46ch; margin: 22px auto 0; font-size: 1.12rem; color: var(--muted); }

.plans__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
/* cartão = área da lista; por cima, o painel com nome, preço, descrição e botão */
.plan {
  display: flex;
  flex-direction: column;
  border-radius: 36px;
  background: #0B1018;
  border: 1px solid var(--line);
}
.plan__head {
  padding: 16px 16px 18px;
  border-radius: 36px;
  background: #111824;
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.plan__top {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 26px 24px 28px;
  border-radius: 24px;
  background: #18212F;
}
.plan h3 { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 500; letter-spacing: -0.02em; }
.plan__badge {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}
.plan__price { display: flex; align-items: baseline; gap: 8px; }
.plan__price b { font-size: clamp(2.6rem, 1.6rem + 2.4vw, 3.6rem); font-weight: 500; line-height: 1; letter-spacing: -0.045em; }
.plan__price span { font-size: 1.05rem; color: var(--muted); }
.plan__for { margin: 22px 10px 22px; font-size: 1.05rem; line-height: 1.45; }
.plan__btn {
  display: grid;
  place-items: center;
  height: 56px;
  border-radius: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.4s var(--ease);
}
.plan__btn:hover { background: #6AB4FF; transform: translateY(-2px); }
.plan__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* recursos em grupos (como no site oficial), em duas colunas */
.plan__plus { margin: 26px 30px 0; font-weight: 600; color: var(--text); }
.plan__groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 24px; padding: 26px 30px 34px; }
.plan__group h4 {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}
.plan__group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan__group li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.4; color: var(--muted); }
.plan__group svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--accent); }

/* plano em destaque com as cores invertidas, como o cartão escuro da referência */
.plan--featured { background: #E9EDF3; border-color: transparent; color: #0B0D12; }
.plan--featured .plan__head { background: #F7F9FC; border-color: rgba(11, 13, 18, 0.06); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5); }
.plan--featured .plan__top { background: #0B0D12; color: #F2F4F7; }
.plan--featured .plan__price span { color: rgba(242, 244, 247, 0.6); }
.plan--featured .plan__btn { background: #0B0D12; }
.plan--featured .plan__btn:hover { background: #1E2533; }
.plan--featured .plan__group li { color: #3B4250; }
.plan--featured .plan__group svg { color: #2F7BEA; }
.plan--featured .plan__group h4 { color: #B7791F; }
.plan--featured .plan__plus { color: #0B0D12; }
.plans__note { margin-top: 32px; text-align: center; font-size: 14px; color: var(--dim); }

/* =========================================================
   Perguntas frequentes
   ========================================================= */

.faq { padding: 40px var(--side) clamp(110px, 13vw, 180px); }
/* duas colunas: apresentação fixa à esquerda, perguntas em cartões à direita */
.faq__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr);
  align-items: start;
  gap: clamp(40px, 6vw, 110px);
}
.faq__intro { position: sticky; top: 120px; }
.faq__title {
  font-size: clamp(2.3rem, 1rem + 3.4vw, 4.4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.faq__title span { color: var(--dim); }
.faq__text { max-width: 38ch; margin-top: 22px; font-size: 1.12rem; color: var(--muted); }
.faq__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 32px; }
.faq__mail { color: var(--text); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.faq__mail:hover { border-color: var(--text); }
.faq__list { display: grid; gap: 10px; }
.faq__item {
  border-radius: 22px;
  background: #0E131C;
  border: 1px solid var(--line);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.faq__item:has(button[aria-expanded="true"]) { background: #121925; border-color: var(--line-2); }
.faq__item h3 { margin: 0; }
.faq__item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 22px 22px 22px 28px;
  border: 0;
  background: none;
  color: var(--text);
  font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.25rem);
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.faq__icon {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: transform 0.5s var(--ease), background-color 0.3s ease;
}
.faq__icon::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 18px;
  width: 8px;
  height: 8px;
  border-right: 1.6px solid var(--text);
  border-bottom: 1.6px solid var(--text);
  transform: rotate(45deg);
}
.faq__item button:hover .faq__icon { background: rgba(255, 255, 255, 0.06); }
.faq__item button[aria-expanded="true"] .faq__icon { transform: rotate(180deg); }
.faq__panel { overflow: hidden; }
.faq__panel p { max-width: 64ch; padding: 0 80px 26px 28px; font-size: 1.05rem; color: var(--muted); }

/* =========================================================
   Chamada final (Vanta WAVES)
   ========================================================= */

.final {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 92vh;
  padding: 140px 20px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.final__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.final__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(3, 6, 13, 0) 30%, rgba(3, 6, 13, 0) 70%, var(--bg) 100%),
    radial-gradient(55% 45% at 50% 50%, rgba(3, 6, 13, 0.7) 0%, rgba(3, 6, 13, 0.1) 100%);
}
.final__title {
  max-width: 14ch;
  margin: 0 auto;
  font-size: clamp(2.8rem, 1.2rem + 5.2vw, 6.2rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.final__lead { margin: 26px auto 42px; max-width: 40ch; font-size: 1.2rem; color: var(--muted); }

/* =========================================================
   Rodapé
   ========================================================= */

.footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(90px, 10vw, 140px) var(--side) 0;
}
.footer__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
/* escurece o vídeo em cima (leitura dos links) e deixa ele aparecer por trás da marca embaixo */
.footer__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(3, 6, 13, 0.75) 22%, rgba(3, 6, 13, 0.55) 60%, rgba(3, 6, 13, 0.2) 100%);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 0.8fr));
  gap: 0;
  align-items: start;
}
.footer__brand { padding-right: clamp(30px, 5vw, 90px); }
.footer__brand .nav__logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 1.6rem; line-height: 1; text-decoration: none; }
.footer__brand p { max-width: 38ch; margin: 20px 0 28px; color: rgba(242, 244, 247, 0.78); font-size: 1.02rem; }
/* colunas com divisória à esquerda, títulos em mono */
.footer__col { padding: 2px 0 6px 24px; border-left: 1px solid var(--line-2); }
.footer__col h2 { margin-bottom: 20px; font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: 0.04em; }
.footer__col a, .footer__col span {
  display: block;
  color: rgba(242, 244, 247, 0.78);
  font-size: 15px;
  line-height: 2.2;
  text-decoration: none;
}
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 30px;
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
  font-size: 13px;
  color: rgba(242, 244, 247, 0.5);
}
.footer__bottom p:first-child { max-width: 70ch; }
/* a marca gigante ocupando a largura, cortada na borda de baixo */
.footer__word {
  margin: clamp(30px, 4vw, 60px) calc(var(--side) * -0.4) -0.2em;
  font-size: clamp(5rem, 22.5vw, 26rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.06em;
  text-align: center;
  white-space: nowrap;
  color: #fff;
  user-select: none;
}
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 0; }
  .footer__brand { grid-column: 1 / -1; padding-right: 0; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   Janela com a conversa
   ========================================================= */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 13, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.modal__title { max-width: 30ch; text-align: center; font-size: 15px; color: var(--muted); }
.modal__phone { --phone-w: clamp(240px, calc((100vh - 230px) / 2.06), 320px); }
.modal__close {
  position: absolute;
  top: 0;
  right: -64px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
}
.modal__close svg { width: 20px; height: 20px; }

/* =========================================================
   Celular + WhatsApp (tema escuro)
   ========================================================= */

.phone {
  position: relative;
  width: var(--phone-w);
  height: calc(var(--phone-w) * 2.06);
  padding: 9px;
  border-radius: calc(var(--phone-w) * 0.165);
  background: linear-gradient(145deg, #555c6a 0%, #1d2129 26%, #0d1016 58%, #3c424e 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 60px 120px -40px rgba(0, 0, 0, 0.9);
}
.phone::after {
  content: "";
  position: absolute;
  inset: 9px;
  z-index: 4;
  border-radius: calc(var(--phone-w) * 0.14);
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 34%);
}
.phone__notch {
  position: absolute; top: 18px; left: 50%; z-index: 5;
  width: 92px; height: 27px; margin-left: -46px; border-radius: 20px; background: #000;
}
.phone__screen {
  height: 100%; overflow: hidden; display: flex; flex-direction: column;
  border-radius: calc(var(--phone-w) * 0.14);
  background: var(--wa-bg); color: var(--wa-text); font-family: var(--font); text-align: left;
}
.wa-header { display: flex; align-items: center; gap: 10px; padding: 52px 14px 10px; background: var(--wa-header); }
.wa-avatar { width: 34px; height: 34px; border-radius: 50%; background: #fff; }
.wa-who { display: grid; line-height: 1.2; }
.wa-name { font-size: 15px; font-weight: 500; color: var(--wa-text); }
.wa-status { min-height: 1.2em; font-size: 12px; color: var(--wa-meta); }
.wa-thread {
  flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  display: flex; flex-direction: column; gap: 6px; padding: 10px 10px 6px;
  background-color: var(--wa-bg);
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 14px 14px;
}
.wa-thread::-webkit-scrollbar { display: none; }
.wa-day {
  align-self: center; margin: 2px 0 6px; padding: 4px 10px; border-radius: 8px;
  background: #182229; color: var(--wa-meta); font-size: 11.5px;
}
.msg { display: flex; }
.msg--out { justify-content: flex-end; }
.bubble {
  max-width: 86%; padding: 6px 8px 7px 9px; border-radius: 10px;
  background: var(--wa-in); color: var(--wa-text);
  font-size: 13.5px; line-height: 1.42; overflow-wrap: anywhere;
}
.msg--in .bubble { border-top-left-radius: 3px; }
.msg--out .bubble { background: var(--wa-out); border-top-right-radius: 3px; }
.bubble p + p, .bubble p + ul, .bubble ul + p, .bubble pre + p, .bubble pre + ul { margin-top: 5px; }
.bubble .is-strong { font-weight: 600; }
.bubble pre {
  margin: 5px 0 6px; padding: 6px 7px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.06); color: #D1D7DB;
  font-family: var(--mono); font-size: 10.8px; line-height: 1.5; white-space: pre-wrap; word-break: break-word;
}
.bubble ul { margin: 0; padding-left: 16px; }
.bubble ul.options { list-style: none; display: grid; gap: 4px; margin-top: 6px; padding-left: 0; }
.bubble ul.options li { padding: 5px 8px; border-radius: 6px; background: rgba(0, 168, 132, 0.14); }
.bubble .src { margin-top: 6px; font-size: 11.5px; font-style: italic; color: var(--wa-meta); }
.wa-meta {
  float: right; display: inline-flex; align-items: center; gap: 3px;
  margin: 7px 0 -3px 12px; font-size: 10.5px; color: var(--wa-meta);
}
.msg--out .wa-meta { color: rgba(233, 237, 239, 0.6); }
.wa-ticks svg { width: 17px; height: 11px; }
.wa-ticks { color: rgba(233, 237, 239, 0.6); transition: color 0.3s ease; }
.wa-ticks.is-read { color: var(--wa-tick); }
.bubble--typing { display: inline-flex; gap: 4px; padding: 11px 13px; }
.bubble--typing i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--wa-meta);
  animation: typing 1.1s infinite ease-in-out;
}
.bubble--typing i:nth-child(2) { animation-delay: 0.15s; }
.bubble--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}
.bubble--audio { min-width: 210px; }
.audio { display: flex; align-items: center; gap: 8px; }
.audio__play {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; background: var(--wa-green); color: #fff;
}
.audio__play svg { width: 16px; height: 16px; }
.audio__wave { flex: 1; display: flex; align-items: center; gap: 2px; height: 22px; }
.audio__wave i { flex: 1; max-width: 3px; border-radius: 2px; background: rgba(233, 237, 239, 0.55); }
.audio__time { font-size: 11px; color: rgba(233, 237, 239, 0.6); }
.audio__transcript { margin-top: 6px; font-size: 12.5px; font-style: italic; color: #C5D0D6; }
.bubble--photo { max-width: 78%; padding: 4px 4px 6px; }
.bubble--photo > p { padding: 4px 5px 0; }
.photo { padding: 14px 12px; border-radius: 7px; overflow: hidden; background: linear-gradient(150deg, #6f665a 0%, #3f3a33 100%); }
.photo__paper {
  display: grid; gap: 3px; padding: 10px 10px 12px; background: #fbfaf5; color: #2b2b2b;
  font-family: var(--mono); font-size: 9.5px; transform: rotate(-2.5deg); box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}
.photo__title { font-size: 10px; margin-bottom: 4px; padding-bottom: 4px; border-bottom: 1px solid #c9c4b6; }
.photo__row { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dotted #d6d1c4; }
.wa-bar { display: flex; align-items: center; gap: 8px; padding: 8px 8px 18px; background: var(--wa-bg); }
.wa-field {
  flex: 1; min-width: 0; min-height: 40px; display: flex; align-items: center; padding: 0 14px;
  border-radius: 999px; background: var(--wa-field); color: var(--wa-meta);
  font-size: 13.5px; white-space: nowrap; overflow: hidden;
}
.wa-field__text { overflow: hidden; text-overflow: ellipsis; }
.wa-field.is-typing { color: var(--wa-text); }
.wa-field.is-typing .wa-field__text::after {
  content: ""; display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px;
  vertical-align: -0.15em; background: var(--wa-green); animation: blink 0.9s steps(1) infinite;
}
.wa-field.is-recording { color: #F15C6D; }
.wa-field.is-recording::before {
  content: ""; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%;
  background: #F15C6D; animation: blink 0.9s steps(1) infinite;
}
.wa-btn {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%; background: var(--wa-green); color: #0B141A;
}
.wa-btn svg { width: 20px; height: 20px; }

/* =========================================================
   Responsivo
   ========================================================= */

@media (max-width: 1100px) {
  .nav__links, .nav__sep { display: none; }
  .nav__cta { margin-left: auto; margin-right: 58px; }
  /* em telas menores o botão de menu fica sempre visível */
  .nav__burger { opacity: 1; transform: scale(1); pointer-events: auto; }
}

@media (max-width: 960px) {
  .story__pin {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: 0;
    padding: 100px 20px;
  }
  .story__visual { width: min(440px, 100%); }
  html.js .step:not(.is-active) .step__body { height: auto; }
  .step__title { color: var(--text); }

  .trust__grid, .plans__grid { grid-template-columns: 1fr; }
  .reviews__grid { columns: 1; }
  .reviews__head { flex-direction: column; align-items: flex-start; }
  .board__head { grid-template-columns: 1fr; }
  .trust__card { min-height: 520px; }
  .modal__close { right: 0; top: -56px; }
}

@media (max-width: 640px) {
  .hero { padding: 110px 16px 130px; }
  .hero__line { white-space: normal; }
  .ask { margin-top: 36px; }
  .ask__hint { display: none; }
  .logos__list li { font-size: 19px; }
  .logos__list { gap: 56px; padding-right: 56px; }
  .case { width: 280px; min-height: 400px; }
  .cases__head { grid-template-columns: 1fr; gap: 22px; }
  .cases__text { justify-self: start; }
  .cases__bar { flex-wrap: wrap; }
  .cases__track { gap: 12px; }
  .faq__panel p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.js [data-reveal]:not(.is-split) { visibility: visible; }
}

/* pausa no scroll (js/pin.js): o bloco gruda enquanto o invólucro passa */
.sticky-wrap { position: relative; }
.is-sticky { position: sticky !important; } /* vence o position: relative dos próprios blocos */

@media (max-width: 1000px) {
  .faq__layout { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
}
@media (max-width: 640px) {
  .faq__panel p { padding: 0 22px 22px 22px; }
  .faq__item button { padding: 18px 18px 18px 22px; }
}

/* rodapé revelado: o conteúdo sobe como um painel com cantos arredondados e o rodapé
   aparece por baixo, parado no fundo da tela (só em telas onde o rodapé cabe inteiro) */
@media (min-width: 1001px) {
  main {
    position: relative;
    z-index: 1;
    background: var(--bg);
    border-radius: 0 0 44px 44px;
    overflow: clip; /* clip (e não hidden) para não quebrar os blocos com position: sticky */
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8);
  }
  .footer {
    position: sticky;
    bottom: 0;
    z-index: 0;
    margin-top: -44px; /* passa por baixo dos cantos arredondados */
    padding-top: calc(clamp(90px, 10vw, 140px) + 44px);
  }
}

/* crédito no rodapé */
.footer__credit { color: rgba(242, 244, 247, 0.75); text-decoration: none; border-bottom: 1px solid rgba(242, 244, 247, 0.3); }
.footer__credit:hover { color: #fff; border-color: #fff; }
.footer__sep { margin: 0 8px; color: rgba(242, 244, 247, 0.3); }

/* ---------- Menu do topo: submenu "Perfis" (igual em todas as páginas) ---------- */
.nav__links { align-items: center; }
.nav__links a[aria-current="page"], .nav__sub button.is-current { color: var(--text); }
.nav__sub { position: relative; }
.nav__sub button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
  transition: color 0.25s ease;
}
.nav__sub button svg { width: 15px; height: 15px; transition: transform 0.3s ease; }
.nav__sub button:hover, .nav__sub.is-open button { color: var(--text); }
.nav__sub.is-open button svg { transform: rotate(180deg); }
.nav__sub button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.nav__sub-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  display: grid;
  gap: 2px;
  min-width: 250px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 17, 27, 0.92);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity 0.25s ease, transform 0.3s var(--ease), visibility 0.25s;
}
/* ponte invisível para o mouse não perder o submenu no caminho */
.nav__sub-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__sub.is-open .nav__sub-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__links .nav__sub-item, .nav__sub-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14.5px;
  text-decoration: none;
  white-space: nowrap;
}
.nav__links a.nav__sub-item:hover, .nav__links a.nav__sub-item[aria-current="page"] { background: rgba(255, 255, 255, 0.07); color: var(--text); }
.nav__sub-item.is-soon, .nav__drop-sub.is-soon { color: var(--dim); cursor: default; }
.nav__sub-item small, .nav__drop-sub small {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--dim);
}
/* menu do celular */
.nav__drop-label { margin: 8px 14px 2px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.nav__drop .nav__drop-sub, .nav__drop-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 14px 9px 26px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 14.5px;
  text-decoration: none;
}
.nav__drop a.nav__drop-sub[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav__drop a.nav__drop-sub:not(.pill) { padding: 9px 14px 9px 26px; font-size: 14.5px; }
