/* ============================================
   loaded.pt v5 — Impact hero, gradients, linear journey
   ============================================ */
html, body {
  overflow-x: clip;
}


/* ================= BG ================= */
.bg-noise {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' seed='4'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
}
.bg-mesh {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: var(--grad-mesh);
}

/* ================= LOGO ================= */
.logo {
  display: inline-flex; align-items: baseline;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.logo-bracket { color: var(--primary); font-family: var(--font-mono); font-weight: 400; opacity: 0.6; }
.logo-text    { color: var(--fg1); font-weight: 600; }
.logo-dot     { color: var(--primary); font-weight: 700; }
.logo-pt      { color: var(--primary); font-weight: 500; }

/* ================= NAV ================= */
.nav {
  position: fixed;
  top: 1rem; left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex; align-items: center; gap: 1.25rem;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  border-radius: var(--r-pill);
  background: rgba(15, 18, 24, 0.72);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md), var(--glow-inset);
  transition: top var(--dur-base) var(--ease-out);
  max-width: calc(100vw - 2rem);
}
.nav.scrolled { top: 0.5rem; }
.nav-logo { flex: none; }
.nav-menu { display: flex; list-style: none; gap: 1.25rem; align-items: center; }
.nav-menu a {
  font-size: 0.8125rem;
  color: var(--fg2);
  font-weight: 400;
  padding: 0.375rem 0;
  transition: color var(--dur-fast) ease;
}
.nav-menu a:hover { color: var(--fg1); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 1rem;
  background: var(--grad-btn);
  color: var(--fg1);
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  font-weight: 500;
  box-shadow: var(--glow-primary), var(--glow-inset);
  transition: transform var(--dur-fast), box-shadow var(--dur-base);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--glow-primary-lg), var(--glow-inset); }

/* ================= HERO (impact type + big globe) ================= */
.hero {
  padding: calc(var(--nav-h) + 4rem) var(--gutter) var(--sp-7);
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: var(--sp-6);
  align-items: center;
  position: relative; z-index: 2;
  min-height: min(90vh, 780px);
}
.hero-content {
  display: flex; flex-direction: column; gap: 1.5rem;
  min-width: 0;   /* let content shrink instead of overflowing */
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem; align-self: flex-start;
  padding: 0.4rem 0.9rem 0.4rem 0.65rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  color: var(--fg2);
  font-weight: 400;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.badge-icon {
  width: 6px; height: 6px; background: var(--success); border-radius: 50%;
  box-shadow: 0 0 10px var(--success);
  animation: pulse 2s ease infinite;
  flex: none;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

.hero-title {
  font-family: var(--font-sans);
  font-size: var(--fs-mega);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: var(--ls-mega);
  color: var(--fg1);
  max-width: 15ch;
}
.hero-title .line {
  display: block;
  white-space: nowrap;
  /* extra padding so italic descenders (g, y) never clip in gradient text */
  padding-bottom: 0.05em;
}
.hero-title .italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "wght" 300, "SOFT" 100;
  letter-spacing: -0.05em;
  padding-right: 0.05em;
  font-size: 1.08em;
  vertical-align: -0.02em;
}
.hero-title .grad {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  padding-right: 0.1em;
}

.hero-subtitle {
  font-size: var(--fs-body-lg);
  color: var(--fg2);
  max-width: 32rem;
  line-height: 1.55;
}
.hero-subtitle strong { color: var(--fg1); font-weight: 500; }

.hero-cta { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.5rem; }

.hero-visual {
  width: min(100%, 36rem);
  aspect-ratio: 1 / 1;
  min-height: min(36rem, 70vw);   /* nunca colapsa, e acompanha a largura */
  justify-self: end;
}


.hero-visual::before {
  content: '';
  position: absolute;
  inset: -5%;
  border-radius: 50%;
  background: var(--grad-glow);
  filter: blur(60px);
  z-index: 0;
  animation: glowPulse 6s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.05); }
}
.hero-visual canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100% !important;
  height: 100% !important;
}
.hero-visual-caption {
  /*position: absolute;*/
  left: 0; bottom: 1rem;
  padding: 0.4rem 0.75rem;
  background: rgba(15,18,24,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--fg2);
  letter-spacing: 0.02em;
  z-index: 2;
}
.hero-visual-caption .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary-glow);
  animation: pulse 2s ease infinite;
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border: none; cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background var(--dur-base) var(--ease-out),
              transform var(--dur-fast),
              box-shadow var(--dur-base);
  border-radius: var(--r-pill);
  text-decoration: none;
  letter-spacing: -0.005em;
  line-height: 1;
  position: relative;
}
.btn-primary {
  background: var(--grad-btn);
  color: var(--fg1);
  box-shadow: var(--glow-primary), var(--glow-inset);
}
.btn-primary:hover { background: var(--grad-btn-hover); transform: translateY(-2px); box-shadow: var(--glow-primary-lg), var(--glow-inset); }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-primary svg { transition: transform var(--dur-base); }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--fg1);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover { border-color: var(--fg1); background: rgba(255,255,255,0.09); }

.btn-lg { padding: 1rem 1.75rem; font-size: 1rem; }

/* ================= BIG NUMBERS BAND ================= */
.stats-band {
  padding: var(--sp-7) var(--gutter);
  position: relative; z-index: 1;
}
.stats-band-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 0.5rem;
  transition: background var(--dur-base) var(--ease-out);
  position: relative;
}
.stat:last-child { border-right: none; }
.stat:hover { background: rgba(114,137,218,0.04); }
.stat-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "wght" 300, "SOFT" 60;
  font-size: var(--fs-stat);
  line-height: 0.95;
  letter-spacing: -0.04em;
  background: var(--grad-stat);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat-num .unit {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 500;
  font-size: 0.35em;
  vertical-align: 0.5em;
  margin-left: 0.1em;
  -webkit-text-fill-color: var(--fg3);
  color: var(--fg3);
}
.stat-label {
  font-size: 0.9375rem;
  color: var(--fg1);
  font-weight: 500;
}
.stat-note {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--fg3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* ================= SECTIONS ================= */
.section {
  padding: var(--sp-section) var(--gutter);
  position: relative; z-index: 1;
}
.container { max-width: var(--container); margin: 0 auto; }

.section-head {
  display: flex; flex-direction: column; gap: 0.75rem; align-items: center;
  text-align: center; max-width: 44rem; margin: 0 auto var(--sp-6);
}
.section-label {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--fg2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-label::before {
  content: '';
  width: 5px; height: 5px; background: var(--primary); border-radius: 50%;
  box-shadow: 0 0 8px var(--primary-glow);
}
.section-title {
  font-family: var(--font-sans);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: var(--fg1);
}
.section-title .italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "wght" 300, "SOFT" 100;
  letter-spacing: -0.04em;
  padding-right: 0.05em;
}
.section-title .grad {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.section-subtitle {
  font-size: var(--fs-body-lg);
  color: var(--fg2);
  line-height: 1.5;
  max-width: 36rem;
}

/* ================= SERVICES (gradient border on hover) ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.service-card {
  padding: 1.75rem;
  background: rgba(15,18,24,0.65);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  display: flex; flex-direction: column; gap: 0.85rem;
  transition: all var(--dur-base) var(--ease-out);
  min-height: 12rem;
  position: relative;
  isolation: isolate;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--r-xl);
  padding: 1px;
  background: var(--grad-card-hover);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
  z-index: -1;
}
.service-card:hover {
  background: rgba(15,18,24,0.85);
  transform: translateY(-3px);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(114,137,218,0.18), rgba(199,184,255,0.08));
  border: 1px solid rgba(114,137,218,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.service-card h3 .italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--primary-lighter);
  font-size: 0.95em;
}
.service-card p {
  font-size: 0.875rem;
  color: var(--fg2);
  line-height: 1.5;
}

/* ================= COMPARISON (2-col) ================= */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto;
}
.compare-card {
  padding: 2rem;
  border-radius: var(--r-2xl);
  display: flex; flex-direction: column; gap: 1.25rem;
  position: relative;
  overflow: hidden;
}
.compare-card.them {
  background: rgba(15,18,24,0.55);
  border: 1px solid var(--line);
}
.compare-card.us {
  background:
    linear-gradient(180deg, rgba(114,137,218,0.14), rgba(114,137,218,0.03) 60%),
    rgba(15,18,24,0.75);
  border: 1px solid var(--primary);
  box-shadow: var(--glow-primary);
}
.compare-card.us::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 200px; height: 200px;
  background: var(--grad-glow);
  filter: blur(30px);
  z-index: 0;
}
/* ============ COMPARE CARDS — foco no "us" ============ */
.compare-card {
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);   /* ease-out suave */
  transition: transform .9s var(--ease-soft),
              filter    .9s var(--ease-soft),
              opacity   .9s var(--ease-soft),
              box-shadow .9s var(--ease-soft);
  will-change: transform, filter;
}

/* 1. só o "us" reage — e ao reagir, apaga o "them" */
@media (hover: hover) and (pointer: fine) {
  .compare-card.us:hover {animation: (transform: scale(1.6)) ;box-shadow: var(--glow-primary-lg);}
  .compare-grid:has(.compare-card.us:hover) .compare-card.them {
    filter: blur(2.5px) saturate(0.7);
    opacity: 0.55;
    transform: scale(0.985);
  }
}

/* 2. equivalente automático no scroll (mobile) */
.compare-card.us.is-active { transform: scale(1.03); box-shadow: var(--glow-primary-lg); }
.compare-grid:has(.compare-card.us.is-active) .compare-card.them {
  filter: blur(2.5px) saturate(0.7);
  opacity: 0.55;
  transform: scale(0.985);
}

/* 3. reflexo holográfico — exclusivo do "us" */
.compare-card.us::after {
  content: '';
  position: absolute;
  top: -60%; left: -60%;
  width: 220%; height: 220%;
  background: linear-gradient(
    0deg,
    transparent 46%,
    rgba(199,184,255,0.20) 50%,
    rgba(255,255,255,0.12) 52%,
    transparent 56%
  );
  filter: blur(14px);
  transform: rotate(-45deg) translateY(-130%);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}
@keyframes sheen {
  0%   { opacity: 0; transform: rotate(-45deg) translateY(-130%); }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { opacity: 0; transform: rotate(-45deg) translateY(130%); }
}
@media (hover: hover) and (pointer: fine) {
  .compare-card.us:hover::after { animation: sheen 2s var(--ease-soft) forwards; }
}
.compare-card.us.is-active::after { animation: sheen 2s var(--ease-soft) forwards; }


.compare-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.compare-head h3 {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.compare-card.us .compare-head h3 { color: var(--fg1); }
.compare-card.them .compare-head h3 { color: var(--fg2); }
.compare-tag {
  padding: 0.25rem 0.6rem;
  background: rgba(114,137,218,0.15);
  border: 1px solid var(--primary);
  color: var(--primary-light);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.compare-card.them .compare-tag {
  background: rgba(255,255,255,0.04);
  border-color: var(--line-strong);
  color: var(--fg3);
}
.compare-list {
  display: flex; flex-direction: column; gap: 0.75rem;
  position: relative;
}
.compare-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.4;
}
.compare-item .icon {
  flex: none;
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  margin-top: 0.125rem;
}
.compare-item .icon.check { background: rgba(87,242,135,0.15); color: var(--success); }
.compare-item .icon.cross { background: rgba(237,66,69,0.12); color: var(--danger); }
.compare-card.them .compare-item { color: var(--fg2); }
.compare-card.us .compare-item { color: var(--fg1); }

/* ================= SIMULATOR (gradient price) ================= */
.simulator-wrap {
  padding: 2rem;
  background: rgba(15,18,24,0.65);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.75rem;
  align-items: start;
  position: relative;
  overflow: hidden;
}
.simulator-wrap::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: var(--grad-glow);
  filter: blur(40px);
  opacity: 0.5;
  z-index: 0;
}
.simulator-wrap > * { position: relative; z-index: 1; }

.simulator-form { display: flex; flex-direction: column; gap: 1.5rem; }
.sim-step { display: flex; flex-direction: column; gap: 0.6rem; }
.sim-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--primary-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sim-options, .sim-features { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.sim-opt, .sim-feature {
  cursor: pointer;
  padding: 0.5rem 0.9rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--fg2);
  transition: all var(--dur-base) var(--ease-out);
  display: inline-flex; align-items: center; gap: 0.35rem;
  user-select: none;
}
.sim-opt input, .sim-feature input { display: none; }
.sim-opt:hover, .sim-feature:hover { border-color: var(--line-strong); color: var(--fg1); }
.sim-opt.active, .sim-feature.active {
  background: var(--primary-dim);
  border-color: var(--primary);
  color: var(--fg1);
}

.sim-slider-wrap { display: flex; align-items: center; gap: 1rem; }
.sim-slider-wrap input[type=range] { flex: 1; accent-color: var(--primary); height: 2px; }
.sim-slider-value {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-light);
  min-width: 2rem; text-align: right;
  font-variant-numeric: tabular-nums;
}

.sim-result {
  padding: 1.75rem;
  background: linear-gradient(180deg, rgba(114,137,218,0.18), rgba(114,137,218,0.04));
  border: 1px solid var(--primary);
  border-radius: var(--r-xl);
  display: flex; flex-direction: column; gap: 0.75rem;
  align-self: stretch;
  box-shadow: var(--glow-primary);
}
.sim-result-label {
  font-family: var(--font-mono); font-size: 0.6875rem;
  color: var(--primary-light); letter-spacing: 0.1em; text-transform: uppercase;
}
.sim-result-price {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 1.5rem + 1.4vw, 2.75rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--grad-price);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.sim-result-price .to { -webkit-text-fill-color: var(--fg3); color: var(--fg3); font-weight: 400; margin: 0 0.15em; }
.sim-result-price small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--fg3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  font-weight: 400;
  -webkit-text-fill-color: var(--fg3);
}
.sim-result-note { font-size: var(--fs-small); color: var(--fg2); line-height: 1.5; }
.sim-result .btn { align-self: flex-start; margin-top: auto; }

/* ================= PROCESS ================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.process-step {
  padding: 1.75rem;
  background: rgba(15,18,24,0.65);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  display: flex; flex-direction: column; gap: 0.5rem;
  transition: all var(--dur-base) var(--ease-out);
  position: relative;
}
.process-step:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.process-step .num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary-light);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  display: block;
}
.process-step h3 {
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.process-step p {
  font-size: 0.875rem;
  color: var(--fg2);
  line-height: 1.5;
}

/* ================= SHOWCASE ================= */
.showcase-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  max-width: 72rem;
  margin: 0 auto;
  min-height: 32rem;
}
.showcase-card {
  border-radius: var(--r-2xl);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  transition: all var(--dur-base) var(--ease-out);
  cursor: pointer;
  display: flex; flex-direction: column;
}
.showcase-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--glow-primary); }
.showcase-card.big { grid-row: span 2; }
.showcase-visual {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.showcase-visual .mock {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.75rem;
  color: var(--fg1);
  letter-spacing: -0.02em;
  position: relative;
  overflow: hidden;
}
.showcase-visual .mock::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-glow);
  opacity: 0.6;
}
.showcase-visual .mock > span { position: relative; z-index: 1; text-align: center; padding: 0 1rem; }
.showcase-foot {
  padding: 1.25rem;
  background: rgba(15,18,24,0.85);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 0.35rem;
}
.showcase-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--primary-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.showcase-name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg1);
  letter-spacing: -0.015em;
}
.showcase-foot .desc {
  font-size: 0.8125rem;
  color: var(--fg2);
  line-height: 1.4;
}

/* Individual showcase mock backgrounds */
.mock-1 { background: linear-gradient(135deg, #1A1F3A 0%, #2D1B4E 50%, #0F0F1E 100%); }
.mock-2 { background: linear-gradient(135deg, #0F1A2E 0%, #1E3A5F 100%); }
.mock-3 { background: linear-gradient(135deg, #2D1B3D 0%, #4A2C5A 100%); }
.mock-4 { background: linear-gradient(135deg, #0F1F1E 0%, #1E4A3D 100%); }

/* ================= TESTIMONIALS ================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.testimonial {
  padding: 1.75rem;
  background: rgba(15,18,24,0.65);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  display: flex; flex-direction: column; gap: 1rem;
  transition: all var(--dur-base) var(--ease-out);
}
.testimonial:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.testimonial .q {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--fg1);
  line-height: 1.55;
  flex: 1;
}
.testimonial .meta-line {
  display: flex; align-items: center; gap: 0.6rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}
.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--grad-btn);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--fg1);
  box-shadow: 0 2px 8px rgba(114,137,218,0.3), var(--glow-inset);
}
.testimonial-name {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--fg1);
  line-height: 1.2;
}
.testimonial-role {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--fg3);
}

/* ================= BEFORE / AFTER ================= */
.beforeafter-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  max-width: 56rem;
  margin: 0 auto;
  background: var(--bg-secondary);
}
.beforeafter { position: relative; width: 100%; height: 100%; cursor: ew-resize; overflow: hidden; user-select: none; }
.beforeafter-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.beforeafter-after-wrap { position: absolute; inset: 0; overflow: hidden; width: 50%; }
.beforeafter-slider {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; background: var(--fg1);
  transform: translateX(-50%);
}
.beforeafter-handle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 40px; height: 40px;
  background: var(--fg1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--bg);
  font-weight: 700;
  font-size: 0.9375rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.beforeafter-label {
  position: absolute; top: 1rem;
  padding: 0.3rem 0.7rem;
  background: rgba(15,18,24,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg1);
}
.beforeafter-label.before { left: 1rem; }
.beforeafter-label.after  { right: 1rem; }

/* ================= FAQ ================= */
.faq-list {
  max-width: 48rem;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
  transition: background var(--dur-base) var(--ease-out);
}
.faq-item:hover { background: rgba(255,255,255,0.015); }
.faq-question {
  padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--fg1);
  letter-spacing: -0.015em;
  user-select: none;
}
.faq-toggle {
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(114,137,218,0.15);
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-light);
  transition: all var(--dur-base) var(--ease-out);
}
.faq-item.open .faq-toggle {
  background: var(--grad-btn);
  border-color: transparent;
  color: var(--fg1);
  transform: rotate(45deg);
  box-shadow: var(--glow-primary);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-out);
}
.faq-item.open .faq-answer { max-height: 20rem; }
.faq-answer p {
  padding: 0 0 1.5rem;
  color: var(--fg2);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 40rem;
}

/* ================= CTA FINAL ================= */
.cta-final {
  max-width: 56rem;
  margin: 0 auto;
  padding: 3rem 2rem;
  background:
    linear-gradient(180deg, rgba(114,137,218,0.14), rgba(114,137,218,0.03) 60%),
    rgba(15,18,24,0.75);
  border: 1px solid var(--primary);
  border-radius: var(--r-2xl);
  text-align: center;
  display: flex; flex-direction: column; gap: 1.25rem; align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow-primary);
}
.cta-final::before {
  content: '';
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 300px;
  background: var(--grad-glow);
  filter: blur(50px);
  opacity: 0.7;
}
.cta-final > * { position: relative; z-index: 1; }
.cta-final h2 {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.cta-final h2 .italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--primary-lighter);
  padding-right: 0.05em;
}
.cta-final p {
  font-size: var(--fs-body-lg);
  color: var(--fg2);
  max-width: 34rem;
}
.cta-final .btn-row { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }

/* ================= STICKY BOTTOM CTA ================= */
.sticky-cta {
  position: fixed;
  bottom: 1.25rem; left: 50%;
  transform: translateX(-50%) translateY(200%);
  z-index: 90;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  background: rgba(15, 18, 24, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--primary);
  border-radius: var(--r-pill);
  box-shadow: var(--glow-primary), var(--shadow-lg);
  display: flex; align-items: center; gap: 1rem;
  transition: transform var(--dur-slow) var(--ease-spring);
  max-width: calc(100vw - 2rem);
}
.sticky-cta.visible { transform: translateX(-50%) translateY(0); }
.sticky-cta .text {
  font-size: 0.875rem;
  color: var(--fg1);
  font-weight: 500;
}
.sticky-cta .text .italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--primary-lighter);
}
.sticky-cta .btn {
  padding: 0.5rem 0.9rem;
  font-size: 0.8125rem;
}

/* ================= FOOTER ================= */
.footer {
  padding: var(--sp-7) var(--gutter) var(--sp-4);
  border-top: 1px solid var(--line);
  position: relative; z-index: 1;
}
.footer-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.footer-brand p { font-size: 0.875rem; color: var(--fg2); max-width: 22rem; margin-top: 0.75rem; line-height: 1.55; }
.footer-brand .italic-serif { color: var(--primary-lighter); }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-cols > div { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--primary-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.footer-cols a { font-size: 0.8125rem; color: var(--fg2); transition: color var(--dur-fast); }
.footer-cols a:hover { color: var(--fg1); }
.footer-bottom {
  max-width: var(--container); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--fg3);
  letter-spacing: 0.06em;
}

/* ================= DEMO FORM (vanilla) ================= */
@media (max-width: 767px) {
  .demo-form input, .demo-form textarea { font-size: 16px; }
  .beforeafter-wrap { aspect-ratio: 4/3; }
  .beforeafter { touch-action: none; }
  .beforeafter-handle { width: 44px; height: 44px; }
  body { padding-bottom: 4.5rem; }
  .sim-opt, .sim-feature { min-height: 40px; }
}

.demo-form {
  width: 100%; max-width: 32rem;
  display: flex; flex-direction: column; gap: 0.85rem;
  text-align: left; margin-top: 1rem;
}
.demo-row { display: flex; flex-direction: column; gap: 0.4rem; }
.demo-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.demo-field-label { font-size: 0.75rem; color: var(--fg3); }
.demo-form input[type="text"],
.demo-form input[type="email"],
.demo-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--fg1);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.demo-form textarea { resize: vertical; min-height: 4rem; }
.demo-form input:focus, .demo-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(114,137,218,0.06);
}
.demo-form ::placeholder { color: var(--fg4); }
.demo-form .sim-opt { cursor: pointer; user-select: none; }
.demo-form .btn { align-self: stretch; justify-content: center; }

/* Success state */
.demo-success {
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  padding: 1rem 0;
}
.demo-success-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-btn);
  color: var(--fg1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--glow-primary);
}
.demo-success h3 { font-family: var(--font-sans); font-size: 1.25rem; font-weight: 500; }

/* ================= BEFORE/AFTER MOCK PLACEHOLDERS ================= */
.mock-before {
  background: repeating-linear-gradient(45deg, #2a2530 0 16px, #201c26 16px 32px);
  display: flex; align-items: center; justify-content: center;
  color: #665e75;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 2px;
  pointer-events: none;
}
.mock-after {
  background: #0F1218;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0.75rem;
  position: relative; overflow: hidden;
  pointer-events: none;
}
.mock-after-glow {
  position: absolute; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(114,137,218,0.35), transparent 60%);
  filter: blur(60px);
  top: 30%; left: 30%;
}
.mock-after-title {
  z-index: 1;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 2.25rem;
  color: #FFF;
  letter-spacing: -0.03em;
}
.mock-after-sub {
  z-index: 1;
  color: var(--fg2);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.mock-after-btn {
  z-index: 1;
  margin-top: 0.75rem;
  padding: 0.5rem 1rem;
  background: var(--primary);
  border-radius: 999px;
  color: #FFF;
  font-weight: 500;
  font-size: 0.75rem;
}

/* ============================================
   RESPONSIVE — 5 breakpoints
   ≥1200: desktop default (base rules)
   1024-1199: desktop-sm
   768-1023: tablet landscape
   480-767: tablet portrait / phone landscape
   ≤479: phone
   ============================================ */

/* ============ 1024-1199 (desktop-sm / laptop) ============ */
@media (max-width: 1199px) {
  .hero {
    padding-top: calc(var(--nav-h) + 3rem);
    min-height: min(85vh, 700px);
  }
  .hero-visual { max-width: 30rem; min-height: 22rem; }
  .stats-band-inner { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 1.5rem 1rem; }
  .simulator-wrap { padding: 1.5rem; gap: 1.25rem; }
}

/* ============ 768-1023 (tablet landscape) ============ */
@media (max-width: 1023px) {
  /* nav */
  .nav { gap: 1rem; padding: 0.5rem 0.5rem 0.5rem 1rem; }
  .nav-menu { gap: 1rem; }
  .nav-menu a { font-size: 0.75rem; }

  /* hero: still 2 cols but tighter */
  .hero {
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
    padding-top: calc(var(--nav-h) + 2.5rem);
    min-height: min(80vh, 640px);
  }
  .hero-title { max-width: 12ch; }
  .hero-visual { max-width: 22rem; min-height: 18rem; }
  .hero-cta { gap: 0.5rem; }
  .btn-lg { padding: 0.85rem 1.4rem; font-size: 0.9375rem; }

  /* stats: 2×2 grid */
  .stats-band-inner { grid-template-columns: 1fr 1fr; }
  .stat { padding: 1.75rem 1.25rem; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2), .stat:nth-child(4) { border-right: none; }

  /* grids: 2 cols */
  .services-grid, .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }

  /* comparison: keep 2-col */
  .compare-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .compare-card { padding: 1.5rem; }

  /* simulator: 1-col */
  .simulator-wrap { grid-template-columns: 1fr; padding: 1.5rem; }

  /* showcase: keep asymmetric but 2 cols */
  .showcase-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; min-height: unset; }
  .showcase-card.big { grid-row: span 1; grid-column: span 2; min-height: 20rem; }

  /* footer: 1-col */
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}

/* ============ 480-767 (tablet portrait / phone landscape) ============ */
@media (max-width: 767px) {
  /* nav: hide menu, keep logo + cta */
  .nav {
    gap: 0.75rem;
    padding: 0.4rem 0.4rem 0.4rem 1rem;
    top: 0.75rem;
    max-width: calc(100vw - 1.5rem);
  }
  .nav-menu { display: none; }
  .nav-cta { padding: 0.5rem 0.85rem; font-size: 0.75rem; }
  .nav-cta svg { width: 12px; height: 12px; }

  /* hero mobile: single column, globe positioned at the STATS BAND (below), cropped right */
  .hero { padding-bottom: 0; overflow: visible; position: relative; }
  .hero-content {
    gap: 1.25rem;
    text-align: left;
    position: relative;
    z-index: 2;
  }
  .hero-content > * { align-self: flex-start; }
  .hero-title { max-width: 14ch; }
  .hero-title .line { white-space: normal; }
  .hero-subtitle { font-size: 1rem; max-width: 100%; }
  /* Globe stays in normal flow after the hero content but is pulled sideways
     into the stats band area via absolute + translate. It sits inside .hero
     but overflow of the parent lets it extend below. */
  .hero-visual {
    position: absolute;
    top: calc(100% - 1.5rem);
    right: -9rem;          /* metade exata de 18rem fora do viewport */
    left: auto;
    width: 18rem;
    max-width: 18rem;
    height: 18rem;
    min-height: 0;
    max-height: none;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
    justify-self: unset;
  }
  .hero-visual::before { inset: -20%; opacity: 0.45; filter: blur(70px); }
  .hero-visual-caption { display: none; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1; justify-content: center; padding: 0.85rem 1rem; font-size: 0.875rem; }

  /* Give hero visual space to extend into the stats band area */
  .hero { padding-bottom: 4rem; }
  .stats-band { position: relative; overflow: hidden; padding-top: 4rem; }
  .stats-band-inner { position: relative; z-index: 2; grid-template-columns: 1fr 1fr; }
  .stat { background: none; padding: 1.1rem 0.9rem; gap: 0.3rem; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2), .stat:nth-child(4) { border-right: none; }
  .stat-num { font-size: clamp(2.25rem, 8vw, 3rem); }
  .stat-label { font-size: 0.8125rem; }

  /* sections: less padding */
  .section { padding: var(--sp-7) var(--gutter); }
  .section-head { margin-bottom: 2rem; gap: 0.6rem; }
  .section-title { font-size: clamp(1.5rem, 5vw, 2rem); }
  .section-subtitle { font-size: 0.9375rem; }

  /* services: 1 col */
  .services-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .service-card { padding: 1.5rem; min-height: unset; }

  /* comparison: 1 col */
  .compare-grid { grid-template-columns: 1fr; gap: 1rem; }
  .compare-card { padding: 1.5rem; border-radius: var(--r-xl); }

  /* simulator: adjust price */
  .simulator-wrap { padding: 1.25rem; border-radius: var(--r-xl); }
  .sim-result { padding: 1.25rem; }
  .sim-result-price { font-size: clamp(1.75rem, 6vw, 2.25rem); }

  /* process: 2×2 */
  .process-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .process-step { padding: 1.25rem; }

  /* showcase: 1 col */
  .showcase-grid { grid-template-columns: 1fr; grid-template-rows: auto; min-height: unset; gap: 0.75rem; }
  .showcase-card, .showcase-card.big { grid-column: span 1; grid-row: span 1; min-height: 16rem; }
  .showcase-visual { min-height: 12rem; }
  .showcase-visual .mock { font-size: 1.25rem; }

  /* before/after */
  .beforeafter-wrap { border-radius: var(--r-xl); }

  /* testimonials: 1 col */
  .testimonials-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .testimonial { padding: 1.5rem; }

  /* FAQ */
  .faq-question { padding: 1.25rem 0; font-size: 0.9375rem; gap: 0.5rem; }
  .faq-toggle { width: 28px; height: 28px; }
  .faq-answer p { font-size: 0.875rem; }

  /* CTA final */
  .cta-final { padding: 2rem 1.25rem; border-radius: var(--r-xl); }
  .cta-final h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .cta-final form { max-width: 100% !important; }
  .cta-final form > div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }

  /* footer: 2 cols */
  .footer { padding: var(--sp-6) var(--gutter) var(--sp-4); }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; align-items: flex-start; }

  /* sticky CTA: tighter */
  .sticky-cta {
    padding: 0.4rem 0.4rem 0.4rem 0.9rem;
    gap: 0.5rem;
    bottom: 0.75rem;
  }
  .sticky-cta .text { font-size: 0.75rem; }
  .sticky-cta .btn { padding: 0.4rem 0.75rem; font-size: 0.75rem; }
}

/* ============ ≤479 (phone) ============ */
@media (max-width: 479px) {
  :root { --gutter: 1rem; }

  /* nav: even tighter */
  .nav {
    padding: 0.35rem 0.35rem 0.35rem 0.85rem;
    gap: 0.5rem;
    top: 0.5rem;
  }
  .logo { font-size: 0.9375rem; }
  .nav-cta { padding: 0.45rem 0.75rem; font-size: 0.7rem; }

  /* hero phone: super compact, globe stays as absolute backdrop */
  .hero {
    padding-top: calc(var(--nav-h) + 1.5rem);
    gap: 1.25rem;
  }
  .hero-title { max-width: 100%; }
  .hero-title .line { white-space: normal; }
  .hero-badge { font-size: 0.6875rem; padding: 0.3rem 0.75rem 0.3rem 0.55rem; }
  .hero-subtitle { font-size: 0.9375rem; line-height: 1.5; }
  .hero-visual {
    width: 15rem; max-width: 15rem;
    height: 15rem;
    right: -7.5rem;
    transform: none;
  }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; padding: 0.85rem 1rem; }

  /* stats: 1 col stack */
  .stats-band-inner { grid-template-columns: 1fr 1fr; }
  .stat {
    border-right: 1px solid var(--line) !important;
    border-bottom: none;
    padding: 1rem 0.85rem;
  }
  .stat:nth-child(2), .stat:nth-child(4) { border-right: none !important; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .stat-num { font-size: clamp(1.9rem, 9vw, 2.5rem); }
  .stat-note { font-size: 0.625rem; letter-spacing: 0.04em; }

  /* sections */
  .section { padding: var(--sp-6) var(--gutter); }
  .section-title { font-size: clamp(1.375rem, 6vw, 1.75rem); }
  .section-head { margin-bottom: 1.5rem; }
  .section-subtitle { font-size: 0.875rem; }
  .section-label { font-size: 0.625rem; padding: 0.25rem 0.65rem; }

  /* process: 1 col */
  .process-grid { grid-template-columns: 1fr; }
  .process-step { padding: 1.25rem; }

  /* showcase */
  .showcase-visual { min-height: 10rem; }
  .showcase-visual .mock { font-size: 1.125rem; }
  .showcase-foot { padding: 1rem; }

  /* footer: 1 col */
  .footer-cols { grid-template-columns: 1fr; gap: 1.25rem; }
  .footer-brand p { max-width: 100%; }

  /* sim */
  .simulator-wrap { padding: 1rem; }
  .sim-opt, .sim-feature { font-size: 0.75rem; padding: 0.45rem 0.7rem; }
  .sim-result-price { font-size: 1.625rem; }

  /* audit removed from v5, but keep safe */
  .audit-input-wrap { flex-direction: column; align-items: stretch; padding: 0.5rem; }
  .audit-input-wrap .btn { width: 100%; justify-content: center; }

  /* FAQ */
  .faq-question { padding: 1rem 0; font-size: 0.875rem; }

  /* CTA final input row */
  .cta-final { padding: 1.5rem 1rem; }

  /* sticky CTA — smaller text, keep visible */
  .sticky-cta .text {
    display: none;   /* on very small screens, only show the button */
  }
  .sticky-cta {
    padding: 0.35rem 0.35rem 0.35rem 0.35rem;
    left: auto; right: 1rem;
    transform: translateY(200%);
  }
  .sticky-cta.visible { transform: translateY(0); }
}

/* ============ Landscape phones (short height) ============ */
@media (max-height: 600px) and (max-width: 900px) {
  .hero { min-height: unset; padding-top: calc(var(--nav-h) + 1.5rem); padding-bottom: 2rem; }
  .hero-visual { max-height: 16rem; min-height: 14rem; }
}

/* ============ Print ============ */
@media print {
  .nav, .sticky-cta, .bg-mesh, .bg-noise { display: none !important; }
  body { background: white; color: black; }
  * { animation: none !important; }
}

/* ============ Reduce motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.nav-panel, .nav-scrim { display: none; }
.nav-toggle { display: none; }

@media (max-width: 767px) {
  .nav { gap: 0.5rem; padding: 0.4rem 0.4rem 0.4rem 0.9rem; }
.nav-cta { white-space: nowrap; padding: 0.5rem 0.8rem; }
.nav-toggle { margin-left: auto; }

  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center;
    gap: 5px;
    width: 34px; height: 34px;
    padding: 0;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    cursor: pointer;
    flex: none;
    align-items: center;
  }
  .nav-toggle span {
    display: block;
    width: 14px; height: 1.5px;
    background: var(--fg1);
    border-radius: 2px;
    transition: transform var(--dur-base) var(--ease-out),
                opacity var(--dur-fast);
  }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

  .nav-panel {
    display: flex;
    position: fixed;
    top: calc(0.75rem + 3.25rem);
    left: 0.75rem; right: 0.75rem;
    z-index: 99;
    padding: 0.5rem;
    display: flex; flex-direction: column;
    background: rgba(15,18,24,0.92);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg), var(--glow-inset);
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top center;
    pointer-events: none;
    transition: opacity var(--dur-base) var(--ease-out),
                transform var(--dur-base) var(--ease-spring);
  }
  .nav-panel.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-panel a {
    padding: 0.85rem 1rem;
    font-size: 0.9375rem;
    color: var(--fg2);
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: space-between;
    min-height: 44px;
    transition: background var(--dur-fast), color var(--dur-fast);
  }
  .nav-panel a:active { background: var(--primary-dim); color: var(--fg1); }
  .nav-panel a + a { border-top: 1px solid var(--line); border-radius: 0; }

  .nav-scrim {
    display: block;
    position: fixed; inset: 0; z-index: 98;
    background: rgba(8,9,13,0.55);
    backdrop-filter: blur(2px);
    opacity: 0; pointer-events: none;
    transition: opacity var(--dur-base) var(--ease-out);
  }
  .nav-scrim.open { opacity: 1; pointer-events: auto; }
}

/* ============ MOBILE FINAL — hero + globo ============ */
@media (max-width: 767px) {
  body .hero {
    grid-template-columns: 1fr;      /* ← faltava: era isto que esmagava o texto */
    gap: 1.25rem;
    padding-top: calc(var(--nav-h) + 2rem);
    padding-bottom: 2.5rem;
    min-height: unset;
    position: relative;
    overflow: visible;
  }
  body .hero-content {
    max-width: none;
    text-align: center;
    align-items:center;
    position: relative;
    z-index: 2;
  }

    body .hero > .hero-content { width: 100%; align-items: center; text-align: center; }
  body .hero > .hero-content > * { align-self: center; max-width: 100%; }
  body .hero-title { max-width: 100%; }
  body .hero-subtitle { max-width: 30rem; margin-inline: auto; }
  body .hero-cta { width: 100%; align-items: stretch; }


  .hero-badge { align-self: center; }
  .hero-title { text-align: center; }

    body .hero-content::before {
    content: '';
    position: absolute;
    inset: -2rem -1.5rem;
    background: radial-gradient(65% 55% at 50% 32%, rgba(11,13,18,0.72), transparent 72%);
    z-index: -1;
    pointer-events: none;
  }
  .hero-title, .hero-subtitle { max-width: 100%; }
  .hero-title .line { white-space: normal; }
  .hero-cta { width: 100%; flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; white-space: nowrap; }

  /* globo: fundo centrado atrás do título */
  .hero > .hero-visual {
    --gsize: min(100vw, 25rem);
    position: absolute;
    top: calc(var(--nav-h) - 4rem);
    bottom: auto;
    right: auto;
    left: 50%;
    margin-left: calc(var(--gsize) / -2);   /* centra sem transform */
    transform: none;
    width: var(--gsize);
    height: var(--gsize);
    max-width: none;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    opacity: 0.45;
    z-index: 0;
    pointer-events: none;
    justify-self: unset;
    /* color: #000000; */
  }

  .hero > .hero-visual::before { inset: -10%; opacity: 0.22; filter: blur(80px); }

  .hero-visual-caption { display: none; }

  /* já não é preciso reservar espaço em baixo para o globo */
  body .stats-band { padding-top: var(--sp-6); overflow: hidden; }
}

/* ===== SCROLL BLUR — desfoca ao sair do ecrã ===== */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    [data-scroll-blur] {
      animation: sb-out linear both;
      animation-timeline: view();
      animation-range: exit 0% exit 100%;   /* só na saída pelo topo */
    }
    @keyframes sb-out {
      to { filter: blur(14px); opacity: 0; transform: scale(0.97) translateY(-1rem); }
    }
  }

  /* fallback (Firefox / Safari antigo) */
  @supports not (animation-timeline: view()) {
    [data-scroll-blur] {
      filter: blur(calc(var(--sb, 0) * 14px));
      opacity: calc(1 - var(--sb, 0));
      transform: scale(calc(1 - var(--sb, 0) * 0.03));
    }
  }
}

/* o blur é caro em GPU — no telemóvel só fade */
@media (max-width: 767px) {
  @keyframes sb-out { to { filter: blur(6px); opacity: 0; transform: none; } }
}

@media (max-width: 767px) {
  .hero > .hero-visual canvas { pointer-events: auto; touch-action: pan-y; }
    .hero > .hero-visual canvas {
    -webkit-mask-image:
      linear-gradient(to bottom, #000 0%, #000 42%, rgba(0,0,0,0.35) 68%, transparent 92%),
      radial-gradient(closest-side, #000 55%, rgba(0,0,0,0.4) 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 42%, rgba(0, 0, 0, 0.35) 68%, transparent 92%);
    -webkit-mask-composite: source-in;   /* Safari/Chrome antigo */
    mask-composite: intersect;           /* padrão */
  }

}
@media (max-width: 767px) {
  .hero > .hero-visual canvas { pointer-events: none; }
}
