/* =========================================================
   Natan Gonçalves — loja & landing pages
   Tokens -> base -> componentes -> seções -> páginas
   ========================================================= */
:root {
  --ink: #0f172a;
  --ink-2: #1e293b;
  --ink-3: #334155;
  --navy: #1e3a8a;
  --royal: #2563eb;
  --fire: #ff6b00;
  --fire-d: #ea580c;
  --fire-dd: #c2410c;
  --paper: #ffffff;
  --mist: #f8f9fa;
  --line: #e2e8f0;
  --muted: #64748b;
  --ok: #16a34a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.25);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, 0.45);
  --glow: 0 10px 34px -8px rgba(255, 107, 0, 0.65);
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --nav-h: 72px;
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--ink-3);
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  font-family: var(--font-body);
  color: var(--ink-3);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
a:hover { color: var(--royal); }
:focus-visible { outline: 3px solid var(--royal); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--fire); color: #fff; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.1; letter-spacing: 0.005em; }
.display { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; }
.serif-i { font-family: var(--font-serif); font-style: italic; font-weight: 500; }
.text-fire { color: var(--fire-d) !important; }
.text-muted-2 { color: var(--muted); }
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark p, .on-dark li { color: #cbd5e1; }
.visually-hidden-focusable:focus { z-index: 2000; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fire-d);
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.on-dark .eyebrow { color: var(--fire); }
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section-mist { background: var(--mist); }
.section-dark { background: var(--ink); color: #cbd5e1; overflow: hidden; }
.section-title { font-size: clamp(2rem, 4.2vw, 3.2rem); margin: 0.6rem 0 1rem; }
.section-lead { font-size: 1.125rem; max-width: 62ch; color: var(--muted); }
.on-dark .section-lead { color: #94a3b8; }

/* ---------- barra de simulação ---------- */
.sim-bar {
  background: #fef3c7; color: #78350f; font-size: 0.8rem; font-weight: 600; text-align: center;
  padding: 0.4rem 1rem; position: relative; line-height: 1.3;
}

/* ---------- botões ---------- */
.btn { font-weight: 700; border-radius: 999px; padding: 0.8rem 1.6rem; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s; }
.btn-lg { padding: 1rem 2.1rem; font-size: 1.05rem; }
.btn-fire {
  --bs-btn-color: #fff; --bs-btn-hover-color: #fff; --bs-btn-active-color: #fff;
  color: #fff; border: 0; position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, var(--fire-d) 0%, var(--fire-dd) 100%);
  box-shadow: var(--glow);
}
.btn-fire::after {
  content: ''; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%);
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transition: transform .7s ease;
}
.btn-fire:hover, .btn-fire:focus-visible { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(255, 107, 0, 0.8); }
.btn-fire:hover::after { transform: translateX(120%); }
.btn-fire:active { transform: translateY(0); }
.btn-fire[disabled], .btn-fire.disabled { opacity: .6; box-shadow: none; transform: none; }
.btn-ghost-light { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { color: var(--ink); background: #fff; border-color: #fff; transform: translateY(-2px); }
.btn-outline-ink { color: var(--ink); border: 1.5px solid var(--ink); background: transparent; }
.btn-outline-ink:hover { color: #fff; background: var(--ink); transform: translateY(-2px); }
.btn-navy { color: #fff; background: var(--navy); border: 0; }
.btn-navy:hover { color: #fff; background: var(--royal); transform: translateY(-2px); }

/* ---------- navegação ---------- */
.site-nav {
  position: relative; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-nav.is-solid, .nav-solid .site-nav {
  background: rgba(15, 23, 42, 0.92); backdrop-filter: blur(14px); box-shadow: 0 8px 30px -14px rgba(0, 0, 0, 0.6);
}
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: #fff; }
.brand:hover { color: #fff; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1; }
.brand-name small { display: block; font-family: var(--font-body); font-size: .6rem; font-weight: 600; letter-spacing: .22em; color: var(--fire); margin-top: 3px; }
.site-nav .nav-link { color: #e2e8f0; font-weight: 500; font-size: .95rem; padding: .5rem .9rem; position: relative; }
.site-nav .nav-link::after { content: ''; position: absolute; left: .9rem; right: .9rem; bottom: .15rem; height: 2px; background: var(--fire); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.site-nav .nav-link:hover, .site-nav .nav-link:focus-visible { color: #fff; }
.site-nav .nav-link:hover::after { transform: scaleX(1); }
.site-nav .navbar-toggler { border: 1px solid rgba(255,255,255,.3); color: #fff; padding: .45rem .65rem; }
.site-nav .navbar-toggler:focus { box-shadow: none; }
@media (max-width: 991.98px) {
  .site-nav { background: rgba(15, 23, 42, 0.96); }
  .site-nav .navbar-collapse { position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--ink); padding: 1rem 1.25rem 1.5rem; border-top: 1px solid rgba(255,255,255,.08); }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 4rem; background: var(--ink); overflow: hidden; isolation: isolate;
}
.mesh { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.mesh i { position: absolute; border-radius: 50%; opacity: .55; will-change: transform; }
.mesh i:nth-child(1) { width: 52vw; height: 52vw; background: radial-gradient(circle, var(--fire-d), transparent 65%); top: -18%; right: -10%; animation: drift1 22s ease-in-out infinite alternate; }
.mesh i:nth-child(2) { width: 58vw; height: 58vw; background: radial-gradient(circle, var(--navy), transparent 65%); bottom: -30%; left: -18%; animation: drift2 28s ease-in-out infinite alternate; opacity: .85; }
.mesh i:nth-child(3) { width: 34vw; height: 34vw; background: radial-gradient(circle, var(--royal), transparent 65%); top: 25%; left: 32%; animation: drift3 19s ease-in-out infinite alternate; opacity: .35; }
@keyframes drift1 { to { transform: translate(-12vw, 14vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(14vw, -10vh) scale(1.1); } }
@keyframes drift3 { to { transform: translate(-10vw, 12vh) scale(.85); } }
.hero::before { /* grade técnica sutil */
  content: ''; position: absolute; inset: 0; z-index: -2; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 140px; z-index: -1; background: linear-gradient(to top, var(--ink), transparent); }
.embers { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem; border-radius: 999px;
  background: rgba(255, 107, 0, .12); border: 1px solid rgba(255, 107, 0, .45); color: #fdba74;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fire); box-shadow: 0 0 0 0 rgba(255,107,0,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,107,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,107,0,0); } }
.hero h1 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; color: #fff; font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: .98; margin: 1.25rem 0 1.25rem; letter-spacing: .005em; }
.hero h1 em { font-style: normal; color: var(--fire); }
.hero .lead { color: #cbd5e1; font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 54ch; }
.trust-row { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 2rem; color: #94a3b8; font-size: .85rem; font-weight: 500; }
.trust-row span { display: inline-flex; align-items: center; gap: .45rem; }
.trust-row i { color: var(--fire); font-size: 1.05rem; }

.hero-visual { position: relative; max-width: 460px; margin-inline: auto; }
.photo-frame { position: relative; border-radius: 28px; padding: 3px; background: linear-gradient(150deg, rgba(255,107,0,.9), rgba(37,99,235,.7) 55%, rgba(255,255,255,.1)); box-shadow: var(--shadow-lg), 0 0 80px -20px rgba(255,107,0,.35); }
.photo-frame img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: 25px; }
.photo-frame::after { content: ''; position: absolute; inset: 3px; border-radius: 25px; background: linear-gradient(to top, rgba(15,23,42,.65), transparent 45%); pointer-events: none; }
.float-cover {
  position: absolute; z-index: 3; left: -7%; bottom: -7%; width: 42%; border-radius: 6px 10px 10px 6px;
  box-shadow: 0 30px 50px -12px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08), -6px 0 0 -2px rgba(0,0,0,.35) inset;
  transform: rotate(-6deg); animation: floaty 6s ease-in-out infinite; transition: transform .4s;
}
.float-cover:hover { transform: rotate(-2deg) scale(1.04); }
@keyframes floaty { 50% { translate: 0 -12px; } }
.name-tag {
  position: absolute; z-index: 3; right: -4%; top: 8%; padding: .65rem 1rem; border-radius: 14px;
  background: rgba(15,23,42,.72); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.12); color: #fff;
  font-size: .8rem; line-height: 1.3; box-shadow: var(--shadow);
}
.name-tag strong { display: block; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; }
.name-tag span { color: #fdba74; font-weight: 600; letter-spacing: .08em; font-size: .68rem; text-transform: uppercase; }
.scroll-hint { position: absolute; bottom: 1.4rem; left: 50%; translate: -50% 0; color: #94a3b8; font-size: 1.4rem; animation: bob 2s infinite; z-index: 2; }
@keyframes bob { 50% { translate: -50% 8px; } }

/* ---------- marquee ---------- */
.marquee { background: var(--fire-d); color: #fff; overflow: hidden; padding: .9rem 0; white-space: nowrap; border-block: 1px solid rgba(0,0,0,.15); }
.marquee-track { display: inline-flex; gap: 2.5rem; animation: marquee 32s linear infinite; padding-left: 2.5rem; }
.marquee span { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .16em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 2.5rem; }
.marquee span::after { content: '\2726'; font-size: .8rem; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sobre ---------- */
.about-photo { position: relative; max-width: 440px; }
.about-photo img { width: 100%; border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%; }
.about-photo::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--fire-d); border-radius: 24px; z-index: -1; opacity: .6; }
.pillar { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: var(--mist); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; height: 100%; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.pillar i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: #fff; font-size: 1.25rem; }
.pillar strong { display: block; color: var(--ink); line-height: 1.2; }
.pillar small { color: var(--muted); }
.pullquote { border-left: 4px solid var(--fire-d); padding: .4rem 0 .4rem 1.4rem; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.7rem); color: var(--ink); line-height: 1.4; }

/* ---------- cards de livros ---------- */
.book-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; position: relative; }
.book-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.book-card .cover-wrap { position: relative; padding: 2rem 2rem 1.2rem; background: radial-gradient(circle at 50% 35%, #e2e8f0, #f1f5f9 60%); display: grid; place-items: center; perspective: 900px; }
.book-card .cover-wrap img { width: 62%; border-radius: 3px 8px 8px 3px; box-shadow: 14px 22px 30px -10px rgba(15,23,42,.5), -3px 0 0 rgba(0,0,0,.2) inset; transform: rotateY(-14deg) rotateX(2deg); transition: transform .5s cubic-bezier(.2,.8,.2,1); transform-origin: left center; }
.book-card:hover .cover-wrap img { transform: rotateY(-4deg) rotateX(0) scale(1.04); }
.ribbon { position: absolute; z-index: 2; top: 14px; left: 14px; padding: .35rem .8rem; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--fire-dd); box-shadow: 0 6px 16px -4px rgba(194,65,12,.6); }
.ribbon.is-oferta { background: var(--ok); box-shadow: 0 6px 16px -4px rgba(22,163,74,.6); }
.ribbon.is-vendido { background: var(--navy); box-shadow: 0 6px 16px -4px rgba(30,58,138,.6); }
.book-card .body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.book-card h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.5rem; margin: 0; }
.book-card .sub { color: var(--muted); font-size: .95rem; margin: 0; }
.stars { color: #f59e0b; font-size: .95rem; letter-spacing: 1px; display: inline-flex; align-items: center; gap: .35rem; }
.stars small { color: var(--muted); letter-spacing: 0; }
.price { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; margin-top: auto; padding-top: .6rem; }
.price .now { font-family: var(--font-display); font-size: 2rem; color: var(--ink); font-weight: 600; }
.price .old { text-decoration: line-through; color: var(--muted); font-size: .95rem; }
.price .off { font-size: .75rem; font-weight: 800; color: #fff; background: var(--ok); border-radius: 6px; padding: .15rem .45rem; }
.soon-card { border: 2px dashed #cbd5e1; border-radius: var(--radius); display: grid; place-items: center; text-align: center; padding: 2rem; color: var(--muted); height: 100%; min-height: 320px; background: transparent; }
.soon-card i { font-size: 2.4rem; color: #94a3b8; }

/* ---------- brilhos de fundo ---------- */
.glow-orb { position: absolute; border-radius: 50%; opacity: .35; pointer-events: none; }

/* ---------- depoimentos ---------- */
.testimonial { max-width: 780px; margin-inline: auto; text-align: center; padding: 0 3rem 2.6rem; }
.testimonial .qmark { font-family: var(--font-serif); font-size: 5rem; line-height: .6; color: var(--fire-d); display: block; height: 2rem; }
.testimonial p { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.65rem); color: var(--ink); line-height: 1.5; }
.testimonial .who { margin-top: 1.2rem; }
.testimonial .who strong { color: var(--ink); display: block; }
.testimonial .who span { color: var(--muted); font-size: .9rem; }
.carousel-indicators [data-bs-target] { background-color: var(--fire-d); width: 10px; height: 10px; border-radius: 50%; border: 0; margin-inline: 5px; }
.carousel-control-prev-icon, .carousel-control-next-icon { filter: invert(1) brightness(.3); }


/* ---------- rodapé ---------- */
.site-footer { background: #0b1220; color: #94a3b8; padding: 4.5rem 0 2rem; font-size: .95rem; }
.site-footer h5 { color: #fff; font-family: var(--font-display); letter-spacing: .12em; text-transform: uppercase; font-size: 1rem; margin-bottom: 1.1rem; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: var(--fire); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.social a { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.07); transition: background .2s, transform .2s; margin-right: .5rem; }
.social a:hover { background: var(--fire-d); color: #fff; transform: translateY(-3px); }
.pay-badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.pay-badges span { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: #e2e8f0; font-size: .8rem; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 3rem; padding-top: 1.5rem; font-size: .82rem; }

/* =========================================================
   Página do livro (landing page)
   ========================================================= */
.lp-hero { min-height: auto; padding-top: calc(var(--nav-h) + 4rem); padding-bottom: 5rem; }
.lp-hero h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); margin-top: 1rem; }
.lp-hero .subtitle { font-family: var(--font-serif); font-style: italic; color: #fdba74; font-size: clamp(1.2rem, 2.4vw, 1.8rem); margin: 0 0 1.2rem; }
.buy-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(14px); border-radius: 22px; padding: 1.5rem; max-width: 480px; }
.buy-card .now { font-family: var(--font-display); font-size: 3rem; color: #fff; line-height: 1; }
.buy-card .old { color: #94a3b8; text-decoration: line-through; }
.buy-card .small-print { font-size: .82rem; color: #94a3b8; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid rgba(255,255,255,.25); border-radius: 999px; overflow: hidden; }
.qty button { width: 42px; height: 46px; background: transparent; border: 0; color: #fff; font-size: 1.2rem; }
.qty button:hover { background: rgba(255,255,255,.12); }
.qty output { min-width: 34px; text-align: center; color: #fff; font-weight: 700; }
.hero-book { max-width: 560px; margin-inline: auto; position: relative; }
.hero-book img { filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); animation: floaty 7s ease-in-out infinite; }
.guarantee { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; font-size: .82rem; color: #94a3b8; margin-top: 1.1rem; }
.guarantee span { display: inline-flex; align-items: center; gap: .4rem; }
.guarantee i { color: #4ade80; }

.question-block p { font-size: 1.15rem; }
.question-block .big { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 3.8rem); color: var(--ink); line-height: 1; }
.wrap-img { border-radius: 20px; box-shadow: var(--shadow-lg); }
.topic-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; height: 100%; transition: transform .3s, box-shadow .3s, border-color .3s; }
.topic-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--fire-d); }
.topic-card .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: linear-gradient(135deg, var(--navy), var(--royal)); margin-bottom: 1rem; }
.topic-card h3 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 700; }
.topic-card p { margin: 0; color: var(--muted); font-size: .97rem; }

/* leitor 3D */
.reader-stage {
  position: relative; border-radius: 28px; padding: clamp(1rem, 3vw, 2.4rem) clamp(.5rem, 2vw, 2rem) 1.6rem;
  background: radial-gradient(ellipse at 50% 30%, #2a3a63 0%, #172033 55%, #0b1220 100%);
  border: 1px solid rgba(255,255,255,.08); box-shadow: inset 0 0 120px rgba(0,0,0,.5), var(--shadow-lg);
  min-height: 420px;
}
.reader-stage:fullscreen { border-radius: 0; display: flex; flex-direction: column; justify-content: center; }
.reader-book { margin-inline: auto; width: 100%; display: flex; justify-content: center; min-height: 380px; }
.reader-book .stf__parent { margin-inline: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }
.reader-book .page-img { width: 100%; height: 100%; display: block; background: #fff; }
.reader-loading { position: absolute; inset: 0; z-index: 4; display: grid; place-content: center; text-align: center; gap: 1rem; color: #cbd5e1; background: inherit; border-radius: inherit; transition: opacity .4s; }
.reader-loading.is-done { opacity: 0; pointer-events: none; }
.reader-loading .progress { width: 240px; height: 6px; background: rgba(255,255,255,.12); margin-inline: auto; }
.reader-loading .progress-bar { background: var(--fire); }
.reader-controls { display: flex; align-items: center; justify-content: center; gap: .8rem; margin-top: 1.4rem; flex-wrap: wrap; }
.reader-controls .rbtn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; font-size: 1.15rem; transition: background .2s, transform .2s; }
.reader-controls .rbtn:hover:not(:disabled) { background: var(--fire-d); transform: scale(1.08); }
.reader-controls .rbtn:disabled { opacity: .35; }
.reader-controls .counter { min-width: 130px; text-align: center; color: #e2e8f0; font-weight: 600; font-variant-numeric: tabular-nums; }
.reader-note { text-align: center; color: #94a3b8; font-size: .85rem; margin: 1rem 0 0; }
.reader-cta { text-align: center; margin-top: 1.2rem; animation: fadeUp .5s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
.reader-fallback { text-align: center; color: #cbd5e1; padding: 3rem 1rem; }

/* sumário */
.toc-part { margin-bottom: 1.6rem; }
.toc-part h3 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fire-d); font-family: var(--font-body); font-weight: 800; margin-bottom: .6rem; }
.toc-list { list-style: none; margin: 0; padding: 0; }
.toc-list li { display: flex; align-items: baseline; gap: .6rem; padding: .7rem 0; border-bottom: 1px dashed #cbd5e1; color: var(--ink); font-weight: 500; }
.toc-list li span.t { flex: 0 1 auto; }
.toc-list li::after { content: ''; order: 2; flex: 1; }
.toc-list li .pg { order: 3; font-family: var(--font-display); color: var(--navy); font-size: 1.05rem; }
.toc-list li:hover { color: var(--navy); }

.audience li { display: flex; gap: .8rem; padding: .85rem 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.audience li i { color: var(--fire-d); font-size: 1.2rem; flex: none; }
.audience { list-style: none; padding: 0; margin: 0; }

.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.spec { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.1rem; }
.spec small { display: block; color: var(--muted); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.spec strong { color: var(--ink); font-size: 1.05rem; }

/* frete */
.ship-box { background: #fff; border-radius: 22px; padding: 1.8rem; box-shadow: var(--shadow-lg); color: var(--ink-3); }
.ship-box h3 { font-size: 1.4rem; font-family: var(--font-display); text-transform: uppercase; }
.cep-input { display: flex; gap: .6rem; }
.cep-input .form-control { border-radius: 12px; padding: .85rem 1rem; font-size: 1.05rem; letter-spacing: .06em; }
.ship-option { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; margin-top: .6rem; background: #fff; animation: fadeUp .35s both; }
.ship-option strong { color: var(--ink); display: block; }
.ship-option small { color: var(--muted); }
.ship-option .val { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); white-space: nowrap; }
.ship-option .free { color: var(--ok); }
.ship-note { font-size: .78rem; color: var(--muted); margin-top: .8rem; }

/* faq */
.accordion { --bs-accordion-border-radius: 14px; --bs-accordion-inner-border-radius: 13px; --bs-accordion-active-bg: #fff7ed; --bs-accordion-active-color: var(--ink); --bs-accordion-btn-focus-box-shadow: none; }
.accordion-item { border-radius: 14px !important; margin-bottom: .75rem; border: 1px solid var(--line) !important; overflow: hidden; }
.accordion-button { font-weight: 700; color: var(--ink); }

/* barra de compra fixa (mobile) */
.sticky-buy { position: fixed; z-index: 1030; left: 0; right: 0; bottom: 0; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); background: rgba(15,23,42,.96); backdrop-filter: blur(12px); border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; gap: .9rem; transform: translateY(110%); transition: transform .35s; }
.sticky-buy.is-visible { transform: translateY(0); }
.sticky-buy .p { color: #fff; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.sticky-buy .p small { display: block; font-family: var(--font-body); font-size: .68rem; color: #94a3b8; letter-spacing: .06em; }
.sticky-buy .btn { flex: 1; }
@media (min-width: 992px) { .sticky-buy { display: none; } }
@media (max-width: 991.98px) { body.has-sticky { padding-bottom: 76px; } }

/* =========================================================
   Checkout & pedido
   ========================================================= */
.page-simple { background: var(--mist); min-height: 100vh; padding-top: calc(var(--nav-h) + 2.2rem); padding-bottom: 4rem; }
.sim-bar-visible .page-simple { padding-top: calc(var(--nav-h) + 4.2rem); }
.co-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 1.9rem); margin-bottom: 1.2rem; box-shadow: var(--shadow-sm); }
.co-card h2 { font-size: 1.2rem; font-family: var(--font-body); font-weight: 800; display: flex; align-items: center; gap: .7rem; margin-bottom: 1.2rem; }
.co-card h2 .n { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.form-label { font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: .3rem; }
.form-control, .form-select { border-radius: 10px; padding: .72rem .9rem; border-color: #cbd5e1; }
.form-control:focus, .form-select:focus { border-color: var(--royal); box-shadow: 0 0 0 .22rem rgba(37, 99, 235, .18); }
.form-control.is-invalid { background-image: none; }
.opt { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; margin-bottom: .6rem; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; background: #fff; }
.opt:hover { border-color: #94a3b8; }
.opt:has(input:checked) { border-color: var(--fire-d); background: #fff7ed; box-shadow: 0 0 0 3px rgba(234, 88, 12, .12); }
.opt input { accent-color: var(--fire-d); width: 1.15rem; height: 1.15rem; flex: none; }
.opt .t { flex: 1; line-height: 1.3; }
.opt .t strong { color: var(--ink); display: block; }
.opt .t small { color: var(--muted); }
.opt .val { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); white-space: nowrap; }
.pay-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1.2rem; }
.pay-tab { text-align: center; padding: .9rem .5rem; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; color: var(--ink); cursor: pointer; transition: all .2s; }
.pay-tab i { display: block; font-size: 1.5rem; color: var(--navy); margin-bottom: .2rem; }
.pay-tab:has(input:checked) { border-color: var(--fire-d); background: #fff7ed; box-shadow: 0 0 0 3px rgba(234, 88, 12, .12); }
.pay-tab input { position: absolute; opacity: 0; pointer-events: none; }
.pay-tab:has(input:focus-visible) { outline: 3px solid var(--royal); outline-offset: 2px; }
.pay-pane { animation: fadeUp .3s both; }
.notice { display: flex; gap: .7rem; padding: .85rem 1rem; border-radius: 12px; background: #eff6ff; color: #1e3a8a; font-size: .88rem; }
.notice.warn { background: #fef3c7; color: #78350f; }
.notice i { flex: none; font-size: 1.1rem; }
.summary { position: sticky; top: calc(var(--nav-h) + 1rem); }
.sim-bar-visible .summary { top: calc(var(--nav-h) + 2.6rem); }
.sum-item { display: flex; gap: 1rem; align-items: center; }
.sum-item img { width: 64px; border-radius: 4px; box-shadow: var(--shadow-sm); }
.sum-row { display: flex; justify-content: space-between; padding: .45rem 0; }
.sum-row.total { border-top: 2px solid var(--ink); margin-top: .5rem; padding-top: .9rem; font-weight: 800; color: var(--ink); font-size: 1.25rem; }
.sum-row .disc { color: var(--ok); font-weight: 700; }
.secure-line { display: flex; align-items: center; gap: .5rem; justify-content: center; color: var(--muted); font-size: .8rem; margin-top: .9rem; }
.btn-block { width: 100%; }
.spinner-inline { width: 1rem; height: 1rem; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; display: inline-block; animation: spin .7s linear infinite; vertical-align: -2px; margin-right: .5rem; }
@keyframes spin { to { transform: rotate(360deg); } }

/* pedido */
.status-track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .4rem; margin: 1.5rem 0 .5rem; position: relative; }
.status-track .st { text-align: center; position: relative; font-size: .78rem; font-weight: 600; color: #94a3b8; }
.status-track .st i { display: grid; place-items: center; width: 42px; height: 42px; margin: 0 auto .5rem; border-radius: 50%; background: #e2e8f0; color: #64748b; font-size: 1.1rem; position: relative; z-index: 1; transition: all .4s; }
.status-track .st::before { content: ''; position: absolute; top: 20px; left: -50%; width: 100%; height: 3px; background: #e2e8f0; }
.status-track .st:first-child::before { display: none; }
.status-track .st.done { color: var(--ink); }
.status-track .st.done i { background: var(--ok); color: #fff; }
.status-track .st.done::before { background: var(--ok); }
.status-track .st.now i { background: var(--fire-d); color: #fff; box-shadow: 0 0 0 6px rgba(234,88,12,.18); }
@media (max-width: 575.98px) { .status-track .st { font-size: .62rem; line-height: 1.2; } .status-track .st i { width: 34px; height: 34px; } .status-track .st::before { top: 16px; } }
.pix-box { text-align: center; }
.qr-holder { display: inline-block; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.qr-holder canvas, .qr-holder img { display: block; }
.code-box { background: var(--mist); border: 1px dashed #94a3b8; border-radius: 10px; padding: .8rem 1rem; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .8rem; word-break: break-all; color: var(--ink); text-align: left; max-height: 110px; overflow: auto; }
.badge-pay { padding: .35rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.badge-pay.pending { background: #fef3c7; color: #92400e; }
.badge-pay.paid { background: #dcfce7; color: #166534; }
.badge-pay.cancel { background: #fee2e2; color: #991b1b; }

/* toasts */
.toast-wrap { position: fixed; z-index: 2000; right: 1rem; bottom: 1rem; display: grid; gap: .6rem; max-width: min(92vw, 380px); }
.toast-msg { background: var(--ink); color: #fff; padding: .85rem 1.1rem; border-radius: 12px; box-shadow: var(--shadow-lg); font-size: .92rem; animation: fadeUp .3s both; display: flex; gap: .6rem; align-items: flex-start; }
.toast-msg.err { background: #991b1b; }
.toast-msg.ok i { color: #4ade80; }

/* legal */
.legal h2 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.9rem; margin-top: 3rem; padding-top: 1rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { max-width: 72ch; }

.not-found { min-height: 100vh; display: grid; place-content: center; text-align: center; padding: 2rem; }
.not-found .big { font-family: var(--font-display); font-size: clamp(6rem, 22vw, 14rem); line-height: .9; color: var(--fire-d); }

/* ---------- animações de entrada (fallback sem JS) ---------- */
.no-js [data-aos] { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}
@media print {
  .site-nav, .sticky-buy, .site-footer, .sim-bar, .btn, .no-print { display: none !important; }
  .page-simple { padding-top: 0; background: #fff; }
  .co-card { box-shadow: none; break-inside: avoid; }
}


/* topo fixo = aviso de simulação + navegação */
.site-top { position: fixed; inset: 0 0 auto 0; z-index: 1040; }
.site-top.is-scrolled .sim-bar { display: none; }
.site-top.is-scrolled .site-nav { background: rgba(15, 23, 42, 0.92); backdrop-filter: blur(14px); box-shadow: 0 8px 30px -14px rgba(0, 0, 0, 0.6); }
.opt { flex-wrap: wrap; }
.opt .t { min-width: 0; }
html, body { overflow-x: clip; }
@media (max-width: 575.98px) { .sim-bar { font-size: .7rem; padding: .3rem .75rem; } }
.status-track .sm { display: none; }
@media (max-width: 575.98px) { .status-track .lg { display: none; } .status-track .sm { display: inline; } }

/* =========================================================
   Agendar pregação + WhatsApp
   ========================================================= */
.btn-wa { color: #fff; background: #128c4a; border: 0; box-shadow: 0 10px 28px -10px rgba(18, 140, 74, .8); }
.btn-wa:hover, .btn-wa:focus-visible { color: #fff; background: #0e7a40; transform: translateY(-2px); }
.agenda-points { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .9rem; }
.agenda-points li { display: flex; gap: .9rem; align-items: flex-start; color: #e2e8f0; }
.agenda-points i { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 107, 0, .16); color: var(--fire); font-size: 1.1rem; }
.agenda-card { background: #fff; border-radius: 24px; padding: clamp(1.4rem, 3.5vw, 2.4rem); box-shadow: var(--shadow-lg); color: var(--ink-3); }
.agenda-title { font-family: var(--font-display); text-transform: uppercase; font-size: 1.5rem; margin-bottom: 1.2rem; }
.agenda-done { text-align: center; padding: 1rem 0; animation: fadeUp .4s both; }
.agenda-done .agenda-title { margin-bottom: .6rem; }
.agenda-done-icon { width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: #dcfce7; color: #15803d; font-size: 2.2rem; }
.ag-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }


/* =========================================================
   Instagram
   ========================================================= */
.ig-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.2rem 2rem; margin-bottom: 1.4rem; }
.btn-ig { color: #fff; border: 0; background: linear-gradient(45deg, #c2410c 0%, #be123c 55%, #a21caf 100%); box-shadow: 0 10px 28px -10px rgba(220, 39, 67, .8); }
.btn-ig:hover, .btn-ig:focus-visible { color: #fff; transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 16px 36px -10px rgba(220, 39, 67, .9); }
.ig-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink-3); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.ig-card:hover, .ig-card:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--ink-3); }
.ig-media { position: relative; display: block; aspect-ratio: 1 / 1; background: #e2e8f0; overflow: hidden; }
.ig-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.ig-card:hover .ig-media img { transform: scale(1.05); }
.ig-badge { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(15, 23, 42, .7); color: #fff; }
.ig-body { display: flex; flex-direction: column; gap: .5rem; padding: 1rem 1.2rem 1.2rem; }
.ig-caption { color: var(--ink); font-weight: 500; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ig-meta { font-size: .82rem; color: var(--muted); display: inline-flex; align-items: center; gap: .35rem; }
.ig-meta i { color: #dc2743; }
.ig-placeholder .ig-media { display: grid; place-items: center; background: linear-gradient(135deg, #1e3a8a, #0f172a 60%, #7c2d12); }
.ig-placeholder .ig-media i { font-size: 3.4rem; color: #fff; opacity: .9; }
.ig-embed { overflow-x: auto; }
.ig-embed .instagram-media { min-width: 0 !important; width: 100% !important; max-width: 540px !important; margin: 0 auto !important; }
.ig-embed iframe { max-width: 100% !important; }
.ig-note { margin: 1.6rem 0 0; font-size: .8rem; color: var(--muted); text-align: center; }
/* embed ainda não carregado (ou bloqueado): mostra um cartão com o link em vez de texto solto */
.ig-embed .instagram-media:not(.instagram-media-rendered) { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 2.2rem 1.2rem; text-align: center; margin: 0; }
.ig-embed .instagram-media:not(.instagram-media-rendered) a { font-weight: 700; color: var(--navy); }

/* ajustes de revisão (celulares estreitos) */
@media (max-width: 575.98px) {
  .name-tag { right: 6px; top: 6%; }
  .float-cover { left: 0; }
  .hero-visual { max-width: 92%; }
}

/* formulário de agendamento em modal */
#agendar .agenda-points { max-width: 560px; margin-inline: auto; text-align: left; }
.agenda-modal { border: 0; border-radius: 24px; overflow: hidden; color: var(--ink-3); }
.agenda-modal .modal-header { border-bottom: 1px solid var(--line); padding: 1.1rem 1.5rem; }
.agenda-modal .modal-body { padding: 1.5rem; }
.agenda-modal .btn-close:focus-visible { outline: 3px solid var(--royal); outline-offset: 2px; }

/* =========================================================
   Capas de TODOS os livros lançados sobre a foto do autor
   ========================================================= */
.hero-covers { position: absolute; z-index: 3; left: -7%; bottom: -8%; width: 80%; display: flex; align-items: flex-end; pointer-events: none; animation: floaty 6s ease-in-out infinite; }
.hc { position: relative; display: block; flex: 0 0 auto; width: 54%; z-index: calc(10 - var(--i)); pointer-events: auto; transform-origin: 50% 100%;
  transform: rotate(calc(-7deg + var(--i) * 5deg)) translateY(calc(var(--i) * -6%)); filter: brightness(calc(1 - var(--i) * .07)); transition: transform .35s cubic-bezier(.2,.8,.2,1), filter .35s; }
.hc + .hc { margin-left: -13%; }
.hc img { display: block; width: 100%; height: auto; border-radius: 4px 9px 9px 4px; box-shadow: 0 26px 44px -12px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.08); }
.hc:hover, .hc:focus-visible { z-index: 20; filter: none; transform: rotate(-2deg) translateY(-12px) scale(1.05); }
.n2 .hc { width: 46%; } .n3 .hc { width: 40%; } .n4 .hc { width: 35%; } .n5 .hc { width: 31%; }
.hc-more { align-self: center; z-index: 1; margin-left: .6rem; pointer-events: auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(15,23,42,.8); border: 1px solid rgba(255,255,255,.2); color: #fff; font-weight: 700; text-decoration: none; backdrop-filter: blur(6px); }
.hc-more:hover { color: #fff; background: var(--fire-d); }
@media (max-width: 575.98px) { .hero-covers { left: 0; width: 88%; } }

/* capa em destaque com efeito de livro (seção "Folheie" e páginas sem imagem de capa aberta) */
.book3d { display: block; max-width: 300px; margin-inline: auto; perspective: 1000px; }
.book3d img { display: block; width: 100%; height: auto; border-radius: 4px 10px 10px 4px; transform: rotateY(-18deg) rotateX(3deg); transform-origin: left center;
  box-shadow: 24px 30px 50px -14px rgba(15,23,42,.65), -4px 0 0 rgba(255,255,255,.08) inset; transition: transform .5s cubic-bezier(.2,.8,.2,1); animation: floaty 7s ease-in-out infinite; }
.book3d:hover img { transform: rotateY(-6deg) rotateX(0) scale(1.03); }
@media (prefers-reduced-motion: reduce) { .hero-covers, .book3d img { animation: none; } }

/* =========================================================
   Autores, produtos e filtros
   ========================================================= */
.photo-ph { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 5; border-radius: 25px; background: linear-gradient(135deg, var(--navy), var(--ink) 60%, #7c2d12); color: rgba(255,255,255,.9); }
.photo-ph span { font-family: var(--font-display); font-size: clamp(3rem, 10vw, 5rem); letter-spacing: .06em; }
.author-hero { min-height: auto; padding-bottom: 4.5rem; }
.author-hero h1 { margin-top: 1rem; font-size: clamp(2.4rem, 6vw, 4.4rem); }
.author-hero .author-visual { max-width: 320px; }
.author-hero .author-visual .photo-frame img, .author-hero .author-visual .photo-ph { aspect-ratio: 4 / 5; }
.author-role { font-family: var(--font-serif); font-style: italic; color: #fdba74; font-size: clamp(1.1rem, 2.2vw, 1.5rem); margin: 0 0 1rem; }
.author-bio { white-space: pre-line; max-width: 64ch; }

.chip-filter { display: inline-flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; justify-content: center; }
.chip { border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .9rem; padding: .45rem 1.1rem; border-radius: 999px; transition: all .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.author-card { display: flex; align-items: center; gap: 1.1rem; padding: 1.1rem 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink-3); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; height: 100%; }
.author-card:hover, .author-card:focus-visible { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--ink-3); }
.author-photo { flex: none; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; box-shadow: var(--shadow-sm); }
.author-initials { display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--ink)); color: #fff; font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .05em; }
.author-info { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.3; }
.author-info strong { color: var(--ink); font-size: 1.08rem; }
.author-info small { color: var(--muted); }
.author-count { margin-top: .3rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fire-d); }
.author-card > i { color: var(--navy); font-size: 1.2rem; }

/* cartão de produto (imagem plana, sem a inclinação de capa de livro) */
.book-card.is-product .cover-wrap { background: #fff; padding: 1.2rem; }
.book-card.is-product .cover-wrap img { width: 100%; max-height: 300px; object-fit: contain; transform: none; box-shadow: none; border-radius: 10px; }
.book-card.is-product:hover .cover-wrap img { transform: scale(1.04); }
.kind-tag { align-self: flex-start; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); background: #e0e7ff; border-radius: 6px; padding: .15rem .5rem; }
.book-card .by { margin: 0; font-size: .85rem; color: var(--muted); }
.book-card .by a { color: var(--navy); font-weight: 600; text-decoration: none; }
.book-card .by a:hover { text-decoration: underline; }
.cover-ph { display: grid; place-items: center; width: 62%; aspect-ratio: 2 / 3; background: #e2e8f0; border-radius: 6px; color: #94a3b8; font-size: 2.4rem; }

/* seções vizinhas com a mesma cor ganham uma linha fina de separação */
.section:not(.section-mist):not(.section-dark) + .section:not(.section-mist):not(.section-dark),
.section-mist + .section-mist { border-top: 1px solid var(--line); }

/* =========================================================
   CELULAR: itens menores, páginas mais curtas e fluidas
   (último bloco do arquivo: vale por cima do restante)
   ========================================================= */
@media (max-width: 767.98px) {
  :root { --nav-h: 60px; }
  .section { padding: clamp(2.25rem, 9vw, 3.25rem) 0; }
  .section-title { font-size: clamp(1.6rem, 7.4vw, 2.1rem); margin: .35rem 0 .7rem; }
  .section-lead { font-size: 1rem; }
  .eyebrow { font-size: .7rem; letter-spacing: .14em; }
  .row.g-5 { --bs-gutter-x: 1.25rem; --bs-gutter-y: 1.75rem; }
  .row.g-4 { --bs-gutter-x: 1rem; --bs-gutter-y: 1.1rem; }
  .btn { padding: .68rem 1.2rem; }
  .btn-lg { padding: .8rem 1.35rem; font-size: 1rem; }

  /* animações de entrada mais curtas (menos "pulos" ao rolar) */
  [data-aos='fade-up'] { transform: translate3d(0, 22px, 0); }
  [data-aos='fade-right'] { transform: translate3d(-18px, 0, 0); }
  [data-aos='fade-left'] { transform: translate3d(18px, 0, 0); }
  [data-aos='zoom-in'] { transform: scale(.96); }

  /* topo */
  .site-nav .navbar-toggler { padding: .35rem .55rem; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-name { font-size: .98rem; letter-spacing: .06em; }
  .brand-name small { font-size: .52rem; letter-spacing: .18em; }
  .site-nav .navbar-collapse { max-height: calc(100svh - var(--nav-h)); overflow-y: auto; padding: .75rem 1rem 1.25rem; }
  .site-nav .nav-link { padding: .7rem .25rem; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,.07); }
  .site-nav .nav-link::after { display: none; }
  .sim-bar { font-size: .68rem; padding: .28rem .6rem; }

  /* hero da home: texto e botão primeiro, foto e capas depois */
  .hero { min-height: auto; padding: calc(var(--nav-h) + 1.1rem) 0 2.25rem; }
  .hero > .container > .row { --bs-gutter-y: 1.9rem; }
  .hero h1 { font-size: clamp(1.85rem, 9vw, 2.6rem); line-height: 1.03; margin: .8rem 0 .75rem; }
  .hero .lead { font-size: 1rem; line-height: 1.55; }
  .hero-badge { font-size: .68rem; padding: .35rem .8rem; letter-spacing: .1em; }
  .hero .d-flex.flex-wrap.gap-3 { gap: .6rem !important; margin-top: 1.1rem !important; }
  .hero .d-flex.flex-wrap.gap-3 .btn { flex: 1 1 100%; }
  .trust-row { margin-top: 1.1rem; gap: .3rem .9rem; font-size: .76rem; }
  .scroll-hint { display: none; }
  .hero-visual { max-width: 290px; margin-bottom: 2.4rem; }
  .photo-frame { border-radius: 22px; }
  .photo-frame img, .photo-ph { aspect-ratio: 5 / 6; border-radius: 19px; }
  .name-tag { padding: .45rem .7rem; right: 6px; top: 6%; }
  .name-tag strong { font-size: .88rem; }
  .name-tag span { font-size: .6rem; }
  .hero-covers { width: 92%; left: 0; bottom: -12%; }
  .mesh i:nth-child(3) { display: none; }
  .marquee { padding: .55rem 0; }
  .marquee span { font-size: .92rem; gap: 1.6rem; }
  .marquee-track { gap: 1.6rem; padding-left: 1.6rem; }

  /* sobre o autor */
  .about-photo { max-width: 230px; }
  .about-photo::before { inset: 10px -10px -10px 10px; }
  #sobre .row.g-3 > .col-sm-6 { width: 50%; }
  .pillar { padding: .7rem .75rem; gap: .55rem; flex-direction: column; align-items: flex-start; }
  .pillar i { width: 34px; height: 34px; font-size: 1.05rem; border-radius: 10px; }
  .pillar strong { font-size: .88rem; }
  .pillar small { font-size: .72rem; line-height: 1.3; }
  .pullquote { font-size: 1.15rem; padding-left: 1rem; }

  /* agendar pregação */
  .agenda-points { margin-top: 1.1rem; gap: .65rem; }
  .agenda-points i { width: 32px; height: 32px; font-size: .95rem; }
  #agendar .btn { flex: 1 1 100%; }
  .agenda-title { font-size: 1.25rem; }

  /* Instagram: carrossel horizontal em vez de uma lista comprida */
  .ig-head { gap: .9rem; margin-bottom: .6rem; }
  .ig-head .btn-ig { width: 100%; }
  #ig-grid { --bs-gutter-x: 0; --bs-gutter-y: 0; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; gap: .8rem;
    margin-inline: -.75rem; padding: .4rem .75rem 1rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  #ig-grid::-webkit-scrollbar { display: none; }
  #ig-grid > * { flex: 0 0 80%; max-width: 80%; width: 80%; padding: 0; scroll-snap-align: center; margin: 0; }

  /* autores */
  .author-card { padding: .85rem 1rem; gap: .85rem; }
  .author-photo { width: 58px; height: 58px; }

  /* rodapé */
  .site-footer { padding: 2.25rem 0 1.1rem; font-size: .9rem; }
  .site-footer .row.g-5 { --bs-gutter-y: 1.6rem; }
  .site-footer h5 { font-size: .92rem; margin-bottom: .7rem; }
  .site-footer ul { gap: .45rem; }
  .footer-bottom { margin-top: 1.4rem; padding-top: 1rem; font-size: .74rem; }
  .toast-wrap { right: .6rem; left: .6rem; bottom: .6rem; max-width: none; }

  /* autor (página própria) */
  .author-hero { padding-bottom: 2.25rem; }
  .author-hero .author-visual { max-width: 170px; margin-inline: 0; }
  .author-hero h1 { font-size: clamp(1.9rem, 9vw, 2.6rem); }
}

@media (max-width: 575.98px) {
  html { font-size: 15px; }

  /* vitrine: cartão na horizontal (capa à esquerda), bem mais curto */
  #books-grid > [class*='col'] { width: 100%; }
  .book-card { flex-direction: row; align-items: stretch; border-radius: 14px; }
  .book-card:hover { transform: none; }
  .book-card .cover-wrap { flex: 0 0 36%; padding: .9rem .5rem; display: grid; place-items: center; }
  .book-card .cover-wrap img { width: 100%; transform: rotateY(-10deg); }
  .book-card:hover .cover-wrap img { transform: rotateY(-4deg); }
  .book-card.is-product .cover-wrap { padding: .6rem; }
  .book-card.is-product .cover-wrap img { max-height: 150px; transform: none; }
  .book-card .body { padding: .85rem .95rem .95rem; gap: .25rem; min-width: 0; }
  .book-card h3 { font-size: 1.15rem; }
  .book-card .sub { font-size: .85rem; }
  .book-card .price { padding-top: .3rem; gap: .4rem; }
  .book-card .price .now { font-size: 1.45rem; }
  .book-card .btn { align-self: flex-start; padding: .45rem 1rem; font-size: .88rem; margin-top: .3rem !important; }
  .ribbon { top: 8px; left: 8px; font-size: .6rem; padding: .22rem .55rem; }
  .soon-card { min-height: 96px; padding: 1rem; }
  .soon-card i { font-size: 1.7rem; }

  /* página do livro/produto */
  .lp-hero { padding: calc(var(--nav-h) + 1rem) 0 2.25rem; }
  .lp-hero h1 { font-size: clamp(2rem, 10.5vw, 2.9rem); margin-top: .7rem; }
  .lp-hero .subtitle { font-size: 1.1rem; margin-bottom: .8rem; }
  .hero-book img { max-width: min(190px, 52%) !important; }
  .buy-card { padding: 1rem 1.05rem; border-radius: 18px; }
  .buy-card .now { font-size: 2.3rem; }
  .qty button { width: 38px; height: 42px; }
  .guarantee { margin-top: .8rem; font-size: .75rem; gap: .35rem .9rem; }
  .question-block .big { font-size: clamp(1.7rem, 8.4vw, 2.3rem); }
  .question-block p { font-size: 1rem; }
  .topic-card { display: grid; grid-template-columns: 42px 1fr; column-gap: .8rem; align-items: start; padding: .9rem 1rem; border-radius: 14px; }
  .topic-card:hover { transform: none; }
  .topic-card .ico { grid-row: 1 / 3; width: 42px; height: 42px; margin: 0; font-size: 1.15rem; border-radius: 12px; }
  .topic-card h3 { font-size: .98rem; margin: 0 0 .15rem; }
  .topic-card p { font-size: .88rem; line-height: 1.45; }
  #topics { --bs-gutter-y: .7rem; }
  .reader-stage { padding: .75rem .15rem .9rem; border-radius: 18px; min-height: 0; }
  .reader-book { min-height: 300px; }
  .reader-controls { gap: .5rem; margin-top: .9rem; }
  .reader-controls .rbtn { width: 40px; height: 40px; font-size: 1rem; }
  .reader-controls .counter { min-width: 0; flex: 1 1 100%; order: -1; text-align: center; font-size: .85rem; }
  .reader-note { font-size: .78rem; padding-inline: .6rem; }
  .toc-part { margin-bottom: 1.1rem; }
  .toc-list li { padding: .5rem 0; font-size: .92rem; gap: .5rem; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .spec { padding: .65rem .8rem; }
  .spec strong { font-size: .95rem; }
  .audience li { padding: .65rem 0; font-size: .95rem; }
  section[aria-labelledby='autor-title'] img, section[aria-labelledby='autor-title'] .photo-ph { max-width: 130px !important; border-radius: 18px !important; }
  section[aria-labelledby='autor-title'] .col-md-4 { text-align: center; }
  .ship-box { padding: 1.1rem; border-radius: 18px; }
  .ship-box h3 { font-size: 1.2rem; }
  .ship-option { padding: .7rem .85rem; }
  .accordion-button { padding: .9rem 1rem; font-size: .95rem; }
  .accordion-body { padding: .9rem 1rem; font-size: .93rem; }
  body.has-sticky { padding-bottom: 68px; }
  .sticky-buy { padding: .55rem .8rem calc(.55rem + env(safe-area-inset-bottom)); gap: .7rem; }
  .sticky-buy .p { font-size: 1.35rem; }

  /* checkout e pedido */
  .page-simple { padding-top: calc(var(--nav-h) + 1.1rem); padding-bottom: 2.5rem; }
  .sim-bar-visible .page-simple { padding-top: calc(var(--nav-h) + 2.6rem); }
  .page-simple h1.display { font-size: 1.6rem !important; margin-bottom: 1rem !important; }
  .co-card { padding: 1rem; border-radius: 14px; margin-bottom: .85rem; }
  .co-card h2 { font-size: 1.02rem; margin-bottom: .85rem; gap: .55rem; }
  .co-card h2 .n { width: 26px; height: 26px; font-size: .78rem; }
  .form-label { font-size: .82rem; }
  .form-control, .form-select { padding: .6rem .75rem; font-size: 1rem; }
  .opt { padding: .7rem .8rem; gap: .65rem; }
  .pay-tab { padding: .7rem .3rem; font-size: .88rem; }
  .pay-tab i { font-size: 1.3rem; }
  .summary, .sim-bar-visible .summary { position: static; }
  .sum-item img { width: 54px; }
  .sum-row.total { font-size: 1.15rem; }
  .qr-holder { padding: 10px; }
  .code-box { font-size: .74rem; }

  /* janelas (agendar pregação): tela cheia no celular */
  .agenda-modal { border-radius: 0; }
  .agenda-modal .modal-header { padding: .85rem 1rem; }
  .agenda-modal .modal-body { padding: 1rem; }
}

@media (max-width: 359.98px) {
  html { font-size: 14px; }
  .hero h1 { font-size: 1.75rem; }
  .hero-covers { width: 96%; }
}

/* sumário longo recolhido no celular */
.toc-toggle { display: none; }
@media (max-width: 767.98px) {
  .toc-clip { max-height: 330px; overflow: hidden; position: relative; }
  .toc-clip::after { content: ''; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(to top, #fff, rgba(255,255,255,0)); pointer-events: none; }
  .toc-clip.is-open { max-height: none; }
  .toc-clip.is-open::after { display: none; }
  .toc-toggle { display: inline-flex; margin-top: .8rem; }
}

/* celular: campos com 16 px (menos que isso o iPhone dá zoom ao tocar no campo) e títulos das políticas */
@media (max-width: 767.98px) {
  input.form-control, select.form-select, textarea.form-control, .form-control, .form-select { font-size: 16px !important; }
  .page-simple h1.display { font-size: 1.75rem !important; }
  .legal h2 { font-size: 1.4rem; margin-top: 2rem; }
  .legal p, .legal li { font-size: .96rem; }
}

/* links externos (Kindle / Amazon) na página do livro */
.alt-stores { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.14); }
.alt-title { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #94a3b8; margin-bottom: .55rem; }
.btn-store { color: #fff; background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.28); font-size: .92rem; padding: .55rem 1.1rem; }
.btn-store:hover, .btn-store:focus-visible { color: var(--ink); background: #fff; border-color: #fff; transform: translateY(-2px); }
