@import url('https://fonts.cdnfonts.com/css/gotham-6');

html {
  scroll-padding-top: 100px;
}

body {
  overflow-x: hidden;
}

:root {
  --primary-color: #1f1f1f;
  --text-color: #030304;
  --white: #ffffff;
}

.decorados-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 50px;
}

.decorados-tabs a {
  height: 47px;
  padding: 0 25px;
  border: 1px solid #1f1f1f;
  color: var(--text-color);
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  border-radius: 35px;
}

.decorados-tabs a.active {
  background-color: #4D4131;
  color: var(--white);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  display: flex;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 316 / 225;
  object-fit: cover;
}

.gallery-item-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 50px;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gallery-item-title {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.gallery-item-cta {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  text-decoration: underline;
  text-transform: uppercase;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  z-index: 1000;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  display: flex;
  gap: 43px;
  align-items: center;
  max-width: 80%;
}

.modal-close {
  position: absolute;
  top: 0;
  right: -76px;
  background: var(--white);
  border: none;
  cursor: pointer;
  width: 60px;
  height: 60px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  object-position: center;
}

.modal-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.modal-actions {
  display: flex;
  gap: 30px;
  align-items: center;
}

.modal-action-btn {
  background: none;
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
  padding: 0;
  font-size: 14px;
  color: var(--white);
  text-transform: uppercase;
  cursor: pointer;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 50px;
}

.pagination button {
  width: 125px;
  height: 45px;
  border: 1px solid var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-color);
  font-size: 14px;
  font-weight: 600;
  background: none;
  justify-content: center;
  border-radius: 40px;
  cursor: pointer;
}

.pagination button.active {
  background-color: var(--primary-color);
  color: white;
}

.pagination button:disabled {
  cursor: not-allowed;
  border: transparent;
  background: #efefef;
  color: #a3a3a3;
  font-weight: 400;
}

.pagination button:disabled svg {
  opacity: 0.3;
}

.pagination-prev-btn svg {
  transform: rotate(180deg);
}

button.pagination-number-btn {
  width: 45px;
  background: #efefef;
  border: none;
  color: #a3a3a3;
}

.pagination-prev-btn {
  margin-right: 15px;
}

.pagination-next-btn {
  margin-left: 15px;
}

.decorados-main-banner {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
}

.decorados-main-banner img {
  max-width: 100%;
}

.decorados-main-banner-mobile {
  display: none;
}

.decorados-main-banner-title {
  font-family: 'Gotham', sans-serif;
  font-size: 62px;
  font-weight: 300;
  color: var(--white);
  position: absolute;
}

.decorados-gallery-title {
  font-size: 16px;
  font-weight: 400;
  line-height: 19.5px;
  color: var(--text-color);
  margin-bottom: 30px;
  text-align: center;
}

.thumbnails .splide__arrow {
  width: 60px;
  height: 60px;
  background: #00000033;
  backdrop-filter: blur(10px);
  background-position: center;
  background-repeat: no-repeat;
}

.thumbnails .splide__arrow svg {
  display: none;
}

.thumbnails .splide {
  padding: 70px 0;
}

.thumbnails .splide__arrows--ttb .splide__arrow--prev {
  top: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.778 3.828L8.778 16L6.778 16L6.778 3.828L1.414 9.192L-1.35995e-06 7.778L7.778 1.35995e-06L15.556 7.778L14.142 9.192L8.778 3.828Z' fill='white'/%3E%3C/svg%3E%0A");
}

.thumbnails .splide__arrows--ttb .splide__arrow--next {
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.77864 12.172L6.77864 0L8.77864 0L8.77864 12.172L14.1426 6.808L15.5566 8.222L7.77864 16L0.000640869 8.222L1.41464 6.808L6.77864 12.172Z' fill='white'/%3E%3C/svg%3E%0A");
}

.thumbnails .splide__slide img.active {
  border: 3px solid #fff;
}

.modal-content-main-img {
  position: relative;
  height: calc(60vh + 140px);
  display: flex;
}

.modal-item-infos {
  position: absolute;
  background: #0000001a;
  backdrop-filter: blur(8px);
  bottom: 0;
  width: 100%;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
  height: 70px;
}

.modal-item-title {
  font-size: 32px;
  font-weight: 500;
  line-height: 39.01px;
  letter-spacing: 0.2em;
  color: var(--white);
  text-transform: uppercase;
}

.decorados-video-wrapper {
  display: flex;
  gap: 90px;
  align-items: center;
}

.decorados-video {
  padding: 0 80px;
}

.decorados-video video {
  aspect-ratio: 547 / 340;
  width: 60%;
}

.decorados-video-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  margin-bottom: 10px;
  color: var(--text-color);
}

.decorados-video-description {
  font-size: 16px;
  line-height: 19.5px;
  margin-bottom: 29px;
  color: var(--text-color);
}

.decorados-video-link {
  display: flex;
  height: 47px;
  background: var(--primary-color);
  padding: 0 25px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  width: fit-content;
}

.pagination-mobile {
  display: none;
}

.img-options-popup-content {
  overflow: hidden;
  transition: 0.5s;
  backdrop-filter: blur(8px);
  background: #00000033;
  position: absolute;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 17px;
  display: none;
  padding: 30px 0;
  width: 40px;
  border-radius: 30px;
  top: -202px;
}

.img-options-popup.open .img-options-popup-content {
  display: flex;
}

.img-options-popup-trigger {
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 35px;
  background: #fff;
  padding: 0;
  border: none;
  cursor: pointer;
}

.img-options-popup-trigger svg.popup-close {
  display: none;
}

.img-options-popup.open .img-options-popup-trigger svg.popup-close {
  display: block;
}

.img-options-popup.open .img-options-popup-trigger svg.popup-open {
  display: none;
}

.img-options-popup {
  position: relative;
  gap: 14px;
  flex-direction: column;
}

.img-options-popup-content-trigger {
  border: none;
  padding: 0;
  background: transparent;
  display: flex;
  color: #fff;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
  align-items: center;
  cursor: pointer;
  justify-content: center;
}

.img-options-popup-content-trigger:hover {
  text-decoration: underline;
}

.institucional-section {
  display: flex;
  align-items: center;
}

.institucional-section-content {
  width: 50%;
  padding: 0 85px;
}

.institucional-images-slider,
.institucional-video,
.institucional-360,
.institucional-image {
  width: 50%;
}

.institucional-image img {
  width: 100%;
}

.institucional-360 iframe {
  aspect-ratio: 476 / 295;
  width: 100%;
}

.institucional-section-title {
  color: var(--text-color);
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 39px;
}

.institucional-section-description,
.institucional-bottom-infos-text {
  font-size: 16px;
  line-height: 19.5px;
  color: var(--text-color);
}

.institucional-tabs {
  margin-bottom: 0;  
}

.institucional-video iframe {
  aspect-ratio: 547 / 340;
  width: 100%;
}

.institucional-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(4, 1fr);
  list-style: inherit;
  gap: 10px;
  padding-left: 20px;
}

.institucional-list li::marker {
  font-size: 13px;
}

.institucional-bottom-infos {
  padding: 0 85px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.institucional-bottom-infos-text {
  max-width: 1464px;
  text-align: center;
}

.institucional-bottom-infos-cta {
  height: 50px;
  padding: 0 20px;
  border: 1px solid #000;
  color: var(--text-color);
  display: flex;
  align-items: center;
  width: fit-content;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
}

.institucional-bottom-infos-cta:hover {
  background: var(--primary-color);
  color: var(--white);
}

.institucional-iframe-niteroi,
.institucional-iframe-ipanema {
  display: none;
}

.institucional-360 {
  position: relative;
  display: flex;
  justify-content: center;
}

.institucional-360-actions {
  position: absolute;
  bottom: 50px;
  display: flex;
  gap: 41px;
  align-items: center;
  color: var(--white);
  font-size: 14px;
}

.institucional-360-btns {
  display: flex;
  gap: 16px;
}

.institucional-360-btn {
  border: 1px solid var(--primary-color);
  color: var(--text-color);
  background: var(--white);
  height: 47px;
  padding: 0 25px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: 0.3s;
}

.institucional-360-btn.active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--white);
  font-weight: 600;
}

.institucional-images-slider img {
  width: 100%;
}

.institucional-images-slider .splide__pagination {
  width: fit-content;
  bottom: 41px;
  right: 77px;
  left: auto;
  padding: 0;
  gap: 16px;
}

.institucional-images-slider .splide__pagination__page {
  width: 6px;
  height: 6px;
  border-radius: 0;
  border: 1px solid var(--white);
  background-color: transparent;
  transform: none;
  transition: 0.3s;
  margin: 0;
  opacity: 1;
}

.institucional-images-slider .splide__pagination__page.is-active {
  background-color: var(--white);
  width: 100px;
}

.institucional-images-slider .splide__pagination li {
  height: 6px;
  display: flex;
}

.decorados-select-tabs {
  display: none;
}

span.institucional-section-description {
  display: block;
  margin-bottom: 5px;
}

.how-it-works-container {
  padding: 0 150px 0 162px;
  max-width: 1920px;
}

.how-it-works-main .institucional-section-content {
  padding: 0;
  padding-left: 50px;
}

.institucional-section-minor-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-color);
}

.how-it-works-section {
  margin-bottom: 0;
  position: relative;
}

.how-it-works-section .institucional-image::before {
  content: "";
  position: absolute;
  left: -80px;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  background: #745a41;
  display: block;
  z-index: 3;
}

.how-it-works-main .institucional-list {
  display: block;
}

.how-it-works-main .institucional-list:not(:last-child) {
  margin-bottom: 50px;
}

.how-it-works.institucional-bottom-infos-cta {
  margin: 100px auto;
}

.how-it-works-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 50px;
}

.how-it-works-wrapper::before {
  content: "";
  position: absolute;
  left: -66px;
  width: 2px;
  height: 82%;
  background: #745a41;
}

.institucional-image {
  display: flex;
  align-items: center;
  position: relative;
}

.institucional-section.press-section {
  flex-direction: column;
  gap: 50px;
}

.institucional-section.press-section .institucional-section-description {
  max-width: 1464px;
  text-align: center;
  font-weight: 400;
  padding: 0 150px;
}

.gallery-item a {
  display: flex;
  text-decoration: none;
  width: 100%;
}

.press-section-news {
  width: 100%;
}

.press-section .institucional-section-minor-title {
  margin-bottom: 30px;
}

.previous-news-gallery {
  gap: 0 !important;
}

@media (max-width: 1500px) {
  .modal-actions {
    display: none;
  }

  .img-options-popup {
    display: flex;
  }
}

@media (max-width: 1250px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item-content {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    padding: 20px;
  }
}

@media (max-width: 1100px) {
  .decorados-video {
    padding: 0 40px;
  }

  .decorados-video-wrapper {
    gap: 30px;
  }

  .decorados-video-title {
    font-size: 16px;
    line-height: 19.5px;
    margin-bottom: 10px;
  }

  .decorados-video-description {
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 17px;
  }

  .institucional-section {
    flex-direction: column;
  }

  .company-section:nth-child(2n + 1),
  .history-section:nth-child(2n) {
    flex-direction: column-reverse;
  }

  .institucional-images-slider,
  .institucional-video,
  .institucional-360,
  .institucional-section-content,
  .institucional-image {
    width: 100%;
  }

  .institucional-section-content {
    margin-bottom: 30px;
  }

  .how-it-works-main .institucional-section-content {
    margin: 0;
    margin-top: 50px;
    padding: 0;
  }

  .how-it-works-section {
    justify-content: center;
  }

  .how-it-works-wrapper::before {
    height: 85%;
    top: 0;
    z-index: 1;
  }

  .how-it-works-section:first-child .institucional-image::after,
  .how-it-works-section:last-child .institucional-image::after {
    content: "";
    height: 50%;
    width: 162px;
    background: #fff;
    z-index: 2;
    position: absolute;
    left: -162px;
    top: 0;
  }

  .how-it-works-section:last-child .institucional-image::after {
    top: auto;
    bottom: 0;
  }
}

@media (max-width: 768px) {
  .decorados-main-banner-mobile {
    display: block;
  }

  .decorados-main-banner-desktop {
    display: none;
  }

  .decorados-video-wrapper {
    flex-direction: column;
  }

  .decorados-video video {
    width: 100%;
  }

  .decorados-video {
    padding: 0;
  }

  .decorados-video-content {
    padding: 0 20px;
  }

  .decorados-video-link {
    width: 100%;
    justify-content: center;
  }

  .decorados-video-title,
  .decorados-video-description {
    text-align: center;
  }

  .decorados-main-banner-title {
    font-size: 32px;
    bottom: 140px;
  }

  .decorados-main-banner {
    margin-bottom: 30px;
  }

  .decorados-gallery-title {
    font-size: 14px;
    line-height: 17px;
    padding: 0 20px;
  }

  .pagination-number-btn {
    display: none !important;
  }

  .pagination-prev-btn span,
  .pagination-next-btn span {
    display: none;
  }

  .pagination .pagination-prev-btn,
  .pagination .pagination-next-btn {
    width: 45px;
    height: 45px;
    padding: 0;
    margin: 0;
  }

  .pagination-mobile {
    display: block;
    font-size: 14px;
  }

  .pagination {
    align-items: center;
    gap: 26px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item-title {
    font-size: 20px;
  }

  .gallery-item-cta {
    font-size: 14px;
  }

  .gallery-item-content {
    gap: 5px;
  }

  .img-options-popup-content-trigger {
    font-size: 0;
    gap: 0;
    justify-content: center;
  }

  .thumbnails {
    max-width: 100%;
    padding: 20px 0;
    background: #fff;
  }

  .thumbnails .splide__slide img {
    width: 100% !important;
    height: auto !important;
  }

  .thumbnails .splide {
    padding: 0;
  }

  .modal-content {
    flex-direction: column-reverse;
    gap: 0;
    max-width: 100%;
  }

  .thumbnails .splide__slide img.active {
    border: none;
  }

  .modal-close {
    width: 40px;
    height: 40px;
    top: 20px;
    right: 20px;
    z-index: 2;
  }

  .modal.active {
    align-items: flex-end;
  }

  .modal-item-infos {
    background: none;
    backdrop-filter: none;
    border-radius: 0;
    padding: 0 20px;
    height: auto;
    margin-bottom: 26px;
  }

  .modal-image {
    border-radius: 0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }

  .modal-content-main-img {
    height: calc(50vh + 145px);
  }

  .modal-item-title {
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
  }

  .decorados-tabs {
    display: none;
  }

  .decorados-select-tabs {
    display: block;
    height: 47px;
    padding-left: 20px;
    border: 1px solid var(--primary-color);
    width: 100%;
    appearance: none;
    background: url("data:image/svg+xml,%3Csvg width='16' height='11' viewBox='0 0 16 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.99995 6.86367L14.2222 0.5L16 2.31819L7.99995 10.5L-7.94756e-08 2.31819L1.77777 0.499999L7.99995 6.86367Z' fill='black'/%3E%3C/svg%3E%0A")
      no-repeat;
    background-position: 95% 50%;
    max-width: 450px;
    margin: 0 auto;
    margin-bottom: 50px;
    background-color: #FFFFFF;
  }

  .institucional-tabs {
    padding: 0 20px;
  }

  .institucional-section-content {
    padding: 0 20px;
  }

  .institucional-section-title {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 20px;
  }

  .institucional-section-description,
  .institucional-bottom-infos-text {
    font-size: 14px;
    line-height: 17px;
  }

  .institucional-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .institucional-list li::marker {
    font-size: 11px;
  }

  .institucional-images-slider {
    padding-bottom: 24px;
  }

  .institucional-images-slider .splide__pagination {
    bottom: 0;
    right: 50%;
    transform: translate(50%, 0);
    gap: 10px;
  }

  .institucional-images-slider .splide__pagination__page {
    border-color: var(--primary-color);
  }

  .institucional-images-slider .splide__pagination__page.is-active {
    background-color: var(--primary-color);
    width: 50px;
  }

  .institucional-bottom-infos {
    padding: 0 20px;
    gap: 30px;
  }

  .institucional-bottom-infos-cta {
    width: 100%;
    justify-content: center;
    font-size: 14px;
    max-width: 450px;
  }

  .institucional-360-actions {
    position: static;
    flex-direction: column;
    align-items: center;
    color: var(--text-color);
    font-size: 14px;
    gap: 15px;
  }

  .institucional-360 {
    flex-direction: column;
    gap: 20px;
  }

  .institucional-360-btns {
    gap: 10px;
    width: 100%;
    padding: 0 20px;
    justify-content: center;
  }

  .institucional-360-btn {
    width: 100%;
    justify-content: center;
    max-width: 120px;
    padding: 0;
  }

  .decorados-gallery-title {
    font-size: 20px;
    margin-bottom: 18px;
  }

  .how-it-works-container {
    padding: 0 20px 0 92px;
  }

  .how-it-works-section .institucional-image::before {
    width: 25px;
    height: 25px;
    left: -55px;
  }

  .how-it-works-wrapper::before {
    left: -43.5px;
  }

  .how-it-works-main .institucional-section-content {
    margin-top: 20px;
  }

  .how-it-works-wrapper {
    gap: 30px;
  }

  .institucional-section-minor-title {
    font-size: 16px;
  }

  .how-it-works-main .institucional-section-description {
    font-size: 12px;
    line-height: 14px;
  }

  .how-it-works-main .institucional-list:not(:last-child) {
    margin-bottom: 30px;
  }

  .how-it-works.institucional-bottom-infos-cta {
    margin: 50px 20px;
    width: calc(100% - 40px);
  }

  .institucional-section.press-section .institucional-section-description {
    padding: 0 20px;
  }
}
