html,
body {
  scroll-behavior: smooth;
}
body {
  font-family: "Sora", sans-serif !important;
  line-height: 1.2;
}
a {
  text-decoration: none;
}
.text-white {
  color: #fff !important;
}

.h-100 {
  height: 100%;
}
.fw-bold {
  font-weight: bold;
}
.btn-electric-lime {
  color: #1e1e1e;
  background-color: #c0f121;
  border-color: #c0f121;
}

.btn-electric-lime:hover {
  color: #1e1e1e;
  background-color: #b1e510;
  border-color: #a8db0a;
}

.text-dark-blue {
  color: #084555;
}
.text-light-blue {
  color: #8ad9c1;
}

/* Responsividade para telas menores */
@media (max-width: 960px) {
  .modal-prev {
    left: 5px;
  }
  .modal-next {
    right: 5px;
  }
}

@media (max-width: 768px) {
  .modal-body {
    flex-direction: column;
  }
  .modal-image {
    margin-bottom: 20px;
  }
}

/** Tamanhos de fonte */
.title-large {
  font-size: 48px;
}
.title-xsmall {
  font-size: 24px;
}

@media (max-width: 992px) {
  .title-large {
    font-size: 24px;
  }
  .title-xsmall {
    font-size: 18px;
  }
}

.body-medium {
  font-size: 18px;
}

img {
  width: 100%;
  height: auto;
}

.mb20 {
  margin-bottom: 20px;
}
.mb30 {
  margin-bottom: 30px;
}
.mb33 {
  margin-bottom: 33px;
}
.mb60 {
  margin-bottom: 60px;
}
.mb50 {
  margin-bottom: 50px;
}
.mt20 {
  margin-top: 20px;
}
.text-center {
  text-align: center;
}

/** Banner */

.banner {
  position: relative;
  background-color: #084555;
  background-image: url("../img/banner-mobile.webp");
  background-repeat: no-repeat;
  background-position: center center;

  background-size: cover;
}
.banner svg {
  width: 100%;
}
@media (min-width: 600px) {
  .banner {
    padding: 180px 0;

    background-image: url("../img/banner-desktop.webp");
    background-position: 80% center;
  }
}

@media (min-width: 600px) and (max-width: 992px) {
  .banner::before {
    content: "";
    display: block;
    width: 100%;
    height: 80%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, transparent 0%, #1e1e1ecc 60%);
    z-index: 0;
  }
  .banner .container {
    z-index: 1;
    position: relative;
  }
}
@media (min-width: 992px) {
  .banner {
    background-position: center center;
  }
}

@media (max-width: 767px) {
  .banner .logo {
    min-height: 0 !important;
  }
  .banner .subtitle {
    font-size: 16px;
  }
}

.banner .logo {
  width: 100%;
  max-width: 310px;
  min-height: 100px;
}

.banner .title {
  line-height: 100%;
  font-weight: 700;
}
.banner .subtitle {
  font-weight: 400;
}

.action-button {
  border: 0;
  border-radius: 18px;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0;
  padding: 15px 24px;
  line-height: 100%;
  text-align: center;

  transition: all 0.2s ease;
}

.action-button:hover {
  filter: brightness(0.9);
}

@media (max-width: 992px) {
  .banner {
    height: 100vh;
    padding: 40px 0;
  }
  .banner .content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    text-align: center;
    align-items: center;
  }
  .banner h1 {
    font-size: 24px;
  }
  .banner .logo {
    max-width: 200px;
  }

  .action-button {
    font-size: 16px;
  }
}

@media (max-width: 450px) {
  .banner .content {
    justify-content: space-between;
  }
}

/** sobre */
.about {
  padding: 90px 0;
  position: relative;
  background: linear-gradient(283.6deg, #084555 0%, #1e1e1e 100%);
}
.about .container {
  z-index: 1;
  position: relative;
}
.about::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;

  background: url(../img/about-background.webp) no-repeat center center;
  background-size: cover;
  opacity: 45%;
}
@media (min-width: 992px) {
  .about .action-button {
    width: 480px;
  }
}

.about .me-img {
  width: 100%;
  position: relative;
  z-index: 1;
}
.about .me-img:before {
  content: "";
  display: block;
  position: absolute;
  top: -22px;
  left: -35px;
  width: calc(100% + 20px);
  height: calc(100% + 55px);
  background-color: #51dac1;
  z-index: -1;
  border-radius: 23px;
}
.about .text p {
  margin-bottom: 20px;
  line-height: 27px;
  font-weight: 500;
  letter-spacing: 0%;
  color: #cdd9dd;
  font-size: 18px;
}

@media (max-width: 992px) {
  .about .me-img {
    margin: auto;
    max-width: 240px;
    margin-bottom: 60px;
  }
  .about .title {
    text-align: center;
  }

  .about .action-button {
    display: block;
    margin: auto;
  }
}

/** análises */
.analysis {
  background: transparent url("../img/analysis-bg.webp") no-repeat center center;
  background-size: cover;

  padding: 65px;
}
.analysis .title-large {
  margin: 0 0 75px 0;
}

.analysis .items .item {
  min-height: 200px;

  background: linear-gradient(105.09deg, #05080e 0.98%, #084555 100%);

  border-radius: 15px;
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 45px;
  padding: 30px;
}

.analysis .items .item .title {
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: 0%;
  color: #fff;
  text-align: center;
  color: #cdd9dd;
}

.analysis .items .item .icon {
  position: absolute;
  left: 20px;
  top: -25px;
  width: 70px;
  height: 70px;
  padding: 15px 20px;
  background-color: #8ad9c1;
  border-radius: 12px;
  svg {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 992px) {
  .analysis .items .item {
    max-width: 380px;
    margin: auto;
    margin-bottom: 40px;
  }
  .analysis .items .item .title {
    font-size: 16px;
    line-height: 36px;
  }
}

.services {
  background: linear-gradient(129.96deg, #084555 0%, #ddffa9 72.28%);
  padding: 85px;
}
.services .card {
  background-color: #fff;
  width: 300px;
  border-radius: 15px;
  padding: 25px;
}

.services .card .icon {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services .card .title {
  margin-bottom: 25px;
}
.services .card .title span {
  color: #084555;
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0;
  padding-left: 10px;
  display: block;
  text-align: left;
}

.services .card .image {
  overflow: hidden;
  border-radius: 15px;
  min-height: 164px;
  background-color: #cdd9dd;
}
.services .card .action {
  width: 100%;
  border: 0;
  background-color: #084555;
  display: block;
  border-radius: 50px;
  padding: 10px 20px;
  text-align: end;
  margin-top: 25px;

  transition: 0.1s ease-in-out;
}
.services .card .action:active {
  filter: brightness(0.8);
}

.services .card .action svg {
  width: 45px;
  height: 26px;
}
.scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  cursor: grab;
  -webkit-overflow-scrolling: touch; /* suavidade no mobile */
  scrollbar-width: none; /* Firefox */
}
.scroll-container::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
.scroll-container:active {
  cursor: grabbing;
}
.services .item {
  flex: 0 0 auto;
  min-width: 200px;
  background: #eee;
  border-radius: 1rem;
  text-align: center;
  padding: 2rem;
  user-select: none;
}

@media (max-width: 992px) {
  .services {
    padding: 25px 0 25px 10px;
  }

  .services .container {
    padding-right: 0;
  }

  .services .scroll-container {
    padding-right: 25px;
  }
}

/* modal de serviços */

/** modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.services-modal {
  background: white;
  padding: 30px;
  border-radius: 8px;
  position: relative;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.active .services-modal {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #2c3e50;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  display: flex;
  gap: 25px;
}

.modal-image {
  flex: 0 0 55%;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.modal-content {
  flex: 1;
}

.modal-title {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  .icon {
    width: 60px;
    height: 60px;
    flex: 0 0 auto;
  }
}
.modal-title h3 {
  margin-top: 0;
  color: #084555;
  font-size: 24px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 0;
  margin: 0 0 0 15px;
}

.modal-content ul {
  list-style-type: none;
  padding-left: 0px;
}

.modal-content li {
  margin-bottom: 10px;
  line-height: 1.1;
  color: #435255;
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 19px;
}
.modal-content li::before {
  content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 17"><path d="M16 8.5C16 12.9183 12.4183 16.5 8 16.5C3.58172 16.5 0 12.9183 0 8.5C0 4.08172 3.58172 0.5 8 0.5C12.4183 0.5 16 4.08172 16 8.5ZM12.0303 5.46967C11.7374 5.17678 11.2626 5.17678 10.9697 5.46967C10.9626 5.47674 10.9559 5.48424 10.9498 5.4921L7.4774 9.91674L5.38388 7.82322C5.09098 7.53033 4.61611 7.53033 4.32322 7.82322C4.03032 8.11612 4.03032 8.59099 4.32322 8.88388L6.96966 11.5303C7.26256 11.8232 7.73743 11.8232 8.03032 11.5303C8.03685 11.5238 8.043 11.5169 8.04876 11.5097L12.041 6.51947C12.3232 6.22582 12.3196 5.75897 12.0303 5.46967Z" fill="%238AD9C1"/></svg>');
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 17px;
}

@media (min-width: 992px) {
  .modal-overlay.reverse .modal-body {
    flex-direction: row-reverse;
  }
}

@media (max-width: 992px) {
  .modal-image {
    margin-bottom: 0;
  }
  .modal-title h3 {
    font-size: 16px;
    margin-left: 10px;
  }
  .modal-title .icon {
    width: 40px;
    height: 40px;
  }
}

.modal-nav {
  position: absolute;
  bottom: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.modal-nav:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-prev {
  left: 10px;
}

.modal-next {
  right: 10px;
}

.contact {
  background: linear-gradient(102.51deg, #084555 9.74%, #1e1e1e 90.39%);
  padding: 85px 0;
}

.contact .title {
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 35px;
  line-height: 120%;
}

.contact .subtitle {
  font-weight: 700;
  letter-spacing: 0;
  line-height: 120%;
}

.form-container {
  display: flex;
  flex-direction: column;
  max-width: 580px;
  position: relative;
}

.form-container .loading {
  position: absolute;
  left: -10px;
  top: -10px;
  bottom: -10px;
  right: -10px;
  border-radius: 15px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;

  display: none;
}

.form-container .form-control {
  width: 100%;
  border: 0;
  background-color: #fff;
  border-radius: 15px;
  padding: 17px 33px;
  margin-bottom: 5px;
}
.form-container .action-button {
  width: 100%;
  box-shadow: 0px 0px 35px 0px #ddffa980;
  background: linear-gradient(90deg, #8ad9c1 0%, #b8ec2c 100%);

  font-size: 24px;
  font-weight: 700;
  margin-top: 25px;
}
.form-container .form-control::placeholder {
  color: #013f65;
  font-weight: bold;
}
.form-container label {
  color: #fff;
  margin-bottom: 10px;
  user-select: none;
  display: flex;
  a {
    font-weight: 700;
    color: #daffa2;
  }
}

.form-container label input[type="checkbox"] {
  position: relative;
  margin-right: 30px;
  height: 0;
  width: 0;
}
.form-container label input[type="checkbox"]:after {
  content: "";
  display: block;
  position: absolute;
  top: -3px;
  left: 0;
  width: 25px;
  height: 25px;
  border: 2px solid #fff;
  border-radius: 4px;
  background-color: transparent;
}

.form-container label input[type="checkbox"]:checked:after {
  content: "\2713";
  color: #fff;
  font-weight: bold;
  font-size: 40px;
  line-height: 12px;
}

footer {
  background-color: #1e1e1e;
  padding: 35px;
}

footer .logo {
  max-width: 300px;
}

footer .address {
  flex: 1;
  padding: 35px 0;
}
footer .address .item {
  display: flex;
  color: #cdd9dd;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 22px;
  .icon {
    margin-right: 6px;
  }
  svg {
    fill: #cdd9dd;
  }
}

footer .social {
  h4 {
    color: #cdd9dd;
    font-size: 18px;
    font-weight: 700;
  }

  .links {
    display: flex;
    gap: 8px;
    margin-top: 8px;
  }
}
@media (min-width: 993px) {
  footer {
    padding: 60px 0;
  }
  footer .address {
    padding: 0 35px;

    .item {
      font-weight: 700;
    }
  }
}

@media (max-width: 992px) {
  .social {
    text-align: center;

    .links {
      justify-content: center;
    }
  }
}

.lds-ripple,
.lds-ripple div {
  box-sizing: border-box;
}
.lds-ripple {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ripple div {
  position: absolute;
  border: 4px solid #fff;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}
@keyframes lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 0;
  }
  4.9% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 0;
  }
  5% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 1;
  }
  100% {
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    opacity: 0;
  }
}

.text-danger {
  color: red;
}

.alert {
  padding: 20px;
  border-radius: 15px;
  margin-top: 20px;

  line-height: 22px;
  font-size: 16px;
}
.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
}
.alert-success {
  background-color: #8ad9c1;
  color: #155724;
}
