/* =============================================================================
   Olha Essa Promo — estilos do site público (MVP)
   CSS puro, sem JS, sem fontes externas, sem assets raster.
   Acessibilidade: contraste, foco visível, skip link, layout responsivo.
   ============================================================================= */

:root {
  color-scheme: light;
  --paper: #fffaf3;
  --paper-strong: #fff4e6;
  --ink: #1c1917;
  --muted: #57534e;
  --line: #e7e1d8;
  --accent: #b4370a;
  --accent-strong: #8f2a06;
  --accent-soft: #fbe6d8;
  --focus: #0f5c4d;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(28, 25, 23, 0.06), 0 8px 24px rgba(28, 25, 23, 0.06);
  --wrap: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
}

h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

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

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

/* --- skip link ------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 10;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
  color: var(--paper);
}

/* --- header ---------------------------------------------------------------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.96);
}

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

.brand {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

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

.nav-list,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.35rem 0;
}

.nav-list a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

/* --- hero ------------------------------------------------------------------ */
.hero {
  padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) 1rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-text {
  max-width: 46rem;
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
  color: var(--ink);
}

.hero-note {
  max-width: 42rem;
  color: var(--muted);
  font-size: 0.98rem;
  border-left: 3px solid var(--line);
  padding-left: 0.9rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-block;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 2px solid var(--accent-strong);
  background: var(--accent-strong);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

.button-ghost {
  background: transparent;
  color: var(--accent-strong);
}

.button-ghost:hover {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

/* --- sections -------------------------------------------------------------- */
main > section {
  padding-block: clamp(2rem, 1.6rem + 2vw, 3.25rem);
}

main > section + section {
  border-top: 1px solid var(--line);
}

.section-intro {
  max-width: 46rem;
  color: var(--muted);
}

.section-footnote {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* --- niched cards ---------------------------------------------------------- */
.niche-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.1rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.niche-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.niche-icon {
  font-size: 1.7rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.niche-card p {
  margin-bottom: 0.35rem;
}

.niche-card h3 {
  margin-bottom: 0.25rem;
}

.handle-label {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.handle {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.handle-fallback {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

/* --- steps ----------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: passo;
}

.steps li {
  counter-increment: passo;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
}

.steps li::before {
  content: counter(passo, decimal-leading-zero);
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}

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

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* --- disclosure / MVP ------------------------------------------------------ */
.transparency,
.mvp-note {
  max-width: 52rem;
}

.transparency {
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--accent-soft);
}

.mvp-note .contact-note {
  border-left: 3px solid var(--accent);
  padding-left: 0.9rem;
}

/* --- footer ---------------------------------------------------------------- */
.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: var(--paper-strong);
}

.footer-inner {
  padding-block: 2rem;
  display: grid;
  gap: 0.6rem;
}

.footer-brand {
  margin: 0;
  font-weight: 800;
  font-size: 1.1rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-strong);
}

.footer-disclosure,
.footer-copy {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

/* --- páginas internas (privacidade/termos/404) ----------------------------- */
.page {
  max-width: 52rem;
  padding-block: clamp(2rem, 1.6rem + 2vw, 3.25rem);
}

.page h1 {
  margin-bottom: 0.5rem;
}

.page .page-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.page h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.page ul,
.page ol {
  padding-left: 1.4rem;
}

.page li {
  margin-bottom: 0.4rem;
}

.callout {
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.callout p:last-child {
  margin-bottom: 0;
}

/* --- responsivo / preferências -------------------------------------------- */
@media (max-width: 40rem) {
  .header-inner {
    align-items: flex-start;
  }

  .hero {
    padding-top: 2rem;
  }

  .transparency {
    padding: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
