/*==================== CSS RESET ====================*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*==================== VARIABLES ====================*/
:root {
  --header-height: 4.5rem;
  
  /*Verde forte
  /* Colors */
  --hue: 159.6;
  /* HSL color mode */
  --base-color: hsl(var(--hue) 5400%, 15%);
  --base-color-second: hsl(var(--hue) 30% 25%);
  --base-color-alt: hsl(var(--hue) 57% 53%);
  --title-color: hsl(var(--hue) 41% 10%);
  --title-color: hsl(44, 100%, 62%);  
  --text-color: hsl(0, 0%, 26%);
  --text-color-light: hsl(0, 0%, 93%);
  --body-color: hsl(0, 0%, 0%);

  /*Fontes Amarelas
  /* Colors */


  /* Fonts */
  --title-font-size: 1.875rem;
  --subtitle-font-size: 1rem;

  --title-font: "Poppins", sans-serif;
  --body-font: "DM Sans", sans-serif;
}

/*==================== BASE ====================*/
html {
  scroll-behavior: smooth;
}

body {
  font: 400 1rem var(--body-font);
  color: var(--text-color);
  background: var(--body-color);
  -webkit-font-smoothing: antialiased;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  width: 100%;
  height: auto;
}

.title {
  font: 700 var(--title-font-size) var(--title-font);
  color: var(--title-color);
  -webkit-font-smoothing: auto;
}

.button {
  background-color: var(--base-color);
  color: var(--text-color-light);
  height: 3.5rem;
  display: inline-flex;
  align-items: center;
  padding: 0 2rem;
  border-radius: 0.5rem;
  font: 500 1rem var(--body-font);
  transition: background 0.3s;
}

.button:hover {
  background: var(--base-color-alt);
}

.divider-1 {
  height: 1px;
  background: linear-gradient(270deg,
      hsla(var(--hue), 36%, 57%, 1) 0%,
      hsla(var(--hue), 65%, 88%, 0.34) 100%);
}

.divider-2 {
  height: 1px;
  background: linear-gradient(-270deg,
      hsla(var(--hue), 36%, 57%, 1) 0%,
      hsla(var(--hue), 65%, 88%, 0.34) 100%);
}

/*==================== LAYOUT ====================*/
.container {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.section {
  padding: calc(5rem + var(--header-height)) 0;
}

.section .title {
  margin-bottom: 1rem;
}

.section .subtitle {
  font-size: var(--subtitle-font-size);
}

.section header strong {
  color: var(--base-color);
}

#header {
  border-bottom: none;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: var(--body-color);
  width: 100%;
}

#header.scroll {
  background: var(--base-color);
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.2);
}

#header.scroll .logo span {
  color: #fff;
  transition: 0.3s;
}

#header.scroll .icon-menu {
  color: #fff;
  transition: 0.3s;
}

/*==================== LOGO ====================*/

.logo {
  font: 700 1.31rem var(--title-font);
  color: var(--title-color);
}

.logo span {
  color: var(--base-color);
}

.logo-alt span {
  color: var(--body-color);
}

/*==================== NAVIGATION ====================*/

nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

nav ul li {
  text-align: center;
}

nav ul li a {
  transition: 0.2s;
  position: relative;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--base-color);
}

nav ul li a::after {
  content: '';
  width: 0%;
  height: 2px;
  background: var(--base-color);
  position: absolute;
  left: 0;
  bottom: -1rem;
  transition: width 0.2s;
}

/* Active scroll and active (start) */

#header.scroll nav ul li a:hover,
#header.scroll nav ul li a.active {
  color: var(--base-color-alt);
} 

#header.scroll nav ul li a::after {
  content: '';
  width: 0%;
  height: 2px;
  background: var(--base-color-alt);
  position: absolute;
  left: 0;
  bottom: -1rem;
  transition: width 0.2s;
}

#header.scroll nav ul li a:hover::after,
#header.scroll nav ul li a.active::after {
  width: 100%;
}

/* Active scroll and active (end) */

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

nav .menu {
  opacity: 0;
  visibility: hidden;
  top: -20rem;
  transition: 0.2s;
}

nav .menu ul {
  display: none;
}

/*==================== SHOW MENU ====================*/

nav.show .menu {
  opacity: 1;
  visibility: visible;
  background: var(--body-color);
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  display: grid;
  place-content: center;
}

nav.show .menu ul {
  display: grid;
}

nav.show ul.grid {
  gap: 4rem;
}

/*==================== TOGGLE MENU ====================*/
.toggle {
  color: var(--base-color);
  font-size: 1.5rem;
}

nav .icon-close {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: -1.5rem;
  right: 1.5rem;
  transition: 0.2s
}

nav.show div.icon-close {
  visibility: visible;
  opacity: 1;
  top: 1.5rem;
}

/*==================== HOME ====================*/
#home {
  overflow: hidden;
}

#home .container {
  margin: 0;
}

#home .image {
  position: relative;
}

#home .image::before {
  content: '';
  height: 100%;
  width: 100%;
  background: var(--base-color-second);
  position: absolute;
  top: -16.8%;
  left: 16.8%;
  z-index: 0;
}

#home .image img {
  position: relative;
  right: 2.93rem;
}
.video-container {
  width: 100%;
  max-width: 600px; /* Ajuste conforme necessário */
  margin: 0 auto; /* Centraliza o vídeo */
  display: flex;
  justify-content: center;
}

.video-container video {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover; /* Garante que o vídeo se encaixe sem distorcer */
  border-radius: 20px; /* (Opcional) Adiciona cantos arredondados */

}


#home .image img,
#home .image::before {
  border-radius: 0.5rem;
}

#home .text {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  text-align: center;
}

#home .text h1 {
  margin-bottom: 1rem;
}

#home .text p {
  margin-bottom: 2rem;
  max-width: 100%;
}

/*==================== ABOUT ====================*/
#about {
  background: #fff;
}

#about .container {
  margin: 0;
}

#about .image {
  position: relative;
}

#about .image::before {
  content: '';
  height: 100%;
  width: 100%;
  background: var(--base-color-second);
  position: absolute;
  top: -8.3%;
  left: -33%;
  z-index: 0;
}

#about .image img {
  position: relative;
  right: 2.93rem;
}

#about .image img,
#about .image::before {
  border-radius: 0.5rem;
}

#about .text {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  
}

.mission-vision-values {
  padding: 50px 0;
  text-align: center;
}

.mission-vision-values .grid {
  display: flex;
  gap: 20px;
  justify-content: center; /* Centraliza os elementos na horizontal */
  flex-wrap: wrap; /* Permite que os elementos quebrem linha em telas menores */
}

.carde {
  background-color: #0F241D;
  padding: 20px;
  border-radius: 10px;
  width: 400px;
  text-align: center;
  color: white;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  flex: 50; /* Permite que os cards se ajustem ao espaço disponível */
  max-width: 320px; /* Define um tamanho máximo */
}

.carde .icon {
  font-size: 30px;
  display: block;
  margin-bottom: 10px;
  color: #0ef;
}

.title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

/*==================== SERVICES ====================*/
.cards.grid {
  gap: 1.5rem;
}

.card {
  padding: 3.625rem 2rem;
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.08);
  border-bottom: 0.25rem solid var(--base-color);
  border-radius: 0.5rem 0.5rem 0 0;
  text-align: center;
}

.card i {
  display: block;
  margin-bottom: 1.5rem;
  font-size: 5rem;
  color: var(--base-color);
  transition: 0.5s;
}

.card i:hover { 
  transform: scale(1.1); 
}

.card .title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card img {
  width: 100%;
  height: 75%;
  margin-bottom: 1.5rem;
  border-radius: 8px; 
  transition: 0.5s;
}

.card img:hover { 
  transform: scale(1.1); 
}

/*==================== TESTIMONIALS ====================*/
#testimonials {
  background: #fff;
}

#testimonials .container {
  margin-left: 0;
  margin-right: 0;
}

#testimonials header {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  margin-bottom: 0;
}

#testimonials blockquote {
  padding: 2rem;
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;
  padding: 0 0 0 1;
}

#testimonials blockquote p {
  position: relative;
  text-indent: 1.875rem;
  margin-bottom: 1.5rem;
  color: var(--title-color);
}

#testimonials blockquote p span {
  font: 700 2.5rem serif;
  position: absolute;
  top: -0.5rem;
  left: -1.875rem;
  color: var(--base-color);
}

#testimonials cite {
  display: flex;
  align-items: center;
  font-style: normal;
}

#testimonials cite img {
  width: 2rem;
  height: 2rem;
  object-fit: cover;
  clip-path: circle();
  margin-right: 0.5rem;
}

.testimonial video {
  width: 150%;
  border-radius: 30px;
  height: auto; /* Mantém a proporção do vídeo */
  max-height: 100%; /* Ajusta à altura da imagem ao lado */
  object-fit: cover; /* Garante que o vídeo cubra o espaço corretamente */
}


/*==================== SWIPER ====================*/
.swiper-slide {
  height: auto;
  padding: 4rem 1rem;
}

.swiper-pagination-bullet-active {
  background: var(--base-color);
}

/*==================== CONTACT ====================*/
#contact {
  background-image: url(); /* Substitua pela URL da sua imagem */
  
  background-repeat: no-repeat;
  background-size: cover;
  background-position:center center;
}

#contact .container {
  position: relative;
  z-index: 2; /* Mantém o texto acima do fundo */
  display: flex; /* Adiciona flexbox para alinhar o mapa e o texto lado a lado */
  flex-wrap: wrap; /* Permite que os itens se ajustem em telas menores */
}

.credit {
  background: rgba(0, 0, 0, 0.75);
  font-size: 1.3em;
  color: whitesmoke;
  padding: 1em;
  border-radius: 0.5em;
}

.credit a {
  color: whitesmoke;
}

#contact span {
  color: var(--base-color);
}

#contact .grid {
  gap: 4rem;
}

.text1 {
  background: rgba(15, 36, 29, 0.75);
  padding: 8px; /* Espaçamento interno */
  border-radius: 10px; /* Cantos arredondados */
  display: inline-block; /* Para o fundo ajustar ao tamanho do conteúdo */
}
#contact .text1 p {
  margin-bottom: 2rem;
}

#contact .text1 p {
  margin-bottom: 2rem;
}


#contact .text p {
  margin-bottom: 2rem;
}

#contact .button i,
#contact ul li i {
  font-size: 1.5rem;
  margin-right: 0.625rem;
}

#contact ul li a {
  color: var(--text-color);
}

#contact ul li {
  display: flex;
  align-items: center;
}

#contact ul li i {
  color: var(--base-color);
}

#contact ul.grid {
  gap: 2rem;
}
#contact h2, 
#contact p, 
#contact ul li {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    color: white; /* Garante um bom contraste */
}

/*==================== FOOTER ====================*/
/* Estilização do Footer */
footer {
  background-color: #0F241D;
  padding: 3rem 0;
  color: #f7e791; /* Cor do texto em amarelo suave */
  text-align: center;
}

footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Estilização da Logo */
footer .logo {
  width: 120px; /* Ajuste o tamanho conforme necessário */
  margin-bottom: 1rem;
}

/* Informações da Empresa */
footer .brand p {
  margin: 0;
  font-size: 0.9rem;
}

.contato-mapa {
  flex: 1.5; /* Dá mais espaço ao mapa */
  display: flex;
  justify-content: center;
}

.contato-mapa iframe {
  width: 100%;
  max-width: 500px;
  height: 300px;
  border: 0;
}

/* Redes Sociais */
footer .social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

footer .social a {
  font-size: 1.5rem;
  color: #f7e791;
  transition: transform 0.3s ease;
}

footer .social a:hover {
  transform: translateY(-3px);
  color: #d4af37; /* Dourado mais forte no hover */
}

/* Botão de WhatsApp */
.contatoZAP {
  margin-top: 1rem;
}

.contatoZAP a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: #0F241D;
  background: #f7e791;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
}

.contatoZAP a:hover {
  background: #d4af37;
  transform: translateY(-3px);
}


/*==================== BACK TO TOP BUTTON ====================*/
.back-to-top {
  background: var(--base-color);
  color: var(--text-color-light);
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  padding: 0.8rem;
  clip-path: circle();
  font-size: 1.5rem;
  line-height: 0;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s;
  transform: translateY(100%);
}

.back-to-top.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/*==================== MEDIA QUERIES ====================*/
/* extra large devices: 1200> */
@media (min-width: 1080px) {
  /* Reusable classes */
  .container {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
  }

  .section {
    padding-top: 0;
    margin-top: 0;
   
  }
  
  .section header, #testimonials header {
    max-width: 32rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .button {
    height: 3.125rem;
  }

  /* Navigation */
  nav .menu {
    opacity: 1;
    visibility: visible;
    top: 0;
  }

  nav .menu ul {
    display: flex;
    gap: 2rem;
  }

  nav .menu ul li a.title {
    font: 400 1rem var(--body-font);
    font-weight: bold;
    -webkit-font-smoothing: antialiased;
  }

  nav .menu ul li a.title.active {
    font-weight: bold;
    -webkit-font-smoothing: auto;
  }

  #header.scroll nav .menu ul li a.title {
    color: #fff;
  }
  
  nav .icon-menu {
    display: none;
  }

  /* Layout */
  main {
    margin-top: 70px; /* igual à altura do header */
  
  }

  /* HOME */
  #home .container {
    grid-auto-flow: column;
    justify-content: space-between;
    margin: 0 auto;
  }

  #home .image {
    order: 1;
  }

  #home .text {
    order: 0;
    max-width: 24rem;
    text-align: left;
  }

  /* About */
  #about .container {
    margin: 0 auto;
    grid-auto-flow: column;
  }

  /* Services */.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Sempre 2 colunas */
    gap: 20px;
    justify-content: center;
    align-items: stretch;
}

.card {
    background-color: #0F241D;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    min-height: 200px; /* Mantém o tamanho uniforme */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease-in-out;
}

.card i {
    font-size: 40px; /* Ícones do mesmo tamanho */
    margin-bottom: 10px;
}

.card h3 {
    font-size: 18px;
    color: #fff;
}

.card:hover {
    transform: scale(1.05); /* Efeito ao passar o mouse */
}

/* Responsivo: muda para 1 coluna no celular */
@media (max-width: 768px) {
    .cards {
        grid-template-columns: repeat(1, 1fr); /* Uma coluna */
    }
}

  /* Testimonials */
  #testimonials .container {
    margin-left: auto;
    margin-right: auto;
  }

  /* Contact */
  #contact .container {
    grid-auto-flow: column;
    align-items: center;
  }

  #contact .text {
    max-width: 25rem;
  }

  /* Footer */
  footer.section {
    padding: 3.75rem;
  }

  footer .container {
    grid-auto-flow: column;
    align-items: center;
    justify-content: space-between;
  }

  footer .logo {
    font-size:  2.25rem;
  }

  /* scroll */
  #header.scroll nav ul li a::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #16372c;
    position: absolute;
    left: 0;
    bottom: -1rem;
    transition: width 0.2s;
  }
  
  #header.scroll nav ul li a:hover::after {
    width: 100%;
  }
}

/* grandes dispositivos 1023> */
@media (max-width: 1080px) {

  .container {
    padding: 0 2rem;
  }


  #header {
    height: 70px;
  }


  .video-container {
    max-width: 500px;
  }


  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* médios dispositivos 767> */
@media (max-width: 900px) {

  .section {
    padding: 4rem 0;
  }





  #home .text {
    text-align: center;
  }


  .cards {
    grid-template-columns: 1fr;
  }


  .mission-vision-values .grid {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 100%!important;
    height: auto!important;
    margin: 1rem 0;
  }
}


@media (max-width: 768px) {

  body {
    font-size: 14px;
  }


  
  
  .video-container {
    max-width: 100%;
    border-radius: 0;
  }
  


  #contact .container {
    flex-direction: column;
    gap: 2rem;
  }

  #header {
    border-bottom: 1px solid #0F241D; /* mesma cor do fundo */
  }
  


  .text1 {
    text-align: center;
  }


  .contato-mapa iframe {
    height: 200px;
  }


  .title {
    font-size: 1.5rem;
  }


  footer .container {
    flex-direction: column;
    text-align: center;

  }
  
}  .swiper-slide {
    padding: 1rem;
  }

  .testimonials.swiper {
    max-width: 100%;
  }

  .testimonial img {
    width: 100%;
    height: auto;
  }

  

/* pequenos dispositivos 360> */
@media (max-width: 480px) {

  .logo {
    font-size: 1.1rem;
  }

  .button {
    width: 100%;
    justify-content: center;
  }


  .container {
    padding: 0 1rem;
  }


  .mission-vision-values ul li {
    text-align: left;
    font-size: 0.9rem;
  }


  .divider-1, .divider-2 {
    display: none;
  }

}
/* ======== AJUSTES APENAS PARA MOBILE ======== */
@media (max-width: 768px) {
  /* Inverte ordem: texto em cima, carrossel embaixo */
  #testimonials .container {
    flex-direction: column-reverse !important;
    padding: 0 1.5rem !important;
    gap: 2rem !important;
  }

  #testimonials .text {
    padding: 0 !important;
    text-align: left !important;
  }

  .testimonials.swiper {
    width: 100% !important;
    margin-top: 1.5rem;
    max-width: 100% !important;
  }

  .testimonial img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto;
    border-radius: 16px !important;
    display: block;
  }

  .swiper-wrapper {
    gap: 10px !important;
  }

  .swiper-slide {
    padding: 1rem 0 !important;
  }
}







