@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

:root {
  --preto: #0d0d0d;
  --preto-secundario: #151515;
  --cinza: #bdbdbd;
  --branco: #ffffff;
  --dourado: #d4af37;
  --dourado-hover: #b8932f;
  --borda: rgba(255, 255, 255, 0.08);
  --sombra: 0 10px 30px rgba(0, 0, 0, 0.35);
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--preto);
  color: var(--branco);
  line-height: 1.6;
}

/* HERO */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75)),
    url("img/banner.jpg") center center / cover no-repeat;
  display: flex;
  flex-direction: column;
}

/* MENU */
.menu {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--borda);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dourado);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
}

.nav-links a {
  color: var(--branco);
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--dourado);
}

/* CONTEÚDO HERO */
.hero-conteudo {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 10%;
  max-width: 900px;
}

.tag {
  display: inline-block;
  width: fit-content;
  padding: 8px 16px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--dourado);
  border-radius: 999px;
  margin-bottom: 18px;
  font-size: 0.9rem;
}

.hero-conteudo h1 {
  font-size: 3.4rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-conteudo p {
  max-width: 650px;
  color: #e0e0e0;
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.hero-botoes {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* BOTÕES */
.btn {
  background: var(--dourado);
  color: #111;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: var(--sombra);
}

.btn:hover {
  background: var(--dourado-hover);
  transform: translateY(-2px);
}

.btn-secundario {
  background: transparent;
  color: var(--branco);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secundario:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--branco);
}

/* SEÇÕES */
.secao {
  padding: 90px 10%;
}

.secao-escura {
  background: var(--preto-secundario);
}

.titulo-secao {
  text-align: center;
  margin-bottom: 45px;
}

.titulo-secao span {
  color: var(--dourado);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.titulo-secao h2 {
  font-size: 2.3rem;
  margin-top: 10px;
}

/* SERVIÇOS */
.cards-servicos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.card-servico {
  background: #1b1b1b;
  border: 1px solid var(--borda);
  border-radius: 18px;
  padding: 30px 24px;
  text-align: center;
  transition: 0.35s;
  box-shadow: var(--sombra);
}

.card-servico:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.4);
}

.card-servico i {
  font-size: 2rem;
  color: var(--dourado);
  margin-bottom: 18px;
}

.card-servico h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.card-servico p {
  color: var(--cinza);
  margin-bottom: 14px;
}

.card-servico strong {
  color: var(--dourado);
  font-size: 1.1rem;
}

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

.foto {
  height: 260px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--borda);
  box-shadow: var(--sombra);
  background: #1b1b1b;
  transition: 0.35s;
}

.foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.35s;
}

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

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

/* SOBRE */
.sobre-box {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  align-items: center;
}

.sobre-texto p {
  margin-bottom: 18px;
  color: #dddddd;
  font-size: 1rem;
}

.sobre-destaques {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.destaque {
  background: #1b1b1b;
  border: 1px solid var(--borda);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--sombra);
}

.destaque h3 {
  color: var(--dourado);
  font-size: 2rem;
  margin-bottom: 8px;
}

/* FORMULÁRIO */
.formulario {
  max-width: 650px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.formulario input,
.formulario select {
  width: 100%;
  padding: 15px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #111;
  color: white;
  font-size: 1rem;
  outline: none;
}

.formulario input:focus,
.formulario select:focus {
  border-color: rgba(212, 175, 55, 0.6);
}

.mensagem-form {
  text-align: center;
  margin-top: 20px;
  color: var(--dourado);
  font-weight: 600;
}

/* PAINEL DE AGENDAMENTOS */
.painel-agendamentos {
  max-width: 900px;
  margin: 40px auto 0;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 25px;
  box-shadow: var(--sombra);
}

.painel-agendamentos h3 {
  text-align: center;
  color: var(--dourado);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.lista-agendamentos {
  display: grid;
  gap: 15px;
}

.card-agendamento {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  background: #1b1b1b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px;
  flex-wrap: wrap;
}

.info-agendamento {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #fff;
}

.info-agendamento strong {
  color: var(--dourado);
  font-size: 1rem;
}

.info-agendamento span {
  color: #d6d6d6;
  font-size: 0.95rem;
}

.btn-cancelar {
  background: #c0392b;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.acoes-agendamento {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-editar {
  background: var(--dourado);
  color: #111;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  transition: 0.3s;
}

.btn-editar:hover {
  transform: translateY(-2px);
  background: var(--dourado-hover);
}

.btn-cancelar:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.sem-agendamentos {
  text-align: center;
  color: #bdbdbd;
  padding: 20px 10px;
}

.btn-limpar {
  margin: 25px auto 0;
  display: block;
  background: transparent;
  color: #ff4d4d;
  border: 1px solid #ff4d4d;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.btn-limpar:hover {
  background: #ff4d4d;
  color: white;
  transform: translateY(-2px);
}

.oculto {
  display: none;
}

/* ACESSO ADMIN */
.admin-acesso {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
}

.admin-acesso span {
  cursor: pointer;
  font-size: 12px;
  color: #555;
  transition: 0.3s;
}

.admin-acesso span:hover {
  color: #888;
}

/* CONTATO */
.contato-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.info-contato {
  background: #1b1b1b;
  border: 1px solid var(--borda);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--sombra);
}

.info-contato i {
  color: var(--dourado);
  font-size: 1.7rem;
  margin-bottom: 12px;
}

/* RODAPÉ */
.rodape {
  text-align: center;
  padding: 25px 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #aaaaaa;
  background: #0a0a0a;
}

/* WHATSAPP */
.whatsapp {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.9rem;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  z-index: 999;
  transition: 0.3s;
}

.whatsapp:hover {
  transform: scale(1.08);
}

/* ANIMAÇÃO REVEAL */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.9s ease;
}

.reveal.ativo {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .menu {
    flex-direction: column;
    gap: 16px;
    padding: 18px 20px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .hero-conteudo {
    padding: 40px 8%;
  }

  .hero-conteudo h1 {
    font-size: 2.4rem;
  }

  .sobre-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-conteudo h1 {
    font-size: 2rem;
  }

  .titulo-secao h2 {
    font-size: 1.8rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero-botoes {
    flex-direction: column;
  }

  .card-agendamento {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-cancelar,
  .btn-limpar {
    width: 100%;
    text-align: center;
  }
}

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

.horario-btn {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #1b1b1b;
  color: white;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
}

.horario-btn:hover {
  border-color: var(--dourado);
}

.horario-btn.ocupado {
  background: #2a2a2a;
  color: #777;
  cursor: not-allowed;
}

.horario-btn.selecionado {
  background: var(--dourado);
  color: #111;
  font-weight: bold;
}

.acoes-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.acoes-form button {
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.horario-btn:disabled {
  opacity: 0.6;
}

.dashboard-admin {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.card-dashboard {
  background: linear-gradient(135deg, #111, #222);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 18px;
  padding: 25px 15px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.card-dashboard h3 {
  color: #d4af37;
  font-size: 2rem;
  margin-bottom: 8px;
}

.card-dashboard p {
  color: #fff;
  font-size: 0.95rem;
}

.grafico-card {
  margin-top: 25px;
  background: #181818;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 18px;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.grafico-card h3 {
  color: #d4af37;
  text-align: center;
  margin-bottom: 20px;
}

.grafico-card canvas {
  max-height: 300px;
}

.grafico-container {
  width: 100%;
  max-width: 900px;
  height: 300px;
  margin: 0 auto;
}

.grafico-card {
  text-align: center;
}

.grafico-container canvas {
  width: 100% !important;
  height: 100% !important;
}

.oculto {
  display: none !important;
}