/* Capa de entrada do painel da Ana: fundo de couro verde, logo em ouro, um botão grande e dois acessos menores. */
@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Atkinson'; src: url('/fonts/atkinson-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Atkinson'; src: url('/fonts/atkinson-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Atkinson'; src: url('/fonts/atkinson-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root { --ouro: #cea041; --ouro-claro: #e8c870; --ouro-vivo: #f4d062; --noite: #06170f; --palha: #f7f5ed; }
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font: 400 16px/1.5 'Atkinson', system-ui, sans-serif; color: var(--palha); background: var(--noite); }
:focus-visible { outline: 3px solid var(--ouro-claro); outline-offset: 3px; }

.capa {
  position: relative; min-height: 100svh; display: grid; place-items: center; padding: clamp(24px, 5vw, 56px) 20px; isolation: isolate; overflow: hidden;
  /* Para trocar o fundo: coloque a imagem em public/img/fundo-capa-admin.webp (mesmo nome). */
  background: radial-gradient(80% 70% at 50% 40%, rgba(40, 110, 62, .35), transparent 70%), url('/img/fundo-capa-admin.webp') center / cover no-repeat, #0b2a18;
}
.capa::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 100% at 50% 40%, transparent 45%, rgba(3, 12, 7, .78)); }

.capa__miolo { display: grid; justify-items: center; text-align: center; gap: 0; width: min(100%, 720px); }
.capa__rotulo { margin: 0 0 6px; font-size: .78rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--ouro-claro); }
.capa__nome {
  margin: 0; font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: clamp(1.7rem, 4.6vw, 2.5rem); line-height: 1.1; letter-spacing: .1em; text-transform: uppercase; color: #fbf1d4;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45); text-wrap: balance;
}
@media (min-width: 640px) { .capa__nome { white-space: nowrap; } }
.capa__logo { width: clamp(180px, 38vw, 270px); height: auto; margin: clamp(18px, 3vw, 30px) 0 clamp(18px, 3vw, 26px); filter: drop-shadow(0 8px 26px rgba(0, 0, 0, .45)); }
.capa__dica { margin: 0 0 12px; font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(247, 245, 237, .7); }

.capa__entrar {
  display: inline-flex; align-items: center; justify-content: center; width: min(100%, 360px); min-height: 56px; padding: 14px 28px; border-radius: 999px; text-decoration: none;
  font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 1.02rem; letter-spacing: .12em; text-transform: uppercase; color: #3a2a06;
  background: linear-gradient(180deg, #f8dc7c, #e3b84a); box-shadow: 0 0 0 1px rgba(255, 240, 190, .6) inset, 0 18px 36px -14px rgba(0, 0, 0, .7), 0 0 44px -8px rgba(244, 208, 98, .45);
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s;
}
.capa__entrar:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 240, 190, .8) inset, 0 22px 40px -14px rgba(0, 0, 0, .8), 0 0 60px -6px rgba(244, 208, 98, .6); }
.capa__entrar:active { transform: none; }

.capa__outros { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.capa__outros a {
  display: inline-flex; align-items: center; min-height: 42px; padding: 8px 20px; border-radius: 999px; text-decoration: none; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(247, 245, 237, .92); background: rgba(247, 245, 237, .08); border: 1px solid rgba(247, 245, 237, .22); backdrop-filter: blur(4px);
  transition: background-color .2s, border-color .2s, transform .3s cubic-bezier(.16, 1, .3, 1);
}
.capa__outros a:hover { background: rgba(247, 245, 237, .16); border-color: var(--ouro-claro); transform: translateY(-1px); }

.capa__assina { position: absolute; left: 0; right: 0; bottom: clamp(14px, 3vw, 26px); margin: 0; text-align: center; font-size: .86rem; letter-spacing: .08em; color: rgba(247, 245, 237, .7); }
.capa__assina b { font-weight: 700; color: var(--palha); }

@media (prefers-reduced-motion: no-preference) {
  .capa__miolo > * { animation: capa-entra .8s cubic-bezier(.16, 1, .3, 1) both; }
  .capa__miolo > :nth-child(2) { animation-delay: .06s; }
  .capa__miolo > :nth-child(3) { animation-delay: .14s; }
  .capa__miolo > :nth-child(4) { animation-delay: .22s; }
  .capa__miolo > :nth-child(5) { animation-delay: .3s; }
  .capa__miolo > :nth-child(6) { animation-delay: .38s; }
  @keyframes capa-entra { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
@media (max-height: 640px) { .capa { align-items: start; padding-bottom: 64px; } }
