/* =========================================================
   FACHADA | landing page
   Tema escuro travado (linguagem cinematográfica da marca).
   Raios: botões = pílula, cards = 20px, inputs = 12px.
   ========================================================= */

:root {
  --bg: #0a0a09;
  --bg-2: #121211;
  --surface: #191917;
  --surface-2: #211f1c;
  --line: rgba(239, 236, 228, 0.09);
  --line-2: rgba(239, 236, 228, 0.16);
  --text: #efece4;
  --muted: #a6a298;
  --faint: #6f6c64;
  --accent: #d4f25a;
  --accent-2: #e2fb7a;
  --accent-ink: #121405;
  --accent-soft: rgba(212, 242, 90, 0.12);

  --r-card: 20px;
  --r-input: 12px;

  --font-display: "Cabinet Grotesk", "Satoshi", system-ui, sans-serif;
  --font-body: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --z-nav: 50;
  --z-float: 60;
  --z-grain: 70;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* grão sutil fixo, sem custo de repaint no scroll */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Tipografia ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  max-width: 18ch;
}
.lead { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 58ch; margin: 0; }
.accent { color: var(--accent); }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin: 0 0 18px;
}

/* ---------- Botões ---------- */
.btn {
  --h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), background-color .25s, border-color .25s, color .25s, box-shadow .35s var(--ease);
  will-change: transform;
}
.btn i { font-size: 1.15em; transition: transform .35s var(--ease); }
.btn:hover i.ph-arrow-right { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 15px; }
.btn--lg { --h: 58px; padding: 0 30px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -12px rgba(212, 242, 90, .55); }
.btn--primary:hover { background: var(--accent-2); box-shadow: 0 16px 40px -14px rgba(212, 242, 90, .7); }
.btn--ghost { background: rgba(239, 236, 228, .04); border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: rgba(239, 236, 228, .35); background: rgba(239, 236, 228, .08); }
.btn[disabled] { opacity: .7; cursor: progress; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.link-arrow:hover i { transform: translate(2px, -2px); }
.link-arrow i { transition: transform .3s var(--ease); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  transition: background-color .4s, border-color .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(13, 13, 12, .72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__links { display: flex; gap: 32px; font-size: 15px; color: var(--muted); }
.nav__links a { transition: color .2s; }
.nav__links a:hover { color: var(--text); }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.brand__mark {
  width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink);
  font-size: 19px;
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; padding: 96px 0 56px; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px;
  background: radial-gradient(closest-side, rgba(212, 242, 90, .16), transparent 70%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 4.3vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
}
.hero__title .accent { display: block; }
.hero__sub { color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 44ch; margin: 0 0 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__visual { position: relative; aspect-ratio: 16 / 11.5; }

/* Device frames com iframes reais */
.device { position: absolute; background: #1b1a18; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0,0,0,.4); overflow: hidden; }
.device--laptop { inset: 0 6% 10% 0; border-radius: 14px; }
.device__bar { height: 34px; display: flex; align-items: center; gap: 14px; padding: 0 12px; background: #222120; border-bottom: 1px solid var(--line); }
.device__dots { display: inline-flex; gap: 6px; }
.device__dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a3935; }
.device__url { flex: 1; max-width: 260px; margin-inline: auto; height: 22px; border-radius: 999px; background: #161514; color: var(--muted); font-size: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.device__screen { position: relative; overflow: hidden; background: #111; }
.device--laptop .device__screen { height: calc(100% - 34px); }
.device__screen iframe, .work__screen iframe {
  position: absolute; top: 0; left: 0; border: 0;
  transform-origin: 0 0;
  pointer-events: none;
}
.device--phone { width: 30%; aspect-ratio: 390 / 844; right: 0; bottom: 0; border-radius: 28px; border: 6px solid #232220; }
.device--phone .device__screen { height: 100%; border-radius: 22px; }
.device__notch { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 34%; height: 16px; border-radius: 999px; background: #0b0b0a; z-index: 2; }

.toast {
  position: absolute; left: -4%; bottom: 4%;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px;
  background: rgba(30, 29, 27, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.06);
  font-size: 14px; line-height: 1.3;
}
.toast strong { display: block; font-size: 14px; }
.toast small { color: var(--muted); font-size: 13px; }
.toast__icon { width: 38px; height: 38px; border-radius: 12px; background: #25d366; color: #0b2b17; display: grid; place-items: center; font-size: 22px; flex: none; }

/* ---------- Marquee de nichos ---------- */
.niches { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; }
.marquee { display: flex; width: max-content; }
.marquee__track { display: flex; flex: none; animation: marquee 48s linear infinite; }
.marquee__track span {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--faint); padding-inline: 28px; white-space: nowrap; letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 28px;
}
.marquee__track span::after { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); opacity: .8; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Problema ---------- */
.problem { padding-block: clamp(96px, 14vw, 180px) clamp(64px, 8vw, 110px); }
.problem__text {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 3.9vw, 3.3rem); line-height: 1.12; letter-spacing: -0.025em;
  margin: 0 0 clamp(56px, 8vw, 96px); max-width: 26ch;
}
.problem__text .w { opacity: .16; transition: opacity .2s; }
.stats { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 16px; }
.stat { padding: 28px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.stat__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.8rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -0.04em; margin-bottom: 14px; }
.stat p { margin: 0 0 10px; font-size: 17px; }
.stat small { color: var(--faint); font-size: 13px; }
.stat--accent { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.stat--accent p { color: rgba(26, 12, 5, .85); }

/* ---------- Showcase (pan horizontal) ---------- */
.showcase { position: relative; padding-top: clamp(40px, 6vw, 80px); }
.showcase__pin { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-block: 32px; }
.showcase__head { margin-bottom: clamp(28px, 4vw, 44px); }
.showcase__track { display: flex; gap: clamp(20px, 3vw, 36px); padding-inline: var(--gutter); width: max-content; }
.showcase__head .h2 { max-width: 22ch; }
.work { width: min(66vw, 800px, calc((100dvh - 290px) * 1.6)); flex: none; }
.work__frame {
  display: block; position: relative; border-radius: var(--r-card); overflow: hidden;
  border: 1px solid var(--line-2); background: #151413;
  aspect-ratio: 16 / 10;
  transition: transform .6s var(--ease), border-color .3s;
}
.work__frame:hover { transform: translateY(-6px); border-color: rgba(212, 242, 90, .5); }
.work__screen { position: absolute; inset: 0; }
.work__meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 18px 4px 0; }
.work__meta h3 { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.02em; margin: 0 0 2px; }
.work__meta p { margin: 0; color: var(--muted); font-size: 15px; }
.work--cta { display: flex; }
.work__cta-inner {
  align-self: stretch; aspect-ratio: 16 / 10; width: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: clamp(28px, 4vw, 56px); border-radius: var(--r-card);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(212, 242, 90, .35), transparent 60%),
    var(--surface);
  border: 1px solid var(--line-2);
}
.work__cta-inner h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -0.03em; margin: 0 0 14px; }
.work__cta-inner p { color: var(--muted); max-width: 40ch; margin: 0 0 28px; }

/* ---------- Passos (sticky stack) ---------- */
.steps { padding-block: clamp(96px, 12vw, 160px) 40px; }
.stack { margin-top: clamp(40px, 6vw, 72px); display: grid; gap: 24px; }
.stack__card {
  position: sticky;
  top: calc(96px + var(--i) * 22px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  min-height: min(62vh, 520px);
  border-radius: var(--r-card); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-2);
  box-shadow: 0 -20px 50px -30px rgba(0,0,0,.9);
  transform-origin: 50% 0;
}
.stack__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: flex-end; }
.stack__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 28px; margin-bottom: auto; }
.stack__body h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.05; letter-spacing: -0.025em; margin: 32px 0 14px; max-width: 18ch; }
.stack__body p { color: var(--muted); margin: 0; max-width: 44ch; }
.stack__media { margin: 0; position: relative; }
.stack__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.05); }

/* ---------- Bento ---------- */
.bento-sec { padding-block: clamp(96px, 12vw, 150px) 0; }
.bento {
  margin-top: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 16px;
}
.bento__cell { position: relative; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.bento__cell h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 8px; }
.bento__cell p { margin: 0; color: var(--muted); font-size: 16px; max-width: 40ch; }
.bento__icon { font-size: 30px; color: var(--accent); margin-bottom: auto; }
.bento__cell--wa { background: linear-gradient(160deg, #13301f 0%, #0f1a13 55%, var(--surface) 100%); border-color: rgba(37, 211, 102, .18); }
.bento__cell--wa h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); max-width: 14ch; }
.bento__big { font-size: clamp(90px, 12vw, 150px); color: #25d366; margin-bottom: auto; filter: drop-shadow(0 20px 40px rgba(37, 211, 102, .25)); }
.bento__cell--photo { padding: 0; min-height: 260px; }
.bento__cell--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bento__cell--photo:hover img { transform: scale(1.04); }
.bento__overlay { position: relative; margin-top: auto; padding: 28px; background: linear-gradient(transparent, rgba(10, 10, 9, .92) 55%); }
.bento__overlay p { color: #cfcbc1; }
/* 5 células: WhatsApp (alto, esquerda) | foto + destaque (direita) | Google + domínio (base) */
.bento__cell--wa { grid-column: 1 / span 3; grid-row: 1 / span 2; }
.bento__cell--photo { grid-column: 4 / span 3; grid-row: 1; }
.bento__cell--accent { grid-column: 4 / span 3; grid-row: 2; }
.bento__cell:nth-child(3) { grid-column: 1 / span 3; grid-row: 3; }
.bento__cell:nth-child(4) { grid-column: 4 / span 3; grid-row: 3; }
.bento__cell--accent { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.bento__cell--accent p { color: rgba(26, 12, 5, .82); }
.bento__cell--accent .bento__icon { color: var(--accent-ink); }

/* ---------- Comparativo ---------- */
.compare { padding-block: clamp(96px, 12vw, 160px) 0; }
.compare__grid { margin-top: clamp(36px, 5vw, 56px); border-radius: var(--r-card); border: 1px solid var(--line); overflow: hidden; }
.compare__row { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.1fr; align-items: center; }
.compare__row > span { padding: 20px 24px; font-size: 16px; color: var(--muted); }
.compare__row:nth-child(even) { background: rgba(239, 236, 228, .025); }
.compare__row [role="rowheader"] { color: var(--text); font-weight: 700; }
.compare__row--head > span { font-family: var(--font-display); font-weight: 800; color: var(--text); font-size: 17px; padding-block: 24px; }
.compare__row .is-us { background: var(--accent-soft); color: var(--text); font-weight: 700; height: 100%; display: flex; align-items: center; }
.compare__row--head .is-us { color: var(--accent); }
.compare__row .ph-x { color: var(--faint); font-size: 20px; }
.compare__row .ph-check-circle { color: var(--accent); font-size: 24px; }
.compare__note { display: block; margin-top: 14px; color: var(--faint); font-size: 13px; }

/* ---------- Planos ---------- */
.pricing { padding-block: clamp(96px, 12vw, 160px) 0; }
.toggle { position: relative; display: inline-flex; padding: 5px; margin: 16px 0 40px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.toggle button { position: relative; z-index: 1; height: 42px; padding: 0 22px; border: 0; background: none; border-radius: 999px; cursor: pointer; font-weight: 700; color: var(--muted); transition: color .3s; }
.toggle button[aria-checked="true"] { color: var(--accent-ink); }
.toggle__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--accent); transition: transform .45s var(--ease), width .45s var(--ease); }

.plans { display: grid; grid-template-columns: 1fr 1.08fr; gap: 20px; align-items: stretch; max-width: 1040px; }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(28px, 3.5vw, 44px); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.plan header h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: -0.02em; margin: 0 0 6px; }
.plan header p { color: var(--muted); margin: 0; font-size: 16px; max-width: 38ch; }
.plan__price { margin: 28px 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.plan__amount { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.8rem, 5vw, 3.8rem); letter-spacing: -0.04em; line-height: 1; }
.plan__period { color: var(--muted); font-size: 15px; }
.plan__list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 12px; }
.plan__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.plan__list i { color: var(--accent); font-size: 20px; margin-top: 2px; flex: none; }
.plan .btn { margin-top: auto; }
.plan--featured { background: radial-gradient(140% 80% at 100% 0%, rgba(212, 242, 90, .18), transparent 55%), var(--surface-2); border-color: rgba(212, 242, 90, .45); }
.plan__badge { position: absolute; top: -14px; right: 28px; padding: 6px 14px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 700; }
.pricing__note { color: var(--muted); font-size: 15px; margin-top: 22px; }
.plan__amount.is-swapping { animation: swap .45s var(--ease); }
@keyframes swap { 0% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: none; } }

/* ---------- Garantia ---------- */
.guarantee { margin-top: clamp(96px, 12vw, 160px); padding-block: clamp(80px, 10vw, 130px); background: linear-gradient(180deg, transparent, rgba(212, 242, 90, .07) 40%, transparent); border-block: 1px solid var(--line); text-align: center; }
.guarantee__inner { display: flex; flex-direction: column; align-items: center; }
.guarantee__icon { font-size: 64px; color: var(--accent); margin-bottom: 22px; }
.guarantee__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -0.035em; max-width: 17ch; margin: 0 0 20px; }
.guarantee .lead { margin-inline: auto; }

/* ---------- Formulário ---------- */
.lead-sec { padding-block: clamp(96px, 12vw, 160px) 0; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: start; scroll-margin-top: 80px; }
.lead-sec__copy { position: sticky; top: 110px; }
.assure { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.assure li { display: flex; gap: 12px; align-items: center; color: var(--muted); }
.assure i { color: var(--accent); font-size: 22px; }

.form { padding: clamp(24px, 3.5vw, 40px); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line-2); display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-weight: 700; font-size: 15px; }
.optional { color: var(--muted); font-weight: 500; }
.field input, .field select {
  height: 52px; width: 100%; padding: 0 16px;
  border-radius: var(--r-input);
  background: #100f0e; color: var(--text);
  border: 1px solid var(--line-2);
  font: inherit; font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.field select { 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.5l5 5 5-5' stroke='%23a6a298' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input::placeholder { color: #85817a; }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(212, 242, 90, .18); }
.field.has-error input, .field.has-error select { border-color: #ff6b6b; }
.field__error { margin: 0; min-height: 0; color: #ff8f8f; font-size: 14px; }
.field__error:empty { display: none; }
.field__help { margin: 0; color: var(--muted); font-size: 14px; }
.form__status { margin: 0; text-align: center; color: var(--muted); font-size: 14px; min-height: 1.2em; }
.form .btn i { font-size: 22px; }

/* ---------- FAQ ---------- */
.faq { padding-block: clamp(96px, 12vw, 160px) 0; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 6vw, 88px); }
.faq__list { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, background-color .3s; }
.faq details[open] { border-color: var(--line-2); background: var(--surface-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { font-size: 20px; color: var(--accent); transition: transform .4s var(--ease); flex: none; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 22px; color: var(--muted); max-width: 64ch; }

/* ---------- CTA final ---------- */
.final { padding-block: clamp(110px, 14vw, 200px); }
.final__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 36px; }
.final__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 6.4vw, 5.6rem); line-height: 1.0; letter-spacing: -0.04em; max-width: 16ch; margin: 0; }
.final__title .accent { display: block; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 48px 110px; }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 32px; align-items: center; }
.footer p { margin: 0; color: var(--muted); }
.footer__links { display: flex; gap: 22px; }
.footer__links a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); transition: color .2s; }
.footer__links a:hover { color: var(--text); }
.footer small { grid-column: 1 / -1; color: var(--faint); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: var(--z-float);
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #0b2b17; font-size: 32px;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .6);
  transform: scale(0); transition: transform .5s var(--ease);
}
.wa-float.is-visible { transform: scale(1); }
.wa-float:hover { transform: scale(1.06); }

/* ---------- Reveal genérico ---------- */
.reveal { opacity: 0; transform: translateY(28px); }
.is-ready .reveal.is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.no-js .reveal, .reduce .reveal { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1023px) {
  .nav__links { display: none; }
  .hero { padding-top: 92px; align-items: flex-start; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 680px; width: 100%; margin-inline: auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat--accent { grid-column: 1 / -1; }
  .lead-sec, .faq { grid-template-columns: 1fr; }
  .lead-sec__copy { position: static; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .nav__inner { height: 62px; }
  .nav .btn--sm { --h: 38px; padding: 0 14px; font-size: 14px; }
  .brand { font-size: 19px; }
  .brand__mark { width: 28px; height: 28px; font-size: 16px; border-radius: 8px; }
  .hero { min-height: auto; padding-bottom: 40px; }
  .hero__title { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__visual { aspect-ratio: 16 / 13; margin-top: 8px; }
  .device--laptop { inset: 0 10% 14% 0; }
  .device--phone { width: 34%; border-width: 4px; border-radius: 20px; }
  .device--phone .device__screen { border-radius: 16px; }
  .toast { left: 0; bottom: -2%; padding: 8px 12px 8px 8px; }
  .toast small { display: none; }
  .toast__icon { width: 30px; height: 30px; font-size: 18px; border-radius: 9px; }

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

  .showcase__pin { min-height: auto; }
  .showcase__track { flex-direction: column; width: 100%; }
  .work { width: 100%; }
  .work__meta { flex-direction: column; align-items: flex-start; gap: 10px; }
  .work__cta-inner { aspect-ratio: auto; min-height: 340px; }

  .stack__card { grid-template-columns: 1fr; top: calc(84px + var(--i) * 14px); min-height: 0; }
  .stack__media { order: -1; height: 180px; }
  .stack__body h3 { margin-top: 18px; }
  .stack__icon { display: none; }

  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento__cell, .bento__cell--wa, .bento__cell--photo, .bento__cell:nth-child(3), .bento__cell:nth-child(4), .bento__cell--accent { grid-column: 1 / -1; grid-row: auto; min-height: 200px; }
  .bento__cell--wa { min-height: 360px; }
  .bento__cell--photo { min-height: 320px; }

  .compare__grid { overflow-x: auto; }
  .compare__row { grid-template-columns: 120px 130px 130px 150px; min-width: 530px; }
  .compare__row > span { padding: 16px 14px; font-size: 14px; }

  .plans { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .wa-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
}

/* =========================================================
   MOVIMENTO REDUZIDO
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
  .problem__text .w { opacity: 1; }
  .stack__card { position: relative; top: 0; }
}
