/* ==========================================================================
   Transpirex · Landing pages B2B (representantes + revenda)
   Design system compartilhado. Sem framework, sem build.
   ========================================================================== */

:root {
  /* Cor */
  --ink: #071a33;
  --ink-2: #0b2346;
  --ink-3: #123563;
  --blue: #1e63d6;
  --blue-hover: #1754bb;
  --blue-bright: #3b82f6;
  --sky: #2a9ad8;
  --glow: #9fd3ff;
  --ice: #e7f0fc;
  --mist: #f1f6fc;
  --paper: #f7f9fc;
  --white: #fff;
  --text: #0b1a2e;
  --muted: #4a5b73;
  --soft: #66768c;
  --line: rgba(7, 26, 51, .1);
  --line-strong: rgba(7, 26, 51, .2);
  --on-dark: #fff;
  --on-dark-muted: rgba(226, 236, 250, .76);
  --line-dark: rgba(255, 255, 255, .13);
  --thai-red: #e2332a;
  --thai-green: #2e6a3b;
  --cream: #f6efd9;
  --err: #c0262d;
  --ok: #138a4c;
  --whats: #1fa855;

  /* Forma */
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --shadow-1: 0 1px 2px rgba(7, 26, 51, .06), 0 10px 30px -16px rgba(7, 26, 51, .22);
  --shadow-2: 0 2px 6px rgba(7, 26, 51, .05), 0 30px 70px -30px rgba(11, 35, 70, .42);

  /* Tipo */
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  /* Grid */
  --container: 1220px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 10vw, 140px);
  --header-h: 76px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  interpolate-size: allow-keywords;
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p, h1, h2, h3, h4, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; border-radius: 6px; }
::selection { background: #cfe2ff; color: var(--ink); }

.sr-only {
  position: absolute !important; 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: -100px; z-index: 100;
  background: var(--white); color: var(--ink); padding: 12px 18px; border-radius: 10px;
  font-weight: 600; text-decoration: none; box-shadow: var(--shadow-2);
}
.skip-link:focus { top: 16px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

/* Tipografia --------------------------------------------------------------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.028em;
  line-height: 1.04;
  text-wrap: balance;
}
h2 { font-size: clamp(34px, 4.4vw, 58px); }
h3 { font-size: clamp(21px, 1.9vw, 25px); letter-spacing: -.016em; line-height: 1.18; }
.em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.012em;
  font-size: 1.06em;
  color: var(--blue);
}
.lead { font-size: clamp(18px, 1.5vw, 20.5px); line-height: 1.62; color: var(--muted); text-wrap: pretty; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .7; }
.section--dark .eyebrow, .hero--dark .eyebrow { color: var(--glow); }

/* Botões --------------------------------------------------------------- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px; padding: 14px 26px;
  border: 0; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 16px/1.2 var(--font-body); letter-spacing: -.005em;
  text-decoration: none; cursor: pointer;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background-color .3s;
  -webkit-tap-highlight-color: transparent;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn-primary { box-shadow: 0 14px 32px -14px rgba(30, 99, 214, .8), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn-primary:hover { background: var(--blue-hover); box-shadow: 0 20px 40px -16px rgba(30, 99, 214, .9), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--ink); box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .55); }
.btn-light::after { background: linear-gradient(110deg, transparent 30%, rgba(30, 99, 214, .12) 50%, transparent 70%); }
.btn-ghost { --btn-bg: transparent; --btn-fg: currentColor; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-whats { --btn-bg: var(--whats); box-shadow: 0 14px 32px -14px rgba(31, 168, 85, .8); }
.btn-whats:hover { background: #17924a; }
.btn-sm { min-height: 42px; padding: 10px 18px; font-size: 14.5px; }
.btn-lg { min-height: 62px; padding: 12px 12px 12px 30px; font-size: 17px; gap: 18px; }
.btn-block { width: 100%; }
.btn-ico {
  flex: none; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue); color: #fff;
  transition: transform .4s var(--ease-out);
}
.btn-primary .btn-ico { background: rgba(255, 255, 255, .16); }
.btn:hover .btn-ico { transform: translateX(3px) rotate(-8deg); }
.btn svg { width: 18px; height: 18px; }

.micro { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--soft); }
.micro svg { width: 16px; height: 16px; flex: none; }
.hero--dark .micro, .section--dark .micro { color: var(--on-dark-muted); }

/* Header --------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  transition: background-color .4s, box-shadow .4s, backdrop-filter .4s, transform .5s var(--ease-out);
}
.header-inner { display: flex; align-items: center; gap: 22px; height: var(--header-h); }
.brand { display: inline-flex; flex: none; }
.brand img { width: 132px; height: auto; }
.header-tag {
  display: none; padding-left: 22px; border-left: 1px solid var(--line-dark);
  font-size: 13.5px; line-height: 1.3; color: var(--on-dark-muted);
}
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.header-nav { display: none; gap: 28px; }
.header-nav a { font-size: 15px; text-decoration: none; opacity: .78; transition: opacity .2s; }
.header-nav a:hover { opacity: 1; }
.site-header--dark { color: #fff; }
.site-header--dark.is-scrolled {
  background: rgba(7, 26, 51, .93);
  -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.site-header--light { color: var(--ink); }
.site-header--light .header-tag { border-color: var(--line); color: var(--soft); }
.site-header--light.is-scrolled {
  background: rgba(247, 249, 252, .82);
  -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
@media (min-width: 880px) { .header-tag { display: block; } }
@media (min-width: 1080px) { .header-nav { display: flex; } }
@media (max-width: 420px) {
  .brand img { width: 112px; }
  .site-header .btn-sm { padding: 10px 14px; font-size: 14px; }
}

/* Hero --------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.hero-title { font-size: clamp(40px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -.03em; }
.hero-kicker {
  display: block; margin-bottom: 20px;
  font-family: var(--font-body); font-size: clamp(17px, 1.45vw, 20px); font-weight: 500;
  line-height: 1.4; letter-spacing: -.005em;
}
.hero-main { display: block; }
.hero-main::first-letter { text-transform: uppercase; }
.hero-title .em { font-size: 1.04em; }
.hero-sub { margin-top: 26px; max-width: 56ch; font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.62; text-wrap: pretty; }
.hero-cta { margin-top: 38px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }
.live-dot::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1.5px solid #4ade80; opacity: 0; animation: ping 2.4s var(--ease-out) infinite;
}
.eyebrow--live::before { display: none; }
.eyebrow--live {
  padding: 8px 14px 8px 12px; border-radius: 999px; letter-spacing: .1em; font-size: 12px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); color: #dbeafe !important;
}
.hero--light .eyebrow--live { background: rgba(255, 255, 255, .7); border-color: var(--line); color: var(--ink-3) !important; }

/* Hero escuro (representantes) */
.hero--dark {
  background: var(--ink); color: var(--on-dark);
  padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(130px, 13vw, 180px);
}
.hero--dark .hero-kicker, .hero--dark .hero-sub { color: var(--on-dark-muted); }
.hero--dark .hero-title .em {
  color: var(--glow);
  background: linear-gradient(100deg, #cfe9ff 0%, #8cc8ff 55%, #5aa8ff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  padding-right: .06em;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before, .hero-bg::after { content: ""; position: absolute; inset: 0; }
.hero--dark .hero-bg {
  background:
    radial-gradient(760px 520px at 78% 38%, rgba(47, 123, 240, .38), transparent 62%),
    radial-gradient(620px 420px at 6% 104%, rgba(42, 154, 216, .22), transparent 60%),
    linear-gradient(180deg, #071a33 0%, #081f3e 100%);
}
.hero--dark .hero-bg::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
}
.grain::after, .hero-bg::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .07; mix-blend-mode: overlay;
}

/* Mapa */
.hero-visual { position: relative; justify-self: end; width: min(100%, 470px); margin-right: 2%; }
.map-wrap { position: relative; aspect-ratio: 600 / 786; }
.map { width: 100%; height: 100%; overflow: visible; }
.map-state {
  fill: url(#mapFill); fill-opacity: 0;
  stroke: rgba(159, 211, 255, .62); stroke-width: 1.3; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 2.6s var(--ease) forwards, fill-in 1.4s ease forwards;
  animation-delay: calc(.25s + var(--d, 0s)), calc(1.4s + var(--d, 0s));
}
.map-uf {
  font: 800 64px/1 var(--font-display); letter-spacing: -.02em;
  fill: rgba(255, 255, 255, .09); opacity: 0;
  animation: fade 1.2s ease forwards 1.6s;
}
.map-routes path {
  fill: none; stroke: rgba(159, 211, 255, .5); stroke-width: 1.2;
  stroke-dasharray: .012 .018; stroke-dashoffset: 0; opacity: 0;
  animation: fade .8s ease forwards var(--d), march 30s linear infinite var(--d);
}
.city { opacity: 0; animation: pop .7s var(--ease-out) forwards var(--d); transform-box: fill-box; transform-origin: center; }
.city-dot { fill: #fff; }
.city:not(.city--major) .city-dot { fill: rgba(207, 230, 255, .75); }
.city-ring {
  fill: none; stroke: var(--glow); stroke-width: 1.4; opacity: 0;
  transform-box: fill-box; transform-origin: center;
}
.city--major .city-ring { animation: ring 3.2s var(--ease-out) infinite; animation-delay: calc(var(--d) + 1s); }
.city text { font: 500 14.5px/1 var(--font-body); fill: #d6e9ff; paint-order: stroke; stroke: rgba(7, 26, 51, .7); stroke-width: 3px; }
@media (max-width: 560px) { .city text { font-size: 17px; } }

.hero-product {
  position: absolute; left: -9%; bottom: -3%; width: 30%; z-index: 2;
  filter: drop-shadow(0 34px 34px rgba(0, 0, 0, .45));
  animation: float 7s ease-in-out infinite;
}
.hero-product--b { left: 12%; bottom: -7%; width: 20%; z-index: 3; animation-duration: 8s; animation-delay: -2s; }
.float-card {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(13, 40, 80, .86); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
  font-size: 14px; line-height: 1.25; color: #fff;
}
.float-card small { display: block; color: var(--on-dark-muted); font-size: 12.5px; margin-top: 2px; }
.float-card .fc-ico {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(145deg, #3b82f6, #1a4fb0); color: #fff;
}
.float-card .fc-ico svg { width: 20px; height: 20px; }
.float-card--a { top: 5%; left: -10%; animation: float 9s ease-in-out infinite; }
.float-card--b { bottom: 9%; right: -8%; animation: float 10s ease-in-out infinite -3s; }

/* Esferas (motivo da embalagem Transpirex) */
.sphere {
  position: absolute; z-index: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 32% 28%, #fff 0 5%, #a9dcff 16%, #3b8cf6 52%, #123f9a 100%);
  box-shadow: inset -6px -8px 18px rgba(0, 0, 0, .22), 0 18px 36px -12px rgba(30, 99, 214, .6);
  animation: float 9s ease-in-out infinite;
}

/* Hero claro (revenda) */
.hero--light {
  color: var(--text);
  padding: calc(var(--header-h) + clamp(40px, 6vw, 84px)) 0 clamp(130px, 13vw, 180px);
  background:
    radial-gradient(900px 600px at 82% 18%, #d6e7ff 0%, transparent 62%),
    radial-gradient(700px 500px at -5% 100%, #e3f3fc 0%, transparent 60%),
    linear-gradient(180deg, #f4f8fd 0%, #eef3fa 100%);
}
.hero--light .hero-kicker { color: var(--blue); }
.hero--light .hero-sub { color: var(--muted); }
.hero--light .hero-title { font-size: clamp(42px, 5.8vw, 82px); }

/* Vitrine/gôndola */
.shelf-scene { position: relative; justify-self: center; width: min(100%, 540px); aspect-ratio: 54 / 58; }
.arch {
  position: absolute; inset: 0 7% 11% 7%; overflow: hidden;
  border-radius: 999px 999px 26px 26px;
  background:
    radial-gradient(420px 340px at 50% 36%, rgba(120, 184, 255, .55), transparent 65%),
    linear-gradient(180deg, #2a72e6 0%, #1450b8 46%, #0b2a63 100%);
  box-shadow: 0 50px 90px -40px rgba(11, 42, 99, .75), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.arch::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 56px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.arch.grain::after { content: ""; position: absolute; inset: 0; }
.shelf {
  position: absolute; left: 2%; right: 2%; bottom: 11%; height: 4.2%; z-index: 3;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #ffffff 0%, #e6edf6 60%, #cfd9e6 100%);
  box-shadow: 0 22px 34px -12px rgba(7, 26, 51, .45), inset 0 1px 0 #fff;
}
.shelf-rail {
  position: absolute; left: 4%; right: 4%; bottom: 3.2%; height: 7.6%; z-index: 3;
  display: flex; justify-content: space-around; align-items: center; gap: 8px;
}
.price-tag {
  display: flex; flex-direction: column; justify-content: center;
  padding: 7px 12px 7px 12px; border-radius: 8px;
  background: #fff; box-shadow: 0 10px 20px -12px rgba(7, 26, 51, .5), 0 0 0 1px var(--line);
  font-size: 11.5px; line-height: 1.2; color: var(--muted); white-space: nowrap;
  border-left: 3px solid var(--blue);
}
.price-tag b { color: var(--ink); font-size: 12.5px; font-weight: 650; }
.price-tag--thai { border-left-color: var(--thai-green); }
.price-tag--ahx { border-left-color: var(--sky); }
.shelf-item {
  position: absolute; z-index: 2; bottom: 15%;
  filter: drop-shadow(0 18px 18px rgba(4, 18, 40, .45));
  transform-origin: bottom center;
}
.shelf-item--ahx { left: 3%; width: 39%; }
.shelf-item--tpx { left: 36%; width: 25%; z-index: 3; }
.shelf-item--tpx30 { left: 56.5%; width: 12.5%; z-index: 2; }
.shelf-item--thai { right: 5%; width: 22%; }
.badge-rot {
  position: absolute; z-index: 5; top: 3%; right: -2%; width: 128px; height: 128px;
  display: grid; place-items: center; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-2); color: var(--ink);
}
.badge-rot svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.badge-rot text { font: 600 10.6px var(--font-body); letter-spacing: .2em; fill: var(--ink); text-transform: uppercase; }
.badge-rot .badge-core { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; }
.badge-rot .badge-core svg { width: 26px; height: 26px; }
.float-card--light { background: rgba(255, 255, 255, .86); border-color: rgba(255, 255, 255, .9); color: var(--ink); box-shadow: var(--shadow-2); }
.float-card--light small { color: var(--soft); }
.float-card--shelf { left: -6%; top: 30%; animation: float 9s ease-in-out infinite -2s; }

/* Barra de credibilidade ---------------------------------------------------- */
.trust { position: relative; z-index: 5; margin-top: calc(-1 * clamp(64px, 7vw, 86px)); }
.trust-list {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 10px; border-radius: var(--r-lg);
  background: #fff; box-shadow: var(--shadow-2); border: 1px solid rgba(255, 255, 255, .6);
}
.trust-item { display: flex; align-items: center; gap: 14px; padding: 20px 22px; font-size: 15.5px; font-weight: 550; line-height: 1.32; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-ico {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: var(--ice); color: var(--blue);
}
.trust-ico svg { width: 22px; height: 22px; }

/* Seções --------------------------------------------------------------- */
.section { position: relative; padding: var(--section) 0; }
.section-head { max-width: 860px; margin-bottom: clamp(44px, 5vw, 72px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head .lead { margin-top: 22px; max-width: 62ch; }
.section-head--center .lead { margin-inline: auto; }
.section--white { background: #fff; }
.section--mist { background: linear-gradient(180deg, var(--mist) 0%, var(--paper) 100%); }
.section--dark { background: var(--ink); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.section--dark .lead { color: var(--on-dark-muted); }
.section--dark .em { color: var(--glow); }

/* Problema (representantes) */
.problem-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.problem-copy { position: sticky; top: calc(var(--header-h) + 32px); }
.pull {
  margin-top: 30px; padding-left: 22px; border-left: 2px solid var(--blue);
  font-family: var(--font-serif); font-style: italic; font-size: clamp(24px, 2.3vw, 31px); line-height: 1.25; color: var(--ink);
  text-wrap: balance;
}
.compare { display: grid; gap: 18px; }
.compare-card { position: relative; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); overflow: hidden; }
.compare-card--stuck { background: #fff; border: 1px solid var(--line); }
.compare-card--loop { background: var(--ink); color: #fff; }
.compare-card header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.compare-card header p { font-size: 14px; color: var(--soft); }
.compare-card--loop header p { color: var(--on-dark-muted); }
.tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px;
  font-size: 12.5px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
}
.tag--muted { background: #f3f4f6; color: #5b6472; }
.tag--blue { background: rgba(59, 130, 246, .16); color: #bfdcff; }
.tag--ice { background: var(--ice); color: var(--blue); }
.tag-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* Fluxo em escada: cada etapa desce um degrau até o beco sem saída */
.flow { --step: clamp(16px, 3.4vw, 34px); display: flex; flex-direction: column; align-items: flex-start; }
.flow li { display: flex; flex-direction: column; align-items: flex-start; padding-left: calc(var(--k, 0) * var(--step)); font-size: 15px; font-weight: 550; }
.flow li span {
  padding: 10px 14px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line);
}
.flow li + li::before {
  content: ""; width: 0; height: 12px; margin-left: calc(var(--step) * -1 + 22px);
  border-left: 1.5px dashed var(--line-strong);
}
.flow .flow-dead span {
  background: #fff5f5; border: 1.5px dashed rgba(192, 38, 45, .45); color: #9d1d24;
  display: inline-flex; align-items: center; gap: 8px;
}
.flow .flow-dead svg { width: 16px; height: 16px; }
.stuck-meter { margin-top: 26px; display: grid; gap: 8px; }
.stuck-meter-row { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 14px; font-size: 13.5px; color: var(--soft); }
.stuck-bar { height: 8px; border-radius: 8px; background: var(--mist); overflow: hidden; }
.stuck-bar i { display: block; height: 100%; border-radius: inherit; background: #c9d2de; width: var(--w); transform-origin: left; }

.loop-wrap { display: grid; grid-template-columns: 220px 1fr; gap: clamp(20px, 3vw, 36px); align-items: center; }
.loop { width: 220px; height: 220px; }
.loop .loop-track { fill: none; stroke: rgba(159, 211, 255, .22); stroke-width: 1.5; }
.loop .loop-arc { fill: none; stroke: url(#loopGrad); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 90 400; transform-origin: 110px 110px; animation: spin 6s linear infinite; }
.loop .node { fill: #0f2c55; stroke: rgba(159, 211, 255, .5); stroke-width: 1.2; }
.loop .node-t { font: 600 11.5px var(--font-body); fill: #e3efff; text-anchor: middle; }
.loop .core-t { font: 700 30px var(--font-display); fill: #fff; text-anchor: middle; letter-spacing: -.02em; }
.loop .core-s { font: 500 11px var(--font-body); fill: var(--on-dark-muted); text-anchor: middle; letter-spacing: .12em; text-transform: uppercase; }
.loop-copy h3 { color: #fff; }
.loop-copy p { margin-top: 10px; color: var(--on-dark-muted); font-size: 15.5px; }
.loop-glow { position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(59, 130, 246, .35), transparent 70%); pointer-events: none; }

/* Problema (revenda) — balcão */
.counter-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.counter-copy .lead { margin-top: 26px; }
.counter-copy .lead strong { color: var(--ink); font-weight: 650; }
.chat {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2);
}
.chat-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; margin-bottom: 4px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--soft); }
.chat-head b { color: var(--ink); font-weight: 650; font-size: 14px; }
.bubble { max-width: 84%; padding: 14px 18px; border-radius: 20px; font-size: 16px; line-height: 1.45; }
.bubble small { display: block; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; opacity: .7; font-weight: 600; }
.bubble--in { align-self: flex-start; background: var(--mist); border-bottom-left-radius: 6px; }
.bubble--out { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.shelf-mini { align-self: flex-end; display: flex; gap: 6px; margin-top: -4px; }
.shelf-mini span { width: 26px; height: 40px; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #e5e9ef, #cfd6df); }
.shelf-mini span:nth-child(2) { height: 46px; } .shelf-mini span:nth-child(4) { height: 34px; }
.chat-exit {
  display: flex; align-items: center; gap: 14px; margin-top: 8px;
  padding: 16px 18px; border-radius: 16px;
  border: 1.5px dashed rgba(192, 38, 45, .4); background: #fff6f6; color: #8f1b21;
  font-weight: 600; font-size: 15.5px;
}
.chat-exit svg { width: 22px; height: 22px; flex: none; }
.chat-fix {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px;
  background: var(--ice); color: var(--ink-3); font-weight: 600; font-size: 15.5px;
}
.chat-fix svg { width: 22px; height: 22px; flex: none; color: var(--blue); }

/* Features (3 blocos) */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(26px, 2.6vw, 36px) clamp(26px, 2.6vw, 36px) clamp(56px, 5vw, 72px);
  border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .4s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: transparent; }
.feature-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 26px; }
.feature-ico {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px;
  background: linear-gradient(145deg, #3b82f6 0%, #1e63d6 50%, #133f99 100%); color: #fff;
  box-shadow: 0 16px 30px -14px rgba(30, 99, 214, .8), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.feature-ico svg { width: 26px; height: 26px; }
.feature-num { font: 500 14px var(--font-body); letter-spacing: .1em; color: var(--soft); }
.feature p { color: var(--muted); font-size: 16.5px; }
.feature::after {
  content: attr(data-n); position: absolute; right: -6px; bottom: -48px; z-index: -1;
  font: 800 200px/1 var(--font-display); letter-spacing: -.06em; color: var(--mist);
  transition: transform .8s var(--ease-out), color .6s;
}
.feature:hover::after { transform: translateY(-10px); color: var(--ice); }
.feature--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.feature--dark p { color: var(--on-dark-muted); }
.feature--dark .feature-num { color: var(--on-dark-muted); }
.feature--dark::after { color: rgba(255, 255, 255, .04); }
.feature--dark:hover::after { color: rgba(255, 255, 255, .07); }
.signal { position: absolute; right: 26px; top: 30px; width: 58px; height: 58px; }
.signal span { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--glow); opacity: 0; animation: ring 3s var(--ease-out) infinite; }
.signal span:nth-child(2) { animation-delay: 1s; } .signal span:nth-child(3) { animation-delay: 2s; }

/* Linha de produtos --------------------------------------------------------- */
.line-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 20px; }
.product {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
  transition: box-shadow .6s var(--ease-out), transform .6s var(--ease-out);
}
.product:hover { box-shadow: var(--shadow-2); transform: translateY(-4px); }
.product--feature { grid-row: span 2; }
.product--side { flex-direction: row; }
.product-stage { position: relative; overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.product--feature .product-stage { flex: 1; min-height: clamp(340px, 34vw, 470px); padding: 40px 32px 24px; }
.product--side .product-stage { flex: 0 0 40%; padding: 28px 18px; min-height: 290px; }
.product-stage img { position: relative; z-index: 2; width: auto; filter: drop-shadow(0 26px 24px rgba(7, 26, 51, .28)); transition: transform .8s var(--ease-out); }
.product:hover .product-stage img { transform: translateY(-8px) rotate(-1.5deg); }
.product-stage::before { content: ""; position: absolute; left: 50%; bottom: 10%; z-index: 1; width: 70%; height: 16px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(7, 26, 51, .28), transparent); }
.stage--tpx { background: radial-gradient(circle at 50% 42%, #f4f9ff 0%, #d7e8fe 42%, #b6d3fa 100%); }
.stage--ahx { background: radial-gradient(circle at 50% 42%, #f5fbff 0%, #d9eefb 50%, #bfe2f6 100%); }
.stage--thai { background: radial-gradient(circle at 50% 42%, #fffdf6 0%, #f6efd9 52%, #e6dcbd 100%); }
.stage-duo { display: flex; align-items: flex-end; justify-content: center; gap: 4%; height: 100%; }
.stage-duo img:first-child { height: clamp(250px, 26vw, 360px); }
.stage-duo img:last-child { height: clamp(220px, 23vw, 320px); }
.product--side .product-stage img { max-height: 230px; }
.stage-crystal { position: absolute !important; z-index: 1 !important; right: -22%; bottom: 4%; width: 72%; max-height: none !important; opacity: .5; filter: none !important; transform: rotate(-12deg) !important; }
.stage-sphere { width: 46px; height: 46px; }
.product-body { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 2.6vw, 34px); }
.product--side .product-body { justify-content: center; }
.product-brand { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.product-brand h3 { font-size: clamp(24px, 2.2vw, 30px); }
.product-brand h3 small { display: block; margin-top: 4px; font: 500 14px var(--font-body); letter-spacing: 0; color: var(--soft); }
.product p { color: var(--muted); font-size: 16px; }
.product strong { color: var(--ink); font-weight: 650; }
.specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.spec { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 550; background: var(--mist); border: 1px solid var(--line); color: var(--ink-3); }
.spec svg { width: 14px; height: 14px; color: var(--blue); }
.product--thai .spec svg { color: var(--thai-green); }
.role { flex: none; }
.role--thai { background: #e9f2e6; color: var(--thai-green); }
.line-note { margin-top: 22px; display: flex; align-items: center; gap: 12px; justify-content: center; text-align: center; font-size: 15px; color: var(--soft); }
.line-note svg { width: 18px; height: 18px; color: var(--blue); flex: none; }

/* Para quem é ---------------------------------------------------------------- */
.fit-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 20px; }
.fit-card { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(28px, 3.6vw, 48px); }
.fit-card--yes { background: var(--ink); color: #fff; }
.fit-card--no { background: #fff; border: 1px solid var(--line); }
.fit-card h3 { margin-bottom: 18px; }
.fit-card--yes h3 { font-size: clamp(26px, 2.6vw, 34px); }
.fit-card--no h3 { color: var(--muted); }
.check-list li { display: flex; align-items: flex-start; gap: 16px; padding: 17px 0; font-size: clamp(16.5px, 1.4vw, 18.5px); line-height: 1.4; }
.check-list li + li { border-top: 1px solid var(--line-dark); }
.fit-card--no .check-list li + li { border-color: var(--line); }
.fit-card--no .check-list li { color: var(--muted); }
.ck { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; margin-top: -1px; }
.ck svg { width: 15px; height: 15px; }
.ck--yes { background: var(--blue); color: #fff; box-shadow: 0 0 0 5px rgba(59, 130, 246, .18); }
.ck--no { background: #f1f2f4; color: #8a93a0; }
.fit-note {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
  padding: 22px 28px; border-radius: var(--r); text-align: center;
  background: var(--ice); color: var(--ink-3);
  font: 600 clamp(17px, 1.6vw, 21px)/1.35 var(--font-display); letter-spacing: -.01em;
}
.fit-note svg { width: 24px; height: 24px; color: var(--blue); flex: none; }
.fit-note .em { color: var(--blue); }

/* Como funciona ---------------------------------------------------------- */
.steps { --gap: clamp(20px, 3vw, 36px); position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: var(--gap); }
.steps::before, .steps::after {
  content: ""; position: absolute; top: 29px; left: 29px; height: 2px; border-radius: 2px;
  right: calc((100% - (var(--n, 4) - 1) * var(--gap)) / var(--n, 4) - 29px);
}
.steps::before { background: var(--line); }
.steps::after { background: linear-gradient(90deg, var(--blue), var(--sky)); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease-out) .2s; }
.steps.in::after { transform: scaleX(1); }
.step { position: relative; }
.step-num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--line-strong);
  font: 700 19px var(--font-display); color: var(--ink);
  transition: background-color .5s, color .5s, border-color .5s, box-shadow .5s;
  transition-delay: calc(.35s + var(--i, 0) * .4s);
}
.steps.in .step-num { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 0 0 7px var(--ice); }
.step h3 { margin-top: 26px; }
.step p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.step-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.step-chips span { padding: 6px 11px; border-radius: 999px; background: var(--ice); color: var(--ink-3); font-size: 12.5px; font-weight: 600; }
.steps-cta { margin-top: clamp(44px, 5vw, 64px); display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* FAQ ---------------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-aside .lead { margin-top: 20px; }
.faq-help {
  margin-top: 30px; display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  border-radius: var(--r); background: #fff; border: 1px solid var(--line); text-decoration: none;
  transition: border-color .3s, box-shadow .3s;
}
.faq-help:hover { border-color: transparent; box-shadow: var(--shadow-1); }
.faq-help .trust-ico { background: #e7f7ee; color: var(--whats); }
.faq-help b { display: block; font-weight: 650; }
.faq-help small { color: var(--soft); font-size: 14px; }
.faq-list { 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: 24px;
  padding: 26px 0; cursor: pointer; list-style: none;
  font: 600 clamp(18px, 1.6vw, 21px)/1.32 var(--font-display); letter-spacing: -.012em;
  transition: color .25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue); }
.faq-plus { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--mist); transition: background-color .3s, transform .5s var(--ease-out); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.8px; margin: -.9px 0 0 -6.5px; border-radius: 2px; background: var(--ink); transition: transform .5s var(--ease-out), background-color .3s; }
.faq-plus::after { transform: rotate(90deg); }
.section--mist .faq-plus { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.faq-item[open] .faq-plus { background: var(--ink); box-shadow: none; transform: rotate(180deg); }
.faq-item[open] .faq-plus::before, .faq-item[open] .faq-plus::after { background: #fff; }
.faq-item[open] .faq-plus::after { transform: rotate(0deg); }
.faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease-out), content-visibility .5s allow-discrete; }
.faq-item[open]::details-content { block-size: auto; }
.faq-answer { padding: 0 56px 28px 0; color: var(--muted); font-size: 16.5px; }

/* Formulário ---------------------------------------------------------------- */
.form-section { padding: var(--section) 0; }
.form-section .hero-bg { background: radial-gradient(700px 500px at 90% 10%, rgba(47, 123, 240, .32), transparent 65%), radial-gradient(600px 500px at 0% 100%, rgba(42, 154, 216, .18), transparent 60%); }
.form-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.form-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.form-aside .lead { margin-top: 22px; }
.after-list { margin-top: 36px; display: grid; gap: 4px; counter-reset: a; }
.after-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line-dark); font-size: 15.5px; color: var(--on-dark-muted); }
.after-list li b { display: block; color: #fff; font-weight: 600; font-size: 16px; margin-bottom: 2px; }
.after-list li::before { counter-increment: a; content: "0" counter(a); font: 600 13px/28px var(--font-body); letter-spacing: .08em; color: var(--glow); }
.region-note { margin-top: 26px; display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); font-size: 14.5px; color: #dbeafe; }
.region-note svg { width: 18px; height: 18px; color: var(--glow); flex: none; }

.form-card {
  position: relative; border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 44px);
  background: #fff; color: var(--text);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08);
}
.form-progress { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.form-progress-label { font-size: 13px; font-weight: 600; color: var(--soft); letter-spacing: .04em; }
.form-progress-label b { color: var(--ink); }
.form-bars { display: flex; gap: 6px; flex: 0 0 120px; }
.form-bars span { flex: 1; height: 5px; border-radius: 5px; background: var(--mist); overflow: hidden; position: relative; }
.form-bars span::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.form-bars span.is-done::after { transform: scaleX(1); }
.form-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-step legend { padding: 0; margin-bottom: 22px; font: 700 clamp(21px, 2vw, 25px)/1.2 var(--font-display); letter-spacing: -.018em; }
.form-step legend small { display: block; margin-top: 6px; font: 400 15px/1.45 var(--font-body); letter-spacing: 0; color: var(--soft); }
.js .form-step[hidden] { display: none; }
.form-step.is-entering { animation: step-in .55s var(--ease-out); }

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; min-width: 0; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
.field-row--city { grid-template-columns: minmax(0, 1fr) 130px; }
.field > label, .field > .label { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--soft); }
.input {
  width: 100%; height: 56px; padding: 0 16px;
  border-radius: 14px; border: 1.5px solid var(--line-strong); background: #fff;
  font-size: 16px; color: var(--text);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: #98a3b3; }
.input:hover { border-color: rgba(7, 26, 51, .32); }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 99, 214, .16); }
select.input {
  padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%230b1a2e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field.is-invalid .input, .field.is-invalid .choice span { border-color: var(--err); }
.field.is-invalid .input:focus { box-shadow: 0 0 0 4px rgba(192, 38, 45, .14); }
.field.is-valid .input { border-color: rgba(19, 138, 76, .55); }
.field-error { display: none; align-items: center; gap: 6px; font-size: 13.5px; color: var(--err); font-weight: 500; }
.field-error svg { width: 14px; height: 14px; flex: none; }
.field.is-invalid .field-error { display: flex; }
.field-hint { font-size: 13px; color: var(--soft); }
.field-info {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 2px; padding: 12px 14px; border-radius: 12px;
  background: #fff8e8; color: #7a4b00; font-size: 13.5px; line-height: 1.45;
}
.field-info svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.field-info[hidden] { display: none; }
.field-info:not([hidden]) { margin-bottom: 18px; }

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 16px;
  border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff;
  font-size: 15px; font-weight: 550; line-height: 1.2; cursor: pointer; user-select: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.choice span::before {
  content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--line-strong); transition: all .2s;
}
.choice input[type="checkbox"] + span::before { border-radius: 5px; }
.choice input:hover + span { border-color: rgba(7, 26, 51, .38); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:checked + span::before {
  border-color: #fff; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' fill='none'%3E%3Cpath d='m1 4 2.6 2.6L9 1.2' stroke='%23071a33' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.choice input:focus-visible + span { outline: 3px solid var(--blue-bright); outline-offset: 2px; }
.choice input:active + span { transform: scale(.97); }

.form-actions { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.form-actions .btn { flex: 1; }
.btn-back {
  flex: none !important; display: inline-flex; align-items: center; gap: 6px; min-height: 52px; padding: 0 14px;
  border: 0; background: none; color: var(--soft); font-weight: 600; font-size: 15px; cursor: pointer; border-radius: 12px;
}
.btn-back:hover { color: var(--ink); }
.btn-back svg { width: 16px; height: 16px; }
.form-micro { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--soft); text-align: center; }
.form-micro svg { width: 16px; height: 16px; flex: none; color: var(--ok); }
.form-legal { margin-top: 14px; font-size: 12.5px; line-height: 1.5; color: var(--soft); text-align: center; }
.form-legal a { color: var(--muted); }
.form-alert { display: none; margin-bottom: 18px; padding: 14px 16px; border-radius: 12px; background: #fff1f1; color: #8f1b21; font-size: 14.5px; }
.form-alert.is-visible { display: block; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn-label { opacity: .0; }
.btn.is-loading::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px;
  border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite;
}
.btn.is-loading .btn-ico { opacity: 0; }

/* CTA fixo mobile ---------------------------------------------------------- */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 55;
  display: none; transform: translateY(160%); transition: transform .5s var(--ease-out);
}
.mobile-cta .btn { width: 100%; box-shadow: 0 18px 40px -12px rgba(7, 26, 51, .55); }
.mobile-cta.is-visible { transform: none; }
@media (max-width: 760px) { .mobile-cta { display: block; } }

/* Rodapé ---------------------------------------------------------------- */
.site-footer { background: #04111f; color: var(--on-dark-muted); padding: 64px 0 calc(36px + env(safe-area-inset-bottom)); font-size: 14px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid var(--line-dark); }
.footer-brands { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); flex-wrap: wrap; }
.footer-brands img { width: auto; opacity: .92; }
.footer-brands .fb-tpx { height: 40px; }
.footer-brands .fb-ahx { height: 26px; }
.footer-brands .fb-thai { height: 38px; }
.footer-top p { max-width: 44ch; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; color: rgba(226, 236, 250, .56); }
.footer-bottom a { color: rgba(226, 236, 250, .8); }
@media (max-width: 760px) { .site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); } }

/* Obrigado ---------------------------------------------------------------- */
.page-dark { background: var(--ink); color: var(--on-dark); }
.page-dark .lead { color: var(--on-dark-muted); }
.thanks { min-height: 100svh; display: grid; place-items: center; padding: calc(var(--header-h) + 40px) 0 80px; }
.thanks-card { width: min(100% - 2 * var(--gutter), 720px); margin-inline: auto; text-align: center; }
.thanks-check { width: 96px; height: 96px; margin: 0 auto 32px; }
.thanks-check circle { fill: none; stroke: var(--glow); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s var(--ease-out) forwards .2s; }
.thanks-check path { fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .6s var(--ease-out) forwards .9s; }
.thanks-check .bg { fill: rgba(59, 130, 246, .2); stroke: none; animation: none; transform-origin: center; animation: pop .8s var(--ease-out) both; }
.thanks h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -.026em; }
.thanks .lead { margin: 22px auto 0; max-width: 54ch; }
.thanks-actions { margin-top: 38px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.thanks-actions .link { font-size: 15px; color: var(--on-dark-muted); text-underline-offset: 4px; }
.thanks-steps { margin: 56px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; text-align: left; }
.thanks-steps li { padding: 20px; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); font-size: 14.5px; color: var(--on-dark-muted); }
.thanks-steps li b { display: block; color: #fff; font-weight: 600; margin: 10px 0 4px; font-size: 15.5px; }
.thanks-steps li span { font: 600 12px var(--font-body); letter-spacing: .1em; color: var(--glow); }
.thanks-steps li.is-done { background: rgba(59, 130, 246, .14); border-color: rgba(159, 211, 255, .3); }

/* Revelação / motion ---------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--rd, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal--scale { transform: translateY(24px) scale(.97); }
.js [data-enter] { animation: enter 1.1s var(--ease-out) both; animation-delay: var(--ed, 0ms); }

@keyframes enter { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fill-in { to { fill-opacity: 1; } }
@keyframes fade { to { opacity: 1; } }
@keyframes march { to { stroke-dashoffset: -1; } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
@keyframes ping { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.8); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes step-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .map-state { stroke-dashoffset: 0; fill-opacity: 1; }
  .map-uf, .map-routes path, .city { opacity: 1; }
}

/* Responsivo ---------------------------------------------------------------- */
@media (max-width: 1080px) {
  .float-card--b { right: -2%; }
  .product--side { flex-direction: column; }
  .product--side .product-stage { flex: none; min-height: 250px; }
  .loop-wrap { grid-template-columns: 1fr; justify-items: start; }
}
@media (max-width: 960px) {
  .hero-grid, .problem-grid, .counter-grid, .faq-grid, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .problem-copy, .faq-aside, .form-aside { position: static; }
  .hero-visual { width: min(100%, 420px); margin-top: 8px; }
  .hero-product { left: -10%; }
  .hero-product--b { left: 12%; }
  .float-card--a { left: -4%; }
  .shelf-scene { width: min(100%, 500px); margin-top: 8px; }
  .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .features { grid-template-columns: minmax(0, 1fr); }
  .feature { min-height: 0; }
  .feature-top { padding-bottom: 22px; }
  .line-grid { grid-template-columns: minmax(0, 1fr); }
  .product--feature { grid-row: auto; }
  .product--side { flex-direction: row; }
  .product--side .product-stage { flex: 0 0 40%; }
  .fit-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps::before, .steps::after { top: 29px; bottom: 29px; left: 28px; right: auto; width: 2px; height: auto; }
  .steps::after { transform: scaleY(0); transform-origin: top; background: linear-gradient(180deg, var(--blue), var(--sky)); }
  .steps.in::after { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 58px 1fr; column-gap: 22px; padding-bottom: 34px; }
  .step:last-child { padding-bottom: 0; }
  .step h3 { margin-top: 14px; }
  .step > :not(.step-num) { grid-column: 2; }
  .step-num { grid-row: span 3; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { width: 100%; justify-content: space-between; }
  .trust-list { grid-template-columns: minmax(0, 1fr); padding: 6px 8px; }
  .trust-item { padding: 15px 12px; font-size: 15px; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .trust-ico { width: 40px; height: 40px; border-radius: 12px; }
  .float-card { padding: 9px 12px 9px 9px; font-size: 12.5px; border-radius: 13px; }
  .float-card small { font-size: 11px; }
  .float-card .fc-ico { width: 30px; height: 30px; border-radius: 9px; }
  .float-card .fc-ico svg { width: 16px; height: 16px; }
  .float-card--a { left: 0; top: 2%; }
  .float-card--b { right: 0; bottom: 6%; }
  .hero-product { left: 2%; width: 29%; }
  .hero-product--b { left: 22%; width: 19%; }
  .float-card--shelf { display: none; }
  .compare-card header { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 20px; }
  .product--side { flex-direction: column; }
  .product--side .product-stage { flex: none; min-height: 240px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .field-row--city { grid-template-columns: minmax(0, 1fr) 110px; gap: 0 12px; }
  .faq-answer { padding-right: 0; }
  .loop { width: 200px; height: 200px; }
  .stuck-meter-row { grid-template-columns: 96px 1fr; }
  .badge-rot { width: 100px; height: 100px; right: 0; top: 0; }
  .badge-rot text { font-size: 10.6px; }
  .badge-rot .badge-core { width: 42px; height: 42px; }
  .float-card--shelf { left: 0; top: 34%; }
  .price-tag { padding: 5px 8px; font-size: 10px; }
  .price-tag b { font-size: 11px; }
  .thanks-steps { grid-template-columns: minmax(0, 1fr); }
  .form-progress { flex-direction: column-reverse; align-items: stretch; gap: 10px; }
  .form-bars { flex: none; }
}
