/* Pastor Moisés Campos: brand layer over the SCENE cinematic workbench styles.
   Palette: night navy, azure light, ember "live" accent, ivory text. */
:root{
  --bg:#050816; --panel:#0B1230; --ink:#EEF2FF; --muted:#A9B3D1; --line:rgba(170,190,255,.14);
  --acid:#7FB2FF; --ember:#FF5A36; --violet:#A794FF;
  --font:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  --display:'Bricolage Grotesque','Inter',system-ui,sans-serif;
  --heb:'Frank Ruhl Libre','Times New Roman',serif;
}
body{background:var(--bg);color:var(--ink)}
h1,h2,h3,h4,.brand b{font-family:var(--display)}
.chapter h1,.chapter h2{font-weight:600;letter-spacing:-.045em}
@media(min-width:1101px){.chapter{width:50%}.chapter h1{font-size:min(6.2vw,10.2vh)}}
@media(min-width:701px) and (max-width:1100px){.chapter h1{font-size:min(7.1vw,9.5vh)}}
.section-heading h2,.section-top h2,.manifesto-head h2,.founder-copy h2,.faq h2,.final-cta h2{font-family:var(--display);font-weight:600;letter-spacing:-.04em}
em{color:var(--acid)}
.chapter-copy{color:#C3CBE4}
.primary{background:linear-gradient(180deg,#A9CBFF,#7FB2FF);color:#06102A}
.primary:hover{box-shadow:0 0 44px #7fb2ff55}
.brand span{letter-spacing:.06em}
.brand b{letter-spacing:.04em;font-weight:700}

/* Live accents */
.live-dot{background:var(--ember)!important;box-shadow:0 0 0 0 rgba(255,90,54,.6),0 0 14px var(--ember)!important;animation:live-pulse 1.8s ease-out infinite}
@keyframes live-pulse{0%{box-shadow:0 0 0 0 rgba(255,90,54,.55),0 0 14px var(--ember)}100%{box-shadow:0 0 0 10px rgba(255,90,54,0),0 0 14px var(--ember)}}
.live-badge{color:#FFD9CF!important;border-color:rgba(255,90,54,.45)!important;background:rgba(255,90,54,.12)!important}
.live-badge i{background:var(--ember)!important;box-shadow:0 0 10px var(--ember)!important}

/* Hero teacher chip */
.teacher-chip{display:flex;align-items:center;gap:12px;margin-top:26px}
.teacher-chip img{width:46px;height:46px;border-radius:50%;object-fit:cover;object-position:50% 18%;border:2px solid rgba(127,178,255,.55)}
.teacher-chip span{font-size:13px;line-height:1.35;color:#C3CBE4}
.teacher-chip b{display:block;color:var(--ink);font-size:14.5px;font-family:var(--display);font-weight:600}
.hero-footnote.next-class{font-size:12.5px;color:#C3CBE4;margin-top:12px}

/* Class panel: studio frame */
.live-frame{position:relative;border-radius:10px;overflow:hidden;margin-bottom:12px;aspect-ratio:16/5;background:#0B1230}
.live-frame img{width:100%;height:100%;max-height:none;object-fit:cover;object-position:50% 28%;display:block;filter:saturate(.9) contrast(1.03)}
.live-frame::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(5,8,22,.75))}
.live-tag{position:absolute;left:10px;bottom:9px;z-index:1;display:flex;align-items:center;gap:7px;font:600 10.5px/1 var(--font);letter-spacing:1.2px;color:#fff;background:rgba(255,90,54,.9);padding:6px 9px;border-radius:5px}
.live-tag i{width:6px;height:6px;border-radius:50%;background:#fff;animation:blink 1.4s steps(2) infinite}
@keyframes blink{50%{opacity:.25}}
.brief-box .heb{font:700 30px/1.1 var(--heb);color:var(--acid);direction:rtl;display:inline-block}
.brief-enter{font-size:11px!important;white-space:nowrap}
.node-icon{font-family:var(--heb)}

/* Tracks */
.role-photo{display:block;width:100%;height:auto;aspect-ratio:16/8;object-fit:cover;object-position:50% 28%;border-radius:10px;margin-bottom:18px;border:1px solid var(--line)}
.role-link{margin-top:18px;gap:18px}
#role-label{color:var(--acid)}

/* Shorts */
.shorts-row{display:grid;grid-template-columns:repeat(2,minmax(0,300px)) 1fr;gap:24px;align-items:end;margin-top:44px}
.short{position:relative;aspect-ratio:9/16;border-radius:16px;overflow:hidden;background:#0B1230;border:1px solid var(--line);box-shadow:0 30px 60px -30px rgba(0,0,0,.8)}
.short iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.short-cta{padding:28px;border-radius:16px;border:1px solid var(--line);background:radial-gradient(400px 220px at 20% 0%,rgba(127,178,255,.16),transparent 70%),#0B1230}
.short-cta h3{font-size:clamp(24px,2.4vw,32px);line-height:1.15;margin:12px 0 22px;font-weight:600;letter-spacing:-.02em}

/* E-books */
.shelf{display:grid;grid-template-columns:repeat(6,1fr);gap:22px;margin-top:44px}
.book{display:flex;flex-direction:column;gap:10px;color:var(--ink)}
.book .cover{display:block;aspect-ratio:2/3;border-radius:6px 10px 10px 6px;overflow:hidden;background:#0B1230;box-shadow:-8px 18px 34px -16px rgba(0,0,0,.9),inset 3px 0 0 rgba(255,255,255,.1);transition:transform .35s ease,box-shadow .35s ease}
.book .cover img{width:100%;height:100%;object-fit:cover;display:block}
.book:hover .cover,.book:focus-visible .cover{transform:translateY(-8px) rotate(-1.5deg);box-shadow:-10px 26px 40px -16px rgba(0,0,0,.9),0 0 30px -6px rgba(127,178,255,.35)}
.book b{font:600 15px/1.3 var(--display)}
.book small{font-size:12.5px;color:var(--muted);margin-top:-6px}
.shelf-more{margin-top:30px}

/* Founder photo */
.founder-image img{height:auto;aspect-ratio:1188/1324;object-fit:cover;filter:none}
.founder-image>span{background:rgba(8,13,32,.78);border-color:rgba(170,190,255,.3)}
.founder-copy .context-chips{margin-top:26px}

.faq-list a,.final-cta p a{color:var(--acid);text-decoration:underline;text-underline-offset:3px}
.site-footer>a:last-child{color:#C3CBE4}

@media(max-width:1100px){
  .workflow-window .brief-box{display:none}
  .hero-footnote.next-class{display:none}
  .live-frame{aspect-ratio:16/5.6}
  .shelf{grid-template-columns:repeat(3,1fr)}
  .shorts-row{grid-template-columns:repeat(2,minmax(0,1fr))}
  .short-cta{grid-column:1/-1}
}
@media(max-width:700px){
  .chapter h1{font-size:min(11.2vw,7.2vh)}
  .teacher-chip{display:none}
  .live-frame{aspect-ratio:16/4.6;margin-bottom:8px}
  .workflow-window .brief-box,.workflow-window .workflow-log{display:none}
  .shelf{grid-template-columns:repeat(2,1fr);gap:16px}
  .shorts-row{gap:14px;margin-top:30px}
  .short{border-radius:12px}
  .role-photo{aspect-ratio:16/9}
}
@media(max-width:700px) and (max-height:740px){
  .live-frame{display:block;aspect-ratio:16/4.4;margin:0}
  .workflow-window .window-bottom,.workflow-window .window-topline{display:none}
}
@media(prefers-reduced-motion:reduce){
  .live-dot,.live-tag i{animation:none}
  .book .cover{transition:none}
}
html.motion-paused .live-dot,html.motion-paused .live-tag i{animation:none}

@media(min-width:701px) and (max-height:1000px){
  .workflow-window .workflow-log,.workflow-window .brief-box{display:none}
  .teacher-chip{margin-top:18px}
}
@media(min-width:701px) and (max-height:760px){
  .live-frame{display:none}
}

/* Keep the floating motion button from covering footer links */
.site-footer{padding-bottom:92px!important}
.foot-legal{font-size:12px;color:#C3CBE4;white-space:nowrap}
.foot-legal a{color:#C3CBE4}
.foot-legal a:hover{color:var(--acid)}

/* Large screens: keep the class panel inside the first viewport */
@media(min-width:1101px){.workflow-window{max-width:600px}}

/* Oficina do Pregador: a warm, candle-lit band (its own look, echoing oficinaus.com) */
.nav-oficina{display:inline-flex;align-items:center;gap:7px;color:#F1D29B!important}
.nav-oficina small{font:700 8.5px/1 var(--font);letter-spacing:1px;color:#1A0F05;background:linear-gradient(180deg,#F3CF8A,#D99A3A);padding:4px 6px;border-radius:20px}
.oficina{position:relative;overflow:hidden;isolation:isolate;padding-block:130px;color:#F4E8D4;
  background:radial-gradient(120% 90% at 85% 15%,#3A230F 0%,#1A1009 45%,#0D0805 100%);border-block:1px solid rgba(226,178,99,.22)}
.oficina-glow{position:absolute;z-index:-1;width:620px;height:620px;right:-120px;top:-160px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,176,72,.30),rgba(255,140,40,.08) 45%,transparent 70%);filter:blur(10px);animation:oficina-flicker 6s ease-in-out infinite}
@keyframes oficina-flicker{0%,100%{opacity:.85;transform:scale(1)}40%{opacity:1;transform:scale(1.04)}70%{opacity:.78;transform:scale(.98)}}
.oficina-letters{position:absolute;z-index:-1;inset:0;display:flex;flex-direction:column;justify-content:space-between;padding:60px 4%;pointer-events:none;
  font-family:var(--heb);font-size:clamp(28px,4vw,58px);color:rgba(226,178,99,.07);white-space:nowrap}
.oficina-letters span:nth-child(2){align-self:flex-end;font-style:italic}
.oficina-letters span:nth-child(3){padding-left:18%}
.oficina-inner{display:grid;grid-template-columns:1.05fr .95fr;gap:7%;align-items:center}
.oficina-tag{display:flex;align-items:center;gap:10px;font:600 11px/1 var(--font);letter-spacing:1.8px;color:#F1D29B}
.oficina-flame{width:9px;height:9px;border-radius:50%;background:#FFB347;box-shadow:0 0 14px #FFB347,0 0 30px #ff8c2a99;animation:oficina-flicker 2.4s ease-in-out infinite}
.oficina h2{font-family:var(--heb);font-weight:700;font-size:clamp(46px,6.2vw,92px);line-height:.95;letter-spacing:-.01em;margin:24px 0 26px;color:#F4E8D4}
.oficina h2 em{color:#E2B263;font-style:normal}
.oficina-lead{font-size:17px;line-height:1.75;color:#D8C7AA;max-width:560px}
.oficina-features{list-style:none;padding:0;margin:34px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:1px;background:rgba(226,178,99,.16);border:1px solid rgba(226,178,99,.16);border-radius:10px;overflow:hidden}
.oficina-features li{background:#170E07;padding:20px 20px 22px}
.oficina-features b{display:block;font:600 15px/1.3 var(--display);color:#F1D29B;margin-bottom:6px}
.oficina-features span{font-size:13.5px;line-height:1.6;color:#BCA88A}
.oficina-actions{display:flex;align-items:center;gap:26px;flex-wrap:wrap;margin-top:34px}
.oficina-button{background:linear-gradient(180deg,#F3CF8A,#D99A3A);color:#1A0F05;box-shadow:0 10px 40px -12px #ffb34799}
.oficina-button:hover{box-shadow:0 0 46px #ffb34777}
.oficina-plans{color:#F1D29B}
.oficina-price{margin-top:20px;font-size:13px;color:#A8957A}
.oficina-price b{color:#F1D29B;font-weight:600}
.oficina-bench{position:relative;border:1px solid rgba(226,178,99,.28);border-radius:14px;background:linear-gradient(180deg,#22160C,#140C06);
  box-shadow:0 40px 90px -30px #000,0 0 0 1px #00000040 inset;transform:perspective(1100px) rotateY(-7deg) rotateX(3deg)}
.bench-bar{display:flex;align-items:center;gap:14px;height:40px;padding-inline:16px;border-bottom:1px solid rgba(226,178,99,.18);font:600 10px/1 var(--font);letter-spacing:1.4px;color:#BCA88A}
.bench-dots{display:flex;gap:6px}.bench-dots i{width:8px;height:8px;border-radius:50%;background:#5A3F22}.bench-dots i:first-child{background:#E2B263}
.bench-body{padding:30px 30px 26px}
.bench-kicker{font:600 10.5px/1 var(--font);letter-spacing:1.6px;color:#C8862E}
.oficina-bench h3{font-family:var(--heb);font-size:38px;font-weight:700;margin:14px 0 12px;color:#F4E8D4}
.bench-word{font-size:15px;color:#D8C7AA;padding:12px 14px;border-left:3px solid #E2B263;background:rgba(226,178,99,.07);border-radius:0 6px 6px 0}
.bench-word span{font-family:var(--heb);font-size:22px;color:#F1D29B}
.bench-word i{color:#E2B263}
.bench-outline{list-style:none;padding:0;margin:22px 0 0;display:grid;gap:10px}
.bench-outline li{font-size:15px;color:#E9DCC5;padding:12px 14px;border:1px solid rgba(226,178,99,.14);border-radius:8px;background:#1A1009}
.bench-outline b{color:#E2B263;font-family:var(--heb);margin-right:8px}
.bench-occasions{display:flex;flex-wrap:wrap;gap:7px;margin-top:22px}
.bench-occasions span{font-size:11px;letter-spacing:.4px;color:#D8C7AA;border:1px solid rgba(226,178,99,.22);padding:7px 10px;border-radius:20px}
.bench-verse{margin:0;padding:18px 30px 22px;border-top:1px solid rgba(226,178,99,.14);font-family:var(--heb);font-style:italic;font-size:14px;line-height:1.6;color:#BCA88A}
.bench-verse span{display:block;margin-top:6px;font:600 10px/1 var(--font);font-style:normal;letter-spacing:1.4px;color:#C8862E;text-transform:uppercase}
@media(max-width:1100px){.oficina{padding-block:100px}.oficina-inner{gap:5%}.oficina-features{grid-template-columns:1fr}.oficina-bench{transform:none}}
@media(max-width:860px){.oficina-inner{grid-template-columns:1fr;gap:50px}.oficina-bench{max-width:560px}}
@media(max-width:700px){.oficina{padding-block:80px}.oficina h2{font-size:52px}.oficina-lead{font-size:15px}.oficina-tag{font-size:9.5px;letter-spacing:1.3px}
  .bench-body{padding:22px 20px}.oficina-bench h3{font-size:30px}.bench-verse{padding:16px 20px 20px}.oficina-actions{gap:20px}.oficina-glow{width:420px;height:420px;right:-160px}
  #site-nav>a.nav-oficina{display:flex}}
@media(prefers-reduced-motion:reduce){.oficina-glow,.oficina-flame{animation:none}}
