/* ============================================
   ESTILOS ESPECÍFICOS DA HOME
   ============================================ */

/* ==================== HERO BANNER ==================== */
.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-slider {
  position: relative;
  width: 100%;
}

.hero-slide {
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.05);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 1s ease;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 4rem;
  color: var(--brand-blue);
  margin-bottom: var(--spacing-sm);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--gray-dark);
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

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

/* Responsivo para Hero */
@media (max-width: 1200px) {
  .hero-slide {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .hero-slide {
    height: 300px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .hero-slide {
    height: 250px;
  }
}

/* ==================== CATEGORIAS ==================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: var(--spacing-lg);
}

.category-card {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  background-color: var(--white);
  position: relative;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.category-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.category-banner-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.category-card:hover .category-banner-img {
  transform: scale(1.05);
}

.category-image {
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition-normal);
  background-blend-mode: multiply;
}

.category-image-clean {
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--peach-light) 100%);
  padding: 3rem;
}

.category-card:hover .category-image {
  transform: scale(1.05);
}

/* Responsivo para Categorias */
@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.category-content {
  text-align: center;
  z-index: 2;
  position: relative;
}

.category-content h3 {
  font-size: 2.5rem;
  color: var(--brand-blue);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.category-content p {
  font-size: 1.1rem;
  color: var(--gray-dark);
  margin-bottom: var(--spacing-sm);
}

.category-content .btn {
  margin-top: 1rem;
}

/* ==================== VÍDEOS ==================== */
.videos-section {
  background: var(--blue-light);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: var(--spacing-lg);
}

.video-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 177.78%; /* Proporção 9:16 (vertical/stories) */
  background: #000;
  overflow: hidden;
}

.video-wrapper video,
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

.video-info {
  padding: 1.5rem;
  text-align: center;
}

.video-info h3 {
  font-size: 1.5rem;
  color: var(--brand-blue);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.video-info p {
  font-size: 1rem;
  color: var(--gray-dark);
  margin-bottom: 1rem;
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

/* Responsivo para vídeos */
@media (max-width: 768px) {
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .video-wrapper {
    padding-top: 125%; /* Proporção ajustada para mobile */
  }
}

/* ==================== DIFERENCIAIS ==================== */
.features {
  background-color: var(--white);
  padding: var(--spacing-lg) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  text-align: center;
}

.feature-item {
  padding: var(--spacing-md);
}

.feature-item i {
  font-size: 3rem;
  color: var(--brand-peach);
  margin-bottom: var(--spacing-sm);
}

.feature-item h4 {
  font-size: 1.3rem;
  color: var(--brand-blue);
  margin-bottom: 0.5rem;
}

.feature-item p {
  font-size: 0.95rem;
  color: var(--gray-dark);
}

/* ==================== NEWSLETTER ==================== */
.newsletter {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--blue-dark) 100%);
  padding: var(--spacing-xl) 0;
}

.newsletter-content {
  text-align: center;
  color: var(--white);
}

.newsletter-content h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

.newsletter-content p {
  font-size: 1.1rem;
  color: var(--blue-light);
  margin-bottom: var(--spacing-md);
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-input {
  flex: 1;
  min-width: 250px;
  padding: 1rem 1.5rem;
  border: none;
  font-size: 1rem;
  font-family: var(--font-body);
}

.newsletter-form .btn {
  padding: 1rem 2.5rem;
  background-color: var(--brand-peach);
}

.newsletter-form .btn:hover {
  background-color: var(--peach-dark);
}

/* ==================== RESPONSIVIDADE ==================== */
@media (max-width: 768px) {
  .hero-slide {
    min-height: 450px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .categories-grid,
  .collections-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .category-image,
  .collection-card {
    height: 350px;
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-input {
    min-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .category-content h3,
  .collection-overlay h3 {
    font-size: 1.8rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}
