/* ==========================================================================
   HEADER, TOPBAR & NAVEGAÇÃO (EXACT MATCH DO WORDPRESS)
   ========================================================================== */

/* Top Header */
.top-header {
  background-color: #ffffff;
  border-bottom: 1px solid #eeeeee;
  padding: 12px 0;
  font-size: 0.875rem; /* 14px */
  color: #555555;
  font-family: var(--font-mulish, 'Mulish', sans-serif);
}

.top-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-contact-list {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header-contact-list li a,
.header-contact-list li span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #555555;
  font-weight: 500;
  font-size: 14px;
}

/* Ícones do topo em escuro/preto conforme o layout original */
.header-contact-list i {
  color: #333333;
  font-size: 0.9rem;
}

.header-contact-list a:hover {
  color: #ff6d34;
}

.header-right-tools {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-social-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-social-group a {
  color: #333333;
  font-size: 1.05rem;
  transition: color var(--transition-fast, 0.2s ease);
}

.header-social-group a:hover {
  color: #ff6d34;
}

.header-search-btn {
  color: #333333;
  font-size: 1.05rem;
  padding: 4px;
  display: flex;
  align-items: center;
}

.header-search-btn:hover {
  color: #ff6d34;
}

/* Bottom Header / Main Nav Bar */
.bottom-header {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  position: relative;
  z-index: 100;
  transition: all 0.3s ease;
}

.bottom-header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.bottom-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 95px; /* Altura ampla idêntica à foto */
}

.site-branding img {
  height: 68px; /* Destaque proeminente do logotipo */
  width: auto;
  object-fit: contain;
  display: block;
}

/* Navigation Menu */
.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  font-family: var(--font-poppins, 'Poppins', sans-serif);
  font-size: 0.9375rem; /* 15px */
  font-weight: 600;
  color: #444444;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.main-navigation a:hover {
  color: #ff6d34;
}

/* Item ativo em tom Laranja/Coral conforme a foto */
.main-navigation li.active > a {
  color: #ff6d34;
  font-weight: 700;
}

/* Dropdown Menu Indicator */
.main-navigation li.has-dropdown > a::after {
  content: '\f0d7'; /* Ícone de seta sólida preenchida */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-left: 4px;
  font-size: 0.85rem;
  color: inherit;
  transition: transform 0.2s ease;
}

.main-navigation li.has-dropdown:hover > a::after {
  transform: rotate(180deg);
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background-color: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  z-index: 1000;
}

.main-navigation li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu li a {
  font-family: var(--font-mulish, 'Mulish', sans-serif);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: none;
  color: #444444;
  padding: 10px 20px;
  border-bottom: 1px solid #f5f5f5;
  transition: all 0.2s ease;
}

.sub-menu li:last-child a {
  border-bottom: none;
}

.sub-menu li a:hover {
  background-color: #f9f9f9;
  color: #ff6d34;
  padding-left: 25px;
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: #212121;
  padding: 5px;
}

/* Offcanvas Drawer for Mobile */
.offcanvas-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.offcanvas-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: #ffffff;
  z-index: 9999;
  padding: 30px 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  transition: right 0.3s ease;
  overflow-y: auto;
}

.offcanvas-drawer.active {
  right: 0;
}

.offcanvas-close-btn {
  font-size: 1.5rem;
  color: #333333;
  float: right;
  margin-bottom: 20px;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 40px;
}

.mobile-nav-list a {
  font-family: var(--font-poppins, 'Poppins', sans-serif);
  font-size: 1rem;
  font-weight: 700;
  color: #333333;
  text-transform: uppercase;
}

.mobile-sub-menu {
  padding-left: 15px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-sub-menu a {
  font-family: var(--font-mulish, 'Mulish', sans-serif);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: none;
  color: #666666;
}

@media (max-width: 991px) {
  .top-header { display: none; }
  .main-navigation { display: none; }
  .mobile-menu-toggle { display: block; }
}
