/* ═══════════════════════════════════════
   FLIXX CINE — Main Stylesheet
   ═══════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --yellow:       #F5C800;
  --yellow-light: #FFE066;
  --yellow-dark:  #C49A00;
  --black:        #0D0D0D;
  --black-2:      #141414;
  --black-3:      #1C1C1C;
  --black-4:      #242424;
  --white:        #F5F3EF;
  --silver:       #9a9aA4;
  --wpp:          #25D366;
  --radius:       16px;
  --radius-sm:    10px;
  --trans:        .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Grain overlay ── */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Typography ── */
h1,h2,h3,h4 { font-family: 'Bebas Neue', sans-serif; letter-spacing: .02em; line-height: 1.1; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ══════════════ HEADER ══════════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,13,13,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(245,200,0,.12);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 24px;
  height: 68px;
}
.site-logo img { height: 40px; width: auto; }
.site-nav { display: flex; gap: 28px; margin-left: auto; }
.site-nav a {
  font-size: .875rem; font-weight: 500; letter-spacing: .04em;
  color: var(--silver);
  transition: color var(--trans);
}
.site-nav a:hover { color: var(--yellow); }

/* ══════════════ BUTTONS ══════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: .9rem;
  letter-spacing: .04em; cursor: pointer; border: none;
  transition: transform var(--trans), box-shadow var(--trans), background var(--trans);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--yellow); color: var(--black);
  box-shadow: 0 4px 24px rgba(245,200,0,.35);
}
.btn-primary:hover { background: var(--yellow-light); box-shadow: 0 8px 32px rgba(245,200,0,.5); }

.btn-outline {
  background: transparent; color: var(--yellow);
  border: 2px solid var(--yellow);
}
.btn-outline:hover { background: rgba(245,200,0,.08); }

.btn-wpp {
  background: var(--wpp); color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,.3);
}
.btn-wpp:hover { background: #1fbb5a; box-shadow: 0 8px 28px rgba(37,211,102,.45); }

.btn-lg { padding: 18px 36px; font-size: 1rem; }

.header-wpp {
  padding: 10px 18px; font-size: .8rem;
  margin-left: 0;
}

/* ══════════════ HERO ══════════════ */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245,200,0,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,200,0,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
}
.hero::before {
  content: '';
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(245,200,0,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 20px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,200,0,.1); border: 1px solid rgba(245,200,0,.25);
  color: var(--yellow); font-size: .8rem; font-weight: 600; letter-spacing: .08em;
  padding: 6px 16px; border-radius: 100px;
  animation: fadeUp .6s ease both;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 8px var(--yellow);
  animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.hero-title {
  font-size: clamp(52px, 9vw, 110px);
  animation: fadeUp .7s .1s ease both;
  display: flex; flex-direction: column; align-items: center; gap: 0;
}
.hero-brand { color: var(--silver); font-size: .45em; letter-spacing: .12em; }
.hero-logo-word { color: var(--yellow); line-height: 1; }
.hero-sub { font-size: .35em; letter-spacing: .16em; color: var(--silver); }

.hero-desc {
  font-size: 1.1rem; color: var(--silver); max-width: 520px; line-height: 1.7;
  animation: fadeUp .7s .2s ease both;
}
.hero-desc strong { color: var(--white); }

.hero-trust {
  display: flex; align-items: center; gap: 12px;
  font-size: .85rem; color: var(--silver);
  animation: fadeUp .7s .3s ease both;
}
.trust-stars { color: var(--yellow); font-size: 1rem; }
.trust-stars span { color: var(--white); font-weight: 600; }
.trust-sep { color: rgba(255,255,255,.2); }

.hero-ctas {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  animation: fadeUp .7s .35s ease both;
}

.hero-benefits {
  display: flex; gap: 24px; flex-wrap: wrap; justify-content: center;
  margin-top: 8px;
  animation: fadeUp .7s .45s ease both;
}
.benefit {
  display: flex; align-items: center; gap: 6px;
  font-size: .85rem; color: var(--silver);
}
.benefit-icon { font-size: 1.1em; }

@keyframes fadeUp {
  from { opacity:0; transform:translateY(20px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ══════════════ SECTION COMMON ══════════════ */
section { padding: 80px 0; }

.section-header {
  text-align: center; margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  background: rgba(245,200,0,.1); color: var(--yellow);
  border: 1px solid rgba(245,200,0,.2);
  font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  padding: 4px 14px; border-radius: 100px; margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 12px;
}
.section-header p { color: var(--silver); font-size: 1rem; max-width: 560px; margin: 0 auto; }
.accent { color: var(--yellow); }

/* ══════════════ PLANS ══════════════ */
.planos { background: var(--black-2); }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.plan-card {
  background: var(--black-3);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform var(--trans), box-shadow var(--trans);
}
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.plan-featured {
  border-color: var(--yellow);
  box-shadow: 0 0 0 1px var(--yellow), 0 20px 60px rgba(245,200,0,.15);
  transform: translateY(-8px);
}
.plan-featured:hover { transform: translateY(-14px); }

.plan-badge-top {
  background: var(--yellow); color: var(--black);
  font-size: .7rem; font-weight: 800; letter-spacing: .08em;
  text-align: center; padding: 6px;
}

.plan-img-wrap {
  padding: 24px; background: var(--black-4);
  display: flex; justify-content: center;
}
.plan-img-wrap img {
  width: 180px; height: 180px; object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.4));
  transition: transform var(--trans);
}
.plan-card:hover .plan-img-wrap img { transform: scale(1.04); }

.plan-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; }

.plan-name { font-size: 24px; color: var(--white); }
.plan-featured .plan-name { color: var(--yellow); }

.plan-price { display: flex; align-items: baseline; gap: 4px; }
.price-currency { font-size: .9rem; font-weight: 600; color: var(--yellow); }
.price-val { font-family: 'Bebas Neue', sans-serif; font-size: 48px; color: var(--yellow); line-height: 1; }

.plan-desc { font-size: .875rem; color: var(--silver); }

.plan-features {
  list-style: none; display: flex; flex-direction: column; gap: 6px;
  font-size: .85rem;
}
.plan-features li { display: flex; gap: 6px; color: rgba(245,243,239,.7); }
.plan-features li::before { content: none; }

.plan-btn { width: 100%; text-align: center; justify-content: center; }

.plan-wpp {
  display: block; text-align: center;
  font-size: .8rem; color: var(--wpp);
  padding: 6px 0;
  transition: opacity var(--trans);
}
.plan-wpp:hover { opacity: .7; }

.plans-note {
  text-align: center; margin-top: 32px;
  font-size: .9rem; color: var(--silver);
}
.plans-note a { color: var(--yellow); text-decoration: underline; }

/* ══════════════ COMO FUNCIONA ══════════════ */
.como-funciona { background: var(--black); }

.steps-grid {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  flex-wrap: wrap;
}
.step {
  background: var(--black-3); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius); padding: 28px 24px;
  text-align: center; flex: 1; min-width: 180px; max-width: 230px;
  transition: transform var(--trans);
}
.step:hover { transform: translateY(-4px); }
.step-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 48px;
  color: var(--yellow); line-height: 1; margin-bottom: 8px;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { font-size: .85rem; color: var(--silver); }
.step-arrow { font-size: 28px; color: var(--yellow); opacity: .4; }

/* ══════════════ DISPOSITIVOS ══════════════ */
.dispositivos { background: var(--black-2); }

.devices-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
}
.device-item {
  background: var(--black-3); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-sm); padding: 24px 32px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .85rem; color: var(--silver);
  min-width: 120px;
  transition: border-color var(--trans), transform var(--trans);
}
.device-item:hover { border-color: var(--yellow); transform: translateY(-3px); color: var(--white); }
.device-icon { font-size: 2rem; }

/* ══════════════ DEPOIMENTOS ══════════════ */
.depoimentos { background: var(--black); }

.rating-big { color: var(--yellow); font-size: 1.1rem; margin-top: 8px; }
.rating-big strong { font-size: 1.4rem; }

.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.review-card {
  background: var(--black-3); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform var(--trans);
}
.review-card:hover { transform: translateY(-3px); }
.review-stars { color: var(--yellow); font-size: 1rem; }
.review-card p { font-size: .9rem; color: var(--silver); font-style: italic; line-height: 1.65; }
.review-author { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.author-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--yellow); color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .85rem; flex-shrink: 0;
}
.review-author strong { display: block; font-size: .9rem; }
.review-author span { font-size: .8rem; color: var(--silver); }

/* ══════════════ FAQ ══════════════ */
.faq { background: var(--black-2); }

.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  background: var(--black-3); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-sm); overflow: hidden;
  transition: border-color var(--trans);
}
.faq-item[open] { border-color: rgba(245,200,0,.3); }
.faq-item summary {
  padding: 18px 22px; cursor: pointer;
  font-weight: 600; font-size: .95rem;
  display: flex; justify-content: space-between; align-items: center;
  list-style: none; gap: 12px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.4rem; color: var(--yellow); flex-shrink: 0;
  transition: transform var(--trans);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 22px 18px; }
.faq-body p { font-size: .9rem; color: var(--silver); line-height: 1.7; }
.faq-body a { color: var(--yellow); text-decoration: underline; }

/* ══════════════ CTA FINAL ══════════════ */
.cta-final {
  background: linear-gradient(135deg, var(--black) 0%, rgba(245,200,0,.06) 100%);
  border-top: 1px solid rgba(245,200,0,.15);
  text-align: center; padding: 100px 0;
}
.cta-final h2 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 16px; }
.cta-final p { color: var(--silver); margin-bottom: 40px; font-size: 1.05rem; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ══════════════ WPP FLOAT ══════════════ */
.wpp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 500;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wpp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(37,211,102,.5);
  transition: transform var(--trans), box-shadow var(--trans);
}
.wpp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37,211,102,.65);
}

/* ══════════════ FOOTER ══════════════ */
.site-footer {
  background: var(--black-2);
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 56px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px;
}
.footer-brand img { height: 36px; margin-bottom: 14px; }
.footer-brand p { font-size: .85rem; color: var(--silver); line-height: 1.7; }
.footer-links h4, .footer-contact h4 {
  font-size: 13px; letter-spacing: .1em; color: var(--yellow); margin-bottom: 16px;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: .875rem; color: var(--silver); transition: color var(--trans); }
.footer-links a:hover { color: var(--yellow); }
.footer-wpp {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--wpp); font-weight: 600; font-size: .9rem;
}
.footer-hours { font-size: .8rem; color: var(--silver); margin-top: 8px; }

.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: .8rem; color: var(--silver);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--silver); transition: color var(--trans); }
.footer-legal a:hover { color: var(--yellow); }

/* ══════════════ WOOCOMMERCE PAGES ══════════════ */
.woo-wrap { max-width: 1200px; margin: 40px auto; padding: 0 24px; }

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width: 900px) {
  .plans-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .plan-featured { transform: none; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
}

@media (max-width: 640px) {
  .site-nav { display: none; }
  .header-inner { gap: 16px; }
  .hero { padding: 60px 0 50px; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; }
  section { padding: 56px 0; }
  .cta-btns { flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
