/* VinaTV — site (cores e estilos do sistema VinaTV) */
:root {
  --bg: #F4F4F6;
  --surface: #FFFFFF;
  --line: #E5E7EB;
  --ink: #1A1A1A;
  --text: #4F5660;
  --muted: #6F7782;
  --brand: #FF3D10;
  --brand-hover: #E83208;
  --dark: #1A1A1A;
  --wa: #16A34A;
  --wa-hover: #15803D;
  --grad: linear-gradient(100deg, #B91C1C 0%, #DC2626 40%, #EA580C 75%, #FF3D10 100%);
  --grad-deep: linear-gradient(135deg, rgba(189, 31, 51, .97) 0%, rgba(189, 31, 51, .94) 55%, rgba(255, 61, 16, .92) 100%);
  --shadow: 0 7px 18px rgba(27, 31, 35, .16);
  --font: Arial, Helvetica, sans-serif, "Segoe UI Emoji", "Noto Color Emoji", "Apple Color Emoji";
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--text); font: 16px/1.6 var(--font); overflow-x: hidden; }
h1, h2, h3, p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 5px; border: 2px solid transparent;
  font: 700 15px var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn.lg { height: 54px; padding: 0 28px; font-size: 16.5px; }
.btn.full { width: 100%; }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-hover); }
.btn.wa { background: var(--wa); color: #fff; }
.btn.wa:hover { background: var(--wa-hover); }
.btn.light { background: #fff; color: var(--brand); }
.btn.light:hover { background: #FFF1EC; }
.btn.ghost { background: transparent; border-color: currentColor; color: var(--brand); }
.btn.ghost:hover { background: rgba(255, 61, 16, .08); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: var(--grad); color: #fff; box-shadow: 0 5px 16px rgba(0, 0, 0, .22); }
.top-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; text-decoration: none; color: inherit; flex: none; }
.brand img { width: 34px; height: 34px; background: #fff; border-radius: 7px; padding: 3px; }
.menu { display: flex; gap: 22px; margin-left: auto; }
.menu a { text-decoration: none; font-weight: 700; font-size: 14px; text-transform: uppercase; opacity: .92; }
.menu a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 3px; background: #fff; border-radius: 2px; margin: 4px 0; }

/* ---------- hero ---------- */
.hero { background: var(--grad-deep); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 420px at 85% 10%, rgba(255,255,255,.12), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(127,29,29,.35), transparent 60%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.badge { display: inline-block; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); border-radius: 99px; padding: 6px 14px; font-size: 13px; font-weight: 700; }
.hero h1 { font-size: 46px; line-height: 1.1; letter-spacing: -.02em; margin: 18px 0 16px; }
.hero h1 em { font-style: italic; color: #FFE1D8; }
.hero .lead { color: rgba(255,255,255,.88); font-size: 18px; max-width: 540px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero .btn.ghost { color: #fff; }
.hero .btn.ghost:hover { background: rgba(255,255,255,.12); }
.stats { display: grid; grid-template-columns: repeat(4, auto); gap: 28px; margin-top: 40px; justify-content: start; }
.stats b { display: block; font-size: 28px; color: #fff; letter-spacing: -.02em; }
.stats span { font-size: 13.5px; color: rgba(255,255,255,.8); }
.hero-tv { position: relative; }
.float-tag { position: absolute; top: -14px; right: 18px; background: #fff; color: #B91C1C; font-weight: 700; font-size: 13px; border-radius: 99px; padding: 6px 14px; box-shadow: var(--shadow); }

/* TV mockup */
.tv .frame { background: #050505; border-radius: 14px; padding: 10px; box-shadow: 0 30px 70px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06); }
.tv img { width: 100%; border-radius: 6px; }
.tv .stand { width: 22%; height: 12px; margin: 0 auto; background: linear-gradient(#2a2a2a, #111); border-radius: 0 0 8px 8px; }
.tv.tall .frame { border-radius: 16px; }

/* ---------- strip ---------- */
.strip { background: var(--dark); color: #fff; }
.strip-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 28px; padding-bottom: 28px; flex-wrap: wrap; }
.strip small { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #FFB199; }
.strip h2 { font-size: 24px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.checks li { font-weight: 700; font-size: 14.5px; }
.checks li::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 50%; background: var(--brand); font-size: 12px; }

/* ---------- sections ---------- */
.sec { padding: 88px 0; }
.sec.alt { background: var(--bg); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.sec-head small, .kick { display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.sec h2 { font-size: 36px; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
.sec-head p { margin-top: 12px; font-size: 17.5px; color: var(--muted); }
.sec .lead { margin-top: 14px; font-size: 17.5px; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.bullets { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.bullets li { position: relative; padding-left: 36px; color: var(--muted); }
.bullets li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 61, 16, .12); color: var(--brand); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.bullets b { display: block; color: var(--ink); }
.big-stat { display: inline-flex; align-items: baseline; gap: 12px; margin-top: 28px; padding: 14px 22px; border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); }
.sec:not(.alt) .big-stat { background: var(--bg); }
.big-stat b { font-size: 34px; color: var(--brand); letter-spacing: -.02em; }
.big-stat span { color: var(--ink); font-weight: 700; }

.phone { justify-self: center; width: 300px; padding: 12px; background: #111; border-radius: 38px; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.phone img { border-radius: 28px; }
.shot { border-radius: 10px; overflow: hidden; box-shadow: 0 24px 60px rgba(27,31,35,.22); border: 1px solid var(--line); }

/* demo */
.demo { display: grid; grid-template-columns: 2.4fr 1fr; gap: 40px; align-items: end; }
.demo figure { margin: 0; }
.demo figcaption { margin-top: 18px; text-align: center; color: var(--muted); font-size: 15px; }
.demo figcaption b { display: block; color: var(--ink); font-size: 17px; }
.demo-v .tv { max-width: 260px; margin: 0 auto; }
.themes { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 44px; font-weight: 700; color: var(--ink); }
.th { font-style: normal; font-size: 14px; padding: 8px 16px; border-radius: 99px; color: #fff; }
.th.madeira { background: linear-gradient(135deg, #5B3A1E, #3A2412); }
.th.lousa { background: linear-gradient(135deg, #2F5D3A, #1E3D26); }
.th.vermelho { background: linear-gradient(135deg, #DC2626, #991B1B); }
.th.claro { background: #fff; color: var(--ink); border: 1px solid var(--line); }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { background: var(--surface); border-radius: 8px; box-shadow: var(--shadow); padding: 26px 22px; color: var(--muted); font-size: 15px; }
.steps li span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; font-size: 20px; margin-bottom: 16px; }
.steps li b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 6px; }
.code-shot { max-width: 620px; margin: 48px auto 0; }

/* features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat { border: 1px solid var(--line); border-radius: 8px; padding: 24px 22px; transition: box-shadow .15s, transform .15s, border-color .15s; }
.feat:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: transparent; }
.feat i { font-style: normal; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: rgba(255, 61, 16, .1); font-size: 24px; margin-bottom: 14px; }
.feat b { display: block; color: var(--ink); font-size: 16.5px; margin-bottom: 6px; }
.feat p { font-size: 14.5px; color: var(--muted); }

/* compare */
.compare-wrap { overflow-x: auto; border-radius: 8px; box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; background: var(--surface); min-width: 620px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--bg); color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.compare thead th.us { background: var(--grad); color: #fff; }
.compare td:first-child { font-weight: 700; color: var(--ink); }
.compare td.us { background: #FFF6F3; color: var(--ink); font-weight: 700; }
.compare tr:last-child td { border-bottom: 0; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border-radius: 10px; box-shadow: var(--shadow); padding: 32px 28px; display: flex; flex-direction: column; }
.plan.hot { outline: 3px solid var(--brand); }
.ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: 99px; white-space: nowrap; }
.plan .name { font-size: 22px; color: var(--ink); }
.plan .for { color: var(--muted); font-size: 15px; margin-top: 6px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; flex: 1; }
.plan li { padding-left: 28px; position: relative; color: var(--ink); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

/* resell */
.resell { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--bg); border-radius: 12px; padding: 44px 48px; border-left: 6px solid var(--brand); }
.sec .resell { max-width: 1132px; }
.resell h2 { font-size: 30px; }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border-radius: 8px; box-shadow: 0 2px 8px rgba(27,31,35,.08); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--bg); padding: 28px; border-radius: 10px; }
.form label { display: grid; gap: 8px; color: var(--ink); font-size: 13.5px; font-weight: 700; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  width: 100%; min-height: 44px; border: 0; border-radius: 5px; padding: 10px 12px;
  font: 15px var(--font); color: var(--ink); background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,.12);
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid rgba(255, 61, 16, .28); }

/* final + footer */
.final { background: var(--grad); color: #fff; text-align: center; padding: 72px 0; }
.final h2 { font-size: 40px; letter-spacing: -.02em; }
.final p { font-size: 18px; color: rgba(255,255,255,.9); margin: 10px 0 28px; }
.foot { background: var(--grad); color: rgba(255,255,255,.85); padding: 28px 0 32px; border-top: 1px solid rgba(255,255,255,.2); }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot .brand { color: #fff; font-size: 17px; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot nav a { text-decoration: none; font-size: 14px; }
.foot nav a:hover { color: #fff; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; font-size: 26px; text-decoration: none; box-shadow: 0 10px 24px rgba(0,0,0,.25); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }

/* sem número de WhatsApp configurado */
.no-wa [data-wa], .no-wa [data-needs-wa] { display: none !important; }
.no-wa .final p { margin-bottom: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .menu { gap: 16px; }
  .menu a { font-size: 13px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 40px; }
}

@media (max-width: 860px) {
  .top-in { height: 60px; gap: 12px; }
  .top .btn.sm { margin-left: auto; height: 34px; padding: 0 12px; font-size: 13px; }
  .burger { display: block; }
  .menu { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; box-shadow: 0 12px 24px rgba(0,0,0,.18); }
  .menu.open { display: flex; }
  .menu a { color: var(--text); padding: 14px 24px; border-bottom: 1px solid var(--line); opacity: 1; }
  .menu a:hover { background: var(--brand); color: #fff; text-decoration: none; }

  .hero-in, .split, .contact { grid-template-columns: 1fr; gap: 40px; }
  .hero-in { padding-top: 44px; padding-bottom: 56px; }
  .hero h1 { font-size: 33px; }
  .hero .lead { font-size: 16.5px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .split.rev > :first-child { order: 2; }
  .sec { padding: 64px 0; }
  .sec h2 { font-size: 28px; }
  .demo { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; gap: 28px; }
  .resell { flex-direction: column; align-items: flex-start; padding: 32px 26px; }
  .resell h2 { font-size: 24px; }
  .final h2 { font-size: 30px; }
}

@media (max-width: 560px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .brand { font-size: 17px; }
  .brand img { width: 30px; height: 30px; }
  .top .btn.sm { display: none; }
  .burger { margin-left: auto; }
  .btn.lg { width: 100%; }
  .features, .steps { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; padding: 20px; }
  .phone { width: 260px; }
  .strip h2 { font-size: 20px; }
  .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
}
