@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500;700&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
  list-style: none;
  scroll-behavior: smooth;
}

:root {
  --bg-color: #eaeef0;
  --text-color: #1f3a61;
  --sub-text-color: #6d6e71;
  --primary-color: #1f3a61;
  --secondary-color: #d4dbe3;
  --details-color: #f27044;

  --normal-font: 15px;
  --big-font: 48px;
  --title: 56px;
  --text: 23px;
}

body {
  background: var(--bg-color);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* NAVBAR */

header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #1f3a61;
  background: transparent;
  padding: 14px 0px;
  transition: all 0.45s ease;
}

/* AJUSTES MOBILE */

@media only screen and (max-width: 1040px) {
  header {
    display: none;
  }

  .section1 {
    padding: 0 !important;
  }

  .random-bar-container {
    display: none;
  }

  .random-bar {
    display: none;
  }

  .hamburguer-menu {
    position: fixed; /* POSIÇÃO DO MENU HAMBURGUER */
    display: flex;
    width: 100%;
    height: 60px;
    z-index: 1;
    background-color: var(--primary-color);
    justify-content: space-between;
    padding: 0 4%;
    align-items: center;
    transition: all 1s ease;
  }
  .hamburguer-menu button{
    background-color: transparent;
    border: none;
  }

  .hamburguer-menu img {
    width: 50px;
    height: 50px;
    cursor: pointer;
  }

  .menu {
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.3);
    background-color: rgba(0, 0, 0, 0.4);
    transition: all 0.5s ease;
    transform: translateX(-10000px);
  }
  .menu-container {
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 2;
    background-color: var(--primary-color);
    padding: 0 30px;
    transition: all 0.5s ease;
    transform: translateX(-10000px);
  }

  .navlist-mobile {
    margin: 0 !important;
    padding: 0 !important;
  }
  .navlist-mobile img {
    width: 100px;
    height: 100px;
  }

  .navlist-mobile a {
    text-decoration: none;
    color: #fff;
    font-size: 23px;
    margin: 0 !important;
  }
  .navlist-mobile button {
    text-decoration: none;
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 23px;
    margin: 0 !important;
  }
  .navlist-mobile button:hover {
    color: #3984fe;
  }
  .navlist-mobile a {
    color: var(--bg-color);
  }
  .navlist-mobile li {
    border-bottom: 1px solid #fff;
    padding: 10px;
  }

  .close-menu {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }

  .close-menu:hover,
  .close-menu:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  .slides {
    padding: 30% 0 0 5% !important;
  }

  .logo {
    top: 10%;
  }

  .section-title {
    font-size: 3rem;
  }

  .sub-section {
    flex-direction: column;
    text-align: center;
  }

  .sub-section p {
    width: 100%;
    margin-top: 30px;
  }

  .steps-section {
    flex-direction: column;
  }

  .step-icon-section {
    display: flex;
    margin-bottom: 20%;
    border-bottom: 1px solid var(--primary-color);
    text-align: center;
    align-items: center;
  }

  .section-title-white {
    font-size: 2.5rem;
  }

  .sub-container {
    flex-direction: column;
  }

  .sub-section1 {
    margin-bottom: 20px;
  }
  .sub-section2 {
    margin: 20px 0;
  }
  .sub-section3 {
    margin: 20px 0;
  }

  .buttons-container {
    flex-direction: column;
    align-items: center;
  }

  .section5 button {
    width: 300px;
  }

  .buttons-container button:first-child {
    margin: 10px 0;
  }
  .buttons-container button:last-child {
    margin: 10px 0;
  }

  .navlist-footer {
    flex-wrap: wrap;
  }

  .modal-container {
    width: 100%;
    height: 100%;
  }

  .text-slides {
    font-size: 350%;
  }

  .navlist-logo {
    display: none;
  }

  .navlist-logo-mobile {
    margin: 0 auto;
    align-self: center;
    display: flex;
  }

  .navlist-footer {
    display: flex;
    justify-content: center;
  }

  .footer-container {
    display: flex;
    flex-direction: column;
  }
  .footer-text {
    align-self: center;
    margin-top: 30px;
  }

  .section6 {
    padding-bottom: 0;
  }

  .data-modal-container {
    height: 100%;
    width: 100%;
  }

  .text-slides {
    font-size: 2.5rem;
  }

  .terms {
    width: 100% !important;
  }

  .form-check-label {
    font-size: 10px;
    margin-bottom: 40px !important;
  }

  .data-modal-container form {
    width: 90% !important;
  }

  .manual-navigation {
    bottom: -4%;
  }
  .navigation-auto {
    bottom: -4%;
  }
}

@media only screen and (max-width: 390px) {
  .text-slides {
    font-size: 300%;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .hamburguer-menu {
    padding: 0 4%;
  }

  .logo {
    top: 12%;
  }

  .data-modal-container {
    height: 100%;
  }

  .form-check-label {
    font-size: 10px;
    margin-bottom: 20px !important;
  }

  .text-slides {
    font-size: 2.5rem;
  }

  .data-modal-container input[type="text"] {
    width: 300px !important;
  }

  .manual-navigation {
    bottom: -6%;
  }
  .navigation-auto {
    bottom: -6%;
  }
  .close1 {
    margin-top: 150px !important;
    margin-right: 20px !important;
  }
}

/* WEB */

.navlist {
  display: flex;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
}

.navlist a {
  text-decoration: none;
  color: var(--text-color);
  font-size: var(--normal-font);
  font-weight: 500;
  text-transform: uppercase;
  transition: 0.5s;
}
.navlist button {
  text-decoration: none;
  color: var(--text-color);
  border: none;
  background-color: transparent;
  font-size: var(--normal-font);
  font-weight: 500;
  text-transform: uppercase;
  transition: 0.5s;
}
.navlist a:hover {
  color: var(--sub-text-color);
}

.navlist li {
  margin: 0 50px;
}
.navlist li:last-child {
  margin-right: 0;
}
.random-bar {
  width: 265px;
  height: 10px;
  background-color: var(--primary-color);
}

.random-bar-container {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: flex-end;
}

#nav2 li:not(:last-child) {
  margin: 0 20px;
}
#nav2 li:first-child {
  margin-left: 0;
}

/* SECTION 1 */

.section1 {
  position: relative;
  background-image: url("./images/background.png");
  background-position: center;
  background-size: cover;
  height: 100vh;
  width: 100%;
  padding: 0 5%;
}

.logo {
  position: absolute;
}

.slider {
  margin: 0 auto;
  width: 100%;
  height: 80%;
  overflow: hidden;
}

.slides {
  width: 400%;
  height: 170px;
  display: flex;
  padding: 5% 0 0 5%; /* ALTERAR CASO POSIÇÃO HAMBURGUER*/
}

.slides input {
  display: none;
}

.slide {
  width: 25%;
  position: relative;
  transition: 1s;
}

.manual-navigation {
  position: absolute;
  width: 100%;
  left: 0;
  display: flex;
  justify-content: center;
}

.manual-btn {
  border: 2px solid var(--primary-color);
  padding: 5px;
  border-radius: 10px;
  cursor: pointer;
  transition: 1s;
}

.manual-btn:not(:last-child) {
  margin-right: 20px;
}

.manual-btn:hover {
  background-color: rgba(31, 58, 97, 1);
}

#radio1:checked ~ .first {
  margin-left: 0;
}
#radio2:checked ~ .first {
  margin-left: -25%;
}
#radio3:checked ~ .first {
  margin-left: -50%;
}

.navigation-auto div {
  border: 2px solid var(--primary-color);
  padding: 5px;
  border-radius: 10px;
  cursor: pointer;
  transition: 1s;
}
.navigation-auto {
  position: absolute;
  width: 100%;
  left: 0;
  display: flex;
  justify-content: center;
}

.navigation-auto div:not(:last-child) {
  margin-right: 20px;
}

#radio1:checked ~ .navigation-auto .auto-btn1 {
  background-color: var(--primary-color);
}
#radio2:checked ~ .navigation-auto .auto-btn2 {
  background-color: var(--primary-color);
}
#radio3:checked ~ .navigation-auto .auto-btn3 {
  background-color: var(--primary-color);
}

.text-slides {
  font-weight: 200;
  color: var(--text-color);
}

/* SECTION 2 */

.section2 {
  width: 100%;
  margin-top: 30px;
  padding: 0 10%;
  overflow: hidden;
}

.section-title {
  font-weight: 700;
  color: var(--text-color);
  border-bottom: 1px solid var(--primary-color);
  margin: 100px 0 30px 0;
}
.sub-section {
  display: flex;
  width: 100%;
}

.icons-container {
  display: flex;
  align-items: flex-start;
  width: 30%;
}

.icons-container img:last-child {
  margin-left: 5px;
}
.icons-container img:first-child {
  margin-right: 5px;
}

.sub-section p {
  font-size: var(--text);
  font-weight: 400;
  color: var(--sub-text-color);
}

/* SECTION 3 */

.section3 {
  width: 100%;
  margin-top: 50px;
  padding: 0 10%;
  overflow: hidden;
}

.step-icon-section {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.step-icon-section:last-child {
  margin-right: 0;
}

.step-icon-section:first-child {
  margin-left: 0;
}

.step-icon {
  width: 100px;
  height: 100px;
  background-color: var(--secondary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  padding: 60px;
  margin-bottom: 50px;
}

.steps-section {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  margin-top: 70px;
}

.steps-text {
  font-size: var(--text);
  color: var(--sub-text-color);
  font-weight: 400;
}
.steps-title {
  font-size: var(--text);
  color: var(--sub-text-color);
  font-weight: 700;
}

/* SECTION 4 */

.section4 {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-image: url("./images/horizontal-shot-high-mountains-covered-with-snow-white-clouds-group-people-hiking\ 1.png");
  background-size: cover;
  background-position: center;
}

.section-title-white {
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid #fff;
  margin: 100px 10% 30px 10%;
}

.sub-container {
  display: flex;
  justify-content: space-around;
  width: 100%;
  margin: 0 !important;
  padding: 0 10%;
}

.section4 button {
  width: 270px;
  height: 58px;
  border: none;
  border-radius: 10px;
  font-size: 27px;
  color: var(--primary-color);
  overflow: hidden;
}

.sub-section1 div {
  margin-bottom: 50px;
}

.sub-section1 {
  width: 100%;
}
.sub-section2 {
  width: 100%;
}
.sub-section3 {
  width: 100%;
}

.sub-title {
  font-size: 28px;
  color: var(--details-color);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0;
  line-height: 25px;
}

.sub-text {
  font-size: 23px;
  color: #fff;
  font-weight: 200;
  margin-top: 0;
  line-height: 25px;
}

/* SECTION 5 */

.section5 {
  width: 100%;
  display: flex;
  height: 400px;
}

.section5 button {
  height: 95px;
  border: none;
  border-radius: 10px;
  font-size: var(--text);
  color: var(--primary-color);
}

.buttons-container {
  margin: 100px auto 0 auto;
  display: flex;
}

/* SECTION 6 */

.section6 {
  width: 100%;
  padding: 0 5%;
}

/* FOOTER */

footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #1f3a61;
  background: transparent;
  transition: all 0.45s ease;
  margin: 30px 0 20px 0;
}

footer img {
  padding-bottom: 30px;
}

.navlist-footer {
  display: flex;
  align-items: flex-end;
  margin: 0 !important;
  padding: 0 0 40px 0;
  width: 100%;
}

.navlist-footer a {
  text-decoration: none;
  color: var(--text-color);
  font-size: var(--normal-font);
  font-weight: 500;
  text-transform: uppercase;
  transition: 0.5s;
}
.navlist-footer button {
  text-decoration: none;
  color: var(--text-color);
  background-color: transparent;
  border: none;
  font-size: var(--normal-font);
  font-weight: 500;
  text-transform: uppercase;
  transition: 0.5s;
}
.navlist-footer a:hover {
  color: var(--sub-text-color);
}

.navlist-footer li {
  margin: 0 2%;
}
.navlist-footer li:first-child {
  margin-left: 0;
}

.icons-container {
  display: flex;
  align-items: flex-start;
  width: 30%;
}

.icons-container-footer {
  display: flex;
  flex-direction: row;
  margin-right: 10px;
}

.icons-container-footer img:last-child {
  margin-left: 5px;
}
.icons-container-footer img:first-child {
  margin-right: 5px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-container p {
  color: var(--sub-text-color);
  align-items: center;
}
.footer-text {
  display: flex;
  flex-direction: column;
  text-align: center;
}

/* MODAL */

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--secondary-color);
  border-radius: 10px;
  margin: 2% auto;
}

.modal-container input:focus textarea:focus {
  border-style: none;
  border: none;
  outline: none;
}
.modal-container input {
  display: flex;
  border: none;
  background-color: var(--bg-color);
  width: 350px;
  height: 40px;
  border-radius: 5px;
  margin-bottom: 10%;
  padding: 10px;
  outline: none;
  color: var(--sub-text-color);
}
.modal-container label {
  color: var(--primary-color);
}
.modal-container span {
  color: var(--primary-color);
  margin-top: 50px;
  margin-right: 100px;
  align-self: flex-end;
}
.modal-container label {
  margin-bottom: 1%;
}
.modal-container button {
  color: #fff;
  border: none;
  border-radius: 5px;
  background-color: var(--primary-color);
  width: 150px;
  height: 60px;
  margin-bottom: 100px;
}
#input3 {
  display: flex;
  border: none;
  background-color: var(--bg-color);
  width: 350px;
  height: 150px;
  border-radius: 5px;
}

.close1 {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close1:hover,
.close1:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.close2 {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close2:hover,
.close2:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.terms {
  font-size: 10px;
  width: 80%;
  color: var(--primary-color);
}

.data-modal-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--secondary-color);
  border-radius: 10px;
  margin: 0 auto;
}

.data-modal-container form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 60%;
  align-items: flex-start;
}

.data-modal-container input[type="text"] {
  display: flex;
  border: none;
  width: 350px;
  height: 40px;
  border-radius: 5px;
  margin-bottom: 10%;
  padding: 10px;
  outline: none;
  color: var(--sub-text-color);

}
.data-modal-container input[type="text"]:focus textarea:focus {
  border-style: none;
  border: none;
  outline: none;
}
.data-modal-container label {
  color: var(--primary-color);
}
.data-modal-container span {
  color: var(--primary-color);
  margin-top: 50px;
  margin-right: 100px;
  align-self: flex-end;
}
.data-modal-container label {
  margin-bottom: 4%;
}
.data-modal-container button {
  color: #fff;
  border: none;
  border-radius: 5px;
  background-color: var(--primary-color);
  width: 150px;
  height: 60px;
  margin-bottom: 100px;
}

/* AJUSTES MOBILE */

@media only screen and (min-width: 1040px) {
  .hamburguer-menu {
    display: none;
  }

  .logo {
    top: 14%;
  }

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

  .sub-section {
    flex-direction: row;
  }

  .sub-section p {
    width: 70%;
  }

  .steps-section {
    flex-direction: row;
  }

  .step-icon-section {
    height: 300px;
    margin: 0 2%;
  }

  .section3 {
    height: 900px;
  }

  .section-title-white {
    font-size: var(--title);
  }

  .section4 {
    height: 500px;
  }

  .menu {
    display: none;
  }

  .section5 button {
    width: 430px;
  }

  .buttons-container button:first-child {
    margin-right: 70px;
  }
  .buttons-container button:last-child {
    margin-left: 70px;
  }

  .modal-container {
    width: 60%;
  }

  .text-slides {
    font-size: var(--big-font);
  }
  .navlist-logo-mobile {
    display: none;
  }

  .section6 {
    padding-bottom: 30px;
  }

  .data-modal-container {
    height: 80%;
    width: 60%;
    margin: 5% auto;
  }

  .manual-navigation {
    bottom: -3%;
  }
  .navigation-auto {
    bottom: -3%;
  }
}
@media only screen and (min-width: 1280px) and (max-width: 1366px) {
  .data-modal-container {
    height: 100%;
    width: 60%;
    margin: 0% auto;
  }

  .terms {
    width: 100% !important;
  }

  .form-check {
    margin: 20px 0 !important;
  }

  .data-modal-container label {
    font-size: 12px;
  }

  .manual-navigation {
    bottom: -6%;
  }
  .navigation-auto {
    bottom: -6%;
  }
}
