/* =========================================================
   TEMPLATE IPTV — tema "Ambiente" (petróleo quase-preto / verde-sinal /
   azul elétrico, em gradiente) para o projeto Teste Rápido CB.
   Paleta tirada da arte real fornecida pelo cliente (ícone de play em
   gradiente verde->azul sobre fundo escuro). Tipografia, formas e hero
   NOVOS em relação aos builds anteriores (Genoveva, Haute STR, Infov RCT,
   Ienec Play, Host ELC, Jetis BRL, Cabanha, BND IPTV, Conexao IPTV, Canal
   DTK/Editorial, Telex BR/Sinal) — ver /areas/sites-hostinger.md antes de
   repetir combinações.
   Motivo estrutural: hero em foto real full-bleed (texto sobreposto com
   overlay em gradiente, não ao lado); cards com barra de destaque LATERAL
   (não no topo, não sem borda, não com canto cortado); botões com
   preenchimento em GRADIENTE (verde->azul), não cor lisa.
   ========================================================= */

:root {
  --bg: #071822;
  --bg-alt: #0C2430;
  --panel: #0E2B38;
  --ink: #F2F8F7;
  --ink-soft: #9FB8BE;
  --teal: #14C8A6;
  --blue: #2F6FED;
  --line: #1B3B48;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 10px 28px rgba(2, 8, 12, 0.5);
  --shadow-lg: 0 20px 48px rgba(2, 8, 12, 0.6);
  --maxw: 1180px;
  --grad: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%);
  --font-display: "Outfit", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.14;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 6px 14px 6px 0;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad);
  flex-shrink: 0;
}
.lead { font-size: 1.14rem; max-width: 640px; color: var(--ink-soft); }

/* ---------- Botões: cantos arredondados, preenchimento em GRADIENTE ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.97rem;
  padding: 14px 28px;
  border-radius: 11px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn-primary {
  background: var(--grad);
  color: #05141C;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--teal) 35%, transparent);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  header.site-header {
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo-mark { display: flex; align-items: center; gap: 10px; }
.logo-mark img { height: 34px; width: auto; }
.logo-mark span { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; }
nav.main-nav { display: flex; gap: 28px; }
nav.main-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--ink); border-color: var(--teal); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.menu-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

@media (max-width: 860px) {
  nav.main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 16px 24px; border-bottom: 1px solid var(--line); display: none; gap: 14px; }
  nav.main-nav.open { display: flex; }
  .menu-toggle { display: block; }
}

/* ---------- Hero: foto real full-bleed com overlay em gradiente ---------- */
.hero { position: relative; padding: 0; overflow: hidden; }
.hero-banner {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero-banner .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 94%, transparent) 0%, color-mix(in srgb, var(--bg) 78%, transparent) 42%, color-mix(in srgb, var(--bg) 20%, transparent) 78%, transparent 100%);
  z-index: 1;
}
.hero-banner .container { position: relative; z-index: 2; padding: 72px 24px; }
.hero-copy { max-width: 620px; }
.hero .trust-chips {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero .trust-chips .trust-chip {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 15px;
  display: inline-flex; align-items: center; gap: 7px;
}
.trust-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .hero-banner { min-height: 460px; align-items: flex-end; }
  .hero-banner::before { background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 30%, transparent) 0%, color-mix(in srgb, var(--bg) 94%, transparent) 72%); }
  .hero-banner .container { padding: 0 20px 40px; }
}

/* Mock ilustrado (fallback para páginas/casos sem foto real) — mantido do
   template-base, não usado na home desta instância, mas disponível. */
.device-mock {
  width: 100%;
  background: #08161E;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px 0;
  box-shadow: var(--shadow-lg);
}
.device-mock .screen {
  background: repeating-linear-gradient(180deg, #0C1E28, #0C1E28 2px, #10262F 2px, #10262F 4px);
  border-radius: 8px 8px 0 0;
  aspect-ratio: 16 / 8;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 20px;
  position: relative;
}
.device-mock .tile { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; position: relative; display:flex; flex-direction:column; justify-content:flex-end; gap:6px; padding:8px; }
.mock-topbar { display: flex; align-items: center; gap: 6px; padding: 0 4px 10px; }
.mock-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.22); }
.mock-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; color: #FF6B5E; text-transform: uppercase; }
.mock-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #FF6B5E; animation: mockPulse 1.6s ease-in-out infinite; }
@keyframes mockPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.mock-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center; color: #fff; z-index: 2; }
.mock-play svg { width: 20px; height: 20px; }
.mock-chip { width: 18px; height: 18px; border-radius: 5px; background: var(--teal); }
.mock-line { display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.2); width: 80%; }
.mock-line.short { width: 45%; }

/* ---------- Cards com barra de destaque LATERAL ---------- */
.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: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
}
.card.alt-top { border-left-color: var(--blue); }
.card .icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--teal) 14%, transparent);
  color: var(--teal);
}
.card .icon svg { width: 24px; height: 24px; }
.card:nth-of-type(2) .icon, .card.alt-top .icon { color: var(--blue); background: color-mix(in srgb, var(--blue) 14%, transparent); }
.device-icon {
  width: 30px; height: 30px;
  margin: 0 auto 10px;
  color: var(--teal);
}
.device-icon svg { width: 100%; height: 100%; }
.page-icon-badge {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--teal) 14%, transparent);
  color: var(--teal);
  margin-bottom: 14px;
}
.page-icon-badge svg { width: 22px; height: 22px; }

/* ---------- Planos ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  align-items: stretch;
}
@media (max-width: 980px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (max-width: 560px) { .pricing-grid { grid-template-columns: 1fr; } }

.plan-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow);
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.plan-card .badge {
  position: absolute; top: 18px; right: -34px;
  background: var(--grad); color: #05141C;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em;
  padding: 5px 40px; text-transform: uppercase;
  transform: rotate(38deg);
  box-shadow: 0 4px 10px color-mix(in srgb, var(--teal) 35%, transparent);
}
.plan-card h3 { font-size: 1.02rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); margin-bottom: 4px; }
.plan-card .price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--teal);
  margin: 8px 0 20px;
  line-height: 1;
}
.plan-card .price small { font-size: 0.94rem; font-family: var(--font-body); color: var(--ink-soft); font-weight: 500; }
.plan-card .price-equiv {
  font-size: 0.8rem; color: var(--ink-soft);
  margin: -16px 0 20px;
}

.plan-card ul { list-style: none; padding: 0; margin: 0 0 24px; flex-grow: 1; display: flex; flex-direction: column; gap: 12px; }
.plan-card li { font-size: 0.93rem; padding-left: 26px; position: relative; color: var(--ink); }
.plan-card li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: color-mix(in srgb, var(--teal) 16%, transparent); color: var(--teal);
  font-size: 0.7rem; font-weight: 700;
}

.plan-card.featured {
  border-left-color: var(--teal);
  border-color: color-mix(in srgb, var(--teal) 40%, var(--line));
  background: linear-gradient(180deg, color-mix(in srgb, var(--teal) 10%, transparent), var(--panel) 55%);
  box-shadow: var(--shadow-lg);
}
.plan-card.featured h3 { color: var(--teal); }
.plan-card.featured li::before { background: color-mix(in srgb, var(--teal) 20%, transparent); }
.plan-card.featured:hover { transform: translateY(-6px); }

/* ---------- Passo a passo ---------- */
.steps { counter-reset: step; }
.step { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: none; }
.step-num {
  counter-increment: step;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: #05141C;
  background: var(--grad);
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-num::before { content: counter(step); }

/* ---------- FAQ (accordion simples) ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 0; font-family: var(--font-display); font-size: 1.08rem; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; color: var(--ink);
}
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-answer p { padding-bottom: 18px; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-item.open .faq-question .chevron { transform: rotate(180deg); }
.chevron { transition: transform 0.2s ease; color: var(--teal); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 0.85rem; color: var(--ink-soft); padding: 18px 0 0; }
.breadcrumb a { color: var(--teal); font-weight: 600; }
.breadcrumb span { margin: 0 6px; }

/* ---------- Footer ---------- */
footer.site-footer { background: #030D13; color: #A9BFC4; padding: 56px 0 28px; margin-top: 80px; border-top: 1px solid var(--line); }
footer.site-footer a { color: #A9BFC4; }
footer.site-footer a:hover { color: var(--teal); }
footer.site-footer .logo-mark span { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
footer.site-footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 14px; }
footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer li { margin-bottom: 8px; font-size: 0.92rem; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 20px; font-size: 0.82rem; color: #5C7379; text-align: center; }

/* ---------- Utilidades ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.whatsapp-fab {
  position: fixed; bottom: 22px; right: 22px; z-index: 60;
  background: var(--grad); color: #05141C;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); font-size: 1.6rem;
}
.content-page { padding: 56px 0 80px; }
.content-page article { max-width: 760px; }
.content-page h2 { margin-top: 1.4em; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card img { border-radius: var(--radius) var(--radius) 0 0; }
.blog-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.blog-card .body { padding: 18px; }
.blog-card .date { font-size: 0.8rem; color: var(--ink-soft); }
