/* =========================================================
   ROOT E RESET
========================================================= */

:root {
  --color-dark: #1c1e2b;
  --color-dark-2: #11131d;
  --color-yellow: #fab117;
  --color-white: #ffffff;
  --color-gray: #8b8fa3;
  --color-light: #f3f4f7;
  --color-line: rgba(28, 30, 43, 0.14);
  --layout-max: 1440px;
  --layout-gutter: clamp(20px, 4vw, 64px);
  --header-offset: 60px;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--color-yellow) var(--color-dark-2);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--color-dark);
  background-color: var(--color-light);
  font-family: "Poppins", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

img,
svg,
video {
  max-width: 100%;
}

::selection {
  color: var(--color-dark);
  background-color: var(--color-yellow);
}

::-webkit-scrollbar {
  width: 14px;
}

::-webkit-scrollbar-track {
  background-color: var(--color-dark-2);
}

::-webkit-scrollbar-thumb {
  border: 3px solid var(--color-dark-2);
  border-radius: 20px;
  background-color: var(--color-yellow);
}

::-webkit-scrollbar-thumb:hover {
  background-color: #e09b00;
}

.split-words {
  overflow: hidden;
}

.word {
  display: inline-block;
}

/* =========================================================
   HERO E FORMULÁRIO
========================================================= */

.hero {
  width: 100%;
  min-height: 100svh;
  padding-top: var(--header-offset);
  display: flex;
  align-items: center;
  background-color: var(--color-light);
}

.hero-content {
  width: 100%;
  max-width: var(--layout-max);
  margin-inline: auto;
  padding: 70px var(--layout-gutter);
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(480px, 1.14fr);
  gap: clamp(52px, 6vw, 92px);
  align-items: center;
}

.content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.content h1 {
  max-width: 610px;
  margin: 0;
  color: var(--color-dark);
  font-size: clamp(3.25rem, 4.4vw, 4.25rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.06em;
  overflow-wrap: anywhere;
}

.content p {
  max-width: 590px;
  margin: 0;
  color: var(--color-gray);
  font-size: 14px;
  line-height: 1.65;
}

.content ul {
  width: 100%;
  max-width: 590px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.content ul li {
  width: 100%;
  padding: 17px 14px;
  color: var(--color-gray);
  border-bottom: 1px solid rgba(139, 143, 163, 0.42);
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.5;
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s ease;
}

.content ul li:hover {
  color: var(--color-dark);
  background-color: rgba(139, 143, 163, 0.2);
  transform: translateX(4px);
}

/* ==========================================================
   FORMULÁRIO EM ETAPAS | INSPIRE+
========================================================== */

.secao-formulario {
  width: 100%;
  min-width: 0;
}

.formulario-container {
  width: 100%;
}


/* ==========================================================
   FORM
========================================================== */

.formulario-dados {
  width: 100%;
  padding: 32px;
  overflow: hidden;
  border: 1px solid rgba(28, 30, 43, 0.10);
  border-radius: 22px;
  background: #ffffff;
  box-shadow:
    0 18px 48px rgba(17, 19, 29, 0.08);
}


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

.formulario-cabecalho {
  margin-bottom: 22px;
}


.formulario-cabecalho h2 {
  max-width: 560px;
  margin: 0;
  color: #1c1e2b;
  font-size: clamp(25px, 2.5vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 700;
}


.formulario-cabecalho p {
  max-width: 600px;
  margin: 10px 0 0;
  color: #8b8fa3;
  font-size: 14px;
  line-height: 1.65;
}


/* ==========================================================
   PROGRESSO
========================================================== */

.formulario-progresso {
  margin-bottom: 22px;
}


.formulario-progresso-info {
  margin-bottom: 7px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #8b8fa3;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
}


.formulario-progresso-info span:last-child {
  color: #1c1e2b;
  font-weight: 700;
}


.formulario-progresso-barra {
  width: 100%;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7e9ef;
}


.formulario-progresso-barra > span {
  width: 50%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: #fab117;
  transition:
    width 0.3s ease;
}


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

.formulario-etapa {
  width: 100%;
  animation:
    formularioEntrada 0.25s ease both;
}


.formulario-etapa[hidden] {
  display: none !important;
}


.formulario-etapa.is-active {
  display: block;
}


@keyframes formularioEntrada {

  from {
    opacity: 0;

    transform:
      translateX(8px);
  }


  to {
    opacity: 1;

    transform:
      translateX(0);
  }

}


/* ==========================================================
   TÍTULO DA ETAPA
========================================================== */

.formulario-etapa-titulo {
  margin-bottom: 18px;

  display: flex;
  align-items: center;

  gap: 11px;
}


.formulario-etapa-titulo > span {
  flex: 0 0 auto;

  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #11131d;
  background: #fab117;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
}


.formulario-etapa-titulo > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}


.formulario-etapa-titulo strong {
  color: #1c1e2b;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
}


.formulario-etapa-titulo small {
  color: #8b8fa3;
  font-size: 14px;
  line-height: 1.4;
}


/* ==========================================================
   CAMPOS
========================================================== */

.campo-form {
  width: 100%;

  margin-bottom: 12px;

  display: flex;
  flex-direction: column;

  gap: 5px;
}


.campo-form label {
  color: #1c1e2b;

  font-size: 10px;
  line-height: 1.4;

  font-weight: 600;
}


.campo-form input,
.campo-form select {
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 13px;
  border: 1px solid #dfe1e8;
  border-radius: 9px;
  outline: none;
  color: #1c1e2b;
  background: #ffffff;
  font-family: inherit;
  font-size: 14px;
  line-height: 1;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}


.campo-form input::placeholder {
  color: #a5a8b4;
}


.campo-form select {
  cursor: pointer;
}


.campo-form input:hover,
.campo-form select:hover {
  border-color: #c8cbd5;
}


.campo-form input:focus,
.campo-form select:focus {
  border-color: #fab117;

  background: #fffdf8;

  box-shadow:
    0 0 0 3px rgba(250, 177, 23, 0.10);
}


/* ==========================================================
   POLÍTICA DE PRIVACIDADE
========================================================== */

.campo-politica {
  margin-top: 4px;
  margin-bottom: 17px;

  display: grid;

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

  align-items: flex-start;

  gap: 8px;
}


.campo-politica input {
  width: 15px;
  height: 15px;

  margin: 1px 0 0;

  flex: 0 0 auto;

  accent-color: #fab117;

  cursor: pointer;
}


.campo-politica label {
  margin: 0;

  color: #8b8fa3;

  font-size: 9px;
  line-height: 1.55;

  cursor: pointer;
}


.campo-politica a {
  color: #1c1e2b;

  font-weight: 700;

  text-decoration: underline;

  text-decoration-color:
    rgba(28, 30, 43, 0.4);

  text-underline-offset: 2px;
}


.campo-politica a:hover {
  color: #a97200;
}


/* ==========================================================
   AÇÕES
========================================================== */

.formulario-acoes {
  margin-top: 6px;

  padding-top: 15px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 10px;

  border-top:
    1px solid #eceef2;
}


.formulario-acoes--inicio {
  justify-content: flex-end;
}


.botao-form {
  min-height: 44px;

  padding: 0 17px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 9px;

  border-radius: 9px;

  font-family: inherit;

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

  font-weight: 700;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}


.botao-form:hover {
  transform:
    translateY(-1px);
}


/* VOLTAR */

.botao-form--voltar {
  border:
    1px solid #dfe1e8;

  color: #1c1e2b;
  background: #ffffff;
}


.botao-form--voltar:hover {
  border-color:
    #1c1e2b;
}


/* CONTINUAR / ENVIAR */

.botao-form--proximo,
.botao-form--enviar {
  border:
    1px solid #fab117;

  color: #11131d;
  background: #fab117;

  box-shadow:
    0 7px 16px rgba(250, 177, 23, 0.15);
}


.botao-form--proximo:hover,
.botao-form--enviar:hover {
  border-color:
    #ffc13d;

  background:
    #ffc13d;
}


/* ==========================================================
   1280px
========================================================== */

@media (max-width: 1280px) {

  .formulario-dados {
    padding: 28px;
  }


  .formulario-cabecalho h2 {
    font-size: 28px;
  }

}


/* ==========================================================
   1024px
========================================================== */

@media (max-width: 1024px) {

  .formulario-dados {
    padding: 26px;
  }


  .formulario-cabecalho h2 {
    font-size: 26px;
  }


  .formulario-cabecalho p {
    font-size: 11px;
  }

}


/* ==========================================================
   768px
========================================================== */

@media (max-width: 768px) {

  .formulario-dados {
    padding: 24px;
    border-radius: 18px;
  }


  .formulario-cabecalho {
    margin-bottom: 20px;
  }


  .formulario-cabecalho h2 {
    font-size: 27px;
  }


  .campo-form input,
  .campo-form select {
    height: 48px;
    font-size: 12px;
  }


  .campo-form label {
    font-size: 11px;
  }


  .campo-politica label {
    font-size: 10px;
  }

}


/* ==========================================================
   450px
========================================================== */

@media (max-width: 450px) {

  .formulario-dados {
    padding: 20px 17px;

    border-radius: 15px;
  }


  .formulario-cabecalho h2 {
    font-size: 25px;
  }


  .formulario-cabecalho p {
    font-size: 11px;
  }


  .formulario-etapa-titulo small {
    display: none;
  }


  .campo-form {
    margin-bottom: 11px;
  }


  .campo-form input,
  .campo-form select {
    height: 46px;
  }


  .formulario-acoes {
    flex-direction: column-reverse;

    align-items: stretch;
  }


  .formulario-acoes--inicio {
    flex-direction: row;

    justify-content: flex-end;
  }


  .botao-form {
    width: 100%;
  }


  .formulario-acoes--inicio
  .botao-form {
    width: auto;
  }

}

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

footer {
  width: 100%;
  padding: 90px 0 40px;
  background-color: var(--color-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: "Poppins", sans-serif;
}

.footer-top,
.footer-bottom {
  width: 100%;
  max-width: var(--layout-max);
  margin-inline: auto;
  padding-inline: var(--layout-gutter);
}

.footer-top {
  margin-bottom: 54px;
  padding-bottom: 54px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.15fr;
  gap: clamp(36px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top > * {
  min-width: 0;
}

.footer-brand-name {
  margin-bottom: 18px;
}

.footer-brand-name span {
  color: var(--color-yellow);
}

.footer-logo,
.footer-logo-img {
  display: block;
  width: 100px;
  max-width: 100%;
  height: auto;
  opacity: 1;
  visibility: visible;
  object-fit: contain;
}

.footer-desc {
  max-width: 330px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.7;
}

.footer-col-title {
  margin: 0 0 20px;
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.footer-links {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer-links a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-yellow);
  transform: translateX(3px);
}

.footer-address {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.7;
}

.footer-email {
  margin-top: 16px;
}

.footer-email a,
.footer-address a {
  color: var(--color-yellow);
  text-decoration: none;
}

.footer-email a:hover,
.footer-address a:hover {
  color: var(--color-white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.6;
}

/* =========================================================
   1440PX — DESKTOP PADRÃO
========================================================= */

@media (max-width: 1440px) {
  :root {
    --layout-gutter: clamp(40px, 4vw, 58px);
  }

  .hero-content {
    gap: clamp(48px, 5vw, 76px);
  }

  .content h1 {
    font-size: clamp(3.15rem, 4vw, 4rem);
  }

  .footer-top {
    gap: clamp(30px, 4vw, 56px);
  }
}

/* =========================================================
   1280PX — NOTEBOOK E DESKTOP COMPACTO
========================================================= */

@media (max-width: 1280px) {
  :root {
    --layout-gutter: 44px;
  }

  .hero-content {
    padding-block: 62px;
    grid-template-columns: minmax(0, 0.82fr) minmax(450px, 1.18fr);
    gap: 48px;
  }

  .content {
    gap: 26px;
  }

  .content h1 {
    font-size: clamp(2.85rem, 4vw, 3.5rem);
  }

  .content p {
    font-size: 1rem;
  }

  .content ul li {
    padding-block: 15px;
  }

  .formulario-dados {
    gap: 16px;
  }

  .campo-form input,
  .campo-form select,
  .campo-form textarea {
    min-height: 54px;
  }

  .formulario-dados button {
    min-height: 58px;
  }

  .footer-top {
    grid-template-columns: 1.7fr 1fr 1fr 1.1fr;
    gap: 30px;
  }
}

/* =========================================================
   1024PX — NOTEBOOK PEQUENO E TABLET HORIZONTAL
========================================================= */

@media (max-width: 1024px) {
  :root {
    --layout-gutter: 36px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-block: 76px;
    grid-template-columns: 1fr !important;
    gap: 38px;
    align-items: start;
  }

  .content {
    padding-top: 30px;
    gap: 24px;
  }

  .content h1 {
    font-size: clamp(2.55rem, 4.7vw, 3rem);
  }

  .content p {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .content ul li {
    padding: 14px 10px;
    font-size: 0.88rem;
  }

  .formulario-dados h2 {
    font-size: 1.55rem;
  }

  .campo-form input,
  .campo-form select,
  .campo-form textarea {
    font-size: 0.9rem;
  }

  .footer-top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 28px;
  }

  .footer-top > :first-child {
    grid-column: 1 / -1;
  }

  .footer-desc {
    max-width: 560px;
  }
}

/* =========================================================
   768PX — TABLET VERTICAL E MOBILE
========================================================= */

@media (max-width: 768px) {
  :root {
    --layout-gutter: 24px;
  }

  .hero {
    padding-top: var(--header-offset);
  }

  .hero-content {
    padding-block: 64px 82px;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .content {
    max-width: 680px;
    margin-inline: auto;
    padding-top: 0;
    align-items: center;
    text-align: center;
  }

  .content h1 {
    max-width: 640px;
    font-size: clamp(2.55rem, 7.5vw, 3.4rem);
  }

  .content p,
  .content ul {
    max-width: 590px;
  }

  .content p {
    font-size: 1rem;
  }

  .content ul li:hover {
    transform: none;
  }

  .formulario-dados h2 {
    text-align: center;
    font-size: clamp(1.6rem, 5vw, 2rem);
  }

  footer {
    padding: 72px 0 34px;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 28px;
    margin-bottom: 42px;
    padding-bottom: 42px;
  }

  .footer-top > :first-child {
    grid-column: 1 / -1;
  }

  .footer-desc {
    max-width: 440px;
  }

  .footer-bottom {
    align-items: flex-start;
  }
}

/* =========================================================
   450PX — CELULARES PEQUENOS
========================================================= */

@media (max-width: 450px) {
  :root {
    --layout-gutter: 18px;
  }

  .hero-content {
    padding-block: 54px 70px;
    gap: 38px;
  }

  .content {
    gap: 20px;
  }

  .content h1 {
    font-size: clamp(2.2rem, 10.5vw, 2.75rem);
    line-height: 0.94;
  }

  .content p {
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .content ul li {
    padding: 13px 9px;
    font-size: 0.86rem;
  }

  .formulario-dados {
    gap: 14px;
  }

  .formulario-dados h2 {
    font-size: 1.45rem;
  }

  .campo-form input,
  .campo-form select,
  .campo-form textarea {
    min-height: 52px;
    padding-inline: 12px;
    border-radius: 7px;
    font-size: 0.86rem;
  }

  .formulario-dados button {
    min-height: 54px;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 0.94rem;
    box-shadow: 4px 6px 0 var(--color-dark);
  }

  footer {
    padding: 62px 0 30px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-bottom: 34px;
    padding-bottom: 34px;
  }

  .footer-top > :first-child {
    grid-column: auto;
  }

  .footer-logo,
  .footer-logo-img {
    width: 96px;
  }

  .footer-desc,
  .footer-address,
  .footer-copy {
    width: 100%;
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-copy {
    font-size: 0.68rem;
  }
}

/* =========================================================
   ACESSIBILIDADE
========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}