/* ============================================================
   Ebook Endomidface (ebook-endomidface.html): standalone sales page.
   Tokens and component shapes are copied from style.css (same values, see DESIGN.md) so this page
   does not download the landing's stylesheet. Fonts come from fonts.css. No JavaScript besides consent.js.
   ============================================================ */
:root {
  --ivory: #F3F0EA;
  --paper: #FAF8F4;
  --line: rgba(40, 36, 30, 0.10);
  --line-strong: rgba(40, 36, 30, 0.19);
  --ink: #17181A;
  --ink-2: #4F4E4B;
  --ink-3: #6B6862;

  --navy: #070C1C;
  --navy-lit: #0E1C40;
  --abyss: #030509;
  --graphite: #131416;
  --graphite-2: #1C1D20;
  --graphite-line: rgba(236, 228, 214, 0.09);
  --graphite-ink: #EFEBE4;
  --graphite-ink-2: rgba(239, 235, 228, 0.66);
  --on-dark: #F6F2EB;

  --accent: #B8875A;
  --accent-2: #D3A673;
  --accent-soft: #E2C49C;
  --accent-deep: #8C5E36;

  --serif: "Newsreader", ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Satoshi", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* layered neutral shadows (sm · md · lg), never tinted */
  --shadow-sm: 0 2px 3px -1px rgba(0, 0, 0, .10), 0 1px 0 0 rgba(25, 28, 33, .02), 0 0 0 1px rgba(25, 28, 33, .08);
  --shadow-md: 0 0 0 1px rgba(0, 0, 0, .06), 0 1px 1px -.5px rgba(0, 0, 0, .06), 0 3px 3px -1.5px rgba(0, 0, 0, .06), 0 6px 6px -3px rgba(0, 0, 0, .06), 0 12px 12px -6px rgba(0, 0, 0, .06), 0 24px 24px -12px rgba(0, 0, 0, .06);
  --shadow-lg: 0 2.8px 2.2px rgba(0, 0, 0, .034), 0 6.7px 5.3px rgba(0, 0, 0, .048), 0 12.5px 10px rgba(0, 0, 0, .06), 0 22.3px 17.9px rgba(0, 0, 0, .072), 0 41.8px 33.4px rgba(0, 0, 0, .086), 0 100px 80px rgba(0, 0, 0, .12);
  /* gradient borders: paint the surface on padding-box and the ramp on border-box, over a transparent 1px border */
  --edge: linear-gradient(160deg, rgba(239, 235, 228, .18), rgba(239, 235, 228, .04) 45%, rgba(211, 166, 115, .16));
  --edge-gold: linear-gradient(160deg, rgba(211, 166, 115, .6), rgba(211, 166, 115, .12) 50%, rgba(211, 166, 115, .4));
  --edge-light: linear-gradient(160deg, rgba(40, 36, 30, .22), rgba(40, 36, 30, .05) 45%, rgba(211, 166, 115, .34));
  --radius: 28px;
  --gutter: clamp(20px, 2.4vw, 32px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
iconify-icon { display: inline-block; width: 1em; height: 1em; vertical-align: -0.14em; }
a { color: inherit; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 500; }
ul { padding: 0; list-style: none; }
em { font-style: normal; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: 10px; text-decoration: none; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
.light :focus-visible { outline-color: var(--accent-deep); }   /* above 3:1 on ivory */

.wrap { width: min(1240px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { width: min(900px, 100%); }

.eyebrow { font: 500 11.5px/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-3); }
.dark .eyebrow, .hero .eyebrow { color: rgba(239, 235, 228, 0.6); }

/* the edition mark: the one label that says which version of the ebook is on sale */
.badge {
  /* same metrics as the eyebrow beside it, so the two labels read as one line of instrument type;
     the ring is a hairline catching light at two corners, not a filled chip */
  display: inline-flex; align-items: center; height: 28px; padding: 0 15px 1px; border-radius: 999px;
  font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.14em; white-space: nowrap;
  color: var(--accent-soft); border: 1px solid transparent;
  background: linear-gradient(rgba(211, 166, 115, .06), rgba(211, 166, 115, .015)) padding-box,
    linear-gradient(120deg, rgba(226, 196, 156, .5), rgba(211, 166, 115, .09) 46%, rgba(226, 196, 156, .34)) border-box;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 10px 28px; border: 0; border-radius: 999px;
  font: 500 16px/1.2 var(--sans); letter-spacing: -0.01em; text-align: center; text-wrap: balance; text-decoration: none; cursor: pointer;
  background: linear-gradient(180deg, #D3A673 0%, #B8875A 100%); color: #1A1208;
  box-shadow: var(--shadow-sm), 0 1px 0 rgba(255, 255, 255, .45) inset;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn iconify-icon { flex: none; font-size: 20px; }
.btn:active { transform: scale(.985); transition-duration: .1s; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md), 0 1px 0 rgba(255, 255, 255, .45) inset; }
}
/* shader face drawn by js/core/buttons.js: the canvas sits behind the label; no bronze glow under it (owner, 2026-10-13) */
.btn.has-fx { position: relative; isolation: isolate; overflow: hidden; background: var(--accent); }
.btn.has-fx { box-shadow: var(--shadow-sm), 0 1px 0 rgba(255, 255, 255, .45) inset; }
.btn.has-fx:hover { box-shadow: var(--shadow-md), 0 1px 0 rgba(255, 255, 255, .45) inset; }
.btn-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; border-radius: inherit; pointer-events: none; }
.cta-note { margin-top: 12px; font-size: 13.5px; color: var(--ink-3); }
.dark .cta-note, .hero .cta-note { color: rgba(239, 235, 228, 0.6); }

/* bronze bullets: the list voice of the site (DESIGN.md), used for every list on this page */
.dots li { position: relative; padding-left: 22px; }
.dots li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.dark .dots li::before, .hero .dots li::before { background: var(--accent-2); }
.dots b { font-weight: 500; color: var(--ink); }
.dark .dots b { color: var(--on-dark); }

/* ---------- top strip + hero (night navy: the brand ground) ---------- */
.strip { padding: 9px var(--gutter); text-align: center; font-size: 13.5px; line-height: 1.4; color: var(--accent-soft); background: var(--abyss); border-bottom: 1px solid rgba(239, 235, 228, .08); text-wrap: balance; }
.hero {
  position: relative; overflow: clip; color: var(--on-dark);
  padding: clamp(22px, 3vw, 36px) 0 clamp(64px, 9vw, 120px);
  background:
    radial-gradient(46% 52% at 76% 58%, rgba(211, 166, 115, .10), rgba(211, 166, 115, 0) 70%),
    radial-gradient(70% 80% at 74% 50%, rgba(14, 28, 64, .95), rgba(14, 28, 64, 0) 72%),
    var(--navy);
}
/* WebGL fluid (js/ebook-hero-bg.js) sits under the copy; the gradient above is what shows without it */
.hero-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.hero > .wrap { position: relative; z-index: 1; }
.hero-logo { width: 168px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(28px, 3.6vw, 52px); }
.hero-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.hero h1 { margin-top: 18px; max-width: 17em; font: 500 clamp(31px, 3.5vw, 50px)/1.08 var(--serif); letter-spacing: -0.018em; text-wrap: balance; }
.hero h1 em { color: var(--accent-2); }
.hero-sub { margin-top: 22px; font-size: 18px; color: rgba(246, 242, 235, .8); }
.hero .dots { margin-top: 12px; display: grid; gap: 7px; color: rgba(246, 242, 235, .92); }
.hero .btn { margin-top: 28px; }

/* ---------- mockups: the ebook as a CSS 3D box, its faces drawn by the SVG symbols at the top of the page ----------
   .mock is the size container, so every length below is in cqw and the three scenes scale with their column.
   .b3d is a box W x H x D centred on its own origin: --t turns it, --x / --y place its centre in the scene. */
.mock { container-type: inline-size; width: 100%; }
.scene { position: relative; aspect-ratio: 1 / 1; perspective: 230cqw; perspective-origin: 50% 42%; transform-style: preserve-3d; }
.b3d {
  --w: 48cqw; --h: calc(var(--w) * 1.5); --d: calc(var(--w) * .1);
  position: absolute; left: var(--x, 50%); top: var(--y, 50%); width: var(--w); height: var(--h);
  margin: calc(var(--h) / -2) 0 0 calc(var(--w) / -2);
  transform-style: preserve-3d; transform: var(--t);
}
.b3d .f { position: absolute; display: block; backface-visibility: hidden; }
.b3d .front { inset: 0; width: 100%; height: 100%; transform: translateZ(calc(var(--d) / 2)); background: var(--abyss); }
.b3d .back { inset: 0; width: 100%; height: 100%; transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); background: var(--abyss); }
.b3d .spine { left: calc(50% - var(--d) / 2); top: 0; width: var(--d); height: 100%; transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); }
/* the paper block sits a hair inside the boards, as in a hardcover */
.b3d .pages { left: calc(50% - var(--d) / 2); top: 1%; width: var(--d); height: 98%; transform: rotateY(90deg) translateZ(calc(var(--w) / 2 - .5cqw));
  background: repeating-linear-gradient(90deg, #EFE9DE 0 1px, #CBC3B4 1px 2px); }
.b3d .top, .b3d .bottom { left: 1%; top: calc(50% - var(--d) / 2); width: 98%; height: var(--d);
  background: repeating-linear-gradient(0deg, #EFE9DE 0 1px, #CBC3B4 1px 2px); }
.b3d .top { transform: rotateX(90deg) translateZ(calc(var(--h) / 2 - .5cqw)); }
.b3d .bottom { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2 - .5cqw)); }
/* standing books: the shadow lies on the floor plane under the bottom edge */
.b3d .shadow { position: absolute; left: 0; top: calc(50% - var(--d) / 2); width: 100%; height: var(--d);
  transform: rotateX(-90deg) translateZ(calc(var(--h) / 2 + .1cqw)); background: rgba(0, 0, 0, .7); box-shadow: 0 0 7cqw 4cqw rgba(0, 0, 0, .6); }

.phone { position: absolute; width: 25cqw; aspect-ratio: 9 / 18.6; padding: .9cqw; border-radius: 4cqw; background: #0B0B0D;
  box-shadow: inset 0 0 0 .22cqw #4A4A50, inset 0 0 0 .5cqw #111, 0 4cqw 7cqw -1cqw rgba(0, 0, 0, .75); }
.phone svg { display: block; width: 100%; height: 100%; border-radius: 3.1cqw; background: var(--navy); }
.phone::before { content: ""; position: absolute; z-index: 1; top: 1.7cqw; left: 50%; width: 7cqw; height: 1.5cqw; margin-left: -3.5cqw; border-radius: 1cqw; background: #0B0B0D; }

/* 01 · hero: the book stands turned to show its spine, the phone ahead of it */
.mock-hero .b3d { --w: 58cqw; --x: 39%; --y: 49%; --t: rotateX(-4deg) rotateY(27deg) rotateZ(-1.5deg); }
.mock-hero .phone { width: 28cqw; left: 63%; top: 30%; transform: translateZ(18cqw) rotateY(-17deg) rotateZ(4deg); }

/* 07 · sumário: the phone alone, turned a little, its screen the ebook's contents page */
.mock-sumario .scene { aspect-ratio: 9 / 19.4; perspective: 300cqw; }
.mock-sumario .phone { width: 92cqw; left: 4cqw; top: 2cqw; padding: 3.2cqw; border-radius: 14cqw; transform: rotateY(-11deg) rotateX(2deg);
  box-shadow: inset 0 0 0 .8cqw #4A4A50, inset 0 0 0 1.8cqw #111, var(--shadow-lg); }
.mock-sumario .phone svg { border-radius: 11cqw; background: #FAF8F4; }
.mock-sumario .phone::before { top: 5.5cqw; width: 26cqw; height: 5.5cqw; margin-left: -13cqw; border-radius: 3cqw; }

/* 06 · frente e verso, on ivory: softer shadows */
.mock-duo .scene { aspect-ratio: 1 / .86; }
.mock-duo .b3d { --w: 43cqw; --y: 49%; }
.mock-duo .is-verso { --x: 33%; --t: translateZ(-9cqw) rotateX(-3deg) rotateY(193deg); }
.mock-duo .is-frente { --x: 65%; --t: rotateX(-3deg) rotateY(22deg); }
.mock-duo .shadow { background: rgba(40, 36, 30, .5); box-shadow: 0 0 7cqw 4cqw rgba(40, 36, 30, .38); }

/* 09 · oferta: the book lies on the dark ground with the phone resting on it; the shadow is the plane under the back board */
.mock-flat .scene { aspect-ratio: 1 / .9; }
.mock-flat .b3d { --w: 60cqw; --y: 47%; --t: rotateX(47deg) rotateZ(-22deg); }
.mock-flat .shadow { inset: 0; width: 100%; height: 100%; transform: translateZ(calc(var(--d) / -2 - .2cqw)); background: rgba(0, 0, 0, .8); box-shadow: 0 0 6cqw 3cqw rgba(0, 0, 0, .7); }
.mock-flat .phone { width: 40%; left: 56%; top: 40%; transform: translateZ(calc(var(--d) / 2 + .8cqw)) rotateZ(24deg);
  box-shadow: inset 0 0 0 .22cqw #4A4A50, inset 0 0 0 .5cqw #111, 0 0 3cqw .4cqw rgba(0, 0, 0, .7); }

/* ---------- sections: ivory plates ruled by the 120px grid, graphite grounds plain ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 136px) 0; overflow: clip; }
.section.light {
  background-color: var(--ivory);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 120px 120px; background-position: center top;
}
.section.light::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 70% at 50% 50%, rgba(243, 240, 234, 0) 0%, rgba(243, 240, 234, .85) 100%); }
.section.light > * { position: relative; z-index: 1; }
.section.dark {
  color: var(--graphite-ink); background-color: var(--graphite);
  background-image: radial-gradient(90% 70% at 50% 0%, rgba(211, 166, 115, .08), rgba(211, 166, 115, 0) 60%);
}
.section.dark.navy { background-color: var(--navy); }

.head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.head.center { margin-inline: auto; text-align: center; }
.head h2, .h2 { font: 500 clamp(30px, 4vw, 54px)/1.08 var(--serif); letter-spacing: -0.015em; text-wrap: balance; }
.head .eyebrow + h2 { margin-top: 16px; }
h2 em { color: var(--accent-deep); }
.dark h2 em { color: var(--accent-2); }
.lead { margin-top: 20px; font-size: 18.5px; color: var(--ink-2); text-wrap: pretty; }
.dark .lead { color: var(--graphite-ink-2); }

/* a statement in the author's voice, set as thought (serif), not as a card */
.say { font: 400 clamp(22px, 2.5vw, 32px)/1.32 var(--serif); letter-spacing: -0.01em; color: var(--ink); text-wrap: pretty; }
.say-by { margin-top: 20px; font-size: 15px; color: var(--ink-3); }
.center .say-by { text-align: center; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.top { align-items: start; }
.items { display: grid; gap: 18px; font-size: 17.5px; color: var(--ink-2); }
.dark .items { color: var(--graphite-ink-2); }

/* 03 · para quem é: the peer's words beside the list */
.peer { padding-left: clamp(20px, 3vw, 36px); border-left: 1px solid rgba(211, 166, 115, .45); }
.peer blockquote { font: 400 clamp(20px, 2vw, 25px)/1.38 var(--serif); letter-spacing: -0.008em; color: var(--on-dark); }
.peer blockquote p + p { margin-top: 14px; }
.peer figcaption { display: flex; align-items: center; gap: 14px; margin-top: 26px; font-size: 15px; color: var(--graphite-ink-2); }
.peer figcaption img { width: 60px; height: 60px; border-radius: 50%; }
.peer figcaption b { display: block; font-weight: 500; color: var(--on-dark); }

/* 04 · autor */
.portrait { border-radius: var(--radius); overflow: hidden; border: 1px solid transparent; box-shadow: var(--shadow-lg);
  background: var(--ivory) padding-box, var(--edge-light) border-box; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.h3 { font: 500 clamp(22px, 2.2vw, 28px)/1.2 var(--serif); letter-spacing: -0.01em; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-top: 22px; }
.stats div { padding: 18px 0 20px; border-top: 1px solid var(--line-strong); }
.stats dt { font: 500 clamp(36px, 3.6vw, 46px)/1 var(--serif); letter-spacing: -0.02em; color: var(--ink); }
.stats dd { margin: 8px 0 0; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
dl { margin: 0; }
.author .items { margin-top: 6px; padding-top: 22px; border-top: 1px solid var(--line-strong); gap: 10px; font-size: 16.5px; }

/* 05 · alunos: three quiet glass cards under a centred head; the middle one carries the weight */
.voices-cta { margin-top: clamp(32px, 4vw, 48px); text-align: center; }
.voices-cta .btn { margin-top: 0; }
.voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.voice { display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 34px); border-radius: 22px; border: 1px solid transparent;
  background:
    linear-gradient(rgba(28, 29, 32, .55), rgba(28, 29, 32, .55)) padding-box,
    var(--edge) border-box;
  box-shadow: var(--shadow-md); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.voice.is-featured { background:
    linear-gradient(180deg, rgba(28, 29, 32, .95), rgba(19, 20, 22, .6)) padding-box,
    var(--edge-gold) border-box; }
@media (hover: hover) { .voice:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); } }
.voice-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.voice-mark { font: 400 56px/0.7 var(--serif); color: rgba(211, 166, 115, .45); }
.voice.is-featured .voice-mark { color: rgba(211, 166, 115, .7); }
.voice-face { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; object-fit: cover; border: 1px solid transparent;
  background: var(--graphite-2) padding-box, var(--edge) border-box; }
.voice-mono { font: 500 13px/1 var(--mono); letter-spacing: .1em; color: var(--accent-soft); }
.voice blockquote { flex: 1; font: 400 19px/1.45 var(--serif); color: var(--graphite-ink); }
.voice.is-featured blockquote { font-size: 21px; color: var(--on-dark); }
.voice figcaption { margin-top: 22px; font-size: 14.5px; }
.voice figcaption b { display: block; font-weight: 500; color: var(--accent-soft); }
.voice figcaption span { color: var(--graphite-ink-2); }

/* 06 · benefícios / 07 · conteúdo */
.shot.sumario { width: 100%; max-width: 300px; margin-inline: auto; }   /* explicit width: the size container inside has no intrinsic one */
.shot.phone { max-width: 300px; margin-inline: auto; }
.section .btn { margin-top: 36px; }
/* the curriculum reads as a syllabus: a numeral column (as the landing numbers its blocks),
   the subject in full ink, the detail a tone quieter */
.learn { counter-reset: step; display: grid; gap: 20px; font-size: 17.5px; color: var(--graphite-ink-2); }
/* the numeral is positioned, not a grid cell: the item's text must stay one running line box */
.learn li { position: relative; padding-left: 44px; text-wrap: pretty; }
.learn li::before { counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: .42em;
  font: 500 12px/1 var(--mono); letter-spacing: .1em; color: var(--accent-soft); opacity: .7; }
.learn b { font-weight: 500; color: var(--on-dark); }

/* 09 · oferta: the one framed block of the page */
.offer { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: clamp(24px, 4vw, 56px); border-radius: var(--radius); color: var(--on-dark);
  /* gradient border: the surface paints the padding box, the bronze ramp paints the border box */
  border: 1px solid transparent;
  background:
    radial-gradient(70% 90% at 22% 50%, rgba(14, 28, 64, .9), rgba(14, 28, 64, 0) 70%) padding-box,
    linear-gradient(var(--abyss), var(--abyss)) padding-box,
    linear-gradient(135deg, rgba(211, 166, 115, .75), rgba(211, 166, 115, .14) 32%, rgba(239, 235, 228, .08) 62%, rgba(211, 166, 115, .55)) border-box;
  box-shadow: var(--shadow-lg); }
.offer .h2 { margin-top: 14px; }
.offer .badge { margin-top: 18px; }
.price { margin-top: 26px; }
.price-was { font-size: 16px; color: var(--graphite-ink-2); }
.price-now { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin-top: 2px; }
.price-now strong { font: 500 clamp(60px, 7vw, 88px)/1 var(--serif); letter-spacing: -0.03em; color: var(--on-dark); }
.price-now span { font-size: 15px; color: var(--accent-soft); }
.offer-line { margin-top: 12px; max-width: 46ch; color: var(--graphite-ink-2); }
.offer .btn { margin-top: 26px; }

.guarantee { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: center; max-width: 860px; margin: clamp(36px, 5vw, 64px) auto 0; }
.seal { flex: none; width: 144px; height: 144px; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .55)); }
.guarantee h3 { font: 500 clamp(21px, 2vw, 26px)/1.2 var(--serif); letter-spacing: -0.01em; color: var(--on-dark); }
.guarantee p { margin-top: 8px; color: var(--graphite-ink-2); }

/* 10 · perguntas */
.faq-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-layout .head { margin-bottom: 0; }
/* one answer at a time: the <details> share a name, so the browser closes the open one itself */
.faq-list { border-bottom: 1px solid var(--line-strong); interpolate-size: allow-keywords; }
.faq-list details { border-top: 1px solid var(--line-strong); }
/* the answer slides open where ::details-content is supported; elsewhere it simply appears */
@media (prefers-reduced-motion: no-preference) {
  .faq-list details::details-content {
    block-size: 0; overflow: hidden;
    transition: block-size .45s var(--ease), content-visibility .45s var(--ease) allow-discrete;
  }
  .faq-list details[open]::details-content { block-size: auto; }
}
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; cursor: pointer; list-style: none;
  font: 500 clamp(19px, 1.7vw, 22px)/1.3 var(--serif); letter-spacing: -0.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary iconify-icon { flex: none; font-size: 26px; color: var(--accent-deep); transition: transform .45s var(--ease); }
.faq-list details[open] summary iconify-icon { transform: rotate(45deg); }
.faq-list details p { padding: 0 4px 26px; max-width: 600px; color: var(--ink-2); }

/* ---------- footer ---------- */
.footer { padding: 36px 0 40px; background: #0f1012; color: rgba(239, 235, 228, .6); font-size: 13.5px; }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 28px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.footer a, .footer button { display: inline-block; padding: 12px 0; font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(239, 235, 228, .25); text-underline-offset: 4px; }
@media (hover: hover) { .footer a:hover, .footer button:hover { color: var(--graphite-ink); } }

/* cookie strip drawn by js/consent.js (same dark strip as the landing) */
.cookie { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 20px;
  padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: rgba(19, 20, 22, .92); color: var(--graphite-ink); border-top: 1px solid rgba(239, 235, 228, .12);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.cookie p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--graphite-ink-2); }
.cookie a { color: var(--graphite-ink); text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 6px; flex: none; }
.cookie-actions button { height: 32px; padding: 0 14px; border-radius: 999px; font: 500 13px/1 var(--sans); cursor: pointer; border: 1px solid transparent; background: transparent; color: var(--graphite-ink-2); }
.cookie-actions button[data-v="denied"] { padding: 0 8px; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions button[data-v="granted"] { background: var(--graphite-ink); color: var(--graphite); }

/* ---------- narrow laptops and phones ---------- */
@media (max-width: 900px) {
  .voices { grid-template-columns: 1fr; gap: 16px; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-layout .head { margin-bottom: 8px; }
}
@media (max-width: 820px) {
  .hero-grid, .split, .offer { grid-template-columns: 1fr; }
  .hero-media { width: 100%; max-width: 440px; margin-inline: auto; }   /* explicit width: a size container has no intrinsic one */
  .hero { background:
    radial-gradient(90% 34% at 50% 86%, rgba(211, 166, 115, .10), rgba(211, 166, 115, 0) 70%),
    radial-gradient(120% 44% at 50% 84%, rgba(14, 28, 64, .95), rgba(14, 28, 64, 0) 72%),
    var(--navy); }
  .hero-logo { width: 140px; }
  .hero .btn, .offer .btn { width: 100%; }
  .section .btn { width: 100%; }
  .cta-note { text-align: center; }   /* the button runs the full width here, so the line under it is centred too */
  .split .shot, .split .portrait { order: -1; max-width: 460px; margin-inline: auto; width: 100%; }
  .split .shot.sumario { order: 2; max-width: 260px; }
  .offer-media { width: 100%; max-width: 400px; margin-inline: auto; }
  .offer { background:
    radial-gradient(110% 46% at 50% 18%, rgba(14, 28, 64, .9), rgba(14, 28, 64, 0) 70%) padding-box,
    linear-gradient(var(--abyss), var(--abyss)) padding-box,
    linear-gradient(135deg, rgba(211, 166, 115, .75), rgba(211, 166, 115, .14) 32%, rgba(239, 235, 228, .08) 62%, rgba(211, 166, 115, .55)) border-box; }
  .cookie { flex-direction: column; align-items: stretch; gap: 10px; text-align: center; }
  .cookie-actions { justify-content: center; }
}
@media (max-width: 520px) {
  body { font-size: 16.5px; }
  /* two lines on a phone: a wider measure (12px gutter) and a size tied to the viewport,
     so the sentence splits in two from 320px up instead of falling to three lines */
  .strip { padding-inline: 12px; font-size: clamp(10.5px, 3.3vw, 13.5px); }
  .stats { gap: 0 18px; }
  .guarantee { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer .wrap { flex-direction: column; align-items: center; text-align: center; }
  .footer nav { justify-content: center; }
}
/* short phones (in-app browsers leave about 390 x 664, the SE 320 x 568): the hero tightens up,
   keeping the written order — title, line, list, button */
@media (max-width: 820px) and (max-height: 720px) {
  .strip { padding-block: 7px; }
  .hero { padding-top: 16px; }
  .hero-logo { width: 120px; }
  .hero-grid { margin-top: 20px; }
  .hero h1 { margin-top: 12px; font-size: 28px; }
  .hero-sub { margin-top: 14px; font-size: 16px; }
  .hero .dots { gap: 4px; font-size: 15.5px; }
  .hero .btn { margin-top: 18px; min-height: 52px; }
}

/* ---------- motion lives in js/ebook-motion.js (GSAP); these spans are the masks for the word reveals ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 .03em .12em; margin: 0 -.03em -.12em; }
.w > span { display: inline-block; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq-list summary iconify-icon { transition: none; }
}
