:root {
  --fundo: #0b0b0c;
  --fundo-2: #141416;
  --linha: #26262a;
  --texto: #f2f0ea;
  --suave: #a7a49b;
  --ouro: #e6b325;
  --ouro-escuro: #b8891a;
  --verde: #58c08a;
  --vermelho: #e0705f;
  --raio: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--fundo);
  color: var(--texto);
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ouro); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--ouro); color: #121212;
  border: 0; border-radius: 999px;
  padding: 1rem 1.6rem; font: 700 1rem "Manrope", sans-serif;
  cursor: pointer; transition: transform .15s, background .15s; text-decoration: none;
}
.btn:hover { background: #f2c440; transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-pequeno { padding: .6rem 1.1rem; font-size: .9rem; }
.btn-secundario { background: transparent; color: var(--texto); border: 1px solid var(--linha); }
.btn-secundario:hover { background: var(--fundo-2); }

/* Topo */
.topo {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: .9rem clamp(16px, 5vw, 64px);
  background: rgba(11, 11, 12, .85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linha);
}
.marca { color: var(--texto); text-decoration: none; font-weight: 800; display: flex; align-items: center; gap: .7rem; }
.marca-elmo { height: 40px; width: auto; }
.marca-texto { display: flex; flex-direction: column; line-height: 1.1; }
.marca-texto span { font-size: .72rem; font-weight: 600; color: var(--ouro); text-transform: uppercase; letter-spacing: .08em; }

/* Hero */
main, .rodape { max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 64px); }
.hero {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 64px);
  align-items: center; padding: clamp(40px, 8vw, 96px) 0;
}
.selo { color: var(--ouro); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.9rem); font-weight: 800; margin-bottom: 1.2rem; }
.hero h1 em { font-style: normal; color: var(--ouro); }
.sub { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--suave); max-width: 34em; margin-bottom: 2rem; }
.nota { margin-top: .9rem; font-size: .85rem; color: var(--suave); }

.hero-foto { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--linha); background: var(--fundo-2); aspect-ratio: 4 / 5; }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; }
.hero-foto figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.2rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,.85)); font-size: .85rem; color: var(--suave);
}
.hero-foto figcaption strong { display: block; color: var(--texto); font-size: 1rem; }
.hero-foto.sem-foto img { display: none; }
.hero-foto.sem-foto::before {
  content: "LB"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 5rem; font-weight: 800; color: var(--ouro-escuro);
}

/* Blocos */
.bloco { padding: clamp(40px, 7vw, 80px) 0; border-top: 1px solid var(--linha); }
.bloco h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: 1.8rem; }
.cartoes { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.cartoes article { background: var(--fundo-2); border: 1px solid var(--linha); border-radius: var(--raio); padding: 1.3rem; }
.cartoes h3 { font-size: 1.05rem; margin-bottom: .4rem; color: var(--ouro); }
.cartoes p { color: var(--suave); font-size: .95rem; }

.passos { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.passos li { display: flex; gap: 1rem; background: var(--fundo-2); border: 1px solid var(--linha); border-radius: var(--raio); padding: 1.3rem; }
.passos span { flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--ouro); color: #121212; font-weight: 800; }
.passos h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.passos p { color: var(--suave); font-size: .95rem; }

.filtro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); }
.lista { list-style: none; display: grid; gap: .8rem; }
.lista li { padding-left: 2rem; position: relative; font-size: 1.05rem; }
.lista li::before { position: absolute; left: 0; font-weight: 800; }
.lista.sim li::before { content: "✓"; color: var(--verde); }
.lista.nao li::before { content: "✕"; color: var(--vermelho); }

.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details { background: var(--fundo-2); border: 1px solid var(--linha); border-radius: var(--raio); padding: 1.1rem 1.3rem; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; color: var(--ouro); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--suave); margin-top: .7rem; }

.chamada { text-align: center; padding: clamp(48px, 8vw, 96px) 0; border-top: 1px solid var(--linha); }
.chamada h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .5rem; }
.chamada p { color: var(--suave); margin-bottom: 1.8rem; }

.rodape { padding-top: 2rem; padding-bottom: 2.5rem; border-top: 1px solid var(--linha); color: var(--suave); font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }

/* Teste */
.teste { min-height: calc(100vh - 64px); display: flex; justify-content: center; padding: clamp(24px, 6vw, 72px) 16px; }
.teste[hidden] { display: none; }
.teste-caixa { width: 100%; max-width: 620px; }
.teste-topo { display: flex; justify-content: space-between; align-items: center; color: var(--suave); font-size: .9rem; margin-bottom: .8rem; }
.voltar { background: none; border: 0; color: var(--suave); font: inherit; cursor: pointer; padding: .3rem 0; }
.voltar:hover { color: var(--texto); }
.voltar[disabled] { visibility: hidden; }
.barra { height: 4px; background: var(--linha); border-radius: 4px; overflow: hidden; margin-bottom: 2.2rem; }
#progresso { height: 100%; width: 0; background: var(--ouro); transition: width .3s; }

.pergunta h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); margin-bottom: .5rem; }
.pergunta .ajuda { color: var(--suave); margin-bottom: 1.6rem; }
.opcoes { display: grid; gap: 10px; }
.opcao {
  text-align: left; width: 100%;
  background: var(--fundo-2); color: var(--texto);
  border: 1px solid var(--linha); border-radius: var(--raio);
  padding: 1.05rem 1.2rem; font: 600 1.02rem "Manrope", sans-serif;
  cursor: pointer; transition: border-color .15s, background .15s;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.opcao::after { content: "→"; color: var(--suave); }
.opcao:hover, .opcao:focus-visible { border-color: var(--ouro); outline: none; }
.opcao.marcada { border-color: var(--ouro); background: #1d1a10; }
.opcao.marcada::after { content: "✓"; color: var(--ouro); }

/* Resultado */
.resultado .rotulo { color: var(--ouro); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.resultado h2 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); margin: .4rem 0 1rem; }
.resultado .texto { color: var(--suave); font-size: 1.05rem; margin-bottom: 1.4rem; }
.medidor { display: flex; gap: 6px; margin-bottom: 1.6rem; }
.medidor i { flex: 1; height: 8px; border-radius: 4px; background: var(--linha); }
.medidor i.on { background: var(--ouro); }
.fortes { background: var(--fundo-2); border: 1px solid var(--linha); border-radius: var(--raio); padding: 1.2rem 1.3rem; margin-bottom: 1.8rem; }
.fortes h3 { font-size: 1rem; margin-bottom: .6rem; }
.fortes ul { list-style: none; display: grid; gap: .45rem; }
.fortes li { padding-left: 1.6rem; position: relative; color: var(--suave); }
.fortes li::before { content: "✓"; position: absolute; left: 0; color: var(--verde); font-weight: 800; }
.fortes li.atencao::before { content: "•"; color: var(--ouro); }

.form { display: grid; gap: 12px; }
.form h3 { font-size: 1.15rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .92rem; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"] {
  background: var(--fundo-2); color: var(--texto); border: 1px solid var(--linha); border-radius: 10px;
  padding: .9rem 1rem; font: 500 1rem "Manrope", sans-serif;
}
.form input:focus { outline: none; border-color: var(--ouro); }
.consentimento { display: flex !important; grid-template-columns: none; gap: .7rem !important; align-items: flex-start; font-weight: 500 !important; font-size: .82rem !important; color: var(--suave); }
.consentimento input { margin-top: .2rem; accent-color: var(--ouro); width: 18px; height: 18px; flex: none; }
.erro { color: var(--vermelho); font-size: .88rem; min-height: 1.2em; }
.isca { position: absolute; left: -9999px; }
.alternativa { margin-top: 1.2rem; font-size: .92rem; color: var(--suave); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; }
  .hero-foto { order: -1; max-width: 360px; aspect-ratio: 1 / 1; }
  .passos, .filtro { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .btn-pequeno { width: auto; }
  .rodape { flex-direction: column; }
}

/* Página inicial: escolha entre cotação e consultor */
.escolha { display: grid; gap: 12px; max-width: 34em; }
.opcao-grande {
  position: relative; display: grid; gap: .2rem;
  background: var(--fundo-2); border: 1px solid var(--linha); border-radius: var(--raio);
  padding: 1.1rem 3.4rem 1.1rem 1.3rem; color: var(--texto); text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.opcao-grande:hover { border-color: var(--ouro); transform: translateY(-2px); }
.opcao-grande:first-child { background: var(--ouro); border-color: var(--ouro); color: #121212; }
.opcao-grande:first-child:hover { background: #f2c440; }
.opcao-rotulo { color: var(--ouro); font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.opcao-grande strong { font-size: 1.15rem; line-height: 1.25; }
.opcao-texto { color: var(--suave); font-size: .92rem; }
.opcao-grande:first-child .opcao-rotulo, .opcao-grande:first-child .opcao-texto { color: #3a2f0c; }
.seta { position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 700; }

.hero-inicio { padding-top: clamp(32px, 6vw, 72px); }
.hero-inicio h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.hero-inicio .sub { margin-bottom: 1.6rem; }

.intro { color: var(--suave); font-size: 1.1rem; max-width: 46em; margin: -0.8rem 0 1.8rem; }
.sobre-impetu { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; margin-bottom: 2rem; }
.sobre-impetu .intro { margin-bottom: 0; }
.logo-impetu { width: 100%; height: auto; }
.sobre { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.sobre p { color: var(--suave); font-size: 1.05rem; margin-bottom: 1rem; max-width: 34em; }
.sobre .btn { margin-top: .4rem; }
.dados { display: grid; gap: 10px; }
.dados div { background: var(--fundo-2); border: 1px solid var(--linha); border-radius: var(--raio); padding: 1.1rem 1.3rem; }
.dados dt { color: var(--ouro); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.dados dd { margin-top: .2rem; }
.chamada-botoes { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Teste: confirmação depois de enviar */
.enviado { text-align: center; padding: 2rem 0; }
.enviado .icone { width: 64px; height: 64px; margin: 0 auto 1.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--ouro); color: #121212; font-size: 2rem; font-weight: 800; }
.enviado h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: .8rem; }
.enviado p { color: var(--suave); font-size: 1.05rem; margin-bottom: 1.6rem; }

@media (max-width: 820px) {
  .sobre { grid-template-columns: 1fr; }
  .hero-inicio .hero-foto { order: -1; max-width: none; width: 100%; aspect-ratio: 16 / 10; }
  .hero-inicio .hero-foto img { object-position: 50% 22%; }
  .hero-inicio { gap: 22px; padding-top: 20px; }
  .sobre-impetu { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .logo-impetu { max-width: 200px; }
  .chamada-botoes { flex-direction: column; }
}

/* Home: as duas escolhas (cotação e afiliado) são o destaque principal, lado a lado e com o mesmo peso */
.escolha { grid-template-columns: 1fr 1fr; gap: 12px; max-width: none; }
.escolha-card {
  display: flex; flex-direction: column; gap: .3rem; min-height: 100%;
  background: linear-gradient(160deg, #f2c440, var(--ouro) 60%, #c9961c); color: #121212; text-decoration: none;
  border-radius: 18px; padding: 1.2rem 1.1rem 1rem; box-shadow: 0 0 0 5px rgba(230,179,37,.14), 0 14px 36px rgba(0,0,0,.45);
  transition: transform .15s, box-shadow .15s;
}
.escolha-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 7px rgba(230,179,37,.22), 0 18px 44px rgba(0,0,0,.5); }
.escolha-icone { width: 44px; height: 44px; border-radius: 12px; background: #121212; display: grid; place-items: center; margin-bottom: .4rem; }
.escolha-icone svg { width: 26px; height: 26px; fill: none; stroke: var(--ouro); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.escolha-rotulo { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #4a3a0c; }
.escolha-card strong { font-size: clamp(1.2rem, 2.6vw, 1.5rem); line-height: 1.15; }
.escolha-texto { font-size: .9rem; color: #3a2f0c; line-height: 1.35; flex: 1; }
.escolha-acao { margin-top: .6rem; display: flex; justify-content: space-between; align-items: center; background: #121212; color: var(--ouro); font-weight: 800; font-size: .92rem; border-radius: 999px; padding: .65rem .9rem; }
.hero-inicio .hero-texto { min-width: 0; }
@media (max-width: 820px) {
  .hero-inicio { padding-top: 22px; gap: 22px; }
  .hero-inicio .selo { margin-bottom: .6rem; }
  .hero-inicio h1 { font-size: 1.85rem; margin-bottom: .7rem; }
  .hero-inicio .sub { font-size: 1rem; margin-bottom: 1.1rem; }
  .hero-inicio .hero-foto { order: 1; max-width: 100%; aspect-ratio: 16 / 10; }
  .hero-inicio .hero-foto img { object-position: center 25%; }
}
@media (max-width: 420px) {
  .escolha { gap: 10px; }
  .escolha-card { padding: 1rem .85rem .85rem; }
  .escolha-icone { width: 38px; height: 38px; }
  .escolha-card strong { font-size: 1.1rem; }
  .escolha-texto { font-size: .82rem; }
  .escolha-acao { font-size: .8rem; padding: .55rem .7rem; }
  .escolha-acao span { display: none; }
}
