/* ============================================================
   Lindos — IPTV | Estilo global
   Paleta: roxo + dourado, base clara ("clean")
   ============================================================ */

:root {
  --color-bg: #FBF9FD;            /* fundo principal (claro) */
  --color-bg-soft: #F3ECFB;       /* seções alternadas */
  --color-surface: #FFFFFF;       /* cards */
  --color-surface-dark: #2C1250;  /* header / footer / faixas escuras */
  --color-surface-dark-2: #3B1E68;/* variação para gradientes */
  --color-cta: #7C3AED;           /* destaque / CTA */
  --color-cta-hover: #EAB308;     /* destaque hover (dourado) */
  --color-text-light: #FFFFFF;    /* texto claro (sobre fundos escuros) */
  --color-text-muted: #6B6072;    /* texto secundário / muted */
  --color-text-dark: #241832;     /* texto principal sobre fundo claro */
  --color-border: #E7DEF3;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(44, 18, 80, 0.10);
  --max-width: 1180px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 16px; color: var(--color-text-dark); }
h1 { font-size: clamp(28px, 5vw, 46px); }
h2 { font-size: clamp(24px, 3.6vw, 34px); }
h3 { font-size: 20px; }
p { margin: 0 0 16px; }
.muted { color: var(--color-text-muted); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary {
  background: var(--color-cta);
  color: var(--color-text-light);
}
.btn-primary:hover {
  background: var(--color-cta-hover);
  color: var(--color-surface-dark);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border-color: var(--color-cta);
  color: var(--color-cta);
}
.btn-outline:hover {
  background: var(--color-cta);
  color: var(--color-text-light);
}
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface-dark);
  border-bottom: 3px solid var(--color-cta-hover);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  color: var(--color-text-light);
}
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.main-nav a {
  color: #E7DEF3;
  font-weight: 600;
  font-size: 15px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--color-cta-hover);
  border-bottom-color: var(--color-cta-hover);
}
.nav-cta { display: flex; align-items: center; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--color-cta-hover);
  color: var(--color-text-light);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 18px;
  cursor: pointer;
}

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 0 6px;
    order: 3;
  }
  .main-nav.open { display: flex; }
  .site-header .container { flex-wrap: wrap; }
  .nav-cta { order: 2; }
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(circle at 15% 20%, rgba(124,58,237,0.18), transparent 45%),
              radial-gradient(circle at 85% 0%, rgba(234,179,8,0.16), transparent 40%),
              var(--color-bg);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--color-border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-cta);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.stars { color: var(--color-cta-hover); font-weight: 700; }
.hero-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.hero-stats div { min-width: 120px; }
.hero-stats strong { display: block; font-size: 24px; color: var(--color-cta); }
.hero-panel {
  background: var(--color-surface-dark);
  border-radius: var(--radius);
  padding: 30px;
  color: var(--color-text-light);
  box-shadow: var(--shadow);
}
.hero-panel h3 { color: var(--color-text-light); }
.hero-panel ul { padding-left: 18px; margin: 16px 0; }
.hero-panel li { margin-bottom: 8px; color: #E7DEF3; }

/* ---------- Seções ---------- */
section { padding: 56px 0; }
.section-soft { background: var(--color-bg-soft); }
.section-dark {
  background: linear-gradient(135deg, var(--color-surface-dark), var(--color-surface-dark-2));
  color: var(--color-text-light);
}
.section-dark h2, .section-dark h3 { color: var(--color-text-light); }
.section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }

/* ---------- Grids / cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.icon-circle {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(124,58,237,0.12);
  color: var(--color-cta);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 14px;
}

/* ---------- Apps compat ---------- */
.apps-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.apps-list span {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text-dark);
}

/* ---------- Planos ---------- */
.plan-card {
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  position: relative;
}
.plan-card.featured {
  border-color: var(--color-cta);
  transform: translateY(-6px);
}
.plan-tag {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--color-cta-hover);
  color: var(--color-surface-dark);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-name { font-weight: 700; color: var(--color-cta); text-transform: uppercase; font-size: 14px; letter-spacing: .06em; }
.plan-price { font-size: 40px; font-weight: 800; margin: 10px 0 2px; color: var(--color-text-dark); white-space: nowrap; }
.plan-period { font-size: 14px; font-weight: 600; color: var(--color-text-muted); margin-bottom: 4px; }
.plan-card ul { list-style: none; padding: 0; margin: 18px 0 24px; text-align: left; }
.plan-card li { padding: 6px 0; padding-left: 26px; position: relative; color: var(--color-text-dark); }
.plan-card li::before {
  content: "✓";
  position: absolute; left: 0; top: 6px;
  color: var(--color-cta);
  font-weight: 800;
}

/* ---------- Depoimentos ---------- */
.testimonial {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.testimonial .stars { display: block; margin-bottom: 10px; }
.testimonial-author { margin-top: 14px; font-weight: 700; color: var(--color-text-dark); }
.testimonial-city { font-size: 13px; color: var(--color-text-muted); }

/* ---------- Números / prova social ---------- */
.stat-box { text-align: center; padding: 20px; }
.stat-box strong { display: block; font-size: 36px; color: var(--color-cta-hover); }
.section-dark .stat-box strong { color: var(--color-cta-hover); }
.stat-box span { color: var(--color-text-muted); font-weight: 600; }
.section-dark .stat-box span { color: #D8CCEA; }

/* ---------- Blog ---------- */
.blog-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.blog-card .blog-thumb {
  height: 130px;
  background: linear-gradient(135deg, var(--color-cta), var(--color-surface-dark));
  display: flex; align-items: center; justify-content: center;
  color: var(--color-cta-hover);
  font-size: 32px;
  font-weight: 800;
}
.blog-card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card-body h3 { margin: 0; font-size: 18px; }
.blog-meta { font-size: 12px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .04em; }
.blog-card-body a.read-more { color: var(--color-cta); font-weight: 700; margin-top: auto; }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: 14px;
}
.faq-item h3 { margin-bottom: 8px; font-size: 17px; color: var(--color-cta); }
.faq-item p { margin: 0; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 13px;
  color: var(--color-text-muted);
  padding: 16px 0;
}
.breadcrumb a { color: var(--color-cta); font-weight: 600; }
.breadcrumb span[aria-hidden] { margin: 0 6px; }

/* ---------- Formulário de contato ---------- */
.form-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  margin-bottom: 18px;
  font-family: inherit;
  font-size: 15px;
  background: var(--color-bg);
  color: var(--color-text-dark);
}
textarea { resize: vertical; min-height: 120px; }

/* ---------- CTA final ---------- */
.cta-band {
  background: var(--color-cta);
  color: var(--color-text-light);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}
.cta-band h2 { color: var(--color-text-light); }
.cta-band .btn-primary { background: var(--color-surface-dark); }
.cta-band .btn-primary:hover { background: var(--color-cta-hover); color: var(--color-surface-dark); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-surface-dark);
  color: #D8CCEA;
  padding: 50px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.site-footer h4 { color: var(--color-text-light); font-size: 15px; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--color-cta-hover); }
.footer-bottom {
  padding-top: 20px;
  font-size: 13px;
  color: #B6A9CC;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.disclaimer { font-size: 12px; color: #A497BC; margin-top: 10px; line-height: 1.6; }

/* ---------- Utilidades ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.list-check { list-style: none; padding: 0; }
.list-check li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.list-check li::before {
  content: "✓";
  position: absolute; left: 0; color: var(--color-cta); font-weight: 800;
}
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 46px;
  margin-bottom: 22px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--color-cta);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
article.post h2 { margin-top: 34px; }
article.post img { border-radius: var(--radius); margin: 20px 0; }
