/* ========================
   FONTES CUSTOMIZADAS
======================== */
@font-face {
  font-family: 'GalanoGrotesqueBold';
  src: url('/assets/fonts/GalanoGrotesqueBold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'GalanoGrotesqueRegular';
  src: url('/assets/fonts/GalanoGrotesqueRegular.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'GalanoGrotesqueItalic';
  src: url('/assets/fonts/GalanoGrotesqueItalic.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

/* ========================
   HEADER BASE
======================== */
header { 
  background: #fff; 
  border-bottom: 1px solid #f9f9f9;  /* bem discreto */
}


.ce-header-top-bar {
  border-top: 1px solid #eee;
}

/* Limite de largura apenas no header */
header .container {
  max-width: 1300px;
}

.navbar { 
  padding: 20px 0 !important; 
} 

/* Garante que header sempre ocupe a mesma altura e alinhamento */
header .navbar {
  padding: 15px 0 !important; /* fixo em todas páginas */
  align-items: center;        /* centraliza verticalmente logo + menu */
}

/* Garante que o logo sempre fique alinhado */
.navbar-brand img {
  height: 50px;   /* força a altura do logo */
  width: auto;    /* mantém proporção */
  display: block;
}

/* Centraliza menu sempre no mesmo baseline */
.navbar-nav {
  align-items: center;
}


/* ========================
   LOGO
======================== */
.navbar-brand img { 
  max-height: 60px;
  width: auto;
  display: block; 
} 

/* ========================
   MENU
======================== */
.navbar-nav .nav-link { 
  font-family: 'GalanoGrotesqueRegular', sans-serif; 
  font-size: 14px; 
  font-weight: 500; 
  color: #333; 
  transition: color 0.3s ease; 
  padding: 8px 14px; 
  position: relative; /* para underline animado */
  border: none !important;     /* remove estilos extras */
  box-shadow: none !important; /* remove estilos extras */
}

/* Remove caret padrão do Bootstrap no dropdown */
.navbar-nav .nav-link.dropdown-toggle::after {
  display: none;
}

/* Underline animado */
.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #c72041;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #c72041; 
}

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

/* Farol em destaque */
.navbar-nav .nav-link.menu-farol {
  font-family: 'GalanoGrotesqueBold', sans-serif; 
  font-weight: 900;
  color: #7d7d7d !important;
  letter-spacing: 1px;
  position: relative;
}

.navbar-nav .nav-link.menu-farol:hover {
  color: #f70529 !important;
}

/* ========================
   DROPDOWN MENU
======================== */
.navbar .dropdown-menu {
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 10px 0;
  margin-top: 10px;
  background: #fff;
  min-width: 220px;
}

.navbar .dropdown-item {
  font-family: 'GalanoGrotesqueRegular', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  padding: 10px 18px;
  transition: all 0.3s ease;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  background: #f9f9f9;
  color: #c72041;
}

.navbar .dropdown-item.active,
.navbar .dropdown-item:active {
  background: #c72041;
  color: #fff;
}

/* seta do menu */
.navbar-nav .dropdown-toggle::after {
  content: "▼";
  font-size: 10px;
  margin-left: 6px;
  vertical-align: middle;
  border: none !important;
  color: #777;
  transition: transform 0.3s ease;
}

.navbar-nav .dropdown-toggle.show::after {
  transform: rotate(180deg);
  color: #c72041;
}



/* ========================
   BUSCA
======================== */
#searchForm .form-control { 
  border-radius: 6px; 
  font-size: 14px; 
  padding: 6px 12px; 
  border: 1px solid #ccc; 
}

/* ========================
   REDES SOCIAIS
======================== */
.social-icons {
  display: flex;             /* 🔹 ativa flexbox */
  justify-content: flex-end; /* 🔹 direita no desktop */
  gap: 10px;                 /* espaço entre ícones */
}

.social-icons a,
.social-icons a:visited,
.social-icons a:active {
  text-decoration: none;
  color: inherit;
}


.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icons i { 
  font-size: 18px;
  color: #797979;
  transition: color 0.3s ease; 
} 

.social-icons a:hover {
  background: #f4f4f4;
}

.social-icons a:hover i {
  color: #c72041;
}

/* ========================
   RESPONSIVO
======================== */
@media (max-width: 991px) { 
  .navbar-nav { 
    text-align: center; 
    margin-top: 10px; 
  } 

  #searchForm { 
    margin-top: 10px; 
    width: 100%;
  } 

  #searchForm .form-control {
    width: 100%; /* ocupa toda largura no mobile */
  }

  .social-icons {
    justify-content: center;  /* 🔹 centraliza no mobile */
    margin-top: 15px;
  }
}
