/* ============================================================
   Berry Player — /player
   Loads AFTER styles.css. Reuses tokens / nav / footer / buttons.
   Identity: light base, cinematic dark player frame, "encryption"
   as the signature visual.
   ============================================================ */

:root{
  --pl-frame:  #0c0f1f;
  --pl-frame-2:#141a33;
  --pl-glow:   rgba(140,87,253,0.28);
}

.pl-section{ padding: clamp(72px, 9vw, 120px) 0; }
.pl-section.tight{ padding: clamp(46px, 6vw, 76px) 0; }
.pl-head{ max-width: 720px; margin-bottom: clamp(34px, 5vw, 56px); }
.pl-head .eyebrow{ margin-bottom: 16px; }
.pl-head h2{ font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.08; }
.pl-head p{ margin-top: 14px; color: var(--ink-soft); font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.6; max-width: 52ch; }

/* ============================================================
   CINEMATIC PLAYER FRAME  (reused)
   ============================================================ */
.pl-frame{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--pl-frame);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 44px 90px -34px rgba(8,16,41,0.5);
}
.pl-frame .stage{
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(60% 75% at 50% 12%, rgba(140,87,253,0.5), transparent 70%),
    linear-gradient(150deg, rgba(71,80,251,0.5), rgba(20,26,51,0.9));
  display: flex; align-items: center; justify-content: center;
}
.pl-frame .play{
  width: 74px; height: 74px; border-radius: 50%;
  background: rgba(255,255,255,0.96);
  display:flex; align-items:center; justify-content:center;
  color: var(--navy);
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
}
.pl-frame .play svg{ width: 26px; height: 26px; margin-left: 4px; }
.pl-frame .badge-quality{
  position: absolute; top: 14px; right: 14px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em;
  color: #fff; background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 4px 9px; border-radius: 6px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.pl-frame .ctrl{
  display:flex; align-items:center; gap: 12px;
  padding: 13px 16px;
  background: #070a16;
  color: rgba(255,255,255,0.6);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}
.pl-frame .ctrl .bar{ flex: 1; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.14); overflow: hidden; }
.pl-frame .ctrl .bar i{ display:block; height: 100%; width: 0%; background: var(--grad-brand); }
.pl-frame .ctrl .pill{
  padding: 3px 8px; border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.75); font-weight: 600;
}
.pl-frame .ctrl .ico{ width: 15px; height: 15px; opacity: .7; }

/* module context wrapper */
.pl-hero-visual{
  position: relative;
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  max-width: 860px;
  margin: clamp(46px, 7vw, 84px) auto 0;
}
.pl-hero-visual .crumb{
  display:flex; align-items:center; gap: 8px;
  font-size: 12px; color: var(--ink-faint); font-weight: 600;
  padding: 4px 6px 14px;
}
.pl-hero-visual .crumb b{ color: var(--ink); font-weight: 600; }
.pl-hero-visual .crumb .sep{ opacity: .4; }

/* ============================================================
   HERO
   ============================================================ */
.pl-hero{
  position: relative;
  overflow: hidden;
  padding: clamp(150px, 19vw, 210px) 0 clamp(50px, 7vw, 90px);
  background:
    radial-gradient(52% 42% at 50% 4%, rgba(140,87,253,0.14), transparent 70%),
    var(--cream);
  text-align: center;
}
.pl-hero .eyebrow{ justify-content: center; margin: 0 auto 22px; }
.pl-hero h1{
  font-size: clamp(2.5rem, 5.2vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin: 0 auto 22px;
}
.pl-hero .lede{
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 auto 32px;
  line-height: 1.55;
}
.pl-hero .lede strong{ color: var(--ink); font-weight: 600; }
.pl-hero-ctas{ display:flex; justify-content:center; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   UPLOAD STEPS
   ============================================================ */
.pl-steps{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pl-step{
  position: relative;
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}
.pl-step .n{
  font-family: var(--font-display); font-style: italic;
  font-size: 14px; color: var(--indigo); margin-bottom: 14px; display:block;
}
.pl-step h3{ font-size: 18px; margin-bottom: 6px; }
.pl-step p{ font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }
.pl-step .art{
  margin-top: 18px; height: 92px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: var(--cream-deep);
  display:flex; align-items:center; justify-content:center;
  position: relative; overflow: hidden;
}
/* step 1 — dropzone */
.pl-art-drop{
  border: 1.5px dashed rgba(71,80,251,0.4) !important;
  background: var(--grad-brand-soft) !important;
  color: var(--indigo);
  font-size: 12px; font-weight: 600;
}
.pl-art-drop svg{ width: 20px; height: 20px; margin-right: 8px; }
/* step 2 — processing bars */
.pl-art-proc{ gap: 6px; padding: 0 18px; }
.pl-art-proc i{ flex: 1; height: 26px; border-radius: 5px; background: var(--grad-brand-soft); }
.pl-art-proc i:nth-child(1){ opacity: 1; }
.pl-art-proc i:nth-child(2){ opacity: .7; }
.pl-art-proc i:nth-child(3){ opacity: .45; }
.pl-art-proc i:nth-child(4){ opacity: .28; }
/* step 3 — published mini player */
.pl-art-pub{ background: var(--pl-frame) !important; }
.pl-art-pub .mini-play{
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.95); color: var(--navy);
  display:flex; align-items:center; justify-content:center;
}
.pl-art-pub .mini-play svg{ width: 12px; height: 12px; margin-left: 2px; }

/* ============================================================
   SECURITY — aluno vs. cópia
   ============================================================ */
.pl-secure{ background: var(--cream-deep); }
.pl-secure-grid{
  display:grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.pl-panel{
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}
.pl-panel .pl-panel-hd{
  display:flex; align-items:center; gap: 8px;
  padding: 14px 18px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  border-bottom: 1px solid var(--line-soft);
}
.pl-panel .pl-panel-hd .dot{ width: 8px; height: 8px; border-radius: 50%; }
.pl-panel.good .pl-panel-hd{ color: var(--indigo); }
.pl-panel.good .pl-panel-hd .dot{ background: var(--grad-brand); }
.pl-panel.bad .pl-panel-hd{ color: #C2410C; }
.pl-panel.bad .pl-panel-hd .dot{ background: #F97316; }
.pl-panel .pl-panel-body{ padding: 18px; }

/* clean side */
.pl-panel.good .stage{
  aspect-ratio: 16/9; border-radius: 12px; overflow: hidden;
  background:
    radial-gradient(60% 75% at 50% 15%, rgba(140,87,253,0.45), transparent 70%),
    linear-gradient(150deg, rgba(71,80,251,0.45), rgba(20,26,51,0.9));
  display:flex; align-items:center; justify-content:center;
}
.pl-panel.good .stage .play{
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.95); color: var(--navy);
  display:flex; align-items:center; justify-content:center;
}
.pl-panel.good .stage .play svg{ width: 16px; height: 16px; margin-left: 2px; }

/* encrypted side */
.pl-chunks{
  aspect-ratio: 16/9; border-radius: 12px; overflow: hidden;
  display:grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(4, 1fr);
  gap: 3px; background: #0c0f1f; padding: 3px;
  position: relative;
}
.pl-chunk{
  background: repeating-linear-gradient(45deg, #1b2140 0 6px, #141a33 6px 12px);
  border-radius: 4px;
  position: relative;
}
.pl-chunk.lit{ background: linear-gradient(135deg, rgba(71,80,251,0.5), rgba(140,87,253,0.35)); }
.pl-chunks::after{
  content: "arquivo indisponível";
  position: absolute; inset: 0;
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-mono, monospace); font-size: 11px; letter-spacing: .04em;
  color: rgba(255,255,255,0.5);
  background: rgba(8,10,20,0.35);
}
.pl-blocked{
  margin-top: 12px;
  display:inline-flex; align-items:center; gap: 8px;
  font-size: 12px; font-weight: 600; color: #C2410C;
  background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.25);
  padding: 6px 12px; border-radius: 999px;
}
.pl-blocked svg{ width: 14px; height: 14px; }

/* security checklist */
.pl-sec-list{
  display:grid; grid-template-columns: repeat(2, 1fr); gap: 14px 26px;
}
.pl-sec-list li{
  display:flex; gap: 11px; align-items:flex-start;
  font-size: 14px; color: var(--ink-soft); line-height: 1.5;
}
.pl-sec-list svg{ flex: none; margin-top: 2px; color: var(--indigo); width: 17px; height: 17px; }
.pl-sec-list b{ color: var(--ink); font-weight: 600; }

/* ============================================================
   FEATURE GRID
   ============================================================ */
.pl-feats{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pl-feat{
  padding: 30px;
  border-radius: var(--radius-md);
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.pl-feat:hover{ transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pl-feat .ic{
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad-brand); color: #fff;
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 16px;
}
.pl-feat .ic svg{ width: 20px; height: 20px; }
.pl-feat h3{ font-size: 18px; margin-bottom: 7px; }
.pl-feat p{ font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

/* ============================================================
   PLANS
   ============================================================ */
.pl-plans{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.pl-plan{
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
}
.pl-plan.highlight{
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
}
.pl-plan h3{ font-family: var(--font-display); font-size: 22px; margin-bottom: 6px; }
.pl-plan.highlight h3{ color: #fff; }
.pl-plan p{ font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }
.pl-plan.highlight p{ color: rgba(254,249,243,0.7); }
.pl-plan .tag{
  display:inline-block; margin-bottom: 14px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--indigo); background: var(--grad-brand-soft);
  padding: 4px 10px; border-radius: 999px;
}
.pl-plan.highlight .tag{ color: var(--violet-soft); background: rgba(255,255,255,0.1); }
.pl-plan .price{
  font-family: var(--font-display); font-size: 15px; font-style: italic;
  color: var(--ink-faint); margin: 16px 0 4px;
}
.pl-plan.highlight .price{ color: rgba(254,249,243,0.6); }
.pl-plans-note{
  margin-top: 22px; font-size: 12.5px; color: var(--ink-faint); text-align: center;
}

/* ============================================================
   CTA
   ============================================================ */
.pl-cta{ padding: clamp(50px, 7vw, 90px) 0 clamp(80px, 10vw, 130px); text-align: center; }
.pl-cta h2{ font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: 16px; }
.pl-cta p{ color: var(--ink-soft); max-width: 46ch; margin: 0 auto 30px; font-size: clamp(1rem,1.3vw,1.15rem); line-height: 1.6; }
.pl-cta-ctas{ display:flex; justify-content:center; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   REVEAL / RESPONSIVE
   ============================================================ */
.pl-reveal{ opacity: 0; transform: translateY(28px); }

@media (max-width: 960px){
  .pl-steps{ grid-template-columns: 1fr; }
  .pl-secure-grid{ grid-template-columns: 1fr; }
  .pl-sec-list{ grid-template-columns: 1fr; }
  .pl-feats{ grid-template-columns: 1fr; }
  .pl-plans{ grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce){
  .pl-reveal{ opacity: 1 !important; transform: none !important; }
}
