/* cupom.ai — folha de estilo única, sem framework, sem build.
   Paleta dark do projeto: fundo #2d2d30, cards #3a3a3e, texto #e5e5e5,
   bordas #4a4a50. Accent quente: âmbar #e8a04c. Nunca preto puro. */

:root {
  --bg: #2d2d30;
  --card: #3a3a3e;
  --card-deep: #343437;
  --text: #e5e5e5;
  --text-dim: #b0b0b4;
  --border: #4a4a50;
  --accent: #e8a04c;
  --accent-strong: #f0b268;
  --accent-ink: #2d2d30;
  --ok: #7fbf7f;
  --max-w: 68rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  color: var(--accent-strong);
}

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

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- header ---------- */

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
  color: var(--text);
}

.brand .dot-ai {
  color: var(--accent);
}

.badge-prelaunch {
  font-size: 0.78rem;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  white-space: nowrap;
}

/* ---------- hero ---------- */

.hero {
  padding: 4rem 0 3rem;
  text-align: left;
}

.hero h1 {
  font-size: clamp(1.9rem, 5.5vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 46rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero .lede {
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--text-dim);
  max-width: 42rem;
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--accent-strong);
  color: var(--accent-ink);
  text-decoration: none;
}

.cta-note {
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* ---------- sections ---------- */

section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
}

.section-kicker {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

section h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 38rem;
}

.section-intro {
  margin-top: 1rem;
  color: var(--text-dim);
  max-width: 44rem;
}

/* ---------- cards grid ---------- */

.grid {
  margin-top: 2.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.card h3 {
  font-size: 1.1rem;
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.card p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.card .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ok);
  border: 1px solid var(--border);
  background: var(--card-deep);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  margin-bottom: 0.8rem;
}

/* ---------- como funciona ---------- */

.steps {
  margin-top: 2.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  counter-reset: step;
  list-style: none;
}

.steps li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.9rem;
}

.steps h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.steps p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* ---------- disclosure ---------- */

.disclosure-box {
  margin-top: 2rem;
  background: var(--card);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 1.75rem;
  max-width: 48rem;
}

.disclosure-box h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.disclosure-box p + p {
  margin-top: 0.9rem;
}

.disclosure-box p {
  color: var(--text);
  font-size: 0.97rem;
}

/* ---------- avise-me ---------- */

.notify {
  text-align: left;
}

.notify-box {
  margin-top: 1.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  max-width: 34rem;
}

.notify-box p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}

.notify-box .fineprint {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.8rem;
}

/* ---------- prose (política de privacidade) ---------- */

.prose {
  max-width: 46rem;
  padding: 3rem 0 4rem;
}

.prose h1 {
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.prose .doc-meta {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.prose h2 {
  font-size: 1.3rem;
  margin: 2.25rem 0 0.75rem;
  letter-spacing: -0.01em;
}

.prose p {
  margin-bottom: 1rem;
}

.prose ul {
  margin: 0 0 1rem 1.3rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose li::marker {
  color: var(--accent);
}

.prose .callout {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  color: var(--text-dim);
  font-size: 0.93rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.92rem;
}

.prose th,
.prose td {
  border: 1px solid var(--border);
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--card);
}

.table-scroll {
  overflow-x: auto;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ---------- responsivo ---------- */

@media (min-width: 44rem) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .site-footer .wrap {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
  }
}

@media (min-width: 62rem) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
