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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #5a3b24;
  background: linear-gradient(135deg, #f7f1ea 0%, #fdf8f0 100%);
  line-height: 1.7;
  font-size: 16px;
}

/* Links gerais */
a {
  color: #8b5a2b;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #5a3b24;
  text-decoration: underline;
}

/* HEADER */
header {
  background: rgba(248, 240, 231, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(139, 90, 43, 0.25);
  padding: 8px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 20px rgba(139, 90, 43, 0.18);
}

/* Esconde o título de texto, vamos usar a logo */
header h1 {
  display: none;
}

/* LOGO NO HEADER */
header .logo {
  display: flex;
  align-items: center;
}

header .logo img {
  height: 90px;
  max-height: 90px;
  width: auto;
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}

nav ul li a {
  font-weight: 600;
  font-size: 16px;
  color: #5a3b24;
  position: relative;
  padding: 8px 0;
}

nav ul li a:hover {
  color: #8b5a2b;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #8b5a2b;
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

#menu-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  cursor: pointer;
  padding: 4px;
}

#menu-toggle .bar {
  width: 28px;
  height: 3px;
  background: #8b5a2b;
  margin: 3px 0;
  border-radius: 3px;
  transition: 0.3s;
}

/* MAIN */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}

/* HERO SECTION */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

/* Papel de carta na coluna de texto da hero */
.hero-texto {
  position: relative;
  padding-right: 20px;
  background: linear-gradient(145deg, #fdf8f3 0%, #f9f2ea 50%, #fdf8f3 100%);
  padding: 32px 30px;
  border-radius: 28px;
  box-shadow:
    0 18px 50px rgba(139, 90, 43, 0.16),
    inset 0 2px 6px rgba(255, 255, 255, 0.9),
    inset 0 -2px 6px rgba(139, 90, 43, 0.06);
  border: 1px solid rgba(139, 90, 43, 0.28);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

/* Risco marrom colado na borda de cima */
.hero-texto::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #8b5a2b 15%,
    rgba(139,90,43,0.9) 50%,
    #8b5a2b 85%,
    transparent 100%
  );
  border-radius: 28px 28px 0 0;
}

.hero-selo {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(139, 90, 43, 0.12);
  color: #8b5a2b;
  font-size: 14px;
  font-weight: 700;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(139, 90, 43, 0.3);
}

.hero h2 {
  color: #8b5a2b;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  max-width: 500px;
}

.hero p {
  font-size: 18px;
  color: #5a3b24;
  margin-bottom: 20px;
  line-height: 1.75;
}

.hero-botoes {
  display: flex;
  gap: 16px;
  margin: 32px 0 40px 0;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.hero-btn.primario {
  background: linear-gradient(135deg, #8b5a2b, #5a3b24);
  color: white;
  box-shadow: 0 8px 25px rgba(139, 90, 43, 0.45);
}

.hero-btn.primario:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(90, 59, 36, 0.65);
}

.hero-btn.secundario {
  background: rgba(139, 90, 43, 0.10);
  color: #8b5a2b;
  border: 2px solid rgba(139, 90, 43, 0.35);
}

.hero-btn.secundario:hover {
  background: rgba(139, 90, 43, 0.2);
  transform: translateY(-2px);
}

.hero-lista {
  list-style: none;
  padding-left: 0;
}

.hero-lista li {
  font-size: 16px;
  color: #5a3b24;
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
}

.hero-lista li::before {
  content: '✧';
  position: absolute;
  left: 0;
  color: #8b5a2b;
  font-size: 14px;
}

/* GALERIA HERO */
.hero-galeria {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.hero-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 12px 40px rgba(139, 90, 43, 0.16);
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid rgba(139, 90, 43, 0.14);
  cursor: pointer;
}

.hero-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(139, 90, 43, 0.30);
}

.hero-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  border-radius: 16px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.hero-card:hover img {
  transform: scale(1.05);
}

.hero-card p {
  font-size: 15px;
  color: #5a3b24;
  font-weight: 500;
}

/* LOCALIZAÇÃO – papel de carta marrom */
#localizacao {
  position: relative;
  text-align: center;
  padding: 48px 24px 56px;
  background: linear-gradient(145deg, #fdf8f3 0%, #f9f2ea 50%, #fdf8f3 100%);
  border-radius: 28px;
  margin: 40px 0;
  box-shadow:
    0 18px 50px rgba(139, 90, 43, 0.16),
    inset 0 2px 6px rgba(255, 255, 255, 0.9),
    inset 0 -2px 6px rgba(139, 90, 43, 0.06);
  border: 1px solid rgba(139, 90, 43, 0.28);
  overflow: hidden;
}

#localizacao::before,
#localizacao::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #8b5a2b 15%,
    rgba(139,90,43,0.9) 50%,
    #8b5a2b 85%,
    transparent 100%
  );
}

#localizacao::before {
  top: 0;
  border-radius: 28px 28px 0 0;
}

#localizacao::after {
  bottom: 0;
  border-radius: 0 0 28px 28px;
}

#localizacao h2 {
  color: #8b5a2b;
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

#localizacao p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 32px;
  color: #5a3b24;
}

.mapa-wrapper {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(139, 90, 43, 0.2);
  border: 1px solid rgba(139, 90, 43, 0.18);
}

/* WHATSAPP – mantém verde */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #25d366, #128c4a);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 10000;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

/* Botão voltar ao topo em marrom */
#back-to-top {
  position: fixed;
  right: 24px;
  bottom: 100px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #8b5a2b, #5a3b24);
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(139, 90, 43, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#back-to-top.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

/* FOOTER */
footer {
  background: linear-gradient(135deg, #f2e3d4 0%, #f7f1ea 100%);
  padding: 50px 30px 30px;
  border-top: 1px solid rgba(139, 90, 43, 0.25);
  margin-top: 80px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.footer-col h3 {
  color: #8b5a2b;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.footer-col p,
.footer-col a {
  color: #5a3b24;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: #8b5a2b;
}

.footer-bottom {
  max-width: 1100px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(139, 90, 43, 0.25);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* LIGHTBOX mantém igual (apenas bordas marrom se quiser) */
/* RESPONSIVO: mantive igual; só herdará as novas cores */
@media (max-width: 1024px) {
  header {
    padding: 8px 20px;
  }

  header .logo img {
    height: 70px;
    max-height: 70px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-texto {
    padding-right: 0;
    order: 1;
  }
  
  .hero-galeria {
    order: 2;
  }
}

@media (max-width: 768px) {
  #menu-toggle {
    display: flex;
  }
  
  nav ul {
    display: none;
    flex-direction: column;
    gap: 16px;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    z-index: 999;
  }

  nav ul.active {
    display: flex;
  }
}
