/* Container model (mirrors Elementor flex containers) */

.section {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding-inline: var(--con-padding);
}

.section__inner {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  width: 100%;
  max-width: min(100%, var(--content-width));
  margin: 0 auto;
  padding-block: var(--con-padding);
  gap: var(--con-gap);
}

.section__inner--row {
  flex-direction: row;
}

.con {
  position: relative;
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  padding: var(--con-padding);
  gap: var(--con-gap);
}

.con--row {
  flex-direction: row;
}

.widget {
  position: relative;
  min-width: 0;
  max-width: 100%;
}

.section--pad70 {
  padding-inline: 70px;
}

.section--pad70 > .section__inner {
  padding-block: 70px;
}

.section--pad15 {
  padding-inline: 15px;
}

.section--pad15 > .section__inner {
  padding-block: 15px;
}

.section--gap0 > .section__inner {
  gap: 0;
}

.section--glow {
  overflow: hidden;
}

.section--glow::after {
  content: "";
  position: absolute;
  top: -10%;
  left: 0;
  width: 600px;
  height: 600px;
  background: var(--color-navy-glow);
  border-radius: 100px;
  filter: blur(100px);
  opacity: 0.4;
  z-index: 1;
  pointer-events: none;
}

/* Hero */

.hero {
  z-index: 2;
  min-height: 750px;
  background-color: var(--color-navy);
  background-image: url("../img/hero-desktop.webp");
  background-position: top center;
  background-size: cover;
}

.hero > .section__inner {
  justify-content: center;
}

.hero__logo {
  width: 14%;
  max-width: 14%;
}

.hero__title {
  width: 43%;
  max-width: 43%;
}

.hero__text {
  width: 45%;
  max-width: 45%;
}

.hero__button {
  align-self: flex-start;
}

/* Numbers */

.numbers {
  margin-top: -99px;
  background-color: var(--color-white);
}

.numbers__card {
  width: 65%;
  align-self: center;
  flex-direction: row;
  padding: 30px;
  background: rgba(18, 49, 75, 0.75);
  -webkit-backdrop-filter: blur(9.5px);
  backdrop-filter: blur(9.5px);
  border: 0.5px solid rgba(255, 255, 255, 0.75);
  border-radius: 20px;
  z-index: 3;
}

.numbers__heading {
  width: 30%;
  justify-content: center;
}

.numbers__list {
  width: 70%;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

/* About */

.about {
  background-color: var(--color-white);
}

.about__content,
.about__media {
  width: 50%;
  justify-content: center;
}

.about__text {
  width: 95%;
  max-width: 95%;
}

/* Consultancy */

.consultancy {
  background-color: var(--color-navy);
}

.consultancy > .section__inner {
  justify-content: center;
}

.consultancy__eyebrow,
.consultancy__title {
  width: 45%;
  max-width: 45%;
  align-self: center;
  z-index: 5;
}

.consultancy__steps {
  flex-direction: row;
  justify-content: center;
  gap: 10px;
  padding: 0;
  z-index: 5;
}

.consultancy__steps::before {
  content: "";
  position: absolute;
  top: 13%;
  left: 50%;
  width: 85%;
  height: 1px;
  background: rgba(255, 255, 255, 0.53);
  transform: translate(-50%);
}

.consultancy__button {
  align-self: center;
}

.consultancy__note {
  width: 56%;
  max-width: 56%;
  align-self: center;
}

/* Differentials */

.differentials {
  min-height: 650px;
  background-color: var(--color-white);
  background-image: url("../img/diferenciais-desktop.webp");
  background-position: top center;
  background-size: cover;
}

.differentials::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 5;
  background-image: url("../img/fernando-recorte.webp");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transform: scale(1.1);
  top: -5%;
  left: -22%;
  pointer-events: none;
}

.differentials > .section__inner {
  align-items: center;
}

.differentials__spacer,
.differentials__content {
  width: 50%;
}

.differentials__title {
  width: 70%;
  max-width: 70%;
}

.differentials__grid {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-self: center;
  gap: 5px;
  padding: 0;
}

/* Results */

.results {
  background-color: var(--color-navy);
}

.results__content {
  justify-content: center;
  z-index: 10;
}

.results__chart {
  padding: 0 30px;
  z-index: 10;
}

.results__title {
  text-align: left;
  z-index: 5;
}

.results__text {
  width: 90%;
  max-width: 90%;
}

.results__legend--first > .icon-list__items {
  margin-bottom: -23px;
}

/* FAQ */

.faq {
  background-color: var(--color-gray-light);
}

.faq__content {
  width: 50%;
  z-index: 5;
  position: sticky;
  top: 150px;
  align-self: flex-start;
}

.faq__title {
  width: 66%;
  max-width: 66%;
  align-self: flex-start;
}

.faq__list {
  width: 50%;
  z-index: 5;
}

/* Footer */

.footer {
  background-color: var(--color-black);
}

.footer__about {
  width: 60%;
}

.footer__about .footer__logo {
  width: 21%;
  max-width: 21%;
  align-self: flex-start;
}

.footer__nav,
.footer__social {
  width: 20%;
}

.footer__heading {
  width: 70%;
  max-width: 70%;
}

/* Secondary pages */

.page {
  background: var(--color-white);
  color: var(--color-navy-deep);
  min-height: 60vh;
}

.page > .section__inner {
  max-width: 800px;
  gap: 0;
}

.page h1 {
  font-size: 35px;
  margin: 0 0 0.5em;
  line-height: 1.1;
}

.page h2 {
  font-size: 22px;
  margin: 1.2em 0 0.4em;
}

.page p,
.page li {
  font-size: 15px;
}

.page ul {
  list-style: disc;
  padding-left: 1.4em;
}

.page li {
  list-style: disc;
  margin-bottom: 0.4em;
}

.page a {
  color: var(--color-accent-dark);
  text-decoration: underline;
}

/* Tablet */

@media (min-width: 768px) and (max-width: 1199px) {
  .section--pad70 {
    padding-inline: 40px;
  }

  .section--pad70 > .section__inner {
    padding-block: 60px;
  }

  .hero {
    min-height: 680px;
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 33, 50, 0.9) 0%, rgba(12, 33, 50, 0.65) 45%, rgba(12, 33, 50, 0) 75%);
    pointer-events: none;
  }

  .hero > .section__inner {
    position: relative;
    z-index: 1;
    padding-bottom: 110px;
  }

  .hero__logo {
    width: 140px;
    max-width: 140px;
  }

  .hero__title {
    width: 62%;
    max-width: 62%;
  }

  .hero__text {
    width: 55%;
    max-width: 55%;
  }

  .page-404 > .section__inner {
    padding-bottom: 60px;
  }

  .numbers__card {
    width: 88%;
  }

  .numbers__heading {
    width: 34%;
  }

  .numbers__list {
    width: 66%;
  }

  .consultancy__eyebrow,
  .consultancy__title,
  .consultancy__note {
    width: 80%;
    max-width: 80%;
  }

  .consultancy__steps {
    flex-wrap: wrap;
    gap: 14px;
  }

  .consultancy__steps::before {
    content: none;
  }

  .differentials {
    min-height: 0;
  }

  .differentials::before {
    top: auto;
    bottom: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background-position: center bottom;
    transform: none;
  }

  .differentials__spacer {
    width: 40%;
  }

  .differentials__content {
    width: 60%;
  }

  .differentials__title,
  .faq__title {
    width: 100%;
    max-width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero {
    min-height: 620px;
  }

  .about > .section__inner {
    align-items: center;
  }

  .faq > .section__inner,
  .footer > .section__inner {
    flex-wrap: wrap;
  }

  .faq__content,
  .faq__list {
    width: 100%;
  }

  .faq__content {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .faq__content > .widget {
    width: 100%;
  }

  .faq__content > .contact-card {
    width: calc(50% - 10px);
  }

  .faq__content > .spacer {
    display: none;
  }

  .faq__title {
    width: 100%;
    max-width: 100%;
  }

  .footer__about {
    width: 100%;
  }

  .footer__nav,
  .footer__social {
    width: calc(50% - 10px);
  }
}

/* Mobile */

@media (max-width: 767px) {
  .section--pad70 {
    padding-inline: 25px;
  }

  .section--pad70 > .section__inner {
    padding-block: 25px;
  }

  .con {
    width: 100%;
  }

  .section__inner--row,
  .con--row {
    flex-wrap: wrap;
  }

  .hero {
    min-height: 0;
    background-image: url("../img/hero-mobile.webp");
    background-repeat: no-repeat;
    background-size: contain;
  }

  .hero > .section__inner {
    padding-bottom: 135px;
  }

  .page-404 > .section__inner {
    padding-bottom: 40px;
  }

  .page-404 .eyebrow {
    align-self: center;
  }

  .hero__logo {
    width: 148px;
    max-width: 148px;
    align-self: center;
    margin-top: calc(50vw - 30px);
  }

  .hero__title,
  .hero__text {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .hero__text {
    max-width: 520px;
    align-self: center;
  }

  .hero__button {
    align-self: center;
  }

  .numbers__card {
    width: 100%;
    max-width: 520px;
    padding: 0 0 20px;
  }

  .numbers__heading {
    width: 100%;
  }

  .numbers__list {
    width: 100%;
    gap: 5px;
    margin-top: -15px;
    padding: 0;
  }

  .about__content,
  .about__media,
  .differentials__spacer,
  .differentials__content,
  .faq__content,
  .faq__list,
  .footer__about {
    width: 100%;
  }

  .about__text {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .about__media .image img {
    max-width: 480px;
    width: 100%;
  }

  .consultancy__eyebrow,
  .consultancy__title,
  .consultancy__note {
    width: 100%;
    max-width: 100%;
  }

  .consultancy__steps {
    width: 100%;
    max-width: 100%;
    gap: 12px;
  }

  .consultancy__steps::before {
    content: none;
  }

  .differentials {
    min-height: 0;
    background-image: url("../img/diferenciais-mobile.webp");
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .differentials::before {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(max(300px, 68vw) + 40px);
    background-position: center bottom;
    transform: none;
  }

  .differentials > .section__inner {
    flex-direction: column-reverse;
    justify-content: flex-start;
    align-items: center;
  }

  .differentials__spacer {
    min-height: max(300px, 68vw);
  }

  .differentials__title {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .results {
    z-index: 5;
  }

  .results__title {
    text-align: center;
  }

  .results__text {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .results__chart {
    margin-top: 24px;
    padding: 0 10px;
  }

  .faq__content {
    position: static;
  }

  .faq__title {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .footer__nav,
  .footer__social {
    width: calc(50% - 10px);
  }

  .footer__about .footer__logo {
    width: 140px;
    max-width: 140px;
    align-self: flex-start;
  }
}

@media (max-width: 359px) {
  .section--pad70 {
    padding-inline: 16px;
  }

  .footer__nav,
  .footer__social {
    width: 100%;
  }
}

.page-404 {
  min-height: 100vh;
}
