/* ============================================================
   DESIGN TOKENS — Lime / Builder
   ============================================================ */
:root {
  --bg: #0a0a0a;
  --bg-deep: #050505;
  --bg-soft: #131313;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);

  --text: #ffffff;
  --text-soft: #d6d6d6;
  --text-muted: #8a8a8a;
  --text-dim: #5a5a5a;

  --lime: #ffffff;
  --lime-bright: #ffffff;
  --lime-deep: #d9dadd;
  --lime-glow: rgba(255, 255, 255, 0.4);
  --lime-soft: rgba(255, 255, 255, 0.1);

  --success: #25d366;
  --success-deep: #1faa53;
  --danger: #ff5f7e;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  --shadow-lime: 0 14px 50px -8px var(--lime-glow);
  --transition: 240ms cubic-bezier(0.4, 0, 0.2, 1);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  position: relative;
  letter-spacing: -0.01em;
}

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

button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, textarea { font-family: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.025em; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   PROTEÇÃO DE CONTEÚDO + UX MOBILE
   - Bloqueia seleção/cópia/drag de imagens
   - Mantém inputs e textareas selecionáveis (necessário pro quiz)
   - Remove highlight azul do tap no mobile
   ============================================================ */
html, body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

input, textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}

img {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
  -webkit-touch-callout: none;
}

/* ============================================================
   AMBIENT BACKDROP — green halo behind hero
   ============================================================ */
.backdrop {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
}
.bg-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.035) 30%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
    var(--bg);
}
.bg-glow {
  position: absolute;
  width: 800px; height: 600px;
  top: -300px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.16) 0%, transparent 60%);
  filter: blur(80px);
  animation: floatGlow 12s ease-in-out infinite;
}
@keyframes floatGlow {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(20px); }
}
.grain {
  position: absolute; inset: -50%;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 3px 3px;
  opacity: 0.5;
  mix-blend-mode: screen;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  display: flex; align-items: center; justify-content: center;
  padding: 28px 36px 18px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  display: block;
  height: 70px;
  width: auto;
  max-width: 384px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(255, 255, 255, 0.25));
  transition: filter var(--transition);
}
.brand-logo:hover {
  filter: drop-shadow(0 0 32px rgba(255, 255, 255, 0.45));
}
.brand-name {
  font-weight: 800;
  font-style: italic;
  font-size: 24px;
  letter-spacing: 0.005em;
  color: var(--text);
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

@media (max-width: 540px) {
  .site-header { padding: 22px 22px 14px; }
  .brand-logo { height: 58px; max-width: 288px; }
  .brand-name { font-size: 20px; }
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 28px 100px;
  position: relative;
  z-index: 1;
}
@media (max-width: 600px) {
  .container { padding: 30px 22px 80px; }
}

/* ============================================================
   SCREENS
   ============================================================ */
.screen { display: none; animation: fadeUp 600ms cubic-bezier(0.16, 1, 0.3, 1); }
.screen.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   INTRO
   ============================================================ */
#screen-intro {
  text-align: center;
  padding-top: 60px;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.intro-hero {
  position: relative;
}

.intro-title {
  font-size: clamp(36px, 6.5vw, 76px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  color: var(--text);
  position: relative;
  display: block;
}

/* Word reveal — blur + slide + fade */
.title-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  filter: blur(12px);
  animation: titleReveal 0.85s var(--d, 0s) cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes titleReveal {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* SELECTED WORD — Builder selection box (animated) */
.selected-word {
  position: relative;
  display: inline-block;
  padding: 0 14px;
  margin: 0 6px;
  border-radius: 6px;
  vertical-align: middle;
  isolation: isolate;
}
.selected-word {
  background: rgba(255, 255, 255, 0.04);
}
.selected-text {
  display: inline-block;
  position: relative;
  z-index: 1;
  color: var(--text);
  opacity: 0;
  transform: translateY(28px);
  filter: blur(12px);
  animation:
    titleReveal 0.85s 0.08s cubic-bezier(0.16, 1, 0.3, 1) forwards,
    textActivate 0.5s 2.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes textActivate {
  to {
    color: var(--lime);
    text-shadow:
      0 0 28px rgba(255, 255, 255, 0.7),
      0 0 12px rgba(255, 255, 255, 0.5),
      0 0 2px rgba(255, 255, 255, 0.3);
  }
}

/* === 4 LINHAS DASHED que desenham o contorno ===
   Desenho por transform: scale (compositor) — animar width/height
   forçava layout+paint a cada frame e serrilhava a caixa. */
.select-line {
  position: absolute;
  display: block;
  pointer-events: none;
  z-index: 1;
}
.line-top {
  top: -1.5px; left: 0;
  width: 100%; height: 0;
  border-top: 1.5px dashed var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
  animation: drawX 0.6s 0.4s cubic-bezier(0.45, 0, 0.55, 1) forwards;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
}
.line-right {
  top: 0; right: -1.5px;
  width: 0; height: 100%;
  border-right: 1.5px dashed var(--lime);
  transform: scaleY(0);
  transform-origin: center top;
  animation: drawY 0.6s 1.0s cubic-bezier(0.45, 0, 0.55, 1) forwards;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
}
.line-bottom {
  bottom: -1.5px; right: 0;
  width: 100%; height: 0;
  border-bottom: 1.5px dashed var(--lime);
  transform: scaleX(0);
  transform-origin: right center;
  animation: drawX 0.6s 1.6s cubic-bezier(0.45, 0, 0.55, 1) forwards;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
}
.line-left {
  bottom: 0; left: -1.5px;
  width: 0; height: 100%;
  border-left: 1.5px dashed var(--lime);
  transform: scaleY(0);
  transform-origin: center bottom;
  animation: drawY 0.6s 2.2s cubic-bezier(0.45, 0, 0.55, 1) forwards;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
}
@keyframes drawX { to { transform: scaleX(1); } }
@keyframes drawY { to { transform: scaleY(1); } }

/* === HANDLES — pop-in nos cantos depois das linhas === */
.select-handle {
  position: absolute;
  width: 9px; height: 9px;
  background: var(--lime);
  border-radius: 2px;
  z-index: 2;
  box-shadow: 0 0 12px var(--lime-glow), 0 0 4px var(--lime);
  transform: scale(0);
  animation: handlePop 0.5s cubic-bezier(0.34, 1.6, 0.64, 1) forwards;
}
.handle-tl { top: -5px; left: -5px;   animation-delay: 2.85s; }
.handle-tr { top: -5px; right: -5px;  animation-delay: 2.95s; }
.handle-br { bottom: -5px; right: -5px; animation-delay: 3.05s; }
.handle-bl { bottom: -5px; left: -5px;  animation-delay: 3.15s; }
@keyframes handlePop { to { transform: scale(1); } }

/* === CURSOR — percorre o perímetro com fluidez (easing por segmento) === */
.select-cursor {
  position: absolute;
  top: -10px; left: -10px;
  width: 18px; height: 18px;
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.8)) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.7));
  animation:
    cursorPath 3.4s 0.4s linear forwards,
    cursorIdle 5s 4s ease-in-out infinite;
}

@keyframes cursorIdle {
  0%, 100% { transform: translate(0, 0); }
  20%      { transform: translate(2.5px, 1.5px); }
  40%      { transform: translate(-1.5px, 2.5px); }
  60%      { transform: translate(2px, -1.5px); }
  80%      { transform: translate(-2.5px, -1px); }
}
.select-cursor svg {
  width: 100%; height: 100%;
  color: var(--lime);
}

@keyframes cursorPath {
  0%   { top: -10px; left: -10px; opacity: 0;
         animation-timing-function: ease-out; }
  3%   { top: -10px; left: -10px; opacity: 1;
         animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  /* TL → TR (sincronizado com top line) */
  18%  { top: -10px; left: calc(100% - 10px); opacity: 1;
         animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  /* TR → BR (sincronizado com right line) */
  35%  { top: calc(100% - 10px); left: calc(100% - 10px); opacity: 1;
         animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  /* BR → BL (sincronizado com bottom line) */
  53%  { top: calc(100% - 10px); left: -10px; opacity: 1;
         animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  /* BL → TL (sincronizado com left line) */
  71%  { top: -10px; left: -10px; opacity: 1;
         animation-timing-function: cubic-bezier(0.5, 0, 0.4, 1); }
  /* TL → TR (volta pra posição final) */
  100% { top: -10px; left: calc(100% - 10px); opacity: 1; }
}

/* === TAG — surge depois do cursor parar === */
.cursor-tag {
  position: absolute;
  top: 6px; right: -44px;
  padding: 3px 10px;
  background: var(--lime);
  color: #0a0a0a;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 4px 14px -2px var(--lime-glow), 0 0 8px var(--lime-glow);
  z-index: 5;
  opacity: 0;
  transform: translate(-8px, -4px) scale(0.8);
  animation: tagPop 0.5s 3.6s cubic-bezier(0.34, 1.5, 0.64, 1) forwards;
}
@keyframes tagPop {
  to { opacity: 1; transform: translate(0, 0) scale(1); }
}

@media (max-width: 600px) {
  .select-cursor { width: 14px; height: 14px; }
  .cursor-tag { font-size: 10px; padding: 2px 8px; right: -36px; top: 4px; }
}

/* LIGHT STREAKS — wavy lime trails atrás das bubbles (span viewport) */
.streaks {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 480px;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  overflow: visible;
  animation: streaksFadeIn 0.5s 0s ease-out forwards;
}
/* SEM filtros drop-shadow aqui: filtro em path com dash animado
   re-rasteriza o SVG inteiro (100vw) a cada frame — matava a fluidez */
.streaks path {
  fill: none;
  stroke: var(--lime);
  stroke-linecap: round;
  stroke-dasharray: 280 1500;
}
.streaks path:nth-child(1) {
  stroke-width: 1.2;
  opacity: 0.6;
  animation: flowStreak 9s linear infinite;
}
.streaks path:nth-child(2) {
  stroke-width: 0.8;
  opacity: 0.4;
  animation: flowStreak 13s linear infinite -3.5s;
}
.streaks path:nth-child(3) {
  stroke-width: 1.4;
  opacity: 0.7;
  animation: flowStreakReverse 11s linear infinite -6s;
}
.streaks path:nth-child(4) {
  stroke-width: 0.6;
  opacity: 0.35;
  animation: flowStreak 15s linear infinite -8s;
}

@keyframes streaksFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes flowStreak {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -1780; }
}
@keyframes flowStreakReverse {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: 1780; }
}

/* SPEECH BUBBLES flutuantes — glass translúcido */
.bubble {
  position: absolute;
  display: inline-flex; align-items: center;
  gap: 12px;
  padding: 11px 22px 11px 12px;
  background: rgba(8, 8, 8, 0.22);
  color: var(--text);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  z-index: 5;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow:
    0 0 32px rgba(255, 255, 255, 0.15),
    0 8px 30px -6px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translateY(20px) scale(0.94);
  animation: bubbleEnter 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards, bubbleFloat 5s ease-in-out infinite;
}

.bubble-icon {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: var(--lime);
  filter: drop-shadow(0 0 8px var(--lime-glow));
}
.bubble-icon svg { width: 18px; height: 18px; }

.bubble-content {
  display: flex; flex-direction: column;
  line-height: 1.2;
  gap: 1px;
}
.bubble-text {
  display: inline-block;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.bubble-sub {
  color: var(--lime);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.85;
}

/* Bubble mini — versão pequena (SEO) */
.bubble-mini {
  padding: 6px 14px;
  background: var(--lime);
  border: none;
  box-shadow: 0 6px 20px -4px var(--lime-glow);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.bubble-mini .bubble-text {
  color: #0a0a0a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Posicionamento */
.bubble-left {
  top: 56%; left: 1%;
  animation-delay: 0.55s, 1.6s;
}
.bubble-right {
  top: 64%; right: 1%;
  animation-delay: 0.9s, 1.95s;
}
.bubble-bottom {
  top: 14%; right: 8%;
  animation-delay: 0.7s, 1.75s;
}

@keyframes bubbleEnter {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 900px) {
  .bubble-left { left: -2%; top: 60%; transform-origin: left; }
  .bubble-right { right: -2%; top: 70%; transform-origin: right; }
}
@media (max-width: 768px) {
  .bubble { padding: 9px 18px 9px 10px; gap: 10px; }
  .bubble-icon { width: 34px; height: 34px; }
  .bubble-text { font-size: 12px; }
  .bubble-sub { font-size: 10px; }
  .bubble-left, .bubble-right { display: none; }
}

.intro-subtitle {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text-soft);
  max-width: 540px;
  margin: 36px auto 44px;
  line-height: 1.6;
  font-weight: 400;
  position: relative;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUpReveal 0.7s 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUpReveal {
  to { opacity: 1; transform: translateY(0); }
}

#startBtn {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUpReveal 0.7s 1.05s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.intro-bullets {
  list-style: none; padding: 0;
  margin: 56px 0 0;
  display: flex; gap: 32px;
  justify-content: center; flex-wrap: wrap;
}
.intro-bullets li {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: 14px;
  color: var(--text-soft);
  font-weight: 600;
  letter-spacing: 0.005em;
  opacity: 0;
  animation: fadeUpReveal 0.6s ease-out forwards;
}
.intro-bullets li:nth-child(1) { animation-delay: 1.25s; }
.intro-bullets li:nth-child(2) { animation-delay: 1.35s; }
.intro-bullets li:nth-child(3) { animation-delay: 1.45s; }

.bullet-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  position: relative;
  box-shadow: 0 0 10px var(--lime);
  animation: bulletPulse 2.4s ease-out infinite;
}
.bullet-dot::before {
  content: "";
  position: absolute; inset: -2px;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0.4;
  animation: bulletRipple 2.4s ease-out infinite;
}

.intro-bullets li:nth-child(1) .bullet-dot,
.intro-bullets li:nth-child(1) .bullet-dot::before { animation-delay: 1.5s; }
.intro-bullets li:nth-child(2) .bullet-dot,
.intro-bullets li:nth-child(2) .bullet-dot::before { animation-delay: 2.3s; }
.intro-bullets li:nth-child(3) .bullet-dot,
.intro-bullets li:nth-child(3) .bullet-dot::before { animation-delay: 3.1s; }

/* pulso só por transform (sombra fica estática) — compositor-only */
@keyframes bulletPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.18); }
}
@keyframes bulletRipple {
  0%   { transform: scale(1); opacity: 0.55; }
  70%  { transform: scale(2.6); opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.005em;
  transition: all var(--transition);
  user-select: none;
  position: relative;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--text);
  color: #0a0a0a;
  padding: 14px 14px 14px 28px;
  font-weight: 600;
  box-shadow: 0 8px 30px -10px rgba(255, 255, 255, 0.25);
  overflow: hidden;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lime);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 0;
}
.btn-primary > * {
  position: relative;
  z-index: 1;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -10px rgba(255, 255, 255, 0.55);
}
.btn-primary:hover::before {
  transform: scaleX(1);
}

.btn-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: #0a0a0a;
  border-radius: 50%;
  color: #ffffff;
  transition: all var(--transition);
}
.btn-primary:hover .btn-arrow {
  transform: rotate(45deg);
  background: #0a0a0a;
  color: #ffffff;
}

.btn-large {
  padding: 8px 8px 8px 30px;
  font-size: 15px;
}
.btn-large .btn-arrow { width: 40px; height: 40px; }
.btn-large .btn-arrow svg { width: 16px; height: 16px; }

.btn-ghost {
  background: var(--surface);
  color: var(--text-soft);
  border: 1px solid var(--border);
  padding: 13px 24px;
}
.btn-ghost:hover {
  color: var(--text);
  background: var(--surface-strong);
  border-color: var(--border-strong);
}

.btn-restart {
  margin: 48px auto 0;
  display: flex;
  font-size: 13px;
}

/* ============================================================
   PROGRESS
   ============================================================ */
.progress-wrap { margin-bottom: 36px; }
.progress-info {
  display: flex; justify-content: space-between;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.progress-info span:last-child { color: var(--lime); }
.progress-bar {
  width: 100%; height: 4px;
  background: var(--surface);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
}
.progress-fill {
  height: 100%;
  width: 20%;
  background: var(--lime);
  border-radius: 999px;
  transition: width 500ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 14px var(--lime);
}

/* ============================================================
   QUIZ CARD / STEPS
   ============================================================ */
.quiz-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.quiz-card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
@media (max-width: 600px) {
  .quiz-card { padding: 32px 22px; border-radius: var(--radius); }
}

.progress-wrap, .quiz-card { max-width: 760px; margin-left: auto; margin-right: auto; }

.step { display: none; animation: fadeUp 500ms cubic-bezier(0.16, 1, 0.3, 1); }
.step.active { display: block; }

.step-eyebrow {
  display: inline-block;
  padding: 5px 12px;
  background: var(--lime-soft);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 18px;
}
.step-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  color: var(--text);
}
.step-help {
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 0 0 32px;
  line-height: 1.55;
  max-width: 540px;
}

/* INPUT */
.input {
  width: 100%;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  font-size: 16px;
  font-weight: 400;
  font-family: var(--font-sans);
  outline: none;
  transition: all var(--transition);
}
.input::placeholder { color: var(--text-dim); }
.input:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 4px var(--lime-soft);
  background: rgba(0, 0, 0, 0.5);
}
.input.textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.55;
}

/* OPTIONS */
.options { display: grid; gap: 10px; }

.option {
  display: flex; align-items: center; gap: 18px;
  text-align: left;
  width: 100%;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.025);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.option:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(-1px);
}

.option.selected {
  border: 1.5px dashed var(--lime);
  background: linear-gradient(90deg, var(--lime-soft), transparent 70%);
  box-shadow: 0 0 0 3px var(--lime-soft);
}
.option.selected .option-num {
  color: #0a0a0a;
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 0 16px var(--lime-glow);
}
.option.selected .option-check {
  background: var(--lime);
  border-color: var(--lime);
}
.option.selected .option-check::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.option-num {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-soft);
  flex-shrink: 0;
  transition: all var(--transition);
  letter-spacing: 0.02em;
  font-feature-settings: "tnum";
}
.option-text { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.option-text strong {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}
.option-text span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}
.option-check {
  width: 20px; height: 20px;
  border: 1.5px solid var(--border-strong);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: all var(--transition);
}
.option-check::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #0a0a0a;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: all var(--transition);
}

@media (max-width: 480px) {
  .option { padding: 14px 16px; gap: 14px; }
  .option-num { width: 32px; height: 32px; font-size: 12px; }
}

/* STEP ACTIONS */
.step-actions {
  display: flex; gap: 12px;
  margin-top: 36px;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.step-actions .btn-ghost { margin-right: auto; }
.step-actions .btn-primary {
  padding: 13px 24px;
  background: var(--lime);
  color: #0a0a0a;
  box-shadow: 0 8px 30px -10px var(--lime-glow);
}
.step-actions .btn-primary:hover {
  background: var(--lime-bright);
  box-shadow: 0 14px 40px -10px var(--lime-glow);
}

@media (max-width: 480px) {
  .step-actions { flex-direction: column-reverse; }
  .step-actions .btn { width: 100%; }
  .step-actions .btn-ghost { margin-right: 0; }
}

/* ============================================================
   LOADING
   ============================================================ */
#screen-loading { padding: 100px 0; text-align: center; }
.loading-wrap { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.spinner {
  width: 60px; height: 60px;
  border: 3px solid var(--surface);
  border-top-color: var(--lime);
  border-right-color: var(--lime-bright);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  filter: drop-shadow(0 0 12px var(--lime-glow));
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.loading-text {
  color: var(--text-muted);
  margin: 0;
  font-size: 15px;
}
.loading-text strong {
  color: var(--lime);
  font-weight: 700;
}

/* ============================================================
   TELA FINAL (CTA único pro WhatsApp)
   ============================================================ */
#screen-final { padding: 64px 0 80px; text-align: center; }
.final-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}
.final-title {
  font-size: clamp(34px, 5.5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--text);
}
.final-subtitle {
  color: var(--text-soft);
  max-width: 520px;
  margin: 0 auto 8px;
  font-size: 16px;
  line-height: 1.6;
}
@media (max-width: 768px) {
  #screen-final { padding: 40px 0 64px; }
  .final-title { font-size: clamp(28px, 7vw, 40px); }
  .final-subtitle { font-size: 14px; }
}

/* ============================================================
   PLANS
   ============================================================ */
.plans-header {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
  padding-top: 16px;
}
.bubble-plans-left {
  position: absolute;
  top: 0; left: 8%;
  animation-delay: 0.5s;
}
.bubble-plans-right {
  position: absolute;
  top: 0; right: 8%;
  animation-delay: 1.5s;
}
.bubble-plans-right .bubble-arrow {
  left: auto; right: 14px;
}
@media (max-width: 768px) {
  .bubble-plans-left, .bubble-plans-right { display: none; }
}

.plans-title {
  font-size: clamp(34px, 5.5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 24px 0 18px;
  color: var(--text);
}
.empresa-highlight {
  color: var(--lime);
  font-weight: 700;
}
.plans-subtitle {
  color: var(--text-soft);
  max-width: 540px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.6;
}

.plans-grid {
  display: grid;
  gap: 18px;
  margin-top: 8px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.plan-card {
  position: relative;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px 30px;
  display: flex; flex-direction: column;
  transition: all var(--transition);
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.plan-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.plan-card.featured {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.025);
  border: 1.5px solid transparent;
  box-shadow: 0 30px 80px -20px var(--lime-glow);
  overflow: visible;
}

/* Override do ::before pra ser um anel lime animado em volta do card */
.plan-card.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from var(--border-angle),
    var(--lime) 0%,
    var(--lime-bright) 20%,
    var(--lime) 50%,
    rgba(255, 255, 255, 0.35) 75%,
    var(--lime-bright) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: rotateBorderAngle 4s linear infinite;
}

@keyframes rotateBorderAngle {
  to { --border-angle: 360deg; }
}
.plan-card.featured::after {
  content: "Mais escolhido";
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  padding: 5px 12px;
  background: var(--lime);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a0a0a;
  z-index: 2;
  box-shadow: 0 4px 16px -2px var(--lime-glow);
}

.plan-card.featured .select-handle-card {
  position: absolute;
  width: 9px; height: 9px;
  background: var(--lime);
  border-radius: 2px;
  z-index: 1;
  box-shadow: 0 0 8px var(--lime-glow);
}

.plan-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  color: var(--text);
}
.plan-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 28px;
  line-height: 1.55;
  min-height: 44px;
}

.plan-price-wrap {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.plan-price-prefix {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.plan-card.featured .plan-price-prefix { color: var(--lime); opacity: 0.85; }
.plan-price {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}
.plan-card.featured .plan-price { color: var(--lime); }
.plan-price-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.plan-features {
  list-style: none; padding: 0; margin: 0 0 32px;
  flex: 1;
}
.plan-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.5;
}
.plan-features svg {
  color: var(--lime);
  flex-shrink: 0;
  margin-top: 3px;
  filter: drop-shadow(0 0 6px var(--lime-glow));
}

.plan-btn {
  width: 100%;
  padding: 15px;
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.plan-btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--success);
  transform: translateY(101%);
  transition: transform var(--transition);
}
.plan-btn > * { position: relative; z-index: 1; }
.plan-btn:hover {
  color: white;
  border-color: var(--success);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -12px rgba(37, 211, 102, 0.5);
}
.plan-btn:hover::before { transform: translateY(0); }

.plan-card.featured .plan-btn {
  background: var(--lime);
  color: #0a0a0a;
  border-color: var(--lime);
  box-shadow: 0 14px 40px -10px var(--lime-glow);
}
.plan-card.featured .plan-btn:hover {
  border-color: var(--success);
}

/* Botão "Agendar reunião" — visual diferente do botão WhatsApp */
.plan-btn.plan-btn-meeting {
  background: var(--lime);
  color: #0a0a0a;
  border-color: var(--lime);
  box-shadow: 0 14px 40px -10px var(--lime-glow);
}
.plan-btn.plan-btn-meeting::before {
  background: linear-gradient(135deg, var(--lime-bright) 0%, var(--lime) 100%);
}
.plan-btn.plan-btn-meeting:hover {
  color: #0a0a0a;
  border-color: var(--lime-bright);
  box-shadow: 0 18px 50px -10px var(--lime-glow), 0 0 0 1px var(--lime-bright);
}

/* Card "Hora de Escalar" — visual de alto-ticket */
.plan-card.plan-card-meeting {
  border: 1px dashed rgba(255, 255, 255, 0.35);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01)),
    rgba(255, 255, 255, 0.025);
}
.plan-card.plan-card-meeting::after {
  content: "Alto ticket";
  position: absolute;
  top: 20px; right: 20px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  z-index: 2;
}
.plan-card.plan-card-meeting:hover {
  border-color: var(--lime);
  box-shadow: 0 30px 60px -20px rgba(255, 255, 255, 0.25);
}

.plan-btn svg { width: 18px; height: 18px; }

/* ============================================================
   TRUST
   ============================================================ */
.trust {
  margin-top: 56px;
  padding: 24px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.trust-item {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px;
  color: var(--text-soft);
  font-weight: 500;
}
.trust-item svg {
  color: var(--lime);
  width: 18px; height: 18px;
  filter: drop-shadow(0 0 6px var(--lime-glow));
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  text-align: center;
  padding: 44px 24px;
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.04em;
  border-top: 1px solid var(--border);
  margin-top: 60px;
  position: relative;
  z-index: 1;
}
.site-footer p { margin: 0; line-height: 1.6; }
.footer-company {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 12.5px;
  margin-bottom: 6px !important;
}
.footer-copyright {
  font-size: 11.5px;
  opacity: 0.8;
}

/* Formas de pagamento */
.footer-payments {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.footer-payments-label {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.payment-icons {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
}
.payment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  min-width: 48px;
  padding: 0 12px;
  background: #ffffff;
  border-radius: 5px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.4);
  opacity: 0.55;
  transition: opacity 0.3s ease;
}
.payment-icons:hover .payment-icon { opacity: 0.7; }
.payment-icon:hover { opacity: 1 !important; }

.payment-pix {
  color: #32BCAD;
  font-style: italic;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.payment-visa {
  color: #1A1F71;
  font-style: italic;
  letter-spacing: 0.08em;
  font-size: 13px;
}
.payment-mastercard {
  padding: 0 8px;
  gap: 0;
}
.mc-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
}
.mc-red { background: #EB001B; }
.mc-orange {
  background: #F79E1B;
  margin-left: -6px;
  mix-blend-mode: multiply;
}
.payment-elo {
  color: #000000;
  font-weight: 900;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0;
}
.payment-amex {
  background: #006FCF;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.payment-hipercard {
  background: #B3131B;
  color: #ffffff;
  font-size: 9.5px;
  letter-spacing: 0.06em;
  font-weight: 800;
}
.payment-boleto {
  background: #1f1f1f;
  color: #ffffff;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
}
.payment-boleto svg { color: #ffffff; }

@media (max-width: 540px) {
  .payment-icons { gap: 6px; }
  .payment-icon { height: 26px; min-width: 42px; padding: 0 9px; font-size: 11px; }
  .payment-amex { font-size: 9.5px; }
  .payment-hipercard { font-size: 8.5px; }
}

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed; bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--danger);
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: 0 18px 50px -12px rgba(255, 95, 126, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: transform 360ms cubic-bezier(0.4, 0, 0.2, 1), opacity 360ms;
  z-index: 100;
  max-width: 90vw;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   CLIENTS MARQUEE — barra animada com logos
   ============================================================ */
.clients {
  margin-top: 100px;
  padding: 36px 0;
  text-align: center;
  position: relative;
  z-index: 2;
  /* break out do container pra ocupar 100vw */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.clients-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 32px;
}

.clients-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* fade nas bordas pra logos entrarem/saírem suavemente */
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.clients-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: clientsScroll 30s linear infinite;
}

/* dois blocos IDÊNTICOS: cada um carrega o próprio gap de fechamento,
   então -50% da faixa = exatamente 1 bloco → loop linear sem emenda */
.clients-set {
  display: flex;
  align-items: center;
  gap: 90px;
  padding-right: 90px;
  flex-shrink: 0;
}

.clients-track img {
  height: 56px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.55;
  filter: grayscale(100%) brightness(1.1);
  transition: opacity 0.35s ease, filter 0.35s ease, transform 0.35s ease;
  pointer-events: auto;
  cursor: default;
}

.clients-track img:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(1);
  transform: scale(1.05);
}

/* pause quando o mouse passa por cima da marquee */
.clients-marquee:hover .clients-track {
  animation-play-state: paused;
}

@keyframes clientsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* logos que TÊM versão colorida: no hover troca a branca pela original
   (as demais são brancas de fato — não existe versão colorida delas) */
.clients-track .cswap {
  position: relative;
  display: inline-flex; align-items: center;
  flex-shrink: 0;
}
.clients-track .cswap img { transition: opacity 0.3s ease, filter 0.3s ease; }
.clients-track .cswap .cs-b {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  filter: none;
  max-width: none;
}
.clients-track .cswap:hover .cs-a { opacity: 0; }
.clients-track .cswap:hover .cs-b { opacity: 1; }

/* itens compostos da marquee: ícone REAL + wordmark (Alumis, VeSeServe) */
.clients-track .clogo {
  display: inline-flex; align-items: center; gap: 9px;
  flex-shrink: 0;
  opacity: 0.55;
  filter: grayscale(100%) brightness(1.1);
  transition: opacity 0.35s ease, filter 0.35s ease, transform 0.35s ease;
  cursor: default;
}
.clients-track .clogo img {
  height: 40px; width: auto; max-width: none;
  opacity: 1; filter: none;
}
.clients-track .clogo b { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.clients-track .clogo i { font-style: normal; }
.clients-track .clogo:hover { opacity: 1; filter: grayscale(0%); transform: scale(1.05); }
.clients-track .clogo:hover .or { color: #F97316; }

@media (max-width: 700px) {
  .clients { margin-top: 70px; padding: 28px 0; }
  .clients-set { gap: 60px; padding-right: 60px; }
  .clients-track img { height: 42px; max-width: 150px; }
  .clients-label { font-size: 10px; margin-bottom: 24px; }
}

/* ============================================================
   TESTIMONIALS — depoimentos glassmorphic
   ============================================================ */
.testimonials {
  margin-top: 140px;
  position: relative;
  z-index: 2;
}
/* halo suave atrás da grade — profundidade sem pesar */
.testimonials::before {
  content: "";
  position: absolute;
  top: 40px; left: 50%;
  transform: translateX(-50%);
  width: min(760px, 90vw); height: 440px;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.055), transparent 62%);
  pointer-events: none;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonials-header.in-view {
  opacity: 1;
  transform: translateY(0);
}

.testimonials-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 22px;
}

.testimonials-title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  color: var(--text);
}
.testimonials-title .lime-text {
  color: var(--lime);
  text-shadow: 0 0 28px rgba(255, 255, 255, 0.45), 0 0 8px rgba(255, 255, 255, 0.25);
}

.testimonials-subtitle {
  color: var(--text-soft);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---------- CARROSSEL 3D DE DEPOIMENTOS ----------
   O posicionamento (X/Z, escala e opacidade) vem do JS, num relógio
   único por quadro. Aqui fica só o palco em perspectiva e o tamanho
   do card. Nada de @keyframes: 21 animações CSS em fase era o que
   embaralhava os cards quando a velocidade mudava. */
.t3d-stage {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 470px;
  perspective: 1500px;
  perspective-origin: 50% 50%;
  overflow: hidden;
  /* inerte ao mouse: hover nos cards reordenava a pintura 3D */
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}
.t3d-ring {
  position: absolute;
  left: 50%; top: 50%;
  width: 0; height: 0;
  transform-style: preserve-3d;
}
.t3d-ring .testimonial {
  position: absolute;
  left: 0; top: 0;
  width: 400px;
  margin-left: -200px;
  height: 410px;
  margin-top: -205px;
  will-change: transform, opacity;
  transition: none;
  /* no anel os cards se sobrepõem: vidro translúcido deixaria o texto
     do card de trás vazar pelo da frente → fundo OPACO aqui */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.015) 46%),
    #0b0b0b;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.t3d-ring .testimonial:hover {
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: none;
}
.t3d-ring .testimonial .testimonial-quote {
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* as marcas no canto ficam sempre visíveis (não há hover aqui) */
.t3d-ring .tb-mix,
.t3d-ring .testimonial-brand { opacity: 0.6; filter: none; }
/* marca composta (ícone real + wordmark) no canto do card */
.tb-mix {
  position: absolute;
  top: 26px; right: 26px;
  display: inline-flex; align-items: center; gap: 7px;
  opacity: 0.5;
  filter: grayscale(100%) brightness(1.15);
  transition: opacity 0.35s ease, filter 0.35s ease;
  pointer-events: none;
}
.tb-mix img { height: 20px; width: auto; }
.tb-mix b { font-size: 14px; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.tb-mix i { font-style: normal; }
.testimonial:hover .tb-mix { opacity: 0.95; filter: none; }
.testimonial:hover .tb-mix .or { color: #F97316; }

.testimonial {
  position: relative;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 46%),
    rgba(8, 8, 8, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  padding: 34px 30px 26px;
  text-align: left;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: all 320ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px) scale(0.985);
}
.testimonial.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 320ms,
    box-shadow 320ms;
}
.testimonial:nth-child(1) { transition-delay: 0s; }
.testimonial:nth-child(2) { transition-delay: 0.12s; }
.testimonial:nth-child(3) { transition-delay: 0.24s; }
.testimonial:nth-child(4) { transition-delay: 0.12s; }
.testimonial:nth-child(5) { transition-delay: 0.24s; }

.testimonial:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow:
    0 30px 70px -24px rgba(255, 255, 255, 0.2),
    0 26px 50px -30px rgba(0, 0, 0, 0.85);
}

/* fio de luz no topo do card */
.testimonial::before {
  content: "";
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  opacity: 0.55;
}
/* reflexo interno sutil no canto superior (vidro) */
.testimonial::after {
  content: "";
  position: absolute;
  top: -70px; left: -40px;
  width: 240px; height: 160px;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.07), transparent 65%);
  pointer-events: none;
}

/* logo da empresa no canto do card */
.testimonial-brand {
  position: absolute;
  top: 26px; right: 26px;
  height: 20px;
  width: auto;
  opacity: 0.42;
  filter: grayscale(100%) brightness(1.15);
  transition: opacity 0.35s ease, filter 0.35s ease;
  pointer-events: none;
}
.testimonial:hover .testimonial-brand {
  opacity: 0.9;
  filter: grayscale(0%) brightness(1);
}

.testimonial-quote-mark {
  display: block;
  font-family: 'Georgia', serif;
  font-size: 58px;
  font-weight: 700;
  line-height: 0.5;
  color: #ffffff;
  opacity: 0.22;
  margin: 0 0 6px -3px;
  height: 24px;
}

.testimonial-stars {
  display: flex;
  gap: 2.5px;
  margin-bottom: 16px;
}
.testimonial-stars svg {
  width: 14px; height: 14px;
  color: #ffffff;
  fill: #ffffff;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.45));
}

.testimonial-quote {
  color: #d9d9d9;
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0 0 24px;
  font-weight: 400;
  letter-spacing: -0.005em;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 20px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}
/* fio de luz também no divisor do autor */
.testimonial-author::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 56px; height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), transparent);
}

.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(160deg, #ffffff, #c9cacf);
  display: grid; place-items: center;
  color: #0a0a0a;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.12),
    0 0 18px rgba(255, 255, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.testimonial-info {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}
.testimonial-info strong {
  color: var(--text);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.testimonial-info span {
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 500;
}

.testimonials-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: max-content;
  margin: 36px auto 0;
  padding: 11px 24px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 500;
}
.testimonials-meta strong {
  color: var(--text);
  font-weight: 700;
}
.meta-stars {
  display: inline-flex;
  gap: 2px;
}
.meta-stars svg {
  width: 14px; height: 14px;
  color: var(--lime);
  fill: var(--lime);
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
}
.meta-stars svg.star-half {
  fill: none;
  color: inherit;
}

.testimonials-cta {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

@media (max-width: 700px) {
  .testimonials { margin-top: 100px; }
  .testimonials-cta { margin-top: 32px; }
  .testimonial { padding: 30px 24px 26px; }
  .testimonials-meta { flex-direction: column; gap: 8px; }
}

/* ============================================================
   MOBILE RESPONSIVE — otimizações pra telas pequenas
   ============================================================ */
@media (max-width: 640px) {
  /* Container */
  .container { padding: 24px 18px 60px; }

  /* Hero */
  #screen-intro { padding-top: 32px; }
  .intro-title {
    font-size: clamp(28px, 8.5vw, 44px);
    line-height: 1.12;
    margin-bottom: 22px;
  }
  .intro-subtitle {
    font-size: 14.5px;
    margin: 24px auto 32px;
  }

  /* Selection box (Profissionais) — handles menores */
  .selected-word { padding: 0 10px; margin: 0 4px; }
  .select-handle { width: 7px; height: 7px; }
  .handle-tl { top: -4px; left: -4px; }
  .handle-tr { top: -4px; right: -4px; }
  .handle-bl { bottom: -4px; left: -4px; }
  .handle-br { bottom: -4px; right: -4px; }
  .select-cursor { top: -8px; left: -8px; width: 14px; height: 14px; }
  .select-cursor svg { width: 14px; height: 14px; }

  /* Botão CTA principal */
  .btn-large {
    padding: 6px 6px 6px 18px;
    font-size: 13px;
    gap: 8px;
  }
  .btn-large .btn-arrow { width: 34px; height: 34px; }
  .btn-large .btn-arrow svg { width: 13px; height: 13px; }

  /* Bullets */
  .intro-bullets { gap: 16px 26px; margin-top: 38px; }
  .intro-bullets li { font-size: 12.5px; }
  .bullet-dot { width: 7px; height: 7px; }

  /* Quiz */
  .quiz-card { padding: 28px 18px; }
  .step-title { font-size: clamp(22px, 5vw, 28px); }
  .step-help { font-size: 13.5px; margin-bottom: 24px; }
  .input { padding: 14px 16px; font-size: 15px; }
  .options { gap: 8px; }
  .option { padding: 14px 14px; gap: 12px; }
  .option-num { width: 30px; height: 30px; font-size: 11.5px; }
  .option-text strong { font-size: 14px; }
  .option-text span { font-size: 12px; }
  .step-actions { margin-top: 28px; padding-top: 22px; }

  /* Plans */
  .plans-header { margin-bottom: 36px; }
  .plans-title { font-size: clamp(28px, 6vw, 38px); }
  .plans-subtitle { font-size: 14px; }
  .plan-card { padding: 28px 22px 22px; }
  .plan-name { font-size: 18px; }
  .plan-desc { font-size: 13.5px; min-height: 0; margin-bottom: 22px; }
  .plan-price-prefix { font-size: 12px; }
  .plan-price { font-size: 32px; }
  .plan-price-sub { font-size: 11.5px; }
  .plan-features { margin-bottom: 24px; }
  .plan-features li { font-size: 13px; padding: 7px 0; }
  .plan-card.featured::after {
    padding: 4px 10px;
    font-size: 9px;
  }
  .plan-card.plan-card-meeting::after {
    top: 14px; right: 14px;
    padding: 4px 10px;
    font-size: 9px;
  }
  .plan-btn { padding: 13px; font-size: 13px; }

  /* Loading */
  #screen-loading { padding: 60px 0; }
  .spinner { width: 50px; height: 50px; }
  .loading-title { font-size: 20px; }

  /* Clientes marquee */
  .clients { margin-top: 64px; padding: 24px 0; }
  .clients-track { animation-duration: 26s; }
  .clients-track .clogo img { height: 30px; }
  .clients-track .clogo b { font-size: 17px; }
  .clients-set { gap: 50px; padding-right: 50px; }
  .clients-track img { height: 38px; max-width: 130px; }
  .clients-label { font-size: 10px; margin-bottom: 22px; letter-spacing: 0.14em; }

  /* Testimonials */
  .testimonials { margin-top: 80px; }
  .testimonials-header { margin-bottom: 36px; }
  .testimonials-eyebrow { font-size: 10px; padding: 5px 12px; }
  .testimonials-title { font-size: clamp(26px, 6.5vw, 38px); }
  .testimonials-subtitle { font-size: 13.5px; }
  .testimonial { padding: 26px 22px 22px; }
  /* carrossel 3D no celular: palco menor e cards estreitos */
  .t3d-stage { height: 400px; perspective: 900px; }
  .t3d-ring .testimonial {
    width: 290px; margin-left: -145px;
    height: 350px; margin-top: -175px;
  }
  .t3d-ring .testimonial .testimonial-quote { -webkit-line-clamp: 7; }
  .testimonial-brand { height: 16px; top: 24px; right: 22px; }
  .tb-mix img { height: 16px; }
  .tb-mix b { font-size: 12px; }
  .testimonial-quote { font-size: 14px; margin-bottom: 22px; }
  .testimonial-quote-mark { font-size: 52px; }
  .testimonials-meta { max-width: 92vw; padding: 10px 18px; text-align: center; }
  .testimonial-author { padding-top: 18px; gap: 12px; }
  .testimonial-avatar { width: 40px; height: 40px; font-size: 15px; }
  .testimonial-info strong { font-size: 13.5px; }
  .testimonial-info span { font-size: 12px; }
  .testimonials-meta { margin-top: 28px; font-size: 12.5px; }

  /* Footer */
  .site-footer { padding: 36px 18px; margin-top: 50px; }
  .footer-payments { gap: 12px; margin-bottom: 22px; padding-bottom: 22px; }
  .footer-payments-label { font-size: 10px; letter-spacing: 0.12em; }
  .footer-company { font-size: 11.5px; }
  .footer-copyright { font-size: 10.5px; }

  /* Reduzir blur (pesado pra GPU mobile) */
  .quiz-card,
  .plan-card,
  .testimonial,
  .bubble,
  .testimonials-meta {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}

/* Telas muito pequenas (320-380px) */
@media (max-width: 380px) {
  .container { padding: 20px 14px 50px; }
  .intro-title { font-size: 26px; }
  .intro-subtitle { font-size: 13.5px; }
  .btn-large {
    padding: 5px 5px 5px 14px;
    font-size: 12px;
  }
  .btn-large .btn-arrow { width: 30px; height: 30px; }
  .clients-set { gap: 40px; padding-right: 40px; }
  .clients-track img { height: 34px; max-width: 110px; }
  .quiz-card { padding: 22px 14px; }
  .plan-card { padding: 24px 18px 18px; }
}

/* Touch devices — desabilita hover em quem usa touch */
@media (hover: none) {
  .clients-marquee:hover .clients-track { animation-play-state: running; }
  .clients-track img:hover { opacity: 0.55; transform: none; }
  .testimonial:hover { transform: none; }
  .plan-card:hover { transform: none; }
  .payment-icon:hover { opacity: 0.55 !important; }
}

/* ============================================================
   PAINÉIS DOS SITES — portfólio vivo atrás da hero
   (mesma linguagem dos painéis da landing do MazyoHub: abas
   inclinadas, opacidade baixa, máscara vertical. Cada painel
   reproduz a hero do site AO VIVO — animações funcionando — e
   rola a página inteira [print real] no seu próprio ritmo.)
   ============================================================ */
.mz-panels {
  position: absolute;
  top: -140px;
  left: calc(50% - 50vw);
  width: 100vw;
  height: 1030px;
  z-index: 0;
  pointer-events: none;
  /* o fade zera ANTES da faixa "empresas que já confiaram" — nada de
     painel atrás das logos */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 74%);
  mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 74%);
}
.intro-hero { z-index: 2; }

.mz-panel {
  position: absolute;
  aspect-ratio: 1920 / 1010;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  overflow: hidden;
  background: #0b0c10;
  box-shadow: 0 30px 90px -24px rgba(0, 0, 0, 0.7);
  transform: rotate(var(--tilt, 0deg));
  transition: opacity 0.9s ease;
}
/* painel só aparece (fade) depois que as imagens dele estão DECODIFICADAS —
   nada de meio-carregado piscando na entrada */
.mz-panel:not(.ready) { opacity: 0 !important; }
.mzp-scroll {
  will-change: transform;
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.42, 0.02, 0.16, 0.99);
}
.mzp-hero-box {
  position: relative;
  z-index: 2;
  height: calc(var(--hh) * var(--s));
  overflow: hidden;
}
.mzp-hero {
  position: absolute;
  top: 0; left: 0;
  width: 760px;
  height: var(--hh);
  transform: scale(var(--s));
  transform-origin: 0 0;
  overflow: hidden;
  font-family: var(--font-sans);
  text-align: center;
  letter-spacing: normal;
  line-height: 1.4;
}
.mzp-print {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  margin-top: calc(var(--hh) * var(--s) * -1);
}
/* os atributos width/height das imgs existem só pra RESERVAR proporção
   antes do load — a altura usada tem que seguir a largura do CSS */
.mzp-print, .mza-phone, .mzs-phone, .mzt-speaker, .mzm-mac { height: auto; }

/* flutuação genérica das artes */
@keyframes mzFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ---------- WALL DE COLUNAS VERTICAIS ----------
   6 colunas COLADAS e retas, carrossel infinito com direções
   alternadas (↓ ↑ ↓ ↑ ↓ ↑); cada coluna tem seu tempo (--cd) e
   opacidade (--co). O track é [set + clone do set] e anima
   translateY(-50%), então o loop fecha sem emenda. Compositor-only. */
.mz-cols {
  position: absolute;
  left: 50%; top: -120px;
  height: calc(100% + 240px);
  width: 1980px;
  display: flex; gap: 0; justify-content: center;
  transform: translateX(-50%);
}
.mzc-col {
  width: 330px; flex: 0 0 330px;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  opacity: var(--co, 0.3);
}
.mzc-track {
  display: flex; flex-direction: column;
  will-change: transform;
  animation: mzcScroll var(--cd, 80s) linear infinite;
}
.mzc-col.rev .mzc-track { animation-direction: reverse; }
@keyframes mzcScroll { to { transform: translateY(-50%); } }
.mzc-set { display: flex; flex-direction: column; }
.mzc-tile {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  background: #0b0c10;
}
.mzc-tile img { display: block; width: 100%; height: auto; }
/* vinheta escura SÓ no miolo (área do título) — pequena de propósito:
   os percentuais são relativos ao wall inteiro (100vw × 920px) */
.mz-panels::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 30% 26% at 50% 30%, rgba(8, 8, 8, 0.5), transparent 62%);
  pointer-events: none;
}
.mz-panels.asleep .mzc-track { animation-play-state: paused !important; }
@media (max-width: 900px) {
  .mzc-col:nth-child(n+5) { display: none; }
  .mz-cols { width: 1320px; }
}
@media (max-width: 700px) {
  .mz-cols { display: none; }
}

/* ---------- ALUMIS (dark navy + azul, planeta ao fundo) ---------- */
.mz-alumis { --hh: 427px; }
.mz-alumis .mzp-hero { background: #04060c; }
.mza-planet {
  position: absolute; top: 128px; left: -30%;
  width: 160%; height: 520px; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 8%, rgba(40, 90, 190, 0.55), rgba(10, 25, 60, 0.55) 35%, #04060c 68%);
  box-shadow: 0 -24px 84px -8px rgba(80, 150, 255, 0.55), 0 -4px 24px rgba(140, 190, 255, 0.5);
  animation: mzaGlow 6s ease-in-out infinite;
}
/* pulso por OPACITY (compositor) — box-shadow animado repinta a cada frame */
@keyframes mzaGlow {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}
.mza-nav {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  height: 34px; padding: 0 24px;
  background: rgba(5, 7, 12, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-align: left;
}
.mza-brand { display: inline-flex; align-items: center; gap: 5px; color: #fff; font-size: 11px; font-weight: 700; }
.mza-brand i { width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.mza-links { font-size: 7px; color: #c6ccd8; background: rgba(255, 255, 255, 0.06); border-radius: 99px; padding: 5px 12px; }
.mza-avatar { width: 14px; height: 14px; border-radius: 50%; background: #3b82f6; color: #fff; font-size: 6px; font-weight: 700; display: inline-grid; place-items: center; }
.mza-badge {
  position: relative; z-index: 2; display: inline-block; margin-top: 24px;
  font-size: 8px; color: #cfe0ff;
  border: 1px solid rgba(130, 170, 255, 0.35);
  background: rgba(30, 60, 130, 0.28);
  border-radius: 99px; padding: 3px 10px;
}
.mza-title { position: relative; z-index: 2; margin: 10px 0 0; font-size: 25px; line-height: 1.2; font-weight: 800; color: #fff; letter-spacing: -0.01em; }
.mza-title em { font-style: normal; color: #7db2f7; }
.mza-sub { position: relative; z-index: 2; margin: 9px auto 0; max-width: 420px; font-size: 8.5px; line-height: 1.5; color: #a9b4c6; }
.mza-cta {
  position: relative; z-index: 2; display: inline-block; margin-top: 13px;
  background: #3b82f6; color: #fff; font-size: 9px; font-weight: 700;
  border-radius: 99px; padding: 7px 16px;
  box-shadow: 0 6px 18px -4px rgba(59, 130, 246, 0.55);
}
/* brilho pulsante dos CTAs das réplicas: camada ::after com sombra ESTÁTICA
   e opacity animada — roda no compositor, sem repaint */
.mza-cta::after, .mzf-wa::after, .mzt-cta::after, .mzv-cta::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  animation: mzGlowPulse 3.2s ease-in-out infinite;
}
@keyframes mzGlowPulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}
.mza-cta::after { box-shadow: 0 0 22px rgba(90, 150, 255, 0.6), 0 6px 22px -4px rgba(59, 130, 246, 0.8); }
.mza-phone {
  position: absolute; z-index: 1; left: 50%; margin-left: -73px; top: 210px; width: 146px;
  -webkit-mask-image: radial-gradient(ellipse 62% 60% at 50% 46%, #000 58%, transparent 82%);
  mask-image: radial-gradient(ellipse 62% 60% at 50% 46%, #000 58%, transparent 82%);
  animation: mzFloat 6s ease-in-out infinite;
}

/* ---------- SOLUCCIONAR (roxo, notificações flutuantes) ---------- */
.mz-soluccionar { --hh: 366px; }
.mz-soluccionar .mzp-hero { background: linear-gradient(180deg, #0e0818 0%, #1a1033 42%, #271848 66%, #130c22 100%); }
.mz-soluccionar .mzp-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 58%, rgba(140, 90, 255, 0.22), transparent 55%);
}
.mzs-nav {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  height: 30px; padding: 0 26px; text-align: left;
}
.mzs-brand { display: inline-flex; align-items: center; gap: 5px; color: #fff; font-size: 10px; font-weight: 700; }
.mzs-brand i { width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, #7c3aed, #38bdf8); }
.mzs-links { font-size: 8px; color: #d6cdf0; }
.mzs-title { position: relative; z-index: 2; margin: 22px 0 0; font-size: 30px; line-height: 1.15; font-weight: 700; color: #fff; letter-spacing: -0.015em; }
.mzs-phone {
  position: absolute; z-index: 1; left: 317px; top: 119px; width: 123px;
  -webkit-mask-image: radial-gradient(ellipse 62% 60% at 50% 48%, #000 56%, transparent 82%);
  mask-image: radial-gradient(ellipse 62% 60% at 50% 48%, #000 56%, transparent 82%);
  animation: mzFloat 7s ease-in-out infinite;
}
.mzs-card {
  position: absolute; z-index: 3; width: 118px;
  border-radius: 8px; background: rgba(22, 14, 44, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 5px 7px; text-align: left;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 10px 26px -8px rgba(0, 0, 0, 0.6);
  opacity: 0;
  animation: mzsPop var(--pd, 9s) ease-in-out var(--pdel, 0s) infinite;
}
@keyframes mzsPop {
  0% { opacity: 0; transform: translateY(8px) scale(0.96); }
  6% { opacity: 1; transform: translateY(0) scale(1); }
  86% { opacity: 1; transform: translateY(0) scale(1); }
  96%, 100% { opacity: 0; transform: translateY(-6px) scale(0.98); }
}
.mzs-app { display: flex; align-items: center; gap: 3px; font-size: 5.5px; color: #cfc4ec; }
.mzs-app i { width: 7px; height: 7px; border-radius: 2px; background: linear-gradient(135deg, #7c3aed, #38bdf8); }
.mzs-app b { margin-left: auto; font-weight: 500; color: #8f84ad; }
.mzs-card strong { display: block; font-size: 7.5px; color: #fff; margin-top: 2px; font-weight: 700; }
.mzs-l3 { font-size: 6.5px; color: #b3a8d4; }
.mzs-sub { position: absolute; z-index: 2; top: 296px; left: 0; right: 0; margin: 0 auto; max-width: 460px; font-size: 8px; color: #d9d2ee; line-height: 1.5; }
.mzs-stores { position: absolute; z-index: 2; top: 330px; left: 0; right: 0; display: flex; justify-content: center; gap: 7px; }
.mzs-store { background: #0b0812; border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; font-size: 7px; font-weight: 600; border-radius: 99px; padding: 5px 12px; }
.mzs-store.alt { background: transparent; }

/* ---------- FIORELLE (branco + vermelho) ---------- */
.mz-fiorelle { --hh: 270px; }
.mz-fiorelle .mzp-hero { background: #ffffff; }
.mzf-nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 28px; padding: 0 30px; text-align: left;
  border-bottom: 1px solid #f4f4f4;
}
.mzf-logo { font-family: 'Segoe Script', 'Brush Script MT', cursive; font-size: 11px; color: #c8102e; font-weight: 700; }
.mzf-links { font-size: 8px; color: #4a4a4a; }
.mzf-cta { background: #c8102e; color: #fff; font-size: 8px; font-weight: 700; border-radius: 6px; padding: 4px 10px; }
.mzf-title { margin: 26px 0 0; font-size: 27px; line-height: 1.16; font-weight: 800; color: #101010; letter-spacing: -0.02em; }
.mzf-sub { margin: 8px auto 0; max-width: 400px; font-size: 8.5px; color: #6a6a6a; line-height: 1.5; }
.mzf-btns { display: flex; justify-content: center; gap: 7px; margin-top: 13px; }
.mzf-wa { position: relative; background: #c8102e; color: #fff; font-size: 8.5px; font-weight: 700; padding: 7px 14px; border-radius: 8px; box-shadow: 0 4px 14px -4px rgba(200, 16, 46, 0.5); }
.mzf-wa::after { box-shadow: 0 6px 24px -4px rgba(200, 16, 46, 0.85); animation-duration: 3s; }
.mzf-out { border: 1px solid #c8102e; color: #c8102e; font-size: 8.5px; font-weight: 600; padding: 6px 13px; border-radius: 8px; }
.mzf-chips { display: flex; justify-content: center; gap: 7px; margin-top: 14px; }
.mzf-chips span {
  border: 1px solid #e2e2e2; color: #555; font-size: 7.5px;
  border-radius: 99px; padding: 3px 10px; background: #fafafa;
  animation: mzFloat 5s ease-in-out infinite;
}
.mzf-chips span:nth-child(2) { animation-delay: -1.6s; }
.mzf-chips span:nth-child(3) { animation-delay: -3.2s; }

/* ---------- TUBA LYRA (preto + dourado, contadores) ---------- */
.mz-tubalyra { --hh: 359px; }
.mz-tubalyra .mzp-hero {
  background: radial-gradient(ellipse 60% 50% at 18% 20%, rgba(120, 90, 35, 0.18), transparent 60%), #060605;
  text-align: left;
}
.mzt-nav {
  position: relative; z-index: 2;
  margin: 10px auto 0; width: 600px; height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 99px;
  background: rgba(12, 12, 10, 0.8);
  display: flex; align-items: center; gap: 10px; padding: 0 5px 0 14px;
  font-size: 8px; color: #cfcabe;
}
.mzt-brand { display: inline-flex; align-items: center; gap: 4px; color: #fff; font-size: 7px; font-weight: 800; letter-spacing: 0.05em; }
.mzt-brand i { width: 12px; height: 12px; border-radius: 3px; background: linear-gradient(135deg, #f0cf7a, #c9992f); color: #0a0a0a; display: inline-grid; place-items: center; font-size: 6px; font-style: normal; }
.mzt-links { margin-left: auto; }
.mzt-navcta { background: linear-gradient(135deg, #f0cf7a, #c9992f); color: #151005; font-size: 7.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.mzt-content { position: relative; z-index: 2; padding: 30px 0 0 46px; }
.mzt-badge {
  display: inline-block; border: 1px solid rgba(255, 255, 255, 0.18);
  color: #d8d3c6; font-size: 6.5px; letter-spacing: 0.12em;
  padding: 3px 9px; border-radius: 99px;
}
.mzt-badge b { color: #fff; }
.mzt-h1 { margin: 10px 0 0; }
.mzt-h1 .l1 { display: block; font-size: 20px; color: #efece4; font-weight: 600; letter-spacing: 0.02em; line-height: 1.2; }
.mzt-h1 .l2 {
  display: block; font-size: 25px; font-weight: 800; line-height: 1.1; letter-spacing: 0.01em;
  background: linear-gradient(90deg, #f3d98d, #caa040);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mzt-sub { margin: 9px 0 0; width: 330px; font-size: 8.5px; color: #b5b0a4; line-height: 1.55; }
.mzt-stats { margin-top: 10px; font-size: 8px; color: #9c968a; }
.mzt-stats b { color: #d9ab4f; font-weight: 800; font-feature-settings: "tnum"; }
.mzt-cta {
  position: relative; display: inline-block; margin-top: 12px;
  background: linear-gradient(135deg, #f0cf7a, #c9992f);
  color: #151005; font-size: 9px; font-weight: 700;
  padding: 7px 18px; border-radius: 99px;
  box-shadow: 0 6px 18px -6px rgba(217, 171, 79, 0.55);
}
.mzt-cta::after { box-shadow: 0 0 26px rgba(217, 171, 79, 0.55), 0 6px 22px -6px rgba(217, 171, 79, 0.8); animation-duration: 3.4s; }
.mzt-note { margin-top: 9px; font-size: 7.5px; color: #857f72; }
.mzt-speaker {
  position: absolute; z-index: 1; left: 372px; top: 91px; width: 253px;
  -webkit-mask-image: radial-gradient(ellipse 68% 62% at 50% 45%, #000 55%, transparent 82%);
  mask-image: radial-gradient(ellipse 68% 62% at 50% 45%, #000 55%, transparent 82%);
  animation: mzFloat 7.5s ease-in-out infinite;
}

/* ---------- MAZYOHUB (órbitas + macbook) ---------- */
.mz-mazyohub { --hh: 475px; }
.mz-mazyohub .mzp-hero { background: #0d0e10; }
.mzm-orbit {
  position: absolute; z-index: 0;
  left: calc(50% - var(--d) / 2); top: calc(305px - var(--d) / 2);
  width: var(--d); height: var(--d);
  border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 50%;
  animation: mzmSpin var(--os) linear infinite;
}
.mzm-orbit::after {
  content: ""; position: absolute; top: -3px; left: 50%;
  width: 5px; height: 5px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 10px 3px rgba(255, 255, 255, 0.45);
}
@keyframes mzmSpin { to { transform: rotate(360deg); } }
.mzm-o1 { --d: 300px; --os: 36s; }
.mzm-o2 { --d: 430px; --os: 58s; animation-direction: reverse; opacity: 0.75; }
.mzm-o3 { --d: 570px; --os: 88s; opacity: 0.5; }
.mzm-nav {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  height: 30px; padding: 0 26px; text-align: left;
}
.mzm-brand { display: inline-flex; align-items: center; gap: 5px; color: #fff; font-size: 10px; font-weight: 700; }
.mzm-mark { width: 9px; height: 11px; background: linear-gradient(90deg, #fff 0 3px, transparent 3px 6px, #fff 6px 9px); border-radius: 1px; }
.mzm-links { display: inline-flex; align-items: center; gap: 12px; font-size: 8px; color: #a7abb3; }
.mzm-navcta { border: 1px solid rgba(255, 255, 255, 0.25); color: #e6e7ea; font-size: 7.5px; padding: 4px 10px; border-radius: 99px; }
.mzm-title { position: relative; z-index: 2; margin: 34px 0 0; font-size: 30px; line-height: 1.12; font-weight: 600; color: #fff; letter-spacing: -0.02em; }
.mzm-grad { background: linear-gradient(180deg, #c9cbd1, #6f7379); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mzm-ia { color: #f4f5f7; }
.mzm-btns { position: relative; z-index: 2; display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.mzm-solid { background: #f2f3f5; color: #0d0e10; font-size: 9px; font-weight: 600; padding: 7px 16px; border-radius: 99px; box-shadow: 0 6px 24px rgba(255, 255, 255, 0.14); }
.mzm-ghost { border: 1px solid rgba(255, 255, 255, 0.2); color: #dcdee2; font-size: 9px; padding: 6px 15px; border-radius: 99px; }
.mzm-mac {
  position: absolute; z-index: 1; left: 253px; top: 206px; width: 277px;
  -webkit-mask-image: radial-gradient(ellipse 66% 62% at 50% 48%, #000 58%, transparent 84%);
  mask-image: radial-gradient(ellipse 66% 62% at 50% 48%, #000 58%, transparent 84%);
  animation: mzFloat 8s ease-in-out infinite;
}
.mzm-chips { position: absolute; z-index: 2; top: 432px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.mzm-chips span {
  font-size: 7.5px; color: #b9bcc2;
  border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px; border-radius: 99px;
}

/* ---------- VESESERVE (dark + laranja, sublinhado tracejado) ---------- */
.mz-veseserve { --hh: 372px; }
.mz-veseserve .mzp-hero {
  background: radial-gradient(ellipse 70% 55% at 50% -8%, rgba(249, 115, 22, 0.26), transparent 60%), #0e0805;
}
.mzv-nav {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  height: 30px; padding: 0 22px; text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mzv-brand { display: inline-flex; align-items: center; gap: 4px; color: #fff; font-size: 9.5px; font-weight: 800; }
.mzv-brand i { width: 9px; height: 9px; border-radius: 2px; background: linear-gradient(135deg, #f97316, #c2410c); transform: rotate(45deg); }
.mzv-brand em { font-style: normal; color: #f97316; }
.mzv-search {
  width: 170px; height: 16px; border-radius: 99px;
  background: #170f09; border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 6.5px; color: #8a7d6f;
  display: inline-flex; align-items: center; justify-content: space-between;
  padding: 0 3px 0 9px;
}
.mzv-search i { width: 11px; height: 11px; border-radius: 50%; background: #f97316; }
.mzv-links { margin-left: auto; font-size: 7px; color: #cfc7bd; }
.mzv-badge {
  position: relative; z-index: 2; display: inline-block; margin-top: 26px;
  font-size: 7.5px; color: #fb923c;
  border: 1px solid rgba(249, 115, 22, 0.35); background: rgba(249, 115, 22, 0.08);
  border-radius: 99px; padding: 3px 10px;
}
.mzv-title { position: relative; z-index: 2; margin: 10px 0 0; font-size: 29px; line-height: 1.14; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.mzv-orange { color: #f97316; }
.mzv-dash { position: relative; }
.mzv-dash::after {
  content: ""; position: absolute; left: 4%; right: 4%; bottom: -5px; height: 2px;
  background: linear-gradient(90deg, #f97316 0 7px, transparent 7px 14px) 0 0 / 14px 2px repeat-x;
  animation: mzvDash 1.4s linear infinite; opacity: 0.9;
}
@keyframes mzvDash { to { background-position: 14px 0; } }
.mzv-sub { position: relative; z-index: 2; margin: 15px auto 0; max-width: 400px; font-size: 8.5px; color: #b9b0a6; line-height: 1.5; }
.mzv-btns { position: relative; z-index: 2; display: flex; justify-content: center; gap: 8px; margin-top: 13px; }
.mzv-cta {
  position: relative; background: #f97316; color: #fff; font-size: 9px; font-weight: 700;
  padding: 7px 16px; border-radius: 99px;
  box-shadow: 0 6px 18px -4px rgba(249, 115, 22, 0.5);
}
.mzv-cta::after { box-shadow: 0 0 24px rgba(249, 115, 22, 0.55), 0 6px 22px -4px rgba(249, 115, 22, 0.8); animation-duration: 3s; }
.mzv-alt { background: #17120d; color: #fff; font-size: 9px; font-weight: 600; padding: 7px 15px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, 0.08); }
.mzv-stats { position: relative; z-index: 2; display: flex; justify-content: center; gap: 26px; margin-top: 18px; }
.mzv-stats .it { display: inline-flex; align-items: center; gap: 5px; text-align: left; }
.mzv-stats .ic { width: 13px; height: 13px; border-radius: 4px; background: rgba(249, 115, 22, 0.12); border: 1px solid rgba(249, 115, 22, 0.35); }
.mzv-stats b { display: block; font-size: 9px; color: #fff; line-height: 1.2; }
.mzv-stats span { display: block; font-size: 6.5px; color: #9a9086; }
.mzv-spark { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fb923c; animation: mzvTwinkle 4s ease-in-out infinite; }
@keyframes mzvTwinkle { 0%, 100% { opacity: 0.15; } 50% { opacity: 0.9; } }

/* responsivo: some no tablet/celular como no MazyoHub */
@media (max-width: 900px) {
  .mz-panel { display: none; }
  .mz-panel:nth-child(-n+2) { display: block; }
}
@media (max-width: 700px) {
  .mz-panel { display: none !important; }
}

/* ============================================================
   FORMULÁRIO DE ENTRADA (estilo Typeform) — identidade Mazzeo IA
   ============================================================ */
html.mzform-open { overflow: hidden; }

.mzform {
  position: fixed; inset: 0; z-index: 300;
  display: block;
  background:
    radial-gradient(ellipse 90% 55% at 50% -12%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 32%, transparent 60%),
    var(--bg-deep);
  color: var(--text);
  font-family: var(--font-sans);
  opacity: 1;
  transition: opacity 0.45s ease;
}
.mzform.mzform-hide { opacity: 0; pointer-events: none; }

/* iluminação ambiente do formulário (linguagem MazyoHub: luz branca
   difusa se movendo sobre fundo fosco + feixes diagonais varrendo) */
.mzform-lights { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.mzform-lights .lg {
  position: absolute; left: 50%; top: -280px;
  width: 860px; height: 580px;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.15), transparent 62%);
  filter: blur(70px);
  animation: mzlDrift 13s ease-in-out infinite;
}
@keyframes mzlDrift {
  0%, 100% { transform: translateX(-58%) translateY(0); }
  50% { transform: translateX(-42%) translateY(30px); }
}
/* brilho extra que ACENDE na tela "o que quer resolver" (objetivo) */
.mzform-lights .lg2 {
  position: absolute; left: 50%; bottom: -300px;
  width: 900px; height: 620px;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.14), transparent 60%);
  filter: blur(80px);
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 1.2s ease;
  animation: mzlDrift 10s ease-in-out infinite reverse;
}
#mzform[data-step="objetivo"] .lg2 { opacity: 1; }
#mzform[data-step="objetivo"] .lg { animation-duration: 7s; }
/* feixes de luz diagonais varrendo o fundo */
.mzform-lights .lb {
  position: absolute; top: -20%; left: 0; height: 140%; width: 190px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  filter: blur(26px);
  animation: mzlSweep var(--sd, 24s) linear infinite;
}
.mzform-lights .lb.b2 { width: 120px; --sd: 34s; animation-delay: -14s; opacity: 0.8; }
#mzform[data-step="objetivo"] .lb { --sd: 11s; }
#mzform[data-step="objetivo"] .lb.b2 { --sd: 16s; }
@keyframes mzlSweep {
  from { transform: rotate(16deg) translateX(-35vw); }
  to { transform: rotate(16deg) translateX(135vw); }
}
/* grain fosco por cima da luz */
.mzform-lights .gr {
  position: absolute; inset: -50%;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0);
  background-size: 3px 3px;
  opacity: 0.5;
  mix-blend-mode: screen;
}

.mzform-progress {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: rgba(255, 255, 255, 0.08); z-index: 5;
}
.mzform-progress i {
  display: block; height: 100%; width: 0;
  background: #ffffff; border-radius: 0 99px 99px 0;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mzform-top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px;
}
.mzform-brand { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.mzform-brand em { font-style: normal; opacity: 0.55; font-weight: 600; }
.mzform-skip {
  font-size: 12.5px; color: var(--text-muted); font-weight: 500;
  padding: 8px 14px; border-radius: 99px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.mzform-skip:hover { color: var(--text); border-color: var(--border-strong); }

.mzform-viewport { position: absolute; inset: 0; overflow: hidden; }

.mzf-step {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 80px 28px 110px;
  opacity: 0;
  transform: translateY(46px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.mzf-step.up { transform: translateY(-46px); }
.mzf-step.active { opacity: 1; transform: translateY(0); }

.mzf-card { width: 100%; max-width: 660px; }
.mzf-card.center { text-align: center; }

.mzf-num {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-muted); font-weight: 600;
  margin-bottom: 14px; font-feature-settings: "tnum";
}
.mzf-num svg { width: 13px; height: 13px; }

.mzf-q {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700; line-height: 1.2; letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.mzf-q em { font-style: normal; text-shadow: 0 0 26px rgba(255, 255, 255, 0.55); }
.mzf-sub { font-size: 15px; color: var(--text-soft); line-height: 1.55; margin: 0 0 28px; }

/* título da tela de boas-vindas */
.mzf-hero-title {
  font-size: clamp(32px, 5.5vw, 52px);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.025em;
  margin: 0 0 16px;
}
.mzf-hero-sub { font-size: clamp(14px, 1.8vw, 17px); color: var(--text-soft); line-height: 1.6; max-width: 520px; margin: 0 auto 34px; }

/* input de texto grande (typeform) */
.mzf-input {
  width: 100%;
  background: transparent; border: 0; outline: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.22);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 500;
  padding: 6px 0 12px;
  border-radius: 0;
  caret-color: #fff;
  transition: border-color var(--transition);
}
.mzf-input::placeholder { color: var(--text-dim); font-weight: 400; }
.mzf-input:focus { border-bottom-color: #ffffff; }

/* opções com tecla (A/B/C…) */
.mzf-opts { display: grid; gap: 9px; margin-top: 6px; max-width: 480px; }
.mzf-opt {
  display: flex; align-items: center; gap: 13px;
  width: 100%; text-align: left;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  color: var(--text);
  font-size: 15.5px; font-weight: 500;
  cursor: pointer;
  transition: all 160ms ease;
}
.mzf-opt i {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px; flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 5px;
  font-style: normal; font-size: 12px; font-weight: 700;
  background: rgba(0, 0, 0, 0.3);
  transition: all 160ms ease;
}
.mzf-opt:hover { background: rgba(255, 255, 255, 0.09); transform: translateX(3px); }
.mzf-opt.sel {
  background: #ffffff; color: #0a0a0a; border-color: #ffffff;
  box-shadow: 0 10px 34px -10px rgba(255, 255, 255, 0.45);
}
.mzf-opt.sel i { background: #0a0a0a; color: #fff; border-color: #0a0a0a; }

/* linha OK + dica de tecla */
.mzf-okrow { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.mzf-ok {
  display: inline-flex; align-items: center; gap: 8px;
  background: #ffffff; color: #0a0a0a;
  font-size: 15px; font-weight: 700;
  padding: 12px 26px; border-radius: 10px;
  box-shadow: 0 10px 34px -10px rgba(255, 255, 255, 0.35);
  transition: all var(--transition);
}
.mzf-ok:hover { transform: translateY(-2px); box-shadow: 0 14px 44px -10px rgba(255, 255, 255, 0.5); }
.mzf-ok.big { padding: 15px 34px; font-size: 16px; border-radius: 12px; }
.mzf-hint { font-size: 12px; color: var(--text-muted); }
.mzf-hint b { color: var(--text-soft); font-weight: 600; }
@media (hover: none) { .mzf-hint { display: none; } }

/* erro + shake */
.mzf-err {
  display: none; margin-top: 14px;
  font-size: 13px; font-weight: 600; color: var(--danger);
}
.mzf-err.on { display: block; }
.mzf-card.shake { animation: mzfShake 0.4s ease; }
@keyframes mzfShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-7px); }
  50% { transform: translateX(6px); }
  75% { transform: translateX(-3px); }
}

/* tela final */
.mzf-check {
  width: 74px; height: 74px; margin: 0 auto 24px;
  border-radius: 50%;
  background: #ffffff; color: #0a0a0a;
  display: grid; place-items: center;
  box-shadow: 0 0 60px rgba(255, 255, 255, 0.35);
  animation: mzfPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mzf-check svg { width: 34px; height: 34px; }
@keyframes mzfPop { from { transform: scale(0); } to { transform: scale(1); } }
.mzf-final-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.mzf-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border-strong);
  color: var(--text-soft);
  font-size: 15px; font-weight: 600;
  padding: 12px 24px; border-radius: 10px;
  transition: all var(--transition);
}
.mzf-ghost:hover { color: var(--text); background: var(--surface-strong); }
.mzf-spin {
  width: 40px; height: 40px; margin: 0 auto 20px;
  border: 3px solid var(--surface-strong);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

/* navegação ▲▼ (canto inferior direito, typeform) */
.mzform-nav {
  position: absolute; right: 24px; bottom: 24px; z-index: 5;
  display: flex; gap: 6px;
}
.mzform-nav button {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  color: var(--text);
  transition: all var(--transition);
}
.mzform-nav button:hover:not(:disabled) { background: rgba(255, 255, 255, 0.16); }
.mzform-nav button:disabled { opacity: 0.3; cursor: default; }

@media (max-width: 640px) {
  .mzform-top { padding: 16px 18px; }
  .mzf-step { padding: 70px 22px 96px; }
  .mzf-opts { max-width: none; }
  .mzf-opt { padding: 12px 14px; font-size: 14.5px; }
  .mzf-okrow { margin-top: 22px; }
  .mzform-nav { right: 16px; bottom: 16px; }
}

/* ============================================================
   OTIMIZAÇÕES DE RENDERIZAÇÃO
   ============================================================ */
/* seções abaixo da dobra só renderizam quando se aproximam da viewport.
   NÃO usar em .testimonials: content-visibility cria contenção de PINTURA
   e recortava o carrossel 3D (que estoura a largura do container). */
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 620px;
}
/* painéis dormem quando a hero sai da tela (JS aplica .asleep) */
.mz-panels.asleep .mzp-hero *,
.mz-panels.asleep .mzp-hero { animation-play-state: paused !important; }
/* NÃO pausar o site atrás do formulário: ele roda coberto e PRÉ-AQUECE
   (layers rasterizados, imagens decodificadas) — quando o form fecha,
   a abertura já vem fluida, sem soluço de primeira rasterização */

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
