/* 
   Variacoes de Hero - Aeroluce
   ----------------------------
   Para ativar, mude a classe na <section class="hero"> no index.html.
   Classes disponiveis: .hero-curator, .hero-immersive, .hero-typography
*/

/* --- 1. O CURADOR (Galeria) --- */

.hero-curator .hero-grid {
  grid-template-columns: 1fr 1fr;
  gap: 120px;
}

.hero-curator .hero-image {
  padding: 40px;
  background: rgba(128, 128, 128, 0.03); /* Fundo sutil "Passpartout" */
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-curator .hero-photo {
  aspect-ratio: 1 / 1; /* Foto quadrada estilo Instagram de galeria */
  width: 80%;
  border-radius: 4px; /* Minimalismo radical: cantos quase secos */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
}

.hero-curator .hero-video-badge {
  display: none; /* Hero curador nao precisa de badge flutuante */
}


/* --- 2. IMERSAO NA ATMOSFERA --- */

.hero-immersive {
  min-height: 100svh;
  color: var(--text);
  background: var(--bg);
  padding: 0;
  position: relative;
  overflow: hidden;
}

/* Imersividade total: header absolutista e transparente */
.is-hero-immersive .site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  z-index: 100;
}

/* Garante que o Aeroluce nao tenha fundo ou barreira */
.is-hero-immersive .site-header .logo,
.is-hero-immersive .site-header .nav-links a {
  color: var(--text) !important;
}

/* Tira o espacamento que os navegadores as vezes adicionam */
.is-hero-immersive main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Botao Agendar conversa mais sutil no modo imersivo */
body:has(.hero-immersive) .nav-cta {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
  opacity: 0.7;
}

body:has(.hero-immersive) .nav-cta:hover {
  background: var(--text);
  color: var(--bg);
  opacity: 1;
  transform: translateY(-2px);
}

.hero-immersive .hero-grid {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center; /* Centraliza horizontalmente */
}

.hero-immersive .hero-image {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  z-index: 1;
}

.hero-immersive .hero-photo {
  aspect-ratio: auto;
  height: 100%;
  width: 100%;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

.hero-immersive .hero-photo img {
  filter: brightness(1.0); /* Leve brilho para compensar texto preto */
  transition: transform 1.5s ease;
  object-fit: cover;
  object-position: center;
}

.hero-immersive:hover .hero-photo img {
  transform: scale(1.03);
}

.hero-immersive .hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4) 0%, transparent 100%, rgba(255,255,255,0.2) 100%);
  z-index: 2;
}

.hero-immersive .hero-copy {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.hero-immersive .hero-copy h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.hero-immersive .hero-copy h1 strong {
  font-weight: 600;
  color: var(--text); /* Mantem preto para ficar minimalista */
}

.hero-immersive .hero-copy .lead {
  color: var(--text-gray);
  font-size: 1.1rem;
  margin: 0 auto;
}

.hero-immersive .hero-video-badge {
  bottom: 40px;
  right: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Mobile adjustments for immersive variant */
@media (max-width: 980px) {
  .hero-immersive {
    min-height: 100svh;
  }

  .is-hero-immersive .site-header {
    padding-top: 40px; /* Logo flutua para dentro da imagem */
    pointer-events: none;
  }
  
  .is-hero-immersive .site-header .logo {
    pointer-events: auto;
  }

  .hero-immersive .hero-grid {
    min-height: 100svh;
    padding-top: 0; /* Tirando padding para centralizar na tela toda */
  }

  .hero-immersive .hero-photo img {
    object-position: 65% center;
  }
}


/* --- 3. TIPOGRAFIA PURA (Radical) --- */

.hero-typography {
  min-height: 70svh;
  display: flex !important;
  justify-content: center;
  text-align: center;
}

.hero-typography .hero-grid {
  display: flex;
  justify-content: center;
  max-width: 800px;
}

.hero-typography .hero-image {
  display: none; /* Remove a imagem totalmente na Hero */
}

.hero-typography .hero-copy h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 200;
  letter-spacing: -0.05em;
  margin-bottom: 40px;
}

.hero-typography .hero-copy .lead {
  margin: 0 auto;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  max-width: none;
}

/* --- 4. MINIMALISMO ABSOLUTO (Fundo Cinza) --- */

.hero-minimal {
  min-height: 80svh;
  background-color: #f5f5f5; /* Cinza claro e sofisticado */
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.is-hero-minimal .site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent !important;
  border-bottom: none !important;
  z-index: 100;
}

/* No mobile, removemos o grid e focado apenas no texto central */
.hero-minimal .hero-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-minimal .hero-copy {
  max-width: 1150px;
  padding: 0 20px;
}

.hero-minimal .hero-copy h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1; /* Deixa o titulo mais espalhado verticalmente */
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: 0.02em; /* Um pouco mais de aire entre as letras tambem */
}

.hero-minimal .hero-copy h1 strong {
  font-weight: 500;
}

.hero-minimal .hero-copy .hero-sub {
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-gray);
  opacity: 0.8;
  margin-bottom: 8px;
  display: block;
}

.hero-minimal .hero-image {
  display: none; /* Hero minimal nao usa imagem de destaque na dobra */
}

@media (max-width: 980px) {
  .hero-minimal {
    min-height: 70svh;
  }
}
