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

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-dark: #1c1e2b;
  --color-dark-2: #11131d;
  --color-yellow: #fab117;
  --color-yellow-dark: #d99500;
  --color-white: #ffffff;
  --color-gray: #8b8fa3;
  --color-light: #f3f4f7;
  --color-line: rgba(28, 30, 43, 0.12);

  --layout-max: 1440px;
  --layout-gutter: clamp(20px, 4vw, 64px);
  --section-space: clamp(86px, 10vw, 150px);
}

html {
  scroll-behavior: smooth;
  background-color: var(--color-light);
  scrollbar-width: thin;
  scrollbar-color: var(--color-yellow) var(--color-dark-2);
}

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

body,
button,
input,
select,
textarea {
  font-family: "Poppins", Arial, sans-serif;
}

a {
  color: inherit;
}

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

img,
video {
  display: block;
  height: auto;
}

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

button {
  border: 0;
}

::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);
}


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

.ebook-container {
  width: 100%;
  max-width: var(--layout-max);
  margin-inline: auto;
  padding-inline: var(--layout-gutter);
}


/* =========================================================
   ELEMENTOS GERAIS
========================================================= */

.ebook-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 20px;
  color: var(--color-gray);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ebook-button {
  min-height: 54px;
  padding: 14px 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--color-dark);
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.ebook-button-primary {
  color: var(--color-dark);
  background-color: var(--color-yellow);
  box-shadow: 5px 8px 0 var(--color-dark);
}

.ebook-button-primary:hover {
  transform: translateY(3px);
  box-shadow: 2px 4px 0 var(--color-dark);
}

.ebook-button-primary:active {
  transform: translateY(6px);
  box-shadow: none;
}

.ebook-button-light {
  color: var(--color-dark);
  border-color: var(--color-yellow);
  background-color: var(--color-yellow);
  box-shadow: 5px 8px 0 rgba(0, 0, 0, 0.32);
}

.ebook-button-light:hover {
  transform: translateY(3px);
  box-shadow: 2px 4px 0 rgba(0, 0, 0, 0.32);
}


/* =========================================================
   HERO
========================================================= */

.ebook-hero {
  padding: clamp(105px, 9vw, 135px) 0 var(--section-space);
  background-color: var(--color-light);
}

.ebook-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: clamp(60px, 8vw, 120px);
  align-items: start;
}

.ebook-hero-copy {
  position: sticky;
  top: 110px;
  padding-top: 30px;
}

.ebook-hero-copy h1 {
  max-width: 800px;
  color: var(--color-dark);
  font-size: 64px;
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.ebook-hero-copy h1 span {
  color: var(--color-yellow);
  font-style: italic;
  font-weight: 500;
}

.ebook-hero-description {
  max-width: 670px;
  margin-top: 30px;
  color: rgba(28, 30, 43, 0.7);
  font-size: 1.05rem;
  line-height: 1.78;
}

.ebook-hero-highlights {
  margin-top: 54px;
  padding-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  border-top: 1px solid var(--color-line);
}

.ebook-hero-highlights strong,
.ebook-hero-highlights span {
  display: block;
}

.ebook-hero-highlights strong {
  color: var(--color-dark);
  font-size: clamp(1.65rem, 2.8vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.ebook-hero-highlights span {
  margin-top: 9px;
  color: var(--color-gray);
  font-size: 0.78rem;
  line-height: 1.5;
}

.ebook-hero-side {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}


/* =========================================================
   CARD DO FORMULÁRIO
========================================================= */

.ebook-form-card {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 30px 32px 28px;
  border: 1px solid var(--color-dark);
  border-radius: 22px;
  background-color: var(--color-white);
  box-shadow: 7px 10px 0 var(--color-yellow);
}

.ebook-form-label {
  display: inline-flex;
  color: var(--color-yellow);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* =========================================================
   FORMULÁRIO
========================================================= */

.ebook-form-card .formulario-dados {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ebook-form {
  width: 100%;
  margin-top: 10px;
}


/* =========================================================
   CABEÇALHO DO FORM
========================================================= */

.ebook-form-card .formulario-cabecalho {
  width: 100%;
}

.ebook-form-card .formulario-cabecalho h2 {
  max-width: 550px;
  margin: 0;
  color: var(--color-dark);
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.ebook-form-card .formulario-cabecalho p {
  max-width: 520px;
  margin-top: 8px;
  color: rgba(28, 30, 43, 0.62);
  font-size: 0.8rem;
  line-height: 1.5;
}


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

.ebook-form-card .formulario-progresso {
  width: 100%;
  margin-top: 16px;
  margin-bottom: 16px;
}

.ebook-form-card .formulario-progresso-info {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(28, 30, 43, 0.55);
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.3;
}

.ebook-form-card .formulario-progresso-info span:last-child {
  color: var(--color-dark);
  font-weight: 700;
}

.ebook-form-card .formulario-progresso-barra {
  width: 100%;
  height: 4px;
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background-color: rgba(28, 30, 43, 0.09);
}

.ebook-form-card .formulario-progresso-barra > span {
  width: 50%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background-color: var(--color-yellow);
  transition: width 0.35s ease;
}


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

.ebook-form-card .formulario-etapa {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 14px;
}

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

.ebook-form-card .formulario-etapa-titulo {
  grid-column: 1 / -1;
  margin-bottom: 0;
  padding-bottom: 11px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border-bottom: 1px solid var(--color-line);
}

.ebook-form-card .formulario-etapa-titulo > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--color-dark);
  border-radius: 50%;
  background-color: var(--color-yellow);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
}

.ebook-form-card .formulario-etapa-titulo strong {
  display: block;
  color: var(--color-dark);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.3;
}

.ebook-form-card .formulario-etapa-titulo small {
  max-width: 440px;
  margin-top: 2px;
  display: block;
  color: rgba(28, 30, 43, 0.56);
  font-size: 0.66rem;
  font-weight: 400;
  line-height: 1.4;
}


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

.ebook-form-card .campo-form {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ebook-form-card .campo-form:has(input) {
  grid-column: 1 / -1;
}

.ebook-form-card .campo-form label {
  color: var(--color-dark);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.3;
}

.ebook-form-card .campo-form input,
.ebook-form-card .campo-form select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 9px 12px;
  color: var(--color-dark);
  border: 1px solid rgba(28, 30, 43, 0.16);
  border-radius: 10px;
  outline: none;
  background-color: var(--color-light);
  font-size: 0.8rem;
  font-weight: 400;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.ebook-form-card .campo-form input:hover,
.ebook-form-card .campo-form select:hover {
  border-color: rgba(28, 30, 43, 0.3);
}

.ebook-form-card .campo-form input:focus,
.ebook-form-card .campo-form select:focus {
  border-color: var(--color-dark);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(250, 177, 23, 0.18);
}

.ebook-form-card .campo-form input::placeholder {
  color: rgba(28, 30, 43, 0.38);
}

.ebook-form-card .campo-form select {
  cursor: pointer;
}


/* =========================================================
   CHECKBOX DE MARKETING
========================================================= */

.ebook-form-card .ebook-checkbox {
  grid-column: 1 / -1;
  width: 100%;
  padding-top: 0;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: rgba(28, 30, 43, 0.62);
  font-size: 0.66rem;
  font-weight: 400;
  line-height: 1.4;
  cursor: pointer;
}

.ebook-form-card .ebook-checkbox input {
  width: 15px;
  height: 15px;
  min-height: 15px;
  margin-top: 1px;
  padding: 0;
  accent-color: var(--color-yellow);
  cursor: pointer;
}

.ebook-form-card .ebook-checkbox span {
  display: block;
}


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

.ebook-form-card .campo-politica {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  border: 0;
  background: transparent;
}

.ebook-form-card .campo-politica input {
  width: 15px;
  height: 15px;
  min-height: 15px;
  margin-top: 1px;
  padding: 0;
  accent-color: var(--color-yellow);
  cursor: pointer;
}

.ebook-form-card .campo-politica label {
  color: rgba(28, 30, 43, 0.62);
  font-size: 0.66rem;
  font-weight: 400;
  line-height: 1.4;
  cursor: pointer;
}

.ebook-form-card .campo-politica a {
  color: var(--color-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* =========================================================
   AÇÕES DO FORM
========================================================= */

.ebook-form-card .formulario-acoes {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 2px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: stretch;
}

.ebook-form-card .formulario-acoes--inicio {
  grid-template-columns: minmax(0, 1fr);
}

.ebook-form-card .botao-form {
  min-height: 46px;
  border-radius: 11px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.ebook-form-card .botao-form--proximo,
.ebook-form-card .botao-form--enviar {
  width: 100%;
}

.ebook-form-card .botao-form--voltar {
  min-width: 92px;
  padding: 10px 14px;
  color: var(--color-dark);
  border: 1px solid rgba(28, 30, 43, 0.18);
  background-color: var(--color-light);
  box-shadow: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.ebook-form-card .botao-form--voltar:hover {
  border-color: var(--color-dark);
  background-color: var(--color-white);
  transform: translateY(-1px);
}

.ebook-form-card .ebook-button {
  min-height: 46px;
  padding: 11px 18px;
  box-shadow: 4px 6px 0 var(--color-dark);
}

.ebook-form-card .ebook-button:hover {
  transform: translateY(3px);
  box-shadow: 1px 3px 0 var(--color-dark);
}

.ebook-form-card .botao-form--enviar:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}


/* =========================================================
   INTRODUÇÃO
========================================================= */

.ebook-intro {
  padding: var(--section-space) 0;
  background-color: var(--color-white);
}

.ebook-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(60px, 9vw, 130px);
  align-items: start;
}

.ebook-section-heading {
  max-width: 850px;
}

.ebook-section-heading h2,
.ebook-method-copy h2,
.ebook-authority-card h2,
.ebook-faq-heading h2,
.ebook-final-card h2 {
  color: var(--color-dark);
  font-size: clamp(2.35rem, 4.4vw, 4.5rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.ebook-content .ebook-section-heading > p {
  max-width: 730px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  line-height: 1.8;
}

.ebook-intro-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ebook-intro-copy p {
  color: rgba(28, 30, 43, 0.69);
  font-size: 1rem;
  line-height: 1.85;
}


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

.ebook-content {
  padding: var(--section-space) 0;
  background-color: var(--color-dark-2);
}

.ebook-section-heading-light h2 {
  color: var(--color-white);
}

.ebook-content-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ebook-content-card {
  min-height: 350px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.045);
}

.ebook-content-card-featured {
  color: var(--color-dark);
  border-color: var(--color-yellow);
  background-color: var(--color-yellow);
}

.ebook-content-card > span {
  color: var(--color-yellow);
  font-size: 0.74rem;
  font-weight: 800;
}

.ebook-content-card-featured > span {
  color: rgba(28, 30, 43, 0.58);
}

.ebook-content-card h3 {
  margin-top: auto;
  color: var(--color-white);
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.ebook-content-card-featured h3 {
  color: var(--color-dark);
}

.ebook-content-card p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.59);
  font-size: 0.86rem;
  line-height: 1.7;
}

.ebook-content-card-featured p {
  color: rgba(28, 30, 43, 0.7);
}

.ebook-content-action {
  margin-top: 42px;
  display: flex;
  justify-content: center;
}


/* =========================================================
   MÉTODO
========================================================= */

.ebook-method {
  padding: var(--section-space) 0;
  background-color: var(--color-light);
}

.ebook-method-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(60px, 9vw, 130px);
  align-items: center;
}

.ebook-method-copy > p {
  margin-top: 28px;
  color: rgba(28, 30, 43, 0.66);
  font-size: 1rem;
  line-height: 1.8;
}

.ebook-method-list {
  display: flex;
  flex-direction: column;
}

.ebook-method-list article {
  padding: 26px 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid var(--color-line);
}

.ebook-method-list article > span {
  color: var(--color-yellow);
  font-size: 0.72rem;
  font-weight: 800;
}

.ebook-method-list h3 {
  color: var(--color-dark);
  font-size: 1.3rem;
  font-weight: 600;
}

.ebook-method-list p {
  margin-top: 8px;
  color: rgba(28, 30, 43, 0.62);
  font-size: 0.86rem;
  line-height: 1.65;
}


/* =========================================================
   AUTORIDADE
========================================================= */

.ebook-authority {
  padding: var(--section-space) 0;
  background-color: var(--color-white);
}

.ebook-authority-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(60px, 9vw, 130px);
  align-items: center;
}

.ebook-authority-card {
  padding: clamp(38px, 5vw, 68px);
  color: var(--color-white);
  border-radius: 24px;
  background-color: var(--color-dark);
  box-shadow: 10px 15px 0 var(--color-yellow);
}

.ebook-authority-symbol {
  width: 52px;
  height: 52px;
  margin-bottom: 60px;
  display: grid;
  place-items: center;
  color: var(--color-dark);
  border-radius: 50%;
  background-color: var(--color-yellow);
  font-size: 2rem;
  font-weight: 700;
}

.ebook-authority-card h2 {
  color: var(--color-white);
}

.ebook-authority-card p {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.95rem;
  line-height: 1.8;
}

.ebook-authority-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ebook-authority-copy .ebook-kicker {
  margin-bottom: 0;
}

.ebook-authority-copy p {
  color: rgba(28, 30, 43, 0.67);
  font-size: 1rem;
  line-height: 1.8;
}

.ebook-inline-link {
  width: fit-content;
  margin-top: 8px;
  color: var(--color-dark);
  font-size: 0.9rem;
  font-weight: 700;
  text-underline-offset: 5px;
}


/* =========================================================
   FAQ
========================================================= */

.ebook-faq {
  padding: var(--section-space) 0;
  background-color: var(--color-light);
}

.ebook-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(60px, 9vw, 130px);
  align-items: start;
}

.ebook-faq-heading {
  position: sticky;
  top: 110px;
}

.ebook-faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-line);
}

.ebook-faq-list details {
  border-bottom: 1px solid var(--color-line);
}

.ebook-faq-list summary {
  padding: 26px 48px 26px 0;
  position: relative;
  color: var(--color-dark);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.ebook-faq-list summary::-webkit-details-marker {
  display: none;
}

.ebook-faq-list summary::after {
  content: "+";
  position: absolute;
  top: 19px;
  right: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--color-dark);
  border: 1px solid var(--color-dark);
  border-radius: 50%;
  background-color: var(--color-yellow);
  font-size: 1.35rem;
  transition: transform 0.25s ease;
}

.ebook-faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.ebook-faq-list details p {
  max-width: 760px;
  padding: 0 50px 28px 0;
  color: rgba(28, 30, 43, 0.64);
  font-size: 0.9rem;
  line-height: 1.75;
}


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

.ebook-final-cta {
  padding: var(--section-space) 0;
  background-color: var(--color-white);
}

.ebook-final-card {
  padding: clamp(44px, 7vw, 92px);
  color: var(--color-white);
  border-radius: 28px;
  background-color: var(--color-dark);
  box-shadow: 10px 16px 0 var(--color-yellow);
}

.ebook-final-card h2 {
  max-width: 900px;
  color: var(--color-white);
}

.ebook-final-card > p {
  max-width: 760px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  line-height: 1.8;
}

.ebook-final-card .ebook-button {
  margin-top: 38px;
}


/* =========================================================
   SEGURANÇA DE LAYOUT
========================================================= */

.ebook-hero-copy,
.ebook-hero-side,
.ebook-form-card,
.ebook-intro-grid > *,
.ebook-content-card,
.ebook-method-grid > *,
.ebook-authority-grid > *,
.ebook-faq-grid > *,
.ebook-final-card,
.footer-top > * {
  min-width: 0;
}

#formulario {
  scroll-margin-top: 110px;
}


/* =========================================================
   FOOTER
========================================================= */

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

.footer-top,
.footer-bottom {
  width: 100%;
  max-width: var(--layout-max);
  margin: 0 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-brand {
  min-width: 0;
}

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

.footer-logo-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
}

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

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

.footer-col {
  min-width: 0;
}

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

.footer-links {
  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;
  line-height: 1.45;
  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 {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.84rem;
  line-height: 1.7;
}

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

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

.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 {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  line-height: 1.6;
}


/* =========================================================
   1440PX
========================================================= */

@media (max-width: 1440px) {
  :root {
    --section-space: clamp(96px, 8vw, 128px);
  }

  .ebook-hero {
    padding-top: 118px;
  }

  .ebook-hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
    gap: clamp(52px, 6vw, 84px);
  }

  .ebook-hero-copy h1 {
    font-size: clamp(3.25rem, 4.45vw, 4rem);
  }

  .ebook-form-card {
    padding: 30px 30px 27px;
  }

  .ebook-intro-grid,
  .ebook-method-grid,
  .ebook-authority-grid,
  .ebook-faq-grid {
    gap: clamp(52px, 7vw, 96px);
  }

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


/* =========================================================
   1280PX
========================================================= */

@media (max-width: 1280px) {
  :root {
    --layout-gutter: clamp(28px, 3.5vw, 48px);
    --section-space: 108px;
  }

  .ebook-hero {
    padding: 108px 0 var(--section-space);
  }

  .ebook-hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(410px, 1.08fr);
    gap: 52px;
  }

  .ebook-hero-copy {
    top: 96px;
    padding-top: 16px;
  }

  .ebook-hero-copy h1 {
    font-size: clamp(3rem, 4.35vw, 3.5rem);
  }

  .ebook-hero-description {
    margin-top: 24px;
    font-size: 1rem;
    line-height: 1.7;
  }

  .ebook-hero-highlights {
    margin-top: 42px;
    gap: 20px;
  }

  .ebook-form-card {
    padding: 28px 28px 26px;
    border-radius: 20px;
    box-shadow: 7px 9px 0 var(--color-yellow);
  }

  .ebook-form-card .formulario-cabecalho h2 {
    font-size: 1.7rem;
  }

  .ebook-form-card .formulario-progresso {
    margin-top: 14px;
    margin-bottom: 14px;
  }

  .ebook-form-card .formulario-etapa {
    gap: 10px 12px;
  }

  .ebook-form-card .campo-form input,
  .ebook-form-card .campo-form select {
    min-height: 42px;
    padding: 8px 11px;
  }

  .ebook-section-heading h2,
  .ebook-method-copy h2,
  .ebook-authority-card h2,
  .ebook-faq-heading h2,
  .ebook-final-card h2 {
    font-size: clamp(2.55rem, 4.1vw, 3.65rem);
  }

  .ebook-intro-grid,
  .ebook-method-grid,
  .ebook-authority-grid,
  .ebook-faq-grid {
    gap: 60px;
  }

  .ebook-content-grid {
    margin-top: 60px;
  }

  .ebook-content-card {
    min-height: 330px;
    padding: 30px;
  }

  .ebook-authority-card {
    padding: 50px;
  }

  .ebook-authority-symbol {
    margin-bottom: 46px;
  }

  .ebook-final-card {
    padding: 70px;
  }

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


/* =========================================================
   1024PX
========================================================= */

@media (max-width: 1024px) {
  :root {
    --section-space: 96px;
  }

  .ebook-hero {
    padding: 104px 0 var(--section-space);
  }

  .ebook-hero-grid,
  .ebook-intro-grid,
  .ebook-method-grid,
  .ebook-authority-grid,
  .ebook-faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ebook-hero-grid {
    gap: 60px;
  }

  .ebook-hero-copy,
  .ebook-faq-heading {
    position: static;
    padding-top: 0;
  }

  .ebook-hero-copy {
    max-width: 820px;
  }

  .ebook-hero-copy h1 {
    max-width: 780px;
    font-size: clamp(3.1rem, 6.2vw, 4rem);
  }

  .ebook-hero-description {
    max-width: 720px;
  }

  .ebook-hero-side {
    width: 100%;
    max-width: 820px;
  }

  .ebook-form-card {
    width: 100%;
    padding: 30px;
  }

  .ebook-form-card .formulario-cabecalho h2,
  .ebook-form-card .formulario-cabecalho p {
    max-width: 620px;
  }

  .ebook-form-card .formulario-etapa {
    gap: 11px 14px;
  }

  .ebook-intro-grid,
  .ebook-method-grid,
  .ebook-authority-grid,
  .ebook-faq-grid {
    gap: 50px;
  }

  .ebook-content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ebook-content-card {
    min-height: 300px;
  }

  .ebook-authority-card,
  .ebook-authority-copy {
    max-width: 820px;
  }

  .ebook-faq-heading {
    max-width: 760px;
  }

  .ebook-final-card {
    padding: 60px;
  }

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

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

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


/* =========================================================
   768PX
========================================================= */

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

  .ebook-hero {
    padding: 92px 0 var(--section-space);
  }

  .ebook-hero-grid {
    gap: 50px;
  }

  .ebook-hero-copy h1 {
    font-size: clamp(2.65rem, 9vw, 3.45rem);
    line-height: 0.96;
  }

  .ebook-hero-description {
    margin-top: 24px;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .ebook-hero-highlights {
    margin-top: 36px;
    padding-top: 24px;
    gap: 18px;
  }

  .ebook-form-card {
    padding: 26px 24px;
    border-radius: 20px;
    box-shadow: 6px 8px 0 var(--color-yellow);
  }

  .ebook-form {
    margin-top: 8px;
  }

  .ebook-form-card .formulario-cabecalho h2 {
    font-size: 1.65rem;
  }

  .ebook-form-card .formulario-cabecalho p {
    margin-top: 7px;
  }

  .ebook-form-card .formulario-progresso {
    margin-top: 14px;
    margin-bottom: 14px;
  }

  .ebook-form-card .formulario-etapa {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .ebook-form-card .formulario-etapa-titulo,
  .ebook-form-card .campo-form,
  .ebook-form-card .campo-form:has(input),
  .ebook-form-card .ebook-checkbox,
  .ebook-form-card .campo-politica,
  .ebook-form-card .formulario-acoes {
    grid-column: auto;
  }

  .ebook-form-card .formulario-etapa-titulo {
    padding-bottom: 10px;
  }

  .ebook-form-card .campo-form input,
  .ebook-form-card .campo-form select {
    min-height: 44px;
  }

  .ebook-form-card .formulario-acoes {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ebook-form-card .botao-form--voltar {
    width: 100%;
    order: 2;
  }

  .ebook-form-card .botao-form--enviar {
    order: 1;
  }

  .ebook-button {
    width: 100%;
  }

  .ebook-section-heading h2,
  .ebook-method-copy h2,
  .ebook-authority-card h2,
  .ebook-faq-heading h2,
  .ebook-final-card h2 {
    font-size: clamp(2.15rem, 7.5vw, 3rem);
    line-height: 1;
  }

  .ebook-method-copy > p,
  .ebook-authority-copy p,
  .ebook-final-card > p {
    font-size: 0.96rem;
    line-height: 1.7;
  }

  .ebook-intro-grid,
  .ebook-method-grid,
  .ebook-authority-grid,
  .ebook-faq-grid {
    gap: 40px;
  }

  .ebook-intro-copy {
    gap: 18px;
  }

  .ebook-intro-copy p {
    font-size: 0.96rem;
    line-height: 1.72;
  }

  .ebook-content-grid {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 48px;
  }

  .ebook-content-card {
    min-height: 280px;
    padding: 28px 24px;
  }

  .ebook-content-action {
    margin-top: 34px;
  }

  .ebook-method-list article {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 22px 0;
  }

  .ebook-authority-card {
    padding: 38px 30px;
    border-radius: 20px;
    box-shadow: 7px 10px 0 var(--color-yellow);
  }

  .ebook-authority-symbol {
    margin-bottom: 38px;
  }

  .ebook-faq-list summary {
    padding: 23px 46px 23px 0;
  }

  .ebook-faq-list details p {
    padding-right: 0;
  }

  .ebook-final-card {
    padding: 42px 30px;
    border-radius: 22px;
    box-shadow: 7px 10px 0 var(--color-yellow);
  }

  .ebook-final-card .ebook-button {
    width: 100%;
  }

  footer {
    padding: 72px 0 34px;
  }

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

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

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


/* =========================================================
   450PX
========================================================= */

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

  .ebook-hero {
    padding: 82px 0 var(--section-space);
  }

  .ebook-kicker {
    margin-bottom: 16px;
    font-size: 0.7rem;
  }

  .ebook-hero-grid {
    gap: 40px;
  }

  .ebook-hero-copy h1 {
    font-size: clamp(2.2rem, 10.5vw, 2.85rem);
    line-height: 0.97;
    letter-spacing: -0.06em;
  }

  .ebook-hero-description {
    margin-top: 20px;
    font-size: 0.93rem;
  }

  .ebook-hero-highlights {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 30px;
  }

  .ebook-form-card {
    padding: 22px 18px;
    border-radius: 16px;
    box-shadow: 5px 7px 0 var(--color-yellow);
  }

  .ebook-form-label {
    font-size: 0.64rem;
  }

  .ebook-form {
    margin-top: 7px;
  }

  .ebook-form-card .formulario-cabecalho h2 {
    font-size: 1.5rem;
    line-height: 1.07;
  }

  .ebook-form-card .formulario-cabecalho p {
    margin-top: 6px;
    font-size: 0.76rem;
    line-height: 1.4;
  }

  .ebook-form-card .formulario-progresso {
    margin-top: 12px;
    margin-bottom: 12px;
  }

  .ebook-form-card .formulario-progresso-info {
    margin-bottom: 5px;
    font-size: 0.62rem;
  }

  .ebook-form-card .formulario-etapa {
    gap: 9px;
  }

  .ebook-form-card .formulario-etapa-titulo {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 9px;
    padding-bottom: 9px;
  }

  .ebook-form-card .formulario-etapa-titulo > span {
    width: 30px;
    height: 30px;
  }

  .ebook-form-card .formulario-etapa-titulo strong {
    font-size: 0.82rem;
  }

  .ebook-form-card .formulario-etapa-titulo small {
    font-size: 0.63rem;
    line-height: 1.35;
  }

  .ebook-form-card .campo-form {
    gap: 4px;
  }

  .ebook-form-card .campo-form label {
    font-size: 0.67rem;
  }

  .ebook-form-card .campo-form input,
  .ebook-form-card .campo-form select {
    min-height: 42px;
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .ebook-form-card .ebook-checkbox,
  .ebook-form-card .campo-politica label {
    font-size: 0.64rem;
    line-height: 1.35;
  }

  .ebook-form-card .botao-form,
  .ebook-form-card .ebook-button {
    min-height: 44px;
    font-size: 0.78rem;
  }

  .ebook-form-card .ebook-button {
    padding: 9px 14px;
  }

  .ebook-section-heading h2,
  .ebook-method-copy h2,
  .ebook-authority-card h2,
  .ebook-faq-heading h2,
  .ebook-final-card h2 {
    font-size: 2rem;
  }

  .ebook-content-card {
    min-height: 255px;
    padding: 24px 20px;
    border-radius: 16px;
  }

  .ebook-content-card h3 {
    font-size: 1.45rem;
  }

  .ebook-method-list article {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
  }

  .ebook-method-list h3 {
    font-size: 1.15rem;
  }

  .ebook-authority-card {
    padding: 32px 20px;
    box-shadow: 5px 8px 0 var(--color-yellow);
  }

  .ebook-authority-symbol {
    width: 46px;
    height: 46px;
    margin-bottom: 30px;
  }

  .ebook-faq-list summary {
    padding: 21px 42px 21px 0;
    font-size: 0.94rem;
  }

  .ebook-faq-list summary::after {
    top: 17px;
    width: 30px;
    height: 30px;
    font-size: 1.15rem;
  }

  .ebook-final-card {
    padding: 34px 20px;
    border-radius: 18px;
    box-shadow: 5px 8px 0 var(--color-yellow);
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    margin-bottom: 34px;
    padding-bottom: 34px;
  }

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

  .footer-bottom {
    flex-direction: column;
    justify-content: flex-start;
  }

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

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

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


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

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

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