/* Layout concept: an editorial sales page built around a single physical object (the book),
     introduced large in the hero, then unpacked section by section, dark/light bands marking
     the rhythm from problem to method to proof to decision — like flipping through the guide itself. */
  :root {
    --bg: #F4F0E8;
    --surface: #FBF9F4;
    --surface-border: rgba(37,52,79,0.12);
    --fg: #25344F;
    --fg-muted: #5B7187;
    --navy: #25344F;
    --navy-deep: #182233;
    --slate: #617891;
    --tan: #D5B893;
    --coffee: #6F4D38;
    --cream: #F4F0E8;
    --on-dark: #F4F0E8;
    --on-dark-muted: rgba(244,240,232,0.72);
    --font-serif: 'DM Serif Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --gutter-l: max(20px, env(safe-area-inset-left, 0px));
    --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #182233;
      --surface: #202e45;
      --surface-border: rgba(244,240,232,0.14);
      --fg: #F4F0E8;
      --fg-muted: rgba(244,240,232,0.68);
      color-scheme: dark;
    }
  }
  :root[data-theme="dark"] {
    --bg: #182233;
    --surface: #202e45;
    --surface-border: rgba(244,240,232,0.14);
    --fg: #F4F0E8;
    --fg-muted: rgba(244,240,232,0.68);
    color-scheme: dark;
  }

  * { box-sizing: border-box; }
  body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; }
  ul { list-style: none; margin: 0; padding: 0; }
  img, svg { max-width: 100%; }
  h1, h2, h3 { text-wrap: balance; font-weight: 400; margin: 0; }
  .icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

  .wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding-left: var(--gutter-l);
    padding-right: var(--gutter-r);
  }
  .wrap-narrow { max-width: 760px; }

  .band { padding-block: clamp(3.5rem, 8vw, 6rem); }
  .band-dark { background: var(--navy); color: var(--on-dark); }
  .band-coffee { background: var(--coffee); color: var(--on-dark); }

  .eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--coffee);
    margin: 0 0 0.9rem;
    font-weight: 600;
  }
  .band-dark .eyebrow, .band-coffee .eyebrow { color: var(--tan); }

  .section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 4vw, 2.3rem);
    line-height: 1.28;
    margin-bottom: 1.4rem;
  }

  .body-text { color: var(--fg-muted); font-size: 1.02rem; max-width: 42rem; margin: 0 0 1.1rem; }
  .band-dark .body-text, .band-coffee .body-text { color: var(--on-dark-muted); }

  /* TOPBAR */
  .topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding-block: 1.4rem;
  }
  .topbar-logo { font-family: var(--font-serif); font-size: 1rem; letter-spacing: 0.06em; }
  .topbar-tag { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); }

  /* HERO */
  .hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    padding-block: 1.5rem clamp(3rem, 7vw, 4.5rem);
  }
  .hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.3rem, 6.4vw, 3.4rem);
    line-height: 1.12;
    margin-bottom: 1.3rem;
  }
  .hero-sub { font-size: 1.08rem; color: var(--fg-muted); max-width: 32rem; margin-bottom: 1.6rem; }

  .benefit-list { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 2rem; }
  .benefit-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; color: var(--fg); }
  .benefit-item .icon { width: 18px; height: 18px; color: var(--coffee); }

  .price-row { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; margin-bottom: 0.9rem; }
  .price-badge {
    font-family: var(--font-serif);
    font-size: 1.9rem;
    color: var(--navy);
  }
  .price-badge span { font-size: 0.95rem; font-family: var(--font-sans); color: var(--fg-muted); display:block; margin-bottom:0.1rem; }

  .btn-primary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--navy); color: var(--cream);
    padding: 1.05rem 2.1rem;
    border-radius: 999px;
    font-size: 0.98rem; font-weight: 600;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 14px 30px -12px rgba(37,52,79,0.5);
  }
  .btn-primary:hover { background: var(--coffee); transform: translateY(-2px); }
  .btn-large { padding: 1.2rem 2.5rem; font-size: 1.05rem; }
  .btn-primary .icon { width: 16px; height: 16px; }

  .hero-cta-note { font-size: 0.82rem; color: var(--fg-muted); margin-top: 0.85rem; }

  /* BOOK VISUAL (mockup real do usuário, com fundo transparente) */
  .book-stage { display: flex; justify-content: center; padding: 1rem; }
  .ebook-cover-img {
    width: min(620px, 100%);
  }

  /* WHAT YOU GET */
  .get-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; margin-top: 2rem; }
  .get-card {
    background: var(--surface); border: 1px solid var(--surface-border);
    border-radius: 12px; padding: 1.5rem;
    display: flex; gap: 1rem; align-items: flex-start;
  }
  .get-card .icon { color: var(--coffee); width: 24px; height: 24px; margin-top: 0.1rem; }
  .get-card h3 { font-family: var(--font-serif); font-size: 1.08rem; margin-bottom: 0.35rem; }
  .get-card p { font-size: 0.92rem; color: var(--fg-muted); margin: 0; }

  /* METHOD */
  .method-list { display: grid; grid-template-columns: 1fr; gap: 1.6rem; margin: 2rem 0 2.8rem; }
  .method-item {
    display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start;
    border-top: 1px solid rgba(244,240,232,0.14); padding-top: 1.4rem;
  }
  .method-item .icon { width: 24px; height: 24px; color: var(--tan); margin-top: 0.2rem; }
  .method-title { font-family: var(--font-serif); font-size: 1.1rem; color: var(--cream); margin-bottom: 0.35rem; }
  .method-text { font-size: 0.93rem; color: var(--on-dark-muted); margin: 0; }

  .extra-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
  .extra-item {
    background: rgba(244,240,232,0.06); border: 1px solid rgba(244,240,232,0.14);
    border-radius: 10px; padding: 1.4rem;
  }
  .extra-title { font-family: var(--font-serif); font-size: 1.02rem; color: var(--tan); margin-bottom: 0.5rem; }
  .extra-text { font-size: 0.9rem; color: var(--on-dark-muted); margin: 0; }

  .highlight-quote { font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: var(--coffee); margin-top: 1.6rem; }

  /* CTA FINAL */
  .cta-final-inner { max-width: 680px; margin: 0 auto; text-align: center; }
  .cta-title { font-family: var(--font-serif); font-size: clamp(1.8rem, 4.6vw, 2.4rem); line-height: 1.28; margin-bottom: 1.1rem; }
  .cta-includes {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.4rem;
    margin: 1.6rem 0 2.1rem; font-size: 0.88rem; color: var(--on-dark-muted);
  }
  .cta-includes li { display: flex; align-items: center; gap: 0.4rem; }
  .cta-includes .icon { width: 15px; height: 15px; color: var(--tan); }
  .cta-price { font-family: var(--font-serif); font-size: 2.1rem; color: var(--cream); margin-bottom: 1.5rem; }
  .cta-price span { display: block; font-family: var(--font-sans); font-size: 0.85rem; color: var(--on-dark-muted); margin-bottom: 0.2rem; }
  .cta-final .btn-primary { background: var(--cream); color: var(--coffee); box-shadow: 0 14px 30px -12px rgba(0,0,0,0.4); }
  .cta-final .btn-primary:hover { background: var(--tan); color: var(--navy-deep); }

  /* FOOTER */
  .footer { text-align: center; padding-block: 2.3rem; }
  .footer-text { font-family: var(--font-serif); margin-bottom: 0.4rem; }
  .footer-link { font-size: 0.88rem; color: var(--coffee); }
  .band-dark .footer-link { color: var(--tan); }

  /* STICKY MOBILE BAR */
  .sticky-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    background: var(--navy); color: var(--cream);
    padding: 0.85rem var(--gutter-r) calc(0.85rem + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.18);
    transform: translateY(110%);
    transition: transform 0.35s ease;
  }
  .sticky-bar.is-visible { transform: translateY(0); }
  .sticky-bar-price { font-family: var(--font-serif); font-size: 1.1rem; white-space: nowrap; }
  .sticky-bar .btn-primary { padding: 0.75rem 1.3rem; font-size: 0.88rem; white-space: nowrap; }

  @media (min-width: 768px) {
    .hero { grid-template-columns: 1.05fr 0.95fr; padding-top: 2.5rem; }
    .get-grid { grid-template-columns: repeat(3, 1fr); }
    .method-list { grid-template-columns: repeat(2, 1fr); gap: 2rem 2.6rem; }
    .extra-grid { grid-template-columns: repeat(3, 1fr); }
    .sticky-bar { display: none; }
  }
