:root {
  --fundo: #0a0f1c;
  --fundo-2: #111a2e;
  --borda: #22304d;
  --texto: #f4f6fb;
  --texto-2: #9aa7c0;
  --laranja: #ff6a00;
  --laranja-2: #ff8a1f;
  --amarelo: #ffb800;
  --azul: #1f6fe5;
  --wpp: #1fb45a;
  --wpp-2: #149447;
  --tg: #2a9fdc;
  --tg-2: #1c7fbc;
}

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

html { -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px 24px;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--texto);
  background:
    radial-gradient(600px 380px at 50% -80px, rgba(255, 106, 0, .22), transparent 70%),
    radial-gradient(420px 300px at 100% 100%, rgba(31, 111, 229, .14), transparent 70%),
    var(--fundo);
  background-attachment: fixed;
}

.card {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.selo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 106, 0, .45);
  border-radius: 999px;
  background: rgba(255, 106, 0, .1);
  color: var(--laranja-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.pulso {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--laranja);
  box-shadow: 0 0 0 0 rgba(255, 106, 0, .7);
  animation: pulso 1.8s infinite;
}

@keyframes pulso {
  70% { box-shadow: 0 0 0 8px rgba(255, 106, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 106, 0, 0); }
}

.logo {
  margin: 18px 0 10px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  filter: drop-shadow(0 10px 28px rgba(255, 106, 0, .35));
}

h1 {
  font-size: clamp(30px, 8.5vw, 40px);
  font-style: italic;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.02em;
}

.destaque {
  background: linear-gradient(90deg, var(--laranja), var(--amarelo));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 4px;
}

.sub {
  margin-top: 10px;
  color: var(--texto-2);
  font-size: 15px;
  line-height: 1.5;
}

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 20px;
}

.chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--borda);
  border-radius: 10px;
  background: var(--fundo-2);
  font-size: 12.5px;
  font-weight: 600;
}

.chips .ic { color: var(--amarelo); font-weight: 800; }

.botoes { width: 100%; display: grid; gap: 14px; }

.btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  color: #fff;
  text-align: left;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 3px; }

.btn-wpp {
  background: linear-gradient(135deg, var(--wpp), var(--wpp-2));
  box-shadow: 0 10px 30px rgba(31, 180, 90, .35), inset 0 0 0 2px rgba(255, 184, 0, .7);
  animation: chamar 2.6s ease-in-out infinite;
}

@keyframes chamar {
  0%, 100% { box-shadow: 0 10px 30px rgba(31, 180, 90, .35), inset 0 0 0 2px rgba(255, 184, 0, .7); }
  50% { box-shadow: 0 10px 40px rgba(31, 180, 90, .6), inset 0 0 0 2px rgba(255, 184, 0, 1); }
}

.btn-tg {
  background: linear-gradient(135deg, var(--tg), var(--tg-2));
  box-shadow: 0 10px 30px rgba(42, 159, 220, .28);
}

.btn-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .18);
}

.btn-ico svg { width: 26px; height: 26px; }

.btn-txt { flex: 1; display: flex; flex-direction: column; min-width: 0; }

.btn-txt small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .85;
}

.btn-txt strong { font-size: 17px; font-weight: 700; line-height: 1.3; }

.btn-txt em { font-size: 12.5px; font-style: normal; font-weight: 500; opacity: .9; }

.seta { font-size: 30px; line-height: 1; opacity: .9; }

.tag {
  position: absolute;
  top: -10px;
  right: 16px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--amarelo);
  color: #1a1200;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.garantias {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin-top: 16px;
  color: var(--texto-2);
  font-size: 12.5px;
}

.garantias span::first-letter { color: var(--amarelo); }

/* Carrossel de lojas/ofertas */
.ticker {
  width: calc(100% + 32px);
  margin: 36px -16px 0;
  overflow: hidden;
  border-block: 1px solid var(--borda);
  background: rgba(17, 26, 46, .6);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-trilho {
  display: flex;
  width: max-content;
  animation: rolar 32s linear infinite;
}

.ticker-grupo { display: flex; }

.ticker span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-right: 1px solid var(--borda);
  color: var(--texto-2);
  font-size: 13px;
  white-space: nowrap;
}

.ticker span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--laranja);
}

.ticker b { color: var(--texto); font-weight: 700; }
.ticker i { color: var(--amarelo); font-style: normal; font-weight: 700; }

@keyframes rolar { to { transform: translateX(-50%); } }

/* Benefícios */
.beneficios {
  width: 100%;
  max-width: 960px;
  display: grid;
  margin-top: 32px;
  border: 1px solid var(--borda);
  border-radius: 20px;
  background: rgba(17, 26, 46, .55);
  overflow: hidden;
}

.beneficios article { padding: 22px 22px 24px; }
.beneficios article + article { border-top: 1px solid var(--borda); }

.beneficios svg,
.lojas svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--laranja);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.beneficios h2 {
  margin: 12px 0 6px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.beneficios p { color: var(--texto-2); font-size: 14px; line-height: 1.6; }

@media (min-width: 720px) {
  .beneficios { grid-template-columns: repeat(3, 1fr); }
  .beneficios article + article { border-top: 0; border-left: 1px solid var(--borda); }
}

/* Lojas */
.lojas {
  width: 100%;
  max-width: 960px;
  margin-top: 32px;
  text-align: center;
}

.lojas p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--laranja-2);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.lojas p svg { width: 22px; height: 22px; }

.lojas ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.lojas li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border: 1px solid var(--borda);
  border-radius: 16px;
  background: var(--fundo-2);
  font-size: 14px;
  font-weight: 700;
}

.lojas img {
  width: 28px;
  height: 28px;
  padding: 3px;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
}

/* Pop-up informativo */
.toast {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 32px);
  padding: 12px 18px 12px 12px;
  border: 1px solid var(--borda);
  border-radius: 16px;
  background: rgba(10, 15, 28, .94);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}

.toast.visivel { opacity: 1; transform: none; }

.toast-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--laranja);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.toast-wpp .toast-ico { background: var(--wpp); }
.toast-tg .toast-ico { background: var(--tg); }

.toast-txt { display: flex; flex-direction: column; }
.toast-txt strong { font-size: 14px; font-weight: 700; }
.toast-txt small { color: var(--texto-2); font-size: 12px; }

footer {
  margin-top: auto;
  padding-top: 28px;
  color: #6b7892;
  font-size: 11.5px;
  line-height: 1.6;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .pulso, .btn-wpp, .ticker-trilho { animation: none; }
  .toast { transition: none; }
  .btn { transition: none; }
}

/* ===== Tema construção/ferramentas (body.tema-obra) ===== */
.tema-obra {
  --fundo: #141619;
  --fundo-2: #1d2024;
  --borda: #34383f;
  --texto-2: #a9adb5;
  --seguranca: #ffc400;
  --preto: #121212;
  --faixa: repeating-linear-gradient(-45deg, var(--seguranca) 0 14px, var(--preto) 14px 28px);
  padding-top: 0;
  overflow-x: hidden; /* fita do carrossel é girada */
  background:
    radial-gradient(520px 320px at 50% 0, rgba(255, 196, 0, .16), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--fundo);
}

.faixa-obra {
  width: calc(100% + 32px);
  height: 12px;
  margin: 0 -16px 20px;
  background: var(--faixa);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}

.tema-obra .selo {
  border-radius: 4px;
  border-color: var(--seguranca);
  background: rgba(255, 196, 0, .1);
  color: var(--seguranca);
  font-family: "Oswald", "Poppins", sans-serif;
  font-size: 13px;
  letter-spacing: .12em;
}

.tema-obra .pulso { background: var(--seguranca); animation-name: pulso-obra; }

@keyframes pulso-obra {
  0% { box-shadow: 0 0 0 0 rgba(255, 196, 0, .7); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(255, 196, 0, 0); }
}

.tema-obra .logo {
  width: 160px;
  height: 160px;
  filter: drop-shadow(0 10px 28px rgba(255, 196, 0, .3));
}

.tema-obra h1 {
  font-family: "Oswald", "Poppins", sans-serif;
  font-size: clamp(38px, 11vw, 52px);
  font-style: normal;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.tema-obra .destaque {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 12px;
  background: var(--seguranca);
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: var(--preto);
  transform: rotate(-1.5deg);
  box-shadow: 4px 4px 0 var(--laranja);
}

.tema-obra .chips li {
  border-radius: 4px;
  border-left: 3px solid var(--seguranca);
}

.tema-obra .btn { border-radius: 10px; }

.tema-obra .btn-wpp {
  overflow: hidden;
  padding-bottom: 24px;
  box-shadow: 0 10px 30px rgba(31, 180, 90, .3), 0 0 0 2px var(--seguranca);
  animation: none;
}

.tema-obra .btn-wpp::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: var(--faixa);
  background-size: 40px 40px;
  animation: faixa-andando 1.2s linear infinite;
}

@keyframes faixa-andando { to { background-position: 40px 0; } }

.tema-obra .btn-ico { border-radius: 8px; }

/* Carrossel como fita de isolamento */
.tema-obra .ticker {
  margin-top: 40px;
  border: 0;
  border-block: 3px solid var(--preto);
  background: var(--seguranca);
  transform: rotate(-2deg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
  -webkit-mask-image: none;
  mask-image: none;
}

.tema-obra .ticker span {
  border-right: 0;
  color: var(--preto);
  font-family: "Oswald", "Poppins", sans-serif;
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.tema-obra .ticker span::before {
  width: 0;
  height: 0;
  border-radius: 0;
  background: none;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 12px solid var(--preto);
}

.tema-obra .ticker b { color: var(--preto); }
.tema-obra .ticker i { color: #b33c00; }

/* Benefícios como placas de aço */
.tema-obra .beneficios {
  margin-top: 40px;
  border-radius: 8px;
  border-top: 6px solid var(--seguranca);
  background: linear-gradient(180deg, #23262b, #1a1c20);
}

.tema-obra .beneficios article { position: relative; }

.tema-obra .beneficios article::before,
.tema-obra .beneficios article::after {
  content: "";
  position: absolute;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4a4f57;
  box-shadow: inset -1px -1px 1px rgba(0, 0, 0, .6);
}

.tema-obra .beneficios article::before { left: 12px; }
.tema-obra .beneficios article::after { right: 12px; }

.tema-obra .beneficios svg,
.tema-obra .lojas svg { stroke: var(--seguranca); }

.tema-obra .beneficios h2 {
  font-family: "Oswald", "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .04em;
}

.tema-obra .lojas p {
  color: var(--seguranca);
  font-family: "Oswald", "Poppins", sans-serif;
  font-size: 16px;
  letter-spacing: .1em;
}

.tema-obra .lojas li { border-radius: 6px; }

.tema-obra .toast { border-radius: 8px; border-left: 4px solid var(--seguranca); }
.tema-obra .toast-ferramenta .toast-ico { background: var(--seguranca); }

@media (prefers-reduced-motion: reduce) {
  .tema-obra .btn-wpp::after { animation: none; }
}

/* ===== Tema achados/cupons (body.tema-achados) ===== */
.tema-achados {
  --cupom: #1a2340;
  --picote: rgba(255, 184, 0, .55);
  overflow-x: clip;
  background:
    radial-gradient(600px 380px at 50% -80px, rgba(255, 106, 0, .24), transparent 70%),
    radial-gradient(420px 300px at 100% 100%, rgba(31, 111, 229, .16), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .06) 1px, transparent 1.5px) 0 0 / 22px 22px,
    var(--fundo);
}

/* Selo em formato de etiqueta de preço */
.tema-achados .selo {
  position: relative;
  padding: 7px 16px 7px 30px;
  border: 0;
  border-radius: 0 999px 999px 0;
  background: var(--laranja);
  color: #fff;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%);
}

.tema-achados .furo {
  position: absolute;
  left: 13px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--fundo);
}

/* "caro" riscado + etiqueta "menos" */
.tema-achados h1 s {
  color: var(--texto-2);
  text-decoration-thickness: 4px;
  text-decoration-color: var(--laranja);
}

.tema-achados .destaque {
  -webkit-background-clip: border-box;
  background-clip: border-box;
  background: none;
  color: inherit;
}

.tema-achados .etiqueta {
  display: inline-block;
  margin-left: 8px;
  padding: 0 12px 2px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--laranja), var(--amarelo));
  color: #1a0d00;
  transform: rotate(-4deg) translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 106, 0, .4);
  animation: carimbo .5s cubic-bezier(.2, 1.6, .4, 1) .3s both;
}

@keyframes carimbo {
  from { opacity: 0; transform: rotate(-8deg) scale(1.2); }
  to { opacity: 1; transform: rotate(-4deg) translateY(-2px) scale(1); }
}

/* Chips como mini cupons */
.tema-achados .chips li {
  border: 1.5px dashed var(--picote);
  border-radius: 8px;
  background: var(--cupom);
}

/* Botões com picote entre ícone e texto */
.tema-achados .btn-ico {
  position: relative;
  margin-right: 6px;
}

.tema-achados .btn-ico::after {
  content: "";
  position: absolute;
  top: -10px;
  bottom: -10px;
  right: -11px;
  border-right: 2px dashed rgba(255, 255, 255, .45);
}

/* Carrossel como tira de cupom picotada */
.tema-achados .ticker {
  border: 0;
  background:
    radial-gradient(circle at 8px 0, var(--fundo) 5px, transparent 5.5px) 0 0 / 16px 100% repeat-x,
    radial-gradient(circle at 8px 100%, var(--fundo) 5px, transparent 5.5px) 0 0 / 16px 100% repeat-x,
    linear-gradient(90deg, var(--laranja), var(--laranja-2));
}

.tema-achados .ticker span { border-right: 1.5px dashed rgba(26, 13, 0, .35); color: rgba(26, 13, 0, .8); padding-block: 15px; }
.tema-achados .ticker span::before { background: #fff; }
.tema-achados .ticker b { color: #1a0d00; }
.tema-achados .ticker i { color: #fff; }

/* Benefícios como cupons destacáveis */
.tema-achados .beneficios {
  gap: 14px;
  border: 0;
  background: none;
  overflow: visible;
}

.tema-achados .beneficios article {
  position: relative;
  border: 0;
  border-radius: 14px;
  background:
    radial-gradient(circle at 0 50%, var(--fundo) 11px, transparent 11.5px),
    radial-gradient(circle at 100% 50%, var(--fundo) 11px, transparent 11.5px),
    var(--cupom);
}

.tema-achados .beneficios article + article { border: 0; }

.tema-achados .beneficios h2 {
  padding-bottom: 10px;
  border-bottom: 1.5px dashed rgba(255, 255, 255, .14);
  color: var(--amarelo);
}

/* Lojas como etiquetas */
.tema-achados .lojas li {
  border: 1.5px dashed var(--borda);
  border-radius: 999px;
}

.tema-achados .toast {
  border: 1.5px dashed var(--picote);
  background: rgba(26, 35, 64, .96);
}

@media (prefers-reduced-motion: reduce) {
  .tema-achados .etiqueta { animation: none; }
}

/* ===== Página /entrando (antes do grupo) ===== */
.pagina-entrando:not(.tema-obra) .faixa-obra { display: none; }
.pagina-entrando .card { margin-top: 12px; }
.pagina-entrando .logo { width: 96px; height: 96px; margin: 8px 0 18px; }
.pagina-entrando h1 { font-size: clamp(26px, 7.5vw, 34px); }
.pagina-entrando .sub { margin-bottom: 20px; }

.carregando {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border: 4px solid var(--borda);
  border-top-color: var(--laranja);
  border-radius: 50%;
  animation: girar .8s linear infinite;
}

.tema-obra .carregando { border-top-color: var(--seguranca); }

@keyframes girar { to { transform: rotate(360deg); } }

.passos {
  width: 100%;
  margin-top: 26px;
  padding: 20px;
  border: 1px solid var(--borda);
  border-radius: 16px;
  background: var(--fundo-2);
  text-align: left;
}

.passos h2 {
  margin-bottom: 14px;
  color: var(--laranja-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tema-obra .passos { border-radius: 8px; border-top: 5px solid var(--seguranca); }
.tema-obra .passos h2 { color: var(--seguranca); font-family: "Oswald", "Poppins", sans-serif; font-size: 16px; }
.tema-achados .passos { border: 1.5px dashed var(--picote); background: var(--cupom); }

.passos ol { list-style: none; counter-reset: passo; display: grid; gap: 14px; }

.passos li {
  position: relative;
  padding-left: 42px;
  counter-increment: passo;
}

.passos li::before {
  content: counter(passo);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--laranja);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.tema-obra .passos li::before { border-radius: 4px; background: var(--seguranca); color: var(--preto); }

.passos strong { display: block; font-size: 15px; }
.passos span { color: var(--texto-2); font-size: 13.5px; }

@media (prefers-reduced-motion: reduce) {
  .carregando { animation-duration: 3s; }
}
