/* =====================================================================
   50 Projetos de Guirlandas de Natal — estilos (mobile first)
   ===================================================================== */

:root {
  --pine: #173C2F;
  --pine-deep: #0f2a20;
  --pine-soft: #24503f;
  --red: #8F2028;
  --red-deep: #741820;
  --gold: #D7AC61;
  --gold-deep: #b98c42;
  --gold-soft: #ead2a3;
  --cream: #F7F2E8;
  --cream-deep: #efe6d4;
  --white: #FFFFFF;
  --text: #252525;
  --muted: #5b574f;
  --line: rgba(23, 60, 47, .12);

  --font-serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(23, 33, 28, .08);
  --shadow: 0 14px 34px -14px rgba(23, 33, 28, .32);
  --shadow-lg: 0 30px 60px -24px rgba(10, 30, 22, .5);

  --gutter: 16px;
  --section-y: clamp(64px, 9vw, 112px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@supports (overflow-x: clip) { body { overflow-x: clip; } }

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p, ul, ol { margin: 0; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; }
a { color: inherit; }
button { font: inherit; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--pine);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

section[id] { scroll-margin-top: 12px; }

/* ---------- Faixa de configuração ---------- */
.dev-banner {
  background: #fff4cc;
  color: #4a3a00;
  border-bottom: 1px solid #e8d48a;
  font-size: .85rem;
  line-height: 1.5;
  padding: 10px var(--gutter);
  text-align: center;
}
.dev-banner strong { font-weight: 800; }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--red);
}
.eyebrow .icon { width: .95em; height: .95em; color: var(--gold-deep); }
.eyebrow--gold { color: var(--gold); }
.eyebrow--gold .icon { color: var(--gold); }

.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.95rem, 1.35rem + 2.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.005em;
  color: var(--pine);
  text-wrap: balance;
}
.section-sub,
.lead {
  font-size: clamp(1.02rem, .97rem + .3vw, 1.15rem);
  color: var(--muted);
  text-wrap: pretty;
}

.ornament {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.ornament::before,
.ornament::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.ornament .icon { width: 14px; height: 14px; }
.ornament--left::before { display: none; }

.note {
  margin-top: 22px;
  text-align: center;
  font-size: .82rem;
  color: var(--muted);
}

.microcopy {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: var(--muted);
}
.microcopy .icon { color: var(--gold-deep); }
.microcopy strong { color: var(--text); }
.microcopy--center { justify-content: center; }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--red);
  --btn-fg: var(--white);
  --btn-shadow: 0 12px 24px -12px rgba(143, 32, 40, .7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  min-height: 54px;
  padding: 14px 26px;
  border: 0;
  border-radius: 12px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: .98rem;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--btn-shadow);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary:hover { --btn-bg: var(--red-deep); }
.btn--gold {
  --btn-bg: linear-gradient(180deg, #e2bc78 0%, var(--gold) 55%, #c99a4f 100%);
  --btn-fg: #1f1b12;
  --btn-shadow: 0 14px 30px -14px rgba(215, 172, 97, .8);
  background: var(--btn-bg);
}
.btn--gold:hover { filter: brightness(1.05); }
.btn--lg { min-height: 58px; padding: 16px 30px; font-size: 1rem; }
.btn--xl { min-height: 64px; padding: 18px 30px; font-size: 1.05rem; }
.btn--sm { min-height: 46px; padding: 10px 16px; font-size: .82rem; letter-spacing: .04em; }
.btn--block { display: flex; width: 100%; }
.btn--block-mobile { width: 100%; }
@media (min-width: 600px) { .btn--block-mobile { width: auto; } }

/* ---------- Masthead ---------- */
.masthead { background: var(--cream); }
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.02rem, .9rem + .6vw, 1.2rem);
  font-variant-numeric: lining-nums;
  color: var(--pine);
  white-space: nowrap;
}
.brand > span { overflow: hidden; text-overflow: ellipsis; }
.brand .icon { flex: none; color: var(--gold-deep); }
@media (max-width: 389px) { .brand .icon { display: none; } }
.masthead__link {
  font-size: .85rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  padding: 10px 2px;
  border-bottom: 1.5px solid transparent;
  white-space: nowrap;
  flex: none;
}
.masthead__link:hover { border-bottom-color: currentColor; }

/* =====================================================================
   DOBRA 01 — HERO
   ===================================================================== */
.hero {
  position: relative;
  padding: 28px 0 var(--section-y);
  background:
    radial-gradient(1100px 520px at 85% 10%, rgba(215, 172, 97, .16), transparent 60%),
    var(--cream);
}
.hero__grid { display: grid; gap: 40px; }
.hero__content { display: grid; gap: 20px; justify-items: start; }
.hero__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.1rem, 1.45rem + 3.2vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -.01em;
  color: var(--pine);
  text-wrap: balance;
}
.hero__title em { font-style: italic; color: var(--red); }
.hero__lead {
  font-size: clamp(1.03rem, .98rem + .3vw, 1.18rem);
  color: var(--muted);
  max-width: 36em;
  text-wrap: pretty;
}

.perks { display: grid; gap: 10px; width: 100%; }
.perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 700;
  font-size: .95rem;
  color: var(--pine);
  box-shadow: var(--shadow-sm);
}
.perks .icon { color: var(--red); width: 1.35em; height: 1.35em; }

.hero__cta { display: grid; gap: 12px; width: 100%; }

/* composição de fotos */
.hero__media {
  position: relative;
  padding-bottom: 14%;
  max-width: 560px;
  width: 100%;
  margin-inline: auto;
}
.hero__main {
  width: 74%;
  margin-left: auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--pine);
}
.hero__main img { width: 100%; height: 100%; object-fit: cover; }
.hero__thumb {
  position: absolute;
  width: 36%;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  border: 5px solid var(--cream);
  box-shadow: var(--shadow);
  background: var(--pine);
}
.hero__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero__thumb--a { left: 0; top: 9%; }
.hero__thumb--b { left: 9%; bottom: 0; }
/* Selo em pílula: moeda dourada com o número + texto em uma linha só */
.hero__badge {
  position: absolute;
  right: -8px;
  bottom: 6%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px 6px 6px;
  border-radius: 999px;
  background: var(--pine);
  color: var(--cream);
  border: 1px solid rgba(215, 172, 97, .7);
  box-shadow: 0 16px 30px -12px rgba(10, 30, 22, .6);
  white-space: nowrap;
}
.hero__badge strong {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ecc98a 0%, var(--gold) 60%, var(--gold-deep) 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25);
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -.03em;
  color: var(--pine-deep);
  line-height: 1;
}
.hero__badge span {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .01em;
}

@media (min-width: 720px) {
  .perks { grid-template-columns: repeat(3, 1fr); }
  .perks li { flex-direction: column; align-items: flex-start; gap: 8px; font-size: .9rem; line-height: 1.35; }
  .hero__cta { grid-template-columns: auto 1fr; align-items: center; gap: 20px; }
  .hero__badge { padding: 7px 22px 7px 7px; gap: 12px; }
  .hero__badge strong { width: 52px; height: 52px; font-size: 1.35rem; }
  .hero__badge span { font-size: .92rem; }
}

@media (min-width: 1024px) {
  .hero { padding-top: 56px; }
  .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: center;
    gap: 56px;
  }
  .perks { grid-template-columns: 1fr; }
  .perks li { flex-direction: row; align-items: center; font-size: .95rem; }
  .hero__media { max-width: none; }
}
@media (min-width: 1180px) {
  .perks { grid-template-columns: repeat(3, 1fr); }
  .perks li { flex-direction: column; align-items: flex-start; }
}

/* =====================================================================
   SEÇÕES GENÉRICAS
   ===================================================================== */
.section { padding: var(--section-y) 0; background: var(--cream); }
.section--white { background: var(--white); }
.section--pine {
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(215, 172, 97, .12), transparent 60%),
    var(--pine);
  color: var(--cream);
}
.section--pine .section-title { color: var(--white); }
.section--pine .section-sub { color: rgba(247, 242, 232, .82); }
.section--pine .ornament { color: var(--gold); }

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(32px, 5vw, 52px);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(32px, 5vw, 48px);
}

/* =====================================================================
   DOBRA 02 — ESTILOS
   ===================================================================== */
.styles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.style-card figure {
  height: 100%;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.style-card__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream-deep); }
.style-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.style-card figcaption {
  display: grid;
  gap: 2px;
  padding: 12px 12px 14px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.15;
  color: var(--pine);
}
.style-card__n {
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--red);
}
@media (hover: hover) {
  .style-card figure:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .style-card figure:hover img { transform: scale(1.04); }
}
@media (min-width: 720px) {
  .styles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .style-card figcaption { padding: 16px 18px 18px; font-size: 1.32rem; }
}

/* =====================================================================
   DOBRA 03 — ETAPAS
   ===================================================================== */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step {
  display: grid;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(215, 172, 97, .28);
  border-radius: var(--radius);
  overflow: hidden;
}
.step__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--pine-deep); }
.step__img img { width: 100%; height: 100%; object-fit: cover; }
.step__body { display: grid; gap: 8px; padding: 20px 20px 24px; }
.step__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--gold);
}
.step__num {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--pine-deep);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0;
}
.step__title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  line-height: 1.15;
  color: var(--white);
}
.step p:last-child { color: rgba(247, 242, 232, .82); }

.callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 28px auto 0;
  max-width: 820px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: rgba(215, 172, 97, .1);
  border: 1px dashed rgba(215, 172, 97, .55);
  color: rgba(247, 242, 232, .9);
  font-size: .97rem;
}
.callout .icon { color: var(--gold); width: 1.5em; height: 1.5em; margin-top: 2px; }
.callout strong { color: var(--white); }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

/* =====================================================================
   DOBRA 04 — CARROSSEL
   ===================================================================== */
.carousel { position: relative; }
.carousel__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 18px;
  margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline-offset: -3px; }
.carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel__track.is-dragging .slide { pointer-events: none; }

.slide {
  position: relative;
  flex: 0 0 82%;
  scroll-snap-align: start;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--pine);
  box-shadow: var(--shadow);
  user-select: none;
  -webkit-user-select: none;
}
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(10, 26, 19, .86));
  pointer-events: none;
}
.slide__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 20px 20px 22px;
  color: var(--white);
  display: grid;
  gap: 6px;
}
.slide__tag {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.1;
}
.slide__tag::before {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin-bottom: 10px;
  background: var(--gold);
}
.slide__caption p { font-size: .97rem; color: rgba(255, 255, 255, .9); }

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
}
.carousel__arrow {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--pine);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background-color .2s, color .2s, opacity .2s;
}
.carousel__arrow:hover:not(:disabled) { background: var(--pine); color: var(--white); }
.carousel__arrow:disabled { opacity: .4; cursor: default; }
.carousel__dots { display: flex; gap: 4px; }
.carousel__dot {
  display: grid;
  place-items: center;
  width: 28px; height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.carousel__dot::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 99px;
  background: rgba(23, 60, 47, .25);
  transition: width .3s var(--ease), background-color .3s;
}
.carousel__dot[aria-current="true"]::before { width: 24px; background: var(--red); }

@media (min-width: 720px) {
  .slide { flex-basis: calc(50% - 10px); }
  .carousel__track { gap: 20px; }
}
@media (min-width: 1100px) {
  .carousel__track {
    margin-inline: 0;
    padding-inline: 0;
    scroll-padding-inline: 0;
  }
  .slide { flex-basis: calc((100% - 40px) / 2.6); }
}

/* =====================================================================
   DOBRA 05 — MATERIAIS
   ===================================================================== */
.split { display: grid; gap: 44px; align-items: center; }
.split__text { display: grid; gap: 18px; justify-items: start; }

.materials {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  padding: 0 0 8% 0;
}
.materials figure { overflow: hidden; background: var(--cream-deep); }
.materials figure img { width: 100%; height: 100%; object-fit: cover; }
.materials figcaption {
  position: absolute;
  left: 8px; bottom: 8px;
  max-width: calc(100% - 16px);
  padding: 4px 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 99px;
  background: rgba(255, 255, 255, .92);
  color: var(--pine);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .03em;
}
.materials__main {
  position: relative;
  width: 70%;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
.materials__chip {
  position: absolute;
  right: 0;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 16px;
  border: 5px solid var(--white);
  box-shadow: var(--shadow);
}
.materials__chip--a { top: 6%; }
.materials__chip--b { bottom: 0; right: 6%; }

.benefits { display: grid; gap: 12px; width: 100%; }
.benefits li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  color: var(--pine);
}
.benefits__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--red);
  border: 1px solid rgba(215, 172, 97, .55);
}

@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
  .materials { max-width: none; }
}

/* =====================================================================
   DOBRA 06 — E-BOOK
   ===================================================================== */
.ebook-visual {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 24px 0 0;
}
.ebook-visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(92%, 440px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 172, 97, .32), rgba(215, 172, 97, 0) 68%);
  pointer-events: none;
}
.ebook-mockup {
  position: relative;
  width: min(70vw, 300px);
  height: auto;
  /* PNG com fundo transparente: a sombra acompanha o contorno do livro */
  filter: drop-shadow(0 24px 30px rgba(10, 30, 22, .35));
}
@media (min-width: 960px) { .ebook-mockup { width: 330px; } }
.ebook-visual__note { position: relative; font-size: .8rem; color: var(--muted); text-align: center; }

/* mockup do livro */
.book {
  --w: min(70vw, 300px);
  position: relative;
  width: var(--w);
  aspect-ratio: 800 / 1131;
  perspective: 1400px;
}
.book__cover {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto auto auto;
  justify-items: center;
  align-items: center;
  padding: 9% 9% 10%;
  text-align: center;
  color: var(--cream);
  background:
    radial-gradient(120% 80% at 50% 30%, rgba(255, 255, 255, .06), transparent 60%),
    linear-gradient(160deg, #1d4a3a 0%, var(--pine) 50%, var(--pine-deep) 100%);
  border-radius: 4px 10px 10px 4px;
  box-shadow:
    inset 6px 0 10px -6px rgba(0, 0, 0, .55),
    inset 0 0 0 1px rgba(215, 172, 97, .35),
    18px 22px 40px -12px rgba(10, 30, 22, .55),
    6px 6px 0 -1px #e9e1d0,
    7px 7px 0 -1px rgba(0, 0, 0, .12),
    11px 11px 0 -2px #e2d8c4;
  transform: rotateY(-14deg) rotateX(2deg);
  transform-origin: left center;
  overflow: hidden;
}
.book__cover::before {
  content: "";
  position: absolute;
  inset: 5%;
  border: 1px solid rgba(215, 172, 97, .55);
  border-radius: 3px;
  pointer-events: none;
}
.book__cover::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5%;
  background: linear-gradient(90deg, rgba(0, 0, 0, .35), rgba(255, 255, 255, .06) 60%, transparent);
}
.book__brand {
  font-size: calc(var(--w) * .036);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.book__art {
  display: block;
  width: 64%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 5px rgba(215, 172, 97, .15);
}
.book__art img { width: 100%; height: 100%; object-fit: cover; }
.book__num {
  margin-top: 4%;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: calc(var(--w) * .2);
  line-height: .9;
  color: var(--gold);
}
.book__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: calc(var(--w) * .088);
  line-height: 1.05;
  color: var(--white);
}
.book__sub {
  margin-top: 4%;
  font-size: calc(var(--w) * .034);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.book__real {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px 10px 10px 4px;
}
.book--small { --w: min(38vw, 190px); }

.facts { display: grid; gap: 14px; width: 100%; }
.facts li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.facts__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--pine);
  color: var(--gold);
}
.facts strong { display: block; color: var(--pine); line-height: 1.35; }
.facts__desc { display: block; color: var(--muted); font-size: .92rem; margin-top: 2px; }

.digital-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(143, 32, 40, .07);
  border-left: 3px solid var(--red);
  font-size: .94rem;
}
.digital-note .icon { color: var(--red); margin-top: 2px; }
.digital-note strong { color: var(--red); }

.previews { margin-top: clamp(40px, 6vw, 64px); }
.previews__title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--pine);
  text-align: center;
  margin-bottom: 20px;
}
.previews__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.previews__list img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--white);
}
@media (min-width: 720px) { .previews__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }

@media (min-width: 960px) {
  .book { --w: 330px; }
  .ebook-visual { padding: 40px 0; }
}
@media (max-width: 959px) {
  .split--reverse-mobile > .split__text { order: -1; }
}

/* =====================================================================
   DOBRA 07 — DEPOIMENTOS
   ===================================================================== */
.testimonials {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  max-width: 460px;
  margin: 0 auto;
  align-items: start;
}
.testimonial img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--white);
}
@media (min-width: 720px) {
  .testimonials { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
}
@media (min-width: 1024px) {
  .testimonials { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; gap: 28px; }
}

/* =====================================================================
   DOBRA 08 — OFERTA
   ===================================================================== */
.offer {
  padding: var(--section-y) 0;
  background:
    radial-gradient(800px 480px at 80% 0%, rgba(215, 172, 97, .16), transparent 62%),
    radial-gradient(700px 420px at 0% 100%, rgba(143, 32, 40, .25), transparent 60%),
    var(--pine);
  color: var(--cream);
}
.offer__frame {
  display: grid;
  gap: 40px;
  padding: 28px 18px;
  border-radius: 24px;
  border: 1px solid rgba(215, 172, 97, .4);
  background: rgba(8, 24, 17, .25);
  box-shadow: inset 0 0 0 6px rgba(215, 172, 97, .05);
}
.offer__visual {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
  padding-bottom: 12%;
}
.offer__photo {
  width: 84%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 10px rgba(215, 172, 97, .1), var(--shadow-lg);
}
.offer__photo img { width: 100%; height: 100%; object-fit: cover; }
.offer__visual .book { position: absolute; right: 0; bottom: 0; }
.ebook-mockup--small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(40vw, 200px);
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, .45));
}
@media (min-width: 960px) { .ebook-mockup--small { width: 210px; } }

.offer__body { display: grid; gap: 16px; justify-items: center; text-align: center; }
.offer__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
  line-height: 1.08;
  color: var(--white);
  text-wrap: balance;
}
.offer__text { color: rgba(247, 242, 232, .85); max-width: 34em; }
.offer__text span { color: var(--gold-soft); font-weight: 700; }

.price-card {
  width: 100%;
  margin-top: 6px;
  padding: 26px 18px 22px;
  border-radius: 20px;
  background: var(--cream);
  color: var(--text);
  box-shadow: var(--shadow-lg);
  display: grid;
  justify-items: center;
  gap: 6px;
  position: relative;
}
.price-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(215, 172, 97, .55);
  border-radius: 15px;
  pointer-events: none;
}
.price-card__name {
  font-weight: 800;
  font-size: .86rem;
  letter-spacing: .12em;
  color: var(--pine);
  line-height: 1.4;
}
.price-card__by {
  margin-top: 6px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .24em;
  color: var(--red);
}
.price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  color: var(--pine);
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: .85;
  margin: 4px 0 14px;
}
.price__cur { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); margin: .55em .18em 0 0; color: var(--red); }
.price__int { font-size: clamp(6.4rem, 5rem + 6vw, 8.6rem); letter-spacing: -.02em; }
.price__cents { font-size: clamp(2.6rem, 2.1rem + 2vw, 3.6rem); margin-top: .18em; }
.price-card .btn { position: relative; z-index: 1; }
.price-card__digital {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-weight: 800;
  font-size: .95rem;
  color: var(--pine);
}
.price-card__digital .icon { color: var(--gold-deep); }
.price-card__list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  width: 100%;
  text-align: left;
  font-size: .92rem;
  color: var(--muted);
}
.price-card__list li { display: flex; gap: 10px; align-items: flex-start; }
.price-card__list .icon { color: var(--red); margin-top: 2px; }

@media (min-width: 600px) {
  .offer__frame { padding: 44px 36px; }
  .price-card { padding: 32px 32px 26px; }
}
@media (min-width: 960px) {
  .offer__frame {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 56px;
    padding: 56px;
  }
  .offer__body { justify-items: start; text-align: left; }
  .offer__visual { max-width: none; }
  .book--small { --w: 200px; }
}

/* =====================================================================
   DOBRA 09 — FAQ E FECHAMENTO
   ===================================================================== */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--pine);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline-offset: -3px; border-radius: 14px; }
.faq__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--red);
  transition: transform .3s var(--ease), background-color .3s;
}
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--red); color: var(--white); }
.faq__answer { padding: 0 18px 18px; color: var(--muted); display: grid; gap: 10px; }
.faq__answer a { color: var(--red); font-weight: 700; }

.closing {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-top: clamp(56px, 8vw, 88px);
  padding: 22px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid rgba(215, 172, 97, .5);
  box-shadow: var(--shadow);
}
.closing__img {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 420px;
  width: 100%;
  background: var(--pine);
}
.closing__img img { width: 100%; height: 100%; object-fit: cover; }
.closing__body { display: grid; gap: 18px; justify-items: center; text-align: center; }
.closing__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.6rem);
  line-height: 1.12;
  color: var(--pine);
  text-wrap: balance;
}
@media (max-width: 599px) {
  .closing__img { aspect-ratio: 4 / 3; }
}
@media (min-width: 900px) {
  .closing { grid-template-columns: 340px 1fr; gap: 48px; padding: 28px 48px 28px 28px; }
  .closing__img { max-height: none; }
  .closing__body { justify-items: start; text-align: left; }
  .microcopy--center { justify-content: flex-start; }
}

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--pine-deep);
  color: rgba(247, 242, 232, .78);
  padding: 56px 0 calc(28px + env(safe-area-inset-bottom));
  font-size: .92rem;
}
.footer__grid { display: grid; gap: 32px; }
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--white);
}
.footer__brand .icon { color: var(--gold); }
.footer__product { margin-top: 6px; }
.footer__col { display: grid; gap: 8px; align-content: start; }
.footer__heading {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.footer__list { display: grid; gap: 8px; }
.footer__list li { display: flex; gap: 10px; align-items: center; }
.footer__list .icon { color: var(--gold); }
.site-footer a { color: var(--white); text-underline-offset: 3px; word-break: break-word; }
.site-footer a:hover { color: var(--gold-soft); }
.footer__bottom {
  display: grid;
  gap: 6px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(215, 172, 97, .2);
  font-size: .8rem;
  color: rgba(247, 242, 232, .6);
}
@media (min-width: 720px) {
  .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer__grid:has([data-footer-links]:not([hidden])) { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .footer__bottom { grid-template-columns: 1fr auto; }
}

/* ---------- Barra fixa (mobile) ---------- */
.buybar {
  position: fixed;
  left: 10px; right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 16px;
  background: var(--pine);
  color: var(--cream);
  border: 1px solid rgba(215, 172, 97, .45);
  border-radius: 16px;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45);
  transform: translateY(140%);
  transition: transform .35s var(--ease);
}
.buybar.is-visible { transform: translateY(0); }
.buybar__info { display: grid; line-height: 1.2; min-width: 0; }
.buybar__label { font-size: .74rem; color: rgba(247, 242, 232, .8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar__price { font-family: var(--font-serif); font-weight: 700; font-size: 1.45rem; color: var(--gold); }
@media (min-width: 900px) { .buybar { display: none; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(92px + env(safe-area-inset-bottom));
  z-index: 60;
  width: min(92vw, 460px);
  padding: 14px 18px;
  border-radius: 12px;
  background: #1e1e1e;
  color: #fff;
  font-size: .92rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Animações de entrada ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .book__cover { transform: none; }
}
