body {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    background-size: 100%;
    background-repeat: no-repeat;
    background-color: rgb(0, 0, 0);
}
html{
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
a{
    text-decoration: none;
}

header {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    background-color: rgb(0, 0, 0);
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
    width: 100%;
    height: 8rem;
}

#logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 10rem;
}

#logo img {
    position: relative;
    left: 5rem;
}

#logo img:hover {
    transform: scale(1.1);
}

#menu li {
    display: inline-block;
    text-decoration: none;
    font-size: 1rem;
}

#menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 80%;
}

#menu li:hover {
    transform: scale(1.15);
}

#menu ul {
    display: flex;
    justify-content: space-around;
    margin-right: 5rem;
    font-size: 0;
    align-items: center;
}

#menu a {
    text-decoration: none;
    color: rgb(255, 253, 253);
    font-weight: 700;
}

/* ----------------- */
/* Dropdown de idiomas */
/* Caixinha da bandeira */
/* Caixa da bandeira */
.flag-box {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: #111;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid #333;
    transition: background-color 0.3s;
}

.flag-box:hover {
    background-color: #222;
}

/* Bandeira */
.flag {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

/* Setinha */
.arrow {
    color: white;
    font-size: 12px;
    transition: transform 0.3s ease;
}

/* Quando dropdown está aberto, gira a seta */
.dropdown.open .arrow {
    transform: rotate(180deg);
}

/* Dropdown Geral */
.dropdown {
    position: relative;
    display: flex; /* Corrige o alinhamento */
    align-items: center;
    z-index: 9999;
}

/* Botão dropdown */
.dropbtn {
    text-decoration: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}
/* Conteúdo do dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #B2181C;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 999;
    border-radius: 8px;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-content a:hover {
    background-color: #680205;
    border-radius: 8px;

}

/* Mostrar dropdown no hover (desktop) */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Também ativa a seta no hover */
.dropdown:hover .arrow {
    transform: rotate(180deg);
}

/* Botão Contato */
.btn-contato {
    padding: 10px 20px;
    background-color: #800020; /* vermelho grená */
    color: white !important;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-contato:hover {
    background-color: #a51c30;
    transform: scale(1.05);
}

#responsiveMenu{
    display: none;
  }

  @media screen and (min-width: 300px) and (max-width: 1398px) {
  /*Menu*/
  #responsiveMenu{
    margin: 0;
    display: grid;
    grid-template-columns:50% 50%;
}
#responsiveMenu span{
    text-align: right;
    position: relative;
    right: -60%;
    top: 30%;
    color: white;
    
    
}
.overlay {
    height: 0%;
    width: 100%;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
    overflow-y: hidden;
    transition: 0.5s;
  }
  
  .overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
  }
  
  .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
  
  .overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
  }
  
  .overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
  }
  #mensagem{
    resize: none;
}

/*menu de idiomas*/
.dropdown {
    display: block;
}

.dropdown-content {
    position: relative;
    box-shadow: none;
    background-color: rgba(0,0,0,0.95);
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropbtn {
    padding: 1rem;
    font-size: 1.2rem;
}
  @media screen and (max-height: 450px) {
    .overlay {overflow-y: auto;}
    .overlay a {font-size: 20px}
    .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
    }

}

.overlay .btn-contato {
    display: inline-block;
    padding: 10px 20px;
    background-color: #800020;
    color: white !important;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    margin: 1rem auto;
    font-size: 24px;
    width: auto;
    max-width: 80%;
    text-align: center;
}

.overlay .btn-contato:hover {
    background-color: #a51c30;
    transform: scale(1.05);
}

}
/*Fim do menu*/





/*Seção Formulário*/

.contact-section {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}

.project-heading {
  font-size: 3rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 20px;
}

.contact-container {
  max-width: 1200px;
  width: 80%;
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 40px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* Logo */
.logo-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-container img {
  max-width: 300px;
  width: 100%;
  height: auto;
}

.logo-contact-info {
  margin-top: 2rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
  line-height: 1.4;
  text-align: left;
  white-space: nowrap;

  background-color: rgba(178, 24, 28, 0.85); 
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  max-width: 300px;
}

.logo-contact-info p {
  margin: 4px 0;
}


/* Formulário */
.form-container {
  flex: 1;
  color: #fff;

}

.form-container h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  font-weight: 700;
}

.form-container form {
  display: flex;
  flex-direction: column;
}

.form-container input,
.form-container textarea {
  margin-bottom: 15px;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.form-container textarea {
  resize: none;
}

.form-container button {
  background-color: #B2181C;
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  font-weight: 600;
  width: 100%;
}

.form-container button:hover {
  background-color: #680205;
}
.form-message {
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
  color: #fff;
  margin: 10px 0 20px;
  text-align: center;
  font-weight: 400;
}

/* Responsivo */
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .form-container h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .logo-container img {
    max-width: 200px;
  }
  .project-heading {
  font-size: 2rem;
}

  .form-container h2 {
    font-size: 1.5rem;
  }

  .form-container input,
  .form-container textarea {
    font-size: 0.95rem;
  }

  .form-container button {
    font-size: 1rem;
    padding: 12px 18px;
  }
}

.telefone-input {
  display: flex;

  gap: 10px;
  margin-bottom: 15px;
}

.telefone-input select {
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  font-size: 1rem;
  flex: 0.5;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='black' class='bi bi-caret-down-fill' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658c-.566-.65-.106-1.658.753-1.658h9.592c.86 0 1.319 1.008.753 1.658L8.753 11.14a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  cursor: pointer;
}

.telefone-input input {
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  font-size: 1rem;
  flex: 2;
}

@media (max-width: 480px) {
  .telefone-input {
    flex-direction: column;
  }
}

/*Fim da Seção Formulário*/





/*Rodapé*/

footer {
  font-family: 'Comfortaa', sans-serif;
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 30px 5% 20px 5%;
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 200px;
}

/* Logo */
.footer-logo img {
  width: 320px;
  max-width: 100%;
}

/* Redes */
.footer-redes {
  text-align: left;
}

.footer-redes h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: #fff;
}

.footer-redes ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-redes li {
  margin: 10px 0;
}

.footer-redes a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.footer-redes a:hover {
  color: #B2181C;
  transform: translateX(5px);
}

.footer-redes i {
  font-size: 1.2rem;
}

/* Direitos */
.footer-direitos {
  text-align: center;
  margin-top: 25px;
}

.footer-direitos p {
  font-size: 0.85rem;
  color: #fff;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .footer-redes {
    text-align: center;
  }
}

/*Fim do Rodapé*/


  /*botão whats*/

  .whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 30px;
    height: 30px;
}

@media screen and (min-width: 300px) and (max-width: 1399px){

    #responsiveMenu{
        display: block;
    }
    #menu{
        display: none;
    }
    header{
        margin: 0;
        display: grid;
        grid-template-columns:50% 50%;
    }
    #logo{
        margin: 0;
        position: relative;
        left: 20px;
    }
    #logo img{
        width: 50%;
        margin: 0;
        float: left;
        position: relative;
        left: 20px;
    }
  }
