/* ================================================================
   QUALITY SMI — LANDING PAGE GEO
   Design system inspirado em Apple / Linear / Stripe / OpenAI
   Sem frameworks. CSS puro, organizado por seção.
   ================================================================ */

/* ----------------------------------------------------------------
   1. RESET BÁSICO
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ----------------------------------------------------------------
   2. TOKENS DE DESIGN — LIGHT (padrão) / DARK
   ---------------------------------------------------------------- */
:root {
  /* cores base — light mode */
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-elevated: #ffffff;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-muted: #86868b;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);

  /* acento — laranja oficial QUALITY SMI (#FF5700) */
  --accent-1: #ff8a3d;
  --accent-2: #ff5700;
  --accent-gradient: linear-gradient(120deg, var(--accent-1), var(--accent-2));

  --card-bg: #ffffff;
  --card-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 12px 32px rgba(0,0,0,0.06);
  --overlay-bg: #0a0a0c;

  /* tipografia */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;

  /* espaçamento fluido */
  --section-pad: clamp(5rem, 10vw, 10rem);
  --container-w: 1200px;

  /* transições */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.25s;
  --t-med: 0.5s;
  --t-slow: 0.9s;

  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #0a0a0c;
  --bg-alt: #131316;
  --bg-elevated: #17171b;
  --text: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-muted: #7d7d84;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --accent-1: #ff9a52;
  --accent-2: #ff5700;

  --card-bg: #17171b;
  --card-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 20px 48px rgba(0,0,0,0.45);
  --overlay-bg: #000000;

  color-scheme: dark;
}

/* ----------------------------------------------------------------
   3. BASE
   ---------------------------------------------------------------- */
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background var(--t-med) var(--ease), color var(--t-med) var(--ease);
  overflow-x: hidden;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.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;
}

.skip-link {
  position: absolute; left: 1rem; top: -60px; background: var(--text); color: var(--bg);
  padding: 0.75rem 1.25rem; border-radius: 8px; z-index: 999; transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--accent-1);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ----------------------------------------------------------------
   4. TIPOGRAFIA
   ---------------------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 1.25rem;
}

.section__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 18ch;
  margin-bottom: 1.5rem;
}

.section__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.375rem);
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.55;
  font-weight: 400;
}

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

/* ----------------------------------------------------------------
   5. BOTÕES
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 980px;
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn--large { padding: 1.1rem 2.25rem; font-size: 1.05rem; }
.btn--small { padding: 0.6rem 1.25rem; font-size: 0.875rem; }

.btn--primary {
  background: var(--text);
  color: var(--bg);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn--ghost:hover {
  background: var(--bg-alt);
  transform: translateY(-2px);
}

/* ----------------------------------------------------------------
   6. HEADER
   ---------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast) var(--ease), background var(--t-med) var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--border); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.logo span { color: var(--accent-2); }

/* Logo em imagem — troca automática conforme o tema (ver script.js/CSS de tema) */
.logo-img {
  height: 26px;
  width: auto;
  display: block;
}
.logo-img--dark { display: none; }
html[data-theme="dark"] .logo-img--light { display: none; }
html[data-theme="dark"] .logo-img--dark { display: block; }

.logo--footer .logo-img { height: 30px; }

.nav {
  display: flex;
  gap: 2rem;
}
.nav a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--t-fast) var(--ease);
  position: relative;
}
.nav a:hover { color: var(--text); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  position: relative;
  transition: background var(--t-fast) var(--ease);
}
.theme-toggle:hover { background: var(--bg-alt); }
.theme-toggle .icon { width: 18px; height: 18px; position: absolute; transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.icon--moon { opacity: 0; transform: scale(0.5) rotate(-90deg); }
html[data-theme="dark"] .icon--sun { opacity: 0; transform: scale(0.5) rotate(90deg); }
html[data-theme="dark"] .icon--moon { opacity: 1; transform: scale(1) rotate(0deg); }
html:not([data-theme="dark"]) .icon--sun { opacity: 1; transform: scale(1) rotate(0deg); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}
.menu-toggle span {
  display: block; height: 2px; width: 100%; background: var(--text);
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}

/* ----------------------------------------------------------------
   7. HERO
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* padding-bottom reserva espaço para o indicador "Role para explorar"
     não sobrepor o conteúdo quando ele é centralizado verticalmente
     em telas mais baixas (notebooks, celular em modo paisagem etc.) */
  padding: 96px 0 6rem;
  box-sizing: border-box;
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; z-index: -1; }

.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 75%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: float 16s ease-in-out infinite;
}
.hero__orb--1 { width: 480px; height: 480px; background: var(--accent-1); top: -10%; left: 5%; }
.hero__orb--2 { width: 380px; height: 380px; background: var(--accent-2); top: 20%; right: 0%; animation-delay: -4s; }
.hero__orb--3 { width: 300px; height: 300px; background: var(--accent-1); bottom: -15%; left: 35%; animation-delay: -9s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.08); }
}

.hero__content { text-align: center; margin: 0 auto; }
.hero .eyebrow { display: block; }

/* Breadcrumb (páginas-satélite do portal GEO) — linha discreta acima do eyebrow,
   usada apenas nas páginas de segmento/intenção; a âncora não a exibe. */
.breadcrumb-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.breadcrumb-bar a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }
.breadcrumb-bar a:hover { color: var(--text); }
.breadcrumb-bar [aria-current] { color: var(--text-secondary); }

/* Links contextuais (hub-and-spoke) dentro da seção "Sobre" das páginas-satélite */
.related-links {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.related-links a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.related-links a:hover { color: var(--accent-2); }

.hero__title {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 18ch;
  margin: 0 auto 1.75rem;
}

.hero__subhead {
  font-size: clamp(1.05rem, 1.8vw, 1.375rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  animation: bob 2.4s ease-in-out infinite;
}
.hero__scroll i { width: 16px; height: 16px; }
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* Em telas baixas (notebooks pequenos, celular deitado) o conteúdo do hero
   pode chegar perto do rodapé da viewport — nesses casos escondemos o
   indicador de rolagem para garantir que ele nunca sobreponha os CTAs. */
@media (max-height: 720px), (max-width: 640px) {
  .hero__scroll { display: none; }
}

/* ----------------------------------------------------------------
   8. SEÇÕES GERAIS
   ---------------------------------------------------------------- */
.section {
  padding: var(--section-pad) 0;
}
.section--dark {
  background: var(--bg-alt);
}

/* ----------------------------------------------------------------
   9. COMPARAÇÃO ANTES/AGORA (SEÇÃO 2)
   ---------------------------------------------------------------- */
.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 3.5rem;
}

.compare__col {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.75rem 2.25rem;
  box-shadow: var(--card-shadow);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.compare__col:hover { transform: translateY(-6px); }

.compare__col--after {
  border: 1px solid transparent;
  background: linear-gradient(var(--card-bg), var(--card-bg)) padding-box, var(--accent-gradient) border-box;
}

.compare__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 0.3rem 0.75rem;
  border-radius: 980px;
  margin-bottom: 1.5rem;
}
.compare__tag--highlight {
  color: #fff;
  background: var(--accent-gradient);
}

.compare__icon { width: 28px; height: 28px; margin-bottom: 1.25rem; color: var(--accent-2); }

.compare__col h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 1.25rem; }
.compare__col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.compare__col li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
}
.compare__col li::before {
  content: "";
  position: absolute; left: 0; top: 0.5em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-muted);
}
.compare__col--after li::before { background: var(--accent-2); }

.compare__arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  width: 40px; height: 40px;
}

/* ----------------------------------------------------------------
   10. FLUXO GEO (SEÇÃO 3)
   ---------------------------------------------------------------- */
.flow {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.flow__step {
  flex: 1 1 160px;
  text-align: center;
  padding: 1rem;
}

.flow__icon {
  width: 68px; height: 68px;
  margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--accent-2);
  box-shadow: var(--card-shadow);
}
.flow__icon i { width: 28px; height: 28px; }

.flow__step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.flow__step p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.5; }

.flow__connector {
  flex: 0 0 40px;
  align-self: center;
  height: 1px;
  background: var(--border-strong);
  position: relative;
  min-width: 24px;
}
.flow__connector::after {
  content: "";
  position: absolute; right: -1px; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2);
}

/* ----------------------------------------------------------------
   11. TABELA COMPARATIVA (SEÇÃO 4)
   ---------------------------------------------------------------- */
.table-wrap {
  margin-top: 3.5rem;
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  background: var(--card-bg);
}

.compare-table th, .compare-table td {
  padding: 1.1rem 1.5rem;
  text-align: left;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}

.compare-table thead th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
  background: var(--bg-alt);
}

.compare-table thead th:nth-child(3) { color: var(--accent-2); }

.compare-table tbody th {
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.compare-table tbody td:nth-child(3) { color: var(--text); font-weight: 500; }

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }

.compare-table tbody tr:hover { background: var(--bg-alt); }

/* ----------------------------------------------------------------
   12. CARDS (SEÇÃO 5)
   ---------------------------------------------------------------- */
.cards {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: var(--card-shadow);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.card:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 48px rgba(0,0,0,0.12);
}

.card__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-gradient);
  color: #fff;
  margin-bottom: 1.5rem;
}
.card__icon i { width: 22px; height: 22px; }

.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.6rem; }
.card p { font-size: 0.925rem; color: var(--text-secondary); line-height: 1.55; }

/* ----------------------------------------------------------------
   13. FRAMEWORK / STEPS (SEÇÃO 6)
   ---------------------------------------------------------------- */
.steps {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.steps__item {
  background: var(--card-bg);
  padding: 2.25rem;
  display: flex;
  gap: 1.5rem;
  transition: background var(--t-fast) var(--ease);
}
.steps__item:hover { background: var(--bg-alt); }

.steps__number {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-2);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.steps__item h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; }
.steps__item p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; }

/* ----------------------------------------------------------------
   14. CHECKLIST (SEÇÃO 7)
   ---------------------------------------------------------------- */
.checklist {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 3rem;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.checklist li i {
  width: 22px; height: 22px;
  flex-shrink: 0;
  padding: 4px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #fff;
}

/* ----------------------------------------------------------------
   15. RESULTADOS (SEÇÃO 8)
   ---------------------------------------------------------------- */
.results {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.results__item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.results__item i {
  width: 32px; height: 32px;
  color: var(--accent-2);
  margin: 0 auto 1.25rem;
}

.results__item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.results__item p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.5; }

/* ----------------------------------------------------------------
   16. FAQ (SEÇÃO 9)
   ---------------------------------------------------------------- */
.faq {
  margin-top: 3.5rem;
  max-width: 820px;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.5rem 0;
  font-size: 1.05rem;
  font-weight: 600;
}
.faq__question i { width: 20px; height: 20px; flex-shrink: 0; transition: transform var(--t-fast) var(--ease); color: var(--text-muted); }
.faq__question[aria-expanded="true"] i { transform: rotate(45deg); color: var(--accent-2); }

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-med) var(--ease), opacity var(--t-med) var(--ease);
  opacity: 0;
}
.faq__answer p { padding-bottom: 1.5rem; color: var(--text-secondary); line-height: 1.6; max-width: 68ch; }

.faq__item.is-open .faq__answer { opacity: 1; }

/* ----------------------------------------------------------------
   17. SOBRE (SEÇÃO 10)
   ---------------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__text p + p { margin-top: 1.25rem; color: var(--text-secondary); line-height: 1.6; }

.about__stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat {
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.stat__number {
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label { font-size: 0.85rem; color: var(--text-muted); }

/* ----------------------------------------------------------------
   18. CTA FINAL (SEÇÃO 11)
   ---------------------------------------------------------------- */
.cta-final {
  position: relative;
  padding: var(--section-pad) 0;
  text-align: center;
  background: var(--overlay-bg);
  color: #fff;
  overflow: hidden;
}

.cta-final__bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255,87,0,0.35), transparent 70%);
}

.cta-final__content { position: relative; z-index: 1; }

.cta-final__title {
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.cta-final__sub {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.cta-final .btn--primary { background: #fff; color: #0a0a0c; }
.cta-final .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.25); }
.cta-final .btn--ghost:hover { background: rgba(255,255,255,0.08); }

/* Painéis do CTA final: formulário de lead + atalho para WhatsApp */
.cta-final__panels {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  text-align: left;
}

.lead-form, .lead-alt {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.lead-form h3, .lead-alt h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}

.lead-form__row {
  margin-bottom: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}
.lead-form__row label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}
.lead-form__row input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.lead-form__row input::placeholder { color: rgba(255, 255, 255, 0.35); }
.lead-form__row input:focus {
  outline: none;
  border-color: var(--accent-2);
  background: rgba(255, 255, 255, 0.12);
}

/* Honeypot — campo invisível para humanos, usado para barrar spam/bots */
.lead-form__hp {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.lead-form__submit { width: 100%; margin-top: 0.5rem; }

.lead-form__status {
  margin-top: 1rem;
  font-size: 0.875rem;
  min-height: 1.2em;
  text-align: left;
}
.lead-form__status.is-success { color: #8cffb0; }
.lead-form__status.is-error { color: #ffb199; }

.lead-alt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.lead-alt i { width: 32px; height: 32px; color: var(--accent-1); margin-bottom: 1.25rem; }
.lead-alt p { color: rgba(255, 255, 255, 0.7); margin-bottom: 1.75rem; font-size: 0.925rem; line-height: 1.5; }

@media (max-width: 860px) {
  .cta-final__panels { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------
   19. FOOTER
   ---------------------------------------------------------------- */
.footer {
  background: var(--bg-alt);
  padding: 4.5rem 0 1.5rem;
}

/* Hub de links do portal GEO — exibido somente na página âncora (/agencia-geo/),
   aponta para todas as páginas-satélite agrupadas por categoria (hub-and-spoke). */
.footer__hub {
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.footer__hub-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}
.footer__hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
}
.footer__hub-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.85rem;
}
.footer__hub-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.55rem;
  transition: color var(--t-fast) var(--ease);
}
.footer__hub-col a:hover { color: var(--text); }

.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer__brand p { margin-top: 1rem; color: var(--text-secondary); font-size: 0.9rem; max-width: 32ch; }
.logo--footer { font-size: 1.1rem; }

.footer__col h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer__col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
  transition: color var(--t-fast) var(--ease);
}
.footer__col a:hover { color: var(--text); }

.footer__social { display: flex; gap: 0.75rem; }
.footer__social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.footer__social a:hover { background: var(--bg-elevated); }
.footer__social i, .footer__social svg { width: 16px; height: 16px; }

.footer__bottom {
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ----------------------------------------------------------------
   20. BOTÃO VOLTAR AO TOPO
   ---------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: 1.5rem; bottom: 1.5rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility var(--t-fast);
  z-index: 90;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top i { width: 20px; height: 20px; }

/* Botão flutuante do WhatsApp — cor oficial da marca WhatsApp (reconhecimento imediato) */
.whatsapp-float {
  position: fixed;
  left: 1.5rem; bottom: 1.5rem;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.whatsapp-float:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 14px 32px rgba(37, 211, 102, 0.5); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* ----------------------------------------------------------------
   21. SCROLL REVEAL (JS liga a classe .is-visible)
   ---------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* efeito cascata dentro de listas/grids */
.compare .reveal, .cards .card, .steps__item, .checklist li, .results__item, .faq__item {
  transition-delay: calc(var(--i, 0) * 60ms);
}

/* ----------------------------------------------------------------
   22. RESPONSIVIDADE
   ---------------------------------------------------------------- */

/* Notebook / desktop pequeno */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .results { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__col:last-child { grid-column: 1 / -1; }
}

/* Tablet */
@media (max-width: 860px) {
  :root { --section-pad: clamp(4rem, 12vw, 6rem); }

  .nav { display: none; }
  .menu-toggle { display: flex; }

  .compare { grid-template-columns: 1fr; }
  .compare__arrow { transform: rotate(90deg); margin: -0.5rem auto; }

  .flow { flex-direction: column; }
  .flow__connector { width: 1px; height: 32px; margin: 0 auto; }
  .flow__connector::after { right: 50%; top: -1px; transform: translateX(50%); }

  .steps { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .results { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 2.5rem; }
  .cards { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* Menu mobile aberto */
body.nav-open .nav {
  display: flex;
  position: fixed;
  inset: 64px 0 0 0;
  flex-direction: column;
  padding: 2rem 1.5rem;
  background: var(--bg);
  gap: 0;
  z-index: 95;
}
body.nav-open .nav a {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
}
body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile */
@media (max-width: 560px) {
  .hero__actions, .cta-final .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn, .cta-final .btn { width: 100%; }

  .header__actions .btn--small { display: none; }

  .results { grid-template-columns: 1fr; }
  .compare__col { padding: 2rem 1.5rem; }
  .steps__item { padding: 1.75rem; flex-direction: column; gap: 0.75rem; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
}
