/*-----------------------------------------*/
            /* INDEX*/
/*----------------------------------------*/


* {
    margin: 0;
    padding: 0;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: 0.2s linear;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
  }
  
  html, body {
    overflow-x: hidden;
    width: 100%;
  }
  
  body {
    background-color: #1A1A1A;
    padding-top: 180px;
  }

  body.index-page {
    padding-top: 0;
    background-color: #1A1A1A;
  }

  body.loc {
    background-color: #111;
    padding-top: 150px;
  }

  body.us{
    background-color: #111;
    padding-top: 150px;
  }

/* Header */
  
  .header {
    position: fixed;
    z-index: 99;
    border-bottom: 0.1rem solid #BDBDBD;
    top: 0;
    left: 0;
    width: 100%;
  }
  
  .header section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .navbar a {
    position: relative;
    margin: 0 1rem;
    font-size: 1.3rem;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .navbar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -4px;
    background-color: #89CFF0;
    transition: width 0.3s ease;
  }
  

  
  .navbar a:hover::after {
    width: 100%;
  }
  
.menu-toggle {
  display: none;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Menu padrão (desktop): horizontal */
.navbar {
  display: flex;
  gap: 20px;
}


.social-icons2 {
  display: none;
}

/* NAVBAR MOBILE */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: #89CFF0;
    cursor: pointer;
    z-index: 1001;
    position: relative;
  }

  .navbar {
    display: none;
    position: fixed;
    inset: 0; /* Ocupa toda a tela */
    background-color: #1A1A1A;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 1000;
    transition: all 0.3s ease;
  }

  .navbar.active {
    display: flex;
  }

  .navbar a {
    color: #fff;
    font-size: 1.6rem;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .navbar a:hover {
    color: #89CFF0;
  }

  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
  }

  .no-scroll {
    overflow: hidden;
    height: 100vh;
}

  .social-icons2 {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
  }


}


/* Banners */

  .banner {
    margin-top: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  
  .slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 400px;
    overflow: hidden;
    margin: 0 auto;
  }
  
  
  .banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    opacity: 0;
    z-index: 0;
    transition: opacity 0.8s ease-in-out;
  }
  
  .banner-img.active {
    opacity: 1;
    z-index: 1;
  }
  
  .slider-container button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: #ffffff;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2;
    transition: color 0.3s ease;
  }
  
  .slider-container button:hover {
    color: #89CFF0;
  }
  
  .slider-container .prev {
    left: 20px;
  }
  
  .slider-container .next {
    right: 20px;
  }


.banner-mobile {
  display: none;
}

/* Mostrar imagens mobile e esconder desktop no celular */
@media (max-width: 768px) {
  .banner{
    display:none  
  }

  .banner-mobile {
    display: block;
  }

.banner-mobile {
  display: block;
  width: 90%;               /* Reduz o tamanho */
  max-width: 600px;         /* Limita tamanho máximo */
  margin: 20px auto;        /* Centraliza e dá espaço vertical */
  padding: 0;
}

.banner-mobile img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;  
  margin-bottom: 75px;    /* Opcional: bordas arredondadas para estética */
} 

  
}

  
/*Serviços*/
  .servicos {
  padding: 50px 20px;
  background-color: #1A1A1A;
  text-align: center;
}

.titulo-servicos {
  font-size: 1.8rem;
  font-weight: 600;
  color: #E5E5E5;
  margin-bottom: 40px;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative; 
}

.titulo-servicos::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 320px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #89CFF0, transparent);
  border-radius: 4px;
}


.servicos-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;  
  box-shadow: 0 0px 2px rgba(255, 255, 255, 0.1);
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 16px;
}

.servico {
  background-color: none;
  border-radius: 12px;
  padding: 24px 32px;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  min-width: 140px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/*Horários*/
.horario{
  padding-top: 30px;
}

.titulo-horario {
  font-size: 1.8rem;
  font-weight: 600;
  color: #E5E5E5;
  margin-bottom: 40px;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative; 
  padding-top: 20px;
}

.titulo-horario::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 320px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #89CFF0, transparent);
  border-radius: 4px;
}

.horarios-container{ 
  display: grid;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;  
  box-shadow: 0 0px 2px rgba(255, 255, 255, 0.1);
  max-width: 800px;
  margin: 0 auto;
  padding: 10px;
  border-radius: 16px;
}

.horhor {
  background-color: none;
  border-radius: 12px;
  padding: 24px 32px;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  min-width: 140px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .servicos{
    display: none ;
  }
  
 }
  




/* Sobre Nós Home */

  .container-sobre {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
  }
  

  .sobre-nos {
    background-color: #121212;
    padding: 4rem 1rem;
    color: #ccc;;
  }
  
  
.img-sobre {
  flex: 1;
  min-width: 280px;
  max-width: 500px; /* Evita que fique gigante em telas grandes */
  margin: auto; /* Centraliza se estiver sozinha */
}

.img-sobre img {
  width: 100%;
  height: auto;
  max-height: 550px; /* Limita a altura */
  object-fit: cover; /* Corta o excesso mantendo o foco */
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
  
  .texto-sobre {
    flex: 1;
    min-width: 280px;
  }
  
  .texto-sobre h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #E5E5E5;
  }
  
  .texto-sobre p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  
  .btn-sobre {
    display: inline-block;
    background-color: #89CFF0;
    color: #1A1A1A;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s;
  }
  
  .btn-sobre:hover {
    background-color: #a2daf5;
  }

  /* Localização */

  .ambiente {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    gap: 2rem;
    background-color: #1A1A1A;
  }
  
  .ambiente-texto {
    max-width: 500px;
    color: #fff;
  }
  
  .ambiente-texto h3 {
    color: 	#E5E5E5;
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .ambiente-texto p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 15px;
  }
  
  .ambiente-img img {
    max-width: 500px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    }

  @media (max-width: 768px) {
  .ambiente {
    flex-direction: column;
    padding: 3rem 1rem;
  }

  .ambiente-texto {
    order: 2;
    max-width: 100%;
  }

  .ambiente-img {
    order: 1;
    width: 100%;
  }

  .ambiente-img img {
    max-width: 100%;
    height: auto;
  }

  .img-sobre {
    max-width: 100%;      
    width: 100%;          
    padding: 0 10px;     
    height: 350px;      
    overflow: hidden;     
    border-radius: 12px; 
    margin: 0 auto;       
  }

  .img-sobre img {
    width: 100%;
    height: 100%;
    object-fit: cover;    /* cobre o container com corte proporcional */
    max-height: none;     /* remove limite pra usar o 100% da altura */
  }
}



  /*Fotos*/

  .fotos{
    padding: 3rem 1.5rem;
    gap: 2rem;
    background-color: #121212;
  }

  .fotos-title {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
  }

  .fotos-title h3 {
    color: 	#E5E5E5;
    font-size: 2rem;
    margin-bottom: 1rem;
    padding-top: 30px;
    padding-bottom: 10px;
    text-align: center; 
    position: relative;
  }


.title-fotos::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 720px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #89CFF0, transparent);
  border-radius: 4px;
}

  


  .fotos-cortes {
    display: flex;
    gap: 2rem;
    animation: girar 20s linear infinite;
    width:max-content;
  }

  .fotos-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
  }

  .fotos-cortes img {
    width: 300px;      
    height: 300px;  
    flex: 0 0 auto;      
    border-radius: 10px;
    object-fit: cover;  
    box-shadow: 0 0 10px #111;
    border-radius: 10px;
    background-color: #121212;
  }

  .button-corte{
    text-align: center;
    padding-top: 30px;
  }
  
  .seta {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none; 
    border: none;
    font-size: 2rem;
    color: #89CFF0; 
    cursor: pointer;
    z-index: 10;
    cursor: default;
    pointer-events: none;
  }
  
  .seta.esquerda {
    left: 0;
  }
  
  .seta.direita {
    right: 0;
  }
  

@keyframes girar {
  0% {
    transform: translateX(0); 
  }
  100% {
    transform: translateX(-50%); 
  }
}

.fotos-cortes {
  display: flex;
  width: max-content;
  animation: girar 30s linear infinite;
}




    .footer {
        background-color: #111;
        color: #fff;
        padding: 3rem 1rem 2rem;
        font-size: 1rem;
      }
      
      .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 2rem;
        text-align: center;
      }
      
      .footer-logo img {
        width: 170px;
      }
      
      .footer-slogan {
        flex: 1;
        font-size: 1.1rem;
        color: #ccc;
        font-weight: 300;
        max-width: 400px;
      }
      
      .footer-social {
        text-align: right;
        min-width: 220px;
      }
      
      .footer-social h4 {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 1rem;
      }
      
      .social-icons a {
        display: inline-block;
        margin-left: 1rem;
      }
      
      .social-icons img {
        width: 32px;
        height: 32px;
        filter: brightness(0) invert(1);
        transition: transform 0.3s ease;
      }
      
      .social-icons a:hover img {
        transform: scale(1.15);
      }
      
      .footer-contact {
        margin-top: 0.7rem;
        color: #ccc;
        font-size: 0.95rem;
      }
      
      .footer-bottom {
        border-top: 1px solid #333;
        text-align: center;
        padding-top: 1.5rem;
        margin-top: 2rem;
        color: #aaa;
        font-size: 0.85rem;
      }


/* Responsivo */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-social {
    text-align: center;
  }

  .footer-slogan {
    font-size: 1rem;
  }

  .social-icons {
    justify-content: center;
  }
}





/*-----------------------------------------*/
            /* PORTIFÓLIO*/
/*----------------------------------------*/


.galeria-wrapper {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
  background-color: #111;
  margin-bottom: 100px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.galeria-wrapper h2 {
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: #fff;
  border-bottom: 2px solid #444;
  display: inline-block;
  padding-bottom: 10px;
  position: relative;
}

.galeria-wrapper{
  transform: translateY(30px);
  
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.galeria-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.1);
}



/*-----------------------------------------*/
            /* LOCALIZAÇÃO */
/*----------------------------------------*/




.localizacao {
  padding: 60px 20px;
  background-color: #111;
  color: #fff;
  text-align: center;
}

.localizacao-titulo {
  max-width: 800px;
  margin: 0 auto 40px;
}

.titulo-local {
  font-size: 2.5rem;
  margin-bottom: 25px;
  color: #E5E5E5;
  font-weight: 700;
}

.subtitulo-local {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1.2rem;
  color: #ccc;
  max-width: 100%;
  margin-bottom: 20px;
}
.endereco-link {
  font-size: 1.3rem;
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid #89CFF0;
  transition: color 0.3s, border-color 0.3s;
}

.endereco-link:hover {
  color: #89CFF0;
  border-color: #fff;
}

.fotos-barbearia {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap:nowrap;
}

.foto {
  flex: 1 1 500px;
  max-width: 550px;
  height: 550px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}


.foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Mapa centralizado */
.mapa-container {
  width: 100%;
  max-width: 1000px;
  height: 400px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .titulo-local {
    font-size: 1.75rem;
    margin-bottom: 20px;
  }

  .subtitulo-local {
    font-size: 1rem;
    white-space: normal;
    text-overflow: unset;
  }

  .endereco-link {
    font-size: 0.95rem;
    display: inline-block;
    margin-top: 10px;
    word-break: break-word;
  }

.fotos-barbearia {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap; /* permite quebrar em mobile */
}

.foto {
  width: 300px;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  background-color: #000; /* opcional: previne espaços visuais indesejados */
}

.foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

  .mapa-container {
    height: 300px;
    width: 100%;
    border-radius: 12px;
  }
}


/*-----------------------------------------*/
            /*SOBRE NÓS*/
/*----------------------------------------*/

.about-us {
  background-color: #121212;
  padding: 4rem 1rem;
  color: #fff;
}

.us-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.start-img {
  flex: 1;
  min-width: 380px;
}

.start-img img {
  width: 100%;
  height:600px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.start-text {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.end-image img{ 
  width: 1000;
  max-width: 1200px;
  border-radius: 20px;
  margin:0;
  margin-top: 70px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  margin-bottom: 50px;
}

.end-image{
  display: flex;
  justify-content: center;
  background-color: none;
  background-color: #121212
}

/* Sobre nós <p> </p>*/

.about-us {
  background-color: #121212;
  padding: 4rem 1rem;
  color: #fff;
}

.us-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}


.start-img {
  flex: 1;
  min-width: 300px;
}

.start-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.start-text {
  flex: 1;
  min-width: 300px;
}

.start-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #E5E5E5;
}

.start-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  color: #ccc;
}


@media (max-width: 768px) {
  .us-container {
    flex-direction: column !important;
  }

  .us-container.reverse {
    flex-direction: column !important;
  }

  .start-img {
    order: 1;
  }

  .start-text {
    order: 2;
    text-align: left;
  }

  .end-image{
    display:none;
  }

  .start-text h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

   .start-text p {
      font-size: 0.95rem;
  }

   .about-us {
      padding: 2rem 1rem;
  }
}



/*-----------------------------------------*/
            /* AGENDAMENTOS */
/*----------------------------------------*/



.container {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 1rem;
  color: #fff;
}

.container h1 {
  padding-top: 10px;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  color: #E5E5E5;
  letter-spacing: 1px;
  position: relative;
}

.grade-dia {
  background: #2A2A2A;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.grade-dia h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #E5E5E5;
  border-bottom: 2px solid #89CFF0;
  padding-bottom: 0.5rem;
  text-align: center;
}

.grade-horarios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

.horario {
  padding: 0.9rem;
  font-size: 1rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.horario.livre {
  background-color: #2E2E2E;
  color: #ffffff;
  border: 2px solid #89CFF0;
}

.horario.livre:hover {
  box-shadow: 0 5px 12px rgba(137, 207, 240, 0.4);
}

.horario.reservado {
  background-color: #2E2E2E;
  color: #94a3b8;
  border: 2px solid #94a3b8;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
}

.horario.reservado:hover {
  background-color: #2E2E2E;
  color: #94a3b8;
  transform: none;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

/* Ícone do cadeado */
.horario.reservado .icone {
  margin-right: 6px;
  font-size: 0.9rem;
  line-height: 1;
}

.btn-agendar {
  background: linear-gradient(135deg, #89CFF0, #d4efff); /* Gradiente azul claro */
  padding: 20px 36px;
  font-size: 24px;
  color: #1d1d1d;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border-radius: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 20px;
  margin-bottom: 70px;
  border: 2px solid #89CFF0;
  font-weight: 600;
  box-shadow: 0 0 15px rgba(137, 207, 240, 0.4); /* Sombra azul sutil */
}

.btn-agendar:hover {
  background: linear-gradient(135deg, #d4efff, #89CFF0); /* Inverte o gradiente no hover */
  box-shadow: 0 5px 20px rgba(137, 207, 240, 0.6); /* Sombra azul mais intensa */
  transform: scale(1.05);
}

.btn-agendar:active {
  transform: scale(1); /* Reseta o aumento de tamanho ao clicar */
}

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

/* Responsividade para telas menores (ex: celulares) */
@media (max-width: 768px) {
  .container h1 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .grade-dia {
    padding: 1.5rem 1rem;
  }

  .grade-dia h2 {
    font-size: 1.5rem;
  }

  .grade-horarios {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 0.7rem;
  }

  .horario {
    padding: 0.7rem;
    font-size: 0.85rem;
  }

  .btn-agendar {
    font-size: 18px;
    padding: 16px 28px;
    border-radius: 16px;
    margin-bottom: 40px;
  }
}

/* Ajuste extra para telas muito pequenas (ex: iPhone SE) */
@media (max-width: 480px) {
  .container h1 {
    font-size: 1.5rem;
  }

  .grade-horarios {
    grid-template-columns: repeat(auto-fit, minmax(75px, 1fr));
  }

  .btn-agendar {
    font-size: 16px;
    padding: 14px 24px;
  }
}


/*-----------------------------------------*/
            /* FORMULÁRIO*/
/*----------------------------------------*/



 main form{ 
  max-width: 600px;
  margin: 3rem auto;
  background-color: #2a2a2a;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border: 2px solid #525151;
}

main h1 {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 2rem;
  color: #E5E5E5;
  letter-spacing: 1px;
}


form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #ddd;
}

form select,  
form input {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  border-radius: 10px;
  border: 2px solid #89CFF0;
  background-color: #1d1d1d;
  color: #fff;
  font-size: 16px;
}

form input::placeholder {
  color: #aaa;
}

form input:focus,
form select:focus {
  outline: none;
  border-color: #98deff;
  background-color: #444;  /* Cor de fundo ao focar */
}

button#btnAgendar {
  background-color: #1d1d1d;
  color: #fff;
  border: 2px solid #89CFF0;
  padding: 15px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease-in-out;
}

button#btnAgendar:hover {
  background-color: #2e2e2e;
  box-shadow: 0 4px 10px rgba(137, 207, 240, 0.4);
  transform: scale(1.03);
}

/* Campos obrigatórios com * */
.required {
  color: red;
}

/* Mensagens de erro */
.erro {
  color: #ff6666;
  font-size: 0.85rem;
  margin-top: -15px;
  margin-bottom: 15px;
}

/* Borda vermelha para inputs inválidos */
input:invalid,
select:invalid {
  border-color: red;
}

/* Modal de resumo da reserva */

 .spinner {
    margin: 20px auto;
    width: 40px;
    height: 40px;
    border: 4px solid #ccc;
    border-top: 4px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  @keyframes spin {
    to { transform: rotate(360deg); }
  }



.modal.hidden {
  display: none;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-content {
  background: #1d1d1d;
  color: #fff;
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  text-align: left;
}

.modal-content p {
  margin-bottom: 5px;
}

.modal-content h2 {
  margin-bottom: 20px;
  color: #89CFF0;
}

.modal-content button {
  margin-top: 15px;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
}

.disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: default;
}

#confirmarResumo {
  background-color: #89CFF0;
  color: #1d1d1d;
}

#cancelarResumo {
  background-color: transparent;
  border: 2px solid #89CFF0;
  color: #fff;
}

@media screen and (max-width: 480px) {
  .modal-content {
    padding: 18px;
  }

  .modal-content h2 {
    font-size: 1.25rem;
  }

  .modal-content button {
    padding: 10px;
    font-size: 15px;
  }
} 

/* Remove o estilo padrão do select */
form select {
  -webkit-appearance: none; /* Safari/Chrome */
  -moz-appearance: none;    /* Firefox */
  appearance: none;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="10" viewBox="0 0 14 10"><polyline points="1 1 7 9 13 1" stroke="%2389CFF0" stroke-width="2" fill="none" stroke-linecap="round"/></svg>');
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 14px 10px;
  padding-right: 40px; /* espaço pro ícone */
}

/* Limita o tamanho da lista quando ela estiver aberta */
select:focus {
  max-height: 200px;
  overflow-y: auto;
}

form select::-webkit-scrollbar {
  width: 6px;
}

form select::-webkit-scrollbar-thumb {
  background-color: #89CFF0;
  border-radius: 3px;
}

form select::-webkit-scrollbar-track {
  background: #2e2e2e;
}




#horario {
  max-height: 50px;
  overflow-y: auto;
  width: 100%;
}


.custom-select-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

.custom-select {
  background-color: #1d1d1d;
  border: 2px solid #89CFF0;
  color: #fff;
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 16px;
  cursor: pointer;
  transition: border-color 0.3s ease-in-out, background-color 0.3s;
}

.custom-select:hover,
.custom-select:focus {
  border-color: #89CFF0;
  background-color: #2e2e2e;
  outline: none;
}

.select-options {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  background-color: #1d1d1d;
  border: 2px solid #89CFF0;
  border-top: none;
  border-radius: 0 0 10px 10px;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(200, 169, 106, 0.2);
}

.select-options div {
  padding: 12px 15px;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

.select-options div:hover {
  background-color: #2e2e2e;
}

.select-options.hidden {
  display: none;
}

.custom-select.invalido {
  border-color: red;
}

/* Tema escuro*/
.header-dark{
  position: static;
  z-index: 99;
  border-bottom: 0.1rem solid #BDBDBD;
  top: 0;
  left: 0;
  width: 100%;
}

.header-dark section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.3rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

body.dark {
  background-color: #111;
  padding-top: 0
}



/* Formulario Carregamento*/

.spinner-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 3px solid #ccc;
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


/*GERAL – BOTÕES E INPUTS*/
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}



/**/

.header-form {
  position: static;
  z-index: 99;
  border-bottom: 0.1rem solid #BDBDBD;
  top: 0;
  left: 0;
  width: 100%;
}

.header-form section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.3rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

body.form {
  background-color: #1A1A1A;
  padding-top: 0
  /* Remova qualquer padding extra se houver */
}

@media (max-width: 480px) {
  main form {
    padding: 20px;
    margin: 2rem 1rem;
    border-radius: 15px;
  }

  main h1 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  form label {
    font-size: 0.95rem;
  }

  form select,
  form input {
    font-size: 15px;
    padding: 10px 12px;
    margin-bottom: 16px;
  }

  button#btnAgendar {
    padding: 12px;
    font-size: 16px;
  }

  .custom-select {
    font-size: 15px;
  }

  .erro {
    font-size: 0.85rem;
  }
}