@import url('https://fonts.googleapis.com/css2?family=Libertinus+Serif:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap');

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

body {
  font-family: 'Libertinus Serif', serif;
  background-color: #550000;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #111;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.5)
  );
  z-index: 1;
}

.navbar {
  position: fixed;      
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 60px;
  background: transparent;
  transition: background-color 0.4s ease, padding 0.4s ease;
}

#hamburger-btn {
  display: none; /* só aparece no mobile, via media query abaixo */
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 20;
}

#hamburger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* quando o menu está aberto, as 3 barras viram um "X" */
#hamburger-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#hamburger-btn.open span:nth-child(2) {
  opacity: 0;
}

#hamburger-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {

  #hamburger-btn {
    display: flex;
  }

  /* o menu de navegação vira um painel deslizante, escondido por padrão */
  .navbar nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background-color: #550000;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 32px;
    padding: 40px;
    transform: translateX(100%); /* fica fora da tela, à direita */
    transition: transform 0.35s ease;
    z-index: 15;
  }

  .navbar nav.open {
    transform: translateX(0); /* desliza pra dentro da tela */
  }

  .navbar nav a {
    font-size: 15px;
  }

  /* fundo escurecido atrás do menu, quando aberto */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 14;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-overlay.open {
    opacity: 1;
    visibility: visible;
  }
}

.navbar.scrolled {
  background-color: #550000;
  padding: 16px 60px;
}

.navbar .logo {
  height: 32px;       /* controla o tamanho geral da logo */
  display: flex;
  align-items: center;
  /* removido: width fixo, border, border-radius (eram pro círculo antigo) */
}

.navbar .logo img {
  height: 100%;
  width: auto;         /* largura se ajusta automaticamente, mantendo a proporção */
  object-fit: contain;
}

.navbar nav {
  display: flex;
  gap: 48px;
}

.navbar nav a {
  color: #fff;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.navbar nav a:hover,
.navbar nav a.active {
  border-bottom-color: #fff;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-content h1 {
  font-family: 'Libertinus Serif', serif;
  font-size: 50px;
  font-weight: 400;
  letter-spacing: 1px;
}

.hero-content h2 {
  margin-top: 8px;
  font-family: 'Libertinus Serif', serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.about {
  display: flex;
  align-items: center;
  min-height: 100vh;
  background-color: #550000;
  padding: 100px 10%;
}

.about-image {
  width: 50%;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  display: block;
  object-fit: cover;
}

.about-text {
  width: 50%;
  padding-left: 80px;
  color: #fff;
}

.about-label {
  display: block;
  margin-bottom: 15px;
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.7;
}

.about-text h1 {
  margin-bottom: 25px;
  font-family: 'Libertinus Serif', serif;
  font-size: 42px;
  font-weight: 400;
}

.about-text p {
  max-width: 500px;
  font-family: 'Libertinus Serif', serif;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 400;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 12px 22px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: #fff;
  color: #550000;
}

.scroll-arrow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  color: #fff;
  font-size: 20px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {transform: translate(-50%, 0);}
  50% {transform: translate(-50%, 10px); }
}


@media (max-width: 768px) {
  .navbar {
    padding: 25px 25px;
  }

  .navbar nav {
    gap: 20px;
  }

  .navbar nav a {
    font-size: 11px;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .hero-content h2 {
    font-size: 17px;
  }

  .about {
    flex-direction: column;
    align-items: center;
    text-align: center;

    padding: 70px 25px;
  }

  .about-image,
  .about-text {
    width: 100%;
  }

  .about-image {
  margin-top: 40px;
  }

  .about-image img {
    max-width: 100%;
  }

  .about-text {
    padding-left: 0;
    padding-top: 50px;
  }

  .about-text h1 {
    font-size: 36px;
  }

  .about-text p {
    font-size: 17px;
  }

}

.site-footer {
  background-color: #550000; /* mesmo bege claro, delicado */
  padding: 60px 40px 30px;
  text-align: center;
}

.footer-line {
  max-width: 1400px;
  margin: 0 auto 50px;
  border-top: 1px solid #cfc3bc;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 30px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #ffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffff;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-socials a:hover {
  background-color: #ffff;
  color: #550000;
}

.footer-tagline {
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 6px;
  color: #ffff;
}

.footer-copy {
  font-family: Arial, sans-serif;
  font-size: 15px;
  color: #ffff;
  margin-bottom: 40px;
}

.footer-credit {
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: #8a7c76;
}

.footer-credit a {
  color: #8a7c76;
  text-decoration: underline;
}

/* ---- BOTÃO VOLTAR AO TOPO (ajustado pro tom claro) ---- */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #3d2b28;
  background-color: #f2ede9;
  color: #3d2b28;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  z-index: 20;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  background-color: #3d2b28;
  color: #f2ede9;
}