/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; }

/* ---------- Tokens ---------- */
:root {
  --bg: #000000;
  --bg-alt: #050506;
  --surface: #0a0c11;
  --surface-2: #10131a;
  --border: rgba(255, 255, 255, 0.09);
  --text: #f4f5f8;
  --text-muted: #8b90a0;
  --accent: #2f7bff;
  --accent-2: #6fb2ff;
  --accent-grad: linear-gradient(120deg, var(--accent), var(--accent-2));
  --accent-glow: rgba(47, 123, 255, 0.45);
  --radius: 16px;
  --radius-sm: 10px;
  --font-head: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --container: 1520px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Background global — só o grid sutil, fixo atrás de toda a página */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.page-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 50% 0%, rgba(0, 0, 0, 0.9), transparent 85%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, rgba(0, 0, 0, 0.9), transparent 85%);
}

/* Iluminações azuis — restritas ao Hero */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
}
.hero-glow-1 {
  bottom: -8%;
  left: -8%;
  width: 620px;
  height: 620px;
  background: radial-gradient(closest-side, var(--accent-glow), transparent 70%);
  opacity: 0.6;
  animation: glow-drift-1 11s ease-in-out infinite;
}
.hero-glow-2 {
  top: -8%;
  right: -8%;
  width: 520px;
  height: 520px;
  background: radial-gradient(closest-side, var(--accent-glow), transparent 45%);
  filter: blur(42px);
  opacity: 0.3;
  animation: glow-drift-2 15s ease-in-out infinite;
}
@keyframes glow-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  50% { transform: translate(50px, 40px) scale(1.18); opacity: 0.85; }
}
@keyframes glow-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  50% { transform: translate(-45px, -30px) scale(1.12); opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-glow-1, .hero-glow-2 { animation: none; }
}

.hero-constellation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero-constellation .hcx-line line {
  stroke: rgba(47, 123, 255, 0.18);
  stroke-width: 0.5;
}
.hero-constellation .hcx-dot circle {
  fill: rgb(111, 178, 255);
  animation: hcx-blink 4.5s ease-in-out infinite;
}
@keyframes hcx-blink {
  0%, 100% { opacity: 0.12; }
  50% { opacity: 0.85; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-constellation .hcx-dot circle { animation: none; opacity: 0.5; }
}

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 72px);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

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

.text-gradient {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Badge / eyebrow — texto puro, sem contorno, mesma linguagem em toda seção */
.badge, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.94rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.badge strong {
  color: var(--text);
  font-weight: 700;
}

.section-sub {
  color: var(--text-muted);
  max-width: 680px;
  margin-top: 16px;
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

/* Outline — main hero/header CTA, mirrors the reference site's pill button */
.btn-outline {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
  box-shadow: 0 0 0 1px var(--accent-2), 0 8px 26px -10px var(--accent-glow);
}

/* Solid — used for stronger conversion points (plan cards) */
.btn-solid {
  background: var(--accent-grad);
  color: #05070c;
  border: 1px solid transparent;
}
.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -10px var(--accent-glow);
}

/* Text-only link CTA */
.btn-text {
  color: var(--text-muted);
  padding: 14px 6px;
  text-transform: none;
  letter-spacing: normal;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 500;
}
.btn-text:hover { color: var(--text); }

.btn-block { width: 100%; margin-top: 24px; }
.btn-header { padding: 10px 22px; font-size: 0.76rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.6s ease, border-color 0.6s ease, backdrop-filter 0.6s ease;
}
.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
}
.logo span { color: var(--accent-2); }

.nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
  margin-right: 32px;
}
.nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.nav a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 40px 0 104px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 64px;
}

.hero-copy { max-width: 760px; display: flex; flex-direction: column; align-items: center; }

.hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.8rem);
  margin-top: 0;
}
.hero-title-static {
  display: block;
  color: var(--text);
  text-shadow: 0 0 16px rgba(244, 245, 248, 0.22), 0 0 36px rgba(244, 245, 248, 0.1);
}
.hero-title-typewriter {
  display: block;
  color: var(--accent-2);
  text-shadow: 0 0 16px rgba(111, 178, 255, 0.3), 0 0 36px rgba(111, 178, 255, 0.14);
}
.hero-typewriter-cursor {
  display: inline-block;
  width: 0.05em;
  height: 0.9em;
  margin-left: 0.06em;
  background: currentColor;
  vertical-align: -0.08em;
  animation: hero-cursor-blink 0.9s steps(1) infinite;
}
@keyframes hero-cursor-blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-typewriter-cursor { animation: none; }
}
.hero-sub {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 560px;
  margin-top: 40px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 52px;
  flex-wrap: wrap;
}
.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-stats strong,
.hero-stats .stat-value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--accent-2);
}
.hero-stats .stat-value svg {
  width: 20px;
  height: 20px;
}
.hero-stats span {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: hero-visual-float 7s ease-in-out infinite;
}
@keyframes hero-visual-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual { animation: none; }
}
/* ---------- Hero — notebook 3D (Three.js) ---------- */
.hero-3d {
  position: relative;
  width: min(1040px, 100%);
  aspect-ratio: 16 / 11;
  filter: drop-shadow(0 40px 90px -30px rgba(47, 123, 255, 0.35));
}
.hero-3d canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section-alt {
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-alt.no-border-bottom { border-bottom: none; }
.section-alt.no-border-top { border-top: none; }
.section h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
}

.grid { display: grid; gap: 32px; margin-top: 52px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- Scroll reveal ---------- */
/* Estado inicial: escondido + deslocado. JS soma a classe "is-visible" quando o
   elemento entra na tela e, ao fim da transição, tira as duas classes de novo —
   assim o transition original de cada componente (hover de card, etc.) volta a
   mandar, sem nenhum delay grudado. */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Faixa de destaques (marquee) ---------- */
.marquee-section {
  position: relative;
  overflow: hidden;
  padding: 26px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee-track {
  position: relative;
  display: flex;
  align-items: center;
  width: max-content;
  gap: 22px;
  animation: marquee-scroll 58s linear infinite;
}
.marquee-section:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-set {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}
.marquee-item {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  white-space: nowrap;
}
.marquee-dot {
  color: var(--accent-2);
  font-size: 0.7rem;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 123, 255, 0.45);
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Steps ---------- */
.steps { text-align: left; }
.step {
  padding: 0;
}
.step-line {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}
.step-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(111, 178, 255, 0.18);
  flex-shrink: 0;
}
.step-line::after {
  content: "";
  flex: 1;
  height: 1px;
  margin-left: 10px;
  background: linear-gradient(90deg, var(--accent-2), rgba(111, 178, 255, 0.35) 45%, transparent 90%);
}
.step-number {
  display: inline-block;
  font-family: var(--font-head);
  color: var(--accent-2);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* ---------- Problema ---------- */
.problem-callout {
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
  max-width: 780px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 30px;
}
.problem-callout .card-icon { margin-bottom: 0; flex-shrink: 0; }
.problem-callout p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

/* ---------- Serviço: tags e banner "Além disso" ---------- */
.card-tags {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-tags li {
  padding-left: 20px;
  position: relative;
  font-size: 0.86rem;
  color: var(--text-muted);
}
.card-tags li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
}

.beyond-banner {
  margin-top: 28px;
  background: linear-gradient(180deg, rgba(47, 123, 255, 0.1), var(--surface) 60%);
  border: 1px solid rgba(47, 123, 255, 0.35);
  border-radius: var(--radius);
  padding: 32px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.beyond-text h3 { font-size: 1.1rem; margin-bottom: 8px; }
.beyond-text p { color: var(--text-muted); font-size: 0.96rem; max-width: 480px; }
.tag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 340px;
}
.tag-pills li {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  animation: tag-float 3.6s ease-in-out infinite;
}
.tag-pills li:nth-child(1) { animation-delay: 0s; }
.tag-pills li:nth-child(2) { animation-delay: 0.5s; }
.tag-pills li:nth-child(3) { animation-delay: 1s; }
.tag-pills li:nth-child(4) { animation-delay: 1.5s; }
.tag-pills li:nth-child(5) { animation-delay: 2s; }
@keyframes tag-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .tag-pills li { animation: none; }
}

/* ---------- Quem sou eu ---------- */
.about-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.about-photo {
  width: 280px;
}
.about-photo-img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 32px -10px var(--accent-glow);
}
.about-copy {
  max-width: 720px;
}
.about-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.about-stats li { display: flex; flex-direction: column; gap: 6px; }
.about-stats .stat-value {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--accent-2);
}
.about-stats span {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Diagnóstico ---------- */
.section-center {
  text-align: center;
}
.section-center .badge,
.section-center .eyebrow {
  justify-content: center;
}
.section-center h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
}
.section-center .section-sub {
  font-size: 1.12rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.diagnostic-card {
  margin-top: 48px;
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
  text-align: left;
}
.diagnostic-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.diagnostic-brand {
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.diagnostic-count {
  flex-shrink: 0;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
}
.diagnostic-progress {
  height: 4px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}
.diagnostic-progress-bar {
  height: 100%;
  width: 14%;
  background: var(--accent-grad);
  transition: width 0.3s ease;
}
.diagnostic-step {
  display: none;
  margin-top: 30px;
}
.diagnostic-step.is-active { display: block; }
.diagnostic-kicker {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.diagnostic-step h3 { font-size: 1.3rem; margin-bottom: 22px; }
.diagnostic-step-sub {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: -14px;
  margin-bottom: 22px;
}

.diagnostic-field { position: relative; margin-bottom: 14px; }
.diagnostic-options + .diagnostic-field { margin-top: 20px; }
.diagnostic-field-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  color: var(--text-muted);
  pointer-events: none;
}
.diagnostic-field-icon svg { width: 18px; height: 18px; }
.diagnostic-field input {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px 14px 46px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.96rem;
  transition: border-color 0.2s ease;
}
.diagnostic-field input:focus {
  outline: none;
  border-color: var(--accent-2);
}

.diagnostic-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.diagnostic-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}
.diagnostic-option {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-size: 0.94rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.diagnostic-option:hover { border-color: rgba(47, 123, 255, 0.4); }
.diagnostic-option.is-selected {
  border-color: var(--accent-2);
  background: rgba(47, 123, 255, 0.14);
  color: var(--text);
}
.dco-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
}
.dco-icon svg { width: 18px; height: 18px; }
.dco-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.dco-text strong { font-size: 0.92rem; font-weight: 600; line-height: 1.3; }
.dco-text small { font-size: 0.78rem; color: var(--text-muted); }
.dco-radio {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #05070c;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.dco-check {
  width: 12px;
  height: 12px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.diagnostic-option.is-selected .dco-radio {
  border-color: var(--accent-2);
  background: var(--accent-2);
}
.diagnostic-option.is-selected .dco-check { opacity: 1; transform: scale(1); }

.diagnostic-summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.diagnostic-summary p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}
.diagnostic-summary strong { color: var(--text); }

.diagnostic-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
}
.diagnostic-hint {
  color: var(--text-muted);
  font-size: 0.82rem;
}
@media (max-width: 560px) {
  .diagnostic-hint { display: none; }
}
.diagnostic-nav .btn:disabled {
  opacity: 0.35;
  pointer-events: none;
}
.diagnostic-card[data-final="true"] .diagnostic-nav { display: none; }

/* ---------- FAQ ---------- */
.faq-section { padding: 88px 0; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
  max-width: 680px;
  text-align: left;
}
.faq-item {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.faq-item:hover,
.faq-item.is-open {
  transform: translateY(-2px);
  border-color: rgba(47, 123, 255, 0.4);
}
.faq-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(260px circle at var(--faq-x, 50%) var(--faq-y, 50%), var(--accent-glow), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.faq-item:hover::before,
.faq-item.is-open::before { opacity: 0.5; }

.faq-trigger {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  text-align: left;
  color: var(--text);
}

.faq-icon {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease, border-color 0.3s ease;
}
.faq-icon svg { width: 14px; height: 14px; }
.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  border-color: rgba(47, 123, 255, 0.5);
}

.faq-question {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.94rem;
}

.faq-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}
.faq-item.is-open .faq-panel { grid-template-rows: 1fr; }
.faq-panel-inner { overflow: hidden; }
.faq-panel-inner p {
  padding: 0 22px 20px 70px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------- Contact ---------- */
.contact-inner { text-align: center; }
.contact-inner .section-sub { margin-left: auto; margin-right: auto; }
.contact-inner .badge { margin-left: auto; margin-right: auto; }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 44px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(111, 178, 255, 0.55);
}
.contact-card .card-icon { color: var(--accent-2); }
.contact-card h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: rgba(255, 255, 255, 0.015);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-inner p {
  color: var(--text-muted);
  font-size: 0.88rem;
}
.footer-contact { color: var(--text-muted); font-size: 0.88rem; }
.footer-contact:hover { color: var(--accent-2); }

.footer-legal {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-legal a {
  color: var(--text-muted);
  font-size: 0.82rem;
}
.footer-legal a:hover { color: var(--accent-2); }

/* ---------- Botão flutuante do WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #05070c;
  box-shadow: 0 10px 30px -8px var(--accent-glow), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float svg { width: 26px; height: 26px; }
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 38px -8px var(--accent-glow), 0 0 0 1px rgba(255, 255, 255, 0.12);
}
@media (max-width: 720px) {
  .whatsapp-float { width: 52px; height: 52px; }
  .whatsapp-float svg { width: 24px; height: 24px; }
}

/* ---------- Páginas legais (Termos / Privacidade) ---------- */
.legal-hero {
  padding: 156px 0 40px;
  border-bottom: 1px solid var(--border);
}
.legal-hero h1 {
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
}
.legal-updated {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 18px;
}
.legal-content {
  max-width: 740px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 38px;
}
.legal-block h2 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.legal-block p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.75;
}
.legal-block p + p { margin-top: 12px; }
.legal-block ul {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal-block li {
  padding-left: 22px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}
.legal-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-grad);
}
.legal-block a { color: var(--accent-2); }
.legal-block a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { padding-top: 32px; min-height: 0; }
  .hero-inner { gap: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .beyond-banner { justify-content: center; text-align: center; }
  .beyond-text p { margin-left: auto; margin-right: auto; }
  .tag-pills { justify-content: center; max-width: none; }
}

@media (max-width: 720px) {
  .hero-3d { aspect-ratio: 4 / 3.6; }

  .nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 18px;
    transform: translateY(-140%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    z-index: 90;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; }
  .nav-toggle { display: flex; }
  .btn-header { display: none; }

  .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 32px; min-height: auto; }
  .section { padding: 72px 0; }
  .diagnostic-card { padding: 28px 22px; }
  .problem-callout { flex-direction: column; }
}

@media (max-width: 420px) {
  .hero-stats { gap: 24px; }
}
