:root {
  /* NOVA PALETA DE CORES */
  --light-bg: #f2e4d8;
  /* Bege/Off-white */
  --dark-bg: #0d0d0d;
  /* Quase Preto */
  --darker-bg: #0d0d0d;
  /* Mantendo consistência com o dark-bg */
  --text-light: #ffffff;
  /* Branco */
  --text-dark: #142740;
  /* Azul Escuro */
  --primary-accent: #bf7534;
  /* Laranja Destaque */

  /* FONTES */
  --font-family: "Roboto", sans-serif;
  --font-serif: "Oswald", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
  line-height: 1.2;
  font-family: var(--font-serif);
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 60px;
  text-transform: uppercase;
}

h3 {
  font-size: 1.8rem;
}

p,
li,
a,
span,
button,
input,
textarea {
  font-family: var(--font-family);
}

.nav-menu .botao-destaque a {
  display: inline-block;
  background-color: var(--text-dark);
  /* Azul Escuro */
  color: #ffffff !important;
  width: 100%;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.nav-menu .botao-destaque a:hover {
  background-color: var(--dark-bg);
  /* Fica um preto intenso no hover */
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
}

.nav-menu .botao-destaque a:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-primary {
  background-color: var(--primary-accent);
  color: var(--text-light);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#header-solid {
  background-color: var(--light-bg);
  padding: 20px 0;
  border-bottom: 1px solid rgba(20, 39, 64, 0.15);
  /* Borda sutil com a cor azul escura */
}

#header-solid .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#header-solid .logo {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  /* Azul Escuro */
  text-decoration: none;
  letter-spacing: 2px;
}

.logo img {
  width: 250px;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .logo img {
    width: 180px;
  }
}

#header-solid .nav-menu ul {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

#header-solid .nav-menu li {
  margin-left: 35px;
}

#header-solid .nav-menu a {
  color: var(--text-dark);
  /* Azul Escuro */
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  transition: border-bottom-color 0.3s ease;
}

#header-solid .nav-menu a:hover {
  border-bottom-color: var(--primary-accent);
}

#home {
  height: 80vh;
  background: url("Image/Blue\ and\ White\ Minimalist\ Gradient\ Background\ Flyer\ \(6\).jpg")
    no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  padding: 0 10%;
}

.hero-content-left {
  background-color: rgba(242, 228, 216, 0.85);
  /* Cor correspondente a var(--light-bg) */
  padding: 60px;
  height: 80vh;
  width: 55%;
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-ajust {
  width: 100%;
}

.hero-content-left h1 {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  color: var(--text-dark);
  /* Azul Escuro */
  letter-spacing: 1.5px;
  line-height: 1.3;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.btn-hero {
  background-color: var(--primary-accent);
  color: var(--text-light);
  border: 2px solid var(--primary-accent);
  padding: 15px 45px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
}

.btn-hero:hover {
  background-color: transparent;
  color: var(--primary-accent);
}

#sobre {
  background-color: var(--light-bg);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 80px;
  align-items: center;
}

.sobre-imagem img {
  width: 100%;
  display: block;
  border-radius: 30px 120px 30px 120px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.sobre-texto h2 {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--text-dark);
  /* Azul Escuro */
  text-align: left;
  margin-bottom: 40px;
  position: relative;
}

.sobre-texto h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 80px;
  height: 5px;
  background-color: var(--primary-accent);
}

.sobre-texto p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.sobre-texto p:last-child {
  margin-top: 20px;
}

@media (max-width: 992px) {
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .sobre-texto h2 {
    text-align: center;
  }

  .sobre-texto h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .sobre-texto {
    text-align: center;
  }
}

#cta-parallax {
  background: linear-gradient(rgba(13, 13, 13, 0.7), rgba(13, 13, 13, 0.7)),
    url("Image/Blue\ and\ White\ Minimalist\ Gradient\ Background\ Flyer\ \(6\).jpg")
      no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding: 100px 0;
}

.cta-box {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 50px;
  border-radius: 10px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-box h2 {
  margin-bottom: 20px;
}

.organizers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.organizer-card {
  text-align: center;
}

.organizer-card img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid var(--primary-accent);
}

.organizer-card h4 {
  font-size: 1.4rem;
}

.organizer-card h5 {
  font-style: italic;
  font-weight: 400;
  margin-bottom: 10px;
}

#experiencias {
  background-color: var(--dark-bg);
  color: var(--text-light);
}

#experiencias h2 {
  color: var(--text-light);
}

.experiences-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.experience-card {
  background-color: var(--text-dark);
  /* Usando azul escuro para contraste com o fundo preto */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
}

.experience-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.experience-card img {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 20px;
}

.agenda-tabs {
  text-align: center;
  margin-bottom: 40px;
}

.tab-btn {
  background: none;
  border: 2px solid rgba(242, 228, 216, 0.5);
  /* Borda com cor de fundo clara */
  color: var(--text-dark);
  padding: 10px 30px;
  margin: 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background-color: var(--primary-accent);
  color: var(--text-light);
  border-color: var(--primary-accent);
}

.agenda-content {
  display: none;
}

.agenda-content.active {
  display: block;
}

.agenda-item {
  display: flex;
  background: var(--text-light);
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  align-items: center;
}

.agenda-time {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-accent);
  min-width: 180px;
}

#abertura {
  background-color: var(--primary-accent);
  /* Vermelho Destaque */
  color: var(--text-light);
}

#abertura h2 {
  color: var(--text-light);
  margin-bottom: 60px;
}

.abertura-destaque {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 60px;
  align-items: center;
  margin: 32px 0;
}

.abertura-foto img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: 5px solid var(--text-light);
}

.abertura-texto h3 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.abertura-texto h4 {
  font-family: var(--font-family);
  font-size: 1.3rem;
  color: var(--dark-bg);
  font-weight: 700;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.abertura-texto p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  opacity: 0.9;
}

@media (max-width: 992px) {
  .abertura-destaque {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .abertura-foto {
    margin: 0 auto;
    width: 280px;
    height: 280px;
  }

  .abertura-foto img {
    height: 100%;
  }
}

#palestrantes {
  background-color: var(--dark-bg);
  color: var(--text-light);
}

#palestrantes h2 {
  color: var(--text-light);
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.speaker-card {
  text-align: center;
}

.speaker-card img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 4px solid var(--primary-accent);
}

.ajust-img {
  object-position: center top;
}

.speaker-card h4 {
  font-size: 1.2rem;
}

.speaker-card p {
  font-size: 0.9rem;
  opacity: 0.8;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  cursor: pointer;
}

#contagem {
  background-color: var(--dark-bg);
  color: var(--text-light);
  text-align: center;
}

#contagem h3 {
  margin-bottom: 40px;
  font-weight: 400;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}

.timer-box {
  font-weight: 900;
}

.timer-box span {
  font-size: 4rem;
  display: block;
}

.timer-box p {
  font-size: 1rem;
  letter-spacing: 2px;
}

.strong_part {
  margin: 8px 0;
}

#patrocinadores .logos,
#apoiadores .logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 60px;
}

#patrocinadores .logos img,
#apoiadores .logos img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: contain;
  background-color: #ffffff;
  border: 1px solid rgba(20, 39, 64, 0.1);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
  transition: all 0.3s ease;
}

#patrocinadores .logos img:hover,
#apoiadores .logos img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
  border-color: var(--primary-accent);
}

.agenda-local {
  margin-top: 15px;
  padding: 10px;
  background-color: var(--text-light);
  border-radius: 8px;
  text-align: center;
  font-size: 1.2em;
  color: var(--text-dark);
}

.inscricao-box {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.inscricao-box h3 {
  font-family: var(--font-serif);
  color: var(--primary-accent);
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.inscricao-box p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 450px;
  line-height: 1.7;
}

.btn-cta-contato {
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 700;
}

#contato {
  background-color: var(--dark-bg);
  color: var(--text-light);
}

#contato h2 {
  color: var(--text-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-info p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.contact-info iframe {
  width: 100%;
  height: 250px;
  border-radius: 5px;
  border: 0;
}

footer {
  background-color: var(--darker-bg);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
  text-align: center;
}

.footer-menu {
  margin-bottom: 20px;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin: 0 15px;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: var(--text-light);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  margin-top: 20px;
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  #sobre .container {
    flex-direction: column;
  }

  .abertura-destaque {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
    padding: 30px 20px;
  }

  .abertura-foto {
    margin: 0 auto;
    width: 250px;
    height: 250px;
  }

  .abertura-foto img {
    height: 250px;
  }

  .abertura-texto h3 {
    font-size: 2rem;
  }

  .experiences-grid,
  .speakers-grid,
  .gallery-grid,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  #header-solid .nav-menu {
    display: none;
  }

  #home {
    height: 80vh;
  }

  .hero-content-left {
    width: 100%;
    padding: 30px;
    text-align: center;
  }

  .hero-content-left h1 {
    font-size: 2rem;
  }

  .organizers-grid,
  .experiences-grid,
  .speakers-grid,
  .gallery-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .countdown-timer {
    gap: 20px;
  }

  .timer-box span {
    font-size: 2.5rem;
  }

  .agenda-item {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .agenda-time {
    min-width: auto;
    margin-bottom: 10px;
    font-size: 1em;
  }

  .agenda-desc {
    text-align: left;
  }
}

/* --- ESTILOS NOVAS SEÇÕES (VÍDEO E NOTÍCIAS) --- */

/* Seção Vídeo */
#edicao-anterior {
  background-color: var(--dark-bg);
  color: var(--text-light);
  text-align: center;
  padding-bottom: 60px;
}

#edicao-anterior h2 {
  color: var(--text-light);
}

.video-wrapper {
  /* Centraliza o vídeo na tela */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

video {
  /* LÓGICA DE TAMANHO INTELIGENTE */
  width: auto; /* A largura se ajusta automaticamente... */
  height: auto; /* ...mantendo a proporção original */

  /* Regra para Celulares: */
  max-width: 100%; /* Ocupa a largura toda se a tela for pequena */

  /* Regra para Computadores: */
  max-height: 70vh; /* O vídeo nunca ficará mais alto que 80% da altura da tela */

  /* Estética */
  border: 2px solid var(--primary-accent);
  border-radius: 15px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: block;
}

/* Seção Notícias */
#noticias {
  background-color: var(--light-bg); /* Fundo Claro */
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 colunas */
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.news-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(20, 39, 64, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-image {
  height: 200px;
  background-color: var(--text-dark);
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Label da fonte da notícia (G1/Fantástico) */
.news-source {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary-accent);
  color: var(--text-light);
  padding: 5px 15px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
}

.news-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-content h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  line-height: 1.3;
}

.news-content p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 25px;
}

.btn-news {
  align-self: flex-start;
  color: var(--primary-accent);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--primary-accent);
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

.btn-news:hover {
  color: var(--text-dark);
  border-color: var(--text-dark);
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr; /* 1 coluna no mobile */
  }
}

/* Galeria */
.carousel-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Carrossel Principal */
.main-carousel {
  position: relative;
  height: 600px;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  background: #000;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.slide-number {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
}

/* Botões de navegação */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 10;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.8);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

/* Container de Miniaturas */
.thumbnails-container {
  position: relative;
  background: #f5f5f5;
  border-radius: 12px;
  padding: 10px 40px;
}

.thumbnails {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  padding: 5px 0;
}

.thumbnails::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.thumbnail {
  flex: 0 0 100px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s;
  position: relative;
  border: 3px solid transparent;
}

.thumbnail:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.thumbnail.active {
  opacity: 1;
  border-color: #007bff;
  box-shadow: 0 4px 8px rgba(0,123,255,0.3);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-number {
  position: absolute;
  top: 2px;
  left: 2px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 10px;
}

.thumb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 1px solid #ddd;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.thumb-btn:hover {
  background: #f0f0f0;
}

.thumb-prev {
  left: 5px;
}

.thumb-next {
  right: 5px;
}

/* Responsivo */
@media (max-width: 768px) {
  .main-carousel {
    height: 400px;
  }
  
  .thumbnail {
    flex: 0 0 70px;
    height: 56px;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .main-carousel {
    height: 300px;
  }
  
  .thumbnails-container {
    padding: 10px 30px;
  }
  
  .thumbnail {
    flex: 0 0 60px;
    height: 48px;
  }
}

.carousel-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Carrossel Principal */
.main-carousel {
  position: relative;
  height: 600px;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  background: #000;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.slide-number {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
}

/* Botões de navegação */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 10;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.8);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

/* Container de Miniaturas */
.thumbnails-container {
  position: relative;
  background: #f5f5f5;
  border-radius: 12px;
  padding: 10px 40px;
}

.thumbnails {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  padding: 5px 0;
}

.thumbnails::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.thumbnail {
  flex: 0 0 100px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s;
  position: relative;
  border: 3px solid transparent;
}

.thumbnail:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.thumbnail.active {
  opacity: 1;
  border-color: #007bff;
  box-shadow: 0 4px 8px rgba(0,123,255,0.3);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-number {
  position: absolute;
  top: 2px;
  left: 2px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 10px;
}

.thumb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 1px solid #ddd;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.thumb-btn:hover {
  background: #f0f0f0;
}

.thumb-prev {
  left: 5px;
}

.thumb-next {
  right: 5px;
}

/* Responsivo */
@media (max-width: 768px) {
  .main-carousel {
    height: 400px;
  }
  
  .thumbnail {
    flex: 0 0 70px;
    height: 56px;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .main-carousel {
    height: 300px;
  }
  
  .thumbnails-container {
    padding: 10px 30px;
  }
  
  .thumbnail {
    flex: 0 0 60px;
    height: 48px;
  }
}