/* Estilos para o menu de navegação responsivo */
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 2.5rem;
  background: linear-gradient(90deg, #0D2131cc 80%, #AD8B5Ccc 100%);
  box-shadow: 0 4px 32px 0 #0D213155, 0 1.5px 0 #AD8B5C55;
  position: relative;
  z-index: 100;
  min-height: 64px;
  border-bottom: 2px solid #AD8B5C22;
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  border-radius: 0 0 18px 18px;
}

.navbar-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  gap: 0.5rem;
  font-family: 'Montserrat', 'Amihera', 'Bell MT', serif;
}

.navbar-links li {
  margin-left: 0;
  position: relative;
}

.navbar-links a {
  text-decoration: none;
  color: #AD8B5C;
  font-weight: 700;
  font-size: 1.13rem;
  letter-spacing: 0.7px;
  padding: 0.5rem 1.3rem 0.5rem 1.3rem;
  border-radius: 8px;
  background: transparent;
  position: relative;
  z-index: 1;
  outline: none;
  transition: 
    color 0.18s cubic-bezier(.4,0,.2,1),
    background 0.18s cubic-bezier(.4,0,.2,1),
    box-shadow 0.18s cubic-bezier(.4,0,.2,1);
  box-shadow: none;
  overflow: visible;
}

.navbar-links a::after {
  content: "";
  display: block;
  position: absolute;
  left: 25%;
  right: 25%;
  bottom: 8px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #AD8B5C 0%, #fff 100%);
  opacity: 0;
  transform: scaleX(0.7);
  transition: all 0.25s cubic-bezier(.4,0,.2,1);
  z-index: 2;
}

.navbar-links a:hover,
.navbar-links a:focus {
  color: #fff;
  background: linear-gradient(90deg, #AD8B5C44 0%, #0D2131cc 100%);
  box-shadow: 0 2px 24px 0 #AD8B5C66, 0 0 8px #AD8B5C55;
  text-shadow: 0 0 8px #AD8B5C88;
}

.navbar-links a:hover::after,
.navbar-links a:focus::after,
.navbar-links a.active::after,
.navbar-links a[aria-current="page"]::after {
  opacity: 1;
  left: 18%;
  right: 18%;
  transform: scaleX(1);
}

.navbar-links a.active,
.navbar-links a[aria-current="page"] {
  color: #fff;
  background: #AD8B5C;
  font-weight: 800;
  box-shadow: 0 2px 24px 0 #AD8B5C66, 0 0 8px #AD8B5C55;
  text-shadow: 0 0 8px #AD8B5C88;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #AD8B5C;
  cursor: pointer;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  transition: background 0.2s;
  box-shadow: 0 2px 12px 0 #AD8B5C22;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.navbar-toggle:focus,
.navbar-toggle:hover {
  background: #AD8B5C22;
  box-shadow: 0 2px 12px 0 #AD8B5C55;
}

.navbar-toggle .bar {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px auto;
  background-color: #AD8B5C;
  border-radius: 2px;
  transition: all 0.3s;
  box-shadow: 0 0 8px #AD8B5C55;
}

/* Estilos para telas menores */
@media screen and (max-width: 900px) {
  .navbar {
    padding: 1rem 1rem;
  }
}

@media screen and (max-width: 768px) {
  .navbar {
    justify-content: flex-end;
    padding: 0.5rem 0.7rem;
    border-radius: 0 0 18px 18px;
  }
  .navbar-toggle {
    display: block;
  }
  .navbar-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: linear-gradient(180deg, #0D2131ee 90%, #AD8B5Ccc 100%);
    box-shadow: 0 8px 32px rgba(13,33,49,0.22), 0 1.5px 0 #AD8B5C55;
    padding: 1rem 0;
    z-index: 1000;
    border-radius: 0 0 18px 18px;
    animation: fadeInMenu 0.3s;
    gap: 0;
  }
  .navbar-links.active {
    display: flex;
  }
  .navbar-links li {
    margin: 0;
    text-align: center;
    padding: 0.7rem 0;
  }
  .navbar-links a {
    font-size: 1.15rem;
    padding: 0.9rem 1.2rem;
    border-radius: 10px;
  }
  .navbar-links a::after {
    bottom: 10px;
  }
}

@keyframes fadeInMenu {
  from { opacity: 0; transform: translateY(-10px);}
  to { opacity: 1; transform: translateY(0);}
}

/* Overlay para menu mobile */
.navbar-overlay {
  display: none;
  position: fixed;
  z-index: 99;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(13,33,49,0.65);
  transition: opacity 0.2s;
}
.navbar-overlay.active {
  display: block;
}

/* UX helper classes adicionadas por ux.js */
.reveal-visible { opacity: 1 !important; transform: translateY(0) !important; transition: opacity 0.7s ease, transform 0.7s ease; }
.animate-fade-in { opacity: 0; transform: translateY(24px); }
.jw-float { display: inline-block; will-change: transform; }
.ux-ready .jw-card { transition: box-shadow 0.25s ease, transform 0.25s ease; }

/* Tilt suave para elementos marcados como dinâmicos */
.jw-tilt { will-change: transform; transition: transform 0.25s ease; display: inline-block; }

/* Botões padrão (padronizar com o index.html) */
.jw-btn {
  background: linear-gradient(90deg, #AD8B5C 0%, #2563eb 100%);
  color: #fff !important;
  font-weight: 800;
  border-radius: 9999px;
  padding: 1rem 2rem;
  font-size: 1.06rem;
  box-shadow: 0 2px 12px rgba(173,139,92,0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.jw-btn:hover, .jw-btn:focus { 
  background: linear-gradient(90deg, #2563eb 0%, #AD8B5C 100%);
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 6px 24px rgba(173,139,92,0.28);
  border-color: rgba(173,139,92,0.45);
}
.jw-btn:active { transform: translateY(0) scale(0.995); box-shadow: 0 2px 10px rgba(173,139,92,0.22); }
.jw-btn[disabled] { opacity: 0.6; pointer-events: none; }

/* variações úteis */
.jw-btn-secondary { background: linear-gradient(90deg,#2563eb 0%,#AD8B5C 100%); }
.jw-btn-green { background: linear-gradient(90deg,#22c55e 0%,#2563eb 100%); }


/* Footer logo responsive sizing */
.footer-logo {
  display: block;
  margin: 0 auto 1rem auto;
  height: 170px; /* desktop default */
  filter: drop-shadow(0 6px 22px rgba(173,139,92,0.28));
  transition: filter 0.2s ease, transform 0.2s ease;
}
.footer-logo:hover { filter: drop-shadow(0 10px 28px rgba(173,139,92,0.38)); transform: scale(1.015); }
@media screen and (max-width: 1024px) {
  .footer-logo { height: 140px; }
}
@media screen and (max-width: 640px) {
  .footer-logo { height: 110px; }
}

