/* =============================================
   IPTV Host — cluster.css (páginas cluster)
   ============================================= */

/* ---- Breadcrumb ---- */
.breadcrumb-bar {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.breadcrumb-bar nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--muted);
}
.breadcrumb-bar a { color: var(--muted); transition: color var(--transition); }
.breadcrumb-bar a:hover { color: var(--white); }
.breadcrumb-bar span { color: var(--muted); }

/* ---- Cluster Hero ---- */
.cluster-hero {
  padding: 80px 0 64px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(229,48,48,.12) 0%, transparent 70%),
    var(--bg);
}
.cluster-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  margin: 16px 0 20px;
  letter-spacing: -.03em;
  line-height: 1.1;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.cluster-hero-green {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(37,211,102,.1) 0%, transparent 70%),
    var(--bg);
}

.cluster-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.cluster-sub strong { color: var(--text); }

.cluster-cta { margin-bottom: 24px; }

.cluster-trust {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: var(--muted);
  font-weight: 500;
}
.cluster-trust span { display: flex; align-items: center; gap: 5px; }

/* ---- Cluster content ---- */
.cluster-content h2 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin: 48px 0 16px;
}
.cluster-content h2:first-child { margin-top: 0; }
.cluster-content p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

/* ---- Content list ---- */
.content-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0 32px;
  padding-left: 8px;
}
.content-list li {
  font-size: .95rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* ---- Feature boxes ---- */
.feature-boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0 40px;
}
.feature-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
  transition: var(--transition);
}
.feature-box:hover { border-color: rgba(229,48,48,.3); transform: translateY(-3px); }
.feature-box > span { font-size: 1.8rem; flex-shrink: 0; }
.feature-box strong { display: block; font-size: .92rem; color: var(--white); margin-bottom: 6px; }
.feature-box p { font-size: .82rem; color: var(--muted); line-height: 1.5; margin: 0; }

/* ---- Steps mini ---- */
.steps-mini {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0 40px;
}
.step-mini {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 20px;
}
.step-mini > span {
  width: 36px; height: 36px;
  background: var(--grad);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}
.step-mini strong { display: block; font-size: .92rem; color: var(--white); margin-bottom: 4px; }
.step-mini p { font-size: .82rem; color: var(--muted); line-height: 1.5; margin: 0; }

/* ---- CTA mid ---- */
.cluster-cta-mid {
  text-align: center;
  margin: 40px 0;
  padding: 40px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

/* ---- Mini cards (grid links internos) ---- */
.mini-cards { margin: 24px 0 40px; }
.mini-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 12px;
  transition: var(--transition);
  text-decoration: none;
}
.mini-card:hover { border-color: var(--red); transform: translateY(-3px); }
.mini-card strong { font-size: .9rem; color: var(--white); }
.mini-card span { font-size: .78rem; color: var(--muted); }

/* ---- Price highlight ---- */
.price-highlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, rgba(37,211,102,.08) 0%, var(--surface) 100%);
  border: 2px solid rgba(37,211,102,.3);
  border-radius: var(--r-lg);
  padding: 32px 40px;
  margin: 40px 0;
}
.price-highlight .eyebrow { margin-bottom: 6px; }
.price-highlight h3 { font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.price-highlight p { font-size: .88rem; color: var(--muted); margin-bottom: 4px; }
.big-price { display: block; font-size: 2.8rem; font-weight: 900; color: var(--white); line-height: 1; }
.big-price + small { font-size: .78rem; color: var(--muted); }

/* ---- Compare table ---- */
.compare-table {
  overflow-x: auto;
  margin: 24px 0 40px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}
.compare-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.compare-table thead tr {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.compare-table th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 700;
  color: var(--white);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.compare-table td {
  padding: 14px 20px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.compare-table td:first-child { color: var(--muted); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: rgba(255,255,255,.02); }

/* ---- Badge green variant ---- */
.badge-green {
  background: rgba(37,211,102,.15);
  border-color: rgba(37,211,102,.4);
  color: #4ade80;
}

/* ---- Cluster links section ---- */
.cluster-links { text-align: center; }
.cluster-links-title {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 32px;
}
.link-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 16px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
}
.link-card:hover {
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-3px);
}

/* ---- Cover image (between hero and content) ---- */
.cluster-cover {
  margin: 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  position: relative;
}
.cluster-cover img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.cluster-cover:hover img { transform: scale(1.02); }
.cluster-cover figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  font-weight: 500;
  padding: 32px 24px 14px;
  letter-spacing: .02em;
}

/* ---- Content image (mid-article) ---- */
.content-img {
  margin: 40px 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.content-img img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}
.content-img figcaption {
  background: var(--surface);
  color: var(--muted);
  font-size: .8rem;
  padding: 10px 18px;
  border-top: 1px solid var(--border);
  font-style: italic;
}

/* ---- Image strip (3 cols dentro do artigo) ---- */
.img-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 40px 0;
}
.img-strip figure {
  border-radius: var(--r-md);
  overflow: hidden;
  margin: 0;
  position: relative;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
}
.img-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.img-strip figure:hover img { transform: scale(1.06); }
.img-strip figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
  color: #fff;
  font-size: .73rem;
  font-weight: 600;
  padding: 22px 10px 8px;
  opacity: 0;
  transition: opacity .3s ease;
  letter-spacing: .01em;
}
.img-strip figure:hover figcaption { opacity: 1; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .cluster-cover img { height: 240px; }
  .content-img img { height: 220px; }
  .img-strip { grid-template-columns: 1fr; }
  .img-strip figure { aspect-ratio: 16/9; }

  .cluster-hero { padding: 60px 0 48px; }
  .feature-boxes { grid-template-columns: 1fr; }
  .price-highlight { flex-direction: column; text-align: center; }
  .cluster-trust { gap: 14px; }
  .grid-3.mini-cards { grid-template-columns: 1fr; }
}
