/* ============================================================
   O LIVRO PROIBIDO DAS ERVAS MEDICINAIS — Landing premium
   Estética: couro escuro, dourado envelhecido, glass, botânica
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Leather / background browns */
  --leather-900: #140d06;
  --leather-800: #1c130a;
  --leather-700: #241710;
  --leather-600: #2e1f12;
  --leather-500: #3a2817;

  /* Gold / bronze */
  --gold-100: #f5e6c0;
  --gold-200: #e7cda0;
  --gold-300: #d8b35a;
  --gold-400: #c79a38;
  --gold-500: #a87d2a;
  --bronze:   #8a6a36;

  /* Parchment (sample pages) */
  --parch-100: #f4ecd6;
  --parch-200: #ece0c2;
  --parch-300: #ddcca3;
  --ink:       #3a2c18;
  --ink-soft:  #5c4a30;

  /* Text */
  --text-bright: #f3e9d4;
  --text:        #ddccac;
  --text-muted:  #b09a72;
  --text-faint:  #8a785a;

  /* Glass */
  --glass-bg: rgba(26, 19, 11, 0.46);
  --glass-bg-strong: rgba(20, 14, 8, 0.62);
  --glass-border: rgba(216, 180, 100, 0.55);
  --glass-border-soft: rgba(199, 154, 56, 0.22);
  --glass-grad: linear-gradient(180deg, rgba(44, 33, 19, 0.52), rgba(13, 9, 5, 0.40));
  --glass-grad-soft: linear-gradient(180deg, rgba(40, 30, 17, 0.40), rgba(13, 9, 5, 0.28));
  --glass-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 231, 173, 0.18), inset 0 -1px 0 rgba(120, 79, 25, 0.12);
  --glass-blur: blur(20px) saturate(125%);

  /* Type */
  --f-display: "Cinzel", "Cormorant Garamond", Georgia, serif;
  --f-script:  "Pinyon Script", "Cormorant Garamond", cursive;
  --f-serif:   "EB Garamond", Georgia, "Times New Roman", serif;

  --maxw: 1240px;
  --radius: 20px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background-color: var(--leather-900); }
body {
  margin: 0;
  font-family: var(--f-serif);
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* ============================================================
   STRUCTURAL BACKGROUND — single, non-repeating, full-bleed.
   Painted on a position:fixed pseudo-layer (iOS-safe; NOT
   background-attachment:fixed) so ONE composition covers the
   whole page once. Replaces the old fundo.png that was tiled
   with repeat-y — every tile re-showed the same taça/vela/
   almofariz and created visible seams ("fundo colado por
   blocos"). Desktop master here; mobile master overridden in
   the max-width:760px block. Scrim layers keep text/cards legible.
   ============================================================ */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(130% 85% at 50% -8%, rgba(74, 52, 24, 0.30), transparent 55%),
    linear-gradient(180deg, rgba(10, 6, 3, 0.40) 0%, rgba(10, 6, 3, 0.24) 42%, rgba(10, 6, 3, 0.52) 100%),
    url("../assets/backgrounds/fundo-pc-2560.webp") center center / cover no-repeat;
  background-color: var(--leather-900);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { position: relative; padding: 88px 0; }
.eyebrow {
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-300);
  display: inline-flex; align-items: center; gap: 14px;
  margin: 0 0 18px;
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 34px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}
.script { font-family: var(--f-script); color: var(--gold-300); font-weight: 400; }

h1, h2, h3 { margin: 0; font-weight: 600; color: var(--text-bright); }
.h-display {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.08;
}
.lead { color: var(--text); font-size: 1.12rem; }

/* Ornament divider */
.ornament {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  color: var(--gold-400); margin: 0 auto 10px; opacity: 0.9;
}
.ornament svg { width: 26px; height: 26px; }
.ornament .rule { width: 120px; max-width: 22vw; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500)); }
.ornament .rule.r { background: linear-gradient(270deg, transparent, var(--gold-500)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--f-display); font-size: 15px; letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 600;
  padding: 17px 30px; border-radius: 12px; border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  line-height: 1; min-height: 56px;
}
.btn svg { width: 19px; height: 19px; }
.btn-gold {
  color: #2a1c0c;
  background: linear-gradient(170deg, #f2dd9f 0%, var(--gold-300) 45%, var(--gold-400) 100%);
  border-color: rgba(255, 240, 200, 0.5);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -2px 6px rgba(120, 80, 20, 0.45);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.btn-ghost {
  color: var(--text-bright);
  background: rgba(30, 22, 12, 0.5);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--gold-300); background: rgba(46, 33, 18, 0.65); }
.btn-block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.langbar {
  position: relative; z-index: 60;
  display: flex; align-items: center; justify-content: center;
  gap: 16px; padding: 9px 26px;
  background: linear-gradient(180deg, #120b05, #1a1109);
  border-bottom: 1px solid rgba(199, 154, 56, 0.18);
  font-size: 13px; color: var(--text-muted);
}
.langbar .auto { display: inline-flex; align-items: center; gap: 9px; letter-spacing: 0.02em; }
.langbar .lang-switch { flex-shrink: 0; white-space: nowrap; }
.langbar .auto svg, .lang-switch svg { width: 15px; height: 15px; color: var(--gold-400); }
.lang-switch {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: none; color: var(--text-muted);
  font-family: var(--f-serif); font-size: 13px; letter-spacing: 0.02em;
  padding: 4px 6px; border-radius: 6px;
}
.lang-switch:hover { color: var(--gold-200); }

header.site {
  position: sticky; top: 0; z-index: 50;
  background-image: url("../assets/header-leather.webp");
  background-size: cover; background-position: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.5);
}
header.site::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 9, 4, 0.32), rgba(15, 9, 4, 0.58));
  pointer-events: none;
}
.nav {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: var(--maxw); margin: 0 auto; padding: 14px 28px;
}
.brand { display: flex; flex-direction: column; line-height: 1; max-width: 300px; }
.brand .b-title {
  font-family: var(--f-display); font-size: 14.5px; font-weight: 700;
  letter-spacing: 0.05em; color: var(--gold-200); text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6); line-height: 1.25;
}
.brand .b-sub { font-family: var(--f-script); font-size: 18px; color: var(--gold-400); margin-top: 5px; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: var(--f-display); font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text); transition: color .2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--gold-200); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav .btn { padding: 13px 22px; min-height: 48px; font-size: 13px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--glass-border);
  border-radius: 9px; padding: 9px; color: var(--gold-200); }
.menu-toggle svg { width: 22px; height: 22px; display: block; }

/* ============================================================
   HERO (scroll motion)
   ============================================================ */
.hero { position: relative; }
.hero-track { position: relative; height: 250vh; }            /* scroll distance */
.hero-pin {
  position: sticky; top: 0; height: 100vh; min-height: 600px;
  overflow: hidden; display: flex; align-items: center;
}
.hero-frames { position: absolute; inset: 0; }
.hero-frames .frame {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 70% center;
  opacity: 0; transition: opacity .15s linear; will-change: opacity;
}
.hero-frames .frame.is-on { opacity: 1; }
/* --- hero scroll-motion: SINGLE source = JPEG frame sequence (vanilla rAF scrub) --- */
/* Legacy <video> and PNG .frame layers are retired (kept in DOM, never shown) so there is
   exactly ONE visual source on every device/state — no competing layers, no ghost, no
   HTTP-Range / seek dependency. JS swaps #heroSeq.src across 40 preloaded frames by scroll. */
.hero-frames .hero-video,
.hero-frames .frame { display: none !important; }
.hero-frames .hero-seq {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 70% center; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
}
/* --- end hero scroll-motion --- */
/* --- hero bottom blend — hides seam between hero and next section --- */
.hero-pin::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--leather-900));
}
/* --- end hero bottom blend --- */
.hero-veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(15, 9, 4, 0.94) 0%, rgba(15, 9, 4, 0.78) 32%, rgba(15, 9, 4, 0.15) 58%, transparent 75%),
    linear-gradient(180deg, rgba(15, 9, 4, 0.5), transparent 30%, transparent 70%, rgba(20, 13, 6, 0.42));
}
.hero-content {
  position: relative; z-index: 3; max-width: var(--maxw); width: 100%;
  margin: 0 auto; padding: 0 28px;
}
.hero-copy { max-width: 560px; }
.hero h1 { font-size: clamp(2.3rem, 4.2vw, 3.7rem); }
.hero .h-script { font-family: var(--f-script); font-size: clamp(2.4rem, 4.8vw, 3.7rem);
  color: var(--gold-300); text-transform: none; letter-spacing: 0; line-height: 1; margin: 6px 0 0;
  text-shadow: 0 2px 18px rgba(0,0,0,0.6); display: block; }
.hero p.lead { margin: 26px 0 34px; max-width: 480px; font-size: 1.2rem; color: var(--text-bright); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--gold-300); font-family: var(--f-display); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.85;
  transition: opacity .3s;
}
.scroll-hint .chev { width: 22px; height: 22px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ============================================================
   GLASS / PANELS
   ============================================================ */
.glass {
  background: var(--glass-grad);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius);
}
/* lighter glass for nested / mini surfaces (badges, feature chips, footer) */
.glass-soft {
  background: var(--glass-grad-soft);
  -webkit-backdrop-filter: blur(14px) saturate(120%); backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid var(--glass-border-soft);
  box-shadow: 0 12px 30px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,231,173,0.12);
  border-radius: 14px;
}
.panel-frame { position: relative; }
.panel-frame::before {
  content: ""; position: absolute; inset: 10px; border: 1px solid var(--glass-border-soft);
  border-radius: 12px; pointer-events: none;
}

/* ---------- Auto edition block ---------- */
.edition .glass { display: grid; grid-template-columns: 260px 1fr auto; gap: 38px;
  align-items: center; padding: 40px 46px; }
.edition-cover {
  border-radius: 10px; border: 1px solid var(--glass-border);
  box-shadow: 0 16px 40px rgba(0,0,0,0.55); aspect-ratio: 3/4; object-fit: cover; object-position: center 42%;
  background: radial-gradient(120% 90% at 50% 28%, rgba(58,42,22,0.85), rgba(13,9,5,0.95));
}
.edition-body .eyebrow { margin-bottom: 12px; }
.edition-body h2 { font-family: var(--f-display); font-size: 1.9rem; line-height: 1.12; }
.edition-body p { margin: 14px 0 20px; color: var(--text); max-width: 44ch; }
.edition-feats { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.edition-feats .feat { display: flex; align-items: center; gap: 10px; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); font-family: var(--f-display); }
.edition-feats .feat svg { width: 26px; height: 26px; color: var(--gold-400); flex: none; }
.edition-price { text-align: center; min-width: 230px; }
.edition-price .amt { font-family: var(--f-display); font-size: 3rem; color: var(--gold-200);
  line-height: 1; font-weight: 700; }
.edition-price .ship { font-size: 0.9rem; color: var(--text-muted); margin: 8px 0 18px; }
.edition-price .delivery { display: flex; align-items: center; justify-content: center; gap: 9px;
  margin-top: 14px; font-size: 0.86rem; color: var(--text-muted); }
.edition-price .delivery svg { width: 20px; height: 20px; color: var(--gold-400); }

/* ============================================================
   SAMPLE — "Abra o livro antes de o ter nas mãos"
   ============================================================ */
.section-head { text-align: center; margin-bottom: 46px; }
.section-head h2 { font-family: var(--f-display); font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
.section-head p { color: var(--text-muted); margin: 14px auto 0; max-width: 60ch; }

.sample-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.sample-grid .spread { grid-column: span 1; }

/* open book spread */
.spread { position: relative; display: grid; grid-template-columns: 1fr 1fr;
  background: linear-gradient(180deg, #f1e7cf, #e6d8b8);
  border-radius: 10px; border: 1px solid rgba(120, 90, 40, 0.4);
  box-shadow: 0 26px 60px rgba(0,0,0,0.6), inset 0 0 60px rgba(150, 120, 70, 0.25);
  overflow: hidden; min-height: 460px; }
.spread::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 44px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(90,66,30,0.32), rgba(60,42,18,0.42), rgba(90,66,30,0.32), transparent);
  z-index: 2; pointer-events: none; }
.page { padding: 30px 28px 40px; color: var(--ink); font-size: 0.84rem; line-height: 1.5; position: relative; }
.page.left { border-right: 1px solid rgba(120,90,40,0.18); }
.page h4 { font-family: var(--f-display); color: #4a3214; font-size: 1.5rem; line-height: 1.05;
  margin: 0 0 14px; letter-spacing: 0.02em; }
.page .pg-script { font-family: var(--f-script); font-size: 1.7rem; color: #6a4a1c; margin: 0 0 6px; }
.page .botany {
  height: 150px; margin: 6px 0 12px; border-radius: 6px;
  background:
    radial-gradient(circle at 50% 120%, rgba(90, 110, 60, 0.18), transparent 60%),
    repeating-linear-gradient(0deg, rgba(120,90,40,0.05) 0 13px, transparent 13px 26px);
  display: flex; align-items: center; justify-content: center; color: #6f7d4e;
}
.page .botany svg { width: 88px; height: 120px; opacity: 0.85; }
.page small { display: block; color: var(--ink-soft); font-size: 0.72rem; }
.page .label { font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.66rem; color: #7a5a24; margin: 12px 0 3px; }
.page .pageno { position: absolute; bottom: 12px; font-size: 0.66rem; color: var(--ink-soft); }
.page.left .pageno { left: 28px; } .page.right .pageno { right: 28px; }

/* small sample cards (parchment thumbnails) */
.scards { display: grid; grid-template-rows: repeat(2, 1fr); gap: 22px; }
.srow { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.scard {
  position: relative; display: block; aspect-ratio: 1241 / 1754;
  border-radius: 10px; border: 1px solid var(--glass-border);
  box-shadow: 0 16px 38px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,243,212,0.18); padding: 0;
  background: #0d0905; cursor: zoom-in; transition: transform .25s, box-shadow .25s;
  overflow: hidden;
}
.scard:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0,0,0,0.6); }
.scard-img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.scard-zoom { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 8px; font-family: var(--f-display); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-bright); background: linear-gradient(0deg, rgba(8,5,2,0.92) 12%, rgba(8,5,2,0.4) 70%, transparent);
  border-top: 1px solid var(--glass-border-soft); }
.scard-zoom svg { width: 15px; height: 15px; color: var(--gold-300); flex: none; }
.modal-img { display: block; width: auto; max-width: 100%; max-height: 82vh; height: auto; object-fit: contain; margin: 0 auto; border-radius: 4px; }
.modal-count { text-align: center; color: #7a5a24; font-family: var(--f-display); letter-spacing: 0.1em; font-size: 0.8rem; padding: 10px 0 2px; }
.scard .cap { font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.6rem; color: #7a5a24; }
.scard h5 { font-family: var(--f-display); color: #4a3214; font-size: 1.18rem; line-height: 1.06;
  margin: 6px 0 0; text-transform: uppercase; letter-spacing: 0.02em; }
.scard .mini { flex: 1; display: flex; align-items: center; justify-content: center; color: #6f7d4e; margin: 10px 0; min-height: 70px; }
.scard .mini svg { width: 58px; height: 78px; opacity: 0.75; }
.scard .cdesc { margin: 8px 0 0; font-size: 0.78rem; line-height: 1.45; color: var(--ink-soft); }
.scard .zoom { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px;
  border-radius: 50%; background: rgba(74,50,20,0.12); display: flex; align-items: center; justify-content: center;
  color: #6a4a1c; }
.scard .zoom svg { width: 16px; height: 16px; }
.scard .pageno { font-size: 0.66rem; color: var(--ink-soft); }

/* feature ticks under spread/cards */
.sample-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.sample-feats .sf { display: flex; align-items: center; gap: 11px; color: var(--text-muted); font-size: 0.92rem; }
.sample-feats .sf svg { width: 28px; height: 28px; color: var(--gold-400); flex: none; }
.sample-actions { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 36px; flex-wrap: wrap; }
.hint-link { display: inline-flex; align-items: center; gap: 10px; color: var(--text-muted);
  font-size: 0.92rem; font-style: italic; }
.hint-link svg { width: 30px; height: 14px; color: var(--gold-400); }

/* ============================================================
   VIDEO
   ============================================================ */
.video-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center;
  padding: 22px; border-radius: var(--radius);
  background: var(--glass-grad); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); }
.video-stage {
  position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow);
  background:
    radial-gradient(120% 90% at 50% 120%, rgba(120, 140, 90, 0.35), transparent 55%),
    linear-gradient(180deg, #2a2a1c 0%, #1c1a10 60%, #14100a 100%);
  display: flex; align-items: center; justify-content: center;
}
.video-stage img.poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }

/* --- real VSL player (replaces the old placeholder stage) --- */
.video-stage .vsl-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; background: #14100a; border: 0;
}
.video-overlay {
  position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(20,14,8,0.12) 0%, rgba(20,14,8,0.42) 100%);
  border: 0; padding: 0; cursor: pointer; -webkit-appearance: none; appearance: none;
  transition: opacity .35s ease;
}
.video-stage.is-playing .video-overlay { opacity: 0; pointer-events: none; }
.video-stage.is-playing .vsl-video { object-fit: contain; }
.video-stage .mist { position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% 40%, rgba(225, 200, 150, 0.25), transparent 70%); }
.play-btn {
  position: relative; z-index: 2; width: 92px; height: 92px; border-radius: 50%;
  background: rgba(20, 14, 8, 0.55); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; color: var(--gold-200);
  box-shadow: 0 0 0 0 rgba(216, 179, 90, 0.4); transition: transform .25s;
  animation: pulse 2.6s ease-out infinite;
}
.play-btn:hover { transform: scale(1.06); }
.play-btn svg { width: 34px; height: 34px; margin-left: 4px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(216,179,90,0.4);} 70% { box-shadow: 0 0 0 22px rgba(216,179,90,0);} 100% { box-shadow: 0 0 0 0 rgba(216,179,90,0);} }
.video-cap { position: absolute; left: 18px; bottom: 16px; z-index: 2; font-family: var(--f-display);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); opacity: 0.85; }
.video-copy h2 { font-family: var(--f-display); font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.1; }
.video-copy p { margin: 20px 0 26px; color: var(--text); }

/* ============================================================
   FLORA
   ============================================================ */
.flora-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 36px; align-items: center; }
.flora-copy .flora-mark { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.flora-copy .flora-mark svg { width: 40px; height: 40px; color: var(--gold-300); }
.flora-copy .flora-name { font-family: var(--f-script); font-size: 3.2rem; color: var(--gold-200); line-height: 1; }
.flora-copy h2 { font-family: var(--f-display); font-size: 1.5rem; margin: 10px 0 0; }
.flora-copy p { margin: 18px 0 26px; color: var(--text); max-width: 42ch; }
.store-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.store-badge { display: inline-flex; align-items: center; gap: 11px; padding: 11px 18px;
  border-radius: 11px; background: var(--glass-grad-soft); -webkit-backdrop-filter: blur(12px) saturate(120%); backdrop-filter: blur(12px) saturate(120%); border: 1px solid var(--glass-border);
  color: var(--text-bright); transition: border-color .2s, transform .2s; }
.store-badge:hover { border-color: var(--gold-300); transform: translateY(-2px); }
.store-badge svg { width: 26px; height: 26px; color: var(--gold-100); }
.store-badge .sb { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge .sb small { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.store-badge .sb b { font-family: var(--f-display); font-size: 1rem; font-weight: 600; }

/* phone */
.phone { width: 290px; flex: none; }
.phone-frame { position: relative; border-radius: 40px; padding: 12px;
  background: linear-gradient(160deg, #2a1d10, #120c06); border: 1px solid rgba(199,154,56,0.3);
  box-shadow: 0 30px 70px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,231,173,0.12); }
.phone-screen { border-radius: 30px; overflow: hidden; background: #f3efe6; aspect-ratio: 9/19.2; position: relative;
  display: flex; flex-direction: column; }
.ph-status { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px 4px;
  font-size: 11px; color: #2e3a22; font-family: var(--f-serif); font-weight: 600; }
.ph-status .dots { display: flex; gap: 4px; align-items: center; }
.ph-status .dots svg { width: 15px; height: 12px; }
.ph-app { flex: 1; background: linear-gradient(180deg, #f4f1e8, #eef0e2); padding: 8px 16px 16px; overflow: hidden; }
.ph-top { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 12px; }
.ph-top .ph-logo { display: flex; align-items: center; gap: 7px; font-family: var(--f-script); font-size: 1.5rem; color: #3f5a2c; }
.ph-top .ph-logo svg { width: 22px; height: 22px; }
.ph-top .ph-ic { width: 30px; height: 30px; border-radius: 50%; background: #e0e3d0; display:flex; align-items:center; justify-content:center; color:#5a6b3e; }
.ph-top .ph-ic svg { width: 15px; height: 15px; }
.ph-hello { font-family: var(--f-display); font-size: 1rem; color: #2f3d22; letter-spacing: 0.02em; }
.ph-sub { font-size: 0.7rem; color: #6c7754; margin: 2px 0 12px; }
.ph-search { display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid #d8dcc6;
  border-radius: 12px; padding: 10px 13px; font-size: 0.74rem; color: #8a9270; margin-bottom: 12px; white-space: nowrap; overflow: hidden; }
.ph-search span { overflow: hidden; text-overflow: ellipsis; }
.ph-search svg { width: 15px; height: 15px; color: #6f7d4e; }
.ph-id { border-radius: 14px; padding: 13px; color: #f3f4e8; margin-bottom: 14px;
  background: linear-gradient(135deg, #4d6b34, #34491f); box-shadow: 0 8px 18px rgba(40,60,20,0.35);
  display: flex; gap: 11px; align-items: center; }
.ph-id .leaf { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center; flex: none; }
.ph-id .leaf svg { width: 24px; height: 24px; color: #eaf3d8; }
.ph-id b { font-family: var(--f-display); font-size: 0.82rem; display: block; }
.ph-id span { font-size: 0.66rem; opacity: 0.85; }
.ph-catlabel { font-family: var(--f-display); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.12em; color: #6c7754; margin: 0 0 9px; }
.ph-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.ph-cat { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 0.56rem; color: #4f5d38; }
.ph-cat .cic { width: 38px; height: 38px; border-radius: 12px; background: #e4e7d3;
  display: flex; align-items: center; justify-content: center; color: #4d6b34; }
.ph-cat .cic svg { width: 18px; height: 18px; }
.ph-cat.act .cic { background: #4d6b34; color: #f0f4e2; }

.flora-feats { display: flex; flex-direction: column; gap: 14px; }
.ffeat { display: flex; gap: 14px; align-items: flex-start; padding: 13px 15px; border-radius: 14px;
  background: var(--glass-grad-soft); -webkit-backdrop-filter: blur(14px) saturate(120%); backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid var(--glass-border-soft); box-shadow: 0 12px 30px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,231,173,0.12); }
.ffeat .ic { width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: rgba(46, 33, 18, 0.6); border: 1px solid var(--glass-border-soft);
  display: flex; align-items: center; justify-content: center; color: var(--gold-300); }
.ffeat > div { min-width: 0; }
.ffeat .ic svg { width: 24px; height: 24px; }
.ffeat h4 { font-family: var(--f-display); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-bright); margin: 0 0 5px; line-height: 1.25; }
.ffeat p { margin: 0; font-size: 0.92rem; color: var(--text-muted); line-height: 1.45; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; row-gap: 0; align-items: stretch; }
.step { padding: 0; text-align: center; overflow: hidden; display: grid; grid-template-rows: subgrid; grid-row: span 4; }

/* Step photo */
.step-photo { position: relative; overflow: hidden; line-height: 0; }
.step-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
  transition: transform 0.6s ease; }
.step:hover .step-img { transform: scale(1.05); }
.step-photo .num { position: absolute; bottom: 14px; left: 16px; margin: 0;
  font-family: var(--f-display); font-size: 1rem; color: var(--gold-300);
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  background: rgba(14,9,4,0.82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* Step text body */
.step-text { padding: 26px 28px 30px; display: grid; grid-template-rows: subgrid; grid-row: span 3; }
.step .sic { color: var(--gold-300); margin-bottom: 14px; }
.step .sic svg { width: 32px; height: 32px; }
.step h3 { font-family: var(--f-display); font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.08em; }
.step p { margin: 12px 0 0; color: var(--text-muted); font-size: 0.98rem; line-height: 1.65; }

/* ============================================================
   PURCHASE CARDS
   ============================================================ */
.buy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 22px; row-gap: 0; align-items: stretch; max-width: 1100px; margin-inline: auto; padding-top: 44px; }
.buy-card { position: relative; padding: 16px 16px 18px; display: grid; grid-template-rows: subgrid; grid-row: span 6; }
.buy-card.complete { border-color: var(--gold-300); box-shadow: 0 26px 70px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,231,173,0.18), 0 0 0 1px rgba(216,179,90,0.25); }
.buy-badge { position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%);
  font-family: var(--f-display); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #2a1c0c; padding: 7px 18px; border-radius: 20px; white-space: nowrap;
  background: linear-gradient(170deg, #f2dd9f, var(--gold-400)); box-shadow: 0 8px 20px rgba(0,0,0,0.4); }
.buy-card-media { position: relative; width: 82%; max-width: 270px; aspect-ratio: 4/5; margin: 0 auto 14px; border-radius: 14px; overflow: hidden; isolation: isolate;
  border: 1px solid var(--glass-border); box-shadow: 0 18px 40px rgba(0,0,0,0.55);
  background: radial-gradient(120% 100% at 50% 0%, #2a1d10, #120c06); }
/* same photo, blurred, as a premium "theatrical backdrop" (Apple DESIGN(2)/(4)) */
.bm-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: scale(1.18); filter: blur(22px) brightness(0.5) saturate(118%); z-index: 0; }
/* glass tint/vignette over the backdrop */
.buy-card-media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(115% 85% at 50% 34%, transparent 38%, rgba(8,5,2,0.55) 100%); }
/* product fills the frame = BIG; portrait 4/5 keeps the whole book (no amputation) */
.buy-thumb { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; display: block; }
.buy-card h3 { font-family: var(--f-display); font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.1em; text-align: center; margin: 0 0 6px; }
.buy-card .desc { text-align: center; color: var(--text-muted); font-size: 0.92rem; margin: 2px 0 12px; min-height: 0; line-height: 1.5; }
.buy-list { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 7px; }
.buy-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--text); line-height: 1.5; }
.buy-list li svg { width: 18px; height: 18px; color: var(--gold-400); flex: none; margin-top: 3px; }
.buy-price { text-align: center; font-family: var(--f-display); font-size: 2.4rem; color: var(--gold-200); font-weight: 700; margin: 4px 0 2px; }
.buy-price small { display: block; font-family: var(--f-serif); font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0; font-weight: 400; }
.buy-card .btn { margin-top: 12px; }

/* Hover stays on pointer devices; resting cards retain their shared alignment. */
@media (hover: hover) and (pointer: fine) {
  .buy-card { transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease; }
  .buy-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-200);
    box-shadow: 0 30px 70px rgba(0,0,0,0.62), 0 0 28px rgba(216,179,90,0.18),
      0 0 0 1px rgba(242,221,159,0.75), inset 0 1px 0 rgba(255,243,212,0.7);
  }
}
.buy-card:focus-within { border-color: var(--gold-200); }
@media (prefers-reduced-motion: reduce) {
  .buy-card { transition: none; }
  .buy-card:hover { transform: none; }
}


/* ============================================================
   TRUST
   ============================================================ */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust { display: flex; gap: 15px; align-items: flex-start; padding: 24px 22px; }
.trust .ic { width: 48px; height: 48px; flex: none; border-radius: 12px;
  background: rgba(46,33,18,0.6); border: 1px solid var(--glass-border-soft);
  display: flex; align-items: center; justify-content: center; color: var(--gold-300); }
.trust .ic svg { width: 26px; height: 26px; }
.trust h4 { font-family: var(--f-display); font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-bright); }
.trust p { margin: 6px 0 0; font-size: 0.86rem; color: var(--text-muted); line-height: 1.5; }

.med-note { margin-top: 30px; text-align: center; font-size: 0.84rem; color: var(--text-faint);
  font-style: italic; max-width: 70ch; margin-left: auto; margin-right: auto; }

/* ============================================================
   FOOTER
   ============================================================ */
footer.site { border-top: 1px solid rgba(199,154,56,0.2); background: linear-gradient(180deg, rgba(15,9,4,0.4), rgba(10,6,3,0.85)); padding: 56px 0 30px; margin-top: 30px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; align-items: start; }
.foot-brand .b-title { font-family: var(--f-display); font-size: 18px; letter-spacing: 0.05em; color: var(--gold-200); text-transform: uppercase; }
.foot-brand .b-sub { font-family: var(--f-script); font-size: 1.3rem; color: var(--gold-400); margin: 2px 0 16px; }
.foot-social { display: flex; gap: 12px; }
.foot-social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--glass-border-soft);
  display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: .2s; }
.foot-social a:hover { color: var(--gold-200); border-color: var(--gold-300); }
.foot-social svg { width: 19px; height: 19px; }
.foot-col h5 { font-family: var(--f-display); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-300); margin: 0 0 14px; }
.foot-col a { display: block; color: var(--text-muted); font-size: 0.92rem; padding: 5px 0; }
.foot-col a:hover { color: var(--gold-100); }
.contact-details summary { color: var(--text-muted); font-size: 0.92rem; padding: 5px 0; cursor: pointer; width: fit-content; }
.contact-details summary:hover, .contact-details[open] summary { color: var(--gold-100); }
.contact-details summary:focus-visible { outline: 2px solid var(--gold-200); outline-offset: 3px; }
.foot-col .contact-email { margin: 6px 0 10px; padding: 10px 12px; border: 1px solid var(--glass-border); border-radius: 8px; color: var(--gold-200); overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }
.foot-trust { display: flex; gap: 22px; flex-wrap: wrap; margin: 30px 0 0; padding-top: 22px; border-top: 1px solid rgba(199,154,56,0.12); }
.foot-trust .ft { display: flex; align-items: center; gap: 9px; font-size: 0.82rem; color: var(--text-muted);
  padding: 9px 14px; border-radius: 11px; background: var(--glass-grad-soft);
  -webkit-backdrop-filter: blur(10px) saturate(115%); backdrop-filter: blur(10px) saturate(115%);
  border: 1px solid var(--glass-border-soft); }
.foot-trust .ft svg { width: 18px; height: 18px; color: var(--gold-400); }
.foot-bottom { margin-top: 18px; font-size: 0.8rem; color: var(--text-faint); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-bottom .lang-switch { font-size: 0.82rem; }

/* ============================================================
   MODAL (sample zoom)
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 5, 2, 0.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal-card { position: relative; z-index: 2; width: min(640px, 96vw); max-height: 92vh; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #f3ead4, #e6d6b4); border-radius: 12px; border: 1px solid var(--gold-500);
  box-shadow: 0 40px 90px rgba(0,0,0,0.7); overflow: hidden; animation: pop .3s ease; }
@keyframes pop { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }
.modal-page { padding: 12px; color: var(--ink); overflow-y: auto; }
.modal-page .label { font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; color: #7a5a24; }
.modal-page h3 { font-family: var(--f-display); color: #43300f; font-size: 2rem; margin: 6px 0 4px; letter-spacing: 0.02em; }
.modal-page .pg-script { font-family: var(--f-script); font-size: 2rem; color: #6a4a1c; margin: 0 0 14px; }
.modal-page .botany { height: 230px; margin: 18px 0; border-radius: 8px;
  background: radial-gradient(circle at 50% 120%, rgba(90, 110, 60, 0.16), transparent 60%), repeating-linear-gradient(0deg, rgba(120,90,40,0.05) 0 15px, transparent 15px 30px);
  display: flex; align-items: center; justify-content: center; }
.modal-page .botany svg { width: 140px; height: 190px; color: #6f7d4e; opacity: 0.9; }
.modal-page p { margin: 10px 0; font-size: 0.98rem; line-height: 1.6; }
.modal-page .label2 { font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.7rem; color: #7a5a24; margin: 16px 0 2px; }
.modal-foot { padding: 18px 24px; background: rgba(74,50,20,0.1); border-top: 1px solid rgba(120,90,40,0.3);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.modal-foot .pager { display: flex; gap: 10px; }
.modal-foot .pager button { width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--gold-500);
  background: rgba(255,255,255,0.4); color: #5a3e16; display: flex; align-items: center; justify-content: center; }
.modal-foot .pager button:hover { background: rgba(255,255,255,0.7); }
.modal-foot .pager button svg { width: 20px; height: 20px; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 4; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(40,26,10,0.7); border: 1px solid var(--gold-400); color: var(--gold-100); display: flex; align-items: center; justify-content: center; }
.modal-close:hover { background: rgba(60,40,16,0.9); }
.modal-close svg { width: 22px; height: 22px; }

/* ============================================================
   LANG MENU
   ============================================================ */
.lang-menu { position: fixed; inset: 0; z-index: 110; display: none; align-items: center; justify-content: center; }
.lang-menu.open { display: flex; }
.lang-menu .lm-card { position: relative; z-index: 2; width: min(360px, 92vw);
  padding: 32px; text-align: center; }
.lang-menu h3 { font-family: var(--f-display); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.lang-menu p { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 20px; }
.lang-opt { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 14px 18px; margin-bottom: 10px; border-radius: 12px; background: rgba(30,22,12,0.5);
  border: 1px solid var(--glass-border-soft); color: var(--text-bright); font-family: var(--f-display);
  font-size: 0.95rem; letter-spacing: 0.04em; transition: .2s; }
.lang-opt:hover, .lang-opt.active { border-color: var(--gold-300); background: rgba(46,33,18,0.7); }
.lang-opt .flag { font-size: 1.4rem; }
.lang-opt .meta { display: flex; flex-direction: column; line-height: 1.2; }
.lang-opt .meta small { font-family: var(--f-serif); font-size: 0.74rem; color: var(--text-muted); letter-spacing: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edition .glass { grid-template-columns: 190px 1fr; }
  .edition-price { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--glass-border-soft); }
  .edition-price .delivery { margin-top: 0; }
  .sample-grid { grid-template-columns: repeat(3, 1fr); }
  .sample-grid .spread { grid-column: 1 / -1; }
  .video-row { grid-template-columns: 1fr; }
  .flora-row { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .flora-copy { order: 1; } .phone { order: 0; } .flora-feats { order: 2; width: 100%; max-width: 460px; }
  .flora-copy p { margin-left: auto; margin-right: auto; }
  .store-badges { justify-content: center; }
  .ffeat { text-align: left; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  /* mobile structural background = portrait master (fundo-telemovel), same
     fixed non-repeating layer. Anchored center-top so the scene reads naturally. */
  body::before {
    background:
      radial-gradient(120% 70% at 50% -6%, rgba(74, 52, 24, 0.26), transparent 52%),
      linear-gradient(180deg, rgba(10, 6, 3, 0.46) 0%, rgba(10, 6, 3, 0.26) 40%, rgba(10, 6, 3, 0.56) 100%),
      url("../assets/backgrounds/fundo-telemovel-1536.webp") center top / cover no-repeat;
    background-color: var(--leather-900);
  }
  /* mobile compaction: tighter vertical rhythm so sections read as a fluid landing,
     not loose "pieces" with big dead space (older-audience friendly). */
  .section { padding: 40px 0; }
  .section-head { margin-bottom: 26px; }
  .video-row { gap: 16px; }
  .wrap { padding: 0 18px; }
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav-actions .btn span.lbl { display: none; }
  .nav-actions .btn { padding: 13px; min-width: 48px; }

  /* hero mobile (Option A): scrub kept, but image lives in a CONTAINED landscape band
     (aspect-ratio matches frame ratio 1280/722 → ~zero crop). Text sits BELOW the band
     in its own clean zone — no longer crushed over a 75%-cropped book. */
  .hero-track { height: 200vh; }
  .hero-pin {
    position: sticky; top: 0; height: 100vh; min-height: 0; overflow: hidden;
    /* book band anchored to the TOP of the pin (not centered) so it starts right
       under the header — kills the empty textured gap between header and book.
       padding-top clears the sticky mobile header (~124px) so the book is not
       hidden behind it during the pinned scroll. */
    display: flex; flex-direction: column; justify-content: flex-start;
    align-items: stretch; padding: 72px 0 24px; gap: 14px;
    /* SINGLE background system: the hero is TRANSPARENT and shows the global fixed
       body::before background through a light scrim — NO duplicate scene painted on
       the pin. Safe because body::before is position:fixed (never slides), so the
       pinned hero stays visually stable. Kills the "dois fundos / duas camadas". */
    background:
      linear-gradient(180deg, rgba(15, 9, 4, 0.32) 0%, rgba(15, 9, 4, 0.10) 40%, rgba(15, 9, 4, 0.55) 100%);
  }
  /* landscape band: shows the whole book composition */
  .hero-frames {
    position: relative; inset: auto; width: 100%; height: auto;
    aspect-ratio: 1280 / 722; max-height: 44vh; overflow: hidden;
    flex: 0 0 auto;
  }
  .hero-frames .hero-seq {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    -webkit-mask-image: none; mask-image: none;
  }
  .hero-veil { display: none; }
  .hero-pin::after { display: none; }
  .hero-content {
    position: relative; z-index: 3; flex: 0 1 auto;
    padding: 0 22px; max-width: var(--maxw); width: 100%; margin: 0 auto;
  }
  .hero-copy { max-width: none; }
  .hero h1 { font-size: clamp(1.5rem, 6.2vw, 2rem); line-height: 1.05; }
  .hero .h-script { font-size: clamp(1.55rem, 6.4vw, 2.05rem); margin: 4px 0 0; text-shadow: none; }
  .hero p.lead { font-size: 1rem; margin: 14px 0 18px; max-width: none; }
  .hero-cta { flex-direction: column; gap: 10px; }
  .hero-cta .btn { width: 100%; padding: 14px 18px; }
  .scroll-hint { display: none; }

  .edition .glass { grid-template-columns: 1fr; text-align: center; padding: 18px; gap: 10px; }
  .edition-cover { width: 40%; max-width: 172px; margin: 0 auto; aspect-ratio: 4/5; }
  .edition-body p { max-width: none; margin: 6px auto 10px; }
  .edition-body h2 { font-size: 1.45rem; }
  .edition-body .eyebrow { margin-bottom: 6px; }
  .edition-feats { justify-content: center; gap: 8px 18px; }
  .edition-price .amt { font-size: 2.2rem; }
  .edition-price .ship { margin: 6px 0 10px; }
  .edition-price { flex-direction: column; gap: 14px; }

  .sample-grid { grid-template-columns: repeat(2, 1fr); }
  .spread { grid-template-columns: 1fr; min-height: 0; }
  .spread .page.right { display: none; }
  .spread .page.left { border-right: none; }
  .spread::before { display: none; }
  .scards { grid-template-rows: none; }
  .srow { grid-template-columns: 1fr; }
  .sample-feats { grid-template-columns: 1fr 1fr; }

  .steps { grid-template-columns: 1fr; grid-auto-rows: 1fr; row-gap: 24px; }
  .step { display: flex; flex-direction: column; grid-row: auto; }
  .step-photo { flex-shrink: 0; }
  .step-text { display: block; grid-row: auto; flex: 1; }
  .step-img { aspect-ratio: 16/9; max-height: 260px; }
  .step-text { padding: 22px 24px 26px; }
  .buy-grid { grid-template-columns: 1fr; grid-auto-rows: 1fr; row-gap: 66px; }
  .buy-card { display: flex; flex-direction: column; grid-row: auto; }
  .buy-card-media { flex-shrink: 0; }
  .buy-price { margin-top: auto; }
  .trust-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; }

  /* ============================================================
     MOBILE REBUILD (after real-device audit) — P1..P6.
     Overrides earlier mobile rules via source order. Desktop (≥761) untouched.
     ============================================================ */
  /* P1 hero → NORMAL FLOW (no sticky / no 200vh). JS onScroll computes
     total = track.offsetHeight - innerHeight; with height:auto total ≤ 0 →
     progress 0 → static frame f_001. No JS change; desktop scrub (250vh)
     unaffected. Kills the 1078px void + the "bate em cima". */
  .hero-track { height: auto; }
  .hero-pin { position: static; height: auto; min-height: 0; padding: 18px 0 26px; }

  /* P2 header compact (~186 → ~150px) */
  .langbar { padding: 6px 16px; font-size: 12px; }
  .nav { padding: 10px 18px; }

  /* P3 typography (less giant on mobile) */
  .section-head h2 { font-size: clamp(1.45rem, 5.4vw, 1.7rem); }
  .flora-copy .flora-name { font-size: 2.3rem; }

  /* P4 cards / images proportional */
  .phone { width: 240px; }
  .step-img { max-height: 200px; }
  .step-text { padding: 18px 20px 22px; }

  /* P5 footer compact (~851 → target ≤520): brand full row, then 2 columns */
  footer.site { padding: 34px 0 22px; margin-top: 16px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 20px 18px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-col a { padding: 3px 0; }
  .foot-trust { gap: 12px 16px; margin-top: 20px; padding-top: 18px; }
  .foot-social a { width: 36px; height: 36px; }

  /* P6 video / amostra / flora / como compaction */
  #videoCta { display: none; }                 /* redundant with player central play */
  .video-row {
    gap: 14px; padding: 12px;
    background: rgba(20, 14, 8, 0.55);
    border: 1px solid var(--glass-border-soft);
    border-radius: var(--radius);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  }
  .video-copy { padding: 2px 6px 6px; }
  .video-copy p { margin: 12px 0 0; }
  .sample-grid { gap: 16px; }
  .sample-feats { margin-top: 20px; }
  .sample-actions { margin-top: 22px; }
  .flora-row { gap: 20px; }
  .steps { gap: 16px; }

  /* ============================================================
     v22 COMPOSITION FIX (after real-device v21 rejection).
     Overrides v21 mobile rules via source order. Desktop untouched.
     ============================================================ */
  /* P0 hero top gap 18→8 (no sticky/200vh reintroduced) */
  .hero-pin { padding: 3px 0 22px; }
  /* P1 Flora = ONE coherent block: copy(title+text+App Store/Play badges)
     → phone mockup → benefits. (v21 had the phone ALONE at the top via order:0.) */
  .flora-copy { order: 0; }
  .phone { order: 1; width: 220px; }
  .flora-feats { order: 2; margin-top: 2px; }
  .flora-row { gap: 16px; }
  /* P3 compact oversized blocks (edition card ~921px → smaller) */
  .edition .glass { grid-template-columns: 1fr; padding: 14px; gap: 10px; }
  .edition-cover { width: 46%; max-width: 172px; aspect-ratio: 4/5; }
  .step-text { padding: 16px 18px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .play-btn, .scroll-hint .chev { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   BERRIO LIQUID GLASS v31 — site-wide depth (append; wins by source order)
   Adapted from ~/repos/berrio GlassButton.tsx + globals
   (claude.mem #9987/#9997/#9998/#9188). Leather/bronze palette.
   Adds: refraction-variance mesh, lit light-line edges, diagonal glass
   sheen, glass buttons, bronze separators, hover/focus polish.
   Card sheen uses ::after so .panel-frame::before (inner gold frame) survives.
   ============================================================ */

/* (1) refraction variance behind glass — fixes flat "cardboard" (mem #9188) */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 32% at 16% 20%, rgba(201,150,84,0.14), transparent 60%),
    radial-gradient(40% 30% at 84% 66%, rgba(150,110,55,0.115), transparent 62%),
    radial-gradient(55% 38% at 50% 102%, rgba(120,140,90,0.08), transparent 60%);
}

/* (2) diagonal glass sheen on panels/cards (Liquid Glass) */
.glass, .video-row, .ffeat { position: relative; }
.glass::after, .video-row::after, .ffeat::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  background:
    linear-gradient(180deg, rgba(255,243,212,0.30) 0%, rgba(255,243,212,0.08) 15%, transparent 34%),
    linear-gradient(135deg, rgba(255,243,212,0.22) 0%, transparent 32%);
}
/* lit light-line edge + bronze hairline ring on primary glass surfaces
   (no !important: .buy-card.complete keeps its emphasis ring by higher specificity) */
.buy-card, .edition .glass, #como .step, .trust, .video-row {
  box-shadow:
    0 24px 64px rgba(0,0,0,0.55),
    0 0 0 1px rgba(214,184,128,0.55),
    inset 0 1.5px 0 rgba(255,243,212,0.62),
    inset 0 -1px 0 rgba(120,79,25,0.22);
}

/* (3) glass buttons (Berrio Liquid Glass Kit) */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn > * { position: relative; z-index: 2; }
.btn-gold {
  box-shadow: 0 14px 34px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,240,200,0.5),
    inset 0 1px 0 rgba(255,255,255,0.7), inset 0 -2px 7px rgba(120,80,20,0.5);
}
.btn-gold::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .9; transition: opacity .2s ease;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.10) 24%, transparent 48%),
    linear-gradient(135deg, rgba(255,255,255,0.42), transparent 32%);
}
.btn-gold:hover::before { opacity: 1; }
.btn-ghost {
  background: linear-gradient(180deg, rgba(40,30,17,0.50), rgba(13,9,5,0.34));
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(199,154,56,0.50);
  box-shadow: 0 14px 34px rgba(0,0,0,0.45), 0 0 0 1px rgba(199,154,56,0.20),
    inset 0 1px 0 rgba(255,238,196,0.22), inset 0 -1px 0 rgba(120,79,25,0.16);
}
.btn-ghost::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .85; transition: opacity .2s ease;
  background: linear-gradient(180deg, rgba(255,239,200,0.16) 0%, transparent 40%), linear-gradient(135deg, rgba(255,239,200,0.10), transparent 30%);
}
.btn-ghost:hover::before { opacity: 1; }
.btn:focus-visible { outline: 2px solid var(--gold-200); outline-offset: 3px; }

/* (4) bronze glass separators (not flat grey lines) */
.ornament .rule, .ornament .rule.r { height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214,170,74,0.6) 70%, transparent) !important; }
.foot-trust { border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(199,154,56,0.34) 50%, transparent) 1; }

/* (5) accessibility fallbacks (mem #9188) */
@media (prefers-reduced-transparency: reduce) {
  .glass, .video-row, .ffeat, .btn-ghost { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(20,14,8,0.92); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-gold::before, .btn-ghost::before { transition: none; }
}

/* (6) tighter offer cards + edition on the widest phones (≤430) */
@media (max-width: 430px) {
  .buy-card { padding: 14px 14px 16px; }
  .buy-card-media { width: 72%; aspect-ratio: 4/5; }
  .buy-price { font-size: 2.1rem; }
  .edition-body p { margin: 8px 0 12px; }
  .edition-price .amt { font-size: 2.3rem; }
}

.subscription-note { max-width: 850px; margin: 24px auto 0; color: var(--text); text-align: center; font-size: .95rem; line-height: 1.6; }

/* Contact stays reachable while scrolling; foreground dialogs keep priority. */
.whatsapp-contact {
  position: fixed; right: max(20px, env(safe-area-inset-right));
  bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 80;
  display: inline-flex; align-items: center; gap: 9px; min-height: 52px;
  padding: 10px 17px; border-radius: 30px; border: 1px solid #ffffff50;
  background: #176b48; color: #fff; text-decoration: none;
  font: 600 15px/1.2 system-ui, sans-serif; box-shadow: 0 4px 14px #0004;
  transition: transform .18s ease, background-color .18s ease;
}
.whatsapp-contact svg { width: 28px; height: 28px; flex: none; }
.whatsapp-contact:focus-visible { outline: 3px solid #f4d68b; outline-offset: 4px; }
@media (hover: hover) { .whatsapp-contact:hover { background: #115438; transform: translateY(-3px); } }
body:has(#sampleModal.open, .lang-menu.open) .whatsapp-contact { visibility: hidden; }
footer.site { padding-bottom: 90px; }
@media (max-width: 600px) {
  .whatsapp-contact {
    right: max(14px, env(safe-area-inset-right)); bottom: calc(14px + env(safe-area-inset-bottom));
    width: 48px; height: 48px; min-height: 48px; padding: 0; gap: 0;
    justify-content: center; border-radius: 50%;
  }
  .whatsapp-contact svg { width: 26px; height: 26px; }
  .whatsapp-contact span { display: none; }
  body:has(#metrics-panel:not([hidden])) .whatsapp-contact { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) { .whatsapp-contact { transition: none; } }
