/* =========================================
 * ESTILOS DOS TOASTS (POPUP PREMIUM)
 * ========================================= */
#toast-sucesso, #toast-curriculo {
  position: fixed;
  bottom: 30px;
  right: 30px; /* Os dois ancorados na direita para a animação funcionar! */
  background-color: #421F38; /* Fundo alinhado com a identidade */
  color: #ffffff;
  padding: 16px 24px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-left: 4px solid #957755; /* Detalhe dourado/marrom */
  transform: translateX(150%); /* Empurra 150% para a direita (fora da tela) */
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 9999;
  font-family: inherit; /* Vai herdar a tipografia do seu site */
}

/* Quando o JS adiciona esta classe, o Toast entra na tela */
#toast-sucesso.toast-show, #toast-curriculo.toast-show {
  transform: translateX(0);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-text h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #957755;
}

.toast-text p {
  margin: 4px 0 0 0;
  font-size: 14px;
  opacity: 0.9;
}

#fechar-toast {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

#fechar-toast:hover {
  opacity: 1;
}

/* Ajuste Mobile */
@media (max-width: 600px) {
  #toast-sucesso, #toast-curriculo {
    bottom: 20px;
    right: 20px;
    left: 20px; /* No mobile ele ocupa a largura da tela */
    transform: translateY(150%); /* Esconde jogando para baixo no mobile */
  }
  
  #toast-sucesso.toast-show, #toast-curriculo.toast-show {
    transform: translateY(0); /* Sobe para a tela no mobile */
  }
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: white;
  transition: all 0.3s ease;
}







html {
  /* Força a barra de rolagem vertical a aparecer sempre, 
     evitando que a NAV pule quando você muda de página */
  overflow-y: scroll; 
}

body {
  background-color: #E1DAD2;
  margin: 0;
  padding: 0;
  /* Remova o max-width: 100vw se puder, ele causa bugs com scroll */
  width: 100%;
  overflow-x: hidden;
  background-image: url(./assets/fundoContato.webp);
  background-position: center;
  background-repeat: no-repeat;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
}

body{
  background-color: #E1DAD2;
  zoom: 0.9;
}

a{
  text-decoration: none;
  color: white;
}

ul li{
  list-style: none;
}


/* NAVEGAÇÃO */

header{
  background-color: #421F38;
}

nav{
  display: flex;
  max-width: 1160px;
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

nav img{
  width: 220px;
}

.navegacao{
  display: flex;
  list-style: none;
  font-family: 'Inter';
  gap: 20px;
  color: white;
}

/* DROPDOWN GALERIA */
.dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown > a {
  color: white;
  text-decoration: none;
  display: block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #421F38; /* Fundo roxo/vinho do header */
  min-width: 180px;
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.4);
  z-index: 1001;
  border: 1px solid #957755; /* Detalhe dourado */
  border-radius: 8px;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 0;
  margin-top: 10px;
}

/* Triângulo indicador */
.dropdown-content::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #957755;
}

.dropdown-content a {
  color: white !important;
  padding: 12px 20px;
  text-decoration: none;
  display: block !important;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.dropdown-content a:hover {
  background-color: #957755;
  color: white !important;
}

.dropdown:hover .dropdown-content,
.dropdown.active .dropdown-content {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Responsividade Dropdown */
@media (max-width: 768px) {
  .dropdown {
    flex-direction: column;
    align-items: flex-start;
  }
  .dropdown.active .dropdown-content {
    display: block !important;
    animation: none !important;
  }
  .dropdown-content {
    position: static;
    display: none !important; /* Oculto por padrão no mobile para abrir no clique */
    background-color: transparent;
    box-shadow: none;
    border: none;
    padding-left: 15px;
    transform: none;
    margin-top: 0;
  }
  
  .dropdown-content::before {
    display: none;
  }
  
  .dropdown-content a {
    padding: 10px 0;
    font-size: 14px;
    opacity: 0.8;
  }
}

/* CONTEUDO */

ul, li{
    margin: 0;
    padding: 0;
    list-style: none;
}
textarea{
  font-size: 16px;
  padding: 2px;
}


 a{
    text-decoration: none !important;
     color: white ;
  }

  footer a{
    color: white;
  }


.photo-grid{
  margin-left: 60px;
  margin-top: 40px;
}

.photo-grid img{
  border-radius: 10px;
}

    .labelObjetivo{
    margin-bottom: 5px;
  }

  .logoPrincipal{
  height: 57px;
  cursor: pointer;
}

.contatoTime{
  font-size: 52px;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  text-wrap: nowrap;
  color: white;
  margin-bottom: 20px;
}

.contatoTime span{
  font-style: italic;
  color: #957755;
}

.contatoCurriculo{
  font-size: 52px;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  text-wrap: nowrap;
  color: #421F38;
    margin-bottom: 20px;

}

.contatoCurriculo span{
  font-style: italic;
  color: #957755;
}

#curriculo{
  width: 500px;
  height: 40px;
  border: none;
  padding: 10px;
}


.contatoFundo{
  position: absolute;
  right: 0;
  top: 50px;
  

  

  z-index: -1;
}







.container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Duas colunas principais */
  gap: 20px; /* Espaço entre formulários e fotos */
  max-width: 1160px;
  margin: 0 auto;
  
  padding-top: 40px;
 
}


.forms-column {
  display: flex;
  flex-direction: column;
  gap: 60px;
}


  form{
  overflow: hidden;
}

.form h1{
  color: #421F38;
  font-family: "Playfair Display";
  font-size: 64px;
  font-weight: 100;
  margin-left: 110px;
  margin-bottom: 0px;
}

.form h1::after{
  content: '';
  display: block;
  width: 420px;
  height: 2px;
  background-color: white;
  margin-top: 5px;
}



.ready{
  font-style: italic;
  font-weight: 500;
}

label{
  display: block;
  margin-top: 16px;
  margin-bottom: 10px;
  color: #322D31;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
}


input[type="file"] {
  display: none;
}

.labelCurriculo{
  display: block;
  margin-top: 30px;
  width: 500px;
  height: 100px; 
  background-color: #f9f9f9; 
  color: #757575; 
  border: none;
  padding: 10px;
  font-size: 16px;
  border-radius: 4px;
  
  cursor: pointer;
  box-sizing: content-box;
}


input{
  display: block;
  margin-top: 10px;
  width: 520px;
  height: 20px;
  border: none;
  padding: 20px;
  font-size: 16px;
  border-radius: 4px;
}

#enviar{
  margin-top: 30px;
  width: 240px;
  height: 40px;
  background: #0F1F2E;
  color: #E1DAD2;
  font-family: Inter;
  border: none;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 130px;
  border-radius: 4px;
  cursor: pointer !important;
  z-index: 1000;
  position: relative;
}


#objetivo{
  height: 100px;
  width: 520px;
}


#conheceu{
  height: 50px;
  width: 520px;
  border-radius: 4px;
   font-size: 16px;
}
textarea{
  font-size: 16px;
  padding: 2px;
}

textarea{
  font-size: 16px;
  padding: 2px;
  border: none;
}

/* ROXO */

.roxo label{
  color: white;
}


.roxo{
  background-color: #421F38;
  padding-left: 25px;
  padding-bottom: 20px;
  border-radius: 30px;
}


/* FOOTER */

footer{
 background: #421F38;
  height: 250px;
  display: flex;
  position: relative;
  margin-top: 80px;
  font-family: 'Playfair Display';
}

.xadrez{
  position: absolute;
  bottom: -1;
  left: -1;
  right: 0;
  height: 250px;
}



.NaveFooter{
  font-family: 'Playfair Display', serif;
  color: white;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 400;

}

.FooterNavegacao{
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: -100px;  
}


.NavFooter{
  display: flex;
  flex-direction: column;
  margin-left: 100px;
  margin-top: 50px;
  font-family: 'Inter', sans-serif;
  color: white;
  font-size: 18px;
}

.tituloNav{
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 14px;
  font-family: 'Playfair Display', serif;
}



.contatoFooter{
  display: flex;
  flex-direction: column;
  margin-left: 120px;
  margin-top: 50px;
  font-family: 'Playfair Display', serif;
  color: white;
  font-size: 18px;
}


.logoFooter{
  height: 50px;
  cursor: pointer;
}


.logosFooter{
  display: flex;
  gap: 20px;
  position: absolute;
  bottom: 10px;
  left: 90px;
  height: 60px;
}



/* --- RESPONSIVIDADE CONTATO (768px e 425px) --- */

@media (max-width: 768px) {
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1100;
    }

nav {
        width: 100%;
        max-width: 100vw;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
        margin-left: auto;
        margin-right: auto;
    }

    .logoPrincipal  {
      width: 150px;
      height: auto;
    }

    .hamburger {
    display: flex; /* Mostra o botão no mobile */
    z-index: 1100;
  }

  .navegacao {
    position: fixed;
    top: 0;
    right: -100%; /* Esconde o menu para fora da tela */
    width: 50%;
    height: 50vh;
    background-color: #421F38;
    flex-direction: column;
    justify-content: center;
       align-items: left;
    padding-left: 50px;
    transition: 0.4s;
    box-shadow: -10px 0 20px rgba(0,0,0,0.3);
    z-index: 1000;
  }

  .navegacao.active {
    right: 0; /* Traz o menu para dentro da tela */
  }

  /* Animação do X no hambúrguer quando ativo */
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

.navegacao li {
    font-size: 14px;
  }

  .container {
    grid-template-columns: 1fr; /* Transforma as duas colunas em uma */
    padding: 110px 20px 40px 20px;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    gap: 40px;
  }

  .forms-column {
    order: 1; /* Garante que o formulário venha primeiro */
    gap: 40px;
  }

  /* Ajuste dos Títulos */
  .contatoTime, .contatoCurriculo {
    font-size: 36px;
    text-wrap: wrap; /* Permite que o título quebre linha no mobile */
    text-align: center;
  }

  /* Ajuste dos Inputs (Removendo larguras fixas) */
  input, #conheceu, #objetivo, .labelCurriculo {
    width: 100% !important; 
    max-width: 100%;
  }

  #enviar {
    margin-left: 0;
    width: 100%; /* Botão ocupa a largura toda para facilitar o toque */
  }

  /* Grid de Fotos no Mobile */
  .photo-grid {
    order: 2;
    margin-left: 0; /* Remove o recuo lateral do desktop */
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .img-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .photo-grid img {
    margin-top: 0;
    width: 100%;
    border-radius: 15px;
  }

    /* Footer - Padding Cimentado nas laterais e gap coeso */
    footer { 
        height: auto; 
        padding: 40px 20px; 
        padding-right: calc(50% - 55px); /* Protege a área de texto */
        width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column; 
        align-items: flex-start; 
        text-align: left; 
        position: relative;
        overflow: hidden;
        background-color: #421F38;
        background-image: url('./assets/xadrezFooter.webp');
        background-repeat: repeat-y; 
        background-position: right top; 
        background-size: calc(50% - 55px) 33.333%; /* Pega o meio menos 55px, repetindo exatas 3x na altura (100 / 3) */
    }
    .FooterNavegacao { flex-direction: column; margin-top: 0; gap: 30px; align-items: flex-start; }
    .NavFooter, .contatoFooter { 
        margin-left: 0; 
        margin-top: 0; 
        align-items: flex-start; 
        text-align: left; 
        word-break: break-word; /* Evita que o email comprido estoure o layout da esquerda */
    }
    .logosFooter { position: static; margin-top: 30px; justify-content: flex-start; gap: 15px; }
    .xadrez { 
        display: none !important; /* Escondemos a img HTML que é ruim de escalar e duplicar em CSS puro =] */
    }

}

/* Ajustes finos para Celulares (425px) */
@media (max-width: 425px) {
  .contatoTime, .contatoCurriculo {
    font-size: 28px;
  }

  .roxo {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box; 
  }

  .labelCurriculo {
    height: 80px; /* Um pouco menor para telas pequenas */
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}