/* AGENCY DALLAS — PREMIUM DESIGN SYSTEM (Clean & Professional Corporate Typography) */
/* Fontes carregadas via <link> no <head> do index.html (o @import bloqueia a renderização) */

:root {
  --bg: #050505;
  --bg-card: #0e0e0e;
  --bg-card-hover: #161616;
  --white: #ffffff;
  --muted: #8a8a8a;
  --subtle: #8a8a8a;
  --accent: #ffffff;
  --accent-soft: rgba(255, 255, 255, 0.1);
  --accent-line: rgba(255, 255, 255, 0.45);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.2);
  --glow: rgba(255, 255, 255, 0.06);
  --cta-green: #25d366;
  --cta-green-hover: #1ebe5b;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 9999px;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background: var(--bg);
}

/* — CUSTOM SELECTION — */
::selection {
  background: var(--white);
  color: var(--bg);
}

::-moz-selection {
  background: var(--white);
  color: var(--bg);
}

/* — CUSTOM SCROLLBAR — */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-button,
::-webkit-scrollbar-button:single-button,
::-webkit-scrollbar-button:vertical:decrement,
::-webkit-scrollbar-button:vertical:increment,
::-webkit-scrollbar-button:horizontal:decrement,
::-webkit-scrollbar-button:horizontal:increment,
::-webkit-scrollbar-button:start,
::-webkit-scrollbar-button:end {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

::-webkit-scrollbar-track {
  background: #080808;
}

::-webkit-scrollbar-thumb {
  background: #888888;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ffffff;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #888888 #080808;
}

/* — CUSTOM CURSOR — */
/* posição via transform (script.js), sem recalcular layout a cada quadro */
.cursor-dot {
  position: fixed;
  left: 0;
  top: 0;
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate3d(-100px, -100px, 0);
  transition: width .3s var(--ease), height .3s var(--ease), background .3s ease, opacity .25s ease;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate3d(-100px, -100px, 0);
  transition: width .4s var(--ease), height .4s var(--ease), border-color .3s ease, background .3s ease, opacity .25s ease;
}

/* sobre a lente de raio-X do hero a própria lente vira o cursor */
body.cursor-hidden .cursor-dot,
body.cursor-hidden .cursor-ring {
  opacity: 0;
}

.cursor-dot.active {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.08);
}

.cursor-ring.active {
  width: 80px;
  height: 80px;
  border-color: rgba(255, 255, 255, 0.15);
}

@media(max-width:1024px) {

  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

/* — SCROLL PROGRESS — */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--white);
  z-index: 99999;
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

/* — NOISE OVERLAY — */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* — LAYOUT — */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.section-padding {
  padding: 120px 0;
  position: relative;
}

@media(max-width:768px) {
  .section-padding {
    padding: 80px 0;
  }
}

/* — SECTION DIVIDER — */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1) 50%, transparent);
  margin: 0;
  position: relative;
  z-index: 2;
}

/* — TYPOGRAPHY — */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--white);
}

.highlight-box {
  background: var(--white);
  color: var(--bg);
  padding: 4px 16px;
  border-radius: 10px;
  display: inline-block;
  font-weight: 900;
}

/* Destaque sutil nos títulos das seções (o highlight branco fica só no hero) */
.accent-u {
  text-decoration: underline;
  text-decoration-color: var(--accent-line);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

/* — EYEBROW — */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.eyebrow-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 10px var(--white);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 6px var(--white);
  }

  50% {
    box-shadow: 0 0 16px var(--white);
  }
}

/* — STAT CHIPS — */
.stat-chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all .4s var(--ease);
}

.stat-chip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

.stat-chip:hover::after {
  opacity: 1;
}

.stat-chip:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.stat-chip .number {
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  display: inline-block;
  white-space: nowrap;
}

.stat-chip .label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* — BUTTONS — */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all .4s var(--ease);
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .6s ease, height .6s ease, opacity .4s ease;
  pointer-events: none;
  opacity: 0;
}

.btn:active::before {
  width: 400px;
  height: 400px;
  opacity: 1;
  transition: width .1s, height .1s;
}

.btn-dallas-white {
  background: var(--white);
  color: var(--bg);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.btn-dallas-white:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border-hover);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--white);
  transform: translateY(-3px);
}

/* CTAs de WhatsApp em verde */
.btn[data-wa-action],
.whatsapp-float {
  background: var(--cta-green);
  color: var(--white);
  border: 1px solid var(--cta-green);
  animation: cta-glow 2.4s ease-in-out infinite;
}

.btn[data-wa-action]:hover,
.whatsapp-float:hover {
  background: var(--cta-green-hover);
  border-color: var(--cta-green-hover);
  transform: translateY(-3px) scale(1.03);
  animation-play-state: paused;
  box-shadow: 0 0 0 6px rgba(37, 211, 102, 0.18), 0 10px 36px rgba(37, 211, 102, 0.55);
}

@keyframes cta-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45), 0 0 18px rgba(37, 211, 102, 0.35);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0), 0 0 32px rgba(37, 211, 102, 0.6);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn[data-wa-action],
  .whatsapp-float {
    animation: none;
    box-shadow: 0 0 24px rgba(37, 211, 102, 0.45);
  }
}

/* Variante discreta (Combos 1 e 3): só borda verde, para o Combo 2 continuar em destaque */
.btn[data-wa-action].btn-cta-soft {
  background: transparent;
  color: var(--cta-green);
  border: 1px solid var(--cta-green);
  animation: none;
  box-shadow: none;
}

.btn[data-wa-action].btn-cta-soft:hover {
  background: var(--cta-green);
  color: var(--white);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.35);
}

.btn-full {
  width: 100%;
}

/* — NAVBAR — */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background: transparent;
  transition: all .5s var(--ease);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
}

.logo-img {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
  transition: transform .3s var(--ease);
}

.logo-brand:hover .logo-img {
  transform: scale(1.1) rotate(-3deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
}

@media(max-width:768px) {
  .nav-links {
    display: none;
  }
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color .3s ease;
  position: relative;
  z-index: 1;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* telas médias: menu mais compacto para caber numa linha só */
@media (max-width: 1180px) {
  .nav-links a {
    padding: 8px 9px;
    font-size: 0.8rem;
  }

  .logo-brand span,
  #nav-cta-btn {
    white-space: nowrap;
  }
}

/* tablet em pé: sem espaço para o menu completo (o mesmo comportamento do celular) */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--white);
}

/* pílula que desliza até o link sob o mouse ou da seção visível (script.js) */
.nav-indicator {
  position: absolute;
  left: 0;
  top: 50%;
  height: 34px;
  margin-top: -17px;
  width: 0;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  opacity: 0;
  pointer-events: none;
  transition: transform .55s var(--ease), width .55s var(--ease), opacity .3s ease;
}

.nav-links a:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* — HERO — */
.hero {
  padding-top: 180px;
  padding-bottom: 120px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  /* minmax(0, …): a barra de endereço da vitrine não pode alargar a coluna da direita */
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 60px;
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
}

@media(max-width:992px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .hero-actions,
  .hero-chips-inline {
    justify-content: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .eyebrow {
    justify-content: center;
  }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 24px;
}

.hero-lead {
  display: block;
  font-size: 0.5em;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--muted);
  margin-bottom: 14px;
}

@media(max-width:768px) {
  .hero h1 {
    font-size: 2.1rem;
  }
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-chips-inline {
  display: flex;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* — DEVICE FRAME — */
.device-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.device-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.dots {
  display: flex;
  gap: 6px;
}

.dot-red,
.dot-yellow,
.dot-green {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red {
  background: #ef4444;
}

.dot-yellow {
  background: #f59e0b;
}

.dot-green {
  background: #10b981;
}

.url-bar {
  background: rgba(255, 255, 255, 0.04);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  color: var(--subtle);
  font-family: var(--mono);
  /* largura fixa: o endereço é "digitado" sem a barra mudar de tamanho.
     contain: o texto não alarga a vitrine em telas estreitas */
  flex: 1 1 auto;
  max-width: 300px;
  min-width: 0;
  contain: inline-size;
  margin: 0 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* cursor de digitação enquanto o endereço é escrito */
.url-bar.is-typing #showcase-url::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -0.2em;
  background: currentColor;
  animation: caret-blink .9s steps(2, start) infinite;
}

@keyframes caret-blink {
  to { visibility: hidden; }
}

.mockup-canvas {
  height: 300px;
  background: #080808;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  text-align: center;
}

/* — HERO: VITRINE DE PROJETOS REAIS — */
.hero-showcase {
  position: relative;
  padding: 36px 0;
}

.hero-showcase-glow {
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(circle at 50% 50%, rgba(37, 211, 102, 0.22), rgba(255, 255, 255, 0.05) 45%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  animation: showcase-glow 6s ease-in-out infinite;
}

@keyframes showcase-glow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.hero-showcase .device-frame {
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 60px rgba(37, 211, 102, 0.12);
}

.url-lock {
  font-size: 0.6rem;
}

.showcase-live {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 84px;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: #22c55e;
  letter-spacing: 0.06em;
  transition: color .4s ease;
}

/* enquanto a página "é publicada" na vitrine */
.showcase-live.is-building {
  color: var(--muted);
}

.showcase-live.is-building .live-dot {
  background: var(--white);
  animation: caret-blink .7s steps(2, start) infinite;
}

.showcase-canvas {
  position: relative;
  height: auto;
  aspect-ratio: 16 / 10;
  padding: 0;
  overflow: hidden;
  display: block;
}

.showcase-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1s var(--ease), transform 6s linear;
}

.showcase-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.showcase-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 36px 14px 12px;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.92), transparent);
  text-align: left;
}

.showcase-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--cta-green);
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.showcase-tag-icon {
  flex-shrink: 0;
}

.showcase-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity .4s ease;
}

.hero-float {
  position: absolute;
  z-index: 3;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  background: rgba(20, 20, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
  animation: hero-float 5s ease-in-out infinite;
  pointer-events: none;
}

.hero-float--top {
  top: 4px;
  left: -28px;
}

.hero-float--right {
  top: 42%;
  right: -34px;
  animation-delay: -1.6s;
}

.hero-float--left {
  bottom: 70px;
  left: -44px;
  animation-delay: -3.2s;
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* com mouse, os selos param de flutuar sozinhos e ganham profundidade seguindo o cursor (script.js) */
@media (hover: hover) and (pointer: fine) {
  .hero-float {
    animation: none;
  }
}

.hero-notify {
  position: absolute;
  z-index: 4;
  right: -20px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 270px;
  padding: 10px 14px;
  border-radius: 14px;
  text-align: left;
  background: rgba(18, 18, 18, 0.92);
  border: 1px solid rgba(37, 211, 102, 0.35);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6), 0 0 24px rgba(37, 211, 102, 0.18);
  backdrop-filter: blur(12px);
  pointer-events: none;
  /* aparece logo depois que a página da vitrine fica "no ar" (script.js) */
  opacity: 0;
  transform: translateY(16px) scale(0.95);
  transition: opacity .5s var(--ease), transform .7s var(--ease);
}

.hero-notify.is-in {
  opacity: 1;
  transform: none;
}

.hero-notify-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cta-green);
  color: #fff;
}

.hero-notify-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.35;
}

.hero-notify-text strong {
  font-size: 0.78rem;
  color: #fff;
}

/* Vitrine maior: avança sobre o espaço livre ao lado da coluna */
@media (min-width: 993px) {
  .hero-showcase {
    width: 112%;
    margin-left: -6%;
  }
}

/* notebooks pequenos: sem espaço sobrando, a vitrine ocupa só a própria coluna */
@media (min-width: 993px) and (max-width: 1200px) {
  .hero-showcase {
    width: 100%;
    margin-left: 0;
  }

  .hero-float--right {
    right: -12px;
  }
}

@media (min-width: 1360px) {
  .hero-showcase {
    width: 128%;
    margin-left: -8%;
  }

  .hero-float--right {
    right: -20px;
  }
}

@media (min-width: 1500px) {
  .hero-showcase {
    width: 145%;
    margin-left: 3%;
  }
}

@media (max-width: 992px) {
  .hero-showcase {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }

  .hero-float--top { left: 0; }
  .hero-float--right { right: 0; }
  .hero-float--left { left: 0; bottom: auto; top: 60%; }
  .hero-notify { right: 0; }
}

@media (max-width: 600px) {
  .hero-float--right,
  .hero-float--left {
    display: none;
  }

  .hero-notify {
    left: 50%;
    right: auto;
    margin-left: -135px;
    bottom: -8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-showcase-glow,
  .hero-float {
    animation: none;
  }

  .hero-notify {
    opacity: 1;
    transform: none;
  }
}

/* — CASE SECTION — */
.signature-case-wrapper {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

@media(max-width:992px) {
  .signature-case-wrapper {
    grid-template-columns: 1fr;
  }
}

.case-text-side {
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

@media(max-width:768px) {
  .case-text-side {
    padding: 36px 24px;
  }
}

.case-visual-side {
  position: relative;
  background: #080808;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.diagonal-white-cut {
  position: absolute;
  top: -20%;
  right: -20%;
  width: 140%;
  height: 140%;
  background: var(--white);
  clip-path: polygon(45% 0, 100% 0, 100% 100%, 15% 100%);
  z-index: 1;
  opacity: 0.9;
}

/* Composição de projetos reais no lado direito do case */
.case-stack {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 11 / 10;
}

.case-window {
  position: absolute;
  width: 64%;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7);
  transition: transform .6s var(--ease);
}

.case-window img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.case-window-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  background: #151515;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.case-window-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3a3a3a;
}

.case-window-bar em {
  margin-left: 8px;
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--subtle);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.case-window--back {
  z-index: 1;
  top: 2%;
  right: 12%;
  transform: rotate(3deg);
  opacity: 0.85;
}

.case-window--front {
  z-index: 2;
  top: 30%;
  left: 19%;
  transform: rotate(-2deg);
}

/* Celulares com os Links na Bio */
.case-phone {
  position: absolute;
  z-index: 3;
  width: 22%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform .6s var(--ease);
}

.case-phone-screen {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  padding: 4px;
  border-radius: 18px;
  background: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.75);
  overflow: hidden;
}

.case-phone-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px;
}

.case-phone-label {
  font-size: 0.6rem;
  line-height: 1.3;
  text-align: center;
  color: var(--muted);
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(14, 14, 14, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.case-phone-label strong {
  color: var(--white);
  font-weight: 700;
}

.case-phone--right {
  top: 0;
  right: 0;
  transform: rotate(5deg);
}

.case-phone--left {
  bottom: 0;
  left: 0;
  transform: rotate(-5deg);
}

.signature-case-wrapper:hover .case-phone--right {
  transform: rotate(6deg) translate(6px, -6px);
}

.signature-case-wrapper:hover .case-phone--left {
  transform: rotate(-6deg) translate(-6px, 4px);
}

.signature-case-wrapper:hover .case-window--back {
  transform: rotate(4deg) translate(8px, -6px);
}

.signature-case-wrapper:hover .case-window--front {
  transform: rotate(-3deg) translate(-8px, 4px);
}

.case-result {
  position: absolute;
  right: 4%;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 14px;
  background: rgba(14, 14, 14, 0.94);
  border: 1px solid rgba(37, 211, 102, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 26px rgba(37, 211, 102, 0.16);
  backdrop-filter: blur(10px);
  animation: hero-float 5s ease-in-out infinite;
}

.case-result-photo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 12%;
  border: 2px solid var(--cta-green);
}

.case-result-number {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--cta-green);
  line-height: 1.1;
}

.case-result-label {
  font-size: 0.75rem;
  color: var(--white);
  font-weight: 600;
}

.case-result-author {
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 2px;
}

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

/* — PORTFOLIO GRID — */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

@media(max-width:992px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:640px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  will-change: transform;
  transition: all .5s var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.portfolio-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.04), transparent 50%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
  z-index: 3;
  border-radius: inherit;
}

.portfolio-card:hover::after {
  opacity: 1;
}

.portfolio-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 255, 255, 0.04);
}

.portfolio-card.reveal-stagger {
  opacity: 0;
  transform: translateY(50px) scale(0.96);
}

.portfolio-card.reveal-stagger.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: all .7s var(--ease);
}

.portfolio-device-header {
  background: #080808;
  padding: 16px;
  height: 220px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.portfolio-niche-label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--white);
  color: var(--bg);
  font-weight: 900;
  font-size: 0.68rem;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  z-index: 5;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.portfolio-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.portfolio-body h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.portfolio-body p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.portfolio-body a,
.portfolio-body .btn {
  margin-top: auto;
}

/* — GALERIA DE PÁGINAS INTEIRAS (Portfólio) — */
.gallery-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.gallery-item,
.gallery-phone {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}

.gallery-window {
  position: relative;
  height: 560px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
  transition: border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}

/* A imagem é a página inteira; ao passar o mouse ela "rola" do topo até o fim */
.gallery-window img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: object-position 1.2s var(--ease);
}

.gallery-item:hover .gallery-window img {
  object-position: bottom center;
  transition: object-position 9s linear;
}

.gallery-item:hover .gallery-window,
.gallery-phone:hover .gallery-phone-frame {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.65), 0 0 30px rgba(37, 211, 102, 0.12);
}

.gallery-caption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.gallery-caption h3 {
  font-size: 1.05rem;
  color: var(--white);
}

.gallery-niche {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.gallery-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cta-green);
}

.gallery-phones-header {
  text-align: center;
  margin: 72px auto 32px;
}

.gallery-phones-header h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.gallery-phones-header p {
  font-size: 0.92rem;
  color: var(--muted);
}

.gallery-phones {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.gallery-phone {
  width: 240px;
  align-items: center;
}

.gallery-phone .gallery-caption {
  align-items: center;
  text-align: center;
}

.gallery-phone-frame {
  width: 100%;
  padding: 8px;
  border-radius: 34px;
  background: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6);
  transition: border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}

.gallery-window--phone {
  height: auto;
  aspect-ratio: 9 / 19.5;
  border-radius: 26px;
  border: none;
  box-shadow: none;
}

.gallery-phone:hover .gallery-window img {
  object-position: bottom center;
  transition: object-position 5s linear;
}

@media (max-width: 992px) {
  .gallery-columns {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .gallery-window {
    height: 480px;
  }
}

/* Celular/tablet (sem mouse): a pessoa rola a página dentro da janela com o dedo */
@media (hover: none) {
  .gallery-window {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .gallery-window img {
    height: auto;
    object-fit: initial;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-item:hover .gallery-window img,
  .gallery-phone:hover .gallery-window img {
    object-position: top center;
  }
}

/* — PREVIEW DOS PROJETOS (prints clicáveis que abrem o site ao vivo) — */
.static-print-header {
  padding: 0;
  height: 280px;
  background: #060608;
  position: relative;
  overflow: hidden;
}

.static-print-wrapper {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #060608;
}

.print-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s var(--ease);
}

.portfolio-card:hover .print-preview-img {
  transform: scale(1.05);
}

.live-preview-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
  background: linear-gradient(to bottom, transparent 40%, rgba(5, 5, 5, 0.7) 100%);
  transition: background .4s ease;
}

.portfolio-card:hover .live-preview-overlay {
  background: linear-gradient(to bottom, transparent 60%, rgba(5, 5, 5, 0.3) 100%);
}

.live-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--white);
  color: var(--bg);
  font-weight: 900;
  font-size: 0.62rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 5;
  text-transform: uppercase;
}

/* — EDITORIAL ELEGANT TESTIMONIALS — */
.editorial-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media(max-width: 992px) {
  .editorial-testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

.editorial-card {
  background: #101214;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.4s var(--ease);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.editorial-card:hover {
  background: #141619;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 255, 255, 0.05);
}

.editorial-card--screenshot {
  padding: 0;
  overflow: hidden;
}

.editorial-card--screenshot img {
  display: block;
  width: 100%;
  height: auto;
}

.editorial-stars {
  color: #f59e0b;
  font-size: 0.88rem;
  letter-spacing: 4px;
  margin-bottom: 24px;
}

.editorial-quote {
  font-size: 0.95rem;
  color: #e5e5e5;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 32px;
  font-weight: 400;
}

.editorial-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 24px;
}

.editorial-footer {
  display: flex;
  align-items: center;
  gap: 14px;
}

.editorial-initials {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.editorial-author-info {
  display: flex;
  flex-direction: column;
}

.editorial-author-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.editorial-author-niche {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 3px;
}

/* — PRICING COMPARISON TABLE — */
.pricing-comparison-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

@media(max-width: 640px) {
  .pricing-comparison-wrapper {
    padding: 24px 16px;
  }
}

.pricing-comparison-wrapper {
  margin-top: 56px;
}

.comparison-title {
  list-style: none;
  font-size: 1.25rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 28px;
  color: var(--white);
}

.comparison-title::-webkit-details-marker {
  display: none;
}

/* No celular a tabela fica recolhida: o título vira um botão de abrir/fechar */
@media(max-width: 768px) {
  .pricing-comparison-wrapper {
    margin-top: 32px;
  }

  .comparison-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 0;
    padding: 4px 0;
    font-size: 1.02rem;
    text-align: left;
    cursor: pointer;
  }

  .comparison-title::after {
    content: '+';
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 1px solid rgba(37, 211, 102, 0.4);
  }

  .pricing-comparison-wrapper[open] .comparison-title {
    margin-bottom: 20px;
  }

  .pricing-comparison-wrapper[open] .comparison-title::after {
    content: '−';
  }
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pricing-comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 0.9rem;
}

.pricing-comparison-table th,
.pricing-comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-comparison-table th {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.02);
}

.pricing-comparison-table th:first-child,
.pricing-comparison-table td.feature-name {
  text-align: left;
  font-weight: 700;
  color: var(--white);
  min-width: 180px;
}

.pricing-comparison-table tr:last-child td {
  border-bottom: none;
}

.pricing-comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.col-featured {
  background: rgba(255, 255, 255, 0.04) !important;
}

th.col-featured {
  color: #fff;
  border-top: 2px solid var(--accent);
}

.check-icon,
.cross-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.12);
  border: 1.5px solid rgba(37, 211, 102, 0.5);
}

.check-icon::before {
  content: '';
  width: 10px;
  height: 10px;
  background-color: var(--cta-green);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5L6.3 12L13 4.2' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5L6.3 12L13 4.2' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}

.cross-icon {
  width: 22px;
  height: 22px;
}

.cross-icon::before {
  content: '';
  width: 13px;
  height: 3px;
  border-radius: 2px;
  background: #ef5858;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-glow 1.5s ease-in-out infinite;
}

/* — SECTION HEADER — */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px auto;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 14px;
}

.section-header p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
}

/* — CLIENTES (ESTEIRA) — */
.clients-section {
  overflow: hidden;
}

.clients-avatar-stack {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.clients-avatar {
  width: 52px;
  height: 52px;
  margin-left: -12px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(145deg, #2a2a2a, #111);
  border: 2px solid var(--bg);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.clients-avatar {
  overflow: hidden;
}

.clients-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.clients-avatar:first-child {
  margin-left: 0;
}

.clients-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.clients-track {
  display: flex;
  gap: 32px;
  width: max-content;
  will-change: transform;
}

.client-card {
  position: relative;
  flex: 0 0 auto;
  width: 280px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  opacity: 0.45;
  filter: grayscale(1);
  transform: scale(0.94);
  transition: opacity .5s var(--ease), filter .5s var(--ease), transform .5s var(--ease), border-color .5s var(--ease);
}

.client-card.is-center,
.client-card:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1);
  border-color: var(--border-hover);
}

.client-photo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 35%, #2b2b2b 0%, #121212 70%);
}

.client-photo-initials {
  font-family: var(--mono);
  font-size: 3.2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.12);
  margin-bottom: 30%;
}

.client-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.client-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 60px 16px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.95) 30%, rgba(5, 5, 5, 0.6) 65%, transparent 100%);
}

.client-badge {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  margin-bottom: 6px;
}

.client-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.client-role {
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 600px) {
  .client-card {
    width: 220px;
  }

  .clients-track {
    gap: 18px;
  }
}

/* — FAQ — */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
  /* a altura é animada ao abrir/fechar (script.js) */
  overflow: hidden;
}

.faq-item[open] {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 70%), var(--bg-card);
}

.faq-item[open],
.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

/* "+" desenhado com duas linhas: gira 45° e vira "×" ao abrir */
.faq-item summary::after {
  content: '';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--white);
  border: 1px solid rgba(37, 211, 102, 0.4);
  background:
    linear-gradient(currentColor, currentColor) center / 11px 1.6px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.6px 11px no-repeat;
  transition: transform .45s var(--ease), border-color .3s ease, background-color .3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  border-color: var(--cta-green);
  background-color: rgba(37, 211, 102, 0.12);
}

.faq-item.is-closing summary::after {
  transform: none;
  border-color: rgba(37, 211, 102, 0.4);
  background-color: transparent;
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: -4px;
  border-radius: var(--radius-sm);
}

.faq-item p {
  padding: 0 22px 20px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--muted);
}

/* — PRICING — */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media(max-width:992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all .4s var(--ease);
}

.pricing-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.04), transparent 50%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

.pricing-card:hover::after {
  opacity: 1;
}

.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.pricing-card.featured {
  border: 1.5px solid var(--accent-line);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.08);
  padding: 44px 32px;
  transform: scale(1.06);
  z-index: 2;
  overflow: visible;
}

@media(max-width:992px) {
  .pricing-card.featured {
    transform: none;
  }
}

.pricing-card.featured:hover {
  transform: scale(1.06) translateY(-6px);
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  padding: 6px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.pricing-card .price {
  display: flex;
  align-items: flex-start;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--white);
  margin: 16px 0 22px 0;
}

.pricing-card.featured .price {
  color: var(--accent);
}

.combo-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--subtle);
  margin-bottom: 4px;
}

.pricing-card.featured .combo-label {
  color: var(--accent);
}

.price-currency {
  font-size: 0.42em;
  font-weight: 800;
  margin-top: 0.3em;
  margin-right: 4px;
}

.price-main {
  line-height: 1;
}

.price-tail {
  display: flex;
  flex-direction: column;
  margin-top: 0.22em;
  margin-left: 2px;
}

.price-cents {
  font-size: 0.5em;
  font-weight: 800;
  line-height: 1.1;
}

.price-unit {
  font-size: 0.235em;
  font-weight: 700;
  color: var(--muted);
  text-transform: lowercase;
  white-space: nowrap;
}

.pricing-bullets {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}

.pricing-bullets li {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 13px;
  position: relative;
  padding-left: 22px;
  line-height: 1.4;
}

.pricing-bullets li strong {
  color: var(--white);
}

.pricing-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 14px;
  height: 14px;
  background-color: var(--white);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5L6.3 12L13 4.2' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5L6.3 12L13 4.2' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}

/* — SELOS DE RISCO ZERO — */
.guarantee-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin: 40px 0 0;
  padding: 0;
}

.guarantee-strip li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}

.guarantee-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 211, 102, 0.12);
  border: 1.5px solid rgba(37, 211, 102, 0.5);
}

.guarantee-icon::before {
  content: '';
  width: 10px;
  height: 10px;
  background-color: var(--cta-green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5L6.3 12L13 4.2' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5L6.3 12L13 4.2' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media(max-width: 576px) {
  .guarantee-strip {
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    margin: 32px auto 0;
  }
}

/* — COMO FUNCIONA — */
#como-funciona {
  position: relative;
  overflow: hidden;
  /* "clip" corta o brilho de fundo sem quebrar o palco fixo (position: sticky) */
  overflow: clip;
}

#como-funciona::before {
  content: '';
  position: absolute;
  top: 38%;
  left: 50%;
  width: 900px;
  height: 520px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(37, 211, 102, 0.07), transparent 65%);
  pointer-events: none;
}

#como-funciona .container {
  position: relative;
}

.steps-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  margin: 0;
  padding: 0;
}

.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01) 45%), var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 34px 30px 36px;
  overflow: visible;
  transition: border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}

.step-card:hover {
  border-color: rgba(37, 211, 102, 0.45);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55), 0 0 40px rgba(37, 211, 102, 0.08);
}

/* número grande ao fundo */
.step-watermark {
  position: absolute;
  top: 14px;
  right: 22px;
  font-family: var(--mono);
  font-size: 4.6rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
  pointer-events: none;
  user-select: none;
  transition: -webkit-text-stroke-color .4s ease;
}

.step-card:hover .step-watermark {
  -webkit-text-stroke-color: rgba(37, 211, 102, 0.45);
}

.step-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cta-green);
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.35);
  box-shadow: inset 0 0 18px rgba(37, 211, 102, 0.12);
  margin-bottom: 22px;
  transition: background .4s ease, color .4s ease, transform .4s var(--ease);
}

.step-card:hover .step-icon {
  background: var(--cta-green);
  color: #04120a;
  transform: rotate(-6deg) scale(1.06);
}

.step-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  min-height: 24px;
  margin-bottom: 8px;
}

.step-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--cta-green);
  padding: 3px 9px;
  border: 1px solid rgba(37, 211, 102, 0.45);
  border-radius: var(--radius-pill);
}

.step-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cta-green);
  animation: pulse-glow 1.5s ease-in-out infinite;
}

.step-card h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--muted);
}

/* passos 1 e 2 com borda e brilho brancos (o verde fica só no último) */
.step-card:not(.step-card--final) {
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 36px rgba(255, 255, 255, 0.08);
}

.step-card:not(.step-card--final):hover {
  border-color: var(--white);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55), 0 0 48px rgba(255, 255, 255, 0.18);
}

.step-card:not(.step-card--final):hover .step-watermark {
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.4);
}

.step-card:not(.step-card--final) .step-icon {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.08), 0 0 18px rgba(255, 255, 255, 0.1);
}

.step-card:not(.step-card--final):hover .step-icon {
  background: var(--white);
  color: #0a0a0a;
}

.step-card:not(.step-card--final):not(:last-child)::after {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

/* último passo em destaque */
.step-card--final {
  border-color: rgba(37, 211, 102, 0.4);
  background: linear-gradient(160deg, rgba(37, 211, 102, 0.1), rgba(255, 255, 255, 0.01) 55%), var(--bg-card);
  box-shadow: 0 0 44px rgba(37, 211, 102, 0.08);
}

/* seta ligando um passo ao próximo */
.step-card:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 63px;
  left: calc(100% + 8px);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  line-height: 1;
  color: var(--cta-green);
  background: var(--bg);
  border: 1px solid rgba(37, 211, 102, 0.45);
  z-index: 2;
}

.steps-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 52px;
}

.steps-cta-note {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-align: center;
}

@media(max-width: 992px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    max-width: 520px;
    margin: 0 auto;
  }

  /* no celular a seta aponta para baixo */
  .step-card:not(:last-child)::after {
    top: calc(100% + 8px);
    left: 50%;
    margin-left: -14px;
    transform: rotate(90deg);
  }

  .step-card:hover {
    transform: none;
  }
}

@media(max-width: 576px) {
  .step-card {
    padding: 28px 22px 30px;
  }

  .step-watermark {
    font-size: 3.6rem;
  }
}

/* — COMO FUNCIONA: passos de um lado, palco fixo do outro (narrativa por rolagem) — */
.process {
  --steps-pad-top: 24vh;
  --steps-pad-bottom: 26vh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.process .steps-grid {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  gap: 30vh;
  padding: var(--steps-pad-top) 0 var(--steps-pad-bottom);
}

/* linha tracejada ligando os passos + trecho já percorrido (--progress vem do script.js) */
.process .steps-grid::before,
.process .steps-grid::after {
  content: '';
  position: absolute;
  z-index: 0;
  left: 60px;
  top: calc(var(--steps-pad-top) + 64px);
  bottom: var(--steps-pad-bottom);
  width: 1px;
}

.process .steps-grid::before {
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.22) 0 5px, transparent 5px 11px);
}

.process .steps-grid::after {
  background: linear-gradient(to bottom, var(--white), var(--cta-green));
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.6);
  transform: scaleY(var(--progress, 1));
  transform-origin: 50% 0;
}

.process .step-card {
  z-index: 1;
}

.process .step-card:not(:last-child)::after {
  display: none;
}

/* só o passo em foco fica aceso (classes aplicadas pelo script.js) */
.process.is-live .step-card {
  opacity: 0.3;
  transform: scale(0.97);
  transition: opacity .6s var(--ease), transform .7s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}

.process.is-live .step-card.is-active {
  opacity: 1;
  transform: none;
}

.process-stage {
  position: sticky;
  top: max(96px, calc(50vh - 250px));
  aspect-ratio: 10 / 8.2;
  container-type: inline-size;
}

.process-stage > * {
  position: absolute;
  font-size: 14px;
  font-size: clamp(9px, 2.35cqi, 14px);
}

/* janela do navegador */
.stage-window {
  top: 2%;
  right: 0;
  width: 88%;
  padding: 0.7em;
  border-radius: 1.1em;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: box-shadow .8s var(--ease), border-color .8s var(--ease);
}

.process-stage.is-on-air .stage-window {
  border-color: rgba(37, 211, 102, 0.45);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(37, 211, 102, 0.12), 0 0 70px rgba(37, 211, 102, 0.22);
}

.stage-bar {
  display: flex;
  align-items: center;
  gap: 0.8em;
  padding: 0 0.2em 0.65em;
  margin-bottom: 0.7em;
  border-bottom: 1px solid var(--border);
}

.stage-dots {
  display: flex;
  gap: 0.4em;
  flex-shrink: 0;
}

.stage-dots i {
  width: 0.62em;
  height: 0.62em;
  border-radius: 50%;
  background: #ef4444;
}

.stage-dots i:nth-child(2) {
  background: #f59e0b;
}

.stage-dots i:nth-child(3) {
  background: #10b981;
}

.stage-url {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.4em 0.9em;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--mono);
  font-size: 0.76em;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
}

.stage-url-lock {
  font-size: 0.85em;
}

.stage-url-text {
  overflow: hidden;
  text-overflow: ellipsis;
}

.process-stage.is-typing .stage-url-text::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -0.2em;
  background: currentColor;
  animation: caret-blink .9s steps(2, start) infinite;
}

.stage-status {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45em;
  flex-shrink: 0;
  min-width: 6.8em;
  font-size: 0.78em;
  font-weight: 700;
  color: var(--cta-green);
  transition: color .4s ease;
}

.stage-status i {
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0.8em currentColor;
}

.stage-status[data-state="draft"] {
  color: var(--muted);
}

.stage-status[data-state="publishing"] {
  color: var(--white);
}

.stage-status[data-state="publishing"] i {
  animation: caret-blink .7s steps(2, start) infinite;
}

/* tela: papel quadriculado vazio → planta → site real */
.stage-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 0.6em;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 24px 24px,
    #070908;
}

.stage-screen > * {
  position: absolute;
  inset: 0;
}

.stage-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 9% 12%;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 0.7em;
  font-size: 0.9em;
  font-weight: 600;
  color: var(--muted);
  opacity: 0;
}

.stage-page,
.stage-blueprint img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.stage-blueprint {
  clip-path: inset(100% 0 0 0);
}

/* linha de varredura que "renderiza" a página */
.stage-scan,
.showcase-scan {
  height: 100%;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.stage-scan::before,
.showcase-scan::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 2px;
  background: #c9ffe0;
  box-shadow: 0 0 14px 2px rgba(37, 211, 102, 0.85), 0 0 60px 10px rgba(37, 211, 102, 0.28);
}

.stage-scan::after,
.showcase-scan::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 90px;
  background: linear-gradient(to top, rgba(37, 211, 102, 0.22), transparent);
}

/* conversa do briefing */
.stage-chat {
  z-index: 2;
  left: 0;
  top: 24%;
  width: 56%;
  padding: 0.8em;
  border-radius: 1.2em;
  background: rgba(16, 19, 17, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
}

.stage-chat-head {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.1em 0.2em 0.7em;
  margin-bottom: 0.7em;
  border-bottom: 1px solid var(--border);
}

.stage-chat-head img {
  width: 2em;
  height: 2em;
  padding: 0.3em;
  border-radius: 50%;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.14);
  object-fit: contain;
}

.stage-chat-head strong {
  display: block;
  font-size: 0.86em;
  font-weight: 800;
}

.stage-chat-head small {
  display: block;
  font-size: 0.72em;
  font-weight: 600;
  color: var(--cta-green);
}

.bubble {
  width: fit-content;
  max-width: 86%;
  margin: 0 0 0.5em;
  padding: 0.55em 0.8em;
  border-radius: 1em;
  font-size: 0.8em;
  line-height: 1.38;
}

.bubble:last-child {
  margin-bottom: 0;
}

.bubble--in {
  background: #23282a;
  color: #e8ebe9;
  border-top-left-radius: 0.3em;
}

.bubble--out {
  margin-left: auto;
  background: #0d5236;
  color: #effff6;
  border-top-right-radius: 0.3em;
}

/* identidade visual do cliente (aparece no passo de design) */
.stage-swatches {
  z-index: 2;
  left: 3%;
  top: 14%;
  display: flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.5em 0.75em;
  border-radius: var(--radius-pill);
  background: rgba(18, 18, 18, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
}

.stage-swatches i {
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  background: var(--c);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.stage-swatches b {
  margin-left: 0.25em;
  font-size: 0.95em;
  font-weight: 800;
}

/* resultado: contato chegando no WhatsApp */
.stage-notify {
  z-index: 3;
  right: 2%;
  top: 60%;
  width: 54%;
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.75em 0.9em;
  border-radius: 1em;
  background: rgba(18, 18, 18, 0.95);
  border: 1px solid rgba(37, 211, 102, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65), 0 0 28px rgba(37, 211, 102, 0.18);
  backdrop-filter: blur(12px);
}

.stage-notify-icon {
  flex-shrink: 0;
  width: 2.3em;
  height: 2.3em;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cta-green);
  color: #fff;
}

.stage-notify-icon svg {
  width: 1.15em;
  height: 1.15em;
}

.stage-notify-text {
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  font-size: 0.78em;
  line-height: 1.35;
  color: var(--muted);
}

.stage-notify-text strong {
  font-size: 1.05em;
  color: #fff;
}

/* relógio de 0h a 72h */
.stage-clock {
  left: 12%;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 1em;
}

.stage-clock-value {
  min-width: 2.7em;
  font-size: 2.2em;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}

.stage-clock-value b {
  font-weight: 800;
}

.stage-clock-track {
  position: relative;
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.stage-clock-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(37, 211, 102, 0.35), var(--cta-green));
  transform-origin: 0 50%;
}

.stage-clock-cap {
  font-size: 0.82em;
  font-weight: 700;
  color: var(--muted);
}

@media(max-width: 992px) {
  .process {
    --steps-pad-top: 5vh;
    --steps-pad-bottom: 16vh;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .process .steps-grid {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    gap: 24vh;
  }

  /* no celular o palco fica no topo e os passos passam por baixo dele */
  .process-stage {
    order: -1;
    z-index: 3;
    top: 70px;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    aspect-ratio: 10 / 9.3;
  }

  /* faixa opaca atrás do palco: o texto dos passos some por baixo dele, sem passar sob o relógio */
  .process-stage::before {
    content: '';
    position: absolute;
    z-index: -1;
    /* de ponta a ponta da tela (o palco é centralizado) */
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    top: -80px;
    bottom: -44px;
    background: linear-gradient(to bottom, var(--bg) calc(100% - 30px), transparent);
  }

  .process-stage > * {
    font-size: clamp(10px, 3.05cqi, 14px);
  }

  .stage-window {
    width: 92%;
  }

  .stage-chat {
    top: 7%;
    width: 74%;
  }

  .stage-notify {
    top: 50%;
    width: 74%;
  }

  .stage-clock {
    left: 8%;
  }
}

/* — CTA BOX — */
.cta-box {
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.06) 0%, var(--bg-card) 70%);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  padding: 80px 30px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.03), transparent 30%);
  animation: rotate-glow 8s linear infinite;
  pointer-events: none;
}

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

/* luz verde que acompanha o mouse dentro da caixa (--mx/--my vêm do script.js) */
.cta-box::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 120%), rgba(37, 211, 102, 0.13), transparent 45%);
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}

.cta-box:hover::after {
  opacity: 1;
}

.cta-box > * {
  position: relative;
  z-index: 1;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 16px;
  position: relative;
}

.cta-box p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 34px;
  position: relative;
}

/* — FOOTER (AGENCY DALLAS EXCLUSIVE STYLE) — */
.footer {
  background: linear-gradient(180deg, var(--bg-card) 0%, #06070a 100%);
  border-top: none !important;
  padding: 72px 0 32px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 44px;
  margin-bottom: 56px;
}

@media(max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media(max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-col-brand .logo-brand {
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 18px;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.status-green-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse-glow 2s ease-in-out infinite;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}

.footer-social-btn:hover {
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}

.footer-col-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 20px;
  text-decoration: none !important;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* EFEITO AO PASSAR O MOUSE NA NAVEGAÇÃO E RECURSOS */
.footer-links a {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  position: relative;
  text-decoration: none !important;
}

.footer-links a::before {
  content: "→";
  font-size: 0.8rem;
  opacity: 0;
  transform: translateX(-8px);
  width: 0;
  margin-right: 0;
  color: var(--white);
  transition: all 0.3s var(--ease);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(6px);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(-4px);
  width: 14px;
  margin-right: 4px;
}

/* Glassmorphism Footer CTA Card */
.footer-cta-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-hover);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.footer-cta-text {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.footer-micro-note {
  font-size: 0.72rem;
  color: var(--subtle);
  margin-top: 12px;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--subtle);
  flex-wrap: wrap;
  gap: 12px;
}

.back-to-top-btn {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.back-to-top-btn:hover {
  color: var(--white);
  transform: translateY(-2px);
}

/* — WHATSAPP FLOAT — */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.9rem;
  transition: all .4s var(--ease);
  text-decoration: none;
}

.whatsapp-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

.whatsapp-float-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.whatsapp-float-price {
  display: none;
}

/* Celular: botão vira barra fixa na base, com o preço à vista */
@media(max-width: 768px) {
  .whatsapp-float {
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    justify-content: center;
    padding: 12px 20px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  }

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

  .whatsapp-float-label {
    font-size: 0.95rem;
  }

  .whatsapp-float-price {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    opacity: 0.92;
  }

  /* espaço para a barra não cobrir o rodapé */
  .footer {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
}

/* — SCROLL REVEAL BASE (GSAP handles opacity/transform via from()) — */
.reveal-up,
.reveal-scale,
.reveal-left,
.reveal-right,
.reveal-stagger {
  will-change: transform, opacity;
}

/* — GLASSMORPHISM UTILITY — */
.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--border);
}

/* — MAPA INTERATIVO (LEAFLET) — */
.map-interactive-container {
  position: relative;
  width: 100%;
  min-height: 480px;
  background: #090a0f;
  border-radius: var(--radius);
  overflow: hidden;
}

#leaflet-map-element {
  width: 100%;
  height: 480px;
  background: #090a0f;
  border-radius: var(--radius);
  z-index: 1;
}

.leaflet-container {
  background: #090a0f !important;
  font-family: var(--font-sans) !important;
}

.leaflet-control-zoom {
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 8px !important;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6) !important;
}

.leaflet-control-zoom a {
  background: #141622 !important;
  color: #fff !important;
  border-bottom-color: rgba(255, 255, 255, 0.15) !important;
}

/* Hide Leaflet attribution text completely */
.leaflet-control-attribution {
  display: none !important;
}

.leaflet-popup-content-wrapper {
  background: rgba(10, 12, 20, 0.94) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(12px) !important;
  padding: 0 !important;
}

.leaflet-popup-content {
  margin: 8px 12px !important;
  line-height: 1.3 !important;
}

.leaflet-popup-tip {
  background: rgba(10, 12, 20, 0.94) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
}

.leaflet-tooltip.map-custom-tooltip {
  background: rgba(10, 12, 20, 0.95) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(12px) !important;
  padding: 6px 10px !important;
}

.leaflet-tooltip.map-custom-tooltip::before {
  border-top-color: rgba(10, 12, 20, 0.95) !important;
}

/* Glassmorphism Map Popup Cards */
.map-popup-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-sans);
}

.map-popup-header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.map-popup-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff;
  display: inline-block;
}

.map-popup-card.is-main .map-popup-dot {
  width: 7px;
  height: 7px;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}

.map-popup-city {
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.map-popup-state {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  white-space: nowrap;
}

.map-popup-badge {
  color: #ffffff;
  font-weight: 700;
}

/* — REDUCED MOTION — */
@media(prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

/* — SCROLL PROMPT — */
.scroll-prompt-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 0;
  position: relative;
  z-index: 5;
}

.scroll-prompt-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  color: var(--white);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.03);
  transition: all 0.3s var(--ease);
}

.scroll-prompt-pill:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: var(--bg-card-hover);
  transform: translateY(3px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.08);
}

.scroll-prompt-arrow {
  display: inline-block;
  font-size: 0.95rem;
  animation: bounce-down 1.8s ease-in-out infinite;
}

@keyframes bounce-down {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(5px);
  }
}

/* ═══════════════════════════════════════════════════════════════
   EFEITOS — "do rascunho ao ar"
   Cada efeito mostra uma promessa da página acontecendo.
   ═══════════════════════════════════════════════════════════════ */

/* — ROLAGEM SUAVE (Lenis) — */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* — FOCO VISÍVEL (navegação por teclado) — */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* — HERO: entrada do desktop —
   Os elementos começam ocultos até o GSAP animá-los (script.js). Se o GSAP não carregar,
   o script remove .js-anim; e, se nem o script rodar, a animação abaixo os revela após 4s. */
@media (min-width: 769px) {
  .js-anim .hero .eyebrow,
  .js-anim .hero .hero-lead,
  .js-anim .hero .highlight-box,
  .js-anim .hero .hero-desc,
  .js-anim .hero .stat-chip,
  .js-anim .hero .hero-actions .btn,
  .js-anim .hero .device-frame,
  .js-anim .hero .hero-float {
    opacity: 0;
    animation: hero-failsafe 0s 4s forwards;
  }
}

@keyframes hero-failsafe {
  to {
    opacity: 1;
  }
}

/* — HERO: o mito é riscado antes da resposta — */
.myth {
  text-decoration: none;
  background-image: linear-gradient(var(--white), var(--white));
  background-repeat: no-repeat;
  background-position: 0 58%;
  background-size: 0% 0.09em;
  transition: background-size .5s cubic-bezier(0.65, 0, 0.35, 1), color .5s ease;
}

.hero h1.is-busted .myth {
  background-size: 100% 0.09em;
  color: #5c5c5c;
}

.hero h1.is-busted .myth + .myth {
  transition-delay: .28s;
}

.highlight-box {
  transform-origin: 30% 60%;
}

/* — HERO: planta → site no ar + lente de raio-X — */
@property --lens {
  syntax: '<length>';
  inherits: true;
  initial-value: 0px;
}

.showcase-canvas {
  --lx: 50%;
  --ly: 50%;
  --lens: 0px;
  transition: --lens .55s var(--ease);
}

.showcase-canvas.is-xray {
  --lens: 92px;
  cursor: none;
}

.showcase-xray {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: #04100a;
  -webkit-mask-image: radial-gradient(circle var(--lens) at var(--lx) var(--ly), #000 calc(100% - 1px), transparent 100%);
  mask-image: radial-gradient(circle var(--lens) at var(--lx) var(--ly), #000 calc(100% - 1px), transparent 100%);
}

.showcase-xray img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
}

.showcase-xray img.is-active {
  opacity: 1;
}

/* projeto sem planta pronta: raio-X aproximado com filtros */
.showcase-xray img.is-fallback {
  filter: grayscale(1) invert(1) contrast(1.5) sepia(0.7) hue-rotate(85deg) saturate(1.6) brightness(0.8);
}

/* antes da primeira varredura e durante cada uma, a planta cobre a tela inteira */
.showcase-canvas.is-armed .showcase-xray,
.showcase-canvas.is-building .showcase-xray {
  -webkit-mask-image: none;
  mask-image: none;
}

.showcase-canvas.is-building .showcase-xray {
  animation: xray-build 2.2s linear both;
}

.showcase-canvas.is-building .showcase-scan {
  visibility: visible;
  opacity: 1;
  animation: scan-build 2.2s linear both;
}

.showcase-canvas.is-building .showcase-scan::before,
.showcase-canvas.is-building .showcase-scan::after {
  animation: scan-glow 2.2s linear both;
}

/* a primeira varredura já começa com a planta cobrindo a tela */
.showcase-canvas.is-building.is-first .showcase-xray,
.showcase-canvas.is-building.is-first .showcase-scan,
.showcase-canvas.is-building.is-first .showcase-scan::before,
.showcase-canvas.is-building.is-first .showcase-scan::after {
  animation-delay: -0.4s;
}

/* durante a varredura o slide troca sem esmaecer (a planta já cobre a tela) */
.showcase-canvas.is-building .showcase-slide {
  transition: transform 6s linear;
}

@keyframes xray-build {
  0% {
    opacity: 0;
    clip-path: inset(0 0 0 0);
    animation-timing-function: ease-out;
  }

  18% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }

  30% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
  }

  100% {
    opacity: 1;
    clip-path: inset(100% 0 0 0);
  }
}

@keyframes scan-build {
  0%,
  30% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
  }

  100% {
    transform: translateY(100%);
  }
}

@keyframes scan-glow {
  0%,
  29% {
    opacity: 0;
  }

  31%,
  94% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.showcase-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 2;
}

/* aro da lente: cresce junto com a máscara (mesma variável --lens) */
.showcase-lens {
  position: absolute;
  z-index: 6;
  left: 0;
  top: 0;
  width: calc(var(--lens) * 2);
  height: calc(var(--lens) * 2);
  translate: calc(var(--lx) - 50%) calc(var(--ly) - 50%);
  border-radius: 50%;
  border: 1.5px solid rgba(37, 211, 102, 0.95);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35), 0 0 26px rgba(37, 211, 102, 0.45), inset 0 0 24px rgba(37, 211, 102, 0.28);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
}

.showcase-canvas.is-xray .showcase-lens {
  opacity: 1;
}

.showcase-canvas.is-building .showcase-lens {
  opacity: 0;
}

/* mira no centro */
.showcase-lens::before,
.showcase-lens::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(37, 211, 102, 0.95);
  translate: -50% -50%;
}

.showcase-lens::before {
  width: 14px;
  height: 1.5px;
}

.showcase-lens::after {
  width: 1.5px;
  height: 14px;
}

.showcase-lens-label {
  position: absolute;
  left: 50%;
  top: 100%;
  translate: -50% 8px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--cta-green);
  color: #04120a;
  font-size: 0.66rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

.showcase-lens.is-low .showcase-lens-label {
  top: auto;
  bottom: 100%;
  translate: -50% -8px;
}

/* — MANIFESTO — */
.manifesto {
  position: relative;
  padding: 150px 0 160px;
}

.manifesto-text {
  max-width: 21em;
  font-size: clamp(1.75rem, 4.4vw, 3.9rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.04em;
  color: var(--white);
  text-wrap: pretty;
}

@media(max-width: 768px) {
  .manifesto {
    padding: 96px 0 104px;
  }
}

/* — TÍTULOS: palavras entram desfocadas → nítidas (script.js separa as palavras) — */
.word {
  display: inline-block;
}

/* o sublinhado de destaque não passa para elementos inline-block: reaplica em cada palavra */
.accent-u .word {
  text-decoration: inherit;
}

/* — CASE: as peças se montam ao rolar (variáveis animadas pelo script.js) — */
.case-window,
.case-phone,
.case-result {
  translate: var(--ax, 0px) var(--ay, 0px);
  scale: var(--as, 1);
}

/* — PORTFÓLIO: colunas em velocidades diferentes — */
.gallery-item {
  translate: 0 var(--py, 0px);
}

/* — DEPOIMENTOS: os prints saem de um monte e se espalham — */
.editorial-card {
  translate: var(--fx, 0px) var(--fy, 0px);
  rotate: var(--fr, 0deg);
  scale: var(--fs, 1);
  /* sem "all": translate/rotate/scale seguem a rolagem quadro a quadro */
  transition-property: background, border-color, transform, box-shadow;
}

.editorial-testimonials-grid .editorial-card:nth-child(2) {
  z-index: 2;
}

/* — COMBO MAIS VENDIDO: feixe de luz percorrendo a borda — */
@property --beam {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.card-beam {
  position: absolute;
  inset: -1.5px;
  z-index: 3;
  border-radius: inherit;
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(37, 211, 102, 0.75)) drop-shadow(0 0 18px rgba(37, 211, 102, 0.35));
}

.card-beam::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--beam), transparent 0deg 230deg, rgba(37, 211, 102, 0.2) 270deg, var(--cta-green) 320deg, #ffffff 350deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: beam-spin 4.5s linear infinite;
}

@keyframes beam-spin {
  to {
    --beam: 360deg;
  }
}

/* — MAPA: arcos de conexão saindo de Salvador — */
.map-arc {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px rgba(37, 211, 102, 0.7));
}

.map-wrapper.is-connected .map-arc {
  animation: arc-draw 1.6s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 140ms);
}

@keyframes arc-draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* pulso de luz viajando de Salvador até a cidade */
.map-arc-flow {
  stroke-dasharray: 0.07 0.93;
  stroke-dashoffset: 0.07;
  stroke-linecap: round;
  opacity: 0;
}

.map-wrapper.is-connected.is-flowing .map-arc-flow {
  animation: arc-flow 2.8s cubic-bezier(0.45, 0, 0.25, 1) infinite;
  animation-delay: calc(1.6s + var(--i, 0) * 260ms);
}

@keyframes arc-flow {
  0% {
    stroke-dashoffset: 0.07;
    opacity: 1;
  }

  85% {
    opacity: 1;
  }

  100% {
    stroke-dashoffset: -1;
    opacity: 0;
  }
}

.map-pulse {
  position: relative;
  border-radius: 50%;
}

.map-pulse::before,
.map-pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--cta-green);
  opacity: 0;
}

.map-wrapper.is-connected .map-pulse::before,
.map-wrapper.is-connected .map-pulse::after {
  animation: map-ping 2.6s var(--ease) infinite;
}

.map-wrapper.is-connected .map-pulse::after {
  animation-delay: 1.3s;
}

.map-pulse--hq::before,
.map-pulse--hq::after {
  border-color: var(--white);
}

@keyframes map-ping {
  from {
    transform: scale(0.5);
    opacity: 0.9;
  }

  to {
    transform: scale(3.4);
    opacity: 0;
  }
}

/* — MOVIMENTO REDUZIDO: estados finais, sem animações automáticas — */
@media (prefers-reduced-motion: reduce) {
  .myth {
    background-size: 100% 0.09em;
    color: #5c5c5c;
  }

  .map-arc {
    stroke-dashoffset: 0;
  }
}

/* — INTRO: nome + contagem 0–100% antes do hero (só 1x por sessão; ver index.html) — */
.intro-screen {
  display: none;
}

.intro body {
  overflow: hidden;
}

.intro .intro-screen {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: grid;
  place-items: center;
  background: #000;
  color: var(--white);
  isolation: isolate;
}

/* painel branco da transição: nasce da linha de progresso e cobre a tela */
.intro-panel {
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: scaleY(0);
  transform-origin: 50% 100%;
}

/* "difference": o texto fica preto onde o painel branco passa por ele */
.intro-name,
.intro-count {
  mix-blend-mode: difference;
}

.intro-name {
  position: relative;
  overflow: hidden;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.9rem, 6vw, 4.2rem);
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.intro-name span {
  display: block;
  animation: intro-rise .7s var(--ease) both;
}

.intro-count {
  position: absolute;
  right: clamp(16px, 4vw, 56px);
  bottom: clamp(28px, 6vh, 64px);
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 1;
  color: #dfe6ee;
  font-variant-numeric: tabular-nums;
  animation: intro-fade .4s ease both;
}

.intro-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(14px, 3vh, 30px);
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.intro-bar i {
  display: block;
  height: 100%;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* saída 1: o painel sobe e inverte o nome e a contagem */
.intro-wipe .intro-panel {
  transform: scaleY(1);
  transition: transform .7s cubic-bezier(0.76, 0, 0.24, 1);
}

.intro-wipe .intro-bar {
  opacity: 0;
}

/* saída 2: o fundo preto some por trás do painel, que recolhe para cima revelando o site */
.intro-out .intro-screen {
  background: transparent;
}

.intro-out .intro-panel {
  transform: scaleY(0);
  transform-origin: 50% 0;
  transition: transform .8s cubic-bezier(0.76, 0, 0.24, 1);
}

.intro-out .intro-name span,
.intro-out .intro-count {
  animation: none;
  transform: translateY(-60%);
  opacity: 0;
  transition: transform .45s cubic-bezier(0.76, 0, 0.24, 1), opacity .3s ease;
}

@keyframes intro-rise {
  from {
    transform: translateY(105%);
  }
}

@keyframes intro-fade {
  from {
    opacity: 0;
  }
}
