/*estilos gerais */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
}

/*Estilos Typografia*/

.text-lm {
  font-size: 1.25em;
  /* 16px / 16px = 1 */
  font-style: normal;
  font-weight: 400;
  line-height: 1.5em;
  /* 24px / 16px = 1.5 */
  /* 160% */
  letter-spacing: -0.011rem;
  /* -0.176px / 16 = -0.011rem */
  color: #162133;
  text-align: start;
  /* equivalent to leading-trim: both; */
  font-variant-numeric: lining-nums tabular-nums stacked-fractions slashed-zero;
  /* font-feature-settings: "cv10" on, "cv07" on, "cv01" on, "ss02" on, "ss01" on,
    "cpsp" on, "ss03" on, "case" on !important; */
  /*padding-top: 1.25rem; /* equivalent to text-edge: cap; */
}

.heading-s {
  font-size: 1.25em;
  /* 20px / 16px = 1.25 */
  font-style: normal;
  font-weight: 500;
  line-height: 1.75em;
  /* 28px / 16px = 1.75 */
  /* 140% */
  letter-spacing: -0.02125rem;
  /* -0.34px / 16 = -0.02125rem */
  color: #162133;
  text-align: start;
  /* leading-trim: both;*/
  font-variant-numeric: lining-nums tabular-nums stacked-fractions slashed-zero;
  /* font-feature-settings: "cv10" on, "cv07" on, "cv01" on, "ss02" on, "ss01" on,
    "cpsp" on, "ss03" on, "case" on !important; */
  /*padding-top: 1.25rem; /*text-edge: cap; */
}

.heading-m {
  font-size: 1.75em;
  /* 28px / 16px = 1.75 */
  font-style: normal;
  font-weight: 500;
  /*line-height: 2.25em; /* 36px / 16px = 2.25 */
  /* 128.571% */
  letter-spacing: -0.03675rem;
  /* -0.588px / 16 = -0.03675rem */
  color: #162133;
  text-align: start;
  /* leading-trim: both;*/
  font-variant-numeric: lining-nums tabular-nums stacked-fractions slashed-zero;
  /* font-feature-settings: "cv10" on, "cv07" on, "cv01" on, "ss02" on, "ss01" on,
    "cpsp" on, "ss03" on, "case" on !important; */
  /*padding-top: 1.25rem; /*text-edge: cap; */
}

.heading-l {
  font-size: 2.25em;
  /* 36px / 16px = 2.25 */
  font-style: normal;
  font-weight: 500;
  /* line-height: 2.75em; line-height: 44px;  122.222% */
  letter-spacing: -0.0495rem;
  /* -0.792px / 16 = -0.0495rem */
  color: #162133;
  text-align: start;
  /* leading-trim: both;*/
  margin-top: 0;
  font-variant-numeric: lining-nums tabular-nums stacked-fractions slashed-zero;
  /* font-feature-settings: "cv10" on, "cv07" on, "cv01" on, "ss02" on, "ss01" on,
    "cpsp" on, "ss03" on, "case" on !important; */
  /*margin-bottom: 0.5em; padding-top: 1.25rem; /*text-edge: cap; */
}


h2.heading-l {
  font-weight: 800;
  text-transform: uppercase;
}

body {
  width: 100vw;
  max-width: 100%;
  height: max-content;
  font-family: var(font-family);
}

body h1 {
  font-family: var(font-family);
}

a {
  color: #162133;
  text-decoration: none;
  font-weight: 400;
  text-transform: lowercase;
}

li a.menu:hover {
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 0.25rem;
}

:target {
  scroll-margin-top: 100px;
}

#menu li:first-child span {
  color: #525863;
}

.button-primary,
.button-sale,
.button-beta {
  display: inline-flex;
  padding: 0.5rem 1rem;
  /* 8px 16px */
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  /* 4px */
  border: none;
  border-radius: 0.25rem;
  /* 4px */
  background: #005387;
  box-shadow: 0.0625rem 0.0625rem 0px 0px rgba(255, 255, 255, 0.24) inset;
  /* 1px 1px */
  cursor: pointer;
  color: #fff;
  font-variant-numeric: lining-nums tabular-nums stacked-fractions slashed-zero;
  /*font-feature-settings: 'cv10' on, 'cv07' on, 'cv01' on, 'ss02' on, 'ss01' on, 'cpsp' on, 'ss03' on, 'case' on;*/
  font-size: 1rem;
  /* 16px */
  font-style: normal;
  font-weight: 500;
  line-height: 1.5rem;
  /* 24px */
  letter-spacing: -0.011rem;
  /* -0.176px */
}

.button-beta,
.button-sale {
  background: #E03B00;
}


.button-primary:focus,
.button-sale:focus {
  outline: none;
  box-shadow: 0.0625rem 0.0625rem 0px 0px rgba(255, 255, 255, 0.24) inset;
  /* 1px 1px */
}

.button-primary:hover {
  border: none;
  background: #004c7b;
}

.button-sale:hover {
  background: #df6539;
}

.button-primary:active {
  border: none;
  padding: 0.5625rem 1.0625rem 0.4375rem 1.1875rem;
  /* 9px 17px 7px 19px */
  background: #003b60;
  box-shadow: 1px 1px 0px 0px rgba(0, 0, 0, 0.24) inset;
}

.btn-adjust {
  width: 224px;
}

.input_news {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  /* Espaço entre o input e o botão */
}

#input_news {
  display: flex;
  width: 248px;
  padding: 6px 12px;
  align-items: center;
  gap: 4px;
  border-radius: 4px;
  border: 1px solid#005387;
  background: #f0f0f0;
  box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 0.25) inset;
  color: #858585;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  /* 142.857% */
  letter-spacing: -0.084px;
}

#input:hover {
  border: 1px solid#004C7B;
}

#input:focus {
  border: 1px solid #005387;
  background: #fff;
  box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 0.25) inset,
    0px 0px 0px 3px rgba(79, 49, 228, 0.2);
}

/*estilos únicos*/
#logo {
  padding: 0.375rem;
  margin-top: 0.375rem;
}

.logo-footer {
  max-width: 244px;
  width: 100%;
  height: auto;
}

#header {
  position: fixed;
  box-sizing: border-box;
  width: 100%;
  height: 70px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #FFFFFF;
  z-index: 1000;
}

#menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

#menu a,
#language-toggle a {
  display: block;
  padding: 0.5rem;
}

#language-toggle span,
#lang-toggle span {
  color: #525863;
}

#language-toggle {
  padding: 5px;
  margin-top: 0.75em;
}

#language-toggle a {
  text-transform: uppercase;
  font-weight: 600;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#btn-mobile {
  display: none;
}

.select {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 600px) {
  a {
    color: #222020;
    font-weight: 500;
    text-align: center;
  }

  #btn-mobile {
    display: block;
  }

  #menu {
    display: none;
    position: absolute;
    width: 100%;
    top: 70px;
    right: 0px;
    background-color: rgba(183, 195, 206, 0.8);
    height: calc(100vh-70px);
    z-index: 1000;
  }

  nav.active #menu {
    display: block;
  }

  #menu a {
    padding: 1rem 0;
    margin: 0 1rem;
    border-bottom: 2px solid rgba(184, 184, 184, 0.3);
  }

  #menu li:nth-child(1) {
    display: none;
  }

  #btn-mobile {
    display: flex;
    padding: 5rem 1rem;
    border: none;
    background: none;
    cursor: pointer;
    gap: 0.5rem;
  }

  #hamburguer {
    color: #ffffff;
    width: 20px;
    border-top: 3px solid;
  }

  #hamburguer::after,
  #hamburguer::before {
    content: "";
    display: block;
    width: 20px;
    height: 3px;
    background: currentColor;
    margin-top: 5px;
    transition: 0.3s;
    position: relative;
  }

  #nav.active #hamburguer {
    border-top-color: transparent;
  }

  #nav.active #hamburguer::before {
    transform: rotate(-135deg);
  }

  #nav.active #hamburguer::after {
    transform: rotate(135deg);
    top: -8px;
  }
}

/*estilos hero*/
main {
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  background: url(./assets/astronauta_50B.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding-top: 7.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "Noto Sans", sans-serif;
}

.image_wrapper {
  max-width: 1000px;
  height: auto;
  margin: 0 auto;
}

.image_wrapper img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  background-position: top;
  background-position-x: center;
  background-position-y: top;
}

.row {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  margin-top: 6.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slogan {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.row h1 {
  margin: 0 22px;
}

h1 {
  text-align: center;
  font-weight: 900;
  font-size: 3.25rem;
  color: #fff;
}

.form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
  color: #fff;
}

.input_group {
  display: flex;
  gap: 0.625rem;
  justify-content: center;
  align-items: center;
}

.form .input_group input {
  display: block;
  text-decoration: none;
  width: 12.5rem;
  padding: 0.4375rem 0 0.4375rem 0.625rem;
  border-radius: 1.25rem;
  color: #ECECE7;
  border: 1px solid #fff;
  outline: none;
  background-color: transparent;
}

.form .input_group .arrow {
  width: 1.875rem;
  height: 1.875rem;
  cursor: pointer;
  background-color: transparent;
  outline: none;
  border: none;
  transition: all 0.3s ease-in-out;
}

.form .input_group .arrow:hover {
  transform: scale(1.2);
  transition: all 0.3s ease-in-out;
}

.form .input_group .arrow img {
  width: 100%;
  height: 100%;
}

.active {
  cursor: pointer;
  opacity: 1;
}

.inactive {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.5;
}

@keyframes shakeInput {
  0% {
    transform: translateX(0);
  }

  24% {
    transform: translateX(10px);
  }

  50% {
    transform: translateX(-10px);
  }

  74% {
    transform: translateX(5px);
  }

  100% {
    transform: translateX(0);
  }
}

.input-shaking {
  animation: shakeInput 0.5s ease;
  animation-fill-mode: forwards;
}

@media screen and (max-width: 800px) {
  .row {
    flex-direction: column;
    gap: 60px;
  }

  .form {
    margin-top: 20px;
  }
}

@media screen and (max-width: 500px) {
  .image_wrapper {
    margin-top: 100px;
  }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  padding: 20px;
}

.modal {
  background-color: #fff;
  padding: 40px 80px;
  border-radius: 4px;
  width: 400px;
  text-align: center;
}

.modal .wrapper_icon {
  margin-bottom: 20px;
}

.modal .wrapper_icon img {
  width: 80px;
  height: 80px;
}

.modal h2 {
  margin-bottom: 30px;
}

.modal p {
  margin-bottom: 30px;
}

.modal button {
  width: 100%;
  max-width: 400px;
  text-transform: uppercase;
  padding: 18px 40px;
  border-radius: 4px;
  border: none;
  color: #000;
  border: 1px solid #c6c6c6;
  cursor: pointer;
}

.modal-overlay {
  display: none;
}

.userExists {
  display: none;
}

.error {
  display: none;
}

/* Estilos da seção de about */
#about span {
  color: #ce3500;
  margin-top: 4%;
}

#about,
#vacancies {
  margin-bottom: 4%;
}

.about h3,
#onstoq h3 {
  text-align: center;
}

#onstoq li>p {
  height: 320px;
  min-width: 270px;
}

.about h2 {
  text-align: center;
  font-weight: 800;
}

@media (min-width: 1568px) {
  #onstoq li>p {
    height: 260px;
    min-width: 270px;
  }
}

#about h4 {
  text-align: center;
  margin-top: 8%;
  margin-bottom: 2%;
}

.about p,
#onstoq p {
  text-align: justify;
  margin-top: 4%;
  /* Default */
}

#onstoq,
#vacancies-ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
}

#onstoq>li,
#vacancies-ul>li {
  flex: 1;
  flex-direction: column;
  margin: 2%;
  text-align: center;
}

#vacancies-ul>li {
  margin: 0;
  margin-top: 4%;
}

.info-vacancies {
  height: 80px;
}

#onstoq img {
  width: 80px;
  max-width: 100%;
}

/*link*/
#onstoq a,
#investors a,
#beta a,
#vacancies a {
  display: flex;
  text-align: center;
  margin-top: 8%;
  justify-content: center;
}

#investors a,
#beta a {
  justify-content: left;
  margin-top: 16%;
}

#investors .info,
#beta .info {
  margin-top: 16%;
}

#vacancies a {
  text-align: left;
  justify-content: left;
}

#vacancies h3 {
  margin: 0;
  margin-bottom: 4%;
  box-sizing: border-box;
}

.info {
  height: 80px;
  margin-top: 8%;
}

li.solutions>h3 {
  margin-bottom: 20%;
  height: 80px;
}

li.solutions>a {
  justify-content: center;
}

/* Estilos da seção Venda na Onstoq */

.sale.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 3% 0;
  background-color: #162133;
  padding: 40px 0;
}


p.heading-l.manufacturers {
  font-weight: 800;
  color: #fff;
}


.sale-content button {
  margin-top: 10%;
}

@media (max-width: 600px) {
  .sale-content p {
    text-align: center;
    font-size: 1.5em;
  }
}

@media (min-width: 784px) and (max-width: 1450px) {
  .sale-content p {
    text-align: center;
    font-size: 1.75em;
  }
}

/* Estilos da seção de investimento */
.container,
.investors {
  display: flex;
  flex-direction: column;
  /* margin: 4% 20% 0 20%; */
  box-sizing: border-box;
  justify-content: space-around;
  gap: 1.25rem;
  box-sizing: border-box;
  padding: 24px;
}

.container-text {
  display: flex;
  margin: 3% 20% 0 20%;
  box-sizing: border-box;
  justify-content: space-around;
  gap: 2.5rem;
}

#investors,
#beta {
  margin-bottom: 4%;
}

#beta {
  background-color: #162133;
}

.investors-content2,
.beta-content2 {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-around;
  align-items: left;
}

.text-content1 {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 32px 0;
}

.text-content2,
.image-content2 {
  margin: 0;
  flex: 1;
  padding: 0 24px 0 0;
}

.beta-headings {
  color: #ECECE7
}

.beta-text {
  color: #FFFFFF
}

.image-content2 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-content2 img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

#investors a.mail,
#beta a.mail {
  padding: 0;
  display: inline;
  text-decoration: none;
  color: inherit;
  font-weight: 500;
}

.divider {
  border: 0;
  height: 1px;
  background: #cccccc;
  margin: 20px 0;
}

/*sessão de vagas */
.text-col {
  height: auto;
}

.text-col h2,
.text-col h3,
.text-col p {
  margin-bottom: 40px;
}

.text-col a {
  cursor: pointer;
}

/*sessão footer*/
.footer-content h3,
.footer-content a,
.footer-content p {
  color: #fff;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 3% 20%;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  background-color: #162133;
}

.footer-col1,
.footer-col2 {
  flex: 1;
}

.footer-col1 p,
.footer-col2 ul {
  margin-top: 1.25rem;
}

.footer-col2 h3 {
  margin-bottom: 1.25rem;
}

.footer-col2 {
  text-align: center;
}

.footer-col2 ul {
  list-style: none;
}

.call-to-action a,
.call-to-action img {
  display: inline;
  max-width: 0.75em;
}

.email {
  display: flex;
  margin-top: 4%;
  text-align: left;
  color: #ECECE7;
}

.assign {
  display: block;
  margin: 0;
  width: 100%;
  padding: 0.625rem;
  background-color: #162133;
  color: #FFFFFF;
  text-align: center;
}

#lang-toggle,
a.lang-toggle-mob {
  display: none;
}

/* Estilo geral para margens em #onstoq p */
#onstoq p {
  text-align: center;
  margin-top: 4%;
  /* Default */
}

.footer-col2 {
  white-space: nowrap;
}

.solutions {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 2%;
  max-width: 48 0px;
}

.solutions-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  max-width: 480px;
}


/* Estilos para diferentes tamanhos de tela */
@media (min-width: 784px) and (max-width: 1368px) {
  #about {
    margin-top: 8%;
  }

  #onstoq li>p {
    min-height: 400px;
    min-width: 200px;
    gap: 8%;
  }

  #onstoq ul {
    margin: 16%;
  }

  li.solutions {
    gap: 4%;
  }

  li.solutions>h3 {
    margin-bottom: 16%;
    height: 100px;
    padding-right: 4%;
  }

  .about p,
  #onstoq p {
    margin-top: 8%;
    /* Aumenta a margem superior para telas entre 784px e 1368px */
  }

  .info-vacancies {
    margin-top: 8%;
    gap: 4%;
  }

  /* .container {
    margin: 0 8% 0 8%;
  } */

  #vacancies>.container,
  #investors>.container,
  #beta>.container {
    overflow: hidden;
    min-height: 700px;
    box-sizing: border-box;
    position: relative;
  }

  #vacancies>.container {
    min-height: 400px;
    position: relative;
  }

  #onstoq a,
  #vacancies a {
    margin-top: 8%;
  }

  #investors a,
  #beta a {
    margin-top: 16%;
  }
}

@media (min-width: 783px) and (max-width: 961px) {
  #vacancies.container {
    margin-top: 0%;
  }

  #investors a,
  #beta a {
    margin-top: 8%;
  }

  #investors p,
  #beta p {
    text-align: justify;
  }

  .image-content2 {
    display: none;
  }

  .container {
    margin: 12% 8% 0 8%;
    overflow: hidden;
  }

  #onstoq p {
    margin-top: 20%;
    /* Corrige a margem superior */
  }
}

@media (max-width: 783px) {
  #onstoq li>p {
    min-width: 0;
  }

  #about h3 {
    line-height: normal;
  }

  .about {
    margin-top: 16%;
  }

  #about h4 {
    margin-bottom: 4%;
  }

  #onstoq {
    margin-top: 0;
    padding-top: 0;
    display: block;
  }

  #onstoq>li {
    margin-top: 16%;
  }

  #onstoq a,
  .about p,
  #investors a,
  #beta a,
  #vacancies li.solutions {
    margin-top: 8%;
  }

  #investors p,
  #beta p {
    text-align: justify;
  }

  .container-text {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    overflow: auto;
    align-items: center;
    margin: 0;
  }

  .image-content2 {
    display: none;
  }

  .container {
    margin: 4% 8% 0 8%;
    overflow: hidden;
  }

  .container,
  #vacancies-ul {
    display: block;
  }

  .info {
    height: auto;
  }

  li.solutions {
    margin-top: 16%;
    gap: 20%;
  }

  li.solutions>h3,
  li.solutions>p {
    height: auto;
    max-height: 260px;
  }

  #vacancies {
    margin-bottom: 16%;
  }

  .footer-content {
    padding: 8px;
    text-align: center;
    flex-direction: column;
  }

  .assign {
    padding: 8px;
  }

  .call-to-action {
    max-width: 500px;
    justify-content: center;
    font-size: 0.75em;
  }

  .call-to-action p {
    width: auto;
    white-space: nowrap;
  }

  .call-to-action img {
    margin: 0 10px;
  }

  .footer-col2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: nowrap;
  }
}

@media (max-width: 600px) {

  #lang-toggle,
  a.lang-toggle-mob {
    display: inline-block;
  }
}

/*desabilitando newslleter até correção de cors*/
.input_news {
  display: none;
}

.border-color-container {
  margin: 0;
  /* Remove espaço externo */
  padding: 0 8%;
  /* Espaço em porcentagem, equivalente à margem */
  background-color: #ecece7;
  /* Cor da "margem" */
}

.color-container {
  background-color: #fff;
  /* Cor do conteúdo interno */
  width: 100%;
  /* Ajusta ao tamanho disponível */
  height: 100%;
  padding: 4% 0 0 0;
}