﻿/* Conteúdo Principal */

.first-banner {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  justify-content: center;
  background-image: url("../images/pngs/GoRateAirportHiveImgDarken.png");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
  //aspect-ratio: 16/9;
  padding-top: 7rem;
  padding-bottom: 7rem;
  max-height: 30vh;
  color: white;
}

.first-banner > .left {
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.5rem;
  text-align: left;
  justify-content: flex-end;
  align-items: flex-start;
  align-content: flex-start;
}

.logo {
  width: 9rem;
}

.left > .text {
  margin: 0;
  width: 45ch;
  line-break: auto;
  font-size: 1.2rem;
  line-height: 1.5rem;
}

.left > .title {
  color: white;
  /* line-height: 2.6rem; */
}

.right > .svgs {
  width: 70%;
  height: 1%;
  transform: scale(1.4);
  position: relative;
  left: 30%;
  overscroll-behavior: contain;
  filter: drop-shadow(30px 20px 30px #4d4d4da4);
  pointer-events: none;
}

@media screen and (max-width: 820px) {
  .first-banner {
    background-position: calc(100vw - 135vw);
    aspect-ratio: none;
    background-size: cover;
    height: 35vh;
  }
}
@media screen and (max-width: 720px) {
  .first-banner {
    background-position: calc(100vw - 205vw);
    aspect-ratio: 16/9;
    background-size: cover;
    height: 37vh;
  }
}

@media screen and (max-width: 820px) {
  .first-banner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .left {
    min-width: 90%;
    margin-bottom: 0.7rem;
  }
  .right > .svgs {
    position: sticky;
    left: 1rem;
    width: 55%;
    left: 27%;
    padding: 1rem 0;
    filter: drop-shadow(10px 10px 10px #4d4d4d7f);
  }
  .burger {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 1.8rem;
    height: 1.8rem;
    padding: 0.4rem;
    gap: 1rem;
    transition: 0.3s all cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  .menu {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.7rem;
  }
  .links {
    display: none;
  }
  .links-mobile-out {
    opacity: 1;
    position: absolute;
    left: 100%;
    width: 100vw;
    display: flex;
    flex-direction: column;
    background-color: #eff6ff;
    overflow: clip;
    text-align: center;
    box-shadow: inset 0px 3px 3px 0px rgba(0, 0, 0, 0.13);
    animation: disappear-left 1.3s ease-in-out 0s 1 normal forwards;
  }
  .links-mobile {
    opacity: 0;
    position: absolute;
    left: 100%;
    width: 100vw;
    display: flex;
    flex-direction: column;
    background-color: #eff6ff;
    overflow: clip;
    text-align: center;
    box-shadow: inset 0px 3px 3px 0px rgba(0, 0, 0, 0.13);
    animation: appear-left 1.3s ease-in-out 0s 1 normal forwards;
    /* animation: name duration timing-function delay iteration-count direction fill-mode; */
  }
  .nav-link {
    color: black;
    text-decoration: none;
    padding: 0.7rem 2rem;
    transition: 1s all ease-in-out;
  }
  .nav-link:first-child {
    padding-top: 1.5rem;
  }
  .nav-link:last-child {
    padding-bottom: 1.5rem;
  }
}

.features {
  z-index: 3;
  width: 100%;
  display: grid;
  grid-template-columns: 50% 50%;
  background-color: #eff6ff;
}

.features > video {
  max-width: 100%;
}

.info-contacts {
  max-width: 360px;
  margin: auto;
  padding: 3rem;
}

.info {
  max-width: 360px;
  padding: 3rem;
}
.info-features {
  max-width: 470px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
  justify-content: center;
  align-items: center;
  align-content: center;
  flex-wrap: nowrap;
  margin: auto;
}

.features > img {
  aspect-ratio: 16/9;
  width: 100%;
}

@media screen and (max-width: 800px) {
  .features {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding-bottom: 3rem;
    width: 100vw;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    align-content: center;
  }
  .features > img {
    max-width: 100%;
    box-shadow: 0px 6px 3px rgba(0, 0, 0, 0.15);
  }
  .features > .info {
    gap: 2rem;
    max-width: 100vw;
    width: fit-content;
    padding: 1rem;
  }
}

.funcionalidades {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding-top: 4.2rem;
  padding-bottom: 4.2rem;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.funcionalidades > p {
  max-width: 720px;
}

.funcionalidades > .icons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  align-content: center;
  align-items: flex-start;
  justify-content: center;
  column-gap: 4rem;
  row-gap: 4rem;
}

.icons > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  align-content: center;
  flex-wrap: nowrap;
  gap: 1rem;
}

.icons > div > img {
  display: flex;
  flex-direction: row;
  /* max-width: 300px; */
  max-height: 300px;
  height: auto;
  border-radius: 7px;
  box-shadow: 0 15px 23px 0 rgba(0, 0, 0, 0.1);
}

.icons > div > b {
  font-size: 1.15rem;
  width: fit-content;
  height: fit-content;
}

.icons > div > object {
  max-width: 5rem;
  filter: invert(60%) sepia(79%) saturate(2450%) hue-rotate(167deg)
    brightness(100%) contrast(100%);
}

@media screen and (max-width: 800px) {
  .funcionalidades > .icons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-items: center;
    align-items: start;
    justify-content: center;
    align-content: center;
    gap: 1.3rem;
    margin-top: 1rem;
  }
}

.funcs-vants {
  display: flex;
  flex-direction: row;
  background-color: #f4f5f7;
  background-repeat: no-repeat;
  background-size: cover;
  align-content: center;
  justify-content: center;
  align-items: flex-start;
  justify-items: center;
  padding: 4.3rem 5vw;
  gap: 5rem;
}

.funcs {
  border-top: 1.6rem solid #2e78ff;
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 2rem 1.5rem;
  padding-top: 1.3rem;
  border-radius: 13px;
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
  box-shadow: 3px 3px 2px 1px rgba(0, 0, 0, 0.116);
}

.inner {
  padding: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.inner > div > h3 {
  width: fit-content;
}

.inner > div > .item {
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin: 0.43rem 0;
  align-items: center;
}

.item > p {
  width: fit-content;
  letter-spacing: 0.4px;
  margin: 0;
  padding: 0;
}

.item > object {
  width: 1.6rem;
  filter: invert(60%) sepia(79%) saturate(2450%) hue-rotate(191deg)
    brightness(90%) contrast(100%);
}

@media screen and (max-width: 800px) {
  .funcs-vants {
    flex-direction: column;
    align-items: center;
  }
  .funcs {
    width: clamp(300px, 50vw, 500px);
  }
}

.case-study {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  align-items: center;
  flex-wrap: nowrap;
  padding: 3rem 0;
  padding-bottom: 1rem;
}

.case-study > h2 {
  border-bottom: 3px solid #358bf5;
}

.case-study > div {
  margin: 1rem 0;
  text-align: center;
}

.case-study > div > p,
.case-study > div > b {
  padding: 0;
  margin-top: 0.7rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  text-transform: capitalize;
}

.case-study > div > b {
  padding: 0 1rem;
  font-size: 1.1rem;
  color: #2e78ff;
}

.tools {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 2rem 0;
  gap: 2.5rem;
  max-width: 100%;
  justify-content: center;
  align-content: flex-start;
  align-items: stretch;
  width: calc(100vw * (1 / 2));
}

@media screen and (max-width: 900px) {
  .tools {
    width: 100vw;
  }
}

.tool {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  max-width: 35vw;
  background-color: #eff6ff;
  border-radius: 3px;
  overflow: hidden;
  max-width: 350px;
}

.tool > .text {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1rem;
  padding: 0.5rem 1rem;
  align-content: center;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.tool > .text > p {
  text-align: left;
}

.tool > .text > object {
  max-width: 2rem;
  max-height: 2rem;
  padding: 0.5rem;
  text-align: center;
  border-radius: 100%;
  background-color: #2e78ff;
}

.tool > img {
  max-height: 318px;
  width: 100%;
  image-rendering: optimizeQuality;
}

hr {
  margin-bottom: 3rem;
  margin-top: 4rem;
  width: 20%;
  max-width: 200px;
  border-radius: 200px;
  border: 0px solid black;
  height: 1.5px;
  background-color: black;
}

.press {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  background-color: #f4f4f4;
  padding-top: 4rem;
  padding-bottom: 6rem;
}

.press > .title-bar {
  display: flex;
  align-items: center;
  align-content: center;
  flex-direction: row;
  flex-wrap: nowrap;
}

.press > .title-bar > .buttons > .icon-button {
  margin: 0 0.25rem;
  transition: 0.3s all cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.press > .title-bar > .buttons > .icon-button:nth-child(2) {
  transform: rotateZ(180deg);
}

.content {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-color: gray gainsboro;
  scrollbar-width: thin;
  scrollbar-color: gray gainsboro;
  scrollbar-width: thin;
  gap: 0.5rem;
}

.content > .card {
  max-width: 310px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background-color: white;
  border-radius: 3px;
  margin: 1rem;
  scroll-snap-align: start;
  transition: 0.3s all cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.content > .card:hover {
  transform: translateY(-4px);
}

.content > .card > .text {
  padding: 1.2rem;
}

.content > .card > .text > h3 {
  font-size: large;
  text-transform: capitalize;
}

.content > .card > .text > .inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: space-evenly;
  align-items: flex-end;
}

.content > .card > .text > .inner > p {
  line-height: 1.4rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.content > .card > .text > .inner > span {
  padding: 0.5rem 0.8rem;
  border-radius: 5px;
  background-color: gainsboro;
  text-transform: capitalize;
  width: fit-content;
  text-decoration: none;
  transition: 0.5s all cubic-bezier(0.215, 0.61, 0.355, 1);
}

.content > .card > .text > .inner > span:hover {
  background-color: #358bf5;
  color: white;
  box-shadow: 5px 5px 3px 1px rgba(220, 220, 220, 0.514);
}

.video-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 4rem 0;
  row-gap: 2rem;
  background-color: #f4f5f7;
}

.video-demo > video {
  max-width: 700px;
  aspect-ratio: 16/9;
  border-radius: 10px;
  box-shadow: 8px 8px 10px 0px rgba(128, 128, 128, 0.452);
}

#btnDemo {
  border-radius: 9px;
  font-size: large;
}
