*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Fira Sans Condensed', sans-serif;
color:#2f3a36;
overflow-x: hidden;
background:#fff;
}


::-webkit-scrollbar-track {
    background-color: #f9f9f9;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.24);
    border-radius: 6px;
    -webkit-border-radius: 6px;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background-color: #f9f9f9;
}

.modal::-webkit-scrollbar-track {
    background-color: none;
}

.modal::-webkit-scrollbar-thumb {
   background-color: none;
}

.modal::-webkit-scrollbar {
    background-color: none;
        width: 0px;
    height: 0px;
}

h1{
  font-size: 32px;
}
h2{
  font-size: 38px;
  color: #717975
}
h3{
  font-size: 28px;
  color: #9cbf88;
}

strong {
  color: #80b68a;
}

.container{
width:90%;
margin:0 6%;
padding:0 24px;
}

.header{
background:#fff;
border-bottom:1px solid #eee;
position:sticky;
top:0;
z-index:10;
}

.header__logo{
  background: url('../assets/desktop/images/nortem-capital_logo.png') center/contain no-repeat;
  width: 200px;
  height: 200px;
  background-size: 100%;
}

.header__content{
  display: grid;
  align-items: center;
  height: 80px;
  grid-template-columns: 50% 50%;
  grid-template-rows: 100%;
  margin-left: 10%;
}

.header__nav{
  display: flex;
  gap: 24px;
  align-items: center;
  white-space: nowrap;
  margin-left: 8%;
}

.header__nav a{
  text-decoration: none;
  color: #2f3a36;
  padding: 0;
  font-weight: 600;
  justify-content: normal;
}

.hero{
background:url("../assets/desktop/images/nortem_hero_background.png") center/cover no-repeat;
color:#fff;
}

.hero__content{
align-content: center;
max-width:640px;
height: 570px;
margin: 0;
margin-left: 10%;
}

.hero h1{
font-size:32px;
margin-bottom:16px;
}

.hero p{
font-size:20px;
margin-bottom:24px;
}

.numbers{
background:#f3f7f2;
padding:60px 0;
}

.comparative__grid{
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 10px;
  text-align: center;
  margin: 3%;
}

.comparative__header {
  max-width: 75%;
  place-self: center;
  text-align-last: center;
  margin-top: 8%;
  margin-bottom: 8%;
}

.comparative__header h2 {
  font-size: 38px;
}

.comparative__card {
    min-height: 100%;
    width: 75%;
    padding: 2%;
    place-self: center;
    color: white;
    align-content: center;
    background-color: rgb(195, 195, 195);
    font-size: 22px;
    font-weight: 500;
}
.com {
  background-color: rgb(156,191,136);
}

.comp_card_header {
  background-color: rgb(53,82,74);
  border-top-right-radius: 16px;
  border-top-left-radius: 16px;
  font-size: 26px;
  font-weight: 700;
}

.comparative__item strong{
font-size:32px;
color:#80b68a;
}

.about_us {
  padding: 10px 0;
}

.about_us .container{
  min-height: 300px;
  width: 80%;
  gap: 10px;
  justify-self: anchor-center;
  display: grid;
  grid-template-columns: 40% 60%;
  margin: 6%;
  margin-left: 20%;
}

.about_us__content {
  max-width: 100%;
  font-size: 18px;
}

.about_us__content .btn--secondary{
  margin-top: 12%;
}

.about_us__header h3 {
    padding-bottom: 5%;
    font-size: 34px;
}

.about_us__image{
  width: 100%;
  background: url('../assets/desktop/images/about_us_backgorund.png') center / cover no-repeat;
  border: none;
  background-size: auto;
  height: 100%;
}

.numeros__content{
    justify-items: center;
    max-width: 100%;
}

.numero_bg_imob{
      width: 100%;
    height: 100%;
    background: url('../assets/desktop/images/projetos_background.png') no-repeat;
      text-align: center;
    line-height: 31px;
      align-content: end;

  
}
.numero_bg_capt{
      width: 100%;
    height: 100%;
  background: url('../assets/desktop/images/captados_background.png') no-repeat;
      text-align: center;
    line-height: 31px;
      align-content: end;

}
.numero_bg_mercado{
      width: 100%;
    height: 100%;
  background: url('../assets/desktop/images/mercados_background.png') no-repeat;
      text-align: center;
    line-height: 31px;;
      align-content: end;
}

.numeros__cardDiv{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    gap: 4%;
    padding-top: 35px;
    min-width: 835px;
    min-height: 400px;
}

.numeros__cardDiv span {
  font-weight: 500;
    font-style: normal;
    color: rgb(156, 191, 136);
    font-size: 26px;
}

.numeros__card{
    min-width: 275px;
    background: url('../assets/desktop/images/services_blur_effect.png');
    background-repeat: no-repeat;
}

.numero_text{
    position: relative;
    max-width: 230px;
    bottom: 35%;
    place-self: anchor-center;
    text-align: -webkit-center;
}

.about{
  background: url('../assets/desktop/images/nortem_about_background.png') center/cover no-repeat;
  height: 300px;
  width: 100%;
  align-content: center;
}

.about__text{
  max-width: 650px;
  place-self: center;
  color: #fff;
}

.about__text h1 {
  font-weight: 400;
}

.solutions {
  padding: 100px 0;
}

.solutions__text {
  text-align: center;
  margin-bottom: 30px;
}

.solutions__text h2 {
  font-size: 42px;
  color: #6e7c76;
  margin-bottom: 10px;
}

.solutions__text h3 {
  font-size: 26px;
  color: #8bb174;
  font-weight: 500;
}

.solutions__grid {
    max-width: 1200px;
    margin-left: 8%;
    place-self: anchor-center;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10%;
}

.solution__card {
display: flex;
    align-items: flex-start;
    max-width: 400px;
    gap: 10px;
    flex-direction: column;
}

.solution__card_gif {
    background-image: url('../assets/desktop/gifs/green_gif.gif');
    background-size: contain;
    background-position: left;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    position: absolute;
    margin-left: -5%;
}

.solution__card_text {
  font-size: 32px;
}

.solution__icon {
  width: 14px;
  height: 14px;
  background: #1ea85a;
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.solution__content h3 {
  color: #8bb174;
  font-size: 26px;
  margin-bottom: 10px;
}

.solution__content p {
  color: #6e7c76;
  font-size: 18px;
  line-height: 1.6;
}



.services{
padding:100px 0;
background:#fafafa;
}

.section-header{
text-align:center;
margin-bottom:60px;
}

.services__grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:24px;
}

.service-card{
background:#fff;
padding:32px;
border-radius:16px;
box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

.cta{
  padding: 100px 0;
    min-height: 500px;
    color: #fff;
    background: url('../assets/desktop/images/nortem_footer_background.png') center / cover no-repeat;
}

.cta__content {
  max-width: 570px;
  margin-left: 15%;
  display: flex;
  gap: 15px;
  flex-direction: column;
}

.contact{
padding:100px 0;
}

.contact__grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
}

.contact__form{
display:flex;
flex-direction:column;
gap:16px;
}

.contact__form input,
.contact__form textarea{
padding:14px;
border:1px solid #ddd;
border-radius:8px;
font-size:16px;
}

.btn{
display:inline-block;
width: 50%;
text-align: center;
padding:14px 24px;
border-radius:8px;
text-decoration:none;
font-weight:600;
cursor: pointer;
}

.btn--primary{
background:#fff;
color:#80b68a;
}

.btn--secondary{
  background:#80b68a;
  color:#fff;
}

.btn_solution {
  color: #fff;
  position: relative;
  left: 41%;
  background: #80b68a;
  width: 20%;
}

.footer{
padding:40px 0;
text-align:center;
background:rgb(34,53,47);
color:#fff;
}


.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 50, 70, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: #fff;
  border-radius: 16px;
  padding: 50px 60px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(50px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 5px;
  right: 5px;
  background: none;
  border: none;
  font-size: 32px;
  color: #0A3246;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}

.modal-close:hover {
  color: #44A083;
}

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

.modal_btn {
  align-self: center;
  border: none;
  background-color: #80b68a;
  color: white;
}

.modal-header h3 {
  color: #0A3246;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 600;
}
.popup-message {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 80px;
  max-width: 90%;
  padding: 8px 12px;
  background-color: #fff;
  border-radius: 12px;
  text-align: center;
  font-size: 12px;
  color: rgb(10,50,70);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 1000;
  display: none; 
  word-break: break-word;
}

.popup-message::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 4px;
  border-radius: 2px;
}

.popup-error::after {
  background-color: red;
}

.popup-success::after {
  background-color: rgb(68,160,131);
}

.popupExterno-message {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  
  min-width: 140px;
  max-width: 85%;
  padding: 6px 14px;

  background-color: #fff;
  border-radius: 8px;

  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: rgb(10,50,70);

  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  display: none;

  word-break: break-word;
  z-index: 1000;
}

.popupExterno-message::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 6px;
  border-radius: 2px;
}


.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-input,
.form-textarea {
  width: 100%;
  min-height: 75px;
  min-width: 480px;
  max-width: 480px;
  max-height: 150px;
  padding: 16px 20px;
  border: 2px solid #E0E0E0;
  border-radius: 8px;
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  color: #0A3246;
  transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #44A083;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #999;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-full {
  width: 100%;
  margin-top: 10px;
}

.btn,
.btn--primary,
.btn--secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  max-width: 320px;
  white-space: nowrap;
  text-align: center;
}


@media (max-width:900px){
.services__grid{
grid-template-columns:1fr;
}

.comparative__grid{
grid-template-columns:1fr;
}

.contact__grid{
grid-template-columns:1fr;
}

.hero h1{
font-size:36px;
}
}


@media (max-width:1080){
  .hero__content{
    align-content: center;
    max-width: 550px;
    height: 570px;
    margin: 0;
    margin-left: 18%;
  }
}

@media (max-width: 780px) {
  .container {
    padding: 0 20px;
  }
  body, html {
    overflow-x: hidden;
  }

  ::-webkit-scrollbar-track {
    background-color: none;
  }

 ::-webkit-scrollbar-thumb {
   background-color: none;
  }

  ::-webkit-scrollbar {
    background-color: none;
        width: 0px;
    height: 0px;
  }

  h1,
  h2 {
    font-size: 18px;
  }

  h3 {
    font-size: 12px;
  }
  p {
    font-size: 14px;
  }

  .hero .container,
  .solutions .container,
  .services-detail .container {
    flex-direction: column;
    gap: 48px;
  }

  .container {
    margin: 0 5%;
    max-width: 100%;
  }

  .form-input,
  .form-textarea {
    min-width: auto;
    max-width: 100%;
  }

  .hero{
    background-position-x: -570px;
    background-size: cover;
    max-width: 780px;
    min-width: 320px;
  }

  .hero__content {
    max-width: 60%;
  }

  .hero__content h1,
  .hero__content h1 span,
  .hero__content h1 strong {
    font-size: 25px !important;
  }

  .btn-primary {
    padding: 20px 25px;
    font-size: 15px;
  }

  .solutions {
    height: auto;
    padding: 60px 0;
  }

  .solutions .container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .solutions-content {
        max-width: 100%;
        text-align: center;
        justify-items: center;
    }

  .solutions-content span {
        font-size: 14px;
  }

  .solution-item {
    grid-template-columns: 75px 1fr;
    height: auto;
    align-items: flex-start;
  }

  .solution-text p {
    font-size: 12px;
    max-width: 160px;
  }

  .solution-text h3 {
    font-size: 22px;
  }

  .numeros__content{
    margin-bottom: 10%;
  }
  
  .numeros__cardDiv {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    min-width: 0;
    min-height: auto;
    padding-top: 20px;
  }

  .numeros__card {
    width: 100%;
    max-width: 320px;
    min-width: 0;
    height: 300px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border-radius: 16px;
    overflow: hidden;
  }

  .numero_text{
    position: relative;
    max-width: 230px;
    bottom: -32%;
    place-self: anchor-center;
    text-align: -webkit-center;
  }

  .numero_bg_imob,
  .numero_bg_capt,
  .numero_bg_mercado {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .cta{
    min-height: 390px;
  }

  .footer {
    height: 90px;
  }

  .footer .container {
    flex-direction: column;
    gap: 10px;
    margin: 0 5%;
    align-items: center;
    justify-content: center;
  }

  .footer-logo {
    width: 150px;
    height: auto;
  }

  .footer p {
    font-size: 12px;
    text-align: center;
    white-space: normal;
    max-width: 300px;
  }
  .modal {
    padding: 40px 30px;
  }

  .modal-header h3 {
    font-size: 14px;
  }

}

@media (max-width: 480px) {

  .header__nav {
    display: flex;
    gap: 20px;
    font-size: 14px;
    align-items: center;
  }

    .hero__content {
    max-width: 100%;
  }

  .about__text{
    max-width: 290px;

  }

  .solutions__text{
    max-width: 420px;
  }

  .solutions__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-left: 0
  }

  .solution__card {
    width: 100%;
    max-width: 400px;
  }

  .solution__card_gif{
    position: relative;
    top: 58px;
  }

  .solution__card_text {
    margin-left: 30px;
  }

  .solution__card_content {
    margin-left: 30px;
    max-width: 300px;
  }

  .about_us .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;;
  }

  .about_us__content{
    max-width: 100%;
  }
  
  .about_us__text{
    max-width: 80%;
  }

  .about_us__image_div {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .comparative__grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .comp_card_header {
    display: none;
  }

  .comparative__card {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
  }

  .comparative__header h2{
    font-size: 25px;
    max-width: 260px;
    text-align: center;
  }


  .solutions__text h2 {
    font-size: 28px;
  }

  .solutions__text h3 {
    font-size: 18px;
  }

  .solution__content h3 {
    font-size: 20px;
  }

  .solution__content p {
    font-size: 16px;
  }

  .cta {
    background-position-x: 0px;
  }

  .cta__content{
    margin-left: 0;
  }

  .header__logo{
    display: none;
  }
  .btn_solution {
    position: relative;
    width: 70%;
    left: 15%;
  }
  .comparative{
    padding-top: 10%;
  }
  .comparative__header h2{
    max-width: 260px;
  }
  .popup-message { font-size: 11px; padding: 6px 10px; }
}



@media (max-width: 320px) {
  .popup-message { font-size: 10px; padding: 5px 8px; }
  .solution__card{
    max-width: 250px;
  }
}