* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}
.overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5); /* sobreposição semi-transparente preta */
  z-index: 1; /* Garante que a sobreposição fique entre o vídeo e o conteúdo do cabeçalho */
}
html {
  scroll-behavior: smooth;  /* Adiciona rolagem suave para todo o documento */
}

:root {
    --color-primary: #6c63ff;
    --color-success: #00bf8e;
    --color-warning: #f7c94b;
    --color-danger: #f75842;
    --color-danger-variant: rgba(247, 88, 66, 0.4);
    --color-white: #fff;
    --color-light: rgba(255, 255, 255, 0.7);
    --color-black: #000;
    --color-bg: #1f2641;
    --color-bg1: #2e3267;
    --color-bg2: #424890;
   
    --container-width-lg: 80%;
    --container-width-md: 90%;
    --container-width-sm: 94%;
   
    --transition: all 400ms ease;
  }

  @font-face {
    font-family: 'Jaapokki';
    src: url('fonts/Jaapokki-Regular.otf') format('opentype');
  }
  
  body {
    font-family: 'Jaapokki', sans-serif;
    line-height: 1.7;
    color: var(--color-white);
    background:	#101010;
  }
  
  .container {
    width: var(--container-width-lg);
    margin: 0 auto;
  }

  section {
    padding: 6rem 0;
  }

  section h2 {
     text-align: center;
    margin-bottom: 4rem;
  }


  h1, h2, h3, h4, h5 {
    line-height: 1.2;
  }

  h1 {
    font-size: 2.4rem;
  }
  h2{
    font-size: 2rem;
  }
  h3 {
    font-size: 1.6rem;
  }
  h4 {
    font-size: 1.3rem;
  }
  
  a{
    color: var(--color-white);
  }

  img {
    width: 100%;
    display: block;
    object-fit: cover;
  }

  .btn {
    display: inline-block;
    background: var(--color-white);
    color: var(--color-black);
    padding: 1rem 2rem;
    border: 1px solid transparent;
    font-weight: 500;
    transition: var(--transition);
  }
  
  .btn:hover {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
  }
  
  .btn-primary {
    background: var(--color-danger);
    color: var(--color-white);
  }

 /*--- navbar ------ */

 nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5rem;
  background: black;
  transition: background-color 0.3s; /* Suaviza a transição de fundo */
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}


 .nav__container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
 }

 nav button {
    display: none;
 }

 .nav__menu{
    display: flex;
    align-items: center;
    gap: 4rem;
 }


 .nav__menu a {
    font-size: 0.9rem;
    transition: all 400ms ease;
    color: white; 
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
 }

 .nav__menu a:hover {
    color: #90EE90;
 }
  

 header {
  position: relative;
  height: 70%; /* Ajuste a altura conforme necessário */
  z-index: 2; /* Mantém o header visível sobre o vídeo */
}

.header-container {
  position: relative;
  overflow: hidden;
  height: 100vh; /* Ajustando para ocupar toda a altura da tela */
  z-index: 1000;
}

 .header__container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 5rem;
    height: 100%;
    position: relative;
    z-index: 2;
 }

.header__left {
  display: flex; /* Alteramos para flexbox */
  justify-content: center; /* Isso centraliza horizontalmente */
  align-items: center; /* Isso centraliza verticalmente */
  height: 100%; /* Adicionamos uma altura para que o alinhamento funcione corretamente */
}

nav, header {
  position: relative;
  z-index: 2; /* Garante que a nav e o header fiquem visíveis sobre o vídeo */
}
.header-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(128, 128, 128, 0.01) 0%, 	#101010 70%);
  z-index: 1; 
}

#headerVideo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70%; /* Garantindo que o vídeo cubra totalmente o header-container */
  object-fit: cover;
  z-index: -1;
}

/* HEADER */

.sobreposicao-texto {
    position: absolute;  /* Posicionamento fixo em relação ao viewport */
    top: 40%;  /* Posiciona no meio vertical da tela */
    left: 2%;  /* Margem esquerda para não colar totalmente na borda */
    transform: translateY(-50%); /* Centraliza verticalmente o elemento */
    color: #FFFFFF;  /* Cor do texto */
    font-size: 3.5rem;  /* Tamanho do texto */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);  /* Sombra para melhorar a legibilidade contra fundos claros e escuros */
    z-index: 1000;  /* Assegura que o texto fique sobre os vídeos e imagens */
    padding: 10px 20px;  /* Espaçamento interno para formatação do texto */
  }

  .textoSobre {
    margin-left: 90px;
    margin-top: 40px;
  }


  /* SOBRE */ 

 /* Adiciona animação de fade-in */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estilos para a seção */
.titulo {
    font-size: 3.5rem;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    text-align: left;
    padding-left: 900px;
    margin-top: -180px;
    transition: opacity 1s ease, transform 1s ease;
    opacity: 1;
    transform: translateY(0);
}

.titulo::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 4px;
    background: linear-gradient(to right, #00bf8e 0%, #f7c94b 50%, #6c63ff 100%);
    z-index: -1;
}

.section.what-we-do {
    position: relative;
    overflow: hidden;
    padding-top: 170px;
}

.AboutInfos {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.aboutFotos {
    width: 40%;
    height: auto;
    margin-left: 20px;
    animation: fadeIn 1s ease-in-out;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    margin-left: 40px;
}

.cardd {
    background: #00a7b5;
    border-radius: 15px;
    width: 30%;
    margin: 10px;
    padding: 20px;
    color: #fff;
    transition: transform 0.3s ease, filter 0.3s ease;
    animation: fadeIn 1s ease-in-out;
}

.cardd:hover {
    transform: scale(1.05);
    z-index: 1;
}

/* Aplica o efeito de blur aos outros cards */
.card-container:hover .cardd:not(:hover) {
    filter: blur(2px);
}

.descricao, .missao, .visao {
    font-size: 1.2rem;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

.descricao {
    animation-delay: 0.5s;
}

.missao {
    animation-delay: 1s;
}

.visao {
    animation-delay: 1.5s;
}

  

/* ========== Nossos Valores ======= */


.parent {
  width: 290px;
  height: 300px;
  perspective: 1000px;
}

.card {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(135deg, #003236 0%, #00a7b5 100%);
  transition: all 0.5s ease-in-out;
  transform-style: preserve-3d;
  box-shadow: rgba(5, 71, 17, 0) 40px 50px 25px -40px, rgba(5, 71, 17, 0.2) 0px 25px 25px -5px;
}

.glass {
  transform-style: preserve-3d;
  position: absolute;
  inset: 8px;
  border-radius: 55px;
  border-top-right-radius: 100%;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.349) 0%, rgba(255, 255, 255, 0.815) 100%);
  transform: translate3d(0px, 0px, 25px);
  border-left: 1px solid white;
  border-bottom: 1px solid white;
  transition: all 0.5s ease-in-out;
}

.content {
  padding: 100px 60px 0px 30px;
  transform: translate3d(0, 0, 26px);
}

.content .title {
  display: block;
  color: #00894d;
  font-weight: 900;
  font-size: 20px;
}

.content .text {
  display: block;
  color: rgba(0, 137, 78, 0.7647058824);
  font-size: 15px;
  margin-top: 20px;
}

.bottom {
  padding: 10px 12px;
  transform-style: preserve-3d;
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translate3d(0, 0, 26px);
}

.bottom .view-more {
  display: flex;
  align-items: center;
  width: 40%;
  justify-content: flex-end;
  transition: all 0.2s ease-in-out;
}

.bottom .view-more:hover {
  transform: translate3d(0, 0, 10px);
}

.bottom .view-more .view-more-button {
  background: none;
  border: none;
  color: #00c37b;
  font-weight: bolder;
  font-size: 12px;
}

.bottom .view-more .svg {
  fill: none;
  stroke: #00c37b;
  stroke-width: 3px;
  max-height: 15px;
}

.bottom .social-buttons-container {
  display: flex;
  gap: 10px;
  transform-style: preserve-3d;
}

.bottom .social-buttons-container .social-button {
  width: 30px;
  aspect-ratio: 1;
  padding: 5px;
  background: rgb(255, 255, 255);
  border-radius: 50%;
  border: none;
  display: grid;
  place-content: center;
  box-shadow: rgba(5, 71, 17, 0.5) 0px 7px 5px -5px;
}

.bottom .social-buttons-container .social-button:first-child {
  transition: transform 0.2s ease-in-out 0.4s, box-shadow 0.2s ease-in-out 0.4s;
}

.bottom .social-buttons-container .social-button:nth-child(2) {
  transition: transform 0.2s ease-in-out 0.6s, box-shadow 0.2s ease-in-out 0.6s;
}

.bottom .social-buttons-container .social-button:nth-child(3) {
  transition: transform 0.2s ease-in-out 0.8s, box-shadow 0.2s ease-in-out 0.8s;
}

.bottom .social-buttons-container .social-button .svg {
  width: 15px;
  fill: #00894d;
}

.bottom .social-buttons-container .social-button:hover {
  background: black;
}

.bottom .social-buttons-container .social-button:hover .svg {
  fill: white;
}

.bottom .social-buttons-container .social-button:active {
  background: rgb(255, 234, 0);
}

.bottom .social-buttons-container .social-button:active .svg {
  fill: black;
}

.logo {
  position: absolute;
  right: 0;
  top: 0;
  transform-style: preserve-3d;
}

.logo .circle {
  display: block;
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  top: 0;
  right: 0;
  box-shadow: rgba(100, 100, 111, 0.2) -10px 10px 20px 0px;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  background: rgba(0, 249, 203, 0.2);
  transition: all 0.5s ease-in-out;
}

.logo .circle1 {
  width: 170px;
  transform: translate3d(0, 0, 20px);
  top: 8px;
  right: 8px;
}

.logo .circle2 {
  width: 140px;
  transform: translate3d(0, 0, 40px);
  top: 10px;
  right: 10px;
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
  transition-delay: 0.4s;
}

.logo .circle3 {
  width: 110px;
  transform: translate3d(0, 0, 60px);
  top: 17px;
  right: 17px;
  transition-delay: 0.8s;
}

.logo .circle4 {
  width: 80px;
  transform: translate3d(0, 0, 80px);
  top: 23px;
  right: 23px;
  transition-delay: 1.2s;
}

.logo .circle5 {
  width: 50px;
  transform: translate3d(0, 0, 100px);
  top: 30px;
  right: 30px;
  display: grid;
  place-content: center;
  transition-delay: 1.6s;
}

.logo .circle5 .svg {
  width: 20px;
  fill: white;
}

.parent:hover .card {
  transform: rotate3d(1, 1, 0, 30deg);
  box-shadow: rgba(5, 71, 17, 0.3) 30px 50px 25px -40px, rgba(5, 71, 17, 0.1) 0px 25px 30px 0px;
}

.parent:hover .card .bottom .social-buttons-container .social-button {
  transform: translate3d(0, 0, 50px);
  box-shadow: rgba(5, 71, 17, 0.2) -5px 20px 10px 0px;
}

.parent:hover .card .logo .circle2 {
  transform: translate3d(0, 0, 60px);
}

.parent:hover .card .logo .circle3 {
  transform: translate3d(0, 0, 80px);
}

.parent:hover .card .logo .circle4 {
  transform: translate3d(0, 0, 100px);
}

.parent:hover .card .logo .circle5 {
  transform: translate3d(0, 0, 120px);
}

/* Layout dos Cards */
.valoresInfos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
}

/* ========== Nossos Valores ======= */

/* Rodapé */
.site-footer {
  text-align: center;
  padding: 20px 10px;
  background-color: black;
  color: #fff;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}


/* Outros estilos existentes... */

/* Estilos para a seção Nossa Liderança */
.nossa-lideranca {
  text-align: center;
  background: #003236;
  padding: 4rem 0;
}

.lideranca-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.lideranca-card {
  background: #00a7b5;
  border-radius: 10px;
  padding: 1rem;
  width: 250px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.lideranca-card:hover {
  transform: scale(1.05);
}

.lideranca-foto {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.lideranca-nome {
  font-size: 1.2rem;
  font-weight: bold;
  color: #003236;
}

.lideranca-cargo {
  font-size: 1rem;
  color: #003236;
}

/* Estilos para telas menores */
@media (max-width: 768px) {
  .container {
    width: var(--container-width-md);
  }

  .nav__menu {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: black;
    position: absolute;
    top: 5rem;
    left: 0;
  }

  .nav__menu a {
    margin: 1rem 0;
  }

  .menu-btn {
    display: block;
  }

  .nav__container {
    justify-content: space-between;
  }

  .language-switcher {
    display: none;
  }

  #close-menu-btn {
    display: none;
  }

  .nav__menu.active {
    display: flex;
  }

  #open-menu-btn.active {
    display: none;
  }

  #close-menu-btn.active {
    display: block;
  }

  .header__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sobreposicao-texto {
    font-size: 2.5rem;
    left: 5%;
  }

  .textoSobre {
    margin-left: 0;
    margin-top: 20px;
  }

  .titulo {
    font-size: 2.5rem;
    padding-left: 0;
    margin-top: 0;
  }

  .AboutInfos {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .aboutFotos {
    width: 80%;
    margin-left: 0;
  }

  .card-container {
    margin-left: 0;
    width: 100%;
  }

  .cardd {
    width: 80%;
    margin: 20px 0;
  }

  .valoresInfos {
    grid-template-columns: 1fr;
  }

  .lideranca-container {
    flex-direction: column;
    align-items: center;
  }

  .lideranca-card {
    width: 80%;
  }

  /* Ajuste de margem para aproximar a seção what-we-do em telas menores */
  .section.what-we-do {
    margin-top: -2rem; /* Ajuste este valor conforme necessário */
  }
}

/* Estilos para telas muito pequenas */
@media (max-width: 480px) {
  .sobreposicao-texto{
    margin-top: 10rem;
  }
  .container {
    width: var(--container-width-sm);
  }

  .nav__menu {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: black;
    position: absolute;
    top: 5rem;
    left: 0;
  }

  .nav__menu a {
    margin: 1rem 0;
  }

  .menu-btn {
    display: block;
  }

  .nav__container {
    justify-content: space-between;
  }

  .language-switcher {
    display: block;
    margin-right: 1.5rem;
  }

  #close-menu-btn {
    display: none;
  }

  .nav__menu.active {
    display: flex;
  }

  #open-menu-btn.active {
    display: none;
  }

  #close-menu-btn.active {
    display: block;
  }

  .titulo {
    font-size: 2rem;
  }

  .titulo::after {
    top: 55%;
  }

  .AboutInfos {
    padding: 2rem 0;
  }

  .cardd {
    width: 100%;
    margin: 10px 0;
  }

  .lideranca-card {
    width: 100%;
  }

  /* Ajuste de margem para aproximar a seção what-we-do em telas muito pequenas */
  .section.what-we-do {
    margin-top: -10rem; /* Ajuste este valor conforme necessário */
  }
}