/* Velar — landing comercial. Identidade v2 espelhada em CSS (sem runtime do app). */

:root {
  --bg: #070707;
  --bg-2: #0d0d0d;
  --surface: #121212;
  --surface-2: #181818;
  --border: #292929;
  --text: #ffffff;
  --text-2: #a7a7a7;
  --muted: #707070;
  --accent: #ff6a00;
  --accent-hover: #ff7a1a;
  --on-accent: #0a0a0a;
  --gold: #d6a84b;
  --gold-light: #f0c66b;
  --income: #35c76f;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 26px;

  --maxw: 1120px;
  --gutter: 16px;

  --font-display: 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --glow: 0 10px 34px rgba(255, 106, 0, 0.32);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.45);
}

* {
  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 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

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

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--on-accent);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  z-index: 100;
}
.skip:focus {
  left: 12px;
  top: 12px;
}

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.6rem, 1rem + 2.4vw, 2.4rem);
  font-weight: 600;
  line-height: 1.12;
  max-width: 18ch;
}

.section-lead {
  color: var(--text-2);
  font-size: 1.05rem;
  margin-top: 16px;
  max-width: 46ch;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 20px;
  border-radius: var(--r);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    box-shadow 0.2s ease,
    border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--glow);
}
.btn-primary:hover {
  background: var(--accent-hover);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--text-2);
}
.btn-lg {
  padding: 14px 26px;
  font-size: 1rem;
  border-radius: var(--r-lg);
}
.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 7, 7, 0.72);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.nav-links {
  display: none;
  gap: 26px;
  font-size: 0.92rem;
  color: var(--text-2);
}
.nav-links a:hover {
  color: var(--text);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-cta .btn-ghost {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 80px);
  background:
    radial-gradient(900px 440px at 78% -8%, rgba(255, 106, 0, 0.14), transparent 60%),
    radial-gradient(700px 420px at 8% 12%, rgba(214, 168, 75, 0.08), transparent 62%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.1rem, 1.1rem + 4.4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.04;
  margin-bottom: 18px;
}
.lead {
  color: var(--text-2);
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.18rem);
  max-width: 44ch;
  margin-bottom: 26px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}
.channels {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  color: var(--text-2);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Hero demo (mock fictício do produto) */
.hero-demo {
  position: relative;
  min-height: 320px;
}
.demo-panel {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  padding: 16px;
  max-width: 380px;
  margin-inline: auto;
}
.demo-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 4px 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.demo-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #3a3a3a;
}
.demo-label {
  margin-left: 8px;
  font-size: 0.78rem;
  color: var(--muted);
}
.chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: var(--r);
  font-size: 0.95rem;
  line-height: 1.4;
}
.bubble.user {
  align-self: flex-end;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-top-right-radius: 6px;
}
.bubble.ai {
  align-self: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top-left-radius: 6px;
  color: var(--text-2);
}
.bubble.sm {
  font-size: 0.88rem;
}
.card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.card.sm {
  padding: 12px 14px;
}
.card-value {
  border-left: 3px solid var(--gold);
}
.card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.card-amount {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.card-title {
  font-weight: 600;
  font-size: 1rem;
}
.card-meta {
  font-size: 0.82rem;
  color: var(--text-2);
}
.float {
  position: absolute;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-card);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 190px;
}
.float strong {
  font-weight: 600;
}
.float-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.float-meta {
  font-size: 0.8rem;
  color: var(--text-2);
}
.float-reminder {
  top: -6px;
  right: -8px;
}
.float-agenda {
  bottom: -10px;
  left: -10px;
}

/* ---------- Seções ---------- */
.section {
  padding: clamp(56px, 8vw, 104px) 0;
}
.section-alt {
  background: var(--bg-2);
  border-block: 1px solid var(--border);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 34px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 24px;
}
.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
}
.step h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.step p {
  color: var(--text-2);
}

/* Capability grid */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 34px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: #3a3a3a;
}
.feature-ic {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--accent);
  margin-bottom: 16px;
}
.feature h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature p {
  color: var(--text-2);
  font-size: 0.96rem;
}

/* Canais */
.channels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
.channel-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
  color: var(--text-2);
}
.channel-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tick {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--gold);
  flex: none;
  position: relative;
}
.tick::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  background: var(--gold);
}
.continuity {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.cont-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cont-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.cont-arrow {
  color: var(--accent);
  font-size: 1.4rem;
  flex: none;
}

/* Segurança */
.secure-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 34px;
}
.secure {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 22px;
}
.secure h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.secure p {
  color: var(--text-2);
}

/* Planos */
.pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 36px;
  max-width: 760px;
}
.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.plan-featured {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border-color: #3a3320;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}
.plan-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-accent);
  background: var(--gold);
  padding: 5px 10px;
  border-radius: 999px;
}
.plan-name {
  font-size: 1.1rem;
  font-weight: 600;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.02em;
}
.price.gold {
  color: var(--gold);
}
.per {
  color: var(--text-2);
  font-size: 0.92rem;
}
.plan-note,
.plan-total,
.plan-commit {
  color: var(--text-2);
  font-size: 0.95rem;
}
.plan-total strong {
  color: var(--text);
}
.plan-commit {
  font-size: 0.88rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 2px;
}
.plan .btn {
  margin-top: auto;
}

/* FAQ */
.faq {
  margin-top: 30px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  padding: 0 20px 20px;
  color: var(--text-2);
}

/* CTA final */
.cta-final {
  padding: clamp(60px, 9vw, 120px) 0;
  background:
    radial-gradient(640px 320px at 50% 0%, rgba(255, 106, 0, 0.16), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--border);
}
.cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.cta-inner h2 {
  font-size: clamp(1.7rem, 1rem + 3vw, 2.6rem);
  font-weight: 700;
}
.cta-inner p {
  color: var(--text-2);
  max-width: 42ch;
}
.cta-inner .btn {
  margin-top: 8px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 54px 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.footer-tag {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 12px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-2);
}
.footer-col a:hover {
  color: var(--text);
}
.footer-h {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Páginas legais ---------- */
.legal {
  padding: clamp(40px, 6vw, 80px) 0 80px;
}
.legal .container {
  max-width: 760px;
}
.legal h1 {
  font-size: clamp(1.8rem, 1rem + 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 8px;
}
.legal .updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}
.legal h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 34px 0 10px;
}
.legal p,
.legal li {
  color: var(--text-2);
  line-height: 1.7;
}
.legal ul {
  padding-left: 20px;
  display: grid;
  gap: 6px;
}
.legal a {
  color: var(--gold);
}
.back-link {
  display: inline-block;
  margin-top: 40px;
  color: var(--text-2);
}
.back-link:hover {
  color: var(--text);
}

/* ---------- Responsivo ---------- */
@media (min-width: 720px) {
  .steps,
  .secure-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing {
    grid-template-columns: repeat(2, 1fr);
    margin-inline: auto;
  }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

/* Cards flutuantes do hero só no desktop (no mobile/tablet sobrepõem o painel). */
@media (max-width: 899px) {
  .float {
    display: none;
  }
  .hero-demo {
    min-height: 0;
  }
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
  .nav-cta .btn-ghost {
    display: inline-flex;
  }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .channels-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Acessibilidade de movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .feature {
    transition: none;
  }
}
