:root {
  --primary: #f97316;
  --primary-dim: rgba(249, 115, 22, 0.15);
  --secondary: #0b0f14;

  /* valores padrão — o admin injeta as cores reais escolhidas via <style> inline */
  --bg: #0b0f14;
  --bg-card: rgba(30, 41, 59, 0.4);
  --bg-card-solid: #161b22;
  --bg-alt: #0e1420;
  --bg-alt-2: #10161f;
  --text: #f1f5f9;
  --text-dim: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --header-bg: rgba(11, 15, 20, 0.82);

  --border-accent: rgba(249, 115, 22, 0.55);
  --primary-glow-a: rgba(249, 115, 22, 0.22);
  --primary-glow-b: rgba(249, 115, 22, 0.10);
  --primary-badge-bg: rgba(249, 115, 22, 0.12);
  --primary-badge-border: rgba(249, 115, 22, 0.30);
  --primary-shadow-hover: rgba(249, 115, 22, 0.45);
  --primary-cta-glow: rgba(249, 115, 22, 0.20);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);

  /* faixas que ficam sempre escuras, em qualquer tema (rodapé, aviso de cookies) */
  --band-bg: #05070a;
  --band-bg-2: #0a0e14;
  --band-text: #94a3b8;
  --band-text-strong: #ffffff;
  --band-border: rgba(255, 255, 255, 0.07);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .brand, .stat-value, .price-value, .product-price {
  font-family: "Manrope", "Inter", sans-serif;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.icon { flex-shrink: 0; display: inline-block; vertical-align: -4px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.7rem; border-radius: 999px; font-weight: 700; border: none; cursor: pointer; font-size: .95rem; transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #1a0f04; box-shadow: 0 10px 30px -8px var(--primary-dim); }
.btn-primary:hover { box-shadow: 0 14px 34px -8px var(--primary-shadow-hover); }
.btn-outline-light { background: rgba(255,255,255,.04); color: var(--text); border: 1.5px solid var(--border); backdrop-filter: blur(6px); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--border-accent); color: var(--primary); }
.btn-whatsapp { background: #25D366; color: #ffffff; }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.05rem; }
.btn-sm { padding: .55rem 1.1rem; font-size: .82rem; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; background: var(--header-bg); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); z-index: 80; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .9rem 0; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.15rem; color: var(--text); letter-spacing: -.01em; }
.brand img { height: 34px; width: auto; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--primary-dim); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.site-nav { display: flex; gap: 1.75rem; font-weight: 600; font-size: .92rem; color: var(--text-dim); }
.site-nav a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: .9rem; }

.menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 4px; width: 38px; height: 38px; border-radius: 8px; background: transparent; border: 1px solid var(--border); cursor: pointer; }
.menu-toggle span { display: block; height: 2px; width: 18px; margin: 0 auto; background: var(--text); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- section scaffolding ---------- */
.section { padding: 5.5rem 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-kicker { display: inline-block; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); margin-bottom: .9rem; }
.section h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; color: var(--text); max-width: 760px; }
.section-lead { color: var(--text-dim); font-size: 1.05rem; max-width: 640px; margin-top: .9rem; }
#categorias h2, #diferenciais h2, #produtos h2, #duvidas h2, #depoimentos h2 { text-align: left; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--secondary); color: #fff; padding: 6.5rem 0 5.5rem; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 78% 15%, var(--primary-glow-a), transparent 60%),
    radial-gradient(40% 40% at 10% 90%, var(--primary-glow-b), transparent 60%),
    linear-gradient(180deg, #0b0f14 0%, #0d1218 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(70% 60% at 50% 20%, #000 40%, transparent 100%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--primary); background: var(--primary-badge-bg); border: 1px solid var(--primary-badge-border); padding: .5rem .9rem; border-radius: 999px; margin-bottom: 1.4rem; }
.hero-text h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); font-weight: 800; text-transform: uppercase; margin-bottom: 1.25rem; line-height: 1.08; letter-spacing: -.02em; }
.hero-text p { color: #cbd5e1; margin-bottom: 2rem; font-size: 1.15rem; max-width: 540px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats { display: flex; gap: 2.2rem; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.5rem; font-weight: 800; color: #fff; }
.hero-stats span { font-size: .8rem; color: #94a3b8; margin-top: .15rem; }
.hero-image { position: relative; }
.hero-image img { border-radius: 22px; border: 1px solid rgba(255,255,255,.1); box-shadow: var(--shadow); }

/* ---------- categorias ---------- */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 2.75rem; }
.category-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.category-card:hover { transform: translateY(-4px); border-color: var(--border-accent); box-shadow: var(--shadow); }
.category-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--primary-dim); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.category-card h3 { font-size: 1.15rem; margin-bottom: .5rem; color: var(--text); }
.category-card p { color: var(--text-dim); font-size: .93rem; margin-bottom: 1.1rem; }
.category-link { font-weight: 700; color: var(--primary); font-size: .88rem; }

/* ---------- diferenciais ---------- */
.diff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; margin-top: 2.75rem; }
.diff-card { padding: 1.5rem; }
.diff-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-card-solid); border: 1px solid var(--border); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; }
.diff-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.diff-card p { color: var(--text-dim); font-size: .92rem; }

/* ---------- produtos ---------- */
.filter-tabs { display: flex; gap: .6rem; flex-wrap: wrap; margin: 2rem 0 -0.25rem; }
.filter-tab { background: var(--bg-card); border: 1px solid var(--border); color: var(--text-dim); font-weight: 700; font-size: .85rem; padding: .55rem 1.1rem; border-radius: 999px; cursor: pointer; transition: all .15s ease; }
.filter-tab:hover { color: var(--text); }
.filter-tab.active { background: var(--primary); color: #1a0f04; border-color: var(--primary); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.6rem; margin-top: 2.25rem; }
.product-card { position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-accent); }
.product-card-destaque { border-color: var(--border-accent); }
.product-badge { position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: .3rem; background: var(--primary); color: #1a0f04; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; padding: .35rem .7rem; border-radius: 999px; }
.product-media { height: 170px; background: linear-gradient(135deg, var(--bg-alt-2), var(--bg-alt)); display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--border); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media-icon { width: 64px; height: 64px; border-radius: 16px; background: var(--primary-dim); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.product-media-icon .icon { width: 30px; height: 30px; }
.product-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.product-tag { align-self: flex-start; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--primary); background: var(--primary-dim); padding: .3rem .6rem; border-radius: 999px; }
.product-body h3 { font-size: 1.08rem; color: var(--text); line-height: 1.3; }
.product-desc { color: var(--text-dim); font-size: .9rem; }
.product-features { display: flex; flex-direction: column; gap: .45rem; margin: .3rem 0; }
.product-features li { display: flex; align-items: flex-start; gap: .5rem; color: var(--text-dim); font-size: .85rem; }
.product-features li .icon { color: var(--primary); margin-top: 1px; }
.product-meta { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .78rem; color: var(--text-dim); margin-top: .2rem; }
.product-meta strong { color: var(--text); }
.product-footer { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.product-price { font-size: 1.05rem; font-weight: 800; color: var(--text); }
.product-actions { display: flex; gap: .6rem; margin-top: .85rem; }
.product-actions .btn { flex: 1; }

/* ---------- página de compra ---------- */
.buy-page { padding: 3rem 0 5rem; }
.back-link { display: inline-block; color: var(--text-dim); font-weight: 600; font-size: .88rem; margin-bottom: 1.75rem; }
.back-link:hover { color: var(--primary); }
.buy-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: start; }
.buy-summary h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; margin: .8rem 0 .6rem; }
.buy-desc { color: var(--text-dim); font-size: 1rem; margin-bottom: 1.25rem; }
.buy-media { height: 220px; border-radius: var(--radius); background: linear-gradient(135deg, var(--bg-alt-2), var(--bg-alt)); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; overflow: hidden; }
.buy-media img { width: 100%; height: 100%; object-fit: cover; }
.buy-media .product-media-icon { width: 72px; height: 72px; border-radius: 18px; background: var(--primary-dim); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.buy-media .product-media-icon .icon { width: 34px; height: 34px; }
.buy-summary .product-features { margin: 1rem 0 1.5rem; }
.buy-price { font-size: 1.7rem; font-weight: 800; color: var(--text); margin-top: 1.5rem; }
.buy-panel { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; position: sticky; top: 6rem; }
.buy-panel h2 { font-size: 1.1rem; margin-bottom: .6rem; }
.buy-panel .help-text { color: var(--text-dim); font-size: .88rem; margin-bottom: 1.1rem; }
.buy-note { margin-top: 1.1rem; margin-bottom: 1.5rem !important; }
.buy-panel .pix-preview { margin: 0; }
.buy-trust-badges { margin-top: 1.5rem; border-radius: var(--radius-sm); border: 1px solid var(--border); }

@media (max-width: 860px) {
  .buy-grid { grid-template-columns: 1fr; }
  .buy-panel { position: static; }
}

/* ---------- sobre resumo ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.about-grid p { color: var(--text-dim); margin: 1rem 0; font-size: 1.02rem; }
.about-highlights { display: flex; flex-direction: column; gap: 1.1rem; }
.about-highlight { display: flex; align-items: center; gap: 1rem; background: var(--bg-card-solid); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; }
.about-highlight .icon { color: var(--primary); width: 24px; height: 24px; }
.about-highlight strong { display: block; color: var(--text); font-size: .95rem; }
.about-highlight span { color: var(--text-dim); font-size: .82rem; }

/* about page */
.about-page .about-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin: 2rem 0 2.5rem; }
.about-value-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.about-value-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-dim); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.about-value-card h3 { font-size: 1rem; margin-bottom: .4rem; color: var(--text); }
.about-value-card p { color: var(--text-dim); font-size: .88rem; }

/* ---------- testimonials ---------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2.25rem; }
.testimonial-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.testimonial-stars { display: flex; gap: .15rem; color: var(--primary); margin-bottom: 1rem; }
.testimonial-stars .icon { width: 16px; height: 16px; }
.testimonial-text { color: var(--text-dim); font-style: italic; margin-bottom: 1.1rem; }
.testimonial-name { font-weight: 700; color: var(--text); font-size: .9rem; }

/* ---------- faq ---------- */
.faq-list { max-width: 800px; margin-top: 2.25rem; display: flex; flex-direction: column; gap: .75rem; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.15rem 1.4rem; }
.faq-item summary { cursor: pointer; font-weight: 700; color: var(--text); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-weight: 700; color: var(--primary); font-size: 1.2rem; flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { color: var(--text-dim); margin-top: .85rem; }

/* ---------- cta / orçamento ---------- */
.cta-section { position: relative; overflow: hidden; text-align: center; }
.cta-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #0b0f14, #171008); }
.cta-bg::after { content:""; position:absolute; inset:0; background: radial-gradient(50% 80% at 50% 0%, var(--primary-cta-glow), transparent 70%); }
.orcamento-cta { position: relative; max-width: 640px; margin: 0 auto; }
.orcamento-cta h2 { color: #fff; text-align: center; margin: 0 auto; }
.orcamento-cta p { color: #cbd5e1; margin: 1.1rem auto 2rem; font-size: 1.05rem; }

/* ---------- pix ---------- */
.pix-box { max-width: 480px; margin: 2rem auto 0; text-align: center; }
.pix-box p { color: var(--text-dim); margin-bottom: 1rem; }
.pix-preview { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.pix-preview img { border-radius: 8px; border: 1px solid var(--border); background: #fff; padding: .5rem; }
.pix-preview textarea { width: 100%; resize: none; padding: .7rem; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-card-solid); color: var(--text); font-family: monospace; font-size: .8rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--band-bg); color: var(--band-text); padding: 4rem 0 0; border-top: 1px solid var(--band-border); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-logo { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--band-text-strong); margin-bottom: .7rem; }
.footer-tagline { font-size: .85rem; opacity: .75; margin-top: .6rem; }
.footer-col p:not(.footer-heading):not(.footer-tagline) { font-size: .88rem; margin-bottom: .5rem; }
.footer-col a:hover { color: var(--primary); }
.footer-heading { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--band-text-strong); margin-bottom: 1rem; opacity: .9; }
.footer-links { display: flex; flex-direction: column; gap: .55rem; }
.footer-links a { font-size: .88rem; opacity: .8; }
.footer-bottom { border-top: 1px solid var(--band-border); padding: 1.3rem 0; }
.footer-copy { font-size: .78rem; opacity: .55; text-align: center; }

.whatsapp-float { position: fixed; bottom: 1.5rem; right: 1.5rem; background: #25D366; color: #ffffff; width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(0,0,0,.4); z-index: 60; }
.whatsapp-float .icon { width: 26px; height: 26px; }

.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; background: var(--band-bg-2); color: var(--band-text); padding: 1.1rem 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; z-index: 70; border-top: 1px solid var(--band-border); box-shadow: 0 -4px 20px rgba(0,0,0,.4); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { flex: 1; min-width: 240px; font-size: .85rem; margin: 0; }
.cookie-banner a { text-decoration: underline; color: var(--primary); }
.cookie-actions { display: flex; gap: .6rem; flex-shrink: 0; }
.btn-outline-dark { background: transparent; border: 1px solid rgba(255,255,255,.25); color: var(--band-text-strong); }

/* ---------- legal / static pages ---------- */
.legal-page { max-width: 820px; margin: 0 auto; padding: 4rem 1.5rem 5rem; }
.legal-page h1 { font-size: 2.1rem; font-weight: 800; margin-bottom: .5rem; color: var(--text); letter-spacing: -.02em; }
.legal-page .legal-updated { color: var(--text-dim); font-size: .85rem; margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.2rem; margin-top: 2.1rem; margin-bottom: .8rem; color: var(--primary); }
.legal-page p { margin-bottom: 1rem; color: var(--text-dim); }
.legal-page li { margin-bottom: .5rem; color: var(--text-dim); list-style: disc; }
.legal-page ul { padding-left: 1.4rem; margin-bottom: 1rem; }
.legal-page a { color: var(--primary); text-decoration: underline; }
.legal-page strong { color: var(--text); }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; margin: 1.75rem 0 2.25rem; }
.contact-card { display: flex; flex-direction: column; gap: .4rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; transition: border-color .2s ease, transform .2s ease; }
a.contact-card:hover { border-color: var(--border-accent); transform: translateY(-3px); }
.contact-card strong { color: var(--text); }
.contact-card span:last-child { color: var(--text-dim); font-size: .92rem; }
.contact-icon { color: var(--primary); }
.contact-icon .icon { width: 24px; height: 24px; }

.empty { color: var(--text-dim); text-align: center; padding: 2rem; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-card-solid); border-bottom: 1px solid var(--border); flex-direction: column; padding: .5rem 1.5rem 1.25rem; gap: 0; display: none; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .8rem 0; border-bottom: 1px solid var(--border); }
  .site-nav a:last-child { border-bottom: none; }
  .menu-toggle { display: flex; }
  #categorias h2, #diferenciais h2, #produtos h2, #duvidas h2, #depoimentos h2 { text-align: left; }
}

@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .product-actions { flex-direction: column; }
}
