/* ======================================================
   hero.css — Hero com carrossel
   Responsável: Maria
====================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* ===== SLIDES ===== */
.hero-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.ativo { opacity: 1; }

.hero-slide:nth-child(1) {
  background-image: url('https://images.unsplash.com/photo-1621303837174-89787a7d4729?w=1600&q=80');
}
.hero-slide:nth-child(2) {
  background-image: url('https://images.unsplash.com/photo-1464349095431-e9a21285b5f3?w=1600&q=80');
}
.hero-slide:nth-child(3) {
  background-image: url('https://images.unsplash.com/photo-1567171466295-4afa63d45416?w=1600&q=80');
}

/* ===== OVERLAY ===== */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(60, 25, 20, 0.58);
  z-index: 1;
}

/* ===== CONTEÚDO ===== */
.hero-conteudo {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  text-align: center;
}
.hero-slogan {
  font-family: 'Great Vibes', cursive;
  font-size: 2.5rem;
  color: #F5D98A;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  animation: fadeDown 1s ease forwards;
}
.hero-titulo {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 3px 16px rgba(0,0,0,0.75), 0 1px 4px rgba(0,0,0,0.5);
  animation: fadeDown 1s ease 0.2s both;
}
.hero-subtitulo {
  font-family: 'Lato', sans-serif;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 36px;
  font-weight: 400;
  letter-spacing: 0.5px;
  background: rgba(0,0,0,0.28);
  padding: 8px 24px;
  border-radius: 30px;
  animation: fadeDown 1s ease 0.4s both;
}
.hero-btn {
  display: inline-block;
  background: var(--cor-escuro);
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 16px 44px;
  border-radius: 30px;
  letter-spacing: 1.5px;
  border: 2px solid var(--cor-destaque);
  transition: all 0.3s ease;
  animation: fadeDown 1s ease 0.6s both;
  text-transform: uppercase;
}
.hero-btn:hover {
  background: var(--cor-destaque);
  color: var(--cor-escuro);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* ===== SETAS ===== */
.hero-seta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255,255,255,0.18);
  border: none;
  color: #fff;
  font-size: 1.6rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  backdrop-filter: blur(4px);
}
.hero-seta:hover { background: rgba(255,255,255,0.35); }
.hero-seta.prev { left: 24px; }
.hero-seta.next { right: 24px; }

/* ===== BOLINHAS ===== */
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.hero-dot.ativo {
  background: var(--cor-destaque);
  transform: scale(1.3);
}

/* ===== ANIMAÇÃO ===== */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVO — 768px ===== */
@media (max-width: 768px) {
  .hero { min-height: 65vh; }
  .hero-conteudo { min-height: 65vh; padding: 16px; }
  .hero-titulo { font-size: 2.4rem; }
  .hero-slogan { font-size: 1.8rem; }
  .hero-subtitulo { font-size: 0.95rem; padding: 6px 16px; }
  .hero-btn { padding: 14px 28px; font-size: 0.88rem; }
  .hero-seta { width: 38px; height: 38px; font-size: 1.2rem; }
  .hero-seta.prev { left: 12px; }
  .hero-seta.next { right: 12px; }
}

/* ===== RESPONSIVO — 480px ===== */
@media (max-width: 480px) {
  .hero-titulo { font-size: 1.9rem; }
  .hero-slogan { font-size: 1.5rem; }
  .hero-subtitulo { font-size: 0.85rem; }
}