@font-face {
  font-family: "PantonRustHeavy";
  src: url(/fonts/panton-rust-heavy-base.ttf) format("truetype");
}

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Maven Pro", sans-serif;
  background-size: 10rem;
}
html,
body {
  overflow-x: hidden; /* bloqueia rolagem lateral */
}
a {
  color: inherit;
  text-decoration: none;
}
header {
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(17, 17, 17, 0.3);
  align-items: center;
  backdrop-filter: blur(6px);
  border-radius: 45px;
  padding: 0 3vw;
  font-size: 0.9rem;
  z-index: 1;
}
.container-fluid {
  gap: 8vw;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.header-logo {
  width: 8vh;
}
.header-nav {
  display: flex;
  white-space: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.nav-link:hover {
  color: #ed3d1a;
}
.header-nav li a {
  color: white;
  font-weight: 500;
}

ul .active a {
  text-decoration: underline;
  text-decoration-color: #ed3d1a;
  text-underline-offset: 5px;
  font-weight: 600;
}

.btn-light {
  border-radius: 30px;
  padding: 0.6rem 2rem;
  font-size: 0.9rem;
  color: #4a4a4a;
  font-weight: 600;
}
main {
  position: relative;
}
body {
  background-color: #e7e7e7;
}
.background-header {
  width: 100%;
  height: 100vh;
  background-image: url("/images/imgheader.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}

.text-header {
  position: relative;
  text-align: center;
  color: #ffffff;
  top: 30vh;
  margin: 0 16vw;
  padding-top: 3rem;
}
.titulo-header {
  font-family: "PantonRustHeavy", sans-serif;
  font-size: 5rem;
}
.titulo-parag {
  font-size: 1rem;
}
.button-header {
  position: relative;
  text-align: center;
  top: 40vh;
  font-size: 1rem;
}
.button-projetos {
  background-color: #ed3d1a;
  color: #efefef;
  border-style: none;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 1);
  border-radius: 20px;
  padding: 0.6rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  position: relative; /* necessário para o ::before */
  overflow: hidden;
  transition: 0.5s;
}
.button-projetos::before {
  content: "";
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  background: url(/images/redcircle1.png);
  opacity: 0; /* escondido inicialmente */
  background-repeat: no-repeat;
}

.button-projetos:hover {
  background-color: #3f3f3f76;
  color: #efefef;
  border-width: 1px;
  border-color: rgba(189, 189, 189, 0.421);
  backdrop-filter: blur(3px);
  padding: 0.6rem 1.2rem 0.6rem 2.5rem;
}
.button-projetos:hover::before {
  animation: piscar 1s infinite;
}
@keyframes piscar {
  0%,
  50%,
  100% {
    opacity: 0;
  }
  25%,
  75% {
    opacity: 1;
  }
}

.content {
  background-color: #1b1919;
  position: relative;
  background-image: url(/images/background.png);
}
.content::before {
  content: "";
  position: absolute;
  top: 16vh;
  left: 0;
  width: 51%;
  height: 46%;
  background-color: #dddddd;
  z-index: 0;
}
.video-card2 {
  flex: 0 0 auto; /* impede de encolher */
  height: 60vh;
  scroll-snap-align: start;
  width: 20%; /* 5 vídeos lado a lado */
  padding-inline: 5px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  overflow-y: hidden;
  position: relative;
}
.video-card2:hover {
  transform: scale(1.03);
  z-index: 2;
}

.carousel:hover .video-card2:not(:hover) {
  filter: brightness(0.5);
  transition: 0.7s;
}
.video-card2 img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  border-radius: 6px;
  object-position: center; /* centraliza o enquadramento */
  display: block;
}
.video-card2 iframe {
  width: 100%;
  height: 60vh;
  border-radius: 6px;
  border: none;
  display: block;
}
.sobre {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 5vw;
  position: relative;
  z-index: 1;
}
.content1 {
  margin: 0 8vw 15rem 8vw;
}
.content2 {
  flex-direction: row-reverse;
  margin: 0 0vw 15rem 8vw;
}
.img1 {
  width: 40vw;
  height: 60vh;
  object-fit: cover;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}
.img2 {
  width: 57%;
  height: 100vh;
  object-fit: cover;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}
.text-content2 {
  width: 40%;
}
.titulo {
  font-family: "PantonRustHeavy", sans-serif;
  font-size: 2.5rem;
}
.parag {
  font-size: 1rem;
  margin-top: 6vh;
}
.white-titulo,
.white-parag {
  color: #dddddd;
}
.dark-titulo,
.dark-parag {
  color: #4a4a4a;
}

.videodestaque {
  width: 100%;
  text-align: center;
  position: relative;
  height: 100%;
}
.videodestaque iframe {
  height: 54vh;
  width: 60vw;
  position: relative;
  z-index: 2;
  display: block;
  margin: 0 auto;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}
.videodestaque::before {
  content: "";
  position: absolute;
  top: 12vh;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #e7e7e7;
  z-index: 0;
}

.legendavideo {
  background-color: #1b1919;
  width: 59%;
  height: 36vh;
  bottom: 0;
  position: absolute;
  right: 0; /* encosta na direita */
  text-align: right;
  z-index: 1; /* fica atrás do vídeo */
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* centraliza verticalmente o texto */
  padding: 4rem 8vw 2rem 2rem;
  top: 18rem;
}
.peq-p {
  margin: 0;
  font-size: 1rem;
  font-style: italic;
  font-weight: 100;
}
.peq-t {
  font-size: 2.2rem;
}
.clients {
  background-color: #e7e7e7;
  margin: 18rem 8vw 10rem 8vw;
}
.carousel-track iframe {
  flex: 0 0 auto; /* impede de encolher */
  height: 60vh;
  scroll-snap-align: start;
}
.carousel-track {
  display: flex;
  flex-direction: row;
  overflow-x: auto; /* ativa o scroll horizontal */
  scroll-snap-type: x mandatory; /* deslize suave */
  transition: 4s;
  scrollbar-width: none; /* Firefox */
}
.carousel-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.carousel-track:hover .video-card1 {
  filter: brightness(0.3);
  transition: opacity 0.3s;
}

.carousel-track .video-card1:hover {
  filter: brightness(1);
  transform: scale(1.05);
  z-index: 2;
  transition: 0.5s;
}
.video-card1 {
  transition: 0.5s;
}
.clients-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2vh;
}
.setas {
  display: flex;
  gap: 0.5rem;
}
.setas svg {
  color: rgb(40, 39, 39);
  cursor: pointer;
  display: none;
}

.setas svg:hover {
  color: #ed3d1a;
}

footer {
  background-color: black;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 2rem 19vw;
  align-items: center;
}
.navbar-toggler-icon {
  background-image: url(/images/download\ 1.svg);
}
.navbar-toggler {
  border: none;
}
.navbar-toggler:focus {
  box-shadow: none;
}

.bi-telephone-fill {
  color: #ed3d1a;
}
.bi-envelope-fill {
  color: #ed3d1a;
}

.footer-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
}
.footer-text {
  font-size: 0.8rem;
  margin: 0;
  text-align: center;
  color: white;
}
.footer-end {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-middle-icon a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px; /* tamanho fixo para deixar quadrado */
  height: 40px;
  border: 2px solid white;
  border-radius: 2px; /* cantos arredondados */
  transition: transform 0.2s ease, background 0.2s ease;
}
.footer-middle-icon {
  display: flex;
  flex-direction: row;
  justify-content: center; /* centraliza os <a> no container */
  gap: 1rem; /* espaço entre os ícones */
  margin-top: 0.5rem;
}
.footer-middle-icon a:hover {
  transform: scale(1.1); /* efeito ao passar o mouse */
  background: rgba(255, 255, 255, 0.1);
}

.footer-middle-icon img {
  width: 80%; /* controla o tamanho do ícone dentro do link */
  height: auto;
}

@media (min-height: 1000px) {
  .legendavideo {
    height: 41vh;
  }
}
@media (min-height: 1100px) {
  .legendavideo {
    height: 44vh;
  }
}

@media (max-width: 992px) {
  header {
    width: 70%;
  }
}
@media (max-width: 867px) {
  .content::before {
    height: 55%;
  }
}

@media (max-width: 700px) {
  .content1,
  .content2 {
    flex-direction: column;
    margin-bottom: 12rem;
  }
  .video-card2 {
    flex: 0 0 100%; /* impede de encolher */
    height: 55vh;
    scroll-snap-align: start;
    width: 20%; /* 5 vídeos lado a lado */
    padding-inline: 5px;
    transition: transform 0.3s ease;
  }

  .content2 {
    justify-content: right;
    position: relative;
    right: 0;
  }
  .content::before {
    top: 10vh;
    width: 20vw;
    height: 53rem;
  }
  .content2::before {
    content: "";
    float: right;
    width: 100%;
    height: 36rem;
    top: 19vh;
    background-color: #dddddd;
    position: absolute;
    z-index: -1;
    right: -4rem;
  }

  .img1,
  .img2 {
    width: 100%;
    height: 30vh;
  }
  .responsive-titulo1 {
    margin-left: 17vw;
    margin-top: 1rem;
    font-size: 1.9rem;
  }
  .responsive-titulo2 {
    font-size: 1.9rem;
    margin-top: 1rem;
  }
  .responsive-parag1 {
    margin-left: 17vw;
    margin-top: 2vh;
    font-size: 0.9rem;
  }
  .responsive-parag2 {
    margin-top: 2vh;
    font-size: 0.9rem;
  }

  .text-content2 {
    text-align: right;
    width: 100%;
    padding-left: 6rem;
    padding-right: 8vw;
  }
  .titulo-header {
    font-size: 3.8rem;
  }
  .titulo-parag {
    font-size: 0.8rem;
  }
  .videodestaque iframe {
    height: 34vh;
    width: 80%;
    margin-top: 13rem;
  }
  .legendavideo {
    width: 75%;
    height: 31vh;
    top: 12rem;
  }
  .peq-p {
    font-size: 0.8rem;
  }
  .peq-t {
    font-size: 1.8rem;
  }
}
@media (max-width: 800px) {
  .carousel-track iframe {
    width: 25%; /* 4 vídeos ocupando 100% */
    height: 34vh;
  }
  .setas svg {
    display: inherit;
  }
}

/* Até 600px → cabem 3 vídeos */
@media (max-width: 600px) {
  .carousel-track iframe {
    width: 33.33%; /* 3 vídeos ocupando 100% */
  }
  .nosacompanhe {
    display: none;
  }
  .footer-middle-icon {
    margin-top: 0;
    gap: 0.3rem;
  }
  .footer-middle-icon a {
    width: 30px;
    height: 30px;
  }
  .footer-text {
    font-size: 0.7rem;
  }
  footer {
    padding-inline: 8vw;
  }
  .clients-titulo {
    font-size: 1.9rem;
  }
}
@media (max-width: 500px) {
  .carousel-track iframe {
    width: 100%; /* 2 vídeos ocupando 100% */
    height: 100%;
  }
  .clients-top {
    gap: 1rem;
  }
  .setas {
    display: flex;
    gap: 1rem;
  }
  .clients-titulo {
    font-size: 1.4rem;
  }
  .clients {
    margin-bottom: 5rem;
  }
  .text-header {
    padding-top: 0;
  }
}
