/* Pepa Play — sistema de design: paleta "marquise de cinema ao entardecer"
   (ameixa/roxo profundo + rosa-choque + dourado de marquise), tipografia
   Fraunces (títulos, serifada editorial) e Manrope (corpo), hero em duas
   colunas com "pôster" inclinado, cartões de plano em formato de bilhete
   (com recorte perfurado), botões com cantos cortados (ticket) e FAQ com
   marcador triangular à esquerda — layout, paleta e componentes distintos
   dos demais projetos gerados a partir de prompts semelhantes. */

:root{
  --ink:#1C0B22;
  --plum:#3B1550;
  --plum-2:#4E1D63;
  --rose:#B72F6C;
  --rose-dark:#8F2255;
  --gold:#FFC94A;
  --bg:#F8F2FB;
  --bg-2:#EFE3F4;
  --card:#FFFFFF;
  --text:#241221;
  --text-soft:#6E5A73;
  --border:#E7D8ED;
  --radius-sm:8px;
  --radius-md:16px;
  --radius-lg:24px;
  --font-head:"Fraunces", Georgia, serif;
  --font-body:"Manrope", Arial, sans-serif;
  --shadow-card:0 1px 3px rgba(28,11,34,.08), 0 14px 30px -18px rgba(28,11,34,.34);
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;font-family:var(--font-body);color:var(--text);background:var(--bg);
  -webkit-font-smoothing:antialiased;line-height:1.6;
}
img{max-width:100%;display:block}
a{color:var(--rose-dark);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4{font-family:var(--font-head);color:var(--ink);line-height:1.18;margin:0 0 .5em;font-weight:700}
.container{width:100%;max-width:1180px;margin:0 auto;padding:0 1.25rem}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
:focus-visible{outline:3px solid var(--rose);outline-offset:2px}
section{padding:2.6rem 0}

@media (prefers-reduced-motion: no-preference){
  html.js-anim .reveal{opacity:0;transform:translateY(14px);transition:opacity .5s ease, transform .5s ease}
  html.js-anim .reveal.is-visible{opacity:1;transform:none}
  .fab-whatsapp{animation:fab-spin 5s linear infinite}
  @keyframes fab-spin{
    0%,88%{transform:rotate(0deg)}
    100%{transform:rotate(360deg)}
  }
}

/* ---------- Botões (cantos cortados, estilo bilhete) ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.45rem;
  padding:.8rem 1.6rem;font-weight:700;font-size:.96rem;
  border:2px solid transparent;cursor:pointer;transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  min-height:44px;font-family:var(--font-head);border-radius:10px;
  clip-path:polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px);
}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.btn-primary{background:var(--rose);color:#fff}
.btn-primary:hover{background:var(--rose-dark);text-decoration:none;box-shadow:0 10px 22px -10px rgba(183,47,108,.6)}
.btn-outline{background:transparent;border-color:var(--ink);color:var(--ink)}
.btn-outline:hover{background:var(--ink);color:#fff;text-decoration:none}
.btn-gold{background:var(--gold);color:#3A2200}
.btn-gold:hover{background:#F0B22E;text-decoration:none}
.btn-ghost{background:rgba(255,255,255,.14);color:#fff;border-color:rgba(255,255,255,.42)}
.btn-ghost:hover{background:rgba(255,255,255,.24);text-decoration:none}
.btn-sm{padding:.55rem 1.1rem;font-size:.85rem;min-height:38px}
.btn-block{width:100%}

/* ---------- Cabeçalho ---------- */
.site-header{position:sticky;top:0;z-index:40;background:var(--ink);color:#fff}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.65rem 0}
.logo{display:flex;align-items:center;gap:.5rem}
.logo img{height:32px;width:auto;filter:brightness(0) invert(1)}
.main-nav{display:none}
.main-nav ul{display:flex;list-style:none;gap:.15rem;margin:0;padding:.3rem;background:rgba(255,255,255,.07);border-radius:999px}
.main-nav a{color:rgba(255,255,255,.8);font-weight:600;font-size:.9rem;padding:.5rem 1rem;border-radius:999px;display:block}
.main-nav a:hover,.main-nav a[aria-current="page"]{color:#fff;background:var(--rose);text-decoration:none}
.header-actions{display:flex;align-items:center;gap:.5rem}
.icon-btn{
  display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;
  border-radius:50%;border:1px solid rgba(255,255,255,.25);background:transparent;cursor:pointer;color:#fff;
}
.icon-btn:hover{background:rgba(255,255,255,.1)}
.menu-toggle{display:inline-flex}
@media (min-width:960px){
  .main-nav{display:block}
  .menu-toggle{display:none}
}

/* ---------- Menu mobile ---------- */
.mobile-nav{position:fixed;inset:0;background:rgba(28,11,34,.62);z-index:60;display:none}
.mobile-nav.open{display:block}
.mobile-nav-panel{
  position:absolute;top:0;right:0;bottom:0;width:min(88vw,340px);background:#fff;
  padding:1.4rem;overflow-y:auto;box-shadow:-12px 0 30px rgba(28,11,34,.3);
}
.mobile-nav-panel ul{list-style:none;margin:1.2rem 0;padding:0}
.mobile-nav-panel li{border-bottom:1px solid var(--border)}
.mobile-nav-panel a{display:block;padding:.85rem .2rem;font-weight:700;color:var(--ink);font-size:1.02rem;font-family:var(--font-head)}
.mobile-nav-panel a:hover{text-decoration:none;color:var(--rose-dark)}
.mobile-nav-panel .icon-btn{color:var(--ink);border-color:var(--border)}
.mobile-close{float:right}

/* ---------- Busca ---------- */
.search-overlay{position:fixed;inset:0;background:rgba(28,11,34,.62);z-index:70;display:none;padding-top:6vh}
.search-overlay.open{display:block}
.search-panel{background:#fff;max-width:640px;margin:0 auto;border-radius:var(--radius-lg);padding:1.5rem;max-height:82vh;overflow-y:auto}
.search-panel h2{margin-bottom:.8rem}
.search-panel .icon-btn{color:var(--ink);border-color:var(--border)}
.search-form{display:flex;gap:.5rem}
.search-form input{flex:1;padding:.75rem 1rem;border:2px solid var(--border);border-radius:999px;font-size:1rem;font-family:inherit}
.search-form input:focus{border-color:var(--rose)}
.search-results{margin-top:1.2rem;display:grid;gap:.7rem}
.search-results a{display:block;padding:.85rem 1rem;border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--ink)}
.search-results a:hover{border-color:var(--rose);text-decoration:none;background:var(--bg-2)}
.search-results small{display:block;color:var(--text-soft);font-weight:400;margin-top:.2rem}
.search-empty{color:var(--text-soft)}

/* ---------- Hero (duas colunas, "pôster" inclinado) ---------- */
.hero{
  background:linear-gradient(160deg, var(--ink), var(--plum) 70%);
  color:#fff;padding:3.2rem 0 3.4rem;position:relative;overflow:hidden;
}
.hero::before{
  content:"";position:absolute;right:-10%;top:-20%;width:50%;height:80%;
  background:radial-gradient(circle, rgba(255,201,74,.16), transparent 65%);pointer-events:none;
}
.hero .container{position:relative;display:grid;gap:2.2rem;align-items:center}
@media (min-width:900px){ .hero .container{grid-template-columns:1.08fr .92fr} }
.hero-badge{
  display:inline-flex;align-items:center;gap:.4rem;font-size:.76rem;font-weight:800;letter-spacing:.04em;
  text-transform:uppercase;color:#3A2200;background:var(--gold);padding:.32rem .8rem;border-radius:999px;
}
.hero h1{color:#fff;font-size:2.35rem;margin-top:.9rem}
.hero .lead{color:rgba(255,255,255,.86);font-size:1.05rem;max-width:56ch;margin:.6rem 0 0}
.hero-ctas{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.5rem}
.hero-meta{display:flex;flex-wrap:wrap;gap:1.3rem;margin-top:1.5rem;color:rgba(255,255,255,.76);font-size:.86rem}
.hero-meta strong{color:#fff}
.hero-media{position:relative;max-width:400px;margin:0 auto}
.hero-media::before{
  content:"";position:absolute;inset:-12px;border:2px dashed rgba(255,201,74,.55);
  border-radius:calc(var(--radius-lg) + 10px);transform:rotate(2deg);pointer-events:none;
}
.hero-media .poster{
  border-radius:var(--radius-lg);overflow:hidden;transform:rotate(-3deg);
  box-shadow:0 30px 60px -20px rgba(0,0,0,.55);border:6px solid #fff;
}
.hero-media .poster img{aspect-ratio:4/5;object-fit:cover;width:100%}
.hero-tag{
  position:absolute;top:-14px;left:-14px;background:var(--gold);color:#3A2200;font-family:var(--font-head);
  font-weight:800;font-size:.82rem;padding:.5rem .8rem;border-radius:8px;transform:rotate(-8deg);
  box-shadow:0 10px 18px -8px rgba(0,0,0,.4);
}

/* ---------- Linha de benefícios (grade 2x2) ---------- */
.benefit-row{display:grid;gap:1.2rem;grid-template-columns:1fr}
@media (min-width:640px){ .benefit-row{grid-template-columns:1fr 1fr} }
.benefit-item{
  display:flex;gap:.9rem;align-items:flex-start;background:var(--card);border:1px solid var(--border);
  border-radius:var(--radius-md);padding:1.2rem;box-shadow:var(--shadow-card);
}
.benefit-icon{
  width:52px;height:52px;border-radius:50%;background:var(--bg-2);display:flex;align-items:center;justify-content:center;
  font-size:1.4rem;color:var(--rose-dark);border:2px solid var(--border);flex:0 0 auto;
}
.benefit-item h3{font-size:1rem;margin:0 0 .25rem}
.benefit-item p{color:var(--text-soft);font-size:.88rem;margin:0}

/* ---------- Cabeçalhos de seção ---------- */
.section-head{text-align:center;max-width:64ch;margin:0 auto 2rem}
.section-head .eyebrow-center{
  display:inline-flex;font-size:.76rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;
  color:var(--rose-dark);background:rgba(183,47,108,.1);padding:.3rem .75rem;border-radius:999px;margin-bottom:.6rem;
}
.section-head h2{margin:0}
.section-head p{color:var(--text-soft);margin-top:.5rem}
.section-head.left{text-align:left;margin:0 0 1.6rem}

/* ---------- Compatibilidade (faixa tipo "créditos") ---------- */
.compat-strip{
  background:var(--ink);border-radius:var(--radius-md);padding:1rem 1.3rem;margin-top:1.4rem;
  display:flex;flex-wrap:wrap;gap:.7rem;align-items:center;justify-content:center;
}
.compat-strip span{color:rgba(255,255,255,.5);font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;font-weight:700}
.compat-chip{
  padding:.4rem 1rem;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);
  font-weight:600;font-size:.82rem;color:#fff;
}

/* ---------- Planos (cartões em formato de bilhete/ingresso) ---------- */
.plans-grid{display:grid;gap:1.5rem;grid-template-columns:1fr}
@media (min-width:680px){ .plans-grid{grid-template-columns:1fr 1fr} }
@media (min-width:1000px){ .plans-grid{grid-template-columns:repeat(4,1fr)} }
.plan-card{
  background:var(--card);border-radius:var(--radius-lg);position:relative;box-shadow:var(--shadow-card);
  transition:transform .18s ease, box-shadow .18s ease;overflow:visible;
}
.plan-card:hover{transform:translateY(-4px)}
.plan-card.is-highlight{box-shadow:0 0 0 2px var(--gold), var(--shadow-card)}
.plan-ribbon{
  position:absolute;top:-13px;left:50%;transform:translateX(-50%);background:var(--gold);color:#3A2200;
  font-family:var(--font-head);font-weight:800;font-size:.72rem;letter-spacing:.03em;text-transform:uppercase;
  padding:.3rem .9rem;border-radius:999px;white-space:nowrap;z-index:2;
}
.ticket-top{padding:1.7rem 1.4rem 1.3rem;text-align:center}
.plan-name{font-family:var(--font-head);font-weight:700;color:var(--ink);font-size:1.12rem}
.plan-price{margin-top:.5rem}
.plan-price .value{font-family:var(--font-head);font-size:2.05rem;font-weight:800;color:var(--rose-dark)}
.plan-price .cur{font-size:1.05rem;vertical-align:top}
.plan-price .period{display:block;color:var(--text-soft);font-size:.82rem}
.ticket-divider{position:relative;border-top:2px dashed var(--border);margin:0 1.5rem}
.ticket-divider::before,.ticket-divider::after{
  content:"";position:absolute;top:50%;transform:translateY(-50%);width:22px;height:22px;
  border-radius:50%;background:var(--bg);
}
.ticket-divider::before{left:-1.5rem;margin-left:-11px}
.ticket-divider::after{right:-1.5rem;margin-right:-11px}
.ticket-bottom{padding:1.2rem 1.5rem 1.6rem}
.plan-features{list-style:none;margin:0 0 1.1rem;padding:0;display:grid;gap:.55rem;font-size:.87rem;color:var(--text)}
.plan-features li{display:flex;gap:.5rem;align-items:flex-start}
.plan-features li::before{content:"🎬";flex:0 0 auto;font-size:.8rem}

/* ---------- Faixa CTA ---------- */
.cta-band{
  background:var(--plum);color:#fff;border-radius:var(--radius-lg);
  padding:2.2rem;display:grid;gap:1.3rem;position:relative;overflow:hidden;text-align:center;
}
.cta-band::before{
  content:"";position:absolute;left:-40px;bottom:-40px;width:220px;height:220px;border-radius:50%;
  background:radial-gradient(circle, rgba(255,201,74,.28), transparent 70%);
}
.cta-band h2{color:#fff}
.cta-band p{color:rgba(255,255,255,.84);max-width:56ch;margin:.4rem auto 0}
.article-body .cta-band h2{color:#fff}
.article-body .cta-band p{color:rgba(255,255,255,.84)}
.cta-band .cta-action{display:flex;justify-content:center;margin-top:.4rem}

/* ---------- Passos (trilha de bobina de filme) ---------- */
.steps-list{display:grid;gap:0;grid-template-columns:1fr;counter-reset:step;position:relative}
@media (min-width:760px){
  .steps-list{grid-template-columns:repeat(4,1fr);gap:0}
  .steps-list::before{
    content:"";position:absolute;top:22px;left:12%;right:12%;height:3px;
    background:repeating-linear-gradient(90deg,var(--border) 0 10px,transparent 10px 18px);
  }
}
.step-item{padding:0 .8rem 1rem;position:relative;text-align:center}
.step-num{
  counter-increment:step;width:44px;height:44px;border-radius:50%;background:var(--rose);color:#fff;
  display:flex;align-items:center;justify-content:center;font-family:var(--font-head);font-weight:800;
  margin:0 auto .8rem;position:relative;z-index:1;border:4px solid var(--bg);
}
.step-num::before{content:counter(step)}
.step-item h3{font-size:.96rem;margin:0 0 .3rem}
.step-item p{color:var(--text-soft);font-size:.86rem;margin:0}

/* ---------- Grids e cards de artigo ---------- */
.grid{display:grid;gap:1.3rem}
.grid-2{grid-template-columns:1fr}
.grid-3{grid-template-columns:1fr}
.grid-4{grid-template-columns:1fr}
@media (min-width:680px){ .grid-2{grid-template-columns:1fr 1fr} .grid-4{grid-template-columns:1fr 1fr} }
@media (min-width:900px){ .grid-3{grid-template-columns:repeat(3,1fr)} .grid-4{grid-template-columns:repeat(4,1fr)} }

.card{
  background:var(--card);border-radius:var(--radius-md);overflow:hidden;border:1px solid var(--border);
  box-shadow:var(--shadow-card);display:flex;flex-direction:column;
  transition:transform .18s ease, box-shadow .18s ease;position:relative;
}
.card:hover{transform:translateY(-3px);box-shadow:0 4px 10px rgba(28,11,34,.1), 0 18px 36px -18px rgba(28,11,34,.34)}
.card .thumb{aspect-ratio:16/9;overflow:hidden}
.card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.card:hover .thumb img{transform:scale(1.04)}
.card .body{padding:1.05rem 1.15rem 1.25rem;display:flex;flex-direction:column;gap:.5rem;flex:1}
.card h3{font-size:1.03rem;margin:0}
.card h3 a{color:var(--ink)}
.card h3 a::after{content:"";position:absolute;inset:0}
.card p{color:var(--text-soft);font-size:.92rem;margin:0}
.card .meta{display:flex;justify-content:space-between;align-items:center;font-size:.8rem;color:var(--text-soft);margin-top:auto;padding-top:.4rem}
.card .read-more{font-weight:700;color:var(--rose-dark)}

.eyebrow{
  display:inline-flex;align-self:flex-start;font-size:.72rem;font-weight:800;letter-spacing:.03em;
  text-transform:uppercase;padding:.2rem .6rem;border-radius:999px;color:#fff;
}
.tag-iptv{background:var(--ink)}
.tag-teste-iptv{background:var(--rose-dark)}
.tag-lista-iptv{background:#6C1F49}
.tag-planos{background:#8A6414}
.tag-catalogo{background:#4E1D63}

/* ---------- FAQ (marcador triangular à esquerda) ---------- */
.faq{margin-top:1.6rem;max-width:820px;margin-left:auto;margin-right:auto}
.faq details{
  background:var(--card);border:1px solid var(--border);border-radius:var(--radius-md);
  margin-bottom:.7rem;padding:0;
}
.faq summary{
  cursor:pointer;padding:1.05rem 1.2rem;font-weight:700;color:var(--ink);list-style:none;
  display:flex;align-items:center;gap:.8rem;font-family:var(--font-head);
}
.faq summary::-webkit-details-marker{display:none}
.faq summary .chev{
  flex:0 0 auto;width:24px;height:24px;border-radius:6px;background:var(--gold);color:#3A2200;
  display:flex;align-items:center;justify-content:center;font-size:.72rem;transition:transform .2s ease;
}
.faq details[open] summary .chev{transform:rotate(90deg)}
.faq p{padding:0 1.2rem 1.1rem 3rem;color:var(--text-soft);margin:0}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs{padding:.85rem 0;font-size:.85rem;color:var(--text-soft)}
.breadcrumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:.3rem;margin:0;padding:0}
.breadcrumbs li:not(:last-child)::after{content:"›";margin-left:.4rem;color:var(--border)}
.breadcrumbs a{color:var(--text-soft)}

/* ---------- Artigo ---------- */
.article-hero-media{border-radius:var(--radius-lg);overflow:hidden;margin:1.2rem 0 1.6rem;aspect-ratio:16/8.4}
.article-hero-media img{width:100%;height:100%;object-fit:cover}
.article-layout{display:grid;gap:2rem;padding-top:1rem;padding-bottom:2rem}
@media (min-width:960px){ .article-layout{grid-template-columns:1fr 280px} }
.article-body h2{margin-top:1.7em;scroll-margin-top:5rem;font-size:1.32rem}
.article-body h3{margin-top:1.2em;scroll-margin-top:5rem;font-size:1.08rem}
.article-body p{color:#301A2D;font-size:1.02rem}
.article-body ul,.article-body ol{color:#301A2D;margin-bottom:1.1em}
.article-body li{margin-bottom:.4em}
.toc{
  background:var(--bg-2);border:1px solid var(--border);border-radius:var(--radius-md);padding:1.2rem;
  align-self:start;position:sticky;top:5.4rem;
}
.toc h2{font-size:.95rem;text-transform:uppercase;letter-spacing:.03em;margin-bottom:.7rem}
.toc ol{margin:0;padding-left:1.1rem;font-size:.9rem}
.toc li{margin-bottom:.5em}
.toc a{color:var(--text-soft)}
.author-box{
  display:flex;gap:.9rem;align-items:center;background:var(--bg-2);border-radius:var(--radius-md);
  padding:1rem 1.1rem;margin-top:1.8rem;
}
.author-avatar{width:44px;height:44px;border-radius:50%;background:var(--rose);flex:0 0 auto}
.author-box strong{color:var(--ink);display:block;font-family:var(--font-head)}
.author-box p{margin:.15rem 0 0;color:var(--text-soft);font-size:.88rem}

/* ---------- Institucional ---------- */
.prose{max-width:76ch}
.prose h2{margin-top:1.6em}
.prose p,.prose li{color:#301A2D}

/* ---------- Formulário de contato (estático) ---------- */
.contact-grid{display:grid;gap:1.6rem}
@media (min-width:820px){ .contact-grid{grid-template-columns:1.1fr .9fr} }
.contact-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.6rem;box-shadow:var(--shadow-card)}

/* ---------- Rodapé ---------- */
.site-footer{background:var(--ink);color:rgba(255,255,255,.8);margin-top:2.5rem;position:relative}
.site-footer::before{
  content:"";display:block;height:14px;
  background:repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0 8px, transparent 8px 24px);
}
.footer-grid{display:grid;gap:1.8rem;padding:2.6rem 0 1.6rem}
@media (min-width:760px){ .footer-grid{grid-template-columns:1.3fr 1fr 1fr 1fr} }
.footer-grid h4{color:#fff;font-size:.9rem;text-transform:uppercase;letter-spacing:.03em;margin-bottom:.7rem;font-family:var(--font-head)}
.footer-grid ul{list-style:none;margin:0;padding:0;display:grid;gap:.5rem}
.footer-grid a{color:rgba(255,255,255,.76)}
.footer-grid a:hover{color:#fff}
.footer-brand{display:flex;align-items:center;gap:.5rem;font-weight:800;color:#fff;margin-bottom:.6rem}
.footer-brand img{height:26px;filter:brightness(0) invert(1)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.14);padding:1.1rem 0;font-size:.82rem;display:flex;flex-wrap:wrap;gap:.6rem;justify-content:space-between}
.footer-disclaimer{font-size:.78rem;color:rgba(255,255,255,.55);padding-bottom:1rem}

/* ---------- Botão flutuante do WhatsApp ---------- */
.fab-whatsapp{
  position:fixed;left:1.1rem;bottom:1.1rem;z-index:50;width:56px;height:56px;border-radius:50%;
  background:var(--gold);color:#3A2200;display:flex;align-items:center;justify-content:center;font-size:1.4rem;
  box-shadow:0 6px 18px -6px rgba(28,11,34,.5);
}
.fab-whatsapp:hover{background:#F0B22E;text-decoration:none}
@media (min-width:960px){ .fab-whatsapp{left:1.6rem;bottom:1.6rem} }

/* ---------- Diversos ---------- */
.pill-list{margin:0;padding-left:1.2rem}
.pill-list li{margin-bottom:.5em}
.hub-intro{color:var(--text-soft);max-width:76ch}
.error-page{padding:4rem 0;text-align:center}
.error-page .code{font-family:var(--font-head);font-size:4.5rem;color:var(--rose);font-weight:800;margin:0}
