:root {
  --bg: #0a0e14;
  --bg2: #111722;
  --card: #151c28;
  --card2: #1b2431;
  --border: #232d3d;
  --text: #e8edf4;
  --muted: #8c99ad;
  --accent: #f5b70a;
  --accent2: #ff7a18;
  --grad: linear-gradient(135deg, #fdb913 0%, #ff6a1a 100%);
  --on-accent: #1a1205;
  --ok: #22c55e;
  --danger: #ef4444;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(0,0,0,.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
.hidden { display: none !important; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Inter, sans-serif; background: var(--bg); color: var(--text); line-height: 1.55; -webkit-font-smoothing: antialiased; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* HEADER / NAV */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10,14,20,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 42px; display: block; }
.logo span { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--muted); font-size: .95rem; font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav .nav-wa { background: rgba(37,211,102,.12); border: 1px solid rgba(37,211,102,.4); color: #4ade80; padding: 8px 14px; border-radius: 999px; }
.nav .nav-wa:hover { color: #4ade80; background: rgba(37,211,102,.2); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* HERO / BANNER */
.hero { position: relative; padding: 44px 0 52px; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -30%; left: 65%; width: 800px; height: 620px; background: radial-gradient(closest-side, rgba(245,183,10,.22), transparent 70%); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-pill { display: inline-block; font-size: .8rem; color: var(--accent2); background: rgba(255,122,24,.08); border: 1px solid rgba(255,122,24,.25); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -1.5px; line-height: 1.06; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { color: var(--muted); font-size: 1.1rem; max-width: 500px; margin: 18px 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 30px; color: var(--muted); font-size: .9rem; }
.hero-art { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.hero-banner { width: 100%; max-width: 300px; height: auto; display: block; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); }

/* APPS FLUTUANTES ao redor do banner */
.fa { position: absolute; width: 60px; height: 60px; border-radius: 50%; overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,.55); animation: floaty 5s ease-in-out infinite; z-index: 2; cursor: pointer; }
.fa img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fa:hover { animation-play-state: paused; transform: scale(1.12); z-index: 3; }
.fa1 { top: 4%; left: 2%; animation-delay: 0s; }
.fa2 { top: 0; right: 6%; animation-delay: .7s; }
.fa3 { top: 40%; left: -5%; animation-delay: 1.4s; }
.fa4 { top: 36%; right: -6%; animation-delay: .4s; }
.fa5 { bottom: 10%; left: 4%; animation-delay: 1.1s; }
.fa6 { bottom: 3%; right: 4%; animation-delay: 1.9s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* FAIXA DE APPS (só mobile — no desktop os apps flutuam no hero) */
.brands { display: none; padding: 26px 0 6px; }
.brands-title { text-align: center; color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.brands-strip { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; align-items: center; }
.brands-strip img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; transition: transform .15s; }
.brands-strip a:hover img { transform: scale(1.08); }
.hero-art-placeholder { width: 100%; max-width: 380px; aspect-ratio: 4/3; border-radius: 20px; background: linear-gradient(135deg, rgba(245,183,10,.18), rgba(255,122,24,.12)); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 5rem; box-shadow: var(--shadow); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 1rem; padding: 12px 22px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: var(--on-accent); box-shadow: 0 8px 24px rgba(245,183,10,.35); }
.btn-primary:hover { box-shadow: 0 10px 30px rgba(245,183,10,.5); }
.btn-outline { background: var(--card); border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; margin-top: 12px; }

/* SECTIONS */
.section-title { text-align: center; font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; letter-spacing: -.8px; }
.section-sub { text-align: center; color: var(--muted); margin: 10px 0 40px; }

/* STEPS */
.steps { padding: 60px 0; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
.step-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 24px; text-align: center; }
.step-num { width: 44px; height: 44px; margin: 0 auto 16px; border-radius: 50%; background: var(--grad); color: var(--on-accent); font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; }
.step-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: .95rem; }

/* PRODUCTS / PLAN CARDS */
.products { padding: 70px 0; }
.products-grid { display: block; }
.product-section { margin-bottom: 46px; scroll-margin-top: 88px; }
.product-section:last-child { margin-bottom: 0; }
.product-row-head { text-align: center; margin-bottom: 22px; }
.product-row-title { font-size: 1.6rem; font-weight: 800; letter-spacing: -.5px; }
.product-row-title small { display: block; font-size: .9rem; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.product-row-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.product-row-grid .plan-card { flex: 0 1 230px; max-width: 250px; }
.plan-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, transform .15s, box-shadow .2s; }
.plan-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 12px 34px rgba(0,0,0,.4); }
.plan-media { aspect-ratio: 1/1; background: linear-gradient(135deg, rgba(245,183,10,.16), rgba(255,122,24,.1)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.plan-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.plan-body-min { padding: 16px 18px; text-align: center; }
.plan-title-mini { font-weight: 700; font-size: 1.05rem; letter-spacing: -.2px; }
.plan-price-mini { font-weight: 800; font-size: 1.3rem; margin: 5px 0 12px; }
.plan-price-mini small { font-size: .68rem; color: var(--muted); font-weight: 500; margin-left: 5px; }
.btn-buy-block { display: block; width: 100%; }
.plan-media .ph { font-size: 3rem; font-weight: 800; color: rgba(255,255,255,.25); }
.plan-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.plan-cat { font-size: .78rem; color: var(--accent2); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.plan-title { font-size: 1.2rem; font-weight: 700; margin: 4px 0 2px; letter-spacing: -.3px; }
.plan-days { color: var(--muted); font-size: .85rem; }
.plan-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; gap: 10px; }
.plan-price { font-weight: 800; font-size: 1.5rem; }
.plan-price small { display: block; font-size: .7rem; color: var(--muted); font-weight: 500; }
.btn-buy { background: var(--grad); color: var(--on-accent); border: none; padding: 11px 20px; border-radius: 10px; font-weight: 700; cursor: pointer; font-size: .95rem; white-space: nowrap; transition: box-shadow .2s; }
.btn-buy:hover { box-shadow: 0 6px 18px rgba(245,183,10,.45); }
.plan-out { opacity: .55; }
.plan-out .btn-buy { background: var(--border); cursor: not-allowed; pointer-events: none; }
.badge-out { display: inline-block; font-size: .72rem; color: var(--danger); font-weight: 700; margin-top: 4px; }

/* FAQ */
.faq { padding: 20px 0 70px; }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 4px 20px; }
.faq-item summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { color: var(--muted); padding-bottom: 16px; font-size: .95rem; }
.faq-item a { color: var(--accent2); }

/* INSTALAR / TESTAR */
.install-block { max-width: 900px; margin: 44px auto 0; }
.install-title { text-align: center; font-size: 1.4rem; font-weight: 800; letter-spacing: -.4px; }
.install-sub { text-align: center; color: var(--muted); margin: 8px 0 24px; }
.install-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.install-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.install-left { display: flex; align-items: center; gap: 10px; }
.install-logo { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.install-name { font-weight: 700; }
.install-btns { display: flex; gap: 8px; }
.btn-sm { padding: 8px 12px; font-size: .82rem; border-radius: 9px; }

/* IPTV aguardando aprovação */
.iptv-done { background: var(--card2); border: 1px solid var(--border); border-radius: 12px; padding: 20px; text-align: center; color: var(--text); line-height: 1.6; }

/* CONTACT */
.contact { padding: 20px 0 80px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 860px; margin: 0 auto; }
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 24px; text-align: center; transition: border-color .2s, transform .15s; }
a.contact-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.contact-ico { font-size: 2rem; margin-bottom: 10px; }
.contact-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.contact-card p { color: var(--muted); font-size: .92rem; word-break: break-word; }

/* FOOTER */
.site-footer { border-top: 1px solid var(--border); background: var(--bg2); padding: 50px 0 24px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.footer-col h4 { font-size: .95rem; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); font-size: .9rem; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-brand { font-weight: 800; font-size: 1.3rem; margin-bottom: 10px; }
.footer-desc { color: var(--muted); font-size: .9rem; margin-bottom: 14px; max-width: 300px; }
.footer-badge { color: var(--muted); font-size: .85rem; }
.footer-muted { color: var(--muted); font-size: .9rem; }
.footer-copy { border-top: 1px solid var(--border); margin-top: 34px; padding-top: 20px; text-align: center; color: var(--muted); font-size: .82rem; }

/* WHATSAPP FLOAT */
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(37,211,102,.45); z-index: 60; transition: transform .15s; }
.whatsapp-float:hover { transform: scale(1.08); }

/* MODAL */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 16px; }
.modal { background: var(--card); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); width: 100%; max-width: 420px; padding: 30px 28px; position: relative; max-height: 92vh; overflow-y: auto; }
.modal-close { position: absolute; top: 14px; right: 18px; background: none; border: none; color: var(--muted); font-size: 1.8rem; cursor: pointer; line-height: 1; }
.modal-close:hover { color: var(--text); }
.modal-title { font-size: 1.35rem; font-weight: 800; margin-bottom: 18px; letter-spacing: -.4px; }
.modal-summary { background: var(--card2); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.modal-summary .ms-left { display: flex; align-items: center; gap: 12px; }
.ms-thumb { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.modal-summary .ms-name { font-weight: 600; }
.qty-row { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.qty-ctrl { display: flex; align-items: center; }
.qty-ctrl button { width: 36px; height: 38px; background: var(--card2); border: 1px solid var(--border); color: var(--text); font-size: 1.2rem; cursor: pointer; line-height: 1; }
.qty-ctrl button:first-child { border-radius: 8px 0 0 8px; }
.qty-ctrl button:last-child { border-radius: 0 8px 8px 0; }
.qty-ctrl input { width: 50px; height: 38px; text-align: center; background: var(--bg2); border: 1px solid var(--border); border-left: 0; border-right: 0; color: var(--text); font-size: 1rem; }
.qty-ctrl input::-webkit-outer-spin-button, .qty-ctrl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.modal-summary .ms-price { font-weight: 800; font-size: 1.2rem; color: var(--accent2); white-space: nowrap; }
.field-label { display: block; font-size: .85rem; font-weight: 600; color: var(--muted); margin: 14px 0 6px; }
.input { width: 100%; background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 13px 14px; color: var(--text); font-size: 1rem; outline: none; transition: border-color .2s; }
.input:focus { border-color: var(--accent); }
.field-hint { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.field-hint.center { text-align: center; }
.form-error { color: var(--danger); font-size: .88rem; margin-top: 12px; text-align: center; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row .input { flex: 1; }
.coupon-row .btn { padding: 0 16px; white-space: nowrap; }
.coupon-msg { font-size: .85rem; margin-top: 8px; }
.coupon-msg.ok { color: var(--ok); }
.coupon-msg.err { color: var(--danger); }
.ms-price .old { display: block; font-size: .8rem; color: var(--muted); text-decoration: line-through; font-weight: 500; text-align: right; }
.pay-amount { text-align: center; font-size: 1.6rem; font-weight: 800; color: var(--accent2); margin-bottom: 18px; }
.qr-wrap { display: flex; justify-content: center; margin-bottom: 18px; }
.qr-wrap img { width: 220px; height: 220px; background: #fff; border-radius: 14px; padding: 10px; }
.pay-status { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: .95rem; margin-top: 16px; }
.spinner { width: 16px; height: 16px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.done-check { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: rgba(34,197,94,.15); border: 2px solid var(--ok); color: var(--ok); font-size: 2rem; display: flex; align-items: center; justify-content: center; }
.center { text-align: center; }
.codes-box { margin: 20px 0; display: flex; flex-direction: column; gap: 10px; }
.code-item { background: var(--bg2); border: 1px dashed var(--accent); border-radius: 10px; padding: 14px; font-family: monospace; font-size: 1.05rem; text-align: center; font-weight: 700; letter-spacing: 1px; word-break: break-all; }
.instructions-box { color: var(--muted); font-size: .9rem; background: var(--card2); border-radius: 10px; padding: 14px; white-space: pre-wrap; }
.instructions-box:empty { display: none; }
.loading { grid-column: 1/-1; text-align: center; color: var(--muted); padding: 40px; }

/* TOAST */
.toast { position: fixed; bottom: 96px; left: 50%; transform: translateX(-50%); background: var(--card2); border: 1px solid var(--border); color: var(--text); padding: 12px 20px; border-radius: 10px; font-size: .9rem; z-index: 200; box-shadow: var(--shadow); opacity: 0; transition: opacity .2s; }
.toast.show { opacity: 1; }

/* LEGAL PAGES */
.legal { max-width: 800px; margin: 0 auto; padding: 60px 20px 80px; }
.legal h1 { font-size: 2rem; letter-spacing: -.8px; margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: .85rem; margin-bottom: 30px; }
.legal h2 { font-size: 1.25rem; margin: 28px 0 10px; }
.legal p, .legal li { color: #c3ccda; font-size: .98rem; margin-bottom: 10px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--accent2); }
.legal .back { display: inline-block; margin-bottom: 24px; color: var(--muted); }
.legal .fill { background: rgba(239,68,68,.1); border: 1px dashed var(--danger); color: #fca5a5; padding: 2px 6px; border-radius: 4px; font-size: .85em; }

/* RESPONSIVE */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .brands { display: block; }
  .steps-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .nav { position: fixed; top: 66px; left: 0; right: 0; background: var(--bg2); border-bottom: 1px solid var(--border); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 20px; display: none; }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav .nav-wa { border: none; background: none; padding: 12px 0; }
  .nav-toggle { display: block; }
}
