/**
 * OSFRJ Cabeçalho - Estilos
 * Plugin: OSFRJ Intervenções Fabrica de Plugins
 */

/* ==========================================================
   WIDGET ELEMENTOR FULL-WIDTH (PONTA A PONTA)
========================================================== */
.elementor-widget-osfrj_cabecalho {
  width: 100% !important;
  max-width: 100% !important;
}

.elementor-widget-osfrj_cabecalho .elementor-widget-container {
  width: 100% !important;
  max-width: 100% !important;
}

/* ==========================================================
   HEADER DESKTOP
========================================================== */
.fab-inter-header {
  background-color: #ffffff;
  width: 100%;
  border-bottom: 5px solid #a30e16;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
}

.fab-inter-header-inner {
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}

.fab-inter-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.fab-inter-brand img {
  width: 84px;
  height: auto;
  display: block;
  transition: width 0.3s ease;
}

.fab-inter-header.fab-inter-shrink .fab-inter-brand img {
  width: 50.4px;
}

/* Menu Desktop */
.fab-inter-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.fab-inter-nav-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.fab-inter-nav-item {
  position: relative;
  list-style: none;
}

.fab-inter-nav-link {
  text-decoration: none;
  color: #1a1a1a;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  transition: color 0.2s ease;
}

.fab-inter-nav-link i,
.fab-inter-nav-link svg {
  font-size: 10px;
  width: 10px;
  height: 10px;
}

.fab-inter-nav-link:hover,
.fab-inter-nav-item:hover > .fab-inter-nav-link {
  color: #e53935;
}

/* Dropdown Desktop */
.fab-inter-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: #035c3d;
  min-width: 180px;
  list-style: none;
  border-radius: 4px;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  margin: 0;
  z-index: 1010;
}

.fab-inter-nav-item:hover .fab-inter-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.fab-inter-dropdown-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fab-inter-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s ease;
}

.fab-inter-dropdown-menu li:last-child a {
  border-bottom: none;
}

.fab-inter-dropdown-menu a:hover {
  background-color: #02462e;
}

/* Botão Doar Desktop */
.fab-inter-btn-donate {
  background: linear-gradient(90deg, #ff5c35 0%, #eb2c33 100%);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 0.3px;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(235, 44, 51, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
  white-space: nowrap;
}

.fab-inter-btn-donate:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(235, 44, 51, 0.45);
  color: #ffffff;
}

/* Hamburguer Trigger */
.fab-inter-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: #1a1a1a;
  padding: 8px;
}

/* ==========================================================
   DRAWER MOBILE
========================================================== */
.fab-inter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 99998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fab-inter-overlay.fab-inter-active {
  display: block;
  opacity: 1;
}

.fab-inter-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 290px;
  max-width: 85vw;
  height: 100%;
  background-color: #ffffff;
  color: #111111;
  z-index: 99999;
  transform: translateX(-100%);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, visibility 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
  font-family: 'Montserrat', sans-serif;
}

.fab-inter-drawer.fab-inter-active {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.fab-inter-drawer-top {
  padding: 20px 20px 0;
}

.fab-inter-drawer-logo {
  max-width: 125px;
  height: auto;
  display: block;
}

.fab-inter-drawer-header {
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
}

.fab-inter-drawer-title {
  font-weight: 800;
  font-size: 14px;
  color: #036845;
  letter-spacing: 0.5px;
}

.fab-inter-drawer-close {
  background: none;
  border: none;
  font-size: 22px;
  color: #333333;
  cursor: pointer;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.fab-inter-drawer-close:hover {
  color: #e53935;
}

.fab-inter-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0;
}

.fab-inter-drawer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fab-inter-drawer-item {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fab-inter-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  color: #111111;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #f7f7f7;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.fab-inter-drawer-link:hover {
  background-color: #fbfbfb;
  color: #036845;
}

.fab-inter-drawer-link i,
.fab-inter-drawer-link svg {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.fab-inter-drawer-submenu {
  display: none;
  list-style: none;
  background: #f8fbf9;
  padding: 4px 0 6px 20px;
  margin: 0;
}

.fab-inter-drawer-submenu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fab-inter-drawer-submenu a {
  display: block;
  padding: 10px 16px;
  color: #444444;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.fab-inter-drawer-submenu a:hover {
  color: #036845;
}

.fab-inter-drawer-item.fab-inter-open .fab-inter-drawer-submenu {
  display: block;
}

.fab-inter-drawer-item.fab-inter-open > .fab-inter-drawer-link i,
.fab-inter-drawer-item.fab-inter-open > .fab-inter-drawer-link svg {
  transform: rotate(180deg);
}

.fab-inter-drawer-footer {
  padding: 18px 20px;
  border-top: 1px solid #f0f0f0;
}

.fab-inter-drawer-footer .fab-inter-btn-donate {
  display: block;
  text-align: center;
  width: 100%;
}

/* ==========================================================
   BARRA FIXA INFERIOR MOBILE
========================================================== */
.fab-inter-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 58px;
  background: #ffffff;
  border-top: 1px solid #e5e5e5;
  z-index: 1500;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
  font-family: 'Montserrat', sans-serif;
}

.fab-inter-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #333333;
  gap: 3px;
  flex: 1;
  text-transform: uppercase;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 0;
  font-family: inherit;
  transition: color 0.2s ease;
}

.fab-inter-bottom-item i,
.fab-inter-bottom-item svg {
  font-size: 17px;
  width: 17px;
  height: 17px;
}

.fab-inter-bottom-item span {
  font-size: 10px;
  font-weight: 700;
}

.fab-inter-bottom-item:hover {
  color: #036845;
}

.fab-inter-bottom-item.fab-inter-highlight {
  color: #e53935;
}

/* ==========================================================
   RESPONSIVO
========================================================== */
@media (max-width: 991px) {
  .fab-inter-nav {
    display: none;
  }
  .fab-inter-hamburger {
    display: block;
  }
  .fab-inter-bottom-bar {
    display: flex;
  }
  body.has-fab-inter-bottom-bar {
    padding-bottom: 58px;
  }
}

@media (max-width: 540px) {
  .fab-inter-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
  }
  .fab-inter-brand img {
    width: 68px;
  }
  .fab-inter-hamburger{
    display: none;
  }
  .fab-inter-drawer-logo{
    max-width: 125px !important;
  }

   .fab-inter-header-inner {
          display: block !important;
          text-align: center !important;
      }
      .fab-inter-brand {
          display: block !important;
      }
      .fab-inter-brand img {
          width: 71px;
          margin-top: -6px;
          margin-bottom: -6px;
          margin-left: auto;
          margin-right: auto;
      }
}

button:hover,
button:active{
  background: none !important;
}

.osfrj-global-header-wrap .fab-inter-header{
  margin-top:-12px !important;
}
.fab-inter-copyright-bar{
  margin-bottom: -10px !important;
}