* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #111;
  color: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

header {
  background-color: #000;
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
}

.topo h1 {
  color: #d4af37;
  font-size: 28px;
  text-align: center;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

nav a:hover {
  color: #d4af37;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #d4af37;
  font-size: 30px;
  cursor: pointer;
  line-height: 1;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 999;
}

.menu-overlay.ativo {
  opacity: 1;
  visibility: visible;
}

.banner {
  background: url('img/inicio.jpg') center/cover no-repeat;
  min-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  position: relative;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.overlay {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.65);
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  width: 100%;
  max-width: 700px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.overlay h2 {
  font-size: 42px;
  margin-bottom: 15px;
  color: #d4af37;
  line-height: 1.2;
}

.overlay p {
  font-size: 20px;
  margin-bottom: 25px;
}

.botao {
  display: inline-block;
  background-color: #06a006;
  color: #000;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.botao:hover {
  background-color: #fff;
  transform: translateY(-2px);
}

.secao {
  padding: 60px 0;
}

.secao h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #d4af37;
  font-size: 32px;
}

.destaque {
  background-color: #1a1a1a;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card {
  background-color: #222;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card h3 {
  margin: 15px 0 10px;
  color: #d4af37;
  padding: 0 10px;
}

.card p {
  padding: 0 15px;
  margin-bottom: 10px;
}

.card span {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}

.barbeiro img {
  height: 280px;
}

.horarios-box {
  max-width: 500px;
  margin: auto;
  background-color: #222;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  font-size: 18px;
}

#contato p,
#localizacao p,
#sobre p {
  text-align: center;
  max-width: 800px;
  margin: 10px auto;
  font-size: 18px;
}

.mapa {
  margin: 25px 0;
  border-radius: 12px;
  overflow: hidden;
}

footer {
  background-color: #000;
  text-align: center;
  padding: 20px;
  color: #aaa;
  margin-top: 20px;
}

/* TABLET */
@media (max-width: 992px) {
  .topo {
    justify-content: space-between;
  }

  .topo h1 {
    width: auto;
    font-size: 26px;
  }

  nav {
    justify-content: center;
  }

  .overlay h2 {
    font-size: 34px;
  }

  .overlay p {
    font-size: 18px;
  }
}

/* CELULAR */
@media (max-width: 768px) {
  header {
    padding: 14px 0;
  }

  .container {
    width: 92%;
  }

  .topo {
    flex-wrap: nowrap;
  }

  .topo h1 {
    font-size: 24px;
    line-height: 1.2;
    text-align: left;
  }

  .menu-toggle {
    display: block;
    z-index: 1002;
  }

 nav {
  position: fixed;
  top: 0;
  right: -280px;
  width: 260px;
  height: 100vh;
  background: #0d0d0d;

  display: flex;
  flex-direction: column;

  align-items: stretch;
  justify-content: flex-start;

  padding: 70px 0 20px; /* 🔥 MAIS PERTO DO TOPO */
  
  transition: right 0.3s ease;
  z-index: 1001;

  border-left: 1px solid rgba(212, 175, 55, 0.2);
}
  nav.ativo {
    right: 0;
  }

 nav a {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;

  display: block;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  transition: 0.3s;
}

nav a:hover {
  background: rgba(212, 175, 55, 0.08);
  color: #d4af37;
}

  .banner {
    min-height: 75vh;
    padding: 30px 15px;
    background-position: center;
  }

  .overlay {
    padding: 25px 18px;
    border-radius: 12px;
  }

  .overlay h2 {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .overlay p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .botao {
    width: 100%;
    max-width: 260px;
    padding: 12px 18px;
    font-size: 15px;
  }

  .secao {
    padding: 45px 0;
  }

  .secao h2 {
    font-size: 26px;
    margin-bottom: 22px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .card {
    padding-bottom: 12px;
    border-radius: 10px;
  }

  .card img {
    height: 140px;
  }

  .barbeiro img {
    height: 150px;
  }

  .card h3 {
    font-size: 16px;
    margin: 10px 0 5px;
    padding: 0 6px;
  }

  .card p {
    font-size: 13px;
    padding: 0 8px;
    margin-bottom: 6px;
  }

  .card span {
    font-size: 14px;
  }

  #contato p,
  #localizacao p,
  #sobre p {
    font-size: 16px;
  }

  .horarios-box {
    padding: 20px 15px;
    font-size: 16px;
  }

  .mapa iframe {
    height: 260px;
  }

  footer {
    font-size: 14px;
    padding: 18px 12px;
  }
}

/* CELULAR PEQUENO */
@media (max-width: 480px) {
  .topo h1 {
    font-size: 21px;
    max-width: 220px;
  }

  .menu-toggle {
    font-size: 28px;
  }

  .overlay {
    padding: 22px 14px;
  }

  .overlay h2 {
    font-size: 24px;
  }

  .overlay p {
    font-size: 15px;
  }

  .secao h2 {
    font-size: 23px;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .card img {
    height: 120px;
  }

  .barbeiro img {
    height: 130px;
  }

  .card h3 {
    font-size: 15px;
  }

  .card p {
    font-size: 12px;
  }

  .card span {
    font-size: 13px;
  }

  .mapa iframe {
    height: 220px;
  }
}