/* ==========================================================================
   VARIÁVEIS DE CORES E RESET BÁSICO
   ========================================================================== */
:root {
  --primaria: #fdfaf5;
  --texto: #3c2a2afa;
  --detalhe: #3c2a2afa;
  --glass: rgba(255, 255, 255, 0.5);
  --whatsapp: #25d366;
  --instagram: #e4405f; /* Cor sólida do Instagram para o header */
}

@import url("https://fonts.googleapis.com/css2?family=Great+Vibes&family=Pinyon+Script&family=Playfair+Display:wght@700&family=Montserrat:wght@300;400;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--texto);
  background-color: var(--primaria);
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   FUNDO FIXO COM BLUR
   ========================================================================== */
.bg-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/background_atelier.png");
  background-size: cover;
  background-position: center;
  z-index: -2;
}

/* ==========================================================================
   CABEÇALHO (Navbar) E LOGO
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 10px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--glass);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.logo {
  font-family: "Pinyon Script", cursive;
  font-size: 3rem;
  font-weight: 400;
  color: var(--detalhe);
  text-decoration: none;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

/* Ajuste do Botão de Orçamento no Header */
.btn-header {
  background: var(--detalhe);
  color: white;
  padding: 8px 15px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Novo estilo para o link do Instagram no Header */
.nav-links a i.fa-instagram,
.nav-links a.btn-instagram {
  color: var(--instagram);
  font-size: 1.4rem;
  text-decoration: none;
  transition: transform 0.3s;
}

.nav-links a:hover {
  transform: scale(1.1);
}

/* ==========================================================================
   CONTEÚDO PRINCIPAL (Main)
   ========================================================================== */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-top: 100px;
}

.hero {
  width: 100%;
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

.content-box {
  max-width: 800px;
  text-align: center;
  padding: 40px;
}

.subtitle {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  color: var(--detalhe);
  font-weight: 600;
}

.content-box h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  margin: 20px 0;
}

.cta-group {
  border-radius: 20px;
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

/* Glassmorphism */
/* Este estilo vai direto na caixa que você já criou no HTML */
.content-box {
  /* 1. O efeito de Vidro (Glassmorphism) */
  background: rgba(255, 255, 255, 0.05); /* Branco bem suave */
  backdrop-filter: blur(5px); /* Desfoca o que está atrás da caixa */
  -webkit-backdrop-filter: blur(5px); /* Suporte para Safari/iPhone */

  /* 2. Acabamento e Legibilidade */
  padding: 3rem; /* Espaço interno para o texto respirar */
  border-radius: 20px; /* Arredonda as bordas */
  border: 1px solid rgba(255, 255, 255, 0.3); /* Linha fina de brilho na borda */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); /* Sombra leve para dar profundidade */

  /* 3. Posicionamento para centralizar */
  max-width: 700px; /* Largura máxima da caixa de texto */
  margin: 0 auto; /* Centraliza horizontalmente */
  text-align: center; /* Centraliza o texto */

  /* Garante que o conteúdo fique acima do fundo fixo */
  position: relative;
  z-index: 1; /* Este estilo vai direto na caixa que você já criou no HTML */
  .content-box {
    /* 1. O efeito de Vidro (Glassmorphism) */
    background: rgba(255, 255, 255, 0.15); /* Branco bem suave */
    backdrop-filter: blur(12px); /* Desfoca o que está atrás da caixa */
    -webkit-backdrop-filter: blur(12px); /* Suporte para Safari/iPhone */

    /* 2. Acabamento e Legibilidade */
    padding: 3rem; /* Espaço interno para o texto respirar */
    border-radius: 20px; /* Arredonda as bordas */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Linha fina de brilho na borda */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); /* Sombra leve para dar profundidade */

    /* 3. Posicionamento para centralizar */
    max-width: 700px; /* Largura máxima da caixa de texto */
    margin: 0 auto; /* Centraliza horizontalmente */
    text-align: center; /* Centraliza o texto */

    /* Garante que o conteúdo fique acima do fundo fixo */
    position: relative;
    z-index: 1;
  }

  /* Ajuste para o texto não ficar colado no topo */
  .hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Faz a seção ocupar a tela inteira */
    padding: 20px;
  }
}

/* Ajuste para o texto não ficar colado no topo */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh; /* Faz a seção ocupar a tela inteira */
  padding: 20px;
}

/* ==========================================================================
   BOTÕES GERAIS
   ========================================================================== */
.btn {
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* Botão do WhatsApp (Corpo da página) */
.btn-whatsapp {
  border-radius: 20px;
  background: var(--whatsapp);
  color: white;
  width: auto; /* Ajustado para não ser 20% e quebrar */
  min-width: 200px;
}

.btn-outline {
  border: 2px solid var(--texto);
  color: var(--texto);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--texto);
  color: white;
  transform: translateY(-2px);
}

/* ==========================================================================
   CARROSSEL
   ========================================================================== */
.carrossel-section {
  width: 100%;
  max-width: 700px;
  margin: 60px auto;
  padding: 0 20px;
  position: relative;
}

.carrossel-track-container {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.carrossel-track {
  display: flex;
  list-style: none;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.45, 0, 0.55, 1);
}

.carrossel-slide {
  flex: 0 0 100%;
}

.carrossel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.carrossel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  border: 1px solid var(--detalhe);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--detalhe);
}

.btn-left {
  left: 15px;
}
.btn-right {
  right: 15px;
}

/* ==========================================================================
   RODAPÉ (Footer)
   ========================================================================= */
.footer-site {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--glass);
  padding: 10px;
  text-align: center;
  font-size: 0.8rem;
  border-top: 1px solid rgba(188, 152, 106, 0.2);
  z-index: 1000;
}

/* ==========================================================================
   AJUSTES RESPONSIVOS (MOBILE)
   ========================================================================== */
@media screen and (max-width: 768px) {
  body {
    /* Imagem responsiva corrigida */
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
      url("images/background_atelier.png");
    background-attachment: scroll !important;
    background-size: cover;
    background-position: 25% center;
    background-repeat: no-repeat;
  }

  .navbar {
    padding: 10px 4%;
  }

  .logo {
    font-size: 2.2rem;
  }

  .btn-header {
    padding: 6px 10px;
    font-size: 0.75rem;
  }

  .content-box h1 {
    font-size: 2rem !important;
    padding: 0 10px;
  }

  /* Ajuste dos botões no mobile para não conflitar */
  .cta-group {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .btn-outline {
    width: 90% !important; /* Ambos ficam largos e centralizados no mobile */
    margin: 5px 0;
  }

  .btn-whatsapp {
    border-radius: 20px;
    width: 20%; /* Ambos ficam largos e centralizados no mobile */
    margin: 5px 0;
  }

  .btn-left {
    left: 5px;
  }
  .btn-right {
    right: 5px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
