:root {
  --bg: #120f0d;
  --papel: #1c1815;
  --papel-2: #241f1b;
  --linha: rgba(255, 236, 214, 0.1);
  --texto: #fbf4ec;
  --suave: #b3a79b;
  --laranja: #ff8a00;
  --amarelo: #ffcf2e;
  --zap: #25d366;
  --c: var(--laranja);
  --t: #120f0d;
  --fonte: "Bricolage Grotesque", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 236, 214, 0.07) 1px, transparent 0) 0 0 / 22px 22px,
    radial-gradient(90% 50% at 50% 0%, color-mix(in srgb, var(--c) 18%, transparent), transparent 70%),
    var(--bg);
  color: var(--texto);
  font-family: var(--fonte);
  line-height: 1.5;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
mark {
  color: inherit; padding: 0 0.12em;
  background: linear-gradient(transparent 55%, color-mix(in srgb, var(--amarelo) 55%, transparent) 55%);
}

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 20px 16px 40px; }

/* ---------- comuns ---------- */
.marca { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; white-space: nowrap; }
.marca img { width: 36px; height: 36px; border-radius: 10px; }

.topo { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.topo-link, .pilula {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--linha);
  font-size: 13px; font-weight: 600; color: var(--suave); white-space: nowrap;
}
.pilula i { color: var(--zap); margin-right: 6px; }
.topo-link:hover { color: var(--texto); border-color: var(--suave); }
@media (max-width: 380px) { .pilula span { display: none; } .pilula i { margin: 0; } }
@media (max-width: 400px) { .topo-link { display: none; } }

/* etiqueta de preço com o nicho */
.etiqueta {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 22px; background: var(--c); color: var(--t);
  font-weight: 800; font-size: 13px;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%);
  border-radius: 0 8px 8px 0;
}
.etiqueta::before {
  content: ""; position: absolute; left: 9px; top: 50%; width: 6px; height: 6px;
  margin-top: -3px; border-radius: 50%; background: var(--bg);
}

/* faixa de ofertas correndo */
.faixa {
  margin: 36px -16px; padding: 12px 0; overflow: hidden;
  background: var(--amarelo); color: #1a1205; transform: rotate(-1.5deg);
}
.faixa-trilho {
  display: flex; align-items: center; gap: 22px; width: max-content;
  font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: 0.02em;
  animation: corre 28s linear infinite;
}
.faixa-trilho i { font-size: 12px; opacity: 0.6; }
@keyframes corre { to { transform: translateX(-50%); } }

/* ---------- hub ---------- */
.hero { display: grid; gap: 24px; align-items: center; margin: 44px 0 0; }
.hero-logo {
  width: 132px; border-radius: 28px; transform: rotate(-5deg);
  box-shadow: 0 0 0 6px var(--bg), 0 0 0 8px var(--amarelo), 0 24px 50px -10px rgba(255, 138, 0, 0.5);
}
.hero h1 {
  font-weight: 800; letter-spacing: -0.035em; line-height: 0.98;
  font-size: clamp(44px, 12vw, 88px);
}
.hero h1 em { font-style: normal; color: var(--amarelo); }
.hero p { margin-top: 16px; max-width: 46ch; font-size: 17px; color: var(--suave); }
@media (min-width: 760px) {
  .hero { grid-template-columns: auto 1fr; gap: 44px; }
  .hero-logo { width: 200px; }
}

.secao { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.secao h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.secao span { font-size: 14px; color: var(--suave); white-space: nowrap; }

.grade { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .grade { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .grade { grid-template-columns: repeat(3, 1fr); } }

/* card em formato de cupom */
.ticket {
  --furo: 14px;
  position: relative; display: flex; flex-direction: column;
  background: var(--papel); border-radius: 22px; padding: 10px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.ticket:hover { transform: translateY(-4px) rotate(-0.4deg); box-shadow: 0 24px 50px -24px var(--c); }

.ticket-img { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 5 / 4; }
.ticket-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 0.6s; }
.ticket:hover .ticket-img img { transform: scale(1.05); }
.ticket-img .etiqueta { position: absolute; left: 12px; bottom: 12px; transform: rotate(-4deg); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35); }

.ticket-info { padding: 16px 8px 4px; flex: 1; }
.ticket-info h3 { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.ticket-info h3 em { font-style: normal; color: var(--c); }
.ticket-info p { margin-top: 8px; font-size: 14.5px; color: var(--suave); }

/* picote do cupom */
.ticket-corte {
  position: relative; height: var(--furo); margin: 14px calc(-10px - var(--furo) / 2);
  background: linear-gradient(90deg, var(--linha) 50%, transparent 0) center / 12px 2px repeat-x;
}
.ticket-corte::before, .ticket-corte::after {
  content: ""; position: absolute; top: 0; width: var(--furo); height: var(--furo);
  border-radius: 50%; background: var(--bg);
}
.ticket-corte::before { left: 0; }
.ticket-corte::after { right: 0; }

.ticket-cta {
  display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px;
  padding: 12px 16px; border-radius: 14px; background: var(--papel-2);
  border: 1px solid var(--linha); transition: background 0.2s, color 0.2s;
}
.ticket-cta .fa-whatsapp {
  grid-row: span 2; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px; background: var(--zap); color: #fff; font-size: 22px;
}
.ticket-cta span { font-weight: 800; font-size: 16px; }
.ticket-cta small { font-size: 12.5px; color: var(--suave); }
.ticket-cta:hover { background: var(--c); color: var(--t); }
.ticket-cta:hover small { color: inherit; opacity: 0.75; }

.rodape {
  margin-top: 56px; padding-top: 20px; border-top: 1px dashed var(--linha);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  font-size: 13px; color: #8a7f74;
}

/* ---------- página de nicho: tela única, sem scroll ---------- */
body.nicho { height: 100vh; height: 100dvh; overflow: hidden; }
.nicho .wrap {
  max-width: 520px; height: 100%;
  display: flex; flex-direction: column; gap: 14px;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
}

/* a foto ocupa o espaço que sobrar e encolhe em telas baixas */
.n-foto { position: relative; flex: 1 1 auto; min-height: 90px; }
.n-foto img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  border-radius: 22px; border: 3px solid var(--c);
  box-shadow: 8px 8px 0 color-mix(in srgb, var(--c) 35%, transparent);
}
.selo-gratis {
  position: absolute; top: 10px; right: 10px; display: grid; place-items: center; align-content: center;
  width: 74px; height: 74px; border-radius: 50%; transform: rotate(12deg);
  background: var(--amarelo); color: #1a1205; text-align: center;
  font-weight: 800; font-size: 18px; line-height: 0.95;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}
.selo-gratis b { display: block; font-size: 13px; text-transform: uppercase; }

.n-texto { flex: none; }
.n-titulo {
  margin-top: 10px; font-weight: 800; letter-spacing: -0.035em; line-height: 1;
  font-size: clamp(24px, 6.5vw, 32px);
}
.n-titulo em { display: block; font-style: normal; color: var(--c); font-size: 1.55em; }
.lead { margin-top: 8px; font-size: 15.5px; line-height: 1.4; color: var(--suave); }

.n-itens { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.n-itens li {
  padding: 5px 10px; border-radius: 999px; background: var(--papel); border: 1px solid var(--linha);
  font-size: 12.5px; font-weight: 600;
}
.n-itens li i { color: var(--c); margin-right: 5px; font-size: 11px; }

.cta-zap {
  flex: none; display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-bottom: 4px; padding: 16px 20px; border-radius: 16px;
  background: var(--zap); color: #fff;
  font-weight: 800; font-size: 18px;
  box-shadow: 0 6px 0 #1a9e4b, 0 18px 40px -12px rgba(37, 211, 102, 0.55);
  transition: transform 0.1s, box-shadow 0.1s;
}
.cta-zap .fa-whatsapp { font-size: 26px; }
.cta-zap:active { transform: translateY(4px); box-shadow: 0 2px 0 #1a9e4b; }
.micro { flex: none; text-align: center; font-size: 12.5px; color: var(--suave); }
.micro i { margin-right: 4px; }
.micro a { text-decoration: underline; text-underline-offset: 3px; }
.micro a:hover { color: var(--texto); }

/* telas baixas: tira o que é extra pra tudo caber */
@media (max-height: 700px) {
  .n-itens { display: none; }
  .nicho .wrap { gap: 10px; }
}
@media (max-height: 560px) {
  .lead { display: none; }
  .selo-gratis { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
