/* ===== Tokens (Netflix + YouCine) ===== */
:root {
  --bg: #0a0a0a;
  --bg-alt: #121212;
  --surface: #1a1a1a;
  --surface-2: #222;
  --text: #f5f5f5;
  --muted: #a0a0a0;
  --netflix: #e50914;      /* vermelho Netflix */
  --youcine: #ff7a18;      /* laranja YouCine */
  --grad: linear-gradient(135deg, #e50914, #ff7a18);
  --whatsapp: #25d366;
  --border: rgba(255, 255, 255, 0.09);
  --radius: 14px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  --container: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: "Montserrat", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, filter .18s ease;
  white-space: nowrap;
}
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-ico { font-size: 1.15em; }
.btn-primary {
  background: var(--netflix);
  color: #fff;
  box-shadow: 0 10px 26px rgba(229, 9, 20, .38);
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--youcine); color: #fff; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }
.btn-whatsapp {
  background: var(--whatsapp);
  color: #04321c;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .35);
}
.btn-whatsapp:hover { filter: brightness(1.06); transform: translateY(-2px); }

/* ===== Header ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo img { height: 42px; width: auto; display: block; }
.site-footer .logo img { height: 46px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 1.02rem; font-weight: 800; color: #fff; letter-spacing: -.2px; }
.logo-text small { font-size: .68rem; color: var(--muted); font-weight: 500; }
@media (max-width: 420px) {
  .site-header .logo-text small { display: none; }
  .site-header .logo-text strong { font-size: .92rem; }
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--muted); font-weight: 600; font-size: .95rem; transition: color .2s ease; }
.nav a:hover { color: #fff; }
.nav-cta {
  background: var(--netflix);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 8px;
}
.nav-cta:hover { filter: brightness(1.08); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span { width: 26px; height: 2px; background: #fff; border-radius: 2px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-posters {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0 16px;
  opacity: .9;
  z-index: 0;
  transform: rotate(-4deg) scale(1.25);
}
.poster-col { display: flex; flex-direction: column; gap: 16px; animation: scrollDown 40s linear infinite; }
.poster-col.up { animation: scrollUp 40s linear infinite; }
@keyframes scrollDown { from { transform: translateY(-25%); } to { transform: translateY(0); } }
@keyframes scrollUp { from { transform: translateY(0); } to { transform: translateY(-25%); } }
.poster {
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  background: var(--surface-2) center / cover no-repeat;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .5);
}
/* pôsteres reais (imagem/) */
.p1, .p8, .p15 { background-image: url("imagem/poster1.jpg"); }
.p2, .p9, .p16 { background-image: url("imagem/poster2.jpg"); }
.p3, .p10 { background-image: url("imagem/poster3.jpg"); }
.p4, .p11 { background-image: url("imagem/poster4.jpg"); }
.p5, .p12 { background-image: url("imagem/poster5.jpg"); }
.p6, .p13 { background-image: url("imagem/poster6.jpg"); }
.p7, .p14 { background-image: url("imagem/poster7.jpg"); }

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(10,10,10,.35), rgba(10,10,10,.82) 78%),
    linear-gradient(180deg, rgba(10,10,10,.35), var(--bg));
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 760px; }
.badge {
  display: inline-block;
  background: rgba(229, 9, 20, .15);
  border: 1px solid rgba(229, 9, 20, .4);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.3rem, 6vw, 4rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  color: #d4d4d4;
  font-size: 1.18rem;
  max-width: 560px;
  margin: 0 auto 34px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.hero-trust { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; color: var(--muted); font-size: .9rem; font-weight: 500; }

/* ===== Categorias ===== */
.categories { padding: 44px 0; border-bottom: 1px solid var(--border); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.cat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 10px;
  text-align: center;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .2s ease, border-color .2s ease;
}
.cat:hover { transform: translateY(-4px); border-color: var(--youcine); }
.cat-ico { display: block; font-size: 1.7rem; margin-bottom: 8px; }

/* ===== Sections ===== */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: -.5px;
}
.section-lead {
  text-align: center;
  color: var(--muted);
  margin: 12px auto 48px;
  max-width: 520px;
}

/* ===== Planos ===== */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.plans-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
  margin: 0 auto;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .22s ease;
}
.plan:hover { transform: translateY(-6px); }
.plan-featured {
  border-color: var(--netflix);
  background: linear-gradient(180deg, rgba(229,9,20,.1), var(--surface));
  box-shadow: 0 16px 40px rgba(229, 9, 20, .18);
}
.plan-tag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.plan h3 { font-size: 1.3rem; margin-bottom: 12px; }
.plan-price { margin-bottom: 22px; }
.plan-price strong {
  font-size: 2.4rem;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.plan-price span { color: var(--muted); font-size: .95rem; }
.plan ul { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; flex: 1; }
.plan li { color: #d0d0d0; font-size: .96rem; }
.plans-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 26px; }

/* ===== Dispositivos ===== */
.devices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.device {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
}
.device-ico {
  font-size: 2.2rem;
  width: 62px; height: 62px;
  display: grid; place-items: center;
  background: rgba(255, 122, 24, .14);
  border-radius: 14px;
  margin-bottom: 18px;
}
.device h3 { font-size: 1.25rem; margin-bottom: 14px; }
.device ol { display: flex; flex-direction: column; gap: 10px; counter-reset: step; margin-bottom: 22px; }
.device .btn { width: 100%; margin-top: auto; }
.device { display: flex; flex-direction: column; }
.device li {
  color: #cfcfcf;
  padding-left: 34px;
  position: relative;
  font-size: .95rem;
}
.device li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  background: var(--grad);
  color: #fff;
  font-size: .8rem; font-weight: 700;
  border-radius: 50%;
}
.install-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 46px; }

/* ===== Depoimentos ===== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 28px;
}
.stars { color: #ffb703; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial p { color: #e0e0e0; font-style: italic; margin-bottom: 20px; }
.t-author { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.t-avatar {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: #fff; font-weight: 800;
}

/* ===== Contacto ===== */
.contact { text-align: center; }
.contact-inner {
  background: linear-gradient(135deg, rgba(229,9,20,.16), rgba(255,122,24,.16));
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 62px 30px;
}
.contact h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; margin-bottom: 12px; }
.contact p { color: #d4d4d4; margin-bottom: 28px; font-size: 1.1rem; }
.contact-note { margin-top: 18px; font-size: .9rem; color: var(--muted); }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); padding: 46px 0 28px; background: var(--bg-alt); }
.footer-inner {
  display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding-bottom: 26px; border-bottom: 1px solid var(--border);
}
.footer-brand p { color: var(--muted); margin-top: 10px; max-width: 300px; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-nav a { color: var(--muted); transition: color .2s ease; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { padding-top: 20px; }
.footer-bottom p { color: var(--muted); font-size: .85rem; }

/* ===== Modal de instalação ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 40px 30px 30px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow);
  animation: modalIn .28s ease;
}
@keyframes modalIn {
  from { transform: translateY(20px) scale(.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none; border: none;
  color: var(--muted);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover { color: #fff; }
.modal-ico {
  font-size: 2.6rem;
  width: 76px; height: 76px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  background: var(--grad);
  border-radius: 50%;
}
.modal h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.modal-sub { color: var(--muted); margin-bottom: 22px; }
.modal-steps {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.mstep {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d8d8d8;
  font-size: .95rem;
}
.mstep span {
  flex: none;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: rgba(229, 9, 20, .18);
  color: var(--youcine);
  font-weight: 700;
  border-radius: 50%;
  font-size: .85rem;
}
.modal-install { width: 100%; }
.modal-hint { margin-top: 14px; font-size: .82rem; color: var(--muted); }

/* ===== WhatsApp flutuante ===== */
.whatsapp-float {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 60px; height: 60px;
  display: grid; place-items: center;
  background: var(--whatsapp);
  border-radius: 50%;
  font-size: 1.7rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .5);
  z-index: 60;
  animation: pulse 2.2s infinite;
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 8px 24px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 8px 24px rgba(37,211,102,.5), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 24px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .plans, .devices, .testimonials { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .hero-posters { grid-template-columns: repeat(3, 1fr); }
  .poster-col:nth-child(4) { display: none; }
}
@media (max-width: 640px) {
  .nav {
    position: fixed;
    top: 72px; right: 0;
    flex-direction: column;
    background: rgba(10,10,10,.98);
    backdrop-filter: blur(12px);
    width: 240px;
    height: calc(100vh - 72px);
    padding: 30px 26px;
    gap: 22px;
    align-items: flex-start;
    transform: translateX(100%);
    transition: transform .3s ease;
    border-left: 1px solid var(--border);
  }
  .nav.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-trust { gap: 12px; }
}
