:root {
  --primary: #0B1A2E;
  --primary-2: #132A47;
  --accent: #C9A24A;
  --accent-escuro: #D6B25E;
  --accent-ink: #8A6A1F;
  --accent-claro: #F7F0DF;
  --success: #16a34a;
  --whatsapp: #25d366;
  --text-dark: #0B1A2E;
  --text-light: #f8fafc;
  --muted: #4B5A6E;
  --border: #DCD6C9;
  --fundo: #F5F3EE;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: #fff;
  line-height: 1.6;
  font-size: 17px;
}
a { color: inherit; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px;
}
.skip-link:focus {
  position: fixed; top: 10px; left: 10px;
  background: #fff; padding: 8px 14px; border-radius: 6px; z-index: 10000;
}

/* ── Topo ────────────────────────────────────────────────────────────── */
.topo {
  background: var(--primary);
  padding: 16px 0;
  border-bottom: 1px solid var(--primary-2);
  position: sticky; top: 0; z-index: 100;
}
.topo-grid { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.topo-logo { height: 36px; }
.topo-contato { display: flex; align-items: center; gap: 10px; color: #cbd5e1; font-size: 15px; }
.topo-telefone { font-weight: 700; color: #C9A24A; text-decoration: none; font-size: 16px; }
@media (max-width: 640px) { .topo-contato span { display: none; } }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  color: var(--text-light);
  padding: 64px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-tag {
  display: inline-block;
  background: rgba(201,162,74,0.14);
  color: #C9A24A;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-texto h1 { font-size: 38px; line-height: 1.25; font-weight: 800; color: #fff; margin-bottom: 18px; }
.hero-texto h1 span { color: #C9A24A; }
.hero-texto p { font-size: 18px; color: #cbd5e1; margin-bottom: 26px; max-width: 500px; }

.btn-cta {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  font-family: inherit;
  border: none;
  cursor: pointer;
  box-shadow: none;
  transition: transform .15s, background .15s;
}
.btn-cta:hover { transform: translateY(-2px); background: var(--accent-escuro); }
.btn-cta-secundario { width: 100%; text-align: center; box-shadow: none; }

.trust-strip { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 32px; }
.trust-item strong { display: block; font-size: 17px; color: #C9A24A; }
.trust-item span { font-size: 14px; color: #94a3b8; }

.hero-card {
  background: #fff;
  color: var(--text-dark);
  border-radius: 10px;
  padding: 32px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.hero-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 24px; color: var(--primary); }
.hero-card-lista { list-style: none; margin-bottom: 26px; }
.hero-card-lista li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.hero-card-lista li:last-child { border-bottom: none; }
.hero-card-check {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: #f0fdf4; color: var(--success); font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.hero-card-lista li strong { display: block; font-size: 16px; color: var(--primary); }
.hero-card-lista li span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.hero-card-nota { font-size: 13px; color: var(--muted); text-align: center; margin-top: 14px; }
.hero-card-nota a { color: var(--accent); font-weight: 600; text-decoration: none; }

/* ── Títulos de seção ────────────────────────────────────────────────── */
.titulo-secao { text-align: center; font-size: 30px; font-weight: 800; color: var(--primary); margin-bottom: 12px; }
.subtitulo-secao { text-align: center; color: var(--muted); max-width: 580px; margin: 0 auto 44px; font-size: 17px; }

.cta-central { text-align: center; margin-top: 40px; }

/* ── Segmentos ("pra quem é") ────────────────────────────────────────── */
.segmentos { padding: 64px 0; background: var(--fundo); }
.grid-segmentos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 860px) { .grid-segmentos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid-segmentos { grid-template-columns: 1fr; } }
.segmento {
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 22px; text-align: center;
}
.segmento h3 { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.segmento p { font-size: 15px; color: var(--muted); }

/* ── Como funciona ───────────────────────────────────────────────────── */
.como-funciona { padding: 64px 0; }
.passos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 700px) { .passos { grid-template-columns: 1fr; } }
.passo { text-align: center; }
.passo-numero {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px; margin: 0 auto 12px;
}
.passo h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; color: var(--primary); }
.passo p { font-size: 15px; color: var(--muted); }

/* ── Benefícios ──────────────────────────────────────────────────────── */
.beneficios { padding: 64px 0; background: var(--fundo); }
.grid-beneficios { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 640px) { .grid-beneficios { grid-template-columns: 1fr; } }
.card-beneficio {
  background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 24px;
}
.icon-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 14px;
  margin-bottom: 12px;
}
.card-beneficio h4 { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.card-beneficio p { font-size: 15px; color: var(--muted); }

/* ── FAQ ──────────────────────────────────────────────────────────────  */
.faq { padding: 64px 0 72px; background: #fff; }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-pergunta {
  width: 100%; text-align: left; background: none; border: none;
  padding: 20px 0; font-size: 17px; font-weight: 600; color: var(--primary);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  font-family: inherit;
}
.faq-resposta {
  max-height: 0; overflow: hidden; transition: max-height .25s ease;
  color: var(--muted); font-size: 16px;
}
.faq-resposta p { padding-bottom: 20px; }
.faq-item.active .faq-resposta { max-height: 220px; }
.faq-icone { font-size: 22px; color: var(--accent); transition: transform .25s ease; }
.faq-item.active .faq-icone { transform: rotate(45deg); }

/* ── Rodapé ──────────────────────────────────────────────────────────── */
.rodape { background: var(--primary); color: #94a3b8; padding: 44px 0; font-size: 14px; line-height: 1.8; }
.rodape-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
@media (max-width: 640px) { .rodape-grid { grid-template-columns: 1fr; text-align: center; } }
.rodape-logo { height: 26px; margin-bottom: 10px; opacity: .85; }
.rodape-contato h5 { color: #fff; font-size: 16px; margin-bottom: 10px; }
.rodape-contato a { color: #C9A24A; text-decoration: none; font-weight: 600; }
.rodape-contato a:hover { text-decoration: underline; }

/* ── WhatsApp flutuante ──────────────────────────────────────────────── */
.whatsapp-flutuante {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  z-index: 9999;

}
@keyframes pulso {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ── Modal do simulador (pop-up) ─────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(7,17,31,0.78);
  z-index: 300;
  padding: 24px 12px;
  overflow-y: auto;
}
.modal-overlay.aberto { display: flex; justify-content: center; align-items: flex-start; }
body.modal-aberto { overflow: hidden; }

.modal-conteudo { max-width: 600px; width: 100%; position: relative; }
@media (min-width: 700px) { .modal-conteudo { max-width: min(94vw, 1100px); } }
.modal-fechar {
  position: absolute; top: -46px; right: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; border: none; cursor: pointer;
  font-size: 24px; line-height: 1; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}

/* ── Cards do simulador (dentro do modal) ───────────────────────────── */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 30px 26px; margin-bottom: 20px;
}
.card-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 800;
  color: var(--accent); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px;
}
.card h2 { font-size: 23px; font-weight: 800; margin-bottom: 6px; color: var(--primary); }
.card-sub { font-size: 16px; color: var(--muted); margin-bottom: 20px; }

/* ── Carrinho (resumo do que já foi adicionado) ─────────────────────── */
.carrinho {
  border: 1px solid var(--accent); background: var(--accent-claro);
  border-radius: 10px; padding: 14px 16px; margin-bottom: 16px;
}
.carrinho[hidden] { display: none; }
.carrinho-titulo { font-size: 12px; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 8px; }
.carrinho-lista { display: flex; flex-direction: column; gap: 6px; }
.carrinho-item { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.carrinho-item-qtd { font-weight: 800; color: var(--accent); flex-shrink: 0; min-width: 30px; }
.carrinho-item-nome { flex: 1; color: var(--text-dark); }
.carrinho-item-remover {
  border: none; background: none; cursor: pointer; color: var(--muted);
  font-size: 18px; line-height: 1; padding: 0 4px; flex-shrink: 0;
}
.carrinho-item-remover:hover { color: #DC2626; }

.busca-itens {
  width: 100%; font-size: 16px; padding: 11px 14px; margin-bottom: 14px;
  border: 1px solid var(--border); border-radius: 8px; outline: none; font-family: inherit;
}
.busca-itens:focus { border-color: var(--accent); }

.filtro-categorias {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 14px;
}
.filtro-categorias[hidden] { display: none; }
.categoria-pill {
  flex-shrink: 0; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--border); background: #fff; color: var(--text-dark);
  font-size: 14px; font-weight: 600; font-family: inherit; cursor: pointer;
  white-space: nowrap; transition: all .15s;
}
.categoria-pill:hover { border-color: var(--accent); }
.categoria-pill.ativa { background: var(--accent); border-color: var(--accent); color: #fff; }

.grupo-titulo {
  font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase;
  letter-spacing: .5px; background: var(--fundo); padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}
.grupo-titulo:not(:first-child) { border-top: 1px solid var(--border); }

.lista-itens {
  display: flex; flex-direction: column;
  border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
  max-height: 50vh; overflow-y: auto; margin-bottom: 8px;
}
.carregando { color: var(--muted); font-size: 16px; text-align: center; padding: 16px; }
.erro-carregamento { color: #DC2626; }

.item-card {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.lista-itens .item-card:last-child { border-bottom: none; }
.item-card.selecionado { background: var(--accent-claro); }
.item-card[hidden] { display: none; }
.item-info { min-width: 0; }
.item-nome { font-size: 15px; font-weight: 600; }
.item-descricao { font-size: 14px; color: var(--muted); margin-top: 2px; }

.qty-stepper { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.qty-btn {
  width: 30px; height: 30px; border-radius: 6px; border: 1px solid var(--border);
  background: #fff; color: var(--text-dark); font-size: 17px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  line-height: 1; font-family: inherit; transition: background .15s;
}
.qty-btn:hover { background: #f1f5f9; }
.qty-btn:disabled { opacity: .35; cursor: not-allowed; }
.qty-valor { min-width: 26px; text-align: center; font-size: 15px; font-weight: 700; color: var(--text-dark); }

#btn-continuar { margin-top: 8px; }

.link-voltar {
  display: inline-block; background: none; border: none; cursor: pointer;
  color: var(--accent); font-size: 14px; font-weight: 600; font-family: inherit;
  padding: 0; margin-bottom: 10px;
}

form { display: flex; flex-direction: column; gap: 6px; }

.form-grid { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
@media (min-width: 560px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.campo { display: flex; flex-direction: column; }
.campo-full { grid-column: 1 / -1; }

label { font-size: 15px; font-weight: 600; margin-top: 12px; color: var(--text-dark); }
.campo label { margin-top: 0; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="tel"] {
  font-size: 17px; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 8px; outline: none; font-family: inherit; width: 100%;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus { border-color: var(--accent); }

.segmentado { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.segmentado label { flex: 1; min-width: 140px; margin: 0; position: relative; }
.segmentado input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.segmentado span {
  display: block; text-align: center; padding: 11px 10px; border-radius: 8px;
  border: 1px solid var(--border); font-size: 14px; font-weight: 600;
  color: var(--text-dark); transition: all .15s;
}
.segmentado input:checked + span { border-color: var(--accent); background: var(--accent-claro); color: var(--accent); }
.segmentado input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }

.checkbox-linha {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 15px; font-weight: 400; color: var(--muted);
  margin-top: 18px; cursor: pointer;
}
.checkbox-linha input { margin-top: 3px; accent-color: var(--accent); }
.checkbox-linha a { color: var(--accent); }

.cf-turnstile { margin-top: 18px; }

.erro {
  margin-top: 14px; padding: 12px 16px; border-radius: 8px;
  background: #FEE2E2; color: #DC2626; font-size: 16px;
}

button[type="submit"] {
  margin-top: 22px; padding: 16px; border: none; border-radius: 10px;
  background: var(--accent); color: #fff; font-size: 18px; font-weight: 800;
  cursor: pointer; transition: opacity .15s, transform .15s;
  box-shadow: none;
  font-family: inherit;
}
button[type="submit"]:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
button[type="submit"]:not(:disabled):hover { transform: translateY(-1px); background: var(--accent-escuro); }
.form-rodape { text-align: center; font-size: 14px; color: var(--muted); margin-top: 14px; }

.sucesso { text-align: center; }
.sucesso h2 { margin-bottom: 14px; color: var(--primary); }
.sucesso p { color: var(--muted); margin-bottom: 8px; font-size: 16px; }
.sucesso .muted { font-size: 14px; }

@media (max-width: 560px) {
  .hero-texto h1 { font-size: 28px; }
  .titulo-secao { font-size: 24px; }
  .modal-conteudo { max-width: 100%; }
  .modal-fechar { top: -42px; }
}

/* ── Ajustes da identidade azul-marinho + dourado ───────────────────── */
.btn-cta, button[type="submit"], .passo-numero, .icon-num, .categoria-pill.ativa { color: var(--primary); }
.btn-cta { border-radius: 6px; font-weight: 700; }
button[type="submit"] { border-radius: 6px; font-weight: 700; }
.hero { background: repeating-linear-gradient(90deg, rgba(32,56,90,.3) 0 1px, transparent 1px 96px), #07111F; }
.topo { background: #07111F; border-bottom-color: #20385A; }
.hero-texto h1 { font-weight: 600; letter-spacing: -0.015em; }
.hero-tag, .card-eyebrow, .carrinho-titulo { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-weight: 500; letter-spacing: .1em; border-radius: 3px; }
.hero-card { border-radius: 10px; border-top: 3px solid var(--accent); }
.hero-card-check { background: var(--accent-claro); color: var(--accent-ink); }
.hero-card-nota a, .link-voltar, .checkbox-linha a, .card-eyebrow, .carrinho-titulo, .carrinho-item-qtd, .faq-icone { color: var(--accent-ink); }
.segmentado input:checked + span { color: var(--accent-ink); }
.titulo-secao { font-weight: 600; letter-spacing: -0.015em; }
.rodape { background: #07111F; }
.topo-logo-link { display: inline-flex; }
.topo-voltar { color: #A3B2C7; text-decoration: none; font-size: 14px; margin-right: 14px; }
.topo-voltar:hover { color: #fff; }
.rodape-contato a { color: var(--accent); }
