/* ==========================================================================
   Assad Emergência — estilos
   ========================================================================== */

:root {
  --bg: #121820;
  --bg-2: #171f29;
  --bg-3: #1d2733;
  --text: #F5F5F2;
  --muted: rgba(245, 245, 242, 0.66);
  --faint: rgba(245, 245, 242, 0.42);
  --line: rgba(245, 245, 242, 0.10);
  --line-strong: rgba(245, 245, 242, 0.18);
  --amber: #E5AC45;
  --amber-soft: rgba(229, 172, 69, 0.12);
  --danger: #ef8a7a;

  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1160px;
  --gutter: 20px;
  --radius: 14px;
  --header-h: 64px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 72px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.02em; }
::selection { background: var(--amber); color: var(--bg); }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--amber); color: var(--bg); padding: 8px 14px; border-radius: 8px;
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.1rem;
}

.section-title {
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: 0 1.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: var(--bg); }
.btn-primary:hover { background: #efbd60; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-sm { min-height: 40px; padding: 0 1.1rem; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--amber); font-weight: 600; text-decoration: none;
}
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(18, 24, 32, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand-name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.02rem;
  letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
}
.brand-name span { font-weight: 500; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) {
  font-size: .9rem; font-weight: 500; color: var(--muted); text-decoration: none;
  transition: color .2s;
}
.nav a:not(.btn):hover { color: var(--text); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem var(--gutter) 1.5rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(0, 0, 0, .35);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; color: var(--text); }
  .nav-cta { margin-top: 1.25rem; min-height: 52px; font-size: .95rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 860px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 56px) 0 120px;
  overflow: hidden;
  isolation: isolate;
}
/* papel milimetrado de ECG, bem discreto */
.hero-grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(229,172,69,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229,172,69,.06) 1px, transparent 1px),
    linear-gradient(rgba(245,245,242,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,245,242,.025) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
}
.hero-inner { max-width: var(--container); }

.hero-title {
  font-size: clamp(2.25rem, 1.3rem + 4.6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 15ch;
  margin-bottom: 1.75rem;
}
.hero-title em {
  display: block;
  margin-top: .35em;
  font-style: normal;
  font-weight: 600;
  font-size: 0.52em;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--amber);
  max-width: 24ch;
}
.hero-lead {
  font-size: clamp(1.02rem, .95rem + .35vw, 1.18rem);
  color: var(--muted);
  max-width: 54ch;
  margin-bottom: 2.25rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero-trace {
  position: absolute; left: 0; right: 0; bottom: 24px;
  width: 100%; height: 90px;
  pointer-events: none;
}
.hero-trace path {
  fill: none; stroke: var(--amber); stroke-width: 1.5; stroke-opacity: .55;
  stroke-linejoin: round; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 2000; stroke-dashoffset: 2000;
  animation: trace 2.6s .5s var(--ease) forwards;
}
@keyframes trace { to { stroke-dashoffset: 0; } }

@media (max-width: 600px) {
  .hero { min-height: auto; padding-bottom: 104px; }
  .hero-actions .btn { width: 100%; }
  .hero-trace { height: 64px; bottom: 16px; }
}

/* ---------- Seções ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-2); }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); max-width: 720px; }
.section-head-row {
  max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}

.split { display: grid; gap: 2.5rem; }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 6fr; gap: 5rem; align-items: start; }
  .split-head { position: sticky; top: calc(var(--header-h) + 40px); }
}
.split-head .section-title { margin-bottom: 1.25rem; font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.35rem); }
.split-body { color: var(--muted); font-size: 1.05rem; }
.split-body p { max-width: 58ch; }

.badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem .85rem; margin-bottom: 1.4rem;
  border: 1px solid rgba(229,172,69,.35); border-radius: 999px;
  background: var(--amber-soft); color: var(--amber);
  font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

.checklist { list-style: none; padding: 0; margin: 2rem 0 2.25rem; border-top: 1px solid var(--line); }
.checklist li {
  position: relative; padding: 1rem 0 1rem 2rem; border-bottom: 1px solid var(--line); color: var(--text);
}
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 1.45rem;
  width: 12px; height: 7px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber);
  transform: rotate(-45deg);
}

/* ---------- Pilares ---------- */
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 820px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { background: var(--bg-2); padding: clamp(1.75rem, 3vw, 2.5rem); transition: background-color .3s var(--ease); }
.pillar:hover { background: var(--bg-3); }
.pillar-num {
  display: block; margin-bottom: 2.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: var(--amber); letter-spacing: .08em;
}
.pillar h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: .75rem; }
.pillar p { color: var(--muted); margin: 0; }

/* ---------- Sobre ---------- */
.about { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 860px) { .about { grid-template-columns: 5fr 6fr; gap: 5rem; } }
.about-photo {
  margin: 0; position: relative; max-width: 460px;
  border-radius: var(--radius); overflow: hidden; background: var(--bg-2);
  aspect-ratio: 4 / 5;
}
.about-photo picture { display: block; height: 100%; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about-photo::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--line);
  pointer-events: none;
}
.about-text .section-title { margin-bottom: .5rem; }
.about-role { color: var(--amber); font-weight: 500; margin-bottom: 1.5rem; }
.about-text p:not(.about-role):not(.eyebrow):not(.about-motto) { color: var(--muted); font-size: 1.05rem; max-width: 56ch; }
.about-motto {
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em;
  color: var(--text); margin: 1.75rem 0; padding-left: 1rem; border-left: 2px solid var(--amber);
}

/* ---------- Vídeos ---------- */
.video-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }

.video-card { display: flex; flex-direction: column; gap: .9rem; }
.video-frame {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  border-radius: 12px; overflow: hidden; background: var(--bg-3);
  border: 1px solid var(--line);
}
.video-frame iframe, .video-frame img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-play {
  all: unset; position: absolute; inset: 0; cursor: pointer;
}
.video-play::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%23121820'/%3E%3C/svg%3E") 55% 50% / 30px no-repeat;
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
  transition: transform .25s var(--ease);
}
.video-play:hover::after, .video-play:focus-visible::after { transform: scale(1.08); }
/* Primeiro vídeo em destaque: ocupa a largura toda no tablet e 2/3 no computador */
@media (min-width: 640px) {
  .video-grid.has-featured .is-featured { grid-column: 1 / -1; }
  .video-grid.has-featured .is-featured .video-title { font-size: 1.25rem; }
}
@media (min-width: 980px) {
  .video-grid.has-featured { grid-template-columns: 2fr 1fr; align-items: start; }
  .video-grid.has-featured .is-featured { grid-column: 1; grid-row: span 2; }
}
@media (min-width: 640px) {
  .video-grid.is-single { grid-template-columns: minmax(0, 760px); }
  .video-grid.is-single .video-title { font-size: 1.2rem; }
}
.video-play:focus-visible { outline: 2px solid var(--amber); outline-offset: -2px; }
.video-title { font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.35; }

.video-soon .video-frame {
  display: grid; place-items: center;
  background:
    linear-gradient(rgba(245,245,242,.03) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(245,245,242,.03) 1px, transparent 1px) 0 0 / 20px 20px,
    var(--bg-3);
}
.video-soon .video-frame span {
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint);
}
.video-soon .video-title { color: var(--faint); }

/* ---------- Formulário ---------- */
.form-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.field { margin: 0 0 1.35rem; padding: 0; border: 0; min-width: 0; }
.field label, .field legend {
  display: block; margin-bottom: .5rem; padding: 0;
  font-size: .9rem; font-weight: 500; color: var(--text);
}
.optional { font-weight: 400; color: var(--faint); font-size: .8rem; margin-left: .35rem; }

input[type="text"], input[type="email"], select, textarea {
  width: 100%;
  font: inherit; font-size: 1rem; /* 16px evita zoom no iOS */
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: .85rem 1rem;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
textarea { resize: vertical; min-height: 96px; }
select {
  padding-right: 2.75rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23F5F5F2' stroke-opacity='.6' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px;
}
select:invalid { color: var(--faint); }
select option { color: var(--text); background: var(--bg); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
.field.has-error input, .field.has-error select { border-color: var(--danger); }
.field-error { display: block; margin-top: .4rem; font-size: .82rem; color: var(--danger); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: .5rem .9rem;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: .85rem; color: var(--muted); cursor: pointer; user-select: none;
  transition: border-color .2s, color .2s, background-color .2s;
}
.chip span:hover { border-color: rgba(229,172,69,.6); color: var(--text); }
.chip input:checked + span { background: var(--amber-soft); border-color: var(--amber); color: var(--amber); }
.chip input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }

.consent {
  display: grid; grid-template-columns: 22px 1fr; gap: .8rem; align-items: start;
  padding: 1rem; margin: .25rem 0 1rem;
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg);
  font-size: .9rem; color: var(--text); cursor: pointer;
}
.consent input {
  -webkit-appearance: none; appearance: none; margin: 1px 0 0;
  width: 22px; height: 22px; border: 1.5px solid var(--line-strong); border-radius: 6px; cursor: pointer;
  display: grid; place-items: center; transition: background-color .2s, border-color .2s;
}
.consent input::after {
  content: ""; width: 10px; height: 6px; margin-top: -3px;
  border-left: 2px solid var(--bg); border-bottom: 2px solid var(--bg); transform: rotate(-45deg) scale(0);
  transition: transform .15s var(--ease);
}
.consent input:checked { background: var(--amber); border-color: var(--amber); }
.consent input:checked::after { transform: rotate(-45deg) scale(1); }
.consent.has-error { border-color: var(--danger); }

.privacy-note { font-size: .8rem; line-height: 1.55; color: var(--faint); margin-bottom: 1.5rem; }
.privacy-note a { color: var(--muted); }

.form-status { margin: .9rem 0 0; font-size: .88rem; color: var(--danger); min-height: 1px; }
.form-status:empty { display: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-success { text-align: left; padding: .5rem 0; outline: none; }
.form-success h3 { font-size: 1.5rem; margin: 1.25rem 0 .6rem; }
.form-success p { color: var(--muted); }
.success-mark {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--amber-soft); border: 1px solid var(--amber);
}
.success-mark::after {
  content: ""; width: 18px; height: 10px; margin-top: -4px;
  border-left: 2.5px solid var(--amber); border-bottom: 2.5px solid var(--amber); transform: rotate(-45deg);
}
.preview-note { font-size: .82rem; color: var(--amber) !important; border-top: 1px solid var(--line); padding-top: 1rem; }

/* ---------- Rodapé ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.footer-brand .brand { margin-bottom: .9rem; }
.footer-brand p { max-width: 38ch; margin: 0; }

.social { list-style: none; margin: 0; padding: 0; display: flex; gap: .6rem; }
.social a {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line-strong); border-radius: 50%;
  color: var(--muted); transition: color .2s, border-color .2s;
}
.social a:hover { color: var(--amber); border-color: var(--amber); }
.social svg { width: 18px; height: 18px; }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
}
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--text); }

/* ---------- Página de texto (privacidade) ---------- */
.prose-page { padding: calc(var(--header-h) + 56px) 0 96px; }
.prose { max-width: 720px; }
.prose h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); font-weight: 800; margin-bottom: .75rem; }
.prose h2 { font-size: 1.2rem; font-weight: 700; margin: 2.5rem 0 .75rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose a { color: var(--amber); }

/* ---------- Páginas de e-book gratuito (ex.: sepse.html) ---------- */
.ebook-hero { min-height: auto; padding-bottom: clamp(64px, 8vw, 104px); }
.ebook-hero-inner { width: 100%; display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 940px) {
  .ebook-hero-inner { grid-template-columns: 7fr 5fr; gap: 4.5rem; }
}
.ebook-intro .hero-title { max-width: 13ch; font-size: clamp(2.25rem, 1.3rem + 3.6vw, 3.9rem); }
.ebook-intro .hero-title em { display: inline; margin: 0; font-size: inherit; font-weight: 800; letter-spacing: inherit; }
.ebook-bullets { margin: 0 0 1.25rem; }
.ebook-meta {
  font-family: var(--font-display); font-weight: 600; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin: 0;
}
.ebook-side { display: flex; flex-direction: column; align-items: center; }
.ebook-cover { margin: 0 0 -3.5rem; width: min(230px, 62%); position: relative; z-index: 1; }
.ebook-cover img {
  display: block; width: 100%; height: auto; border-radius: 6px;
  box-shadow: 0 24px 48px rgba(0,0,0,.45), 0 0 0 1px rgba(245,245,242,.08);
  transform: rotate(-3deg);
}
.ebook-side .form-card { width: 100%; padding-top: 4.75rem; }
.ebook-form-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 1.25rem; }
.form-success .btn { margin-top: .5rem; }
.ebook-after { margin-top: 1rem; }
.ebook-pages { display: grid; gap: 1.5rem; }
@media (min-width: 720px) { .ebook-pages { grid-template-columns: repeat(3, 1fr); } }
.ebook-pages figure { margin: 0; }
.ebook-pages img {
  display: block; width: 100%; height: auto; border-radius: 8px;
  border: 1px solid var(--line); box-shadow: 0 16px 32px rgba(0,0,0,.3);
}
.ebook-pages figcaption { margin-top: .9rem; color: var(--muted); font-size: .95rem; }

/* ---------- Animações de entrada ---------- */
.js .reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .pillars .reveal:nth-child(2) { transition-delay: .08s; }
.js .pillars .reveal:nth-child(3) { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-trace path { stroke-dashoffset: 0; }
}
