* {
  font-family: "Roboto", sans-serif;
}

html,
body {
  position: relative;
}

button {
  cursor: pointer;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
  background-color: rgb(236, 236, 236);
}

header {
  display: flex;
  justify-content: start;
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: start;
}

.header-navigation {
  display: flex;
  justify-content: end;
  align-items: center;
  width: 100vw;
  height: 106px;
  background: white;

  .logo {
    /* padding: 10px; */
    margin-right: 250px;
    width: 200px;
  }

  .menu-button {
    display: none;
  }

  ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 30px;

    li {
      font-size: 20px;
      font-weight: 500;
      cursor: pointer;
      color: #1e4363;

      .client-area-btn {
        padding: 0px 20px;
        background-color: transparent;
        width: fit-content;
        height: 40px;
        border: 2px solid #254a75;
        color: #254a75;
        border-radius: 5px;
        font-size: 20px;
        cursor: pointer;
        padding: 5px 30.5px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
      }

      .client-area-btn:hover {
        border: 2px solid #254a75;
        background-color: #254a75;
        color: white;
      }
    }
  }
}

.wrapper {
  overflow-x: hidden;
}

.main-section {
  height: 913px;
  background-position: 80%;
  background: url("./assets/doctor_background.webp");
  background-repeat: no-repeat;
  background-size: cover;
  display: grid;
  grid-template-columns: auto auto auto auto auto auto auto auto auto;
  grid-template-rows: auto auto auto auto auto auto auto auto auto;
  position: relative;

  .hexagon-main {
    position: absolute;
    top: 0;
  }

  @media only screen and (max-width: 1024px) {
    height: 500px;
    background-size: cover;
    background-position: 80%;

    .hexagon-main {
      height: 50%;
    }
  }

  @media only screen and (max-width: 1366px) and (min-width: 1024px) {
    height: 706px;
    background-size: cover;
    background-position: 80%;
  }

  @media only screen and (max-width: 1440px) and (min-width: 1366px) {
    height: 828px;
    background-size: cover;
    background-position: 80%;
  }
}

.main-description {
  display: flex;
  justify-content: center;
  position: relative;
  position: absolute;
  display: flex;
  flex-direction: column;
  color: #1e4363;
  margin-top: 290px;
  margin-left: 320px;
  line-height: 1.15;

  :first-child {
    font-weight: 300;
  }

  /* o h1 e o p só dão semântica; o layout continua nos spans */
  .main-title,
  .third-text {
    display: flex;
    flex-direction: column;
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
  }

  .third-text {
    display: block;
  }

  .first-text,
  .second-text {
    font-size: 64px;
    background-image: linear-gradient(to right, #003fc1, #0073e9);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
  }

  .second-text {
    font-weight: 900;
  }

  .third-text {
    font-size: 25px;
    color: #003fc1;

    .emphasis {
      font-weight: 700;
    }
  }

  @media only screen and (max-width: 512px) {
    margin-top: 30%;
    margin-left: 10%;

    .first-text,
    .second-text {
      font-size: 25px;

      font-weight: bold;
      color: white;
    }

    .third-text {
      font-size: 12px;
      color: white;

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

  @media only screen and (max-width: 900px) and (min-width: 512px) {
    margin-top: 30%;
    margin-left: 10%;

    .first-text,
    .second-text {
      font-size: 25px;
    }

    .third-text {
      font-size: 12px;

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

  @media only screen and (max-width: 1024px) and (min-width: 901px) {
    margin-top: 25%;
    margin-left: 15%;

    .first-text,
    .second-text {
      font-size: 30px;
    }

    .third-text {
      font-size: 13px;
      font-weight: bold;
    }
  }

  @media only screen and (max-width: 1366px) and (min-width: 1024px) {
    margin-top: 300px;
    margin-left: 180px;

    .first-text,
    .second-text {
      font-size: 35px;
    }

    .third-text {
      font-size: 15px;

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

  @media only screen and (max-width: 1440px) and (min-width: 1366px) {
    margin-top: 300px;
    margin-left: 200px;

    .first-text,
    .second-text {
      font-size: 45px;
    }

    .third-text {
      font-size: 18px;

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

.resources-section {
  height: fit-content;
  display: flex;
  background: url("./assets/background.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 80%;
}

#back-resources,
#forward-resources {
  width: 50px;
  height: 50px;
  background: white;
  outline: none;
  box-shadow: 0 0 10px lightgray;
  border: 2px solid rgb(238, 238, 238);
  border-radius: 25px;
  margin: 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;

  @media only screen and (max-width: 1440px) {
    width: 30px;
    height: 30px;
    font-size: 10px;
  }
}

.resources-information {
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;

  #objective {
    width: 100%;
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 80px;
  }

  #solutions {
    width: 100%;
    padding-top: 120px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 80px;
  }

  .objective-description {
    width: 1061px;
    padding: 30px 42px;
    text-align: center;
    border-radius: 25px;
    border: 1px solid transparent;
    border-image: linear-gradient(180deg, #0082a4, #f6f6f6);
    border-image-slice: 1;
    height: 120px;
    font-size: 15px;
  }

  .header-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;

    h2 {
      color: #254a75;
      font-size: 25px;
      font-weight: 500;
      margin: 0;
    }

    hr {
      width: 100px;
      border-top: 1px solid #254a75;
    }

    .resources-description {
      width: 600px;
      overflow: hidden;
      text-align: center;
      font-size: 15px;
    }
  }

  .resources-database {
    display: flex;
    justify-content: space-between;

    @media only screen and (max-width: 900px) {
      flex-direction: column;
      align-items: center;

      .database-image img {
        padding: 0 25px;
        width: 800px;
      }
    }

    @media only screen and (max-width: 1440px) and (min-width: 901px) {
      .database-image {
        width: 800px;
      }
    }
  }

  .resources-interoperability {
    display: flex;
    justify-content: space-between;

    .integration-info {
      width: 320px;
      font-size: 20px;
      color: #212020;
      text-align: left;
      display: flex;
      flex-direction: column;
      align-items: start;

      h2 {
        height: 50px;
        text-align: center;
        color: #1e4363;
        font-weight: 400;
        margin-top: 0;
      }

      hr {
        width: 100px;
        border-top: 1px solid #254a75;
        margin-left: 0;
      }
    }

    .interoperability-info {
      width: 320px;
      font-size: 20px;
      color: #212020;
      text-align: left;
      display: flex;
      flex-direction: column;
      align-items: start;

      h2 {
        height: 50px;
        text-align: center;
        color: #1e4363;
        font-weight: 400;
        margin-top: 0;
      }

      hr {
        width: 100px;
        border-top: 1px solid #254a75;
        margin-left: 0;
      }
    }

    .interoperability-image {
      width: 420px;
      margin: 0px 100px;
    }

    @media only screen and (max-width: 900px) {
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 25px;

      .integration-info {
        width: 100%;
        padding: 0 25px;
      }

      .integration-info .resource-text {
        width: 100%;
        font-size: 15px;
      }

      .interoperability-info,
      .infrastructure-info {
        width: 100%;
        padding: 0 25px;
        display: flex;
        align-items: start;
      }

      .interoperability-info .resource-text,
      .infrastructure-info .resource-text {
        width: 100%;
        font-size: 15px;
      }

      .infrastructure-info {
        text-align: left;

        hr {
          margin-left: 0;
          margin-right: auto;
        }
      }

      .interoperability-image {
        width: 300px;
      }
    }

    @media only screen and (max-width: 1440px) and (min-width: 901px) {
      gap: 25px;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: 820px;

      .integration-info {
        width: 100%;
      }

      .integration-info .resource-text {
        width: 100%;
        font-size: 15px;
      }

      .interoperability-info,
      .infrastructure-info {
        width: 100%;
        display: flex;
        align-items: start;
      }

      .interoperability-info .resource-text,
      .infrastructure-info .resource-text {
        width: 100%;
        font-size: 15px;
      }

      .infrastructure-info {
        text-align: left;

        hr {
          margin-left: 0;
          margin-right: auto;
        }
      }

      .interoperability-image {
        width: 300px;
      }
    }
  }

  @media only screen and (max-width: 620px) {
    .objective-description {
      width: 350px;
      padding: 20px 32px;

      span {
        font-size: 13px;
      }
    }

    .header-info {
      .resources-description {
        width: 300px;

        span {
          text-align: center;
          font-size: 13px;
        }
      }

      h2 {
        font-size: 20px;
      }
    }
  }

  @media only screen and (max-width: 720px) and (min-width: 621px) {
    .objective-description {
      width: 425px;
      padding: 20px 32px;

      span {
        font-size: 13px;
      }
    }

    .header-info {
      margin-top: 60px;

      .resources-description {
        width: 425px;

        span {
          font-size: 13px;
        }
      }

      h2 {
        font-size: 20px;
      }
    }
  }

  @media only screen and (max-width: 900px) and (min-width: 721px) {
    .objective-description {
      width: 720px;
      padding: 20px 32px;

      span {
        font-size: 13px;
      }
    }

    .resources-description {
      width: 720px;

      span {
        font-size: 13px;
      }
    }
  }

  @media only screen and (max-width: 1440px) and (min-width: 901px) {
    .objective-description {
      width: 800px;
      padding: 20px 32px;

      span {
        font-size: 13px;
      }
    }

    .resources-description {
      width: 500px;

      span {
        font-size: 13px;
      }
    }
  }
}

.resources-cards {
  overflow-x: auto;
  display: flex;
  justify-content: start;
  align-items: center;
  width: 90%;
  gap: 50px;
  padding: 20px 0;
  -ms-overflow-style: none;
  scrollbar-width: none;

  .resource-card {
    .resource-card-container {
      width: 230px;
      height: 365px;
      background: white;
      padding: 24px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      border-radius: 10px;
      box-shadow: 0 0 10px lightgray;
      gap: 20px;
    }

    .resource-card-icon {
      height: 30%;
      display: flex;
      align-items: center;
    }

    .resource-card-title {
      font-size: 15px;
      font-weight: 900;
      color: #254a75;
      display: flex;
      align-items: center;
      height: 10%;
    }

    .resource-card-description {
      height: 60%;
      font-size: 12px;
      font-weight: 300;
      text-align: start;
      overflow-y: auto;
    }

    .resource-card-name {
      font-size: 15px;
      color: #254a75;
      font-weight: 500;
      margin: 10px 0;
      font-style: italic;
    }

    @media only screen and (max-width: 1440px) {
      .resource-card-container {
        width: 230px;
        height: 365px;
        background: white;
        padding: 18px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 10px;
        box-shadow: 0 0 10px lightgray;
        gap: 20px;
      }

      .resource-card-icon {
        height: 30%;
        display: flex;
        align-items: center;
      }

      .resource-card-title {
        font-size: 10px;
        font-weight: 900;
        color: #254a75;
        display: flex;
        align-items: center;
        height: 10%;
      }

      .resource-card-description {
        height: 50%;
        font-size: 10px;
        font-weight: 300;
        text-align: start;
      }

      .resource-card-name {
        font-size: 10px;
        color: #254a75;
        font-weight: 500;
        margin: 10px 0;
        font-style: italic;
      }
    }
  }
}

.resources-button {
  width: 400px;
  height: 40px;
  background-color: #1e4363;
  color: white;
  border: none;
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 5px;
  outline: none;

  @media only screen and (max-width: 1440px) {
    width: 260px;
    font-size: 0.825rem;
  }
}

.interoperability-info {
  width: 350px;
  font-size: 20px;
  color: #212020;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: start;
}

.interoperability-info h2 {
  height: 50px;
  color: #1e4363;
  font-weight: 400;
  margin-top: 0;
}

.interoperability-info hr {
  width: 100px;
  border-top: 1px solid #254a75;
  margin-left: 0;
}

.infrastructure-info {
  width: 350px;
  font-size: 20px;
  color: #212020;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: start;
}

.infrastructure-info h2 {
  height: 50px;
  color: #1e4363;
  font-weight: 400;
  margin-top: 0;
}

.infrastructure-info hr {
  width: 100px;
  border-top: 1px solid #254a75;
  margin-right: 0;
}

.resource-text {
  margin: 24px 0;
  width: 300px;
  font-size: 15px;
}

.features {
  padding: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(247, 247, 247);
}

.main-card {
  width: 1363px;
  background: #f7f7f7;
  border-radius: 10px;
  box-shadow: 0 0 10px lightgray;
}

.about-us {
  height: 250px;
  width: 100%;
  background: #254a75;
  display: flex;
  align-items: center;

  img {
    margin: 0 200px;
    padding: 30px 0;
    width: 160px;
    height: 125px;
  }

  .about-info-container {
    color: white;
    height: 80px;
    display: flex;
    gap: 45px;

    .about-description {
      width: 495px;
      font-weight: 200;
      font-size: 15px;
    }

    .about-us-outer-info {
      display: flex;
      gap: 20px;

      a {
        font-size: 12px;
      }
    }
  }
}

.selling-channel {
  width: 230px;
  height: 90px;
  border: 1px solid #cee5ff40;
  border-radius: 5px;
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 16px;
  color: white;

  span {
    font-size: 12px;
  }
}

.selling-channel-title,
.work-with-us-title,
.social-title {
  display: flex;
  gap: 10px;
}

.development,
.work-with-us {
  width: 230px;
  height: 45px;
  border: 1px solid #cee5ff40;
  border-radius: 5px;
  margin: 10px 0;
  padding: 0 16px;
  display: flex;
  justify-content: start;
  align-items: center;
}

.development a,
.work-with-us a {
  text-decoration: none;
  color: white;
}

.social {
  display: flex;
  gap: 15px;
  width: 200px;
  height: 25px;

  i {
    font-size: 25px;
  }
}

.first-row {
  display: flex;
  margin-top: 100px;
  justify-content: center;
  gap: 120px;

  @media only screen and (max-width: 900px) {
    flex-direction: column;
  }

  @media only screen and (max-width: 1440px) and (min-width: 901px) {
    margin: 125px 60px;
  }

  .system-info {
    width: 386px;
    font-size: 20px;
    color: #212020;
    text-align: left;

    h2 {
      font-size: 35px;
      color: #1e4363;
      font-weight: 600;
      margin-left: auto;
      margin-right: 0;
    }

    h3 {
      font-size: 20px;
      color: #1e4363;
      font-weight: 300;
      margin-top: 0;
      margin-left: auto;
      margin-right: 0;
    }

    hr {
      width: 100px;
      border-top: 1px solid #254a75;
      margin-left: 0;
      margin-top: 20px;
    }

    .resource-text {
      margin: 24px 0;
      width: 386px;
    }

    @media only screen and (max-width: 900px) {
      font-size: 15px;
      text-align: left;
      flex-direction: column;
      align-items: center;
      width: 100%;
      padding: 0 70px;

      h2 {
        font-size: 30px;
      }

      h3 {
        font-size: 15px;
      }

      hr {
        margin-left: 0;
        margin-right: auto;
        margin-top: 20px;
      }

      .resource-text {
        width: 100%;
        font-size: 15px;
      }
    }

    @media only screen and (max-width: 1440px) and (min-width: 901px) {
      font-size: 15px;

      h2 {
        font-size: 35px;
      }

      h3 {
        font-size: 20px;
      }

      hr {
        margin-top: 20px;
      }
    }
  }

  .first-row-imgs {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;

    .ia {
      width: 500px;
    }

    @media only screen and (max-width: 900px) {
      height: 30%;

      .ia {
        width: 50%;
      }
    }

    @media only screen and (max-width: 1440px) and (min-width: 901px) {
      height: 50%;

      .ia {
        width: 80%;
      }
    }
  }
}

.second-row {
  display: flex;
  gap: 100px;
  margin-top: 100px;
  margin-bottom: 100px;
  justify-content: center;

  .security-info {
    width: 386px;
    font-size: 20px;
    color: #212020;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;

    h2 {
      font-size: 35px;
      color: #1e4363;
      font-weight: 600;
      margin: 0;
    }

    h3 {
      font-size: 20px;
      color: #1e4363;
      font-weight: 300;
      margin-top: 0;
    }

    hr {
      width: 100px;
      border-top: 1px solid #254a75;
      margin-left: 0;
      margin-top: 20px;
    }

    .resource-text {
      margin: 24px 0;
      width: 386px;
    }
  }

  .third-row-imgs {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: end;

    .security {
      position: relative;
      width: 500px;
      height: 350px;
    }
  }
}

.third-row {
  display: flex;
  gap: 100px;
  margin-top: 100px;
  justify-content: center;

  .fourth-row-imgs {
    position: relative;
    height: 100%;
    width: 320px;
    display: flex;
    flex-direction: column;
  }

  .sbis-info {
    width: 490px;
    font-size: 20px;
    color: #212020;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;

    h2 {
      font-size: 35px;
      color: #1e4363;
      font-weight: 600;
      margin-left: auto;
      margin-right: 0;
    }

    h3 {
      font-size: 20px;
      color: #1e4363;
      font-weight: 300;
      margin-top: 0;
      margin-left: auto;
      margin-right: 0;
    }

    hr {
      width: 100px;
      border-top: 1px solid #254a75;
      margin-left: auto;
      margin-right: 0;
      margin-top: 20px;
    }

    .resource-text {
      margin: 24px 0;
      width: 411px;
    }
  }
}

.fourth-row {
  display: flex;
  gap: 100px;
  margin-top: 100px;
  margin-bottom: 100px;
  justify-content: center;

  .rnds-info {
    width: 386px;
    font-size: 20px;
    color: #212020;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;

    h2 {
      font-size: 35px;
      color: #1e4363;
      font-weight: 600;
      margin: 0;
    }

    h3 {
      font-size: 20px;
      color: #1e4363;
      font-weight: 300;
      margin-top: 0;
    }

    hr {
      width: 100px;
      border-top: 1px solid #254a75;
      margin-left: 0;
      margin-top: 20px;
    }

    .resource-text {
      margin: 24px 0;
      width: 386px;
    }
  }

  .fifth-row-imgs {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: end;

    .rnds {
      position: relative;
      width: 500px;
      height: 350px;
    }
  }
}

.cities {
  height: 200px;
  background: white;
  box-shadow: 0 0 10px lightgray;
  filter: drop-shadow(0 0 0px rgb(238, 238, 238));
  display: flex;
  align-items: center;
  justify-content: center;

  .city-list {
    display: flex;
    width: fit-content;
    overflow-x: scroll;
    align-items: center;
    gap: 50px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    margin: 0 30px;
    max-width: 850px;
  }

  #back-city,
  #forward-city {
    width: 50px;
    height: 50px;
    background: white;
    outline: none;
    box-shadow: 0 0 10px lightgray;
    border: 2px solid rgb(238, 238, 238);
    border-radius: 25px;
    margin: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

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

.updates {
  height: 580px;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  .updates-title {
    font-size: 40px;
    color: #254a75;
    height: 15%;
  }

  #update-list {
    overflow-x: auto;
    display: flex;
    justify-content: start;
    align-items: center;
    width: 90%;
    gap: 50px;
    padding: 20px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  #back-update,
  #forward-update {
    width: 50px;
    height: 50px;
    background: white;
    outline: none;
    margin: 0 10px;
  }
}

.card-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70%;
  height: fit-content;
  overflow-x: auto;
  -ms-overflow-x-style: none;
  scrollbar-width: none;
}

.update-card-container {
  width: 230px;
  height: 380px;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px lightgray;
  gap: 20px;
}

.update-card-photo {
  height: 130px;
  width: 100%;
  display: flex;
  align-items: center;
  background: lightblue;

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

.update-card-title {
  font-size: 12px;
  font-weight: 900;
  color: #254a75;
  display: flex;
  align-items: center;
  height: 10%;
  margin: 0 24px;
}

.update-card-content {
  position: relative;
  max-width: 150px;
  max-height: 180px;
  font-size: 12px;
  font-weight: 300;
  text-align: start;
  display: flex;
  flex-direction: column;
  justify-content: start;
  margin: 0 24px;
  height: 180px;

  .update-card-description {
    display: block;
    display: -webkit-box;
    max-width: 250px;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.update-card-name {
  font-size: 15px;
  color: #254a75;
  font-weight: 500;
  margin: 10px 0;
  font-style: italic;
}

footer {
  box-sizing: border-box;
  width: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 80px;
  padding: 24px 40px;
  font-size: 12px;

  ul {
    width: fit-content;
    list-style: none;
    line-height: 1.5;
    margin: 0;
    padding: 0;

    li {
      font-weight: 200;
    }
  }

  .footer-policies {
    strong {
      display: block;
      line-height: 1.5;
    }

    ul {
      list-style: disc;
      padding-left: 16px;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    a:hover {
      text-decoration: underline;
    }
  }
}

/*! there is space for improvement in the media queries below */
/* 900px or less resolution */
@media only screen and (max-width: 900px) {
  .card-wrapper {
    width: 90%;
  }

  .update-card-container {
    width: 200px;

    .update-card-title {
      font-size: 12px;
    }

    .update-card-content {
      font-size: 12px;
    }
  }

  #back-city,
  #forward-city,
  #back-update,
  #forward-update {
    width: 30px;
    height: 30px;
    font-size: 10px;
  }

  .first-row {
    gap: 30px;

    .system-info {
      padding: 0 20px;
    }
  }

  .second-row {
    flex-direction: column-reverse;
    align-items: center;
    gap: 30px;

    .tele-med {
      padding: 0 20px;
    }

    .second-row-imgs {
      position: relative;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 20px;

      .doctors {
        display: flex;
        justify-content: center;
        gap: 20px;

        img {
          height: 120px;
        }
      }

      .teleconsultation {
        width: 240px;

        img {
          width: 100%;
        }
      }
    }

    .tele-med {
      text-align: left;
      padding: 0 20px;
      width: 100%;

      h2 {
        font-size: 30px;
        margin-left: 0;
        margin-right: auto;
      }

      h3 {
        font-size: 15px;
        margin-left: 0;
        margin-right: auto;
      }

      hr {
        margin-left: 0;
        margin-right: auto;
        margin-top: 15px;
      }

      .resource-text {
        width: 100%;
        font-size: 15px;
      }
    }
  }

  .fourth-row {
    flex-direction: column-reverse;
    align-items: center;
    gap: 30px;

    .sbis-info {
      padding: 0 20px;

      h2 {
        font-size: 30px;
        margin-left: 0;
        margin-right: auto;
      }

      h3 {
        font-size: 15px;
        margin-left: 0;
        margin-right: auto;
      }

      hr {
        margin-left: 0;
        margin-right: auto;
        margin-top: 15px;
      }

      .resource-text {
        width: 100%;
        font-size: 15px;
      }
    }

    .fourth-row-imgs {
      position: relative;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 20px;
    }
  }

  .third-row {
    flex-direction: column;
    width: 100%;
    gap: 30px;

    .security-info {
      padding: 0 20px;
      width: 100%;

      h2 {
        font-size: 30px;
        margin-left: 0;
        margin-right: auto;
      }

      h3 {
        font-size: 15px;
        margin-left: 0;
        margin-right: auto;
      }

      .resource-text {
        width: 100%;
        font-size: 15px;
      }
    }

    .third-row-imgs {
      height: 30%;
      padding: 0 12%;
      justify-content: center;
      align-items: center;

      .security {
        padding-right: 0;
        width: 80%;
        height: 100%;
      }
    }
  }

  .fourth-row {
    flex-direction: column-reverse;
    width: 100%;
    gap: 30px;

    .sbis-info {
      padding: 0 40px;
      width: 100%;

      h2 {
        font-size: 30px;
        margin-left: 0;
        margin-right: auto;
      }

      h3 {
        font-size: 15px;
        margin-left: 0;
        margin-right: auto;
      }

      .resource-text {
        width: 100%;
        font-size: 15px;
      }
    }

    .fourth-row-imgs {
      height: 50%;
      padding: 0 5%;
      justify-content: center;
      align-items: center;

      .security {
        padding-right: 0;
        width: 80%;
        height: 100%;
      }
    }
  }

  .fifth-row {
    flex-direction: column;
    width: 100%;
    gap: 30px;

    .rnds-info {
      padding: 0 20px;
      width: 100%;

      h2 {
        font-size: 30px;
        margin-left: 0;
        margin-right: auto;
      }

      h3 {
        font-size: 15px;
        margin-left: 0;
        margin-right: auto;
      }

      .resource-text {
        width: 100%;
        font-size: 15px;
      }
    }

    .fifth-row-imgs {
      height: 30%;
      padding: 0 12%;
      justify-content: center;
      align-items: center;

      .rnds {
        padding-right: 0;
        width: 80%;
        height: 100%;
      }
    }
  }

  .resources-cards {
    width: 85%;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;

    .resource-card-container {
      margin-bottom: 10px;
    }
  }

  .cities {
    height: 100px;

    .city-list {
      width: 60%;

      img {
        width: 70px;
      }
    }

    #amso {
      width: 40px;
    }
  }

  .features {
    padding: 0 30px;
  }

  .main-card {
    width: 100%;
    height: fit-content;
    margin-bottom: 25px;
  }

  .header-navigation {
    padding: 30px;
    height: fit-content;
    justify-content: end;

    .menu-button {
      position: absolute;
      display: block;
      padding: 10px 20px;
      z-index: 100;
      top: 10px;
    }

    .menu {
      position: absolute;
      margin: 200px -30px 0 0;
      display: none;
      width: 100vw;
      height: 300px;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      padding: 25px;
      background: white;
      z-index: 99;

      li {
        font-size: 12px;
        flex: 1;
        display: flex;
        align-items: center;

        .client-area-btn {
          font-size: 12px;
        }
      }
    }

    .logo {
      left: 60px;
      position: absolute;
      width: 120px;
    }
  }

  #update-list {
    width: 30%;
    justify-content: start;
    overflow-x: auto;
    padding: 20px 0;
  }

  .about-us {
    height: 500px;
    flex-direction: column;
    align-items: start;

    img {
      width: 160px;
      height: 100px;
      margin: 0 30%;
    }

    .about-info-container {
      flex-direction: column;
      position: relative;
      margin: 0 10%;

      .about-description {
        width: 80%;
      }

      .about-us-outer-info {
        flex-direction: column;
        align-items: start;
        gap: 20px;

        a {
          font-size: 12px;
        }
      }
    }

    .social {
      padding: 16px 0;

      img {
        padding: 0;
        margin: 0;
        height: 25px;
      }
    }
  }

  footer {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;

    ul {
      line-height: 1.8;
      font-size: 12px;
    }

    .footer-policies ul {
      list-style-position: inside;
      padding-left: 0;
    }

    .footer-policies a {
      text-decoration: underline;
    }
  }
}

@media only screen and (max-width: 1280px) and (min-width: 900px) {
  .first-row {
    margin: 125px 60px;
    justify-content: space-between;
  }

  .second-row {
    margin: 125px 60px;
    justify-content: space-around;

    .second-row-imgs {
      position: relative;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 20px;

      .doctors {
        display: flex;
        justify-content: center;
        gap: 20px;

        img {
          height: 120px;
        }
      }

      .teleconsultation {
        width: 240px;

        img {
          width: 100%;
        }
      }
    }
  }

  .third-row {
    margin: 125px 60px;
    justify-content: space-around;

    .third-row-imgs {
      height: 50%;

      .security {
        position: relative;
        padding-right: 0;
        width: 80%;
        height: 100%;
      }
    }
  }

  .fourth-row {
    margin: 125px 60px;
    justify-content: space-around;
    gap: 25px;

    .fourth-row-imgs {
      position: relative;
      height: 50%;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  }

  .fifth-row {
    margin: 125px 60px;
    justify-content: space-around;

    .fifrth-row-imgs {
      height: 50%;

      .rnds {
        position: relative;
        padding-right: 0;
        width: 80%;
        height: 100%;
      }
    }
  }

  .update-card-container {
    width: 200px;

    .update-card-title {
      font-size: 12px;
    }

    .update-card-content {
      font-size: 12px;
    }
  }

  #back-update,
  #forward-update {
    width: 30px;
    height: 30px;
    font-size: 10px;
  }

  .resources-cards {
    width: 70%;
    height: fit-content;
    overflow-x: auto;
    -ms-overflow-x-style: none;
    scrollbar-width: none;

    .resource-card-container {
      margin-bottom: 10px;
    }
  }

  .cities {
    height: 150px;

    .city-list {
      width: 70%;

      img {
        width: 100px;
      }

      #amso {
        width: 70px;
      }
    }
  }

  .main-card {
    height: fit-content;
  }

  .header-navigation {
    padding: 30px 80px;

    ul {
      li {
        font-size: 12px;

        .client-area-btn {
          font-size: 12px;
        }
      }
    }

    .logo {
      left: 60px;
      position: absolute;
      width: 200px;
    }
  }

  #update-list {
    width: 70%;
    justify-content: start;
    overflow-x: auto;
    padding: 20px 0;
  }

  .about-us {
    height: 300px;
    flex-direction: column;
    align-items: start;

    img {
      width: 160px;
      height: 100px;
      margin: 0 100px;
    }

    .about-info-container {
      flex-direction: column;
      margin: 0 100px;
    }

    .social {
      padding: 16px 0;

      img {
        padding: 0;
        margin: 0;
        height: 25px;
      }
    }
  }

  footer {
    ul {
      font-size: 12px;
    }
  }
}

@media only screen and (max-width: 1366px) and (min-width: 1281px) {
  .first-row {
    margin: 100px 180px 0 180px;
    justify-content: space-between;
  }

  .second-row {
    margin: 100px 180px 0 180px;
    justify-content: space-between;

    .second-row-imgs {
      position: relative;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 20px;

      .doctors {
        display: flex;
        justify-content: center;
        gap: 20px;

        img {
          height: 120px;
        }
      }

      .teleconsultation {
        width: 240px;

        img {
          width: 100%;
        }
      }
    }
  }

  .third-row {
    margin: 100px 180px 100px 180px;
    justify-content: space-between;

    .third-row-imgs {
      height: 50%;

      .security {
        position: relative;
        padding-right: 0;
        width: 80%;
        height: 100%;
      }
    }
  }

  .fifth-row {
    margin: 100px 180px 100px 180px;
    justify-content: space-around;

    .fifrth-row-imgs {
      height: 50%;

      .rnds {
        position: relative;
        padding-right: 0;
        width: 80%;
        height: 100%;
      }
    }
  }

  .update-card-container {
    width: 200px;

    .update-card-title {
      font-size: 12px;
    }

    .update-card-content {
      font-size: 12px;
    }
  }

  .security-info {
    width: 100%;
    font-size: 15px;
    text-align: left;
    flex-direction: column;
    align-items: start;

    h2 {
      font-size: 35px;
    }

    h3 {
      font-size: 15px;
    }

    hr {
      margin-top: 20px;
    }

    .resource-text {
      width: 100%;
      font-size: 15px;
    }
  }

  .header-navigation {
    padding: 30px 80px;

    ul {
      gap: 20px;

      li {
        font-size: 12px;

        .client-area-btn {
          font-size: 12px;
        }
      }
    }

    .logo {
      left: 150px;
      position: absolute;
      width: 200px;
    }
  }

  #update-list {
    width: 80%;
    justify-content: start;
    overflow-x: auto;
    padding: 20px 0;
  }

  .about-us {
    height: 200px;

    img {
      width: 160px;
      height: 100px;
      margin: 0 100px;
    }

    .about-info-container {
      margin: 0 100px;
    }

    .social {
      padding: 16px 0;

      img {
        padding: 0;
        margin: 0;
        height: 25px;
      }
    }
  }
}

@media only screen and (min-width: 1367px) {
  .first-row {
    margin: 100px 180px 0 180px;
    justify-content: space-between;
  }

  .second-row {
    margin: 100px 180px 0 180px;
    justify-content: space-between;

    .second-row-imgs {
      position: relative;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 20px;

      .doctors {
        display: flex;
        justify-content: center;
        gap: 20px;

        img {
          height: 150px;
        }
      }

      .teleconsultation {
        /* width: 300px;
                height: 150px; */

        img {
          width: 100%;
        }
      }
    }
  }

  .third-row {
    margin: 100px 180px 100px 180px;
    justify-content: space-between;

    .third-row-imgs {
      height: 50%;

      .security {
        position: relative;
        padding-right: 0;
        width: 80%;
        height: 100%;
      }
    }
  }

  .fifth-row {
    margin: 100px 180px 100px 180px;
    justify-content: space-between;

    .fifth-row-imgs {
      height: 50%;

      .security {
        position: relative;
        padding-right: 0;
        width: 80%;
        height: 100%;
      }
    }
  }

  .header-navigation {
    padding: 30px 80px;

    ul {
      li {
        font-size: 14px;

        .client-area-btn {
          font-size: 14px;
        }
      }
    }

    .logo {
      left: 200px;
      position: absolute;
      width: 200px;
    }
  }

  .about-us {
    img {
      width: 160px;
      height: 100px;
    }

    .about-info-container {
      span {
        font-size: 12px;
      }

      .about-us-outer-info {
        a {
          font-size: 12px;
        }
      }
    }

    .social {
      padding: 16px 0;

      img {
        padding: 0;
        margin: 0;
        height: 25px;
      }
    }
  }
}

.contact {
  width: 100%;
  background-image: url(assets/background.webp);
  display: flex;
  justify-content: center;
  align-items: center;
}

.policy-privacy-link {
  color: #2d4f6e;
  text-decoration: underline;
  font-weight: 600;
}

.lgpd {
  background-image: url(assets/background.webp);
  display: flex;
}

.lgpd main {
  padding: 20px;
  width: 100%;
  height: 100%;
}

.lgpd h1 {
  font-size: 21px;
  font-weight: bold;
  line-height: 1.33;
  color: #2d4f6e;
  padding: 20px 0;
}

.lgpd h2 {
  font-size: 17px;
  font-weight: bold;
  line-height: 1.33;
  color: #2d4f6e;
  padding: 20px 0;
}

.lgpd p {
  text-align: justify;
  margin-bottom: 20px;
}

.lgpd aside {
  min-width: 220px;
  padding: 20px;
}

.lgpd aside li {
  padding: 5px;
}

.lgpd aside a {
  color: inherit;
  text-decoration: underline;
}

.lgpd aside li.active a {
  font-weight: bold;
  text-decoration: none;
}

.contact-form-container {
  padding: 60px 20px;
  max-width: 600px;
  width: 100%;
  height: 100%;

  h1 {
    font-size: 48px;
    font-weight: 300;
    line-height: 1.33;
    color: #2d4f6e;
    text-align: center;
    padding: 20px 0;
  }

  .notification {
    padding: 10px 20px;
    margin: 10px 0;
    background-color: #d1e7dd;
    color: #051b11;
    border: 1px solid #a3cfbb;
    border-radius: 2px;
    text-align: center;
    display: none;
  }

  .error-notification {
    padding: 10px 20px;
    margin: 10px 0;
    background-color: rgb(247, 180, 169);
    color: tomato;
    border: 1px solid rgb(252, 130, 109);
    border-radius: 2px;
    text-align: center;
    display: none;
  }

  form {
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    grid-gap: 1rem;

    .form-group {
      display: flex;
      flex-direction: column;
      margin-bottom: 5px;

      label {
        font-weight: 200;
        margin-bottom: 5px;
        color: #3a4550;
      }

      select {
        background-color: white;
      }

      input,
      select {
        height: 50px;
        padding: 0 10px;
      }

      input,
      select,
      textarea {
        border: 1px solid #3a4550;
        outline: none;
        padding: 10px;
        font-size: 16px;
        width: 100%;
        border-radius: 8px;
      }

      textarea {
        resize: vertical;
        height: 100px;
      }

      @media only screen and (max-width: 620px) {
        grid-column: span 2;
      }
    }

    #message-group {
      grid-column: span 2;
    }

    #send-form {
      display: block;
      padding: 6px 30px;
      font-size: 15px;
      background-color: #0073e9;
      color: white;
      grid-column: 2;
      height: 50px;
      border: none;
      border-radius: 50px;
    }

    #send-form:hover {
      background-color: #003fc1;
    }

    #send-form:disabled {
      background-color: lightgray;
    }

    @media only screen and (max-width: 620px) {
      grid-template-columns: repeat(2, minmax(150px, 1fr));
    }
  }
}

/* ===== Missão e números (slide 30) ===== */
.mission {
  background:
    linear-gradient(rgba(37, 74, 117, 0.94), rgba(37, 74, 117, 0.94)),
    url("./assets/sobre-bg.webp") center / cover no-repeat;
  color: white;
  padding: 64px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.mission-statement {
  max-width: 820px;
  margin: 0;
  text-align: center;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 300;
  line-height: 1.5;
}

.mission-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 32px;

  li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  svg {
    width: 40px;
    height: 40px;
  }

  strong {
    font-size: clamp(32px, 3.4vw, 48px);
    font-weight: 700;
    line-height: 1;

    small {
      font-size: 0.4em;
      font-weight: 400;
    }
  }

  span {
    font-size: 14px;
    font-weight: 300;
    max-width: 220px;
  }
}

/* ===== Objetivo: ciclo Prevenção → Indicadores → Financeiro (slide 19) ===== */
.objectives-cycle {
  display: grid;
  grid-template-columns: repeat(3, auto);
  grid-template-areas:
    ". top ."
    "left arrows right";
  align-items: center;
  justify-items: center;
  column-gap: clamp(8px, 3vw, 48px);
  row-gap: 8px;

  .cycle-top { grid-area: top; }
  .cycle-left { grid-area: left; }
  .cycle-right { grid-area: right; }

  .cycle-arrows {
    grid-area: arrows;
    width: clamp(90px, 12vw, 160px);
    height: auto;
  }

  .objectives-img-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    span {
      text-align: center;
      color: #254a75;
    }
  }

  .prevention-hexagon,
  .indicators-hexagon,
  .financial-hexagon {
    width: clamp(120px, 15vw, 240px);
    aspect-ratio: 8 / 9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .prevention-hexagon { background-image: url("./assets/prevencao.webp"); }
  .indicators-hexagon { background-image: url("./assets/indicadores.webp"); }
  .financial-hexagon { background-image: url("./assets/financeiro.webp"); }
}

/* ===== Cards: link para a seção de detalhes ===== */
.resources-cards .resource-card {
  .resource-card-description {
    height: 50%;
  }

  .resource-card-link {
    font-size: 12px;
    font-weight: 500;
    color: #0082a4;
    text-decoration: none;
    align-self: flex-start;
  }

  .resource-card-link:hover {
    text-decoration: underline;
  }
}

/* ===== Detalhes das soluções ===== */
.solutions-details {
  box-sizing: border-box;
  width: 100%;
  padding: 120px 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

.solution-detail {
  scroll-margin-top: 120px;
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: center;
}

.solution-detail:nth-of-type(even) {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);

  .solution-media {
    order: 2;
  }
}

.solution-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(30, 67, 99, 0.15);
}

.solution-media.is-mockup img {
  border-radius: 0;
  box-shadow: none;
}

.solution-kicker {
  font-size: 14px;
  font-style: italic;
  font-weight: 500;
  color: #254a75;
}

.solution-content h3,
.solution-highlight h4 {
  margin: 4px 0 12px;
  font-weight: 700;
  color: #1e4363;
}

.solution-content h3 {
  font-size: clamp(22px, 2.2vw, 30px);
}

.solution-highlight h4 {
  font-size: 24px;
}

.solution-content p {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
  color: #212020;
}

.solution-features {
  list-style: disc;
  margin: 0;
  padding: 0 0 0 18px;
  columns: 2;
  column-gap: 32px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: #212020;

  li {
    break-inside: avoid;
    margin-bottom: 8px;
  }

  li::marker {
    color: #0082a4;
  }
}

.solution-highlight {
  grid-column: 1 / -1;
  margin-top: 16px;
  padding: 32px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 0 10px lightgray;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px;
  align-items: center;

  img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #e3e8ee;
  }

  .solution-features {
    columns: 1;
  }
}

/* ===== Integração: duas figuras empilhadas ===== */
.database-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;

  figure {
    margin: 0;
    text-align: center;
  }

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

  figcaption {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 300;
    color: #254a75;
  }
}

@media only screen and (max-width: 900px) {
  .solutions-details {
    padding-top: 80px;
    gap: 64px;
  }

  .solution-detail,
  .solution-highlight {
    grid-template-columns: 1fr;
  }

  .solution-detail:nth-of-type(even) {
    grid-template-columns: 1fr;

    .solution-media {
      order: 0;
    }
  }

  .solution-features {
    columns: 1;
  }

  .solution-highlight {
    padding: 20px;
  }
}
