* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f4f4f4;
}

.main {
  width: 1100px;
  margin: 0 auto;
}

/* SLIDER */
.slider {
  margin-top: 65px;
  
  max-width: 1100px;
  height: 360px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-left: auto;
  margin-right: auto;
}
.slides {
  display: flex;
  transition: transform 0.6s ease;
  height: 100%;
}
.slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 0 12px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}
.slider-btn.prev {
  left: 10px;
}
.slider-btn.next {
  right: 10px;
}

@media (max-width: 500px) {
  .main {
    max-width: 95%;
    margin: 10px 10px;
  }
  .slider {
    width: 100%;
    margin-bottom: 5px;
  }
  .slider img {
    width: 100%;
    margin: 10px 10px;
  }
  #sobre {
    width: 100%;
    margin: 3px;
    font-size: 0.5rem;
  }
  #sobre h1 {
    font-size: 2rem;
  }
  #contato .cont {
    width: 300px;
    display: flex;
    margin: 0 auto;
  }
}

/* SOBRE NÓS */
#sobre {
  padding: 40px 0;
  text-align: center;
}
#sobre h2 {
  font-size: 1.5rem;
  color: #f7b731;
  margin-bottom: 9px;
}
#sobre p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
}
.gallery img {
  width: 100%;
  height: auto;
  cursor: pointer;
  border-radius: 6px;
  transition: transform 0.3s ease;
}
.gallery img:hover {
  transform: scale(1.05);
}
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.modal-content {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
.close-btn {
  position: fixed;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  z-index: 1100;
}
.nav-buttons {
  margin-top: 15px;
  display: flex;
  gap: 20px;
}
.nav-buttons button {
  background-color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}
.nav-buttons button:hover {
  background-color: #ddd;
}
@media (max-width: 500px) {
    #sobre p {
    width: 90%;
    margin:0 auto;
    }
  .gallery {
    grid-template-columns: 1fr;
  }
}

/* FOOTER */
.pcontato {
  margin: 10px auto;
  width: 300px;
  text-align: center;
  color: #222;
  font-weight: bold;
}
#contato {
    width: 100%;
    
    
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  text-align: center;
  padding: 18px 0;
  font-size: 1rem;
}

.whats {
  width: 30px;
  position: fixed;
  bottom: 65px;
  right: 65px;
  z-index: 1000;
}
@media (max-width: 500px) {
  .main .whats {
    width: 20px;
    position: fixed;
    bottom: 71px;
    right: 50px;
    z-index: 1000;
  }
}
