body {
  background-image: url("images/bg.jpg");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-color: #0a0a0a;
}

.glass-panel {
  background: rgba(28, 27, 27, 0.4);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-panel-accent {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.estudio-section {
  background-color: rgba(18, 18, 18, 0.72);
  isolation: isolate;
}

.estudio-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
  pointer-events: none;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

.estudio-title {
  font-size: clamp(1.625rem, 2.4vw, 2.375rem);
  font-weight: 400;
}

.estudio-title-l3 {
  display: block;
  margin-top: 0.12em;
  font-size: 1.06em;
}

@media (min-width: 1200px) {
  .estudio-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: clamp(2.875rem, 2.2vw, 2.5rem);
  }

  .estudio-title-l1,
  .estudio-title-l2,
  .estudio-title-l3 {
    display: block;
    white-space: nowrap;
  }

  .estudio-title-l2 {
    margin-top: 0.02em;
  }

  .estudio-title-l3 {
    margin-top: 0.06em;
  }
}

.estudio-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.estudio-card:hover {
  border-color: rgba(245, 219, 213, 0.35);
  background: #222;
}

.estudio-card-content {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
  max-width: 90%;
}

.estudio-card-letter {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  mix-blend-mode: screen;
  opacity: 0.95;
  transition: transform 0.45s ease, opacity 0.3s ease;
}

.estudio-card:hover .estudio-card-letter {
  opacity: 1;
}

.estudio-card-letter--j {
  top: -2%;
  left: -2%;
  width: clamp(72px, 22%, 110px);
  height: auto;
  object-fit: contain;
  transform-origin: top left;
}

.estudio-card:hover .estudio-card-letter--j {
  transform: scale(1.04);
}

.estudio-card-letter--t {
  top: -1%;
  right: -2%;
  width: clamp(80px, 20%, 120px);
  height: auto;
  object-fit: contain;
  transform-origin: top right;
}

.estudio-card:hover .estudio-card-letter--t {
  transform: scale(1.04);
}

.estudio-card-letter--c {
  top: -4%;
  right: -3%;
  width: clamp(76px, 23%, 115px);
  height: auto;
  object-fit: contain;
  transform-origin: top right;
}

.estudio-card:hover .estudio-card-letter--c {
  transform: scale(1.04);
}

/* Serviços — scroll sticky (5 slides) */
.servicos-section {
  --servicos-ink: #232323;
  background: transparent;
  isolation: isolate;
}

.servicos-track {
  position: relative;
  z-index: 1;
  height: 500vh;
}

.servicos-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: transparent;
}

.servicos-sticky-inner {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 5.5rem;
  padding-bottom: 3rem;
}

.servicos-slides {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: min(70vh, 560px);
}

.servicos-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
  pointer-events: none;
}

.servicos-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.servicos-label {
  position: relative;
  z-index: 2;
  display: block;
  margin-bottom: 2.5rem;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.servicos-number {
  position: absolute;
  left: 0;
  top: 52%;
  transform: translateY(-50%);
  font-family: "Silka Mono", ui-monospace, monospace;
  font-size: clamp(9rem, 26vw, 19rem);
  font-weight: 700;
  line-height: 0.8;
  color: var(--servicos-ink);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.servicos-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 3rem;
  align-items: center;
  padding-bottom: 3rem;
}

@media (min-width: 900px) {
  .servicos-row {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 3rem 4rem;
  }
}

.servicos-title {
  margin: 0;
  color: #fff;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-align: right;
}

.servicos-asterisk {
  display: inline;
  margin-right: 0.12em;
  font-weight: 500;
}

.servicos-title-accent {
  display: inline-block;
  font-size: 1.08em;
}

.servicos-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.95rem, 1.4vw, 1.125rem);
  line-height: 1.7;
}

.servicos-list li {
  position: relative;
  padding-left: 1.1rem;
}

.servicos-list li + li {
  margin-top: 0.35rem;
}

.servicos-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.7);
}

.servicos-rule {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.servicos-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.servicos-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.servicos-dot.is-active {
  background: #f5dbd5;
  transform: scale(1.25);
}

@media (prefers-reduced-motion: reduce) {
  .servicos-track {
    height: auto;
  }

  .servicos-sticky {
    position: relative;
    height: auto;
  }

  .servicos-slides {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 4rem;
  }

  .servicos-slide {
    position: relative;
    inset: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: none;
    min-height: 60vh;
  }

  .servicos-dots {
    display: none;
  }
}

/* Equipe — scroll sticky (3 slides) */
.equipe-section {
  background: transparent;
  isolation: isolate;
}

.equipe-track {
  position: relative;
  z-index: 1;
  height: 300vh;
}

.equipe-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: transparent;
}

.equipe-sticky-inner {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 5.5rem;
  padding-bottom: 2.5rem;
}

.equipe-header {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-bottom: 1.25rem;
  text-align: left;
  align-self: flex-start;
}

.equipe-label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-align: left;
}

.equipe-heading {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  text-align: left;
}

.equipe-slides {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: min(62vh, 520px);
  flex: 1;
}

.equipe-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
  pointer-events: none;
}

.equipe-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.equipe-card-full {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.equipe-card-full picture {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
  align-items: center;
}

.equipe-card-img {
  width: 100%;
  max-width: 1100px;
  max-height: min(58vh, 520px);
  height: auto;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 767px) {
  .equipe-card-img {
    max-width: min(100%, 420px);
    max-height: min(62vh, 560px);
  }
}

.equipe-compose {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 900px) {
  .equipe-compose {
    grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.85fr);
    gap: 0;
    align-items: stretch;
  }
}

.equipe-panel {
  position: relative;
  z-index: 2;
  background: rgba(8, 8, 8, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 1.75rem 1.25rem 2rem;
  min-height: 280px;
}

@media (min-width: 768px) {
  .equipe-panel {
    padding: 2.25rem 2.5rem 2.5rem;
    min-height: 340px;
  }
}

@media (min-width: 900px) {
  .equipe-panel {
    align-self: center;
    margin-right: -4.5rem;
    padding: 2.5rem 5rem 2.75rem 2.5rem;
  }
}

.equipe-name {
  position: relative;
  z-index: 3;
  margin: 0 0 1.5rem;
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 0.35em;
  color: #fff;
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
}

@media (min-width: 900px) {
  .equipe-name {
    position: absolute;
    top: 1.35rem;
    right: 8%;
    margin: 0;
  }
}

.equipe-name-accent {
  color: #f5dbd5;
  font-weight: 700;
}

.equipe-name-last {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
}

.equipe-bio {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  margin: 0 auto;
  color: #fff;
  line-height: 1.15;
}

@media (min-width: 900px) {
  .equipe-bio {
    padding-top: 2.75rem;
  }
}

.eq-line {
  margin: 0 0 0.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35em 0.45em;
}

.eq-line--center {
  justify-content: center;
  text-align: center;
}

.eq-line--center-sm {
  justify-content: flex-start;
}

.eq-line--indent {
  padding-left: 0.5rem;
}

.eq-line--soft {
  margin-top: 0.15rem;
  margin-bottom: 0.35rem;
}

.eq-line--artes {
  justify-content: center;
  align-items: baseline;
  gap: 0.55em;
  margin-bottom: 0.15rem;
}

.eq-pela {
  transform: translateY(-0.15em);
}

.eq-line--produtora {
  justify-content: flex-end;
  margin-top: 0.85rem;
  padding-right: 8%;
}

.eq-line--atriz {
  justify-content: center;
  margin-top: -0.15rem;
  margin-bottom: 0.1rem;
}

.eq-line--roteirista {
  justify-content: center;
}

.equipe-bio--guilherme .eq-line--indent {
  padding-left: 1.25rem;
}

@media (min-width: 768px) {
  .equipe-bio--guilherme .eq-line--center-sm {
    justify-content: center;
  }
}

.eq-sm {
  font-family: "Silka Mono", ui-monospace, monospace;
  font-size: clamp(0.72rem, 1.05vw, 0.88rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.02em;
}

.eq-md {
  position: relative;
  display: inline-block;
  font-family: "Silka Mono", ui-monospace, monospace;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.eq-lg {
  position: relative;
  display: inline-block;
  font-family: "Silka Mono", ui-monospace, monospace;
  font-size: clamp(1.35rem, 2.8vw, 2.15rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.eq-xl {
  position: relative;
  display: inline-block;
  font-family: "Silka Mono", ui-monospace, monospace;
  font-size: clamp(1.7rem, 3.8vw, 2.85rem);
  font-weight: 700;
  color: #fff;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.eq-hero {
  position: relative;
  display: inline-block;
  font-family: "Silka Mono", ui-monospace, monospace;
  font-size: clamp(2.75rem, 7.5vw, 5.25rem);
  font-weight: 700;
  color: #fff;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.eq-md[data-ghost]::before,
.eq-lg[data-ghost]::before,
.eq-xl[data-ghost]::before,
.eq-hero[data-ghost]::before {
  content: attr(data-ghost);
  position: absolute;
  left: 0.06em;
  top: 0.08em;
  z-index: -1;
  color: rgba(0, 0, 0, 0.55);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.equipe-portrait-wrap {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  height: clamp(220px, 42vh, 360px);
}

@media (min-width: 900px) {
  .equipe-portrait-wrap {
    justify-content: flex-end;
    align-items: center;
    height: clamp(280px, 48vh, 420px);
  }
}

.equipe-portrait {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.4));
}

@media (min-width: 900px) {
  .equipe-portrait {
    transform: translateX(4%);
  }
}

@media (min-width: 1200px) {
  .equipe-portrait {
    transform: translateX(8%);
  }
}

.equipe-rule {
  height: 1px;
  width: 100%;
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.18);
}

.equipe-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.equipe-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.equipe-dot.is-active {
  background: #f5dbd5;
  transform: scale(1.25);
}

/* Contato */
.contato-section {
  background-color: rgba(6, 6, 6, 0.92);
}

.contato-title {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.contato-form-panel {
  background-color: #2c2c2c;
  background-image: url("images/caixa-de-contato/j-fundo.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 115%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.75rem 1.5rem 2rem;
  min-height: 360px;
}

@media (min-width: 768px) {
  .contato-form-panel {
    padding: 2.5rem 2.75rem 2.75rem;
    min-height: 400px;
    background-size: auto 130%;
  }
}

.contato-form {
  max-width: min(100%, 34rem);
}

@media (max-width: 899px) {
  .equipe-name {
    justify-content: center;
  }

  .eq-line--produtora {
    justify-content: center;
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .equipe-track {
    height: auto;
  }

  .equipe-sticky {
    position: relative;
    height: auto;
  }

  .equipe-slides {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 4rem;
  }

  .equipe-slide {
    position: relative;
    inset: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: none;
  }

  .equipe-compose {
    min-height: 0;
  }

  .equipe-name {
    position: relative;
    top: auto;
    right: auto;
    margin-bottom: 1.25rem;
  }

  .equipe-dots {
    display: none;
  }
}

.text-shadow-hero {
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

.grid-asymmetric {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: #f5dbd5;
}

#portfolio-lightbox {
  opacity: 0;
  transition: opacity 0.3s ease;
}

#portfolio-lightbox.is-open {
  opacity: 1;
}

#lightbox-img {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

#lightbox-img.is-visible {
  opacity: 1;
  transform: scale(1);
}

#lightbox-img.slide-next {
  transform: translateX(40px) scale(0.97);
}

#lightbox-img.slide-prev {
  transform: translateX(-40px) scale(0.97);
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s ease, transform 0.85s ease;
  transition-delay: var(--reveal-delay, 0s);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#back-to-top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s,
    background-color 0.2s ease, border-color 0.2s ease;
}

#back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  #back-to-top {
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }
}

#nav-logo {
  height: 2.75rem;
  transition: height 0.35s ease;
}

#site-nav.is-scrolled #nav-logo {
  height: 2rem;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0a0a0a url("images/bg.jpg") center / cover no-repeat;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to bottom,
      rgba(10, 10, 10, 0.35) 0%,
      rgba(10, 10, 10, 0.45) 50%,
      rgba(10, 10, 10, 0.7) 100%
    ),
    radial-gradient(ellipse 80% 70% at 50% 50%, transparent 30%, rgba(10, 10, 10, 0.55) 100%);
  pointer-events: none;
}

.hero-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2em;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero-title-studio {
  color: #f5dbd5;
  font-weight: 700;
  font-size: clamp(3.5rem, 12vw, 8.5rem);
}

.hero-title-criativo {
  paint-order: stroke fill;
  font-weight: 100;
  font-size: clamp(2.25rem, 8vw, 7rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-entrance {
  opacity: 0;
  transform: translateY(32px);
}

.hero-loaded .hero-entrance {
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-loaded .hero-entrance-2 {
  animation-delay: 0.25s;
}

.hero-loaded .hero-entrance-6 {
  animation-delay: 0.9s;
}

.hero-scroll-arrow {
  animation: heroScrollPulse 2s ease-in-out infinite;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroScrollPulse {
  0%,
  100% {
    opacity: 0.7;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-arrow {
    animation: none;
  }

  .hero-entrance {
    opacity: 1;
    transform: none;
  }

  .hero-video {
    display: none;
  }
}
