/* =========================================================
   HABITA — Layout Prototype
   Hero — versão organizada
   ========================================================= */


/* =========================================================
   VARIÁVEIS
   ========================================================= */

:root {
  --habita-blue: #002e42;
  --hero-background: #003555;
  --habita-orange: #ff6600;
  --white: #ffffff;
  --surface-light: #f3f7f9;
  --surface-footer: #f4f7f9;

  --content-width: 1160px;
  --side-padding: clamp(24px, 7.5vw, 108px);

  --font-primary: "Kumbh Sans", sans-serif;
  --section-title-size: clamp(44px, 4vw, 62px);
  --section-title-size-tablet: clamp(42px, 5vw, 58px);
  --section-title-size-mobile: clamp(36px, 9vw, 48px);
  --section-space: clamp(80px, 7vw, 100px);
  --section-space-panel: clamp(48px, 4vw, 72px);
  --eyebrow-size: 15px;
  --eyebrow-size-mobile: 12px;
  --eyebrow-tracking: 0.08em;
  --eyebrow-line-width: 51px;
  --eyebrow-line-width-mobile: 38px;
  --transition-interactive: 180ms ease;
}


/* =========================================================
   RESET / BASE
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;

  background: var(--habita-blue);
  color: var(--white);

  font-family: var(--font-primary);

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}


/* =========================================================
   PADRÕES REUTILIZÁVEIS DAS SEÇÕES
   ========================================================= */

:is(
  .about-habita__eyebrow,
  .why-habita__eyebrow,
  .how-it-works__eyebrow,
  .faq__eyebrow,
  .final-cta__eyebrow
) {
  display: flex;
  align-items: center;
  gap: 15px;
}

:is(
  .about-habita__eyebrow-line,
  .why-habita__eyebrow span:first-child,
  .how-it-works__eyebrow span:first-child,
  .faq__eyebrow span:first-child,
  .final-cta__eyebrow span:first-child
) {
  width: var(--eyebrow-line-width);
  height: 2px;
  flex: 0 0 auto;
  background: var(--habita-orange);
}

:is(
  .about-habita__eyebrow,
  .why-habita__eyebrow span:last-child,
  .how-it-works__eyebrow span:last-child,
  .faq__eyebrow span:last-child,
  .final-cta__eyebrow span:last-child
) {
  font-size: var(--eyebrow-size);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: var(--eyebrow-tracking);
}

:is(
  .about-habita__title,
  .why-habita__title,
  .movement__title,
  .how-it-works__title,
  .faq__title,
  .final-cta__title
) {
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
}


/* =========================================================
   HERO — DESKTOP / BASE
   ========================================================= */

.hero {
  position: relative;

  width: 100%;
  /* Mesmo enquadramento proporcional usado no CTA final (imagem 1920 × 970). */
  min-height: min(45.46875vw, 808px);

  overflow: hidden;
  isolation: isolate;

  background-color: var(--hero-background);
  background-image: url("assets/hero-bg-2.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 100%;
}

.hero__mobile-image {
  display: none;
}


/* =========================================================
   HERO — CONTAINER
   ========================================================= */

.hero__inner {
  position: relative;
  z-index: 2;

  width: min(90%, 1440px);
  min-height: inherit;
  box-sizing: border-box;

  margin: 0 auto;

  padding-block: clamp(48px, 5vw, 72px);

}


/* =========================================================
   HERO — CONTEÚDO ESQUERDO
   ========================================================= */

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

  width: min(100%, 700px);
  max-width: 700px;
}


/* =========================================================
   LOGO
   ========================================================= */

.hero__logo {
  display: inline-flex;

  /*
   * Tamanho fixo no desktop.
   * O logo não cresce com a resolução.
   */
  width: 240px;

  line-height: 0;
  text-decoration: none;
}

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


/* =========================================================
   HERO — TEXTO
   ========================================================= */

.hero__copy {
  margin-top: clamp(65px, 8vh, 90px);
}


/* =========================================================
   TÍTULO
   ========================================================= */

.hero h1 {
  max-width: 680px;

  margin: 0;

  /*
   * Escala responsiva controlada:
   *
   * 1366px → aproximadamente 64px
   * 1920px → aproximadamente 90px
   * 1940px → permanece em 90px
   *
   * Isso evita que telas muito grandes
   * façam o título crescer demais.
   */
  font-size: clamp(58px, 4.69vw, 90px);

  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.hero h1 span,
.hero h1 strong {
  display: block;
}

.hero h1 strong {
  margin-top: 0.08em;

  color: var(--habita-orange);

  font-weight: 700;
}


/* =========================================================
   TEXTO DE APOIO
   ========================================================= */

.hero__copy>p {
  max-width: 560px;

  margin: 24px 0 0;

  font-size: clamp(18px, 1.1vw, 22px);
  line-height: 1.35;
  letter-spacing: -0.018em;
  font-weight: 400;
}


/* =========================================================
   BOTÃO
   ========================================================= */

.hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 13px;

  width: 280px;
  min-height: 60px;

  margin-top: 32px;
  padding: 15px 27px;

  border-radius: 999px;

  background: var(--habita-orange);
  color: var(--white);

  text-decoration: none;

  font-family: var(--font-primary);
  font-size: 17px;
  line-height: 1;
  font-weight: 600;

  transition:
    transform var(--transition-interactive),
    filter var(--transition-interactive),
    box-shadow var(--transition-interactive);
}

.hero__button:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.08);
  box-shadow: 0 10px 22px rgba(255, 102, 0, 0.32);
}

.hero__button:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
}

.hero__button-arrow {
  display: inline-block;

  font-size: 28px;
  line-height: 0.7;
  font-weight: 400;

  transform: translateY(-1px);
}


/* =========================================================
   PLACEHOLDER
   ========================================================= */

.placeholder-section {
  display: none;
}


/* =========================================================
   DESKTOP GRANDE
   ========================================================= */

@media (min-width: 1200px) {

  .hero__content {
    width: 700px;
    max-width: 900px;
  }
}


/* Em desktops médios, o conteúdo precisa caber na altura proporcional da arte
   (1920 × 970), sem ampliar o hero e criar faixas no fundo. */
@media (min-width: 1200px) and (max-width: 1500px) {
  .hero__inner {
    padding-block: 32px;
  }

  .hero__copy {
    margin-top: 45px;
  }

  .hero h1 {
    font-size: clamp(54px, 4.3vw, 62px);
  }
}


/* Em telas até 1366px, o hero ocupa a altura visível sem cortar conteúdo. */
@media (min-width: 768px) and (max-width: 1366px) {
  .hero {
    min-height: 100svh;
  }
}


/* =========================================================
   TELAS INTERMEDIÁRIAS
   ========================================================= */

@media (min-width: 768px) and (max-width: 1199px) {

  .hero__logo {
    width: 270px;
  }

  .hero__content {
    max-width: 600px;
  }

  .hero__copy {
    margin-top: 70px;
  }

  .hero h1 {
    max-width: 580px;
    font-size: clamp(52px, 5vw, 64px);
  }

  .hero__copy>p {
    max-width: 500px;
    font-size: 19px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

  .hero {
    width: 100%;

    min-height: 680px;

    background-image: none;

  }

  .hero__mobile-image {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 0;
  }


  .hero__inner {
    width: 100%;

    min-height: inherit;

    padding: 0;

  }


  .hero__content {
    width: 100%;
    max-width: none;
    align-items: center;

    padding-top: 34px;
    padding-bottom: 54px;
  }


  .hero__logo {
    width: 180px;
    margin-inline: auto;
  }


  .hero__copy {
    width: min(calc(100% - 48px), 430px);

    margin-top: 24px;
    text-align: center;
  }


  .hero h1 {
    max-width: 430px;

    font-size: clamp(36px, 9.6vw, 48px);

    line-height: 0.98;
    letter-spacing: -0.045em;
    text-align: center;
  }


  .hero__copy>p {
    max-width: 380px;
    margin-inline: auto;
    text-align: center;

    margin-top: 22px;

    font-size: 17px;
    line-height: 1.35;
  }


  .hero__button {
    width: min(100%, 280px);

    min-height: 58px;

    margin-top: 28px;

    font-size: 16px;
  }

}

/* =========================================================
   ANIMAÇÕES DE ENTRADA
   ========================================================= */

/* Os elementos só ficam ocultos quando o JavaScript confirma que está ativo. */
.reveal-ready [data-reveal] {
  opacity: 0;
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-ready [data-reveal="up"] {
  transform: translate3d(0, 36px, 0);
}

.reveal-ready [data-reveal="down"] {
  transform: translate3d(0, -28px, 0);
}

.reveal-ready [data-reveal="left"] {
  transform: translate3d(-44px, 0, 0);
}

.reveal-ready [data-reveal="right"] {
  transform: translate3d(44px, 0, 0);
}

.reveal-ready [data-reveal="fade"] {
  transform: scale(0.985);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  will-change: auto;
}

@media (max-width: 767px) {
  /* No celular, entradas verticais evitam qualquer risco de rolagem lateral. */
  .reveal-ready [data-reveal="left"],
  .reveal-ready [data-reveal="right"] {
    transform: translate3d(0, 28px, 0);
  }

  .reveal-ready [data-reveal].is-visible {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* =========================================================
   RODAPÉ
   ========================================================= */

.site-footer {
  background: var(--surface-footer);
  color: var(--habita-blue);
}

.site-footer__inner {
  /* Mesmo alinhamento horizontal usado no CTA final. */
  width: min(90%, 1440px);
  margin: 0 auto;
  padding: 34px 0 30px;
}

.site-footer__top {
  display: flex;
  align-items: center;
  min-height: 90px;
}

.site-footer__brand {
  display: inline-flex;
  flex: 0 0 auto;
  width: clamp(220px, 18.6vw, 267px);
  line-height: 0;
}

.site-footer__brand img {
  width: 100%;
  height: auto;
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 28px;

  margin-left: auto;
}

.site-footer__social a,
.whatsapp-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  line-height: 0;
  transition: transform var(--transition-interactive), filter var(--transition-interactive);
}

.site-footer__social img {
  width: 42px;
  height: 42px;
}

.site-footer__legal {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 53, 85, 0.16);
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
}

.site-footer__legal p,
.site-footer__legal address {
  margin: 0;
}

.site-footer__legal address {
  margin-top: 4px;
  font-style: normal;
}

.whatsapp-float {
  position: fixed;
  right: clamp(20px, 2.5vw, 40px);
  bottom: clamp(20px, 2.5vw, 40px);
  z-index: 10;

  width: 72px;
  height: 72px;
  border-radius: 50%;

  background: #25d366;
  box-shadow: 0 5px 14px rgba(0, 46, 66, 0.14);
}

.whatsapp-float img {
  width: 62%;
  height: 62%;
}

.site-footer__social a:hover,
.whatsapp-float:hover {
  transform: translateY(-3px);
  filter: brightness(0.96);
}

.site-footer__social a:focus-visible,
.whatsapp-float:focus-visible,
.site-footer__brand:focus-visible {
  outline: 3px solid var(--habita-orange);
  outline-offset: 5px;
}

@media (max-width: 767px) {
  .site-footer__inner {
    width: calc(100% - 48px);
    padding: 30px 0 28px;
  }

  .site-footer__top {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: center;
    column-gap: 24px;
    row-gap: 18px;
    min-height: 0;
  }

  .site-footer__brand {
    width: min(100%, 180px);
    justify-self: start;
  }

  .site-footer__social {
    gap: 18px;
    margin-left: 0;
    justify-self: start;
  }

  .site-footer__social img {
    width: 34px;
    height: 34px;
  }

  .site-footer__legal {
    margin-top: 24px;
    padding-top: 20px;
    font-size: 12px;
    line-height: 1.55;
  }

  .whatsapp-float {
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 440px) {
  .site-footer__social {
    width: auto;
    margin-left: 0;
  }

}


/* =========================================================
   MOBILE PEQUENO
   ========================================================= */

@media (max-width: 420px) {

  .hero__inner {
    padding-left: 0;
    padding-right: 0;
  }


  .hero__content {
    padding-top: 28px;
    padding-bottom: 42px;
  }


  .hero__logo {
    width: 180px;
  }


  .hero__copy {
    width: min(calc(100% - 40px), 380px);
    margin-top: 24px;
  }


  .hero h1 {
    max-width: 380px;

    font-size: clamp(36px, 9.6vw, 44px);
  }


  .hero__copy>p {
    font-size: 16px;
  }


  .hero__button {
    width: 100%;
  }

}

/* =========================================================
   A HABITA
   ========================================================= */

.about-habita {
  width: 100%;
  background: var(--surface-light);
  color: var(--habita-blue);
  padding: var(--section-space) 0;
}

.about-habita__container {
  width: min(100% - 48px, var(--content-width));
  margin: 0 auto;

  display: grid;
  grid-template-columns: minmax(0, 1fr) 500px;
  gap: clamp(60px, 7vw, 120px);
  align-items: center;
}


/* ---------------------------------------------------------
   CONTEÚDO
   --------------------------------------------------------- */

.about-habita__content {
  max-width: 620px;
}

.about-habita__eyebrow {
  margin-bottom: 21px;
  color: var(--habita-blue);
}

.about-habita__eyebrow-line {
  display: block;
}

.about-habita__title {
  margin: 0;

  color: var(--habita-blue);

  font-size: var(--section-title-size);
}

.about-habita__title span {
  display: block;
  color: var(--habita-orange);
}

.about-habita__text {
  max-width: 610px;

  margin: 25px 0 0;

  font-size: 17px;
  line-height: 1.62;
  letter-spacing: -0.015em;
  font-weight: 400;
}

.about-habita__text strong {
  font-weight: 700;
}

.about-habita__highlight {
  display: flex;
  align-items: center;

  min-height: 118px;

  margin-top: 25px;
  padding: 22px 27px;

  border: 1.5px solid var(--habita-orange);
  border-radius: 20px;
}

.about-habita__highlight p {
  margin: 0;

  color: var(--habita-blue);

  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}


/* ---------------------------------------------------------
   CARD DE OFERTA
   --------------------------------------------------------- */

.launch-offer {
  width: 100%;
  min-height: 536px;

  padding: 36px 23px 27px;

  background: var(--white);
  border-radius: 32px;

  box-shadow:
    0 14px 25px rgba(0, 46, 66, 0.12),
    0 4px 8px rgba(0, 46, 66, 0.08);

  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.launch-offer__intro {
  margin: 0;

  color: var(--habita-blue);

  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
}

.launch-offer__number {
  width: 100%;

  margin-top: 22px;
  padding: 14px 15px 16px;

  background: var(--habita-blue);
  border-radius: 22px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.launch-offer__number-label {
  color: var(--white);

  font-size: 22px;
  line-height: 1.1;
  font-weight: 700;
}

.launch-offer__number strong {
  display: block;

  margin: -2px 0 -1px;

  color: var(--habita-orange);

  font-size: clamp(76px, 6vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 700;
}

.launch-offer__free {
  display: flex;
  flex-direction: column;
  align-items: center;

  margin-top: 16px;

  color: var(--habita-blue);

  font-weight: 700;
}

.launch-offer__free span {
  font-size: 23px;
  line-height: 1;
}

.launch-offer__free strong {
  margin-top: 3px;

  color: var(--habita-orange);

  font-size: 52px;
  line-height: 0.95;
  letter-spacing: normal;
}

.launch-offer__button {
  width: 100%;
  min-height: 56px;

  margin-top: 14px;
  padding: 14px 24px;

  border-radius: 999px;

  background: var(--habita-orange);
  color: var(--white);

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;

  text-decoration: none;

  font-size: 16px;
  line-height: 1;
  font-weight: 700;

  transition:
    transform var(--transition-interactive),
    filter var(--transition-interactive),
    box-shadow var(--transition-interactive);
}

.launch-offer__button:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.08);
  box-shadow: 0 10px 22px rgba(255, 102, 0, 0.32);
}

.launch-offer__button:focus-visible {
  outline: 3px solid var(--habita-blue);
  outline-offset: 4px;
}

.launch-offer__button span:last-child {
  font-size: 27px;
  line-height: 0.7;
  font-weight: 400;
}

.launch-offer__after {
  margin: 20px 0 0;

  color: var(--habita-blue);

  font-size: 15px;
  line-height: 1.3;
  font-weight: 400;
}


/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 1050px) {

  .about-habita__container {
    grid-template-columns: minmax(0, 1.2fr) minmax(380px, 0.9fr);
    gap: 55px;
  }

  .about-habita__title {
    font-size: clamp(42px, 5vw, 56px);
  }

  .launch-offer {
    min-height: 570px;
  }
}


@media (max-width: 900px) {

  .about-habita {
    padding: 75px 0;
  }

  .about-habita__container {
    width: min(100% - 48px, 600px);

    grid-template-columns: 1fr;
    gap: 55px;
  }

  .about-habita__content {
    max-width: none;
  }

  .about-habita__title {
    font-size: clamp(42px, 8vw, 58px);
  }

  .about-habita__text {
    max-width: none;
  }

  .launch-offer {
    max-width: 500px;
    margin: 0 auto;
  }
}


@media (max-width: 480px) {

  .about-habita {
    padding: 65px 0;
  }

  .about-habita__container {
    width: min(100% - 40px, 500px);
    gap: 45px;
  }

  .about-habita__eyebrow {
    gap: 10px;
    font-size: 13px;
    letter-spacing: 0.055em;
  }

  .about-habita__eyebrow-line {
    width: 38px;
  }

  .about-habita__title {
    font-size: 40px;
    line-height: 1;
  }

  .about-habita__text {
    margin-top: 21px;
    font-size: 16px;
    line-height: 1.55;
  }

  .about-habita__highlight {
    min-height: 105px;
    margin-top: 23px;
    padding: 20px;
    border-radius: 17px;
  }

  .about-habita__highlight p {
    font-size: 16px;
  }

  .launch-offer {
    min-height: auto;
    padding: 34px 18px 27px;
    border-radius: 26px;
  }

  .launch-offer__intro {
    font-size: 15px;
  }

  .launch-offer__number {
    margin-top: 23px;
    border-radius: 19px;
  }

  .launch-offer__number-label {
    font-size: 20px;
  }

  .launch-offer__number strong {
    font-size: 82px;
  }

  .launch-offer__free span {
    font-size: 23px;
  }

  .launch-offer__free strong {
    font-size: 52px;
  }

  .launch-offer__button {
    min-height: 55px;
    padding-inline: 16px;
    font-size: 14px;
  }

  .launch-offer__after {
    margin-top: 21px;
    font-size: 13px;
  }
}

/* =========================================================
   POR QUE ENTRAR NA HABITA
   ========================================================= */

.why-habita {
  width: 100%;

  box-sizing: border-box;
  padding: 0;

  background: var(--surface-light);
}


/* =========================================================
   PAINEL
   ========================================================= */

.why-habita__panel {
  width: min(90%, 1440px);

  min-height: 0;

  margin: 0 auto;

  box-sizing: border-box;
  padding: 48px;

  overflow: hidden;

  border-radius: 58px;

  background: var(--habita-blue);
}

.why-habita__inner {
  display: grid;
  grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
  column-gap: 48px;

  width: 100%;
  min-height: 0;
  margin: 0 auto;
}


/* =========================================================
   IMAGEM
   ========================================================= */

.why-habita__image {
  min-width: 0;
  align-self: start;
  aspect-ratio: 671 / 784;

  margin-top: 0;
  margin-left: 0;

  overflow: visible;

  border-radius: 30px;
}

.why-habita__image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center;
}


/* =========================================================
   CONTEÚDO
   ========================================================= */

.why-habita__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  padding: 0;

  color: var(--white);
}


/* =========================================================
   EYEBROW
   ========================================================= */

.why-habita__eyebrow {
  margin-bottom: 25px;
}

/* =========================================================
   TÍTULO
   ========================================================= */

.why-habita__title {
  max-width: none;

  margin: 0;

  font-size: var(--section-title-size);
}

.why-habita__title strong {
  color: var(--habita-orange);
}


/* =========================================================
   BENEFÍCIOS
   ========================================================= */

.why-habita__benefits {
  display: flex;
  flex-direction: column;

  gap: 24px;

  margin-top: 34px;
}


.why-habita__benefit {
  margin: 0;
}


.why-habita__benefit h3 {
  margin: 0;

  font-size: 28px;
  line-height: 1.1;

  font-weight: 400;

  letter-spacing: -0.025em;
}


.why-habita__benefit h3 strong {
  color: var(--habita-orange);

  font-weight: 700;
}


.why-habita__benefit p {
  max-width: none;

  margin: 4px 0 0;

  font-size: 15px;
  line-height: 1.45;

  font-weight: 400;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

  .why-habita__panel {
    min-height: 700px;

    border-radius: 45px;
  }

  .why-habita__inner {
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  }

  .why-habita__content {
    padding: 55px 40px;
  }

  .why-habita__title {
    font-size: clamp(40px, 4.5vw, 54px);
  }

  .why-habita__benefit h3 {
    font-size: 24px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

  .why-habita {
    padding: 0;
  }


  .why-habita__panel {
    width: min(100% - 32px, 600px);

    min-height: 0;

    box-sizing: border-box;
    padding: 20px;

    border-radius: 32px;
  }

  .why-habita__inner {
    grid-template-columns: 1fr;
    width: 100%;
    min-height: 0;
  }


  .why-habita__image {
    width: 100%;
    height: auto;
    aspect-ratio: 671 / 784;
    margin: 0;
    justify-self: center;
  }


  .why-habita__content {
    padding: 45px 25px 50px;
  }


  .why-habita__eyebrow {
    margin-bottom: 20px;
  }


  .why-habita__eyebrow span:first-child {
    width: 38px;
  }


  .why-habita__eyebrow span:last-child {
    font-size: 12px;
  }


  .why-habita__title {
    font-size: clamp(40px, 10vw, 54px);

    line-height: 0.98;
  }


  .why-habita__benefits {
    gap: 25px;

    margin-top: 35px;
  }


  .why-habita__benefit h3 {
    font-size: 24px;
  }


  .why-habita__benefit p {
    font-size: 15px;
  }

}


/* =========================================================
   MOBILE PEQUENO
   ========================================================= */

@media (max-width: 420px) {

  .why-habita__panel {
    width: calc(100% - 24px);

    border-radius: 26px;
  }


  .why-habita__image {
    width: 100%;
    height: auto;
  }


  .why-habita__content {
    padding: 38px 20px 42px;
  }


  .why-habita__title {
    font-size: 40px;
  }


  .why-habita__benefit h3 {
    font-size: 22px;
  }

}

/* =========================================================
   COLOCAR EM MOVIMENTO
   ========================================================= */

.movement {
  width: 100%;

  padding: var(--section-space) 0;

  background: #ffffff;
  color: var(--habita-blue);
}


/* =========================================================
   CONTAINER
   ========================================================= */

.movement__container {
  width: min(100% - 48px, var(--content-width));

  margin: 0 auto;
}


/* =========================================================
   CABEÇALHO
   ========================================================= */

.movement__header {
  text-align: center;
}


.movement__title {
  max-width: 1050px;

  margin: 0 auto;

  font-size: var(--section-title-size);
}


.movement__title span,
.movement__title strong {
  display: block;
}


.movement__title span {
  color: var(--habita-blue);
}


.movement__title strong {
  color: var(--habita-orange);
}


.movement__intro {
  max-width: 900px;

  margin: 28px auto 0;

  font-size: 17px;
  line-height: 1.45;

  font-weight: 600;

  letter-spacing: -0.01em;
}


/* =========================================================
   TRÊS COLUNAS
   ========================================================= */

.movement__items {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 70px;

  margin-top: 105px;
}


/* =========================================================
   ITEM
   ========================================================= */

.movement__item {
  display: flex;
  flex-direction: column;
  align-items: center;

  height: 100%;
  box-sizing: border-box;
  padding: clamp(32px, 3vw, 44px) clamp(24px, 2.5vw, 36px);

  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0, 46, 66, 0.09);

  text-align: center;
}


.movement__icon {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 90px;
  height: 90px;

  margin: 0 auto 22px;
}


.movement__icon img {
  width: 80px;
  height: 80px;

  object-fit: contain;
}


.movement__item h3 {
  margin: 0;

  color: var(--habita-blue);

  font-size: 28px;
  line-height: 1.1;

  font-weight: 700;

  letter-spacing: -0.025em;
}


.movement__item p {
  max-width: 340px;

  margin: 10px auto 0;

  color: var(--habita-blue);

  font-size: 16px;
  line-height: 1.45;

  font-weight: 400;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .movement__items {
    gap: 35px;

    margin-top: 80px;
  }

  .movement__item h3 {
    font-size: 25px;
  }

  .movement__item p {
    font-size: 15px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

  .movement {
    padding: 75px 0;
  }


  .movement__container {
    width: min(100% - 48px, 600px);
  }


  .movement__title {
    font-size: clamp(38px, 9vw, 52px);
  }


  .movement__intro {
    margin-top: 22px;

    font-size: 16px;
  }


  .movement__items {
    grid-template-columns: 1fr;

    gap: 55px;

    margin-top: 65px;
  }


  .movement__icon {
    width: 80px;
    height: 80px;

    margin-bottom: 18px;
  }


  .movement__icon img {
    width: 72px;
    height: 72px;
  }


  .movement__item h3 {
    font-size: 25px;
  }


  .movement__item p {
    max-width: 360px;

    margin-top: 8px;

    font-size: 15px;
  }

}

/* =========================================================
   COMO FUNCIONA
   ========================================================= */

.how-it-works {
  width: 100%;

  background: #002e42;
  color: var(--white);

  overflow: hidden;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.how-it-works__container {
  width: min(90%, 1440px);

  min-height: 810px;

  margin: 0 auto;

  display: grid;
  grid-template-columns: 45% 55%;

  align-items: stretch;
}


/* =========================================================
   IMAGEM
   ========================================================= */

.how-it-works__visual {
  min-width: 0;
  min-height: 100%;

  overflow: hidden;
}


.how-it-works__visual img {
  display: block;

  width: 100%;
  height: 100%;
}


.how-it-works__visual img {
  object-fit: contain;
  object-position: center bottom;
}


/* =========================================================
   CONTEÚDO
   ========================================================= */

.how-it-works__content {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 75px 55px 75px 45px;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.how-it-works__eyebrow {
  margin-bottom: 27px;
}


/* =========================================================
   TÍTULO
   ========================================================= */

.how-it-works__title {
  margin: 0;

  font-size: var(--section-title-size);
}


.how-it-works__title span,
.how-it-works__title strong {
  display: block;
}


.how-it-works__title strong {
  color: var(--habita-orange);
}


/* =========================================================
   ETAPAS
   ========================================================= */

.how-it-works__steps {
  margin-top: 50px;

  border-top: 1px solid rgba(255, 255, 255, 0.35);
}


.how-it-works__step {
  display: grid;

  grid-template-columns: 68px minmax(0, 1fr);

  align-items: center;

  min-height: 104px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}


.how-it-works__number {
  color: var(--habita-orange);

  font-size: 52px;
  line-height: 1;

  letter-spacing: -0.04em;

  font-weight: 500;
}


.how-it-works__step-content {
  padding-left: 15px;
}


.how-it-works__step h3 {
  margin: 0;

  font-size: 27px;
  line-height: 1.1;

  font-weight: 700;

  letter-spacing: -0.02em;
}


.how-it-works__step p {
  margin: 4px 0 0;

  font-size: 17px;
  line-height: 1.35;

  font-weight: 400;
}


/* =========================================================
   TELAS INTERMEDIÁRIAS
   ========================================================= */

@media (max-width: 1050px) {

  .how-it-works__container {
    min-height: 700px;

    grid-template-columns: 42% 58%;
  }


  .how-it-works__content {
    padding: 60px 35px;
  }


  .how-it-works__title {
    font-size: clamp(42px, 5vw, 54px);
  }


  .how-it-works__steps {
    margin-top: 40px;
  }


  .how-it-works__step {
    grid-template-columns: 60px minmax(0, 1fr);

    min-height: 92px;
  }


  .how-it-works__number {
    font-size: 44px;
  }


  .how-it-works__step h3 {
    font-size: 24px;
  }


  .how-it-works__step p {
    font-size: 15px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

  .how-it-works__container {
    width: 100%;

    min-height: 0;

    grid-template-columns: 1fr;
  }


  .how-it-works__visual {
    width: 90%;
    height: auto;
    margin-inline: auto;
    order: 2;
  }


  .how-it-works__visual img {
    width: 100%;
    height: auto;

    object-fit: contain;
  }


  .how-it-works__content {
    order: 1;
    padding: 60px 24px 70px;
  }


  .how-it-works__eyebrow {
    margin-bottom: 22px;
  }


  .how-it-works__eyebrow span:first-child {
    width: 38px;
  }


  .how-it-works__eyebrow span:last-child {
    font-size: 12px;
  }


  .how-it-works__title {
    font-size: clamp(40px, 10vw, 54px);
  }


  .how-it-works__steps {
    margin-top: 38px;
  }


  .how-it-works__step {
    grid-template-columns: 58px minmax(0, 1fr);

    min-height: 100px;
  }


  .how-it-works__number {
    font-size: 42px;
  }


  .how-it-works__step-content {
    padding-left: 10px;
  }


  .how-it-works__step h3 {
    font-size: 23px;
  }


  .how-it-works__step p {
    font-size: 15px;
  }

}

/* =========================================================
   FAQ — PERGUNTAS FREQUENTES
   ========================================================= */

.faq {
  width: 100%;

  padding: var(--section-space) 0;

  background: var(--surface-light);
  color: var(--habita-blue);
}


/* =========================================================
   CONTAINER
   ========================================================= */

.faq__container {
  width: min(100% - 48px, var(--content-width));

  margin: 0 auto;

  display: grid;

  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);

  gap: 60px;

  align-items: start;
}


/* =========================================================
   INTRO
   ========================================================= */

.faq__intro {
  padding-top: 5px;
}


.faq__eyebrow {
  margin-bottom: 38px;
}


.faq__title {
  margin: 0;

  font-size: var(--section-title-size);
}


.faq__title strong {
  color: var(--habita-orange);
}


/* =========================================================
   LISTA
   ========================================================= */

.faq__list {
  width: 100%;
}


/* =========================================================
   ITEM
   ========================================================= */

.faq__item {
  border-top: 1px solid rgba(0, 46, 66, 0.28);
}


.faq__item:last-child {
  border-bottom: 1px solid rgba(0, 46, 66, 0.28);
}


/* =========================================================
   PERGUNTA
   ========================================================= */

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;

  min-height: 100px;

  padding: 0;

  cursor: pointer;

  list-style: none;

  font-size: 25px;
  line-height: 1.2;

  font-weight: 600;

  letter-spacing: -0.02em;
}


.faq__item summary::-webkit-details-marker {
  display: none;
}


.faq__item summary b {
  flex: 0 0 auto;

  margin-left: 20px;

  color: var(--habita-orange);

  font-size: 31px;
  line-height: 1;

  font-weight: 500;
}


/* =========================================================
   RESPOSTA
   ========================================================= */

.faq__answer {
  max-width: 850px;

  padding: 0 40px 30px 0;

  font-size: 17px;
  line-height: 1.45;

  font-weight: 400;
}


/* =========================================================
   ÍCONE ABERTO / FECHADO
   ========================================================= */

.faq__item[open] summary b {
  font-size: 0;
}

.faq__item[open] summary b::after {
  content: "×";

  font-size: 30px;
  line-height: 1;

  font-weight: 400;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .faq__container {
    grid-template-columns: minmax(0, 35fr) minmax(0, 65fr);

    gap: 40px;
  }


  .faq__title {
    font-size: clamp(42px, 5vw, 54px);
  }


  .faq__item summary {
    min-height: 90px;

    font-size: 22px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

  .faq {
    padding: 75px 0;
  }


  .faq__container {
    width: min(100% - 48px, 600px);

    grid-template-columns: 1fr;

    gap: 55px;
  }


  .faq__intro {
    padding-top: 0;
  }


  .faq__eyebrow {
    margin-bottom: 25px;
  }


  .faq__eyebrow span:first-child {
    width: 38px;
  }


  .faq__eyebrow span:last-child {
    font-size: 12px;
  }


  .faq__title {
    font-size: clamp(42px, 10vw, 54px);
  }


  .faq__item summary {
    min-height: 78px;

    font-size: 19px;
  }


  .faq__item summary b {
    font-size: 27px;
  }


  .faq__answer {
    padding: 0 25px 25px 0;

    font-size: 15px;
  }

}

@media (max-width: 480px) {
  .movement__container,
  .faq__container {
    width: min(100% - 40px, 500px);
  }
}

/* =========================================================
   CTA FINAL
   ========================================================= */

.final-cta {
  position: relative;
  width: 100%;
  /* A imagem desktop tem proporção 1920 × 970. Mantemos a mesma relação
     no bloco para exibi-la por inteiro, sem faixas e sem recorte. */
  min-height: min(45.46875vw, 808px);
  overflow: hidden;
  background-color: var(--habita-blue);
  background-image: url("assets/cta-rodape-bg.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 100%;
  color: var(--white);
}

.final-cta__content-wrapper {
  position: relative;
  z-index: 2;
  width: min(90%, 1440px);
  min-height: inherit;
  box-sizing: border-box;
  padding-block: clamp(48px, 5vw, 72px);
  margin: 0 auto;
  display: flex;
  align-items: center;

}

.final-cta__content {
  width: min(100%, clamp(500px, 34vw, 620px));
}

/* Em monitores largos, preserva uma coluna escura de leitura ao lado da imagem centralizada. */
@media (min-width: 1501px) {
  .hero__content {
    width: min(100%, 680px);
    max-width: 680px;
  }

  .hero__inner {
    padding-block: 48px;
  }

  .hero__copy {
    margin-top: 55px;
  }

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

  .final-cta__content {
    width: min(100%, 680px);
  }

  .final-cta__title {
    max-width: 680px;
    font-size: 58px;
  }

  .final-cta__text {
    max-width: 600px;
  }
}


/* =========================================================
   EYEBROW
   ========================================================= */

.final-cta__eyebrow {
  margin-bottom: 28px;
}


/* =========================================================
   TÍTULO
   ========================================================= */

.final-cta__title {

  margin: 0;

  font-size: var(--section-title-size);
}


.final-cta__title strong {
  display: block;

  color: var(--habita-orange);
}


/* =========================================================
   TEXTO
   ========================================================= */

.final-cta__text {

  margin: 30px 0 0;

  font-size: 18px;
  line-height: 1.45;

  font-weight: 400;
}


/* =========================================================
   BOTÃO
   ========================================================= */

.final-cta__button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 14px;

  min-width: 300px;
  min-height: 60px;

  margin-top: 32px;
  padding: 15px 28px;

  border-radius: 999px;

  background: var(--habita-orange);
  color: var(--white);

  text-decoration: none;

  font-family: var(--font-primary);
  font-size: 17px;
  line-height: 1;

  font-weight: 600;

  transition:
    transform var(--transition-interactive),
    filter var(--transition-interactive),
    box-shadow var(--transition-interactive);
}


.final-cta__button:hover {
  transform: translateY(-3px) scale(1.02);

  filter: brightness(1.08);
  box-shadow: 0 10px 22px rgba(255, 102, 0, 0.32);
}


.final-cta__button span:last-child {
  font-size: 28px;
  line-height: 0.7;
}


/* Em notebooks, a cópia ganha respiro sem competir com a imagem. */
@media (min-width: 1051px) and (max-width: 1500px) {
  .final-cta__content-wrapper {
    /* Evita que o conteúdo ultrapasse a altura proporcional da imagem. */
    padding-block: 24px;
  }

  .final-cta__title {
    font-size: clamp(48px, 3.8vw, 56px);
  }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

  .final-cta {
    min-height: 620px;
  }


  .final-cta__content-wrapper {
    min-height: inherit;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

  .final-cta {
    /* A altura passa a ser conteúdo + padding-bottom, que controla a área da imagem. */
    min-height: 0;
    background-image: none;
  }

  .final-cta__content-wrapper {
    background-image: url("assets/cta-rodape-img-celular.jpg");
    background-repeat: no-repeat;
    background-position: center bottom;
    /* A imagem ocupa toda a largura e termina alinhada à base do CTA. */
    background-size: 100% auto;
  }

  .final-cta__content-wrapper {
    width: 100%;

    min-height: 0;

    align-items: flex-start;

    padding: 0 24px;

  }


  .final-cta__content {
    width: 100%;
    max-width: 430px;

    padding: 70px 0 430px;
    margin-inline: auto;
    text-align: center;
  }


  .final-cta__eyebrow {
    margin-bottom: 24px;
    justify-content: center;
  }


  .final-cta__eyebrow span:first-child {
    width: 38px;
  }


  .final-cta__eyebrow span:last-child {
    font-size: 12px;
  }


  .final-cta__title {
    font-size: clamp(40px, 10vw, 54px);
  }


  .final-cta__text {
    margin-top: 24px;

    font-size: 16px;
  }


  .final-cta__button {
    width: 100%;
    min-width: 0;

    margin-top: 28px;
  }

}


/* Mantém a hierarquia tipográfica consistente em todas as seções. */
@media (min-width: 768px) and (max-width: 1050px) {
  :is(
    .about-habita__title,
    .why-habita__title,
    .movement__title,
    .how-it-works__title,
    .faq__title,
    .final-cta__title
  ) {
    font-size: var(--section-title-size-tablet);
  }
}

@media (max-width: 767px) {
  :is(
    .about-habita__title,
    .why-habita__title,
    .movement__title,
    .how-it-works__title,
    .faq__title,
    .final-cta__title
  ) {
    font-size: var(--section-title-size-mobile);
  }

  :is(
    .about-habita__eyebrow,
    .why-habita__eyebrow span:last-child,
    .how-it-works__eyebrow span:last-child,
    .faq__eyebrow span:last-child,
    .final-cta__eyebrow span:last-child
  ) {
    font-size: var(--eyebrow-size-mobile);
  }

  :is(
    .about-habita__eyebrow-line,
    .why-habita__eyebrow span:first-child,
    .how-it-works__eyebrow span:first-child,
    .faq__eyebrow span:first-child,
    .final-cta__eyebrow span:first-child
  ) {
    width: var(--eyebrow-line-width-mobile);
  }

  /* Centralização das setas dos CTAs no mobile. */
  .hero__button-arrow,
  .launch-offer__button span:last-child,
  .final-cta__button span:last-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transform: none;
  }

  /* Conteúdo da seção A Habita centralizado no mobile. */
  .about-habita__content {
    text-align: center;
  }

  .about-habita__eyebrow {
    justify-content: center;
  }

  /* Logo + redes usam 85%; a última coluna reserva espaço ao WhatsApp. */
  .site-footer__top {
    grid-template-columns: minmax(0, 55fr) minmax(0, 30fr) minmax(0, 15fr);
    column-gap: 10px;
  }

  .site-footer__brand {
    width: min(100%, 170px);
    grid-column: 1;
  }

  .site-footer__social {
    grid-column: 2;
    gap: 18px;
    justify-self: start;
  }
}
