/**
 * Estilos do Slider de Destaques
 */

.hero-slider-container * {
  box-sizing: border-box;
}

.hero-slider-container {
  font-family: 'Montserrat', sans-serif !important;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.hero-main {
  position: relative;
  width: 100%;
  height: 473px;
  border-radius: 20px !important;
  overflow: hidden;
  margin-bottom: 16px;
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 85px 95px;
  animation: fadeIn 0.6s ease-out;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3) !important;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white !important;
  animation: slideUpContent 0.6s ease-out;
}

.hero-title {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 36px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  margin: 0 0 24px 0 !important;
  max-width: 600px;
  color: white !important;
}

.hero-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: #1473C8 !important;
  color: white !important;
  padding: 15px 30px !important;
  border-radius: 100px !important;
  text-decoration: none !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  transition: all 0.3s ease !important;
  border: none !important;
  cursor: pointer !important;
}

.hero-button:hover {
  background: #0d5aa8 !important;
  transform: translateX(4px);
}

.hero-button svg {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0;
}

.thumbnails-container {
  position: relative;
}

.thumbnails-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
  position: relative;
}

.thumbnail-item {
  position: relative;
  height: 200px;
  border-radius: 20px !important;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

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

.thumbnail-item.slide-left {
  animation: slideFromRight 0.5s ease-out;
}

.thumbnail-item.slide-right {
  animation: slideFromLeft 0.5s ease-out;
}

.thumbnail-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.thumbnail-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent) !important;
  color: white !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.thumbnail-date {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: white !important;
}

.thumbnail-badge {
  background: white !important;
  color: #1473C8 !important;
  padding: 4px 8px !important;
  border-radius: 100px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

.slider-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

.slider-arrows {
  display: flex;
  gap: 8px;
}

.slider-arrow {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: #1473C8 !important;
  border: none !important;
  color: white !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  padding: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

.slider-arrow:hover,
.slider-arrow:focus,
.slider-arrow:active {
  background: #0d5aa8 !important;
  transform: scale(1.1);
  outline: none !important;
  box-shadow: none !important;
}

.slider-arrow:disabled {
  background: #ccc !important;
  cursor: not-allowed !important;
  opacity: 0.5 !important;
}

.slider-arrow svg {
  width: 18px !important;
  height: 18px !important;
  stroke: white !important;
  fill: none !important;
}

.slider-dots {
  display: flex;
  gap: 6px;
}

.slider-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #D9D9D9 !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  padding: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

.slider-dot:hover,
.slider-dot:focus,
.slider-dot:active {
  background: #B8B8B8 !important;
  outline: none !important;
  box-shadow: none !important;
}

.slider-dot.active {
  background: #1473C8 !important;
  width: 24px !important;
  border-radius: 4px !important;
}

/* Animações */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(1.05);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideUpContent {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideFromRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideFromLeft {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Tablet - 3 thumbnails */
@media (max-width: 1024px) {
  .hero-main {
    border-radius: 15px !important;
    margin-bottom: 15px;
  }

  .hero-slide {
    padding: 51px 20px;
  }

  .hero-title {
    font-size: 32px !important;
    margin-bottom: 20px !important;
  }

  .thumbnails-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .thumbnail-item {
    border-radius: 15px !important;
  }
}

/* Mobile - 2 thumbnails */
@media (max-width: 767px) {
  .hero-main {
    height: 350px;
    border-radius: 11px !important;
    margin-bottom: 11px;
  }

  .hero-slide {
    padding: 24px 20px;
  }

  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-title {
    font-size: 24px !important;
    margin-bottom: 16px !important;
    text-align: center;
  }

  .hero-button {
    padding: 12px 24px !important;
    font-size: 14px !important;
  }

  .thumbnails-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
  }

  .thumbnail-item {
    height: 180px;
    border-radius: 11px !important;
  }

  .slider-arrow {
    width: 40px !important;
    height: 40px !important;
  }

  .slider-controls {
    padding: 0 10px;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
  }

  .slider-arrows {
    order: 2;
  }

  .slider-dots {
    order: 1;
  }
}

