/* Castro Burger IPTV — castroburger.com.br */
:root {
  --bg: #090b16;
  --bg-2: #10142a;
  --panel: #161b34;
  --panel-2: #1e2446;
  --line: #2c3460;
  --text: #f4f6fb;
  --muted: #aeb6cf;
  --orange: #ff7a18;
  --red: #ff3d2e;
  --amber: #ffb800;
  --green: #25d366;
  --grad: linear-gradient(135deg, var(--orange), var(--red));
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .35);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(900px 500px at 85% -10%, rgba(255, 122, 24, .16), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(120, 60, 220, .14), transparent 60%);
  background-repeat: no-repeat;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--orange); text-underline-offset: 3px; }
a:hover { color: #ffa155; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 900; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.2rem); font-weight: 850; }
h3 { font-size: 1.2rem; font-weight: 750; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--orange); color: #111; padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9, 11, 22, .86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(44, 52, 96, .6);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--text); text-decoration: none; font-weight: 900; letter-spacing: .02em; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand span { color: var(--orange); }
.brand:hover { color: var(--text); }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.header-cta { flex: none; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav .btn-primary, .nav .btn-primary:hover { color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 800; font-size: 1rem;
  text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px rgba(255, 90, 30, .35); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 36px rgba(255, 90, 30, .5); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn-ghost:hover { color: var(--text); border-color: var(--orange); }
.btn-whats { background: var(--green); color: #06260f; }
.btn-whats:hover { color: #06260f; }
.btn-sm { padding: 10px 18px; font-size: .92rem; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- breadcrumb ---------- */
.breadcrumb { padding: 18px 0 0; font-size: .9rem; color: var(--muted); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }

/* ---------- hero ---------- */
.hero { padding: 40px 0 30px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 700;
  background: rgba(255, 122, 24, .12); color: #ffb27a; border: 1px solid rgba(255, 122, 24, .35);
  margin-bottom: 18px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(255, 61, 46, .25); }
.hero h1 .hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: #d7dcec; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .95rem; }
.hero-trust li::before { content: "✓"; color: var(--green); font-weight: 900; margin-right: 6px; }
.hero-media img { border-radius: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.meta-line { font-size: .88rem; color: var(--muted); margin-top: 18px; }
.meta-line time { color: var(--text); }

/* ---------- TL;DR ---------- */
.tldr {
  margin: 10px 0 0; padding: 22px 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
}
.tldr strong.label { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--orange); margin-bottom: 8px; }
.tldr ul { margin: 0; padding-left: 20px; }
.tldr li { margin: 4px 0; }

/* ---------- sections ---------- */
section { padding: 56px 0; }
.section-alt { background: linear-gradient(180deg, rgba(22, 27, 52, .55), rgba(22, 27, 52, 0)); border-top: 1px solid rgba(44, 52, 96, .5); }
.section-head { max-width: 760px; margin-bottom: 28px; }
.section-head p { color: var(--muted); }
.answer { font-size: 1.08rem; color: #e3e7f3; max-width: 820px; }
.prose { max-width: 820px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose .steps { padding-left: 0; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); align-items: center; gap: 40px; }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad); margin-bottom: 14px; font-size: 1.3rem;
}
.card .icon svg { width: 24px; height: 24px; }

.figure { margin: 0; }
.figure img { border-radius: 20px; border: 1px solid var(--line); }
.figure figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; }

/* ---------- planos ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px;
}
.plan.featured { border: 2px solid var(--orange); background: linear-gradient(180deg, #23192f, var(--panel)); transform: translateY(-6px); }
.plan .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: .75rem; font-weight: 800; padding: 5px 12px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-size: 1.1rem; color: var(--muted); font-weight: 700; }
.price { white-space: nowrap; font-size: clamp(1.8rem, 2.6vw, 2.3rem); font-weight: 900; line-height: 1; margin: 6px 0 4px; }
.price small { font-size: 1rem; font-weight: 700; color: var(--muted); }
.price-note { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; font-size: .95rem; }
.plan li { padding: 6px 0; border-bottom: 1px dashed rgba(44, 52, 96, .8); }
.plan li::before { content: "✓"; color: var(--green); font-weight: 900; margin-right: 8px; }
.plan .btn { margin-top: auto; width: 100%; }

/* ---------- tabelas ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--panel); }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
thead th { background: var(--panel-2); font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
td.yes { color: var(--green); font-weight: 700; }
td.no { color: #ff8a80; font-weight: 700; }
caption { caption-side: bottom; text-align: left; padding: 10px 4px 0; font-size: .85rem; color: var(--muted); }

/* ---------- passos ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li {
  counter-increment: step; position: relative; padding: 20px 22px 20px 78px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
}
.steps li::before {
  content: counter(step); position: absolute; left: 20px; top: 20px;
  width: 40px; height: 40px; border-radius: 50%; background: var(--grad);
  display: grid; place-items: center; font-weight: 900;
}
.steps li strong { display: block; font-size: 1.08rem; margin-bottom: 2px; }
.steps li span { color: var(--muted); }

/* ---------- opiniao / nota ---------- */
.note {
  padding: 22px 26px; border-radius: var(--radius); background: rgba(255, 184, 0, .07);
  border: 1px solid rgba(255, 184, 0, .3);
}
.note p:last-child { margin: 0; }
.signature { font-size: .9rem; color: var(--muted); margin-top: 10px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; max-width: 880px; }
.faq-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.faq-item h3 { font-size: 1.08rem; margin-bottom: .45em; }
.faq-item p { color: #cfd5e6; margin: 0; }

/* ---------- CTA final ---------- */
.cta-box {
  text-align: center; padding: 48px 28px; border-radius: 28px;
  background: radial-gradient(600px 300px at 50% 0%, rgba(255, 122, 24, .3), transparent 70%), var(--panel);
  border: 1px solid var(--line);
}
.cta-box p { color: var(--muted); max-width: 620px; margin: 0 auto 22px; }
.cta-box .hero-cta { justify-content: center; margin-bottom: 0; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 90px; color: var(--muted); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h2 { font-size: 1rem; color: var(--text); margin-bottom: .7em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.copy { border-top: 1px solid rgba(44, 52, 96, .6); margin-top: 28px; padding-top: 18px; font-size: .85rem; }

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: var(--green);
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
}
.whats-float svg { width: 32px; height: 32px; }

/* ---------- responsivo ---------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plan.featured { transform: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero-grid, .grid-2 { grid-template-columns: 1fr; gap: 28px; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; row-gap: 0; padding-top: 10px; }
  .header-cta { margin-left: auto; }
  .nav {
    order: 3; width: calc(100% + 40px); margin: 8px -20px 0; padding: 10px 20px;
    gap: 8px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid rgba(44, 52, 96, .6);
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: none; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; }
  .nav a[aria-current="page"], .nav a.is-section { border-color: var(--orange); color: var(--text); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .nav { width: calc(100% + 32px); margin: 8px -16px 0; padding: 10px 16px; }
  .plans, .grid-4 { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .brand { font-size: .82rem; gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .btn-sm { padding: 9px 12px; font-size: .84rem; }
  .header-inner { column-gap: 8px; }
  section { padding: 44px 0; }
  .steps li { padding-left: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ---------- silo: cards de link, leia tambem ---------- */
.nav a.is-section { color: var(--text); }
.card-link { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--text); transition: border-color .15s ease, transform .15s ease; }
.card-link:hover { color: var(--text); border-color: var(--orange); transform: translateY(-2px); }
.card-link .more { margin-top: auto; padding-top: 10px; color: var(--orange); font-weight: 700; font-size: .92rem; }
.related { padding: 24px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); }
.related h2 { font-size: 1.15rem; }
.related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.related li a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: .93rem; }
.related li a:hover { border-color: var(--orange); }
.legal h2 { font-size: 1.35rem; margin-top: 1.6em; }

/* ---------- mapa do site ---------- */
.sitemap-grid { align-items: start; }
.sitemap-grid h2 { font-size: 1.15rem; }
.sitemap-grid h2 a { color: var(--text); text-decoration: none; }
.sitemap-list { margin: 0; padding-left: 18px; columns: 2; column-gap: 24px; }
.sitemap-list li { margin: 4px 0; break-inside: avoid; }
@media (max-width: 560px) { .sitemap-list { columns: 1; } }
