/* ESTILO HEADER FOOTER */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", sans-serif;
  background: #f7ead9;
  font-size: 16px;
}

section,
article {
  height: 100vh;
}

header {
  width: 100%;
  background: #34150f;
  height: 8vh;
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 2rem;
}

nav > img {
  width: 10rem;
  height: 10rem;
  object-fit: contain;
  margin-top: 2rem;
}

.hamburger {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  font-family: "Cinzel Decorative", serif;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: #d39858;
  display: inline-block;
  transition: transform 0.5s ease;
}

.nav-links a:hover {
  color: #eaceaa;
  transform: scale(1.1);
}

.nav-links .cadastro {
  background-color: #34150f;
  color: #d39858;
  padding: 0.4rem 1.2rem;
  border: 1px solid #d39858;
  transition: 0.6s;
}

.nav-links .cadastro:hover {
  background-color: #d39858;
  color: #34150f;
}

.nav-links .login {
  background-color: #d39858;
  color: #34150f;
  padding: 0.4rem 1.2rem;
  border: 1px solid #d39858;
  transition: 0.6s;
}
.nav-links .login:hover {
  background-color: #34150f;
  color: #d39858;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.container {
  background: linear-gradient(160deg, #1a0e0e, #2a1a1a);
  padding: 2rem;
  border-radius: 1rem;
  width: 28rem;
  box-shadow:
    0 0 2rem rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px #d3985840;
  color: #f0e0c8;
}

h2 {
  text-align: center;
  font-size: 1.4rem;
  font-family: "Cinzel Decorative", serif;
  color: #d39858;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
}

label {
  margin-top: 0.8rem;
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d3985899;
}

select,
input[type="date"] {
  width: 100%;
  padding: 0.6rem 0.8rem;
  margin-top: 0.4rem;
  border-radius: 0.5rem;
  border: 1px solid #d3985850;
  background: #12090960;
  color: #f0e0c8;
  font-size: 0.85rem;
  font-family: "Montserrat", sans-serif;
  outline: none;
  transition: border 0.2s;
  appearance: auto;
}

select:focus,
input[type="date"]:focus {
  border-color: #d39858;
}

/* Grid dos horários */
.horarios {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.horario {
  background: #2a1a1a;
  border: 1px solid #d3985840;
  padding: 0.5rem 0;
  border-radius: 0.4rem;
  cursor: pointer;
  font-size: 0.75rem;
  text-align: center;
  color: #c9b89a;
  transition: 0.2s;
}

.horario:hover {
  background: #3a2010;
  border-color: #d39858;
  color: #d39858;
}

.horario.selected {
  background: #d39858;
  border-color: #d39858;
  color: #1a0e0e;
  font-weight: 700;
}

.agendar {
  width: 100%;
  padding: 0.7rem;
  margin-top: 1.2rem;
  border-radius: 0.5rem;
  border: none;
  font-size: 0.9rem;
  font-family: "Cinzel Decorative", serif;
  letter-spacing: 0.05em;
  background: #d39858;
  color: #1a0e0e;
  cursor: pointer;
  font-weight: 700;
  transition: 0.3s;
}

.agendar:hover {
  background: #e8b070;
  box-shadow: 0 4px 16px #d3985850;
}

.mensagem {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
}

footer {
  background: #150c0c;
  min-height: 30vh;
  position: relative;
  padding: 2.5rem 3rem 1.5rem;
  font-family: "Inter", sans-serif;
}
.f-div {
  max-width: 1200px;
  display: flex;
}
.f-title {
  margin-right: 40%;
}
.f-title > h1 {
  font-family: "Cinzel Decorative", sans-serif;
  font-size: 7rem;
  color: #ffffff18;
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
}
.f-nav {
  display: flex;
  justify-content: flex-end;
  gap: 5rem;
  padding: 1.5rem 0;
  margin-bottom: 1.5rem;
}
.f-nav-txt > h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 1.2rem;
  letter-spacing: 0.02em;
}
.f-nav-txt a {
  text-decoration: none;
  width: 100%;
}

.f-nav-txt a > p {
  font-size: 1.2rem;
  color: #ffffff80;
  margin: 0 0 0.8rem;
  transition: color 0.2s;
}

.f-nav-txt a:hover > p {
  color: #d39858;
}

.f-nav-copy {
  display: flex;
  align-items: end;
  justify-content: center;
  margin-top: 2rem;
}

.f-nav-copy p {
  font-size: 1.2rem;
  color: #ffffff80;
  margin: 0 0 0.8rem;
}

@media (max-width: 768px) {
  nav {
    padding: 2rem 0;
    margin: 0;
  }

  nav > img {
    gap: 0;
    padding: 0;
    margin-top: 2rem;
    width: 8rem;
    height: 8rem;
  }
  .nav-links a {
    font-size: 0.65rem;
    letter-spacing: 0.03em;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 4rem;
    width: 100%;
    background: #34150f;
    padding: 1.5rem 2rem;
    gap: 1.5rem;
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    background: none;
    border: none;
    cursor: pointer;
    margin-top: 0;
    padding-right: 1rem;
  }

  .hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: #d39858;
  }

  .f-div {
    flex-direction: column;
  }

  .f-title {
    margin-right: 0;
  }

  .f-title > h1 {
    font-size: 4.2rem;
  }

  .f-nav {
    gap: 2rem;
    justify-content: center;
  }

  footer {
    padding: 2rem 1.5rem 1rem;
  }

  .f-nav-copy p {
    font-size: 0.8rem;
  }
}

/* quando o cabeçalho fica centralizado (ex: serviços e depoimentos) */
.secao-cabecalho {
  text-align: center;
}

.secao-cabecalho .secao-desc {
  margin-left: auto;
  margin-right: auto;
}

/* classe que uso no js pra fazer elementos aparecerem ao rolar */
.revelar {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.revelar.visivel {
  opacity: 1;
  transform: translateY(0);
}
