:root {
  --color-bg: #faf9f7;
  --color-text: #24292f;
  --color-muted: #57606a;
  --color-accent: #2f5d50;
  --color-accent-contrast: #ffffff;
  --color-warn-bg: #fff3cd;
  --color-warn-text: #664d03;
  --color-border: #d0d7de;
  --radius: 8px;
  --max-width: 720px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.55;
}

.badge-top {
  background: var(--color-warn-bg);
  color: var(--color-warn-text);
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5c777;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.hero {
  text-align: center;
  padding: 2rem 0 1rem;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 1.9rem;
  margin: 0 0 0.5rem;
  color: var(--color-accent);
}

.subtitle {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin: 0;
}

section {
  margin: 2rem 0;
}

section h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-accent);
}

.proposta p {
  margin: 0 0 0.75rem;
}

.disclaimer-inline {
  font-size: 0.92rem;
  color: var(--color-muted);
  border-left: 3px solid var(--color-border);
  padding-left: 0.75rem;
}

.itens {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.itens li {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.65rem 0.9rem;
  font-size: 0.95rem;
}

.preco-hipotese {
  background: #fff;
  border: 1px dashed var(--color-accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.preco-valor {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0.25rem 0;
}

.preco-aviso {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin: 0.5rem 0 0;
}

.nao-e ul {
  padding-left: 1.25rem;
  margin: 0;
}

.nao-e li {
  margin-bottom: 0.5rem;
  color: var(--color-muted);
}

.cta-section {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

#waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 420px;
  margin: 0 auto;
}

#waitlist-form input[type="email"] {
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

#waitlist-form button {
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}

#waitlist-form button:hover {
  filter: brightness(1.1);
}

.consentimento {
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-top: 1rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.confirmation-message {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--color-accent);
}

.rodape {
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-top: 2.5rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}

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

/* Tablet and up */
@media (min-width: 600px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .itens {
    grid-template-columns: 1fr 1fr;
  }

  #waitlist-form {
    flex-direction: row;
  }

  #waitlist-form input[type="email"] {
    flex: 1;
  }

  #waitlist-form button {
    flex: 0 0 auto;
  }
}

/* Desktop */
@media (min-width: 900px) {
  .container {
    padding-top: 2.5rem;
  }

  .hero h1 {
    font-size: 2.8rem;
  }
}

/* ============================================================
   Produção — Pasta Clara (adições sobre a base visual já aprovada)
   ============================================================ */

.marca {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 0.35rem;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--radius) 0;
  z-index: 10;
}

.skip-link:focus {
  left: 0;
}

/* Foco sempre visível (acessibilidade por teclado) */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

#waitlist-form {
  flex-direction: column;
  text-align: left;
}

#waitlist-form label[for="email"] {
  font-size: 0.9rem;
  font-weight: 600;
}

.campo-ajuda {
  font-size: 0.82rem;
  color: var(--color-muted);
  margin: -0.25rem 0 0;
}

.consent-box {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--color-text);
  line-height: 1.5;
}

.consent-box input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--color-accent);
}

.consent-box label {
  font-weight: 400;
}

.consent-box a,
.rodape a,
.voltar a {
  color: var(--color-accent);
}

#waitlist-form input[type="email"][aria-invalid="true"],
.consent-box input[aria-invalid="true"] {
  outline: 2px solid #b42318;
  outline-offset: 1px;
}

.form-status {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--color-accent);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.form-status[data-tipo="erro"] {
  color: #b42318;
}

/* Página de documento (política de privacidade) */
.documento h1 {
  font-size: 1.8rem;
  color: var(--color-accent);
  margin: 0 0 0.35rem;
}

.documento h2 {
  font-size: 1.1rem;
}

.documento section {
  margin: 1.75rem 0;
}

.documento ul {
  padding-left: 1.25rem;
  margin: 0;
}

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

.meta-doc {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin: 0 0 1.5rem;
}

.documento blockquote {
  margin: 0.75rem 0;
  padding: 0.75rem 1rem;
  background: #fff;
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.92rem;
}

.pendencia {
  background: var(--color-warn-bg);
  color: var(--color-warn-text);
  border: 1px solid #e5c777;
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
}

.voltar {
  margin-top: 2.5rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  font-size: 0.9rem;
}

/* O formulário permanece em coluna também no desktop, por causa do
   consentimento em checkbox (sobrescreve a regra de linha da base). */
@media (min-width: 600px) {
  #waitlist-form {
    flex-direction: column;
  }

  #waitlist-form button {
    flex: 0 0 auto;
    align-self: flex-start;
  }
}
