/**
 * Festival Casamoda - Estilos Específicos
 * Tema: Escuro (preto e branco)
 */

/* Variáveis específicas do Festival */
.page-festival {
  --festival-bg: #000000;
  --festival-text: #ffffff;
}

/* Container Festival */
.page-festival {
  background-color: var(--festival-bg);
  color: var(--festival-text);
}

/* Header Festival */
.page-festival .festival-header {
  background-color: transparent;
}

.page-festival .festival-header-top .header-left,
.page-festival .festival-header-top .header-center,
.page-festival .festival-header-top .header-right {
  color: var(--festival-text);
}

.page-festival .festival-header-top .header-link {
  color: var(--festival-text);
}

/* Hero Section */
.festival-main {
  position: relative;
  width: 100%;
  height: 100vh;
  padding-top: 80px;
  box-sizing: border-box;
  overflow: hidden;
}

.festival-background-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  mix-blend-mode: overlay;
  z-index: 3;
  pointer-events: none;
}

.slider-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  filter: grayscale(100%);
}

.slider-track-main {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
}

.slider-slide-main {
  position: absolute;
  top: 0;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out, left 0.3s ease;
  overflow: hidden;
  z-index: 1;
  width: 33.333%; /* Desktop: 3 imagens por vez */
}

.slider-slide-main.active {
  opacity: 1;
  z-index: 2;
}

.slider-slide-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Content Overlay */
.festival-content-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.festival-fcm-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  pointer-events: auto;
  padding-top: 0;
  margin-top: -13rem;
}

.festival-fcm-logo {
  width: clamp(120px, 20vw, 200px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(2px 2px 10px rgba(0, 0, 0, 0.5));
}

.festival-fcm-date {
  font-family: "Neue Montreal", sans-serif;
  font-size: clamp(0.75rem, 2vw, 1.25rem);
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--festival-text);
  text-align: center;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

/* Mobile Scroll */
.festival-mobile-scroll {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  pointer-events: auto;
  z-index: 3;
  width: 100%;
  padding: 0 2rem;
  box-sizing: border-box;
}

.festival-mobile-logo {
  width: clamp(200px, 60vw, 400px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(2px 2px 10px rgba(0, 0, 0, 0.5));
  margin-bottom: 4rem;
}

.festival-scroll-button {
  background: transparent;
  border: 2px solid var(--festival-text);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--festival-text);
  transition: all 0.3s ease;
  padding: 0;
}

.festival-scroll-button:hover {
  background-color: var(--festival-text);
  color: var(--festival-bg);
  transform: scale(1.1);
}

/* Segunda Seção */
.festival-section-two {
  display: flex;
  width: 100%;
  background-image: url("../images/sessao2.png");
  background-size: 50%;
  background-position: right top;
  background-repeat: no-repeat;
  background-color: var(--festival-bg);
}

.section-two-left {
  width: 80%;
  color: var(--festival-text);
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.main-text-line h2 {
  font-family: "Glacial Indifference", sans-serif;
  font-size: clamp(4rem, 6vw, 7rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 0.9;
  color: var(--festival-text);
}

.section-two-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 8rem;
  opacity: 0.9;
}

.pillar-item {
  font-size: clamp(1rem, 1.5vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--festival-text);
}

/* Terceira Seção */
.festival-section-three {
  background-color: var(--festival-bg);
  color: var(--festival-text);
  padding: 4rem 0;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .festival-section-three {
    min-height: auto;
  }
  .festival-section-moda.negocios-layout .moda-left .moda-title,
  .festival-section-moda.educacao-layout .moda-left .moda-title,
  .festival-section-moda.entreterimento-layout .moda-left .moda-title {
    font-size: 3rem !important;
    margin-bottom: 3rem !important;
  }
  .festival-header-top{
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    min-height: var(--header-height);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    background-color: transparent;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1rem;
    padding: 0 2rem;
  }

  .festival-header-top .header-left, .festival-header-top .header-center, .festival-header-top .header-right{
    justify-content: center;
  }
}

.section-three-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  padding: 0 4rem;
  margin: 0 0 4rem 0;
  gap: 3rem;
  box-sizing: border-box;
}

.section-three-title {
  font-family: "Neue Montreal", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
  text-transform: uppercase;
  color: var(--festival-text);
  flex: 0 0 25%;
}

.section-three-content {
  font-size: clamp(1rem, 2.25vw, 4rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--festival-text);
  flex: 1;
  line-height: 1;
}

/* Quarta Seção */
.festival-section-four {
  background-color: var(--white);
  color: var(--black);
  padding: 6rem 0;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .festival-section-four {
    min-height: auto;
  }

  .section-four-wrapper {
    padding: 0 2rem !important;
  }

  .section-four-headline {
    font-size: 1.5rem !important;
  }
}

.section-four-wrapper {
  width: 100%;
  padding: 0 4rem;
  box-sizing: border-box;
}

.section-four-headline {
  font-family: "Glacial Indifference", sans-serif;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 3rem;
}

.section-four-paragraph {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 400;
  color: var(--black);
  line-height: 1.5;
  margin-bottom: 0;
}

.section-four-paragraph p {
  font-size: clamp(1.25rem, 2.5vw, 2.25rem);
  margin-bottom: 4rem;
}

.section-four-paragraph p:last-child {
  margin-bottom: 0;
}

/* Galeria */
.festival-section-gallery {
  background-color: var(--festival-bg);
  width: 100%;
  min-height: 100vh;
  padding: 0;
}

@media (max-width: 768px) {
  .festival-section-gallery {
    min-height: auto;
  }
}

/* Galeria - Uma única imagem */
.gallery-single {
  width: 100%;
}

.gallery-single-item {
  width: 100%;
  height: 70vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 768px) {
  .gallery-single-item {
    height: 50vh;
  }
}

@media (max-width: 480px) {
  .gallery-single-item {
    height: 40vh;
  }
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 0;
}

.gallery-item {
  flex: 1 1 calc(100% / 7); /* 7 colunas */
  max-width: calc(100% / 7);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
  cursor: pointer;
  height: fit-content;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
}

/* Container para duas imagens horizontais empilhadas */
.gallery-item-stacked {
  display: flex;
  flex-direction: column;
  flex: 1 1 calc(100% / 7);
  max-width: calc(100% / 7);
  gap: 0;
  overflow: hidden;
}

.gallery-item-half {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item-half img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  transition: transform 0.4s ease;
}

.gallery-item-half:hover img {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery-item.loaded img {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Seção Público */
.festival-section-public {
  background-color: var(--festival-bg);
  color: var(--festival-text);
  width: 100%;
  min-height: 100vh;
  padding: 4rem 0;
}

@media (max-width: 768px) {
  .festival-section-public {
    min-height: auto;
  }
}

/* Todas as classes de texto dentro de .festival-section-public herdam a cor do elemento pai */
.festival-section-public .gender-percentage,
.festival-section-public .gender-label,
.festival-section-public .age-title,
.festival-section-public .age-range,
.festival-section-public .age-percentage,
.festival-section-public .category-number,
.festival-section-public .category-label,
.festival-section-public .category-type,
.festival-section-public .public-title,
.festival-section-public .public-description {
  color: inherit;
}

.festival-section-public .container-fluid {
  width: 100%;
  padding: 0 4rem;
}

.public-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
}

/* Remover gap entre public-center e public-right */
.public-center {
  margin-right: 0;
}

.public-right {
  margin-left: -4rem;
}

.public-left {
  padding-right: clamp(2rem, 8vw, 8rem);
  max-width: 40%;
}

.public-title {
  font-family: "Glacial Indifference", sans-serif;
  font-size: clamp(4rem, 9vw, 11rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--festival-text);
  margin-bottom: 2rem;
}

.public-description {
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  font-weight: 500;
  color: var(--festival-text);
  line-height: 1.6;
  opacity: 0.9;
}

/* Centralizar textos de dados (exceto título e texto da esquerda) */
.public-center,
.public-right {
  text-align: center;
  flex: 0 0 25%;
}

.public-center .gender-item,
.public-center .public-age,
.public-right .public-category {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.public-center .gender-percentage,
.public-center .gender-label,
.public-center .age-title,
.public-center .age-list,
.public-center .age-item,
.public-center .age-range,
.public-center .age-percentage,
.public-right .category-number,
.public-right .category-label,
.public-right .category-type {
  text-align: center;
}

.public-center .age-item {
  justify-content: center;
}

/* Marcas Icônicas */
.festival-section-brands {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  border-top: 2rem solid var(--festival-text);
}

@media (max-width: 768px) {
  .festival-section-brands {
    min-height: auto;
  }
}

.brands-header {
  background-color: var(--festival-bg);
  color: var(--festival-text);
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: clamp(4rem, 6vw, 10rem);
  padding-bottom: clamp(4rem, 6vw, 10rem);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
}

.brands-header-center {
  font-family: "Glacial Indifference", sans-serif;
  position: relative;
  left: auto;
  transform: none;
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  font-weight: 900;
  text-transform: uppercase;
  text-align: left;
}

.brands-grid {
  background-color: var(--white);
  color: var(--black);
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 4rem 2rem;
}

.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1rem, 2vw, 2rem);
  font-weight: 400;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.brand-item:hover {
  transform: scale(1.05);
  border-color: var(--black);
}

/* Seção MODA */
.festival-section-moda {
  width: 100%;
  min-height: 100vh;
  position: relative;
  background-color: var(--festival-bg);
}

@media (max-width: 768px) {
  .festival-section-moda {
    min-height: auto;
  }

  /* No mobile, fazer as seções full-image com layouts especiais funcionarem como flex container */
  /* Texto primeiro, imagem depois - igual à seção moda */
  .festival-section-moda.full-image.entreterimento-layout,
  .festival-section-moda.full-image.educacao-layout,
  .festival-section-moda.reversed.full-image.negocios-layout {
    display: flex;
    flex-direction: column;
  }

  /* Conteúdo (texto) vem primeiro no mobile */
  .festival-section-moda.full-image.entreterimento-layout .moda-content,
  .festival-section-moda.full-image.educacao-layout .moda-content,
  .festival-section-moda.reversed.full-image.negocios-layout .moda-content {
    order: 1;
  }

  /* Imagem lateral vem depois do texto no mobile */
  .festival-section-moda.full-image.entreterimento-layout .moda-image-lateral,
  .festival-section-moda.full-image.educacao-layout .moda-image-lateral,
  .festival-section-moda.reversed.full-image.negocios-layout .moda-image-lateral {
    order: 2;
  }
}

.moda-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.moda-left {
  width: 66.66%;
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--festival-text);
}

/* Seção MODA - ajustes específicos */
.festival-section-moda:not(.negocios-layout):not(.educacao-layout):not(
    .entreterimento-layout
  )
  .moda-left {
  width: 45%;
}

/* Seção MODA - imagem à direita com 60% de largura e padding direito */
.festival-section-moda:not(.negocios-layout):not(.educacao-layout):not(
    .entreterimento-layout
  )
  .moda-right {
  width: 55%;
  padding: 8rem 10rem 8rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: auto;
}

.festival-section-moda:not(.negocios-layout):not(.educacao-layout):not(
    .entreterimento-layout
  )
  .moda-image {
  width: 100%;
  max-width: 100%;
  aspect-ratio: auto;
  height: auto;
}

.moda-title {
  font-family: "Glacial Indifference", sans-serif;
  font-size: clamp(4rem, 10vw, 12rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--festival-text);
  margin-bottom: 3rem;
}

.moda-description {
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  font-weight: 500;
  color: var(--festival-text);
  line-height: 1.8;
  max-width: 80%;
  opacity: 0.95;
}

/* Layout especial para negócios, educação e entreterimento */
.festival-section-moda.negocios-layout,
.festival-section-moda.educacao-layout,
.festival-section-moda.entreterimento-layout {
  position: relative;
  overflow: hidden;
}

/* Imagem lateral genérica */
.moda-image-lateral {
  position: absolute;
  top: 0;
  width: 45%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Negócios: imagem à esquerda */
.negocios-image {
  left: 0;
  background-position: top left;
}

/* Educação e entreterimento: imagem à direita */
.educacao-image,
.entreterimento-image {
  right: 0;
  background-position: top right;
}

/* Conteúdo para layouts especiais */
.festival-section-moda.negocios-layout .moda-content,
.festival-section-moda.educacao-layout .moda-content,
.festival-section-moda.entreterimento-layout .moda-content {
  position: relative;
  z-index: 2;
  align-items: center;
  justify-content: flex-start;
}

/* Texto para layouts especiais */
.festival-section-moda.negocios-layout .moda-left,
.festival-section-moda.educacao-layout .moda-left,
.festival-section-moda.entreterimento-layout .moda-left {
  width: 55%;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 4rem 3rem;
}

/* Negócios: texto à direita (60% da largura, começando em 40%) */
.festival-section-moda.negocios-layout .moda-left {
  margin-left: 40%;
  width: 55%;
}

/* Aumentar tamanho do título nas seções especiais */
.festival-section-moda.negocios-layout .moda-left .moda-title,
.festival-section-moda.educacao-layout .moda-left .moda-title,
.festival-section-moda.entreterimento-layout .moda-left .moda-title {
  font-size: clamp(3.5rem, 10.5vw, 14rem) !important;
  margin-top: 0;
  margin-bottom: 2rem;
}

/* Negócios: ajuste específico do título */
.festival-section-moda.negocios-layout .moda-left .moda-title {
  margin-left: -22rem;
}

/* Negócios: texto abaixo do título */
.festival-section-moda.negocios-layout .moda-left .moda-description {
  margin-bottom: 0;
  padding-left: clamp(0rem, 12vw, 13rem);
}

/* Seção NA MÍDIA */
.festival-section-media {
  width: 100%;
  min-height: 100vh;
  position: relative;
  background-color: var(--white);
}

@media (max-width: 768px) {
  .festival-section-media {
    min-height: auto;
  }
}

.media-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.media-title {
  font-family: "Glacial Indifference", sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 4rem;
  text-align: center;
}

/* Menu Overlay */
.page-festival .menu-overlay {
  background-color: var(--festival-bg);
  color: var(--festival-text);
  min-height: calc(100vh - var(--header-height));
}

.page-festival .menu-title {
  color: var(--festival-text);
}

/* Footer Festival */
.festival-footer {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
}

@media (max-width: 768px) {
  .festival-footer {
    min-height: auto;
  }
}

.footer-sponsors {
  background-color: var(--white);
  color: var(--black);
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}

.footer-info {
  background-color: #000!important;
  color: var(--festival-text);
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
  min-height: auto;
}

.footer-logo {
  font-family: "Glacial Indifference", sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--festival-text);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 0 2rem;
}

.footer-logo-img {
  width: auto;
  max-width: 150px;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(2px 2px 10px rgba(0, 0, 0, 0.5));
}

.footer-columns {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  width: 100%;
}

/* Responsividade Festival */
@media (min-width: 769px) {
  .festival-fcm-container {
    padding-top: 12vh;
  }

  .festival-fcm-logo {
    width: clamp(300px, 40vw, 600px);
  }

  .festival-fcm-date {
    display: none;
  }
}

/* Tablet: 2 imagens por vez (50% cada) */
@media (max-width: 1024px) and (min-width: 769px) {
  .slider-slide-main {
    width: 50%;
  }
}

/* Mobile: 1 imagem por vez (100%) */
@media (max-width: 768px) {
  .slider-slide-main {
    width: 100%;
    left: 0 !important;
  }

  /* Esconder imagens marcadas como desktop-only no mobile */
  .slider-slide-main.desktop-only {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    display: none !important;
  }

  .festival-mobile-scroll {
    display: flex;
    bottom: 4rem;
  }

  .festival-scroll-button {
    display: flex;
  }

  .festival-section-two {
    flex-direction: column;
    background-image: none;
  }

  .section-two-left {
    width: 100%;
    padding: 3rem 2rem;
  }

  .main-text-line h2 {
    font-size: 2rem !important;
  }

  .section-two-subtitle {
    font-size: 1rem !important;
    margin-top: 1rem !important;
    margin-bottom: 3rem !important;
  }

  .pillar-item {
    font-size: 1rem !important;
  }

  .section-three-item {
    flex-direction: column;
    gap: 2rem;
    padding: 0 2rem;
  }

  .section-three-title {
    font-size: 1.2rem !important;
  }

  .section-three-content {
    font-size: 1rem !important;
  }

  .festival-section-public .container-fluid {
    padding: 0 2rem;
  }

  .public-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
  }

  .public-left {
    grid-column: 1 / -1;
    grid-row: 1;
    max-width: 100%;
    padding-right: 0;
    margin-right: 0 !important;
  }

  .public-title {
    font-size: 3rem !important;
  }

  .public-description {
    font-size: 1rem !important;
  }

  .public-center {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    flex-direction: column !important;
    gap: 2rem !important;
  }

  .public-gender,
  .public-age {
    flex: 1;
  }

  .public-right {
    grid-column: 2;
    grid-row: 2;
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }


  .brands-header-center {
    font-size: 1.5rem !important;
  }

  .brands-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    display: grid !important;
  }

  .moda-content {
    flex-direction: column;
  }

  .moda-left {
    width: 100% !important;
    padding: 3rem 2rem;
    order: 1;
  }

  .festival-section-moda:not(.negocios-layout):not(.educacao-layout):not(.entreterimento-layout) .moda-left {
    width: 100% !important;
  }

  /* Seção MODA - imagem após o texto no mobile */
  .festival-section-moda:not(.negocios-layout):not(.educacao-layout):not(
      .entreterimento-layout
    )
    .moda-right {
    width: 100%;
    padding: 0 2rem 3rem 2rem;
    order: 2;
  }

  /* Layout responsivo para negócios, educação e entreterimento */
  /* No mobile: texto primeiro (order: 1), imagem depois (order: 2) - igual à moda */
  .festival-section-moda.full-image.entreterimento-layout,
  .festival-section-moda.full-image.educacao-layout,
  .festival-section-moda.reversed.full-image.negocios-layout {
    display: flex;
    flex-direction: column;
  }

  /* No mobile, a imagem lateral vem depois do texto */
  .festival-section-moda.negocios-layout .moda-image-lateral,
  .festival-section-moda.educacao-layout .moda-image-lateral,
  .festival-section-moda.entreterimento-layout .moda-image-lateral {
    width: 100%;
    height: 67vh !important;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    order: 2;
    z-index: 1;
    background-position: center;
  }

  /* No mobile, o conteúdo (texto) vem primeiro */
  .festival-section-moda.negocios-layout .moda-content,
  .festival-section-moda.educacao-layout .moda-content,
  .festival-section-moda.entreterimento-layout .moda-content {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    order: 1;
    position: relative;
    z-index: 2;
  }

  .festival-section-moda.negocios-layout .moda-left,
  .festival-section-moda.educacao-layout .moda-left,
  .festival-section-moda.entreterimento-layout .moda-left {
    width: 100% !important;
    margin-left: 0 !important;
    min-height: auto;
    padding: 3rem 2rem;
    justify-content: flex-start;
    order: 1;
  }

  .festival-section-moda.negocios-layout .moda-left .moda-title,
  .festival-section-moda.educacao-layout .moda-left .moda-title,
  .festival-section-moda.entreterimento-layout .moda-left .moda-title {
    margin-left: 0 !important;
    margin-top: 0 !important;
    font-size: 2.5rem !important;
  }

  .moda-title {
    font-size: 5rem !important;
  }

  .moda-description {
    font-size: 1rem !important;
  }

  .festival-section-moda.negocios-layout .moda-left .moda-description {
    padding-left: 0;
    margin-top: 2rem;
  }

  .gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-auto-rows: min-content;
    grid-auto-flow: dense;
    align-items: start;
  }

  .gallery-item {
    grid-column: span 1;
    max-width: 100% !important;
    width: 100%;
    overflow: hidden;
    position: relative;
  }

  .gallery-item img {
    width: 100%;
    height: auto;
    display: block;
  }

  .gallery-item-stacked {
    grid-column: span 1;
    max-width: 100% !important;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    position: relative;
  }

  .gallery-item-half {
    width: 100%;
    overflow: hidden;
    position: relative;
  }

  .gallery-item-half img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* Footer responsivo */
  .footer-info {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem 2rem;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-columns {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .main-text-line {
    font-size: 2rem !important;
  }

  .main-text-line h2 {
    font-size: 2rem !important;
  }

  .section-two-subtitle {
    font-size: 1rem !important;
    margin-bottom: 3rem !important;
  }

  .pillar-item {
    font-size: 1rem !important;
  }

  .section-three-title {
    font-size: 1.2rem !important;
  }

  .section-three-content {
    font-size: 1rem !important;
  }

  .section-four-wrapper {
    padding: 0 2rem !important;
  }

  .section-four-headline {
    font-size: 1.5rem !important;
  }

  .public-title {
    font-size: 3rem !important;
  }

  .public-description {
    font-size: 1rem !important;
  }


  .public-gender,
  .public-age {
    flex: 1;
  }


  .brands-header-center {
    font-size: 1.5rem !important;
  }

  .brands-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .moda-title {
    font-size: 5rem !important;
  }

  .moda-description {
    font-size: 1rem !important;
  }

  .festival-section-moda.negocios-layout .moda-left .moda-title,
  .festival-section-moda.educacao-layout .moda-left .moda-title,
  .festival-section-moda.entreterimento-layout .moda-left .moda-title {
    margin-left: 0 !important;
    font-size: 2.5rem !important;
  }

  .festival-section-moda.negocios-layout .moda-image-lateral,
  .festival-section-moda.educacao-layout .moda-image-lateral,
  .festival-section-moda.entreterimento-layout .moda-image-lateral {
    height: 67vh !important;
  }
}

/* Estilos para footer na página de cadastro do festival */
.page-cadastro .festival-footer {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  min-height: auto !important;
}

.page-cadastro .footer-sponsors {
  background-color: var(--white) !important;
  color: var(--black) !important;
  padding: 4rem 2rem !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 4rem !important;
}

.page-cadastro .footer-info {
  background-color: #000!important;
  color: var(--festival-text) !important;
  padding: 4rem 2rem !important;
  display: grid !important;
  gap: 4rem !important;
}
