/* =========================================================
   NORTEM CONSULTORIA — LP v2 (foco em conversão)
   Estética: editorial, sóbria, premium. Preto profundo + grafite
   + acento âmbar/dourado. Fraunces (serif) + Inter (sans).
   ========================================================= */

:root {
  --bg: #0a0a0a;
  --bg-soft: #111111;
  --bg-card: #161616;
  --bg-elev: #1c1c1c;

  --fg: #f6f4ee;
  --fg-soft: #c9c5bb;
  --fg-muted: #8a8780;

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);

  --accent: #d4a24c;
  --accent-soft: #b88a39;
  --accent-bright: #e8bc6a;
  --accent-glow: rgba(212, 162, 76, 0.25);
  --accent-dim: rgba(212, 162, 76, 0.08);

  --green: #7fbf7f;
  --red: #c96a5a;

  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  --maxw: 1200px;
  --pad: clamp(20px, 4vw, 40px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.55);
}

/* RESET ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Grain sutil por cima de tudo */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* TIPOGRAFIA ---------------------------------------------- */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
}
h1 { font-size: clamp(2.3rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 1.5vw, 1.4rem); font-weight: 600; }
h4 { margin: 0; }

p { margin: 0; color: var(--fg-soft); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.1rem;
  padding: 0.38em 1em;
  border: 1px solid rgba(212, 162, 76, 0.5);
  border-radius: 999px;
  background: var(--accent-dim);
}
.eyebrow--muted {
  color: var(--fg-muted);
  border-color: var(--line-strong);
  background: transparent;
}
.eyebrow--with-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
}
.berry-logo { height: 3em; width: auto; display: block; }

.accent { color: var(--accent); font-style: italic; }

.lead {
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  color: var(--fg-soft);
  max-width: 65ch;
  line-height: 1.65;
}
.lead--center { margin-left: auto; margin-right: auto; }
.lead strong { color: var(--fg); }

/* BARRA DE PROGRESSO DE LEITURA ---------------------------- */
.read-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent-bright));
  z-index: 300;
  transition: width 80ms linear;
}

/* BOTÕES -------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.7em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              background 0.3s var(--ease), border-color 0.3s var(--ease);
  will-change: transform;
}
.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }

.btn-primary {
  color: #14100a;
  background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent) 45%, var(--accent-soft) 100%);
  box-shadow: 0 6px 24px rgba(212, 162, 76, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(212, 162, 76, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  color: var(--fg-soft);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover {
  color: var(--fg);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-outline {
  color: var(--accent);
  border: 1px solid rgba(212, 162, 76, 0.55);
  background: var(--accent-dim);
}
.btn-outline:hover {
  background: rgba(212, 162, 76, 0.16);
  transform: translateY(-2px);
}

.btn-block { width: 100%; }
.btn-lg { padding: 1.15em 2.2em; font-size: 1.05rem; }

/* HEADER --------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.brand-logo { height: 34px; width: auto; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-size: 0.9rem;
}
.nav-desktop a:not(.nav-cta) {
  color: var(--fg-soft);
  transition: color 0.25s;
}
.nav-desktop a:not(.nav-cta):hover { color: var(--fg); }
.nav-cta {
  color: #14100a;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-soft));
  padding: 0.6em 1.3em;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(212, 162, 76, 0.35);
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--fg);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(10, 10, 10, 0.97);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem var(--pad) 1.2rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--fg-soft);
}
.nav-mobile a.nav-cta {
  margin-top: 1rem;
  border: 0;
  text-align: center;
  color: #14100a;
}

/* HERO ----------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 75%);
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.glow-1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(212,162,76,0.22), transparent 65%);
  top: -160px; right: -80px;
  animation: drift1 14s ease-in-out infinite alternate;
}
.glow-2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(120,90,40,0.18), transparent 65%);
  bottom: -180px; left: -120px;
  animation: drift2 18s ease-in-out infinite alternate;
}
.glow-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(212,162,76,0.1), transparent 60%);
  top: 40%; left: 34%;
  animation: drift1 22s ease-in-out infinite alternate-reverse;
}
@keyframes drift1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-50px, 40px) scale(1.12); }
}
@keyframes drift2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, -30px) scale(1.08); }
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 2rem;
}
.hero-title { margin: 0 0 1.3rem; }
.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  max-width: 54ch;
  margin-bottom: 2.2rem;
}
.hero-lead strong { color: var(--fg); }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.hero-trust li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

.hero-figure {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero-figure img {
  position: relative;
  z-index: 1;
  max-height: min(72vh, 640px);
  width: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}
.hero-ring {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  width: min(88%, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 30%, rgba(212,162,76,0.14), transparent 60%);
  border: 1px solid rgba(212, 162, 76, 0.25);
  box-shadow: inset 0 0 60px rgba(212, 162, 76, 0.08);
}
.hero-ring::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px dashed rgba(212, 162, 76, 0.18);
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-cue span {
  width: 3px; height: 8px;
  border-radius: 3px;
  background: var(--accent);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: translateY(0); opacity: 1; }
  55% { transform: translateY(12px); opacity: 0.2; }
}

/* SEÇÕES --------------------------------------------------- */
.section { position: relative; padding: clamp(70px, 9vw, 120px) 0; }
.section--dark { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--metrics { padding: clamp(40px, 5vw, 60px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 1rem; }
.section-cta { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); }

/* MÉTRICAS ------------------------------------------------- */
.video-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.metric-card:hover { border-color: rgba(212, 162, 76, 0.4); transform: translateY(-3px); }
.metric-card--alt { border-color: rgba(212, 162, 76, 0.3); background: linear-gradient(160deg, rgba(212,162,76,0.07), var(--bg-card) 55%); }
.metric-label { font-size: 0.8rem; color: var(--fg-muted); letter-spacing: 0.02em; }
.metric-value {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.4vw, 3rem);
  color: var(--accent);
  line-height: 1;
}
.metric-note { font-size: 0.82rem; color: var(--fg-soft); }

/* ================= RAIO-X / WIZARD ======================== */
.section--raiox { overflow: hidden; }
.raiox-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(212, 162, 76, 0.08), transparent 70%);
  pointer-events: none;
}

.wizard {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  background: linear-gradient(180deg, #171614, var(--bg-card) 40%);
  border: 1px solid rgba(212, 162, 76, 0.22);
  border-radius: var(--r-xl);
  padding: clamp(1.4rem, 3.5vw, 2.6rem);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.wizard::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(212,162,76,0.5), transparent 30%, transparent 70%, rgba(212,162,76,0.25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.wizard-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.4rem 1rem;
  margin-bottom: 1.8rem;
}
.wiz-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.82rem;
  color: var(--fg-muted);
  padding: 0.3em 0.6em;
  border-radius: 8px;
  transition: color 0.25s;
}
.wiz-back:hover { color: var(--fg); }
.wiz-back[hidden] { display: none; }
.wiz-back svg { width: 1em; height: 1em; }
.wiz-count {
  grid-column: 2;
  justify-self: end;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 600;
}
.wiz-track {
  grid-column: 1 / -1;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.wiz-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent-bright));
  box-shadow: 0 0 12px var(--accent-glow);
  transition: width 0.5s var(--ease);
}

.wiz-stage { min-height: 300px; }

.wiz-question h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  margin-bottom: 0.5rem;
}
.wiz-question .wiz-hint {
  font-size: 0.9rem;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
}
.wiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.wiz-options--wide { grid-template-columns: 1fr; }
.wiz-option {
  display: flex;
  align-items: center;
  gap: 0.8em;
  text-align: left;
  padding: 0.95em 1.15em;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.02);
  color: var(--fg-soft);
  font-size: 0.95rem;
  font-weight: 500;
  transition: border-color 0.25s, background 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.wiz-option:hover {
  border-color: rgba(212, 162, 76, 0.55);
  background: var(--accent-dim);
  color: var(--fg);
  transform: translateY(-1px);
}
.wiz-option .opt-dot {
  width: 18px; height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, background 0.25s;
}
.wiz-option .opt-dot::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #14100a;
  transform: scale(0);
  transition: transform 0.25s var(--ease);
}
.wiz-option.selected {
  border-color: var(--accent);
  background: rgba(212, 162, 76, 0.14);
  color: var(--fg);
}
.wiz-option.selected .opt-dot {
  border-color: var(--accent);
  background: var(--accent);
}
.wiz-option.selected .opt-dot::after { transform: scale(1); }

/* Animação entre telas */
.wiz-anim-out { animation: wizOut 0.18s ease forwards; }
.wiz-anim-in { animation: wizIn 0.32s var(--ease) both; }
@keyframes wizOut {
  to { opacity: 0; transform: translateX(-18px); }
}
@keyframes wizIn {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Tela: analisando */
.wiz-analyzing { text-align: center; padding: 2rem 0 1rem; }
.analyze-spinner {
  width: 54px; height: 54px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  border: 2px solid rgba(212, 162, 76, 0.2);
  border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}
.wiz-analyzing h3 { margin-bottom: 1.6rem; }
.analyze-lines {
  max-width: 380px;
  margin: 0 auto;
  text-align: left;
  display: grid;
  gap: 0.7rem;
}
.analyze-lines li {
  display: flex;
  align-items: center;
  gap: 0.7em;
  font-size: 0.92rem;
  color: var(--fg-muted);
  opacity: 0.25;
  transition: opacity 0.4s, color 0.4s;
}
.analyze-lines li::before {
  content: "";
  width: 16px; height: 16px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  transition: all 0.3s;
}
.analyze-lines li.done {
  opacity: 1;
  color: var(--fg-soft);
}
.analyze-lines li.done::before {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

/* Tela: resultado */
.result-badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: #14100a;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-soft));
  padding: 0.45em 1.1em;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.result-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.8rem;
}
.result-title em { color: var(--accent); font-style: italic; }
.result-text {
  font-size: 1rem;
  margin-bottom: 1.6rem;
  max-width: 60ch;
}
.result-reveals { margin-bottom: 1.6rem; }
.result-reveals-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.8rem;
}
.result-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 162, 76, 0.4), transparent);
  margin: 1.8rem 0;
}

/* Tela: sucesso */
.wiz-success { text-align: center; padding: 2.5rem 0; }
.success-check {
  width: 74px; height: 74px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #14100a;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-soft));
  box-shadow: 0 0 0 10px rgba(212, 162, 76, 0.12), 0 12px 40px rgba(212, 162, 76, 0.3);
  animation: pop 0.5s var(--ease) both;
}
.success-check svg { width: 34px; height: 34px; }
@keyframes pop {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.wiz-success h3 { margin-bottom: 0.7rem; font-size: 1.6rem; }
.wiz-success p { max-width: 46ch; margin: 0 auto 1.6rem; }
.wiz-success p strong { color: var(--fg); }

/* FORMULÁRIO ------------------------------------------------ */
.lead-form { display: flex; flex-direction: column; gap: 1rem; }
.form-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.form-row { display: grid; gap: 1rem; }
.form-row--2 { grid-template-columns: 1fr 1fr; }
.lead-form label { display: flex; flex-direction: column; gap: 0.4rem; }
.lead-form label > span:first-child {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fg-soft);
  letter-spacing: 0.02em;
}
.lead-form input,
.lead-form select,
.lead-form textarea {
  font: inherit;
  font-size: 0.95rem;
  color: var(--fg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 0.75em 1em;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 162, 76, 0.15);
  background: rgba(255, 255, 255, 0.06);
}
.lead-form textarea { resize: vertical; min-height: 60px; }
.phone-error {
  font-size: 0.8rem;
  color: #e2907f;
}
.form-consent {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.6rem !important;
  font-size: 0.8rem;
  color: var(--fg-muted);
  cursor: pointer;
}
.form-consent input {
  margin-top: 2px;
  accent-color: var(--accent);
  width: 16px; height: 16px;
}
.form-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-size: 0.78rem;
  color: var(--fg-muted);
  text-align: center;
}
.form-foot svg { width: 1.1em; height: 1.1em; color: var(--accent); }

.form-msg {
  border-radius: var(--r-md);
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.form-msg--error { background: rgba(201, 106, 90, 0.12); border: 1px solid rgba(201, 106, 90, 0.4); color: #e2a99e; }

/* MARQUEE --------------------------------------------------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
  background: var(--bg-soft);
}
.marquee-inner {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee-inner span {
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  white-space: nowrap;
}
.marquee-inner i {
  font-style: normal;
  font-size: 0.5rem;
  color: var(--accent);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* PROBLEMA -------------------------------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.7rem 1.5rem;
  transition: border-color 0.3s, transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.problem-card:hover {
  border-color: rgba(212, 162, 76, 0.45);
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}
.card-num {
  display: inline-block;
  font-family: var(--serif);
  font-size: 0.9rem;
  color: var(--accent);
  border: 1px solid rgba(212, 162, 76, 0.4);
  border-radius: 8px;
  padding: 0.15em 0.6em;
  margin-bottom: 1.1rem;
}
.problem-card h3 { margin-bottom: 0.6rem; }
.problem-card p { font-size: 0.92rem; }

/* SOLUÇÃO --------------------------------------------------- */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem 1.2rem;
}
.solution-item {
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(255,255,255,0.025), transparent 55%);
  transition: border-color 0.3s, transform 0.35s var(--ease);
}
.solution-item:hover {
  border-color: rgba(212, 162, 76, 0.4);
  transform: translateY(-4px);
}
.solution-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(212, 162, 76, 0.3);
  margin-bottom: 1.1rem;
}
.solution-icon svg { width: 24px; height: 24px; }
.solution-item h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.solution-item p { font-size: 0.92rem; }

/* Comparativo CLT vs Nortem */
.compare-strip {
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 1rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.compare-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-align: center;
}
.compare-item strong {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: var(--fg);
}
.compare-item--highlight {
  border-color: rgba(212, 162, 76, 0.5);
  background: linear-gradient(160deg, rgba(212,162,76,0.1), var(--bg-card) 60%);
}
.compare-item--highlight strong { color: var(--accent); }
.compare-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 600;
}
.compare-note { font-size: 0.82rem; color: var(--fg-muted); }
.compare-vs {
  align-self: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  font-size: 1.2rem;
}

/* METODOLOGIA ------------------------------------------------ */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  counter-reset: step;
}
.timeline-step {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.7rem 1.5rem;
  transition: border-color 0.3s, transform 0.35s var(--ease);
}
.timeline-step:hover {
  border-color: rgba(212, 162, 76, 0.45);
  transform: translateY(-4px);
}
.timeline-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1.2rem;
  width: 1.2rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(212, 162, 76, 0.5), transparent);
}
.step-num {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.step-body h3 { margin-bottom: 0.5rem; }
.step-body p { font-size: 0.9rem; }

/* VÍDEO ------------------------------------------------------ */
.video-frame {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(212, 162, 76, 0.3);
  box-shadow: var(--shadow-lg), 0 0 80px rgba(212, 162, 76, 0.08);
  background: #000;
}
.video-frame video { display: block; width: 100%; height: auto; }

/* PARA QUEM É ------------------------------------------------ */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.fit-col h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 1.4rem; }
.check-list { display: grid; gap: 0.85rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75em;
  font-size: 0.98rem;
  color: var(--fg-soft);
}
.check-list li strong { color: var(--fg); }
.check-list li::before {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 1px;
}
.check-list--yes li::before {
  content: "✓";
  color: #14100a;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-soft));
}
.check-list--no li::before {
  content: "✕";
  color: var(--fg-muted);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-strong);
}
.fit-col--alt { opacity: 0.85; }

/* CONSULTORES ------------------------------------------------ */
.consultants {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 440px));
  justify-content: center;
  gap: 1.4rem;
}
.consultant-card {
  display: flex;
  gap: 1.3rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  transition: border-color 0.3s, transform 0.35s var(--ease);
}
.consultant-card:hover {
  border-color: rgba(212, 162, 76, 0.45);
  transform: translateY(-4px);
}
.consultant-photo {
  flex-shrink: 0;
  width: 108px; height: 108px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(212, 162, 76, 0.5);
  box-shadow: 0 0 0 5px rgba(212, 162, 76, 0.1);
}
.consultant-photo img { width: 100%; height: 100%; object-fit: cover; }
.consultant-info h3 { margin-bottom: 0.1rem; }
.consultant-info .role {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.55rem;
}
.consultant-info p { font-size: 0.9rem; }

/* FAQ -------------------------------------------------------- */
.faq-wrap { max-width: 820px; }
.faq-list { display: grid; gap: 0.8rem; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item[open] { border-color: rgba(212, 162, 76, 0.4); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--fg);
  transition: color 0.25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 1.4rem 1.3rem;
  font-size: 0.92rem;
  color: var(--fg-soft);
}

/* CTA FINAL --------------------------------------------------- */
.section--finalcta { overflow: hidden; text-align: center; }
.finalcta-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 50% 100%, rgba(212, 162, 76, 0.13), transparent 70%);
  pointer-events: none;
}
.finalcta-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}
.finalcta-inner h2 { max-width: 18ch; }
.finalcta-note { font-size: 0.82rem; color: var(--fg-muted); }

/* FOOTER ------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding-top: clamp(2.5rem, 5vw, 4rem);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-brand img { height: 40px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.92rem; color: var(--fg-soft); }
.footer-brand span { color: var(--fg-muted); font-style: italic; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links h4, .footer-contact h4 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.4rem;
}
.footer-links a, .footer-contact a {
  font-size: 0.9rem;
  color: var(--fg-soft);
  transition: color 0.25s;
  width: fit-content;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0;
  font-size: 0.8rem;
  color: var(--fg-muted);
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* WHATSAPP FLUTUANTE ------------------------------------------ */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #25d366;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* STICKY CTA MOBILE ------------------------------------------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 140;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.4s var(--ease);
  display: none;
}
.sticky-cta.visible { transform: translateY(0); }

/* REVEAL ON SCROLL --------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* REDUCED MOTION ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ================= RESPONSIVO ================================= */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline-step:not(:last-child)::after { display: none; }
  .hero-inner { grid-template-columns: 1fr 0.8fr; }
}

@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding-top: 104px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-figure { display: none; }
  .scroll-cue { display: none; }

  .video-metrics { grid-template-columns: 1fr; }
  .fit-grid { grid-template-columns: 1fr; }
  .consultants { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; }

  .compare-strip { grid-template-columns: 1fr; }
  .compare-vs { padding: 0.2rem 0; }

  .sticky-cta { display: block; }
  .wa-float { bottom: 84px; }
}

@media (max-width: 560px) {
  .cards-grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .wiz-options { grid-template-columns: 1fr; }
  .form-row--2 { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .wiz-stage { min-height: 340px; }
}
