.header-modern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid rgba(203, 151, 84, 0.1);
}

.header-modern.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(203, 151, 84, 0.15);
}

.header-modern.hidden {
  transform: translateY(-100%);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-modern {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 2rem;
}

/* ===== LOGO ===== */
.logo-section {
  flex-shrink: 0;
}

.logo-link {
  text-decoration: none;
  display: block;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.logo-container:hover {
  transform: translateY(-4px);
}

.logo-image {
  max-height: 70px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(203, 151, 84, 0.2));
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.logo-sub {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  opacity: 0.8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===== NAVIGATION MENU ===== */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 0.75rem 0;
  transition: all 0.3s ease;
}

.nav-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.3s ease;
  position: relative;
  z-index: 2;
}

.nav-indicator {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 1px;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-link:hover .nav-text,
.nav-link.active .nav-text {
  color: var(--primary);
}

.nav-link:hover .nav-indicator,
.nav-link.active .nav-indicator {
  width: 100%;
}

/* ===== CONTACT ICONS ===== */
.contact-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.contact-link {
  position: relative;
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.contact-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.whatsapp-link {
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.2);
}

.email-link {
  background: rgba(203, 151, 84, 0.1);
  border: 1px solid rgba(203, 151, 84, 0.2);
}

.contact-link:hover::before {
  opacity: 1;
}

.icon-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 2;
}

.contact-link i {
  font-size: 1.1rem;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.contact-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.contact-link:hover {
  transform: translateY(-4px);
}

.contact-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.3s ease;
  white-space: nowrap;
}

/* ===== MOBILE TOGGLE ===== */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-toggle:hover {
  background: rgba(203, 151, 84, 0.1);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 24px;
  height: 18px;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background: var(--text-dark);
  border-radius: 1px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.mobile-menu-overlay.active .mobile-menu {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  border-bottom: 1px solid rgba(203, 151, 84, 0.1);
}

.mobile-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-logo-image {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.mobile-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.mobile-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-close:hover {
  background: rgba(203, 151, 84, 0.1);
  color: var(--primary);
}

.mobile-nav-menu {
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-item {
  margin: 0 2rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: var(--text-dark);
  border-radius: 12px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.mobile-nav-link:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  transform: translateX(8px);
}

.mobile-nav-link i {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

.mobile-contact {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid rgba(203, 151, 84, 0.1);
}

.mobile-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
}

.email-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
}

.mobile-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1024px) {
  .nav-menu {
    gap: 2rem;
  }

  .contact-label {
    display: none;
  }

  .contact-link {
    padding: 0.75rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 1rem;
  }

  .nav-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo-section {
    order: 1;
  }

  .logo-main {
    font-size: 1.5rem;
  }

  .logo-sub {
    font-size: 0.75rem;
  }

  .nav-menu {
    display: none;
  }

  .header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    order: 2;
  }

  .contact-icons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
  }

  .contact-link {
    padding: 0.5rem;
  }

  .contact-label {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .contact-label {
    display: none;
  }

  .logo-image {
    width: auto;
    height: 650px;
    max-height: 700px;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0 0.75rem;
  }

  .nav-modern {
    display: flex;
    align-items: center;
  }

  .logo-section {
    order: 1;
  }

  .logo-main {
    font-size: 1.3rem;
  }

  .logo-sub {
    font-size: 0.7rem;
  }

  .logo-image {
    width: auto;
    height: 55px;
    max-height: 65px;
  }

  .mobile-menu {
    max-width: 100%;
  }

  .mobile-menu-header {
    padding: 1.5rem;
  }

  .mobile-nav-item {
    margin: 0 1rem;
  }

  .mobile-contact {
    padding: 1.5rem;
  }
}