/* /afirmacoes/ — só o que não existe em categoria.css (a página usa os componentes das categorias) */
.af { --af-amor: #f0a9c2; --af-pros: #e8c06a; --af-evo: #c3a8ff; --af-sp: #3ccf72; --af-yt: #ff6b5c; }
.af-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cat .af-hero { padding-bottom: 70px; }
.af .c-hero-lede { max-width: 600px; }

/* portas das categorias */
.af-realms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1100px; margin: 12px auto 0; }
.af-realm { --c: var(--gold); position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 5 / 4; padding: 0; overflow: hidden;
  text-align: left; cursor: pointer; color: #fff; font: inherit; border-color: rgba(217,184,114,0.3);
  background: #16121e center / cover no-repeat; box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease, filter .3s ease; }
.af-realm::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,15,0) 30%, rgba(10,10,15,0.92) 100%); transition: opacity .3s; }
.af-realm:hover { transform: translateY(-4px); border-color: rgba(217,184,114,0.8); box-shadow: 0 0 40px rgba(217,184,114,0.16), 0 24px 60px rgba(0,0,0,0.45); }
.af-realm[aria-pressed="true"] { border-color: rgba(240,212,154,0.95); box-shadow: 0 0 44px rgba(217,184,114,0.25); }
.af-realms.has-pick .af-realm[aria-pressed="false"] { filter: saturate(.45) brightness(.6); }
.r-amor { --c: var(--af-amor); background-image: url(/images/scene-amor-sm.jpg); background-position: center 60%; }
.r-pros { --c: var(--af-pros); background-image: url(/images/scene-prosperidade-sm.jpg); background-position: center 35%; }
.r-evo { --c: var(--af-evo); background-image: url(/images/scene-evolucao-sm.jpg); }
.af-txt { position: relative; padding: 24px 24px 22px; display: grid; gap: 4px; }
.af-pick { font-family: 'DM Sans', sans-serif; font-size: 10.5px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-light); }
.af-realm b { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 30px; line-height: 1.1; }
.af-realm small { font-family: 'DM Sans', sans-serif; font-size: 14px; color: rgba(255,255,255,.82); }
.af-n { position: absolute; z-index: 1; top: 14px; right: 14px; padding: 4px 11px; border-radius: 999px; background: rgba(10,10,15,0.7);
  border: 1px solid rgba(217,184,114,0.45); font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--gold-light); }

/* busca */
.af-search { position: relative; max-width: 520px; margin: 34px auto 0; }
.af-search svg { position: absolute; left: 20px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; }
.af-search input { width: 100%; padding: 16px 22px 16px 50px; border-radius: 999px; border: 1px solid rgba(217,184,114,0.35); background: rgba(20,16,28,0.85);
  font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.af-search input::placeholder { color: var(--ink-dim); }
.af-search input:focus { outline: none; border-color: rgba(217,184,114,0.85); box-shadow: 0 0 0 4px rgba(217,184,114,0.12); }

/* resultados */
.cat .af-results { padding-top: 20px; scroll-margin-top: 70px; }
.af-results[hidden] { display: none; }
.af-status { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: 1100px; margin: 0 auto 30px; }
.af-status .c-eyebrow, .af-status .c-h2 { text-align: left; margin-left: 0; }
.af-status .c-eyebrow { margin-bottom: 8px; }
.af-back { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px 13px 16px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(217,184,114,0.7); background: transparent; color: var(--gold-light);
  font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; transition: background .2s; }
.af-back:hover { background: rgba(217,184,114,0.1); }
.af-back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.af-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 1100px; margin: 0 auto; }
.af-card { --c: var(--gold-light); position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px; min-width: 0; padding: 22px 22px 22px 26px;
  transition: border-color .25s, min-height .25s ease; }
.af-card::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c); opacity: .75; }
.af-card:hover { border-color: rgba(217,184,114,0.4); }
.af-card.c-amor { --c: var(--af-amor); } .af-card.c-pros { --c: var(--af-pros); } .af-card.c-evo { --c: var(--af-evo); }
.af-info { flex: 1; min-width: 0; display: grid; gap: 4px; }
.af-card h3 { margin: 0; font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 24px; line-height: 1.15; color: var(--c); }
.af-hz { font-family: 'DM Sans', sans-serif; font-size: 12px; letter-spacing: 0.04em; color: var(--ink-dim); }
.af-hz b { font-weight: 700; color: #fff; }
.af-intent { margin: 2px 0 0; font-family: 'DM Sans', sans-serif; font-size: 14px; line-height: 1.55; color: #e4dfee; }
.af-playwrap { flex: none; width: 86px; display: grid; justify-items: center; gap: 6px; }
.af-play { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #f6ecd6;
  border: 1.5px solid rgba(240,212,154,0.85); background: rgba(217,184,114,0.16); box-shadow: 0 0 22px rgba(217,184,114,0.25); transition: transform .2s, background .2s; }
.af-play:hover { transform: scale(1.06); background: rgba(217,184,114,0.3); }
.af-play svg { width: 18px; height: 18px; margin-left: 3px; }
.af-playwrap span { font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); text-align: center; line-height: 1.3; }
.af-info, .af-playwrap { transition: filter .25s ease, opacity .25s ease; }
.af-card.open { min-height: 230px; }
.af-card.open .af-info, .af-card.open .af-playwrap { filter: blur(6px); opacity: .25; pointer-events: none; }
.af-gate { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 18px 50px 18px 26px;
  background: rgba(18,15,26,0.72); animation: afFade .25s ease; }
@keyframes afFade { from { opacity: 0; } to { opacity: 1; } }
.af-gate p { margin: 0; font-family: 'DM Sans', sans-serif; font-size: 15px; line-height: 1.5; color: var(--ink); max-width: 46ch; }
.af-gate p strong { color: var(--gold-light); }
.af-gate form { display: flex; gap: 8px; max-width: 440px; }
.af-gate input { flex: 1; min-width: 0; padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(217,184,114,0.35); background: #0d0b13;
  font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--ink); }
.af-gate input:focus { outline: none; border-color: rgba(217,184,114,0.85); }
.af-send { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: #1a1522;
  background: linear-gradient(135deg, #ecd6a4, #c49b5e); box-shadow: 0 6px 20px rgba(217,184,114,0.25); }
.af-send svg { width: 18px; height: 18px; }
.af-skip { align-self: flex-start; padding: 0; border: 0; background: none; cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--ink-dim);
  text-decoration: underline; text-underline-offset: 3px; text-align: left; }
.af-err { font-family: 'DM Sans', sans-serif; font-size: 13px; color: #f2a0a0; }
.af-err:empty { display: none; }
.af-close { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: var(--ink-dim); cursor: pointer; font-size: 22px; line-height: 1; }
.af-close:hover { color: var(--ink); }
.af-listen { display: flex; gap: 10px; flex-wrap: wrap; }
.af-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; border: 1.5px solid currentColor; text-decoration: none;
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; }
.af-btn svg { width: 18px; height: 18px; flex: none; }
.af-btn.sp { color: var(--af-sp); } .af-btn.yt { color: var(--af-yt); }
.af-btn:hover { background: rgba(255,255,255,0.05); }
.af-empty { grid-column: 1 / -1; padding: 34px; border-radius: 18px; border: 1.5px dashed rgba(217,184,114,0.3); text-align: center; font-family: 'DM Sans', sans-serif; color: var(--ink-dim); }

/* plataformas */
.cat .af-all { padding-top: 40px; }
.af-platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1000px; margin: 40px auto 0; }
.af-platforms a { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px 16px 24px; text-decoration: none; color: var(--ink);
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; transition: border-color .25s, transform .25s, color .25s; }
.af-platforms svg { width: 30px; height: 30px; color: var(--gold-light); }
.af-platforms a:hover { border-color: rgba(217,184,114,0.65); transform: translateY(-3px); color: var(--gold-light); }

/* final */
.af .c-final .c-eyebrow { margin-bottom: 18px; }
.af .c-final h2 { margin-bottom: 18px; }
.af-final-sub { max-width: 560px; margin: 0 auto 34px; font-family: 'DM Sans', sans-serif; font-size: 16px; line-height: 1.65; color: #e4dfee; }

@media (max-width: 900px) { .af-grid { grid-template-columns: 1fr; max-width: 640px; } .af-status { max-width: 640px; } }
@media (max-width: 760px) {
  .cat .af-hero { padding-bottom: 40px; }
  .af-realms { grid-template-columns: 1fr; gap: 12px; }
  .af-realm { aspect-ratio: auto; height: 132px; }
  .af-txt { padding: 16px 18px; }
  .af-realm b { font-size: 25px; }
  .af-realm small { font-size: 13px; }
  .af-search { margin-top: 22px; }
  .af-status { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
  .af-status .c-h2 { font-size: 34px; }
  .af-back { padding: 11px 18px 11px 14px; font-size: 11px; }
  .af-card { padding: 18px 14px 18px 20px; gap: 12px; }
  .af-card::before { top: 14px; bottom: 14px; }
  .af-card h3 { font-size: 21px; }
  .af-intent { font-size: 13.5px; }
  .af-playwrap { width: 64px; }
  .af-play { width: 48px; height: 48px; }
  .af-playwrap span { font-size: 9px; letter-spacing: 0.08em; }
  .af-card.open { min-height: 260px; }
  .af-gate { padding: 16px 44px 16px 18px; }
  .af-platforms { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
  .af-platforms a { padding: 20px 10px 18px; font-size: 11.5px; }
  .af-platforms svg { width: 26px; height: 26px; }
  .af-final-sub { font-size: 15px; margin-bottom: 26px; }
}
@media (prefers-reduced-motion: reduce) { .af-gate { animation: none; } .af-realm, .af-card { transition: none; } }
