﻿:root {
  --color-primary: #b72c2c;
  --color-secundary: #e2ae61;
  --color-third: #35425a;
  --color-fourth: #938c83;

  --color-title: #1c1b19;
  --color-text: #353431;

  --bg-light: #f7f3ee;
  --bg-dark: #353431;
}

html {
  /* scroll-behavior: smooth; */
}

header nav .mobile-menu.mobile-menu-home {
  display: block;
  right: 40px;
  left: auto;
}

.nav-mobile.mobile-menu-home {
  position: fixed;
  top: 0;
  left: auto;
  right: 0;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.nav-mobile.mobile-menu-home.ativo {
  transform: translateX(0);
}

@media (min-width: 993px) {
  header nav {
    justify-content: space-between;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 24px;
  }

  header nav ul {
    width: auto;
  }
}

@media (max-width: 1100px) and (min-width: 993px) {
  header nav ul a {
    font-size: 0.9rem;
  }
}

@media (max-width: 1220px) {
  header nav ul {
    gap: 24px;
  }
}

@media (max-width: 993px) {
  .mobile-menu.mobile-menu-home {
    display: none !important;
  }
}

section.antes-de-goias,
section.historia,
section.ser-bombeiro,
section.tecnica,
section.depoimentos,
section.encerramento {
  min-height: 100vh;
  padding: 64px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--color-fourth);
}

h2.titulo {
  font-size: 2.4rem;
  line-height: 3rem;
  font-weight: 800;
  color: var(--color-title);

  /* background: -webkit-linear-gradient(
    45deg,
    var(--color-title),
    var(--color-secundary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; */
}

h3.sub-titulo {
  font-size: 1rem;
  line-height: 1.6rem;
}

/** BANNER
****************************************************************/
.banner {
  position: relative;
  width: 100%;
  height: auto;
  background: transparent;
}

.banner img {
  width: 100%;
  height: auto;
}

.banner .titulos {
  position: absolute;
  width: 100%;
  max-width: 46%;
  text-align: left;
  top: 20%;
  left: 160px;
}

.banner .titulos h1 {
  position: relative;
  color: var(--color-primary);
  font-family: fantasy;
  font-weight: 800;
  font-size: 5rem;
  line-height: 6rem;
}

.banner .titulos h1 strong {
  color: #000;
}

.banner .titulos h2 {
  position: relative;
  color: var(--color-text);
  font-weight: 500;
  line-height: 2.2rem;
}

@media (max-width: 1500px) {
  .banner .titulos h1 {
    font-size: 2rem;
    line-height: 3rem;
  }
}

@media (max-width: 1000px) {
  .banner .titulos {
    display: none;
  }
}

/** LEMA
****************************************************************/
.lema {
  background: var(--bg-dark);
}

.lema strong {
  color: var(--bg-light);
}

.lema h2 {
  font-size: 2.4rem;
  line-height: 3rem;
  font-weight: 800;
  color: var(--bg-light);

  background: -webkit-linear-gradient(
    45deg,
    var(--color-secundary),
    var(--bg-light)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/** ANTES DE GOIÁS
****************************************************************/
section.antes-de-goias {
  min-height: auto;
  padding-bottom: 0;
  border-bottom: 0;
}

section.antes-de-goias .box-eventos {
  background: var(--bg-light);
  padding: 16px 0;
  padding: 0px 24px 48px;
  /* background: linear-gradient(
    to bottom,
    var(--bg-light) 0%,
    var(--color-fourth) 80%
  ); */
}

section.antes-de-goias .box-eventos .cards-eventos {
  display: flex;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}

section.antes-de-goias .box-eventos .cards-eventos .card-evento {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 460px;
  background: var(--color-fourth);
  transition: all 1s ease;
}

section.antes-de-goias .box-eventos .cards-eventos .card-evento:hover,
section.antes-de-goias
  .box-eventos
  .cards-eventos
  .card-evento.card-evento-activo {
  width: auto;
  flex: 1;
}

.card-evento .card-evento-title {
  display: flex;
  align-items: center;
  justify-content: end;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 36px;
  height: stretch;
  width: 100px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card-evento .card-evento-title h2 {
  font-size: 1.6rem;
  line-height: 2rem;
  transform: rotate(-90deg);
  width: inherit;
  width: 440px;
  position: absolute;
  bottom: 200px;
}

.card-evento .card-evento-content-ativo {
  opacity: 0;
  position: absolute;
  inset: 0;
  overflow: hidden;
  padding: 48px;
  background: url(./assets/images/card-eventos.png) no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: end;
  transition: all 0.3s ease;
}

.card-evento .card-evento-content-ativo.evento-01 {
  background: url(../images/eventos/evento-01.jpg) no-repeat;
  background-size: cover;
  background-position: center;
}

.card-evento .card-evento-content-ativo.evento-02 {
  background: url(../images/eventos/evento-02.jpg) no-repeat;
  background-size: cover;
  background-position: center;
}

.card-evento .card-evento-content-ativo.evento-03 {
  background: url(../images/eventos/evento-03.jpg) no-repeat;
  background-size: cover;
  background-position: center;
}

.card-evento .card-evento-content-ativo.evento-04 {
  background: url(../images/eventos/evento-04.jpg) no-repeat;
  background-size: cover;
  background-position: center;
}

.card-evento .card-evento-content-ativo.evento-05 {
  background: url(../images/eventos/evento-05.jpg) no-repeat;
  background-size: cover;
  background-position: right center;
}

.card-evento .card-evento-content-ativo.evento-06 {
  background: url(../images/eventos/evento-06.jpg) no-repeat;
  background-size: cover;
  background-position: left center;
}

.card-evento .card-evento-content-ativo.evento-07 {
  background: url(../images/eventos/evento-07.jpg) no-repeat;
  background-size: cover;
  background-position: left center;
}

.card-evento .card-evento-content-ativo.evento-08 {
  background: url(../images/eventos/evento-08.jpg) no-repeat;
  background-size: cover;
  background-position: left center;
}

.card-evento .card-evento-content-ativo.evento-09 {
  background: url(../images/eventos/evento-09.jpg) no-repeat;
  background-size: cover;
  background-position: left center;
}

.card-evento .card-evento-content-ativo.evento-10 {
  background: url(../images/eventos/evento-10.jpg) no-repeat;
  background-size: cover;
  background-position: left center;
}

.card-evento .card-evento-content-ativo.evento-11 {
  background: url(../images/eventos/evento-11.jpg) no-repeat;
  background-size: cover;
  background-position: left center;
}

.card-evento .card-evento-content-ativo.evento-12 {
  background: url(../images/eventos/evento-12.jpg) no-repeat;
  background-size: cover;
  background-position: left center;
}

.card-evento .card-evento-content-ativo.evento-13 {
  background: url(../images/eventos/evento-13.jpg) no-repeat;
  background-size: cover;
  background-position: left center;
}

.card-evento .card-evento-content-ativo.evento-14 {
  background: url(../images/eventos/evento-14.jpg) no-repeat;
  background-size: cover;
  background-position: left center;
}

.card-evento .card-evento-content-ativo.evento-15 {
  background: url(../images/eventos/evento-15.jpg) no-repeat;
  background-size: cover;
  background-position: left center;
}

.card-evento .card-evento-content-ativo.evento-16 {
  background: url(../images/eventos/evento-16.jpg) no-repeat;
  background-size: cover;
  background-position: left center;
}

.card-evento .card-evento-content-ativo.evento-17 {
  background: url(../images/eventos/evento-17.jpg) no-repeat;
  background-size: cover;
  background-position: left center;
}

.card-evento .card-evento-content-ativo.evento-18 {
  background: url(../images/eventos/evento-18.webp) no-repeat;
  background-size: cover;
  background-position: left center;
}

.card-evento .card-evento-content-ativo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 99;
  background: url('./assets/images/pattern.png') 0 0 repeat;

  background-image: linear-gradient(45deg, #000, transparent);
}

.card-evento .card-evento-content-ativo h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 24px;
  z-index: 999;
  /* text-wrap: nowrap; */
}

.card-evento .card-evento-content-ativo p {
  width: calc(660px - 96px);
  width: auto;
  color: #fff;
  font-size: 1rem;
  line-height: 1.8rem;
  z-index: 999;
}

.card-evento.card-evento-activo .card-evento-title {
  opacity: 0;
}

.card-evento.card-evento-activo .card-evento-content-ativo {
  opacity: 1;
}

@media (max-width: 992px) {
  section.antes-de-goias .box-eventos {
    padding: 0px 0 48px;
    background: var(--bg-light);
  }

  section.antes-de-goias .box-eventos .cards-eventos {
    flex-direction: column;
    padding-inline: 16px;
    gap: 16px;
  }

  section.antes-de-goias .box-eventos .cards-eventos .card-evento {
    width: 100%;
    height: 100px;
  }

  section.antes-de-goias .box-eventos .cards-eventos .card-evento:hover,
  section.antes-de-goias
    .box-eventos
    .cards-eventos
    .card-evento.card-evento-activo {
    height: 360px;
    flex: auto;
  }

  .card-evento .card-evento-title {
    display: flex;
    align-items: center;
    justify-content: start;
    flex-direction: row-reverse;
    gap: 24px;
    height: 100px;
    width: stretch;
    padding: 0 24px;
  }

  .card-evento .card-evento-title h2 {
    transform: rotate(0deg);
    width: auto;
    position: relative;
    bottom: auto;
  }
}

/** INCENDIOS EM GOIAS
****************************************************************/
section.antes-de-goias.incendios-goias {
  min-height: auto;
  padding: 16px 0 0;

  /* background: linear-gradient(
    to bottom,
    var(--color-fourth) 0,
    var(--bg-light) 100%
  ); */
}

section.antes-de-goias.incendios-goias h2.titulo {
}

section.antes-de-goias.incendios-goias .box-eventos-goias {
  background: transparent;
}

section.antes-de-goias .box-eventos-goias .cards-eventos-goias {
  display: flex;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: 24px;
}

section.antes-de-goias
  .box-eventos-goias
  .cards-eventos-goias
  .card-evento-goias {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100px;
  height: 460px;
  background: var(--color-fourth);
  transition: all 1s ease;
}

section.antes-de-goias
  .box-eventos-goias
  .cards-eventos-goias
  .card-evento-goias:hover,
section.antes-de-goias
  .box-eventos-goias
  .cards-eventos-goias
  .card-evento-goias.card-evento-goias-activo {
  width: auto;
  flex: 1;
}

.card-evento-goias .card-evento-goias-title {
  display: flex;
  align-items: center;
  justify-content: end;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 36px;
  height: stretch;
  width: 100px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card-evento-goias .card-evento-goias-title h2 {
  font-size: 1.8rem;
  transform: rotate(-90deg);
  width: inherit;
  width: 440px;
  position: absolute;
  bottom: 200px;
}

.card-evento-goias .card-evento-goias-content-ativo {
  opacity: 0;
  position: absolute;
  inset: 0;
  overflow: hidden;
  padding: 48px;
  background: url(./assets/images/card-eventos.png) no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: end;
  transition: all 0.3s ease;
}

.card-evento-goias .card-evento-goias-content-ativo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 99;
  background: url('./assets/images/pattern.png') 0 0 repeat;

  background-image: linear-gradient(45deg, #000, transparent);
}

.card-evento-goias .card-evento-goias-content-ativo h2 {
  color: #fff;
  font-size: 2.4rem;
  margin-bottom: 24px;
  z-index: 999;
  text-wrap: nowrap;
}

.card-evento-goias .card-evento-goias-content-ativo p {
  color: #fff;
  z-index: 999;
  width: calc(660px - 96px);
}

.card-evento-goias.card-evento-goias-activo .card-evento-goias-title {
  opacity: 0;
}

.card-evento-goias.card-evento-goias-activo .card-evento-goias-content-ativo {
  opacity: 1;
}

@media (max-width: 992px) {
  section.antes-de-goias.incendios-goias {
    padding: 48px 0 24px;
  }

  section.antes-de-goias .box-eventos-goias .cards-eventos-goias {
    flex-direction: column;
    padding-inline: 16px;
    gap: 16px;
  }

  section.antes-de-goias
    .box-eventos-goias
    .cards-eventos-goias
    .card-evento-goias {
    width: 100%;
    height: 100px;
  }

  section.antes-de-goias
    .box-eventos-goias
    .cards-eventos-goias
    .card-evento-goias:hover,
  section.antes-de-goias
    .box-eventos-goias
    .cards-eventos-goias
    .card-evento-goias.card-evento-goias-activo {
    height: 300px;
    flex: auto;
  }

  .card-evento-goias .card-evento-goias-title {
    display: flex;
    align-items: center;
    justify-content: start;
    flex-direction: row-reverse;
    gap: 24px;
    height: 100px;
    width: stretch;
    padding: 0 24px;
  }

  .card-evento-goias .card-evento-goias-title h2 {
    transform: rotate(0deg);
    width: auto;
    position: relative;
    bottom: auto;
  }
}
/** HISTÓRIA  
****************************************************************/
section.historia {
  padding-bottom: 0;
  border: 0;
}

.timeline {
  position: relative;
  background: var(--bg-dark);
  color: var(--bg-light);
}

.timeline-container {
  display: grid;
  grid-template-columns: 30% auto;
  gap: 78px;
}

.timeline-filters {
  position: sticky;
  top: 10px;
  display: flex;
  height: fit-content;
  flex-direction: column;
  align-items: end;
  justify-content: center;
  gap: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  padding-block: 48px;
  z-index: 99;
}

.timeline-filters a {
  position: relative;
  text-decoration: none;
  padding-right: 48px;
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 300 !important;
  cursor: pointer;
  color: var(--bg-light);
}

.timeline-filters a span {
  display: inline-block;
  transition: all 0.3s ease-in-out;
}

.timeline-filters a.ativo::after,
.timeline-filters a:hover::after {
  content: '';
  position: absolute;
  top: 4px;
  right: -4px;
  height: 8px;
  width: 8px;
  border-radius: 8px;
  background: var(--color-secundary);
  z-index: 99;
  transition: all 0.3s ease-in-out;
}

.timeline-filters a.ativo span,
.timeline-filters a:hover span {
  color: var(--color-secundary);
  transform: scale(1.4);
}

.timeline-contents .timeline-content {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.timeline-contents .timeline-content img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline .timeline-content::after {
  content: '';
  inset: 0;
  position: absolute;
  z-index: 9;

  background: linear-gradient(to right, #000 10%, transparent);
}

.timeline-content .content-info {
  position: absolute;
  left: 35%;
  top: 140px;
  max-width: 580px;
  color: #fff;
  z-index: 999;
}

.timeline-content .content-info span.ano {
  color: var(--color-secundary);
  font-size: 1.6rem;
  font-style: italic;
  transition: all 0.4s;
}

.timeline-content .content-info h2.titulo {
  color: var(--bg-light);

  background: -webkit-linear-gradient(45deg, #fff, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.timeline-content .content-info p {
  color: #fff;
}

.timeline-content .content-info p a {
  color: var(--color-secundary);
}

.timeline-contents .timeline-content.ativo {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0.4s;
}

@media (max-width: 992px) {
  section.historia {
    padding: 24px 0;
  }

  .timeline-container {
    grid-template-columns: 150px auto;
  }

  .timeline-content .content-info {
    left: 220px;
  }
}

/** SER BOMBEIRO
****************************************************************/
section.ser-bombeiro .titulo-passo1 {
  padding: 24px 0;
  background: var(--color-primary);
}

section.ser-bombeiro h3.passos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #fff;
}

section.ser-bombeiro h3.passos span {
  border-radius: 100%;
  height: 40px;
  width: 40px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--color-primary);
}

section.ser-bombeiro .antes-aconteca {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding: 36px 24px 24px;
  background: var(--color-primary);
  overflow: hidden;
}

section.ser-bombeiro .antes-aconteca > div {
  position: relative;
  margin-bottom: 16px;
}

section.ser-bombeiro .antes-aconteca div div {
  overflow: hidden;
  height: 220px;
  background: var(--bg-dark);

  box-shadow: 0px 0px 44px rgba(0, 0, 0, 0.3);
}

section.ser-bombeiro .antes-aconteca div h2 {
  left: 24px;
  bottom: 36px;
  color: #fff;
  z-index: 999;
}

section.ser-bombeiro .antes-aconteca div div img {
  width: 100%;
  height: stretch;
  object-fit: cover;
  object-position: center;
}

section.ser-bombeiro .galeria-passo1 {
  column-count: 3;
  column-gap: 24px;
}

section.ser-bombeiro .galeria-passo1 a {
  position: relative;
  display: flex;
  align-items: bottom;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}

section.ser-bombeiro .galeria-passo1 > a h2 {
  position: absolute;
  left: 24px;
  bottom: 36px;
  color: #fff;
  z-index: 999;
  text-shadow: #000 1px 1px 2px;
}

section.ser-bombeiro .galeria-passo1 img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

section.ser-bombeiro .quando-acontece {
  padding: 36px 0;
  overflow: hidden;
}

section.ser-bombeiro .quando-acontece h3.titulo.passos {
  color: var(--color-title);
}

section.ser-bombeiro .quando-acontece h3.titulo.passos span {
  color: var(--bg-light);
  background: var(--color-primary);
  border: 0;
}

section.ser-bombeiro .fases-emergencia {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
}

section.ser-bombeiro .fases-emergencia > .fase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-weight: 600;
  cursor: pointer;
  padding: 12px 24px;
  border: 2px solid var(--color-fourth);
  transition: all 0.3s;
}

section.ser-bombeiro .fases-emergencia > .fase span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  border-radius: 100%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
}

section.ser-bombeiro .fases-emergencia > .fase:hover {
  background: var(--color-primary);
  color: var(--bg-light);
  border: 2px solid var(--color-primary);
}

section.ser-bombeiro .fases-emergencia > .fase:hover span {
  background: var(--bg-light);
  color: var(--color-primary);
}

section.ser-bombeiro .galeria-emergencia {
  padding: 36px 0;
  column-count: 4;
  gap: 16px;
  padding: 48px 24px 0;
}

section.ser-bombeiro .galeria-emergencia div {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--color-fourth);
  border: 4px solid var(--bg-light);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  break-inside: avoid;
}

section.ser-bombeiro .galeria-emergencia div.destacar {
  border: 4px solid var(--color-primary);
  box-shadow: 0 15px 35px rgba(104, 104, 104, 0.4);
  z-index: 999;
  transform: scale(1.1);
  animation: cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

section.ser-bombeiro .galeria-emergencia div.desfocar {
  filter: blur(5px) grayscale(30%);
  opacity: 0.4;
}

section.ser-bombeiro .galeria-emergencia img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

@keyframes surgirCentro {
  from {
    transform: scale(1);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  }

  to {
    transform: scale(1.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  }
}

@media (max-width: 1100px) {
  section.ser-bombeiro .antes-aconteca {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  section.ser-bombeiro .antes-aconteca {
    grid-template-columns: repeat(2, 1fr);
  }

  section.ser-bombeiro .fases-emergencia {
    flex-direction: column;
  }

  section.ser-bombeiro .fases-emergencia .seta {
    display: none;
  }

  section.ser-bombeiro .fases-emergencia > .fase {
    width: calc(100% - 84px);
    justify-content: left;
  }

  section.ser-bombeiro .galeria-emergencia {
    column-count: 2;
    padding: 16px;
  }
}

@media (max-width: 700px) {
  section.ser-bombeiro .antes-aconteca {
    grid-template-columns: repeat(1, 1fr);
  }
}

section.ser-bombeiro .especialidades h3.titulo.passos {
  color: var(--color-title);
}

section.ser-bombeiro .especialidades h3.titulo.passos span {
  color: var(--bg-light);
  background: var(--color-primary);
  border: 0;
}

/** TABS
****************************************************************/
section.ser-bombeiro,
section.ser-bombeiro .especialidades > .wrap {
  overflow: visible;
}

.tabs-container {
  display: grid;
  grid-template-columns: 400px auto;
  gap: 78px;
  margin: 76px 0 48px;
}

.tabs-filters {
  position: sticky;
  top: 120px;
  display: flex;
  height: fit-content;
  flex-direction: column;
  gap: 16px;
}

.tabs-filters a {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s;
}

.tabs-filters a span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 32px;
  background: var(--bg-dark);
  border: 1px solid #fff;
}

.tabs-filters a span img {
  width: 16px;
  height: 16px;
}

.tabs-filters a.ativo {
  background: var(--color-primary);
  color: #fff;
}

.tabs-filters a.ativo span {
  background: var(--color-primary);
  border: 1px solid #fff;
}

.tabs-filters a:hover {
  padding-left: 32px;
  background: #ebe7e2;
  color: var(--color-title);
}

.tabs-contents {
  position: relative;
}

.tabs-contents .tab-content {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.tabs-contents .tab-content.ativo {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0.4s;
}

.tabs-contents .tab-content h2.titulo {
  margin-top: 0;
  font-size: 2rem;
}

.tabs-contents .tab-content ul.gallery-fotos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: center;
  gap: 8px;
  margin-top: 36px;
}

.tabs-contents .tab-content ul.gallery-fotos li {
  position: relative;
  height: 140px;
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s;
}

.tabs-contents .tab-content ul.gallery-fotos li:hover {
  transform: scale(2);
  box-shadow: 0px 0px 42px rgba(0, 0, 0, 0.1);
  z-index: 99;
}

.tabs-contents .tab-content ul.gallery-fotos li img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 992px) {
  section.ser-bombeiro {
    padding: 16px 0 0;
  }

  .tabs-container {
    grid-template-columns: auto;
    gap: 36px;
    margin: 16px 0;
  }

  .tabs-filters {
    position: relative;
    top: 0;
  }

  .tabs-filters a {
    background: #ebe7e2;
  }
}

/* TÉCNICA
****************************************************************/
section.tecnica {
  border: 0;
  height: auto;
  padding-bottom: 0;
}

section.tecnica,
section.tecnica .treinamentos > .wrap {
  overflow: visible;
}

section.tecnica .tabs-container {
  margin: 36px 0 0;
}

section.tecnica .tabs-filters {
  position: sticky;
}

section.tecnica .tabs-contents .tab-content ul.gallery-fotos {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 0;
}

section.tecnica .tabs-contents .tab-content ul.gallery-fotos li {
  position: relative;
  overflow: hidden;
  height: 300px;
  border-radius: 8px;
  background: var(--bg-dark);
}

section.tecnica .tabs-contents .tab-content ul.gallery-fotos li:hover {
  /* height: 450px; */
  /* width: auto; */
  scale: 1.5;
  z-index: 9999;
}

section.tecnica .tabs-contents .tab-content ul.gallery-fotos li::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 9;

  background-image: linear-gradient(to bottom, transparent, #000);
}

section.tecnica .tabs-contents .tab-content ul.gallery-fotos li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 1s;
}

section.tecnica .tabs-contents .tab-content ul.gallery-fotos li:hover img {
  width: 110%;
  height: 110%;
}

section.tecnica .tabs-contents .tab-content ul.gallery-fotos li p {
  position: absolute;
  bottom: 0;
  padding: 24px;
  z-index: 99;
  color: #fff;
}

section.tecnica .tabs-contents .tab-content ul.gallery-fotos li:hover {
  transform: none;
}

/* SCROLL
****************************************************************/
.scroll {
  position: relative;
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
}

.scroll .scroll-container {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
  animation: scrollInfinit 40s linear infinite;
}

.scroll .scroll-container:hover {
  animation-play-state: paused;
}

.scroll .scroll-item {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

/** GALERIA COMPLEMENTAR
****************************************************************/
.galeria-complementar {
  position: relative;
  padding: 36px 0;
  margin-top: 36px;
  min-height: 200px;
  background: #202226;
}

.galeria-complementar::before {
  content: '';
  position: absolute;
  top: 0;
  z-index: 99;
  width: 100%;
  height: 16px;

  background-image: linear-gradient(
    to right,
    var(--bg-light) 50%,
    rgba(255, 255, 255, 0) 0%
  );
  background-position: bottom;
  background-size: 16px 8px;
  background-repeat: repeat-x;
}

.galeria-complementar::after {
  content: '';
  position: absolute;
  bottom: 16px;
  z-index: 99;
  width: 100%;
  height: 16px;

  background-image: linear-gradient(
    to right,
    var(--bg-light) 50%,
    rgba(255, 255, 255, 0) 0%
  );
  background-position: bottom;
  background-size: 16px 8px;
  background-repeat: repeat-x;
}

.galeria-complementar .box-complementar {
  width: 350px;
  height: auto;
  background: var(--bg-light);
  overflow: hidden;
  border-radius: 4px;
}

.galeria-complementar .box-complementar .foto-complementar {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.galeria-complementar .box-complementar .foto-complementar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 1s;
}

.galeria-complementar .box-complementar .foto-complementar:hover img {
  width: 110%;
  height: 110%;
}

.galeria-complementar .box-complementar p {
  margin: 1rem;
  text-wrap: wrap;
  height: 72px;
}

.galeria-complementar .box-complementar p span.real {
  color: var(--color-secundary);
}

.galeria-complementar .box-complementar p span.atual {
  color: var(--color-primary);
}

/** DEPOIMENTOS VÍDEOS
****************************************************************/
section.depoimentos {
  height: auto;
  min-height: auto;
}

.depoimentos-videos {
  padding: 24px;
}

.wrapp-depoimentos {
  overflow: hidden;
}

.depoimentos-container {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scrollInfinito 30s linear infinite;
}

.depoimentos-container:hover {
  animation-play-state: paused;
}

.video-depoimento .video {
  padding: 20px 0;
  text-align: center;
}

.video-depoimento .video .box-video {
  position: relative;
  background:
    url('../images/dot-w.png') left 0 no-repeat,
    url('../images/dot-w.png') right bottom no-repeat;

  background-size: 200px auto;
  width: 560px;
  height: 322px;
  padding: 26px;
  margin: auto;
}

.video-depoimento .video .box-video > div {
  display: flex;
}

.video-depoimento .box-video img.capa {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  cursor: pointer;
  transition: all 1.2s;
}

.video-depoimento .box-video:hover img.capa {
  height: 105%;
  width: 105%;
}

.video-depoimento .box-video img.play {
  position: absolute;
  top: calc(50% - 40px);
  left: calc(50% - 40px);
  opacity: 0.8;
  height: 80px;
  width: 80px;
}

.video-depoimento .video .box-video > div {
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  border: 1px solid hsl(0 0% 83%);
  box-shadow: 0 1rem 2rem hsl(0 0% 0% / 20%);

  background: linear-gradient(rgb(28, 28, 28) 0%, rgb(11, 11, 11) 100%);
}

.video-depoimento .identificacao {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 530px;
  margin: auto;
  text-align: left;
}

@media (max-width: 992px) {
  .video-depoimento .video .box-video {
    padding: 20px 0;
  }
}

@keyframes scrollInfinit {
  to {
    transform: translateX(-50%);
  }
}

@keyframes scrollInfinito {
  to {
    translate: calc(-50% - 5px);
  }
}

/** ENCERRAMENTO 
****************************************************************/
section.encerramento {
  background: var(--bg-dark);
  border-bottom: 0;
  padding-bottom: 0;
  overflow: hidden;
  min-height: auto;
}

section .wrap {
  overflow: hidden;
}

section.encerramento h2.titulo {
  max-width: 1100px;
  margin-inline: auto;
  font-size: 2rem;
  text-align: center;
  color: var(--bg-light);

  background: -webkit-linear-gradient(45deg, var(--bg-light), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

section.encerramento .box-image {
  margin: 24px 0 48px;
  height: auto;
  overflow: hidden;
}

section.encerramento .box-image img {
  width: 100%;
}

section.encerramento .back-up {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 40px 0;
  margin-inline: auto;
  width: 150px;
  font-weight: 600;
  color: var(--color-fourth);
  cursor: pointer;
  transition: all 0.3s;
}

section.encerramento .back-up:hover {
  color: #fff;
}

section.encerramento .back-up img {
  height: 36px;
}

section.encerramento .creditos {
  padding: 48px 24px;
  border-top: 1px solid #938c8360;
  overflow: hidden;
}

section.encerramento .creditos strong {
  color: var(--color-secundary);
  font-weight: 400;
}

section.encerramento .ficha-tecnica {
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 48px;
  margin: 36px 0;
  display: grid;
  overflow: hidden;
}

section.encerramento .ficha-tecnica div {
  color: var(--color-fourth);
  font-weight: normal;
  font-size: 0.8rem;
}

section.encerramento .ficha-tecnica div strong {
  color: #fff;
  font-size: 1rem;
  width: 100%;
  display: block;
  margin-bottom: 8px;
}

section.encerramento .ficha-tecnica span {
  line-height: 1.1rem;
}

section.encerramento .copy-by {
  padding: 48px 0;
  border-top: 1px solid #938c8360;
  font-size: 0.9rem;
}

section.encerramento .copy-by .container {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-fourth);
  padding: 0;
}

@media (max-width: 992px) {
  section.encerramento .ficha-tecnica {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  section.encerramento .ficha-tecnica {
    grid-template-columns: 1fr;
  }
}
