* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

/* Adicionar ao seu CSS */
body, html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
}

.container, section, .carousel-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* CORES */
.branco {
  color: #ffffff;
}
  
.azul {
    color: #b99a4a;
}
  
.vermelho {
    color: #b99a4a;
}

:root {
  --cor-hamburger: #ffffff; /* <<< Altere a cor do menu aqui */
}


/* CONTAINER E CONTEÚDO */
.content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* HEADER */
.main_header {
  background: #2d4418;
  width: 100%;
  height: 100px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.main_header.fixed {
  height: 70px;
}

/* LOGO */
.main_header_logo {
  height: 100px; 
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Move para a direita */
}

.main_header_logo img {
  margin-left: 10vh;
  height: 20vh; /* Aumentei a logo */
  max-width: 100%;
}

@media (max-width: 768px) {
  .main_header_logo img {
    height: 15vh;
    margin-left: 20px;
  }
}
/* NAVEGAÇÃO PRINCIPAL */
.main_header_nav {
  display: flex;
  align-items: center;
}

.main_header_nav ul {
  display: flex;
  list-style: none;
}

.main_header_nav_item {
  margin: 0 5px;
  position: relative;
}

.main_header_nav_item a {
  display: block;
  padding: 8px 15px;
  color: #ffffff;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 0.95em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
}



/* Efeito de linha animada no hover */
.main_header_nav_item a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #b99a4a;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.main_header_nav_item a:hover {
  color: #b99a4a;
}

.main_header_nav_item a:hover:after {
  width: 70%;
}

/* Botão Agendar */
.btn_agendar {
  background: #2d4418; /* Fundo escuro */
  color: #ffffff; /* Texto branco */
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 5px;
  text-transform: uppercase;
  text-align: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn_agendar:hover {
  background: #b99a4a; /* Fundo dourado */
  color: #2d4418; /* Texto escuro */
}



/* MENU MOBILE */
.mobile_action {
  width: 40px;
  height: 30px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  color: #ffffff;
}

.mobile_action span {
  display: block;
  width: 100%;
  height: 4px;
  background: #ffffff;
  transition: all 0.3s ease;
  background-color: var(--cor-hamburger);
}

/* Quando o menu estiver ativo */
.mobile_action.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.mobile_action.active span:nth-child(2) {
  opacity: 0;
}

.mobile_action.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* SEÇÃO DE CHAMADA */
.section-chamada {
  padding: 0;
  background-color: #fff;
  width: 100%;
  max-width: 100%;
  margin: 0; /* Sem margem */
  overflow: hidden; /* Evita overflow horizontal */
  height: 100vh; /* Ocupará 100% da altura da viewport */
}

.section-chamada .content {
  width: 100%;
  padding: 0;
  margin: 0; /* Sem margem */
  max-width: 100%; /* Permite que ocupe toda a largura */
  height: 100%; /* Ocupará 100% da altura do pai */
}

/* TOPO DA PÁGINA */
.topoPag {
  width: 100%;
  height: 100%; /* Ocupará 100% da altura do pai */
  background-color: transparent;
  position: relative;
  overflow: hidden;
  float: none;
  transition: all 500ms;
}

/* Máscara do topo */
.topoPag .mascara {
  overflow: hidden;
  position: relative;
  width: 100%;
  
  margin: 0; /* Sem margem */
}

/* Centraliza conteúdo */
.topoPag .centraliza {
  width: 90%;
  height: auto;
  top: 26%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  z-index: 1; /* Garante que o texto fique acima da imagem */
}

/* Imagem do topo */
.topoPag img {
  width: 100%;
  height: 90vh;
  object-fit: cover; /* Isso garante que a imagem cubra toda a área */
  height: 100vh; /* Alterado para 100vh para ocupar toda a altura da viewport */
  display: block;
}
  
/* TEXTOS DO TOPO */
.topoPag .centraliza h1 {
  width: 100%;
  font-size: 3em; /* Aumentei para 3em para deixar bem maior */
  float: none; /* Removido float para evitar problemas de centralização */
  text-align: center;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  text-shadow: 2px 1px 5px #535353;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px; /* Espaço entre o título e o parágrafo */
  color: #2d4418;
}

.topoPag .centraliza p {
  color: #2d4418;
  width: 100%;
  font-size: 1.8em; /* Aumentei para 1.8em para deixar maior */
  float: none; /* Removido float para evitar problemas de centralização */
  text-align: center;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  text-shadow: 1px 1px 3px #535353; /* Adicionei sombra para melhorar legibilidade */
}

/* Esconde o elemento <b> dentro do parágrafo */
.topoPag .centraliza p b {
  display: none;
}

.banner {
  height: 90vh;
  object-position: center; /* Garante que a imagem seja centralizada */
}

/* Ajuste adicional para garantir centralização perfeita */
.topoPag .centraliza {
  width: 90%;
  text-align: center;
  top: 50%; /* Centraliza verticalmente */
  transform: translate(-50%, -50%); /* Ajusta para centralização perfeita */  
  left: 50%;
  position: absolute;
}

/* BOTÕES DE AGENDAMENTO */
.botoes-agendamento {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px; /* Espaço entre os botões */
  flex-wrap: wrap; /* Permite quebrar linha no mobile */
}

.botao {
  padding: 12px 24px;
  background-color: #2d4418; /* Cor de fundo do botão */
  color: #ffffff; /* Cor do texto do botão */
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 8px;
  transition: background-color 0.3s, transform 0.3s;
}

.botao:hover {
  background-color:#b99a4a; /* Cor de fundo no hover */
  transform: scale(1.05); /* Efeito de leve aumento no hover */
  color: #ffffff;
}

.botao.whatsapp {
  background-color: #2d4418; /* Verde do WhatsApp */
}

.botao.whatsapp:hover {
  color: #fdfdfd;
  background-color: #b99a4a;
}

/* Responsivo: Empilha os botões no celular */
@media (max-width: 600px) {
  .botoes-agendamento {
    flex-direction: column;
    align-items: center;
  }

  .botao {
    width: 80%; /* Botões mais largos no mobile */
    text-align: center;
  }
}

/*SOBRE NOS*/

.sobre {
  background-color: #f9f9f9;
}

.sobre-texto > h2 {
  text-align: center;
  font-size: 3em;
  margin-top: 0vh;
  color: #b99a4a;
  padding-top: 5vh;
}

.sobre-texto h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: #2d4418;
  margin: 0.8rem auto;
}

.infografico {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  margin-top: 20px;
}

.info-box {
  text-align: center;
  padding: 20px 10px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.info-box h2 {
  font-size: 3em;
  color: #2d4418;
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
}

.info-box p {
  font-size: 1.1em;
  color: #2d4418;
  font-family: 'Montserrat', sans-serif;
}

/* Responsividade */
@media (max-width: 900px) {
  .infografico {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .infografico {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-box {
    padding: 15px 8px;
  }

  .info-box h2 {
    font-size: 2em;
  }

  .info-box p {
    font-size: 0.95em;
  }
}


/* Seção de serviços */
.services-section {
  background-color: #f9f9f9;
  background-image: url("../uploads/background/bg-barber.png");
  background-repeat: repeat-x;
  background-position: bottom;
  padding: 6rem 0 3rem;
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
}

.services-container {
  width: 100%;
  max-width: 1200px;
  padding: 0 15px;
  position: relative;
}

/* Título da seção */
.services-title {
  color: #b99a4a;
  font-size: 3rem;
  text-align: center;
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  z-index: 10;
}

.services-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: #161C1E;
  margin: 0.8rem auto;
}

/* Carrossel */
.carousel {
  width: 100%;
  overflow: hidden;
  margin-top: 2rem;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

/* Cards dos serviços */
.service-card {
  width: calc(33.333% - 2rem);
  min-width: calc(33.333% - 2rem);
  margin: 0 1rem 2rem;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.service-card:hover {
  transform: translateY(-10px);
}

/* Container da imagem */
.service-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  background-color: #939393;
  height: 250px;
}

/* Imagem do serviço */
.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.5s ease;
}

.service-card:hover .service-image {
  transform: scale(1);
}

/* Overlay de hover */
.hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0);
  transition: background 0.4s ease;
  z-index: 2;
  border-radius: 10px 10px 0 0;
}

.service-card:hover .hover-overlay {
  background: rgba(225, 196, 36, 0.36);
}

/* Ícone e título no hover */
.service-icon,
.service-hover-title {
  position: absolute;
  width: 100%;
  text-align: center;
  color: #fff;
  opacity: 0;
  z-index: 3;
  transition: opacity 0.5s ease, top 0.5s ease;
}

.service-icon {
  top: 18%;
  font-size: 3rem;
}

.service-hover-title {
  top: 35%;
  font-size: 1rem;
  text-decoration: none;
}

.service-card:hover .service-icon {
  opacity: 1;
  top: 23%;
}

.service-card:hover .service-hover-title {
  opacity: 1;
  top: 33%;
}

/* Detalhes do serviço */
.service-details {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 0 0 10px 10px;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Ocupa o espaço entre imagem e botão */
}

.service-name {
  color: #161C1E;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.service-tagline {
  color: #E1C424;
  font-size: 1rem;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 0.8rem;
}

.service-description {
  color: #939393;
  font-size: 0.9rem;
  line-height: 1.6; /* Aumentei um pouco o line-height */
  flex: 1;
}

/* Navegação do carrossel */
.carousel-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #bbb;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-dot.active {
  background-color: #E1C424;
}

/* Responsividade */
@media screen and (max-width: 992px) {
  .service-card {
      width: calc(50% - 2rem);
      min-width: calc(50% - 2rem);
  }
}

@media screen and (max-width: 768px) {
  .service-card {
      width: calc(100% - 2rem);
      min-width: calc(100% - 2rem);
  }
  
  .services-title {
      font-size: 2.5rem;
      margin-top: -4vh;
  }
}

@media screen and (max-width: 480px) {
  .services-title {
      font-size: 2rem;
  }
  
  .service-details {
      height: auto;
      min-height: 180px;
  }
}

/* Botão Agendar por card */
.service-button-wrapper {
  margin-top: 3vh; /* Joga o botão para o final do card */
  padding-bottom: 1rem;
  display: flex;
  justify-content: center;
}


.agendar-btn1 {
  background-color: #cfae1d;
  color: #161C1E;
  padding: 0.6rem 1.4rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.agendar-btn1:hover {
  background-color: #cfae1d;
}

/* Setas laterais fixas */
.carousel {
  position: relative;
}

.carousel-arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 10;
}

.arrow {
  pointer-events: all;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  position: absolute;
  transform: translateY(-50%);
  border-radius: 5px;
  transition: background 0.3s;
}

.arrow:hover {
  background: rgba(0, 0, 0, 0.6);
}

.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px;
}

/* Agora as setas aparecem em todas as telas */
@media screen and (max-width: 768px) {
  .arrow {
    font-size: 1.5rem;
    padding: 0.3rem 0.8rem;
  }
}

/* Botão único abaixo do carrossel */
.carousel-cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* Remove setas */
.carousel-arrows {
  display: none !important;
}


/* ===== BANNER RESPONSIVO ===== */

/* Estilo para Telas Grandes (Desktop) */
.banner-donsclub img {
  width: 100%;
  height: 600px; /* Usar height direto é melhor com object-fit */
  display: block;
  object-fit: cover; /* Garante que a imagem cubra o espaço sem distorcer */
}

/* Ajuste para Telas Médias (Tablets) */
@media (max-width: 1024px) {
  .banner-donsclub img {
    height: 500px;
  }
}

/* Ajuste para Telas Pequenas (Celulares) */
@media (max-width: 768px) {
  .banner-donsclub img {

    height: 200px; /* Uma altura menor para não ocupar a tela toda no celular */
  }
}


/* ===== PEDRAS DISPONIVEIS ===== */
.section-planos-smart {
  background-color: #f5f5f5;
  padding: 6rem 0 3rem;
  position: relative;
}

.section-planos-smart .content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-planos-smart .title {
  color: #b99a4a;
  font-size: 3rem;
  text-align: center;
  position: absolute;
  margin-top: -60vh;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  z-index: 10;
}

.section-planos-smart .title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: #161C1E;
  margin: 0.8rem auto;
}

.section-planos-smart .carousel {
  overflow: hidden;
  width: 100%;
  position: relative;
  margin-top: 6rem;
}

.section-planos-smart .carousel-track {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.5s ease;
  will-change: transform;
}

.section-planos-smart .service-card {
  flex-shrink: 0;
  width: calc(33.333% - 2rem);
  min-width: calc(33.333% - 2rem);
  margin: 0 1rem 2rem;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.section-planos-smart .service-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  background-color: #939393;
  height: 250px;
}

.section-planos-smart .service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.5s ease;
}

.section-planos-smart .service-card:hover .service-image {
  transform: scale(1);
}

.section-planos-smart .hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0);
  transition: background 0.4s ease;
  z-index: 2;
  border-radius: 10px 10px 0 0;
}

.section-planos-smart .service-card:hover .hover-overlay {
  background: rgba(225, 196, 36, 0.36);
}

.section-planos-smart .service-icon,
.section-planos-smart .service-hover-title {
  position: absolute;
  width: 100%;
  text-align: center;
  color: #fff;
  opacity: 0;
  z-index: 3;
  transition: opacity 0.5s ease, top 0.5s ease;
}

.section-planos-smart .service-icon {
  top: 18%;
  font-size: 3rem;
}

.section-planos-smart .service-hover-title {
  top: 35%;
  font-size: 1rem;
  text-decoration: none;
}

.section-planos-smart .service-card:hover .service-icon {
  opacity: 1;
  top: 23%;
}

.section-planos-smart .service-card:hover .service-hover-title {
  opacity: 1;
  top: 33%;
}

.section-planos-smart .service-details {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 0 0 10px 10px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.section-planos-smart .service-name {
  color: #161C1E;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.section-planos-smart .service-tagline {
  color: #b99a4a;
  font-size: 1rem;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 0.8rem;
}

.carousel-cta1 {
  display: flex;
  margin-top: 2rem;
}

.agendar-btn {
  background-color: #cfae1d;
  color: #161C1E;
  padding: 0.6rem 1.4rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  position: absolute;
  margin-top: 40vh;
  margin-left: -94vh;
}

.agendar-btn:hover {
  background-color: #cfae1d;
}

.carousel-navigation1 {
  display: flex;
  margin-top: 50vh;
  position: absolute;
  margin-left: 77.5vh;
}

.carousel-dots1 {
  display: flex;
  gap: 1rem;
  position: absolute;
  margin-top: 10vh;
}

.carousel-dot1 {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #bbb;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-dot1.active {
  background-color: #E1C424;
}

@media screen and (max-width: 992px) {
  .section-planos-smart .service-card {
    width: calc(50% - 2rem);
    min-width: calc(50% - 2rem);
  }

  .section-planos-smart .title {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 768px) {
  .section-planos-smart .service-card {
    width: calc(100% - 2rem);
    min-width: calc(100% - 2rem);
  }

  .section-planos-smart .title {
    font-size: 2.2rem;
  }
}

@media screen and (max-width: 480px) {
  .section-planos-smart .title {
    font-size: 1.8rem;
    margin-top: 4vh;
  }

  .agendar-btn {
    margin-top: 45vh;
    margin-left: -46vh;
  }
}


/* ===== PERGUNTAS FREQUENTES ===== */
.section-faq {
  padding: 4rem 2rem;
  background-color: #f5f5f3;
}

.section-faq h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #b99a4a;
  margin-bottom: 2rem;
  margin-top: 10vh;
}

.faq-item {
  max-width: 800px;
  margin: 0 auto 1rem;
  border-bottom: 1px solid #ddd;
}

.faq-item button:hover {
  transition: 0.5s;
  color: #E1C424;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1.2rem;
  padding: 1rem 0;
  cursor: pointer;
  font-weight: 600;
  color: #161C1E;
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: '−';
  color: #E1C424;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  font-size: 1rem;
  color: #444;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1rem;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 992px) {
  .planos-container {
    gap: 20px;
  }

  .plano-box {
    min-width: 250px;
  }

  .section-explicacao h2 {
    font-size: 2rem;
  }

  .section-explicacao p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .plano-box.destaque {
    transform: scale(1);
  }

  .plano-box.destaque:hover {
    transform: translateY(-10px);
  }

  .plano-box {
    flex: 0 0 100%;
    max-width: 450px;
    margin-bottom: 20px;
  }

  .title.azul {
    font-size: 2rem;
    top: -60px;
  }

  .section-faq h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .section-planos {
    padding: 3rem 0;
  }

  .plano-header {
    padding: 1.5rem 1rem;
  }

  .plano-body,
  .plano-footer {
    padding: 1.5rem 1rem;
  }

  .plano-preco {
    font-size: 2rem;
  }

  .section-explicacao {
    padding: 3rem 1rem;
  }

  .section-faq {
    padding: 3rem 1rem;
  }

  .faq-question {
    font-size: 1rem;
  }

  .faq-answer {
    font-size: 0.95rem;
  }
}


/* ===== SEÇÃO UNIDADES ===== */
.section-unidades {
  background-color: #2d4418;
  min-height: 70vh; /* Garante que ocupe a tela inteira */
  display: flex;
  flex-direction: column;
  align-items: center; /* Centraliza horizontalmente */
  justify-content: center; /* Centraliza verticalmente */
  padding: 10rem 0;
  text-align: center;
}

/* Estilização específica para o título desta seção */
.title-unidades {
  color: #E1C424;
  font-size: 3rem;
  position: absolute;
  margin-top: -15vh;
  margin-left: 33%;
  margin-bottom: 4vh;
}

.title-unidades:after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #E1C424;
  margin: 10px auto 0;
  border-radius: 2px;
}



/* Responsividade */
@media (max-width: 480px) {
  .section-unidades {
    padding-top: 3rem;
    position: relative;
  }

  .unidades-container {
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 15px;
    margin-left: 0;
    margin-top: 1rem; /* Espaço para o título acima */
  }

  .title-unidades {
    position: absolute;
    font-size: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    margin-top: 2vh;
    margin-left: auto;
    text-align: center;
    z-index: 10; /* Garantir que apareça acima de outros elementos */
  }
  
  .unidade-box {
    max-width: 100%;
  }

  .maps{
    margin-top: 5vh;
  }
}

/* Estilos específicos para o modo carrossel */
.is-mobile-view .curso-box {
  transition: none;
}



.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);
  transition: transform 0.3s ease;
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-float img {
    width: 28px;
    height: 28px;
  }
}




/* ==== FOOTER (CÓDIGO ORGANIZADO E CORRIGIDO) ==== */

.main-footer {
  background: #2d4418;
  color: white;
  padding: 4rem 1rem 2rem; /* Aumentei o padding superior para compensar a remoção da margem negativa do logo */
  font-family: 'Arial', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-top: -10vh;
}

/* Colunas do Footer */
.footer-logo,
.footer-nav,
.footer-contact {
  flex: 1; /* Faz com que as colunas tentem ocupar espaço igual */
  min-width: 220px; /* Largura mínima antes de quebrar a linha */
}

/* Logo e descrição */
.footer-logo {
  max-width: 250px;
}

.footer-logo img {
  max-width: 100%; /* Imagem se ajusta ao container */
  height: auto;
  /* Removido: posicionamento instável com 'vh' que quebra o layout */
}

.footer-logo p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 1rem; /* Espaçamento padrão */
  /* Removido: margens instáveis com 'vh' */
}

/* Links de navegação */
.footer-nav h4,
.footer-contact h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #E1C424; /* Adicionei uma cor para destaque */
}

.footer-nav ul {
  list-style: none;
  padding: 0;
}

.footer-nav ul li {
  margin-bottom: 0.5rem;
}

.footer-nav ul li a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s, color 0.3s;
}

.footer-nav ul li a:hover {
  opacity: 1;
  color: #b99a4a;
}

/* Contatos */
.footer-contact p {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  opacity: 0.8;
  margin: 0.5rem 0;
}

/* Rodapé final e Copyright */
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  width: 100%; /* Garante que ocupe toda a largura */
}

.footer-bottom p {
  font-size: 0.9em;
  color: #e1e0e0;
  margin: 0 0 0.5rem 0;
}

.footer-bottom a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  text-decoration: underline;
  color: #b99a4a;
}

/* ==== RESPONSIVO PARA O FOOTER ==== */

/* Para Tablets */
@media (max-width: 992px) {
  .footer-container {
    gap: 1.5rem;
  }
}

/* Para Celulares e Tablets em modo retrato */
@media (max-width: 768px) {
  .main-footer {
    padding: 3rem 1rem;
  }
  
  .footer-container {
    flex-direction: column; /* Empilha as colunas */
    align-items: center; /* Centraliza as colunas empilhadas */
    text-align: center;
    gap: 2rem;
  }
  
  .footer-logo {
    max-width: 200px; /* Ajusta o tamanho máximo do logo */
  }

  .footer-contact p {
    justify-content: center; /* Centraliza ícones e texto de contato */
  }
}

/* Para Celulares Pequenos */
@media (max-width: 480px) {
  .main-footer {
    padding: 2rem 1rem;
  }

  .footer-nav h4,
  .footer-contact h4 {
    font-size: 1.1rem;
  }

  .footer-nav ul li a,
  .footer-contact p,
  .footer-logo p {
    font-size: 0.9rem;
  }
}


/* ==== BOTÃO VOLTAR AO TOPO (sem alterações, já estava bom) ==== */
.btn-topo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #E1C424;
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  display: none;
  transition: opacity 0.3s;
  z-index: 1000;
}

.btn-topo:hover {
  opacity: 0.8;
}
  

  
/* RESPONSIVIDADE */
  
/* MEDIA QUERIES - header */
/* Menu Mobile (inicialmente escondido em telas grandes) */
@media (max-width: 768px) {
  .main_header_nav {
    position: fixed;
    top: 0;
    left: -50%; /* Começa fora da tela */
    width: 50%;
    height: 100vh; /* Ocupa metade da tela */
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Move os itens para cima */
    align-items: center;
    padding-top: 40px; /* Adiciona espaçamento no topo */
    box-shadow: 4px 0 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease-in-out;
  }

  .main_header_nav.active {
    transform: translateX(100%); /* Move para dentro da tela */
  }

  /* Ajustando os itens do menu */
  .main_header_nav ul {
    flex-direction: column;
    width: 100%;
    padding: 0;
  }

  .main_header_nav_item {
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
  }

  .main_header_nav_item a {
    display: block;
    padding: 10px;
    width: 100%;
    color: #161C1E;
    font-size: 1.1em;
  }
 }

 /* Botão Agendar dentro da barra lateral */
 .btn_agendar {
  background: #E1C424;
  color: #161C1E;
  font-weight: bold;
  padding: 10px;
  width: 100%; /* Mantém o botão dentro da barra */
  border-radius: 5px;
  text-transform: uppercase;
  text-align: center;
  transition: background 0.3s ease;
  margin-top: 2px; /* Adiciona espaçamento */
 }

 .btn_agendar:hover {
  background: #161C1E;
  color: #E1C424;
 }
 
 /* Ícone do Menu Mobile */
 .mobile_action {
  width: 40px;
  height: 30px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 110;
  position: relative;
 }

 .mobile_action span {
  display: block;
  width: 100%;
  height: 4px;
  background: #ffffff;
  transition: all 0.3s ease;
 }

 /* Exibir apenas em telas menores */
 @media (max-width: 768px) {
  .mobile_action {
    display: flex;
  }
 }

 /* Animação do Ícone quando ativo */
 .mobile_action.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
 }

 .mobile_action.active span:nth-child(2) {
  opacity: 0;
 }

 .mobile_action.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

@media (max-width: 480px) {
.btn_agendar {
  background: #E1C424;
  color: #161C1E;
  font-weight: bold;
  border-radius: 5px;
  text-transform: uppercase;
  text-align: center;
  transition: background 0.3s ease;
  margin-top: 2px; /* Adiciona espaçamento */
  margin-left: -5px;
 }
}