:root {
  --primary: #002140 !important;
}

main {
  display: block;
}

.bg-primary {
  background-color: var(--primary) !important;
}

/* ================================
   HEADER
================================ */

.header-area-5 .header__logo img {
  max-width: 206px;
}

.header-area-5__inner {
  /* background: #ffffffd6; */
  padding: 0 20px;
  margin-top: 10px;
}

/* ================================
   HERO VIDEO FULLSCREEN
================================ */

.hero-area-5 {
  position: relative;
  min-height: 100vh;
}

/* vídeo ocupa a tela inteira */
.hero-area-5 .hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin-top: 0;
  border-radius: 0;
}

/* vídeo em si */
.hero-area-5 .hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

/* ================================
   MÁSCARA ESCURA NO VÍDEO
================================ */
.hero-area-5 .hero-video::after {
  content: "";
  position: absolute;
  inset: 0;

  /* intensidade da máscara */
  /* background: rgba(0, 0, 0, 0.45); */

  /* se quiser gradiente cinematográfico, use isso no lugar: */
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.733),
      rgba(0, 0, 0, 0.556));


  z-index: 1;
  pointer-events: none;
}

/* ================================
   CONTEÚDO ACIMA DO VÍDEO
================================ */
.hero-area-5 .section-content {
  position: relative;
  z-index: 2;
  top: 50%;
}

h1.hero-title {
  color: #fff;
}

.hero-area-5 .section-content .text-btn-wrapper {
  border-top: 1px solid rgb(255 255 255 / 42%);
}

/**/


.statement-area {
  padding: 140px 0;
  text-align: center;
}

.statement-text {
  font-size: clamp(20px, 5vw, 35px);
  line-height: 1.15;
  max-width: 1100px;
  margin: 0 auto;
}


.about-text {
  max-width: 720px;
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.85;
}


.works-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.works-images {
  position: relative;
  height: 500px;
  overflow: hidden;
}


.works-images {
  position: relative;
  height: 420px;
}

/* imagem base (maior) */
.works-images .work-box:first-child {
  position: absolute;
  width: 80%;
  top: 0;
  right: 0;
  z-index: 1;
}

/* imagem sobreposta */
.works-images .work-box:last-child {
  position: absolute;
  width: 45%;
  bottom: 60px;
  left: 0;
  z-index: 2;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* imagens responsivas */
.works-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-title-wrapper {
  width: 770px;
}


.cta-area-4 .section-header {
  margin-top: 0px;
}

/* Arredondamento correto para funcionar com GSAP */

.works-images .work-box {
  border-radius: 24px;
  overflow: hidden;
}

.works-images .work-inner {
  will-change: transform;
}

.works-images .thumb {
  border-radius: 24px;
  overflow: hidden;
}

.works-images .image {
  border-radius: 24px;
  overflow: hidden;
}

.works-images img {
  border-radius: 24px;
  display: block;
}

/* .actually-area{
  background-color: #002140;
} */

.actually-area .section-title {
  line-height: 1.2;
  /* ou 1.25 se precisar */
  padding-bottom: 10px;
}

.contact-area-contact-page .contact-formfield input,
.contact-area-contact-page .contact-formfield textarea {
  background-color: #ffffff;
  padding: 15px 15px;
  border-radius: 20px;
  min-height: 50px !important;
}

.contact-area-contact-page .contact-formfield textarea {
  padding: 10px 10px;
}

.contact-area-contact-page .submit-btn {
  margin-top: 28px;
}

.rr-btn {
  background-color: #768da6;
}

.contact-area-contact-page .contact-formwrap {
  display: grid;
  gap: 21px 60px;
  grid-template-columns: repeat(1, 1fr);
}

.copyright-area {
  border-top: 1px solid #768da6;
}

@media (max-width: 768px) {
  .works-layout {
    grid-template-columns: 1fr;
  }
}


@media only screen and (max-width: 1919px) {
  .hero-area-5 .section-title {
    font-size: 70px;
    max-width: 760px !important;
    line-height: 85px;
  }

  @media (max-width: 480px) {
    .hero-area-5 .section-title {
      font-size: 35px !important;
      max-width: 40% !important;
      line-height: 47px !important;
    }
    .hero-area-5 p{
      width: 40% !important;
    }
    img.title-video{
      height: 100vh;
    }
    .statement-text {
      font-size: clamp(20px, 5vw, 35px);
      line-height: 1.15;
      max-width: 40%;
      margin: inherit;
  }
  }
}