/* =========================================================
   LumiVoz — estilos base
   Paleta: marinho profundo + dourado sobre creme.
   ========================================================= */
:root {
  --azul:        #0a1a4f;
  --azul-2:      #122a6b;
  --azul-3:      #1d3a8a;
  --dourado:     #e0a030;
  --dourado-2:   #f0c040;
  --creme:       #faf7f0;
  --creme-2:     #f3eee2;
  --texto:       #1c2333;
  --texto-suave: #5a6275;
  --branco:      #ffffff;
  --sombra:      0 10px 30px rgba(10, 26, 79, 0.10);
  --radius:      16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--texto);
  background: var(--creme);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--azul-3); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid #eee7d8;
  box-shadow: 0 1px 12px rgba(10, 26, 79, 0.04);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 88px;
}
.brand img { height: 56px; display: block; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--texto); font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--azul); text-decoration: none; }

/* ---------- Botoes ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  cursor: pointer; border: 0; transition: transform .15s ease, box-shadow .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--dourado), var(--dourado-2));
  color: #3a2a06; box-shadow: 0 8px 20px rgba(224, 160, 48, .35);
}
.btn-ghost { background: var(--branco); color: var(--azul); border: 1px solid var(--creme-2); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 34px; font-size: 1.08rem; }

/* ---------- Hero (claro, imagem full-bleed a direita) ---------- */
.hero {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  min-height: 600px;
  background:
    radial-gradient(700px 360px at 30% 8%, rgba(224,160,48,.08), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, var(--creme) 100%);
  color: var(--texto); overflow: hidden;
}
/* bloco de texto centralizado na coluna (margin auto) e a imagem ocupa 100% da altura */
.hero-text {
  align-self: center;
  max-width: 540px;
  margin: 0 auto;
  padding: 32px 24px;
}
.hero h1 { font-size: 3rem; line-height: 1.08; letter-spacing: -1px; color: var(--azul); margin-bottom: 18px; }
.hero h1 .dourado { color: var(--dourado); }
.hero p.sub { font-size: 1.15rem; color: var(--texto-suave); margin-bottom: 26px; max-width: 500px; }
.hero .selo {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  background: #fff7e6; border: 1px solid #f3dca6; color: #8a6310;
  padding: 7px 16px; border-radius: 999px; font-size: .9rem; font-weight: 600;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; color: var(--texto-suave); font-size: .9rem; font-weight: 500; }
.hero-art { align-self: stretch; }
.hero-art img { width: 100%; height: 100%; min-height: 100%; object-fit: cover; object-position: center; display: block; }

/* ---------- Secoes ---------- */
section { padding: 72px 0; }
section.alt { background: var(--creme-2); }
.section-title { text-align: center; margin-bottom: 14px; font-size: 2rem; color: var(--azul); letter-spacing: -.5px; }
.section-title .dourado { color: var(--dourado); }
.section-sub { text-align: center; color: var(--texto-suave); max-width: 620px; margin: 0 auto 44px; }
.section-title.light { color: #fff; }
.section-sub.light { color: #c3cae6; }

/* ---------- Como funciona (escuro, com setas) ---------- */
.como-funciona {
  background:
    radial-gradient(700px 320px at 85% 0%, rgba(224,160,48,.12), transparent 60%),
    linear-gradient(180deg, #0a1a4f 0%, #122a6b 100%);
  color: #fff;
}
.passos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.passo {
  position: relative; text-align: center; padding: 26px 18px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
}
/* seta entre os passos (apenas telas largas) */
.passo:not(:last-child)::after {
  content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
  color: var(--dourado); font-size: 1.3rem; font-weight: 700; z-index: 2;
}
.passo .num {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 14px;
  display: grid; place-items: center; font-size: 1.5rem;
  background: linear-gradient(135deg, var(--dourado), var(--dourado-2));
  box-shadow: 0 8px 18px rgba(224,160,48,.30);
}
.como-funciona .passo h3 { color: #fff; margin-bottom: 8px; font-size: 1.08rem; }
.como-funciona .passo p { color: #c3cae6; font-size: .94rem; }

/* ---------- Beneficios ---------- */
.beneficios { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 860px; margin: 0 auto; }
.beneficio { display: flex; gap: 14px; align-items: flex-start; background: var(--branco); padding: 20px 22px; border-radius: var(--radius); box-shadow: var(--sombra); }
.beneficio .ic { font-size: 1.6rem; flex-shrink: 0; }
.beneficio strong { display: block; color: var(--azul); margin-bottom: 2px; }
.beneficio span { color: var(--texto-suave); font-size: .94rem; }

/* ---------- Depoimentos ---------- */
.depoimentos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.depo { background: var(--branco); border-radius: var(--radius); padding: 26px; box-shadow: var(--sombra); }
.depo .estrelas { color: var(--dourado); letter-spacing: 2px; margin-bottom: 12px; }
.depo p { color: var(--texto); font-style: italic; margin-bottom: 14px; }
.depo .autor { color: var(--texto-suave); font-weight: 600; font-size: .92rem; }

/* ---------- CTA final (com imagem de fundo) ---------- */
.cta-final { background-size: cover; background-position: center; color: #fff; padding: 80px 0; }
.cta-box { max-width: 640px; }
.cta-box h2 { font-size: 2rem; line-height: 1.2; letter-spacing: -.5px; margin-bottom: 12px; }
.cta-box h2 .dourado { color: var(--dourado-2); }
.cta-box p { color: #d7ddf0; font-size: 1.1rem; margin-bottom: 24px; }

/* ---------- Categorias (chips) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 820px; margin: 0 auto; }
.chip { background: var(--branco); border: 1px solid var(--creme-2); border-radius: 999px; padding: 9px 16px; font-size: .92rem; font-weight: 500; box-shadow: 0 2px 8px rgba(10,26,79,.05); }

/* ---------- Planos ---------- */
.planos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 760px; margin: 0 auto; }
.plano { background: var(--branco); border-radius: var(--radius); padding: 30px; box-shadow: var(--sombra); border: 2px solid transparent; text-align: center; }
.plano.destaque { border-color: var(--dourado); position: relative; }
.plano .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--dourado); color: #3a2a06; font-weight: 700; font-size: .78rem; padding: 4px 14px; border-radius: 999px; }
.plano h3 { color: var(--azul); font-size: 1.3rem; }
.plano .preco { font-size: 2.3rem; font-weight: 800; color: var(--azul); margin: 10px 0 4px; }
.plano .preco small { font-size: .95rem; font-weight: 500; color: var(--texto-suave); }
.plano .desc { color: var(--texto-suave); font-size: .95rem; min-height: 48px; }
.trial-box { text-align: center; background: var(--azul); color: #fff; border-radius: var(--radius); padding: 22px; max-width: 760px; margin: 26px auto 0; }
.trial-box strong { color: var(--dourado-2); }

/* ---------- Formulario de cadastro ---------- */
.cadastro-wrap { background: linear-gradient(180deg, #122a6b 0%, #0a1a4f 100%); color: #fff; }
.form-card { background: var(--branco); color: var(--texto); border-radius: 22px; box-shadow: var(--sombra); padding: 34px; max-width: 620px; margin: 0 auto; }
.form-card h2 { color: var(--azul); margin-bottom: 6px; }
.form-card .ajuda { color: var(--texto-suave); margin-bottom: 22px; font-size: .96rem; }
.campo { margin-bottom: 16px; }
.campo label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .92rem; }
.campo input[type=text], .campo input[type=email], .campo input[type=tel], .campo input[type=time], .campo select {
  width: 100%; padding: 13px 14px; border: 1px solid #d8dbe4; border-radius: 12px; font-size: 1rem; font-family: inherit;
}
.campo input:focus, .campo select:focus { outline: none; border-color: var(--azul-3); box-shadow: 0 0 0 3px rgba(29,58,138,.12); }
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.cat-check { display: flex; align-items: center; gap: 8px; background: var(--creme); border: 1px solid var(--creme-2); border-radius: 10px; padding: 10px 12px; cursor: pointer; font-size: .92rem; }
.cat-check input { accent-color: var(--azul-3); }
.lgpd { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--texto-suave); margin: 8px 0 18px; }
.alerta { background: #fde8e8; color: #9b1c1c; border: 1px solid #f5c2c2; padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; font-size: .92rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: #07123a; color: #aeb7d6; padding: 46px 0 30px; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer a { color: #d7ddf0; }
.site-footer .disclaimer { font-size: .82rem; color: #8893b8; margin-top: 18px; max-width: 720px; }
.site-footer img { height: 34px; margin-bottom: 12px; }

/* ---------- WhatsApp flutuante ---------- */
.wpp-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45); color: #fff; font-size: 1.7rem; }
.wpp-float:hover { text-decoration: none; transform: scale(1.05); }

/* ---------- Paginas de texto (termos/privacidade) ---------- */
.texto-legal { max-width: 800px; margin: 0 auto; padding: 56px 0; }
.texto-legal h1 { color: var(--azul); margin-bottom: 8px; }
.texto-legal h2 { color: var(--azul-2); margin: 28px 0 8px; font-size: 1.25rem; }
.texto-legal p, .texto-legal li { color: var(--texto-suave); margin-bottom: 10px; }
.texto-legal ul { padding-left: 22px; }

/* ---------- Admin ---------- */
.admin-body { background: var(--creme-2); }
.admin-top { background: var(--azul); color: #fff; padding: 14px 0; }
.admin-top .container { display: flex; align-items: center; justify-content: space-between; }
.admin-top a { color: #d7ddf0; margin-left: 18px; font-size: .95rem; }
.admin-top .logo { font-weight: 800; color: var(--dourado-2); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 26px 0; }
.card { background: #fff; border-radius: 14px; padding: 20px; box-shadow: var(--sombra); }
.card .n { font-size: 2rem; font-weight: 800; color: var(--azul); }
.card .l { color: var(--texto-suave); font-size: .9rem; }
table.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--sombra); }
table.tbl th, table.tbl td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--creme-2); font-size: .92rem; }
table.tbl th { background: var(--creme); color: var(--azul); }
.badge { padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.badge.ativo { background: #d8f5e0; color: #14663a; }
.badge.trial { background: #fdf0d2; color: #8a6310; }
.badge.pausado { background: #e6e8f0; color: #444; }
.badge.cancelado, .badge.erro, .badge.bloqueado { background: #fde8e8; color: #9b1c1c; }
.badge.enviado { background: #d8f5e0; color: #14663a; }
.admin-card { background:#fff; max-width: 420px; margin: 80px auto; padding: 34px; border-radius: 18px; box-shadow: var(--sombra); }
.admin-card h1 { color: var(--azul); margin-bottom: 18px; text-align:center; }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .passos { grid-template-columns: repeat(2, 1fr); }
  .passo:not(:last-child)::after { display: none; }
  .depoimentos { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-text { padding: 48px 20px 32px; text-align: left; }
  .hero-art img { height: auto; min-height: 0; }
  .hero h1 { font-size: 2.2rem; }
  .hero p.sub { max-width: none; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .passos, .beneficios, .planos, .cards { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .grid-2, .cats { grid-template-columns: 1fr; }
  .cta-box h2 { font-size: 1.6rem; }
  .nav { display: none; }
}
