/* Font: GlowSansJ Compressed Bold */
@font-face {
  font-family: "GlowSansJ Compressed";
  src: url("fonts/GlowSansJ-Compressed-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/*
Theme Name: cinebrasil+ Festival
Description: Tema personalizado para o Festival de Cinema Brasileiro cinebrasil+
Version: 1.1.2
Author: cinebrasil+
Text Domain: cinebrasil-plus
*/

:root {
  --cinebrasil-blue: #1e3a8a;
  --cinebrasil-dark-blue: #1e40af;
  --cinebrasil-light-blue: #3b82f6;
  --cinebrasil-white: #ffffff;
  --cinebrasil-gray: #f8f9fa;
  --cinebrasil-dark-gray: #6c757d;
  --cinebrasil-black: #212529;
  --font-primary: "Noto Sans JP", "Noto Sans", Arial, sans-serif;
  --font-secondary: "Roboto", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  /* Fix para iOS Safari */
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  position: relative;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--cinebrasil-black);
  background-color: var(--cinebrasil-white);
  margin: 0;
  padding: 0;
  padding-top: 0 !important; /* Remover padding-top do WordPress */
  /* Fix para iOS Safari */
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  position: relative;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1001;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: block;
}

.site-logo img {
  height: 45px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.site-logo:hover img {
  transform: scale(1.02);
}

.site-branding {
  display: flex;
  align-items: center;
}

/* Ajuste especÃ­fico para o logo no mobile */
@media (max-width: 768px) {
  .site-logo img {
    height: 40px;
    max-width: 180px;
  }
}

@media (max-width: 480px) {
  .site-logo img {
    height: 35px;
    max-width: 150px;
  }
  /* OtimizaÃ§Ã£o adicional para smartphones pequenos */
  .site-main {
    margin-top: 100px; /* Reduzido ainda mais para mobile */
  }

  .hero-section {
    height: 28vh; /* Altura ainda mais reduzida para mobile */
    min-height: 240px; /* Altura mÃ­nima reduzida */
    margin-top: 0; /* Removido - agora usa margin do .site-main */
  }

  .carousel-slide {
    background-position: center center;
    background-size: cover; /* Preenche toda a Ã¡rea sem Ã¡rea preta */
    background-repeat: no-repeat;
  }

  .hero-top-bar,
  .hero-bottom-bar {
    padding: 0.5rem;
  }

  /* Grid responsivo no mobile - 3 linhas */
  .hero-top-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.75rem !important;
  }

  .hero-logo-column,
  .hero-dates-column,
  .hero-online-column {
    width: 100% !important;
    text-align: center !important;
    justify-self: center !important;
  }

  .hero-logo {
    height: 30px;
  }

  .hero-dates-minimal {
    font-size: 1rem;
  }

  .hero-online-dates {
    font-size: 0.9rem;
  }

  .hero-film-title {
    font-size: 1rem;
  }
}

/* Navigation */
.main-navigation {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-menu a {
  color: var(--cinebrasil-black);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  position: relative;
  font-size: 0.95rem;
}

.nav-menu a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--cinebrasil-blue);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-menu a:hover {
  color: var(--cinebrasil-blue);
  transform: translateY(-1px);
}

.nav-menu a:hover::before {
  width: 80%;
}

/* Language Switcher */
.language-switcher {
  display: flex;
  gap: 0.5rem;
}

.lang-btn {
  background: rgba(30, 58, 138, 0.1);
  color: var(--cinebrasil-blue);
  border: 1px solid rgba(30, 58, 138, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.85rem;
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--cinebrasil-blue);
  color: var(--cinebrasil-white);
  border-color: var(--cinebrasil-blue);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

/* Site Main */
.site-main {
  margin-top: 200px; /* Header azul (40px) + banner preto (160px) + 20px extra */
}

/* No template single de filmes, o main nÃ£o precisa de margin-top */
.single-movies .site-main {
  margin-top: 0;
}

/* Hero Section with Carousel */
.hero-section {
  position: relative;
  height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--cinebrasil-white);
  margin-top: 0; /* Removido - agora usa margin do .site-main */
}

/* Faixas pretas */
.hero-top-bar,
.hero-bottom-bar {
  background: var(--cinebrasil-black);
  padding: 0.6rem;
  z-index: 2;
}

/* Grid de 3 colunas na faixa superior */
.hero-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

/* Coluna 1: Logo (esquerda) */
.hero-logo-column {
  justify-self: start;
}

.hero-brand-title {
  margin: 0;
  line-height: 1;
}

.hero-logo {
  height: 40px;
  width: auto;
}

/* Coluna 2: Data de exibiÃ§Ã£o (centro) */
.hero-dates-column {
  justify-self: center;
  text-align: center;
}

.hero-dates-minimal {
  font-size: 1.2rem;
  opacity: 0.9;
  font-weight: 600;
}

/* Coluna 3: Data online (direita) */
.hero-online-column {
  justify-self: end;
  text-align: right;
}

.hero-online-dates {
  font-size: 1rem;
  opacity: 0.8;
  line-height: 1.3;
}

.hero-film-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Festival Banner Fixed */
.festival-banner-fixed {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  background: #000 !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 999 !important; /* Abaixo do header azul */
  display: block !important; /* Garantir que seja exibido */
  visibility: visible !important;
  opacity: 1 !important;
  order: 2; /* Colocar apÃ³s o social-bar */
  flex-shrink: 0; /* NÃ£o encolher */
}

.banner-link {
  display: block;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.banner-link:hover {
  opacity: 0.9;
}

.banner-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 10px 0;
}

.festival-banner-image {
  width: 100%;
  height: 160px; /* desktop padrão */
  display: block;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}

/* (revertido) */

/* Background Carousel */
.hero-carousel {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: #000;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2s ease-in-out, transform 2s ease-in-out;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #000;
  transform: scale(1.05);
  text-decoration: none;
  color: inherit;
  pointer-events: none; /* evita clique nos slides invisÃ­veis */
  visibility: hidden; /* apenas o ativo fica visÃ­vel/clicÃ¡vel */
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 3;
  visibility: visible;
}

.carousel-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.1) 30%,
    rgba(0, 0, 0, 0.05) 60%,
    rgba(0, 0, 0, 0.3) 100%
  );
  z-index: 2;
  transition: opacity 2s ease-in-out;
}

.carousel-slide.active::before {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.05) 30%,
    rgba(0, 0, 0, 0.02) 60%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

/* Cinema Spotlight Section */
.cinema-spotlight {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  padding: 6rem 0;
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
  padding-top: 8rem; /* EspaÃ§o extra para nÃ£o ficar atrÃ¡s do banner */
}

.cinema-spotlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23000" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.cinema-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.cinema-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.cinema-header {
  margin-bottom: 3rem;
}

.cinema-title {
  font-size: 1.2rem;
  color: var(--cinebrasil-blue);
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cinema-name h3 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--cinebrasil-black);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.cinema-name-pt {
  font-size: 1.4rem;
  color: var(--cinebrasil-dark-gray);
  font-weight: 300;
  margin: 0;
}

.cinema-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.detail-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.detail-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  background: rgba(30, 58, 138, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--cinebrasil-blue);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.detail-content p {
  color: var(--cinebrasil-dark-gray);
  line-height: 1.6;
  margin: 0;
}

.detail-content a {
  color: var(--cinebrasil-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.detail-content a:hover {
  color: var(--cinebrasil-dark-blue);
  text-decoration: underline;
}

.cinema-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cinema-visual {
  position: relative;
}

.cinema-map-container {
  background: var(--cinebrasil-white);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(30, 58, 138, 0.1);
}

.map-placeholder {
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.cinema-logo-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.cinema-logo-button {
  display: block;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background: white;
  padding: 1rem;
}

.cinema-logo-button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cinema-logo-img {
  width: 100%;
  height: auto;
  max-width: 200px;
  display: block;
  margin: 0 auto;
}

.festival-badge {
  background: rgba(30, 58, 138, 0.05);
  border: 2px solid var(--cinebrasil-blue);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  min-width: 140px;
}

.festival-badge h5 {
  font-size: 0.8rem;
  color: var(--cinebrasil-blue);
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.festival-badge p {
  font-size: 0.9rem;
  color: var(--cinebrasil-black);
  font-weight: 500;
  margin: 0;
}

/* Responsive Cinema Section */
@media (max-width: 1024px) {
  .cinema-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .cinema-details {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .cinema-spotlight {
    padding: 4rem 0;
    margin: 3rem 0;
  }

  .cinema-name h3 {
    font-size: 2.2rem;
  }

  .cinema-name-pt {
    font-size: 1.2rem;
  }

  .cinema-actions {
    flex-direction: column;
  }

  .cinema-actions .btn {
    text-align: center;
    justify-content: center;
  }

  .cinema-logo-section {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .cinema-name h3 {
    font-size: 1.8rem;
  }

  .detail-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .cinema-map-container {
    padding: 1rem;
  }
}

.hero-container {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  animation: heroFadeIn 2s ease-out;
}

@keyframes heroFadeIn {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  background: linear-gradient(45deg, #ffffff, #e0e7ff, #c7d2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -2px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  font-weight: 300;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-dates {
  font-size: 1.6rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.5rem 3rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 3rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.hero-dates:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-block;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(45deg, var(--cinebrasil-white), #f8fafc);
  color: var(--cinebrasil-blue);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--cinebrasil-white);
  border-color: var(--cinebrasil-white);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--cinebrasil-white);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
  background: var(--cinebrasil-white);
  color: var(--cinebrasil-blue);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.4);
}

/* RÃ³tulo do hero (tÃ­tulo do filme) */
.hero-carousel .carousel-slide .hero-label {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 3;
  color: #fff;
  font-weight: 900;
  font-size: 1.8rem;
  letter-spacing: 1px;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(30, 58, 138, 0.5);
  max-width: 80vw;
  line-height: 1.1; /* melhora quebra de linha */
  white-space: normal; /* garantir que <br> e quebras funcionem */
  text-align: right; /* alinhar o tÃ­tulo Ã  direita */
}

@media (max-width: 768px) {
  /* Site Main responsivo */
  .site-main {
    margin-top: 119px; /* Header azul (40px) + banner preto (80px) - reduzido para aproximar carrossel */
  }

  /* Altura compacta mas mantendo Ã¡rea preta */
  .hero-section {
    height: 43vh; /* Altura reduzida para tablet */
    margin-top: 0; /* Removido - agora usa margin do .site-main */
  }

  /* Ajustar para cover para reduzir Ã¡rea preta */
  .carousel-slide {
    background-position: center center;
    background-size: cover; /* Preenche toda a Ã¡rea sem Ã¡rea preta */
    background-repeat: no-repeat;
    background-color: #000; /* Fundo preto para preencher espaÃ§os */
  }

  .hero-carousel .carousel-slide .hero-label {
    font-size: 1.2rem;
    right: 12px;
    bottom: 20px;
    letter-spacing: 0.5px;
  }
}

/* Main Content */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 20px;
}

/* Crowdfunding Banner */
.crowdfunding-banner {
  width: 100%;
  background: #fff;
  margin: 2rem 0 0;
  padding: 0;
}

.crowdfunding-banner-link {
  display: block;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.crowdfunding-banner-link:hover {
  opacity: 0.9;
}

.crowdfunding-banner-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.crowdfunding-banner-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive Crowdfunding Banner */
@media (max-width: 768px) {
  .crowdfunding-banner-container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .crowdfunding-banner-container {
    padding: 0 10px;
  }

  .festival-banner-fixed {
    width: 100vw !important; /* Usar viewport width para evitar vazamento */
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
}

/* Films Grid */
.films-section {
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--cinebrasil-blue);
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 700;
}

.films-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.film-card {
  background: var(--cinebrasil-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(30, 58, 138, 0.08);
  border: 1px solid rgba(30, 58, 138, 0.05);
  position: relative;
  opacity: 0;
  transform: perspective(1000px) rotateY(10deg) translateZ(80px)
    translateX(50px) scale(0.8);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform, opacity;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.film-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.1) 0%,
    rgba(59, 130, 246, 0.15) 50%,
    rgba(30, 58, 138, 0.1) 100%
  );
  opacity: 0;
  transition: all 0.6s ease;
  pointer-events: none;
  border-radius: 20px;
  transform: translateZ(-1px);
}

.film-card::after {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  right: -100%;
  bottom: -100%;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  mix-blend-mode: overlay;
  transform: translateZ(1px);
}

.film-card:hover {
  transform: perspective(1000px) rotateY(0deg) translateZ(0) translateX(0)
    scale(1.02);
  box-shadow: 0 30px 60px rgba(30, 58, 138, 0.2);
  border-color: rgba(30, 58, 138, 0.3);
}

.film-card:hover::before {
  opacity: 1;
}

.film-card:hover::after {
  opacity: 0.8;
  animation: shine 1.5s ease-in-out;
}

@keyframes shine {
  0% {
    transform: translateZ(1px) translate(-100%, -100%);
  }
  100% {
    transform: translateZ(1px) translate(100%, 100%);
  }
}

.film-card.visible {
  opacity: 1;
  transform: perspective(1000px) rotateY(0deg) translateZ(0) translateX(0)
    scale(1);
}

/* Efeito stagger para cada cartÃ£o */
.film-card:nth-child(1) {
  transition-delay: 0.1s;
}
.film-card:nth-child(2) {
  transition-delay: 0.2s;
}
.film-card:nth-child(3) {
  transition-delay: 0.3s;
}
.film-card:nth-child(4) {
  transition-delay: 0.4s;
}
.film-card:nth-child(5) {
  transition-delay: 0.5s;
}
.film-card:nth-child(6) {
  transition-delay: 0.6s;
}

/* Efeito de profundidade nos elementos internos */
.film-poster {
  transform: translateZ(20px);
  transition: transform 0.6s ease;
}

.film-info {
  transform: translateZ(30px);
  transition: transform 0.6s ease;
}

.film-card:hover .film-poster {
  transform: translateZ(40px);
}

.film-card:hover .film-info {
  transform: translateZ(50px);
}

/* Acessibilidade: reduzir movimento se preferido */
@media (prefers-reduced-motion: reduce) {
  .film-card,
  .film-card.visible,
  .film-card:hover,
  .film-poster,
  .film-info,
  .film-card:hover .film-poster,
  .film-card:hover .film-info {
    transition: opacity 200ms linear;
    transform: none !important;
  }

  .film-card::after {
    display: none;
  }

  @keyframes shine {
    0%,
    100% {
      transform: none;
    }
  }
}

.film-poster {
  width: 100%;
  height: 300px;
  background: var(--cinebrasil-gray);
  position: relative;
  overflow: hidden;
}

.film-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(44, 63, 255, 0.9);
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-button:hover {
  background: var(--cinebrasil-blue);
  transform: translate(-50%, -50%) scale(1.1);
}

.film-info {
  padding: 1.5rem;
}

.film-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--cinebrasil-blue);
}

.film-genre {
  background: var(--cinebrasil-light-blue);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.film-description {
  color: var(--cinebrasil-dark-gray);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.film-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--cinebrasil-dark-gray);
}

/* Schedule Section */
.schedule-section {
  background: var(--cinebrasil-gray);
  padding: 4rem 0;
  margin: 4rem 0;
  padding-top: 6rem; /* EspaÃ§o extra para nÃ£o ficar atrÃ¡s do banner */
}

.schedule-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.schedule-table-container {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  margin-top: 2rem;
  overflow-x: hidden;
  position: relative;
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.schedule-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 8px;
  font-size: 0.95rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(30, 58, 138, 0.1);
}

.schedule-table th,
.schedule-table td {
  padding: 1.25rem 1rem;
  text-align: center;
  position: relative;
  border: none;
}

.schedule-table th {
  background: linear-gradient(
    135deg,
    var(--cinebrasil-blue) 0%,
    var(--cinebrasil-dark-blue) 100%
  );
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}

.schedule-table th::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.schedule-table th:hover::before {
  left: 100%;
}

.day-header {
  vertical-align: top;
  min-width: 130px;
  background: linear-gradient(135deg, var(--cinebrasil-blue) 0%, #3b82f6 100%);
}

.day-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
}

.day-date {
  font-size: 1rem;
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.day-name {
  font-weight: 600;
  font-size: 0.8rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  opacity: 0.9;
}

/* Fins de semana em vermelho (padrÃ£o japonÃªs) */
.day-header.weekend {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
}

.day-header.weekend .day-date {
  background: rgba(255, 255, 255, 0.25);
}

/* Garantir que fim de semana/segunda (JP) fique vermelho mesmo com outros estilos */
.schedule-table .day-header.weekend {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
}

.time-header {
  background: transparent !important;
  border: none !important;
  min-width: 90px;
  box-shadow: none !important;
}

.time-cell {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  font-weight: 700;
  color: var(--cinebrasil-blue);
  font-size: 1.1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  position: relative;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.1);
}

.film-cell {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  color: var(--cinebrasil-dark-blue);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Links de filmes dentro da tabela de programaÃ§Ã£o */
.film-cell .film-entry {
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 0.15rem 0;
  margin: 0.15rem 0;
  background: transparent;
  border: none;
}

.film-cell .film-entry:hover {
  background: transparent;
  text-decoration: underline;
}

.film-cell:hover:not(.empty-cell) {
  background: linear-gradient(
    135deg,
    var(--cinebrasil-blue) 0%,
    var(--cinebrasil-light-blue) 100%
  );
  color: white;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.2);
  z-index: 10;
  border-radius: 8px;
}

/* Destacar cÃ©lula clicÃ¡vel quando hÃ¡ um Ãºnico filme */
.film-cell.single:hover {
  background: linear-gradient(
    135deg,
    var(--cinebrasil-blue) 0%,
    var(--cinebrasil-light-blue) 100%
  );
  color: white;
}

.film-cell.empty-cell {
  cursor: default;
  opacity: 0.6;
  pointer-events: none;
}

.film-cell:empty::after {
  content: "â€”";
  color: #cbd5e1;
  font-style: normal;
  font-weight: 300;
  font-size: 1.2rem;
}

.film-cell:not(:empty) {
  cursor: pointer;
}

.film-cell:not(:empty):hover {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Responsive table */
@media (max-width: 768px) {
  .schedule-table-container {
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 20px;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 1rem 0.75rem;
    font-size: 0.85rem;
  }

  .day-info {
    gap: 0.2rem;
  }

  .day-name {
    font-size: 0.8rem;
  }

  .day-date {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
  }

  .time-cell {
    font-size: 0.9rem;
  }

  .film-cell:hover {
    transform: translateY(-1px) scale(1.01);
  }
}

@media (max-width: 480px) {
  .schedule-table-container {
    padding: 1rem;
    border-radius: 16px;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
  }

  .day-name {
    font-size: 0.75rem;
  }

  .day-date {
    font-size: 0.65rem;
    padding: 0.15rem 0.3rem;
  }

  .time-cell {
    font-size: 0.85rem;
  }
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  color: var(--cinebrasil-white);
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--cinebrasil-blue),
    transparent
  );
}

/* Footer Top Section */
.footer-top {
  padding: 3rem 0 2rem;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

/* OrganizaÃ§Ãµes em linha separada */
.organizations-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--cinebrasil-white);
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--cinebrasil-white);
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #ccc;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
  background: var(--cinebrasil-blue);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(33, 150, 243, 0.3);
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  line-height: 1.2;
}

.contact-link {
  line-height: 1.2;
}

.contact-icon {
  color: var(--cinebrasil-white);
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  margin-top: -4px;
}

.contact-link {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--cinebrasil-blue);
}

/* Organizations */
.organizations-grid {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.organization-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
  min-width: 160px;
}

.organization-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  width: 100%;
  height: 100%;
}

.organization-link:hover {
  text-decoration: none;
  color: inherit;
}

.organization-link .organization-item {
  transition: all 0.3s ease;
  width: 100%;
  height: 100%;
}

.organization-link:hover .organization-item {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(33, 150, 243, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.org-role {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--cinebrasil-white);
  position: relative;
  padding-bottom: 0.5rem;
  text-align: left;
}

.org-role::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--cinebrasil-white);
}

.organization-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  width: 100%;
  height: 200px;
  align-self: center;
}

.organization-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(33, 150, 243, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.org-header {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: nowrap;
}

.org-role {
  font-size: 1rem;
  font-weight: 600;
  color: var(--cinebrasil-white);
  margin: 0;
  white-space: nowrap;
}

.org-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--cinebrasil-white);
  margin: 0;
  white-space: nowrap;
}

.org-logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  padding: 15px;
  width: 100%;
  min-height: 0;
}

.org-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.org-logo img[alt="s.e.a"] {
  max-height: 100px !important;
  max-width: 140px !important;
}

/* Footer Bottom */
.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.copyright {
  margin: 0;
  color: #999;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-top {
    padding: 2rem 0 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .footer-section {
    text-align: left;
  }

  .footer-section h3 {
    text-align: left;
  }

  .footer-section h3::after {
    left: 0;
    transform: translateX(0);
  }

  .footer-section .social-links {
    justify-content: flex-start !important;
    align-items: flex-start;
  }

  .footer-section .social-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .footer-section .social-link svg {
    margin: 0 !important;
    padding: 0 !important;
  }

  .contact-info {
    align-items: flex-start;
  }

  .organizations-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }

  .footer-bottom-content {
    text-align: center;
  }

  .organizations-grid {
    flex-direction: column;
    gap: 1rem;
  }

  .organization-wrapper {
    width: 100%;
  }

  .organization-item {
    padding: 1.25rem;
    height: 180px;
    width: 100%;
  }

  .org-header {
    flex-direction: row;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    width: 100%;
  }

  .org-role {
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .org-name {
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .org-logo {
    padding: 12px;
  }

  .org-logo img[alt="s.e.a"] {
    max-height: 90px !important;
    max-width: 120px !important;
  }
}

@media (max-width: 480px) {
  .footer-top {
    padding: 1.5rem 0 1rem;
  }

  .social-links {
    justify-content: center;
  }
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--cinebrasil-white);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
  color: var(--cinebrasil-white);
  text-decoration: none;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  display: block;
}

.footer-section a:hover {
  color: var(--cinebrasil-light-blue);
}

.footer .social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer .social-link {
  display: inline-block;
  padding: 0.5rem;
  background: var(--cinebrasil-blue);
  border-radius: 50%;
  transition: background 0.3s ease;
}

.footer .social-link:hover {
  background: var(--cinebrasil-light-blue);
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1rem;
  align-items: center;
}

.sponsor-logo {
  background: var(--cinebrasil-white);
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1rem;
  text-align: center;
  color: var(--cinebrasil-dark-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
  .site-header {
    padding: 0.6rem 0;
  }

  .main-navigation {
    display: none;
  }

  .main-navigation.mobile-open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  .nav-menu {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .nav-menu a {
    font-size: 1.2rem;
    padding: 1rem 2rem;
  }

  .language-switcher {
    margin-top: 2rem;
  }

  .mobile-menu-toggle {
    display: flex !important;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .hero-title {
    font-size: 3rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .hero-dates {
    font-size: 1.3rem;
    padding: 1rem 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    min-width: 250px;
  }

  .films-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding: 2rem 10px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Animation Classes */
/* Fade In */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide Up com escala */
.slide-up {
  opacity: 0;
  transform: translateY(100px) scale(0.95);
  transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform, opacity;
}

.slide-up.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Efeito de brilho para slide-up */
.slide-up::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.slide-up.visible::before {
  transform: translateX(100%);
}

/* Slide In Left */
.slide-in-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide In Right */
.slide-in-right {
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Zoom In */
.zoom-in {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.zoom-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Bounce In Aprimorado com elementos separados */
.bounce-in {
  position: relative;
  overflow: hidden;
}

/* AnimaÃ§Ã£o do tÃ­tulo */
.bounce-in .crowdfunding-title {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bounce-in.visible .crowdfunding-title {
  opacity: 1;
  transform: translateX(0);
}

/* AnimaÃ§Ã£o do subtÃ­tulo com bounce */
.bounce-in .crowdfunding-subtitle h3 {
  opacity: 0;
  transform: scale(0.5);
  transition: all 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.2s;
}

.bounce-in.visible .crowdfunding-subtitle h3 {
  opacity: 1;
  transform: scale(1);
  animation: titlePop 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.2s forwards;
}

@keyframes titlePop {
  0% {
    transform: scale(0.5);
  }
  50% {
    transform: scale(1.1);
  }
  70% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

/* AnimaÃ§Ã£o dos benefit-items */
.bounce-in .benefit-item {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bounce-in.visible .benefit-item:nth-child(1) {
  transition-delay: 0.3s;
}
.bounce-in.visible .benefit-item:nth-child(2) {
  transition-delay: 0.4s;
}
.bounce-in.visible .benefit-item:nth-child(3) {
  transition-delay: 0.5s;
}
.bounce-in.visible .benefit-item:nth-child(4) {
  transition-delay: 0.6s;
}

.bounce-in.visible .benefit-item {
  opacity: 1;
  transform: translateY(0);
  animation: benefitBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes benefitBounce {
  0% {
    transform: translateY(50px);
  }
  60% {
    transform: translateY(-10px);
  }
  80% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(0);
  }
}

/* AnimaÃ§Ã£o da barra de progresso - animar apenas o fill */
.bounce-in .progress-fill {
  width: 0 !important;
  transition: width 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s;
}

.bounce-in.visible .progress-fill {
  width: var(--original-width, 57%) !important;
}

/* Efeitos de brilho removidos para evitar problemas de posicionamento */

/* AnimaÃ§Ã£o dos nÃºmeros */
.bounce-in .current-amount,
.bounce-in .target-amount {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.bounce-in.visible .current-amount {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1s;
  animation: numberCount 1s ease-out 1s forwards;
}

.bounce-in.visible .target-amount {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.2s;
}

@keyframes numberCount {
  0% {
    transform: translateY(20px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Efeito hover nos benefit-items */
.bounce-in .benefit-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bounce-in .benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(30, 58, 138, 0.15);
}

/* Fade In Up (para elementos internos) */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* AnimaÃ§Ãµes com delay para elementos internos */
.detail-content > *,
.price-info > *,
.note-items > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.detail-content.visible > *,
.price-info.visible > *,
.note-items.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.detail-content.visible > *:nth-child(1) {
  transition-delay: 0.1s;
}
.detail-content.visible > *:nth-child(2) {
  transition-delay: 0.2s;
}
.detail-content.visible > *:nth-child(3) {
  transition-delay: 0.3s;
}
.detail-content.visible > *:nth-child(4) {
  transition-delay: 0.4s;
}

/* Custom WordPress Classes */
.wp-block-group {
  margin-bottom: 2rem;
}

.wp-block-image {
  margin-bottom: 1rem;
}

.wp-block-heading {
  color: var(--cinebrasil-blue);
  margin-bottom: 1rem;
}

/* Film Single Page Styles */
.film-single {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 20px;
}

.film-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.film-poster-large {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.film-meta h1 {
  font-size: 2.5rem;
  color: var(--cinebrasil-blue);
  margin-bottom: 1rem;
}

.film-meta .film-genre {
  margin-bottom: 1rem;
}

.film-details-list {
  list-style: none;
  margin: 2rem 0;
}

.film-details-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--cinebrasil-gray);
  display: flex;
  justify-content: space-between;
}

.film-details-list strong {
  color: var(--cinebrasil-blue);
}

.film-trailer {
  margin: 3rem 0;
  text-align: center;
}

.trailer-embed {
  width: 100%;
  max-width: 800px;
  height: 450px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .film-header {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .film-meta h1 {
    font-size: 2rem;
  }

  .trailer-embed {
    height: 300px;
  }
}

/* Legacy Tickets Section (substituÃ­da pela moderna) */
.tickets-section-legacy {
  padding: 4rem 0;
  background: var(--cinebrasil-white);
}

.tickets-card-legacy {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(30, 58, 138, 0.1);
}

.tickets-header-legacy {
  text-align: center;
  margin-bottom: 3rem;
}

.tickets-title-legacy {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--cinebrasil-black);
  margin-bottom: 1rem;
}

.tickets-subtitle-legacy {
  font-size: 1.2rem;
  color: var(--cinebrasil-dark-gray);
  margin: 0;
}

.tickets-content-legacy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.ticket-price-section {
  display: flex;
  justify-content: center;
}

.price-card {
  background: var(--cinebrasil-white);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 3px solid var(--cinebrasil-blue);
  max-width: 400px;
  width: 100%;
}

.price-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

/* Removed h3 styles - no longer needed */

.ticket-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--cinebrasil-blue);
  margin: 0 0 1.5rem 0;
  text-shadow: 0 2px 4px rgba(30, 58, 138, 0.2);
}

.price-note {
  font-size: 1rem;
  color: var(--cinebrasil-dark-gray);
  margin: 0;
  font-weight: 500;
}

.tickets-actions-legacy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  min-width: 200px;
}

.tickets-notes-legacy {
  grid-column: 1 / -1;
  margin-top: 2rem;
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.note-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(30, 58, 138, 0.05);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(30, 58, 138, 0.1);
}

.note-icon {
  font-size: 1.2rem;
}

.note-item p {
  margin: 0;
  color: var(--cinebrasil-dark-gray);
  font-size: 0.95rem;
}

/* Crowdfunding Section */
.crowdfunding-section {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  padding: 6rem 0;
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
  color: white;
  padding-top: 8rem; /* EspaÃ§o extra para nÃ£o ficar atrÃ¡s do banner */
}

.crowdfunding-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23fff" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23fff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.crowdfunding-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.crowdfunding-content {
  max-width: 1000px;
  margin: 0 auto;
}

.crowdfunding-header {
  text-align: center;
  margin-bottom: 4rem;
}

.crowdfunding-title {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.crowdfunding-subtitle h3 {
  font-size: 2.8rem;
  font-weight: 700;
  color: white;
  margin: 0;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.crowdfunding-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.benefit-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.benefit-icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  margin: 0 0 0.5rem 0;
}

.benefit-content p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

.crowdfunding-progress {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  margin: 3rem 0;
  backdrop-filter: blur(10px);
}

.progress-info {
  text-align: center;
}

.progress-numbers {
  margin-bottom: 1rem;
}

.current-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
}

.target-amount {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.progress-bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  margin: 1rem 0;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4ade80 0%, #22c55e 100%);
  border-radius: 5px;
  transition: width 1s ease-in-out;
}

.supporters-count {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 1rem;
}

.crowdfunding-actions {
  text-align: center;
  margin-top: 3rem;
}

.action-note {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Responsive Crowdfunding Section */
@media (max-width: 1024px) {
  .crowdfunding-benefits {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .crowdfunding-subtitle h3 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .crowdfunding-section {
    padding: 4rem 0;
    margin: 3rem 0;
  }

  .benefit-item {
    padding: 1.5rem;
  }

  .benefit-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .current-amount {
    font-size: 2rem;
  }

  .target-amount {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .crowdfunding-subtitle h3 {
    font-size: 1.8rem;
  }

  .benefit-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 1.5rem;
  }

  .benefit-icon {
    margin-bottom: 1rem;
  }

  .crowdfunding-progress {
    padding: 1.5rem;
  }
}

/* Lumiere Platform Section */
.lumiere-platform {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  padding: 6rem 0;
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
  padding-top: 8rem; /* EspaÃ§o extra para nÃ£o ficar atrÃ¡s do banner */
}

.lumiere-platform::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23000" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.lumiere-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.lumiere-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.lumiere-header {
  margin-bottom: 3rem;
}

.lumiere-title {
  font-size: 1.2rem;
  color: var(--cinebrasil-blue);
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.lumiere-name h3 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--cinebrasil-black);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.lumiere-name-pt {
  font-size: 1.4rem;
  color: var(--cinebrasil-dark-gray);
  font-weight: 300;
  margin: 0;
}

.lumiere-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.lumiere-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.lumiere-visual {
  position: relative;
}

.lumiere-preview {
  background: var(--cinebrasil-white);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(30, 58, 138, 0.1);
  overflow: hidden;
}

.lumiere-preview-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Responsive Lumiere Section */
@media (max-width: 1024px) {
  .lumiere-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .lumiere-platform {
    padding: 4rem 0;
    margin: 3rem 0;
  }

  .lumiere-name h3 {
    font-size: 2.2rem;
  }

  .lumiere-name-pt {
    font-size: 1.2rem;
  }

  .lumiere-actions {
    flex-direction: column;
  }

  .lumiere-actions .btn {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .lumiere-name h3 {
    font-size: 1.8rem;
  }

  .detail-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .lumiere-preview {
    padding: 1rem;
  }
}

/* Responsive Tickets Section */
@media (max-width: 1024px) {
  .tickets-content-legacy {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tickets-notes-legacy {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .tickets-card-legacy {
    padding: 2rem;
    margin: 0 10px;
  }

  .tickets-title-legacy {
    font-size: 2rem;
  }

  .price-card {
    padding: 2rem;
  }

  .ticket-price {
    font-size: 2.5rem;
  }

  .tickets-actions-legacy {
    width: 100%;
  }

  .btn-large {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .tickets-card-legacy {
    padding: 1.5rem;
  }

  .tickets-title-legacy {
    font-size: 1.8rem;
  }

  .price-card {
    padding: 1.5rem;
  }

  .ticket-price {
    font-size: 2rem;
  }

  .price-icon {
    font-size: 3rem;
  }
}

/* Social Media Bar */
.social-bar {
  background: var(--cinebrasil-blue);
  padding: 0.2rem 0;
  color: white;
  margin: 0;
  border: 0;
  order: 1; /* Colocar antes do festival-banner-fixed */
  flex-shrink: 0; /* NÃ£o encolher */
}

.social-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
}

.social-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
}

.social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.social-right {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  line-height: 1;
  margin: 0;
  padding: 0;
}

.social-link:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}

.social-text {
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.9;
  display: flex;
  align-items: center;
  line-height: 1;
  margin: 0;
  padding: 0;
}

/* Language Switcher na Social Bar */
.social-lang-switcher {
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.social-lang-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 2px 4px;
  border-radius: 3px;
  white-space: nowrap;
}

.social-lang-link:hover,
.social-lang-link.active {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

/* Menu HambÃºrguer na Social Bar */
.social-menu-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: all 0.3s ease;
  /* Fix para iOS touch */
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.social-menu-button:hover .hamburger-line {
  background: rgba(255, 255, 255, 0.8);
}

.social-menu-button.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.social-menu-button.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.social-menu-button.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Dropdown Menu */
.social-menu-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  margin-top: 8px;
}

.social-menu-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 12px 20px;
  color: var(--cinebrasil-blue);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(30, 58, 138, 0.1);
}

.dropdown-link:last-child {
  border-bottom: none;
}

.dropdown-link:hover {
  background: var(--cinebrasil-blue);
  color: white;
}

/* Responsive Social Bar */
@media (max-width: 768px) {
  /* Garantir que nÃ£o hÃ¡ margens no mobile */
  html,
  body {
    margin: 0 !important;
    padding: 0 !important;
  }

  .site-header {
    margin: 0 !important;
    padding: 0 !important;
    top: 0 !important;
  }

  .social-bar {
    margin: 0 !important;
    padding: 0.3rem 0 !important;
  }

  .social-container {
    min-height: auto;
    padding: 0 15px;
    align-items: flex-start;
  }

  .social-left {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    align-items: flex-start;
  }

  .social-links {
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }

  .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    /* Melhor touch target */
    min-width: 32px;
    min-height: 32px;
  }

  .social-text {
    font-size: 0.7rem;
    margin: 0;
    white-space: nowrap;
  }

  .social-right {
    gap: 0.8rem;
    align-items: center;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 0;
  }

  .social-lang-switcher {
    font-size: 0.7rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }

  .social-menu-button {
    /* Maior Ã¡rea de toque no mobile */
    min-width: 48px;
    min-height: 48px;
    padding: 12px;
  }

  .social-menu-dropdown {
    right: -15px;
    min-width: 200px;
    margin-top: 12px;
  }

  /* Esconder navegaÃ§Ã£o principal no mobile */
  .main-navigation {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .social-bar {
    padding: 0.2rem 0;
  }

  .social-container {
    padding: 0 12px;
  }

  .social-left {
    gap: 0.6rem;
  }

  .social-links {
    gap: 0.6rem;
  }

  .social-link {
    width: 22px;
    height: 22px;
    min-width: 28px;
    min-height: 28px;
  }

  .social-link svg {
    width: 14px;
    height: 14px;
    margin: 0;
    padding: 0;
  }

  .social-text {
    font-size: 0.65rem;
  }

  .social-lang-switcher {
    font-size: 0.65rem;
  }
}

/* Hero Content Minimalist */
.hero-content-minimal {
  position: absolute;
  top: 2rem;
  left: 2rem;
  z-index: 10;
  max-width: 400px;
}

.hero-brand-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: white;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(30, 58, 138, 0.5);
  margin: 0 0 0.8rem 0;
  line-height: 1.1;
  text-transform: lowercase;
  letter-spacing: 2px;
  animation: glow 2s ease-in-out infinite alternate;
}

.hero-dates-minimal {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
  margin: 0;
  letter-spacing: 1px;
}

@keyframes glow {
  from {
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(30, 58, 138, 0.5);
  }
  to {
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8), 0 0 30px rgba(30, 58, 138, 0.8),
      0 0 40px rgba(59, 130, 246, 0.6);
  }
}

/* Responsive Hero Minimalist */
@media (max-width: 768px) {
  .hero-content-minimal {
    top: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: none;
    text-align: center;
  }

  .hero-brand-title {
    font-size: 2rem;
  }

  .hero-dates-minimal {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-brand-title {
    font-size: 1.8rem;
  }

  .hero-dates-minimal {
    font-size: 0.9rem;
  }
}

/* Melhorias gerais para dispositivos touch */
.social-menu-button {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.social-lang-link {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* SVG Support in Carousel */
.carousel-slide[style*=".svg"] {
  background-size: contain;
}

/* Ensure SVG images display properly in admin */
#slide_image_preview_pt img,
#slide_image_preview_ja img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* Festival Banner Responsive */
@media (max-width: 768px) {
  .banner-container {
    padding: 8px 0;
  }

  .festival-banner-image {
    width: 100%;
    height: 80px; /* Altura aumentada para tablet */
    object-fit: cover;
    object-position: center;
  }
}

@media (max-width: 480px) {
  .banner-container {
    padding: 6px 0;
  }

  .festival-banner-image {
    height: 55px; /* Altura aumentada para mobile */
    object-fit: cover;
    object-position: center;
  }
}

/* Media query especÃ­fica para iPhone 12 e SE */
@media (max-width: 390px) {
  .festival-banner-fixed {
    width: 100vw !important; /* Usar viewport width para evitar vazamento */
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .festival-banner-image {
    width: 100% !important;
    max-width: 100% !important;
    height: 50px !important; /* Altura menor para iPhone SE */
    object-fit: cover !important;
    object-position: center !important;
  }
}

/* Fix geral para margens no mobile */
@media (max-width: 768px) {
  body {
    -webkit-overflow-scrolling: touch;
  }
}

/* ===== ESTILOS PARA SINGLE MOVIES ===== */

/* Container principal com flexbox */
.page-flex-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-header {
  flex-shrink: 0;
}

.main-content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Padding-top apenas para pÃ¡ginas de filme individual */
.single-movies .main-content-wrapper {
  padding-top: 140px; /* Altura do header fixo */
}

/* Layout geral moderno */
.film-single {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Imagem Hero da Galeria */
.film-hero-image {
  width: 100%;
  height: 80vh;
  overflow: hidden;
  position: relative;
  margin: 0;
  flex-shrink: 0;
}

.hero-gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Site Main */
.site-main {
  flex: 1;
}

/* Quick hero (cards 70/30) - single movies */
.film-quick-hero {
  max-width: 1400px;
  margin: 1.5rem auto;
  padding: 0 1rem;
}

@media (max-width: 900px) {
  .film-quick-hero .film-quick-hero-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Overview moderno do single */
.film-overview-modern,
.film-overview-details,
.film-overview-columns,
.film-overview-awards {
  max-width: 1200px;
  margin: 1.5rem auto;
  padding: 0 1rem;
}

.overview-grid {
  display: grid;
  grid-template-columns: 8fr 2fr;
  gap: 1rem;
}
.overview-left {
}
.overview-right .stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.overview-right .stat-list li {
  padding: 0.6rem 0.6rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.overview-right .stat-list li:last-child {
  border-bottom: none;
}
.overview-right .stat-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0;
  align-items: center;
}

/* ClassificaÃ§Ã£o ocupa linha toda no desktop */
.overview-right .pill-outline {
  grid-column: 1 / -1;
}
.overview-right .pill {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  color: var(--cinebrasil-blue);
  border: 1px solid rgba(59, 130, 246, 0.22);
  font-weight: 700;
  width: 100%;
  text-align: center;
}

.overview-right .stat-classification {
  margin-top: 0.35rem;
}
.overview-right .pill-outline {
  background: transparent;
  border: 2px solid var(--cinebrasil-blue);
  color: var(--cinebrasil-blue);
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.6rem 0.9rem;
}

.overview-right .overview-trailer {
  width: 100%;
  display: block;
  text-align: center;
}

.overview-right .overview-trailer.btn-modern {
  width: 100% !important;
  display: block !important;
  text-align: center;
  box-sizing: border-box;
}

.chip-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.chip {
  background: #0f172a;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 700;
}
.chip.muted {
  background: rgba(15, 23, 42, 0.1);
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.2);
}
.catchphrase {
  margin: 0.9rem 0 1.2rem;
  padding: 1rem 1.25rem 1rem 2.2rem; /* Aumentado de 1.6rem para 2.2rem */
  font-size: 1.25rem;
  line-height: 1.5;
  color: #0f172a;
  font-weight: 600;
  font-style: italic;
  background: linear-gradient(
    180deg,
    rgba(59, 130, 246, 0.08) 0%,
    rgba(59, 130, 246, 0.03) 100%
  );
  border-radius: 14px;
  position: relative;
}
.catchphrase:before {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  bottom: 10px;
  width: 6px;
  border-radius: 4px;
  background: linear-gradient(
    180deg,
    var(--cinebrasil-blue) 0%,
    var(--cinebrasil-light-blue) 100%
  );
}
.overview-trailer {
  margin-top: 0.5rem;
}

/* Card do tÃ­tulo + gÃªnero */
.film-title-card {
  background: linear-gradient(135deg, #0b1e4b 0%, #0e3a8a 50%, #1e40af 100%);
  color: #fff;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.25);
}
.film-title-card-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: start;
}
.film-title-display {
  margin: 0 0 0.5rem 0;
  font-size: 2.4rem;
  line-height: 1.15;
  font-weight: 900;
  word-break: break-word;
  font-family: "GlowSansJ Compressed", "Noto Sans JP", system-ui, -apple-system,
    sans-serif;
  font-stretch: 85%;
}
.film-title-card .chip-row .chip.muted {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}
.chip-row.align-right {
  justify-content: flex-end;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.overview-title {
  color: var(--cinebrasil-blue);
  margin: 0 0 0.75rem;
  font-weight: 800;
}

/* Esconder apenas o tÃ­tulo da Sinopse */
.film-overview-details .details-main .overview-title {
  display: none;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.card-body {
  padding: 1.25rem;
}

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}
.mini-thumb {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.director-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1rem;
  align-items: center;
}
.director-card .director-media {
  width: 300px;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
}
.director-card .director-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.director-about {
  margin: 0.5rem 0 0;
  color: #374151;
}

.columns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.columns-grid .col {
}

/* Esconder catchphrase duplicado no desktop */
.catchphrase-mobile {
  display: none;
}

@media (max-width: 1024px) {
  .overview-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "left"
      "right"
      "catchphrase";
  }

  .overview-left {
    grid-area: left;
  }

  .overview-right {
    grid-area: right;
  }

  /* Catchphrase vem depois do overview-right no mobile */
  .catchphrase-mobile {
    grid-area: catchphrase;
    margin-top: 1rem;
  }

  /* Esconder o catchphrase dentro do overview-left no mobile */
  .overview-left .catchphrase {
    display: none;
  }

  /* Mostrar o catchphrase duplicado no mobile */
  .catchphrase-mobile {
    display: block;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  /* Garantir que o botÃ£o trailer ocupe toda a largura no mobile */
  .overview-right .overview-trailer {
    width: 100%;
    display: block;
  }

  .overview-right .overview-trailer.btn-modern {
    width: 100%;
    display: block;
    box-sizing: border-box;
    text-align: center;
  }
  .mini-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .columns-grid {
    grid-template-columns: 1fr;
  }
}

/* Ajustes mobile para tÃ­tulo e gÃªnero */
@media (max-width: 768px) {
  .film-title-display {
    font-size: 1.8rem;
  }
  .film-title-card-header {
    grid-template-columns: 1fr;
  }
  .chip-row.align-right {
    justify-content: flex-start;
  }
  .catchphrase {
    font-size: 1.05rem;
    padding: 0.85rem 1rem 0.85rem 1.6rem; /* Adicionado padding esquerdo para mobile */
  }

  /* Garantir que o botÃ£o trailer ocupe toda a largura no mobile */
  .overview-right .overview-trailer {
    width: 100% !important;
    display: block !important;
  }

  .overview-right .overview-trailer.btn-modern {
    width: 100% !important;
    display: block !important;
    box-sizing: border-box;
    text-align: center;
  }

  /* Foto do diretor responsiva no tablet */
  .director-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .director-card .director-media {
    width: 300px;
    height: 300px;
    margin: 0 auto;
  }

  /* Pills em linha Ãºnica no tablet */
  .overview-right .stat-pills {
    grid-template-columns: 0.8fr 0.8fr 1.4fr;
    gap: 0.4rem;
    align-items: center;
  }

  /* Remover grid-column no tablet */
  .overview-right .pill-outline {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .film-title-display {
    font-size: 1.6rem;
  }
  .catchphrase {
    font-size: 0.98rem;
  }

  /* Garantir que o botÃ£o trailer ocupe toda a largura no mobile pequeno */
  .overview-right .overview-trailer {
    width: 100% !important;
    display: block !important;
  }

  .overview-right .overview-trailer.btn-modern {
    width: 100% !important;
    display: block !important;
    box-sizing: border-box;
    text-align: center;
  }

  /* Foto do diretor responsiva no mobile */
  .director-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .director-card .director-media {
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }

  /* Pills em linha Ãºnica no mobile */
  .overview-right .stat-pills {
    grid-template-columns: 0.8fr 0.8fr 1.4fr;
    gap: 0.3rem;
    align-items: center;
  }

  /* Remover grid-column no mobile */
  .overview-right .pill-outline {
    grid-column: auto;
  }

  /* Fonte menor para pills no mobile */
  .overview-right .pill {
    font-size: 0.8rem;
    padding: 0.35rem 0.6rem;
  }

  .overview-right .pill-outline {
    font-size: 0.8rem;
    padding: 0.35rem 0.6rem;
  }
}

/* Responsivo para single movies */
@media (max-width: 768px) {
  .single-movies .main-content-wrapper {
    padding-top: 100px; /* Header menor no tablet */
  }

  .film-hero-image {
    height: 60vh;
  }
}

@media (max-width: 480px) {
  .single-movies .main-content-wrapper {
    padding-top: 80px; /* Header menor no mobile */
  }

  .film-hero-image {
    height: 50vh;
  }
}

@media (max-width: 390px) {
  .single-movies .main-content-wrapper {
    padding-top: 70px; /* Header menor no iPhone SE */
  }

  .film-hero-image {
    height: 45vh;
  }
}

/* ===== FILM CARDS MODERNOS ===== */
/* ===== Site-wide Notice Banner ===== */
.site-wide-notice {
  padding: 2rem 0;
  margin: 2rem auto 0;
}

.site-wide-notice .notice-container {
  width: auto;
  max-width: none; /* ocupar toda a largura disponível */
  margin: 0 2rem; /* respiro nas laterais em telas grandes */
  padding: 1.5rem;
  border: 6px solid var(--cinebrasil-blue);
  border-radius: 12px;
  background: #fff;
  text-align: center;
}

.site-wide-notice p {
  margin: 0;
  color: var(--cinebrasil-dark-blue);
  font-weight: 800;
  line-height: 1.6;
  font-family: "GlowSansJ Compressed", "Noto Sans JP", "Noto Sans", system-ui,
    -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 47px;
}

/* Controlar visibilidade das versões desktop/mobile */
.site-wide-notice .desktop-only {
  display: block;
}

.site-wide-notice .mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .site-wide-notice {
    padding: 1.5rem 1rem; /* respiro lateral no full-bleed */
    /* Full-bleed: ocupar toda a largura visível no mobile */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  .site-wide-notice .notice-container {
    margin: 0; /* ocupar toda a largura */
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    padding: 1.25rem; /* respiro interno */
    border-width: 4px;
  }
  .site-wide-notice p {
    font-size: 24px;
  }
  /* Ajuste fino: mobile-only 1px menor que o padrão mobile */
  .site-wide-notice .mobile-only {
    font-size: 23px;
  }

  /* No mobile, mostrar versão mobile e esconder desktop */
  .site-wide-notice .desktop-only {
    display: none;
  }

  .site-wide-notice .mobile-only {
    display: block;
  }
}

.film-card-modern {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
  display: block;
}

.film-poster-modern {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--cinebrasil-blue),
    var(--cinebrasil-dark-blue)
  );
}

.poster-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.film-card-modern:hover .poster-image {
  transform: scale(1.05);
}

.poster-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 2rem;
}

.poster-placeholder svg {
  margin-bottom: 1rem;
  opacity: 0.6;
}

.poster-placeholder span {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
}

.play-button-modern {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: var(--cinebrasil-blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0;
  backdrop-filter: blur(10px);
  z-index: 3; /* Garantir clique acima do overlay */
}

.film-card-modern:hover .play-button-modern {
  opacity: 1;
}

.play-button-modern:hover {
  background: white;
  transform: translate(-50%, -50%) scale(1.1);
}

.film-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.film-card-modern:hover .film-overlay {
  opacity: 1;
}

.film-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.genre-badge,
.year-badge {
  background: rgba(255, 255, 255, 0.9);
  color: var(--cinebrasil-blue);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.film-content-modern {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.film-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  height: 100%;
}

.film-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.film-card-link:hover .film-card-modern {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.film-title-modern {
  margin: 0 0 1rem 0;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  font-family: "GlowSansJ Compressed", "Noto Sans JP", system-ui, -apple-system,
    sans-serif;
  font-stretch: 85%;
}

.film-title-modern a {
  color: var(--cinebrasil-black);
  text-decoration: none;
  transition: color 0.3s ease;
}

.film-title-modern a:hover {
  color: var(--cinebrasil-blue);
}

.film-meta-modern {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cinebrasil-dark-gray);
  font-size: 0.9rem;
}

.meta-item svg {
  color: var(--cinebrasil-blue);
  flex-shrink: 0;
}

.film-description-modern {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
  font-size: 0.95rem;
}

.film-actions-modern {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.btn-trailer {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: transparent;
  color: var(--cinebrasil-blue);
  text-decoration: none;
  border: 2px solid var(--cinebrasil-blue);
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
  pointer-events: auto; /* Permitir clique no botão de trailer */
  margin-left: auto; /* Empurrar para a direita */
}

.film-card-link:hover .btn-trailer {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
}

.btn-trailer svg {
  transition: transform 0.3s ease;
}

.film-card-link:hover .btn-trailer svg {
  transform: scale(1.1);
}

.btn-trailer:hover {
  background: var(--cinebrasil-blue);
  color: white;
}

.btn-view-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: var(--cinebrasil-blue);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  pointer-events: none; /* Desabilitar clique no botão */
}

.film-card-link:hover .btn-view-more {
  background: var(--cinebrasil-dark-blue);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
}

.btn-view-more svg {
  transition: transform 0.3s ease;
}

.btn-view-more:hover svg {
  transform: translate(2px, -2px);
}

/* Responsivo para film cards */
@media (max-width: 768px) {
  .film-poster-modern {
    height: 250px;
  }

  .film-content-modern {
    padding: 1.25rem;
  }

  .film-title-modern {
    font-size: 1.2rem;
  }

  .film-meta-modern {
    gap: 0.75rem;
  }

  .meta-item {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .film-poster-modern {
    height: 200px;
  }

  .film-content-modern {
    padding: 1rem;
  }

  .film-title-modern {
    font-size: 1.1rem;
  }

  .btn-view-more {
    padding: 0.7rem 1.25rem;
    font-size: 0.85rem;
  }

  .btn-trailer {
    padding: 0.7rem 1.25rem;
    font-size: 0.85rem;
    margin-left: 0;
  }

  .film-actions-modern {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-view-more {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  .btn-trailer {
    width: 100%;
    justify-content: center;
  }
}

/* Fix para botÃ£o trailer ocupar toda a largura no mobile */
@media (max-width: 1024px) {
  .overview-right .overview-trailer.btn-modern {
    max-width: none !important;
  }
}

@media (max-width: 768px) {
  .overview-right .overview-trailer.btn-modern {
    max-width: none !important;
  }
}

@media (max-width: 480px) {
  .overview-right .overview-trailer.btn-modern {
    max-width: none !important;
  }
}

@media (max-width: 390px) {
  .overview-right .overview-trailer.btn-modern {
    max-width: none !important;
  }
}
