/*
========================
======================== OCULTAR
========================
*/

.header,
.footer {
  display: none;
}

/*
========================
======================== HEADER
========================
*/

.navbar {
  background-color: #1b2128;
  position: relative;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Navbar Fixa */
.navbar.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(27, 33, 40, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.4s ease-out;
}

/* Animação de entrada da navbar fixa */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Efeito de hover mais suave na navbar fixa */
.navbar.fixed .navbar-item > a:hover {
  color: var(--blue-normal);
  text-shadow: 0 0 8px rgba(74, 144, 226, 0.3);
}

/* Logo na navbar fixa - sem animação */
.navbar.fixed .logo img {
  /* Removido: transform e transition para logo */
}

/* Efeito de brilho na navbar quando fixa */
.navbar.fixed::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
}

/* Efeito de pulsação no botão mobile quando navbar está fixa */
.navbar.fixed .mobile-toggle:hover {
  transform: scale(1.1);
}

/* Links sociais na navbar fixa - sem animação */
.navbar.fixed .social a {
  /* Removido: transform e transition para social */
}

.navbar.fixed .social a:hover {
  opacity: 0.8;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 95%;
  height: 70px;
  line-height: 70px;
  position: relative;
}

.navbar .logo img {
  max-width: 170px;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.navbar .navbar-item {
  position: relative;
  height: 100%;
  display: inline-block;
  margin-right: 30px;
}

@media (max-width: 1440px) {
  .navbar .navbar-item {
    margin-right: 10px;
  }
}

.navbar .navbar-item:last-child {
  margin-right: 0;
}

.navbar .navbar-item > a {
  display: block;
  font-size: 1.4rem;
  color: #ffffff;
  font-weight: 400;
  cursor: pointer;
  text-transform: uppercase;
}

@media (max-width: 1550px) {
  .navbar .navbar-item > a {
    font-size: 1rem;
  }
}

@media (max-width: 1280px) {
  .navbar .navbar-item > a {
    font-size: 1rem;
  }
}

@media (max-width: 1140px) {
  .navbar .navbar-item > a {
    font-size: 0.8rem;
  }
}

@media (max-width: 1024px) {
  .navbar .link-back > a {
    font-size: 1.4rem;
  }
}

.navbar .navbar-item:hover > a,
.navbar .navbar-item > a:hover {
  color: var(--blue-normal);
}

.navbar .navbar-arrow::after {
  font-family: "Font Awesome 5 Pro";
  content: "\f107" !important;
  margin-left: 8px;
  color: var(--blue-normal);
}

.navbar .navbar-item:hover .navbar-arrow:after,
.navbar .navbar-item > a:hover .navbar-arrow:after {
  content: "\f106" !important;
}

.navbar .navbar-sub {
  background-color: #1b2128;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 300px;
  padding: 18px;
  text-align: left;
  margin-top: 1px;
  visibility: hidden;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  opacity: 0;
  z-index: 99;
  border-radius: 4px;
}

.navbar .navbar-item:hover .navbar-sub,
.navbar .navbar-item > a:hover .navbar-sub {
  top: 100%;
  visibility: visible;
  opacity: 1;
}

.navbar .navbar-sub-item {
  float: left;
  width: 100%;
  list-style: none;
}

.navbar .navbar-sub-item a {
  font-size: 1.2rem;
  line-height: 2.6rem;
  color: #ffffff;
  font-weight: 400;
  float: left;
  width: 100%;
  text-transform: uppercase;
  text-decoration: none;
}

.navbar .navbar-sub-item a:hover {
  color: var(--blue-normal);
}

.navbar .social {
  display: flex;
  align-items: center;
  gap: 5px;
}

.navbar .social a {
  background-color: var(--blue-normal);
  width: 35px;
  height: 35px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s;
}

.navbar .social a svg {
  height: 15px !important;
}

.navbar .social a:hover {
  opacity: 0.8;
}

/*
========================
======================== SEARCH
========================
*/

.navbar-right-search {
  position: relative;
}

.search-toggle {
  background-color: var(--blue-normal);
  width: 35px;
  height: 35px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.4s;
  margin-right: 10px;
}

.search-toggle:hover {
  opacity: 0.8;
}

.search-toggle svg {
  height: 15px !important;
  width: 15px !important;
}

.search-block {
  position: absolute;
  top: 100%;
  right: 0;
  width: 400px;
  max-width: 90vw;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  margin-top: 10px;
  margin-right: 15px;
}

.search-block.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-form-container {
  padding: 20px;
  width: 100%;
  position: relative;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 5px;
}

.search-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease;
  height: 48px;
  box-sizing: border-box;
}

.search-input:focus {
  border-color: var(--blue-normal);
}

.search-submit {
  background-color: var(--blue-normal);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
}

.search-submit:hover {
  background-color: var(--orange);
}

.search-submit svg {
  height: 18px !important;
  width: 18px !important;
}

/* Responsividade para busca */
@media (max-width: 768px) {
  .search-block {
    width: 320px;
    margin-right: 10px;
  }

  .search-form-container {
    padding: 15px;
  }

  .search-input {
    padding: 12px 16px;
    font-size: 14px;
  }

  .search-submit {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .search-block {
    width: 280px;
    margin-right: 5px;
  }

  .search-form-container {
    padding: 12px;
  }
}

/*
========================
======================== MOBILE TOGGLE
========================
*/

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  transition: all 0.3s ease;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
  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);
}

@media (max-width: 1024px) {
  .mobile-toggle {
    display: flex;
  }

  .navbar .navbar-ul {
    display: none;
  }

  .navbar .social {
    display: none;
  }
}

/*
========================
======================== MOBILE MENU
========================
*/

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #1b2128 0%, #2a3441 100%);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
  padding-top: 80px;
}

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

.mobile-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.mobile-menu > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.mobile-menu > li > a {
  display: block;
  padding: 20px 30px;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-menu > li > a:hover {
  color: var(--blue-normal);
  background: rgba(255, 255, 255, 0.05);
  padding-left: 40px;
}

.mobile-menu > li > a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--blue-normal);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.mobile-menu > li > a:hover::before {
  transform: scaleY(1);
}

/* Submenu Mobile */
.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.2);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.mobile-menu li.has-submenu.active ul {
  max-height: 500px;
}

.mobile-menu ul li a {
  display: block;
  padding: 15px 50px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.4rem;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mobile-menu ul li a:hover {
  color: var(--orange);
  background: rgba(255, 255, 255, 0.05);
  padding-left: 60px;
}

/* Indicador de submenu */
.mobile-menu > li.has-submenu > a::after {
  content: "\f107";
  font-family: "Font Awesome 5 Pro";
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  color: var(--blue-normal);
}

.mobile-menu > li.has-submenu.active > a::after {
  transform: translateY(-50%) rotate(180deg);
}

/* Social Media no Mobile */
.mobile-social {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
}

.mobile-social a {
  background-color: var(--blue-normal);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-social a:hover {
  background-color: var(--orange);
  transform: translateY(-3px);
}

.mobile-social a svg {
  height: 18px !important;
  fill: #ffffff;
}

/* Overlay para fechar menu */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

/* Animações de entrada */
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mobile-nav.active .mobile-menu > li {
  animation: slideInFromLeft 0.5s ease forwards;
}

.mobile-nav.active .mobile-menu > li:nth-child(1) {
  animation-delay: 0.1s;
}
.mobile-nav.active .mobile-menu > li:nth-child(2) {
  animation-delay: 0.2s;
}
.mobile-nav.active .mobile-menu > li:nth-child(3) {
  animation-delay: 0.3s;
}
.mobile-nav.active .mobile-menu > li:nth-child(4) {
  animation-delay: 0.4s;
}
.mobile-nav.active .mobile-menu > li:nth-child(5) {
  animation-delay: 0.5s;
}
.mobile-nav.active .mobile-menu > li:nth-child(6) {
  animation-delay: 0.6s;
}

/* Responsividade adicional */
@media (max-width: 480px) {
  .mobile-menu > li > a {
    font-size: 1.6rem;
    padding: 18px 25px;
  }

  .mobile-menu ul li a {
    padding: 12px 40px;
    font-size: 1.3rem;
  }

  .mobile-social {
    bottom: 20px;
  }

  .mobile-social a {
    width: 40px;
    height: 40px;
  }
}

/*
========================
======================== OPENING
========================
*/

.opening {
  margin-top: 80px;
  position: relative;
  margin-bottom: -280px;
}

.opening .container {
  max-width: 80%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

@media (max-width: 991px) {
  .opening .container {
    max-width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .opening .container {
    grid-template-columns: 1fr;
  }
}

.opening-item {
  position: relative;
  height: 650px;
  z-index: 1;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.opening-item-bg {
  background-color: var(--blue-normal);
  border-radius: 40px;
  height: 600px;
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  z-index: -1;
  transition: all 0.3s ease;
  transform: translateY(-50%);
}

.opening-item:hover .opening-item-bg {
  background-color: var(--orange);
  height: 650px;
}

.opening-item-cover {
  position: relative;
  top: -3rem;
}

.opening-item-titles {
  width: 90%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 40px;
  position: absolute;
  left: 5%;
  bottom: 5%;
}

.opening-item-titles h2 {
  color: var(--white-normal);
  font-size: 40px;
  line-height: 40px;
  font-weight: 700;
  max-width: 70px;
}

.opening-item-titles .icon {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--orange);
  border-radius: 20px;
  transition: 0.4s;
}

.opening-item:hover .icon {
  border: 2px solid var(--blue-normal);
  background-color: var(--blue-normal);
}

.opening-item:hover .icon path {
  fill: #fff;
}

/*
========================
======================== EFFECT
========================
*/

.opening-effect {
  margin-bottom: 30px;
  background-color: var(--white-normal);
  max-width: 90%;
  margin: 0 auto;
  border-radius: 40px;
  height: 310px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 30px;
}

/*
========================
======================== FOOTER
========================
*/

.opening-footer {
  background-color: #1b2128;
  margin-top: 50px;
  padding: 30px 0;
}

.opening-footer .container {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-end;
}

.opening-footer .container p {
  color: #fff;
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  width: 100%;
  max-width: 1000px;
  text-align: center;
  margin-bottom: 10px;
}

/*
========================
======================== NEWS
========================
*/

.news {
  margin-top: 40px;
}

.news-title {
  width: 100%;
  text-align: center;
  margin-bottom: 3rem;
}

.news-title h2 {
  color: var(--blue-normal);
  font-size: 3.2rem;
  font-weight: 400;
  line-height: normal;
}

.news-all {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media (max-width: 991px) {
  .news-all {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .news-all {
    grid-template-columns: 1fr;
  }
}

.news-item-cover {
  width: 100%;
  height: 20rem;
  border-radius: 2rem;
  overflow: hidden;
}

.news-item-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.news-item:hover .news-item-cover img {
  transform: scale(1.1);
}

.news-item-desc {
  margin-top: 1.5rem;
}

.news-item-desc h3 {
  color: var(--grey);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 120%;
}

.news-item:hover h3 {
  text-decoration: underline;
}

.news-item-desc p {
  color: var(--grey);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 130%;
  margin-top: 1.2rem;
}

.news-item-desc .date {
  width: fit-content;
  background: var(--blue-normal);
  margin-top: 1.7rem;
  padding: 7px 15px;
  border-radius: 2rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-item-desc .date img {
  height: 2rem;
}

.news-item-desc .date span {
  color: var(--white-light);
  font-size: 1.4rem;
  font-weight: 500;
}

.news-more {
  width: 100%;
  text-align: center;
  margin-top: 10px;
}

.news-more .btn {
  width: fit-content;
  border-radius: 10px;
  background: var(--orange);
  padding: 14px 30px;
  color: var(--white-light);
  font-size: 18px;
  font-weight: 400;
  margin-top: 30px;
  transition: 0.4s;
  display: inline-block;
}

.news-more .btn:hover {
  background: var(--orange-dark);
  transition: 0.4s;
}
