:root {
  --primary: #22c55e;
  --secondary: #0f172a;

  /* tema escuro (padrão) */
  --bg: #0f172a;
  --bg-card: rgba(30, 41, 59, 0.5);
  --bg-card-solid: #1e293b;
  --bg-alt: rgba(30, 41, 59, 0.25);
  --text: #f8fafc;
  --text-dim: #94a3b8;
  --border: rgba(255, 255, 255, 0.1);
  --header-bg: rgba(30, 41, 59, 0.9);

  --border-accent: rgba(34, 197, 94, 0.5);
  --radius: 16px;

  /* faixas que ficam sempre escuras, em qualquer tema (rodapé, aviso de cookies) */
  --band-bg: #0a0e1a;
  --band-text: #94a3b8;
  --band-text-strong: #ffffff;
}

/* tema claro — ativado com <body class="theme-light"> */
body.theme-light {
  --bg: #ffffff;
  --bg-card: #ffffff;
  --bg-card-solid: #ffffff;
  --bg-alt: #f8fafc;
  --text: #1e293b;
  --text-dim: #64748b;
  --border: #e2e8f0;
  --header-bg: rgba(255, 255, 255, 0.95);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.6rem; border-radius: 999px; font-weight: 700; border: none; cursor: pointer; font-size: .95rem; transition: transform .15s ease, opacity .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #06280f; }
.btn-outline-light { background: transparent; color: var(--text); border: 2px solid var(--border); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-lg { padding: 1.1rem 2.2rem; font-size: 1.15rem; }
.btn-block { width: 100%; margin-top: 1rem; }
.btn-sm { padding: .55rem 1.1rem; font-size: .85rem; }

.icon-whatsapp { font-size: 1.15em; line-height: 1; flex-shrink: 0; }

.announce-bar { background: var(--primary); color: #06280f; text-align: center; font-weight: 700; font-size: .85rem; padding: .55rem 1.25rem; }

.site-header { position: sticky; top: 0; background: var(--header-bg); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.15rem; color: var(--text); }
.brand img { height: 36px; width: auto; }
.site-nav { display: flex; gap: 1.5rem; font-weight: 600; color: var(--text-dim); }
.site-nav a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.header-actions .btn-outline-light { color: var(--primary); border-color: var(--border-accent); }

.hero { background: var(--secondary); color: #fff; padding: 6rem 0 5rem; text-align: center; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; text-align: left; }
.deteccao-pill { display: inline-flex; align-items: center; gap: .4rem; background: rgba(34,197,94,.12); border: 1px solid var(--border-accent); color: #4ade80; font-weight: 700; font-size: .85rem; padding: .5rem 1rem; border-radius: 999px; margin-bottom: 1.25rem; }
.hero-text h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; text-transform: uppercase; margin-bottom: 1.25rem; line-height: 1.1; letter-spacing: -.01em; }
.hero-text p { color: #cbd5e1; margin-bottom: 1.75rem; font-size: 1.15rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image img { border-radius: var(--radius); border: 1px solid rgba(255,255,255,.1); }

.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 2.5rem; text-align: center; text-transform: uppercase; letter-spacing: -.01em; color: var(--text); }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.service-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; text-align: center; }
.service-card h3 { color: var(--text); margin-bottom: .4rem; }
.service-card p { color: var(--text-dim); }
.service-icon { font-size: 2rem; display: block; margin-bottom: .75rem; }

.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; align-items: start; }
.price-card { position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.price-card:hover { border-color: var(--border-accent); }
.price-card h3 { color: var(--text); }
.price-card p { color: var(--text-dim); }
.price-value { font-size: 1.6rem; font-weight: 800; color: var(--primary); margin-top: .75rem; }
.price-card-destaque { border-color: var(--primary); border-width: 2px; }
.price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #06280f; font-size: .72rem; font-weight: 800; text-transform: uppercase; padding: .3rem .9rem; border-radius: 999px; white-space: nowrap; }
.price-features { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.price-features li { color: var(--text-dim); font-size: .88rem; }
.price-actions { margin-top: 1rem; display: flex; flex-direction: column; gap: .6rem; }
.pix-toggle summary { cursor: pointer; list-style: none; }
.pix-toggle summary::-webkit-details-marker { display: none; }
.pix-toggle .pix-preview { margin-top: 1rem; }
.pix-toggle .pix-preview img { width: 140px; height: 140px; }
.pix-toggle .pix-preview textarea { font-size: .72rem; }
.pix-hint { text-align: center; color: var(--text-dim); font-size: .85rem; margin-top: 2rem; }

.disponibilidade-box { max-width: 560px; margin: 0 auto; text-align: center; }
.disponibilidade-box p { color: var(--text-dim); margin-bottom: 1.5rem; }
.disponibilidade-resultado { margin-top: 1.5rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.disponibilidade-resultado p { color: var(--text); margin-bottom: 0; font-weight: 600; }
.disponibilidade-ok { border-color: var(--border-accent); }
.disponibilidade-fora { border-color: rgba(239,68,68,.4); }

.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.testimonial-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.testimonial-stars { font-size: 1rem; margin-bottom: .75rem; }
.testimonial-text { color: var(--text-dim); font-style: italic; margin-bottom: 1rem; }
.testimonial-name { font-weight: 700; color: var(--text); }

.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.4rem; }
.faq-item summary { cursor: pointer; font-weight: 700; color: var(--text); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; float: right; font-weight: 700; color: var(--primary); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { color: var(--text-dim); margin-top: .75rem; }

.orcamento-cta { max-width: 620px; margin: 0 auto; text-align: center; }
.orcamento-cta p { color: var(--text-dim); margin-bottom: 1.75rem; font-size: 1.05rem; }

.alert { padding: 1rem 1.25rem; border-radius: 10px; margin-bottom: 1.5rem; font-weight: 600; }
.alert-ok { background: rgba(34,197,94,.15); color: #16a34a; border: 1px solid rgba(34,197,94,.3); }
.alert-error { background: rgba(239,68,68,.15); color: #dc2626; border: 1px solid rgba(239,68,68,.3); }
body:not(.theme-light) .alert-ok { color: #4ade80; }
body:not(.theme-light) .alert-error { color: #f87171; }

.pix-box { max-width: 480px; margin: 1.5rem 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; }

.site-footer { background: var(--band-bg); color: var(--band-text); padding: 2.5rem 0; text-align: center; border-top: 1px solid rgba(255,255,255,.08); }
.site-footer strong { color: var(--band-text-strong); }
.footer-links { margin-top: .9rem; font-size: .85rem; }
.footer-links a { opacity: .8; text-decoration: underline; }
.footer-links a:hover { opacity: 1; color: var(--primary); }
.footer-copy { margin-top: .5rem; font-size: .78rem; opacity: .6; }

.checkbox-row { display: flex; align-items: flex-start; gap: .6rem; font-weight: 500; font-size: .85rem; color: var(--text-dim); }
.checkbox-row input { margin-top: .25rem; flex-shrink: 0; }
.checkbox-row a { text-decoration: underline; color: var(--primary); }

.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; background: var(--band-bg); color: var(--band-text); padding: 1rem 1.25rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; z-index: 70; border-top: 1px solid rgba(255,255,255,.08); box-shadow: 0 -4px 20px rgba(0,0,0,.4); }
.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-page { max-width: 820px; margin: 0 auto; padding: 3.5rem 1.25rem 4rem; }
.legal-page h1 { font-size: 2rem; font-weight: 800; margin-bottom: .5rem; color: var(--text); }
.legal-page .legal-updated { color: var(--text-dim); font-size: .85rem; margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.2rem; margin-top: 2rem; margin-bottom: .75rem; color: var(--primary); }
.legal-page p { margin-bottom: 1rem; color: var(--text-dim); }
.legal-page li { margin-bottom: .5rem; color: var(--text-dim); }
.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.5rem 0 2rem; }
.contact-card { display: flex; flex-direction: column; gap: .3rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.contact-card strong { color: var(--text); }
.contact-card span:last-child { color: var(--text-dim); }
.contact-icon { font-size: 1.6rem; }

.whatsapp-float { position: fixed; bottom: 1.5rem; right: 1.5rem; background: #25D366; color: #fff; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 8px 20px rgba(0,0,0,.4); z-index: 60; }

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

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .site-nav { display: none; }
}
