/* ============================================================
   O Código do Patrimônio · aureliovidal.com
   Estética: editora tradicional, sóbria, old money
   ============================================================ */

:root {
  --bg: #FAF7F2;
  --panel: #FFFDF9;
  --ink: #1A1A1A;
  --verde: #1E3A2F;
  --verde-escuro: #162C24;
  --dourado: #B08D57;
  --dourado-claro: #C9AE82;
  --hairline: #E4DCCE;
  --cinza-quente: #E8E2D8;
  --cinza-texto: #57534B;
  --serif-display: "Playfair Display", Georgia, serif;
  --serif-body: "Lora", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif-body);
  font-size: 1.125rem; /* 18px */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--verde);
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

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

.container {
  max-width: 70rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container--narrow {
  max-width: 46rem;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--dourado);
  outline-offset: 3px;
}

.link {
  color: var(--verde);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Rótulos e títulos de seção ---------- */

.section-label {
  font-size: 0.8125rem;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  font-variant: small-caps;
  color: var(--dourado);
  text-align: center;
  margin-bottom: 0.875rem;
}

.section-label--left {
  text-align: left;
}

.section-title {
  font-size: clamp(1.75rem, 4.5vw, 2.625rem);
  text-align: center;
  margin-bottom: 3rem;
  text-wrap: balance;
}

.section-title--left {
  text-align: left;
}

/* ---------- Ornamento (filete + losango) ---------- */

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 3rem auto 0;
  max-width: 16rem;
}

.ornament::before,
.ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--dourado);
  opacity: 0.55;
}

.ornament span {
  width: 7px;
  height: 7px;
  border: 1px solid var(--dourado);
  transform: rotate(45deg);
}

.ornament--light::before,
.ornament--light::after {
  background: var(--dourado-claro);
}

.ornament--light span {
  border-color: var(--dourado-claro);
}

/* ---------- Botões ---------- */

.btn {
  display: inline-block;
  font-family: var(--serif-body);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-align: center;
  padding: 1.0625rem 2.5rem;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  min-height: 3.25rem;
}

.btn--primary {
  background: var(--verde);
  color: var(--bg);
  border-color: var(--verde);
  box-shadow: 0 1px 0 rgba(26, 26, 26, 0.12);
}

.btn--primary:hover {
  background: var(--verde-escuro);
  border-color: var(--verde-escuro);
}

.btn--light {
  background: var(--bg);
  color: var(--verde);
  border-color: var(--bg);
}

.btn--light:hover {
  background: #F1EBE1;
  border-color: #F1EBE1;
}

.btn--wide {
  width: 100%;
  max-width: 26rem;
}

/* ---------- 1. Barra fixa de topo ---------- */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--verde);
  color: var(--bg);
  border-bottom: 1px solid rgba(176, 141, 87, 0.35);
}

.topbar__inner {
  max-width: 70rem;
  margin: 0 auto;
  padding: 0.625rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar__brand {
  font-family: var(--serif-display);
  font-size: 1.125rem;
  color: var(--bg);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.topbar__nav {
  display: none;
  gap: 1.75rem;
}

.topbar__nav a {
  font-size: 0.9375rem;
  color: #D8D2C6;
  text-decoration: none;
  transition: color 0.2s ease;
}

.topbar__nav a:hover {
  color: var(--bg);
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.topbar__price {
  font-family: var(--serif-display);
  font-size: 1rem;
  color: var(--dourado-claro);
  white-space: nowrap;
}

.topbar__cta {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--verde);
  background: var(--bg);
  text-decoration: none;
  padding: 0.5rem 1.125rem;
  border-radius: 6px;
  white-space: nowrap;
  transition: background-color 0.25s ease;
}

.topbar__cta:hover {
  background: #F1EBE1;
}

/* ---------- Fotografias ---------- */

.foto {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

/* ---------- Mockup do livro ---------- */

.mock {
  display: block;
  height: auto;
  border: 1px solid var(--hairline);
  border-radius: 2px;
}

/* ---------- 2. Herói ---------- */

.hero {
  padding: 7.5rem 0 4rem;
  border-bottom: 1px solid var(--hairline);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  letter-spacing: 0.22em;
  font-variant: small-caps;
  text-transform: lowercase;
  color: var(--dourado);
  margin-bottom: 1.5rem;
}

.hero__eyebrow-rule {
  display: inline-block;
  width: 2.5rem;
  height: 1px;
  background: var(--dourado);
  opacity: 0.55;
}

.hero__headline {
  font-size: clamp(2.25rem, 6.5vw, 3.625rem);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.hero__headline em {
  font-style: italic;
  color: var(--verde);
}

.hero__sub {
  font-size: 1.1875rem;
  color: var(--cinza-texto);
  margin-bottom: 2.25rem;
  max-width: 34rem;
}

.hero__note {
  font-size: 0.9375rem;
  color: var(--cinza-texto);
  margin-top: 1.125rem;
}

.hero__composition {
  position: relative;
  max-width: 24rem;
  margin: 0 auto;
  padding-bottom: 3.5rem;
  padding-left: 1rem;
}

.hero__composition .foto {
  box-shadow: 0 22px 44px -24px rgba(26, 26, 26, 0.4);
}

.mock--hero {
  position: absolute;
  bottom: 0;
  left: -0.25rem;
  width: 52%;
  transform: rotate(-3deg);
  box-shadow: 0 20px 36px -16px rgba(26, 26, 26, 0.4);
}

/* ---------- Faixa de fatos ---------- */

.facts {
  border-bottom: 1px solid var(--hairline);
  background: var(--panel);
}

.facts__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 1.75rem 0;
  gap: 1.5rem 0;
}

.facts__list li {
  text-align: center;
  padding: 0 0.75rem;
}

.facts__list li strong {
  display: block;
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 2rem;
  color: var(--verde);
  line-height: 1.1;
}

.facts__list li span {
  font-size: 0.875rem;
  color: var(--cinza-texto);
}

/* ---------- 3. Diagnóstico ---------- */

.diagnostico {
  padding: 5rem 0;
}

.diagnostico__list {
  list-style: none;
  display: grid;
}

.diagnostico__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--hairline);
}

.diagnostico__item:last-child {
  border-bottom: none;
}

.diagnostico__num {
  font-family: var(--serif-display);
  font-size: 1.5rem;
  color: var(--dourado);
  line-height: 1.4;
  min-width: 2.5rem;
}

.diagnostico__item h3 {
  font-size: 1.3125rem;
  margin-bottom: 0.5rem;
}

.diagnostico__item p {
  color: var(--cinza-texto);
}

.diagnostico__closing {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 1.5rem;
  text-align: center;
  color: var(--verde);
  margin-top: 2rem;
}

/* ---------- 4. O método ---------- */

.metodo {
  padding: 5rem 0;
  background: var(--panel);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.metodo__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.card {
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-top: 2px solid var(--dourado);
  padding: 2.25rem 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -18px rgba(26, 26, 26, 0.25);
}

.card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.875rem;
}

.card__numeral {
  font-family: var(--serif-display);
  font-size: 2rem;
  color: var(--dourado);
  line-height: 1;
}

.card__tag {
  font-size: 0.8125rem;
  font-variant: small-caps;
  text-transform: lowercase;
  letter-spacing: 0.14em;
  color: var(--cinza-texto);
}

.card__title {
  font-size: 1.5625rem;
  margin-bottom: 0.5rem;
}

.card__lead {
  font-style: italic;
  color: var(--verde);
  margin-bottom: 0.75rem;
}

.card p:not(.card__lead) {
  color: var(--cinza-texto);
  font-size: 1.0625rem;
}

/* Índice: amostra de títulos de regras */

.indice {
  margin-top: 3.5rem;
  border: 1px solid var(--hairline);
  background: var(--bg);
  padding: 2.5rem 2rem;
}

.indice__label {
  font-size: 0.8125rem;
  letter-spacing: 0.22em;
  font-variant: small-caps;
  text-transform: lowercase;
  color: var(--dourado);
  text-align: center;
  margin-bottom: 1.75rem;
}

.indice__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem 3rem;
  max-width: 52rem;
  margin: 0 auto;
}

.indice__list li {
  font-family: var(--serif-display);
  font-size: 1.0625rem;
  color: var(--verde);
  padding-left: 1.375rem;
  position: relative;
}

.indice__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border: 1px solid var(--dourado);
  transform: rotate(45deg);
}

.indice__nota {
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--cinza-texto);
  text-align: center;
  margin-top: 1.75rem;
}

/* ---------- 5. Amostra ---------- */

.amostra {
  padding: 5rem 0;
}

.amostra__book {
  background: var(--panel);
  border: 1px solid var(--hairline);
  box-shadow: 0 22px 40px -26px rgba(26, 26, 26, 0.3);
  padding: 3rem 1.75rem 2.25rem;
}

.amostra__rule-num {
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  font-variant: small-caps;
  text-transform: lowercase;
  color: var(--dourado);
  text-align: center;
  margin-bottom: 1.25rem;
}

.amostra__rule-title {
  font-size: clamp(1.5rem, 4vw, 2.125rem);
  text-align: center;
  margin-bottom: 2rem;
  text-wrap: balance;
}

.amostra__body p {
  margin-bottom: 1.25em;
}

.amostra__body > p:first-child::first-letter {
  font-family: var(--serif-display);
  font-size: 3.4em;
  float: left;
  line-height: 0.82;
  padding: 0.08em 0.12em 0 0;
  color: var(--verde);
}

.amostra__principio {
  margin-top: 2rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--dourado);
}

.amostra__principio p {
  font-size: 1.1875rem;
  color: var(--verde);
}

.amostra__folio {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.amostra__folio-rule {
  flex: 1;
  height: 1px;
  background: var(--hairline);
}

.amostra__folio-num {
  font-family: var(--serif-display);
  font-size: 0.875rem;
  color: var(--cinza-texto);
}

/* ---------- Citação ---------- */

.citacao {
  padding: 4.5rem 0;
  background: var(--verde);
}

.citacao__quote {
  text-align: center;
}

.citacao__quote p {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(1.625rem, 5vw, 2.375rem);
  color: #F3EFE7;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.citacao__quote cite {
  font-style: normal;
  font-size: 0.875rem;
  letter-spacing: 0.16em;
  font-variant: small-caps;
  text-transform: lowercase;
  color: var(--dourado-claro);
}

/* ---------- 6. A pilha / oferta ---------- */

.oferta {
  padding: 5rem 0;
}

.oferta__box {
  background: var(--panel);
  border: 1px solid var(--dourado);
  outline: 1px solid rgba(176, 141, 87, 0.35);
  outline-offset: 5px;
  padding: 2.75rem 1.75rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 62rem;
  margin: 0 auto;
}

.oferta__cover {
  text-align: center;
}

.mock--offer {
  width: min(16rem, 70vw);
  margin: 0 auto;
  box-shadow: 0 20px 36px -20px rgba(26, 26, 26, 0.3);
}

.oferta__cover-nota {
  font-style: italic;
  font-size: 0.875rem;
  color: var(--cinza-texto);
  margin-top: 1.5rem;
}

.oferta__list {
  list-style: none;
  display: grid;
  gap: 1.375rem;
  margin-bottom: 2.5rem;
}

.oferta__item {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
}

.oferta__name {
  font-size: 1.0625rem;
}

.oferta__name strong {
  font-weight: 600;
  color: var(--verde);
}

.oferta__desc {
  display: block;
  font-size: 0.9375rem;
  color: var(--cinza-texto);
}

.oferta__dots {
  flex: 1;
  min-width: 1.5rem;
  border-bottom: 1px dotted #C9C0B0;
  transform: translateY(-0.3em);
}

.oferta__value {
  font-size: 1.0625rem;
  color: var(--cinza-texto);
  white-space: nowrap;
}

.oferta__pricing {
  text-align: center;
  border-top: 1px solid var(--hairline);
  padding-top: 2.25rem;
}

.oferta__soma {
  font-size: 1rem;
  color: var(--cinza-texto);
  margin-bottom: 1rem;
}

.oferta__soma s {
  text-decoration-thickness: 1px;
}

.oferta__preco {
  margin-bottom: 1.75rem;
}

.oferta__preco-valor {
  display: block;
  font-family: var(--serif-display);
  font-size: 3.5rem;
  color: var(--verde);
  line-height: 1.1;
}

.oferta__preco-nota {
  display: block;
  font-size: 1rem;
  color: var(--cinza-texto);
  margin-top: 0.25rem;
}

.oferta__pagamento {
  font-size: 0.9375rem;
  color: var(--cinza-texto);
  margin-top: 1.25rem;
}

.oferta__garantia-linha {
  font-size: 0.9375rem;
  color: var(--cinza-texto);
  margin-top: 0.375rem;
}

/* Passos da entrega */

.passos {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  max-width: 62rem;
  margin: 3.5rem auto 0;
}

.passos__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.125rem;
  align-items: start;
}

.passos__num {
  width: 2.375rem;
  height: 2.375rem;
  border: 1px solid var(--dourado);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif-display);
  font-size: 1.125rem;
  color: var(--verde);
}

.passos__item h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.passos__item p {
  font-size: 0.9375rem;
  color: var(--cinza-texto);
}

/* ---------- 7. O autor ---------- */

.autor {
  padding: 5rem 0;
  background: var(--panel);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.autor__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 4rem;
}

.autor__figure {
  max-width: 22rem;
  margin: 0 auto;
  width: 100%;
}

.autor__figure .foto {
  box-shadow: 0 18px 34px -22px rgba(26, 26, 26, 0.35);
}

.autor__text .section-title {
  margin-bottom: 1.75rem;
}

.autor__dropcap::first-letter {
  font-family: var(--serif-display);
  font-size: 3.4em;
  float: left;
  line-height: 0.82;
  padding: 0.08em 0.12em 0 0;
  color: var(--verde);
}

.autor__transparencia {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--cinza-texto);
  border-top: 1px solid var(--hairline);
  padding-top: 1.25rem;
  margin-top: 1.75rem;
}

/* Linha do tempo */

.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  max-width: 62rem;
  margin: 0 auto;
}

.timeline__item {
  position: relative;
  padding-left: 1.5rem;
  border-left: 1px solid var(--hairline);
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border: 1px solid var(--dourado);
  background: var(--panel);
  transform: rotate(45deg);
}

.timeline__decada {
  display: block;
  font-family: var(--serif-display);
  font-size: 1.125rem;
  color: var(--dourado);
  margin-bottom: 0.375rem;
}

.timeline__item p {
  font-size: 1rem;
  color: var(--cinza-texto);
}

/* ---------- 8. Garantia ---------- */

.garantia {
  padding: 5rem 0;
}

.garantia__box {
  border: 1px solid var(--dourado);
  outline: 1px solid rgba(176, 141, 87, 0.35);
  outline-offset: 5px;
  background: var(--panel);
  padding: 2.75rem 1.75rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
  text-align: center;
}

.garantia__selo {
  width: 6.5rem;
  height: 6.5rem;
  border: 1px solid var(--dourado);
  border-radius: 50%;
  outline: 1px solid rgba(176, 141, 87, 0.4);
  outline-offset: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.garantia__selo-num {
  font-family: var(--serif-display);
  font-size: 2.25rem;
  color: var(--verde);
  line-height: 1;
}

.garantia__selo-txt {
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  font-variant: small-caps;
  text-transform: lowercase;
  color: var(--dourado);
}

.garantia__title {
  margin-bottom: 1.25rem;
}

.garantia__texto {
  text-align: left;
}

.garantia__texto p {
  color: var(--cinza-texto);
}

/* ---------- 9. FAQ ---------- */

.faq {
  padding: 5rem 0;
  border-top: 1px solid var(--hairline);
}

.faq__list {
  border-top: 1px solid var(--hairline);
}

.faq__item {
  border-bottom: 1px solid var(--hairline);
}

.faq__item summary {
  font-family: var(--serif-display);
  font-size: 1.1875rem;
  color: var(--verde);
  padding: 1.375rem 2.25rem 1.375rem 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color 0.2s ease;
}

.faq__item summary:hover {
  color: var(--dourado);
}

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

.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif-body);
  font-size: 1.5rem;
  color: var(--dourado);
}

.faq__item[open] summary::after {
  content: "\2212"; /* sinal de menos */
}

.faq__item p {
  padding: 0 0 1.625rem;
  color: var(--cinza-texto);
  max-width: 40rem;
}

/* ---------- 10. CTA final ---------- */

.cta-final {
  background: var(--verde);
  color: var(--bg);
  padding: 5.5rem 0;
  text-align: center;
}

.cta-final .ornament {
  margin: 0 auto 2.25rem;
}

.cta-final__headline {
  color: #F3EFE7;
  font-size: clamp(1.75rem, 5vw, 2.625rem);
  margin-bottom: 1rem;
  text-wrap: balance;
}

.cta-final__preco {
  font-size: 1.1875rem;
  color: #D8D2C6;
  margin-bottom: 2.25rem;
}

.cta-final__nota {
  font-size: 0.9375rem;
  color: #D8D2C6;
  margin-top: 1.25rem;
}

/* ---------- 11. Rodapé ---------- */

.footer {
  background: var(--verde-escuro);
  color: #C9C3B8;
  padding: 3.5rem 0 2.5rem;
  font-size: 0.9375rem;
  text-align: center;
}

.footer__brand {
  font-family: var(--serif-display);
  font-size: 1.375rem;
  color: #F3EFE7;
  margin-bottom: 0.375rem;
}

.footer__tagline {
  font-style: italic;
  font-size: 0.9375rem;
  color: #8F897D;
  margin-bottom: 2rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.footer__link {
  background: none;
  border: none;
  color: var(--bg);
  font-family: var(--serif-body);
  font-size: 0.9375rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 0.25rem;
}

.footer__legal {
  max-width: 44rem;
  margin: 0 auto;
  border-top: 1px solid rgba(232, 226, 216, 0.15);
  padding-top: 2rem;
}

.footer__legal p {
  margin-bottom: 0.875rem;
}

.footer__copy {
  color: #8F897D;
  margin-top: 1.25rem;
}

/* ---------- Modais ---------- */

.modal {
  border: none;
  border-radius: 6px;
  background: var(--bg);
  color: var(--ink);
  max-width: 36rem;
  width: calc(100% - 2.5rem);
  padding: 0;
  margin: auto;
}

.modal::backdrop {
  background: rgba(26, 26, 26, 0.55);
}

.modal__content {
  padding: 2.5rem 2rem 2rem;
}

.modal__content h2 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  padding-right: 4.5rem;
}

.modal__content p {
  font-size: 1.0625rem;
  color: var(--cinza-texto);
}

.modal__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  font-family: var(--serif-body);
  font-size: 0.875rem;
  color: var(--verde);
  padding: 0.375rem 0.875rem;
  cursor: pointer;
}

.modal__close:hover {
  background: var(--cinza-quente);
}

/* ---------- Barra fixa de compra (mobile) ---------- */

.mobilebar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--verde);
  border-top: 1px solid rgba(176, 141, 87, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.625rem 1rem;
  padding-bottom: calc(0.625rem + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform 0.3s ease;
}

.mobilebar.is-shown {
  transform: none;
}

.mobilebar__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mobilebar__titulo {
  font-family: var(--serif-display);
  font-size: 0.9375rem;
  color: #F3EFE7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobilebar__preco {
  font-size: 0.8125rem;
  color: var(--dourado-claro);
}

.mobilebar__cta {
  flex-shrink: 0;
  font-family: var(--serif-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--verde);
  background: var(--bg);
  text-decoration: none;
  padding: 0.75rem 1.375rem;
  border-radius: 6px;
  white-space: nowrap;
}

@media (min-width: 48rem) {
  .mobilebar {
    display: none;
  }
}

/* ---------- Fade-in no scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .mobilebar {
    transition: none;
  }
  .card,
  .card:hover {
    transform: none;
    transition: none;
  }
}

/* ---------- Desktop ---------- */

@media (min-width: 48rem) {
  body {
    font-size: 1.1875rem; /* 19px */
  }

  .topbar__nav {
    display: flex;
  }

  .hero {
    padding: 10rem 0 6rem;
  }

  .hero__grid {
    grid-template-columns: 7fr 5fr;
    gap: 4.5rem;
  }

  .hero__eyebrow {
    justify-content: flex-start;
  }

  .hero__composition {
    margin: 0 0 0 auto;
  }

  .facts__list {
    grid-template-columns: repeat(4, 1fr);
    padding: 2.25rem 0;
  }

  .facts__list li + li {
    border-left: 1px solid var(--hairline);
  }

  .diagnostico,
  .metodo,
  .amostra,
  .oferta,
  .autor,
  .garantia,
  .faq {
    padding: 6.5rem 0;
  }

  .metodo__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .indice {
    padding: 3rem 3.5rem;
  }

  .indice__list {
    grid-template-columns: 1fr 1fr;
  }

  .amostra__book {
    padding: 4.5rem 5rem 3rem;
  }

  .citacao {
    padding: 6rem 0;
  }

  .oferta__box {
    grid-template-columns: 4fr 7fr;
    gap: 3.5rem;
    padding: 3.5rem 3.75rem;
    align-items: center;
  }

  .passos {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
  }

  .autor__grid {
    grid-template-columns: 4fr 7fr;
    gap: 4.5rem;
    margin-bottom: 5rem;
  }

  .autor__figure {
    margin: 0;
  }

  .timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }

  .timeline__item {
    padding-left: 0;
    padding-top: 1.375rem;
    border-left: none;
    border-top: 1px solid var(--hairline);
  }

  .timeline__item::before {
    left: 0;
    top: -4px;
  }

  .garantia__box {
    grid-template-columns: auto 1fr;
    gap: 3rem;
    padding: 3.25rem 3.75rem;
    text-align: left;
  }

  .cta-final {
    padding: 7rem 0;
  }
}
