/* =====================================================================
   Site da Loja — CSS estrutural (público)
   Tokens são definidos pelo tema em static/css/site-loja/temas/<id>.css
   nos dois modos: [data-st-mode="claro"] e [data-st-mode="escuro"].
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--st-header-h, 72px) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

:root {
  /* Fallbacks neutros — o tema sobrescreve */
  --st-primary: #4f46e5;
  --st-accent: #06b6d4;
  --st-bg: #ffffff;
  --st-surface: #f6f7fb;
  --st-surface-2: #eceef5;
  --st-text: #0b1020;
  --st-muted: #5b6478;
  --st-border: color-mix(in srgb, var(--st-text) 10%, transparent);
  --st-on-primary: #ffffff;
  --st-shadow-sm: 0 1px 2px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
  --st-shadow: 0 10px 30px rgba(15, 23, 42, .10);
  --st-shadow-lg: 0 24px 60px rgba(15, 23, 42, .16);
  --st-radius: 14px;
  --st-radius-sm: 8px;
  --st-radius-btn: 10px;
  --st-font-title: Inter, system-ui, sans-serif;
  --st-font-body: Inter, system-ui, sans-serif;
  --st-container: 1160px;
  --st-header-h: 72px;
  --st-ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light;
}
[data-st-mode="escuro"] { color-scheme: dark; }

/* ---------- Base ---------- */
.st-body {
  margin: 0;
  font-family: var(--st-font-body);
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--st-text);
  background: var(--st-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .35s var(--st-ease), color .35s var(--st-ease);
  overflow-x: clip;
}
img, video { max-width: 100%; height: auto; }
a { color: var(--st-primary); text-decoration-thickness: 1px; text-underline-offset: .15em; }
h1, h2, h3, h4, .st-title, .st-sec-title, .st-hero-title {
  font-family: var(--st-font-title);
  color: var(--st-text);
  line-height: 1.15;
  letter-spacing: var(--st-title-tracking, -0.01em);
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1, .st-title { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: var(--st-title-weight, 700); }
h2, .st-sec-title { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: var(--st-title-weight, 700); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
::selection { background: color-mix(in srgb, var(--st-primary) 25%, transparent); }
:focus-visible { outline: 2px solid var(--st-accent); outline-offset: 3px; border-radius: 4px; }

.st-container { width: min(var(--st-container), calc(100% - 2.5rem)); margin-inline: auto; }
.st-container--narrow { width: min(820px, calc(100% - 2.5rem)); margin-inline: auto; }
.st-muted { color: var(--st-muted); }
.st-lead { font-size: 1.15rem; color: var(--st-muted); max-width: 62ch; }
.st-kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--st-primary); margin-bottom: .75rem;
}
.st-kicker::before { content: ""; width: 22px; height: 2px; background: var(--st-accent); border-radius: 2px; }

.st-skip-link { position: absolute; left: -999px; top: 0; z-index: 9999; padding: .75rem 1rem; background: var(--st-primary); color: var(--st-on-primary); }
.st-skip-link:focus { left: 0; }

.st-preview-bar {
  background: #fef3c7; color: #78350f; text-align: center;
  padding: .45rem .75rem; font-size: .85rem; font-weight: 600; position: relative; z-index: 70;
}
.st-preview-bar i { margin-right: .35rem; }

/* Barra de progresso de leitura */
.st-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 90; pointer-events: none; }
.st-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--st-primary), var(--st-accent)); transition: width .1s linear; }

/* ---------- Botões ---------- */
.st-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: var(--st-radius-btn);
  font-weight: 700; font-size: .95rem; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; line-height: 1.1; white-space: nowrap;
  transition: transform .2s var(--st-ease), box-shadow .2s var(--st-ease), background .2s, color .2s, border-color .2s;
}
.st-btn:hover { transform: translateY(-2px); }
.st-btn:active { transform: translateY(0); }
.st-btn--sm { padding: .55rem 1rem; font-size: .85rem; }
.st-btn--lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.st-btn--primary { background: var(--st-primary); color: var(--st-on-primary); box-shadow: 0 8px 22px color-mix(in srgb, var(--st-primary) 30%, transparent); }
.st-btn--primary:hover { box-shadow: 0 12px 30px color-mix(in srgb, var(--st-primary) 40%, transparent); }
.st-btn--accent { background: var(--st-accent); color: var(--st-on-accent, #0b1020); }
.st-btn--light { background: #fff; color: #0b1020; }
.st-btn--ghost { background: color-mix(in srgb, #fff 14%, transparent); color: #fff; border-color: color-mix(in srgb, #fff 45%, transparent); backdrop-filter: blur(6px); }
.st-btn--outline { border-color: var(--st-primary); color: var(--st-primary); background: transparent; }
.st-btn--outline:hover { background: color-mix(in srgb, var(--st-primary) 10%, transparent); }
.st-link { font-weight: 700; color: var(--st-primary); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.st-link::after { content: "→"; transition: transform .2s var(--st-ease); }
.st-link:hover::after { transform: translateX(4px); }

/* ---------- Marca ---------- */
.st-brand { display: inline-flex; align-items: center; gap: .7rem; color: inherit; text-decoration: none; min-width: 0; }
.st-brand-logo { width: var(--st-logo, 42px); height: var(--st-logo, 42px); border-radius: var(--st-logo-radius, 50%); object-fit: contain; flex-shrink: 0; display: block; }
.st-brand-logo--dark { display: none; }
[data-st-mode="escuro"] .st-brand-logo--light { display: none; }
[data-st-mode="escuro"] .st-brand-logo--dark { display: block; }
.st-brand-mono {
  width: var(--st-logo, 42px); height: var(--st-logo, 42px); border-radius: var(--st-logo-radius, 50%);
  display: inline-grid; place-items: center; font-family: var(--st-font-title); font-weight: 700;
  background: var(--st-primary); color: var(--st-on-primary); flex-shrink: 0; font-size: calc(var(--st-logo, 42px) * .45);
}
.st-brand-text { display: flex; flex-direction: column; gap: .05rem; line-height: 1.15; min-width: 0; }
.st-brand-text strong { font-family: var(--st-font-title); font-size: var(--st-brand-size, 1.02rem); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: var(--st-brand-tracking, 0); }
.st-brand-text small { color: var(--st-muted); font-size: .74rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; max-width: 34ch; }
.st-brand--sm { --st-logo: 34px; --st-brand-size: .95rem; }
.st-brand--md { --st-logo: 44px; --st-brand-size: 1.05rem; }
.st-brand--lg { --st-logo: 72px; --st-brand-size: 1.6rem; }
.st-brand--xl { --st-logo: 96px; --st-brand-size: clamp(1.8rem, 4vw, 2.6rem); }
.st-brand--stacked { flex-direction: column; text-align: center; gap: .85rem; }
.st-brand--stacked .st-brand-text { align-items: center; }
.st-brand--stacked .st-brand-text strong { white-space: normal; }

/* ---------- Header (mecânica comum) ---------- */
.st-header { position: sticky; top: 0; z-index: 60; transition: background .3s, box-shadow .3s, border-color .3s, transform .3s var(--st-ease); }
.st-header-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--st-header-h); }
.st-header-right { display: flex; align-items: center; gap: .6rem; }
.st-header-actions { display: flex; align-items: center; gap: .5rem; }
.st-header-cta { display: inline-flex; }

.st-nav { flex: 0 1 auto; min-width: 0; }
.st-nav-list { display: flex; flex-wrap: nowrap; gap: .1rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.st-nav-item { position: relative; }
.st-nav-list > li > a {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--st-text); text-decoration: none; font-weight: 600; font-size: .92rem;
  padding: .55rem .8rem; border-radius: 999px; position: relative; white-space: nowrap;
  transition: color .2s, background .2s;
}
.st-nav-list > li > a:hover, .st-nav-list > li > a[aria-current="page"] { color: var(--st-primary); }
.st-nav-caret { font-size: .65rem; opacity: .6; transition: transform .2s; }
.st-nav-item.has-children:hover .st-nav-caret { transform: rotate(180deg); }
.st-nav-sub {
  list-style: none; margin: 0; padding: .45rem; min-width: 220px;
  position: absolute; top: calc(100% + 6px); left: 0;
  background: var(--st-surface); border: 1px solid var(--st-border); border-radius: var(--st-radius-sm);
  box-shadow: var(--st-shadow); opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s var(--st-ease), visibility .2s; z-index: 5;
}
.st-nav-item.has-children:hover .st-nav-sub, .st-nav-item.has-children:focus-within .st-nav-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.st-nav-sub a { display: block; padding: .55rem .75rem; color: var(--st-text); text-decoration: none; font-weight: 500; font-size: .9rem; border-radius: 6px; }
.st-nav-sub a:hover { background: color-mix(in srgb, var(--st-primary) 10%, transparent); color: var(--st-primary); }
.st-nav-mobile-extra { display: none; }

/* Botão modo claro/escuro */
.st-mode-toggle {
  border: 1px solid var(--st-border); background: var(--st-surface); color: var(--st-text);
  border-radius: 999px; padding: 0; cursor: pointer; display: inline-flex; align-items: center;
  transition: border-color .2s, background .2s;
}
.st-mode-toggle:hover { border-color: color-mix(in srgb, var(--st-primary) 45%, transparent); }
.st-mode-toggle-track { position: relative; width: 58px; height: 30px; display: block; }
.st-mode-ico { position: absolute; top: 50%; transform: translateY(-50%); font-size: .8rem; transition: opacity .25s, color .25s; }
.st-mode-ico--sun { left: 9px; color: #f59e0b; }
.st-mode-ico--moon { right: 9px; color: #818cf8; }
.st-mode-toggle-thumb {
  position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--st-primary); box-shadow: var(--st-shadow-sm);
  transition: transform .3s var(--st-ease), background .3s;
}
[data-st-mode="escuro"] .st-mode-toggle-thumb { transform: translateX(28px); }
[data-st-mode="claro"] .st-mode-ico--sun { opacity: 0; }
[data-st-mode="escuro"] .st-mode-ico--moon { opacity: 0; }
.st-mode-toggle--mini { width: 34px; height: 34px; justify-content: center; position: relative; }
.st-mode-toggle--mini .st-mode-ico { position: static; transform: none; font-size: .9rem; }
[data-st-mode="claro"] .st-mode-toggle--mini .st-mode-ico--sun { display: none; }
[data-st-mode="escuro"] .st-mode-toggle--mini .st-mode-ico--moon { display: none; }
[data-st-mode="claro"] .st-mode-toggle--mini .st-mode-ico--moon { opacity: 1; color: var(--st-text); }
[data-st-mode="escuro"] .st-mode-toggle--mini .st-mode-ico--sun { opacity: 1; color: #fbbf24; }

/* Hamburger */
.st-nav-toggle {
  display: none; flex: 0 0 auto; width: 42px; height: 42px; padding: 0;
  border: 1px solid var(--st-border); background: var(--st-surface); color: var(--st-text);
  border-radius: var(--st-radius-sm); cursor: pointer; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
}
.st-burger { display: inline-flex; flex-direction: column; gap: 5px; width: 18px; }
.st-burger i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--st-ease), opacity .2s; transform-origin: center; }
.st-nav-toggle[aria-expanded="true"] .st-burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.st-nav-toggle[aria-expanded="true"] .st-burger i:nth-child(2) { opacity: 0; }
.st-nav-toggle[aria-expanded="true"] .st-burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -- variantes de header: split / pill / mono / glass */
.st-header--split, .st-header--pill, .st-header--mono { background: color-mix(in srgb, var(--st-bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--st-border); }
.st-header.is-scrolled { box-shadow: var(--st-shadow-sm); }

.st-header--glass { background: transparent; padding-top: .75rem; }
.st-glass-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 64px; padding: .4rem .5rem .4rem 1rem; border-radius: 999px;
  background: color-mix(in srgb, var(--st-bg) 78%, transparent);
  border: 1px solid color-mix(in srgb, var(--st-text) 8%, transparent);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--st-text) 8%, transparent);
  transition: box-shadow .3s, background .3s;
}
.st-header--glass.is-scrolled .st-glass-bar { box-shadow: 0 14px 40px color-mix(in srgb, var(--st-text) 14%, transparent); }
.st-header--glass .st-nav-list > li > a:hover { background: color-mix(in srgb, var(--st-primary) 10%, transparent); }

/* -- centered (Atelier) / masthead (Editorial) */
.st-topline { border-bottom: 1px solid var(--st-border); font-size: .78rem; color: var(--st-muted); }
.st-topline-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 36px; }
.st-topline-right { display: inline-flex; align-items: center; gap: .75rem; }
.st-topline .st-social-row a { width: 26px; height: 26px; font-size: .8rem; }
.st-header-stack { display: flex; flex-direction: column; align-items: center; padding: 1.5rem 0 1rem; gap: .85rem; transition: padding .3s var(--st-ease); }
.st-ornament { display: flex; align-items: center; gap: .75rem; color: var(--st-accent); font-size: .85rem; }
.st-ornament span { display: block; width: 72px; height: 1px; background: linear-gradient(90deg, transparent, var(--st-accent)); }
.st-ornament span:last-child { background: linear-gradient(90deg, var(--st-accent), transparent); }
.st-header-navbar { border-top: 1px solid var(--st-border); border-bottom: 1px solid var(--st-border); background: color-mix(in srgb, var(--st-bg) 92%, transparent); backdrop-filter: blur(10px); }
.st-header-navbar-inner { display: flex; align-items: center; justify-content: center; gap: 1rem; min-height: 54px; position: relative; }
.st-header-navbar-inner > .st-brand { display: none; }
.st-header--centered, .st-header--masthead { position: static; }
.st-header--centered .st-header-navbar, .st-header--masthead .st-header-navbar { position: sticky; top: 0; z-index: 60; }
@media (min-width: 901px) {
  .st-header-navbar--vazio { display: none; }
}
.st-header--centered .st-header-navbar.is-scrolled .st-brand, .st-header--masthead .st-header-navbar.is-scrolled .st-brand { display: inline-flex; position: absolute; left: 0; }

/* -- overlay (Templo) */
.st-header--overlay { position: fixed; left: 0; right: 0; top: 0; background: transparent; }
.st-body--preview .st-header--overlay { top: 34px; }
.st-header--overlay.is-scrolled { background: color-mix(in srgb, var(--st-bg) 85%, transparent); backdrop-filter: blur(16px); }
.st-header--overlay .st-header-rule { height: 1px; background: linear-gradient(90deg, transparent, var(--st-accent), transparent); opacity: .7; }
.st-header-overlay + .st-main, .st-header-overlay .st-main { padding-top: 0; }
.st-body.st-header-overlay .st-main > .st-sec:first-child:not(.st-hero):not(.st-banner-sec) { padding-top: calc(var(--st-header-h) + 2rem); }
.st-body.st-header-overlay .st-breadcrumbs { padding-top: calc(var(--st-header-h) + .5rem); }

/* -- mono index */
.st-mono-index { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--st-muted); flex: 1; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Breadcrumbs ---------- */
.st-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: .85rem 0 0; margin: 0 auto; font-size: .82rem; color: var(--st-muted); }
.st-breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .35rem; opacity: .5; }
.st-breadcrumbs a { color: var(--st-muted); text-decoration: none; }
.st-breadcrumbs a:hover { color: var(--st-primary); }

/* ---------- Seções (base) ---------- */
.st-main { min-height: 50vh; overflow-x: clip; }
.st-sec-vazia-msg { margin: 0; padding: .9rem 1.1rem; border: 1px dashed var(--st-border); border-radius: var(--st-radius-sm); color: var(--st-muted); font-size: .9rem; background: var(--st-surface); display: inline-flex; gap: .5rem; align-items: center; }
.st-sec { overflow-x: clip; }
.st-sec { padding: clamp(1.35rem, 2.8vw, 2rem) 0; position: relative; }
.st-prose-sec + .st-prose-sec { padding-top: .35rem; }
.st-sec--tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.st-sec--alt { background: var(--st-surface); }
.st-sec-head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); max-width: 720px; }
.st-sec-head--center { margin-inline: auto; text-align: center; }
.st-sec-head--center .st-kicker { justify-content: center; }
.st-sec-head .st-sec-title { margin-bottom: .35rem; }
.st-sec-lead { color: var(--st-muted); font-size: 1.08rem; margin: 0; }
.st-page-header { padding-top: clamp(2rem, 5vw, 3.5rem); margin-bottom: 2rem; }
.st-page-header .st-title { margin-bottom: .4rem; }
.st-spacer { display: block; }

/* Prosa */
.st-prose { color: var(--st-text); font-size: 1.05rem; line-height: 1.8; }
.st-prose > :first-child { margin-top: 0; }
.st-prose a { color: var(--st-primary); }
.st-prose img { border-radius: var(--st-radius); }
.st-prose blockquote { margin: 1.5rem 0; padding: .5rem 0 .5rem 1.25rem; border-left: 3px solid var(--st-accent); color: var(--st-muted); font-style: italic; }
.st-prose h2, .st-prose h3 { margin-top: 1.6em; }
.st-prose ul, .st-prose ol { padding-left: 1.4em; }
.st-prose hr { border: 0; border-top: 1px solid var(--st-border); margin: 2rem 0; }
.st-prose h2, .st-prose h3, .st-prose h4 { font-family: var(--st-font-title); line-height: 1.2; letter-spacing: -0.02em; }
.st-prose h4 { margin-top: 1.4em; font-size: 1.15rem; }
.st-prose .ql-align-center { text-align: center; }
.st-prose .ql-align-right { text-align: right; }
.st-prose .ql-align-justify { text-align: justify; }
.st-prose .ql-size-small { font-size: .85em; }
.st-prose .ql-size-large { font-size: 1.35em; }
.st-prose .ql-size-huge { font-size: 1.75em; }
.st-prose .ql-indent-1 { margin-left: 2em; }
.st-prose .ql-indent-2 { margin-left: 4em; }
.st-prose .ql-indent-3 { margin-left: 6em; }
.st-prose .ql-indent-4 { margin-left: 8em; }
.st-prose .ql-ui { display: none; }
.st-prose ol, .st-prose ul { list-style: none; padding-left: 0; margin: 1rem 0; }
.st-prose li { position: relative; padding-left: 1.6em; margin: .25rem 0; }
.st-prose li[data-list="bullet"]::before { content: "•"; position: absolute; left: .35em; color: var(--st-accent); }
.st-prose ol { counter-reset: st-ol; }
.st-prose li[data-list="ordered"] { counter-increment: st-ol; }
.st-prose li[data-list="ordered"]::before { content: counter(st-ol) "."; position: absolute; left: 0; font-variant-numeric: tabular-nums; color: var(--st-primary); font-weight: 650; }
.st-prose li[data-list="checked"]::before,
.st-prose li[data-list="unchecked"]::before { position: absolute; left: 0; }
.st-prose li[data-list="checked"]::before { content: "☑"; color: var(--st-primary); }
.st-prose li[data-list="unchecked"]::before { content: "☐"; color: var(--st-muted); }
.st-prose pre {
  background: var(--st-surface-2); color: var(--st-text);
  border: 1px solid var(--st-border); border-radius: var(--st-radius-sm);
  padding: 1rem 1.1rem; overflow-x: auto; font-size: .92rem; line-height: 1.55;
}
.st-prose code { font-size: .92em; }
.st-prose iframe, .st-prose .ql-video {
  display: block; width: 100%; max-width: 760px; aspect-ratio: 16 / 9; height: auto;
  border: 0; border-radius: var(--st-radius); margin: 1.35rem 0; background: #0b1220;
}
.st-prose .st-audio {
  clear: both; margin: 1.35rem 0; padding: 1rem 1.1rem;
  background: #ffffff; border: 1px solid var(--st-border); border-radius: var(--st-radius); color: var(--st-text);
}
.st-prose .st-audio-mark { display: none; }
.st-prose .st-audio-name { display: block; margin-bottom: .5rem; color: var(--st-text); font-weight: 650; }
.st-prose .st-audio audio { display: block; width: 100%; }
.st-prose .st-audio--destaque {
  display: grid; grid-template-columns: 52px 1fr; gap: .2rem 1rem; align-items: center;
  background: #f8fafc; padding: 1.05rem 1.15rem;
}
.st-prose .st-audio--destaque .st-audio-mark {
  display: grid; place-items: center; grid-row: 1 / span 2;
  width: 52px; height: 52px; border-radius: 14px; background: #0f172a; color: #ffffff; font-size: 1.15rem;
}
.st-prose .st-audio--destaque .st-audio-name { margin: 0; font-size: 1.08rem; }
.st-prose .st-audio--destaque audio { grid-column: 2; }
.st-prose .st-audio--compacto { display: flex; align-items: center; gap: .85rem; padding: .65rem .85rem; }
.st-prose .st-audio--compacto .st-audio-mark {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 36px; height: 36px; border-radius: 10px; background: #e2e8f0; color: #0f172a;
}
.st-prose .st-audio--compacto .st-audio-name { margin: 0; flex: 0 1 34%; }
.st-prose .st-audio--compacto audio { flex: 1 1 auto; min-width: 140px; }
.st-prose .st-audio--escuro { background: #0f172a; border-color: #1e293b; }
.st-prose .st-audio--escuro .st-audio-name { color: #f8fafc; }
@media (max-width: 560px) {
  .st-prose .st-audio--compacto,
  .st-prose .st-audio--destaque { display: block; }
  .st-prose .st-audio--compacto .st-audio-mark,
  .st-prose .st-audio--destaque .st-audio-mark { margin-bottom: .55rem; }
  .st-prose .st-audio--compacto .st-audio-name,
  .st-prose .st-audio--destaque .st-audio-name { margin-bottom: .45rem; }
}
.st-prose .st-video { margin: 1.35rem 0; max-width: 100%; clear: both; }
.st-prose .st-video iframe { width: 100%; max-width: none; margin: 0; }
.st-prose .st-video--center { margin-inline: auto; }
.st-prose .st-video--left { float: left; margin: .2rem 1.25rem .8rem 0; }
.st-prose .st-video--right { float: right; margin: .2rem 0 .8rem 1.25rem; }
.st-prose .st-figure { margin: 1.4rem 0 1.1rem; max-width: 100%; }
.st-prose .st-figure-handle { display: none !important; }
.st-prose .st-figure img { width: 100%; height: auto; display: block; margin: 0; border-radius: 0; }
.st-prose .st-figure.st-fx-r-soft img { border-radius: 12px; }
.st-prose .st-figure.st-fx-r-round img { border-radius: 28px; }
.st-prose .st-figure.st-fx-r-circle img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.st-prose .st-figure.st-fx-s-soft img { box-shadow: 0 10px 28px rgba(15, 23, 42, .18); }
.st-prose .st-figure.st-fx-s-strong img { box-shadow: 0 22px 48px rgba(15, 23, 42, .32); }
.st-prose .st-figure.st-fx-border img { border: 6px solid #fff; box-shadow: 0 0 0 1px var(--st-border), 0 14px 32px rgba(15, 23, 42, .16); }
.st-prose .st-figure.st-fx-gray img { filter: grayscale(1); }
.st-prose .st-figure.st-fx-sepia img { filter: sepia(.75); }
.st-prose .st-figure.st-fx-gray.st-fx-sepia img { filter: grayscale(1) sepia(.55); }
.st-prose .st-figure figcaption {
  margin-top: .45rem; font-size: .88rem; color: var(--st-muted); line-height: 1.45;
}
.st-prose .st-figure--center { margin-inline: auto; max-width: 720px; }
.st-prose .st-figure--center figcaption { text-align: center; }
.st-prose .st-figure--wide { max-width: none; width: 100%; }
.st-prose .st-figure--left, .st-prose .st-figure--right { max-width: 100%; }
.st-prose .st-figure--left { float: left; margin: .2rem 1.25rem .8rem 0; }
.st-prose .st-figure--right { float: right; margin: .2rem 0 .8rem 1.25rem; }
.st-prose::after, .st-prose--colunas::after { content: ""; display: block; clear: both; }
.st-prose--colunas .st-figure--left,
.st-prose--colunas .st-figure--right { float: none; width: 100%; margin: 1.2rem 0; }
.st-prose-sec .st-prose { max-width: 76ch; }
.st-prose-sec .st-container:not(.st-container--narrow) .st-prose { max-width: none; }

/* Hero simples */
.st-hero { position: relative; min-height: min(78vh, 680px); display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate; }
.st-hero-bg { position: absolute; inset: 0; z-index: -2; }
.st-hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, color-mix(in srgb, var(--st-primary) 92%, #000) 0%, color-mix(in srgb, var(--st-primary) 55%, #000) 100%); opacity: .9; }
.st-hero--has-img .st-hero-overlay { background: linear-gradient(120deg, rgba(0,0,0,.72), rgba(0,0,0,.35)); opacity: 1; }
.st-hero-inner { padding: clamp(3rem, 8vw, 6rem) 0; max-width: 760px; }
.st-hero-title { color: #fff; font-size: clamp(2.25rem, 5.5vw, 4rem); margin: 0 0 .75rem; }
.st-hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 56ch; opacity: .92; margin-bottom: 1.75rem; }
.st-hero-badge { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 1rem; padding: .35rem .8rem; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; backdrop-filter: blur(6px); }
.st-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.st-hero-scroll { position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%); color: #fff; opacity: .7; font-size: 1.1rem; animation: st-bounce 2.2s infinite; }
@keyframes st-bounce { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* Texto + imagem */
.st-split-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.st-split--esquerda .st-split-media { order: -1; }
.st-split-media { margin: 0; position: relative; }
.st-split-media img { width: 100%; border-radius: var(--st-radius); box-shadow: var(--st-shadow); display: block; aspect-ratio: 4/3; object-fit: cover; }
.st-split-media::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border-radius: var(--st-radius); background: color-mix(in srgb, var(--st-accent) 18%, transparent); z-index: -1; }
@media (max-width: 860px) { .st-split-grid { grid-template-columns: 1fr; } .st-split--esquerda .st-split-media { order: 0; } }

/* Cards */
.st-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1.25rem; }
.st-card-item {
  padding: 1.75rem; border-radius: var(--st-radius); background: var(--st-surface);
  border: 1px solid var(--st-border); position: relative; overflow: hidden;
  transition: transform .3s var(--st-ease), box-shadow .3s var(--st-ease), border-color .3s;
}
.st-card-item:hover { transform: translateY(-4px); box-shadow: var(--st-shadow); border-color: color-mix(in srgb, var(--st-primary) 30%, transparent); }
.st-card-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.1rem; font-size: 1.35rem; background: color-mix(in srgb, var(--st-primary) 12%, transparent); color: var(--st-primary); }
.st-card-item h3 { margin-bottom: .45rem; font-size: 1.15rem; }
.st-card-item p { margin: 0; color: var(--st-muted); font-size: .97rem; }

/* Galeria */
.st-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: .75rem; }
.st-gallery a { position: relative; display: block; overflow: hidden; border-radius: var(--st-radius-sm); aspect-ratio: 1; background: var(--st-surface); }
.st-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--st-ease), filter .4s; }
.st-gallery a:hover img { transform: scale(1.06); }
.st-gallery-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem .75rem .6rem; color: #fff; font-size: .82rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--st-ease); }
.st-gallery a:hover .st-gallery-cap { opacity: 1; transform: none; }
.st-gallery a:nth-child(6n+1) { grid-row: span 2; grid-column: span 2; }
@media (max-width: 600px) { .st-gallery a:nth-child(6n+1) { grid-row: auto; grid-column: auto; } }

/* Vídeo */
.st-video-wrap { position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: var(--st-radius); box-shadow: var(--st-shadow); background: #000; }
.st-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Linha do tempo */
.st-timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.st-timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--st-accent), color-mix(in srgb, var(--st-accent) 15%, transparent)); }
.st-tl-item { position: relative; padding: 0 0 2rem 2.75rem; }
.st-tl-item:last-child { padding-bottom: 0; }
.st-tl-dot { position: absolute; left: 0; top: .2rem; width: 24px; height: 24px; border-radius: 50%; background: var(--st-bg); border: 2px solid var(--st-accent); display: grid; place-items: center; }
.st-tl-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--st-accent); }
.st-tl-year { display: inline-block; font-family: var(--st-font-title); font-weight: 800; font-size: 1.15rem; color: var(--st-primary); margin-bottom: .25rem; }
.st-tl-body h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.st-tl-body p { margin: 0; color: var(--st-muted); }
@media (min-width: 900px) {
  .st-timeline--alt::before { left: 50%; transform: translateX(-50%); }
  .st-timeline--alt .st-tl-item { width: 50%; padding: 0 3rem 2.5rem 0; }
  .st-timeline--alt .st-tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 2.5rem 3rem; }
  .st-timeline--alt .st-tl-item:nth-child(odd) { text-align: right; }
  .st-timeline--alt .st-tl-dot { left: auto; right: -12px; }
  .st-timeline--alt .st-tl-item:nth-child(even) .st-tl-dot { left: -12px; right: auto; }
}

/* Citação */
.st-quote { margin: 0 auto; max-width: 820px; text-align: center; position: relative; padding: 2rem 1rem; }
.st-quote-mark { display: block; font-family: var(--st-font-title); font-size: 5rem; line-height: .5; color: var(--st-accent); margin-bottom: 1.25rem; opacity: .85; }
.st-quote p { font-family: var(--st-font-title); font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.4; font-weight: 500; font-style: italic; margin: 0 0 1.25rem; }
.st-quote footer { color: var(--st-muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; }
.st-quote footer::before { content: "— "; }

/* CTA */
.st-cta-sec { padding: 0; }
.st-cta-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--st-radius);
  background: linear-gradient(120deg, var(--st-primary), color-mix(in srgb, var(--st-primary) 60%, var(--st-accent)));
  color: var(--st-on-primary); position: relative; overflow: hidden; box-shadow: var(--st-shadow);
}
.st-cta-inner::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.08); }
.st-cta-inner h2 { color: inherit; margin: 0 0 .35rem; }
.st-cta-inner p { margin: 0; opacity: .9; max-width: 56ch; }
.st-cta-inner .st-btn--primary { background: #fff; color: var(--st-primary); box-shadow: none; }

/* Números */
.st-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 1rem; text-align: center; }
.st-stat { padding: 1.5rem 1rem; border-radius: var(--st-radius); background: var(--st-surface); border: 1px solid var(--st-border); }
.st-stat-num { display: block; font-family: var(--st-font-title); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: var(--st-primary); line-height: 1; margin-bottom: .4rem; font-variant-numeric: tabular-nums; }
.st-stat-lbl { color: var(--st-muted); font-weight: 600; font-size: .9rem; }

/* FAQ */
.st-faq { max-width: 820px; }
.st-faq-item { border: 1px solid var(--st-border); border-radius: var(--st-radius-sm); padding: 0 1.15rem; margin-bottom: .6rem; background: var(--st-surface); transition: border-color .2s; }
.st-faq-item[open] { border-color: color-mix(in srgb, var(--st-primary) 40%, transparent); }
.st-faq-item summary { cursor: pointer; font-weight: 700; color: var(--st-text); list-style: none; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 0; }
.st-faq-item summary::-webkit-details-marker { display: none; }
.st-faq-item summary::after { content: "+"; font-size: 1.4rem; font-weight: 300; color: var(--st-primary); line-height: 1; transition: transform .3s var(--st-ease); }
.st-faq-item[open] summary::after { transform: rotate(45deg); }
.st-faq-item .st-prose { padding: 0 0 1rem; color: var(--st-muted); line-height: 1.65; font-size: .98rem; }

/* Blog */
.st-blog > .st-container { width: auto; max-width: none; margin-inline: clamp(1.75rem, 6vw, 5rem); }
.st-blog-head { max-width: none; margin-bottom: 2.25rem; }
.st-blog-head .st-title { margin-bottom: .45rem; }
.st-blog-head .st-lead { margin: 0; max-width: none; }
.st-blog-nav { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.35rem; }
.st-blog-nav a {
  display: inline-flex; align-items: center; padding: .42rem .85rem;
  border-radius: 999px; border: 1px solid var(--st-border);
  background: var(--st-surface); color: var(--st-text);
  text-decoration: none; font-size: .82rem; font-weight: 600; letter-spacing: .01em;
}
.st-blog-nav a:hover { border-color: var(--st-primary); color: var(--st-primary); }
.st-blog-nav a.is-on { background: var(--st-primary); border-color: var(--st-primary); color: var(--st-on-primary); }
.st-blog-hero {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(1.25rem, 3vw, 2.75rem); align-items: center;
  margin-bottom: 2.75rem; padding-bottom: 2.75rem;
  border-bottom: 1px solid var(--st-border);
}
.st-blog-hero-media { display: block; border-radius: var(--st-radius); overflow: hidden; background: var(--st-surface-2); aspect-ratio: 16/10; box-shadow: var(--st-shadow); }
.st-blog-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-blog-hero-body { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; min-width: 0; }
.st-blog-kicker { margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--st-primary); }
.st-blog-hero h2 { margin: 0; font-size: clamp(1.85rem, 3.4vw, 2.7rem); line-height: 1.12; }
.st-blog-hero h2 a, .st-blog-card-body h2 a { color: var(--st-text); text-decoration: none; }
.st-blog-hero h2 a:hover, .st-blog-card-body h2 a:hover { color: var(--st-primary); }
.st-blog-excerpt { margin: 0; color: var(--st-muted); font-size: 1.05rem; line-height: 1.6; }
.st-blog-read { margin-top: .35rem; color: var(--st-primary); font-weight: 700; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--st-primary) 45%, transparent); }
.st-blog-read:hover { color: var(--st-text); }
.st-blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1.75rem 1.35rem; }
.st-blog-card { display: flex; flex-direction: column; min-width: 0; background: transparent; }
.st-blog-card-media { display: block; overflow: hidden; aspect-ratio: 16/10; border-radius: calc(var(--st-radius) - 2px); background: var(--st-surface-2); }
.st-blog-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--st-ease); }
.st-blog-card:hover .st-blog-card-media img { transform: scale(1.04); }
.st-blog-card-body { padding: .95rem .1rem 0; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.st-blog-card-body h2 { font-size: 1.22rem; line-height: 1.25; margin: 0; }
.st-blog-card-body p { color: var(--st-muted); margin: 0; font-size: .95rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.st-blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .7rem; font-size: .8rem; color: var(--st-muted); margin-top: auto; }
.st-blog-meta span::before { content: "·"; margin-right: .7rem; color: var(--st-accent); }
.st-blog-plate { display: flex; flex-direction: column; justify-content: flex-end; gap: .4rem; width: 100%; height: 100%; padding: 1.25rem 1.35rem; background: linear-gradient(160deg, color-mix(in srgb, var(--st-primary) 16%, var(--st-surface)), var(--st-surface-2)); }
.st-blog-plate-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--st-primary); }
.st-blog-plate-mark { font-family: var(--st-font-title); font-size: clamp(4.5rem, 8vw, 7rem); line-height: .8; color: color-mix(in srgb, var(--st-primary) 70%, var(--st-text)); }
.st-blog-plate--card { justify-content: center; align-items: flex-start; }
.st-blog-plate--card .st-blog-plate-mark { font-size: 4.2rem; }
.st-chip { display: inline-flex; align-items: center; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 999px; background: color-mix(in srgb, var(--st-accent) 18%, transparent); color: var(--st-text); width: fit-content; }
.st-blog-empty { margin: 0; color: var(--st-muted); font-size: 1.05rem; }
@media (max-width: 860px) {
  .st-blog-hero { grid-template-columns: 1fr; gap: 1.15rem; }
}
@media (max-width: 560px) {
  .st-blog > .st-container { margin-inline: 1.25rem; }
}

/* Post */
.st-article > .st-container { width: auto; max-width: none; margin-inline: clamp(1.75rem, 6vw, 5rem); }
.st-article-header { text-align: center; max-width: none; margin: 0 auto 2rem; padding-top: clamp(2rem, 5vw, 3.5rem); }
.st-article-header .st-title { font-size: clamp(2rem, 4.2vw, 3rem); }
.st-article .st-lead { max-width: none; }
.st-article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1rem; color: var(--st-muted); font-size: .9rem; }
.st-article-meta i { margin-right: .35rem; color: var(--st-accent); }
.st-article-cover { margin: 2rem auto 2.5rem; max-width: none; }
.st-article-cover img { width: 100%; border-radius: var(--st-radius); box-shadow: var(--st-shadow); aspect-ratio: 21/9; object-fit: cover; display: block; }
.st-article-inner { max-width: none; margin-inline: 0; }
.st-article .st-prose iframe,
.st-article .st-prose .ql-video { max-width: none; }
.st-article-footer { max-width: none; margin: 3rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--st-border); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
@media (max-width: 560px) {
  .st-article > .st-container { margin-inline: 1.25rem; }
}
.st-share { display: flex; gap: .5rem; align-items: center; }
.st-share span { font-size: .82rem; color: var(--st-muted); font-weight: 600; margin-right: .25rem; }
.st-share a, .st-share button { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--st-border); background: var(--st-surface); color: var(--st-text); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.st-share a:hover, .st-share button:hover { background: var(--st-primary); color: var(--st-on-primary); transform: translateY(-2px); }

/* Banner animado */
.st-banner-sec { position: relative; height: var(--st-banner-h, 70vh); min-height: 360px; padding: 0; }
.st-banner-swiper, .st-banner-swiper .swiper-slide { height: 100%; }
.st-banner-slide { position: relative; overflow: hidden; color: #fff; }
.st-banner-media { position: absolute; inset: 0; }
.st-banner-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,calc(var(--st-overlay, .45) * .6)), rgba(0,0,0,var(--st-overlay, .45))); }
.st-banner-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-banner-caption { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: .5rem; padding: 2rem; max-width: 720px; margin: 0 auto; text-align: center; align-items: center; }
.st-banner-stage { position: absolute; inset: 0; z-index: 2; }
.st-layer { position: absolute; max-width: 92%; animation-delay: var(--d, 0ms); animation-duration: .8s; animation-fill-mode: both; }
.st-layer--text { line-height: 1.15; text-shadow: 0 2px 18px rgba(0,0,0,.35); white-space: pre-wrap; }
.st-layer--img { object-fit: cover; border-radius: 12px; }
.st-layer--btn { display: inline-flex; align-items: center; padding: .7rem 1.1rem; border-radius: 999px; font-weight: 700; text-decoration: none; }
.st-layer--shape { border-radius: 0; }
.st-layer[data-anim="fade-up"] { animation-name: stLayerUp; }
.st-layer[data-anim="fade-down"] { animation-name: stLayerDown; }
.st-layer[data-anim="slide-left"] { animation-name: stLayerLeft; }
.st-layer[data-anim="slide-right"] { animation-name: stLayerRight; }
.st-layer[data-anim="zoom"] { animation-name: stLayerZoom; }
.st-layer[data-anim="fade"] { animation-name: stLayerFade; }
.st-layer[data-anim="typewriter"] { animation-name: stLayerFade; }
.st-layer[data-anim="none"] { animation: none; }
@keyframes stLayerUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes stLayerDown { from { opacity: 0; transform: translateY(-28px); } to { opacity: 1; transform: none; } }
@keyframes stLayerLeft { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes stLayerRight { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes stLayerZoom { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: none; } }
@keyframes stLayerFade { from { opacity: 0; } to { opacity: 1; } }
.st-banner-title { color: #fff; font-size: clamp(2rem, 5vw, 3.75rem); margin: 0; }
.st-banner-caption p { font-size: clamp(1rem, 1.6vw, 1.25rem); opacity: .92; max-width: 56ch; }
.st-banner-slide--left .st-banner-caption { margin-left: max(1rem, calc((100% - var(--st-container)) / 2)); text-align: left; align-items: flex-start; }
.st-banner-slide--right .st-banner-caption { margin-right: max(1rem, calc((100% - var(--st-container)) / 2)); margin-left: auto; text-align: right; align-items: flex-end; }
.st-banner-sec .swiper-pagination-bullet { background: #fff; opacity: .5; width: 10px; height: 10px; }
.st-banner-sec .swiper-pagination-bullet-active { opacity: 1; width: 28px; border-radius: 6px; background: var(--st-accent); }
.st-banner-sec .swiper-button-prev, .st-banner-sec .swiper-button-next { color: #fff; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.12); backdrop-filter: blur(6px); }
.st-banner-sec .swiper-button-prev::after, .st-banner-sec .swiper-button-next::after { font-size: 1rem; font-weight: 700; }
@keyframes st-ken-burns { from { transform: scale(1); } to { transform: scale(1.1); } }
.st-banner-fx--ken-burns { animation: st-ken-burns 18s ease-out forwards; }
.st-banner-fx--zoom { animation: st-ken-burns 12s ease-in-out infinite alternate; }

/* Contato + mapa */
.st-contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: start; }
.st-contact-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .6rem; }
.st-contact-list li { display: flex; gap: .85rem; align-items: flex-start; padding: .9rem 1rem; border-radius: var(--st-radius-sm); background: var(--st-surface); border: 1px solid var(--st-border); }
.st-contact-list i { margin-top: .15rem; color: var(--st-primary); width: 1.2rem; text-align: center; font-size: 1.05rem; }
.st-contact-list a { color: var(--st-text); text-decoration: none; font-weight: 600; }
.st-contact-list a:hover { color: var(--st-primary); }
.st-contact-map-link a { color: var(--st-primary) !important; }
.st-map[data-st-map], .st-map--pending { width: 100%; height: 380px; min-height: 320px; border-radius: var(--st-radius); overflow: hidden; background: var(--st-surface); z-index: 1; border: 1px solid var(--st-border); box-shadow: var(--st-shadow); }
.st-map .leaflet-container { width: 100%; height: 100%; font: inherit; }
[data-st-mode="escuro"] .st-map .leaflet-tile { filter: brightness(.72) contrast(1.05) saturate(.7); }
.st-map-pending-msg { margin: 0; padding: 1.25rem; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--st-muted); font-size: .95rem; }
@media (max-width: 860px) { .st-contact-grid { grid-template-columns: 1fr; } .st-map[data-st-map] { height: 300px; } }

/* Redes */
.st-social-links { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.st-social-links a { color: var(--st-text); display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; padding: .7rem 1rem; border-radius: 999px; background: var(--st-surface); border: 1px solid var(--st-border); font-weight: 600; font-size: .92rem; transition: background .2s, transform .2s var(--st-ease), color .2s, border-color .2s; }
.st-social-links a i { font-size: 1.15rem; color: var(--st-primary); }
.st-social-links a:hover { transform: translateY(-2px); border-color: var(--st-primary); }
.st-social-row { display: inline-flex; gap: .4rem; }
.st-social-row a { width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--st-text); background: color-mix(in srgb, var(--st-text) 7%, transparent); text-decoration: none; transition: background .2s, color .2s; }
.st-social-row a:hover { background: var(--st-primary); color: var(--st-on-primary); }
.st-contact-links { display: flex; flex-direction: column; gap: .4rem; }
.st-contact-links a { display: inline-flex; align-items: center; gap: .55rem; color: inherit; text-decoration: none; font-size: .92rem; }
.st-contact-links a i { width: 1.1rem; text-align: center; color: var(--st-accent); }
.st-contact-links a:hover { color: var(--st-primary); }

/* Ex-Veneráveis */
.st-xv-kicker { margin: 0 0 .65rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--st-primary); text-align: center; }
.st-xv-atual { width: 100%; container-type: inline-size; display: flex; flex-direction: column; align-items: center; margin-bottom: 2rem; }
.st-xv-atual .st-xv-card { width: calc((100cqi - 1rem) / 2); max-width: 100%; }
@container (min-width: 482px) { .st-xv-atual .st-xv-card { width: calc((100cqi - 2rem) / 3); } }
@container (min-width: 648px) { .st-xv-atual .st-xv-card { width: calc((100cqi - 3rem) / 4); } }
@container (min-width: 798px) { .st-xv-atual .st-xv-card { width: calc((100cqi - 4rem) / 5); } }
@container (min-width: 948px) { .st-xv-atual .st-xv-card { width: calc((100cqi - 5rem) / 6); } }
@container (min-width: 1098px) { .st-xv-atual .st-xv-card { width: calc((100cqi - 6rem) / 7); } }
@media (max-width: 640px) {
  .st-xv-grid { grid-template-columns: 1fr; justify-items: center; gap: 1.85rem; }
  .st-xv-card,
  .st-xv-atual .st-xv-card { width: min(100%, 17.5rem); }
  .st-xv-nome { font-size: 1.08rem; -webkit-line-clamp: 3; }
  .st-xv-periodo { font-size: .95rem; }
}
.st-xv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.25rem 1rem; }
.st-xv-card { display: flex; flex-direction: column; gap: .6rem; margin: 0; min-width: 0; }
.st-xv-foto { position: relative; aspect-ratio: 9/16; border-radius: var(--st-radius); overflow: hidden; background: var(--st-surface); border: 1px solid var(--st-border); transition: transform .3s var(--st-ease), box-shadow .3s; }
.st-xv-card:hover .st-xv-foto { transform: translateY(-3px); box-shadow: var(--st-shadow); }
.st-xv-card--destaque .st-xv-foto { border-color: color-mix(in srgb, var(--st-primary) 40%, transparent); box-shadow: 0 12px 32px color-mix(in srgb, var(--st-primary) 22%, transparent); }
.st-xv-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.st-xv-foto-empty { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 160px; color: color-mix(in srgb, var(--st-text) 30%, transparent); font-size: 1.75rem; }
.st-xv-meta { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.st-xv-periodo { font-size: .78rem; font-weight: 700; color: var(--st-primary); line-height: 1.35; text-wrap: balance; }
.st-xv-card.is-memoriam .st-xv-foto img,
.st-xv-card.is-memoriam .st-xv-foto-empty { filter: grayscale(1) contrast(1.06) brightness(1.02); }
.st-xv-card.is-memoriam:hover .st-xv-foto img { filter: grayscale(1) contrast(1.08) brightness(1.04); }
.st-xv-card.is-memoriam .st-xv-foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(16, 12, 10, 0.34) 100%);
  pointer-events: none;
}
.st-xv-rosa {
  position: absolute;
  right: 3%;
  bottom: 2%;
  width: 34%;
  max-width: 4.4rem;
  aspect-ratio: 1;
  background: url("../img/rosa.png") center / contain no-repeat;
  filter: drop-shadow(0 3px 6px rgba(16, 12, 8, 0.42));
  pointer-events: none;
  z-index: 1;
}
.st-xv-memoriam {
  font-family: var(--st-font-title, Georgia, serif);
  font-style: italic;
  font-size: .75rem;
  letter-spacing: .12em;
  color: var(--st-muted);
}
.st-xv-nome { font-size: .9rem; font-weight: 600; line-height: 1.3; color: var(--st-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.st-xv-foot { margin-top: 1.25rem; font-size: .88rem; }
.st-xv-foot a { color: var(--st-primary); font-weight: 600; text-decoration: none; }
.st-xv-empty { padding: 1rem 0; }

/* Memorial / embed */
.st-embed-wrap { border-radius: var(--st-radius); overflow: hidden; border: 1px solid var(--st-border); box-shadow: var(--st-shadow); background: var(--st-surface); }
.st-embed { width: 100%; min-height: 70vh; border: 0; display: block; }
.st-xv-sec > .st-container,
.st-memorial > .st-container,
.st-main > .st-sec:not(.st-hero):not(.st-banner-sec) > .st-container:not(.st-container--narrow) {
  width: auto; max-width: none; margin-inline: clamp(1.75rem, 6vw, 5rem);
}
.st-memorial .st-xv-foto img { filter: grayscale(1); transition: filter .45s ease; }
.st-memorial .st-xv-card:hover .st-xv-foto img,
.st-memorial .st-xv-foto:focus-within img { filter: none; }
.st-memorial-cta { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; padding: 2rem; border-radius: var(--st-radius); background: var(--st-surface); border: 1px solid var(--st-border); }
.st-memorial-cta i.st-memorial-ico { font-size: 2.25rem; color: var(--st-accent); }
.st-memorial-cta p { margin: 0; color: var(--st-muted); }

/* ---------- Footer ---------- */
.st-footer { margin-top: clamp(3rem, 7vw, 5rem); padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem; border-top: 1px solid var(--st-border); background: var(--st-surface); color: var(--st-text); }
.st-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.st-footer-col--brand .st-brand { margin-bottom: .75rem; }
.st-footer-heading { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--st-muted); margin: 0 0 .9rem; font-family: var(--st-font-body); font-weight: 700; }
.st-footer-text { color: var(--st-muted); font-size: .95rem; max-width: 40ch; }
.st-footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.st-footer-nav a { color: var(--st-text); text-decoration: none; font-weight: 500; font-size: .95rem; }
.st-footer-nav a:hover { color: var(--st-primary); }
.st-footer-addr { font-size: .9rem; color: var(--st-muted); margin: .8rem 0 0; display: flex; gap: .5rem; }
.st-footer-addr i { color: var(--st-accent); margin-top: .3rem; }
.st-footer .st-social-row { margin-top: .75rem; }
.st-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--st-border); font-size: .82rem; color: var(--st-muted); }
.st-footer-bottom a { color: var(--st-muted); text-decoration: none; }
.st-footer-bottom a:hover { color: var(--st-primary); }
.st-footer-copy { font-size: .82rem; color: var(--st-muted); margin: 1.5rem 0 0; }
.st-footer-copy a { color: inherit; }
.st-footer--centered { text-align: center; }
.st-footer--centered .st-container { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.st-footer--centered .st-footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; }
.st-footer--centered .st-contact-links { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.st-footer--centered .st-footer-text { max-width: 56ch; }
.st-footer-bigname { font-family: var(--st-font-title); font-size: clamp(2.5rem, 9vw, 7.5rem); font-weight: 800; line-height: .95; letter-spacing: -.04em; margin-bottom: 2.5rem; color: var(--st-text); overflow-wrap: anywhere; }
.st-footer-grid--rules { border-top: 1px solid var(--st-border); padding-top: 2rem; }
@media (max-width: 860px) { .st-footer-grid { grid-template-columns: 1fr; gap: 1.75rem; } }

/* Voltar ao topo */
.st-totop { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 80; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--st-border); background: var(--st-surface); color: var(--st-text); box-shadow: var(--st-shadow); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s var(--st-ease), visibility .3s; }
.st-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.st-totop:hover { background: var(--st-primary); color: var(--st-on-primary); }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .st-nav-toggle { display: inline-flex; }
  .st-header-cta { display: none; }
  .st-mono-index { display: none; }
  .st-topline-slogan { display: none; }
  .st-header-navbar-inner { justify-content: space-between; }
  .st-header-navbar-inner > .st-brand { display: inline-flex !important; position: static !important; }
  .st-header-stack { display: none; }
  .st-header--centered .st-topline, .st-header--masthead .st-topline { display: none; }

  .st-nav {
    display: none; position: absolute; top: calc(100% + 8px); left: 1rem; right: 1rem;
    padding: .6rem; border-radius: var(--st-radius); border: 1px solid var(--st-border);
    background: var(--st-bg); box-shadow: var(--st-shadow-lg); z-index: 70;
    max-height: calc(100vh - var(--st-header-h) - 2rem); overflow: auto;
  }
  .st-header--glass .st-nav { left: 0; right: 0; top: calc(100% + 4px); }
  .st-nav.is-open { display: block; animation: st-nav-in .25s var(--st-ease); }
  @keyframes st-nav-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  .st-nav-list { flex-direction: column; align-items: stretch; gap: .15rem; }
  .st-nav-list > li > a { display: flex; justify-content: space-between; min-height: 46px; padding: .7rem .9rem; border-radius: var(--st-radius-sm); font-size: 1rem; }
  .st-nav-list > li > a:hover { background: color-mix(in srgb, var(--st-primary) 10%, transparent); }
  .st-nav-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 .35rem .75rem; margin: 0; }
  .st-nav-sub a { min-height: 40px; display: flex; align-items: center; }
  .st-nav-mobile-extra { display: block; margin-top: .6rem; padding: .75rem .9rem .25rem; border-top: 1px solid var(--st-border); }
  .st-nav-mobile-extra:not(:has(a)) { display: none; }
  .st-nav-mode { display: none; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: .5rem; }
  .st-nav-mode-label { font-size: .85rem; color: var(--st-muted); display: inline-flex; align-items: center; gap: .5rem; }
  .st-header--centered .st-nav-mode, .st-header--masthead .st-nav-mode { display: flex; }
  .st-header--centered .st-nav-mobile-extra:has(.st-nav-mode), .st-header--masthead .st-nav-mobile-extra:has(.st-nav-mode) { display: block; }
  .st-brand-text small { display: none; }
  .st-header-bar { min-height: 64px; }
  .st-header--overlay { position: sticky; background: color-mix(in srgb, var(--st-bg) 92%, transparent); backdrop-filter: blur(12px); }
  .st-body.st-header-overlay .st-main > .st-sec:first-child:not(.st-hero):not(.st-banner-sec) { padding-top: clamp(3rem, 7vw, 5.5rem); }
  .st-body.st-header-overlay .st-breadcrumbs { padding-top: 0; }
}
@media (max-width: 560px) {
  .st-container { width: calc(100% - 1.75rem); }
  .st-xv-sec > .st-container,
  .st-memorial > .st-container,
  .st-main > .st-sec:not(.st-hero):not(.st-banner-sec) > .st-container:not(.st-container--narrow) { margin-inline: 1.25rem; }
  .st-sec { padding: 1.5rem 0; }
  .st-prose-sec + .st-prose-sec { padding-top: .35rem; }
  .st-cta-inner { padding: 1.75rem; }
  .st-mode-toggle-track { width: 52px; height: 28px; }
  .st-mode-toggle-thumb { width: 22px; height: 22px; }
  [data-st-mode="escuro"] .st-mode-toggle-thumb { transform: translateX(24px); }
}

/* ---------- Motion ---------- */
[data-aos] { will-change: transform, opacity; }
.st-no-aos [data-aos], .no-js [data-aos] { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .st-banner-media img { animation: none !important; transform: none !important; }
  .st-hero-scroll { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}

/* ---------- Agenda de sessões ---------- */
.st-agenda-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
}
.st-agenda-anos {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: .4rem;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: .15rem;
}
.st-agenda-ano,
.st-agenda-seta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  min-height: 2.4rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  border: 1px solid var(--st-border);
  background: var(--st-surface);
  color: var(--st-text);
  text-decoration: none;
  font-weight: 650;
  font-size: .92rem;
}
.st-agenda-seta { min-width: 2.4rem; font-size: 1.15rem; line-height: 1; }
.st-agenda-ano:hover,
.st-agenda-seta:hover { border-color: color-mix(in srgb, var(--st-primary) 45%, var(--st-border)); }
.st-agenda-ano.is-active {
  background: var(--st-primary);
  border-color: var(--st-primary);
  color: var(--st-on-primary);
}
.st-agenda-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.st-agenda-stats span {
  display: inline-flex;
  align-items: baseline;
  gap: .35rem;
  padding: .4rem .75rem;
  border-radius: 999px;
  background: var(--st-surface);
  color: var(--st-muted);
  font-size: .88rem;
}
.st-agenda-stats strong { color: var(--st-text); font-size: 1.05rem; }
.st-agenda-faixa {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: .4rem;
  margin-bottom: 1.5rem;
}
.st-agenda-mes-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .1rem;
  min-height: 3.4rem;
  padding: .45rem .2rem;
  border-radius: var(--st-radius-sm);
  border: 1px solid var(--st-border);
  background: var(--st-surface);
  color: var(--st-text);
  text-decoration: none;
  text-align: center;
}
.st-agenda-mes-pill b { font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.st-agenda-mes-pill small { color: var(--st-muted); font-size: .75rem; }
.st-agenda-mes-pill.is-vazio { opacity: .45; }
.st-agenda-mes-pill.is-atual,
.st-agenda-mes.is-atual {
  border-color: color-mix(in srgb, var(--st-accent) 55%, var(--st-border));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--st-accent) 35%, transparent);
}
a.st-agenda-mes-pill:hover { border-color: var(--st-primary); }
.st-agenda-proxima {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.1rem;
  align-items: center;
  margin-bottom: 1.75rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--st-radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--st-primary) 14%, var(--st-surface)), var(--st-surface));
  border: 1px solid color-mix(in srgb, var(--st-primary) 28%, var(--st-border));
  color: var(--st-text);
}
.st-agenda-proxima time {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 4.6rem;
  padding: .45rem .6rem;
  border-radius: var(--st-radius-sm);
  background: var(--st-primary);
  color: var(--st-on-primary);
}
.st-agenda-proxima time b { font-size: 1.7rem; line-height: 1; font-family: var(--st-font-title); }
.st-agenda-proxima time small { font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; opacity: .9; }
.st-agenda-proxima .st-kicker { margin-bottom: .2rem; }
.st-agenda-proxima strong { display: block; font-size: 1.2rem; }
.st-agenda-proxima span { color: var(--st-muted); }
.st-agenda-proxima-ir {
  justify-self: end;
  padding: .55rem .9rem;
  border-radius: var(--st-radius-btn);
  background: var(--st-text);
  color: var(--st-bg);
  text-decoration: none;
  font-weight: 650;
  font-size: .9rem;
  white-space: nowrap;
}
.st-agenda-proxima-ir:hover { filter: brightness(1.08); }
.st-agenda-meses { display: flex; flex-direction: column; gap: 1.25rem; }
.st-agenda-mes {
  scroll-margin-top: calc(var(--st-header-h, 72px) + 16px);
  padding: 1rem 1rem .4rem;
  border-radius: var(--st-radius);
  background: var(--st-surface);
  border: 1px solid var(--st-border);
}
.st-agenda-mes-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .35rem;
  padding: 0 .25rem;
}
.st-agenda-mes-head h2 { margin: 0; font-size: 1.35rem; }
.st-agenda-mes-head span { color: var(--st-muted); font-size: .88rem; }
.st-agenda-lista { list-style: none; margin: 0; padding: 0; }
.st-agenda-item {
  display: grid;
  grid-template-columns: 5.2rem 1fr auto;
  gap: .85rem;
  align-items: center;
  padding: .85rem .35rem;
  border-top: 1px solid var(--st-border);
  border-left: 3px solid color-mix(in srgb, var(--st-primary) 70%, transparent);
  color: var(--st-text);
}
.st-agenda-item time { display: flex; flex-direction: column; line-height: 1.15; }
.st-agenda-item time b { font-size: 1.35rem; font-family: var(--st-font-title); }
.st-agenda-item time small { color: var(--st-muted); text-transform: capitalize; font-size: .78rem; }
.st-agenda-item strong { display: block; }
.st-agenda-item span { color: var(--st-muted); font-size: .92rem; }
.st-agenda-item em {
  font-style: normal;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .28rem .55rem;
  border-radius: 999px;
  background: var(--st-surface-2);
  color: var(--st-text);
}
.st-agenda-item.is-past { opacity: .72; }
.st-agenda-item.is-hoje {
  background: color-mix(in srgb, var(--st-accent) 12%, transparent);
  border-radius: var(--st-radius-sm);
}
.st-agenda-item.is-hoje em { background: var(--st-text); color: var(--st-bg); }
.st-agenda-item--magna { border-left-color: var(--st-accent); }
.st-agenda-item--online { border-left-color: #3b82f6; }
.st-agenda-item--festiva { border-left-color: #d4a017; }
.st-agenda-item--funebre { border-left-color: #6b7280; }
.st-agenda-item--admin { border-left-color: #0f766e; }
.st-agenda-vazia {
  margin: 1rem 0 0;
  padding: 1.5rem;
  border-radius: var(--st-radius);
  background: var(--st-surface);
  color: var(--st-muted);
  text-align: center;
}
@media (max-width: 860px) {
  .st-agenda-faixa { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .st-agenda-proxima { grid-template-columns: auto 1fr; }
  .st-agenda-proxima-ir { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 560px) {
  .st-agenda-faixa { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .st-agenda-item { grid-template-columns: 4.2rem 1fr; }
  .st-agenda-item em { grid-column: 2; justify-self: start; }
}
