body, html {
  height: 100%;
  margin: 0;
   margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

a{
  text-decoration: none;
  color:white;
  font-weight: 800;
}

a:hover{
  color:#25D366;
}

.container-topo {
  width: 100%;
  height: 50%;
  margin: 0 auto;
  position: absolute;
  z-index: 2;
  color: #333;
}

/* Logo */
.logo-img {
  max-width: 200px;
  height: auto;
}

/* Menu desktop */
nav {
  display: block;
}

nav .menu {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  color:red;
}

nav .menu li {
  display: inline-block;
  font-weight: 200;
  font-size:1.3em;
  font-family: 'Oswald',sans-serif;
  position: relative;
  color:white;
}

nav .menu a {
  text-decoration: none;
  color: white;
}

nav .menu li a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: white;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

nav .menu li a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Toggle escondido no desktop */
.menu-toggle, .menu-close {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}


/* ======================
   Ícone fixo do WhatsApp
   ====================== */

/* Alerta responsivo */
.alerta-img {
  max-width: 35%;
  height: auto;
  display: block;
  margin: 0 auto; 
  z-index: 1003; 
}
/* ======================
   Ícone fixo do WhatsApp
   ====================== */
#menuIcon {
  position: fixed;
  top:5%;
  bottom: 10px;   /* melhor posição no mobile */
  right: 20px;
  z-index: 1000;  /* acima de tudo */
}

#menuIcon i {
  color: yellowgreen;
  font-size: 3.5rem;
  cursor: pointer;
}

/* Janela popup WhatsApp */
.whatsapp-popup {
 display: none;
  position: fixed;
  top: 60px;                /* Agora aparece abaixo do ícone no topo */
  right: 20px;
  background: white;
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 998;
  width: 220px;
  font-family: sans-serif;
  height: auto;
}
.whatsapp-popup a {
  display: block;
  color: #333;
  text-decoration: none;
  margin: 6px 0;
  font-size: 18px;
}

.whatsapp-popup a:hover {
  color: #25D366;
}

.whatsapp-fixo {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.whatsapp-fixo img {
  width: 50%; /* Ajuste o tamanho conforme necessário */
  height: auto;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.whatsapp-fixo img:hover {
  transform: scale(1.1);
  opacity: 1.0;
}

.banner-interno { 
  position: relative;
  width: 100%;
  height: 50%;
}

.banner-interno img { 
width: 100%; 

height: 50%;
}

.banner-interno-text { 
  position: absolute; 
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%); 
  color: black; 
  font-family: 'Oswald',sans-serif;
  font-size: 5.5;
  font-weight: 200; 
}

/* CARROCEL */
.mySlides {display: none;}

img {vertical-align: middle;}

.mySlides img {
  width: 100%;
  height: 100%;
}

/* Slideshow container */
.slideshow-container {
  width: 100%;
  position: relative;
  margin: auto;
}
/* Galeria */

.aba{
  height: 10%;
  color:gray;
  padding:30px 50px;
  font-size:45px;
  text-align:left;
  font-weight:800;
  font-family: "Cairo";
  margin-left: 5rem;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* On smaller screens, decrease text size */
.bgimg {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height:auto;/* Initial height of the background image */
  transition: height 0.9s ease; /* Smooth transition for height changes */
  width: 100%;
  font-family: var(--fonte-texto); /* Use the defined font */
}

#contato{
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  height: 100%;
  overflow: hidden;
}

.rodape-row{
  display:flex;
  padding: 2px 2px;
  width: 100%;
  text-align:center;
  font-size:2.5rem;
  align-items:start;
  font-weight:300; 
  font-family:'Roboto', sans-serif;
  position: relative;
  z-index: 1;          /* conteúdo aparece acima da imagem */
  display: flex;
  flex-wrap: wrap;     /* ajusta no responsivo */
  gap: 20px;
  padding: 20px;
  color: #fff;         /* texto visível sobre a imagem */
}

.logo-rodape,
.parceria-rodape {
    display: block; /* Garante que as imagens fiquem em blocos separados */
    max-width: 100%; /* Para garantir que não ultrapassem o tamanho do contêiner */
  }
.rodape-row {
  display: flex;
  flex-wrap: wrap;         /* quebra no responsivo */
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;               /* espaçamento entre colunas */
  padding: 1rem 5%;
  
}

.rodape-col1,
.rodape-col2,
.rodape-col3 {
  flex: 1;                 /* cada coluna cresce proporcionalmente */
  min-width: 200px;        /* garante que não fique muito pequena */
}

.rodape-col1 {
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  text-align: left;
}

.rodape-col2 {
  font-size: 1.5rem;
  font-weight: 300;
  font-family: 'Roboto', sans-serif;
  display: flex;
  align-items: center;     /* centraliza verticalmente o texto */
}

.rodape-col3 {
  font-size: 1.2rem;
  text-align: left;
}

.bgimg.expanded{
   height: 100vh;
}

.bgimg.diminui{
  transition: height 0.9s ease; /* Smooth transition for height changes */
  opacity: 1;
  height: 0;
  animation: fadeIn 1.5s forwards;    
}

.container {
  width: 90%;
  margin: 0 auto;
  display: flex;
  margin-top: 2rem;
}

header {
  width: 100%;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: transparent; /* O fundo do cabeçalho ainda é transparente */
    box-sizing: border-box;
    transition: background 0.3s; /* Transição suave para o fundo */
}

header.show {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4)); /* Sombreamento degradê */
}

header .logo img {
  max-width: 250px;
}

.video-section video {
  width: 100%;
  height: auto;
}

.video-banner-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: black;
}

.video-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
   z-index: 100;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  padding: 2rem 3rem;
  background-color: rgba(0, 0, 0, 0.5); /* fundo preto com transparência */
  max-width: 90%;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

.video-overlay h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.video-overlay p {
  font-size: 1.5rem;
}

.content {
  width: 75%;
  float: left;
}

.content img {
  width: 100%;
  border-radius: 10px;
}

.social-icons a {
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
}


.section-container {
  width: 85%;
  margin-top: 3rem;
  margin-left: 7.5rem;
  margin-right:7.5rem;
  display: flex;
  flex-direction: column;
  text-align: left;
  margin-bottom: 10px;
   /* Adiciona espaçamento entre o carrossel e a seção */
  background-color: transparent;
}

.section-container .title {
color: var(--cinzaE);
margin-bottom: 2rem;
border-bottom: #333;
text-align: left;
justify-content: left;

}
.section-container .title h1{
color: var(--cinzaE);
font-family: "Cairo", sans-serif;
font-weight: 100;
font-style: normal;
font-size:3vw;
text-align: left;
line-height: 1rem;
margin-bottom: 2rem;
border-bottom: #333;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Background image container for "Linha de Atuação" */
.linhaatuacao-bg-image {
  position: relative;
  height: 25vh; /* Initial height of the background image */
  background-position: center; /* Center the background image */
  background-repeat: no-repeat; /* Prevent the background image from repeating */
  background-size: cover; /* Cover the entire container with the background image */
  transition: height 0.9s ease; /* Smooth transition for height changes */
  width: 100%;
  border-radius: 16px; /* Rounded corners */
}

/* Overlay text on the background image */
.linhaatuacao-text-overlay {
  position: absolute;
  top: 3rem;
  left: 20px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Text shadow for better readability */
}

/* Title text */
.linhaatuacao-title {
  padding: 30px;
  font-size: 2em;
  font-weight: 400;
  font-family: "Cairo";
  color: white;
}

/* Title span text */
.linhaatuacao-title span {
  font-size: 0.7em;
  font-weight: 100;
}

/* Line below the title */
.linhaatuacao-line {
  width: 100%;
  height: 1px;
  background-color: white;
  margin-top: 1.5rem; 
}

/* Description text */
.linhaatuacao-description {
  font-size: 1.3em;
  font-weight: 400;
  margin-top: 3rem;
  margin-bottom: 3rem;
  margin-left: 2.8rem;
  font-family: 'Roboto', sans-serif;
}

/* Additional text that appears on expansion */
.linhaatuacao-additional-text {
  display: none;
  position: absolute;
  top: 40%;
  bottom: 20px;
  left: 20px;
  color: white;
  font-size: 1.2em;
  line-height: 2em;
  margin-left: 2.5rem;
  margin-right: 2.5rem;
  text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5); /* Text shadow for better readability */
  font-family: 'Roboto', sans-serif;  
}

/* Transition for resizing the background image */
.linhaatuacao-bg-image.expanded {
  height: 65vh; /* Height when expanded */
}

/* Show additional text when the background image is fully expanded */
.linhaatuacao-bg-image.expanded .linhaatuacao-additional-text {
  display: block;
}

/* Change background brightness on mouseover */
.linhaatuacao-bg-image:hover {
  filter: brightness(0.8); /* Darken the background image */
}

.texto-quemsomos{
  width:85%;
  margin-left:7.5rem;
  margin-right:7.5rem; 
  background-color:white;
  height:100%;
  color:black; 
  text-align:justify;
  font-size:25px;
  align-items:center; 
  font-weight:300;  
  font-family:'Roboto', sans-serif;
 }

 .texto-quemsomos h1{
  margin-left:0px;
  line-height:5rem;
  font-size:4rem;
  font-weight:800;
  font-family:Cairo;
  color:gray;
  padding:0px;
  margin-bottom:0px
 }

 .texto-quemsomos h5{
  margin-top: 0px;
  color:gray;
  font-family:'Roboto', sans-serif
 }

 .texto-quemsomos p{
  line-height: 2rem;
  color:gray; 
  font-family:'Roboto', sans-serif;
  font-size:1.5rem
 } 
/* CSS Responsivo */

/* GALERIA */

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer; 
}

.row-galeria{
  width: 85%;
  margin-left: 7.5rem;
  margin-right: 7.5rem;
  margin-bottom: 0.5rem;
  display: flex; 
  flex-direction: row;
  justify-items: start;
}

.column-galeria {
  float: right;
  width: 40%;
  padding: 0.3rem;
}


.numbertextG {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  top: 0;
}

.titulo {
  font-family: 'Roboto', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #404340;
  margin-top: 2rem;
  margin-bottom: 1.5rem; /* Espaçamento inferior */
  text-align: justify; /* Centraliza o título */
  position: relative; /* Necessário para a linha decorativa */
}

/* Linha decorativa abaixo do título */
.titulo::after {
  content: '';
  display: block;
  width: 100px; /* Tamanho da linha (ajustável) */
  height: 5px; /* Espessura da linha */
  margin: 0.5rem auto; /* Centraliza a linha */
}

/* Container for image text */
.caption-container {
  text-align: center;
  background-color: #222;
  padding: 2px 8px;
  color: white;
  margin-top: 0rem;
}

.caption-content h3{
  font-family: 'Roboto', sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  margin-left: 3rem;
  color:gray;
  padding-left: 2rem;
  text-align: center;
}

.caption-content p{
 font-family: 'Roboto', sans-serif;
 text-align: justify;
 font-size: 1.2rem;
 line-height: 1.5em;
 font-weight: 100;
 color:#636863;
 padding-left: 2rem;
 margin-left: 3rem;
 margin-bottom: 3rem;
 overflow: hidden;
 height: 100vh;
}

/* Six columns side by side */

/* Add a transparency effect for thumnbail images */
.demo img{
  padding:0.1rem;
  width:100%;
}

.demo {
  opacity: 0.6;
  flex: 33.33%;
  padding:2px;
  background-color: transparent;
}

.active,
.demo:hover {
  opacity: 1;
}
.faq-container{
  width: 100%;
  height: auto;
  position: relative;
  margin-top: 10%;

}
.faq-list{
  position: relative;
  margin-top:1.2rem ;
}

.faq-titulo {
  font-family: 'Cairo', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: gray;
  font-style: normal;
  margin-left: 7.5rem;     
  margin-top: 1.2rem;
  margin-bottom: 1.3rem; /* Espaçamento inferior */
  position: relative; /* Necessário para a linha decorativa */
}

.faq-item {
  border-bottom: 1px solid #ddd;
  width: 85%;
  margin-top: 0.5rem;
  margin-left: 7.5rem;
  margin-right:7.5rem;
  display: flex;
  flex-direction: column;   
}
.faq-question {
  cursor: pointer;
  font-weight: bold;
  font-family: "Robot",sans-serif;
  color: gray;
  font-size: 1.2rem;
}
.faq-answer {
  display: none;
  margin-top: 0.1rem;
  margin-left: 0.5rem;
}
.faq-question:hover + .faq-answer,
.faq-question.active + .faq-answer {
  display: block;
  margin-top: 0;
  font-family: "Robot",sans-serif;
  font-size: 1rem;
}

.modal-aviso-overlay {
    position: fixed;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    margin-left: 5%;
    margin-right: 5%;

}

.modal-aviso-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    position: relative;
}

.modal-aviso-texto {
    font-size: 16px;
    color: #333;
}

/* === VIDEO CAROUSEL – OVERLAY RESPONSIVO === */
.carousel {
  position: relative;
  width: 100%;
  max-height: 100vh;       /* mantém tela cheia sem estourar */
  overflow: hidden;
}

.carousel video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;       /* cobre a área sem distorcer */
}





.carousel {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    overflow: hidden;
}

#carousel-video {
     width: 100%;
    height: 100%;
    
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;        /* ocupa toda a div */
    object-fit: cover;   /* garante que a imagem preencha sem distorcer */
    z-index: 0;
}


.video-title {
  position: absolute;          /* overlay real */
  bottom: 20%;                 /* distância do rodapé do vídeo */
  left: 25%;
  transform: translateX(-50%);
  text-align: left;
  z-index: auto;                  /* acima do vídeo, mas abaixo do alerta */
  background: rgba(239, 235, 235, 0.334);
  width: fit-content;
  color:rgb(11, 11, 11);
  box-shadow: 0 4px 12px rgba(0,0,0,0.6); /* sombra suave */
}

.video-title.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.video-title h2 {
  font-size: clamp(1.2rem, 4vw, 2.5rem);
  font-weight: bold;
  padding: 12px 20px;
  margin: 0;
  font-family: 'Cairo', sans-serif;
  padding: 20px;
  width: fit-content;
  max-width: 500px;
  line-height: 1.1em;
}

.video-title p {
    font-size: 1.1rem;
    padding: 6px 20px;
    color: #050115;
    font-family: 'Robot', sans-serif;
    font-weight: bold;
      line-height: 1.1em;
}

.galeria-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

.galeria-wrapper {
  display: flex;
  transition: transform 0.5s ease;
}

.galeria-slide {
  flex: 0 0 100%; /* mobile: 1 imagem */
  padding: 0.5rem;
  box-sizing: border-box;
}

.slide-img {
  width: 100%;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.slide-img:hover {
  transform: scale(1.05);
}

/* Botões do carrossel */
.galeria-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  padding: 0.6rem 1rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}
.galeria-btn.prev { left: 10px; }
.galeria-btn.next { right: 10px; }


/* Responsividade */
@media (min-width: 768px) {
  .galeria-slide { flex: 0 0 50%; } /* tablet: 2 slides */
}
@media (min-width: 1024px) {
  .galeria-slide { flex: 0 0 25%; } /* desktop: 4 slides */
}


.detalhe {
  width: 95%;
  margin-left: 7.5rem;
  margin-right: 7.5rem;
  font-family: 'Roboto', sans-serif;
  display: none; /* começa invisível */
  top: 0; left: 0;
  height: 100%;
  text-align: center;
  padding: 2rem;
  box-sizing: border-box;
  margin-bottom: 8%;
  padding: 2%;
}

.detalhe-img {
  width:45%; 
  border-radius:16px; 
  float:left; 
  margin-top:5%;
}

.detalhe-text {
  color: #fff;
  margin-top: 1.5rem;
  width: 85%;
  margin-left: auto;
  margin-right: auto;  
}

.detalhe h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #404340;
  margin-top: 2rem;
  margin-left:47%;
  margin-bottom: 1.5rem; /* Espaçamento inferior */
  text-align: left; /* Centraliza o título */
  position: relative; /* Necessário para a linha decorativa */
}

.detalhe p{
 font-family: 'Roboto', sans-serif;
 text-align: justify;
 font-size: 1.1rem;
 line-height: 1.5em;
 font-weight: 100;
 color:#636863;
 padding-left: 2rem;
 margin-bottom: 3rem;
 overflow: hidden;
 height: 100%;
}

.fechar {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}


.rodape-img{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;        /* ocupa toda a div */
    object-fit: cover;   /* garante que a imagem preencha sem distorcer */
    z-index: 0; 
  
 }
/* Responsivo */
@media (max-width: 768px) {
  .text {font-size: 11px}
  .bgimg{width: 50%;height: auto;}
  .container-topo{
    margin-top: 0;
    margin-bottom: 4rem;
  }

  .mySlides p{
    width: 100%;
    font-size: medium;
  }
  .aba{
    text-align: left;
    margin: 0;
    width: 100%;
    font-size:1.5rem ;
  }

  .mySlides img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  .mySlides-galeria p,h3{
    margin-left: 3%;
  }
  .mySlides{
    margin: 0;
  }

  .texto-quemsomos{
    margin-left:auto;
    margin-right:auto;
  }

  .container-galeria{
    margin-left: 0;
    width: 100%;
  }

  .section-container{
    margin:0;
    width: 100%;
  }
  #atuacaodiv{
    margin-left: 5%;
    background-color: blue;
  }
  .linhaatuacao-line {
  display: none;
  }  

  .linhaatuacao-title {
    font-size: 1.8em; /* Reduz o tamanho da fonte para telas menores */
    text-align: left; /* Alinha o título ao centro */
  }

  .linhaatuacao-title span {
    font-size: 0.8em; /* Reduz o tamanho da fonte para telas menores */
  }

  .linhaatuacao-description {
    font-size: 1em; /* Reduz o tamanho da fonte para telas menores */
    margin-top: 2.2rem; /* Ajusta a margem superior para telas menores */
    text-align: center; /* Alinha a descrição ao centro */
  }

  .linhaatuacao-additional-text {
    display: none;
  }

  .linhaatuacao-bg-image {
    height: 25vh; /* Ajusta a altura inicial para telas menores */
    background-position: center;
    background-size: cover;
    width: 95%;
  }

  .linhaatuacao-bg-image.expanded {
    height: 70vh; /* Ajusta a altura expandida para telas menores */
  }
  .row-galeria {
    display:flex;
    flex-direction: column;
  }
  .demo{
    margin: 0;
    width: 100%;
  }
  .demo img{
    width: 50%;
  }

  .caption-content{
    margin: 0;
    text-align: left;
    margin-left: 0;
  }

  .caption-content p{
    margin-right: 5%;
    text-align: left;
    width: 85%;
    margin-left: 0;
    text-align: justify;
  }
  
  .caption-content h3{
    margin: auto;
    text-align: left;
  }

  .rodape-row{
    display: flex;
    flex-direction: column; 
    color:white;
  }
  
  
  .aba{
    text-align: left;
    margin: auto;
    font-size: 2rem;
  }
  
  .section-container{
    align-items: center;
    align-content: center;
  }
  
  .row-galeria {
    display:flex;
    flex-direction: column;
  }

  .container-galeria {
    margin-left: 0;
    width: 100%;
    height: 100%;
    margin-bottom: 5rem;
  }
  .demo{
    margin: 0;
  }
  .demo img{
    width: 30%;
  }

  .texto-quemsomos{
    margin-left:auto;
    margin-right:auto;
    text-align: left;
  }

  .linhaatuacao-line {
    display: none;
  }  
  
  .section-container{
    margin:0;
  }  
  
  .linhaatuacao-title {
    font-size: 1.4em; /* Reduz ainda mais o tamanho da fonte para telas menores */
    text-align: left; /* Alinha o título ao centro */
  }

  .linhaatuacao-title span {
    font-size: 0.5em; /* Reduz ainda mais o tamanho da fonte para telas menores */
  }

  .linhaatuacao-description {
    display: none;
  }

  .linhaatuacao-additional-text {
    display: none;
  }

  .linhaatuacao-bg-image {
    height: 20vh; /* Ajusta a altura inicial para telas menores */
    background-position: center;
    background-size: cover;
    width: 85%;
  }

  .linhaatuacao-bg-image.expanded {
    height: auto; /* Ajusta a altura expandida para telas menores */
  }

  .linhaatuacao-description {
    display:none;
  }  

  .caption-content{
    margin: auto;
    text-align: left;
  }

  .caption-content p{
    margin-left:0;
    text-align: justify;
    width: 75%;
  }
  .caption-content h3{
    margin: auto;
    text-align: left;
  }
  
  #contato{
    display: flex;
    flex-direction: column;
    margin-top: 10%;
    position: relative;
    width: 100%;
    height: auto;
  }

  .rodape-row{
    display: flex;
    margin: 0;
    position: relative;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
 
  .rodape-col1,
  .rodape-col2,
  .rodape-col3{
    text-align: left;
    align-items: start;
    margin: 2rem;
  }

  .rodape-img{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;        /* ocupa toda a div */
    object-fit: cover;   /* garante que a imagem preencha sem distorcer */
    z-index: 0; 
  
 }


  .social-icons{
   display:none;
  }

  .whatsapp-popup{
    margin-right: 15%;
    margin-top: 15%;
  }

}




/* Botões de navegação (opcionais, só aparecem no mobile) */
@media (max-width: 768px) {
  .galeria-nav {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    margin: .25rem 1rem 1rem;
  }

  .galeria-btn {
    display: block;
    appearance: none;
    border: none;
    border-radius: 10px;
    padding: .6rem 1rem;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    background: #4784df;
  }

  
}
/* === GALERIA -> CARROSSEL MOBILE === */
@media (max-width: 768px) {

  .detalhe{
    margin:0 ;
    width: 100%;
    height: auto;
    margin-bottom: 2%;
  }
 
  .detalhe h3{
    margin-left: 10%;
    color:rgb(120, 119, 115);
  }
 
  .detalhe-img {
    display: none;
  }
 
  .alerta-img {
    margin-top: 40%;
    max-width: 75%;
  } 
 
  .faq-list{
    margin: 0;  
  }
 
  .faq-container{
   margin-top: 10%;
   margin-left: 0;
  }
 
  .faq-list{
    position: relative;
    margin-top:0.9rem ;
  }

  .faq-titulo {
    font-family: 'Cairo', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: gray;
    font-style: normal;
    margin-left: 0.7rem;     
    margin-top: 1.2rem;
    margin-bottom: 1.3rem; /* Espaçamento inferior */
    position: relative; /* Necessário para a linha decorativa */
  }

  .faq-item {
    border-bottom: 1px solid #ddd;
    width: 85%;
    margin-top: 0.5rem;
    margin-left: 1rem;
    margin-right:0;
    display: flex;
    flex-direction: column;   
  }

  .video-title h2  {
    position: relative;
    margin-left: 30%;
    margin-top: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.9); /* sombra suave */
    font-size:smaller;
    color: #404340;
    
  }
  
  .video-title p {
    display: none;
  }  
  
}



/* ======================
   AJUSTES RESPONSIVOS
   ====================== */

/* Menu Mobile - Itens na vertical */
@media (max-width: 420px) {


  #contato{
    flex-direction: row;    
  }

  nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: #fff;
    z-index: 99;
    overflow-y: auto; /* permite rolar se tiver muitos itens */
  }

  nav.active {
    display: block;
  }

  nav .menu {
    display: flex;
    flex-direction: column; /* garante vertical */
    align-items: flex-start;
    margin: 50px 0 0 0;
    padding: 0;
    list-style: none;
  }

  nav .menu li {
    width: 100%;
    margin: 0;
  }

  nav .menu li a {
    display: block;
    width: 100%;
    padding: 15px;
    border-bottom: 1px solid #ddd;
    font-size: 1.2em;
  }

  .menu-toggle {
    display: block;
    color:white;
  }

  .menu-close {
    display: block;
    text-align: left;
    color: red;
    font-size: 2rem;
    margin: 5%;
    cursor: pointer;
  }

  #menuIcon {
    top:10%;
    bottom: 3%;
    margin-right: 35%;
  }
  .alerta-img {
    margin-top: 100%;
    width: 100%;
  }  
  
  .detalhe{
    margin:0 ;
    width: 100%;
    height: auto;
    margin-bottom: 2%;
   }
   .detalhe h3{
    margin-left: 10%;
    color:rgb(120, 119, 115);
   }

  .detalhe-img {
    display: none;
  }
}