/* ============================================================
   Claire IPTV — Design System
   Paleta: verde-petróleo escuro + âmbar mostarda (nova, distinta
   dos 6 projetos anteriores: vermelho/preto, amarelo/navy/vermelho,
   violeta/dourado, verde/laranja, navy/ciano, grafite/magenta).
   Layout: navegação mobile como BARRA DE ABAS FIXA NA BASE (padrão
   de app, com painel "Mais" deslizante) em vez de hambúrguer; hero
   em duas colunas com anel decorativo à esquerda e texto à direita;
   cards com cantos em "moldura" (brackets); compatibilidade em
   abas alternáveis (Dispositivos/Aplicativos); planos em carrossel
   horizontal com indicadores; FAQ filtrável por categoria; SEM
   seção de avaliações/depoimentos na Home (variação permitida pela
   regra de avaliações); rodapé em 3 colunas com selos de confiança.
   ============================================================ */

:root {
  --color-ink: #0B2426;
  --color-brand: #123638;
  --color-brand-2: #1D4F52;
  --color-brand-3: #2F6E70;
  --color-cta: #E8A33D;
  --color-cta-hover: #F0B860;
  --color-dark-2: #163C3E;
  --color-dark-3: #1C4547;
  --color-text-light: #FFFFFF;
  --color-text-muted: #B9CFCE;
  --color-page-bg: #FBF8F3;
  --color-card-bg: #FFFFFF;
  --color-body-on-light: #4A5D5C;
  --color-border-light: #E6E1D8;
  --color-border-dark: rgba(255,255,255,0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --shadow-soft: 0 14px 34px rgba(11,36,38,0.10);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --tabbar-h: 66px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--color-page-bg);
  color: var(--color-body-on-light);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { color: var(--color-ink); line-height: 1.24; font-weight: 800; margin: 0 0 12px; }
p { margin: 0 0 14px; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Seções ---------- */
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-dark { background: var(--color-brand); color: var(--color-text-muted); }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head-center { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.section-head { max-width: 680px; margin: 0 0 40px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #B4791E;
  margin-bottom: 12px;
}
.section-dark .eyebrow { color: var(--color-cta); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--color-cta); color: var(--color-ink); }
.btn-primary:hover { background: var(--color-cta-hover); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--color-border-light); color: var(--color-ink); }
.btn-outline:hover { border-color: var(--color-cta); color: #B4791E; }
.section-dark .btn-outline,
.hero .btn-outline,
.cta-panel .btn-outline { color: #fff; border-color: rgba(255,255,255,0.35); }
.section-dark .btn-outline:hover,
.hero .btn-outline:hover,
.cta-panel .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 13.5px; }

/* ---------- Header (desktop) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 36, 38, 0.97);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 900; color: #fff; }
.logo .brand-tv { color: var(--color-cta); }

.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-desktop a {
  font-size: 14.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.72);
  padding: 8px 4px;
  border-bottom: 3px solid transparent;
  transition: all 0.15s ease;
}
.nav-desktop a:hover { color: #fff; }
.nav-desktop a.active { color: #fff; border-bottom-color: var(--color-cta); }

.header-actions { display: flex; align-items: center; gap: 14px; }

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .header-actions .btn-sm { display: none; }
}

/* ---------- Navegação mobile: BARRA DE ABAS FIXA + painel "Mais" ---------- */
.bottom-tabbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: var(--tabbar-h);
  background: rgba(11, 36, 38, 0.98);
  border-top: 1px solid var(--color-border-dark);
  z-index: 110;
  align-items: stretch;
  justify-content: space-around;
}
.tab-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; flex: 1; font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.62);
  background: none; border: none; cursor: pointer; font-family: inherit;
}
.tab-item .tab-icon { font-size: 19px; }
.tab-item.active, .tab-item.is-open { color: var(--color-cta); }
.tab-item.tab-cta .tab-icon { color: var(--color-cta); }

.more-sheet {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: var(--tabbar-h);
  background: var(--color-dark-2);
  border-top: 1px solid var(--color-border-dark);
  border-radius: 18px 18px 0 0;
  transform: translateY(110%);
  transition: transform 0.3s ease;
  z-index: 109;
  padding: 10px 22px 22px;
}
.more-sheet.open { transform: translateY(0); }
.more-sheet-handle { width: 40px; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.25); margin: 8px auto 14px; }
.more-sheet a {
  display: block; padding: 13px 4px; font-weight: 700; color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.more-sheet a.active { color: var(--color-cta); }

@media (max-width: 900px) {
  .bottom-tabbar { display: flex; }
  .more-sheet { display: block; }
  body { padding-bottom: var(--tabbar-h); }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: 16px 0 0; font-size: 13px; color: var(--color-body-on-light); }
.breadcrumbs a { color: #B4791E; font-weight: 700; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .sep { margin: 0 8px; opacity: 0.5; }
.breadcrumbs .current { color: var(--color-ink); font-weight: 700; }

/* ---------- Hero: anel decorativo à esquerda + texto à direita ---------- */
.hero {
  padding: 68px 0 0;
  background: linear-gradient(160deg, var(--color-ink), var(--color-brand-2));
  color: rgba(255,255,255,0.82);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: center; padding-bottom: 50px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { order: -1; max-width: 260px; margin: 0 auto; } }

.hero-visual { position: relative; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.hero-ring { position: absolute; border-radius: 50%; border: 2px solid rgba(232,163,61,0.35); }
.hero-ring.r1 { inset: 0; }
.hero-ring.r2 { inset: 15%; border-color: rgba(232,163,61,0.55); }
.hero-ring.r3 { inset: 30%; border-color: rgba(255,255,255,0.5); }
.hero-play {
  position: relative; width: 34%; aspect-ratio: 1/1; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-cta), var(--color-cta-hover));
  display: flex; align-items: center; justify-content: center; color: var(--color-ink);
  font-size: 26px; box-shadow: 0 18px 40px rgba(232,163,61,0.35);
}

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.08); border: 1px solid var(--color-border-dark);
  font-size: 12.5px; font-weight: 700; padding: 7px 14px; border-radius: 999px; color: #fff;
}
.badge.badge-brand { background: var(--color-cta); border-color: var(--color-cta); color: var(--color-ink); }

.hero h1 { color: #fff; font-size: clamp(28px, 4vw, 46px); margin-bottom: 18px; }
.hero h1 span { color: var(--color-cta); }
.hero-lead { font-size: 17px; color: rgba(255,255,255,0.78); }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

.hero-stat-strip {
  border-top: 1px solid var(--color-border-dark);
  display: flex; flex-wrap: wrap;
}
.hero-stat { flex: 1; min-width: 150px; padding: 22px 20px; text-align: center; position: relative; }
.hero-stat + .hero-stat::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--color-border-dark); }
.hero-stat .num { display: block; font-size: 21px; font-weight: 900; color: var(--color-cta); }
.hero-stat .label { font-size: 12.5px; color: rgba(255,255,255,0.65); }
@media (max-width: 700px) {
  .hero-stat { min-width: 50%; }
  .hero-stat:nth-child(2n)::before { display: none; }
}

/* ---------- Cards com cantos em moldura ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card-frame {
  position: relative;
  background: var(--color-card-bg);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
}
.card-frame::before, .card-frame::after {
  content: ""; position: absolute; width: 22px; height: 22px; border-color: var(--color-cta); border-style: solid; border-width: 0;
}
.card-frame::before { top: -1px; left: -1px; border-top-width: 3px; border-left-width: 3px; border-top-left-radius: 8px; }
.card-frame::after { bottom: -1px; right: -1px; border-bottom-width: 3px; border-right-width: 3px; border-bottom-right-radius: 8px; }
.section-dark .card-frame { background: var(--color-dark-3); box-shadow: none; }
.card-frame-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.card-frame-head .icon {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--color-brand-3), var(--color-cta));
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.card-frame-head h3 { margin: 0; font-size: 17px; }
.card-frame p { margin-bottom: 0; font-size: 14.5px; }

/* ---------- Compatibilidade: abas alternáveis ---------- */
.compat-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 26px; }
.compat-tab-btn {
  padding: 11px 24px; border-radius: 999px; font-weight: 800; font-size: 14px;
  background: transparent; border: 2px solid var(--color-border-light); color: var(--color-body-on-light);
  cursor: pointer; font-family: inherit;
}
.section-dark .compat-tab-btn { border-color: var(--color-border-dark); color: rgba(255,255,255,0.7); }
.compat-tab-btn.active { background: var(--color-cta); border-color: var(--color-cta); color: var(--color-ink); }
.compat-panel { display: none; }
.compat-panel.active { display: block; }
.compat-chip-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.compat-chip {
  padding: 12px 20px; border-radius: 12px; font-weight: 700; font-size: 14px;
  background: #fff; border: 1px solid var(--color-border-light); color: var(--color-ink);
}
.section-dark .compat-chip { background: var(--color-dark-3); border-color: var(--color-border-dark); color: #fff; }

/* ---------- Planos: carrossel horizontal com indicadores ---------- */
.plans-carousel-wrap { position: relative; }
.plans-carousel {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 6px 26px; margin: 0 -6px; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.plans-carousel::-webkit-scrollbar { display: none; }
.plan-card {
  scroll-snap-align: start; flex: 0 0 280px;
  background: #fff; border: 1px solid var(--color-border-light); border-radius: var(--radius-lg);
  padding: 30px 26px; position: relative;
}
.plan-card.featured { border: 2px solid var(--color-cta); box-shadow: 0 20px 45px rgba(232,163,61,0.22); }
.plan-icon-badge {
  width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--color-brand-3), var(--color-brand)); color: #fff; font-size: 19px; margin-bottom: 16px;
}
.plan-card.featured .plan-icon-badge { background: linear-gradient(135deg, var(--color-cta), var(--color-cta-hover)); color: var(--color-ink); }
.plan-tag-label { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: #B4791E; background: rgba(232,163,61,0.12); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.plan-price { font-size: 30px; font-weight: 900; color: var(--color-ink); margin: 6px 0 2px; }
.plan-price .currency { font-size: 16px; font-weight: 800; margin-right: 3px; }
.plan-period-note { font-size: 12.5px; color: var(--color-body-on-light); margin-bottom: 18px; }
.plan-features { margin-bottom: 22px; }
.plan-features li { padding: 7px 0 7px 26px; position: relative; font-size: 14px; border-bottom: 1px dashed var(--color-border-light); }
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before { content: "✓"; position: absolute; left: 0; top: 7px; color: var(--color-cta); font-weight: 900; }

.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
.carousel-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--color-border-light); border: none; cursor: pointer; padding: 0; }
.carousel-dot.active { background: var(--color-cta); width: 22px; border-radius: 5px; }
.section-dark .carousel-dot { background: rgba(255,255,255,0.25); }

/* ---------- CTA panel ---------- */
.cta-panel {
  background: linear-gradient(120deg, var(--color-brand-2), var(--color-ink));
  border-radius: var(--radius-lg);
  padding: 52px 44px;
  text-align: center;
  color: #fff;
}
.cta-panel h2 { color: #fff; }
.cta-panel p { color: rgba(255,255,255,0.78); max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- Blog ---------- */
.blog-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft);
}
.blog-thumb {
  height: 130px; display: flex; align-items: center; justify-content: center;
  font-size: 40px; background: linear-gradient(135deg, var(--color-ink), var(--color-brand-3));
}
.blog-card-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-meta { font-size: 12px; font-weight: 800; color: #B4791E; text-transform: uppercase; letter-spacing: 0.04em; }
.blog-card-body h3 { font-size: 17px; margin-bottom: 0; }
.blog-card-body p { font-size: 14px; margin-bottom: 0; flex: 1; }
.blog-read { font-size: 13.5px; font-weight: 800; color: #B4791E; }

/* ---------- Artigo ---------- */
.article-wrap { max-width: 760px; margin: 0 auto; }
.article-hero { margin-bottom: 30px; }
.article-hero h1 { font-size: clamp(26px, 4vw, 38px); }
.article-body h2 { font-size: 22px; margin-top: 34px; }
.article-body p, .article-body li { font-size: 16px; color: var(--color-body-on-light); }
.article-body ul { margin: 14px 0; padding-left: 4px; }
.article-body li { display: flex; gap: 10px; padding: 6px 0; }
.article-body li::before { content: "▸"; color: #B4791E; font-weight: 900; }
.article-share { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }

/* ---------- FAQ: filtrável por categoria ---------- */
.faq-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.faq-filter-btn {
  padding: 9px 18px; border-radius: 999px; font-weight: 800; font-size: 13px;
  background: #fff; border: 2px solid var(--color-border-light); color: var(--color-body-on-light);
  cursor: pointer; font-family: inherit;
}
.faq-filter-btn.active { background: var(--color-ink); border-color: var(--color-ink); color: #fff; }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--color-border-light); border-radius: 14px; overflow: hidden; background: #fff; }
.faq-item.hidden-by-filter { display: none; }
.faq-question { display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; }
.faq-question-text { font-weight: 700; flex: 1; color: var(--color-ink); }
.faq-plus { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--color-border-light); display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--color-body-on-light); transition: transform 0.25s ease; }
.faq-item.open .faq-plus { transform: rotate(45deg); border-color: var(--color-cta); color: #B4791E; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 20px; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p { padding: 0 0 20px; margin: 0; color: var(--color-body-on-light); }

/* ---------- Rodapé: 3 colunas + selos de confiança ---------- */
.site-footer { background: var(--color-ink); color: var(--color-text-muted); padding: 64px 0 26px; }
.footer-grid-3 { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
@media (max-width: 780px) { .footer-grid-3 { grid-template-columns: 1fr; } }
.footer-brand p { font-size: 14.5px; max-width: 340px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-badge { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(232,163,61,0.12); color: var(--color-cta); border: 1px solid rgba(232,163,61,0.3); }
.footer-col h4 { color: #fff; font-size: 14.5px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.04em; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a:hover { color: var(--color-cta); }
.footer-bottom {
  border-top: 1px solid var(--color-border-dark);
  margin-top: 44px; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px;
}
.footer-disclaimer { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 14px; max-width: 900px; }

.whatsapp-fab {
  position: fixed; right: 22px; z-index: 90;
  bottom: 22px;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--color-cta); color: var(--color-ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 25px; box-shadow: 0 12px 26px rgba(232,163,61,0.4);
}
@media (max-width: 900px) { .whatsapp-fab { bottom: calc(var(--tabbar-h) + 16px); } }

/* ---------- Utilidades ---------- */
.text-center { text-align: center; }
@media (max-width: 760px) {
  .section { padding: 60px 0; }
}
