/* General CSS */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  scroll-behavior: smooth;
  background-color: var(--cinza);
  font-family: 'Fustat', sans-serif;
}

html {
  scroll-padding-top: 90px;
}

.sections {
  width: 100%;
  padding: 32px 24px;
  overflow: hidden;
}

.sections.bege {
  background-color: var(--bege);
}

.sections.verde-dark {
  background-color: var(--verde-dark);
}

@media (min-width: 992px) {
  .sections {
    padding: 32px 48px;
  }
}

@media (min-width: 1200px) {
  .sections {
    padding: 32px 96px;
  }
}

.sections.short {
  padding: 0 32px;
}

.sections.footer {
  padding: 32px 24px;
}

@media (min-width: 992px) {
  .sections.footer {
    padding: 32px 96px;
  }
}

.sections.first {
  padding-top: 64px;
}

.sections.fullHeight {
  min-height: 70dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Top-bar */

#top-bar {
  position: relative;
  z-index: 99;
  /*overflow: hidden;*/
  padding: 0 24px;
}

#top-bar.sticky,
#top-bar.not-found {
  position: sticky;
  top: 0;
  left: 0;
  background-color: var(--branco);
  animation: slide-bottom .5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
}

#top-bar .content {
  width: 100%;
  height: 110px;
  border-bottom: .5px solid var(--branco);
  padding: 16px 0px;
}

@media (min-width: 992px) {
  #top-bar .content {
    /*padding: 16px 0px;*/
  }
}

#top-bar.sticky .content {
  /*border-bottom-color: var(--preto);*/
}

#top-bar .content .nav-logo {
  width: 155px;
  height: 60px;
  background-image: url("../../assets/img/logo_ABACC_white.svg");
  background-repeat: no-repeat;
  overflow: hidden;
  border: none;
  box-shadow: none;
}

#top-bar.sticky .content .nav-logo,
#top-bar.not-found .content .nav-logo {
  background-image: url("../../assets/img/logo_ABACC_black.svg");
}

#top-bar .content .nav-logo h1 {
  margin-left: -100%;
}

/* Menu */

#main-menu,
#lang-menu {
  display: flex;
  flex-direction: row;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#lang-menu li a {
  font-size: .85rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--branco);
}

/* Menu - Nível 1 */

#main-menu>li {
  position: relative;
}

#main-menu>li>a {
  display: block;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--branco);
  padding: 8px 16px;
  transition: all .3s ease-in-out;
}

#main-menu>li>a:hover {
  color: var(--azul);
}

#top-bar.sticky #main-menu>li>a:hover,
#top-bar.not-found #main-menu>li>a:hover {
  color: var(--verde);
}

#top-bar.sticky #main-menu>li>a,
#top-bar.sticky .content #lang-menu li a,
#top-bar.not-found #main-menu>li>a,
#top-bar.not-found .content #lang-menu li a {
  color: var(--preto);
}

/* Menu - Nível 2 */

#main-menu li ul {
  width: 220px;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  padding: 8px 6px;
  margin: 0;
  background-image: var(--gradient-abacc);
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
  border-radius: 6px;
}

#main-menu li.lower ul {
  width: 105px;
}

#main-menu li:hover>ul {
  display: block;
}

#main-menu li ul li a {
  display: block;
  width: 100%;
  padding: 5px 16px;
  font-size: .8rem;
  color: var(--branco);
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .3s ease-in-out;
  cursor: pointer;
}

#main-menu li ul li a:hover {
  color: var(--preto);
}

/* Menu Lang */

#lang-menu>li {
  position: relative;
}

#lang-menu li a {
  text-transform: uppercase;
}

#lang-menu>li>a:hover {
  color: var(--azul);
}

#lang-menu li ul {
  width: 50px;
  display: none;
  position: absolute;
  top: 100%;
  left: -10px;
  list-style: none;
  padding: 8px 2px;
  margin: 0;
  background-image: var(--gradient-abacc);
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
  border-radius: 6px;
}

#lang-menu li:hover>ul {
  display: block;
}

#lang-menu li ul li a {
  display: block;
  width: 100%;
  padding: 5px 16px;
  font-size: .8rem;
  color: var(--branco) !important;
  text-align: center !important;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .3s ease-in-out;
  cursor: pointer;
}

#lang-menu li ul li a:hover {
  color: var(--preto) !important;
}

/* Seta atrás do link */

#main-menu li>a::after,
#lang-menu li>a::after {
  content: '';
  position: absolute;
  right: 2px;
  bottom: 20px;
  width: 1px;
  height: 1px;
  display: block;
  margin-left: 8px;
  margin-right: 0;
  border: solid var(--branco);
  border-width: 0 2px 2px 0;
  padding: 2px;
  transform: rotate(45deg);
}

#top-bar.sticky #main-menu li>a::after,
#top-bar.not-found #main-menu li>a::after,
#top-bar.sticky #lang-menu li>a::after {
  border: solid var(--preto);
  border-width: 0 2px 2px 0;
}

#lang-menu li>a::after {
  right: -16px;
  bottom: 12px;
}

/* Tirar seta qdo não houver link */

#main-menu li:not(:has(ul))>a::after,
#lang-menu li:not(:has(ul))>a::after {
  content: none;
}

/* Botão Contato */

#main-menu li.btn-contato a {
  background-image: var(--gradient-abacc);
  border-radius: 28px;
  margin-left: 8px;
  padding: 6px 16px !important;
  transition: all .3s ease-in-out;
}

#main-menu li.btn-contato a:hover {
  color: var(--branco) !important;
  background-image: var(--gradient-abacc-invert);
}

#top-bar.sticky #main-menu li.btn-contato a,
#top-bar.not-found #main-menu li.btn-contato a {
  color: var(--branco) !important;
}


/* Botão Menu Mobile */

#top-bar .btn-menu-mobile {
  display: block;
  width: 24px;
  height: 24px;
  background-image: url("../../assets/img/btn_menu_mobile.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  box-shadow: none;
  border-radius: 0;
  transition: all .3s ease-in-out;
}

#top-bar .btn-menu-mobile:hover {
  background-image: url("../../assets/img/btn_menu_mobile_azul.svg");
}

#top-bar.sticky .btn-menu-mobile,
#top-bar.not-found .btn-menu-mobile {
  background-image: url("../../assets/img/btn_menu_mobile_preto.svg");
}

#top-bar.sticky .btn-menu-mobile:hover,
#top-bar.not-found .btn-menu-mobile:hover {
  background-image: url("../../assets/img/btn_menu_mobile_verde.svg");
}

/* Header */

#hero {
  position: relative;
  margin-top: -110px;
  width: 100%;
  height: max(100dvh, 610px);
  overflow: hidden;
}

/* Slider - Banner */

#banner {
  width: 100%;
  /*height: 100dvh;*/
  height: max(100dvh, 610px);
}

#banner .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

#banner .swiper-slide video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

#banner .swiper-slide .content {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: max(100dvh, 610px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  pointer-events: auto;
  padding: 0 24px;
}

#banner .swiper-slide .content a {
  text-decoration: none;
  border: none;
  box-shadow: none;
  pointer-events: auto;
}

#banner .swiper-slide .content h2 {
  max-width: 100%;
  font-size: 1.7rem;
  font-weight: bold;
  color: var(--branco);
  margin-bottom: 16px;
}

@media (min-width: 992px) {
  #banner .swiper-slide .content h2 {
    max-width: 65%;
    font-size: 2.4rem;
    margin-bottom: 16px;
  }
}

#banner .swiper-slide .content h3 {
  font-size: .9rem;
  color: var(--branco);
}

@media (min-width: 992px) {
  #banner .swiper-slide .content h3 {
    font-size: 1.2rem;
    color: var(--branco);
  }
}

/* Overlay */

.overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100dvh;
  height: max(100dvh, 610px);
  background: linear-gradient(0deg, rgba(4, 42, 45, .7) 0%, rgba(0, 0, 0, .4) 100%);
  pointer-events: none;
}

/* Big Numbers Mobile */

#big-numbers-mobile {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 110px;
  z-index: 89;
  padding: 16px;
}

#big-numbers-mobile .year {
  display: block;
  width: 100%;
  font-size: .75rem;
  text-transform: uppercase;
  color: var(--branco);
  border-bottom: 1px solid var(--branco);
  padding-bottom: 6px;
  margin-bottom: 8px;
}

#big-numbers-mobile .content {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 16px;
  width: 100%;
  min-width: 100%;
  height: 100%;
  padding: 6px 6px;
  overflow-x: scroll;
  scrollbar-width: none;
}

#big-numbers-mobile .content::-webkit-scrollbar {
  display: none;
}

#big-numbers-mobile .content .item {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: auto;
  min-width: 160px;
  height: 40px;
  margin: 0;
  padding: 0 16px 0 0;
}

#big-numbers-mobile .content .item:not(:last-child) {
  border-right: .5px solid var(--branco);
}

#big-numbers-mobile .content .item .icon {
  max-width: 25px;
  max-height: 25px;
  margin: 0;
}

#big-numbers-mobile .content .item .number {
  font-size: 1.5rem;
  color: var(--branco);
}

#big-numbers-mobile .content .item .legend {
  font-size: .75rem;
  color: var(--branco);
}

/* Big Numbers - Desktop */

#big-numbers {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  z-index: 89;
  padding: 16px;
}

#big-numbers .container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0;
}

#big-numbers .year {
  display: block;
  width: 100%;
  font-size: .75rem;
  text-transform: uppercase;
  color: var(--branco);
  border-bottom: 1px solid var(--branco);
  padding-bottom: 6px;
  margin-bottom: 8px;
}

#big-numbers .content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: start;
  gap: 24px;
  width: 100%;
}

#big-numbers .content .item {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: flex-start;
  flex: 1;
  height: 100%;
  padding: 8px 0;
}

#big-numbers .content .item .icon {
  max-width: 25px;
  max-height: 25px;
  margin: 0 0 6px 0;
}

#big-numbers .content .item .number {
  font-size: 1.5rem;
  min-height: 36px;
  color: var(--branco);
}

#big-numbers .content .item .legend {
  font-size: .8rem;
  color: var(--branco);
  max-width: 75%;
  min-height: 35px;
}

/* Footer */

footer img {
  width: 130px;
  height: auto;
}

footer .social-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--branco);
  padding: 8px;
  width: 40px;
  height: 40px;
  border-radius: 30px;
  border: 1px solid var(--branco);
  box-shadow: none;
}

footer p {
  font-size: .7rem;
  color: var(--branco);
  margin: 0;
  padding: 0;
}

@media (min-width: 992px) {
  footer p {
    font-size: .8rem;
  }
}

footer p a {
  color: var(--branco);
  text-decoration: none;
  transition: all .3s ease-in-out;
}

footer p a:hover {
  text-decoration: underline;
}

footer h5 {
  font-size: .8rem;
  font-weight: bold;
  color: var(--branco);
}

@media (min-width: 992px) {
  footer h5 {
    font-size: 1rem;
  }
}

footer .footer-line {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .7rem;
  color: var(--branco);
}

@media (min-width: 992px) {
  footer .footer-line {
    font-size: .8rem;
  }
}

footer .footer-line span {
  display: flex;
}

footer .footer-line i {
  margin-top: 3px;
  margin-right: 6px;
}

footer .footer-line span a {
  text-decoration: none;
  color: var(--branco);
  transition: all .3s ease-in-out;
}

footer .footer-line span a:hover {
  text-decoration: underline;
}

footer .copyright {
  font-size: .7rem;
  line-height: .75rem;
  color: var(--branco);
}

footer .copyright a {
  text-decoration: none;
  color: var(--branco);
}

footer .copyright a:hover {
  text-decoration: underline;
}

footer .separator {
  border-top: .5px solid var(--branco);
  border-bottom: .5px solid var(--branco);
  padding: 24px 0;
  margin: 24px 0;
}

/* Vinheta */

#vinheta {
  position: relative;
  margin-top: -110px;
  width: 100%;
  height: max(33dvh, 200px);
  overflow: hidden;
}

@media (min-width: 1200px) {
  #vinheta {
    height: max(45dvh, 300px);
  }
}

#vinheta img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#vinheta .content {
  position: absolute;
  top: 110px;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: calc(100% - 110px);
  padding: 0 32px;
}

#vinheta .content h2 {
  max-width: 100%;
  font-size: 1.7rem;
  font-weight: bold;
  color: var(--branco);
  margin-bottom: 16px;
  text-transform: uppercase;
}

@media (min-width: 992px) {
  #vinheta .content h2 {
    max-width: 65%;
    font-size: 2.4rem;
    margin-bottom: 16px;
  }
}

/* Linha do tempo */

.box-bege {
  background: var(--bege);
  padding: 32px 12px;
  border-radius: 24px;
  margin-bottom: -220px;
}

@media (min-width: 768px) {
  .box-bege {
    padding: 64px 72px;
  }
}

.box-bege.normal {
  margin-bottom: 0;
}

/* Menu Mobile */

.menu-mobile {
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  /* max-width: 420px; */
  height: 100dvh;
  background-color: var(--cinza);
  padding: 32px 40px;
  z-index: 999;
  transition: all .5s ease-in-out;
  opacity: 0;
  transform: translateX(100%);
}

.menu-mobile.active {
  opacity: 1;
  transform: translate(0);
}

.btn-close-menu-mobile {
  position: absolute;
  top: 16px;
  right: 16px;
  display: block;
  width: 24px;
  height: 24px;
  background-image: url("../../assets/img/btn_close_menu_mobile.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  box-shadow: none;
  border-radius: 0;
  transition: all .3s ease-in-out;
}

.menu-mobile .logo {
  width: 160px;
  height: auto;
}

.menu-mobile .content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.menu-mobile .menu {
  list-style: none;
  padding-left: 0;
}

.menu-mobile .menu li {
  padding: 6px;
}

.menu-mobile .menu li a {
  font-size: 1rem;
  font-weight: bold;
  line-height: 1rem;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--preto);
}

.menu-mobile .menu li ul {
  padding-left: 0;
  list-style: none;
}

.menu-mobile .menu li ul li {
  position: relative;
  padding: 0;
  padding-left: 1.2rem;
  padding-bottom: 6px;
}

.menu-mobile .menu li ul li::before {
  position: absolute;
  content: "—";
  left: 0;
  top: 0;
  color: var(--preto);
}

.menu-mobile .menu li ul li a {
  font-size: .9rem;
  font-weight: normal;
  text-transform: uppercase;
  color: var(--preto);
  margin: 0;
}

/* Menu lang mobile */

.menu-lang {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 0;
  padding: 0;
  padding-left: 0;
  margin-top: 24px;
}

.menu-lang li {
  position: relative;
}

.menu-lang li a {
  width: auto;
  padding: 4px 12px;
  font-size: 1rem;
  line-height: 1rem;
  color: var(--preto);
  font-weight: bold;
  text-decoration: none;
  margin: 0;
}

.menu-lang li:last-child a {
  /*border-right: none;*/
}

.menu-lang li a::after {
  position: absolute;
  right: 0;
  top: 3px;
  content: '';
  display: block;
  width: 2px;
  height: .9rem;
  background-color: var(--preto);
}

.menu-lang li:last-child a::after {
  display: none;
}