/* =============================================================
   Solutions Binary — landing page
   Design tokens conforme design brief (Natalia)
   ============================================================= */

/* ---------- 0. TIPOGRAFIA (self-hosted) ----------
   Plus Jakarta Sans variable (wght 200-800), subsets latin e latin-ext.
   Auto-hospedado para tirar o Google Fonts do caminho critico do LCP. */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- 1. TOKENS ---------- */
:root {
  /* Cor */
  --ink: #0A0E27;
  --ink-deep: #0D1024;
  --ink-elevated: #141935;
  --primary: #2B3AFF;
  --primary-hover: #1F2BD6;
  --primary-soft: #3B4CFF;
  --accent: #4D9FFF;
  --accent-light: #7FD1FF;
  --tint: #E8EAFF;
  --tint-ink: #1B2A8F;
  --bg: #F7F7F8;
  --surface: #FFFFFF;
  --surface-sunken: #ECEEF3;
  --text: #0A0E27;
  --text-muted: #4A5268;
  --text-on-dark: #FFFFFF;
  --text-muted-on-dark: #B8C0D4;
  --border: #E3E6EE;
  --border-strong: #D9DDE8;
  --border-on-dark: rgba(255, 255, 255, 0.10);
  --success: #127A48;
  --error: #C81E4A;

  /* Assinatura "rastro de luz do infinito" */
  --trail: linear-gradient(90deg, #2B3AFF 0%, #7FD1FF 100%);
  --trail-v: linear-gradient(180deg, #2B3AFF 0%, #7FD1FF 100%);

  /* Gradiente da marca — espelha o símbolo do infinito da logo (preto > azul > ciano) */
  --brand-mark: linear-gradient(135deg, #05060D 0%, var(--primary) 60%, var(--accent-light) 100%);

  /* Espaçamento — escala base 4 */
  --sp-4: 4px;   --sp-8: 8px;   --sp-12: 12px; --sp-16: 16px;
  --sp-24: 24px; --sp-32: 32px; --sp-48: 48px; --sp-64: 64px;
  --sp-96: 96px; --sp-128: 128px;

  /* Raio */
  --r-8: 8px; --r-10: 10px; --r-12: 12px; --r-16: 16px; --r-20: 20px; --r-full: 999px;

  /* Sombra (navy-tinted) */
  --shadow-sm: 0 1px 2px rgba(10, 14, 39, .06);
  --shadow-md: 0 4px 16px rgba(10, 14, 39, .08);
  --shadow-lift: 0 12px 28px rgba(10, 14, 39, .12);
  --glow-primary: 0 8px 24px rgba(43, 58, 255, .28);
  --glow-primary-strong: 0 12px 32px rgba(43, 58, 255, .42);
  --glow-accent: 0 0 0 1px rgba(127, 209, 255, .35), 0 8px 30px rgba(77, 159, 255, .25);

  /* Layout */
  --container: 1200px;
  --gutter: 20px;
  --nav-h: 64px;
  --section-y: 64px;

  /* Movimento */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur: 180ms;

  /* Z-index */
  --z-glow: 0;
  --z-content: 1;
  --z-nav: 50;
  --z-fab: 60;
  --z-menu: 70;
  --z-toast: 80;
}

/* ---------- 2. RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-variant-numeric: tabular-nums;
}

body.is-locked { overflow: hidden; }

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

h1, h2, h3 { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

button, input, select, textarea { font: inherit; color: inherit; }
button { touch-action: manipulation; }

:focus-visible {
  outline: 3px solid rgba(43, 58, 255, .45);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px; left: var(--sp-16);
  z-index: 100;
  padding: 12px 20px;
  min-height: 48px;
  display: inline-flex; align-items: center;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  border-radius: var(--r-10);
  box-shadow: var(--shadow-lift);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--sp-12); text-decoration: none; }

/* ---------- 3. LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-y);
  scroll-margin-top: calc(var(--nav-h) + 12px);
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.section--surface { background: var(--surface); }
.section--sunken  { background: var(--surface-sunken); }
.section--navy    { background: var(--ink); color: var(--text-on-dark); }

/* demarcação entre blocos — mesmo "rastro de luz" usado no resto da página */
.section::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--trail);
  opacity: .5;
}
/* logo após o hero, o fundo já muda de cor sozinho — sem linha extra cortando a transição */
.hero + .section::before { display: none; }

/* a marca gráfica de cada seção fica atrás do conteúdo, na frente do fundo */
.section > .container { position: relative; z-index: 1; }

/* ---------- 3.1 MARCAS GRÁFICAS DE FUNDO (estáticas, por seção) ---------- */
.section__deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  color: var(--ink);
  opacity: .06;
}
.section--navy .section__deco,
.section--contact .section__deco { color: #fff; opacity: .10; }

.section__deco--flow {
  bottom: -40px; left: -60px;
  width: 520px; height: 420px;
}
.section__deco--cases {
  top: -30px; right: -50px;
  width: 420px; height: 340px;
}
.section__deco--about {
  bottom: -70px; right: -60px;
  width: 380px; height: 380px;
}
.section__deco--contact {
  top: -40px; left: -60px;
  width: 360px; height: 360px;
}

@media (max-width: 767px) {
  .section__deco { transform: scale(.62); }
  .section__deco--flow { bottom: -90px; left: -160px; }
  .section__deco--cases { top: -80px; right: -140px; }
  .section__deco--about { bottom: -140px; right: -150px; }
  .section__deco--contact { top: -90px; left: -140px; }
}

.section__head {
  margin-bottom: var(--sp-32);
  text-align: center;
  max-width: 62ch;
  margin-inline: auto;
}
.section__title { margin-top: var(--sp-8); margin-inline: auto; }
.section__lead { margin-top: var(--sp-16); color: var(--text-muted); max-width: 62ch; margin-inline: auto; }
.section__lead--on-dark { color: var(--text-muted-on-dark); }

/* ---------- 4. TIPOGRAFIA ---------- */
h1, .hero__title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
h2, .section__title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  max-width: 20ch;
  margin-inline: auto;
}
h3 { font-size: 19px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }

.lead { font-size: 17px; font-weight: 400; line-height: 1.55; }
p { max-width: 62ch; }
.small { font-size: 14px; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--primary);
  line-height: 1.4;
  margin-inline: auto;
}
.eyebrow--on-dark { color: var(--accent-light); }

/* ---------- 5. BOTÕES ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  min-height: 52px;
  padding: var(--sp-16) 28px;
  border: 0;
  border-radius: var(--r-12);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  overflow: hidden;
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.btn:hover { text-decoration: none; }
.btn--block { display: flex; width: 100%; }

/* brilho premium: um filete de luz atravessa o botão no hover */
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, .4) 50%, transparent 100%);
  transform: skewX(-20deg);
  pointer-events: none;
  opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover::after,
  .btn--pill:hover::after {
    animation: btnShine 850ms ease forwards;
  }
}
@keyframes btnShine {
  0%   { left: -60%; opacity: 0; }
  15%  { opacity: 1; }
  100% { left: 130%; opacity: 0; }
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--glow-primary);
}
.btn--primary:active { transform: translateY(0) scale(.99); }
.btn--primary:focus-visible {
  outline: 3px solid rgba(43, 58, 255, .45);
  outline-offset: 2px;
  /* (5) rastro de luz: anel de glow no CTA primário */
  box-shadow: var(--glow-accent), var(--glow-primary-strong);
}

.btn--secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(10, 14, 39, .18);
}
.btn--secondary:active { transform: translateY(0) scale(.99); }

.section--navy .btn--secondary,
.btn--secondary.on-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, .24);
}
.section--navy .btn--secondary:focus-visible,
.btn--secondary.on-dark:focus-visible {
  outline-color: rgba(127, 209, 255, .75);
}

.btn--pill { border-radius: var(--r-full); }

.btn__spinner { display: none; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .btn__spinner {
  display: block;
  width: 18px; height: 18px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    /* (5) rastro de luz: anel de glow no CTA primário */
    box-shadow: var(--glow-accent), var(--glow-primary-strong);
  }
  .btn--secondary:hover {
    border-color: var(--ink);
    background: var(--surface);
  }
  .section--navy .btn--secondary:hover,
  .btn--secondary.on-dark:hover {
    border-color: rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .06);
  }
}

.ico-wa { flex: none; }

/* ---------- 6. NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(247, 247, 248, .85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--border); }

/* Com o menu aberto, a nav sobe acima do overlay para o "X" ficar acessível */
.nav.is-menu-open {
  z-index: calc(var(--z-menu) + 1);
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
.nav.is-menu-open .nav__logo { color: #fff; }
.nav.is-menu-open .nav__logo:focus-visible { outline-color: rgba(127, 209, 255, .75); }
.nav.is-menu-open .nav__burger:focus-visible { outline-color: rgba(127, 209, 255, .75); }

.nav__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
  height: var(--nav-h);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  min-height: 44px;
  margin-right: auto;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 17px;
  text-decoration: none;
  border-radius: var(--r-8);
}
.nav__logo:hover { text-decoration: none; }
.nav__logo-mark {
  display: grid; place-items: center;
  flex: none;
}
.nav__logo-img { display: block; height: 30px; width: auto; }
.nav__logo-text { white-space: nowrap; }

/* Palavra da marca em duas cores, como na logo: "Solutions" tinta / "Binary" azul */
.nav__logo-text--accent {
  color: var(--primary);
  margin-left: .18em;
  letter-spacing: .01em;
}
.nav.is-menu-open .nav__logo-text--accent { color: var(--accent-light); }
.footer__logo .nav__logo-text { color: #fff; }
.footer__logo .nav__logo-text--accent { color: var(--accent-light); }

.nav__desktop { display: none; }
.nav__cta { display: none; }

.nav__list { display: flex; align-items: center; gap: var(--sp-4); }

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--sp-12);
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--r-8);
  transition: color var(--dur) var(--ease);
}
.nav__link:hover { text-decoration: none; }
/* (2) rastro de luz: sublinhado do item ativo */
.nav__link::after {
  content: "";
  position: absolute;
  left: var(--sp-12); right: var(--sp-12); bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--trail);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 200ms var(--ease);
}
.nav__link.is-active { color: var(--ink); font-weight: 600; }
.nav__link.is-active::after { transform: scaleX(1); }

@media (hover: hover) and (pointer: fine) {
  .nav__link:hover { color: var(--ink); }
}

.nav__burger {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-right: -6px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: var(--r-10);
  cursor: pointer;
  color: var(--ink);
}
.nav__burger-box {
  position: relative;
  display: block;
  width: 22px; height: 2px;
}
.nav__burger-bar,
.nav__burger-bar::before,
.nav__burger-bar::after {
  position: absolute;
  left: 0;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 200ms var(--ease), opacity 120ms var(--ease);
}
.nav__burger-bar { top: 0; }
.nav__burger-bar::before { content: ""; top: -7px; }
.nav__burger-bar::after  { content: ""; top: 7px; }

.nav__burger[aria-expanded="true"] { color: #fff; }
.nav__burger[aria-expanded="true"] .nav__burger-bar { transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] .nav__burger-bar::before { transform: translateY(7px) rotate(-90deg); }
.nav__burger[aria-expanded="true"] .nav__burger-bar::after { opacity: 0; }

/* ---------- 7. MENU MOBILE ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-h) + var(--sp-24)) var(--gutter) calc(var(--sp-24) + env(safe-area-inset-bottom, 0px));
  background: var(--ink);
  color: var(--text-on-dark);
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }

.mobile-menu__list { display: flex; flex-direction: column; gap: var(--sp-4); }
.mobile-menu__link {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 var(--sp-12);
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-radius: var(--r-10);
  border-bottom: 1px solid var(--border-on-dark);
}
.mobile-menu__link:hover { text-decoration: none; }
.mobile-menu__link:active { background: rgba(255, 255, 255, .07); }
.mobile-menu__link:focus-visible { outline-color: rgba(127, 209, 255, .75); }
.mobile-menu__list li:last-child .mobile-menu__link { border-bottom: 0; }
.mobile-menu__footer { padding-top: var(--sp-24); }

/* ---------- 8. HERO ---------- */
/* hero + métricas formam UMA tela só do scroll-snap */
.hero-screen {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero {
  position: relative;
  isolation: isolate;
  flex: 1;
  min-height: 0;
  padding-block: var(--sp-48) var(--sp-32);
  scroll-margin-top: calc(var(--nav-h) + 12px);
  overflow: hidden;
  display: flex;
  align-items: center;
  background:
    radial-gradient(60% 70% at 50% 8%, rgba(127, 209, 255, .22) 0%, rgba(127, 209, 255, 0) 60%),
    linear-gradient(165deg, #05060D 0%, #0B1040 32%, #1B2BB8 62%, #2B3AFF 100%);
}

/* tela de partículas — rede neural + núcleo de IA, desenhada em canvas 2D (leve, sem WebGL) */
.hero__scene {
  position: absolute;
  z-index: var(--z-glow);
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero__grid {
  position: relative;
  z-index: var(--z-content);
  display: flex;
  flex-direction: column;
  gap: var(--sp-32);
}

.hero__copy { order: 1; text-align: center; }

.eyebrow,
.hero__title {
  color: #fff;
  text-shadow: 0 2px 4px rgba(5, 6, 13, .5), 0 10px 34px rgba(5, 6, 13, .55);
}
.eyebrow { color: var(--accent-light); }
.hero__title { margin-top: var(--sp-12); margin-inline: auto; }
.hero__desc {
  margin-top: var(--sp-16);
  max-width: 46ch;
  margin-inline: auto;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .82);
  text-shadow: 0 2px 4px rgba(5, 6, 13, .4);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-12);
  margin-top: var(--sp-32);
}

.hero__projects-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--sp-16);
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.hero__projects-link:hover { color: #fff; text-decoration: underline; }
.hero__projects-link svg {
  color: var(--accent-light);
  animation: heroProjectsBounce 2.2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero__projects-link svg { animation: none; }
}
@keyframes heroProjectsBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(3px); }
}

/* vídeo principal: a IA construindo soluções, em destaque */
.hero__media { order: 2; }
.hero__media-frame {
  position: relative;
  border-radius: var(--r-20);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow:
    0 24px 64px rgba(5, 6, 13, .5),
    0 0 0 1px rgba(127, 209, 255, .10),
    0 0 70px rgba(43, 58, 255, .28);
  transition: transform 400ms var(--ease), box-shadow 400ms var(--ease);
}
.hero__video-el {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(0, 10, 40, .65) 0%,
    rgba(0, 10, 40, .35) 45%,
    rgba(0, 10, 40, .15) 100%);
}
.hero__media-caption {
  position: absolute;
  right: 0;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 20px);
  padding: 12px 22px 12px 20px;
  border-radius: var(--r-full);
  border-bottom-right-radius: 6px;
  border-top-right-radius: 6px;
  background: rgba(5, 6, 13, .9);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.hero__media-caption-dot { margin-top: 2px; }
.hero__media-caption-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-light);
  flex: none;
  box-shadow: 0 0 8px 1px rgba(127, 209, 255, .8);
}
@media (prefers-reduced-motion: no-preference) {
  .hero__media-caption-dot { animation: heroCaptionPulse 1.8s ease-in-out infinite; }
}
@keyframes heroCaptionPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .35; }
}

@media (hover: hover) and (pointer: fine) {
  .hero__media-frame:hover {
    transform: translateY(-4px);
    box-shadow:
      0 32px 80px rgba(5, 6, 13, .55),
      0 0 0 1px rgba(127, 209, 255, .16),
      0 0 90px rgba(43, 58, 255, .36);
  }
}

/* celular em pé: a moldura do vídeo fica bem mais estreita que no resto dos
   layouts, então a legenda precisa encolher e ancorar em % (não em px fixo)
   pra continuar exatamente sobre a marca d'água, que escala junto com o vídeo */
@media (max-width: 600px) {
  .hero__media-caption {
    right: 0;
    bottom: 2%;
    padding: 7px 12px;
    font-size: 12px;
    gap: 6px;
    max-width: calc(100% - 8px);
  }
  .hero__media-caption-dot { width: 6px; height: 6px; }
}

.hero__proof {
  order: 3;
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
  font-size: 14px;
  color: rgba(255, 255, 255, .82);
  text-shadow: 0 2px 4px rgba(5, 6, 13, .5);
}
.hero__proof li { display: flex; align-items: center; gap: var(--sp-8); }
.hero__proof svg { color: var(--accent-light); flex: none; filter: drop-shadow(0 1px 4px rgba(5, 6, 13, .4)); }

@media (min-width: 640px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .hero__proof { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: var(--sp-24); }
}

@media (min-width: 768px) {
  .hero__media-frame { aspect-ratio: 16 / 10; }
}

@media (min-width: 1024px) {
  .hero__grid {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    align-items: center;
    gap: var(--sp-48);
  }
  /* --left-gap/--right-gap são medidos no DOM (script.js) — a distância real
     entre a borda do hero e a do .container, sem depender de 100vw */
  .hero__copy  { grid-column: 1; grid-row: 1; margin-left: calc(-1 * var(--left-gap, var(--gutter))); }
  .hero__proof { grid-column: 1; grid-row: 2; margin-top: var(--sp-24); margin-left: calc(-1 * var(--left-gap, var(--gutter))); }
  .hero__media {
    grid-column: 2;
    grid-row: 1 / 3;
    margin-right: calc(-1 * var(--right-gap, var(--gutter)));
  }
  .hero__media-frame {
    aspect-ratio: 16 / 10;
    width: 100%;
    height: auto;
    max-height: 60vh;
    transform: perspective(1600px) rotateY(-11deg) rotateX(3deg) scale(1.04);
  }
  @media (hover: hover) and (pointer: fine) {
    .hero__media-frame:hover {
      transform: perspective(1600px) rotateY(-5deg) rotateX(1.2deg) scale(1.06);
    }
  }
}

/* ---------- 8.0 MÉTRICAS ---------- */
.metrics {
  position: relative;
  flex: none;
  background: var(--ink);
  padding-block: var(--sp-24);
  border-bottom: 1px solid var(--border-on-dark);
}
.metrics__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-24) var(--sp-16);
  text-align: center;
}
.metric__value {
  display: block;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  background: linear-gradient(90deg, #fff 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.metric__label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--text-muted-on-dark);
}
@media (min-width: 768px) {
  .metrics__grid { grid-template-columns: repeat(4, 1fr); gap: var(--sp-32); }
  .metric__value { font-size: 25px; }
  .metric__label { font-size: 14px; }
}

/* ---------- 8.1 PAINEL "IA CONSTRUINDO UM SITE" (serviços) ---------- */
.services__layout {
  display: grid;
  gap: var(--sp-24);
}
.services__panel {
  position: relative;
  min-height: 380px;
  border-radius: var(--r-20);
  background: var(--brand-mark);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.services__panel-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.services__block { opacity: 1; }
.services__cursor { opacity: 1; }
.services__bot-pulse {
  fill: none;
  stroke: var(--accent-light);
  stroke-width: 2;
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .services__block {
    animation: servicesBlockGrow 6s var(--ease) infinite;
    animation-delay: var(--d, 0s);
    transform-origin: left center;
  }
  .services__cursor {
    animation: servicesCursorTap 6s var(--ease) infinite;
    animation-delay: var(--d, 0s);
    transform-origin: 265px 150px;
  }
  .services__bot-pulse {
    animation: servicesBotPulse 3.2s var(--ease) infinite;
    animation-delay: var(--pd, 0s);
  }
}
@keyframes servicesBlockGrow {
  0%   { transform: scaleX(0); opacity: 0; }
  10%  { transform: scaleX(1); opacity: 1; }
  92%  { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 1; }
}
@keyframes servicesCursorTap {
  0%, 8%  { opacity: 0; transform: scale(.6); }
  14%     { opacity: 1; transform: scale(1); }
  22%, 100% { opacity: 0; transform: scale(.6); }
}
@keyframes servicesBotPulse {
  0%   { opacity: .6; r: var(--pr, 10); }
  100% { opacity: 0; r: calc(var(--pr, 10) + 16); }
}

/* ---------- 9. GRIDS ---------- */
.grid { display: grid; gap: var(--sp-16); }
.grid--services { grid-template-columns: 1fr; }
.grid--steps    { grid-template-columns: 1fr; gap: var(--sp-32); }
.grid--cases    { grid-template-columns: 1fr; gap: var(--sp-24); }
.grid--people   { grid-template-columns: 1fr; gap: var(--sp-24); }

/* no celular, cada "etapa" cabe numa tela só: grades com vários itens viram
   um carrossel horizontal (arraste) em vez de empilhar e estourar a altura */
/* ---------- 10. CARDS DE SERVIÇO ---------- */

/* mesh de fundo suave atrás dos cards de vidro */
#solucoes { position: relative; }
#solucoes::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(38% 46% at 12% 12%, rgba(43, 58, 255, .09) 0%, rgba(43, 58, 255, 0) 70%),
    radial-gradient(34% 40% at 94% 28%, rgba(127, 209, 255, .13) 0%, rgba(127, 209, 255, 0) 70%),
    radial-gradient(40% 45% at 55% 105%, rgba(43, 58, 255, .07) 0%, rgba(43, 58, 255, 0) 70%);
}

.card--service {
  position: relative;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(43, 58, 255, .35);
  border-radius: var(--r-16);
  padding: var(--sp-24);
  text-align: center;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 8px 30px rgba(10, 14, 39, .06);
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-inline: auto;
  border-radius: var(--r-10);
  background: var(--tint);
  color: var(--primary);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.card__title { margin-top: 0; }
.card__text { margin-top: var(--sp-8); color: var(--text-muted); margin-inline: auto; }

@media (hover: hover) and (pointer: fine) {
  .card--service:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .8);
    box-shadow: 0 22px 54px rgba(10, 14, 39, .14), 0 0 0 1px rgba(43, 58, 255, .12);
    border-color: rgba(43, 58, 255, .55);
  }
  .card--service:hover .card__icon {
    background: linear-gradient(135deg, #2B3AFF 0%, #4D9FFF 100%);
    color: #fff;
  }
}

/* ---------- 11. COMO FUNCIONA ---------- */

/* fluxo Problema → IA → Resultado */
.ai-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-16);
  margin-bottom: var(--sp-48);
}
.ai-flow__col {
  background: var(--ink-elevated);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--r-16);
  padding: var(--sp-16) var(--sp-24);
  width: 100%;
  max-width: 320px;
  box-sizing: border-box;
}
.ai-flow__label {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted-on-dark);
  margin-bottom: var(--sp-12);
  white-space: nowrap;
}
.ai-flow__items { display: flex; flex-wrap: wrap; gap: var(--sp-8); justify-content: center; }
.ai-flow__items li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--r-full);
  padding: 5px 12px 5px 10px;
  white-space: nowrap;
}
.ai-flow__items svg { color: var(--accent-light); flex: none; }
.ai-flow__core { display: flex; flex-direction: column; align-items: center; gap: var(--sp-8); }
.ai-flow__line {
  position: relative;
  width: 3px;
  height: 24px;
  background: rgba(255, 255, 255, .12);
  border-radius: 2px;
  overflow: hidden;
}
.ai-flow__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, var(--accent-light) 45%, #fff 50%, var(--accent-light) 55%, transparent 100%);
  background-size: 100% 220%;
}
@media (prefers-reduced-motion: no-preference) {
  .ai-flow__line::after { animation: aiFlowLineV 2.2s linear infinite; }
}
@keyframes aiFlowLineV {
  0%   { background-position: 0 130%; }
  100% { background-position: 0 -130%; }
}
.ai-flow__badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  background: var(--brand-mark);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--r-full);
  box-shadow: var(--glow-accent);
  white-space: nowrap;
}
.ai-flow__badge-icon { height: 18px; width: auto; }
.ai-flow__badge-pulse {
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  border: 2px solid var(--accent-light);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .ai-flow__badge-pulse { animation: aiFlowPulse 2.6s var(--ease) infinite; }
}
@keyframes aiFlowPulse {
  0%   { opacity: .7; transform: scale(1); }
  100% { opacity: 0;  transform: scale(1.18); }
}

@media (min-width: 768px) {
  .ai-flow { flex-direction: row; justify-content: center; align-items: stretch; gap: var(--sp-24); }
  .ai-flow__col {
    width: 260px;
    max-width: 260px;
    flex: 0 0 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .ai-flow__core { flex-direction: row; }
  .ai-flow__line {
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, .12);
  }
  .ai-flow__line::after {
    background: linear-gradient(90deg, transparent 0%, var(--accent-light) 45%, #fff 50%, var(--accent-light) 55%, transparent 100%);
    background-size: 220% 100%;
  }
}
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .ai-flow__line::after { animation: aiFlowLineH 2.2s linear infinite; }
}
@keyframes aiFlowLineH {
  0%   { background-position: 130% 0; }
  100% { background-position: -130% 0; }
}

.step { position: relative; text-align: center; display: flex; flex-direction: column; }
.step__num {
  display: block;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent-light);
}
.step__card {
  margin-top: var(--sp-12);
  background: var(--ink-elevated);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--r-16);
  padding: var(--sp-24);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.step__title { color: #fff; }
.step__text { margin-top: var(--sp-8); color: var(--text-muted-on-dark); margin-inline: auto; }

/* (3) rastro de luz: linha conectora entre os passos */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(var(--sp-32) * -1);
  width: 1px;
  height: var(--sp-32);
  background: var(--trail-v);
  opacity: .8;
}

/* ---------- 11.5 PRÉVIA INTERATIVA ---------- */
.preview-wizard {
  max-width: 760px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-20);
  box-shadow: var(--shadow-lift);
  padding: var(--sp-32) var(--sp-24);
}
.preview-wizard__step[hidden] { display: none; }

/* --- passo 1: categorias --- */
.preview-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-12); align-items: stretch; }
.preview-cats > li { display: flex; }
.preview-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  width: 100%;
  box-sizing: border-box;
  padding: var(--sp-20) var(--sp-12);
  border: 1.5px solid rgba(43, 58, 255, .35);
  border-radius: var(--r-16);
  background: var(--surface-sunken);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.preview-cat svg { color: var(--primary); flex: none; }
.preview-cat.is-active {
  border-color: var(--primary);
  background: var(--tint);
  box-shadow: 0 0 0 3px rgba(43, 58, 255, .12);
}
@media (hover: hover) and (pointer: fine) {
  .preview-cat:hover { border-color: rgba(43, 58, 255, .55); transform: translateY(-2px); }
}
@media (min-width: 640px) {
  .preview-cats { grid-template-columns: repeat(5, 1fr); }
  .preview-cat { font-size: 12.5px; padding: var(--sp-16) var(--sp-8); }
}

/* --- navegação entre passos --- */
.preview-wizard__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--sp-16);
  background: none;
  border: 0;
  padding: 0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.preview-wizard__back:hover { color: var(--primary); }

/* --- passo 2: formulário --- */
.preview-form .field + .field { margin-top: var(--sp-16); }

.preview-swatches { display: flex; flex-wrap: wrap; gap: var(--sp-8); margin-top: var(--sp-4); }
.preview-swatch {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--sw);
  border: 2px solid #fff;
  outline: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  transition: outline-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.preview-swatch.is-active { outline-color: var(--sw); transform: scale(1.08); }

.preview-logo-row { display: flex; align-items: center; gap: var(--sp-12); }
.preview-logo-preview {
  width: 48px; height: 48px;
  border-radius: var(--r-12);
  background: var(--surface-sunken);
  border: 1px dashed var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: none;
}
.preview-logo-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.preview-logo-preview svg { color: var(--text-muted); }
.field__file {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}

/* --- passo 3: carregando --- */
.preview-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-16);
  padding: var(--sp-48) 0;
  text-align: center;
}
.preview-loading__spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}
.preview-loading p { color: var(--text-muted); font-weight: 600; }
.preview-loading__hint { font-weight: 400 !important; font-size: 13px; opacity: .8; }

/* --- passo 4: resultado --- */
.preview-frame {
  border-radius: var(--r-16);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.preview-frame__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: var(--sp-10) var(--sp-12);
  background: #E9EAF0;
  border-bottom: 1px solid var(--border);
}
.preview-frame__dot { width: 8px; height: 8px; border-radius: 50%; background: #D2D4DE; flex: none; }

/* prévia gerada por IA — vai dentro de um iframe isolado */
.preview-iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
  background: #fff;
}
@media (max-width: 600px) { .preview-iframe { height: 380px; } }

.preview-cta { margin-top: var(--sp-24); text-align: center; }
.preview-cta p { color: var(--text-muted); margin-bottom: var(--sp-12); }
.preview-cta .btn + .btn { margin-top: var(--sp-8); }

/* --- mock: Website (fundo claro, cara de site institucional) --- */
.mock-site { background: #fff; }
.mock-site__nav { display: flex; align-items: center; gap: var(--sp-16); padding: var(--sp-12) var(--sp-16); border-bottom: 1px solid #eee; font-size: 11px; font-weight: 700; }
.mock-site__logo { display: flex; align-items: center; gap: 6px; margin-right: auto; color: #111; white-space: nowrap; }
.mock-site__logo img { width: 20px; height: 20px; border-radius: 5px; object-fit: cover; flex: none; }
.mock-site__navlink { display: none; color: #8a8f9c; }
.mock-site__cta { background: var(--pv); color: #fff; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.mock-site__hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  padding: 32px 20px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--pv) 14%, #fff) 0%, #fff 70%);
}
.mock-site__hero-text { text-align: center; }
.mock-site__hero h3 { font-size: 19px; font-weight: 800; color: #111; max-width: 26ch; margin: 0 auto; line-height: 1.3; }
.mock-site__hero p { margin-top: 8px; color: #666; font-size: 13px; }
.mock-site__btn { display: inline-block; margin-top: 16px; background: var(--pv); color: #fff; font-size: 13px; font-weight: 700; padding: 10px 22px; border-radius: 10px; }
.mock-site__hero-visual {
  height: 90px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pv) 0%, color-mix(in srgb, var(--pv) 40%, #fff) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mock-site__hero-visual::before, .mock-site__hero-visual::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.2);
}
.mock-site__hero-visual::before { width: 60px; height: 60px; top: -20px; right: 10px; }
.mock-site__hero-visual::after { width: 34px; height: 34px; bottom: -10px; left: 30%; }
.mock-site__hero-visual svg { position: relative; z-index: 1; filter: drop-shadow(0 2px 5px rgba(0,0,0,.18)); }
.mock-site__features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px 20px; }
.mock-site__feature { height: 58px; border-radius: 10px; background: #F3F4F8; border: 1px solid #eee; position: relative; }
.mock-site__feature::before { content: ""; position: absolute; top: 10px; left: 10px; width: 22px; height: 22px; border-radius: 6px; background: var(--pv); opacity: .85; }
.mock-site__footer { padding: 12px 20px; border-top: 1px solid #eee; text-align: center; font-size: 10px; color: #a3a8b5; }
@media (min-width: 480px) {
  .mock-site__navlink { display: inline; }
  .mock-site__hero { grid-template-columns: 1.2fr 1fr; text-align: left; padding: 36px 24px; }
  .mock-site__hero-text { text-align: left; }
  .mock-site__hero h3 { margin: 0; }
}

/* --- mock: Cardápio (fundo creme, cara de app de comida) --- */
.mock-cardapio { background: #FFF8F0; }
.mock-cardapio__head { display: flex; align-items: center; gap: 10px; padding: 18px 16px 14px; background: var(--pv); }
.mock-cardapio__logo { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.25); flex: none; overflow: hidden; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 14px; }
.mock-cardapio__logo img { width: 100%; height: 100%; object-fit: cover; }
.mock-cardapio__head strong { display: block; font-size: 14px; color: #fff; }
.mock-cardapio__head small { color: rgba(255,255,255,.85); font-size: 11px; }
.mock-cardapio__meta { display: flex; gap: 12px; padding: 10px 16px; font-size: 10.5px; color: #8a6a4a; background: #FCEFDC; border-bottom: 1px solid #F5E3C8; }
.mock-cardapio__items { padding: 8px 16px; }
.mock-cardapio__item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #F3E6D2; }
.mock-cardapio__item:last-child { border-bottom: 0; }
.mock-cardapio__thumb { width: 40px; height: 40px; border-radius: 8px; background: color-mix(in srgb, var(--pv) 18%, #FFF8F0); flex: none; display: flex; align-items: center; justify-content: center; color: var(--pv); }
.mock-cardapio__item strong { display: block; font-size: 13px; color: #402a18; }
.mock-cardapio__item small { color: #a3876c; font-size: 11px; }
.mock-cardapio__price { margin-left: auto; font-size: 13px; font-weight: 800; color: var(--pv); white-space: nowrap; }
.mock-cardapio__cta { display: block; margin: 8px 16px 16px; text-align: center; background: var(--pv); color: #fff; font-size: 13px; font-weight: 700; padding: 12px; border-radius: 10px; }

/* --- mock: Automação (chat, papel de parede do WhatsApp) --- */
.mock-theme-chip {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  margin-left: auto;
}
.mock-theme-chip--on-color { background: rgba(255,255,255,.22); color: #fff; }
.mock-theme-chip--on-light { background: color-mix(in srgb, var(--pv) 15%, #fff); color: var(--pv); }
.mock-theme-chip--on-dark { background: rgba(255,255,255,.08); color: var(--pv); }
.mock-theme-chip--inline { margin-left: 6px; display: inline-flex; vertical-align: middle; }

.mock-wa__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--pv); color: #fff; }
.mock-wa__avatar { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; flex: none; }
.mock-wa__head strong { display: block; font-size: 13px; }
.mock-wa__head small { opacity: .85; font-size: 11px; }
.mock-wa__body {
  padding: 16px;
  background-color: #E5DDD3;
  background-image: radial-gradient(rgba(0,0,0,.045) 1px, transparent 1px);
  background-size: 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mock-wa__bubble { max-width: 78%; padding: 8px 12px; border-radius: 10px; font-size: 12.5px; line-height: 1.4; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.mock-wa__bubble--in { align-self: flex-start; background: #fff; color: #222; border-bottom-left-radius: 2px; }
.mock-wa__bubble--out { align-self: flex-end; background: color-mix(in srgb, var(--pv) 20%, #DCF8C6); color: #1a1a1a; border-bottom-right-radius: 2px; }
.mock-wa__time { display: block; margin-top: 3px; font-size: 9.5px; color: #00000066; text-align: right; }
.mock-wa__bubble--in .mock-wa__time { text-align: left; }
.mock-wa__typing { align-self: flex-start; background: #fff; border-radius: 10px; border-bottom-left-radius: 2px; padding: 10px 14px; display: flex; gap: 4px; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.mock-wa__typing span { width: 6px; height: 6px; border-radius: 50%; background: #9AA0A6; opacity: .5; animation: waTyping 1.1s ease-in-out infinite; }
.mock-wa__typing span:nth-child(2) { animation-delay: .15s; }
.mock-wa__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes waTyping { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }

/* --- mock: Gestão de Processos (mini SaaS, sidebar + toolbar) --- */
.mock-kanban { display: flex; background: #F7F8FB; }
.mock-kanban__side { width: 40px; flex: none; background: var(--pv); display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 0; }
.mock-kanban__side span { width: 16px; height: 16px; border-radius: 5px; background: rgba(255,255,255,.35); }
.mock-kanban__side span:first-child { background: #fff; }
.mock-kanban__main { flex: 1; min-width: 0; }
.mock-kanban__head { padding: 14px 16px 10px; border-bottom: 1px solid #eee; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mock-kanban__head strong { display: block; font-size: 14px; color: #111; }
.mock-kanban__head small { color: #8a8f9c; font-size: 11px; }
.mock-kanban__filter { font-size: 10px; font-weight: 700; color: var(--pv); background: color-mix(in srgb, var(--pv) 14%, #fff); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.mock-kanban__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; }
.mock-kanban__col h4 { margin: 0 0 8px; font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; color: #8a8f9c; }
.mock-kanban__card { display: block; height: 34px; border-radius: 8px; background: #fff; border: 1px solid #eee; margin-bottom: 6px; position: relative; overflow: hidden; }
.mock-kanban__card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--pv); }

/* --- mock: Dashboards (tema escuro, cara de BI) --- */
.mock-dash { background: #12141C; color: #E8EAF3; }
.mock-dash__head { padding: 14px 16px; border-bottom: 1px solid #262A38; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mock-dash__head strong { display: block; font-size: 14px; color: #fff; }
.mock-dash__head small { color: #8890A6; font-size: 11px; }
.mock-dash__export { font-size: 10px; font-weight: 700; color: #fff; background: var(--pv); padding: 5px 10px; border-radius: 8px; white-space: nowrap; }
.mock-dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 16px 0; }
.mock-dash__kpi { background: #1B1E2A; border: 1px solid #262A38; border-radius: 10px; padding: 10px; text-align: center; }
.mock-dash__kpi span { display: block; font-size: 16px; font-weight: 800; color: var(--pv); }
.mock-dash__kpi small { font-size: 10px; color: #8890A6; }
.mock-dash__charts { display: flex; align-items: flex-end; gap: 16px; padding: 20px 16px 20px; }
.mock-dash__bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; flex: 1; }
.mock-dash__bars span { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--pv) 0%, color-mix(in srgb, var(--pv) 55%, #12141C) 100%); border-radius: 4px 4px 0 0; }
.mock-dash__donut {
  width: 70px; height: 70px; border-radius: 50%; flex: none;
  background: conic-gradient(var(--pv) 0% 68%, #262A38 68% 100%);
  position: relative;
}
.mock-dash__donut::after { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: #12141C; }

/* ---------- 12. CASES ---------- */
.case {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid rgba(43, 58, 255, .35);
  border-radius: var(--r-16);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.case__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
}
.case__link:hover { text-decoration: none; }
.case__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-block: var(--sp-32);
  color: var(--primary);
  background:
    linear-gradient(135deg, rgba(43, 58, 255, .08) 0%, rgba(127, 209, 255, .12) 100%),
    var(--surface-sunken);
  border-bottom: 1px solid var(--border);
}
.case__logo-plate {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
}
.case__logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.case__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--sp-20) var(--sp-24) var(--sp-24);
  text-align: left;
}
.case__title { margin-top: var(--sp-12); }
.case__text { margin-top: var(--sp-4); color: var(--text-muted); font-size: 15px; }
.case__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  padding: var(--sp-12) var(--sp-20);
  border-radius: var(--r-12);
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-sizing: border-box;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .case:hover {
    transform: translateY(-3px);
    border-color: rgba(43, 58, 255, .55);
  }
  .case:hover .case__cta {
    background: linear-gradient(135deg, #2B3AFF 0%, #4D9FFF 100%);
    box-shadow: var(--glow-primary);
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 var(--sp-12);
  border-radius: var(--r-full);
  background: var(--tint);
  color: var(--tint-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---------- 13. SOBRE NÓS ---------- */
.person {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-16);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-16);
  padding: var(--sp-24);
}
.person__body { margin-inline: auto; }
/* rastro de luz: anel 2px do avatar */
.person__avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px; height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2B3AFF 0%, #7FD1FF 100%);
  flex: none;
}
.person__avatar::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--tint);
}
.person__photo {
  position: absolute;
  inset: 3px;
  z-index: 1;
  width: auto;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
}
.person__initials {
  position: relative;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--tint-ink);
  line-height: 1;
}
.person__name { font-size: 19px; }
.person__role { margin-top: var(--sp-4); color: var(--primary); font-size: 14px; font-weight: 600; }
.person__text { margin-top: var(--sp-12); color: var(--text-muted); }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-8); margin-top: var(--sp-16); }
.chip {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 var(--sp-12);
  border-radius: var(--r-full);
  background: var(--tint);
  color: var(--tint-ink);
  font-size: 13px;
  font-weight: 600;
}

/* ---------- 14. FORMULÁRIO ---------- */
.section--contact .section__head { margin-bottom: var(--sp-32); }

.form-card {
  position: relative;
  max-width: 560px;
  margin-inline: auto;
  background: var(--surface);
  color: var(--text);
  border-radius: var(--r-20);
  padding: var(--sp-24);
  box-shadow: 0 20px 60px rgba(10, 14, 39, .35);
  overflow: hidden;
}
/* (4) rastro de luz: borda superior do card do formulário */
.form-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--trail);
}

.field + .field { margin-top: var(--sp-16); }
.field__label {
  display: block;
  margin-bottom: var(--sp-8);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.field__optional { color: var(--text-muted); font-weight: 400; }

.field__input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: var(--sp-12) var(--sp-16);
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-10);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field__input::placeholder { color: #7A8195; }
.field__input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(43, 58, 255, .18);
}
.field__input:focus-visible { outline: none; }

.field__textarea { min-height: 112px; resize: vertical; }

.field__select-wrap { position: relative; }
.field__select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5268' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px 20px;
}
.field__select:invalid { color: #7A8195; }

.field__input.has-error {
  border-color: var(--error);
}
.field__input.has-error:focus { box-shadow: 0 0 0 3px rgba(200, 30, 74, .18); }

.field__error {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--error);
}
.field__error[hidden] { display: none; }

.form-alert {
  margin-top: var(--sp-16);
  padding: var(--sp-12) var(--sp-16);
  border: 1.5px solid var(--error);
  border-left-width: 4px;
  border-radius: var(--r-10);
  background: rgba(200, 30, 74, .05);
}
.form-alert[hidden] { display: none; }
.form-alert__text { font-size: 14px; color: var(--error); font-weight: 500; }
.form-alert__link {
  display: inline-block;
  margin-top: var(--sp-8);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: underline;
  min-height: 44px;
  line-height: 44px;
}

#formSubmit { margin-top: var(--sp-24); }

.form-note {
  margin-top: var(--sp-12);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
  max-width: none;
}

.form-success { text-align: center; padding: var(--sp-8) 0; }
.form-success[hidden] { display: none; }
.form-success:focus { outline: none; }
.form-success:focus-visible { outline: 3px solid rgba(43, 58, 255, .45); outline-offset: 4px; }
.form-success__icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin: 0 auto var(--sp-16);
  border-radius: 50%;
  background: rgba(18, 122, 72, .10);
  color: var(--success);
}
.form-success__title { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.form-success__text {
  margin: var(--sp-8) auto var(--sp-24);
  color: var(--text-muted);
  max-width: 42ch;
}

/* ---------- 15. FOOTER ---------- */
.footer {
  background: var(--ink-deep);
  color: var(--text-muted-on-dark);
  padding-top: var(--sp-48);
  padding-bottom: calc(var(--sp-24) + env(safe-area-inset-bottom, 0px));
}
.footer__inner {
  display: grid;
  gap: var(--sp-32);
  padding-bottom: var(--sp-32);
}
.footer__logo { color: #fff; margin-right: 0; }
.footer__tagline { margin-top: var(--sp-12); font-size: 14px; max-width: 42ch; }
.footer__heading {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--sp-12);
}
.footer__list { display: flex; flex-direction: column; gap: var(--sp-4); }
.footer__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-muted-on-dark);
  font-size: 15px;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
  overflow-wrap: anywhere;
}
.footer__list a:hover { color: #fff; text-decoration: underline; }
.footer__list a:focus-visible { outline-color: rgba(127, 209, 255, .75); }
.footer__bottom {
  border-top: 1px solid var(--border-on-dark);
  padding-top: var(--sp-24);
}
.footer__bottom p { font-size: 13px; max-width: none; }

/* ---------- 16. FAB WHATSAPP ---------- */
.fab {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: var(--z-fab);
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: 56px; height: 56px;
  padding: 0;
  border-radius: var(--r-full);
  background: var(--primary);
  color: #fff;
  box-shadow: var(--glow-accent);
  text-decoration: none;
  touch-action: manipulation;
  overflow: hidden;
  transition: transform var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              opacity 200ms var(--ease),
              visibility 200ms var(--ease),
              width var(--dur) var(--ease);
}
.fab:hover { text-decoration: none; }
.fab:active { transform: scale(.96); }
.fab:focus-visible {
  outline: 3px solid rgba(127, 209, 255, .85);
  outline-offset: 2px;
}
.fab__icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  flex: none;
}
.fab__label {
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
  opacity: 0;
  width: 0;
  overflow: hidden;
  transition: opacity var(--dur) var(--ease);
}
.fab.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(.9);
  pointer-events: none;
}

/* (5) rastro de luz: pulso ciano do FAB */
.fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(127, 209, 255, .9);
  opacity: 0;
  pointer-events: none;
}
.fab.is-pulsing::after { animation: fab-pulse 1400ms var(--ease) 1; }
@keyframes fab-pulse {
  0%   { opacity: .9; transform: scale(1); }
  100% { opacity: 0;  transform: scale(1.45); }
}

/* ---------- 17. SCROLL REVEAL ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 350ms var(--ease), transform 350ms var(--ease);
  will-change: opacity, transform;
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* ---------- 18. SEÇÃO PROBLEMA ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-16);
}
.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--r-12);
  padding: var(--sp-20) var(--sp-24);
  text-align: left;
}
.problem-card__title { color: var(--ink); }
.problem-card__text {
  margin-top: var(--sp-8);
  color: var(--text-muted);
  font-size: 15px;
}

@media (min-width: 640px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .problem-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-24); }
}

/* ---------- 19. FAIXA "SOLUÇÕES SOB MEDIDA" ---------- */
.service-custom {
  position: relative;
  z-index: 1;
  margin-top: var(--sp-24);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-16);
  padding: var(--sp-24);
  border-radius: var(--r-16);
  background: var(--tint);
  border: 1px solid rgba(43, 58, 255, .18);
}
.service-custom__title { color: var(--tint-ink); }
.service-custom__text {
  margin-top: var(--sp-4);
  color: var(--text-muted);
  font-size: 15px;
}
@media (min-width: 900px) {
  .service-custom {
    flex-direction: row;
    align-items: center;
    gap: var(--sp-32);
    padding: var(--sp-24) var(--sp-32);
  }
  .service-custom__body { flex: 1; }
  .service-custom .btn { flex: none; }
}

/* ---------- 20. NOTA DO FLUXO (Como funciona) ---------- */
.ai-flow__note {
  margin: -4px auto var(--sp-24);
  max-width: 48ch;
  text-align: center;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- 21. PARA QUEM ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-16);
}
.audience-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-16);
  padding: var(--sp-20) var(--sp-24);
  text-align: left;
}
.audience-card__title { color: var(--ink); }
.audience-card__text {
  margin-top: var(--sp-8);
  color: var(--text-muted);
  font-size: 15px;
}
/* na faixa azul, os cards seguem o mesmo tom "elevado" da seção Como funciona */
.section--navy .audience-card {
  background: var(--ink-elevated);
  border-color: var(--border-on-dark);
}
.section--navy .audience-card__title { color: #fff; }
.section--navy .audience-card__text { color: var(--text-muted-on-dark); }
@media (min-width: 640px) {
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .audience-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-24); }
}

@media (hover: hover) and (pointer: fine) {
  .problem-card,
  .audience-card {
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  }
  .problem-card:hover,
  .audience-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(43, 58, 255, .45);
  }
}

/* ---------- 22. CTA FINAL ---------- */
.section--compact {
  min-height: 0;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
  padding-block: var(--sp-48);
}
.cta-final {
  max-width: 62ch;
  margin-inline: auto;
  text-align: center;
}
.cta-final__title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}
.cta-final__text {
  margin: var(--sp-12) auto 0;
  color: var(--text-muted);
}
.cta-final__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-12);
  margin-top: var(--sp-24);
}
@media (min-width: 640px) {
  .cta-final__actions { flex-direction: row; justify-content: center; }
}
@media (min-width: 768px) {
  .cta-final__title { font-size: 30px; }
}

/* compacta os cards novos quando a altura da tela aperta */
@media (max-height: 1100px) {
  .problem-card,
  .audience-card,
  .service-custom { padding: var(--sp-16); }
  .service-custom { margin-top: var(--sp-16); }
}

/* =============================================================
   BREAKPOINTS (mobile-first)
   ============================================================= */

/* ---------- >= 375px ---------- */
@media (min-width: 375px) {
  .hero__proof { gap: var(--sp-12); }
  .card--service { padding: var(--sp-24); }
}

/* ---------- >= 768px ---------- */
@media (min-width: 768px) {
  :root {
    --gutter: 32px;
    --nav-h: 72px;
    --section-y: 88px;
  }

  h1, .hero__title { font-size: 42px; line-height: 1.08; }
  h2, .section__title { font-size: 32px; }
  .lead { font-size: 18px; }

  .hero { padding-block: var(--sp-64) var(--sp-96); }
  .hero__actions { flex-direction: row; flex-wrap: wrap; justify-content: center; margin-top: var(--sp-48); }
  .hero__actions .btn { flex: 0 0 auto; }
  .hero__proof { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: var(--sp-24); }

  .section__head { margin-bottom: var(--sp-48); }

  .grid--services { grid-template-columns: repeat(3, 1fr); gap: var(--sp-24); }
  .grid--steps { grid-template-columns: repeat(3, 1fr); gap: var(--sp-24); }
  .grid--cases { grid-template-columns: repeat(3, 1fr); }
  .grid--people { grid-template-columns: repeat(2, 1fr); gap: var(--sp-32); }

  .step__num { font-size: 48px; }
  /* (3) rastro de luz: conector horizontal no desktop (liga card a card) */
  .step:not(:last-child)::after {
    left: auto;
    right: calc(var(--sp-24) * -1);
    top: 50%;
    bottom: auto;
    transform: none;
    width: var(--sp-24);
    height: 1px;
    background: var(--trail);
  }

  .person { padding: var(--sp-32); }

  .form-card { padding: var(--sp-32); }

  .footer { padding-top: var(--sp-64); }
  .footer__inner { grid-template-columns: 1.6fr 1fr 1fr; gap: var(--sp-48); }
}

/* ---------- >= 1024px ---------- */
@media (min-width: 1024px) {
  :root {
    --gutter: 40px;
    --section-y: 120px;
  }

  body { font-size: 17px; }

  h1, .hero__title { font-size: 44px; line-height: 1.14; }
  h2, .section__title { font-size: 40px; }
  h3 { font-size: 22px; }
  .lead { font-size: 20px; }
  .eyebrow { font-size: 14px; }
  .hero__desc { font-size: 19px; line-height: 1.65; }

  .nav__desktop { display: block; }
  .nav__cta {
    display: inline-flex;
    min-height: 44px;
    padding: 0 var(--sp-16);
    font-size: 15px;
  }
  .nav__burger { display: none; }
  .nav__logo { font-size: 18px; }
  .nav__logo-img { height: 34px; }

  .hero { padding-block: var(--sp-96) var(--sp-128); }
  .hero__title { max-width: 22ch; }
  .hero__lead { font-size: 20px; }

  .services__layout { grid-template-columns: 340px 1fr; align-items: stretch; gap: var(--sp-32); }
  .services__panel { min-height: 0; }
  .services__layout .grid--services { grid-template-columns: repeat(2, 1fr); }
  .grid--cases { grid-template-columns: repeat(4, 1fr); }

  .card--service { padding: 28px; }
  .person { flex-direction: row; align-items: flex-start; text-align: left; gap: var(--sp-24); }
  .person__body { margin-inline: 0; }
  .chips { justify-content: flex-start; }


  .btn { min-height: 48px; }
  .btn--block { min-height: 52px; }

  .fab {
    right: 28px;
    bottom: 28px;
    width: 60px; height: 60px;
  }
  .fab__icon { width: 60px; height: 60px; }
}

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .fab:hover {
    width: 188px;
    background: var(--primary-hover);
    box-shadow: var(--glow-accent), var(--glow-primary-strong);
  }
  .fab:hover .fab__label { opacity: 1; width: auto; padding-right: var(--sp-24); }
  .fab:focus-visible { width: 188px; }
  .fab:focus-visible .fab__label { opacity: 1; width: auto; padding-right: var(--sp-24); }
}

/* ---------- >= 1440px ---------- */
@media (min-width: 1440px) {
  .hero { padding-block: var(--sp-128) var(--sp-128); }
}

/* =============================================================
   AJUSTE POR ALTURA DE TELA
   Cada seção deve caber numa tela só (notebook baixo, celular etc);
   ao rolar, a próxima seção já entra inteira. Estas regras compactam
   espaçamento e escondem o que é decorativo quando a altura aperta —
   entram por último de propósito, pra vencer os ajustes por largura.
   ============================================================= */
@media (max-height: 1100px) {
  :root { --section-y: 28px; }
  .hero { padding-block: var(--sp-32); }
  .hero__grid { gap: var(--sp-24); }
  .hero__desc { margin-top: var(--sp-8); }
  .hero__actions { margin-top: var(--sp-16); }
  .section__head { margin-bottom: var(--sp-16); }
  .services__panel { display: none; }

  /* métricas compartilham a tela com o hero — precisam ser bem enxutas */
  .metrics { padding-block: var(--sp-16); }

  /* fluxo Hoje → IA → Automação bem mais enxuto */
  .ai-flow { margin-bottom: var(--sp-16); gap: var(--sp-8); }
  .ai-flow__col { padding: var(--sp-12) var(--sp-16); }
  .ai-flow__label { margin-bottom: var(--sp-8); }
  .ai-flow__items { gap: 6px; }
  .ai-flow__items li { padding: 4px 10px; font-size: 12px; }
  .ai-flow__line { height: 16px; }
  .ai-flow__badge { padding: 7px 16px; font-size: 13px; }

  .grid--steps { gap: var(--sp-16); }
  .grid--cases { gap: var(--sp-16); }
  .step__card,
  .card--service,
  .person { padding: var(--sp-16); }
  .case__media { padding-block: var(--sp-16); }
  .case__media svg { width: 34px; height: 34px; }
  .case__logo-plate { width: 64px; height: 64px; }
  .case__body { padding: var(--sp-12) var(--sp-16) var(--sp-16); }
  .case__title { margin-top: var(--sp-8); font-size: 17px; }
  .case__cta { min-height: 42px; font-size: 14px; }
  .form-card { padding: var(--sp-24); }
  .field + .field { margin-top: var(--sp-12); }
  .field__label { margin-bottom: 4px; font-size: 13px; }
  .field__input { min-height: 44px; padding: var(--sp-8) var(--sp-16); }
  .field__select { padding-right: 44px; }
  .field__textarea { min-height: 64px; height: 64px; }
  .form-note { margin-top: var(--sp-8); font-size: 12px; }
  #formSubmit { margin-top: var(--sp-16); min-height: 44px; }
}

@media (max-height: 1100px) and (min-width: 768px) {
  .ai-flow__line { width: 28px; height: 3px; }
}

/* =============================================================
   CELULAR — experiência própria, sem forçar o encaixe de tela
   única (isso é coisa de desktop). No celular a rolagem é livre;
   aqui é só o que faz diferença pra orientação DEITADA, onde a
   altura é curta de verdade (~350-430px) e o hero não pode ficar
   gigante — a rolagem cuida do resto.
   ============================================================= */
@media (max-width: 767px), (max-height: 500px) {
  html { scroll-snap-type: none; }
  .hero-screen,
  .section { min-height: 0; scroll-snap-align: none; }
}

@media (max-height: 500px) and (max-width: 900px) {
  .hero { padding-block: var(--sp-24); }
  .hero__grid { gap: var(--sp-16); }
  .metrics { padding-block: var(--sp-16); }
  .metrics__grid { grid-template-columns: repeat(4, 1fr); gap: var(--sp-12) var(--sp-8); }
  .metric__value { font-size: 14px; line-height: 1.2; }
  .metric__label { font-size: 9.5px; line-height: 1.25; }
}

/* no celular em pé a altura de tela não é mais um limite — a compactação
   geral (feita para caber tudo numa única tela) pode voltar a respirar */
@media (max-width: 767px) and (min-height: 501px) {
  .hero { padding-block: var(--sp-48) var(--sp-32); }
  .hero__grid { gap: var(--sp-24); }
  .metrics { padding-block: var(--sp-24); }
  .section__head { margin-bottom: var(--sp-24); }
  .services__panel { display: block; }

  .ai-flow { margin-bottom: var(--sp-32); gap: var(--sp-16); }
  .ai-flow__col { padding: var(--sp-16) var(--sp-24); }
  .ai-flow__label { margin-bottom: var(--sp-12); }
  .ai-flow__items { gap: var(--sp-8); }
  .ai-flow__items li { padding: 6px 12px; font-size: 13px; }
  .ai-flow__line { height: 24px; }
  .ai-flow__badge { padding: 9px 20px; font-size: 14px; }

  .grid--steps { gap: var(--sp-24); }
  .grid--cases { gap: var(--sp-24); }
  .step__card,
  .card--service,
  .person { padding: var(--sp-24); }
  .case__media { padding-block: var(--sp-24); }
  .case__logo-plate { width: 80px; height: 80px; }
  .case__body { padding: var(--sp-16) var(--sp-24) var(--sp-24); }
  .case__title { margin-top: var(--sp-8); font-size: 18px; }
  .form-card { padding: var(--sp-24); }
  .field + .field { margin-top: var(--sp-16); }
  .field__label { margin-bottom: 6px; font-size: 14px; }
  .field__input { min-height: 48px; padding: var(--sp-12) var(--sp-16); }
  .field__select { padding-right: 44px; }
  .field__textarea { min-height: 96px; height: 96px; }
  .form-note { margin-top: var(--sp-12); font-size: 12.5px; }
  #formSubmit { margin-top: var(--sp-24); min-height: 48px; }
}

@media (max-height: 1100px) and (min-width: 1024px) {
  .services__layout { grid-template-columns: 1fr !important; }
  .services__layout .grid--services { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-height: 680px) {
  :root { --section-y: 20px; }
  .hero { padding-block: var(--sp-16); }
  .form-card { padding: var(--sp-16); }
  .metric__value { font-size: 16px; }
  .metrics { padding-block: var(--sp-16); }
}

/* ---------- MOVIMENTO REDUZIDO ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .fab.is-pulsing::after { animation: none; opacity: 0; }
}

/* =============================================================
   REFORMULAÇÃO COMERCIAL — componentes novos
   ============================================================= */

/* ---- página mais longa: seções fluem, sem "uma tela por seção" ---- */
html { scroll-snap-type: none; }
.section {
  min-height: 0;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
  padding-block: var(--sp-64);
}
@media (min-width: 1024px) { .section { padding-block: var(--sp-96); } }
.section--compact { padding-block: var(--sp-48); }

.section__cta { margin-top: var(--sp-32); text-align: center; }
.link-arrow { font-weight: 700; }
.solucoes__more { text-align: center; margin-top: var(--sp-24); margin-inline: auto; max-width: none; }

/* ---- HERO: fineprint + faixa "a partir de" ---- */
.hero__fineprint {
  margin: var(--sp-16) auto 0;
  max-width: 44ch;
  font-size: 14px;
  color: rgba(255, 255, 255, .78);
  text-shadow: 0 2px 4px rgba(5, 6, 13, .4);
}
.hero__pricing {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8) var(--sp-16);
  justify-content: center;
  margin-top: var(--sp-24);
}
.hero__pricing li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 14px;
  border-radius: var(--r-12);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
}
.hero__pricing-name { font-size: 12px; color: rgba(255, 255, 255, .8); }
.hero__pricing-val { font-size: 14px; font-weight: 800; color: #fff; }
@media (min-width: 1024px) { .hero__pricing { justify-content: flex-start; } }

/* ---- PROBLEMA: citações ---- */
.problem-card__quote { color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.45; }
.problem-card--answer {
  background: var(--tint);
  border-color: rgba(43, 58, 255, .28);
  border-left-color: var(--primary);
}
.problem-card--answer .problem-card__quote { color: var(--tint-ink); }

/* ---- SOLUÇÕES: cards de produto ---- */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-16);
}
@media (min-width: 620px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-24); } }

.product-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
  padding: var(--sp-24);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-16);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.product-card--featured { border-color: rgba(43, 58, 255, .45); box-shadow: var(--glow-primary); }
.product-card__ico {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--r-12);
  background: var(--tint);
  color: var(--primary);
}
.product-card__name { color: var(--ink); }
.product-card__summary { color: var(--text-muted); font-size: 14px; flex: 1; }
.product-card__price { font-size: 15px; color: var(--ink); }
.product-card__price strong { font-size: 20px; font-weight: 800; }
.price__from { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.price__monthly { color: var(--text-muted); font-size: 13px; white-space: nowrap; }
.product-card__cta { display: flex; flex-direction: column; gap: var(--sp-8); margin-top: auto; }
.product-card__cta .btn { flex: 0 0 auto; width: 100%; }
.btn--sm { min-height: 42px; padding: 10px 16px; font-size: 14px; }
@media (hover: hover) and (pointer: fine) {
  .product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(43, 58, 255, .45); }
}

/* ---- AUTOMAÇÃO em destaque: fluxo ---- */
.auto-flow {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--sp-8);
  max-width: 760px;
  margin: 0 auto var(--sp-24);
}
.auto-flow__step {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: var(--sp-12);
  align-items: center;
  padding: var(--sp-16);
  background: var(--ink-elevated);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--r-16);
}
.auto-flow__ico { grid-row: 1 / 3; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-10); background: rgba(127, 209, 255, .12); color: var(--accent-light); }
.auto-flow__step strong { color: #fff; font-size: 15px; }
.auto-flow__step span:last-child { color: var(--text-muted-on-dark); font-size: 13px; }
.auto-flow__arrow { display: grid; place-items: center; color: var(--accent-light); transform: rotate(90deg); padding: 2px 0; }
.auto-examples {
  display: flex; flex-wrap: wrap; gap: var(--sp-8); justify-content: center;
  max-width: 640px; margin: 0 auto;
}
.auto-examples li {
  font-size: 13px; font-weight: 600; color: #fff;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--r-full);
  padding: 6px 14px;
}
@media (min-width: 760px) {
  .auto-flow { flex-direction: row; align-items: stretch; }
  .auto-flow__step { flex: 1; grid-template-columns: 1fr; grid-template-rows: auto auto auto; text-align: center; justify-items: center; }
  .auto-flow__ico { grid-row: auto; }
  .auto-flow__arrow { transform: none; }
}

/* ---- PREÇOS: tabela ---- */
.pricing-table { display: flex; flex-direction: column; gap: var(--sp-12); max-width: 900px; margin: 0 auto; }
.ptable__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: var(--sp-16) var(--sp-20);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-12);
}
.ptable__name { font-weight: 800; color: var(--ink); font-size: 16px; }
.ptable__tag {
  display: inline-block; margin-left: 6px; vertical-align: middle;
  font-size: 11px; font-weight: 700; color: var(--tint-ink);
  background: var(--tint); border-radius: var(--r-full); padding: 2px 8px;
}
.ptable__k {
  display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--text-muted); font-weight: 700; margin-bottom: 1px;
}
.ptable__setup strong { font-size: 17px; }
.ptable__setup s { color: var(--text-muted); }
.ptable__monthly, .ptable__feat { color: var(--text-muted); font-size: 14px; }
.ptable__note { display: block; margin-top: 4px; font-size: 12px; color: var(--text-muted); }
@media (min-width: 780px) {
  .ptable__row { grid-template-columns: 1.3fr 1fr 1fr 2fr; align-items: start; gap: var(--sp-16); }
}
.pricing-note { text-align: center; color: var(--text-muted); font-size: 13px; margin-top: var(--sp-16); }

.billing-explainer {
  max-width: 640px; margin: var(--sp-48) auto 0;
  padding: var(--sp-24);
  background: var(--surface-sunken);
  border-radius: var(--r-16);
}
.billing-explainer h3 { margin-bottom: var(--sp-8); margin-inline: auto; }
.billing-explainer p { color: var(--text-muted); font-size: 14px; margin-top: var(--sp-8); }
.billing-explainer__list { display: flex; flex-wrap: wrap; gap: var(--sp-8); margin-top: var(--sp-12); }
.billing-explainer__list li {
  font-size: 13px; font-weight: 600; color: var(--tint-ink);
  background: var(--tint); border-radius: var(--r-full); padding: 4px 12px;
}
.billing-explainer__domain { font-style: italic; }

/* ---- COMO FUNCIONA: 6 passos ---- */
@media (min-width: 640px) { .grid--steps-6 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid--steps-6 { grid-template-columns: repeat(3, 1fr); } }
.grid--steps-6 .step:not(:last-child)::after { display: none; }

/* ---- CASES: Problema / Solução / Resultado ---- */
.case__psr { margin-top: var(--sp-8); display: flex; flex-direction: column; gap: 6px; }
.case__psr div { font-size: 13.5px; line-height: 1.4; }
.case__psr dt {
  display: inline-block; min-width: 74px;
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  color: var(--primary);
}
.case__psr dd { display: inline; margin: 0; color: var(--text-muted); }
.case__tech {
  display: inline-block; margin-top: var(--sp-12);
  font-size: 11px; font-weight: 700; letter-spacing: .03em;
  color: var(--text-muted);
}

/* ---- DIAGNÓSTICO ---- */
.diagnostic { max-width: 640px; margin: 0 auto; text-align: center; }
.diagnostic__title { font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: #fff; margin-inline: auto; }
@media (min-width: 768px) { .diagnostic__title { font-size: 30px; } }
.diagnostic__text { margin: var(--sp-12) auto 0; color: var(--text-muted-on-dark); }
.diagnostic__text strong { color: #fff; }
.diagnostic__actions { display: flex; flex-direction: column; align-items: center; gap: var(--sp-12); margin-top: var(--sp-24); }
@media (min-width: 560px) { .diagnostic__actions { flex-direction: row; justify-content: center; } }

/* ---- CLIENTES FUNDADORES ---- */
.founders { max-width: 680px; margin: 0 auto; text-align: center; }
.founders__eyebrow {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); background: var(--accent-light); border-radius: var(--r-full); padding: 4px 12px;
}
.founders h2 { margin-top: var(--sp-12); margin-inline: auto; color: #fff; }
.founders p { margin: var(--sp-12) auto 0; color: var(--text-muted-on-dark); }
.founders__benefits { display: flex; flex-wrap: wrap; gap: var(--sp-8); justify-content: center; margin: var(--sp-16) auto; }
.founders__benefits li {
  font-size: 13px; font-weight: 600; color: #fff;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--border-on-dark);
  border-radius: var(--r-full); padding: 6px 14px;
}
.founders__limit { font-weight: 700; color: #fff !important; }
.founders .btn { margin-top: var(--sp-16); }

/* ---- TECNOLOGIA POR TRÁS ---- */
.tech { max-width: 640px; margin: 0 auto; text-align: center; }
.tech__title { font-size: 20px; font-weight: 700; color: var(--ink); margin-inline: auto; }
.tech__text { margin: var(--sp-8) auto 0; color: var(--text-muted); font-size: 14px; }
.tech-badges { display: flex; flex-wrap: wrap; gap: var(--sp-8); justify-content: center; margin-top: var(--sp-16); }
.tech-badges li {
  font-size: 12px; font-weight: 700; letter-spacing: .03em; color: var(--text-muted);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-full); padding: 5px 12px;
}

/* ---- INDIQUE E GANHE ---- */
.referral { max-width: 560px; margin: 0 auto; text-align: center; }
.referral h2 { margin-inline: auto; color: var(--ink); }
.referral p { margin: var(--sp-8) auto 0; color: var(--text-muted); }
.referral__note { font-size: 13px; }
.referral .btn { margin-top: var(--sp-16); }

/* ---- DEPOIMENTOS ---- */
.testimonials { display: grid; grid-template-columns: 1fr; gap: var(--sp-16); }
@media (min-width: 760px) { .testimonials { grid-template-columns: repeat(2, 1fr); } }
.testimonial { padding: var(--sp-24); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-16); }
.testimonial blockquote { margin: 0; font-size: 16px; color: var(--ink); line-height: 1.5; }
.testimonial__by { margin-top: var(--sp-12); font-size: 13px; font-weight: 700; color: var(--text-muted); }

/* ---- FORM: linha dupla ---- */
.field-row { display: grid; grid-template-columns: 1fr; gap: var(--sp-16); }
.field-row .field + .field { margin-top: 0; }
.field + .field-row, .field-row + .field { margin-top: var(--sp-16); }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }

/* ---- NAV CTA (desktop largo) ---- */
.nav__cta { display: none; }
@media (min-width: 1140px) {
  .nav__cta { display: inline-flex; min-height: 40px; padding: 0 18px; font-size: 14px; margin-left: var(--sp-8); }
}

/* ---- BARRA DE AÇÃO FIXA (mobile) ---- */
.mcta { display: none; }
@media (max-width: 767px) {
  .fab { display: none; }
  .mcta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: var(--z-fab);
    display: flex;
    gap: var(--sp-8);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(247, 247, 248, .92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    transition: transform 220ms var(--ease), opacity 220ms var(--ease);
  }
  .mcta.is-hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }
  .mcta__btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; border-radius: var(--r-12);
    font-weight: 700; font-size: 15px; text-decoration: none;
  }
  .mcta__btn--primary { flex: 1; background: var(--primary); color: #fff; box-shadow: var(--glow-primary); }
  .mcta__btn--wa { width: 52px; flex: none; background: #25D366; color: #fff; }
  .mcta__btn:hover { text-decoration: none; }
  body.has-mcta { padding-bottom: 76px; }
}

/* ---- CATÁLOGO (solucoes.html) ---- */
.catalog-family { max-width: 900px; margin: 0 auto var(--sp-48); scroll-margin-top: calc(var(--nav-h) + 16px); }
.catalog-family__head { text-align: center; margin-bottom: var(--sp-24); }
.catalog-family__ico {
  display: inline-grid; place-items: center; width: 52px; height: 52px;
  border-radius: var(--r-12); background: var(--tint); color: var(--primary); margin-bottom: var(--sp-12);
}
.catalog-family__head h2 { margin-inline: auto; color: var(--ink); }
.catalog-family__head p { margin: var(--sp-8) auto 0; color: var(--text-muted); }
.catalog-family__plans { display: grid; grid-template-columns: 1fr; gap: var(--sp-16); align-items: stretch; }
@media (min-width: 720px) { .catalog-family__plans { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.plan-card {
  position: relative;
  display: flex; flex-direction: column; gap: var(--sp-8);
  padding: var(--sp-24);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-16);
  box-shadow: var(--shadow-sm);
}
.plan-card--tag { border-color: rgba(43, 58, 255, .4); }
.plan-card__tag {
  position: absolute; top: -11px; left: var(--sp-24);
  font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: #fff; background: var(--primary); border-radius: var(--r-full); padding: 3px 10px;
}
.plan-card__name { color: var(--ink); }
.plan-card__price { color: var(--ink); font-size: 15px; }
.plan-card__price strong { font-size: 22px; font-weight: 800; }
.plan-card__price s { color: var(--text-muted); font-size: 15px; }
.plan-card__price span { color: var(--text-muted); font-size: 13px; }
.plan-card__features { display: flex; flex-direction: column; gap: 4px; margin-top: var(--sp-8); }
.plan-card__features li { position: relative; padding-left: 20px; font-size: 14px; color: var(--text-muted); }
.plan-card__features li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 6px;
  border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(-45deg);
}
.plan-card__note { font-size: 12px; font-style: italic; color: var(--text-muted); }
.catalog-family__cta { display: flex; flex-wrap: wrap; gap: var(--sp-12); justify-content: center; margin-top: var(--sp-24); }

/* ---- TABELA COMPARATIVA ---- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 760px; margin: 0 auto; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 460px; background: var(--surface); border-radius: var(--r-12); overflow: hidden; }
.compare-table th, .compare-table td { padding: 12px 14px; text-align: center; border-bottom: 1px solid var(--border); font-size: 14px; }
.compare-table thead th { background: var(--ink); color: #fff; font-weight: 700; }
.compare-table tbody th { text-align: left; color: var(--ink); font-weight: 600; }
.compare-table .yes { color: var(--success); font-weight: 800; }
.compare-table .no { color: var(--border-strong); }
.compare-table tr:last-child td, .compare-table tr:last-child th { border-bottom: 0; }

/* ---- FAQ ---- */
.faq { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--sp-8); }
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-12);
  padding: var(--sp-16) var(--sp-20);
}
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--ink); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-12);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--primary); line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { margin-bottom: var(--sp-8); }
.faq p { color: var(--text-muted); font-size: 14px; }

/* ---- POSICIONAMENTO ---- */
.positioning { max-width: 62ch; margin: 0 auto; text-align: center; }
.positioning h2 { margin-inline: auto; color: var(--ink); }
.positioning p { margin: var(--sp-12) auto 0; color: var(--text-muted); max-width: 56ch; }
.positioning__pillars {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--sp-8); margin-top: var(--sp-20); padding: 0; list-style: none;
}
.positioning__pillars li {
  font-size: 13px; font-weight: 600; color: var(--tint-ink);
  background: var(--tint); border-radius: var(--r-full); padding: 6px 14px;
}

/* ---- NOTA "O CARDÁPIO CONTINUA FUNCIONANDO POR VOCÊ" ---- */
.billing-note {
  max-width: 640px; margin: var(--sp-24) auto 0; padding: var(--sp-24);
  background: var(--tint); border: 1px solid rgba(43, 58, 255, .2);
  border-radius: var(--r-16); text-align: center;
}
.billing-note h3 { margin-inline: auto; color: var(--ink); }
.billing-note p { color: var(--text-muted); font-size: 14px; margin-top: var(--sp-8); }
.billing-note__list {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--sp-8); margin-top: var(--sp-12); padding: 0; list-style: none;
}
.billing-note__list li {
  font-size: 12px; font-weight: 600; color: var(--tint-ink);
  background: var(--surface); border-radius: var(--r-full); padding: 5px 12px;
}
.billing-note__msg { font-weight: 600; color: var(--ink) !important; margin-top: var(--sp-16) !important; }

/* ---- CTA por plano no catálogo ---- */
.plan-card__cta { margin-top: auto; align-self: stretch; text-align: center; }
.plan-card--featured { border-color: var(--primary); box-shadow: var(--shadow-md); }

/* =============================================================
   CENTRALIZAÇÃO dos blocos novos — mesmo padrão do resto do site
   ============================================================= */

/* cards de produto (home) */
.product-card { text-align: center; align-items: center; }
.product-card__ico { margin-inline: auto; }
.product-card__summary { margin-inline: auto; }
.product-card__price { width: 100%; }
.product-card__cta { justify-content: center; width: 100%; }

/* citações do "você faz essa tarefa todo dia?" */
.problem-card { text-align: center; }
.problem-card__quote { margin-inline: auto; }

/* faixa "a partir de" no hero — centralizada também no desktop */
.hero__pricing { justify-content: center; }
@media (min-width: 1024px) { .hero__pricing { justify-content: center; } }

/* automação em destaque — passos sempre centralizados */
.auto-flow__step {
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  text-align: center;
  justify-items: center;
}
.auto-flow__ico { grid-row: auto; }

/* tabela de preços: centralizada no mobile, alinhada à esquerda só
   na versão larga (mais fácil de ler em colunas) */
.ptable__row { text-align: center; }
.ptable__k { text-align: center; }
@media (min-width: 780px) {
  .ptable__row { text-align: left; }
  .ptable__k { text-align: left; }
}

/* explicador implantação × mensalidade */
.billing-explainer { text-align: center; }
.billing-explainer__list { justify-content: center; }

/* planos (solucoes.html) */
.plan-card { text-align: center; align-items: center; }
.plan-card__tag { left: 50%; transform: translateX(-50%); }
.plan-card__features {
  align-self: center;
  align-items: flex-start;
  text-align: left;
  width: max-content;
  max-width: 100%;
}

/* tabela comparativa: primeira coluna também centralizada */
.compare-table tbody th { text-align: center; }

/* FAQ: pergunta continua à esquerda (padrão de acordeão),
   resposta centralizada para acompanhar o resto */
.faq p { text-align: center; }
