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*/


/* Section Sobre */
#sobre {
  width: 100%;
  background-color: #f5f5f5;
  font-family: 'Montserrat', sans-serif;
}

/* Imagem de capa */
.capa-sobre {
    position: relative;
    background-image: url('Imagens/IMG_3761.JPG');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    height: 50vh;
}
  /* Responsividade */
  @media (max-width: 480px) {
    .capa-sobre {
      display: none;
    }
  }

/* Grid principal */
.grid-sobre {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px;
  align-items: center;
  justify-self: center;
  width: 80%;
}

.video-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
}

.video-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.video-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.video-slide video {
  height: 100%;
  width: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.video-title {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  padding: 12px 20px;
  color: #fff;
  font-size: 1.2rem;
  border-radius: 8px;
  max-width: 80%;
  text-align: center;
  pointer-events: none;
}

.video-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  font-size: 2rem;
  padding: 8px 12px;
  border: none;
  cursor: pointer;
  z-index: 10;
  border-radius: 5px;
}

/* Setas mais próximas */
.video-btn.prev {
  left: 20px;
}

.video-btn.next {
  right: 20px;
}

@media (max-width: 768px) {
  .video-carousel {
    height: 100vh;
  }

  .video-title {
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
    text-align: center;
    font-size: 1rem;
  }

  .video-btn {
    font-size: 1.5rem;
    padding: 6px 10px;
  }

  .video-btn.prev {
    left: 10px;
  }

  .video-btn.next {
    right: 10px;
  }
}

/* Texto */
.texto-sobre h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #222;
}

.texto-sobre p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Responsivo */
@media (max-width: 768px) {
  .capa-sobre {
    background-attachment: scroll;
  }

  .grid-sobre {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0;
    width: 100%;
  }
  
  .texto-sobre{
    padding: 20px;
    text-align: center;
  }
}

/*Fim da seção sobre*/


/*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;
    }
  }
