/* =========================================================
   EDITORA RECOMEÇOS — Folha de estilo principal
   Tokens da marca → ver Manual de Marca
   ========================================================= */
:root {
  /* Cores */
  --navy: #0B1F45;          /* Azul Recomeço */
  --navy-900: #061128;      /* Azul Noite */
  --navy-700: #16305F;
  --gold: #C9A04E;          /* Ouro Aurora */
  --gold-300: #E9CB8B;      /* Ouro Claro */
  --gold-100: #F6E7C4;
  --gold-text: #8A6624;     /* Ouro Profundo — texto pequeno sobre fundo claro */
  --dawn: #FFF3D6;          /* Luz do Amanhecer */
  --cream: #FBF6EC;         /* Pergaminho */
  --paper: #FFFDF8;
  --wood: #5B3218;          /* Madeira da Cruz */
  --ink: #1A2236;           /* Tinta */
  --ink-soft: #4A5368;
  --line: rgba(11, 31, 69, .12);
  --line-light: rgba(233, 203, 139, .22);

  --grad-gold: linear-gradient(135deg, #B58A3A 0%, #E9CB8B 45%, #C9A04E 70%, #9C7430 100%);

  /* Tipografia */
  --f-display: "Cormorant Garamond", "Times New Roman", serif;
  --f-caps: "Cinzel", "Trajan Pro", serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 18px;
  --radius-sm: 10px;
  --header-h: 92px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading, body.modal-open, body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
::selection { background: var(--gold-300); color: var(--navy-900); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(96px, 13vw, 170px) 0; position: relative; }

/* ---------- Tipos utilitários ---------- */
.eyebrow {
  font-family: var(--f-caps);
  font-size: 12.5px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--dark { color: var(--gold-text); }

.h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -.01em;
  color: var(--navy);
}
.h2 em, .hero__title em, .cta__title em { font-style: italic; font-weight: 500; color: var(--gold); }
.h2--light { color: var(--paper); }
.h2--light em { color: var(--gold-300); }

.fleur { display: inline-block; color: var(--gold); font-size: 22px; }
.fleur--light { color: var(--gold-300); }

.section-head { margin-bottom: clamp(48px, 7vw, 84px); display: flex; align-items: center; justify-content: space-between; }
.section-head--split { align-items: flex-end; gap: 40px; }
.section-head--split .h2 { margin-top: 0; }
.section-head__aside { max-width: 340px; color: var(--ink-soft); font-size: 15px; margin: 0; }
.section-head--center { flex-direction: column; text-align: center; max-width: 820px; margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.section-head__lead { color: var(--ink-soft); font-size: 18px; margin-top: 26px; max-width: 620px; }

/* ---------- Botões ---------- */
.btn {
  --bg: transparent;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 30px;
  border-radius: 999px;
  font-family: var(--f-body); font-weight: 600; font-size: 15px; letter-spacing: .02em;
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .4s;
  will-change: transform;
}
.btn span { position: relative; z-index: 2; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .6s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn--sm { height: 44px; padding: 0 22px; font-size: 14px; }
.btn--gold { background: var(--grad-gold); background-size: 200% 200%; color: var(--navy-900); box-shadow: 0 10px 30px -10px rgba(201, 160, 78, .7); }
.btn--gold::after { background: var(--paper); }
.btn--gold:hover { box-shadow: 0 18px 40px -12px rgba(201, 160, 78, .85); }
.btn--ghost { color: var(--paper); box-shadow: inset 0 0 0 1px rgba(255, 243, 214, .35); }
.btn--ghost::after { background: var(--paper); }
.btn--ghost:hover { color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--paper); box-shadow: 0 14px 36px -14px rgba(11, 31, 69, .7); }
.btn--navy::after { background: var(--gold); }
.btn--navy:hover { color: var(--navy-900); }

.link-arrow { font-size: 14px; font-weight: 600; color: var(--navy); display: inline-flex; gap: 8px; align-items: center; }
.link-arrow i { font-style: normal; transition: transform .4s var(--ease); }
.link-arrow:hover i { transform: translateX(5px); }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
@keyframes grow { to { width: 180px; } }

/* ---------- Barra de progresso & cursor ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 200; background: var(--grad-gold); transform-origin: 0 50%; transform: scaleX(0); }

.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 999; display: none; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor { opacity: 0; transition: opacity .4s; }
.cursor.is-active { opacity: 1; }
.cursor__dot { width: 6px; height: 6px; background: var(--gold); }
.cursor__ring { width: 38px; height: 38px; border: 1px solid rgba(201, 160, 78, .6); transition: width .35s var(--ease), height .35s var(--ease), background .35s, border-color .35s; }
.cursor.is-hover .cursor__ring { width: 70px; height: 70px; background: rgba(201, 160, 78, .12); border-color: rgba(201, 160, 78, .9); }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: linear-gradient(90deg, var(--navy-900) 0%, var(--navy) 55%, #12295A 100%);
  border-bottom: 1px solid rgba(233, 203, 139, .16);
  transition: box-shadow .5s, height .5s var(--ease), transform .6s var(--ease);
}
/* filete dourado no topo da barra */
.header::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 2;
  background: var(--grad-gold);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.header.is-scrolled { --header-h: 72px; box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .55); }
.header.is-hidden { transform: translateY(-100%); }

/* Logo nova (versão clara) direto sobre a barra azul */
.brand { position: relative; flex-shrink: 0; display: flex; align-items: center; margin-right: auto; }
.brand__logo {
  height: calc(var(--header-h) - 24px); width: auto;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .35));
  transition: height .5s var(--ease), transform .5s var(--ease);
}
.brand:hover .brand__logo { transform: scale(1.03); }

.nav { padding-right: 28px; border-right: 1px solid rgba(233, 203, 139, .2); }
.nav__list { display: flex; gap: 30px; }
.nav__link {
  position: relative; display: block; padding: 8px 0;
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 253, 248, .82); transition: color .3s;
}
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; border-radius: 2px; background: var(--grad-gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__link:hover, .nav__link.is-active { color: var(--gold-300); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.header__cta { gap: 9px; letter-spacing: .04em; }
.header__cta-icon { position: relative; z-index: 2; width: 18px; height: 18px; flex-shrink: 0; }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--paper); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
body.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
body.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

.menu-mobile {
  position: fixed; inset: 0; z-index: 90;
  background: var(--navy-900);
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: 100px var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 44px) 42px);
  transition: clip-path .9s var(--ease-in-out);
}
body.menu-open .menu-mobile { clip-path: circle(150% at calc(100% - 44px) 42px); }
.menu-mobile li { overflow: hidden; }
.menu-mobile li a { display: block; font-family: var(--f-display); font-size: 42px; color: var(--paper); line-height: 1.25; transform: translateY(100%); transition: transform .8s var(--ease); }
body.menu-open .menu-mobile li a { transform: none; }
body.menu-open .menu-mobile li:nth-child(2) a { transition-delay: .06s; }
body.menu-open .menu-mobile li:nth-child(3) a { transition-delay: .12s; }
body.menu-open .menu-mobile li:nth-child(4) a { transition-delay: .18s; }
body.menu-open .menu-mobile li:nth-child(5) a { transition-delay: .24s; }
.menu-mobile .btn { align-self: flex-start; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 100px;
  background:
    radial-gradient(120% 80% at 75% 20%, rgba(233, 203, 139, .16) 0%, transparent 55%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy) 60%, #13295A 100%);
  color: var(--paper);
  overflow: hidden;
}
.hero__particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero__sun {
  position: absolute; z-index: 0;
  width: 70vmax; height: 70vmax; right: -18vmax; top: -22vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 220, 150, .55) 0%, rgba(233, 180, 90, .22) 26%, rgba(201, 160, 78, .06) 50%, transparent 66%);
  animation: sunPulse 9s ease-in-out infinite alternate;
}
.hero__rays {
  position: absolute; z-index: 0; right: 4vw; top: -10vh; width: 80vmax; height: 80vmax;
  transform: translate(30%, -30%);
  background: repeating-conic-gradient(from 0deg, rgba(255, 236, 190, .07) 0deg 4deg, transparent 4deg 14deg);
  mask-image: radial-gradient(circle, #000 0%, transparent 60%);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 60%);
  animation: spin 120s linear infinite;
}
@keyframes sunPulse { from { transform: scale(1); opacity: .85; } to { transform: scale(1.08); opacity: 1; } }
@keyframes spin { to { transform: translate(30%, -30%) rotate(360deg); } }

.hero__path { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: .55; }
.hero__road { stroke-dasharray: 2000; stroke-dashoffset: 2000; filter: drop-shadow(0 0 8px rgba(233, 203, 139, .6)); }
.hero__road { stroke-dashoffset: 0; }

/* Sem animação de entrada: o hero já aparece no estado final */
.hero .reveal, .hero__title .w > span, .stack__book { transition: none !important; }

.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero__title {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(52px, 7.6vw, 112px);
  line-height: .98; letter-spacing: -.015em;
  margin-bottom: 30px;
}
.hero__title em { color: var(--gold-300); }
.hero__lead { font-size: clamp(17px, 1.4vw, 19px); color: rgba(255, 253, 248, .76); max-width: 470px; margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__books { position: relative; height: min(620px, 70vh); perspective: 1600px; }
.hero__stack { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1s var(--ease); }
.stack__book {
  position: absolute; width: min(250px, 19vw); top: 50%; left: 50%;
  border-radius: 3px 8px 8px 3px;
  box-shadow: 0 40px 70px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06);
  opacity: 0;
  transition: transform 1.4s var(--ease), opacity 1s var(--ease);
}
.stack__book--1 { transform: translate(-50%, -50%) translate(-115%, 14%) rotate(-14deg); }
.stack__book--2 { transform: translate(-50%, -50%) translate(-42%, -2%) rotate(-5deg); }
.stack__book--3 { transform: translate(-50%, -50%) translate(36%, -8%) rotate(5deg); }
.stack__book--4 { transform: translate(-50%, -50%) translate(102%, 10%) rotate(13deg); }
body.is-ready .stack__book { opacity: 1; }
body.is-ready .stack__book--1 { transform: translate(-50%, -50%) translate(-88%, 8%) rotate(-12deg); transition-delay: .55s; }
body.is-ready .stack__book--2 { transform: translate(-50%, -50%) translate(-30%, -6%) rotate(-4deg); transition-delay: .7s; }
body.is-ready .stack__book--3 { transform: translate(-50%, -50%) translate(28%, -2%) rotate(4deg); transition-delay: .85s; }
body.is-ready .stack__book--4 { transform: translate(-50%, -50%) translate(84%, 8%) rotate(11deg); transition-delay: 1s; z-index: 4; }
.stack__book--2 { z-index: 2; } .stack__book--3 { z-index: 3; }

.hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--f-caps); font-size: 10px; letter-spacing: .4em; color: rgba(255, 253, 248, .6); }
.hero__scroll i { width: 1px; height: 48px; background: linear-gradient(var(--gold-300), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--paper); animation: scrollLine 2s var(--ease-in-out) infinite; }
@keyframes scrollLine { to { top: 100%; } }

/* Divisão de palavras (animação de título) */
[data-split-words] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split-words] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); }
[data-split-words].is-in .w > span { transform: none; }

/* ---------- Marquee ---------- */
.marquee { background: var(--navy-900); color: var(--gold-300); overflow: hidden; padding: 26px 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.marquee__track { display: flex; width: max-content; gap: 46px; align-items: center; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--f-display); font-style: italic; font-size: clamp(28px, 3.4vw, 46px); color: var(--paper); white-space: nowrap; }
.marquee b { font-weight: 400; color: var(--gold); font-size: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- A Editora ---------- */
.about { background: var(--cream); }
.about::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(11, 31, 69, .06) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); pointer-events: none; }
.manifesto {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(30px, 3.8vw, 54px); line-height: 1.22;
  color: var(--navy); max-width: 1080px; margin-bottom: clamp(70px, 9vw, 120px);
  position: relative;
}
.manifesto .sw { opacity: .14; transition: opacity .4s linear; }
.manifesto .sw.on { opacity: 1; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.pillar {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 34px 36px; position: relative; overflow: hidden;
  transition: transform .7s var(--ease), box-shadow .7s var(--ease), border-color .5s;
}
.pillar::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--grad-gold); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.pillar:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(11, 31, 69, .35); border-color: transparent; }
.pillar:hover::before { transform: scaleX(1); }
.pillar__num { font-family: var(--f-caps); font-size: 13px; color: var(--gold-text); letter-spacing: .2em; }
.pillar h3 { font-family: var(--f-display); font-size: 32px; color: var(--navy); margin: 18px 0 12px; line-height: 1.1; }
.pillar p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }

.price, .price-tag, .whats-big__text, .step__dot, .pillar__num { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
/* ---------- Destaque ---------- */
.feature { position: relative; padding: clamp(100px, 12vw, 160px) 0; background: var(--navy-900); color: var(--paper); overflow: hidden; }
.feature__bg { position: absolute; inset: -20% 0; background: radial-gradient(60% 60% at 25% 50%, rgba(233, 203, 139, .2), transparent 70%), radial-gradient(40% 50% at 90% 10%, rgba(22, 48, 95, .9), transparent 70%); will-change: transform; }
.feature__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 8vw, 120px); align-items: center; }
.feature__cover { display: flex; justify-content: center; perspective: 1400px; }
.book3d { position: relative; width: min(400px, 80%); transform-style: preserve-3d; transition: transform .8s var(--ease); border-radius: 4px 10px 10px 4px; }
.book3d img { border-radius: inherit; box-shadow: 30px 50px 90px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .08); }
.book3d__spine { position: absolute; left: 0; top: 0; bottom: 0; width: 14px; border-radius: 4px 0 0 4px; background: linear-gradient(90deg, rgba(0, 0, 0, .35), rgba(255, 255, 255, .15) 45%, rgba(0, 0, 0, .1)); }
.book3d__shine, .book__shine { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .28), transparent 50%); opacity: 0; transition: opacity .5s; mix-blend-mode: soft-light; }
[data-tilt]:hover .book3d__shine, [data-tilt]:hover .book__shine { opacity: 1; }

.feature__title { font-family: var(--f-display); font-size: clamp(42px, 5vw, 70px); line-height: 1.02; color: var(--paper); }
.feature__author { font-family: var(--f-caps); letter-spacing: .2em; font-size: 13px; color: var(--gold-300); margin: 22px 0 34px; text-transform: uppercase; }
.feature__quote { margin: 0 0 26px; padding-left: 26px; border-left: 2px solid var(--gold); font-family: var(--f-display); font-style: italic; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.3; color: var(--gold-100); }
.feature__text { color: rgba(255, 253, 248, .74); max-width: 560px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 40px; }
.tags li { font-family: var(--f-caps); font-size: 11px; letter-spacing: .2em; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-light); color: var(--gold-300); }
.feature__buy { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }

.price { font-family: var(--f-display); font-weight: 600; font-size: 46px; line-height: 1; color: var(--gold-300); display: inline-flex; align-items: flex-start; gap: 5px; }
.price small { font-family: var(--f-body); font-size: 14px; font-weight: 600; margin-top: 7px; letter-spacing: .04em; }
.price--sm { font-size: 30px; color: var(--navy); }
.price--sm small { font-size: 12px; margin-top: 4px; }

/* ---------- Catálogo ---------- */
.catalog { background: linear-gradient(180deg, var(--cream), var(--paper)); }
.books { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(22px, 3vw, 40px); }
.book__btn { position: relative; display: block; width: 100%; perspective: 1000px; text-align: left; }
.book__cover {
  position: relative; aspect-ratio: 2 / 3; border-radius: 3px 8px 8px 3px; overflow: hidden;
  box-shadow: 0 24px 44px -22px rgba(11, 31, 69, .55), 0 2px 6px rgba(11, 31, 69, .12);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
  transform-style: preserve-3d; background: var(--navy);
}
.book__cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; z-index: 2; background: linear-gradient(90deg, rgba(0, 0, 0, .3), rgba(255, 255, 255, .14) 50%, transparent); }
.book__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.book__btn:hover .book__cover { box-shadow: 0 44px 70px -26px rgba(11, 31, 69, .6); }
.book__btn:hover .book__cover img { transform: scale(1.04); }
.book__badge { position: absolute; top: 14px; right: -8px; z-index: 3; font-family: var(--f-caps); font-size: 10.5px; letter-spacing: .18em; background: var(--grad-gold); color: var(--navy-900); padding: 7px 13px; border-radius: 4px; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .5); }
.book__badge--alt { background: var(--navy); color: var(--gold-300); }
.book__info { padding-top: 26px; }
.book__info h3 { font-family: var(--f-display); font-size: 25px; line-height: 1.12; color: var(--navy); min-height: 2.24em; }
.book__author { font-size: 13.5px; color: var(--ink-soft); margin: 8px 0 18px; }
.book__row { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); }

/* ---------- Público ---------- */
.audience { background: var(--navy); color: var(--paper); padding: clamp(90px, 11vw, 140px) 0; position: relative; overflow: hidden; }
.audience::after { content: "⚜"; position: absolute; right: -40px; bottom: -120px; font-size: 420px; color: rgba(233, 203, 139, .05); line-height: 1; pointer-events: none; }
.audience__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: center; position: relative; z-index: 1; }
.audience__list li { display: flex; gap: 20px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line-light); font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 253, 248, .88); }
.audience__list li:first-child { border-top: 1px solid var(--line-light); }
.check { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold); position: relative; }
.check::after { content: ""; position: absolute; left: 12px; top: 8px; width: 7px; height: 13px; border: solid var(--gold-300); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---------- Autor ---------- */
.author { background: var(--paper); }
.author__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 8vw, 120px); align-items: center; }
.author__frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: 240px 240px var(--radius) var(--radius);
  background: radial-gradient(80% 60% at 50% 15%, rgba(233, 203, 139, .55), transparent 70%), linear-gradient(180deg, var(--navy-700), var(--navy-900));
  display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 50px 90px -40px rgba(11, 31, 69, .6);
}
.author__frame::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(233, 203, 139, .35); border-radius: 230px 230px 10px 10px; }
.author__initials { font-family: var(--f-display); font-size: clamp(90px, 11vw, 150px); font-weight: 600; color: var(--paper); letter-spacing: .02em; position: relative; z-index: 1; }
.author__ring { position: absolute; width: 82%; animation: ringSpin 40s linear infinite; }
.author__ring text { font-family: var(--f-caps); font-size: 11.5px; letter-spacing: .3em; fill: var(--gold-300); }
@keyframes ringSpin { to { transform: rotate(360deg); } }
.author__role { font-family: var(--f-caps); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin: 22px 0 30px; }
.author__content > p:not(.eyebrow):not(.author__role) { color: var(--ink-soft); font-size: 17.5px; }
.author__quote { margin: 40px 0 0; font-family: var(--f-display); font-style: italic; font-size: clamp(28px, 3vw, 40px); color: var(--navy); line-height: 1.2; position: relative; padding-top: 30px; }
.author__quote::before { content: ""; position: absolute; top: 0; left: 0; width: 60px; height: 2px; background: var(--grad-gold); }

/* ---------- Publique ---------- */
.publish { background: var(--cream); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; counter-reset: s; }
.steps__line { position: absolute; top: 31px; left: 12.5%; width: 75%; height: 4px; overflow: visible; }
.steps__line line { stroke: var(--gold); stroke-width: 2; stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2.2s var(--ease); vector-effect: non-scaling-stroke; }
.steps.is-in .steps__line line { stroke-dashoffset: 0; }
.step { text-align: center; position: relative; }
.step__dot { width: 62px; height: 62px; margin: 0 auto 28px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--gold); font-family: var(--f-display); font-size: 26px; font-weight: 600; color: var(--navy); position: relative; z-index: 1; transition: background .5s, color .5s, transform .6s var(--ease); }
.step:hover .step__dot { background: var(--navy); color: var(--gold-300); transform: scale(1.08); }
.step h3 { font-family: var(--f-display); font-size: 27px; color: var(--navy); margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--ink-soft); max-width: 230px; margin: 0 auto; }
.publish__cta { text-align: center; margin-top: 70px; }

/* ---------- CTA ---------- */
.cta { position: relative; background: var(--navy-900); color: var(--paper); padding: clamp(110px, 14vw, 190px) 0; text-align: center; overflow: hidden; }
.cta__glow { position: absolute; left: 50%; bottom: -60%; width: 120vmax; height: 120vmax; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(233, 203, 139, .3) 0%, rgba(201, 160, 78, .1) 30%, transparent 55%); }
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta__title { font-family: var(--f-display); font-size: clamp(46px, 6.6vw, 96px); line-height: 1; margin: 24px 0 26px; }
.cta__title em { color: var(--gold-300); }
.cta__lead { color: rgba(255, 253, 248, .72); font-size: 18px; max-width: 520px; margin-bottom: 48px; }
.whats-big { display: inline-flex; align-items: center; gap: 22px; padding: 16px 40px 16px 16px; border-radius: 999px; background: rgba(255, 253, 248, .06); border: 1px solid var(--line-light); backdrop-filter: blur(6px); transition: background .5s, border-color .5s, transform .5s var(--ease); }
.whats-big:hover { background: rgba(255, 253, 248, .12); border-color: var(--gold); }
.whats-big__icon { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); animation: pulse 2.4s infinite; }
.whats-big__icon svg { width: 34px; height: 34px; }
.whats-big__text { text-align: left; font-family: var(--f-display); font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; line-height: 1.05; }
.whats-big__text small { display: block; font-family: var(--f-caps); font-size: 11px; letter-spacing: .3em; color: var(--gold-300); font-weight: 600; }
@keyframes pulse { 70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* ---------- Footer ---------- */
.footer { background: var(--paper); padding: 90px 0 30px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { width: 220px; height: auto; mix-blend-mode: multiply; }
.footer h4 { font-family: var(--f-caps); font-size: 12px; letter-spacing: .26em; color: var(--gold-text); margin-bottom: 20px; font-weight: 600; }
.footer__col li { margin-bottom: 11px; font-size: 15px; color: var(--ink-soft); }
.footer__col a, .footer__col button { transition: color .3s; text-align: left; }
.footer__col a:hover, .footer__col button:hover { color: var(--navy); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 70px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); }
.footer__bottom p { margin: 0; }
.footer__motto { font-family: var(--f-caps); letter-spacing: .2em; font-size: 11px; color: var(--gold-text); }

/* ---------- WhatsApp flutuante ---------- */
.whats-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); transform: scale(0); transition: transform .6s var(--ease); }
.whats-float.is-visible { transform: scale(1); }
.whats-float:hover { transform: scale(1.08); }
.whats-float svg { width: 30px; height: 30px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6, 17, 40, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .6s var(--ease); }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel {
  position: relative; width: min(1040px, 100%); max-height: calc(100svh - 40px); overflow: auto;
  background: var(--paper); border-radius: 22px; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(40px) scale(.97); clip-path: inset(10% 0 10% 0 round 22px);
  transition: opacity .6s var(--ease), transform .8s var(--ease), clip-path .9s var(--ease);
}
.modal.is-open .modal__panel { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 22px); }
.modal__close { position: absolute; top: 14px; right: 18px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; font-size: 28px; line-height: 1; color: var(--navy); background: var(--cream); transition: transform .5s var(--ease), background .3s; }
.modal__close:hover { transform: rotate(90deg); background: var(--gold-100); }
.modal__grid { display: grid; grid-template-columns: .8fr 1.2fr; }
.modal__cover { background: radial-gradient(80% 70% at 50% 30%, rgba(233, 203, 139, .45), transparent 70%), var(--navy-900); padding: 50px 40px; display: grid; place-items: center; }
.modal__cover img { width: 100%; max-width: 300px; border-radius: 3px 8px 8px 3px; box-shadow: 0 40px 60px -24px rgba(0, 0, 0, .8); }
.modal__body { padding: 54px 50px 44px; }
.modal__body h3 { font-family: var(--f-display); font-size: clamp(32px, 3.4vw, 46px); line-height: 1.05; color: var(--navy); }
.modal__author { font-size: 14px; color: var(--gold-text); font-weight: 600; margin: 14px 0 26px; letter-spacing: .02em; }
.modal__text p { color: var(--ink-soft); font-size: 16px; }
.modal__text strong { color: var(--navy); font-family: var(--f-display); font-size: 22px; font-weight: 600; line-height: 1.3; display: block; }
.modal__text em { font-family: var(--f-display); font-size: 20px; color: var(--navy); }
.modal__subtitle { display: block; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.modal__list li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.modal__list li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--gold); font-size: 12px; }
.modal__list--check li::before { content: "✔"; }
.modal__buy { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.modal__buy .price { color: var(--navy); }

/* ---------- Revelações ao rolar ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-clip > * { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease-in-out); }
.reveal-clip.is-in > * { clip-path: inset(-60% -60% -60% -60%); }

/* =========================================================
   SEÇÕES NOVAS — A Editora, Serviços, Diferencial,
   Nova capa, Catálogo com filtros e Próximos lançamentos
   ========================================================= */

/* ---------- A Editora ---------- */
.about__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 100px); align-items: center; margin-bottom: clamp(70px, 9vw, 110px); }
.about__text p { color: var(--ink-soft); font-size: 17.5px; }
.about__text strong { color: var(--navy); font-weight: 700; }
.about__lead { font-family: var(--f-display); font-size: clamp(24px, 2.2vw, 30px) !important; line-height: 1.35; color: var(--navy) !important; }
.about__lead strong { font-weight: 600 !important; color: var(--gold-text) !important; }
.mission__card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  padding: clamp(40px, 5vw, 60px) clamp(30px, 4vw, 50px);
  background: radial-gradient(90% 70% at 80% 0%, rgba(233, 203, 139, .28), transparent 60%), linear-gradient(160deg, var(--navy-700), var(--navy-900));
  color: var(--paper); box-shadow: 0 50px 90px -40px rgba(11, 31, 69, .65);
}
.mission__card::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(233, 203, 139, .3); border-radius: 12px; pointer-events: none; }
.mission__orn { display: block; color: var(--gold); font-size: 26px; margin-bottom: 18px; }
.mission__label { font-family: var(--f-caps); font-size: 12px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 18px; }
.mission__text { font-family: var(--f-display); font-style: italic; font-size: clamp(26px, 2.5vw, 34px); line-height: 1.28; margin-bottom: 28px; }
.mission__sign { font-family: var(--f-caps); font-size: 11px; letter-spacing: .3em; color: rgba(255, 253, 248, .55); text-transform: uppercase; }
.pillar__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--cream); border: 1px solid rgba(201, 160, 78, .45); transition: background .5s, transform .7s var(--ease); }
.pillar__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--gold-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .5s; }
.pillar:hover .pillar__icon { background: var(--navy); transform: rotate(-8deg) scale(1.05); }
.pillar:hover .pillar__icon svg { stroke: var(--gold-300); }

/* ---------- Serviços ---------- */
.services { position: relative; overflow: hidden; padding: clamp(100px, 12vw, 160px) 0; color: var(--paper); background: linear-gradient(180deg, var(--navy-900), #0A1A3C 60%, var(--navy-900)); }
.services__glow { position: absolute; left: -20%; top: 10%; width: 70vmax; height: 70vmax; border-radius: 50%; background: radial-gradient(circle, rgba(233, 203, 139, .16), transparent 60%); pointer-events: none; }
.services__aside { color: rgba(255, 253, 248, .66) !important; }

/* elementos das ilustrações */
.scene { opacity: 0; transform: translateY(18px) scale(.96); transform-origin: 200px 200px; transition: opacity .6s var(--ease), transform .9s var(--ease); }
.scene.is-active { opacity: 1; transform: none; }
.scene .ln { fill: none; stroke: var(--gold-300); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.scene .ln.faint { stroke: rgba(233, 203, 139, .35); stroke-width: 1.5; stroke-dasharray: .02 .02; stroke-dashoffset: 0; }
.scene.is-active .ln:not(.faint) { animation: drawLn 1.6s var(--ease) .15s forwards; }
.scene.is-active .lines .ln:nth-child(2) { animation-delay: .25s; } .scene.is-active .lines .ln:nth-child(3) { animation-delay: .35s; }
.scene.is-active .lines .ln:nth-child(4) { animation-delay: .45s; } .scene.is-active .lines .ln:nth-child(5) { animation-delay: .55s; }
.scene.is-active .lines .ln:nth-child(6) { animation-delay: .65s; }
@keyframes drawLn { to { stroke-dashoffset: 0; } }
.scene .paper { fill: #FFFDF8; opacity: .96; }
.scene .paper2 { fill: #F6E7C4; }
.scene .lines .ln, .scene [data-scene] .ln { stroke: #8A96AE; }
.scene[data-scene="1"] .ln, .scene[data-scene="4"] .ln { stroke: #A3ADC0; stroke-width: 6; }
.scene .mark { fill: none; stroke: #C0392B; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.scene .check { fill: none; stroke: #2E9E5B; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.scene.is-active .mark { animation: drawLn .8s var(--ease) 1s forwards; }
.scene.is-active .mark + .mark { animation-delay: 1.3s; }
.scene.is-active .check { animation: drawLn .8s var(--ease) 1.7s forwards; }
.scene .fill-gold { fill: url(#gGold); }
.scene .stroke-navy { stroke: var(--navy-900); stroke-width: 3; }
.scene .dot { fill: var(--gold); }
.scene .cover { fill: var(--navy-700); stroke: url(#gGold); stroke-width: 3; }
.scene .spine { fill: rgba(0, 0, 0, .35); }
.scene .device { fill: #0F1E40; stroke: url(#gGold); stroke-width: 3; }
.scene .screen { fill: #FFFDF8; }
.scene[data-scene="5"] .screen + .ln { stroke: #A3ADC0; stroke-width: 6; }
.scene .arrow { fill: none; stroke: var(--gold-300); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; }
.scene.is-active .arrow { animation: drawLn 1s var(--ease) .8s forwards; }
.scene .block { fill: rgba(233, 203, 139, .85); opacity: 0; transform: translateY(10px); transform-box: fill-box; }
.scene .block.b1, .scene .block.b7 { fill: rgba(22, 48, 95, .25); stroke: var(--gold); stroke-width: 1.5; }
.scene.is-active .block { animation: blockIn .6s var(--ease) forwards; }
.scene.is-active .b2 { animation-delay: .15s; } .scene.is-active .b3 { animation-delay: .25s; } .scene.is-active .b4 { animation-delay: .35s; }
.scene.is-active .b5 { animation-delay: .45s; } .scene.is-active .b6 { animation-delay: .55s; } .scene.is-active .b7 { animation-delay: .65s; } .scene.is-active .b8 { animation-delay: .8s; }
@keyframes blockIn { to { opacity: 1; transform: none; } }
.scene .sw { stroke: rgba(255, 253, 248, .6); stroke-width: 2; transform-box: fill-box; transform-origin: center; transform: scale(0); }
.scene .sw1 { fill: var(--navy); } .scene .sw2 { fill: var(--gold); } .scene .sw3 { fill: #F6E7C4; } .scene .sw4 { fill: #5B3218; }
.scene.is-active .sw { animation: pop .6s var(--ease) forwards; }
.scene.is-active .sw2 { animation-delay: .12s; } .scene.is-active .sw3 { animation-delay: .24s; } .scene.is-active .sw4 { animation-delay: .36s; }
@keyframes pop { to { transform: scale(1); } }
.scene .bars rect { fill: var(--navy-900); transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); }
.scene.is-active .bars rect { animation: barUp .5s var(--ease) forwards; }
.scene.is-active .bars rect:nth-child(odd) { animation-delay: .2s; } .scene.is-active .bars rect:nth-child(3n) { animation-delay: .35s; }
@keyframes barUp { to { transform: scaleY(1); } }
.scene .svg-label { font-family: var(--f-caps); font-size: 14px; letter-spacing: .2em; fill: var(--navy-900); text-anchor: middle; }
.scene .scan { stroke: #E74C3C; stroke-width: 2; opacity: 0; }
.scene.is-active .scan { animation: scan 2.4s ease-in-out 1s infinite; }
@keyframes scan { 0%, 100% { opacity: 0; transform: translateY(-24px); } 30%, 70% { opacity: .9; } 50% { transform: translateY(24px); } }
.scene .booklet { opacity: 0; transform: translate(-30px, 20px); }
.scene.is-active .booklet { animation: blockIn .8s var(--ease) forwards; }
.scene.is-active .b-2 { animation-delay: .15s; } .scene.is-active .b-1 { animation-delay: .3s; }
.scene .rays path { fill: rgba(233, 203, 139, .14); }
.scene.is-active .rays { animation: raysSpin 14s linear infinite; transform-origin: 200px 160px; }
@keyframes raysSpin { to { transform: rotate(360deg); } }
.scene .sparks path { fill: var(--gold-300); transform-box: fill-box; transform-origin: center; }
.scene.is-active .sparks path { animation: twinkle 1.8s ease-in-out infinite; }
.scene.is-active .sparks path:nth-child(2) { animation-delay: .4s; } .scene.is-active .sparks path:nth-child(3) { animation-delay: .8s; } .scene.is-active .sparks path:nth-child(4) { animation-delay: 1.2s; }
@keyframes twinkle { 0%, 100% { transform: scale(.4); opacity: .4; } 50% { transform: scale(1.1); opacity: 1; } }
.scene.is-active .float { animation: floatY 4s ease-in-out infinite; }
.scene.is-active .float-slow { animation: floatY 6s ease-in-out infinite; }
.scene.is-active .pulse { animation: pulseSun 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulseSun { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.12); opacity: 1; } }
.scene .d2, .scene .d3, .scene .d4 { opacity: 0; }
.scene.is-active .d2 { animation: fadeIn .4s .7s forwards; } .scene.is-active .d3 { animation: fadeIn .4s 1s forwards; } .scene.is-active .d4 { animation: fadeIn .4s 1.3s forwards; }
@keyframes fadeIn { to { opacity: 1; } }


/* ---------- Diferencial ---------- */
.differential { text-align: center; max-width: 980px; margin: 0 auto clamp(70px, 9vw, 110px); }
.differential .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.differential__quote { margin: 6px 0 28px; font-family: var(--f-display); font-weight: 500; font-size: clamp(34px, 4.4vw, 62px); line-height: 1.12; color: var(--navy); }
.differential__quote em { color: var(--gold-text); font-style: italic; }
.differential__text { font-size: 19px; color: var(--ink-soft); max-width: 600px; margin: 0 auto; }
.invite { margin-top: clamp(70px, 9vw, 110px); }
.invite__card {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  padding: clamp(40px, 5vw, 64px); border-radius: 26px;
  background: radial-gradient(60% 120% at 100% 0%, rgba(233, 203, 139, .35), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy-900));
  box-shadow: 0 50px 100px -50px rgba(11, 31, 69, .8);
}
.invite__card::after { content: "⚜"; position: absolute; right: 30px; bottom: -70px; font-size: 260px; line-height: 1; color: rgba(233, 203, 139, .07); pointer-events: none; }
.invite__text { max-width: 640px; position: relative; z-index: 1; }
.invite__text h3 { font-family: var(--f-display); font-size: clamp(30px, 3.2vw, 44px); line-height: 1.1; color: var(--paper); margin-bottom: 16px; }
.invite__text h3 em { color: var(--gold-300); }
.invite__text p { color: rgba(255, 253, 248, .74); margin: 0; font-size: 17px; }
.invite .btn { position: relative; z-index: 1; }

/* ---------- Antes e depois da capa ---------- */
.compare { --pos: 55%; position: relative; width: min(420px, 86%); aspect-ratio: 800 / 1105; border-radius: 4px 10px 10px 4px; overflow: hidden; box-shadow: 30px 50px 90px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .08); user-select: none; }
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__img--before { filter: sepia(.15); }
.compare__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--gold-300); box-shadow: 0 0 18px rgba(233, 203, 139, .8); pointer-events: none; }
.compare__handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-gold); color: var(--navy-900); font-weight: 700; font-size: 18px; letter-spacing: 2px; box-shadow: 0 10px 30px -6px rgba(0, 0, 0, .6); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare__tag { position: absolute; top: 14px; z-index: 2; font-family: var(--f-caps); font-size: 10px; letter-spacing: .18em; padding: 7px 11px; border-radius: 4px; pointer-events: none; }
.compare__tag--before { left: 14px; background: rgba(6, 17, 40, .8); color: var(--paper); }
.compare__tag--after { right: 14px; background: var(--grad-gold); color: var(--navy-900); }
.compare__hint { text-align: center; margin: 18px 0 0; font-size: 13px; color: rgba(255, 253, 248, .55); letter-spacing: .04em; }
.feature__cover { flex-direction: column; align-items: center; }
.feature__text strong { color: var(--gold-100); }
.link-arrow--light { color: var(--gold-300); font-size: 15px; }

/* ---------- Catálogo ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(40px, 5vw, 60px); }
.filter { padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; font-weight: 600; color: var(--ink-soft); transition: background .4s, color .4s, border-color .4s, transform .4s var(--ease); }
.filter:hover { border-color: var(--gold); color: var(--navy); transform: translateY(-2px); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: var(--gold-300); }
.filter:focus-visible, .book__btn:focus-visible, .launch__cover:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.book.is-hidden { display: none; }
.book.is-pop { animation: bookPop .7s var(--ease) both; animation-delay: calc(var(--pd, 0) * 70ms); }
@keyframes bookPop { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.book__kicker { font-family: var(--f-caps); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 8px; }
.book__info h3 { min-height: 0; }
.book__author { min-height: 2.9em; }
.price-tag { display: inline-flex; flex-direction: column; font-family: var(--f-display); font-weight: 600; font-size: 24px; line-height: 1; color: var(--navy); }
.price-tag small { font-family: var(--f-body); font-size: 11.5px; font-weight: 600; color: var(--gold-text); margin-top: 5px; letter-spacing: .02em; }

/* ---------- Próximos lançamentos ---------- */
.launches { position: relative; overflow: hidden; padding: clamp(100px, 12vw, 160px) 0; color: var(--paper); background: linear-gradient(180deg, var(--navy-900), var(--navy)); }
.launches__light { position: absolute; left: 50%; top: -30%; width: 110vmax; height: 110vmax; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 225, 160, .22), rgba(201, 160, 78, .06) 35%, transparent 60%); pointer-events: none; }
.launches__lead { color: rgba(255, 253, 248, .7) !important; }
.launches__grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 90px); max-width: 1040px; margin: 0 auto; }
.launch { display: flex; flex-direction: column; align-items: center; text-align: center; }
.launch__cover { position: relative; display: flex; justify-content: center; width: 100%; perspective: 1200px; padding: 20px 0; }
.launch__cover .book3d { width: min(300px, 78%); }
.launch__halo { position: absolute; inset: 10% 15%; border-radius: 50%; background: radial-gradient(circle, rgba(233, 203, 139, .45), transparent 65%); filter: blur(30px); animation: halo 5s ease-in-out infinite; }
@keyframes halo { 0%, 100% { opacity: .6; transform: scale(.95); } 50% { opacity: 1; transform: scale(1.05); } }
.launch__badge { position: absolute; top: 34px; right: calc(50% - min(150px, 39%) - 14px); z-index: 3; font-family: var(--f-caps); font-size: 11px; letter-spacing: .2em; padding: 9px 15px; border-radius: 4px; background: var(--grad-gold); color: var(--navy-900); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .6); }
.launch__info { margin-top: 26px; }
.launch__info h3 { font-family: var(--f-display); font-size: clamp(30px, 3vw, 40px); line-height: 1.05; color: var(--paper); }
.launch__author { color: var(--gold-300); font-size: 14.5px; margin: 12px auto 24px; max-width: 380px; }
.launch__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Quem somos ---------- */
.author__initials span { font-style: italic; font-weight: 500; color: var(--gold-300); margin: 0 .04em; font-size: .7em; }
.authors__label { font-family: var(--f-caps); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text) !important; margin: 34px 0 14px; }
.authors { display: flex; flex-wrap: wrap; gap: 10px; }
.authors li { padding: 9px 16px; border-radius: 999px; background: var(--cream); border: 1px solid rgba(201, 160, 78, .35); font-size: 14px; font-weight: 600; color: var(--navy); }

/* ---------- Janela do livro / rodapé ---------- */
.modal__cover { position: relative; }
.modal__original { position: absolute; right: 18px; bottom: 18px; margin: 0; width: 92px; text-align: center; }
.modal__original img { width: 100%; border-radius: 3px; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .8); transform: rotate(4deg); }
.modal__original figcaption { margin-top: 8px; font-size: 10.5px; color: rgba(255, 253, 248, .75); letter-spacing: .04em; }
.price__text { font-size: 34px; }
.price__note { display: block; font-family: var(--f-body); font-style: normal; font-size: 12px; font-weight: 600; color: var(--gold-text); margin-top: 6px; }
.modal__buy .price { flex-direction: column; }
.modal__note { display: block; padding: 14px 18px; border-radius: 10px; background: var(--cream); border: 1px solid rgba(201, 160, 78, .35); font-size: 14.5px; color: var(--navy); }
.footer__about { margin: 18px 0 0; font-size: 14px; color: var(--ink-soft); max-width: 260px; }

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .launches__grid { grid-template-columns: 1fr; }
  .invite__card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .filter { flex: none; }
  .book__author { min-height: 0; }
  .launch__badge { right: 8%; }
  .modal__original { width: 70px; right: 12px; bottom: 12px; }
}

/* ---------- Leque de livros no início (efeito baralho) ---------- */
.hero__fan { --w: clamp(120px, 11vw, 165px); --step: clamp(32px, 3.3vw, 52px); transform-style: flat; }
/* sem 3D no leque: assim o livro escolhido sempre fica na frente */
.hero__books:has(.hero__fan) { perspective: none; }
.fan__book {
  --o: calc(var(--i) - 3.5);
  position: absolute; left: 50%; top: 50%; width: var(--w); padding: 0; cursor: pointer;
  transform-origin: 50% 160%;
  transform: translate(-50%, -50%) translateX(calc(var(--o) * var(--step))) translateY(calc(var(--o) * var(--o) * 5px)) rotate(calc(var(--o) * 6deg));
  z-index: calc(10 - (var(--o) * var(--o)));
  transition: transform .45s var(--ease), filter .45s var(--ease);
}
/* a "carta" visível; o botão fica parado para o mouse não perder o livro */
.fan__card {
  position: relative; display: block; border-radius: 3px 7px 7px 3px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .06);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.fan__card img { width: 100%; border-radius: inherit; display: block; }
.fan__cta {
  position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 10px);
  white-space: nowrap; padding: 9px 16px; border-radius: 999px;
  background: var(--grad-gold); color: var(--navy-900);
  font-family: var(--f-body); font-size: 13px; font-weight: 700; letter-spacing: .02em;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .7);
  opacity: 0; transition: opacity .3s var(--ease), transform .4s var(--ease);
}
.fan__cta i { font-style: normal; margin-left: 4px; }
/* livro escolhido: vem para a frente, endireita e cresce.
   No computador: passar o mouse. No celular: tocar ou deslizar o dedo (classe .is-selected). */
.fan__book.is-selected, .fan__book:focus-visible { z-index: 40; outline: none; }
.fan__book.is-selected .fan__card, .fan__book:focus-visible .fan__card {
  transform: translateY(-42px) rotate(calc(var(--o) * -6deg)) scale(1.22);
  box-shadow: 0 50px 90px -24px rgba(0, 0, 0, .9), 0 0 0 2px rgba(233, 203, 139, .85), 0 0 50px rgba(233, 203, 139, .35);
}
.fan__book.is-selected .fan__cta, .fan__book:focus-visible .fan__cta { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.fan__cta { pointer-events: none; }
.hero__fan.has-selected .fan__book:not(.is-selected) { filter: brightness(.55) saturate(.8); }
@media (hover: hover) and (pointer: fine) {
  .fan__book:hover { z-index: 40; }
  .fan__book:hover .fan__card {
    transform: translateY(-42px) rotate(calc(var(--o) * -6deg)) scale(1.22);
    box-shadow: 0 50px 90px -24px rgba(0, 0, 0, .9), 0 0 0 2px rgba(233, 203, 139, .85), 0 0 50px rgba(233, 203, 139, .35);
  }
  .fan__book:hover .fan__cta { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
  .hero__fan:has(.fan__book:hover) .fan__book:not(:hover) { filter: brightness(.55) saturate(.8); }
}
/* celular: o dedo deslizando para os lados escolhe livros; para cima/baixo continua rolando a página */
@media (hover: none), (pointer: coarse) {
  .hero__fan { touch-action: pan-y; }
  .fan__cta { font-size: 10px; padding: 6px 10px; bottom: 8px; }
  .fan__book.is-selected .fan__card { transform: translateY(-34px) rotate(calc(var(--o) * -6deg)) scale(1.35); }
}
@media (max-width: 900px) { .hero__fan { --w: 120px; --step: 30px; } }
@media (max-width: 560px) { .hero__fan { --w: 84px; --step: 20px; } }

/* ---------- Serviços: vitrine interativa (área de destaque) ---------- */
.services { padding: clamp(100px, 12vw, 170px) 0; }
.services__glow--2 { left: auto; right: -25%; top: 45%; width: 60vmax; height: 60vmax; background: radial-gradient(circle, rgba(22, 48, 95, .9), transparent 60%); }
.showcase {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  border-radius: 32px; overflow: hidden;
  background: linear-gradient(150deg, rgba(22, 48, 95, .85), rgba(6, 17, 40, .95));
  border: 1px solid rgba(233, 203, 139, .28);
  box-shadow: 0 80px 140px -60px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.showcase::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(130deg, rgba(233, 203, 139, .7), transparent 35%, transparent 65%, rgba(233, 203, 139, .45)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 3; }
.showcase__stage {
  position: relative; min-height: 600px; overflow: hidden; touch-action: pan-y;
  background: radial-gradient(60% 55% at 50% 42%, rgba(233, 203, 139, .26), transparent 70%), linear-gradient(160deg, #183466, #0A1A3C);
  border-right: 1px solid rgba(233, 203, 139, .16);
}
.showcase__stage::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(233, 203, 139, .14) 1px, transparent 1px); background-size: 24px 24px; mask-image: radial-gradient(circle at 50% 45%, transparent 35%, #000 85%); -webkit-mask-image: radial-gradient(circle at 50% 45%, transparent 35%, #000 85%); pointer-events: none; }
.showcase__ring { position: absolute; left: 50%; top: 50%; width: 78%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px dashed rgba(233, 203, 139, .28); animation: ringTurn 50s linear infinite; }
.showcase__ring::after { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1px solid rgba(233, 203, 139, .1); }
@keyframes ringTurn { to { transform: translate(-50%, -50%) rotate(360deg); } }
.showcase .stage__svg { position: absolute; left: 4%; top: 4%; width: 92%; height: 92%; overflow: visible; z-index: 1; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }

/* transições mais rápidas */
.showcase .scene { transition: opacity .3s var(--ease), transform .45s var(--ease); transform: translateX(calc(var(--dir, 1) * 40px)) scale(.94); }
.showcase .scene.is-active { transform: none; }
.showcase .scene.is-active .ln:not(.faint) { animation-duration: .8s; animation-delay: .05s; }
.showcase .scene.is-active .lines .ln:nth-child(n) { animation-duration: .6s; }
.showcase .scene.is-active .mark { animation-delay: .5s; } .showcase .scene.is-active .mark + .mark { animation-delay: .65s; }
.showcase .scene.is-active .check { animation-delay: .8s; }
.showcase .scene.is-active .block, .showcase .scene.is-active .booklet { animation-duration: .4s; }
.showcase .scene.is-active .arrow { animation-delay: .35s; }

.showcase__info { position: relative; z-index: 2; display: flex; flex-direction: column; padding: clamp(32px, 4vw, 56px); }
.showcase__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.showcase__count { font-family: var(--f-display); color: rgba(255, 253, 248, .45); font-size: 22px; font-variant-numeric: lining-nums; }
.showcase__num { font-size: 64px; line-height: 1; font-weight: 600; color: var(--gold-300); display: inline-block; min-width: 1.2em; }
.showcase__arrows { display: flex; gap: 10px; }
.showcase__arrow { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(233, 203, 139, .5); color: var(--gold-300); transition: background .3s, color .3s, transform .3s var(--ease), box-shadow .3s; }
.showcase__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.showcase__arrow:hover { background: var(--grad-gold); color: var(--navy-900); border-color: transparent; transform: scale(1.08); box-shadow: 0 12px 30px -10px rgba(233, 203, 139, .7); }
.showcase__arrow:active { transform: scale(.95); }
.showcase__arrow:focus-visible, .svc-tab:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; }
.showcase__panels { display: grid; flex: 1; margin: 34px 0 30px; }
.svc-panel { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateX(calc(var(--dir, 1) * 30px)); transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s .3s; }
.svc-panel.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease) .05s, transform .5s var(--ease) .05s, visibility 0s; }
.svc-panel h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(32px, 3.2vw, 46px); line-height: 1.05; color: var(--paper); margin-bottom: 18px; }
.svc-panel p { color: rgba(255, 253, 248, .76); font-size: 17px; margin-bottom: 24px; }
.svc-panel__points li { position: relative; padding: 11px 0 11px 34px; border-top: 1px solid rgba(233, 203, 139, .14); color: var(--gold-100); font-size: 15.5px; }
.svc-panel__points li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--grad-gold); }
.svc-panel__points li::after { content: ""; position: absolute; left: 8px; top: 50%; width: 5px; height: 9px; margin-top: -6px; border: solid var(--navy-900); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.showcase__bottom { display: flex; align-items: center; gap: 22px; }
.showcase__progress { flex: 1; height: 2px; background: rgba(233, 203, 139, .18); border-radius: 2px; overflow: hidden; }
.showcase__progress i { display: block; height: 100%; width: 100%; background: var(--grad-gold); transform-origin: left; transform: scaleX(0); }
.showcase__progress.is-running i { animation: progress var(--autoplay, 7s) linear forwards; }
.showcase.is-paused .showcase__progress i { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }

.svc-tabs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.svc-tab {
  position: relative; overflow: hidden; text-align: left; padding: 16px 14px 18px; border-radius: 14px;
  background: rgba(255, 253, 248, .04); border: 1px solid rgba(233, 203, 139, .16);
  transition: background .3s, border-color .3s, transform .35s var(--ease);
}
.svc-tab:hover { transform: translateY(-4px); border-color: rgba(233, 203, 139, .5); background: rgba(255, 253, 248, .08); }
.svc-tab__num { display: block; font-family: var(--f-display); font-size: 24px; font-weight: 600; line-height: 1; color: var(--gold); font-variant-numeric: lining-nums; margin-bottom: 8px; transition: color .3s; }
.svc-tab__name { display: block; font-size: 13px; font-weight: 600; line-height: 1.3; color: rgba(255, 253, 248, .78); transition: color .3s; }
.svc-tab__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--grad-gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.svc-tab.is-active { background: linear-gradient(160deg, rgba(233, 203, 139, .22), rgba(233, 203, 139, .06)); border-color: rgba(233, 203, 139, .6); }
.svc-tab.is-active .svc-tab__num { color: var(--gold-300); }
.svc-tab.is-active .svc-tab__name { color: var(--paper); }
.svc-tab.is-active .svc-tab__bar { transform: scaleX(1); }

@media (max-width: 1080px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase__stage { min-height: 0; aspect-ratio: 4 / 3; border-right: 0; border-bottom: 1px solid rgba(233, 203, 139, .16); }
  .svc-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .showcase { border-radius: 22px; }
  .showcase__stage { aspect-ratio: 1; }
  .showcase__num { font-size: 48px; }
  .showcase__arrow { width: 48px; height: 48px; }
  .showcase__bottom { flex-direction: column; align-items: stretch; }
  .showcase__cta { width: 100%; }
  .svc-tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .svc-tab { flex: 0 0 132px; scroll-snap-align: start; }
}

/* ---------- Quem somos (só texto) ---------- */
.author__grid--text { grid-template-columns: 1fr 1fr; align-items: start; }
.author__intro { font-size: 18px; color: var(--ink-soft); }
@media (max-width: 900px) { .author__grid--text { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .books { grid-template-columns: repeat(2, 1fr); row-gap: 60px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__books { height: 380px; order: -1; margin-top: 10px; }
  .stack__book { width: 160px; }
  .hero { padding-top: calc(var(--header-h) + 10px); }
  .hero__path, .hero__scroll { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .feature__grid, .audience__grid, .author__grid { grid-template-columns: 1fr; }
  .author__visual { max-width: 380px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .steps__line { display: none; }
  .section-head--split { flex-direction: column; align-items: flex-start; }
  .modal__grid { grid-template-columns: 1fr; }
  .modal__cover { padding: 40px 30px 30px; }
  .modal__cover img { max-width: 200px; }
  .modal__body { padding: 34px 26px 30px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero__title { font-size: 50px; }
  .hero__books { height: 300px; }
  .stack__book { width: 120px; }
  .hero__actions .btn { width: 100%; }
  .header { --header-h: 78px; }
  .brand__logo { height: 54px; }
  .books { grid-template-columns: 1fr 1fr; gap: 18px; row-gap: 46px; }
  .book__info h3 { font-size: 20px; }
  .book__row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .whats-big { padding-right: 26px; gap: 14px; }
  .whats-big__icon { width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .reveal, .reveal-clip > * { opacity: 1; transform: none; clip-path: none; }
}
