/* ============================================================
   Orçamento em 7 Dias — landing page
   Mobile-first. Sem framework. Edite as cores em :root.
   ============================================================ */

:root {
  --azul: #0b5cff;
  --azul-escuro: #0a3fb0;
  --verde: #12a150;
  --verde-escuro: #0c7a3c;
  --tinta: #10162a;
  --tinta-suave: #3d4763;
  --fundo: #ffffff;
  --fundo-alt: #f4f6fb;
  --borda: #e2e6f0;
  --amarelo: #ffe27a;
  --erro: #d7263d;
  --radius: 14px;
  --sombra: 0 6px 24px rgba(16, 22, 42, 0.08);
  --largura: 640px;
  font-size: 17px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--tinta);
  background: var(--fundo);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  width: 100%;
  max-width: var(--largura);
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 44px 0; }
section.alt { background: var(--fundo-alt); }

h1, h2, h3 { line-height: 1.25; color: var(--tinta); }
h1 { font-size: 1.85rem; margin: 0 0 14px; }
h2 { font-size: 1.5rem; margin: 0 0 18px; }
h3 { font-size: 1.15rem; margin: 0 0 8px; }
p { margin: 0 0 14px; }
strong { color: var(--tinta); }

.destaque { color: var(--azul); }
.center { text-align: center; }
.pequeno { font-size: 0.9rem; color: var(--tinta-suave); }

/* ---------- BOTÃO ---------- */
.btn {
  display: inline-block;
  width: 100%;
  max-width: 420px;
  background: var(--verde);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  padding: 17px 22px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(18, 161, 80, 0.32);
  transition: transform 0.08s ease, background 0.15s ease;
}
.btn:hover { background: var(--verde-escuro); }
.btn:active { transform: translateY(1px); }
.btn small { display: block; font-weight: 500; font-size: 0.82rem; opacity: 0.92; margin-top: 3px; }

.btn-wrap { text-align: center; margin: 26px 0 8px; }
.selo-pag {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--tinta-suave);
}

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(180deg, #eaf1ff 0%, #ffffff 100%);
  padding: 40px 0 36px;
  text-align: center;
}
.tag {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--borda);
  color: var(--azul-escuro);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.hero p.sub { font-size: 1.08rem; color: var(--tinta-suave); max-width: 520px; margin-left: auto; margin-right: auto; }
.hero-mock {
  margin: 24px auto 0;
  max-width: 300px;
  border-radius: var(--radius);
  border: 1px dashed var(--borda);
  background: var(--fundo-alt);
  padding: 40px 16px;
  color: var(--tinta-suave);
  font-size: 0.85rem;
}

/* ---------- LISTAS DE DOR / BENEFÍCIO ---------- */
.lista { list-style: none; padding: 0; margin: 0 0 18px; }
.lista li {
  position: relative;
  padding: 10px 0 10px 34px;
  border-bottom: 1px solid var(--borda);
}
.lista li:last-child { border-bottom: none; }
.lista.dor li::before { content: "✕"; color: var(--erro); position: absolute; left: 4px; top: 10px; font-weight: 700; }
.lista.ok li::before { content: "✓"; color: var(--verde); position: absolute; left: 2px; top: 10px; font-weight: 700; }

/* ---------- CARDS ENTREGÁVEIS ---------- */
.entrega { display: grid; gap: 14px; margin-top: 10px; }
.card {
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--sombra);
}
.card .rotulo {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--azul);
  background: #eaf1ff;
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 8px;
}

/* ---------- TIMELINE 7 DIAS ---------- */
.timeline { list-style: none; padding: 0; margin: 12px 0 0; counter-reset: dia; }
.timeline li {
  position: relative;
  padding: 12px 0 12px 52px;
  border-left: 2px solid var(--borda);
  margin-left: 16px;
}
.timeline li::before {
  counter-increment: dia;
  content: "D" counter(dia);
  position: absolute;
  left: -19px;
  top: 10px;
  width: 36px; height: 36px;
  background: var(--azul);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- OFERTA ---------- */
.caixa-oferta {
  background: #fff;
  border: 2px solid var(--verde);
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--sombra);
}
.preco-de { color: var(--tinta-suave); text-decoration: line-through; font-size: 1rem; }
.preco-por { font-size: 2.4rem; font-weight: 800; color: var(--tinta); margin: 4px 0; }
.preco-por span { font-size: 1rem; font-weight: 600; color: var(--tinta-suave); }
.inclui { text-align: left; margin: 18px auto; max-width: 360px; }

/* ---------- GARANTIA ---------- */
.garantia {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  padding: 20px;
}
.garantia .selo {
  flex: 0 0 60px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #eaf1ff;
  color: var(--azul-escuro);
  font-weight: 800;
  font-size: 0.72rem;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  line-height: 1.1;
}

/* ---------- PROVA / DEPOIMENTOS (placeholder) ---------- */
.placeholder-prova {
  border: 2px dashed var(--borda);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--fundo-alt);
  color: var(--tinta-suave);
  font-size: 0.92rem;
}
.placeholder-prova code {
  background: #fff;
  border: 1px solid var(--borda);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.85rem;
}

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--borda);
  border-radius: 12px;
  margin-bottom: 10px;
  background: #fff;
  overflow: hidden;
}
.faq-pergunta {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 44px 16px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--tinta);
  cursor: pointer;
  position: relative;
}
.faq-pergunta::after {
  content: "+";
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--azul);
}
.faq-item.aberto .faq-pergunta::after { content: "–"; }
.faq-resposta {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 16px;
  color: var(--tinta-suave);
  font-size: 0.96rem;
}
.faq-item.aberto .faq-resposta { max-height: 500px; padding: 0 16px 16px; }

/* ---------- BARRA FIXA MOBILE ---------- */
.barra-fixa {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 1px solid var(--borda);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(16, 22, 42, 0.1);
  transform: translateY(120%);
  transition: transform 0.25s ease;
  z-index: 50;
}
.barra-fixa.visivel { transform: translateY(0); }
.barra-fixa .btn { margin: 0; padding: 13px; font-size: 1rem; }
.barra-fixa .linha { display: flex; align-items: center; gap: 12px; }
.barra-fixa .preco-mini { font-weight: 800; white-space: nowrap; font-size: 0.95rem; }

/* ---------- RODAPÉ ---------- */
footer {
  background: var(--tinta);
  color: #aab3cc;
  font-size: 0.85rem;
  padding: 30px 0 40px;
}
footer a { color: #cdd6ef; }
footer .wrap > * { margin-bottom: 8px; }

/* ---------- DESKTOP ---------- */
@media (min-width: 720px) {
  :root { font-size: 18px; }
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.9rem; }
  section { padding: 60px 0; }
  .entrega { grid-template-columns: 1fr 1fr; }
  .barra-fixa { display: none; }
  .hero { padding: 60px 0 50px; }
}
