/* Layout: mobile-first, uma coluna estreita centralizada (máx. 600px), muito respiro, acento laranja da marca, verde só nos botões de WhatsApp. Identidade @tufazmairink. */
:root {
  --bg: #0E0E0F;
  --surface: #18181A;
  --line: #2A2A2D;
  --fg: #FFFFFF;
  --muted: #9A9A9F;
  --accent: #FF5A1F;
  --ember: #8E2A02;
  --wa: #21B95A;
  --wa-ink: #04190B;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 16px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-weight: 500; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 600px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
section { padding-block: 64px; }
section + section { border-top: 1px solid var(--line); }

h1, h2 { font-weight: 800; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(34px, 9vw, 52px); }
h2 { font-size: clamp(26px, 6.5vw, 34px); }
h3 { font-size: 16px; font-weight: 600; }
.accent { color: var(--accent); }
.label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lead { color: #C9C9C9; font-size: 17px; }
.stack { display: grid; gap: 16px; }
.stack-lg { display: grid; gap: 28px; }

/* Botões */
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; padding: 0 24px; border-radius: 999px; border: 0; font: 800 16px/1 var(--font); cursor: pointer; transition: transform .15s ease; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.98); }
.btn-main { background: var(--accent); color: #0E0E0F; }
.btn-soft { background: var(--surface); color: var(--fg); border: 1px solid var(--line); }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn svg { width: 20px; height: 20px; flex: none; }
.note { font-size: 13px; color: var(--muted); text-align: center; }

/* Topo */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.brand img { height: 34px; width: auto; }
.top-btn { flex: none; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--accent); color: var(--accent); font-size: 13px; font-weight: 700; line-height: 1; transition: background .15s, color .15s; }
.top-btn:hover { background: var(--accent); color: #0E0E0F; }

/* Hero */
.hero { padding-block: 8px 56px; }
.me { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 11; max-width: 100%; background: radial-gradient(120% 100% at 30% 20%, #2b2a24, #111 70%); }
.me img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 38%; }
.me::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,14,15,.85) 0%, rgba(14,14,15,0) 55%); }
.me .initials { position: absolute; inset: 0; display: none; place-items: center; font-weight: 800; font-size: 64px; color: #2f2f2f; letter-spacing: -.04em; }
.me.nofoto img { display: none; }
.me.nofoto .initials { display: grid; }
.me figcaption { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.me figcaption b { font-size: 16px; font-weight: 800; display: block; line-height: 1.2; }
.me figcaption span { font-size: 13px; color: #CFCFCF; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: #C9C9C9; justify-self: start; background: rgba(14,14,15,.6); white-space: nowrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-top: 8px; }
.stats div { display: grid; gap: 2px; align-content: start; }
.stats b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.stats span { font-size: 12px; color: var(--muted); line-height: 1.35; }

/* Exemplo de oferta */
.offer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; }
.offer-photo { aspect-ratio: 4 / 3; max-width: 100%; width: 100%; object-fit: cover; }
.offer-inner { padding: 18px; display: grid; gap: 12px; }
.offer-head { display: flex; justify-content: space-between; align-items: center; }
.offer-tag { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.offer-time { font-size: 12px; color: var(--muted); }
.offer-body { font-size: 15px; line-height: 1.5; display: grid; gap: 8px; }
.offer-hook { font-weight: 800; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price s { color: var(--muted); font-size: 14px; }
.price b { font-size: 24px; font-weight: 800; color: var(--accent); letter-spacing: -.02em; }
.coupon { display: inline-block; border: 1px dashed var(--muted); border-radius: 6px; padding: 2px 8px; font-size: 13px; font-weight: 600; }
.offer-link { color: #53BDEB; font-size: 14px; }

/* Passos */
.steps { list-style: none; padding: 0; display: grid; gap: 22px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; counter-increment: s; }
.steps li::before { content: counter(s); width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--accent); }
.steps p { color: var(--muted); font-size: 15px; }

/* Categorias */
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.tags li { padding: 10px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; }
.stores { font-size: 14px; color: var(--muted); }
.stores b { color: var(--fg); font-weight: 600; }

/* Confiança */
.quote { font-size: clamp(22px, 5.6vw, 28px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; text-wrap: balance; }
.checks { list-style: none; padding: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; color: #D6D6D6; }
.checks li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E0E0F' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Card de marcas (página principal) */
.brands-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .15s; }
.brands-link:hover { border-color: var(--muted); }
.brands-link b { display: block; font-size: 17px; font-weight: 800; }
.brands-link span { font-size: 14px; color: var(--muted); }
.brands-link .arrow { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #0E0E0F; display: grid; place-items: center; font-weight: 800; font-size: 18px; }

/* Orçamento */
.services { list-style: none; padding: 0; display: grid; }
.services li { padding: 14px 0; border-top: 1px solid var(--line); display: grid; gap: 2px; font-size: 15px; }
.services li:first-child { border-top: 0; padding-top: 0; }
.services span { color: var(--muted); font-size: 14px; }
form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
label.f, legend { font-size: 13px; font-weight: 600; color: #C9C9C9; }
input, select, textarea { width: 100%; font: 500 16px/1.4 var(--font); color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; appearance: none; -webkit-appearance: none; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A9A9A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: block; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; transition: background .12s, color .12s; }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: #0E0E0F; font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.row2 { display: grid; gap: 16px; }
.err { color: #FF6B4F; font-size: 14px; }
.err:empty { display: none; }
.sent { display: grid; gap: 12px; padding: 16px; border-radius: 12px; border: 1px solid var(--accent); }
.sent pre { margin: 0; white-space: pre-wrap; word-break: break-word; font: 500 13px/1.5 var(--font); color: #D6D6D6; background: var(--bg); border-radius: 10px; padding: 12px; max-height: 220px; overflow: auto; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative; font-weight: 600; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding-bottom: 18px; color: var(--muted); font-size: 15px; }

footer { border-top: 1px solid var(--line); padding-block: 32px calc(110px + env(safe-area-inset-bottom, 0px)); }
footer p { font-size: 13px; color: var(--muted); }
footer.short { padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }

/* CTA fixo no celular */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 12px max(20px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); background: linear-gradient(to top, var(--bg) 60%, rgba(14,14,15,0)); transform: translateY(110%); transition: transform .25s ease; }
.sticky.on { transform: none; }
.sticky .btn { max-width: 560px; margin: 0 auto; box-shadow: 0 8px 24px rgba(0,0,0,.5); }

/* Telas maiores */
@media (min-width: 900px) {
  .hero .wrap { max-width: 1040px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; padding-top: 24px; }
  .hero .btn { width: auto; justify-self: start; padding: 0 32px; }
  .hero .me { aspect-ratio: 4 / 5; }
  .row2 { grid-template-columns: 1fr 1fr; }
  section { padding-block: 88px; }
  .sticky { display: none; }
  footer { padding-bottom: 40px; }
}

/* Vitrine de ofertas reais: carrossel com rolagem lateral, sangrando até a borda no celular */
.shelf { display: flex; gap: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: calc(-1 * max(20px, env(safe-area-inset-left, 0px))); padding-inline: max(20px, env(safe-area-inset-left, 0px)); }
.shelf::-webkit-scrollbar { display: none; }
.shelf { align-items: flex-start; }
.shelf img { flex: none; width: min(62vw, 240px); max-width: none; height: auto; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
@media (min-width: 900px) { .shelf img { width: 220px; } }

/* Visitante do anúncio: some o caminho de orçamento */
.from-ads .top-btn,
.from-ads #brandsLink { display: none !important; }
