/* ═══════════════════════════════════════════════
   Campanha 2027 · Preparando Cidadãos do Futuro
   Versão minimalista com glassmorphism: luzes suaves
   nas cores do CBR, título em placas de vidro fosco,
   faixa translúcida e cartões de vidro no varal.
   ═══════════════════════════════════════════════ */
.pcf {
  --tinta: #012A3A;
  --vidro: rgba(255, 255, 255, 0.12);
  --vidro-forte: rgba(255, 255, 255, 0.18);
  --borda-vidro: rgba(255, 255, 255, 0.32);
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(5rem, 12vh, 8rem) 0 clamp(3.5rem, 8vh, 5.5rem);
  background: linear-gradient(180deg, #0a9bd6 0%, #0086BC 55%, #0079ab 100%);   /* termina no mesmo azul em que a jornada começa */
  color: #fff;
}
.pcf::before {   /* grade de caderno bem leve */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px; background-attachment: fixed;   /* grade alinhada à tela: contínua entre as seções */
  mask-image: linear-gradient(180deg, transparent, #000 18%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%);   /* grade contínua até a jornada */
}

/* ── luzes suaves (antigos cacos) ──────────── */
.pcf__cacos { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pcf__caco { position: absolute; display: block; border-radius: 50%; filter: blur(70px); will-change: transform; }
.pcf__caco--ceu   { top: 38%; left: 30%; width: 30vw; height: 30vw; max-width: 460px; max-height: 460px; background: rgba(41,171,226,0.55); }

/* ── título em placas de vidro ─────────────── */
.pcf__topo { position: relative; padding: 0 clamp(1.5rem, 8vw, 7rem); max-width: 1180px; }
.pcf__selo {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 1.8rem;
  padding: 6px 16px 6px 6px; border-radius: 999px;
  background: var(--vidro); border: 1px solid var(--borda-vidro);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  font-size: 0.9rem; font-weight: 500; letter-spacing: -0.03em; color: rgba(255,255,255,0.92);
}
.pcf__selo b { white-space: nowrap; background: #fff; color: var(--blue, #0086BC); padding: 4px 12px; border-radius: 999px; font-weight: 700; }
.pcf__titulo { margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0.14em; font-size: clamp(2.6rem, 7.4vw, 6.4rem); line-height: 1; letter-spacing: -0.07em; font-weight: 800; }
.pcf__linha { display: flex; align-items: flex-end; gap: 0.2em; }
.pcf__linha--recuo { padding-left: clamp(0.6rem, 6vw, 6rem); }
.pcf__bloco {
  display: inline-block; padding: 0.08em 0.3em 0.14em; border-radius: 0.22em;
  background: var(--vidro); border: 1px solid var(--borda-vidro);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 20px 50px -24px rgba(1,42,58,0.55), inset 0 1px 0 rgba(255,255,255,0.35);
}
.pcf__bloco--papel { color: #fff; }
.pcf__bloco--ouro  { color: #FFD15C; }
.pcf__bloco--rosa  { color: #fff; }   /* 'Futuro.' — mesmo vidro azul, sem tom rosa */
.pcf__do { font-size: 0.4em; font-weight: 400; color: rgba(255,255,255,0.85); margin-bottom: 0.22em; font-family: 'Libre Baskerville', Georgia, serif; font-style: italic; letter-spacing: 0; }
.pcf__sub { max-width: 46ch; margin: 1.8rem 0 0; font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.7; color: rgba(255,255,255,0.88); letter-spacing: -0.02em; }

/* ── faixa translúcida ─────────────────────── */
.pcf__faixa {
  position: relative; margin: clamp(3rem, 7vh, 4.5rem) -2vw 0; transform: rotate(-1.5deg);
  background: rgba(255,255,255,0.1); border-block: 1px solid var(--borda-vidro);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); overflow: hidden;
}
.pcf__faixa-trilho { display: flex; align-items: center; gap: 1.8rem; width: max-content; padding: 0.85rem 0; white-space: nowrap; will-change: transform; }
.pcf__faixa-trilho span { font-size: clamp(1rem, 1.8vw, 1.35rem); font-weight: 600; letter-spacing: -0.04em; color: rgba(255,255,255,0.92); }
.pcf__faixa-trilho i { font-style: normal; color: #FDB603; font-size: 0.95rem; }

/* ── varal com os filmes ───────────────────── */
.pcf__varal {
  position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 470px)); justify-content: center;
  gap: clamp(1.6rem, 5vw, 4rem); padding: clamp(4rem, 9vh, 5.5rem) clamp(1.25rem, 6vw, 5rem) 0;
}
.pcf__fio {
  position: absolute; left: 4%; right: 4%; top: clamp(2.6rem, 6vh, 3.4rem); height: 34px;
  border-top: 1.5px solid rgba(255,255,255,0.45); border-radius: 50%;
}
.pcf__card {
  position: relative; transform-origin: 50% -22px; will-change: transform;
  padding: 12px 12px 24px; border-radius: 26px;
  background: var(--vidro); border: 1px solid var(--borda-vidro);
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 30px 60px -30px rgba(1,42,58,0.6), inset 0 1px 0 rgba(255,255,255,0.35);
  color: #fff;
}
.pcf__card:nth-child(3) { margin-top: 2.2rem; }
.pcf__pregador {   /* presilha de vidro no fio */
  position: absolute; top: -26px; left: 50%; width: 12px; height: 34px; margin-left: -6px; z-index: 2;
  border-radius: 6px; background: rgba(255,255,255,0.75); box-shadow: 0 0 0 3px rgba(255,255,255,0.18), 0 4px 10px rgba(1,42,58,0.25);
}
.pcf__capa {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; cursor: pointer;
  overflow: hidden; border-radius: 18px; background: rgba(1,42,58,0.4);
}
.pcf__capa img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.pcf__capa::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,42,58,0) 50%, rgba(1,42,58,0.35)); }
.pcf__card:hover .pcf__capa img { transform: scale(1.04); }
.pcf__play {
  position: absolute; left: 50%; top: 50%; z-index: 1; width: 70px; height: 70px; margin: -35px 0 0 -35px;
  border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,0.22); border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px -10px rgba(1,42,58,0.6);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s;
}
.pcf__play svg { width: 24px; height: 24px; fill: #fff; margin-left: 4px; }
.pcf__capa:hover .pcf__play, .pcf__capa:focus-visible .pcf__play { transform: scale(1.08); background: rgba(253,182,3,0.85); }
.pcf__capa:hover .pcf__play svg, .pcf__capa:focus-visible .pcf__play svg { fill: var(--tinta); }
.pcf__tag {
  display: inline-flex; align-items: center; gap: 8px; margin: 16px 6px 0; padding: 5px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28);
  font-size: 0.78rem; font-weight: 600; letter-spacing: -0.02em; color: rgba(255,255,255,0.95);
}
.pcf__tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.pcf__card h3 { margin: 0.7rem 6px 0.4rem; font-size: clamp(1.3rem, 2.1vw, 1.65rem); font-weight: 700; color: #fff; letter-spacing: -0.06em; line-height: 1.12; }
.pcf__card p { margin: 0 6px 1.1rem; font-size: 0.94rem; line-height: 1.65; color: rgba(255,255,255,0.82); letter-spacing: -0.02em; }
.pcf__ver {
  margin: 0 6px; padding: 0; border: 0; background: none; cursor: pointer;
  font: 600 0.94rem/1.2 'Poppins', Arial, sans-serif; letter-spacing: -0.03em; color: #fff;
  text-decoration: underline; text-decoration-color: rgba(253,182,3,0.9); text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.pcf__capa:focus-visible, .pcf__ver:focus-visible { outline: 2px solid #FDB603; outline-offset: 3px; }

/* ── ações ─────────────────────────────────── */
.pcf__acoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(3rem, 7vh, 4.5rem); padding: 0 1.25rem; }
.pcf__btn {
  display: inline-flex; align-items: center; padding: 15px 26px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; letter-spacing: -0.04em; text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s;
}
.pcf__btn--ouro { background: #FDB603; color: var(--tinta); box-shadow: 0 14px 30px -14px rgba(253,182,3,0.9); }
.pcf__btn--linha { color: #fff; background: var(--vidro); border: 1px solid var(--borda-vidro); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.pcf__btn:hover { transform: translateY(-2px); }
.pcf__btn--linha:hover { background: var(--vidro-forte); }

/* ── janela do filme ───────────────────────── */
.pcf-tela { position: fixed; inset: 0; z-index: 2600; display: grid; place-items: center; padding: 20px; }
.pcf-tela[hidden] { display: none; }
.pcf-tela__veu { position: absolute; inset: 0; background: rgba(1,42,58,0.7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; transition: opacity 0.35s; }
.pcf-tela__caixa {
  position: relative; width: min(1100px, 100%); padding: 10px; border-radius: 24px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 40px 90px -30px rgba(1,42,58,0.8);
  opacity: 0; transform: translateY(16px) scale(0.97);
  transition: opacity 0.35s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.pcf-tela.on .pcf-tela__veu { opacity: 1; }
.pcf-tela.on .pcf-tela__caixa { opacity: 1; transform: none; }
.pcf-tela__video { aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #012A3A; }
.pcf-tela__video iframe { width: 100%; height: 100%; border: 0; display: block; }
.pcf-tela__x {
  position: absolute; top: -18px; right: -18px; z-index: 1; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.6); background: rgba(255,255,255,0.9); color: #012A3A; font-size: 24px; line-height: 1; display: grid; place-items: center;
  box-shadow: 0 8px 20px -8px rgba(1,42,58,0.6);
}

/* ── celular ───────────────────────────────── */
@media (max-width: 760px) {
  .pcf__varal { grid-template-columns: 1fr; gap: 3rem; padding-top: 3.4rem; }
  .pcf__card:nth-child(3) { margin-top: 0; }
  .pcf__fio { display: none; }
  .pcf__pregador { top: -22px; }
  .pcf__selo { font-size: 0.8rem; gap: 8px; padding-right: 12px; }
  .pcf__caco { filter: blur(50px); }
  .pcf__caco--ceu { width: 60vw; height: 60vw; }
    .pcf__play { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
  .pcf-tela { padding: 12px; }
  .pcf-tela__x { top: -14px; right: -6px; }
}
@media (prefers-reduced-motion: reduce) {
  .pcf-tela__veu, .pcf-tela__caixa, .pcf__capa img, .pcf__play { transition: none; }
}

/* ── contorno neon nos cartões ─────────────────
   anel de luz nas 4 cores do CBR girando devagar; acende piscando
   quando o cartão cai no varal e um ponto de luz segue o mouse. */
@property --pcf-ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.pcf__card::before {
  content: ""; position: absolute; inset: -1px; z-index: 3; border-radius: inherit; padding: 2px; pointer-events: none;
  background:
    radial-gradient(160px circle at var(--mx, 50%) var(--my, -20%), rgba(255,255,255,0.95), transparent 65%),
    conic-gradient(from var(--pcf-ang), #FDB603, #E8098E, #29ABE2, #8CC63F, #FDB603);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.6s ease;
  animation: pcfGiro 8s linear infinite;
}
.pcf__card { transition: box-shadow 0.6s ease; }
.pcf__card.is-aceso::before { opacity: 0.75; animation: pcfGiro 8s linear infinite, pcfAcende 1.2s ease-out 1; }
.pcf__card.is-aceso {
  box-shadow: 0 30px 60px -30px rgba(1,42,58,0.6), inset 0 1px 0 rgba(255,255,255,0.35),
              0 0 18px -4px color-mix(in srgb, var(--c) 75%, transparent),
              0 0 54px -12px color-mix(in srgb, var(--c) 60%, transparent);
}
.pcf__card.is-aceso:hover, .pcf__card.is-aceso:focus-within {
  box-shadow: 0 30px 60px -30px rgba(1,42,58,0.6), inset 0 1px 0 rgba(255,255,255,0.35),
              0 0 22px -2px color-mix(in srgb, var(--c) 90%, transparent),
              0 0 80px -8px color-mix(in srgb, var(--c) 70%, transparent);
}
.pcf__card.is-aceso:hover::before, .pcf__card.is-aceso:focus-within::before { opacity: 1; animation-duration: 3.5s; }
@keyframes pcfGiro { to { --pcf-ang: 360deg; } }
@keyframes pcfAcende {   /* lâmpada de neon ligando */
  0% { opacity: 0; } 8% { opacity: 0.9; } 12% { opacity: 0.1; } 22% { opacity: 1; }
  26% { opacity: 0.25; } 40% { opacity: 1; } 100% { opacity: 0.75; }
}
@media (prefers-reduced-motion: reduce) {
  .pcf__card::before, .pcf__card.is-aceso::before { animation: none; }
}

/* ── neon nas placas do título (azul e amarelo) ── */
.pcf__bloco { position: relative; transition: box-shadow 0.6s ease; }
.pcf__bloco::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 2px; pointer-events: none;
  background:
    radial-gradient(140px circle at var(--mx, 50%) var(--my, -30%), rgba(255,255,255,0.95), transparent 65%),
    conic-gradient(from var(--pcf-ang), #FDB603, #9EE3FF, #29ABE2, #FFD15C, #FDB603);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.6s ease;
  animation: pcfGiro 9s linear infinite;
}
.pcf__linha:nth-child(2) .pcf__bloco::before { animation-direction: reverse; }
.pcf__bloco.is-aceso::before { opacity: 0.8; animation: pcfGiro 9s linear infinite, pcfAcende 1.2s ease-out 1; }
.pcf__linha:nth-child(2) .pcf__bloco.is-aceso::before { animation: pcfGiro 9s linear infinite reverse, pcfAcende 1.2s ease-out 1; }
.pcf__bloco.is-aceso {
  box-shadow: 0 20px 50px -24px rgba(1,42,58,0.55), inset 0 1px 0 rgba(255,255,255,0.35),
              0 0 16px -4px rgba(253,182,3,0.55), 0 0 46px -14px rgba(41,171,226,0.75);
}
.pcf__bloco.is-aceso:hover {
  box-shadow: 0 20px 50px -24px rgba(1,42,58,0.55), inset 0 1px 0 rgba(255,255,255,0.35),
              0 0 22px -2px rgba(253,182,3,0.8), 0 0 70px -10px rgba(41,171,226,0.9);
}
.pcf__bloco.is-aceso:hover::before { opacity: 1; animation-duration: 3.5s; }
@media (prefers-reduced-motion: reduce) { .pcf__bloco::before, .pcf__bloco.is-aceso::before { animation: none; } }

/* ── CBR 1989 (University) no espaço à direita do título, escrito com a rolagem ── */
.pcf__marca {
  position: absolute; z-index: -1; pointer-events: none; overflow: visible;
  right: clamp(1rem, 7vw, 8rem); top: clamp(7rem, 16vh, 10rem); width: min(38vw, 560px);
}
.pcf__marca text {
  font-family: 'University', 'Graduate', 'Poppins', sans-serif;
  fill: rgba(255,255,255,0); stroke-width: 1.6px; stroke-linejoin: round;
  stroke-dasharray: 1600; stroke-dashoffset: 1600;
}
.pcf__marca-cbr { font-size: 250px; letter-spacing: 4px; stroke: rgba(255,255,255,0.7); }
.pcf__marca-ano { font-size: 172px; letter-spacing: 10px; stroke: rgba(253,182,3,0.85); }

/* ── borda curva: saída limpa para a seção branca seguinte ── */
.pcf__borda { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 90px); display: block; pointer-events: none; }
.pcf__borda path { fill: #fff; }

@media (max-width: 760px) {
  .pcf__marca { right: -4vw; top: 4.5rem; width: 78vw; opacity: 0.45; }
}
@media (prefers-reduced-motion: reduce) {
  .pcf__marca text { stroke-dashoffset: 0; }
}
