/* ===== styles/hero.css ===== */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--cor-primaria);
  transition: background-color 0.6s ease;
}

/* Padrão decorativo no hero */
.hero-bg-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(255,255,255,0.07), transparent),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(0,0,0,0.15), transparent);
  pointer-events: none;
}

.hero-panels {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  pointer-events: none;
}
.hero-panels-vertical { flex-direction: row; }
.hero-panels-vertical .hero-panel { flex: 1 1 0; height: 100%; }

.hero-panels-horizontal { flex-direction: column; }
.hero-panels-horizontal .hero-panel { flex: 1 1 0; width: 100%; }

.hero-panel {
  display: block;
  background-color: var(--cor-primaria);
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 7rem 1.5rem 5rem;
  flex-wrap: wrap;
}

.hero-image-wrap {
  flex: 1 1 320px;
  max-width: 460px;
  position: relative;
}

.hero-image-wrap::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 24px;
  border: 2px solid rgba(255,255,255,0.2);
  z-index: 0;
}

.hero-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
  position: relative;
  z-index: 1;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.hero-text {
  flex: 1 1 380px;
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.4rem 1rem;
  border-radius: 40px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.hero-description {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  opacity: 0.88;
  line-height: 1.75;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.2s;
}

.hero-btn-primary {
  background: #fff;
  color: var(--cor-primaria);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.hero-btn-primary:hover {
  background: rgba(255,255,255,0.92);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}

.hero-btn-secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(6px);
}

.hero-btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.7);
}

/* Estatísticas rápidas no hero */
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  flex-wrap: wrap;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
}

.hero-stat-label {
  font-size: 0.78rem;
  opacity: 0.7;
  letter-spacing: 0.05em;
  margin-top: 0.3rem;
}

/* Dots */
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 0.6rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.2s ease, border-color 0.25s ease, width 0.25s ease;
}

.hero-dot:hover {
  border-color: #fff;
  transform: scale(1.1);
}

.hero-dot.is-active {
  background: #fff;
  border-color: #fff;
  width: 28px;
  border-radius: 5px;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.55;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-scroll-hint::after {
  content: '';
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.6);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.6); }
}

@media (max-width: 768px) {
  .hero-content {
    padding: 6rem 1.2rem 4rem;
    gap: 2rem;
    flex-direction: column-reverse;
  }
  .hero-image-wrap { max-width: 100%; }
  .hero-text { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-scroll-hint { display: none; }
}
