/* ==========================================================================
   InBrand — Landing
   Tokens canônicos: DESIGN SYSTEM INBRAND.md
   ========================================================================== */

:root {
  /* Brand */
  --ib-mint: #00DED1;
  --ib-mint-2: #00C4B8;
  --ib-blue: #005DED;
  --ib-blue-text: #4D93FF;
  --ib-white: #FFFFFF;
  --ib-charcoal: #1A1A1A;

  /* Background */
  --ib-canvas: #000000;
  --ib-bg: #06080B;
  --ib-bg-elevated: #0C1016;

  /* Text */
  --ib-text: rgba(255, 255, 255, 0.92);
  --ib-text-2: rgba(255, 255, 255, 0.70);
  --ib-text-3: rgba(255, 255, 255, 0.50);
  --ib-text-on-mint: #0B0D10;

  /* Surface / border */
  --ib-surface: rgba(255, 255, 255, 0.06);
  --ib-surface-2: rgba(255, 255, 255, 0.10);
  --ib-surface-3: rgba(255, 255, 255, 0.14);
  --ib-border: rgba(255, 255, 255, 0.18);
  --ib-border-soft: rgba(255, 255, 255, 0.12);
  --ib-border-strong: rgba(255, 255, 255, 0.28);
  --ib-border-mint: rgba(0, 222, 209, 0.45);
  --ib-border-blue: rgba(0, 93, 237, 0.45);

  /* State */
  --ib-warning: #FFC857;
  --ib-error: #FF5C7A;

  /* Type */
  --font-display: "Sora", "Outfit", system-ui, sans-serif;
  --font-body: "Manrope", "Sora", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Space (base 4pt) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 80px;
  --space-section: clamp(80px, 10vw, 128px);
  --grid-max: 1160px;
  --gutter: 24px;

  /* Radius */
  --r-xs: 8px; --r-sm: 12px; --r-md: 16px; --r-lg: 20px; --r-xl: 24px; --r-pill: 999px;

  /* Shadow */
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.28);
  --shadow-mint: 0 0 48px rgba(0, 222, 209, 0.28);
  --shadow-blue: 0 0 48px rgba(0, 93, 237, 0.32);

  /* Gradients */
  --grad-hero:
    radial-gradient(1200px 600px at 72% -12%, rgba(0, 222, 209, 0.16), transparent 55%),
    radial-gradient(900px 500px at 6% 78%, rgba(0, 93, 237, 0.14), transparent 50%),
    #06080B;
  --grad-cta: linear-gradient(135deg, #00DED1 0%, #00C4B8 100%);
  --grad-line: linear-gradient(90deg, transparent, rgba(0, 222, 209, 0.5), transparent);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 120ms; --dur-base: 200ms; --dur-slow: 600ms;
}

/* --------------------------------------------------------------- reset */

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  background: var(--ib-bg);
  color: var(--ib-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

a, button { touch-action: manipulation; }

img { display: block; max-width: 100%; }
button { font: inherit; }

a { color: var(--ib-mint); text-decoration: none; }
a:hover { color: #6BF0E8; }

::selection { background: rgba(0, 222, 209, 0.28); }

:focus-visible { outline: 2px solid var(--ib-mint); outline-offset: 3px; }

/* --------------------------------------------------------------- layout */

/* Comutador de público: elementos exclusivos de um lado somem no outro */
[data-page][hidden] { display: none !important; }

.container {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 0 var(--s-6);
}

.section { padding: var(--space-section) 0; }
.section--tight-top { padding-top: 0; }
.section--tight-bottom { padding-bottom: 0; }

.divider {
  height: 1px;
  background: var(--grad-line);
  transform-origin: 0 50%;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(var(--s-6), 5vw, var(--s-8));
  align-items: center;
}

/* Seção sem imagem: texto sozinho não deve esticar até a borda */
.split--single { grid-template-columns: minmax(0, 720px); }

.split--reverse > *:first-child { order: 2; }
.split--reverse > *:last-child { order: 1; }
.split + .split { margin-top: clamp(var(--s-7), 6vw, 88px); }

.grid { display: grid; gap: var(--s-4); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--plans { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--small { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* --------------------------------------------------------------- type */

.eyebrow {
  display: block;
  color: var(--ib-mint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow--blue { color: var(--ib-blue-text); }

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  text-wrap: pretty;
  margin: 0;
}

.h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.04; font-weight: 800; }
.h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.15; font-weight: 700; margin-top: 14px; }
.h3 { font-size: 32px; line-height: 1.2; font-weight: 700; }
.h4 { font-size: 24px; line-height: 1.3; font-weight: 700; }
.h5 { font-size: 20px; line-height: 1.3; font-weight: 700; }

.lead { margin: var(--s-5) 0 0; max-width: 620px; color: var(--ib-text-2); font-size: 18px; }
.body { margin: 0; color: var(--ib-text-2); font-size: 17px; }
.body--sm { font-size: 16px; }
.note { margin: 0; color: var(--ib-text-3); font-size: 15px; line-height: 1.5; }
.mono { font-family: var(--font-mono); font-size: 13px; color: var(--ib-mint); }
.mono--blue { color: var(--ib-blue-text); }
.max-copy { max-width: 700px; }
.max-sub { max-width: 560px; }

/* --------------------------------------------------------------- buttons */

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  height: 52px;
  padding: 0 var(--s-5);
  border: 0;
  border-radius: var(--r-sm);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: box-shadow var(--dur-base) ease, background var(--dur-base) ease,
              border-color var(--dur-base) ease, transform var(--dur-fast) ease,
              opacity var(--dur-fast) ease, color var(--dur-base) ease;
}

/* Sheen sweep nos CTAs sólidos */
.btn--primary::before, .btn--system::before {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.30) 50%, transparent 65%);
  transform: translateX(-130%);
}
@media (hover: hover) {
  .btn--primary:hover::before, .btn--system:hover::before {
    transform: translateX(130%);
    transition: transform 650ms ease;
  }
}
.btn:active { transform: scale(0.985); opacity: 0.84; }
@media (hover: hover) {
  [data-magnetic] {
    transition: transform 260ms var(--ease-spring), box-shadow var(--dur-base) ease,
                background var(--dur-base) ease, border-color var(--dur-base) ease,
                opacity var(--dur-fast) ease, color var(--dur-base) ease;
  }
  [data-magnetic]:active { transition-duration: 80ms; }
}
.btn--sm { height: 44px; padding: 0 var(--s-4) 0 var(--s-4); font-size: 15px; }
.btn--md { height: 48px; padding: 0 22px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--ib-mint); color: var(--ib-text-on-mint); }
.btn--primary:hover { box-shadow: var(--shadow-mint); color: var(--ib-text-on-mint); }

.btn--secondary { background: transparent; color: var(--ib-mint); border: 1px solid var(--ib-border-mint); }
.btn--secondary:hover { background: rgba(0, 222, 209, 0.12); color: var(--ib-mint); }

.btn--system { background: var(--ib-blue); color: var(--ib-white); }
.btn--system:hover { box-shadow: var(--shadow-blue); color: var(--ib-white); }

.btn--ghost {
  background: transparent;
  color: var(--ib-text);
  border: 1px solid var(--ib-border);
  font-weight: 600;
}
.btn--ghost:hover { background: var(--ib-surface-2); border-color: var(--ib-border-strong); color: var(--ib-text); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-7); }

/* ------------------------------------------------------ menu mobile
   O botão só aparece abaixo de 720px, onde a nav horizontal não cabe.
   O painel é montado por JS a partir dos próprios links da nav, então as
   duas páginas ficam sempre em sincronia. */

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--ib-border);
  border-radius: var(--r-sm);
  background: var(--ib-surface);
  cursor: pointer;
  transition: background var(--dur-base) ease, border-color var(--dur-base) ease;
}
.burger__bars,
.burger__bars::before,
.burger__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ib-text);
  transition: transform 260ms var(--ease-out), opacity 160ms ease;
}
.burger__bars { position: relative; }
.burger__bars::before,
.burger__bars::after { content: ""; position: absolute; left: 0; }
.burger__bars::before { top: -6px; }
.burger__bars::after { top: 6px; }

.burger[aria-expanded="true"] { background: var(--ib-surface-2); }
.burger[aria-expanded="true"] .burger__bars { background: transparent; }
.burger[aria-expanded="true"] .burger__bars::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after { transform: translateY(-6px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-6);
  padding: calc(73px + var(--s-6)) var(--s-5)
           calc(var(--s-7) + env(safe-area-inset-bottom, 0px));
  background: rgba(6, 8, 11, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.menu[hidden] { display: none; }

.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--ib-border-soft);
  color: var(--ib-text);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(8px);
  animation: ib-rise 420ms var(--ease-out) forwards;
  animation-delay: calc(60ms + var(--i, 0) * 45ms);
}
.menu__nav a:first-child { border-top: 1px solid var(--ib-border-soft); }
.menu__nav a:active { color: var(--ib-mint); }

/* Último item da lista é a troca de público — sinalizado, não igual aos outros */
.menu__nav a[data-menu-switch] { color: var(--ib-mint); }
body[data-audience="testers"] .menu__nav a[data-menu-switch] { color: var(--ib-blue-text); }

.menu__foot { display: grid; gap: var(--s-4); }
.menu__foot .note { text-align: center; }

.is-locked { overflow: hidden; }

@media (max-width: 719px) {
  .burger { display: inline-flex; }
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 16, 22, 0.6);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-slow) var(--ease-out),
              backdrop-filter var(--dur-slow) var(--ease-out),
              border-color var(--dur-slow) var(--ease-out);
}
.header.is-scrolled {
  background: rgba(12, 16, 22, 0.82);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--ib-border-soft);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-7);
  height: 72px;
  transition: height var(--dur-slow) var(--ease-out);
}
.header.is-scrolled .header__inner { height: 64px; }

.logo {
  display: flex;
  align-items: center;
  color: var(--ib-text);
  line-height: 0;
}
.logo:hover { color: var(--ib-text); }
.logo__img {
  display: block;
  height: 34px;
  width: auto;
  max-width: min(168px, 42vw);
}
.header.is-scrolled .logo__img { height: 30px; }

.nav { display: flex; align-items: center; gap: var(--s-1); }
.nav a {
  height: 40px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  border-radius: var(--r-sm);
  color: var(--ib-text-2);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease;
}
.nav a:hover { background: var(--ib-surface-2); color: var(--ib-text); }

.header__actions { margin-left: auto; display: flex; align-items: center; gap: var(--s-3); }

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 60;
  pointer-events: none;
}
.progress__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--ib-blue), var(--ib-mint));
  box-shadow: 0 0 12px rgba(0, 222, 209, 0.55);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

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

.hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
  min-height: calc(100svh - 72px);
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
}

/* Marcas: banner azul com sujeito à direita e espaço de copy à esquerda.
   Véu bem leve — a foto já tem azul escuro à esquerda para o texto. */
body[data-audience="brands"] .hero__bg img { object-position: 82% 40%; }
body[data-audience="brands"] .hero__bg::after {
  background:
    linear-gradient(90deg, rgba(4, 12, 40, 0.42) 0%, rgba(4, 12, 40, 0.18) 38%, transparent 68%),
    linear-gradient(180deg, rgba(6, 8, 11, 0.18) 0%, transparent 24%, transparent 62%, var(--ib-bg) 100%);
}

body[data-audience="testers"] .hero__bg img { object-position: 62% 46%; }

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(56px, 7vw, 96px) var(--s-6);
}

.toggle {
  position: relative;
  display: inline-flex;
  padding: var(--s-1);
  border-radius: var(--r-pill);
  /* Fundo opaco o suficiente para o rótulo não selecionado sobreviver
     à parte clara da foto do hero */
  background: rgba(6, 8, 11, 0.55);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border: 1px solid var(--ib-border);
  gap: var(--s-1);
}
/* O item selecionado é o próprio botão pintado. A versão anterior usava um
   thumb absoluto posicionado por JS — fazia sentido quando o toggle trocava o
   conteúdo na mesma página; hoje são duas URLs, e o cálculo de offset só
   introduzia desalinhamento entre a pílula e o rótulo. */
.toggle button,
.toggle a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 var(--s-5);
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ib-text-2);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: color 250ms ease, background-color 250ms ease;
}
.toggle button[aria-selected="true"],
.toggle a[aria-selected="true"] {
  background: var(--ib-mint);
  color: var(--ib-text-on-mint);
}
.toggle button[data-audience="testers"][aria-selected="true"],
.toggle a[data-audience="testers"][aria-selected="true"] {
  background: var(--ib-blue);
  color: var(--ib-white);
}
@media (hover: hover) {
  .toggle a:not([aria-selected="true"]):hover { color: var(--ib-text); }
}

.hero__copy-stack {
  display: grid;
  margin-top: var(--s-7);
}
.hero__copy {
  grid-area: 1 / 1;
  max-width: 880px;
  opacity: 1;
  transform: none;
  filter: blur(0);
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out),
              filter 420ms var(--ease-out), display 420ms allow-discrete;
}
.hero__copy[hidden] { opacity: 0; transform: translateY(10px); filter: blur(6px); pointer-events: none; }
@starting-style {
  .hero__copy:not([hidden]) { opacity: 0; transform: translateY(10px); filter: blur(6px); }
}


/* --------------------------------------------------------------- bullets */

.bullets { margin-top: var(--s-6); display: flex; flex-direction: column; gap: var(--s-4); }
.bullets li { display: flex; gap: 14px; align-items: flex-start; list-style: none; }
.bullets { padding: 0; }
.bullets li::before {
  content: "";
  margin-top: 7px;
  width: 6px; height: 6px;
  flex: 0 0 auto;
  border-radius: var(--r-pill);
  background: var(--ib-mint);
}
.bullets--problem li::before { background: var(--ib-error); }
.bullets--blue li::before { background: var(--ib-blue-text); }

.pact { margin-top: clamp(var(--s-6), 5vw, var(--s-8)); }
.pact .bullets { gap: var(--s-3); }

.closer {
  margin: var(--s-6) 0 0;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--ib-text);
}

/* --------------------------------------------------------------- cards */

.card {
  position: relative;
  padding: var(--s-6) 28px;
  border-radius: var(--r-md);
  background: var(--ib-surface);
  border: 1px solid var(--ib-border-soft);
  isolation: isolate;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 222, 209, 0.14), transparent 70%);
  transition: opacity 320ms var(--ease-out);
}
.card--hover { transition: transform 260ms var(--ease-out), border-color 260ms var(--ease-out), background 260ms var(--ease-out); }
@media (hover: hover) {
  .card--hover:hover { transform: translateY(-4px); border-color: var(--ib-border-mint); background: var(--ib-surface-2); }
  .card--hover:hover::before { opacity: 1; }
}
.card--mint { border-color: var(--ib-border-mint); }
.card--blue { border-color: var(--ib-border-blue); }
.card--tester::before {
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 93, 237, 0.16), transparent 70%);
}
@media (hover: hover) {
  .card--tester.card--hover:hover { border-color: var(--ib-border-blue); }
}

.cats { margin-top: clamp(var(--s-7), 6vw, 88px); }
.cats .tags { margin-top: var(--s-4); }
.card p { margin: 10px 0 0; color: var(--ib-text-2); font-size: 16px; }
.card h3 { margin-top: var(--s-4); }
.card h3:first-child { margin-top: 0; }

.media {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--ib-border-soft);
}
.media img { width: 100%; object-fit: cover; }
.media--tall img { height: clamp(300px, 34vw, 440px); }
.media--mid img { height: clamp(240px, 28vw, 340px); }
.media--short img { height: clamp(180px, 20vw, 240px); }
.media--wide img { height: clamp(200px, 24vw, 300px); }
.media--tile img { height: clamp(160px, 18vw, 220px); }

.collage { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.collage > .span-2 { grid-column: span 2; }
.stack { display: grid; gap: var(--s-4); }

/* --------------------------------------------------------------- badges + tags */

.badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: rgba(0, 222, 209, 0.12);
  color: var(--ib-mint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.badge--blue { background: rgba(0, 93, 237, 0.12); color: var(--ib-blue-text); }

.tags { margin-top: var(--s-5); display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  padding: var(--s-2) 14px;
  border-radius: var(--r-xs);
  background: var(--ib-surface-2);
  border: 1px solid var(--ib-border-soft);
  color: var(--ib-text-2);
  font-size: 14px;
  font-weight: 600;
}
.tag--mint {
  background: rgba(0, 222, 209, 0.12);
  border-color: var(--ib-border-mint);
  color: var(--ib-mint);
  font-weight: 700;
}

/* ------------------------------------------------- faixa de confiança
   Linha logo abaixo do hero. Marcadores mint (ou azuis, no lado testador). */

.trustbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-3) var(--s-6);
  padding: var(--s-5) 0;
  border-top: 1px solid var(--ib-border-soft);
  border-bottom: 1px solid var(--ib-border-soft);
}
.trustbar span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ib-text-2);
  font-size: 15px;
  font-weight: 600;
}
.trustbar span::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ib-mint);
}
.trustbar--blue span::before { background: var(--ib-blue-text); }

/* ------------------------------------------------------ tabela comparativa */

.cmp {
  margin-top: var(--s-7);
  overflow-x: auto;
  border: 1px solid var(--ib-border-soft);
  border-radius: var(--r-lg);
  background: var(--ib-surface);
  -webkit-overflow-scrolling: touch;
}
.cmp table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 16px;
}
.cmp thead th {
  text-align: left;
  padding: var(--s-4) var(--s-5);
  background: var(--ib-bg-elevated);
  border-bottom: 1px solid var(--ib-border);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--ib-text);
  white-space: nowrap;
}
.cmp tbody th {
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ib-text);
  white-space: nowrap;
}
.cmp tbody th,
.cmp tbody td {
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid var(--ib-border-soft);
  color: var(--ib-text-2);
  vertical-align: top;
}
.cmp tbody tr:last-child th,
.cmp tbody tr:last-child td { border-bottom: none; }
/* Especificidade acima de `.cmp tbody td`, senão a coluna InBrand perde o mint */
.cmp tbody td.cmp__win { color: var(--ib-mint); font-weight: 600; }

@media (max-width: 640px) {
  .trustbar { justify-content: flex-start; gap: var(--s-3) var(--s-5); }
  .trustbar span { font-size: 14px; }

  /* Três colunas não cabem em 375px. Em vez de scroll horizontal com corte
     seco, cada linha vira um card legível. Os rótulos das colunas voltam
     pelos data-label das células. */
  .cmp {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: none;
  }
  .cmp table { min-width: 0; font-size: 16px; }
  .cmp table,
  .cmp thead,
  .cmp tbody,
  .cmp tr,
  .cmp th,
  .cmp td { display: block; width: auto; }
  .cmp thead { display: none; }
  .cmp tbody tr {
    padding: var(--s-5);
    margin-bottom: var(--s-3);
    border: 1px solid var(--ib-border-soft);
    border-radius: var(--r-md);
    background: var(--ib-surface);
  }
  .cmp tbody tr:last-child { margin-bottom: 0; }
  .cmp tbody th {
    padding: 0 0 var(--s-3);
    border-bottom: 1px solid var(--ib-border-soft);
    font-family: var(--font-display);
    font-size: 18px;
    white-space: normal;
  }
  .cmp tbody td {
    display: flex;
    gap: var(--s-4);
    padding: var(--s-3) 0 0;
    border: 0;
  }
  .cmp tbody td::before {
    content: attr(data-label);
    flex: none;
    width: 116px;
    color: var(--ib-text-3);
    font-size: 14px;
    line-height: 1.45;
  }
}

/* --------------------------------------------------------------- bands */

/* Bands em tela cheia — imagem imersiva com conteúdo centralizado */
.band {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 100svh;
}
.band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 11, 0.82) 0%, rgba(6, 8, 11, 0.30) 42%, rgba(6, 8, 11, 0.88) 100%);
}
.band__content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: var(--s-6);
  text-align: center;
}
.band__inner { max-width: 820px; }
.band__title {
  margin: var(--s-4) 0 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: pretty;
  text-shadow: 0 2px 24px rgba(6, 8, 11, 0.85), 0 1px 4px rgba(6, 8, 11, 0.6);
}
.band__sub { text-shadow: 0 1px 12px rgba(6, 8, 11, 0.8); }
.band__title--sm { font-size: clamp(24px, 3.2vw, 40px); line-height: 1.2; }
.band__sub { margin: var(--s-5) 0 0; color: var(--ib-text-2); font-size: 17px; }

/* Faixa só de imagem: respiro fotográfico entre seções, sem prender o scroll
   por uma tela inteira como as bands com texto. */
.band--flat { min-height: clamp(280px, 46svh, 520px); }

/* ------------------------------------------------------------- galeria
   Mosaico sem texto: mostra o material que sai de um teste sem gastar
   uma seção inteira de copy. */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-3);
  margin-top: var(--s-6);
}
.gallery .media img { height: clamp(180px, 20vw, 240px); }
.gallery .media--wide { grid-column: span 2; }
.gallery .media--wide img { height: clamp(180px, 20vw, 240px); }
@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: var(--s-2); }
  .gallery .media img,
  .gallery .media--wide img { height: 140px; }
  .gallery .media--wide { grid-column: span 2; }
}

/* --------------------------------------------------- imagem dentro do card */

.card__media {
  /* sangra até a borda do card: o padding é var(--s-6) no topo e 28px nos lados */
  margin: calc(var(--s-6) * -1) -28px var(--s-5);
  border-radius: var(--r-md) var(--r-md) 0 0;
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
@media (hover: hover) {
  .card--hover:hover .card__media img { transform: scale(1.04); }
}
@media (max-width: 640px) {
  .card__media { margin: calc(var(--s-5) * -1) calc(var(--s-5) * -1) var(--s-4); }
  .card__media img { height: 150px; }
}

/* --------------------------------------------------------------- plans */

.plan { display: flex; flex-direction: column; position: relative; }
.plan__price {
  margin-top: var(--s-4);
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.plan__price span { font-size: 16px; font-weight: 600; color: var(--ib-text-3); }
.plan__price--quote { font-size: 28px; }
.plan p { color: var(--ib-text-3); margin: var(--s-3) 0 0; font-size: 15px; line-height: 1.5; }
.plan__specs {
  margin: var(--s-4) 0 0;
  padding: var(--s-4) 0 0;
  border-top: 1px solid var(--ib-border-soft);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.plan__specs li {
  position: relative;
  padding-left: 18px;
  color: var(--ib-text-2);
  font-size: 14px;
  line-height: 1.45;
}
.plan__specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px; height: 5px;
  border-radius: var(--r-pill);
  background: var(--ib-mint);
}
.plan--featured { background: rgba(0, 222, 209, 0.08); border-color: var(--ib-border-mint); }
.plan--featured p { color: var(--ib-text-2); }
.plan--enterprise { background: rgba(0, 93, 237, 0.10); border-color: var(--ib-border-blue); }
.plan--enterprise p { color: var(--ib-text-2); margin-bottom: var(--s-5); }
.plan--enterprise .btn { margin-top: auto; }
.plan__badge { position: absolute; top: 28px; right: 28px; background: rgba(0, 222, 209, 0.16); }

/* --------------------------------------------------------------- faq */

.faq { display: flex; flex-direction: column; gap: var(--s-2); }
.faq__item {
  border-radius: var(--r-md);
  background: var(--ib-surface);
  border: 1px solid var(--ib-border-soft);
  overflow: hidden;
  transition: border-color 320ms var(--ease-out), background 320ms var(--ease-out);
}
.faq__item.is-open {
  border-color: var(--ib-border-mint);
  background: rgba(0, 222, 209, 0.05);
}
.faq__q {
  width: 100%;
  padding: 22px var(--s-5);
  border: 0;
  background: transparent;
  color: var(--ib-text);
  font-size: 17px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--s-4);
  transition: background 160ms ease;
}
.faq__q:hover { background: rgba(255, 255, 255, 0.06); }
.faq__q .faq__label { flex: 1 1 auto; }
.faq__chevron {
  flex: 0 0 auto;
  width: 12px; height: 12px;
  border-right: 2px solid var(--ib-mint);
  border-bottom: 2px solid var(--ib-mint);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 220ms var(--ease);
}
.faq__q[aria-expanded="true"] .faq__chevron { transform: rotate(225deg) translateY(-2px); }
.faq__a {
  margin: 0;
  height: 0;
  overflow: hidden;
  transition: height 380ms var(--ease-out), opacity 320ms var(--ease-out);
  opacity: 0;
}
.faq__item.is-open .faq__a { opacity: 1; }
.faq__a-inner {
  margin: 0;
  max-width: 760px;
  padding: 0 var(--s-5) var(--s-5);
  color: var(--ib-text-2);
  font-size: 16px;
  line-height: 1.6;
}

/* --------------------------------------------------------------- final cta */

.final {
  padding: clamp(var(--s-7), 7vw, 88px) clamp(28px, 5vw, 72px);
  border-radius: var(--r-xl);
  border: 1px solid var(--ib-border-mint);
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(0, 222, 209, 0.16), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(0, 93, 237, 0.14), transparent 55%),
    var(--ib-bg-elevated);
}
.final h2 {
  max-width: 760px;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.1;
  font-weight: 800;
}
.status { margin-top: var(--s-6); display: flex; align-items: center; gap: 10px; }
.status__dot {
  width: 8px; height: 8px;
  border-radius: var(--r-pill);
  background: var(--ib-mint);
  animation: ib-pulse 1600ms ease-in-out infinite;
}
.status__text { font-size: 15px; font-weight: 600; color: var(--ib-text-3); }

.trust p { margin: 14px 0 0; color: var(--ib-text-2); font-size: 16px; line-height: 1.6; }
.trust__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ib-text-3);
}

.footer {
  padding: var(--s-7) 0 calc(var(--s-8) + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--ib-border-soft);
  color: var(--ib-text-3);
  font-size: 14px;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  margin-bottom: var(--s-6);
}
.footer__nav a {
  color: var(--ib-text-2);
  font-size: 15px;
  font-weight: 600;
  padding: var(--s-2) 0;
  transition: color 160ms ease;
}
.footer__nav a:hover { color: var(--ib-text); }
.footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  align-items: center;
  justify-content: space-between;
}

/* --------------------------------------------------------------- motion */

@keyframes ib-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes ib-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes ib-up-sm { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes ib-pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
@keyframes ib-word {
  from { opacity: 0; transform: translateY(26px); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* Reveal on scroll — falha aberto: o estado escondido só existe quando o JS
   confirma que consegue revelar (classe .js-reveal no <html>). */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.js-reveal [data-reveal="sm"] { transform: translateY(16px); }
.js-reveal [data-reveal="zoom"] { transform: scale(0.965); }
.js-reveal [data-reveal="line"] { opacity: 1; transform: scaleX(0); transition: transform 700ms var(--ease); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

/* Máscara editorial para mídia — abre o clip conforme entra no viewport */
.js-reveal [data-reveal="mask"] {
  opacity: 0.3;
  transform: scale(0.985) translateY(12px);
  clip-path: inset(11% 7% round var(--r-lg));
  transition: opacity 700ms var(--ease-out), transform 950ms var(--ease-out), clip-path 950ms var(--ease-out);
}
.js-reveal [data-reveal="mask"].is-in {
  opacity: 1;
  transform: none;
  clip-path: inset(0% 0% round var(--r-lg));
}

/* Staggered children inside a revealed group */
[data-stagger] > * { transition-delay: var(--d, 0ms); }

/* Hero entrance is time-based */
.hero .toggle { animation: ib-rise 500ms var(--ease) both; }
.hero__copy .h1 .w {
  display: inline-block;
  animation: ib-word 700ms var(--ease-out) both;
  animation-delay: calc(90ms + var(--wi, 0) * 55ms);
}
.hero__copy .lead { animation: ib-rise 700ms var(--ease) 420ms both; }
.hero__copy .btn-row { animation: ib-rise 700ms var(--ease) 560ms both; }

/* Parallax por JS: transform-only, elementos marcados com data-plx */
[data-plx] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 1ms !important;
  }
  .js-reveal [data-reveal] { opacity: 1 !important; transform: none !important; }
  .js-reveal [data-reveal="line"] { transform: none !important; }
  .js-reveal [data-reveal="mask"] { clip-path: none !important; }
  /* Os itens do menu entram por animação: sem ela, precisam nascer visíveis */
  .menu__nav a { opacity: 1 !important; transform: none !important; }
}

/* --------------------------------------------------------------- responsive */

/* Tablets: mantém a navegação, só compacta.
   Abaixo de 1040px a nav de 5 itens + os dois botões não cabem: sai o
   "Falar com vendas" (repetido no card Enterprise) e o "Dúvidas"
   (repetido no rodapé). */
@media (max-width: 1039px) {
  .header__inner { gap: var(--s-5); }
  .nav { gap: 0; }
  .nav a { padding: 0 10px; font-size: 14px; }
  .header__actions .btn--ghost { display: none; }
  .nav a[href="#faq"] { display: none; }
}

@media (max-width: 859px) {
  .nav a { padding: 0 8px; font-size: 13px; }
  .header__inner { gap: var(--s-4); }
}

/* Abaixo de 720px a nav horizontal vira menu. O CTA do header sai junto:
   logo + CTA + botão de menu não cabem em 375px sem apertar o alvo de toque.
   O CTA reaparece dentro do painel, em largura total. */
@media (max-width: 719px) {
  .nav { display: none; }
  .header__actions > .btn { display: none; }
}

@media (max-width: 640px) {
  :root { --space-section: 64px; }

  .container { padding: 0 var(--s-5); }

  /* Hero mobile: a foto ocupa uma FAIXA no topo, não o fundo inteiro.
     Cobrindo o hero todo, a imagem sempre encostava altura contra altura e o
     assunto caía exatamente atrás do texto — daí a sensação de foto coberta. */
  .hero { align-items: flex-end; }
  .hero__bg {
    inset: 0 0 auto 0;
    height: 46svh;
  }
  .hero__inner {
    padding: 40svh var(--s-5) var(--s-7);
  }

  /* Scrim ancorado ao conteúdo, não a uma porcentagem da altura do hero:
     a altura do hero varia entre as duas páginas (o H1 do testador é mais
     alto), então percentual deixava o toggle caindo na faixa transparente. */
  /* abaixo da faixa o fundo já é sólido: o véu só precisa cobrir a emenda */
  .hero__inner::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 33svh 0 0 0;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(6, 8, 11, 0.55) 26%,
      var(--ib-bg) 62%
    );
  }

  /* Respiro entre o toggle e o headline — 24px encostava */
  .hero__copy-stack { margin-top: var(--s-6); }
  .hero__copy .lead { margin-top: var(--s-3); font-size: 16px; }
  .hero .btn-row { margin-top: var(--s-4); }
  /* Precisa ser tão específico quanto as regras por público lá de cima,
     senão o recorte de desktop vaza para o mobile. */
  /* no celular entra um recorte vertical proprio (ver <picture>), entao
     o enquadramento volta a ser centralizado */
  /* agora a faixa é mais baixa que a foto: o eixo vertical volta a valer */
  body[data-audience="brands"] .hero__bg img { object-position: 82% 28%; }
  body[data-audience="testers"] .hero__bg img { object-position: 50% 42%; }
  .hero__bg::after,
  body[data-audience="brands"] .hero__bg::after {
    background:
      linear-gradient(180deg, rgba(4, 12, 40, 0.25) 0%, rgba(6, 8, 11, 0.55) 42%, rgba(6, 8, 11, 0.92) 78%, var(--ib-bg) 100%),
      linear-gradient(90deg, rgba(4, 12, 40, 0.45) 0%, transparent 70%);
  }
  .header__inner { gap: var(--s-4); }

  .h1 { font-size: 36px; }
  .h2 { font-size: 27px; }
  .h3 { font-size: 25px; }
  .band__title { font-size: 24px; }
  .band__title--sm { font-size: 22px; }
  .final h2 { font-size: 30px; }

  .toggle button,
.toggle a { padding: 0 var(--s-4); font-size: 14px; }
  .card { padding: var(--s-5); }
  .final { padding: var(--s-7) var(--s-5); }

  /* CTAs empilhados em largura total — alvo de toque generoso */
  .btn-row { gap: var(--s-3); }
  .btn-row .btn { width: 100%; }

  /* Uma coluna estável — sem estouro em telas de 320-360px */
  .split, .grid--4, .grid--3, .grid--plans, .grid--small { grid-template-columns: 1fr; }

  /* No empilhado, imagem sempre antes do texto — mesma ordem em todas as seções */
  .split--reverse > *:first-child { order: 0; }
  .split--reverse > *:last-child { order: 0; }

  .footer__meta { flex-direction: column; align-items: flex-start; }
}

/* Telas muito estreitas */
@media (max-width: 400px) {
  /* O toggle é controle primário: não encolhe abaixo de 14px */
  .toggle button,
  .toggle a { padding: 0 14px; font-size: 14px; }
  .collage { grid-template-columns: 1fr; }
  .collage > .span-2 { grid-column: auto; }
  .media--tile img { height: 220px; }
  .header__actions .btn--sm { padding: 0 var(--s-3); font-size: 14px; }
}

/* Toque: sem grain (custo de GPU no scroll) e sem efeitos de ponteiro */
@media (pointer: coarse) {
  .grain { display: none; }

  /* Alvos de toque: mínimo 44px de altura nos controles do topo e do rodapé */
  .logo { min-height: 44px; }
  .footer__nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0;
  }
}
