* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif; 
  scroll-behavior: smooth;
}

.navbar {
  background: #2422b1;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar__container {
  display: flex;
  justify-content: space-between;
  height: 80px;
  z-index: 1;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 50px;
}

#navbar__logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  font-size: 2rem;
}

.navbar__logo-img {
  height: 80px; /* Altura base */
  width: auto; /* Mantém a proporção */
  max-width: 150px; /* Largura máxima */
  object-fit: contain; /* Garante que a imagem não distorça */
  transition: all 0.3s ease; /* Transição suave para hover */
}

/* Responsividade para tablets */
@media screen and (max-width: 960px) {
  .navbar__logo-img {
    height: 35px; /* Reduz um pouco a altura em tablets */
  }
}

/* Responsividade para mobile */
@media screen and (max-width: 768px) {
  .navbar__container {
    padding: 0 20px; /* Reduz o padding no mobile */
  }
  
  .navbar__logo-img {
    height: 30px; /* Altura menor para mobile */
    max-width: 120px; /* Largura máxima menor */
  }
}

/* Responsividade para telas muito pequenas */
@media screen and (max-width: 480px) {
  .navbar__logo-img {
    height: 25px; /* Altura ainda menor para telas pequenas */
    max-width: 100px;
  }
}

.navbar__menu {
  display: flex;
  align-items: center;
  list-style: none;
}

.navbar__item {
  height: 80px;
}

.navbar__links {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 125px;
  text-decoration: none;
  height: 100%;
  transition: all 0.3s ease;
}

.navbar__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
  width: 100%;
}

.navbar__toggle {
  display: none;
}

@media screen and (max-width: 960px) {
  .navbar__toggle {
    display: block;
  }
  
}

.navbar__links:hover {
  color: #ff0084;
  transition: all 0.3s ease;
}

@media screen and (max-width: 960px) {
  .navbar__container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    padding: 0;
  }

  .navbar__menu {
    display: grid;
    grid-template-columns: auto;
    margin: 0;
    width: 100%;
    position: absolute;
    top: -1000px;
    opacity: 1;
    transition: all 0.5s ease;
    z-index: -1;
  }

  .navbar__menu.active {
    background: #131313;
    top: 100%;
    opacity: 1;
    transition: all 0.5s ease;
    z-index: 99;
    height: 60vh;
    font-size: 1.6rem;
  }

  #navbar__logo {
    padding-left: 25px;
  }

  .navbar__toggle .bar {
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background: #fff;
  }

  .navbar__item {
    width: 100%;
    height: 50px;
  }

  .navbar__links {
    text-align: center;
    padding: 0.5rem 0.5rem;
    width: 100%;
    display: table;
  }

  .navbar__btn {
    padding-bottom: 2rem;
  }

  .button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    height: 80px;
    margin: 0;
  }

  #mobile-menu {
    position: absolute;
    top: 20%;
    right: 5%;
    transform: translate(5%, 20%);
  }

  .navbar__toggle .bar {
    display: block;
    cursor: pointer;
  }

  #mobile-menu.is-active .bar:nth-child(2) {
    opacity: 0;
  }

  #mobile-menu.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  #mobile-menu.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Hero Section */
.hero {
  background: #112170;
   background: linear-gradient(to right, #556de6, #101f6b);
  padding: 0;
}

.hero__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
  gap: 40px;
}

.hero__content {
  flex: 1;
  text-align: left;
}

.hero__content img {
  max-width: 400px; /* Tamanho do logo */
  height: auto;
  margin-bottom: 20px;
}

.hero__image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.hero__subtitle {
  font-size: 24px;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 300;
}

.hero__description {
  font-size: 18px;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 30px;
}

.main__btn a {
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  outline: none;
  background: #23cf5c;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.main__btn a:hover {
  transform: scale(1.05);
}


/* Responsividade */
@media screen and (max-width: 968px) {
  .hero__container {
    flex-direction: column;
    text-align: center;
    padding: 0 30px;
  }
  
  .hero__content {
    text-align: center;
  }
  
  .hero__content img {
    max-width: 300px; /* Logo menor em tablets */
  }
}

@media screen and (max-width: 768px) {
  .hero {
    padding: 0;
  }
  
  .hero__container {
    padding: 0 20px;
    gap: 30px;
  }
  
  .hero__content img {
    max-width: 250px; /* Logo menor em mobile */
  }
  
  .hero__subtitle {
    font-size: 20px;
  }
  
  .hero__description {
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  .hero__content img {
    max-width: 200px; /* Logo ainda menor em telas pequenas */
  }
  
  .hero__subtitle {
    font-size: 18px;
  }
  
  .hero__description {
    font-size: 15px;
  }
}

/* About Section */
.main {
  background: #fff;
  padding: 100px 0;
}

.main__container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
  gap: 60px;
}

.main__content {
  flex: 1;
}

.main__content h1 {
  font-size: 3rem;
  color: #833ab4;
  margin-bottom: 20px;
}

.main__intro {
  font-size: 1.3rem;
  color: #112170;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.4;
}

.main__description {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 40px;
}

.main__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 40px;
}

.main__card {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 10px;
  border-left: 4px solid #112170;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(17, 33, 112, 0.1);
}

.main__card-icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.main__card h3 {
  font-size: 1.3rem;
  color: #112170;
  margin-bottom: 12px;
  font-weight: 600;
}

.main__card p {
  color: #666;
  line-height: 1.5;
  margin: 0;
  font-size: 1rem;
}

.main__img--container {
  flex: 1;
  text-align: center;
}

.main__img--card {
  height: 600px;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.main__img--card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Botão simplificado */
.main__btn {
  color: #fff;
  padding: 15px 35px;
  background: #23cf5c;
  border-radius: 5px;
  border: none;
  outline: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
}

.fa-whatsapp:before {
    content: "\f232";
    padding: 0 10px; /* Espaço de 10px em cada lado do ícone */
}

.main__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(35, 207, 92, 0.3);
}

.main__btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(35, 207, 92, 0.3);
}

/* Mobile Responsive */
@media screen and (max-width: 1100px) {
  .main__container {
    flex-direction: column-reverse;
    padding: 0 30px;
    gap: 40px;
  }
  
  .main__img--card {
    height: 400px;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .main__content {
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .main {
    padding: 60px 0;
  }
  
  .main__container {
    padding: 0 20px;
  }
  
  .main__content h1 {
    font-size: 2.5rem;
  }
  
  .main__intro {
    font-size: 1.2rem;
  }
  
  .main__cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .main__card {
    padding: 20px;
  }
}

@media screen and (max-width: 480px) {
  .main__img--card {
    height: 300px;
  }
  
  .main__content h1 {
    font-size: 2rem;
  }
  
  .main__intro {
    font-size: 1.1rem;
  }
  
  .main__description {
    font-size: 1rem;
  }
  
  .main__card {
    padding: 15px;
  }
  
  .main__card-icon {
    font-size: 1.8rem;
  }
  
  .main__card h3 {
    font-size: 1.2rem;
  }
  
  .main__btn {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

/* Carrossel */
.carousel {
  position: relative;
  height: 600px;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.carousel__track-container {
  height: 100%;
  position: relative;
  overflow: hidden;
}

.carousel__track {
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
  height: 100%;
}

.carousel__slide {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.carousel__slide.current-slide {
  opacity: 1;
}

.carousel__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Botões de navegação */

/* Indicadores */
.carousel__nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel__indicator {
  border: 0;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel__indicator.current-slide {
  background: rgba(255, 255, 255, 0.9);
}

/* Tablets */
@media screen and (max-width: 1100px) {
  .carousel {
    height: 500px;
    max-width: 600px; /* Limita a largura máxima */
    margin: 0 auto; /* Centraliza */
  }
}

/* Tablets Pequenos */
@media screen and (max-width: 900px) {
  .carousel {
    height: 450px;
    max-width: 550px;
  }
}

/* Mobile - IMPORTANTE: Ajuste principal */
@media screen and (max-width: 768px) {
  .carousel {
    height: 400px;
    max-width: 100%; /* Ocupa 100% da largura disponível */
    border-radius: 8px;
  }
  
  .main__container {
    padding: 0 20px !important; /* Garante padding menor */
  }
  
  .carousel__button {
    width: 35px;
    height: 35px;
  }
  
  .carousel__button i {
    font-size: 1rem;
  }
}

/* Mobile Pequeno */
@media screen and (max-width: 480px) {
  .carousel {
    height: 350px; /* Altura reduzida para mobile */
    max-width: 100%;
    border-radius: 6px;
  }
  
  .main__container {
    padding: 0 15px !important;
  }
  
  .carousel__button {
    width: 30px;
    height: 30px;
  }
  
  .carousel__button i {
    font-size: 0.9rem;
  }
  
  .carousel__nav {
    bottom: 15px;
  }
  
  .carousel__indicator {
    width: 10px;
    height: 10px;
  }
}

/* Mobile Muito Pequeno */
@media screen and (max-width: 360px) {
  .carousel {
    height: 300px;
  }
  
  .main__container {
    padding: 0 10px !important;
  }
  
  .carousel__button {
    width: 25px;
    height: 25px;
  }
  
  .carousel__nav {
    gap: 8px;
    bottom: 10px;
  }
  
  .carousel__indicator {
    width: 8px;
    height: 8px;
  }
}

/* Garantir que o container do carrossel não quebre */
.main__img--container {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Ajuste específico para quando está na seção About */
@media screen and (max-width: 1100px) {
  .main__container {
    flex-direction: column-reverse;
    gap: 30px;
  }
  
  .main__img--container {
    order: -1; /* Coloca a imagem acima em mobile */
  }
  
  .carousel {
    max-width: 500px;
  }
}

/* Services Section */
.services {
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 5rem 0;
}

.services h1 {
  background-color: #800080;
  background-size: 100%;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  margin-bottom: 5rem;
  font-size: 2.5rem;
}

.services__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 20px;
}

.services__card {
  margin: 10px;
  height: 425px;
  width: 300px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: #333;
  background: #fff;
  transition: 0.3s ease-in;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.services__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.services__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.services__card:hover .services__image img {
  transform: scale(1.05);
}

.services__card h2 {
  text-align: center;
  padding: 15px 10px 5px;
  color: #131313;
  font-size: 1.4rem;
}

.services__card p {
  text-align: center;
  margin-top: 10px;
  font-size: 16px;
  color: #666;
  padding: 0 15px;
  flex-grow: 1;
}

.services__btn {
  display: flex;
  justify-content: center;
  margin-top: 16px;
  margin-bottom: 20px;
  padding: 0 15px;
}

.services__card .main__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #fff;
  padding: 12px 24px;
  border: none;
  outline: none;
  border-radius: 4px;
  background: #23cf5c;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  text-decoration: none;
  text-align: center;
}

/* Efeito hover no botão */
.services__card:hover .main__btn {
  background: #3fe85e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(35, 207, 92, 0.3);
}

.services__card {
  transition: all 0.3s ease; /* Transição para o card inteiro */
}

/* Efeito hover no card inteiro */
.services__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 1300px) {
  .services__wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 768px) {
  .services__wrapper {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .services__card {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }
  
  .services h1 {
    font-size: 2rem;
    margin-bottom: 3rem;
  }
}

/* Footer section */
.footer__container {
  background: #4b4b4d;
  /*background: linear-gradient(to right, #556de6, #101f6b);*/
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#footer__logo {
  color: #fff;
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  font-size: 2rem;
}

.footer__links {
  width: 100%;
  max-width: 1000px;
  display: flex;
  justify-content: center;
}

.footer__link--wrapper {
  display: flex;
}

.footer__link--items {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 16px;
  text-align: left;
  width: 160px;
  box-sizing: border-box;
}

.footer__link--items h2 {
  margin-bottom: 16px;
  color: #fff;
}

.footer__link--items a {
  color: #fff;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: 0.3 ease-out;
}

.footer__link--items a:hover {
  color: #e9e9e9;
  transition: 0.3 ease-out;
}

.social__icon--link {
  color: #fff;
  font-size: 24px;
}

.social__media {
  max-width: 1000px;
  width: 100%;
}

.social__media--wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1000px;
  margin: 30px auto 0 auto;
}

.social__icons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 240px;
}

.website__rights {
  color: #fff;
}

@media screen and (max-width: 820px) {
  .footer__links {
    padding-top: 2rem;
  }

  #footer__logo {
    margin-bottom: 2rem;
  }

  .website__rights {
    margin-bottom: 2rem;
  }

  .footer__link--wrapper {
    flex-direction: column;
  }

  .social__media--wrap {
    flex-direction: column;
  }
}

@media screen and (max-width: 480px) {
  .footer__link--items {
    margin: 0;
    padding: 10px;
    width: 100%;
  }
}

/*Lightbox section */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s;
  overflow-y: auto; /* Permite scroll se necessário */
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal__content {
  margin: 20px auto; /* Reduzi a margem superior */
  display: block;
  max-width: 90%;
  max-height: 60%; /* Reduzi a altura máxima da imagem */
  border-radius: 8px;
  animation: zoomIn 0.3s;
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal__close {
  position: fixed; /* Mudei para fixed */
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  z-index: 1001;
}

.modal__close:hover {
  color: #ffd700;
  transform: scale(1.1);
}

.modal__caption {
  margin: 10px auto 5px auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
}

.modal__description {
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 30px auto; /* Margem inferior para espaço */
  opacity: 0.9;
  display: block; /* Garante que é display block */
}

/* Torna as imagens dos cards clicáveis */
.services__image {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.services__image:hover {
  transform: scale(1.02);
}

/* Responsividade do modal */
@media screen and (max-width: 768px) {
  .modal__content {
    max-width: 95%;
    max-height: 50%; /* Ainda menor em mobile */
    margin: 60px auto 10px auto;
  }
  
  .modal__close {
    top: 10px;
    right: 20px;
    font-size: 30px;
  }
  
  .modal__caption {
    font-size: 1.1rem;
    margin: 5px auto;
  }
  
  .modal__description {
    font-size: 0.9rem;
    padding: 8px 15px;
    max-width: 90%;
    margin-bottom: 20px;
  }
}

/* Para telas muito pequenas */
@media screen and (max-width: 480px) {
  .modal__content {
    max-height: 45%;
    margin: 70px auto 5px auto;
  }
  
  .modal__caption {
    font-size: 1rem;
  }
  
  .modal__description {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 15px;
  }
}

/* WhatsApp Flutuante */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background: #23cf5c;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 20px rgba(35, 207, 92, 0.3);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background: #1ea84c;
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(35, 207, 92, 0.5);
  animation: none; /* Para a animação no hover */
}

/* Animação de pulsar */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(35, 207, 92, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(35, 207, 92, 0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(35, 207, 92, 0.3);
  }
}

/* Tooltip (opcional) */
.whatsapp-float::after {
  content: "Fale conosco!";
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: #333;
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.whatsapp-float:hover::after {
  opacity: 1;
}

/* Responsividade */
@media screen and (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 25px;
  }
  
  .whatsapp-float::after {
    font-size: 12px;
    padding: 6px 10px;
    right: 60px;
  }
}