/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #1a1a1a;
  color: #333;
  overflow-x: hidden;
}

/* ===== Animação de Scroll Fade-in ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px); /* Aumentamos a distância inicial */
  transition: opacity 0.8s ease-out, transform 0.8s ease-out; /* Aumentamos a duração */
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.logo-area-link {
  text-decoration: none;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none; /* <-- ADICIONE ESTA LINHA */
}

/* ===== Seção de Vídeo (Design Refinado) ===== */

#video-section {
  background-color: #1a1a1a; /* COR ALTERADA - Igual à navbar */
  padding: 5rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-wrapper {
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.titulo-secao-video {
  font-size: 1.8rem;
  font-family: "Montserrat", sans-serif;
  color: #f7931e; /* COR ALTERADA - Destaque com a cor da marca */
  margin-bottom: 2.5rem;
  text-align: center;
  opacity: 1; /* Opacidade máxima para a cor se destacar */
  font-weight: 700;
  letter-spacing: 0.5px; /* Espaçamento sutil para mais elegância */
}

.video-container {
  border: 1px solid #333;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.7);
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 2.5rem; /* Aumentei um pouco o espaço */
}

#video-player {
  width: 100%;
  height: auto;
  display: block;
}

#video-info h3 {
  font-size: 2rem; /* ESTILO ALTERADO - Título maior e mais pesado */
  font-family: "Montserrat", sans-serif;
  font-weight: 800; /* Mais forte */
  color: #fff; /* Branco puro para máximo contraste */
  margin-bottom: 0.8rem;
}

#video-info p {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 1.8rem; /* Mais espaço antes do botão */
  line-height: 1.6;
  max-width: 550px; /* Texto um pouco mais contido */
  margin-left: auto;
  margin-right: auto;
}

#video-info a {
  color: #f7931e;
  border: 1px solid #f7931e;
  padding: 0.7rem 1.8rem; /* Botão um pouco maior */
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s, color 0.3s;
  font-weight: 600; /* Texto do botão mais forte */
}

#video-info a:hover {
  background-color: #f7931e;
  color: #1a1a1a;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #1a1a1a;
  padding: 1rem 2rem;
  z-index: 10000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transform: translateY(0);
  transition: transform 0.4s ease;
}
.navbar.hide {
  transform: translateY(-100%);
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo {
  height: 60px;
}
.brand-name {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #fff;
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: #f7931e;
}
.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #1a1a1a;
  padding: 1rem;
}
.mobile-menu a {
  padding: 1rem 0;
  text-decoration: none;
  color: #fff;
  border-bottom: 1px solid #333;
}
.mobile-menu.show {
  display: flex;
} /* Adicionado para exibir o menu mobile */

/* ===== HERO (apenas imagem) ===== */
.hero {
  position: relative;
  min-height: 70vh; /* altura de vitrine */
  width: 100%;
  overflow: hidden;
  isolation: isolate; /* para overlays futuros se quiser */
}

/* imagem ocupa toda a área, sem distorcer */
.hero-media,
.hero-media picture,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media img {
  object-fit: cover;
  object-position: center;
}

/* Container do texto */
.hero-content {
  position: absolute;
  inset: 0;
  display: flex; /* Usamos flex para centralizar */
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 2rem; /* Espaçamento lateral */
  background: rgba(0, 0, 0, 0.2); /* Leve escurecimento para melhorar leitura */
}

/* Estilo do texto principal (H1) */
.hero-content h1 {
  /* A FONTE NOVA */
  font-family: "Cormorant Garamond", serif;
  font-weight: 400; /* Peso normal, essa fonte já é bem desenhada */

  /* Tamanho responsivo */
  font-size: clamp(2.5rem, 6vw, 4.5rem);

  line-height: 1.2;
  color: #ffffff; /* Cor branca pura */

  /* Sombra para legibilidade sobre a foto */
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);

  /* Largura máxima para o texto não ficar muito esticado */
  max-width: 900px;
}

/* remover estilos antigos do typewriter, se existirem */
.typed-text,
.cursor {
  display: none !important;
}

.sobre-a2 {
  background-color: #232323;
  padding: 5rem 2rem;
  display: flex;
  justify-content: center;
}

.carrossel-secao {
  background-color: #232323;
  padding: 4rem 1rem;
  display: flex;
  justify-content: center;
}

.carrossel-wrapper {
  position: relative;
  max-width: 1200px;
  width: 100%;
}

.carrossel {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.card-carrossel {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  background-color: #2a2a2a;
  color: #e0e0e0;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: opacity 0.6s ease;
}

/* Tornamos a regra específica para o PRIMEIRO carrossel */
.carrossel-secao .carrossel {
  position: relative;
  overflow: hidden;
  height: 420px;
}

.card-carrossel.ativo {
  opacity: 1;
  pointer-events: auto;
  position: absolute; /* <-- MUDANÇA CRÍTICA: garante que não haja "salto" de layout */
  top: 0;
  left: 0;
  z-index: 1;
}
.conteudo-card {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.conteudo-card h2 {
  font-size: 1.8rem;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 1rem;
  color: #fff;
}

.conteudo-card p {
  margin-bottom: 1rem;
  line-height: 1.5;
  color: #ccc;
}

.conteudo-card span {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 1.5rem;
}

.conteudo-card a {
  color: #f7931e;
  border: 1px solid #f7931e;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  width: fit-content;
  transition: background-color 0.3s;
}

.conteudo-card a:hover {
  background-color: #f7931e;
  color: #1a1a1a;
}

.imagem-card {
  flex: 1;
}

.imagem-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Botões de navegação */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none; /* ❌ remove fundo */
  color: rgba(255, 255, 255, 0.3); /* 🤍 branco bem leve */
  font-size: 2.8rem;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: color 0.3s;
}

.nav:hover {
  color: rgba(247, 147, 30, 0.8); /* 🟧 laranja translúcido no hover */
}

/* Posicionamento mais lateral */
.nav.prev {
  left: -3.2rem;
}

.nav.next {
  right: -3.2rem;
}

.paginacao {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 11;
}
.paginacao button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.paginacao button.is-active {
  background: #f7931e;
  transform: scale(1.2);
}

.pre-lancamentos {
  background-color: #232323;
  padding: 5rem 2rem;
  color: #e0e0e0;
}

.titulo-secao {
  font-size: 1.8rem;
  font-family: "Montserrat", serif;
  color: #aaa;
  margin-bottom: 2.5rem;
  text-align: left;
  opacity: 0.6;
}

.cards-pre {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.card-pre {
  flex: 1 1 48%;
  background-color: #1f1f1f; /* leve contraste com fundo */
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.card-pre:hover {
  transform: translateY(-5px);
}

.imagem-pre img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.info-pre {
  padding: 1.5rem;
}

.info-pre h3 {
  font-size: 1.2rem;
  font-family: "Montserrat", sans-serif;
  color: #fff;
  margin-bottom: 0.6rem;
}

.info-pre p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 0.8rem;
}

.categoria {
  font-size: 0.75rem;
  color: #bbb;
  background-color: #2a2a2a;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  text-transform: uppercase;
}
.essencia-a2 {
  background-color: #000;
  padding: 4rem 2rem;
  color: #e0e0e0;
  text-align: center;
}

.essencia-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.bloco {
  flex: 1 1 30%;
  background-color: #232323;
  padding: 2rem;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.bloco h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-family: "Montserrat", sans-serif;
  color: #fff;
}

.bloco p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
}

.carrossel-lancamentos {
  background-color: #232323;
  padding: 4rem 2rem;
  color: #e0e0e0;
}

.carrossel-wrapper {
  position: relative;
  max-width: 1200px; /* mantenha esse valor se estiver adequado */
  width: 100%;
  margin: 0 auto;
}

.carrossel-lancamentos h2 {
  font-size: 2rem;
  font-family: "Montserrat", sans-serif;
  color: #aaa;
  margin-bottom: 2rem;
  text-align: left;
  opacity: 0.6;
}

.carrossel {
  position: relative;
  min-height: 400px;
}

.card-lanc {
  display: none;
  background-color: #1f1f1f;
  border-radius: 2px;
  overflow: hidden;
  width: 100%; /* agora ocupa toda a área do wrapper */
  transition: opacity 0.4s ease;
  flex-direction: column;
}

.card-lanc.ativo {
  display: flex;
}

.imagem-lanc {
  position: relative;
}

.imagem-lanc img {
  width: 100%;
  height: 400px; /* altura mais presente */
  object-fit: cover;
}

.titulo-sobre-imagem {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-family: "Montserrat", sans-serif;
}

.info-lanc {
  padding: 1.2rem;
}

.info-lanc p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 0.5rem;
}

.categoria {
  font-size: 0.75rem;
  background-color: #2a2a2a;
  color: #bbb;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  text-transform: uppercase;
}

/* Navegação */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  color: rgba(255, 255, 255, 0.3);
  font-size: 2.5rem;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: color 0.3s;
}

.nav:hover {
  color: rgba(247, 147, 30, 0.8);
}

.nav.prev {
  left: -3rem;
}

.nav.next {
  right: -3rem;
}

.footer {
  background-color: #1a1a1a;
  color: #ccc;
  padding: 4rem 2rem 2rem;
  font-size: 0.95rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-info,
.footer-mapa {
  flex: 1 1 300px;
}

.footer h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-family: "Montserrat", sans-serif;
}

.footer a {
  color: #ccc;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #f7931e;
}

.icone {
  margin-right: 0.5rem;
  font-size: 1rem;
  display: inline-block;
}

.redes {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.rede svg {
  transition: fill 0.3s ease;
}

.rede:hover svg {
  fill: #f7931e;
}

.footer-mapa p {
  margin-bottom: 0.5rem;
  color: #ccc;
}

.mapa-embed iframe {
  width: 100%;
  height: 180px;
  border-radius: 8px;
  border: 0;
  margin-top: 0.5rem;
}

/* Copyright */
.footer-copy {
  border-top: 1px solid #333;
  margin-top: 3rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: #777;
}
.footer-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.footer-line img {
  width: 20px;
  height: 20px;
  opacity: 0.8;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social img {
  width: 22px;
  height: 22px;
  opacity: 0.7;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-social img:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Responsivo */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .mobile-menu.show {
    display: flex;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .hero-content h1 {
    font-size: 3rem; /* também aumentada no mobile */
  }

  .card-a2 {
    flex-direction: column;
  }

  .a2-texto,
  .a2-imagem {
    flex: none;
    width: 100%;
  }

  .a2-texto {
    padding: 2rem;
  }

  .a2-texto h2 {
    font-size: 1.5rem;
  }
  .card-carrossel {
    flex-direction: column;
  }

  .carrossel {
    min-height: 300px;
  }
  /* ===== CORREÇÃO CARROSSEL DESTAQUES RESPONSIVO ===== */

  /* Ajusta a altura do carrossel para ser automática no mobile */
  .carrossel-secao .carrossel {
    height: auto;
    min-height: 550px; /* Garante uma altura mínima para o conteúdo */
  }

  .imagem-card {
    height: 260px;
  }

  .conteudo-card h2 {
    font-size: 1.5rem;
  }

  .conteudo-card {
    padding: 1.5rem;
  }

  .bloco {
    flex: 1 1 100%;
  }

  .imagem-lanc img {
    height: 220px;
  }

  .card-lanc {
    max-width: 100%;
    margin: 0 1rem;
  }
  .titulo-sobre-imagem {
    font-size: 1.1rem;
    bottom: 0.8rem;
  }

  .footer-container {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-copy {
    font-size: 0.75rem;
  }

  /* ===== Pré-lançamentos — carrossel horizontal no mobile ===== */
  .pre-lancamentos .titulo-secao {
    font-size: 1rem;
    margin: 0 16px 10px; /* pequeno e alinhado com os cards */
    text-align: left;
    opacity: 0.85;
  }

  /* faixa vira scroller horizontal (sobrescreve o flex antigo) */
  .pre-lancamentos .cards-pre {
    display: flex !important;
    flex-wrap: nowrap !important; /* <— impede quebrar linha */
    justify-content: flex-start !important;
    overflow-x: auto;
    gap: 14px;
    padding: 4px 16px 8px; /* gutter interno */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  /* cada card ocupa ~85% da largura da tela e “encaixa” */
  .pre-lancamentos .card-pre {
    flex: 0 0 98% !important; /* de 85 → 92 */
    max-width: 98%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  /* imagem com proporção fixa (sem pulo) */
  .pre-lancamentos .imagem-pre {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #151515;
  }
  .pre-lancamentos .imagem-pre img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  /* tipografia compacta no mobile */
  .pre-lancamentos .info-pre {
    padding: 12px;
  }
  .pre-lancamentos .info-pre h3 {
    font-size: 1rem;
    line-height: 1.25;
    margin: 4px 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* título em até 2 linhas */
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .pre-lancamentos .info-pre p {
    font-size: 0.92rem;
  }

  /* esconde a barra de rolagem (mantém o swipe) */
  .pre-lancamentos .cards-pre {
    scrollbar-width: none;
  }
  .pre-lancamentos .cards-pre::-webkit-scrollbar {
    display: none;
  }
  /* ===== Responsivo da Seção de Vídeo ===== */
  #video-section {
    padding: 4rem 1rem; /* Reduz o espaçamento vertical para mobile */
  }

  .titulo-secao-video {
    font-size: 1.5rem; /* Diminui o título principal */
    margin-bottom: 2rem;
  }

  #video-info h3 {
    font-size: 1.6rem; /* Diminui o título do empreendimento */
  }

  #video-info p {
    font-size: 0.95rem; /* Ajusta o texto da descrição */
    line-height: 1.5;
  }

  #video-info a {
    padding: 0.6rem 1.5rem; /* Botão ligeiramente menor */
    font-size: 0.9rem;
  }
  .hero-content h1 {
    /* Reduz o tamanho da fonte e ajusta a altura da linha no mobile */
    font-size: 2.7rem;
    line-height: 1.3;
  }
  .carrossel-secao .nav,
  .carrossel-lancamentos .nav {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu,
  .mobile-menu.show {
    transition: none;
  }
}

/* Tablet: 2 colunas */
@media (min-width: 768px) {
  .cards-pre {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

/* Desktop grande (opcional): 3 colunas se tiver volume */
@media (min-width: 1200px) {
  .cards-pre {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* Ajustes finos mobile */
@media (max-width: 768px) {
  .pre-lancamentos {
    padding: 40px 16px;
  }
  .info-pre {
    padding: 14px;
  }
  .info-pre h3 {
    font-size: 1.02rem;
  }
  .info-pre p {
    font-size: 0.94rem;
  }
}
