/* Reset leve + base
   ----------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Firefox — polegar ciano/marca, trilho azul escuro */
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  position: relative;
}

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

a {
  color: var(--link);
  text-decoration-thickness: 0.05em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--link-hover);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  font-family: "Outfit", "DM Sans", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-strong);
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

/* Design tokens
   ----------------------------------------------------------------- */
:root {
  --bg: #07080c;
  --bg-elevated: #0c0f16;
  --bg-tint: #0a0d15;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: rgba(245, 247, 255, 0.9);
  --text-muted: rgba(245, 247, 255, 0.7);
  --text-strong: #f4f6ff;
  --link: #7cb7ff;
  --link-hover: #a8d0ff;
  --accent: #2f6feb;
  --accent-soft: rgba(47, 111, 235, 0.2);
  --glass: rgba(12, 15, 22, 0.72);
  --shadow-1: 0 8px 32px rgba(0, 0, 0, 0.4);
  --radius: 12px;
  --radius-pill: 999px;
  --container: 1120px;
  --reading: 64ch;
  --header-h: 64px;
  --z-header: 50;
  --z-float: 40;
  --z-progress: 60;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  /* Entrada de secções: movimento leve + fade + desfoque (só com JS .is-enhanced) */
  --reveal-y: 1.15rem;
  --reveal-y-stagger: 0.65rem;
  --reveal-dur: 1.05s;
  --reveal-dur-stagger: 0.82s;
  --reveal-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --reveal-blur: 3px;
  /* Marca: azul esverdeado (teal/ciano) — alinhado a logo em tons frios, sem roxo */
  --brand: #14b8a6;
  --brand-deep: #0d9488;
  --brand-bright: #2dd4bf;
  --brand-ink: #5eead4;
  --brand-ink-soft: #99f6e4;
  --brand-cyan: #06b6d4;
  --coral: #f97316;
  --glow-cyan: rgba(34, 211, 238, 0.28);
  --glow-teal: rgba(20, 184, 166, 0.38);
  --glow-teal-soft: rgba(20, 184, 166, 0.16);
  --glow-sky: rgba(14, 165, 233, 0.22);
  /* WhatsApp (CTAs) */
  --wa: #25d366;
  --wa-bright: #4ade80;
  --wa-mid: #1ea952;
  --wa-glow: rgba(37, 211, 102, 0.45);
  --wa-glow-soft: rgba(37, 211, 102, 0.28);
  /* Scrollbar — ciano/marca (mesma linha que .read-progress e o tema) + trilho azul escuro */
  --scroll-track: #061525;
  --scroll-track-edge: #0c1f3d;
  --scroll-thumb: var(--brand-cyan);
  --scroll-thumb-mid: var(--brand-deep);
  --scroll-thumb-hover: #22d3ee;
  --scroll-thumb-bright: #67e8f9;
  /* Accent Tiffany (UI) */
  --scroll-tiffany: #0abab5;
  --scroll-tiffany-bright: #4dd4cf;
  --scroll-tiffany-hover: #5ee0db;
}

/* Barra de rolagem — Chrome / Edge / Safari (WebKit) */
html::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html::-webkit-scrollbar-track {
  background: linear-gradient(180deg, var(--scroll-track) 0%, var(--scroll-track-edge) 100%);
  border-radius: 999px;
}

html::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    var(--scroll-thumb-bright) 0%,
    var(--scroll-thumb-hover) 28%,
    var(--scroll-thumb) 58%,
    var(--scroll-thumb-mid) 100%
  );
  border-radius: 999px;
  border: 2px solid var(--scroll-track);
  background-clip: padding-box;
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.45);
  box-shadow: 0 0 14px color-mix(in srgb, var(--brand-cyan) 55%, transparent);
}

html::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    var(--scroll-thumb-hover) 0%,
    var(--scroll-thumb) 45%,
    var(--scroll-thumb-mid) 100%
  );
  box-shadow: 0 0 18px rgba(6, 182, 212, 0.55);
  box-shadow: 0 0 18px color-mix(in srgb, var(--brand-cyan) 65%, transparent);
}

html::-webkit-scrollbar-corner {
  background: var(--scroll-track);
}

/* Fundo com malha (referência: landing tech moderna) */
.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 400px at 10% 5%, var(--glow-sky), transparent 55%),
    radial-gradient(800px 500px at 90% 15%, var(--glow-cyan), transparent 50%),
    radial-gradient(600px 300px at 50% 100%, var(--glow-teal-soft), transparent 45%),
    var(--bg);
  opacity: 1;
  animation: mesh-breathe 18s ease-in-out infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
  .mesh-bg {
    animation: none;
  }
}

@keyframes mesh-breathe {
  0% {
    filter: hue-rotate(0deg) saturate(1);
  }
  100% {
    filter: hue-rotate(12deg) saturate(1.12);
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  color: var(--text);
  z-index: 200;
  border-radius: 0 0 8px 0;
  border: 1px solid var(--line);
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 0;
  min-height: 0;
  width: 0;
  z-index: var(--z-progress);
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand), #22d3ee);
  transform-origin: 0 50%;
  pointer-events: none;
  border: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.12s ease, height 0.12s ease;
}

@media (prefers-reduced-motion: reduce) {
  .read-progress {
    display: none;
  }
}

/* Header + nav
   ----------------------------------------------------------------- */
/* Sem border-bottom: a linha de 1px imediatamente abaixo da barra parecia um “-” / defeito. */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  border-bottom: none;
  background: var(--glass);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}

/* Altura de barra no desktop: só o conteúdo (min-height do menu mobile não empurra o hero) */
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.8rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-strong);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.site-header__brand:hover {
  color: var(--text-strong);
}

/* Mesmo ficheiro que o hero: cabeçalho enquanto marca, altura de barra. */
.site-header__mark {
  display: block;
  width: auto;
  max-width: min(200px, 40vw);
  max-height: 40px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.4rem 0.55rem;
  cursor: pointer;
  color: var(--text);
}

.nav-toggle__bar {
  display: block;
  width: 1.3rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.nav-toggle__bar + .nav-toggle__bar {
  margin-top: 0.3rem;
}

.site-nav__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.1rem;
  align-items: center;
  font-size: 0.9rem;
}

.site-nav a:not(.btn) {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.35rem 0.2rem;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease, text-decoration-color 0.2s ease;
}

/* Sublinhado Tiffany ao pairar (não no botão Investir / links do sub-menu) */
.site-nav a:not(.site-nav__cta):not(.site-nav__invest-link):not(.btn):hover,
.site-nav a:not(.site-nav__cta):not(.site-nav__invest-link):not(.btn):focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--scroll-tiffany);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.24em;
  text-decoration-skip-ink: auto;
}

.site-nav a:not(.btn):hover {
  color: var(--text);
}

.site-nav a:not(.btn):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* CTA “Investir” (Tiffany) + menu hover com links WhatsApp */
.site-nav__item--invest {
  position: relative;
  z-index: 0;
}

@media (min-width: 901px) {
  .site-nav__item--invest {
    margin-left: 1.65rem;
  }
}

.site-nav__item--invest:hover,
.site-nav__item--invest:focus-within {
  z-index: 3;
}

.site-nav__invest-wrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.site-nav__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(90, 234, 225, 0.55);
  background: #fff;
  min-height: 2.48rem;
  padding: 0.52rem 1.12rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1.2;
  font-family: inherit;
  cursor: pointer;
  isolation: isolate;
  border-radius: 9999px;
  /* Destaque: halo Tiffany + profundidade (convida a clicar) */
  box-shadow:
    0 0 0 1px rgba(94, 234, 225, 0.22) inset,
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 2px 10px rgba(0, 0, 0, 0.19),
    0 4px 20px var(--glow-teal),
    0 0 32px var(--glow-teal-soft);
  transition:
    box-shadow 0.28s ease,
    border-color 0.2s ease,
    transform 0.25s var(--cta-shut, cubic-bezier(0.45, 0, 0.55, 1));
  --cta-shut: cubic-bezier(0.45, 0, 0.55, 1);
  --cta-dur: 0.5s;
}

.site-nav__cta::before,
.site-nav__cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 0;
  background: linear-gradient(
    160deg,
    #b8fffa 0%,
    var(--scroll-tiffany-bright) 18%,
    var(--scroll-tiffany) 52%,
    #0a7f7c 100%
  );
  pointer-events: none;
  transform: scaleY(1);
  transition: transform var(--cta-dur) var(--cta-shut);
  filter: saturate(1.12);
}

.site-nav__cta::before {
  top: 0;
  height: 51%;
  transform-origin: top center;
}

.site-nav__cta::after {
  bottom: 0;
  height: 51%;
  transform-origin: bottom center;
}

.site-nav__cta .site-nav__cta-txt {
  position: relative;
  z-index: 1;
  font-family: "Outfit", "DM Sans", system-ui, sans-serif;
  font-weight: 600;
  color: #061018;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: color 0.2s ease 0.12s, text-shadow 0.2s ease;
}

.site-nav__cta:hover,
.site-nav__cta:focus-visible {
  border-color: rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 6px 20px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(0, 0, 0, 0.06);
}

.site-nav__cta:focus-visible {
  outline: 2px solid var(--scroll-tiffany-hover);
  outline-offset: 2px;
}

.site-nav__cta:hover::before,
.site-nav__cta:hover::after,
.site-nav__cta:focus-visible::before,
.site-nav__cta:focus-visible::after {
  transform: scaleY(0);
}

.site-nav__cta:hover .site-nav__cta-txt,
.site-nav__cta:focus-visible .site-nav__cta-txt {
  color: #020617;
  text-shadow: none;
  transition-delay: 0.18s;
}

/* Com o sub-menu aberto (rato ou foco nos links), manter o mesmo visual do hover no botão */
.site-nav__item--invest:hover .site-nav__cta,
.site-nav__item--invest:focus-within .site-nav__cta {
  border-color: rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 6px 20px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(0, 0, 0, 0.06);
}

.site-nav__item--invest:hover .site-nav__cta::before,
.site-nav__item--invest:hover .site-nav__cta::after,
.site-nav__item--invest:focus-within .site-nav__cta::before,
.site-nav__item--invest:focus-within .site-nav__cta::after {
  transform: scaleY(0);
}

.site-nav__item--invest:hover .site-nav__cta .site-nav__cta-txt,
.site-nav__item--invest:focus-within .site-nav__cta .site-nav__cta-txt {
  color: #020617;
  text-shadow: none;
  transition-delay: 0.18s;
}

.site-nav__invest-menu {
  position: absolute;
  right: 0;
  /* Colado ao botão: evita “buraco” onde o rato deixa o <li> e o menu some */
  top: 100%;
  z-index: calc(var(--z-header) + 2);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 16rem;
  max-width: min(20rem, calc(100vw - 2rem));
  padding: 0.5rem 0.4rem 0.4rem;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg-elevated);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s var(--cta-shut);
}

/* Faixa invisível acima do painel: mantém o rato “no” menu ao descer a partir do botão */
.site-nav__invest-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 0.65rem;
  bottom: 100%;
  pointer-events: auto;
}

.site-nav__item--invest:hover .site-nav__invest-menu,
.site-nav__item--invest:focus-within .site-nav__invest-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Mesmo estilo de CTA que “Pedir orçamento…” na seção Investimento: .btn + .btn--outline-brand + .js-wa */
.site-nav__invest-link.btn {
  justify-content: flex-start;
  text-align: left;
  font-size: 0.86rem;
  padding: 0.55rem 0.7rem;
  line-height: 1.3;
  border-radius: 10px;
  box-sizing: border-box;
}

.site-nav__invest-link .site-nav__invest-ico {
  flex-shrink: 0;
}

.site-nav__invest-link span {
  flex: 1;
  min-width: 0;
  text-align: left;
}

@media (prefers-reduced-motion: reduce) {
  .site-nav__cta::before,
  .site-nav__cta::after {
    display: none;
  }

  .site-nav__cta {
    background: var(--scroll-tiffany) !important;
    border-radius: 9999px;
    box-shadow:
      0 0 0 1px rgba(94, 234, 225, 0.28) inset,
      0 2px 10px rgba(0, 0, 0, 0.18),
      0 4px 20px var(--glow-teal);
    transition:
      background 0.2s ease,
      color 0.2s ease,
      border-color 0.2s ease,
      box-shadow 0.2s ease,
      transform 0.2s ease;
  }

  .site-nav__cta .site-nav__cta-txt {
    color: #0c1929;
    text-shadow: none;
    transition: color 0.2s ease;
  }

  .site-nav__cta:hover,
  .site-nav__cta:focus-visible,
  .site-nav__item--invest:hover .site-nav__cta,
  .site-nav__item--invest:focus-within .site-nav__cta {
    background: #fff !important;
    transform: translateY(-2px);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.2) inset,
      0 6px 20px rgba(0, 0, 0, 0.18),
      0 0 0 1px rgba(0, 0, 0, 0.06);
  }

  .site-nav__cta:hover .site-nav__cta-txt,
  .site-nav__cta:focus-visible .site-nav__cta-txt,
  .site-nav__item--invest:hover .site-nav__cta .site-nav__cta-txt,
  .site-nav__item--invest:focus-within .site-nav__cta .site-nav__cta-txt {
    color: #020617;
  }

  .site-nav__invest-link.btn:hover,
  .site-nav__invest-link.btn:focus-visible {
    transform: none;
  }

  .site-nav__invest-menu {
    transition: none;
  }
}

/* Entre header e <main>: sem isto, no desktop o <button> ficava no fluxo e criava faixa/“espaço” */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  margin: 0;
  border: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  min-height: 100dvh;
  background: transparent;
  cursor: default;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
}

body.nav-is-open .nav-backdrop {
  cursor: pointer;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
  .nav-backdrop {
    transition: none;
  }
}

@media (max-width: 900px) {
  /* Sem botão “Investir”; só os atalhos WhatsApp no painel móvel */
  .site-nav__item--invest .site-nav__cta {
    display: none;
  }

  .site-nav__item--invest .site-nav__invest-menu::before {
    display: none;
  }

  .site-nav__item--invest .site-nav__invest-menu,
  .site-nav__item--invest:hover .site-nav__invest-menu,
  .site-nav__item--invest:focus-within .site-nav__invest-menu {
    position: static;
    right: auto;
    top: auto;
    z-index: auto;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .site-nav__item--invest .site-nav__invest-wrap {
    display: block;
    width: 100%;
  }

  /* .btn: não forçar o estilo de link simples (display:block) em cima do CTA */
  .site-nav a.site-nav__invest-link.btn {
    display: inline-flex;
    width: 100%;
  }

  body.nav-is-open .nav-backdrop {
    background: rgba(0, 0, 0, 0.52);
  }

  .site-header__inner {
    min-height: 3.1rem;
    padding: 0.7rem 1.25rem;
    gap: 0.75rem 1rem;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: calc(var(--z-header) + 2);
    flex: 0 0 auto;
    margin-left: auto;
    background: rgba(12, 15, 22, 0.65);
    border-radius: 9px;
    padding: 0.38rem 0.5rem;
    line-height: 0;
    align-self: center;
  }

  .nav-toggle__bar {
    width: 1.1rem;
  }

  .nav-toggle__bar + .nav-toggle__bar {
    margin-top: 0.25rem;
  }

  .site-header__brand {
    min-width: 0;
    flex: 0 1 auto;
  }

  .site-nav {
    position: fixed;
    left: auto;
    right: 0.75rem;
    top: calc(var(--header-h) + 0.25rem);
    width: min(17rem, calc(100% - 1.1rem));
    bottom: auto;
    z-index: calc(var(--z-header) + 1);
    display: none;
    margin: 0;
    max-height: min(80dvh, 20rem);
    min-height: 0;
    padding: 0.35rem 0.4rem 0.45rem;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: var(--bg);
    background-color: #07080c;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav__list {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.12rem;
    max-width: none;
    margin: 0;
    font-size: 0.78rem;
  }

  .site-nav__list li {
    width: 100%;
  }

  .site-nav a:not(.btn) {
    display: block;
    width: 100%;
    padding: 0.36rem 0.5rem;
    line-height: 1.3;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid transparent;
  }

  .site-nav a:not(.btn):hover,
  .site-nav a:not(.btn):focus-visible {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--line);
  }
}

body.nav-is-open {
  overflow: hidden;
  touch-action: none;
}

/* Com menu aberto, o header inteiro (barra + painel fixo) fica acima do resto da página. */
@media (max-width: 900px) {
  body.nav-is-open .site-header {
    z-index: 100;
  }
}

/* Layout
   ----------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container--reading {
  max-width: var(--reading);
}

.section {
  padding: clamp(3.25rem, 6vw, 5.5rem) 0;
  position: relative;
}

.section--tint {
  background: linear-gradient(180deg, var(--bg-tint), transparent 45%, transparent 55%, var(--bg-tint));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--hero {
  /* Menos vazio abaixo do header (o padding grosseiro parecia “espaço” extra) */
  padding-top: clamp(1rem, 2.5vw, 2rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  overflow: hidden;
  position: relative;
}

.section__h {
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem);
  margin: 0 0 1.1rem;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.6rem;
}

/* Hero
   ----------------------------------------------------------------- */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(1000px 500px at 20% 10%, rgba(8, 145, 178, 0.18), transparent 60%),
    radial-gradient(800px 400px at 80% 30%, rgba(20, 184, 166, 0.14), transparent 50%),
    linear-gradient(180deg, #07080c, #0a0d15);
}

/* Colunas de “código” em scroll contínuo (todos os tamanhos, exceto prefers-reduced-motion) */
.hero__code-anim {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  gap: clamp(0.2rem, 0.8vw, 0.75rem);
  padding: 0 clamp(0.4rem, 1.2vw, 1.5rem);
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

@media (prefers-reduced-motion: no-preference) {
  .hero__code-anim {
    display: flex;
  }
}

.hero__code-anim__col {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  max-width: 26%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 10%,
    #000 88%,
    transparent 100%
  );
  mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 88%, transparent 100%);
  opacity: 0.9;
}

/* Em ecrãs estreitas o fundo fica um pouco mais suave */
@media (max-width: 639px) {
  .hero__code-anim {
    opacity: 0.75;
  }

  .hero__code-anim__col {
    max-width: 28%;
  }
}

.hero__code-anim__col:nth-child(2) {
  opacity: 0.75;
}

.hero__code-anim__col:nth-child(3) {
  opacity: 0.85;
}

.hero__code-anim__col:nth-child(4) {
  opacity: 0.7;
}

@media (min-width: 640px) {
  .hero__code-anim__col:nth-child(2) {
    transform: translateX(3%);
  }

  .hero__code-anim__col:nth-child(3) {
    transform: translateX(-2%);
  }

  .hero__code-anim__col:nth-child(4) {
    transform: translateX(1%);
  }
}

.hero__code-anim__track {
  display: flex;
  flex-direction: column;
  will-change: transform;
  animation: hero-code-drift var(--hero-code-dur, 40s) linear infinite;
  animation-delay: var(--hero-code-delay, 0s);
}

@keyframes hero-code-drift {
  to {
    transform: translate3d(0, -50%, 0);
  }
}

.hero__code-anim__block {
  margin: 0;
  padding: 0 0.15rem 1rem 0.15rem;
  font-family: var(--font-mono);
  font-size: clamp(0.6rem, 0.5rem + 0.4vw, 0.72rem);
  line-height: 1.55;
  color: rgba(120, 230, 220, 0.2);
  text-shadow: 0 0 24px rgba(20, 184, 166, 0.12);
  white-space: pre;
  word-break: break-all;
  tab-size: 2;
}

.section--hero .container,
.section--hero .hero__grid {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
  grid-template-columns: 1fr;
}

@media (min-width: 1000px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }
}

/* Marca: mesma coluna e escala de antes, só sem o cartão (border/sombra) do antigo .hero__visual */
.hero__brand-mark {
  width: 100%;
  margin: 0 0 1rem;
  overflow: hidden;
  border-radius: 16px;
}

.hero__brand-img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 160px;
  object-fit: cover;
  object-position: left center;
}

/* Hero em coluna única: a faixa “cabecalho” fica demasiado dominante; esconde no mobile. */
@media (max-width: 999px) {
  .hero__brand-mark {
    display: none;
  }
}

/* Vídeo demo (zona de nota antiga): mudo, loop, sem UI — ver script.js */
.hero__demo-wrap {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  aspect-ratio: 16 / 9;
  max-height: min(40vh, 240px);
}

.hero__demo-wrap[hidden] {
  display: none !important;
}

.hero__demo-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

/* Esconde controles nativos se o browser mostrar (sem atributo controls) */
.hero__demo-video::-webkit-media-controls,
.hero__demo-video::-webkit-media-controls-enclosure,
.hero__demo-video::-webkit-media-controls-panel {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.hero__title {
  font-size: clamp(2.1rem, 1.1rem + 2.4vw, 3.2rem);
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  max-width: 24ch;
  font-weight: 700;
}

.hero__title-accent {
  display: inline;
  background: linear-gradient(120deg, #7dd3fc, #2dd4bf, #0ea5e9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
  max-width: 44ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero__bullets {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero__bullets li {
  position: relative;
  padding-left: 1.15rem;
}

.hero__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #22d3ee, #14b8a6);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.eyebrow--glow {
  color: var(--brand-ink);
  text-shadow: 0 0 24px var(--glow-teal);
}

.stat-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(12, 15, 22, 0.9));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

@media (min-width: 640px) {
  .stat-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-strip__it {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-strip__n {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: #38bdf8;
}

.stat-strip__t {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.hero__col--media {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.showcase {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: var(--bg-elevated);
  padding: 1.25rem 1.35rem 1.1rem;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.15);
}

.showcase__glow {
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 180deg at 50% 50%, rgba(20, 184, 166, 0.15), transparent, rgba(34, 211, 238, 0.12), transparent);
  animation: conic-rotate 10s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .showcase__glow {
    animation: none;
    opacity: 0.4;
  }
}

@keyframes conic-rotate {
  to {
    transform: rotate(360deg);
  }
}

.showcase__ui {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.showcase__bar {
  height: 6px;
  width: 40%;
  border-radius: 4px;
  background: linear-gradient(90deg, #0e7490, #22d3ee);
}

.showcase__rows {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.showcase__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
  flex-shrink: 0;
}

.showcase__row {
  height: 8px;
  flex: 1;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  max-width: 100%;
}

.showcase__row--short {
  max-width: 65%;
}

.showcase__cta-ghost {
  height: 32px;
  max-width: 120px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0d9488, #0891b2);
  box-shadow: 0 0 20px rgba(8, 145, 178, 0.5);
  margin-top: 0.25rem;
}

.showcase__cap {
  position: relative;
  z-index: 1;
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Buttons
   ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.8rem 1.35rem;
  border-radius: 12px;
  border: 1px solid rgba(20, 184, 166, 0.5);
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #0891b2 0%, #0d9488 45%, #0f766e 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 4px 20px rgba(8, 145, 178, 0.45),
    0 0 32px rgba(20, 184, 166, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn--glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.2) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.btn--glow:hover::after {
  transform: translateX(100%);
}

.btn:hover {
  color: #fff;
  filter: brightness(1.05);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 8px 32px rgba(8, 145, 178, 0.5),
    0 0 40px rgba(20, 184, 166, 0.35);
  transform: translateY(-2px);
}

.btn--ghost {
  color: #e0e7ff;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}

.btn--ghost:hover {
  color: #fff;
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(20, 184, 166, 0.45);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn--block {
  width: 100%;
  justify-content: center;
}

/* CTA secundário (orçamento) — borda e brilho na paleta da marca, sem roxo */
.btn--outline-brand {
  color: #ecfeff;
  background: rgba(6, 78, 90, 0.35);
  border: 1px solid rgba(20, 184, 166, 0.55);
  box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.12) inset, 0 4px 24px rgba(8, 145, 178, 0.2);
}

.btn--outline-brand:hover {
  color: #fff;
  background: rgba(20, 184, 166, 0.18);
  border-color: var(--brand-bright);
  box-shadow: 0 0 32px rgba(20, 184, 166, 0.28);
  filter: none;
  transform: translateY(-1px);
}

/* CTA WhatsApp — verde identidade (reconhecimento imediato) */
.btn.js-wa:not(.btn--outline-brand) {
  color: #fff;
  border: 1px solid rgba(45, 222, 120, 0.55);
  background: linear-gradient(135deg, #34d676 0%, var(--wa) 45%, var(--wa-mid) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 4px 20px var(--wa-glow),
    0 0 32px var(--wa-glow-soft);
}

.btn.js-wa:not(.btn--outline-brand):hover {
  color: #fff;
  filter: brightness(1.04);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 8px 32px rgba(37, 211, 102, 0.52),
    0 0 40px rgba(37, 211, 102, 0.35);
  transform: translateY(-2px);
}

.btn.js-wa.btn--outline-brand {
  color: #d1fae5;
  background: rgba(4, 47, 32, 0.42);
  border: 1px solid rgba(45, 222, 120, 0.55);
  box-shadow: 0 0 0 1px rgba(37, 211, 102, 0.12) inset, 0 4px 24px rgba(37, 211, 102, 0.22);
}

.btn.js-wa.btn--outline-brand:hover {
  color: #fff;
  background: rgba(37, 211, 102, 0.18);
  border-color: var(--wa-bright);
  box-shadow: 0 0 32px rgba(37, 211, 102, 0.32);
  filter: none;
  transform: translateY(-1px);
}

.btn.js-wa:focus-visible {
  outline: 2px solid var(--wa-bright);
  outline-offset: 2px;
}

.btn__wai {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  fill: currentColor;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.35));
}

.btn:focus-visible {
  outline: 2px solid var(--brand-ink);
  outline-offset: 2px;
}

.btn:active {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }

  .btn:hover,
  .btn:active {
    transform: none;
  }
}

/* Marquee
   ----------------------------------------------------------------- */
.marquee {
  --marquee-duration: 48s;
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, transparent, var(--bg-elevated), transparent);
  overflow: hidden;
  padding: 0.5rem 0 0.75rem;
}

.marquee__kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 0.35rem 0 0.2rem;
  text-align: center;
}

.marquee--reverse {
  --marquee-duration: 56s;
}

.marquee__viewport {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  padding: 0.65rem 0;
}

.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marquee-x var(--marquee-duration) linear infinite;
}

.marquee--reverse .marquee__track {
  animation-name: marquee-x-rev;
}

@keyframes marquee-x {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes marquee-x-rev {
  from {
    transform: translate3d(-50%, 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
    will-change: auto;
  }
}

[data-marquee] {
  display: block;
}

.marquee__row {
  list-style: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0.25rem 0;
  margin: 0;
}

.marquee__item {
  display: flex;
  align-items: center;
  margin: 0 0.2rem 0 0;
}

.marquee__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.2rem 0.15rem;
  padding: 0.4rem 0.65rem 0.4rem 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: #e2e8f0;
  background: linear-gradient(150deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.85));
  border: 1px solid rgba(20, 184, 166, 0.25);
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.marquee__ico {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  padding: 2px;
  flex-shrink: 0;
}

.marquee__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Reduced motion: hide animated marquees, show static summary */
@media (prefers-reduced-motion: reduce) {
  [data-marquee] {
    display: none;
  }
}

.marquee-fallback {
  display: none;
  padding: 0.9rem 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

@media (prefers-reduced-motion: reduce) {
  .marquee-fallback {
    display: block;
  }
}

.marquee-fallback__text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  max-width: 70ch;
}

/* Reveal: sem .is-enhanced o conteúdo permanece visível (JS no fim) */
/* Reveal: fade + leve deslocamento + desfoque ao entrar (uma vez) */
/* Reveal
   ----------------------------------------------------------------- */
.is-enhanced [data-reveal]:not(.is-inview) {
  opacity: 0;
  transform: translate3d(0, var(--reveal-y), 0);
  filter: blur(var(--reveal-blur));
  transition:
    opacity var(--reveal-dur) var(--reveal-ease),
    transform var(--reveal-dur) var(--reveal-ease),
    filter 0.85s var(--reveal-ease);
  transition-delay: var(--reveal-delay, 0.04s);
}

.is-enhanced [data-reveal].is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none;
    transition: none;
  }
}

.is-enhanced [data-stagger]:not(.is-inview) > * {
  opacity: 0;
  transform: translate3d(0, var(--reveal-y-stagger), 0);
  filter: none;
  transition:
    opacity var(--reveal-dur-stagger) var(--reveal-ease),
    transform var(--reveal-dur-stagger) var(--reveal-ease);
}

.is-enhanced [data-stagger].is-inview > *:nth-child(1) {
  transition-delay: calc(var(--stagger-base-delay, 0s) + 0.05s);
}

.is-enhanced [data-stagger].is-inview > *:nth-child(2) {
  transition-delay: calc(var(--stagger-base-delay, 0s) + 0.1s);
}

.is-enhanced [data-stagger].is-inview > *:nth-child(3) {
  transition-delay: calc(var(--stagger-base-delay, 0s) + 0.15s);
}

.is-enhanced [data-stagger].is-inview > *:nth-child(4) {
  transition-delay: calc(var(--stagger-base-delay, 0s) + 0.2s);
}

.is-enhanced [data-stagger].is-inview > *:nth-child(5) {
  transition-delay: calc(var(--stagger-base-delay, 0s) + 0.25s);
}

.is-enhanced [data-stagger].is-inview > *:nth-child(6) {
  transition-delay: calc(var(--stagger-base-delay, 0s) + 0.3s);
}

.is-enhanced [data-stagger].is-inview > *:nth-child(7) {
  transition-delay: calc(var(--stagger-base-delay, 0s) + 0.35s);
}

.is-enhanced [data-stagger].is-inview > *:nth-child(8) {
  transition-delay: calc(var(--stagger-base-delay, 0s) + 0.4s);
}

.is-enhanced [data-stagger].is-inview > *:nth-child(9) {
  transition-delay: calc(var(--stagger-base-delay, 0s) + 0.45s);
}

.is-enhanced [data-stagger].is-inview > *:nth-child(10) {
  transition-delay: calc(var(--stagger-base-delay, 0s) + 0.5s);
}

.is-enhanced [data-stagger].is-inview > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  [data-stagger] > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Cards, lists
   ----------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 800px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 1.4rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.25);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
  border-color: rgba(20, 184, 166, 0.3);
}

@media (prefers-reduced-motion: reduce) {
  .card:hover {
    transform: none;
  }
}

.card--accent {
  padding-top: 1.75rem;
  border-color: rgba(20, 184, 166, 0.25);
  background: linear-gradient(175deg, rgba(15, 118, 110, 0.22), rgba(7, 8, 12, 0.5));
}

.card__badge {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--brand-ink);
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(20, 184, 166, 0.15);
  border: 1px solid rgba(20, 184, 166, 0.35);
}

.card__h {
  font-size: 1.1rem;
  margin: 0 0 0.55rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.step-list {
  list-style: none;
  max-width: 40rem;
  border-left: 1px solid var(--line);
  margin-left: 0.2rem;
  padding-left: 0;
  counter-reset: step;
}

.step-list__item {
  position: relative;
  padding: 0.9rem 0 0.9rem 1.1rem;
  color: var(--text-muted);
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}

.step-list__item::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), #4fd1c5);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.step-list__item:hover::before,
.step-list__item:focus-within::before {
  opacity: 1;
}

.step-list__n {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  min-width: 1.4rem;
}

.check-list {
  list-style: none;
  max-width: 40rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.check-list__item {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.5rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}

.check-list__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px var(--glow-teal-soft);
  transform: translateY(-50%);
}

.invest__line {
  font-family: var(--font-mono);
  color: var(--text);
  font-size: 0.95rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  display: inline-block;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  margin-top: 0.5rem;
}

/* Secções: narrativa, lead, bento, planos
   ----------------------------------------------------------------- */
.section__kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-bright);
  margin: 0 0 0.4rem;
}

.section__h--lg {
  font-size: clamp(1.55rem, 1rem + 1.6vw, 2.2rem);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.section__lead {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 0 1.5rem;
  font-family: "Plus Jakarta Sans", "DM Sans", sans-serif;
}

.section--spotlight {
  position: relative;
}

.section--spotlight::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(50vw, 420px);
  height: min(50vw, 420px);
  background: radial-gradient(circle, rgba(20, 184, 166, 0.12), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.section--spotlight .container,
.section--spotlight h2,
.section--spotlight p,
.section--spotlight .insight-grid {
  position: relative;
  z-index: 1;
}

.insight-grid {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}

@media (min-width: 800px) {
  .insight-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.insight {
  padding: 1.25rem 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(12, 15, 22, 0.65);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.insight__h {
  font-size: 1rem;
  margin: 0 0 0.45rem;
  color: var(--brand-ink-soft);
}

.bento {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}

@media (min-width: 800px) {
  .bento {
    grid-template-columns: 1.4fr 0.6fr;
  }
}

.bento__cell {
  padding: 1.25rem 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(12, 15, 22, 0.8));
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.bento__cell p {
  margin: 0;
}

/* Sobre fundo de secção claro o gradiente com alpha clareia: base em --bg-tint. */
.section--surface-light .bento__cell {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(12, 15, 22, 0.8)), var(--bg-tint);
}

.check-list--grid {
  max-width: none;
  display: grid;
  gap: 0.4rem 1.5rem;
}

@media (min-width: 700px) {
  .check-list--grid {
    grid-template-columns: 1fr 1fr;
  }
}

.check-list--grid .check-list__item {
  border-bottom: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 0.85rem 0.8rem 1.6rem;
  background: rgba(255, 255, 255, 0.02);
}

.step-list--cards {
  max-width: none;
  display: grid;
  gap: 0.75rem;
  border-left: none;
  margin-left: 0;
  padding: 0;
}

@media (min-width: 800px) {
  .step-list--cards {
    grid-template-columns: 1fr 1fr;
  }
}

.step-list--cards .step-list__item {
  display: block;
  padding: 1rem 1.1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(12, 15, 22, 0.55);
  border-left: 3px solid var(--brand);
  padding-left: 1.1rem;
}

.step-list--cards .step-list__n {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--brand-ink);
}

.step-list--cards .step-list__item::before {
  display: none;
}

/* Secções de superfície clara (Demonstração, Investimento, Diferenciação, Fecho) */
.section--surface-light {
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 42%, #e8eef4 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.section--surface-light .section__kicker {
  color: #0d9488;
}

.section--surface-light .section__h,
.section--surface-light .section__h--lg {
  color: #0c1220;
}

.section--surface-light .section__lead {
  color: #475569;
}

/* Exemplos (prévias em iframe + link para abrir o modelo) */
.section--exemplos.section--surface-light {
  padding-top: clamp(2.75rem, 5vw, 3.75rem);
  padding-bottom: clamp(2.5rem, 4.5vw, 3.5rem);
}

.exemplos__title {
  margin-bottom: 0.55rem;
  max-width: 22ch;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section--surface-light .exemplos__title {
  color: #0c1220;
}

.exemplos__h-accent {
  color: var(--brand-ink);
  text-shadow: 0 0 36px var(--glow-teal-soft);
}

.section--surface-light .exemplos__h-accent {
  color: #0f766e;
  text-shadow: none;
}

.exemplos__lead {
  max-width: 40ch;
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.02rem);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  color: rgba(245, 247, 255, 0.66);
}

.section--surface-light .exemplos__lead {
  color: #64748b;
}

.exemplos__grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.1rem;
  margin-top: 0.75rem;
  padding: 0.2rem 0.1rem 0.75rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.5rem;
}

.exemplos__grid::-webkit-scrollbar {
  height: 6px;
}

.exemplos__grid::-webkit-scrollbar-thumb {
  background: rgba(20, 184, 166, 0.35);
  border-radius: 4px;
}

.exemplos__grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}

.section--surface-light .exemplos__grid::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.06);
}

@media (min-width: 900px) {
  .exemplos__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow: visible;
    padding-bottom: 0.2rem;
  }
}

@media (min-width: 1200px) {
  .exemplos__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.exemplos__card {
  position: relative;
  flex: 0 0 min(88vw, 20rem);
  min-width: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 900px) {
  .exemplos__card {
    flex: none;
  }
}

.exemplos__h {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.section--surface-light .exemplos__h {
  color: #334155;
}

.exemplos__win {
  position: relative;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0a0b10;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.exemplos__card:hover .exemplos__win,
.exemplos__card:focus-within .exemplos__win {
  border-color: rgba(20, 184, 166, 0.35);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
}

.section--surface-light .exemplos__win {
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.12);
  border-color: rgba(15, 23, 42, 0.12);
}

.section--surface-light .exemplos__card:hover .exemplos__win,
.section--surface-light .exemplos__card:focus-within .exemplos__win {
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.16);
}

.section--surface-light .exemplos__chrome {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

.section--surface-light .exemplos__file {
  color: #64748b;
}

.section--surface-light .exemplos__body {
  background: #e8eef3;
}

.section--surface-light .exemplos__frame-scale {
  background: #e8eef3;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.exemplos__chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem 0.4rem;
  background: linear-gradient(180deg, rgba(20, 24, 32, 0.98), rgba(12, 14, 20, 0.96));
  border-bottom: 1px solid var(--line);
}

.exemplos__dots {
  display: inline-flex;
  gap: 0.3rem;
  flex-shrink: 0;
}

.exemplos__dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.exemplos__dot:nth-child(1) {
  background: #ff5f57;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.exemplos__dot:nth-child(2) {
  background: #febc2e;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.exemplos__dot:nth-child(3) {
  background: #28c840;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.exemplos__file {
  flex: 1;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.exemplos__body {
  position: relative;
  min-height: 9rem;
  background: #e8eaed;
}

/* Imagem estática por modelo (sem iframe na landing) */
.exemplos__frame-scale {
  position: relative;
  height: 14rem;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  background: #e8eaed;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.exemplos__thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  pointer-events: none;
  background: #fff;
}

.exemplos__hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
  background: transparent;
  text-decoration: none;
}

.exemplos__hit::after {
  content: "Abrir o modelo";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  padding: 0.5rem 0.45rem 0.55rem;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: #f8fafc;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  background: linear-gradient(180deg, transparent 0%, rgba(6, 10, 18, 0.5) 35%, rgba(4, 8, 16, 0.88) 100%);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.exemplos__card:hover .exemplos__hit::after,
.exemplos__card:focus-within .exemplos__hit::after,
.exemplos__hit:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.exemplos__hit:focus-visible {
  outline: 2px solid var(--scroll-tiffany-hover);
  outline-offset: -2px;
}

@media (prefers-reduced-motion: reduce) {
  .exemplos__hit::after {
    transform: none;
  }
}

.section--invest:not(.section--surface-light) {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, transparent 30%),
    var(--bg-tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.plan-grid {
  display: grid;
  gap: 1.15rem;
  margin-top: 0.5rem;
}

@media (min-width: 900px) {
  .plan-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: stretch;
  }
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.4rem 1.35rem 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(7, 8, 12, 0.6);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.plan-card:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 184, 166, 0.35);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .plan-card:hover {
    transform: none;
  }
}

.plan-card--highlight {
  display: flex;
  flex-direction: column;
  border-color: rgba(20, 184, 166, 0.45);
  background: linear-gradient(165deg, rgba(15, 118, 110, 0.42), rgba(7, 8, 12, 0.92));
  box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.15), 0 20px 50px rgba(0, 0, 0, 0.45);
}

.plan-card > .btn {
  margin-top: 1.25rem;
  align-self: stretch;
}

/* Investimento — “Arquitetura Digital” (CTA orçamento criação do site): fundo branco; hover letra branca e fundo verde */
#investimento .plan-card:not(.plan-card--highlight) > .btn.js-wa--orcamento {
  color: #047857;
  background: #fff;
  border: 1px solid rgba(37, 211, 102, 0.65);
  box-shadow: 0 0 0 1px rgba(37, 211, 102, 0.12) inset, 0 2px 14px rgba(15, 23, 42, 0.12);
  filter: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

#investimento .plan-card:not(.plan-card--highlight) > .btn.js-wa--orcamento:hover,
#investimento .plan-card:not(.plan-card--highlight) > .btn.js-wa--orcamento:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, #34d676 0%, var(--wa) 45%, var(--wa-mid) 100%);
  border: 1px solid rgba(45, 222, 120, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 4px 20px var(--wa-glow),
    0 0 32px var(--wa-glow-soft);
  filter: brightness(1.04);
  transform: translateY(-2px);
}

.plan-card__rib {
  position: absolute;
  top: 0.85rem;
  right: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-ink);
  border: 1px solid rgba(20, 184, 166, 0.4);
  border-radius: 6px;
  padding: 0.2rem 0.4rem;
}

.plan-card--highlight .plan-card__rib {
  background: #fff;
  color: #166534;
  border-color: rgba(22, 101, 52, 0.35);
}

.plan-card__h {
  font-size: 1.2rem;
  margin: 0 0 0.3rem;
  color: var(--text-strong);
  padding-right: 4.5rem;
  line-height: 1.25;
}

.plan-card__price {
  font-family: "Outfit", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-strong);
  margin: 0.35rem 0 0.6rem;
}

.plan-card__price--accent {
  color: var(--brand-ink);
  text-shadow: 0 0 40px rgba(20, 184, 166, 0.35);
}

.plan-card__price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-card__ul {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  flex: 1;
}

.plan-card__ul li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  line-height: 1.45;
}

.plan-card__ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.5);
}

.plan-card__adendo {
  color: var(--text-muted);
}

/* Planos: cartões alinhados ao bloco de superfície clara (Investimento, etc.) */
.section--surface-light .plan-card {
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #334155;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.07);
}

.section--surface-light .plan-card:hover {
  border-color: rgba(20, 184, 166, 0.4);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
}

.section--surface-light .plan-card__h {
  color: #0a0f1a;
}

.section--surface-light .plan-card__price {
  color: #0a0f1a;
}

.section--surface-light .plan-card__price span {
  color: #475569;
}

.section--surface-light .plan-card__price--accent {
  color: #0f766e;
  text-shadow: none;
}

.section--surface-light .plan-card--highlight {
  background: linear-gradient(165deg, #f0fdfa 0%, #ccfbf1 38%, #ffffff 100%);
  border-color: rgba(13, 148, 136, 0.35);
  box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.12), 0 10px 32px rgba(15, 23, 42, 0.08);
}

/* “Arquitetura Digital”: mesmo gradiente / borda / sombra que “Infraestrutura e Gestão Técnica” (destaque) */
#investimento.section--surface-light .plan-card:not(.plan-card--highlight) {
  background: linear-gradient(165deg, #f0fdfa 0%, #ccfbf1 38%, #ffffff 100%);
  border-color: rgba(13, 148, 136, 0.35);
  box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.12), 0 10px 32px rgba(15, 23, 42, 0.08);
}

.section--surface-light .plan-card__ul li {
  color: #334155;
  border-top-color: rgba(15, 23, 42, 0.12);
}

.section--surface-light .plan-card__adendo {
  color: #475569;
}

.section--surface-light .plan-card__ul li::before {
  background: #14b8a6;
  box-shadow: 0 0 6px rgba(20, 184, 166, 0.35);
}

.section--surface-light .plan-card > p {
  color: #334155;
}

.section--surface-light .plan-card > p > strong {
  color: #0a0f1a;
  font-weight: 700;
}

.section--surface-light .section--invest .section__lead strong {
  color: #0f172a;
}

/* Investimento: os planos usam o mesmo bloco de cartão claro que .section--surface-light .plan-card; não forçar tema escuro. */

/* Footer
   ----------------------------------------------------------------- */
.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(8, 145, 178, 0.06) 0%, transparent 38%),
    #05060a;
  padding: 0 0 5.5rem;
  overflow: hidden;
}

.site-footer__accent {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--scroll-tiffany) 20%, var(--brand) 50%, #22d3ee 78%, transparent);
  opacity: 0.85;
}

.site-footer__wrap {
  padding-top: 2.75rem;
}

.site-footer__grid {
  display: grid;
  gap: 2.25rem 2.5rem;
  align-items: start;
  grid-template-columns: 1fr;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 720px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2rem 2rem;
  }

  .site-footer__aside {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1000px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.05fr) minmax(0, 0.9fr);
    gap: 2.5rem 2.5rem;
  }

  .site-footer__aside {
    grid-column: auto;
  }
}

.site-footer__logo {
  display: inline-block;
  margin-bottom: 1rem;
  text-decoration: none;
  border-radius: 8px;
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.site-footer__logo:hover {
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(10, 186, 181, 0.35);
}

.site-footer__logo:focus-visible {
  outline: 2px solid var(--scroll-tiffany);
  outline-offset: 4px;
}

.site-footer__mark {
  display: block;
  width: auto;
  max-width: min(200px, 60vw);
  max-height: 40px;
  height: auto;
  object-fit: contain;
  object-position: left center;
  opacity: 0.92;
}

.site-footer__tagline {
  margin: 0 0 0.9rem;
  max-width: 40ch;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.site-footer__tagline strong {
  color: rgba(245, 247, 255, 0.88);
  font-weight: 600;
}

.site-footer__mono {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
  max-width: 40ch;
}

.site-footer__h {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--scroll-tiffany-bright);
  margin: 0 0 0.9rem;
  line-height: 1.3;
}

.site-footer__nav {
  min-width: 0;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 420px) {
  .site-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .site-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.site-footer__links a {
  color: rgba(245, 247, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.15rem 0;
  text-decoration-color: transparent;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
  border-radius: 4px;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--scroll-tiffany);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

.site-footer__links a:focus-visible {
  outline: 2px solid var(--scroll-tiffany);
  outline-offset: 2px;
}

.site-footer__aside {
  padding: 1.15rem 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(150deg, rgba(12, 15, 22, 0.95) 0%, rgba(5, 6, 10, 0.98) 100%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.site-footer__aside .site-footer__h {
  margin-bottom: 0.5rem;
}

.site-footer__aside-text {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 34ch;
}

.site-footer__wa {
  width: 100%;
  max-width: 20rem;
  font-size: 0.9rem;
  padding: 0.65rem 1.1rem;
}

@media (min-width: 1000px) {
  .site-footer__wa {
    width: auto;
  }
}

.site-footer__bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding-top: 1.5rem;
}

@media (min-width: 600px) {
  .site-footer__bar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
}

.site-footer__legal {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(245, 247, 255, 0.45);
  max-width: 42ch;
}

.site-footer__top {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  white-space: nowrap;
  border-radius: 4px;
  padding: 0.2rem 0;
  transition: color 0.2s ease;
}

.site-footer__top:hover,
.site-footer__top:focus-visible {
  color: var(--scroll-tiffany-bright);
}

.site-footer__top:focus-visible {
  outline: 2px solid var(--scroll-tiffany);
  outline-offset: 3px;
}

/* Floating WhatsApp
   ----------------------------------------------------------------- */
.float-wa {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: var(--z-float);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  overflow: visible;
}

/* Balão informativo (só em desktop, ver media query) */
.float-wa__tip {
  position: absolute;
  right: calc(100% + 0.4rem);
  top: 50%;
  z-index: 1;
  translate: 0.45rem -50%;
  margin: 0;
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  padding: 0.5rem 0.7rem;
  color: var(--text-strong);
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    translate 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Seta a “sair” do círculo, para o balão */
.float-wa__tip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  width: 0;
  height: 0;
  translate: 0 -50%;
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent var(--line-strong);
  filter: drop-shadow(1px 0 0 rgba(0, 0, 0, 0.2));
}

.float-wa__tip::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -5px;
  width: 0;
  height: 0;
  translate: 0 -50%;
  border-width: 5px 0 5px 5px;
  border-style: solid;
  border-color: transparent transparent transparent var(--bg-elevated);
  z-index: 1;
}

/* Cores oficiais do botão de marca WhatsApp (identificação visual) */
.float-wa--brand {
  background: #25d366;
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.float-wa--brand:hover {
  color: #fff;
  background: #20bd5a;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.55);
  filter: brightness(1.02);
  transform: translateY(-2px);
}

.float-wa__icon {
  display: block;
  margin: 0;
  flex-shrink: 0;
}

.float-wa:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #25d366, 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* Tooltip só em desktop, dispositivo com hover fino (rato/trackpad) */
@media (min-width: 901px) and (hover: hover) {
  .float-wa:hover .float-wa__tip,
  .float-wa:focus-visible .float-wa__tip {
    opacity: 1;
    visibility: visible;
    translate: 0 -50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .float-wa {
    transition: none;
  }

  .float-wa__tip {
    transition: opacity 0.2s ease, visibility 0.2s ease;
    translate: 0 -50%;
  }

  .float-wa:hover {
    transform: none;
  }
}

/* Seção 8: fecho com painel, trilha de atalhos
   ----------------------------------------------------------------- */
.section--closer {
  position: relative;
  padding-block: 3.25rem 3.5rem;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(100% 80% at 15% 0%, rgba(20, 184, 166, 0.12), transparent 55%),
    radial-gradient(90% 60% at 100% 100%, rgba(14, 165, 233, 0.08), transparent 50%),
    var(--bg-tint);
}

.closer {
  max-width: 52rem;
  margin-inline: auto;
}

.closer__panel {
  position: relative;
  padding: 1.75rem 1.4rem 1.85rem;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(155deg, rgba(12, 16, 26, 0.97), rgba(7, 8, 12, 0.88));
  box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.12), 0 24px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

@media (min-width: 600px) {
  .closer__panel {
    padding: 2rem 1.85rem 2.1rem;
  }
}

.closer__glow {
  position: absolute;
  inset: -45%;
  background: conic-gradient(
    from 200deg at 50% 45%,
    rgba(20, 184, 166, 0.2),
    transparent 35%,
    rgba(34, 211, 238, 0.1),
    transparent 65%,
    rgba(20, 184, 166, 0.15)
  );
  animation: conic-rotate 14s linear infinite;
  opacity: 0.55;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .closer__glow {
    animation: none;
    opacity: 0.35;
  }
}

.closer__content {
  position: relative;
  z-index: 1;
}

.closer__tag {
  margin: 0.35rem 0 0.5rem;
  max-width: 50ch;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 1.02rem;
}

.closer__strip {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

@media (min-width: 700px) {
  .closer__strip {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
    gap: 0.85rem;
  }
}

@media (min-width: 1024px) {
  .closer__strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.closer__strip li {
  margin: 0;
  list-style: none;
  min-width: 0;
}

.closer__step {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
  min-height: 6.75rem;
  padding: 0.9rem 0.95rem 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(7, 8, 12, 0.65));
  color: var(--text-muted);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  outline-offset: 3px;
}

.closer__step:hover {
  transform: translateY(-3px);
  border-color: rgba(20, 184, 166, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.closer__step:focus-visible {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.35);
}

.closer__step--flow {
  border-color: rgba(56, 189, 248, 0.28);
  background: linear-gradient(165deg, rgba(14, 165, 233, 0.14), rgba(7, 8, 12, 0.78));
}

.closer__step--flow:hover {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 12px 32px rgba(14, 165, 233, 0.12);
}

.closer__step--wa {
  border-color: rgba(37, 211, 102, 0.22);
  background: linear-gradient(165deg, rgba(37, 211, 102, 0.12), rgba(7, 8, 12, 0.75));
}

.closer__step--wa:hover {
  border-color: rgba(37, 211, 102, 0.55);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.15);
}

@media (prefers-reduced-motion: reduce) {
  .closer__step:hover,
  .closer__step--flow:hover,
  .closer__step--wa:hover {
    transform: none;
  }
}

.closer__step-n {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: #38bdf8;
  margin-bottom: 0.4rem;
}

.closer__step-n--flow {
  color: #7dd3fc;
}

.closer__step-n--wa {
  color: #4ade80;
}

.closer__step-t {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-right: 1.5rem;
}

.closer__step-tt {
  font-family: "Outfit", "DM Sans", system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-strong);
  line-height: 1.3;
}

.closer__step-d {
  font-size: 0.8rem;
  line-height: 1.45;
  opacity: 0.92;
}

.closer__wa-ico {
  position: absolute;
  top: 0.9rem;
  right: 0.85rem;
  color: #4ade80;
  opacity: 0.9;
  filter: drop-shadow(0 0 8px rgba(37, 211, 102, 0.35));
}

/* Fecho (8): fundo de secção claro; a “janela” do painel mantém o estilo escuro */
.section--closer.section--surface-light {
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 42%, #e8eef4 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.section--closer.section--surface-light .closer__panel .section__kicker {
  color: var(--brand-bright);
}

.section--closer.section--surface-light .closer__panel .section__h,
.section--closer.section--surface-light .closer__panel .section__h--lg {
  color: var(--text-strong);
}

/* Sombra nas células bento ao hover (tilt: script.js) */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .bento__cell:hover,
  .is-enhanced [data-stagger].is-inview > .bento__cell:hover {
    box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.32);
  }
}

