/* Banner */

.main__banner__splide {
  height: calc(100vh - 135px);
  max-height: 700px;
  min-height: 306px;
  overflow: hidden;
}

.splide__track {
  height: 100%;
}

.splide__slide__text-content {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
  padding: 0px var(--section-padding);
	transform: translateY(-50%);
}

.splide__slide__text-content p {
  text-align: right;
  font-family: 'JustSans-Regular', sans-serif;
  color: #fff;
  font-size: clamp(3.2rem, 5vw, 5rem);
  filter: drop-shadow(-2.571px 3.064px 3px rgba(0,0,0,0.5));
}

.splide__slide__text-content p strong {
  font-family: 'JustSans-Bold', sans-serif;
  color: #fff;
}

.slide__text-content__call-to-action {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background-color: var(--red500);
  border-radius: 24px;
  font-family: 'CaviarDreams-Bold', sans-serif;
  color: #fff;
  font-size: clamp(1.4rem, 5vw, 1.8rem);
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

.slide__text-content__call-to-action:hover {
  background-color: var(--red500-hover);
}

.slide__text-content__call-to-action span {
  display: flex;
  align-items: center;
  width: 30px;
  color: #fff;
}

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

.main__banner__splide .splide__pagination {
  bottom: 2.5em;
}

.splide__pagination .splide__pagination__page {
  margin: 5px;
  background: #fff;
  opacity: 1;
}

.splide__pagination .splide__pagination__page.is-active {
  transform: scale(1.12);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* About Us */

.main__about-us {
  width: 100%;
  margin: 20px 0 0 0;
  padding: 160px 0 64px 0;
  background: url('../assets/images/banner-about-us.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.main__about-us__wrapper-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 64px;
  width: 100%;
  max-width: var(--section-max-width);
  margin: 0 auto;
  padding: 0 var(--section-padding);
}

.about-us__wrapper-content__title {
  position: relative;
  flex: 1 1 460px;
  height: max-content;
  font-family: 'CaviarDreams-Bold', sans-serif;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
}

.about-us__wrapper-content__title::before {
  content: '';
  position: absolute;
  bottom: -16px;
  display: block;
  width: 55%;
  max-width: 145px;
  height: 5px;
  background-color: #fff;
}

.about-us__wrapper-content__wrapper-paragraphs {
  flex: 1 1 700px;
}

.about-us__wrapper-content__wrapper-paragraphs p {
  margin: 0 0 36px 0;
  text-align: right;
  font-family: 'JustSans-Regular', sans-serif;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  color: #fff;
}

/* Services */

.main__services {
  margin: 20px auto auto auto;
}

.main__services__list-services {
  display: grid;
  grid-template-areas: 
		"sidenav sidenav  content advert"
		"sidenav sidenav  nav footer"
  ;
}

.services__list-services__list-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 350px;
}

.services__list-services__list-item h2 {
  position: absolute;
  left: 20px;
  bottom: 24px;
  font-family: 'CaviarDreams-Bold', sans-serif;
  font-size: clamp(1.6rem, 5vw, 3rem);
  color: #fff;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  filter: drop-shadow(0 0 0.75rem #000);
  transition: all 0.3s ease;
}

.services__list-services__list-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.services__list-services__list-item:nth-child(1) {
  grid-area: sidenav;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 700px;
}

.services__list-services__list-item:nth-child(1) h2 {
  left: 64px;
  font-size: clamp(1.6rem, 5vw, 4rem);
}

.services__list-services__list-item:nth-child(2) {
  grid-area: content;
}

.services__list-services__list-item:nth-child(3) {
  grid-area: advert;
}

.services__list-services__list-item:nth-child(4) {
  grid-area: nav;
}

.services__list-services__list-item:nth-child(5) {
  grid-area: footer;
}

.services__list-services__list-item:hover > .list-services__list-item__description,
.services__list-services__list-item:focus > .list-services__list-item__description {
  opacity: 1;
}

.services__list-services__list-item:hover h2,
.services__list-services__list-item:focus h2 {
  opacity: 0;
}

.services__list-services__list-item:first-child > .list-services__list-item__description {
  padding: 36px 64px;
}

.list-services__list-item__description {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 36px 20px;
  background: var(--darkBlue700-opacity30);
  opacity: 0;
  transition: all 0.3s ease;
}

.list-services__list-item__description h3 {
  font-family: 'CaviarDreams-Bold', sans-serif;
  color: #fff;
  font-size: clamp(1.6rem, 5vw, 3rem);
}

.list-services__list-item__description p {
  margin: 30px 0;
  font-family: 'CaviarDreams-Bold', sans-serif;
  color: #fff;
  font-size: clamp(1.2rem, 5vw, 1.6rem);
}

/* Projects */

.main__projects {
  margin: var(--section-gap) 0;
}

/* Clients */

.main__clients {
  width: 100%;
}

.main__clients__wrapper-content {
  max-width: var(--section-max-width);
  margin: 124px auto auto auto;
  padding: 0 var(--section-padding);
}

.main__clients__wrapper-content h2 {
  font-family: 'CaviarDreams-Bold', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  color: var(--darkBlue500);
}

.clients__wrapper-content__list-depoiments {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 36px;
  width: 100%;
  margin: 36px auto auto auto;
}

.wrapper-content__list-depoiments__list-item {
  height: max-content;
  padding: 0px 36px;
  border: 2px solid var(--darkBlue500);
  margin-top: 163px;
}

.list-depoiments__list-item__wrapper-image  {
  margin: -163px 0 0 0;
}

.list-item__wrapper-image__furniture {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 270px;
  max-height: 323px;
  height: 323px;
  margin: 0 auto;
  overflow: hidden;
}

.list-item__wrapper-image__furniture img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.list-item__wrapper-image__person {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 166px;
  height: 166px;
  border-radius: 50%;
  overflow: hidden;
  margin: -83px auto 0 auto;
}

.wrapper-content__list-depoiments__list-item p {
  max-width: 250px;
  margin: 30px auto auto auto;
  text-align: justify;
  font-family: 'CaviarDreams-Regular', sans-serif;
  font-size: clamp(1.4rem, 5vw, 1.8rem);
  color: var(--darkBlue500);
}

.list-depoiments__list-item__separator {
  display: block;
  width: 70%;
  height: 2px;
  margin: 20px auto 16px auto;
  background-color: var(--darkBlue500);
}

.wrapper-content__list-depoiments__list-item h3 {
	text-align: center;
	font-family: 'CaviarDreams-Regular', sans-serif;
	font-size: clamp(1.4rem, 5vw, 1.8rem);
	color: var(--darkBlue500);
	margin: 0 0 24px 0;
}

/* Contact */

.main__contact {
  width: 100%;
  margin: 100px auto;
}

.main__contact__banner {
  width: 100%;
}

.main__contact__banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.main__contact h2 {
  width: 60vw;
  margin: -236px auto 24px auto;
  padding: 0px 0px 0px 16px;
  font-family: 'CaviarDreams-Bold', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  color: #fff;
}

.contact__form {
  position: relative;
  width: 60vw;
  margin: 0px auto;
  padding: 6px 60px 16px 60px;
  background-color: var(--darkBlue500);
}

.contact__form__form-wrapper {
  border: none;
}

.contact__form__form-wrapper legend {
  width: 0px;
  height: 0px;
  overflow: hidden;
}

.contact__form__form-wrapper label {
  display: block;
  width: 0;
  height: 0;
  overflow: hidden;
}

.contact__form__form-wrapper input {
  display: block;
  width: 100%;
  margin-top: 24px;
  margin-bottom: 24px;
  padding: 0 16px 4px 16px;

  font-family: 'CaviarDreams-Bold', sans-serif;
  font-size: clamp(1.6rem, 5vw, 2rem);
  line-height: clamp(1.8rem, 5vw, 2.4rem);
  color: #fff;

  outline-style: solid;
  outline-color: var(--darkBlue500);
  border: none;
  border-bottom: 3px solid #fff;
  background-color: transparent;;
}

.contact__form__form-wrapper input::placeholder,
.contact__form__form-wrapper textarea::placeholder {
  color: #fff;
  opacity: 1;
}

.contact__form__form-wrapper textarea {
  width: 100%;
  height: 200px;
  margin-top: 24px;
  margin-bottom: 24px;
  padding: 24px 16px;
  font-family: 'CaviarDreams-Bold', sans-serif;
  font-size: clamp(1.6rem, 5vw, 2rem);
  font-weight: 700;
  line-height: clamp(1.8rem, 5vw, 2.2rem);
  color: #fff;
  outline-style: solid;
  outline-color: var(--darkBlue500);
  border: 3px solid #fff;
  background-color: transparent;
  resize: none;
}

.contact__form__form-wrapper__alert-message {
  margin-top: -16px;
  font-size: 1.6rem;
  color: #fff;
  visibility: hidden;
  opacity: 0;
  height: 0;
  transition: all .4s;
}

.--alert-active {
  margin-top: -10px;
  visibility: visible;
  height: 24px;
  opacity: 1;
}

.contact__form__button {
  position: relative;
  display: block;
  width: 90%;
  margin: 24px auto;
  padding: 16px 6px;
  font-family: 'CaviarDreams-Bold', sans-serif;
  font-size: clamp(1.2rem, 5vw, 2rem);
  font-weight: 700;
  line-height: clamp(1.8rem, 5vw, 2.2rem);
  color: #fff;
  background-color: transparent;
  border: 2px solid #fff;
  border-radius: 36px;
  cursor: pointer;
  transition: all .3s;
}

.contact__form__button:disabled {
  background-color: var(--darkBlue800);
  border: 2px solid var(--darkBlue800);
  pointer-events: none;
}

.contact__form__button:hover {
  transition: background-color.3s;
  background-color: var(--darkBlue800);
  border: 2px solid var(--darkBlue800);
}

.loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  opacity: 0;
  transition: all .3s;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.contact__form__dialog-box {
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  /* background-color: #fff; */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-80px);
  transition: all .4s linear;
}

.--dialog-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
  transition: all .4s ease;
}

.contact__form__dialog-box__wrapper-dialog {
  display: flex;
  gap: 16px;
  padding: 24px;
  background-color: var(--darkBlue900);
  border-radius: 6px;
}

.contact__form__dialog-box__wrapper-dialog p {
  font-family: 'CaviarDreams-Bold', sans-serif;
  color: #fff;
  margin-top: 6px;
  font-size: 1.6rem;
  font-weight: 500;
  text-align: center;
}

.contact__form__dialog-box__wrapper-dialog a {
  display: flex;
  justify-content: end;
  align-items: center;
  width: 30px;
  color: #fff;
  pointer-events: visible;
  cursor: pointer;
  transition: all .4s;
}

.contact__form__dialog-box__wrapper-dialog a:focus,
.contact__form__dialog-box__wrapper-dialog a:hover {
  background-color: var(--purple800);
}

/* Float Form */

.main__float-form {
  position: fixed;
  bottom: 10px;
  right: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 2;
  pointer-events: none;
}

.float-form {
  max-width: 320px;
  background-color: #ebe5de;
  border-radius: 8px;
  overflow: hidden;
  pointer-events: all;
}

.--form-inactive {
  opacity: 0;
  transform: translateY(80px);
  visibility: hidden;
  transition: all .4s;
}

.--form-active {
  opacity: 1;
  transform: translateY(-10px);
  visibility: visible;
  transition: all .4s;
}

.float-form__header {
  display: flex;
  justify-content: end;
  width: 100%;
  padding: 6px 16px 0px 0px;
  box-sizing: border-box;
  background-color: var(--darkblue400);
}

.float-form__header__button-close {
  display: flex;
  align-items: center;
  padding: 10px;
  cursor: pointer;
  pointer-events: all;
}

.float-form__wrapper-fields {
  width: 100%;
  border: none;
}

.float-form__wrapper-fields legend {
  width: 100%;
  margin: 0;
  padding: 0 16px 16px 16px;
  font-family: 'CaviarDreams-Bold', sans-serif;
  font-size: clamp(1.4rem, 5vw, 1.6rem);
  color: #fff;
  background-color: var(--darkblue400);
}

.float-form__wrapper-fields__alert {
  height: 0;
  margin-top: 6px;
  padding: 0 16px 0 16px;
  visibility: hidden;
  overflow: hidden;
  opacity: 0;
  font-family: 'CaviarDreams-Bold', sans-serif;
  font-size: clamp(1.2rem, 5vw, 1.4rem);
  color: tomato;
  transition: all .4s;
}

.float-form__wrapper-fields__success {
  height: 0;
  margin-top: 6px;
  padding: 0 16px 0 16px;
  visibility: hidden;
  overflow: hidden;
  opacity: 0;
  font-family: 'CaviarDreams-Bold', sans-serif;
  font-size: clamp(1.2rem, 5vw, 1.4rem);
  color: #000;
  transition: all .4s;
}

.--alert-active {
  margin-top: 12px;
  visibility: visible;
  height: 40px;
  opacity: 1;
}

.float-form__wrapper-fields__wrapper-input {
  width: 100%;    
  padding: 0px 16px;
}

.float-form__wrapper-fields__wrapper-input label{
  display: block;
  width: 0;
  height: 0;
  overflow: hidden;
}

legend + .float-form__wrapper-fields__wrapper-input {
  margin-top: 6px;
}

.float-form__wrapper-fields__wrapper-input input,
.float-form__wrapper-fields__wrapper-input textarea,
.float-form__wrapper-fields__wrapper-input select {
  width: 100%;
  margin-top: 6px;
  font-family: 'CaviarDreams-Regular', sans-serif;
  font-size: clamp(1.4rem, 5vw, 1.6rem);
  color: #000;
}

.float-form__wrapper-fields__wrapper-input input {
  padding: 10px 8px;
  font-size: 15px;
  border: none;
}

.float-form__wrapper-fields__wrapper-input textarea {
  height: 100px;
  padding: 10px 8px;
  font-size: 15px;
  resize: none;
  border: none;
}

.float-form__wrapper-fields__wrapper-input select {
  padding: 10px 8px;
  font-size: 15px;
  border: none;
  background-color: #fff;
}

.float-form__wrapper-button-submit {
  width: 100%;
  padding: 0px 16px;
  margin: 10px 0px;
}

.float-form__button-submit {
  position: relative;
  width: 100%;
  padding: 10px;
  border: none;
  color: #fff;
  font-size: clamp(1.2rem, 5vw, 1.3rem);
  font-family: 'CaviarDreams-Bold', sans-serif;
  text-align: center;
  background-color: var(--darkblue400);
  text-transform: uppercase;
  cursor: pointer;
  transition: all .4s;
}

.float-form__button-submit:hover,
.float-form__button-submit:disabled {
  background-color: var(--darkblue300);
}

.loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  opacity: 0;
  transition: all .3s;
}

/* Float form - WhatsApp Button */

.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--darkblue400);
  border: none;
  border-radius: 50%;
  overflow: hidden;
  transition: all .4s;
  box-shadow: 0px 6px 11px 0px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  pointer-events: all;
  z-index: 6;
  color: #fff;
}

.whatsapp-button svg {
  width: 42px;
  pointer-events: none;
  margin-bottom: 6px;
}

/* Footer */

.footer {
  padding: 36px var(--section-padding);
  background: #131b3f;
  background: linear-gradient(15deg, rgba(19,27,63,1) 0%, rgba(37,56,123,1) 93%); 
}

.footer__logo-links {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: max-content;
  margin: 0 auto 32px auto;
}

.footer__logo-links__logo {
  display: block;
  max-width: 150px;
}

.footer__logo-links__list-links a {
  font-family: 'CaviarDreams-Bold', sans-serif;
  font-size: clamp(1.6rem, 5vw, 2rem);
  line-height: clamp(2.8rem, 5vw, 3.2rem);
  color: #fff;
  text-transform: uppercase;
}

.footer__logo-links__separator {
  display: block;
  width: 2px;
  height: 180px;
  background-color: #fff;
}

.footer__contact-itens {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: max-content;
  margin: 0 auto;
}

.footer__contact-itens a,
.footer__contact-itens p {
  font-family: 'CaviarDreams-Regular', sans-serif;
  font-size: clamp(1.4rem, 5vw, 1.6rem);
  line-height: clamp(1.8rem, 5vw, 2.4rem);
  color: #fff;
}

.footer__contact-itens__separator {
  display: block;
  width: 1px;
  height: 16px;
  background-color: #fff;
}

.footer__sociali-media__list-media {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 24px 0 0 0;
}

.footer__sociali-media__list-media a {
  display: block;
  max-width: 28px;
}

@media (min-width: 1500px) {
  .services__list-services__list-item {
    max-height: 500px;
  }

  .services__list-services__list-item:nth-child(1) {
    max-height: 1000px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 36px;
  }

  /* Banner */

  .splide__slide__text-content {
    align-items: center;
    z-index: 2;
  }

  .splide__slide__text-content h2 {
    text-align: center;
  }

  .slide__text-content__call-to-action {
    font-size: clamp(1rem, 5vw, 1.4rem);
  }

  .slide__text-content__call-to-action span {
    width: 24px;
  }

  .splide__slide__text-content h2 {
    filter: initial;
  }

  .splide__slide::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    z-index: 1;
  }

  /* About us */

  .main__about-us {
    padding: 100px 0 64px 0;
    background-position: center left;
  }

  .about-us__wrapper-content__wrapper-paragraphs p {
    text-align: left;
    margin: 0 0 16px 0;
    font-size: clamp(1.8rem, 5vw, 2.2rem);
  }

  /* Services */

  .main__services__list-services {
    display: flex;
    flex-direction: column;
    padding: 0px 24px;
  }

  .services__list-services__list-item {
    margin: 16px 0px;
    overflow: hidden;
  }
  
  .services__list-services__list-item:nth-child(1) {
    max-height: 350px;
  }

  .services__list-services__list-item:nth-child(1) h2 {
    left: 20px;
  }
  
  /* Clients */

  .main__clients__wrapper-content {
    margin: 64px auto auto auto;
  }

  .clients__wrapper-content__list-depoiments {
    margin: 36px auto;
  }

  .wrapper-content__list-depoiments__list-item:first-child {
    margin-top: 84px;
  }

  .wrapper-content__list-depoiments__list-item {
    margin-top: 120px;
  }

  .list-depoiments__list-item__wrapper-image {
    margin: -64px 0 0 0;
  }
  
  /* Contact */

  .main__contact h2 {
    margin: -120px auto 24px auto;
    width: 100%;
  }

  .main__contact__banner img {
    width: 100%;
    min-height: 200px;
    object-fit: cover;
    object-position: center;
  }

  .contact__form {
    width: 91vw;
    margin: 0px auto;
    padding: 24px 16px;
  }

  .contact__form__form-wrapper input {
    margin: 24px 0;
    padding: 0 6px;
    border-bottom: 2px solid #fff;
  }

  .contact__form__form-wrapper textarea {
    width: 100%;
    height: 200px;
    padding: 12px 12px;
    color: #fff;
    border: 2px solid #fff;
    background-color: transparent;
    resize: none;
  }

  .--alert-active {
    margin-top: -10px;
    margin-bottom: 42px;
    visibility: visible;
    height: 24px;
    opacity: 1;
  }

  /* footer */

}

@media (max-width: 480px) {
  .footer__logo-links__logo {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .footer__logo-links__separator {
    width: 100%;
    height: 2px;
  }

  .footer__contact-itens {
    margin: 0 auto 16px auto;
  }

  .footer__contact-itens__separator {
    display: none;
  }
}

.banner-slide-bottom-in {
  animation: banner-slide-bottom-in 900ms ease-in-out forwards;
  opacity: 0;
}

@keyframes banner-slide-bottom-in {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }

  100% {
    opacity: 1;
    transform: translateY(-50%);
  }
}