:root {
  --bg: #0a0a0f;
  --surface: #12121a;
  --border: #26262f;
  --text: #f4f4f6;
  --text-secondary: #8b8b96;
  --indigo: #6366F1;
  --indigo-hover: #4f46e5;
  --indigo-soft: rgba(99, 102, 241, 0.14);
  --coral: #FF6B4A;
  --coral-hover: #ff8266;
  --green: #22C55E;
  --green-soft: rgba(34, 197, 94, 0.14);
  --radius: 14px;
  --radius-sm: 8px;
  --container-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: var(--indigo);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Focus visibility (acessibilidade) ---- */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Botões ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px 22px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.btn-primary {
  background: var(--indigo);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--indigo-hover);
}
.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #3a3a46;
}
.btn-sm {
  padding: 9px 16px;
  font-size: 14px;
}
.btn-lg {
  padding: 16px 30px;
  font-size: 16px;
  font-weight: 600;
}
.btn-block {
  width: 100%;
}

/* ---- Eyebrow / labels técnicos ---- */
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--indigo);
  margin: 0 0 12px;
}

/* ---- Topbar ---- */
.topbar {
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.link-quiet {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 150ms ease;
}
.link-quiet:hover {
  color: var(--text);
}
.logo {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--text);
}

/* ---- Hero ---- */
.hero {
  padding: 72px 0 96px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
.hero-copy h1 {
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
}
.hero-subheadline {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-support-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-secondary);
}
.icon-check {
  color: var(--green);
  flex-shrink: 0;
}

/* ---- Hero visual: mockup de celular ---- */
.hero-visual {
  display: flex;
  justify-content: center;
}
.phone-mockup {
  width: 300px;
  max-width: 100%;
  background: #050508;
  border: 1px solid var(--border);
  border-radius: 36px;
  padding: 14px 12px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.02), 0 30px 60px -20px rgba(0,0,0,0.6);
}
.phone-notch {
  width: 90px;
  height: 18px;
  background: #050508;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 14px 14px;
  margin: 0 auto -1px;
  position: relative;
  z-index: 2;
}
.phone-screen {
  background: var(--surface);
  border-radius: 24px;
  overflow: hidden;
  height: 460px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  flex-shrink: 0;
}
.chat-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--indigo);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.chat-header-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.chat-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.chat-status {
  font-size: 11.5px;
  color: var(--green);
}
.chat-body {
  flex-grow: 1;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}

.chat-bubble {
  align-self: flex-start;
  max-width: 82%;
  background: #1c1c26;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 4px 14px 14px 14px;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(6px);
  animation: bubble-in 320ms ease forwards;
}
.chat-bubble.chat-bubble-cta {
  background: transparent;
  border: none;
  padding: 2px 0;
  max-width: 100%;
}
.chat-bubble-cta button {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: var(--coral);
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: default;
}

@keyframes bubble-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.typing-indicator {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 4px;
  background: #1c1c26;
  border: 1px solid var(--border);
  padding: 12px 14px;
  border-radius: 4px 14px 14px 14px;
  opacity: 0;
  animation: bubble-in 200ms ease forwards;
}
.typing-indicator span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-secondary);
  animation: typing-bounce 1.1s infinite ease-in-out;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.15s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* ---- Como funciona ---- */
.how-it-works {
  padding: 88px 0;
  border-top: 1px solid var(--border);
}
.how-it-works h2 {
  font-size: 30px;
  max-width: 560px;
  margin-bottom: 52px;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.step {
  padding-left: 0;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--indigo-soft);
  color: var(--indigo);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 18px;
}
.step h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.step p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  max-width: 340px;
}

/* ---- Planos ---- */
.plans {
  padding: 88px 0;
  border-top: 1px solid var(--border);
}
.plans h2 {
  font-size: 30px;
  max-width: 560px;
  margin-bottom: 48px;
}
.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.plan-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.plan-card.plan-popular {
  border: 2px solid var(--indigo);
  box-shadow: 0 0 0 5px var(--indigo-soft);
}
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--indigo);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-name {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.plan-price {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 38px;
  color: var(--text);
  margin-bottom: 6px;
}
.price-currency {
  font-size: 18px;
  vertical-align: top;
  margin-right: 2px;
}
.price-period {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
}
.plan-tagline {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
}
.plan-features {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  flex-grow: 1;
}
.plan-features li {
  position: relative;
  padding: 9px 0 9px 26px;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
  color: var(--text);
}
.plan-features li:last-child {
  border-bottom: none;
}
.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green-soft);
}
.plan-features li::after {
  content: "";
  position: absolute;
  left: 3.5px;
  top: 18px;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}
.plans-note {
  text-align: center;
  color: var(--text-secondary);
  font-size: 13.5px;
  margin-top: 40px;
}

/* ---- FAQ ---- */
.faq {
  padding: 88px 0 104px;
  border-top: 1px solid var(--border);
}
.faq-list {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 28px 16px 0;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--text);
  position: relative;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--text-secondary);
  transition: transform 200ms ease;
}
.faq-item[open] summary::after {
  content: "\2212";
}
.faq-item p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.65;
  padding-bottom: 18px;
  max-width: 620px;
}

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.footer-brand {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: underline;
}
.footer-links a:hover {
  color: var(--text);
}
.footer-links span {
  color: var(--border);
}
.footer-legal,
.footer-contact {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin: 0;
}
.footer-contact a {
  color: var(--text-secondary);
}
.footer-contact a:hover {
  color: var(--text);
}

/* =========================================================
   Responsivo - desktop a partir de 900px
   ========================================================= */
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
  }
  .hero-copy h1 {
    font-size: 48px;
  }
  .how-it-works h2,
  .plans h2 {
    font-size: 34px;
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
  }
}

@media (max-width: 480px) {
  .phone-mockup {
    width: 100%;
  }
}
