/* ===== Design tokens ===== */
:root {
  --color-navy: #16223a;
  --color-navy-soft: #2c3e5c;
  --color-slate: #3d5a82;
  --color-slate-light: #6c87ab;
  --color-sky: #0c5470;
  --color-cloud: #eef1f7;
  --color-cloud-deep: #e2e7f1;
  --color-white: #ffffff;
  --color-ink-muted: #5b6577;
  --color-metallic: #4d566a;

  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.34));
  --glass-bg-strong: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.52));
  --glass-border: rgba(255, 255, 255, 0.65);
  --glass-shadow: 0 10px 40px rgba(45, 65, 100, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  --glass-shadow-soft: 0 4px 18px rgba(45, 65, 100, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.5);

  --font-serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --font-sans: "Satoshi", "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --container: 1180px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  position: relative;
  font-family: var(--font-sans);
  color: var(--color-navy);
  background: linear-gradient(180deg,
    #f4f8fd 0%,
    #eef2f9 14%,
    #f6f8fb 28%,
    #eef1f7 42%,
    #e6ebf5 58%,
    #dde4f0 74%,
    #cdd6e8 88%,
    #c2cce2 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
section, article, aside, dl, dd, dt { display: block; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; color: var(--color-navy); letter-spacing: -0.01em; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--color-navy); color: var(--color-white); padding: 10px 18px; border-radius: var(--radius-sm);
}
.skip-link:focus { left: 12px; top: 12px; }

/* ===== Glass utility ===== */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-lg);
}

/* ===== Cursor cloud puff ===== */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 280px; height: 170px;
  pointer-events: none;
  background:
    radial-gradient(ellipse 62px 38px at 26% 55%, rgba(255, 255, 255, 0.9), transparent 72%),
    radial-gradient(ellipse 84px 48px at 52% 36%, rgba(255, 255, 255, 0.88), transparent 72%),
    radial-gradient(ellipse 60px 36px at 77% 58%, rgba(255, 255, 255, 0.88), transparent 72%),
    radial-gradient(ellipse 140px 80px at 50% 52%, rgba(79, 179, 224, 0.22), transparent 75%);
  filter: blur(10px);
  transform: translate3d(-50%, -50%, 0);
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 4;
  will-change: transform;
}
.cursor-glow.is-active { opacity: 1; }

/* ===== Layout helpers ===== */
.section { padding: 130px 24px; position: relative; overflow: hidden; }
.section-inner { max-width: var(--container); margin: 0 auto; position: relative; z-index: 1; }
.eyebrow {
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--color-slate); font-weight: 600; margin-bottom: 14px;
}
.section h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 28px; }

/* ===== Continuous atmosphere layer =====
   One absolutely-positioned layer spanning the full page height, instead of
   one blob per section — avoids hard clip seams where a per-section blob's
   negative offset met that section's own overflow:hidden boundary. */
.atmosphere { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.atmosphere span { position: absolute; border-radius: 50%; filter: blur(85px); }
.atmosphere .blob-1 { width: 560px; height: 560px; top: 4%; right: -140px; background: radial-gradient(circle, rgba(79, 179, 224, 0.30), transparent 70%); }
.atmosphere .blob-2 { width: 640px; height: 640px; top: 21%; left: -180px; background: radial-gradient(circle, rgba(61, 90, 130, 0.20), transparent 70%); }
.atmosphere .blob-3 { width: 500px; height: 500px; top: 40%; left: 4%; background: radial-gradient(circle, rgba(79, 179, 224, 0.20), transparent 70%); }
.atmosphere .blob-4 { width: 580px; height: 580px; top: 56%; right: -160px; background: radial-gradient(circle, rgba(44, 62, 92, 0.18), transparent 70%); }
.atmosphere .blob-5 { width: 540px; height: 540px; top: 74%; right: -130px; background: radial-gradient(circle, rgba(22, 34, 58, 0.20), transparent 70%); }
.atmosphere .blob-6 { width: 640px; height: 640px; top: 90%; left: -170px; background: radial-gradient(circle, rgba(22, 34, 58, 0.22), transparent 70%); }

.about-watermark {
  position: absolute; top: 10px; right: 30px; z-index: 0;
  font-family: var(--font-serif); font-size: min(280px, 28vw); font-weight: 700;
  color: rgba(61, 90, 130, 0.07); line-height: 1; pointer-events: none; user-select: none;
}

/* ===== Cloud seams between sections ===== */
.cloud-seam { position: relative; height: 0; z-index: 2; pointer-events: none; }
.cloud-seam::before {
  content: ""; position: absolute; left: 0; right: 0; top: -76px; height: 152px;
  background:
    radial-gradient(ellipse 220px 60px at 12% 55%, rgba(255, 255, 255, 0.8), transparent 70%),
    radial-gradient(ellipse 260px 70px at 38% 42%, rgba(255, 255, 255, 0.75), transparent 70%),
    radial-gradient(ellipse 240px 65px at 64% 58%, rgba(255, 255, 255, 0.8), transparent 70%),
    radial-gradient(ellipse 280px 70px at 88% 46%, rgba(255, 255, 255, 0.72), transparent 70%);
  filter: blur(20px);
}

/* ===== Word reveal ===== */
.reveal-words .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; }
.reveal-words .word-inner {
  display: inline-block;
  transform: translateY(115%);
  opacity: 0;
  transition: transform 0.7s var(--ease-out), opacity 0.7s ease;
  transition-delay: calc(var(--i, 0) * 55ms);
}
.reveal-words.in-view .word-inner { transform: translateY(0); opacity: 1; }

/* ===== Scroll reveal ===== */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Header ===== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 18px 20px 0; transition: padding 0.4s var(--ease-out); }
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 14px 10px 22px;
  border-radius: var(--radius-pill);
  transition: box-shadow 0.4s ease, background 0.4s ease;
}
.site-header.is-scrolled { padding-top: 10px; }
.site-header.is-scrolled .header-inner { box-shadow: 0 14px 40px rgba(45, 65, 100, 0.18); }
.brand { display: flex; align-items: center; }
.brand-logo { height: 42px; width: auto; }

.site-nav ul { display: flex; gap: 30px; align-items: center; }
.site-nav a {
  font-size: 0.92rem; font-weight: 500; color: var(--color-navy-soft);
  position: relative; padding: 6px 2px; transition: color 0.25s ease;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px;
  background: var(--color-sky); transition: width 0.3s var(--ease-out);
}
.site-nav a:hover { color: var(--color-navy); }
.site-nav a:hover::after { width: 100%; }
.nav-cta {
  background: var(--color-navy); color: var(--color-white) !important;
  padding: 9px 18px !important; border-radius: var(--radius-pill);
}
.nav-cta::after { display: none; }

.header-tools { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 7px 12px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.5); border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--color-ink-muted);
}
.lang-option { opacity: 0.45; transition: opacity 0.25s ease, color 0.25s ease; }
.lang-option.is-active { opacity: 1; color: var(--color-navy); }
.lang-divider { opacity: 0.3; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 26px; }
.nav-toggle span { height: 2px; background: var(--color-navy); border-radius: 2px; transition: transform 0.3s var(--ease-out), opacity 0.3s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-video, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: translateZ(0) scale(1.02);
  will-change: transform;
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(238, 241, 247, 0.15) 0%, rgba(22, 34, 58, 0.18) 70%),
    linear-gradient(180deg, rgba(22, 34, 58, 0.28) 0%, rgba(22, 34, 58, 0.12) 35%, rgba(22, 34, 58, 0.42) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 760px; margin: 0 24px;
  text-align: center;
  padding: 56px 48px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg-strong);
  backdrop-filter: blur(26px) saturate(160%);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.hero-kicker {
  font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--color-slate); font-weight: 600; margin-bottom: 20px;
}
.hero-content h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 22px;
}
.hero-subtitle {
  font-size: 1.08rem; color: var(--color-ink-muted);
  max-width: 540px; margin: 0 auto 36px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: var(--radius-pill);
  font-size: 0.95rem; font-weight: 600;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, background 0.35s ease;
}
.btn-icon { width: 18px; height: 18px; fill: currentColor; }
.btn-primary {
  background: var(--color-navy); color: var(--color-white);
  box-shadow: 0 10px 30px rgba(22, 34, 58, 0.32);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(22, 34, 58, 0.4); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.4); color: var(--color-navy);
  border: 1px solid rgba(61, 90, 130, 0.3);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.65); transform: translateY(-3px); }

.scroll-cue {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 1; color: var(--color-white);
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  opacity: 0.85;
}
.scroll-line { width: 1px; height: 46px; background: rgba(255, 255, 255, 0.35); overflow: hidden; }
.scroll-line-fill {
  display: block; width: 100%; height: 40%; background: var(--color-white);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0% { transform: translateY(-100%); }
  60% { transform: translateY(140%); }
  100% { transform: translateY(140%); }
}

/* ===== About ===== */
.pillars { display: flex; gap: 16px; flex-wrap: wrap; margin: 32px 0 40px; }
.pillar {
  padding: 16px 22px; border-radius: var(--radius-md);
  font-size: 0.92rem; font-weight: 500; color: var(--color-navy-soft);
}
.about-body { font-size: 1.12rem; color: var(--color-ink-muted); line-height: 1.85; }
.about-body-row {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 56px;
  align-items: center;
}

/* ===== Shared work typography ===== */
.work-meta { font-size: 0.84rem; color: var(--color-metallic); font-weight: 500; }
.work-role {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-sky); font-weight: 700;
}
.work-synopsis { color: var(--color-ink-muted); font-size: 0.98rem; line-height: 1.75; }

/* ===== Credits (replaces dl — no awkward fixed-width gap) ===== */
.credits { display: flex; flex-wrap: wrap; gap: 6px 26px; padding: 0; }
.credit { display: flex; flex-direction: column; gap: 2px; }
.credit-label { font-size: 0.64rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--color-metallic); font-weight: 700; }
.credit-value { font-size: 0.95rem; color: var(--color-navy-soft); font-weight: 500; }

/* ===== Shared: clickable poster ===== */
.poster-trigger {
  display: block; position: relative; padding: 0; width: 100%;
  cursor: zoom-in; overflow: hidden; border-radius: var(--radius-md);
  background: #0a0f1e;
  box-shadow: 0 16px 44px rgba(22, 34, 58, 0.22), 0 0 0 1px rgba(61, 90, 130, 0.10);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s ease;
}
.poster-trigger img {
  width: 100%; aspect-ratio: 2 / 3; object-fit: cover; display: block;
  transition: transform 0.7s var(--ease-out);
}
.poster-trigger::after {
  content: ""; position: absolute; top: 12px; right: 12px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.93) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316223a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5M11 8.5v5M8.5 11h5'/%3E%3C/svg%3E") center / 20px no-repeat;
  box-shadow: 0 6px 18px rgba(14, 22, 44, 0.30);
  opacity: 0; transform: scale(0.7);
  transition: opacity 0.35s ease, transform 0.35s var(--ease-out);
}
.poster-trigger:hover { transform: translateY(-5px); box-shadow: 0 26px 64px rgba(22, 34, 58, 0.32), 0 0 0 1px rgba(61, 90, 130, 0.18); }
.poster-trigger:hover img { transform: scale(1.05); }
.poster-trigger:hover::after { opacity: 1; transform: scale(1); }
.poster-trigger:focus-visible { outline: 2px solid var(--color-sky); outline-offset: 3px; }

/* ===== Longas — editorial alternating spread ===== */
.longas-spread { display: flex; flex-direction: column; gap: 76px; margin-top: 46px; }
.longa { display: grid; grid-template-columns: 290px 1fr; gap: 58px; align-items: center; }
.longa:nth-child(even) { grid-template-columns: 1fr 290px; }
.longa:nth-child(even) .longa-poster { order: 2; }
.longa-info { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.longa-info h3 { font-size: 2.05rem; line-height: 1.1; margin-bottom: 6px; }
.longa-info .work-synopsis { font-size: 1.04rem; }
.longa-info .badge-line { margin-top: -2px; }

/* ===== Telefilmes — numbered index list ===== */
.tele-list { display: flex; flex-direction: column; margin-top: 30px; }
.tele {
  display: grid; grid-template-columns: 118px 1fr; gap: 44px; align-items: start;
  padding: 46px 0; border-top: 1px solid rgba(61, 90, 130, 0.16);
}
.tele:last-child { border-bottom: 1px solid rgba(61, 90, 130, 0.16); }
.tele-aside { display: flex; flex-direction: column; gap: 16px; }
.tele-index { font-family: var(--font-serif); font-size: 3.4rem; font-weight: 600; color: var(--color-sky); opacity: 0.3; line-height: 0.8; }
.tele-content { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tele-content h3 { font-size: 1.62rem; }

.full-credits { margin-top: 2px; }
.full-credits summary {
  cursor: pointer; font-size: 0.78rem; font-weight: 600; color: var(--color-slate);
  letter-spacing: 0.04em;
}
.full-credits p { margin-top: 12px; font-size: 0.82rem; color: var(--color-metallic); line-height: 1.7; }

/* ===== Curtas — poster gallery ===== */
.curtas-gallery {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
  gap: 34px 26px; margin-top: 44px;
}
.curta { display: flex; flex-direction: column; gap: 14px; }
.curta-text { display: flex; flex-direction: column; gap: 7px; }
.curta-text h3 { font-size: 1.2rem; line-height: 1.2; }
.curta-dir { font-size: 0.8rem; color: var(--color-metallic); font-weight: 600; letter-spacing: 0.02em; }
.curta .work-synopsis {
  font-size: 0.88rem; line-height: 1.6;
}

/* ===== Team ===== */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px; margin-top: 20px;
}
.team-card { padding: 0; text-align: left; display: grid; grid-template-columns: 260px 1fr; align-items: stretch; overflow: hidden; }
.team-identity {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 40px 44px 40px 48px;
  border-right: 1px solid rgba(61, 90, 130, 0.13);
}
.team-avatar {
  width: 56px; height: 56px; margin: 0 0 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; color: var(--color-white);
  background: linear-gradient(135deg, var(--color-slate), var(--color-navy));
  box-shadow: 0 8px 20px rgba(45, 65, 100, 0.28);
}
.team-name { font-size: 1.45rem; margin: 0 0 2px; }
.team-role { font-size: 0.82rem; color: var(--color-sky); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin: 0; }
.team-bio { font-size: 0.94rem; color: var(--color-ink-muted); line-height: 1.8; padding: 40px 48px; align-self: center; }
@media (max-width: 860px) {
  .team-card { grid-template-columns: 1fr; }
  .team-identity { padding: 32px 28px 22px; border-right: none; border-bottom: 1px solid rgba(61, 90, 130, 0.13); }
  .team-bio { padding: 22px 28px 32px; align-self: start; }
}

/* ===== Contact ===== */
.contact-section { text-align: center; }
.contact-sub { color: var(--color-ink-muted); max-width: 520px; margin: 0 auto 36px; font-size: 1.05rem; }
.contact-links {
  max-width: 640px; margin: 0 auto; padding: 12px;
  display: flex; flex-direction: column;
}
.contact-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-radius: var(--radius-md);
  transition: background 0.3s ease;
}
.contact-link:hover { background: rgba(255, 255, 255, 0.5); }
.contact-link:not(:last-child) { border-bottom: 1px solid rgba(61, 90, 130, 0.12); }
.contact-label { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-metallic); }
.contact-value { font-family: var(--font-serif); font-size: 1.1rem; color: var(--color-navy); }

/* ===== Footer ===== */
.site-footer { padding: 60px 24px 40px; text-align: center; }
.footer-logo { margin: 0 auto 18px; height: 34px; width: auto; opacity: 0.85; }
.footer-tagline { font-size: 0.9rem; color: var(--color-ink-muted); margin-bottom: 8px; }
.footer-rights { font-size: 0.78rem; color: var(--color-metallic); }

/* ===== Reel showcase ===== */
.reel-showcase {
  display: block; width: 100%; position: relative; cursor: pointer;
  border-radius: var(--radius-lg); overflow: hidden; background: #000;
  box-shadow: 0 28px 90px rgba(22, 34, 58, 0.24), 0 0 0 1px rgba(61, 90, 130, 0.12);
  transition: box-shadow 0.4s ease;
}
.reel-showcase:hover { box-shadow: 0 36px 110px rgba(22, 34, 58, 0.34), 0 0 0 1px rgba(61, 90, 130, 0.2); }
.reel-poster {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block;
  transition: transform 0.8s var(--ease-out), opacity 0.45s ease;
}
.reel-showcase:hover .reel-poster { transform: scale(1.025); opacity: 0.86; }
.reel-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  background: linear-gradient(0deg, rgba(14, 22, 44, 0.52) 0%, rgba(14, 22, 44, 0.12) 50%, transparent 100%);
  transition: background 0.4s ease;
}
.reel-showcase:hover .reel-overlay { background: linear-gradient(0deg, rgba(14, 22, 44, 0.60) 0%, rgba(14, 22, 44, 0.20) 50%, rgba(14, 22, 44, 0.04) 100%); }
.reel-play-btn {
  width: 62px; height: 62px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 40px rgba(14, 22, 44, 0.40), 0 0 0 1px rgba(255, 255, 255, 0.35);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}
.reel-play-btn svg { width: 20px; height: 20px; fill: var(--color-navy); margin-left: 3px; }
.reel-showcase:hover .reel-play-btn {
  transform: scale(1.12);
  box-shadow: 0 18px 56px rgba(14, 22, 44, 0.52), 0 0 0 1px rgba(255, 255, 255, 0.45);
}
.reel-duration {
  font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 6px 22px; border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.reel-showcase:hover .reel-duration { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.34); }

/* ===== Status badge — "Nos Cinemas" ===== */
.status-badge--now-showing {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px 3px 8px;
  background: rgba(190, 128, 12, 0.09);
  border: 1px solid rgba(190, 128, 12, 0.28);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  color: #7a5208;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: middle;
}
.status-badge--now-showing::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c4860e;
  flex-shrink: 0;
  animation: badge-pulse 2.4s ease infinite;
}
@keyframes badge-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(196, 134, 14, 0.55); }
  45%       { opacity: 0.75; box-shadow: 0 0 0 5px rgba(196, 134, 14, 0); }
}

/* ===== Poster lightbox ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 4vh 24px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.lightbox[aria-hidden="false"] { opacity: 1; visibility: visible; }
.lightbox-backdrop {
  position: absolute; inset: 0;
  background: rgba(8, 12, 26, 0.86);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.lightbox-figure {
  position: relative; margin: 0;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  max-width: 92vw;
  transform: scale(0.9) translateY(14px); opacity: 0;
  transition: transform 0.55s var(--ease-out), opacity 0.45s ease;
}
.lightbox[aria-hidden="false"] .lightbox-figure { transform: scale(1) translateY(0); opacity: 1; }
.lightbox-figure img {
  max-height: 82vh; max-width: 100%; width: auto;
  border-radius: var(--radius-md); display: block;
  box-shadow: 0 50px 130px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.lightbox-figure figcaption {
  font-family: var(--font-serif); font-size: 1.08rem; letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92); text-align: center;
}
.lightbox-close {
  position: absolute; top: 22px; right: 22px; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fff; display: flex; align-items: center; justify-content: center;
  transition: background 0.3s ease, transform 0.4s var(--ease-out);
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.24); transform: rotate(90deg); }
.lightbox-close svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }

/* ===== Modal ===== */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.modal[aria-hidden="false"] { opacity: 1; visibility: visible; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 16, 32, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.modal-content {
  position: relative; width: min(1280px, 96vw);
  padding: 18px; border-radius: var(--radius-lg);
  transform: scale(0.94) translateY(12px); transition: transform 0.45s var(--ease-out);
}
.modal[aria-hidden="false"] .modal-content { transform: scale(1) translateY(0); }
.modal-content video { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-md); display: block; background: #000; }
.modal-close {
  position: absolute; top: -16px; right: -16px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--color-white); color: var(--color-navy);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(22, 34, 58, 0.35);
}
.modal-close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }

/* ===== Mobile nav drawer ===== */
@media (max-width: 880px) {
  .site-nav {
    position: fixed; top: 86px; right: 20px; left: 20px;
    background: var(--glass-bg-strong); backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border); border-radius: var(--radius-md);
    box-shadow: var(--glass-shadow);
    padding: 18px;
    transform: translateY(-12px) scale(0.98); opacity: 0; visibility: hidden;
    transition: all 0.35s var(--ease-out);
  }
  .site-nav.is-open { transform: translateY(0) scale(1); opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .site-nav a { display: block; padding: 12px 8px; }
  .nav-cta { text-align: center; }
  .nav-toggle { display: flex; }
}

/* ===== Longas stack on narrow screens ===== */
@media (max-width: 760px) {
  .longa, .longa:nth-child(even) { grid-template-columns: 1fr; gap: 26px; justify-items: start; }
  .longa:nth-child(even) .longa-poster { order: 0; }
  .longa-poster { max-width: 240px; }
}

@media (max-width: 640px) {

  /* ── Ocultar: decorativos e elementos sem valor em tela pequena ── */
  .work-role     { display: none; }
  .about-watermark { display: none; }
  .scroll-cue    { display: none; }
  .cursor-glow   { display: none; }

  /* ── Cadência de seção ── */
  .section { padding: 60px 20px; }
  .section h2 { font-size: 1.8rem; margin-bottom: 16px; }
  .eyebrow { margin-bottom: 8px; }

  /* ── Hero ── */
  .hero-content { padding: 28px 22px 32px; }
  .hero-content h1 { font-size: 2rem; }
  .hero-subtitle { font-size: 0.98rem; margin-bottom: 24px; }
  .hero-actions { gap: 12px; }
  .btn { padding: 13px 24px; font-size: 0.9rem; }

  /* ── Sobre ── */
  .pillars { flex-direction: column; gap: 10px; margin: 22px 0 30px; }
  .pillar { padding: 12px 18px; }
  .about-body { font-size: 1rem; }
  .about-body-row { grid-template-columns: 1fr; gap: 28px; }

  /* ── Obras (mobile) ── */
  .work-meta { font-size: 0.8rem; }

  /* ── Longas ── */
  .longas-spread { gap: 48px; }
  .longa-info h3 { font-size: 1.5rem; }
  .longa-info .work-synopsis { font-size: 0.96rem; }
  .longa-poster { max-width: 200px; }

  /* ── Telefilmes ── */
  .tele { grid-template-columns: 90px 1fr; gap: 18px; padding: 32px 0; }
  .tele-aside { gap: 12px; }
  .tele-index { font-size: 2rem; }
  .tele-content h3 { font-size: 1.25rem; }

  /* ── Curtas ── */
  .curtas-gallery { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .curta-text h3 { font-size: 1.02rem; }

  /* ── Equipe ── */
  .team-identity { padding: 28px 24px 20px; }
  .team-bio { padding: 20px 24px 28px; }

  /* ── Contato — corrige overflow do email ── */
  .contact-links { padding: 4px; }
  .contact-link { flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 20px; }
  .contact-value { font-size: 0.9rem; word-break: break-all; }
  .contact-sub { font-size: 0.96rem; margin-bottom: 24px; }

  /* ── Rodapé ── */
  .site-footer { padding: 40px 20px 28px; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-words .word-inner, .reveal-up, .poster-trigger, .poster-trigger img, .btn, .site-nav, .modal-content, .lightbox-figure {
    transition: none !important;
  }
  .reveal-words .word-inner { opacity: 1; transform: none; }
  .reveal-up { opacity: 1; transform: none; }
  .scroll-line-fill { animation: none; }
  .cursor-glow { display: none; }
  .hero-video { transform: none !important; }
}
