/* ============================================================
   MAXI IA — Landing page
   Design system: design-system-maxi-ia-briefing.md
   Dark-only • acento ciano • Space Grotesk + Inter
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* easings desenhados: expo-out chega rápido e assenta macio */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  /* permite animar block-size até "auto" (accordion do FAQ) */
  interpolate-size: allow-keywords;

  --bg-base: #0F1115;
  --bg-elevated: #1A1D23;
  --bg-subtle: #161A21;
  --border-subtle: #262B33;
  --accent: #22D3EE;
  --accent-hover: #4ADEF5;
  --accent-muted: rgba(34, 211, 238, 0.12);
  --text-primary: #F5F5F5;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;
  --text-on-card: #B4BCC8;
  --success: #34D399;
  --whatsapp: #25D366;
  --whatsapp-hover: #2EE476;

  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius-btn: 10px;
  --radius-card: 14px;
  --glow: 0 0 24px rgba(34, 211, 238, 0.25);

  --container: 1200px;
  --pad-x: 24px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-base);
  background-image: radial-gradient(rgba(245, 245, 245, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* "clip" corta o estouro lateral SEM criar contêiner de rolagem —
   evita o scroll fantasma além do rodapé no Safari do iPhone
   (hidden acima fica como fallback pra navegadores antigos) */
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}

img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
strong { font-weight: 600; }

::selection { background: rgba(34, 211, 238, 0.25); color: #fff; }

/* grain sutil por cima de tudo: mata o banding dos halos ciano
   e tira o aspecto "hex chapado" do dark (padrão Vercel/Linear) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--bg-base);
  padding: 10px 16px; border-radius: 0 0 10px 0; font-weight: 600; z-index: 200;
}
.skip-link:focus { left: 0; color: var(--bg-base); }

/* ---------- Tipografia ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4.6vw + 16px, 56px);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 2.4vw + 20px, 40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 1vw + 20px, 28px);
  line-height: 1.2;
}

h3 { font-family: var(--font-body); font-weight: 600; font-size: 18px; line-height: 1.35; }
@media (min-width: 768px) { h3 { font-size: 20px; } }

.body-lg { font-size: 18px; color: var(--text-secondary); }
.caption { font-size: 14px; color: var(--text-muted); }

/* controle de órfãs e viúvas nos títulos e parágrafos longos */
.display, .h1, .h2, .origin-quote { text-wrap: balance; }
.body-lg, .origin-text p, .faq-list details p { text-wrap: pretty; }

.overline {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.accent { color: var(--accent); }
.center { text-align: center; }
.nw { white-space: nowrap; }

/* numeração editorial das seções (padrão Linear): mono, discreta */
.overline .onum {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-right: 6px;
}

/* parágrafo-manifesto (padrão Linear): display médio em duas cores,
   primeira oração em branco cheio, o resto esmaecido */
.proof-copy p.proof-lead {
  font-weight: 500;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-primary);
}
.proof-lead .dim { color: var(--text-secondary); font-weight: 400; }

/* seta que desliza no hover dos CTAs primários (padrão Stripe) */
.btn .arr { display: inline-block; transition: transform 200ms ease-out; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.container.narrow { max-width: 820px; }

.section { padding-block: 64px; }

/* faixa alternada (modelo híbrido): banda mais perceptível + fio de luz
   com fade nas pontas + glow ciano sutil nascendo do topo */
.section-alt {
  position: relative;
  background-color: var(--bg-subtle);
  background-image:
    radial-gradient(rgba(245, 245, 245, 0.04) 1px, transparent 1px),
    radial-gradient(720px 240px at 50% 0%, rgba(34, 211, 238, 0.05), transparent 70%);
  background-size: 28px 28px, auto;
}
.section-alt::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.07) 18%,
    rgba(255, 255, 255, 0.07) 82%,
    transparent);
  pointer-events: none;
}

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head .body-lg { margin-top: 16px; }

/* cabeçalho assimétrico (padrão Linear): título à esquerda,
   parágrafo de apoio ancorado à base na coluna direita */
@media (min-width: 960px) {
  .head-split {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    gap: 48px;
    max-width: none;
  }
  .head-split .overline, .head-split .h1 { grid-column: 1; }
  .head-split .body-lg { grid-column: 2; grid-row: 2; align-self: end; margin-top: 0; padding-bottom: 8px; }
}

@media (min-width: 768px) {
  :root { --pad-x: 32px; }
  .section { padding-block: 120px; }
  .section-head { margin-bottom: 64px; }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background 200ms var(--ease-out), color 200ms var(--ease-out),
              border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out),
              transform 200ms var(--ease-out);
}

/* resposta física ao pressionar: rápida na ida, macia na volta */
.btn:active { transform: translateY(1px) scale(0.99); transition-duration: 80ms; }

.btn-primary { background: var(--accent); color: var(--bg-base); }
.btn-primary:hover { background: var(--accent-hover); color: var(--bg-base); box-shadow: var(--glow); transform: translateY(-1px); }

.btn-wa { background: var(--whatsapp); color: var(--bg-base); }
.btn-wa:hover { background: var(--whatsapp-hover); color: var(--bg-base); transform: translateY(-1px); }
.btn-wa .icon { width: 20px; height: 20px; }

.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* Glow pulsante MUITO sutil — apenas no CTA do hero.
   O pulso anima só a opacity de um pseudo-elemento (compositor),
   nada de repintar box-shadow a cada frame */
.btn-glow { position: relative; }
.btn-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.30);
  opacity: 0.5;
  z-index: -1;
  animation: glowFade 3.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glowFade {
  0%, 100% { opacity: 0.45; }
  50%      { opacity: 1; }
}

/* ---------- Ícones ---------- */
.icon {
  width: 24px; height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 200ms var(--ease-out), border-color 200ms var(--ease-out);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(15, 17, 21, 0.82);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  border-bottom-color: var(--border-subtle);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 48px; height: 48px; filter: drop-shadow(0 0 7px rgba(34, 211, 238, 0.35)); }

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}
.wordmark b { color: var(--accent); font-weight: 700; }

.brand-tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  white-space: nowrap;
}
.brand-tag b { color: var(--accent); font-weight: 700; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > a:not(.btn) {
  position: relative;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  transition: color 150ms var(--ease-out);
}
.site-nav > a:not(.btn):hover { color: var(--text-primary); }

/* scrollspy: sublinhado ciano indica a seção atual */
.site-nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms var(--ease-out);
}
.site-nav > a.active { color: var(--text-primary); }
.site-nav > a.active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 200ms ease-out, opacity 200ms ease-out;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .brand-mark { width: 40px; height: 40px; }
  .wordmark { font-size: 19px; }
  .brand-tag { font-size: 10px; }

  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px var(--pad-x) 24px;
    background: rgba(15, 17, 21, 0.97);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 200ms ease-out, opacity 200ms ease-out, visibility 0s 200ms;
  }
  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform 200ms ease-out, opacity 200ms ease-out;
  }
  .site-nav > a:not(.btn) { padding: 12px 4px; font-size: 16px; }
  .nav-cta { margin-top: 12px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 48px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 480px at 78% 30%, rgba(34, 211, 238, 0.09), transparent 65%),
    radial-gradient(520px 420px at 8% 85%, rgba(34, 211, 238, 0.05), transparent 60%);
  pointer-events: none;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.circuit { position: absolute; color: var(--accent); opacity: 0.10; width: 420px; height: 420px; }
.circuit-hero { left: -60px; bottom: -40px; }
.circuit-final { right: -60px; top: -40px; }

.dot {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.28;
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.5);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 24px;
}

.hero-copy { max-width: 640px; }
.hero-sub { margin-top: 24px; max-width: 56ch; }

.hero-cta { margin-top: 40px; }
.hero-cta .btn { width: 100%; }
/* micro-copy em chips (padrão Stripe/Raycast): cada promessa vira
   uma pill de vidro — leitura instantânea, nunca quebra no meio */
.micro {
  margin-top: 16px;
  color: var(--text-secondary);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.micro .mi {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  line-height: 1.4;
}
@media (max-width: 680px) {
  .micro { flex-direction: column; align-items: flex-start; }
  .micro .mi { white-space: normal; border-radius: 14px; }
  .center-col .micro { align-items: center; }
}

.hero-visual { display: flex; justify-content: center; }
.hero-visual img {
  width: min(78vw, 380px);
  height: auto;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(closest-side, #000 58%, transparent 98%);
  mask-image: radial-gradient(closest-side, #000 58%, transparent 98%);
}

@media (min-width: 960px) {
  .hero { padding-top: calc(var(--header-h) + 96px); padding-bottom: 88px; }
  .hero-grid { grid-template-columns: 7fr 5fr; gap: 48px; }
  .hero-cta .btn { width: auto; }
  .hero-visual img { width: 100%; max-width: 480px; }
}

/* telas bem pequenas (iPhone SE): CTA precisa entrar na primeira dobra */
@media (max-width: 480px) {
  .hero { padding-top: calc(var(--header-h) + 32px); }
  .hero-sub { font-size: 17px; }
}

/* ---------- Cards ---------- */
.cards-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }

@media (min-width: 680px) { .cards-grid.cols-2, .cards-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .cards-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

/* aresta de vidro (padrão Raycast/Linear): borda em branco translúcido
   + highlight interno no topo simulando luz batendo na aresta */
.card {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 1px 2px rgba(0, 0, 0, 0.4);
  transition: border-color 200ms var(--ease-out), transform 200ms var(--ease-out),
              box-shadow 250ms var(--ease-out);
}
.card:active { transform: scale(0.995); transition-duration: 80ms; }

.card p { color: var(--text-secondary); }
.card h3 { margin-bottom: 10px; }
.card h3 + p { margin-top: 0; }

.card:hover { border-color: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }

/* ---------- Método (passos) ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  counter-reset: step;
  position: relative;
  margin-top: 64px;
  margin-bottom: 64px;
}

@media (min-width: 680px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-card);
  padding: 28px;
  padding-top: 36px;
  overflow: visible;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* medalhão numerado sobre a linha do processo */
.step-num {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-elevated);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  color: var(--text-muted);
  z-index: 2;
}

.step h3 { margin-bottom: 10px; }
.step p { color: var(--text-on-card); font-size: 15px; }

/* linha conectora entre os medalhões (só com 4 colunas) */
@media (min-width: 1020px) {
  .steps::before,
  .steps::after {
    content: "";
    position: absolute;
    top: -1px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    z-index: 1;
  }
  .steps::before { background: var(--border-subtle); }
  .steps::after {
    background: var(--accent);
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.55);
    transform: scaleX(0);
    transform-origin: left center;
  }
  .steps.play::after { animation: trackFill 2.1s linear forwards; } /* linear: a ponta da linha é o metrônomo dos medalhões */
}
@keyframes trackFill { to { transform: scaleX(1); } }

/* acendimento sequencial (dispara via .play no main.js) — só onde há linha */
@media (min-width: 1020px) {
  .steps.play .step:nth-child(1) .step-num { animation: nodeLit 0.45s ease-out forwards 0.15s; }
  .steps.play .step:nth-child(2) .step-num { animation: nodeLit 0.45s ease-out forwards 0.75s; }
  .steps.play .step:nth-child(3) .step-num { animation: nodeLit 0.45s ease-out forwards 1.35s; }
  .steps.play .step:nth-child(4) .step-num { animation: nodeLit 0.45s ease-out forwards 1.95s; }
  .steps.play .step:nth-child(1) { animation: cardLit 1.1s ease-in-out forwards 0.25s; }
  .steps.play .step:nth-child(2) { animation: cardLit 1.1s ease-in-out forwards 0.85s; }
  .steps.play .step:nth-child(3) { animation: cardLit 1.1s ease-in-out forwards 1.45s; }
  .steps.play .step:nth-child(4) { animation: cardLit 1.1s ease-in-out forwards 2.05s; }
}

/* sem linha conectora (empilhado): medalhão vira selo inline já aceso,
   alinhado à esquerda com o conteúdo — nada flutuando entre os cards */
@media (max-width: 1019px) {
  .step { padding-top: 24px; }
  .step-num {
    position: static;
    transform: none;
    display: inline-flex;
    width: 40px; height: 40px;
    font-size: 15px;
    margin-bottom: 14px;
    border-color: rgba(34, 211, 238, 0.55);
    color: var(--accent);
    background: #10222A;
    box-shadow: 0 0 14px rgba(34, 211, 238, 0.2);
  }
}

@keyframes nodeLit {
  0%   { border-color: rgba(255, 255, 255, 0.12); color: var(--text-muted); box-shadow: none; transform: translateX(-50%) scale(1); }
  55%  { transform: translateX(-50%) scale(1.16); }
  100% {
    border-color: var(--accent);
    color: var(--accent);
    background: #10222A;
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.35);
    transform: translateX(-50%) scale(1);
  }
}
/* o card acende quando a linha passa e DECAI: depois do percurso,
   só os medalhões seguem acesos — borda ciano volta a significar seleção */
@keyframes cardLit {
  0%   { border-color: rgba(255, 255, 255, 0.07); }
  40%  { border-color: rgba(34, 211, 238, 0.38); }
  100% { border-color: rgba(255, 255, 255, 0.07); }
}

@media (prefers-reduced-motion: reduce) {
  .steps::after { animation: none !important; transform: scaleX(1); }
  .step-num {
    border-color: var(--accent); color: var(--accent);
    background: #10222A; box-shadow: 0 0 18px rgba(34, 211, 238, 0.35);
  }
}

.services .overline { margin-bottom: 12px; }
.services .h2 { margin-bottom: 32px; }

/* cards de serviço: ícone 3D desfocado no fundo + seleção por clique */
.services .card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  cursor: pointer;
}

.services .card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    #1A1D23 30%,
    rgba(26, 29, 35, 0.72) 58%,
    rgba(26, 29, 35, 0.18) 82%,
    rgba(26, 29, 35, 0) 100%);
  z-index: 0;
  pointer-events: none;
}

.services .card h3,
.services .card p {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 10px rgba(11, 13, 17, 0.6);
}
.services .card p { color: var(--text-on-card); font-size: 15px; }

.service-ico {
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 175px; height: 175px;
  opacity: 0.38;
  filter: blur(1.8px) saturate(1.1);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.35s ease-out, filter 0.35s ease-out, transform 0.35s ease-out;
}

.services .card:hover .service-ico,
.services .card.selected .service-ico {
  opacity: 0.6;
  filter: blur(0.6px) saturate(1.15);
  transform: translateY(-50%) scale(1.05);
}

.services .card.selected {
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 0 32px rgba(34, 211, 238, 0.10);
}

@media (prefers-reduced-motion: reduce) {
  .services .card:hover .service-ico { transform: translateY(-50%); }
}

/* ---------- Benefícios ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
@media (min-width: 768px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }

.benefit {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-card);
  padding: 24px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 1px 2px rgba(0, 0, 0, 0.4);
  transition: border-color 200ms var(--ease-out), box-shadow 250ms var(--ease-out),
              transform 200ms var(--ease-out);
}
.benefit:hover { border-color: rgba(255, 255, 255, 0.14); }
.benefit:active { transform: scale(0.995); transition-duration: 80ms; }
.benefit h3 { margin-bottom: 6px; }
.benefit p { color: var(--text-on-card); font-size: 15px; }

.benefit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    #1A1D23 30%,
    rgba(26, 29, 35, 0.72) 58%,
    rgba(26, 29, 35, 0.18) 82%,
    rgba(26, 29, 35, 0) 100%);
  z-index: 0;
  pointer-events: none;
}
.benefit > div { position: relative; z-index: 1; }
.benefit h3, .benefit p { text-shadow: 0 1px 10px rgba(11, 13, 17, 0.6); }

.benefit-ico {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 132px; height: 132px;
  opacity: 0.38;
  filter: blur(1.8px) saturate(1.1);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.35s ease-out, filter 0.35s ease-out, transform 0.35s ease-out;
}
.benefit:hover .benefit-ico,
.benefit-featured:hover .benefit-ico,
.benefit.selected .benefit-ico,
.benefit-featured.selected .benefit-ico {
  opacity: 0.6;
  filter: blur(0.6px) saturate(1.15);
  transform: translateY(-50%) scale(1.05);
}

/* equalização de brilho: os PNGs grafite saem mais escuros que os ciano */
.benefit-ico[src*="equipe"], .benefit-ico[src*="seta"] {
  filter: blur(1.8px) saturate(1.2) brightness(1.28);
}
.benefit:hover .benefit-ico[src*="equipe"], .benefit:hover .benefit-ico[src*="seta"],
.benefit.selected .benefit-ico[src*="equipe"], .benefit.selected .benefit-ico[src*="seta"] {
  filter: blur(0.6px) saturate(1.25) brightness(1.28);
}

@media (max-width: 680px) {
  .service-ico, .benefit-ico { opacity: 0.5; }
}

.benefit.selected,
.benefit-featured.selected {
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 0 32px rgba(34, 211, 238, 0.10);
}

.benefit-featured {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 28px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.benefit-featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    #1A1D23 30%,
    rgba(26, 29, 35, 0.72) 58%,
    rgba(26, 29, 35, 0.18) 85%,
    rgba(26, 29, 35, 0) 100%);
  z-index: 0;
  pointer-events: none;
}
.benefit-featured > div { position: relative; z-index: 1; }
.benefit-featured h3, .benefit-featured p { text-shadow: 0 1px 10px rgba(11, 13, 17, 0.6); }
.benefit-featured h3 { margin-bottom: 6px; }

@media (prefers-reduced-motion: reduce) {
  .benefit:hover .benefit-ico,
  .benefit-featured:hover .benefit-ico { transform: translateY(-50%); }
}

/* ---------- Origem (história do fundador) ---------- */
.origin-text p { color: var(--text-secondary); font-size: 16px; margin-bottom: 20px; max-width: 62ch; }
.origin-text strong { color: var(--text-primary); }

.origin-story .origin-quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2vw + 14px, 28px);
  line-height: 1.3;
  color: var(--text-primary);
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  margin-bottom: 32px;
  text-indent: -0.45em; /* pendura a aspa de abertura: o S alinha com a borda */
}

.origin-sign {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}
.origin-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid rgba(34, 211, 238, 0.5);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.25);
}
.origin-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
}
.origin-sign .caption { color: var(--text-secondary); }

/* ---------- Prova social ---------- */
.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .proof-grid { grid-template-columns: 6fr 5fr; align-items: start; }
}

.proof-copy p { margin-top: 22px; color: var(--text-secondary); font-size: 18px; line-height: 1.65; }
.proof-copy strong { color: var(--text-primary); }

/* o overline aqui é um <p> dentro de .proof-copy: blindar contra a regra
   genérica acima pra ele ficar idêntico aos eyebrows das outras seções */
.proof-copy .overline { color: var(--accent); font-size: 12.5px; margin-top: 0; }

.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.6);
  animation: pulseDot 2.4s ease-in-out infinite; /* "NO AR" respira devagar */
}

.badge {
  display: inline-block;
  background: var(--accent-muted);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 8px;
  padding: 4px 10px;
}

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid rgba(255, 255, 255, 0.08); }

.faq-list details { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  transition: color 150ms ease-out;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent); }

.faq-list .chev { color: var(--text-secondary); stroke-width: 2.5; transition: transform 250ms var(--ease-out); }
.faq-list details[open] .chev { transform: rotate(180deg); color: var(--accent); }

.faq-list details p {
  padding: 0 4px 24px;
  color: var(--text-secondary);
  max-width: 68ch;
}

/* abertura/fechamento suave do accordion (Chrome/Edge animam;
   os demais caem no comportamento nativo sem quebrar nada) */
.faq-list details::details-content {
  opacity: 0;
  block-size: 0;
  overflow-y: clip;
  transition: content-visibility 280ms allow-discrete,
              opacity 280ms var(--ease-out),
              block-size 280ms var(--ease-out);
}
.faq-list details[open]::details-content {
  opacity: 1;
  block-size: auto;
}

/* entrada dos itens em cascata sutil (só os 5 primeiros escalonam) */
.faq-list.reveal details {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
}
.faq-list.reveal.in details { opacity: 1; transform: none; }
.faq-list.reveal.in details:nth-child(2) { transition-delay: 40ms; }
.faq-list.reveal.in details:nth-child(3) { transition-delay: 80ms; }
.faq-list.reveal.in details:nth-child(4) { transition-delay: 120ms; }
.faq-list.reveal.in details:nth-child(5) { transition-delay: 160ms; }

/* ---------- CTA final ---------- */
.final-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(rgba(245, 245, 245, 0.04) 1px, transparent 1px),
    radial-gradient(720px 480px at 50% 0%, rgba(34, 211, 238, 0.12), transparent 70%),
    var(--bg-subtle);
  background-size: 28px 28px, auto, auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
@media (min-width: 768px) {
  .final-cta { padding-block: 128px; }
}

/* assinatura visual: o elmo em escala gigante atrás do clímax,
   esmaecido em radial pra não ter aresta */
.final-cta::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 680px; height: 680px;
  transform: translate(-50%, -54%);
  background: url("../assets/logo-watermark.webp") center / contain no-repeat;
  opacity: 0.06;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 78%);
  mask-image: radial-gradient(closest-side, #000 30%, transparent 78%);
}

.final-bg { position: absolute; inset: 0; pointer-events: none; }

.center-col { text-align: center; position: relative; }
.center-col .body-lg { margin-top: 24px; max-width: 58ch; margin-inline: auto; }
.center-col .btn { margin-top: 40px; }
.center-col .micro { margin-inline: auto; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 48px;
  background: transparent;
}
@media (min-width: 768px) {
  .site-footer { padding-block: 64px; }
}

.footer-inner {
  display: grid;
  gap: 32px;
}

.footer-brand .caption { margin-top: 12px; max-width: 36ch; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a { color: var(--text-secondary); font-size: 14px; font-weight: 500; }
.footer-nav a:hover { color: var(--text-primary); }

.footer-legal { font-style: normal; display: grid; gap: 4px; }
.footer-legal .caption { color: var(--text-muted); line-height: 1.6; }
.footer-legal strong { color: var(--text-secondary); font-weight: 600; }

.footer-meta { display: grid; gap: 8px; }

@media (max-width: 680px) {
  .footer-legal .sep { display: none; }
  .footer-legal .nw-cnpj { display: block; margin-top: 2px; }
}

@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
  .footer-legal { grid-column: 1 / -1; border-top: 1px solid var(--border-subtle); padding-top: 24px; margin-top: 8px; }
  .footer-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: -12px; }
}

/* ---------- Botão flutuante WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform 200ms ease-out, background 200ms ease-out;
}
.wa-float:hover { transform: scale(1.07); background: var(--whatsapp-hover); color: #fff; }
.wa-float:active { transform: scale(0.92); transition-duration: 80ms; }
.wa-float .icon { width: 28px; height: 28px; }

/* o botão flutuante se apresenta depois do hero e cede a vez no CTA final */
.wa-float.wa-hidden {
  opacity: 0;
  transform: scale(0.5) translateY(12px);
  pointer-events: none;
}
.wa-float {
  transition: transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 250ms var(--ease-out), background 200ms var(--ease-out);
}

/* ---------- Notebook "Agente Cowork" (hero) ---------- */
.laptop {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  animation: laptopFloat 7s ease-in-out infinite;
  container-type: inline-size;
}
/* fora da viewport o loop pausa (o main.js aplica .paused) */
.laptop.paused,
.laptop.paused .hcw-bot,
.laptop.paused .pulse-dot,
.laptop.paused .hcw-caret { animation-play-state: paused; }
@keyframes laptopFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.laptop-screen {
  position: relative;
  background: #262523;
  border: 10px solid #1B1F27;
  border-bottom-width: 16px;
  border-radius: 18px 18px 4px 4px;
  aspect-ratio: 16 / 12;
  overflow: hidden;
  /* tudo dentro da tela é dimensionado em em, então escala junto com o notebook */
  font-size: 12px;
  font-size: clamp(8.5px, 2.7cqw, 12.6px);
  box-shadow:
    0 0 0 1px #2A2F38,
    0 0 0 9px rgba(255, 255, 255, 0.03),
    0 0 56px rgba(34, 211, 238, 0.12),
    0 30px 60px rgba(0, 0, 0, 0.5);
}

/* luz de horizonte sob o notebook: linha nítida + o halo que já existe */
.laptop::after {
  content: "";
  position: absolute;
  left: 8%; right: 8%;
  bottom: -18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.55), transparent);
  pointer-events: none;
}

.laptop-base {
  position: relative;
  width: 112%;
  margin-left: -6%;
  height: 15px;
  background: linear-gradient(#39404C, #1D2129);
  border-radius: 2px 2px 16px 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.laptop-base::before {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  width: 15%; height: 6px;
  background: #12151A;
  border-radius: 0 0 8px 8px;
}
.laptop-glow {
  position: absolute;
  left: 10%; right: 10%; bottom: -34px;
  height: 48px;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.22), transparent 75%);
  filter: blur(6px);
  pointer-events: none;
}

/* barra de janela (macOS) — usada no notebook e no navegador da vitrine */
.tl-dots { display: inline-flex; gap: 5px; }
.tl-dots i { width: 9px; height: 9px; border-radius: 50%; }
.tl-dots i:nth-child(1) { background: #FF5F57; }
.tl-dots i:nth-child(2) { background: #FEBC2E; }
.tl-dots i:nth-child(3) { background: #28C840; }
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulseDot 1.6s ease-in-out infinite; }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* tela do notebook no visual do Claude Cowork
   (medidas em em: escalam junto com a largura do notebook) */
.hcw-bar {
  display: flex; align-items: center; gap: 0.85em;
  height: 2.5em; padding: 0 1em;
  border-bottom: 1px solid #373633;
}
.laptop .tl-dots i { width: 0.75em; height: 0.75em; }
.hcw-beta {
  margin-left: auto;
  font-size: 0.87em; color: #8A877F;
  display: inline-flex; align-items: center; gap: 0.42em;
}

.hcw-body {
  height: calc(100% - 2.5em);
  padding: 0.85em 1.35em 0.7em;
  display: flex; flex-direction: column;
}

.hcw-greet {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.33em; color: #F5F0E8;
  text-align: center; margin: 0.15em 0 0.6em;
}
.hcw-star { color: #D97757; margin-right: 0.45em; }

.hcw-input {
  background: #30302E;
  border: 1px solid #3F3E3A;
  border-radius: 1.1em;
  padding: 0.75em 1em 0.65em;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  flex-shrink: 0;
}
.hcw-line { font-size: 1em; min-height: 1.35em; color: #EDEAE3; }
#hero-typed.ph { color: #8A877F; }
.hcw-caret {
  display: inline-block; width: 1px; height: 1.1em;
  background: #EDEAE3; margin-left: 2px; vertical-align: middle;
  animation: urlCursor 0.9s steps(1) infinite;
}
.hcw-row {
  display: flex; align-items: center; gap: 0.7em;
  margin-top: 0.75em; color: #B5B2AA; font-size: 0.92em;
}
.hcw-plus {
  width: 1.9em; height: 1.9em;
  border: 1px solid #4A4945; border-radius: 0.6em;
  display: flex; align-items: center; justify-content: center; font-size: 1.1em;
}
.hcw-seg { display: inline-flex; border: 1px solid #4A4945; border-radius: 0.8em; overflow: hidden; }
.hcw-seg i { font-style: normal; padding: 0.3em 1em; font-size: 0.95em; }
.hcw-seg i.sel { background: #3D3C39; color: #F5F0E8; border-left: 1px solid #4A4945; font-weight: 600; }
.hcw-model { margin-left: auto; font-weight: 600; color: #DAD7CF; font-size: 1em; }
.hcw-model em { font-style: normal; color: #8A877F; font-weight: 400; margin-left: 0.35em; }
.hcw-mic { width: 1.2em; height: 1.2em; stroke: #B5B2AA; stroke-width: 2; fill: none; stroke-linecap: round; }

/* saída de cena do ciclo do notebook: a lista se despede em fade
   antes do reset, em vez de desmontar num frame seco */
.hcw-body .hcw-tasks, .hcw-body .hcw-line { transition: opacity 380ms var(--ease-out); }
.hcw-body.hcw-out .hcw-tasks, .hcw-body.hcw-out .hcw-line { opacity: 0; }

.hcw-tasks { position: relative; margin-top: 0.75em; }
.hcw-tasks-label {
  font-size: 0.83em; color: #8A877F;
  letter-spacing: 0.05em; margin-bottom: 0.45em;
  opacity: 0; transition: opacity 0.3s ease-out;
}
.hcw-tasks-label.on { opacity: 1; }

.hcw-task {
  display: flex; align-items: center; gap: 0.75em;
  padding: 0.25em 2.5em 0.25em 0;
  font-size: 0.96em; color: #CFCCC4;
  opacity: 0; transform: translateY(4px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
.hcw-task.on { opacity: 1; transform: none; }
.hcw-task .ic {
  width: 1.82em; height: 1.82em; flex-shrink: 0;
  border-radius: 0.5em; background: #33322F; border: 1px solid #454440;
  display: flex; align-items: center; justify-content: center;
}
.hcw-task .ic .icon { width: 1.04em; height: 1.04em; color: #B5B2AA; }
.hcw-task .txt { flex: 1; }
.hcw-task .tick {
  color: #7EC9A0; font-size: 1.04em; font-weight: 700;
  opacity: 0; transform: scale(0.4);
  transition: opacity 0.25s ease-out, transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.hcw-task.done .tick { opacity: 1; transform: scale(1); }

/* o mascote anula a regra generica .hero-visual img (usada pela antiga logo) */
.hero-visual .laptop img {
  mix-blend-mode: normal;
  -webkit-mask-image: none;
  mask-image: none;
}
.hero-visual img.hcw-bot {
  position: absolute; right: -1em; top: 20px;
  width: 3.5em; max-width: none; height: auto;
  transition: top 0.5s cubic-bezier(0.5, 1.4, 0.5, 1);
  animation: botWork 0.7s ease-in-out infinite;
  filter: drop-shadow(0 4px 10px rgba(34, 211, 238, 0.28));
  z-index: 2;
  opacity: 0;
}
.hero-visual img.hcw-bot.on { opacity: 1; }
@keyframes botWork { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-3px); } }

@media (max-width: 959px) {
  .laptop { max-width: 480px; }
}

@media (prefers-reduced-motion: reduce) {
  .hcw-caret, .hero-visual img.hcw-bot { animation: none; }
}

/* ---------- Vitrine dos sistemas (seção Prova) ---------- */
/* moldura de "hardware" (padrão Raycast): aro claro interno,
   bezel externo quase invisível e sombra profunda deslocada */
.browser {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  background: #0B0D11;
  box-shadow:
    0 0 0 7px rgba(255, 255, 255, 0.03),
    0 32px 64px -16px rgba(0, 0, 0, 0.65),
    0 0 48px rgba(34, 211, 238, 0.08);
}
.browser-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: #13161C;
  border-bottom: 1px solid #232833;
}
.browser-url {
  flex: 1; display: flex; align-items: center; gap: 7px;
  background: #0F1218; border: 1px solid #232833; border-radius: 7px;
  padding: 5px 12px;
  font-size: 12px; color: var(--text-secondary);
  white-space: nowrap; overflow: hidden;
}
.browser-url .lock { color: var(--success); font-size: 10px; flex-shrink: 0; }
.browser-url .cursor {
  display: inline-block; width: 1px; height: 12px;
  background: var(--accent); margin-left: 1px;
  animation: urlCursor 0.9s steps(1) infinite;
}
@keyframes urlCursor { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.browser-view {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0D1014;
  overflow: hidden;
  touch-action: pan-y;
}
/* aro interno de 1px descola os prints escuros da moldura */
.browser-view::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
  z-index: 3;
}
.proof-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.8s ease;
}
.proof-slide.show { opacity: 1; }
img.proof-slide { filter: brightness(1.14) saturate(1.05); }

@media (max-width: 680px) {
  .browser-view { aspect-ratio: 16 / 12; }
  .browser-view img.proof-slide { transform: scale(1.35); }
  /* exceção: o print do CRM é tela cheia (kanban), não login com card
     central — o zoom centrado só mostrava as colunas vazias do meio.
     Sem zoom e ancorado à esquerda, aparece a sidebar de conversas
     e as colunas com cards (a parte reconhecível da tela) */
  .browser-view img.proof-slide[src*="sys-zap."] {
    transform: none;
    object-position: left center;
  }
}

/* slide do Claude Cowork (recriação da tela real) */
.proof-skill {
  background: #262523;
  padding: 14px 18px;
  display: flex; flex-direction: column;
  font-family: var(--font-body);
}
.cwk-greet {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15.5px; color: #F5F0E8;
  text-align: center; margin: 3px 0 11px;
}
.cwk-star { color: #D97757; margin-right: 7px; }
.cwk-input {
  background: #30302E;
  border: 1px solid #3F3E3A;
  border-radius: 14px;
  padding: 10px 12px 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.cwk-input-line { font-size: 12.5px; min-height: 17px; color: #EDEAE3; }
#cwk-typed.placeholder { color: #8A877F; }
.cwk-caret {
  display: inline-block; width: 1px; height: 13px;
  background: #EDEAE3; margin-left: 2px; vertical-align: middle;
  animation: urlCursor 0.9s steps(1) infinite;
}
.cwk-input-bar {
  display: flex; align-items: center; gap: 8px;
  margin-top: 9px; color: #B5B2AA; font-size: 11px;
}
.cwk-plus {
  width: 22px; height: 22px;
  border: 1px solid #4A4945; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}
.cwk-seg { display: inline-flex; border: 1px solid #4A4945; border-radius: 9px; overflow: hidden; }
.cwk-seg i { font-style: normal; padding: 4px 11px; font-size: 11px; }
.cwk-seg i.sel { background: #3D3C39; color: #F5F0E8; border-left: 1px solid #4A4945; font-weight: 600; }
.cwk-model { margin-left: auto; font-weight: 600; color: #DAD7CF; font-size: 11.5px; }
.cwk-model em { font-style: normal; color: #8A877F; font-weight: 400; margin-left: 4px; }
.cwk-mic { width: 14px; height: 14px; stroke: #B5B2AA; stroke-width: 2; fill: none; stroke-linecap: round; }
.cwk-tasks { margin-top: 11px; }
.cwk-tasks-label { font-size: 10.5px; color: #8A877F; margin-bottom: 4px; letter-spacing: 0.04em; }
.cwk-task {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: #CFCCC4;
  padding: 4px 0;
  opacity: 0; transform: translateY(4px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
.cwk-task.on { opacity: 1; transform: none; }
.cwk-ico {
  width: 24px; height: 24px; flex-shrink: 0;
  border-radius: 6px; background: #33322F; border: 1px solid #454440;
  display: flex; align-items: center; justify-content: center;
}
.cwk-ico .icon { width: 13px; height: 13px; color: #B5B2AA; }
.cwk-task b { color: #7EC9A0; margin-left: auto; font-size: 12px; }

/* versão mobile do slide do Cowork: tudo menor pra lista de tarefas caber inteira */
@media (max-width: 680px) {
  .proof-skill { padding: 10px 12px; }
  .cwk-greet { font-size: 13px; margin: 2px 0 8px; }
  .cwk-input { padding: 8px 10px 7px; border-radius: 10px; }
  .cwk-input-line { font-size: 10.5px; min-height: 14px; }
  .cwk-caret { height: 11px; }
  .cwk-input-bar { margin-top: 7px; font-size: 9.5px; gap: 6px; }
  .cwk-plus { width: 18px; height: 18px; font-size: 11px; border-radius: 6px; }
  .cwk-seg i { padding: 3px 8px; font-size: 9.5px; }
  .cwk-model { font-size: 10px; }
  .cwk-mic { width: 12px; height: 12px; }
  .cwk-tasks { margin-top: 8px; }
  .cwk-tasks-label { font-size: 9px; margin-bottom: 3px; }
  .cwk-task { font-size: 10.5px; padding: 3px 0; gap: 7px; }
  .cwk-ico { width: 19px; height: 19px; border-radius: 5px; }
  .cwk-ico .icon { width: 11px; height: 11px; }
  .cwk-task b { font-size: 10.5px; }
}

/* dots de navegação do carrossel (gerados pelo main.js) */
.proof-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.proof-dots .pdot {
  width: 8px; height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: var(--border-subtle);
  cursor: pointer;
  transition: background 200ms ease-out, width 200ms ease-out;
}
.proof-dots .pdot:hover { background: var(--text-muted); }
.proof-dots .pdot.on {
  width: 22px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.4);
}

.proof-caption {
  margin-top: 10px; text-align: center; min-height: 2.6em; color: var(--text-secondary);
  transition: opacity 220ms var(--ease-out);
}
.proof-caption.cap-out { opacity: 0; }
.proof-caption strong { color: var(--text-primary); }

@media (prefers-reduced-motion: reduce) {
  .browser-url .cursor, .cwk-caret { animation: none; }
}

/* ---------- Aviso de cookies (LGPD) ---------- */
.consent {
  position: fixed;
  left: 16px; right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 120;
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 16px 48px rgba(0, 0, 0, 0.55);
}
.consent[hidden] { display: none; }
.consent p { flex: 1 1 320px; margin: 0; color: var(--text-secondary); }
.consent p a { text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; gap: 10px; margin-left: auto; }
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: rgba(255, 255, 255, 0.14);
}
.btn-ghost:hover { color: var(--text-primary); border-color: rgba(255, 255, 255, 0.3); }
/* enquanto o aviso está aberto, o botão flutuante cede o canto */
body.consent-open .wa-float { opacity: 0; transform: scale(0.5); pointer-events: none; }
@media (max-width: 680px) {
  .consent { flex-direction: column; align-items: stretch; }
  .consent p { flex: 0 0 auto; } /* em coluna, a base de 320px viraria altura */
  .consent-actions { margin-left: 0; }
  .consent-actions .btn { flex: 1; }
}

/* ---------- Página de política de privacidade ---------- */
.legal-content h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 12px;
}
.legal-content p, .legal-content li { color: var(--text-secondary); margin-bottom: 12px; max-width: 68ch; }
.legal-content ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.legal-content li { margin-bottom: 6px; }
.legal-content strong { color: var(--text-primary); }
.legal-updated { color: var(--text-muted); font-size: 14px; margin-top: 48px; }

/* links utilitários do rodapé (política / preferências) */
.footer-meta a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; }
.footer-meta a:hover { color: var(--text-secondary); }

/* ---------- Animações de entrada ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 80ms; }
.reveal.d2 { transition-delay: 160ms; }
.reveal.d3 { transition-delay: 240ms; }

/* em coluna única o escalonamento não faz sentido e o fade longo
   parece conteúdo faltando — entrada mais curta e sem delay */
@media (max-width: 680px) {
  .reveal { transform: translateY(8px); transition-duration: 350ms; }
  .reveal.d1, .reveal.d2, .reveal.d3 { transition-delay: 0ms; }
}

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