/* ============================================================
   Monica Moro — Estrutura digital para empresas
   Dark-first · Rosé/Copper · Editorial
   ============================================================ */

:root {
  /* Cores */
  --bg: #0e0b0c;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(201, 138, 125, 0.35);
  --text: #f3edeb;
  --text-muted: #a89d9a;
  --accent: #c98a7d;
  --accent-strong: #e0a897;
  --accent-deep: #8f5a50;
  --accent-ink: #1c0f0c;
  --rose-tint: rgba(201, 138, 125, 0.1);
  --whats: #4fbd6e;
  --whats-deep: rgba(37, 211, 102, 0.12);

  /* Tipografia */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Ritmo */
  --radius: 22px;
  --radius-sm: 14px;
  --gap: 16px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; }
p { margin: 0; }

/* ============ FUNDO TECNOLÓGICO ============ */

#bg-net {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(201, 138, 125, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 138, 125, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, black 30%, transparent 75%);
}

.bg-glow {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(90px);
}

.bg-glow--top {
  width: 560px; height: 560px;
  top: -260px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(201, 138, 125, 0.16), transparent 65%);
}

.bg-glow--bottom {
  width: 480px; height: 480px;
  bottom: -280px; right: -180px;
  background: radial-gradient(circle, rgba(143, 90, 80, 0.12), transparent 65%);
}

/* ============ PÁGINA ============ */

.page {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* ============ ÍCONES ============ */

svg { display: block; }

.social svg, .service__icon svg, .whats__icon svg, .statement__icon svg,
.final__icon svg, .icon, .dialog__close svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

svg .fill { fill: currentColor; stroke: none; }
.social svg.wa, .whats__icon svg { fill: currentColor; stroke: none; }

.icon { width: 17px; height: 17px; flex-shrink: 0; }

/* ============ PERFIL ============ */

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  margin-bottom: 4px;
}

.avatar {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 30%, #241a1b, #120e0f 70%) padding-box,
    conic-gradient(from 210deg, #8f5a50, #e0bfb2, #c98a7d, #6e453d, #e0bfb2, #8f5a50) border-box;
  border: 2px solid transparent;
  box-shadow: 0 12px 40px rgba(201, 138, 125, 0.22), inset 0 0 30px rgba(0, 0, 0, 0.5);
}

.avatar picture,
.avatar img {
  display: block;
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* Vinheta por cima da foto: escurece a borda pra ela afundar no charcoal
   em vez de virar um disco recortado colado na página. */
.avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  box-shadow:
    inset 0 0 20px 5px rgba(12, 9, 10, 0.5),
    inset 0 3px 12px rgba(0, 0, 0, 0.38);
}

.avatar__mono { width: 74%; height: 74%; }
.avatar__mono text {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 1px;
  fill: #e8d5cd;
}

.profile__name {
  font-family: var(--font-display);
  font-size: clamp(30px, 7vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.profile__tagline {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 520px;
  margin-inline: auto;
  text-wrap: balance;
}

/* ============ SOCIAIS ============ */

.socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}

.social {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.social svg { width: 21px; height: 21px; }

.social:hover, .social:focus-visible {
  color: var(--accent-strong);
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 138, 125, 0.18);
}

/* ============ BOTÕES ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 999px;
  border: none;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.2s, color 0.2s;
  touch-action: manipulation;
}

.btn:active { transform: scale(0.97); }

.btn--primary {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent) 55%, var(--accent-deep));
  color: var(--accent-ink);
  box-shadow: 0 8px 28px rgba(201, 138, 125, 0.35);
}

.btn--primary:hover, .btn--primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(201, 138, 125, 0.5);
}

.btn--ghost {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  min-height: 44px;
  padding: 10px 18px;
  font-size: 14px;
  width: 100%;
  justify-content: space-between;
}

.btn--ghost:hover, .btn--ghost:focus-visible {
  border-color: var(--border-strong);
  background: var(--rose-tint);
  color: var(--accent-strong);
}

.btn--whats {
  background: linear-gradient(135deg, #2fbf62, #1f9d4e);
  color: #06130a;
  box-shadow: 0 8px 28px rgba(47, 191, 98, 0.28);
}

.btn--whats:hover, .btn--whats:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(47, 191, 98, 0.42);
}

.btn--whats svg { stroke-width: 2; }

@keyframes pulse-ring {
  0% { box-shadow: 0 8px 28px rgba(201, 138, 125, 0.35), 0 0 0 0 rgba(201, 138, 125, 0.45); }
  70% { box-shadow: 0 8px 28px rgba(201, 138, 125, 0.35), 0 0 0 14px rgba(201, 138, 125, 0); }
  100% { box-shadow: 0 8px 28px rgba(201, 138, 125, 0.35), 0 0 0 0 rgba(201, 138, 125, 0); }
}

.btn--pulse { animation: pulse-ring 2.6s var(--ease-out) infinite; }

/* ============ RAIO-X — DOBRA PRINCIPAL ============ */

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

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 32px 22px 34px;
  text-align: center;
  /* Ao contrário dos outros cards, este afunda em vez de flutuar: o filme
     branco de --surface sai e entra um véu escuro, pra deixar o radar acender
     contra ele. O fundo geral da página não muda. */
  background:
    radial-gradient(120% 150% at 0% 0%, rgba(143, 66, 66, 0.13), transparent 58%),
    radial-gradient(130% 150% at 100% 100%, rgba(201, 138, 125, 0.055), transparent 62%),
    rgba(8, 5, 6, 0.5);
  border-color: rgba(201, 138, 125, 0.16);
}

/* ---- Palco do radar ----
   container-type liga as unidades cqw: tudo aqui dentro (raio da órbita,
   tamanho dos chips, tipografia) escala junto com o palco, sem media query. */
.radar-stage {
  container-type: inline-size;
  position: relative;
  width: min(86%, 340px);
  aspect-ratio: 1;
  --sweep: 7s;
}

.radar-links {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: visible;
}

.radar-links line {
  stroke: rgba(201, 138, 125, 0.5);
  stroke-width: 0.5;
  stroke-dasharray: 1.6 1.6;
  stroke-linecap: round;
}

.radar-links circle {
  fill: var(--accent-strong);
  animation: blip-ping var(--sweep) linear infinite;
  animation-delay: calc(var(--a) * var(--sweep));
}

@keyframes blip-ping {
  0%       { fill: #ffd9c8; r: 2.4; opacity: 1; }
  18%, 100% { fill: var(--accent); r: 1.4; opacity: 0.55; }
}

/* ---- O radar ---- */
.radar {
  position: absolute;
  inset: 21%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(201, 138, 125, 0.14), rgba(201, 138, 125, 0.02) 68%, transparent 100%);
  box-shadow: 0 0 60px rgba(201, 138, 125, 0.13), inset 0 0 40px rgba(0, 0, 0, 0.45);
}

.radar__grid { position: absolute; inset: 0; }

.radar__rings circle {
  fill: none;
  stroke: rgba(207, 149, 135, 0.42);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.radar__rings circle:first-child { stroke: rgba(214, 158, 143, 0.62); }

.radar__spokes path {
  fill: none;
  stroke: rgba(201, 138, 125, 0.2);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.radar__specks circle { fill: rgba(224, 168, 151, 0.45); }

/* Feixe: a borda clara fica exatamente em 0° (topo) e o rastro fica atrás dela,
   então o ângulo de rotação É o ângulo varrido — é isso que deixa o pulso
   dos sintomas em sincronia com a passagem do feixe. */
.radar__sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from -78deg,
    transparent 0deg,
    rgba(224, 168, 151, 0.04) 18deg,
    rgba(224, 168, 151, 0.13) 44deg,
    rgba(232, 182, 163, 0.28) 64deg,
    rgba(255, 206, 186, 0.52) 77.2deg,
    transparent 78deg
  );
  animation: radar-sweep var(--sweep) linear infinite;
}

.radar__sweep::after {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  width: 2px; height: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  background: linear-gradient(to bottom, rgba(255, 214, 196, 0), rgba(255, 210, 190, 0.72));
  box-shadow: 0 0 10px rgba(255, 190, 165, 0.45);
}

@keyframes radar-sweep { to { transform: rotate(1turn); } }

.radar__core {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 26cqw; height: 26cqw;
  max-width: 62px; max-height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(201, 138, 125, 0.4);
  background: rgba(20, 14, 14, 0.72);
  color: var(--accent-strong);
  box-shadow: 0 0 24px rgba(201, 138, 125, 0.22);
}

.radar__core svg {
  width: 46%; height: 46%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- Sintomas em órbita ----
   Um único --a por sintoma governa três coisas: onde o chip fica, onde o blip
   e a linha aparecem no SVG, e quando o pulso dispara. */
.symptoms {
  position: absolute;
  inset: 0;
  z-index: 3;
  margin: 0;
  padding: 0;
  list-style: none;
}

.symptom {
  --r: 51cqw;
  position: absolute;
  left: 50%; top: 50%;
  transform-origin: 0 0;
  transform:
    rotate(calc(var(--a) * 1turn))
    translateY(calc(var(--r) * -1))
    rotate(calc(var(--a) * -1turn))
    translate(-50%, -50%);

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: max-content;
  max-width: 38cqw;
  padding: 7px 10px;
  border-radius: 11px;
  border: 1px solid rgba(201, 138, 125, 0.2);
  background: rgba(24, 17, 17, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--text-muted);
  font-size: clamp(9.5px, 3.5cqw, 12.5px);
  line-height: 1.25;
  text-align: center;
  animation: sym-ping var(--sweep) linear infinite;
  animation-delay: calc(var(--a) * var(--sweep));
}

.symptom svg {
  width: 1.15em; height: 1.15em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.75;
}

/* Os seis sintomas permanecem visíveis em qualquer largura. Os dois chips
   horizontais usam um raio menor para continuar dentro do card no mobile. */
.symptom--wide { --r: 41cqw; display: flex; }
.link--wide { display: block; }

@keyframes sym-ping {
  0% {
    color: var(--text);
    border-color: rgba(224, 168, 151, 0.55);
    background: rgba(58, 32, 28, 0.9);
    box-shadow: 0 0 20px rgba(224, 168, 151, 0.2);
  }
  20%, 100% {
    color: var(--text-muted);
    border-color: rgba(201, 138, 125, 0.2);
    background: rgba(24, 17, 17, 0.88);
    box-shadow: 0 0 0 rgba(224, 168, 151, 0);
  }
}

/* ---- Texto ---- */
.hero__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero__body h2 {
  font-family: var(--font-display);
  font-size: clamp(27px, 7.2vw, 34px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-wrap: balance;
}

.hero__body h2 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent), #f4cbbb 50%, var(--accent-strong));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__body p {
  color: var(--text-muted);
  font-size: 14.5px;
  max-width: 46ch;
  text-wrap: pretty;
}

.hero .btn { margin-top: 4px; }

/* ---- Desktop: hero rompe a coluna de 640px ----
   align-self:center num flex item mais largo que o container centraliza o
   transbordo dos dois lados — sem transform, sem margem negativa. */
@media (min-width: 900px) {
  .hero {
    align-self: center;
    width: min(1040px, calc(100vw - 40px));
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    padding: 42px 46px;
    text-align: left;
  }

  .radar-stage { width: min(100%, 400px); justify-self: center; }
  .symptom { --r: 48cqw; max-width: 33cqw; }
  /* Raio apertado entre dois limites: pra dentro não pode tocar o radar,
     pra fora não pode invadir a coluna de texto. 25cqw/45cqw cabe nos dois. */
  .symptom--wide { --r: 45cqw; max-width: 25cqw; display: flex; }
  .link--wide { display: block; }

  .hero__body { align-items: flex-start; gap: 15px; }
  .hero__body h2 { font-size: clamp(32px, 2.9vw, 42px); }
  .hero__body p { font-size: 15px; }
  .hero .btn { margin-top: 6px; padding: 14px 26px; font-size: 15px; }

  /* Os serviços acompanham a largura do hero. Sem isto a página abre
     cinematográfica em 1040px e estrangula pra 600px logo abaixo. */
  .section-label,
  .services {
    align-self: center;
    width: min(1040px, calc(100vw - 40px));
  }
}

/* ============ RÓTULOS DE SEÇÃO ============ */

.section-label {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin: 18px 2px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 138, 125, 0.3), transparent);
}

/* ============ SERVIÇOS ============ */

.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.service {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 304px;
  padding: 0;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}

/* Defs compartilhados pelas 4 cenas (glow, desfoque de profundidade).
   Fica fora de tela mas NÃO em display:none — filtro em subárvore não
   renderizada deixa de resolver em alguns motores. */
.scene-defs {
  position: absolute;
  width: 0; height: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Grão: dá textura fotográfica ao vetor. Uma única imagem, composta na GPU. */
.service__art::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.service:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

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

.service__scene {
  width: 100%;
  height: 100%;
  display: block;
}

.service::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg,
    var(--bg) 0%,
    rgba(14, 11, 12, 0.95) 38%,
    rgba(14, 11, 12, 0.74) 56%,
    rgba(14, 11, 12, 0.26) 80%,
    rgba(14, 11, 12, 0.05) 100%);
  pointer-events: none;
}

/* O texto não pode entrar na zona da arte. O scrim protege legibilidade,
   mas texto por cima de gráfico continua sendo texto por cima de gráfico. */
.service__body { max-width: 68%; }

/* ---- Movimento das cenas ----
   Nada anima em repouso: 4 SVGs animando fora da tela é CPU jogada fora.
   A arte "liga" uma vez quando o card entra na viewport (.is-in) e volta a
   se mexer no hover. O bloco global de prefers-reduced-motion já zera tudo. */

.sc-curve {
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
}
.service.is-in .sc-curve {
  animation: sc-draw 1.5s var(--ease-out) 0.15s forwards;
}
@keyframes sc-draw { to { stroke-dashoffset: 0; } }

/* Em SVG o transform-box padrão é view-box: sem fill-box, "center" vira o
   centro do viewBox inteiro e o scale() arrasta o elemento pra longe do
   próprio lugar. Foi o que jogou os leads em cima do texto do Controle. */
.sc-ring, .sc-drop {
  transform-box: fill-box;
  transform-origin: center;
}

.sc-ring { opacity: 0; }
.service.is-in .sc-ring { animation: sc-ping 2.6s var(--ease-out) 1.1s 3; }
@keyframes sc-ping {
  0%   { transform: scale(0.5); opacity: 0.7; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

.sc-typing circle { opacity: 0.35; }
.service.is-in .sc-typing circle { animation: sc-blink 1.25s ease-in-out 4; }
.sc-typing circle:nth-child(2) { animation-delay: 0.16s; }
.sc-typing circle:nth-child(3) { animation-delay: 0.32s; }
@keyframes sc-blink {
  0%, 60%, 100% { opacity: 0.3; }
  30%           { opacity: 1; }
}

.sc-drop { opacity: 0; }
.service.is-in .sc-drop { animation: sc-fall 3.2s linear 2; }
.sc-drop:nth-of-type(2) { animation-delay: 1.05s; }
.sc-drop:nth-of-type(3) { animation-delay: 2.1s; }
@keyframes sc-fall {
  0%        { transform: translateY(0) scale(1); opacity: 0; }
  12%, 62%  { opacity: 0.95; }
  100%      { transform: translateY(96px) scale(0.45); opacity: 0; }
}

/* Pulsos percorrem o caminho real do fluxo via offset-path */
.sc-pulse { offset-rotate: 0deg; offset-distance: 0%; opacity: 0; }
.service.is-in .sc-pulse { animation: sc-flow 2.4s linear 2; }
.sc-pulse--b { animation-delay: 0.5s; }
.sc-pulse--c { animation-delay: 1.2s; }
.sc-pulse--d { animation-delay: 1.7s; }
@keyframes sc-flow {
  0%       { offset-distance: 0%; opacity: 0; }
  15%, 85% { opacity: 1; }
  100%     { offset-distance: 100%; opacity: 0; }
}

/* No hover a cena volta a viver, agora em loop e mais rápida. Este é o único
   estado que anima indefinidamente — e só existe um card sob o cursor por vez. */
.sc-glowable { opacity: 0.55; transition: opacity 0.45s var(--ease-out); }
.service:hover .sc-glowable { opacity: 1; }

.service:hover .sc-pulse        { animation: sc-flow 1.5s linear infinite; }
.service:hover .sc-pulse--b     { animation-delay: 0.32s; }
.service:hover .sc-pulse--c     { animation-delay: 0.75s; }
.service:hover .sc-pulse--d     { animation-delay: 1.05s; }
.service:hover .sc-drop         { animation: sc-fall 2s linear infinite; }
.service:hover .sc-drop:nth-of-type(2) { animation-delay: 0.66s; }
.service:hover .sc-drop:nth-of-type(3) { animation-delay: 1.33s; }
.service:hover .sc-typing circle { animation: sc-blink 1.25s ease-in-out infinite; }
.service:hover .sc-ring         { animation: sc-ping 2.2s var(--ease-out) infinite; }

.service__body {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.service__icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--accent-strong);
  background: rgba(14, 11, 12, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-bottom: 8px;
}

.service__icon svg { width: 24px; height: 24px; }

.service h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.service__sub {
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 600;
}

.service__desc {
  color: #cabdb8;
  font-size: 13.5px;
  line-height: 1.5;
  flex: 1;
  margin-bottom: 8px;
}

.service .btn--ghost {
  align-self: flex-start;
  width: auto;
  min-height: 42px;
  padding: 9px 16px;
  justify-content: center;
  background: rgba(14, 11, 12, 0.55);
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.service .btn--ghost:hover, .service .btn--ghost:focus-visible {
  background: rgba(14, 11, 12, 0.75);
  border-color: var(--border-strong);
  color: var(--accent-strong);
}

/* ============ O CAMINHO ATÉ A AGENDA ============ */

/* Banda editorial, não outro conjunto de cards. Os serviços acima explicam
   as frentes; aqui uma única linha mostra o esforço se perdendo no percurso. */
.statement {
  position: relative;
  padding: 44px 0 42px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.statement__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 18px;
}

.statement__label::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}

.statement h2 {
  font-family: var(--font-display);
  font-size: clamp(25px, 5.8vw, 38px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.13;
  max-width: 24ch;
  text-wrap: balance;
}

.statement h2 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent), var(--accent-strong));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.statement__lead {
  max-width: 58ch;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
  text-wrap: pretty;
}

/* ---- Percurso visual ---- */

.journey {
  position: relative;
  margin: 34px 0 30px;
  padding: 24px 16px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(90% 150% at 0% 50%, var(--rose-tint), transparent 65%),
    rgba(8, 5, 6, 0.32);
}

.journey::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(201, 138, 125, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 138, 125, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}

.journey__track {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  min-height: 92px;
}

.journey__rail,
.journey__flow {
  position: absolute;
  top: 25px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  border-radius: 999px;
}

.journey__rail {
  background: rgba(201, 138, 125, 0.2);
}

.journey__flow {
  right: auto;
  width: 0;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-strong));
  box-shadow: 0 0 14px rgba(224, 168, 151, 0.45);
}

.statement.is-in .journey__flow {
  animation: journey-fill 2.8s var(--ease-out) 0.25s forwards;
}

@keyframes journey-fill {
  0% { width: 0; }
  46% { width: 32%; }
  61% { width: 39%; }
  100% { width: 75%; }
}

.journey__stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
}

.journey__node {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(201, 138, 125, 0.3);
  background: rgba(20, 14, 14, 0.94);
  color: var(--accent);
  box-shadow: 0 0 0 rgba(201, 138, 125, 0);
  transition:
    color 0.35s,
    border-color 0.35s,
    box-shadow 0.35s,
    transform 0.35s var(--ease-out);
}

.journey__node svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.statement.is-in .journey__stage:nth-of-type(1) .journey__node {
  animation: journey-node 0.55s var(--ease-out) 0.35s both;
}

.statement.is-in .journey__stage:nth-of-type(2) .journey__node {
  animation: journey-node 0.55s var(--ease-out) 1.05s both;
}

.statement.is-in .journey__stage:nth-of-type(3) .journey__node {
  animation: journey-node 0.55s var(--ease-out) 1.75s both;
}

.statement.is-in .journey__stage:nth-of-type(4) .journey__node {
  animation: journey-node-goal 0.7s var(--ease-out) 2.55s both;
}

@keyframes journey-node {
  0% { transform: scale(0.88); }
  45% {
    color: var(--text);
    border-color: var(--accent-strong);
    box-shadow: 0 0 24px rgba(224, 168, 151, 0.26);
    transform: scale(1.06);
  }
  100% { transform: none; }
}

@keyframes journey-node-goal {
  0% { transform: scale(0.88); }
  55%, 100% {
    color: var(--text);
    border-color: var(--accent-strong);
    box-shadow: 0 0 26px rgba(224, 168, 151, 0.3);
    transform: none;
  }
}

/* Pequenos sinais saem da rota. Eles comunicam perda sem criar novos cards,
   rótulos ou uma segunda explicação dos quatro serviços. */
.journey__leak {
  position: absolute;
  top: 25px;
  width: 20px;
  height: 58px;
  transform: translateX(-50%);
  pointer-events: none;
}

.journey__leak--one {
  left: 25%;
  --leak-delay: 0.8s;
}

.journey__leak--two {
  left: 50%;
  --leak-delay: 1.45s;
}

.journey__leak--three {
  left: 75%;
  --leak-delay: 2.1s;
}

.journey__leak i {
  position: absolute;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
}

.journey__leak i:nth-child(1) { margin-left: -8px; }
.journey__leak i:nth-child(2) { margin-left: 1px; }
.journey__leak i:nth-child(3) { margin-left: 8px; }

.statement.is-in .journey__leak i {
  animation: journey-drop 1.7s var(--ease-out) infinite;
  animation-delay: var(--leak-delay);
}

.statement.is-in .journey__leak i:nth-child(2) {
  animation-delay: calc(var(--leak-delay) + 0.12s);
}

.statement.is-in .journey__leak i:nth-child(3) {
  animation-delay: calc(var(--leak-delay) + 0.24s);
}

@keyframes journey-drop {
  0% { opacity: 0; transform: translateY(-1px) scale(1); }
  18% { opacity: 0.7; }
  100% { opacity: 0; transform: translateY(48px) scale(0.45); }
}

.statement__closing {
  max-width: 54ch;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.statement__turn {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(20px, 4.5vw, 27px);
  line-height: 1.25;
  color: var(--text);
  max-width: 34ch;
  padding-left: 18px;
  border-left: 2px solid var(--accent);
}

.statement__turn strong {
  display: block;
  color: var(--accent-strong);
  font-weight: 600;
}

/* ============ WHATSAPP ============ */

.whats {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 24px;
  background:
    radial-gradient(130% 160% at 0% 50%, var(--whats-deep), transparent 60%),
    var(--surface);
  border-color: rgba(79, 189, 110, 0.2);
  flex-wrap: wrap;
}

.whats__icon {
  width: 54px; height: 54px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--whats);
  background: rgba(79, 189, 110, 0.12);
  border: 1px solid rgba(79, 189, 110, 0.25);
}

.whats__icon svg { width: 26px; height: 26px; }

.whats__body { flex: 1; min-width: 220px; }

.whats h2 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.whats p { color: var(--text-muted); font-size: 14px; }

/* ============ CONTEÚDOS ============ */

.contents {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* O card inteiro é o link; os ícones são apenas a moldura visual do post. */
.social-post {
  display: block;
  min-width: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #120f10;
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.35s var(--ease-out),
    border-color 0.35s,
    box-shadow 0.35s;
}

.social-post:hover,
.social-post:focus-visible {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.34);
}

.social-post__media {
  position: relative;
  display: flex;
  aspect-ratio: 1;
  flex-direction: column;
  justify-content: flex-end;
  padding: 17px 15px;
  isolation: isolate;
  overflow: hidden;
}

.social-post__media::before,
.social-post__media::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.social-post__media::before {
  width: 145px;
  height: 145px;
  top: -68px;
  right: -62px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 22px rgba(255, 255, 255, 0.025),
    0 0 0 48px rgba(255, 255, 255, 0.018);
}

.social-post__media::after {
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.social-post__media--traffic {
  background:
    radial-gradient(110% 80% at 90% 0%, rgba(224, 168, 151, 0.28), transparent 62%),
    linear-gradient(145deg, #34201d, #100c0d 68%);
}

.social-post__media--crm {
  background:
    radial-gradient(100% 78% at 12% 4%, rgba(116, 87, 111, 0.4), transparent 62%),
    linear-gradient(145deg, #241923, #0f0c10 70%);
}

.social-post__media--ai {
  background:
    radial-gradient(100% 78% at 90% 0%, rgba(87, 111, 121, 0.36), transparent 62%),
    linear-gradient(145deg, #182126, #0c0e10 70%);
}

.social-post__media > small,
.social-post__media > strong {
  position: relative;
  z-index: 2;
}

.social-post__media > small {
  display: block;
  margin-bottom: 7px;
  color: var(--accent-strong);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.social-post__media > strong {
  max-width: 11ch;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.social-post__type {
  position: absolute;
  z-index: 3;
  left: 11px;
  bottom: 11px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: linear-gradient(145deg, #ff475f, #d92f75);
  color: #fff;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.34);
}

.social-post__type svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-post__visual {
  position: absolute;
  z-index: 1;
  inset: 18% 12% 44%;
  opacity: 0.7;
}

.social-post__visual--flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.social-post__visual--flow::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-strong), transparent);
}

.social-post__visual--flow i {
  position: relative;
  width: 8px;
  height: 8px;
  border: 1px solid var(--accent-strong);
  border-radius: 50%;
  background: #221617;
  box-shadow: 0 0 14px rgba(224, 168, 151, 0.6);
}

.social-post__visual--pipeline {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  padding: 2px 10px 8px;
}

.social-post__visual--pipeline i {
  flex: 1;
  border: 1px solid rgba(224, 168, 151, 0.38);
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(to top, rgba(201, 138, 125, 0.3), rgba(201, 138, 125, 0.06));
}

.social-post__visual--pipeline i:nth-child(1) { height: 42%; }
.social-post__visual--pipeline i:nth-child(2) { height: 68%; }
.social-post__visual--pipeline i:nth-child(3) { height: 92%; }

.social-post__visual--chat i {
  position: absolute;
  height: 17px;
  border: 1px solid rgba(178, 210, 217, 0.32);
  border-radius: 8px;
  background: rgba(178, 210, 217, 0.08);
}

.social-post__visual--chat i:nth-child(1) { width: 66%; top: 4%; left: 0; }
.social-post__visual--chat i:nth-child(2) { width: 52%; top: 35%; right: 0; }
.social-post__visual--chat i:nth-child(3) { width: 72%; top: 68%; left: 6%; }

.social-post__body {
  display: block;
  padding: 10px 11px;
}

.social-post__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-post__action {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: var(--text);
}

.social-post__action--save { margin-left: auto; }

.social-post__action svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-post__action--liked {
  color: #ef5a67;
}

.social-post__action--liked svg {
  fill: currentColor;
  stroke: currentColor;
}

/* ============ CTA FINAL ============ */

.final {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  flex-wrap: wrap;
  background:
    radial-gradient(130% 160% at 100% 0%, rgba(143, 66, 66, 0.24), transparent 60%),
    var(--surface);
  border-color: rgba(201, 138, 125, 0.22);
}

.final__icon {
  width: 50px; height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent-strong);
  background: var(--rose-tint);
  border: 1px solid rgba(201, 138, 125, 0.22);
}

.final__icon svg { width: 23px; height: 23px; }

.final h2 {
  flex: 1;
  min-width: 200px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

/* ============ FOOTER ============ */

.footer {
  text-align: center;
  padding: 20px 0 6px;
  border-top: 1px solid var(--border);
  margin-top: 12px;
}

.footer p {
  color: var(--text-muted);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

/* ============ DIALOGS ============ */

.dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: min(86dvh, 780px);
  margin: auto;
  padding: 0;
  /* Mesma receita do .hero: véu escuro + os dois radiais rosé/copper.
     Antes era #171213, mais claro e mais quente que a página — o modal
     parecia vir de outro site. */
  border: 1px solid rgba(201, 138, 125, 0.2);
  border-radius: 6px;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(143, 66, 66, 0.2), transparent 58%),
    radial-gradient(120% 100% at 100% 100%, rgba(201, 138, 125, 0.08), transparent 62%),
    #100c0d;
  color: var(--text);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

/* Malha fina no topo, ecoando o .bg-grid da página, com fade pra não competir
   com o texto. Fica atrás do conteúdo. */
.dialog::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 200px;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(201, 138, 125, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 138, 125, 0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, #000 10%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 10%, transparent 100%);
}

/* Fio de luz na borda superior: mesma ideia do anel do avatar */
.dialog::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(224, 168, 151, 0.55) 30%, rgba(242, 196, 180, 0.7) 50%, rgba(224, 168, 151, 0.55) 70%, transparent);
}

.dialog::backdrop {
  background: rgba(6, 4, 5, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.dialog[open] { animation: dialog-in 0.32s var(--ease-out); }

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.dialog__inner {
  position: relative;
  z-index: 2;
  padding: 34px 28px 30px;
  overflow-y: auto;
  max-height: inherit;
}

.dialog__close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  width: 40px; height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color 0.2s, background 0.2s;
}

.dialog__close svg { width: 16px; height: 16px; }
.dialog__close:hover { color: var(--text); background: rgba(255, 255, 255, 0.1); }

/* --- Detalhe do serviço --- */

/* Ícone e título lado a lado: mais compacto e mais direto que empilhado,
   e abre espaço vertical pra frase de impacto respirar. */
.sd__head {
  display: flex;
  /* flex-start, não center: quando o título quebra em duas linhas (comum em
     tela estreita), centralizar deixa o ícone flutuando fora do rótulo. */
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding-right: 46px; /* não passar por baixo do botão fechar */
}

.sd__headtext { min-width: 0; }

.sd__icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--accent-strong);
  background: linear-gradient(140deg, rgba(201, 138, 125, 0.18), rgba(201, 138, 125, 0.05));
  border: 1px solid rgba(201, 138, 125, 0.28);
  box-shadow: 0 8px 24px rgba(201, 138, 125, 0.12);
}

.sd__icon svg {
  width: 26px; height: 26px;
  fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.sd__sub {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
}

.sd__title {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

/* A frase de impacto é o argumento do card. Barra copper à esquerda e cor
   plena a transformam em afirmação, não em legenda. */
.sd__lead {
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 24px;
  padding-left: 15px;
  border-left: 2px solid var(--accent);
}

.sd__block { margin-bottom: 20px; }

.sd__block h4 {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.sd__block ul {
  margin: 0; padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.sd__block li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text);
}

.sd__block li::before {
  content: "";
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 7px;
}

/* O bloco de resultado é a recompensa da leitura: ganha peso próprio,
   com o mesmo gradiente do avatar/CTA pra amarrar com a página. */
.sd__result {
  position: relative;
  padding: 16px 18px 17px;
  border-radius: 8px;
  background: linear-gradient(125deg, rgba(201, 138, 125, 0.15), rgba(201, 138, 125, 0.04));
  border: 1px solid rgba(201, 138, 125, 0.26);
  margin-bottom: 24px;
  overflow: hidden;
}

.sd__result::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-strong), var(--accent-deep));
}

.sd__result h4 {
  margin: 0 0 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-strong);
}

.sd__result p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text);
}

.sd__actions { display: flex; flex-direction: column; gap: 10px; }
.sd__actions .btn { width: 100%; }

/* --- Quiz --- */

.quiz__progress {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  margin-bottom: 26px;
}

.quiz__progress span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-strong));
  transition: width 0.4s var(--ease-out);
}

.qz__step { color: var(--accent); font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 8px; }

.qz__question {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 20px;
}

.qz__options { display: flex; flex-direction: column; gap: 10px; }

.qz__opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease-out);
}

.qz__opt:hover, .qz__opt:focus-visible {
  border-color: var(--border-strong);
  background: var(--rose-tint);
  transform: translateX(3px);
}

.qz__opt::before {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(201, 138, 125, 0.45);
  transition: background 0.15s, box-shadow 0.15s;
}

.qz__opt.is-picked::before {
  background: var(--accent);
  box-shadow: inset 0 0 0 3px #171213;
}

.qz__back {
  margin-top: 18px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 4px;
}

.qz__back:hover { color: var(--text); }
.qz__back svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* --- Resultado + Lead --- */

.qz__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--rose-tint);
  border: 1px solid rgba(201, 138, 125, 0.3);
  color: var(--accent-strong);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.qz__result-title {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 12px;
}

.qz__result-title em {
  font-style: normal;
  color: var(--accent-strong);
}

.qz__result-text { color: var(--text-muted); font-size: 14.5px; margin-bottom: 10px; }

.qz__next-step {
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--rose-tint);
  border: 1px solid rgba(201, 138, 125, 0.22);
  font-size: 14px;
  margin: 16px 0 24px;
}

.qz__next-step strong { color: var(--accent-strong); }

.qz__form { display: flex; flex-direction: column; gap: 14px; }

.qz__form-intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.qz__form-title {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--text);
  text-wrap: balance;
}

.qz__form-support {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  text-wrap: pretty;
}

.qz__field { display: flex; flex-direction: column; gap: 6px; }

.qz__field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.qz__field label b { color: var(--accent); font-weight: 700; }

.qz__field input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.qz__field input::placeholder { color: rgba(168, 157, 154, 0.55); }

.qz__field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 138, 125, 0.18);
}

.qz__field input.is-invalid { border-color: #d4736a; }

.qz__error {
  font-size: 12.5px;
  color: #e8968d;
  display: none;
}

.qz__field.has-error .qz__error { display: block; }

.qz__form .btn { margin-top: 6px; width: 100%; }

.qz__privacy {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  opacity: 0.8;
}

/* --- Sucesso --- */

.qz__success { text-align: center; padding: 22px 0 10px; }

.qz__success-icon {
  width: 72px; height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--whats);
  background: rgba(79, 189, 110, 0.12);
  border: 1px solid rgba(79, 189, 110, 0.3);
}

.qz__success-icon svg {
  width: 32px; height: 32px;
  fill: none; stroke: currentColor;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}

.qz__success h3 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  margin-bottom: 10px;
}

.qz__success p { color: var(--text-muted); font-size: 14.5px; margin-bottom: 22px; }

/* ============ ANIMAÇÃO DE ENTRADA ============ */

/* Só esconde para animar se o JS estiver ativo (progressive enhancement) */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--d, 0ms);
}

html.js .reveal.is-in { opacity: 1; transform: none; }

/* ============ FOCO VISÍVEL ============ */

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

/* ============ RESPONSIVO ============ */

@media (max-width: 560px) {
  .page { padding-top: 44px; }

  .hero { padding: 28px 18px 30px; }
  .radar-stage { width: min(92%, 320px); }

  .services { grid-template-columns: 1fr; }

  /* No mobile, a cena passa a ter tamanho próprio. Assim o "slice" não
     consegue ampliá-la novamente quando o card fica estreito. */
  .service {
    --mobile-scene-scale: 0.76;
    --mobile-scene-right: -8px;
    min-height: 284px;
    background: #0b0809;
  }

  .service[data-service="atendimento"] {
    --mobile-scene-scale: 0.72;
    --mobile-scene-right: -4px;
  }

  .service[data-service="controle"] {
    --mobile-scene-scale: 0.74;
    --mobile-scene-right: -6px;
  }

  .service[data-service="processo"] {
    --mobile-scene-scale: 0.84;
  }

  .service__scene {
    position: absolute;
    top: 50%;
    right: var(--mobile-scene-right);
    width: 300px;
    height: 200px;
    transform: translateY(-50%) scale(var(--mobile-scene-scale));
    transform-origin: right center;
  }

  .service::after {
    background: linear-gradient(100deg,
      var(--bg) 0%,
      rgba(14, 11, 12, 0.97) 44%,
      rgba(14, 11, 12, 0.82) 64%,
      rgba(14, 11, 12, 0.32) 84%,
      rgba(14, 11, 12, 0.08) 100%);
  }

  .service__body {
    max-width: 70%;
    padding: 18px;
    gap: 6px;
  }

  .service__icon {
    width: 46px;
    height: 46px;
    margin-bottom: 6px;
    border-radius: 14px;
  }

  .service__icon svg {
    width: 22px;
    height: 22px;
  }

  .service .btn--ghost { min-height: 44px; }

  .statement { padding: 38px 0 36px; }
  .statement__lead { font-size: 14px; }
  .journey {
    margin: 28px -4px 26px;
    padding: 22px 8px 18px;
  }
  .journey__node { width: 44px; height: 44px; }
  .journey__node svg { width: 19px; height: 19px; }
  .journey__rail,
  .journey__flow,
  .journey__leak { top: 22px; }
  .journey__stage { font-size: 9.5px; gap: 9px; }
  .statement__closing { font-size: 14px; }

  .contents {
    grid-template-columns: none;
    grid-auto-columns: min(66vw, 240px);
    grid-auto-flow: column;
    gap: 13px;
    margin-right: -20px;
    padding-right: 20px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .contents::-webkit-scrollbar { display: none; }

  .social-post { scroll-snap-align: start; }
  .social-post__media { padding: 19px 16px; }
  .social-post__media > small { font-size: 8.5px; }
  .social-post__media > strong { font-size: 23px; }
  .social-post__body { padding: 11px 12px; }
  .social-post__action { width: 24px; height: 24px; }
  .social-post__action svg { width: 21px; height: 21px; }

  .whats { flex-direction: column; align-items: flex-start; }
  .whats .btn { width: 100%; }

  .final { flex-direction: column; align-items: flex-start; }
  .final .btn { width: 100%; }

  .dialog__inner { padding: 30px 20px 26px; }

  /* Menos largura útil por causa do botão fechar: título e ícone encolhem
     pra caber sem virar três linhas. */
  .sd__head { gap: 12px; }
  .sd__icon { width: 46px; height: 46px; border-radius: 14px; }
  .sd__icon svg { width: 22px; height: 22px; }
  .sd__title { font-size: 21px; }
  .sd__lead { font-size: 15px; padding-left: 13px; }
  .sd__block li { font-size: 14px; }
  .sd__result p { font-size: 14px; }
}

/* ============ SERVIÇOS EM DESKTOP ============
   Precisa vir DEPOIS das regras base de .service: media query não soma
   especificidade, então declarado antes ele perde para `.service` puro. */

@media (min-width: 900px) {
  .service { min-height: 330px; }
  .service__body { padding: 28px 26px; max-width: 56%; }
  .service h3 { font-size: 27px; }
  .service__sub { font-size: 14px; }
  .service__desc { font-size: 14.5px; }

  /* A banda acompanha a largura cinematográfica do hero e dos serviços. */
  .statement {
    align-self: center;
    width: min(1040px, calc(100vw - 40px));
    padding: 58px 0 54px;
  }
  .statement h2 { max-width: 24ch; font-size: 44px; }
  .statement__lead { font-size: 15.5px; }
  .journey { margin: 42px 0 36px; padding: 30px 44px 24px; }
  .journey__track { min-height: 108px; }
  .journey__rail,
  .journey__flow,
  .journey__leak { top: 30px; }
  .journey__node { width: 60px; height: 60px; }
  .journey__node svg { width: 25px; height: 25px; }
  .journey__stage { gap: 12px; font-size: 12px; }
  .statement__closing { font-size: 16px; }
}

/* ============ MOVIMENTO REDUZIDO ============ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
