﻿:root {
  --color-primary: #254e35;
  --color-secundary: #a33234;
  --color-gold: #c7973e;

  --color-third: #35425a;
  --color-fourth: #938c83;

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

  /* --light: #e8edf2; */
  --light: #d8cfbd;
  --dark: #373435;
}

html,
body {
  background: var(--light);
  scroll-behavior: smooth;
}

/** HEADER
****************************************************************/
.header-efect {
  background: var(--light);
}

header nav img.logo {
  width: auto;
  height: 60px;
  display: block;
}

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;
  }

  header nav .mobile-menu.mobile-menu-home {
    display: none;
  }
}

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

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

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

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

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

.banner .titulos h1 {
  position: relative;
  color: var(--color-primary);

  font-weight: 800;
  font-size: 4rem;
  line-height: 5rem;
}

.banner .titulos h1 span {
  color: var(--color-secundary);
  font-size: 5rem;
}

.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;
  }
}

/** INSTITUCIONAL 
****************************************************************/
.institucional {
  padding-block: 48px;
  background: var(--color-primary);
}

.institucional .wrapp-institucional {
  /* display: grid;
  grid-template-columns: 50% auto;
  justify-content: space-between;
  gap: 60px; */
}

.institucional p {
  color: var(--light);
}

.institucional div.texto {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;

  border-bottom: 1px solid #d8cfbd40;
}

.institucional div {
  overflow: hidden;
}

.institucional .chamada {
  border-left: 3px solid var(--color-gold);
  padding-left: 36px;
  overflow: hidden;
}

@media (max-width: 992px) {
  .institucional div.texto {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/** HISTORIA
****************************************************************/
section.historia {
  height: auto;
  min-height: auto;

  background: linear-gradient(to bottom, #fff, var(--light));
  padding: 60px 0 48px;
}

/* section.historia .wrap {
  margin-inline: auto;
} */

section.historia .box-conteudo {
  display: grid;
  align-items: center;
  justify-content: center;
  grid-template-columns: 1fr 1fr;
  gap: 82px;
  max-width: 1000px;
  margin-inline: auto;
}

section.historia .box-conteudo > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

section.historia .box-conteudo > div p {
  /* font-weight: normal; */
}

section.historia .box-conteudo > div img {
  max-width: 100%;
  max-height: 400px;
  width: max-content;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(42, 38, 34, 0.1);
}

section.historia .galeria-presidentes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
  margin: 36px auto;
}

section.historia .box-presidente {
  background: #fff;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(42, 38, 34, 0.1);
}

section.historia .box-presidente img {
  width: 100%;
  border-radius: 4px;
}

section.historia .box-presidente .info-presidente {
  display: flex;
  flex-direction: column;
}

section.historia .box-presidente .info-presidente small {
  margin-top: 8px;
}

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

  section.historia .galeria-presidentes {
    grid-template-columns: repeat(2, 1fr);
    padding-inline: 16px;
  }
}

@media (max-width: 600px) {
  section.historia .galeria-presidentes {
    grid-template-columns: 1fr;
  }
}

/** ATUAÇÃO
****************************************************************/
section.atuacao {
  height: auto;
  min-height: auto;
  padding: 0 0 48px;
}

section.atuacao .wrap {
  margin-inline: auto;
}

section.atuacao .box-conteudo {
  display: grid;
  align-items: center;
  justify-content: center;
  grid-template-columns: 1fr 1fr;
  gap: 82px;
  max-width: 1000px;
  margin-inline: auto;
}

section.atuacao .box-conteudo > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

section.atuacao .box-conteudo > div img {
  max-width: 100%;
  max-height: 400px;
  width: max-content;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(42, 38, 34, 0.1);
}

section.atuacao .box-conteudo p.depoimento-curto {
  padding-left: 16px;
  border-left: 3px solid var(--color-gold);
  color: #000;
}

section.atuacao .chamada-pagina {
  background: var(--color-primary);
  padding: 36px 16px;
  margin-top: 48px;
  text-align: center;
}

section.atuacao .chamada-pagina h3 {
  color: #fff;
}

section.atuacao .box-atuacao {
  margin: 48px 0;
}

section.atuacao .box-atuacao h2 {
  color: var(--color-secundary);
  margin-bottom: 0;
}

section.atuacao .box-atuacao p.depoimento {
  border-left: 3px solid var(--color-gold);
  margin-top: 48px;
  padding: 0 0 0 36px;
}

section.atuacao .box-atuacao.box-atuacao-right p.depoimento {
  margin-top: 48px;
  padding: 0 36px 0 0;
  border-right: 3px solid var(--color-gold);
  border-left: 0;
}

section.atuacao .box-atuacao > div img {
  max-width: 100%;
  max-height: 500px;
  display: block;
  border-radius: 8px;
}

section.atuacao .box-atuacao-right > div img {
  margin-left: auto;
}

@media (max-width: 992px) {
  section.atuacao .box-atuacao > div img {
    margin: 0;
    max-height: fit-content;
  }
}

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

  background: linear-gradient(to bottom, #fff, var(--light));
  padding: 60px 0 48px;
}

.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 scrollInfinito {
  to {
    translate: calc(-50% - 5px);
  }
}

/** ENCERRAMENTO 
****************************************************************/
section.encerramento {
  background: var(--color-primary);
  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: 3rem;
  text-align: center;
  line-height: 4rem;
  margin-inline: auto;
  color: var(--bg-light);

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

section.encerramento h3.subtitulo {
  text-align: center;
  line-height: 2rem;
  color: var(--color-gold);
  max-width: 400px;
  margin-inline: auto;
  margin-bottom: 48px;
}

section.encerramento p {
  text-align: center;
  margin-inline: auto;
  color: var(--light);
}

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: #ffffff60;
  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 #ffffff60;
  overflow: hidden;
}

section.encerramento .creditos strong {
  color: var(--color-gold);
  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 {
  font-weight: normal;
  font-size: 0.8rem;
  color: var(--light);
}

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 #ffffff60;
  font-size: 0.9rem;
}

section.encerramento .copy-by .container {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  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;
  }
}
