/* ===== Argos — Clean Tech v4 ===== */

:root {
  --white: #FFFFFF;
  --bg: #FAFAFA;
  --bg-soft: #F5F5F7;
  --border: #E8E8ED;
  --border-light: #F0F0F3;

  /* Texto. --text-3 e --text-4 passam WCAG AA (4,5:1) sobre --white,
     --bg, --bg-soft e --violet-bg. Para ícones, bordas e trilhos que não são
     texto, use --line-strong (3:1 sobre branco). */
  --text: #1D1D1F;
  --text-2: #494952;
  --text-3: #5E5E65;
  --text-4: #6C6C71;
  --line-strong: #8E8E93;

  --violet: #7C3AED;
  --violet-hover: #6D28D9;
  --violet-bg: #F3EFFE;
  --violet-wash: #F6F2FF;   /* fundo em degradê de blocos de destaque */
  --violet-muted: #C9BCF5;  /* barra de referência, traço "já visto" */
  --violet-border: rgba(124,58,237,0.12);

  --green: #34C759;         /* só preenchimento (ícones, marcas) */
  --green-bg: #E8FAF0;
  --green-text: #15803D;    /* texto verde: 4,6:1 sobre --green-bg */

  --yellow: #F5A623;
  --yellow-bg: #FFF6E5;
  --yellow-text: #9A5B00;

  --red: #D70015;           /* texto de erro: 5,4:1 sobre branco */
  --amber: #FF9F0A;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.03);
  --shadow-lg: 0 8px 28px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.03);
  --shadow-card: 0 2px 20px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.03);

  --font-display: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;

  /* Raios (DESIGN-SYSTEM.md): a home usa só estes quatro + 50% para círculos. */
  --radius-round: 999px;
  --lm-controls-bg: rgba(255,255,255,0.7);   /* botões, selos, chips, pílulas, pontos */
  --radius-medium: 12px;   /* campos, itens pequenos, ícones quadrados */
  --radius-large: 20px;    /* cards, painéis, modal, carrossel, faixa final */

  /* Aliases antigos: ainda usados por /investidor e pelo blog. */
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 20px;

  /* Larguras padrão de conteúdo: toda seção usa uma destas quatro. */
  --w-s: 640px;   /* texto corrido, FAQ */
  --w-m: 800px;   /* hero, cards de destaque */
  --w-l: 960px;   /* componentes largos: carrossel, demo, vídeo, atendimento */
  --w-xl: 1120px; /* faixa de chamada final */

  /* Espaço vertical padrão das seções */
  --sec-y: 96px;
  --sec-y-sm: 64px;

  /* Movimento. Uma curva para entrar/responder, uma para o que se move na
     tela e uma de gaveta. Durações: UI abaixo de 300ms; só explicação e
     entrada de seção passam disso. */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-press: 160ms;   /* :active */
  --dur-color: 150ms;   /* cor, borda, sombra no hover */
  --dur-ui: 200ms;      /* estado de componente */
  --dur-modal: 240ms;   /* entrada do modal */
  --dur-exit: 150ms;    /* saída: sempre mais curta que a entrada */
  --dur-reveal: 500ms;  /* entrada de seção, 1× por visita */
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 64px; }

body {
  background: var(--white);
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ===== Typography ===== */

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--text);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 640px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text);
  max-width: 560px;
}

h3 { font-size: 16px; font-weight: 600; line-height: 1.4; }

.overline {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: var(--sp-3);
}

.section-sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-3);
  max-width: 480px;
  margin-top: var(--sp-3);
}

/* ===== Sections ===== */

.section { padding: var(--sp-24) 0; }

.section-soft { background: var(--bg-soft); }

.section-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--sp-16);
}

.section-center .section-sub { margin-left: auto; margin-right: auto; }

/* ===== Nav ===== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-ui) ease, box-shadow var(--dur-ui) ease;
}

.nav.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.03);
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo { display: flex; align-items: center; gap: var(--sp-2); }

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: var(--violet);
  border-radius: 8px;
  flex-shrink: 0;
}

.logo-mark img {
  width: 20px;
  height: 20px;
}

.logo-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
}

.nav-links a { transition: color var(--dur-color) ease; }

.nav-cta { white-space: nowrap; }

.nav-toggle { display: none; color: var(--text); padding: var(--sp-2); }
.nav-toggle .icon-close { display: none; }
.nav-toggle.is-open .icon-menu { display: none; }
.nav-toggle.is-open .icon-close { display: block; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-4) 24px var(--sp-6);
  border-top: 1px solid var(--border);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
}

.mobile-menu.is-open { display: flex; }
.mobile-menu .btn-primary { align-self: flex-start; margin-top: var(--sp-2); }

/* ===== Buttons ===== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  background: var(--violet);
  color: white;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 24px;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(124,58,237,0.2);
  transition: background-color var(--dur-color) ease,
              box-shadow var(--dur-color) ease,
              opacity var(--dur-color) ease,
              transform var(--dur-press) var(--ease-out);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

/* Press: responde no aperto (também no toque). */
.btn-primary:active, .btn-outline:active { transform: scale(0.97); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 8px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--text-2);
  font-weight: 500;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: color var(--dur-color) ease,
              background-color var(--dur-color) ease,
              border-color var(--dur-color) ease,
              transform var(--dur-press) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}

/* ===== Hero ===== */

.hero {
  padding: var(--sp-20) 0 var(--sp-16);
}

.hero-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--sp-16);
}

/* Entrada do hero: o título e o subtítulo aparecem na hora (são o que a
   pessoa vai ler primeiro e o maior elemento da tela). Só o que vem depois
   entra, com um deslocamento curto. */
.hero-title { margin-bottom: var(--sp-5); }

.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-3);
  max-width: 520px;
  margin-bottom: var(--sp-10);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
  animation: fade-up var(--dur-reveal) 60ms var(--ease-out) both;
}

.hero-support {
  font-size: 13px;
  color: var(--text-4);
  margin-top: var(--sp-3);
  animation: fade-up var(--dur-reveal) 120ms var(--ease-out) both;
}

.btn-lg { padding: 14px 32px; font-size: 15px; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Live analysis card ===== */

.live-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  animation: fade-up var(--dur-reveal) 180ms var(--ease-out) both;
}

.live-card-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 10px var(--sp-5);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.live-card-dots { display: flex; gap: 5px; }
.live-card-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
  opacity: 0.35;
}

.live-card-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-4);
  flex: 1;
  letter-spacing: 0.02em;
}

.live-card-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green-text);
}

.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.live-card-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  padding: var(--sp-6);
}

.live-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--violet);
  background: var(--violet-bg);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: var(--sp-3);
}

.live-property-name {
  font-size: 18px;
  margin-bottom: 2px;
}

.live-property-meta {
  font-size: 13px;
  color: var(--text-3);
}

.live-prices {
  display: flex;
  gap: var(--sp-8);
  margin-top: var(--sp-5);
}

.live-price-label {
  display: block;
  font-size: 11px;
  color: var(--text-4);
  margin-bottom: 2px;
}

.live-price {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

.live-price-muted {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-4);
  text-decoration: line-through;
}

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

.live-step {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 13px;
  color: var(--text-4);
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  opacity: 0.4;
  transition: opacity 300ms ease, color 300ms ease,
              background-color 300ms ease, border-color 300ms ease;
}

.live-step.is-done {
  opacity: 1;
  color: var(--text-2);
  border-color: rgba(52,199,89,0.2);
  background: var(--green-bg);
}

.live-step-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-4);
  flex-shrink: 0;
  transition: background-color 300ms ease, color 300ms ease;
}

.live-step.is-done .live-step-check {
  background: var(--green);
  color: white;
}

.live-step-time {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.live-step.is-done .live-step-time { opacity: 0.7; }

.live-result {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  padding: var(--sp-5) var(--sp-6);
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
}

.live-result.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.live-metrics { display: flex; gap: var(--sp-6); flex: 1; }

.live-metric { display: flex; flex-direction: column; gap: 1px; }

.live-metric-val {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.live-positive { color: var(--green-text); }

.live-metric-lbl {
  font-size: 11px;
  color: var(--text-4);
}

.live-metric-highlight {
  padding: 5px 12px;
  background: var(--violet-bg);
  border-radius: 8px;
}

.live-metric-highlight .live-metric-val { color: var(--violet); }

.live-verdict {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 13px;
  font-weight: 600;
  color: var(--green-text);
  margin-left: auto;
  white-space: nowrap;
}

/* ===== Numbers ===== */

.numbers {
  padding: var(--sp-16) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  text-align: center;
}

.number-val {
  display: block;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.number-lbl {
  display: block;
  font-size: 13px;
  color: var(--text-3);
  margin-top: var(--sp-1);
}

/* ===== Steps ===== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.step-card {
  padding: var(--sp-8) var(--sp-6);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur-reveal) var(--ease-out),
              transform var(--dur-reveal) var(--ease-out),
              border-color var(--dur-ui) ease, box-shadow var(--dur-ui) ease;
}

.step-card.is-visible { opacity: 1; transform: translateY(0); }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--violet);
  background: var(--violet-bg);
  border-radius: 10px;
  margin-bottom: var(--sp-5);
}

.step-card h3 { margin-bottom: var(--sp-2); }
.step-card p { font-size: 14px; color: var(--text-3); line-height: 1.6; }

/* ===== Video ===== */

.video-wrap { max-width: 860px; margin: 0 auto; }

.video-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(145deg, #1A1128 0%, #231540 50%, #1A1128 100%);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-lines {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14% 12%;
  opacity: 0.1;
}

.video-lines span { display: block; height: 10px; border-radius: 4px; background: white; }
.video-lines span:nth-child(1) { width: 55%; }
.video-lines span:nth-child(2) { width: 80%; }
.video-lines span:nth-child(3) { width: 35%; }

.play-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  background: var(--violet);
  color: white;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(124,58,237,0.18);
  transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-color) ease;
}

.video-placeholder:active .play-btn { transform: scale(0.96); }

.video-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-4);
  margin-top: var(--sp-4);
}

/* ===== Compare ===== */

.compare { max-width: 680px; margin: 0 auto; }

.compare-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--sp-4);
  padding: 0 var(--sp-4) var(--sp-4);
  border-bottom: 1px solid var(--border);
}

.compare-lbl {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-4);
  text-align: center;
}

.compare-lbl-accent { color: var(--violet); }

.compare-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--sp-4);
  padding: var(--sp-4);
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
}

.compare-row:last-child { border-bottom: none; }
.compare-row.is-visible { opacity: 1; transform: translateY(0); }

.compare-item { font-size: 14px; font-weight: 600; color: var(--text); }

.compare-old { font-size: 13px; color: var(--text-4); text-align: center; }

.compare-new {
  font-size: 13px;
  font-weight: 600;
  color: var(--violet);
  text-align: center;
}

/* ===== Pain cards ===== */

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

.pain-card {
  padding: var(--sp-6);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color var(--dur-ui) ease, box-shadow var(--dur-ui) ease;
}

.pain-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: #FEF2F2;
  border-radius: 10px;
  margin-bottom: var(--sp-4);
}

.pain-ico svg { color: #DC2626; }

.pain-card h3 { font-size: 15px; margin-bottom: var(--sp-2); }
.pain-card p { font-size: 13px; color: var(--text-3); line-height: 1.6; }

.pain-transition {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--violet);
  margin-top: var(--sp-12);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
}

.pain-transition.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Pillar cards ===== */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}

.pillar-card {
  position: relative;
  padding: var(--sp-6);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color var(--dur-ui) ease, box-shadow var(--dur-ui) ease;
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--violet);
  background: var(--violet-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  margin-bottom: var(--sp-3);
}

.pillar-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--violet-bg);
  border-radius: 12px;
  margin-bottom: var(--sp-4);
}

.pillar-ico svg { color: var(--violet); }

.pillar-card h3 { font-size: 16px; margin-bottom: var(--sp-1); }

.pillar-desc {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
  margin-bottom: var(--sp-4);
}

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

.pillar-list li {
  font-size: 13px;
  color: var(--text-2);
  padding-left: 16px;
  position: relative;
}

.pillar-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--violet);
  opacity: 0.5;
}

.pillar-result {
  max-width: 600px;
  margin: var(--sp-12) auto 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
}

.pillar-result.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Steps CTA ===== */

.steps-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: var(--sp-12);
  gap: var(--sp-3);
}

.cta-support {
  font-size: 13px;
  color: var(--text-4);
}

/* ===== Credibility ===== */

.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.cred-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--sp-8) var(--sp-6);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

.cred-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--violet-bg);
  border-radius: 50%;
  margin-bottom: var(--sp-4);
}

.cred-ico svg { color: var(--violet); }

.cred-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
}

/* ===== FAQ ===== */

.faq-list {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

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

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; border-radius: 4px; }

.faq-chevron {
  color: var(--line-strong);
  flex-shrink: 0;
  transition: transform var(--dur-ui) var(--ease-in-out), color var(--dur-color) ease;
}

.faq-item[open] .faq-chevron { transform: rotate(180deg); color: var(--violet); }

.faq-answer {
  padding-bottom: var(--sp-5);
}

/* A resposta chega de leve ao abrir (fechar é instantâneo). */
.faq-item[open] .faq-answer { animation: faq-in var(--dur-ui) var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } }

.faq-answer p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-3);
}

/* ===== Signup FAB ===== */

.signup-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--violet);
  color: white;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(124,58,237,0.3);
  -webkit-tap-highlight-color: transparent;
  /* Sai para baixo, rápido (saída mais curta que a entrada) */
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity var(--dur-exit) var(--ease-out),
              transform var(--dur-exit) var(--ease-out),
              box-shadow var(--dur-color) ease;
}

/* Entra pela mesma borda por onde sai */
.signup-fab.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity var(--dur-ui) var(--ease-out),
              transform 300ms var(--ease-drawer),
              box-shadow var(--dur-color) ease;
}

.signup-fab.is-visible:active { transform: scale(0.97); transition-duration: var(--dur-press); }

/* ===== CTA box ===== */

.cta-box {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--sp-16) var(--sp-6);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
}

.cta-box .section-title { max-width: 440px; }
.cta-box .section-sub { margin-bottom: var(--sp-8); }

/* ===== Modal ===== */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 24px;
  /* Fechando: curto. A visibilidade só vira "hidden" no fim do fade. */
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-exit) var(--ease-out),
              visibility 0s linear var(--dur-exit);
}

/* Abrindo: um pouco mais longo, ease-out forte */
.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--dur-modal) var(--ease-out), visibility 0s;
}

.modal-box {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: var(--sp-8);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  /* Modal fica centrado: escala a partir do centro, nunca de 0 */
  transform-origin: center;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity var(--dur-exit) var(--ease-out),
              transform var(--dur-exit) var(--ease-out);
}

.modal-overlay.is-open .modal-box {
  opacity: 1;
  transform: scale(1);
  transition: opacity var(--dur-modal) var(--ease-out),
              transform var(--dur-modal) var(--ease-out);
}

.modal-close {
  position: absolute;
  top: var(--sp-3); right: var(--sp-3);
  z-index: 1; /* acima do conteúdo animado (a confirmação cria camada própria) */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  color: var(--text-3);
  border-radius: 10px;
  transition: color var(--dur-color) ease, background-color var(--dur-color) ease;
}

.modal-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--violet-bg);
  border-radius: var(--r);
  margin-bottom: var(--sp-4);
  color: var(--violet);
}

.modal-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: var(--sp-2);
}

.modal-desc {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.5;
  margin-bottom: var(--sp-6);
}

.modal-form { display: flex; flex-direction: column; gap: var(--sp-4); }

.field { display: flex; flex-direction: column; gap: 3px; }

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

.field input {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  width: 100%;
  transition: border-color var(--dur-color) ease, box-shadow var(--dur-color) ease;
}

.field input::placeholder { color: var(--text-4); opacity: 0.8; }
.field input:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.14);
}

.modal-submit {
  margin-top: var(--sp-2);
  width: 100%;
  padding: 13px 24px;
  font-size: 14px;
}

.hp {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-err {
  margin-top: var(--sp-1);
  font-size: 13px;
  color: var(--red);
  text-align: center;
}

.modal-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
  font-size: 12px;
  color: var(--text-4);
}

.modal-ok { text-align: center; padding: var(--sp-6) 0; }

.ok-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  background: var(--green-bg);
  color: var(--green-text);
  border-radius: 50%;
  margin-bottom: var(--sp-4);
}

/* Confirmação (momento raro, 1× por visita): o bloco entra, o círculo
   cresce de leve e o check se desenha. Uma vez, sem quicar.
   O traço do check mede ~23 unidades no viewBox 24. */
.modal-ok:not([hidden]) { animation: ok-in 260ms var(--ease-out) both; }
.modal-ok:not([hidden]) .ok-ico { animation: ok-pop 320ms 60ms var(--ease-out) both; }
.modal-ok:not([hidden]) .ok-ico path {
  stroke-dasharray: 24;
  animation: ok-draw 340ms 180ms var(--ease-out) both;
}
@keyframes ok-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes ok-pop { from { opacity: 0; transform: scale(0.9); } }
@keyframes ok-draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }

.modal-ok h3 {
  font-size: 18px; font-weight: 700;
  margin-bottom: var(--sp-2);
}

.modal-ok p {
  font-size: 14px; color: var(--text-3);
  max-width: 300px; margin: 0 auto; line-height: 1.5;
}

/* ===== Scroll reveal ===== */

/* Uma vez por seção. Só esconde quando o JS carregou (classe .js no <html>),
   para a página nunca ficar em branco sem JS. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur-reveal) var(--ease-out),
              transform var(--dur-reveal) var(--ease-out);
}

.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ===== Footer ===== */

.footer {
  padding: var(--sp-12) 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  text-align: center;
}

.footer-sub { font-size: 13px; color: var(--text-3); margin-top: var(--sp-2); }
.footer-links { display: flex; gap: var(--sp-4); margin-top: var(--sp-2); }
.footer-links a { font-size: 13px; color: var(--text-3); transition: color var(--dur-color) ease; }
.footer-copy { font-size: 12px; color: var(--text-4); }

/* ===== Responsive ===== */

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }

  .steps-grid, .cred-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }

  .live-card-body { grid-template-columns: 1fr; }

  .live-result {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-4);
  }

  .live-metrics { flex-wrap: wrap; gap: var(--sp-4); }
  .live-verdict { margin-left: 0; white-space: normal; }

  .compare-head, .compare-row {
    grid-template-columns: 1fr;
    gap: 3px;
    text-align: left;
  }
  .compare-lbl, .compare-old, .compare-new { text-align: left; }
  .compare-head span:first-child { display: none; }
  .compare-new { display: inline-block; width: fit-content; }
}

@media (max-width: 560px) {
  .modal-box { padding: var(--sp-6); }
  .numbers-grid { gap: var(--sp-4); }
  .live-prices { flex-direction: column; gap: var(--sp-3); }
  .cta-box { padding: var(--sp-12) var(--sp-4); border-radius: var(--r-lg); }
  .pillars-grid { grid-template-columns: 1fr; }
}

/* Leitura e toque em telas estreitas, compartilhados com as páginas públicas. */
.modal-box { max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; }

@media (max-width: 880px) {
  .nav .nav-cta { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
  .mobile-menu { gap: 0; max-height: calc(100dvh - 61px); overflow-y: auto; overscroll-behavior: contain; }
  .mobile-menu > a { display: flex; align-items: center; min-height: 48px; padding-block: 10px; }
  .mobile-menu > button { width: 100%; min-height: 48px; }
}

@media (max-width: 640px) {
  .container { padding-inline: 16px; }
  .hero { padding-top: 40px; padding-bottom: 48px; }
  .hero-content { align-items: stretch; text-align: left; margin-bottom: 32px; }
  .hero-title { font-size: clamp(30px, 8.4vw, 34px); text-wrap: balance; }
  .hero-sub { font-size: 17px; line-height: 1.6; }
  .hero-cta-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-cta-row > * { width: 100%; justify-content: center; }
  .hero-support { line-height: 1.6; }
  .section { padding-block: 64px; }
  .section-center { text-align: left; align-items: flex-start; margin-bottom: 32px; }
  .section-center .section-sub { margin-inline: 0; }
  .section-title { text-wrap: balance; }
  .section-sub { color: var(--text-2); }
  .numbers { padding-block: 32px; }
  .numbers-grid { gap: 24px 16px; text-align: left; }
  .number-lbl { line-height: 1.5; }
  .live-card-bar { flex-wrap: wrap; gap: 8px; padding: 16px; }
  .live-card-status { margin-left: 0; }
  .live-card-body { padding: 20px; gap: 24px; }
  .live-step { gap: 8px; font-size: 14px; }
  .live-step-check, .live-step-time { flex-shrink: 0; }
  .live-result { padding: 20px; }
  .live-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 16px; }
  .live-metric-highlight { grid-column: 1 / -1; }
  .pain-grid, .pillars-grid, .steps-grid, .cred-grid { gap: 16px; }
  .pain-card, .pillar-card, .step-card, .cred-card { padding: 20px; }
  .pain-card h3, .pillar-card h3, .step-card h3 { font-size: 18px; line-height: 1.4; }
  .pillar-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .pillar-ico { grid-column: 1; grid-row: 1; }
  .pillar-num { grid-column: 2; grid-row: 1; }
  .pillar-card h3, .pillar-desc, .pillar-list { grid-column: 1 / -1; }
  .pain-card p, .pillar-desc, .pillar-list li, .step-card p, .cred-card p { font-size: 15px; line-height: 1.6; }
  .step-num { margin-bottom: 16px; }
  .cred-card { align-items: flex-start; text-align: left; }
  .steps-cta > button, .cta-box > button { width: 100%; }
  .compare-head { display: none; }
  .compare-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 20px 0; align-items: start; }
  .compare-item { grid-column: 1 / -1; font-size: 16px; }
  .compare-old, .compare-new { font-size: 14px; line-height: 1.6; }
  .compare-old::before, .compare-new::before { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
  .compare-old::before { content: 'Método tradicional'; }
  .compare-new::before { content: 'Com o Argos'; }
  .faq-question { gap: 16px; align-items: flex-start; line-height: 1.5; }
  .faq-answer p { font-size: 16px; }
  .cta-box { padding: 24px 20px; align-items: stretch; text-align: left; }
  .footer { padding-block: 32px calc(32px + env(safe-area-inset-bottom)); }
  .footer-inner { align-items: flex-start; text-align: left; gap: 16px; }
  .footer-links { flex-wrap: wrap; gap: 8px 20px; }
  .footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
  .footer-copy { font-size: 13px; }
  .modal-overlay { padding: 16px; padding-top: max(16px, env(safe-area-inset-top)); padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  .modal-box { max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); padding: 24px 20px; }
  .modal-body h3 { padding-right: 32px; }
  .modal-form input:not(.hp), .modal-form textarea { font-size: 16px; min-height: 48px; }
  .modal-form button[type='submit'] { min-height: 48px; }
  .signup-fab { bottom: calc(16px + env(safe-area-inset-bottom)); right: 16px; }
  .signup-fab.is-content-action { opacity: 0; pointer-events: none; }
}

/* ===== Hover: só onde existe mouse =====
   No toque, o hover dispara no tap e fica "preso". */

@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { color: var(--text); }
  .btn-primary:hover:not(:disabled) {
    background: var(--violet-hover);
    box-shadow: 0 3px 12px rgba(124,58,237,0.25);
  }
  .btn-outline:hover {
    border-color: var(--violet-border);
    color: var(--violet);
    background: var(--violet-bg);
  }
  .step-card:hover, .pain-card:hover, .pillar-card:hover {
    border-color: var(--violet-border);
    box-shadow: var(--shadow-md);
  }
  .video-placeholder:hover .play-btn { background: var(--violet-hover); transform: scale(1.04); }
  .video-placeholder:hover:active .play-btn { transform: scale(0.96); }
  .signup-fab:hover { box-shadow: 0 6px 20px rgba(124,58,237,0.4); }
  .modal-close:hover { color: var(--text); background: var(--bg-soft); }
  .footer-links a:hover { color: var(--violet); }
}

/* ===== A11y ===== */

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
}

/* Movimento reduzido: menos e mais suave, não zero.
   Sai todo deslocamento, escala e crescimento; ficam as trocas curtas de
   cor e opacidade que ajudam a entender o estado (foco, modal, confirmação). */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  /* Entradas por keyframe viram só fade (mesmo nome, sem transform) */
  @keyframes fade-up { from { opacity: 0; } to { opacity: 1; } }
  @keyframes faq-in { from { opacity: 0; } }
  @keyframes ok-in { from { opacity: 0; } }
  @keyframes ok-pop { from { opacity: 0; } }
  .hero-cta-row, .hero-support, .live-card { animation-duration: 200ms; animation-delay: 0s; }
  .modal-ok:not([hidden]) .ok-ico path { animation: none; stroke-dasharray: none; }

  /* Reveal e listas: aparecem com fade curto, sem subir */
  .js [data-reveal], .step-card, .compare-row, .pain-transition, .pillar-result, .live-result {
    transform: none !important;
    transition: opacity 200ms ease !important;
  }

  /* Indicador piscando em loop: fica aceso */
  .live-dot { animation: none; }

  /* Press, hover e modal sem escala */
  .btn-primary:active, .btn-outline:active, .signup-fab.is-visible:active,
  .video-placeholder:hover .play-btn, .video-placeholder:active .play-btn { transform: none; }
  .modal-box, .modal-overlay.is-open .modal-box { transform: none; }
  .signup-fab { transform: none; }
}
