:root {
  --cor-fundo-pagina: #E0D9CF;
  --cor-texto-principal: #4b3f37;
  --cor-card-fundo: #F5F1EB;
  --cor-fundo-menu: rgba(249, 248, 250, 0.95);
  --cor-card-borda: #dcd9d3;
  --cor-destaque: #6c564b;
  --cor-destaque2: #c0785f;
  --cor-texto-secundario: #857d76;
  --cor-dourado: #d4af37;
  --cor-bronze: #cd7f32;
}

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

body {
  font-family: 'Mulish', sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
  background: var(--cor-fundo-pagina);
  color: var(--cor-texto-principal);
}

/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sparkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

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

/* Navbar */
.navbar {
  background: var(--cor-fundo-menu);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cor-card-borda);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(249, 248, 250, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 0 2rem;
}

.logo {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--cor-texto-principal);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: 2px;
  position: relative;
  animation: float 3s ease-in-out infinite;
}

.logo::after {
  content: '✦';
  position: absolute;
  top: -5px;
  right: -15px;
  font-size: 0.8rem;
  color: var(--cor-dourado);
  animation: sparkle 2s infinite;
}

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

.nav-links a {
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--cor-texto-principal);
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: var(--cor-destaque2);
  transform: translateY(-2px);
}

.btn-login {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--cor-destaque2), var(--cor-bronze));
  color: #fff !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(192, 120, 95, 0.3);
  border: none;
  cursor: pointer;
}

.btn-login:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(192, 120, 95, 0.4);
  background: linear-gradient(135deg, #b86a4d, #b86a4d);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, 
    rgba(75, 63, 55, 0.8) 0%, 
    rgba(108, 86, 75, 0.6) 50%, 
    rgba(192, 120, 95, 0.4) 100%),
    url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkyMCIgaGVpZ2h0PSIxMDgwIiB2aWV3Qm94PSIwIDAgMTkyMCAxMDgwIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8ZGVmcz4KICA8cmFkaWFsR3JhZGllbnQgaWQ9InN0YXJmaWVsZCIgY3g9IjUwJSIgY3k9IjUwJSIgcj0iNTAlIj4KICAgIDxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiMyYzI2MjQiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzFhMTYxNCIvPgogIDwvcmFkaWFsR3JhZGllbnQ+CjwvZGVmcz4KPHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNzdGFyZmllbGQpIi8+Cjwvc3ZnPg==') center/cover no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTAiIGN5PSIxMCIgcj0iMSIgZmlsbD0iI2Q0YWYzNyIgb3BhY2l0eT0iMC4zIi8+Cjwvc3ZnPg==');
  animation: sparkle 4s linear infinite;
}

.hero-content {
  z-index: 2;
  animation: fadeInUp 1s ease-out;
  max-width: 800px;
  padding: 2rem;
}

.hero h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: white;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
  letter-spacing: 3px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  text-align: center;
  animation: float 2s ease-in-out infinite;
}

.scroll-indicator i {
  font-size: 2rem;
  opacity: 0.7;
}

/* Seções */
.section {
  padding: 5rem 2rem;
  position: relative;
}

.section h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  color: var(--cor-destaque);
}

.text-center {
  text-align: center;
  max-width: 900px;
  margin: auto;
}

#sobre {
  background: linear-gradient(135deg, var(--cor-card-fundo) 0%, rgba(245, 241, 235, 0.8) 100%);
  border-top: 3px solid var(--cor-dourado);
}

#sobre p {
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.8;
  color: var(--cor-texto-principal);
  text-align: justify;
  text-align-last: center;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--cor-card-borda);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 3rem;
  color: var(--cor-destaque2);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  color: var(--cor-destaque);
  margin-bottom: 1rem;
}

/* Contato */
.contato {
  background: linear-gradient(135deg, var(--cor-destaque) 0%, var(--cor-destaque2) 100%);
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contato h2 {
  color: white;
  margin-bottom: 2rem;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--cor-dourado);
}

.contact-item a {
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-item a:hover {
  color: var(--cor-dourado);
  text-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* Rodapé */
.footer {
  background: var(--cor-texto-principal);
  color: rgba(255, 255, 255, 0.8);
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 768px) {
  .navbar .container {
    padding: 0 1rem;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .hero {
    padding: 0 1rem;
  }
  
  .contact-info {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .section {
    padding: 3rem 1rem;
  }
}

/* Animações de scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}


/* Botão WhatsApp Flutuante */
.whatsapp-link {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
  cursor: pointer;
  text-decoration: none;
}

.whatsapp-link:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
  background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
}

.whatsapp-link i {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4),
                0 0 0 10px rgba(37, 211, 102, 0.1),
                0 0 0 20px rgba(37, 211, 102, 0.05);
  }
}

/* Tooltip do WhatsApp */
.whatsapp-link::before {
  content: 'Fale conosco!';
  position: absolute;
  right: 70px;
  background: var(--cor-texto-principal);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Mulish', sans-serif;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.whatsapp-link::after {
  content: '';
  position: absolute;
  right: 62px;
  border: 8px solid transparent;
  border-left-color: var(--cor-texto-principal);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.whatsapp-link:hover::before,
.whatsapp-link:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Responsividade */
@media (max-width: 768px) {
  .navbar .container {
    padding: 0 1rem;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .hero {
    padding: 0 1rem;
  }
  
  .contact-info {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .section {
    padding: 3rem 1rem;
  }
  
  .whatsapp-link {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
    font-size: 28px;
  }
  
  .whatsapp-link::before {
    display: none;
  }
  
  .whatsapp-link::after {
    display: none;
  }
}