:root {
  --white: #ffffff;
  --black: #111111;
  --black-04: rgba(17, 17, 17, 0.4);
  --orange: #e45541;
  --light-grey: #e6e6e6;
  --dark-gray: #11111133;
  --green: #43e898;
  --red: #ff7583;

  /* Fontes */
  --onest: "Onest", sans-serif;

  /* Tamanho de fontes */
  --font-p: 14px;
  --font-m: 18px;
  --font-g: 14px;
  --font-x: 14px;

  /* Fontes (shorthand) */
  --title: 600 150px/192px var(--onest);
  --title-big: 500 70px/91px var(--onest);
  --title-max: 500 42px/63px var(--onest);
  --title-medium: 500 42px/55px var(--onest);
  --title-smaller: 500 24px/36px var(--onest);
  --body-max: 400 36px/49px var(--onest);
  --body: 400 24px/36px var(--onest);
  --body-min: 500 23px/35px var(--onest);
  --detail: 400 18px/27px var(--onest);
  --detail-min-medium: 500 14px/18px var(--onest);
  --detail-min-regular: 400 14px/21px var(--onest);
  --footer-links: 500 14px/21px var(--onest);

  /* Espaçamentos */
  --container-max: 1480px;
  --header-height: 88px;
  --margin-lateral: 65px;
  --section-padding-top: 40px;
  --section-padding-bottom: 40px;
  --item-space-p: 20px;
  --padding-project-details-page: 80px;

  --margin-p: 10px;
  --margin-m: 20px;
  --margin-g: 40px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  display: block;
}

html,
body {
  height: 100%;
  line-height: 1.5;
  font-family: var(--onest);
  font-size: var(--font-m);
  background-color: var(--white);
  color: var(--black);
  scroll-behavior: smooth;

  /* 🔒 impede o "rubber-band" do Safari/macOS */
  overscroll-behavior: none;
  -webkit-overflow-scrolling: touch;

  /* remove highlight azul em links e botões no iOS/macOS */
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html:has(body.page-template-page-home),
html:has(body.page-template-page-about) {
  scroll-snap-type: y mandatory;
}

html:has(body.page-template-page-home) footer,
html:has(body.page-template-page-about) footer {
  scroll-snap-align: end;
}

body.no-scroll {
  overflow: hidden;
}

a {
  text-decoration: none;
}

button {
  background-color: transparent;
  border: none;
  color: inherit;
  font: inherit;
  line-height: 1em;
  cursor: pointer;
}

html::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-track {
  background: var(--light-grey);
}

html::-webkit-scrollbar-thumb {
  background-color: var(--orange);
}

.custom-options::-webkit-scrollbar {
  width: 5px;
}

.custom-options::-webkit-scrollbar-track {
  background: var(--light-grey);
}

.custom-options::-webkit-scrollbar-thumb {
  background-color: var(--orange);
}

.text-orange {
  color: var(--orange);
}

.text-white {
  color: var(--white);
}

.text-white-04 {
  color: var(--white);
  opacity: 0.4;
}

.text-black {
  color: var(--black);
}

.text-black-04 {
  color: var(--black-04);
}

.font-weight-600 {
  font-weight: 600;
}

.domino {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--item-space-p);
  margin: 0 auto;
}

.domino.three {
  grid-template-columns: repeat(3, 1fr);
}

.domino.two {
  grid-template-columns: repeat(2, 1fr);
}

.domino.six {
  grid-template-columns: repeat(6, 1fr);
}

.domino.no-gap {
  gap: 0px;
}

.c1 {
  grid-column: span 1;
}

.c2 {
  grid-column: span 2;
}

.c3 {
  grid-column: span 3;
}

.c4 {
  grid-column: span 4;
}

.mobile-only {
  display: none;
}

.orange-button {
  background: radial-gradient(circle, var(--orange) 0%, var(--orange) 100%);
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
  font-size: var(--font-p);
  font-family: var(--onest);
  font-weight: 500;
  padding: 15px 45px;
  cursor: pointer;
}

.orange-button:hover {
  background: #ffa79c;
  background: radial-gradient(
    circle,
    rgba(255, 167, 156, 1) 0%,
    rgba(245, 130, 115, 1) 50%,
    rgba(228, 85, 65, 1) 100%
  );
}

.orange-button.disabled {
  background-color: var(--orange);
  opacity: 0.5;
  cursor: not-allowed;
}

.activeLoader {
  overflow: hidden;
}

.loader {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: var(--orange);
  transition: transform 1s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader figure {
  width: 10vw;
  height: 10vh;
}

.loader figure img {
  width: 100%;
  height: 100%;
}

.loader.hide {
  transform: translateY(-100%);
}

.container-max {
  max-width: var(--container-max);
  margin: 0 auto;
}

.gap-40 {
  display: flex;
  gap: 40px;
}

.gap-20 {
  display: flex;
  gap: 20px;
}

.margin-botton-10 {
  margin-bottom: 10px;
}

.margin-botton-20 {
  margin-bottom: 20px;
}

.section-full-page {
  min-height: 100vh;
}

.paragraph-body-max {
  font: var(--body-max);
}

.body-min {
  font: var(--body-min);
}

.title {
  font: var(--title);
}

.title-big {
  font: var(--title-big);
}

.title-max {
  font: var(--title-max);
}

.title-medium {
  font: var(--title-medium);
}

.title-smaller {
  font: var(--title-smaller);
}

.detail {
  font: var(--detail);
}

.detail-opacity-4 {
  font: var(--detail);
  opacity: 0.4;
}

.detail-min-regular {
  font: var(--detail-min-regular);
}

.margin-bottom-p {
  margin-bottom: var(--margin-p);
}

.margin-bottom-m {
  margin-bottom: var(--margin-m);
}

.margin-bottom-g {
  margin-bottom: var(--margin-g);
}

.link-details {
  font: var(--detail-min-medium);
  color: var(--orange);
  display: flex;
  gap: 5px;
  text-transform: uppercase;
}

.link-details > a {
  color: inherit;
  vertical-align: middle;
}

.link-details img {
  margin-left: 5px;
  vertical-align: middle;
  transition: all 0.3s ease;
}

.carousel-projects-card.link-card:hover .link-details img {
  transform: translateX(5px);
}

body:has(#wpadminbar) header:not(.floated) {
  top: 32px;
}

body:has(#wpadminbar) .header-desktop.floated.visible {
  top: 32px;
}

.header-desktop {
  position: fixed;
  top: 0px;
  z-index: 20;
  font-size: var(--font-p);
  font-family: var(--onest);
  font-weight: 500;
  width: 100%;
  padding: 20px 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

.header-mobile.floated,
.header-desktop.floated {
  position: fixed;
  top: -150px;
  left: 0;
  right: 0;
  z-index: 200;
  transition: top 0.4s ease, background 0.4s ease;
}

/* QUANDO ATIVO (ROLAGEM PARA CIMA) */
.header-mobile.floated.visible,
.header-desktop.floated.visible {
  top: 0;
}

.header-mobile,
.menu-mobile,
.text-projects-mobile {
  display: none;
}

.header-logo {
  margin: auto 0;
}

.header-logo > img {
  width: 142px;
  height: 35.55px;
}

.container-menu-desktop {
  display: flex;
  justify-content: center;
  align-items: center;
}

.container-menu-desktop div ul {
  display: flex;
  gap: 40px;
  justify-content: center;
}

.container-menu-desktop ul li a {
  color: var(--black);
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
}

.container-menu-desktop div.white-bg ul li a {
  color: var(--white);
}

.container-menu-desktop div ul .current_page_item > a,
.container-menu-desktop div ul .current-menu-item > a {
  color: var(--orange) !important;
}

.container-menu-desktop ul li a {
  transition: all 0.3s ease;
}

.container-menu-desktop ul li:hover a {
  color: var(--orange) !important;
}

.header-links a {
  color: inherit;
}

.container-links-mobile a.active,
.header-links a.active {
  color: var(--orange) !important;
}

.container-header-buttons {
  display: flex;
  justify-content: end;
  gap: 20px;
}

@property --orange1 {
  syntax: "<color>";
  inherits: false;
  initial-value: #e45541;
}

@property --orange2 {
  syntax: "<color>";
  inherits: false;
  initial-value: #e45541;
}

@property --orange3 {
  syntax: "<color>";
  inherits: false;
  initial-value: #e45541;
}

.header-button {
  background: radial-gradient(
    circle,
    var(--orange1) 0%,
    var(--orange2) 50%,
    var(--orange3) 100%
  );
  padding: 0 20px;
  color: white;
  border: none;
  line-height: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: --orange1 0.3s ease, --orange2 0.3s ease, --orange3 0.3s ease;
}

.header-button:hover {
  --orange1: rgba(255, 167, 156, 1);
  --orange2: rgba(245, 130, 115, 1);
  --orange3: rgba(228, 85, 65, 1);
}

.custom-select-header {
  position: relative;
  display: inline-block;
  font-family: var(--onest);
}

.select-button-header {
  background: #e6e6e6;
  color: var(--black);
  border: none;
  padding: 15px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-family: var(--onest);
  gap: 6px;
}

.select-button-header::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 7px;
  background-image: url("../assets/icones/dropdown-abrir.svg");
  background-size: cover;
  transition: transform 0.3s ease;
}

.options {
  position: absolute;
  background: #e6e6e6;
  top: 100%;
  right: 0;
  padding: 10px 20px;
  color: var(--black);
  list-style: none;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.options a {
  color: var(--black);
  font-family: var(--onest);
  cursor: pointer;
  transition: color 0.3s ease;
}

.options a:hover {
  color: var(--orange);
}

.custom-select-header.open .options {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.custom-select-header.open .select-button-header::after {
  background-image: url("../assets/icones/dropdown-fechar.svg");
}

.page-header-distance {
  min-height: 100vh;
  padding-top: var(--header-height);
}

/* Primeira seção home */

#firstSectionHome,
#secondSectionHome,
#thirdSectionHome,
#fourthSectionHome,
#fifthSectionHome,
#sixthSectionHome {
  scroll-snap-align: start;
}

section#firstSectionHome {
  position: relative;
  height: 100vh;
  color: white;
}

section#firstSectionHome > div,
.home-title {
  font-size: 80px;
  position: absolute;
  top: 45%;
  left: 0;
  right: 0;
  font-weight: 500;
}

section#firstSectionHome > div > h1 {
  font-size: 80px;
  font-weight: 500;
  line-height: 1.5em;
}

.first-section-home-rectangle {
  position: absolute;
  width: 100%;
  bottom: 0;
  align-items: end;
}

.first-section-home-rectangle > div:first-child {
  background-color: var(--white);
  border: 1px solid var(--white);
  height: 70px;
}

.first-section-home-rectangle > div:last-child {
  background-color: var(--white);
  border: 1px solid var(--white);
  height: 35px;
}

/* Segunda seção home */

section#secondSectionHome,
section#secondSectionAbout {
  place-items: center start;
}

.second-section-home-text,
.second-section-about-text {
  min-height: 50vh;
  border-left: 2px solid var(--orange);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 20px;
  padding: 0 0 0 80px;
}

.second-section-about-text a{
  color: var(--orange);
  transition: all 1s ease;
}
.second-section-about-text a:hover{
  text-decoration: underline;
}

.second-section-home-text > p {
  font: var(--body-max);
}

.second-section-home-text > p > em {
  color: var(--orange);
}

/* Terceira seção home */

#thirdSectionHome {
  position: relative;
  display: flex;
  gap: 40px;
}

body.step_two #thirdSectionHome {
  gap: 0px;
}

.highlight-arrow {
  position: absolute;
  top: 50%;
  transform: translateX(-50%);
  right: calc((100vw - var(--container-max)) / 2 * 1);
  z-index:10;
  cursor: pointer;
  transition: all 1s ease;
}

body.step_two .highlight-arrow {
  transform: translateX(-50%) rotate(180deg);
}

.gallery-photo-wrapper {
  width: 50%;
  height: 100vh;
  overflow: hidden;
  position: relative;
  transition: all 2s ease;
}

.gallery-photo-wrapper > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 2s ease;
}

@keyframes zoomIn {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.2);
  }
}

.gallery-photo-wrapper > img.zoom {
  animation: zoomIn 8s ease forwards;
}

.third-section-home-right-side {
  width: 50%;
  height: 100vh;
  transition: all 2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-right: calc((100vw - var(--container-max)) / 2 * 1);
}

.third-section-home-right-side > p {
  max-width: 700px;
  font: var(--body-max);
  padding-top: 100px;
}

.third-section-home-right-side > p > em {
  color: var(--orange);
}

.container-title {
  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: column;
  padding-bottom: 25px;
  
}

.container-title h2 {
  font: 500 70px/49px var(--onest);
  margin-bottom: 40px;
}

.container-title .link-details:hover img {
  transform: translateX(5px);
}

/* --- ANIMAÇÃO DO STEP_TWO --- */
body.step_two #thirdSectionHome .gallery-photo-wrapper {
  transform: translateX(-70%);
  opacity: 0;
  width: 0;
}

body.step_two.step_three #thirdSectionHome .gallery-photo-wrapper {
  transform: translateX(-100%);
  opacity: 0;
  width: 0;
}

body.step_two #thirdSectionHome .third-section-home-right-side {
  margin-left: calc((100vw - var(--container-max)) / 2 * 1);
  width: 70%;
}

body.step_two.step_three #thirdSectionHome .third-section-home-right-side {
  margin-left: calc((100vw - var(--container-max)) / 2 * 1);
  width: 100%;
}


.container-big-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  width: 100%;
  margin: 20px 0 40px 0;
  opacity: 0;
}

.big-number-card {
  border-top: 2px solid var(--orange);
  padding-top: 20px;
  padding-bottom: 40px;
}

.big-number-card p {
 font: var(--body);
 text-align: start;
}

.numbers_slot_block {
  display: flex;
  align-items: start;
  font: var(--title);
  gap: 6px;
  line-height: 1;
  justify-content: center;
}

.numbers_slot_block.prefix-symbol {
  align-items: end;
}

.numbers_slot_block.prefix-symbol em {
  text-align: left;
}

.numbers_slot {
  overflow: hidden;
  height: 1em;
  width: 90px;
  display: inline-block;
  position: relative;
}

.numbers_reel {
  display: block;
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.numbers_reel em {
  display: block;
  height: 1em;
  text-align: right;
  font-style: normal;
  line-height: 1em;
}

.numbers_slot_block .abbr {
  font-size: 0.5em;
  line-height: 1.5em;
}

.container-big-numbers .big-number-card {
  align-items: center;
  text-align: center;
}

#thirdSectionHome .container-big-numbers {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

body.step_two .container-big-numbers {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

body.step_two #thirdSectionHome .container-big-numbers {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Quarta seção home */

#fourthSectionHome,
#sectionCarouselProjects,
#secondSectionNotFound {
  overflow: hidden;
  display: flex;
  place-items: center start;
}

.carousel-text-div {
  height: 100%;
  background-color: var(--white);
  position: relative;
  z-index: 10;
  padding-left: calc((100vw - var(--container-max)) / 2);
  margin-left: calc((100vw - var(--container-max)) / 2 * -1);
}

.carousel-text-div > p {
  font: var(--body-max);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-text-div > p > em {
  color: var(--orange);
}

.container-project-carousel-card-text > h3 {
  margin-bottom: 10px;
  font: var(--title-smaller);
  color: var(--black);
  transition: all 0.3s ease;
}

.carousel-projects-card.link-card:hover
  .container-project-carousel-card-text
  > h3 {
  color: var(--orange);
}

.container-project-carousel-card-text > p {
  margin-bottom: 20px;
  font: var(--detail);
  color: var(--black);
  opacity: 0.4;
}

.carousel-projects-card > figure {
  width: 100%;
  height: 0px;
  position: relative;
  padding-top: 40vh;
  overflow: hidden;
  margin-bottom: var(--item-space-p);
  transition: all 0.3s ease;
}

.active .carousel-projects-card > figure > img {
  top: 0px;
  height: 100%;
}

.carousel-projects-card > figure > img {
  position: absolute;
  top: 30%;
  width: 100%;
  height: 70%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.last-card figure{
  width: 100%;
  overflow: hidden;
}

.last-card figure img{
  position: relative;
  top: 30%;
  width: 100%;
  height: 70%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.active .last-card > figure > img {
  top: 0px;
  height: 100%;
}

.last-card .last-card-text {
  position: fixed;
  top: 65%;
  left: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--black);
  font: var(--title-smaller);
}

.active .last-card .last-card-text {
  top: 50%;
}

.last-card .last-card-text p {
  text-align: center;
  color: var(--black);
  font: var(--title-smaller);
}

.last-card-text p:last-of-type {
  text-align: center;
  color: var(--orange);
  text-transform: uppercase;
  font: var(--detail-min-medium);
  padding-top: 20px;
}


.last-card .last-card-text p:last-of-type img {
  margin-left: 5px;
  vertical-align: middle;
  transition: all 0.3s ease;
}

.last-card .last-card-text p:last-of-type:hover  img {
  transform: translateX(5px);
}

.carousel-projects .owl-nav {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
}

.carousel-projects .owl-nav .owl-prev,
.carousel-projects .owl-nav .owl-next {
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-size: 24px;
}

.carousel-projects .owl-nav .owl-next {
  background-image: url(../assets/icones/seta-next.svg);
}

.carousel-projects .owl-nav .owl-prev {
  background-image: url(../assets/icones/seta-prev.svg);
}

.carousel-projects .owl-nav .owl-prev span,
.carousel-projects .owl-nav .owl-next span {
display: none;
}

.carousel-projects .owl-nav .owl-next.disabled,
.carousel-projects .owl-nav .owl-prev.disabled {
  opacity: 0.4;
}

/* Quinta seção home */

#fifthSectionHome {
  position: relative;
}

.play-firsthand-video-home {
  border-radius: 50%;
  width: 45px;
  height: 45px;
  text-align: center;
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  transition: all 0.3s ease;
}

.play-firsthand-video-home:hover {
  background-color: var(--white);
}

.play-firsthand-video-home figure {
  width: 100%;
  height: 100%;
  position: relative;
}

.play-firsthand-video-home figure img {
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: auto;
}

.firsthand-text {
  padding: 40px 0;
}

.firsthand-text > h2 {
  font: var(--title-max);
}

.firsthand-text > p {
  font-size: var(--font-m);
  margin-top: 20px;
  max-width: 50%;
}

.firsthand-container {
  display: flex;
  gap: 20px;
}

.firsthand-card {
  flex: 1;
  position: relative;
  overflow: hidden;
  transition: flex 0.8s ease, transform 0.8s ease;
  cursor: pointer;
  height: 0px;
  padding-top: 35%;
}

.firsthand-card.opened {
  pointer-events: none;
}

.firsthand-card.opened .modal-video-firsthand {
  pointer-events: auto;
}

.firsthand-card:not(.opened):hover,
.firsthand-card.fake-hover:not(.opened) {
  flex: 4;
  z-index: 10;
}

.firsthand-card:not(.opened):hover .firsthand-card-image > img,
.firsthand-card.fake-hover:not(.opened) .firsthand-card-image > img {
  display: none;
}

.firsthand-card:not(.opened):hover .firsthand-card-video,
.firsthand-card.fake-hover:not(.opened) .firsthand-card-video {
  display: block;
}

.firsthand-card:not(.opened):hover .container-firsthand-preview,
.firsthand-card.fake-hover:not(.opened) .container-firsthand-preview {
  display: block;
}

.firsthand-card:not(.opened):hover .firsthand-card-text,
.firsthand-card.fake-hover:not(.opened) .firsthand-card-text {
  display: block;
}

.firsthand-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.firsthand-card-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container-firsthand-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
}

.firsthand-card-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.firsthand-card-text {
  display: none;
  overflow: hidden;
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
  z-index: 5;
  padding: 20px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  transition: opacity 0.3s ease;
}

.firsthand-card-text > div > h4 {
  font: var(--title-smaller);
}

.firsthand-card-text > div > p {
  font: var(--detail);
}

.firsthand-card-text > div > p:last-child {
  opacity: 0.4;
}

.watch-video {
  opacity: 0;
  transition: opacity 0.8s ease;
  color: var(--orange);
  position: absolute;
  right: 20px;
  bottom: 20px;
}

.watch-video > button > img {
  transition: all 0.3s ease;
}

.watch-video > button:hover > img {
  transform: translateX(5px);
}

.watch-video > button {
  text-transform: uppercase;
}

.watch-video > a {
  color: inherit;
}

.firsthand-container:hover .firsthand-card:not(:hover) .firsthand-card-text {
  opacity: 0;
}

.firsthand-watch-all {
  margin-top: 40px;
  position: absolute;
  right: 5px;
}

body:has(#fifthSectionHome .firsthand-card.opened) {
  overflow: hidden;
}

/* Sexta seção home */

#sixthSectionHome {
  padding-top: 120px;
}

#sixthSectionHome > div > h2 {
  font: var(--title-max);
}

.container-items-sixth-section {
  height: 80%;
}

.clients-container-testimony {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  height: 100%;
}

.testimonials_viewer_frame_content > div {
  text-align: center;
  padding: 40px 0px;
}

.testimonials_viewer_frame_content > div > img {
  margin-top: 10px;
}

.testimonials_viewer_frame_content > div > p {
  padding: 40px 0px;
  font: var(--body);
  text-align: center;
  max-width: 500px;
}

.testimonials_viewer_frame_content > div h2 {
  font: var(--body);
  font-weight: 500;
}

.testimonials_viewer_frame_content > div > div > p {
  font: var(--body);
  opacity: 0.4;
}

.clients-container-logos {
  width: 100%;
}

.client-logo {
  padding: 40px;
}

.client-logo > figure {
  width: 100%;
  display: block;
  height: 0px;
  padding-top: 25%;
  position: relative;
}

.client-logo-svg,
.client-logo > figure > svg,
.client-logo > figure > p,
.client-logo > figure > img {
  top: 0px;
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: contain;
  cursor: pointer;
}

.client-logo > figure > p {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.client-logo-svg path,
.client-logo > figure > svg path,
.client-logo > figure > svg polygon,
.client-logo-svg polygon,
.client-logo > figure > svg rect,
.client-logo-svg rect {
  transition: all 1s ease;
}

.client-logo.active path,
.client-logo.active polygon,
.client-logo.active rect {
  fill: #e45541;
}

.client-logo.empty {
  display: none;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
}

footer {
  background-color: var(--orange);
  width: 100%;
}

footer .container-logo,
footer .container-footer-links {
  padding: 40px 0px;
  border-bottom: 2px solid #1111110d;
}

footer .container-footer-copyright {
  padding: 40px 0px;
}

.footer-logo {
  width: 265px;
  height: auto;
}

.footer-container-links {
  display: flex;
  justify-content: space-between;
}

.footer-right-side,
.footer-left-side {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  color: var(--white);
  font: var(--footer-links);
  cursor: pointer;
  text-transform: uppercase;
}

.footer-links > a {
  color: inherit;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease-out;
}

.footer-links > a:hover {
  border-color: currentColor;
}

.footer-links > img {
  width: 16px;
  height: auto;
}

.footer-left-side img {
  width: 20px;
  height: auto;
}

.footer-container-text {
  display: flex;
  justify-content: space-between;
}

/* Página de contatos */

#contacts {
  padding: 160px 0;
}

@property --black1 {
  syntax: "<color>";
  inherits: false;
  initial-value: #111111;
}

@property --black2 {
  syntax: "<color>";
  inherits: false;
  initial-value: #111111;
}

@property --black3 {
  syntax: "<color>";
  inherits: false;
  initial-value: #111111;
}

body.page-template-page-contact .header-button {
  background: radial-gradient(
    circle,
    var(--black1) 0%,
    var(--black2) 50%,
    var(--black3) 100%
  );
  transition: --black1 0.3s ease, --black2 0.3s ease, --black3 0.3s ease;
}

body.page-template-page-contact .header-button:hover {
  --black1: rgba(66, 65, 65, 1);
  --black2: gba(51, 50, 50, 1);
  --black3: rgba(1, 1, 1, 1);
}

.container-contact {
  position: relative;
}

.container-contact-whats {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.contacts-text {
  padding-right: 150px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: var(--margin-g);
}

.contacts-text > h1 {
  font: var(--title-big);
}

.contacts-text > p {
  font: var(--detail);
}

.message-us {
  background-color: var(--light-grey);
  transition: all 0.3s ease-out;
}

.message-us:hover {
  background-color: var(--dark-gray);
}

.message-us a {
  text-transform: uppercase;
  color: var(--black);
  padding: 15px 20px;
  font-size: var(--font-p);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.message-us > img {
  width: 20px;
  height: 20px;
}

.form-contacts form > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

.form-contacts form > div > div {
  grid-column: span 1;
}

.form-contacts form > div > div:nth-child(3),
.form-contacts form > div > div:nth-child(4) {
  grid-column: span 2;
}

.form-contacts textarea {
  height: 100px;
}

input,
textarea {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 2px solid #1111110d;
  background: transparent;
  outline: none;
  font: var(--detail);
  transition: border-color 0.3s ease;
  resize: none;
}

input::placeholder,
textarea::placeholder {
  color: var(--black);
  opacity: 0.4;
}

input:focus,
textarea:focus {
  border-bottom: 2px solid black;
}

.form-contacts form > div > p {
  overflow: hidden;
  grid-column: span 2;
}

.form-contacts form > div > p > input[type="submit"] {
  float: right;
  background: radial-gradient(
    circle,
    var(--orange1) 0%,
    var(--orange2) 50%,
    var(--orange3) 100%
  );
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
  font-size: var(--font-p);
  font-family: var(--onest);
  font-weight: 500;
  padding: 15px 45px;
  cursor: pointer;
  width: fit-content;
  transition: --orange1 0.3s ease, --orange2 0.3s ease, --orange3 0.3s ease;
}

.form-contacts form > div > p > input[type="submit"]:focus {
  border: none;
}

.form-contacts form > div > p > input[type="submit"]:hover {
  --orange1: rgba(255, 167, 156, 1);
  --orange2: rgba(245, 130, 115, 1);
  --orange3: rgba(228, 85, 65, 1);
}

.wpcf7 form .wpcf7-response-output {
  margin: 20px 0px 0px 0px;
  font: var(--detail-min-regular);
  padding: 10px;
  display: block;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
  border: none;
  background-color: var(--red);
}

.wpcf7 form.sent .wpcf7-response-output {
  border: none;
  background-color: var(--green);
}

.success-send-message {
  grid-column: span 2;
  background-color: var(--green);
  padding: 10px;
  font: var(--detail-min-regular);
  width: 100%;

  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.success-send-message.visible {
  opacity: 1;
  transform: translateY(0);
}

.container-find-us {
  margin-top: 90px;
}

.container-find-us > p {
  font: var(--body-max);
  column-span: 1;
}

.link-find-us {
  cursor: pointer;
  color: var(--black);
  padding-bottom: 10px;
  border-bottom: 2px solid #1111110d;
  margin-bottom: 20px;
  font: var(--detail);
}

.link-find-us > a {
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.3s ease;
}

.link-find-us > a svg path {
  fill: currentColor;
  transition: fill 0.3s ease;
}

.link-find-us > a:hover {
  color: var(--orange);
}

.container-links-find-us {
  margin: 0px;
}

/* Página Sobre */

#firstSectionAbout,
#secondSectionAbout,
#thirthSectionAbout,
#fourthSectionAbout {
  scroll-snap-align: start;
  min-height: 670px;
  height: 100vh;
}

.background-section {
  position: absolute;
  width: 100%;
  height: 100%;
}

.background-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container-title-about {
  position: absolute;
  bottom: 0;
  padding: 55px 60px;
  border-left: 2px solid var(--orange);
  width: calc(100% - ((100% - var(--container-max)) / 2));
  left: calc((100% - var(--container-max)) / 2);
}

.container-title-about > h1 {
  font: var(--title-big);
  width: 85%;
}


.arrow-down {
  position: absolute;
  right: 66px;
  bottom: 33%;
}

.arrow-down > img {
  transition: transform 0.3s ease;
}

.arrow-down > img:hover {
  transform: translateY(5px);
}

.second-section-about-text > h2 {
  font: var(--title-medium);
}

.second-section-about-text > p {
  font: var(--detail);
}

.second-section-about-text > p > a {
  color: var(--orange);
  text-transform: uppercase;
  font: var(--detail-min-medium);
  display: inline-flex;
  align-items: center;
}

.second-section-about-text > p > a::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 5px;
  background-image: url("../assets/icones/seta-direita-laranja.svg");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.second-section-about-text > p > a:hover::after {
  transform: translateX(5px);
}

#thirthSectionAbout {
  padding-top: 125px;
  padding-bottom: 70px;
  overflow: hidden;
}

.container-content-thirthSectionAbout {
  height: 80vh;
  position: relative;
}

.container-title-thirthSectionAbout > p {
  font: var(--body-max);
}

.container-title-thirthSectionAbout > p > em {
  color: var(--orange);
}

.container-content-thirthSectionAbout .c1:last-child {
  align-self: end;
}

.container-carousel-awards.owl-carousel.owl-theme {
  overflow: hidden;
  width: calc(100% + ((100vw - var(--container-max))));
  margin-left: calc((100vw - var(--container-max)) / 2 * -1);
  display: flex;
  align-items: center;
}

#thirthSectionAbout
  .container-carousel-awards
  .container-stamps-about
  > figure
  > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container-stamps-about {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container-stamps-about > p {
  margin-top: 20px;
  text-align: center;
  font: var(--detail-min-regular);
}

.paragraph-text-stamps-about {
  font: var(--detail);
  margin-bottom: 10px;
}

#fourthSectionAbout {
  display: flex;
  align-items: center;
  justify-content: center;
}

#fourthSectionAbout .c1 {
  position: relative;
}

.fourth-section-about {
  width: 100%;
}

.container-fouth-about-text {
  position: absolute;
  bottom: 0;
}

.container-fouth-about-text > h2 {
  margin-bottom: 20px;
  font: var(--title-medium);
}

.container-fouth-about-text > p {
  font: var(--detail);
}

.container-fouth-about-text > p > strong {
  font-weight: bold;
}

#fourthSectionAbout .c2 {
  display: flex;
  gap: 10px;
}

#fourthSectionAbout .c2 > figure {
  position: relative;
  height: 480px;
  flex: 1;
  transition: all 0.8s ease;
}

#fourthSectionAbout .c2 > figure:hover {
  flex: 3;
}

#fourthSectionAbout .c2 > figure > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* MODAIS */

/* Modal especialistas */

.modal-experts,
.modal-video-firsthand {
  position: fixed;
  opacity: 0;
  z-index: 9999;
  top: 100vh;
  left: 0;
  height: 100vh;
  width: 100%;
  background-color: rgba(17, 17, 17, 0.9);
  backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.modal-experts {
  overflow-y: auto;
}

.opened .modal-experts,
.opened .modal-video-firsthand {
  top: 0px;
  opacity: 1;
}

.video-modal-firsthand {
  color: var(--white);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.modal-experts > .container-max {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content-experts {
  color: var(--white);
  max-width: 1000px;
  max-height: 70vh;
}

.modal-text-experts {
  padding-bottom: 100px;
}

.modal-experts::-webkit-scrollbar {
  width: 5px;
}

.modal-experts::-webkit-scrollbar-track {
  background: var(--light-grey);
}

.modal-experts::-webkit-scrollbar-thumb {
  background-color: var(--orange);
}

.video-modal-firsthand {
  width: 70vw;
  height: 70vh;
  background-image: url("../assets/images/loader-pet.gif");
  background-size: 100px;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #00000099;
}

.video-modal-firsthand > iframe {
  width: 70vw;
  height: 70vh;
}

.container-expert-photo {
  width: 352px;
  height: 352px;
  margin: 0 auto;
}

.container-expert-photo > figure {
  position: relative;
  width: 100%;
  height: 100%;
}

.container-expert-photo > figure > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-text-experts > h2 {
  font: var(--title-smaller);
  font-weight: 600;
}

.modal-text-experts > p {
  font: var(--detail);
  margin-bottom: 20px;
  opacity: 1 !important;
}

.close-modal {
  position: absolute;
  top: 60px;
  right: 60px;
  cursor: pointer;
}

.close-modal svg path {
  transition: fill 0.3s ease;
}

.close-modal:hover svg path {
  fill: var(--orange);
}

/* Página 404 */

.first-section-not-found {
  display: flex;
  justify-content: center;
  align-items: center;
}

.container-content-not-found {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-direction: column;
  max-width: 724px;
}

.container-content-not-found > h1 {
  font: var(--title-big);
  text-align: center;
  padding: 0px 120px;
}

.container-content-not-found p {
  font: var(--detail);
  margin-bottom: var(--margin-m);
  text-align: center;
}

.container-content-not-found > p > a {
  color: var(--orange);
  text-decoration: underline;
  transition: all 0.3s ease;
}

.container-content-not-found > p > a:hover {
  color: var(--black);
}

.content-arrow {
  width: 36px;
  height: 36px;
  position: relative;
}

.content-arrow > img {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.content-arrow > img:hover {
  transform: translateY(5px);
}

@media (min-width: 1024px) and (max-width: 1540px) {
  :root {
    --title: 600 100px/128px var(--onest);
    --title-big: 500 36px/49px var(--onest);
    --title-max: 500 24px/36px var(--onest);
    --title-medium: 500 24px/36px var(--onest);
    --title-smaller: 500 16px/24px var(--onest);
    --body-max: 400 24px/36px var(--onest);
    --body: 400 16px/24px var(--onest);
    --detail: 400 16px/24px var(--onest);
    --container-max: calc(100% - 120px);
    --margin-lateral: 60px;
  }

  .container-max {
    margin: 0 var(--margin-lateral);
  }

  .container-right-side {
    display: flex;
    flex: 1;
    position: static;
    left: auto;
    transform: none;
    width: auto;
    height: auto;
  }

  .container-title-about {
    width: calc(100% - var(--margin-lateral));
    left: var(--margin-lateral);
  }
}

@media (max-width: 1024px) {
  :root {
    /* Tamanho de fontes */
    --font-p: 14px;
    --font-m: 16px;

    /* Fontes (shorthand) */
    --title: 600 100px/128px var(--onest);
    --title-big: 500 36px/49px var(--onest);
    --title-max: 500 24px/36px var(--onest);
    --title-medium: 500 24px/36px var(--onest);
    --title-smaller: 500 16px/24px var(--onest);
    --body-max: 400 24px/36px var(--onest);
    --body: 400 16px/24px var(--onest);
    --detail: 400 16px/24px var(--onest);

    /* Espaçamentos */
    --container-max: calc(100% - 40px);
    --header-height: 60px;
    --margin-lateral: 20px;
    --section-padding-top: 40px;
    --section-padding-bottom: 40px;
    --padding-project-details-page: 40px;
    --item-space-p: 20px;
  }

  body.first-section-visible .whats-button-home {
    display: none !important;
  }

  #firstSectionProjectDetail {
    min-height: 100dvh;
  }

  .whats-button-home {
    position: fixed;
    z-index: 800;
    left: 0;
    bottom: 10px;
    width: 56px;
    height: 56px;
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(30px) brightness(0.9);
    -webkit-backdrop-filter: blur(30px) brightness(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .whats-button-home.hide {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
  }

  .whats-button-home > a {
    width: 100%;
    height: 100%;
  }

  .whats-button-home > a > img {
    width: 24px;
    height: 24px;
  }

  .container-max {
    margin: 0 var(--margin-lateral);
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block !important;
  }

  .domino {
    grid-template-columns: repeat(1, 1fr) !important;
  }

  /* Header */

  .header-desktop {
    display: none;
  }

  .header-mobile {
    position: fixed;
    top: 0px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    width: 100%;
    padding: 20px;
  }

  .header-logo-mobile {
    width: 96.5px;
  }

  .menu-hamburguer {
    width: 24px;
    display: flex;
    gap: 8px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
  }

  .menu-hamburguer span {
    height: 2px;
    width: 24px;
    background: var(--orange);
    transition: all 0.5s ease;
  }

  .menu-hamburguer.white span {
    background: white;
  }

  .menu-hamburguer.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-4px, 4px);
  }

  .menu-hamburguer.active span:nth-child(2) {
    transform: rotate(45deg) translate(-3px, -3px);
  }

  .menu-mobile {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s ease, padding 0.8s ease;
    padding: 0;
    z-index: 99;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
  }

  .menu-mobile.open {
    max-height: calc(100vh + var(--header-height));
    padding-top: 120px;
  }

  .container-links-mobile > div:first-of-type > ul {
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: start;
    align-items: start;
  }

  .container-links-mobile > div > ul > li > a {
    color: var(--black);
  }

  .container-links-mobile div ul .current_page_item > a,
  .container-links-mobile > div > ul .current-menu-item > a {
    color: var(--orange) !important;
  }

  .container-links-mobile {
    color: var(--black);
    display: flex;
    flex-direction: column;
    gap: 40px;
    font: var(--body-max);
    margin: 0 var(--margin-lateral);
  }

  .container-links-mobile div:first-of-type {
    text-transform: uppercase;
  }

  .custom-select-header {
    position: relative;
    display: inline-block;
  }

  .select-button-header {
    background: transparent !important;
    font-weight: 400;
    padding: 0;
  }

  .options {
    position: absolute;
    background: transparent !important;
    left: 0;
    padding: 0px;
    font-size: var(--font-m);
    gap: 0px;
    opacity: 0;
  }

  .container-carousel-projects.carousel-projects {
    width: calc(100% - 60px);
    margin-left: 0px;
  }

  .container-links-mobile > a {
    color: inherit;
  }

  section#firstSectionHome > div {
    font-family: var(--onest);
    top: 30%;
  }

  section#firstSectionHome > div > h1 {
    font-size: 42px;
  }

  .first-section-home-rectangle {
    display: grid;
    grid-template-columns: 1fr 1fr !important;
  }

  .first-section-home-rectangle > div:first-child {
    height: 100px;
  }

  .first-section-home-rectangle > div:last-child {
    height: 50px;
  }

  /* Segunda seção */

  #secondSectionHome {
    grid-template-columns: repeat(1, 1fr);
  }

  .second-section-home-text {
    padding: 0 20px;
  }

  /* Terceira seção */

  #thirdSectionHome {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
  }

  .gallery-photo-wrapper {
    width: 100%;
    height: 35vh;
    overflow: hidden;
    position: relative;
    transition: all 2s ease;
  }

  .gallery-photo-wrapper > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 4s ease;
  }

  @keyframes zoomIn {
    0% {
      transform: scale(1);
    }

    100% {
      transform: scale(1.2);
    }
  }

  .gallery-photo-wrapper > img.zoom {
    animation: zoomIn 8s ease forwards;
  }

  .third-section-home-right-side {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .third-section-home-right-side > p {
    margin: 0px var(--margin-lateral);
    padding: 0px;
  }

  .third-section-home-right-side > p > em {
    color: var(--orange);
  }

  .container-title {
    margin: var(--margin-lateral);
    align-items: start;
  }

  .container-title h2 {
    font: 500 36px / 54px var(--onest);
    margin-bottom: 20px;
}

  .container-big-numbers {
    grid-template-columns: 1fr;
    opacity: 1 !important;
    padding: 0px var(--margin-lateral);
    gap: 0px;
    margin: 0px;
  }

  .container-big-numbers p{
    font-weight: 500;
  }

  .container-big-numbers .big-number-card {
    text-align: start;
    align-items: start;
  }

  .big-number-card {
    width: 100%;
  }

  .numbers_slot {
    width: 62px;
  }

  /*
  Quarta seção */

  #fourthSectionHome,
  #sectionCarouselProjects {
    padding: 60px 0px;
    display: block;
  }

  .carousel-projects .owl-stage-outer {
    margin-left: var(--margin-lateral);
  }

  #fourthSectionHome > div,
  #sectionCarouselProjects > div {
    display: unset;
  }

  .paragraph-fourth-section-home > p {
    font: var(--body-max);
    margin-bottom: var(--margin-g);
    margin-left: var(--margin-lateral);
    margin-right: var(--margin-lateral);
  }

  .paragraph-fourth-section-home > p > em {
    color: var(--orange);
  }

  .carousel-text-div {
    display: none;
  }

  .carousel-projects-card > figure {
    padding-top: 90%;
  }

    /* Quinta seção */

  .firsthand-card-text {
    opacity: 1;
    display: block;
  }

  /* Sexta seção */

  #sixthSectionHome {
    position: relative;
    padding-top: 60px;
    overflow: hidden;
  }

  #sixthSectionHome > div > h2 {
    text-align: center;
    padding: 0px;
    margin-bottom: 20px;
  }

  .container-items-sixth-section {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .clients-container-testimony {
    margin-top: 20px;
    gap: 20px;
  }

  .clients-container-testimony > p {
    font: var(--body);
    text-align: center;
    padding: 0px 40px;
  }

  .clients-container-testimony > div {
    text-align: center;
  }

  .testimonials_viewer_frame_content > div > p {
    padding: 20px 0px;
    font: var(--detail);
  }

  .testimonials_viewer_frame_content > div h2,
  .testimonials_viewer_frame_content > div > div > p {
    font: var(--detail);
  }

  .clients-container-logos {
    width: calc(100% + ((100vw - var(--container-max))));
    margin-left: calc((100vw - var(--container-max)) / 2 * -1);
    margin-top: 60px;
    margin-bottom: var(--margin-m);
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    border-top: 2px solid #f3f3f3;
    border-bottom: 2px solid #f3f3f3;
  }

  .client-logo {
    flex: 0 0 auto;
    width: 40%;
    scroll-snap-align: center;
    padding: 30px 0;
  }

  .client-logo:first-of-type {
    margin-left: 50vw;
  }

  .client-logo:last-of-type {
    margin-right: 50vw;
  }

  .client-logo > figure {
    padding-top: 25%;
  }

  .client-logo.empty {
    display: block;
    width: 25%;
  }

  .clients-container-logos::-webkit-scrollbar {
    display: none;
  }

  footer {
    overflow: hidden;
  }

  footer .container-footer-links {
    padding: 20px 0px;
  }

  footer .container-footer-copyright {
    padding: 40px 0px;
  }

  .footer-logo {
    width: 166px;
    height: auto;
  }

  .footer-container-links,
  .footer-left-side,
  .footer-right-side {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
  }

  .links-division {
    height: 2px;
    background-color: #1111110d;
    width: calc(100% + ((100vw - var(--container-max))));
    margin-left: calc((100vw - var(--container-max)) / 2 * -1);
  }

  .footer-container-text > p {
    display: none;
  }

  /* Contatos */

  #contacts {
    padding: 80px 0px;
  }

  .container-contacts-text > h1 {
    margin-bottom: 10px;
  }

  .contacts-text {
    padding-right: 30px;
    margin-bottom: 20px;
  }

  .container-form-contact > h2 {
    font: var(--body-max);
    margin-bottom: var(--margin-p);
  }

  .form-contacts form > div > div {
    grid-column: span 2;
  }

  .message-us {
    width: 100%;
    margin-bottom: 60px;
  }

  .message-us > a {
    width: 100%;
    justify-content: center;
  }

  .container-form-contacts-button > button {
    width: 100%;
  }

  .container-find-us,
  .container-locations {
    gap: 20px;
  }

  .container-find-us {
    margin-top: 20px;
  }

  .form-contacts form > div > p > input[type="submit"] {
    width: 100%;
  }

  .wpcf7 form .wpcf7-response-output {
    margin: 0px 0px 0px 0px;
    font: var(--detail-min-regular);
    padding: 10px;
  }

  /* Página Sobre */

  .second-section-about-text {
    padding: 0 20px;
    height: max-content;
  }

  .container-title-about {
    padding: 20px;
  }

  .arrow-down {
    position: absolute;
    right: 20px;
    bottom: 20px;
  }

  .background-section {
    object-position: top;
  }

  .container-title-about {
    width: calc(100% - var(--margin-lateral));
    left: var(--margin-lateral);
  }

  #thirthSectionAbout {
    padding-top: 100px;
    padding-bottom: 50px;
  }

  #fourthSectionAbout {
    display: block;
  }

  .container-fouth-about-text {
    position: unset;
    padding-top: 100px;
  }

  #fourthSectionAbout {
    padding-bottom: 80px;
    height: auto;
  }

  #fourthSectionAbout .c2 {
    display: block;
  }

  #fourthSectionAbout .c2 > figure {
    width: 100%;
    height: 0px;
    padding-top: 20%;
    margin-bottom: 10px;
  }

  #fourthSectionAbout .c2 > figure.active {
    padding-top: 50%;
  }

  /* MODAIS */

  /* Conteúdo do modal */

  .close-modal {
    top: 20px;
    right: 20px;
    z-index: 20;
  }

  .video-modal-firsthand,
  .modal-content-experts {
    position: static;
    top: 0;
    left: 0;
    transform: translate(0%);
    gap: 0px;
  }

  .video-modal-firsthand {
    width: 100%;
    height: 220px;
    background-size: 80px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .video-modal-firsthand > iframe {
    width: 100%;
    height: 220px;
  }

  .modal-experts > .container-max {
    display: block;
  }

  .modal-content-experts {
    padding: 60px 0px;
  }

  .modal-text-experts {
    margin-top: var(--margin-m);
  }

  .container-expert-photo {
    width: 100%;
    height: 100%;
  }

  .container-expert-photo > figure {
    position: relative;
    width: 100%;
    height: 0px;
    padding-top: 100%;
  }

  /* Página 404 */

  .container-content-not-found h1 {
    margin-bottom: -10px;
  }

  #secondSectionNotFound {
    display: block;
    padding-top: 140px;
  }

  #secondSectionNotFound > div {
    display: unset;
  }

  .container-content-not-found p {
    margin-bottom: 0px;
  }

  .container-content-not-found > h1 {
    padding: 0px 45px;
  }

  .content-arrow {
    width: 24px;
    height: 24px;
  }

  .carousel-projects .owl-nav {
    display: flex;
    justify-content: space-between;
    width: calc(100vw - 40px);
    margin-left: 20px;
  }

  .last-card .last-card-text {
    width: 200px;
  }

}

@media (min-width: 768px) and (max-width: 1024px) {
  .video-modal-firsthand {
    height: 450px;
  }

  .video-modal-firsthand > iframe {
    width: 100%;
    height: 450px;
  }

  #fourthSectionHome,
  #sectionCarouselProjects {
    padding-top: 60px;
  }

  .carousel-projects-card > figure {
    padding-top: 35%;
  }

  .active .carousel-projects-card > figure > img {
    top: 0px;
    height: 100%;
  }


  #sixthSectionHome {
    padding-top: 100px;
  }

  .clients-container-logos {
    bottom: 50px;
  }

  .client-logo {
    width: 20%;
  }

  .client-logo > figure {
    padding-top: 25%;
  }

  #fifthSectionHome {
    padding-bottom: 60px;
  }

  .firsthand-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .firsthand-card {
    padding-top: 90%;
  }

  .firsthand-card:not(.opened):hover .firsthand-card-image > img {
    display: block !important;
  }

  .firsthand-card:not(.opened):hover .firsthand-card-video {
    display: none !important;
  }

  .firsthand-card:not(.opened):hover .container-firsthand-preview {
    display: none !important;
  }

  .firsthand-container:hover .firsthand-card:not(:hover) .firsthand-card-text {
    opacity: 1 !important;
  }

  .firsthand-text > p {
    max-width: 100%;
  }

  .firsthand-card-video {
    display: none;
  }

  .firsthand-card-text {
    opacity: 1;
    display: block;
  }

  .play-firsthand-video-home {
    top: 30%;
  }

  .container-expert-photo {
    width: 352px;
    height: 352px;
  }

}

@media (max-width: 767px) {
  /* Mobile para firsthand - Quinta seção*/

  #fifthSectionHome {
    height: 100%;
    padding-top: 40px;
    padding-bottom: 120px;
  }

  .firsthand-text > p {
    margin-top: 10px;
    max-width: 100%;
    opacity: 0.4;
  }

  .firsthand-container {
    display: grid;
    grid-template-columns: repeat(1fr);
  }

  .firsthand-card {
    padding-top: 90%;
  }

  .firsthand-card:not(.opened):hover .firsthand-card-image > img {
    display: block !important;
  }

  .firsthand-card:not(.opened):hover .firsthand-card-video {
    display: none !important;
  }

  .firsthand-card:not(.opened):hover .container-firsthand-preview {
    display: none !important;
  }

  .firsthand-container:hover .firsthand-card:not(:hover) .firsthand-card-text {
    opacity: 1 !important;
  }

  .firsthand-text > p {
    max-width: 100%;
  }

  .firsthand-card-video {
    display: none;
  }

  .firsthand-card-text {
    opacity: 1;
  }

  .play-firsthand-video-home {
    width: 35px;
    height: 35px;
    top: 30%;
  }

  .play-firsthand-video-home > figure > img {
    width: 13px;
  }
}
