/* Fonts Download */
@font-face {
  font-family: 'agenda';
  src: url('../fonts/fonnts.com-Agenda.otf');
} @font-face {
  font-family: 'agenda bold';
  src: url('../fonts/fonnts.com-Agenda_Bold.otf');
}

/* Padrão */
* {
  color: var(--color);
  font-family: var(--main-font);
}  * ::selection {
  color: var(--main-color);
  background-color: #343434a7;
  text-shadow: none;
}

html {
  background-color: var(--background-color);
} @media(min-width:0px) and (max-width:400px) {
html {font-size: 4.4vw }
} @media(min-width:401px) and (max-width:600px) { 
html {font-size: 3.6vw}
} @media(min-width:601px) and (max-width:750px) {
html {font-size: 3.3vw}
} @media(min-width:751px) and (max-width:947px) {
html {font-size: 3vw}
} @media(min-width:948px) and (max-width:1050px) {
html {font-size: 2vw}
} @media(min-width:1051px) and (max-width:1200px) {
html {font-size: 1.75vw}
} @media(min-width:1201px) and (max-width:1300px) {
html {font-size: 1.65vw}
} @media(min-width:1301px) and (max-width:1500px) {
html {font-size: 1.5vw}
} @media(min-width:1501px) and (max-width:1700px) {
html {font-size: 1.4vw}
} @media(min-width:1701px) {
html {font-size: 1.3v }
}

body {
  overflow-x: hidden;
  margin: 0px;
} h1, h2, h3, h4, h5, h6, p, span, strong, textarea, form, input {
  font-size: 1em;
  margin: 0;
} a:link {
  text-decoration: none;
} br, a, button, input, img {
  user-select: none;
}

:root {
  --black-color: #000;
  --white-color: #fff;
  --gray-color: #b2b2b2;
  --dark-gray-color: #7b7b7b;
  
  --main-color: #0ebcc9;
  --dark-main-color: #1697a1;

  --background-color: var(--black-color);
  --color: var(--white-color);

  --main-font: 'Agenda';
}

.centered {
  display: flex;
  justify-content: center;
  align-items: center;
} .column {
  flex-direction: column;
}

.w12 {width: 100%;}

body::-webkit-scrollbar {
  width: 15px;
} body::-webkit-scrollbar-track {
  background: var(--gray-color);
} body::-webkit-scrollbar-thumb {
  background: var(--main-color);
} body::-webkit-scrollbar-thumb:hover {
  background: var(--dark-main-color);
}

/* Nav */
nav {
  padding: 15px 8%;
  width: 84%;
  font-size: 1.3em;
  position: fixed;
  z-index: 999;
  display: flex;
  background: #000a;
  justify-content: space-between;
  transition: transform 0.5s ease;
} .links {
  gap: 30px;
  height: 100%;
} .links > * {
  font-family: 'agenda bold';
  cursor: pointer;
  transition: color 0.5s ease;
} .links>:hover {
  color: var(--dark-gray-color);
} .bar > i{
  display: none;
}

nav img {
  cursor: pointer;
}

/* header */
header {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 50px;
}

main {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 71.96vw;
  align-items: end;
  padding-inline: 8%;
} main > * {
  z-index: 3;
  position: relative;
  text-align: right;
  text-shadow: 5px 5px 50px #000,
  -5px -5px 50px #000,
  0px 0px 25px #000;
} main .subtitulo {
  margin: 15% 0 30px 0;
  width: 50%;
  text-align: left;
  padding-right: 50%;
} main .titulo {
  width: 70%;
  padding-left: 30%;
  right: 0;
} main .main-form {
  display: flex;
}

main p {
  width: 70%;
  padding-left: 30%;
  font-size: 1.6em;
}

main .square-btn {
  display: inline-flex;
  width: auto;
  box-shadow: 10px 10px 25px #000;
  text-shadow: none;
}

/* Títulos */
.titulo {
  font-weight: initial;
  font-size: 3em;
  font-family: 'agenda bold';
  text-align: right;
}

.subtitulo {
  color: var(--main-color);
  font-size: 2.5em;
  font-family: 'agenda bold';
}

b {
  font-family: 'agenda bold';
}

.vantagens {
  padding: 8%;
  padding-top: 0;
}

.vantagens .subtitulo {
  margin-bottom: 30px;
}

.vant-box {
  position: relative;
  display: flex;
  height: 37vw;
  width: 100%;
}

.vant-cards {
  display: flex;
  justify-content: left;
  z-index: 2;
  align-content: center;
  flex-wrap: wrap;
  width: 46vw;
}

.vant-card {
  width:  calc(23vw - 50px);
  padding: 25px;
  text-align: center;
  margin: 0;
  background-color: #444;
  transition:
    background 0.5s ease;
} .vant-card i {
  display: block;
  font-size: 2.4em;
  margin-bottom: 16px;
}

.vant-card:hover {
  background-color: var(--main-color);
}

.vant-bg {
  background-color: #555;
  background-image: none;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top right;
  transition: all 1s ease;
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  width: 60vw;
  height: 37vw;
}

/* portfolio */
.portfolio {
  padding: 5% 0 8% 0;
  text-align: center;
}

.portfolio-content {
  background-image: url('../img/portfolio-bg.webp');
  background-size: 100% 80%;
  background-position: 0 50%;
  background-repeat: no-repeat;
  padding: 5% 0;
}

.portfolio-slide {
  width: 50vw;
  margin: auto;
  height: 28.12vw;
  border: 3px #333 solid;
  background-color: #000;
  transition: transform 0.5s ease;
}

.portfolio-slide:hover {
  transform: scale(1.04);
}

.portfolio-video {
  object-fit: cover;
  height: auto;
  width: 100%;
}

.portfolio .square-btn {
  width: auto;
  margin: 0;
}


/* etapas */
.etapas {
  padding: 0 8% 18% 8%;
}

.etapas p:first-child {
  font-size: 1.5em;
  width: 70%;
}

.cards-container {
  width: 110%;
  margin-left: -5%;
  display: flex;
  padding: 10% 0 5% 0;
}

.card {
  background-color: var(--main-color);
  margin: 0 0 0 2%;
  width: 20%;
  height: 60vh;
  padding: 0 1.5%;
  border-radius: 50px;
  text-align: center;
  font-weight: bold;
}

.card .content {
  height: 100%;
  align-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 30px 0;
}

.card .content b {
  width: 100%;
  font-size: 1.1em;
}

.card.bottom {
  transform: translateY(40%);
}

.line {
  width: calc(10.625% - 3.5px);
  height: 10%;
  padding-left: 2%;
  position: absolute;
  border: #fff solid;
  border-width: 3.5px 3.5px 0 0;
} .line.top {
  transform: translateY(100%);
} .line.top.a {
  left: calc(27% - 1.75px);
} .line.top.b {
  left: calc(72.98% + 1.75px);
} .line.bottom {
  border-width: 0 3.5px 3.5px 0;
  left: 50%;
  margin-top: 65vh;
}

/* Backgrounds */
.s-bg {
  position: absolute;
  left: 0;
  z-index: 0;
  width: 100%;
  transform: translateY(-15%);
  pointer-events: none;
}

.bg-falso {
  position: absolute;
  z-index: -1;
  left: 0;
  top: -10vw;
  pointer-events: none;    
  transition: width 1.5s ease, opacity 1.5s ease;
  opacity: 0;
  width: 0;
} .bg-falso.active {
  opacity: 1;
  width: 100vw;
}

/* Rodapé */
footer {
  padding: 5%;
}

footer .content {
  margin: 15% 10% 5% 10%;
  width: 30%;
} .square-btn {
  background: var(--main-color);
  padding: 15px 30px;
  margin: 30px 0;
  display: block;
  width: min-content;
  transition: background 0.5s ease,
} .square-btn:hover {
  background: var(--dark-main-color);
}

footer form {
  align-items: flex-start;
  gap: 15px;
  display: flex;
  justify-content: center;
  margin: 18% 10% 5% 10%;
  width: 30%;
}

footer input, footer textarea {
  background: var(--gray-color);
  color: var(--black-color);
  margin:0;
  border: 3px solid var(--gray-color);
} footer input {
  width: 75%;
  padding: 10px;
} footer textarea {
  width: 100%;
}
footer input::placeholder {
  color: var(--white-color);
}

footer input:hover, footer textarea:hover {
  border: var(--dark-gray-color) 3px solid;
}

footer form button {
  background-color: var(--main-color);
  padding: 10px 30px;
  border: none;
  font-size: 1.2em;
  margin: auto;
  cursor: pointer;
  transition: background 0.5s ease;
} footer form button:hover {
  background-color: var(--dark-main-color);
}

.midias {
  padding: 0 5%;
  margin-left: 5%;
} .midias p {
  margin: 0;
} .midias i {
  margin: 15px 8px;
  font-size: 1.5em;
}

/* animações */
.opacity {
  opacity: 0;
  transition: opacity 1s ease;
} .opacity.active {
  opacity: 1;
}

.mortal, .mortal-alt {
  transition: transform 1s ease;
  display: inline-block;
} .mortal.active, .mortal-alt.active {
  transform: rotateX(360deg);
} .mortal-alt {
  transition-delay: 3s;
}

/* ------------- */
@media (max-width: 947px){
  .fix {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    padding: 8% 0;
  }

  .fix>* {
    width: 90%;
    padding-inline: 5%;
  }

  .bar {
    position:relative;
    display: flex;
    align-items: center;
  } .links {
    position:fixed;
    width:100vw;
    left: 0;
    top: 0;
    height: auto;
    flex-direction: column;
    background-color: var(--dark-main-color);
    color: #00000048;
    transform: scale(0.5);
    transition: 0.5s ease;
    opacity: 0;
    pointer-events: none;
  } .bar:hover .links{
    transform: scale(1);
    opacity: 1;
    display:flex;
    pointer-events: all;
  } .display-none-cell {
    display: none;
  } .bar i {
    display: flex;
    font-size: 1.5em;
  } .links > * {
    padding: 15px;
  }

  main {
    width: 90%;
    margin: 92px 0 0 0;
    padding: 5%;
    align-items: center;
    height: auto;
  } main .subtitulo {
    padding: 0;    
    width: 100%;
    font-size: 2em;
    margin: 30px 0;
  } main p, main .titulo {
    text-align: left;
    width: 100%;
    padding: 0;
    margin: 20px 0;
  } main .titulo {
    font-size: 2em;
    margin: 0;
  } main p{
    font-size: 1.4em;
  }

  .vantagens {
    padding: 8% 5vw
  }

  .vant-box {
    height: auto;
    width: 90vw
  }

  .vant-cards {
    width: 100%;
  }

  .vant-card {
    width: calc(50% - 50px);
    justify-content: center;
    align-content: space-between;
  }

  .vant-bg {
    width: 90vw;
    height: 71.5vw;
    position: relative;
    background-position: 100% 50%;
    background-size: 130%;
  }

  .portfolio-slide {
    width: calc(100vw - 6px);
    height: 56.2vw;
  }

  .etapas {
    margin-top: 5%;
  }

  .etapas p:first-child {
    width: 80%;
  }

  .card {
    height: 40vh;
    margin: 5%;
    font-size: 1.3em;
  }

  .card.bottom {
    transform: translate(0);
  }

  .line.top {
    display: none;
  }

  .line.bottom {
    border-width: 0 0 0 5px;
    width: 0;
    margin-top: 35%;
    z-index: -1;
    height: 130vh;
  }
  
  .bg-falso {
    object-fit: cover;
    top: 92px;
    object-position: bottom;
  } .bg-falso.active {
    width: 100%;
    height: 90vh;
  }

  .s-bg {
    height: 130%;
    width: 100%;
    object-fit: cover;
    object-position: 50% 0;
    left: 0;
  }

  footer .s-bg {
    transform: translate(0);
    z-index: -1;
  } footer .content {
    margin: 0;
    font-size: 1.3em;
    width:90%;
    text-shadow:
    20px 20px 20px #000,
    10px 10px 20px #000,
    0px 0px 20px #000;
  } footer .subtitulo {
      text-align: center;
  } .square-btn, footer form button {
    text-shadow: none;
    margin: 30px auto;
    box-shadow: #000 10px 10px 20px;
  }
  .midias {
    text-align: center;
  }
  .logo {
    width: 100%;
  }
}