/* ==========================================================================
   Yas Bruxa — página de links
   Cabaré de veludo: vinho, bordô e preto, com ouro e rosé.
   Mobile primeiro. Animações só para quem não pediu redução de movimento.
   ========================================================================== */

/* ---------- Cores, fontes e medidas ---------- */

:root {
  /* Veludo */
  --preto-vinho: #120206;
  --vinho-900: #230409;
  --vinho-800: #3a0610;
  --vinho-700: #560a16;
  --vinho-600: #74101f;
  --rubi: #9c1529;

  /* Metais */
  --ouro-100: #fbeecb;
  --ouro-300: #ecd08f;
  --ouro-500: #d2a85e;
  --ouro-700: #a17a37;
  --rose: #f3c9bf;

  /* Texto */
  --creme: #fdf2ea;
  --texto-suave: #e8c9c1;

  --foco: #ffe7ad;

  --fonte-display: "Bodoni Moda", "Bodoni 72", Didot, "Playfair Display", Georgia, "Times New Roman", serif;
  --fonte-texto: "Jost", Futura, "Avenir Next", "Century Gothic", system-ui, -apple-system, "Segoe UI", sans-serif;

  --largura: 34rem;
  --raio: 20px;
  --prega: 76px;

  /* Texturas do veludo (SVG embutido; nenhuma imagem externa). */
  --tex-amassado: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520'%3E%3Cfilter id='a' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.03 .004' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .3 0 0 0 0 .36 1.2 0 0 0 -.5'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");
  --tex-grao: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='2' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .95 -.34'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

@media (min-width: 600px) {
  :root { --prega: 104px; }
}

@media (min-width: 900px) {
  html { font-size: 106.25%; }
}

/* ---------- Base ---------- */

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

[hidden] { display: none !important; }

html {
  color-scheme: dark;
  background: var(--vinho-800);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  background: var(--vinho-800);
  color: var(--creme);
  font-family: var(--fonte-texto);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p { margin: 0; }

button { font: inherit; color: inherit; }

.defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.icone {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Foco visível em tudo que recebe teclado. */
:focus-visible {
  outline: 3px solid var(--foco);
  outline-offset: 3px;
}

/* Títulos que recebem foco só por script (para leitores de tela) não ganham contorno. */
[tabindex="-1"]:focus { outline: none; }

/* ---------- Cenário: veludo, luz de palco, cortinas ---------- */

.cenario {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(125% 85% at 50% -8%, #92142a 0%, #650d1b 34%, #3a0610 68%, #1e0308 100%);
}

/* Pregas da cortina de fundo + brilho amassado do veludo. */
.cenario::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    var(--tex-amassado),
    repeating-linear-gradient(
      90deg,
      rgba(12, 0, 3, .44) 0,
      rgba(12, 0, 3, .10) calc(var(--prega) * .24),
      rgba(255, 138, 150, .075) calc(var(--prega) * .42),
      rgba(12, 0, 3, .08) calc(var(--prega) * .6),
      rgba(12, 0, 3, .44) var(--prega)
    );
  background-size: 520px 520px, auto;
  background-position: 50% 0;
  opacity: .95;
}

/* Grão fino + vinheta escura nas bordas. */
.cenario::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    var(--tex-grao),
    radial-gradient(95% 78% at 50% 34%, transparent 30%, rgba(8, 1, 3, .66) 100%);
  background-size: 200px 200px, auto;
}

/* Foco de luz vindo de cima. */
.cenario__luz {
  position: absolute;
  left: 50%;
  top: -8vh;
  width: min(170vw, 1020px);
  height: 96vh;
  transform: translateX(-50%);
  background:
    radial-gradient(42% 40% at 50% 34%, rgba(255, 196, 160, .26) 0%, rgba(255, 128, 128, .10) 48%, transparent 76%),
    conic-gradient(from 0deg at 50% -4%, transparent 0 157deg, rgba(255, 205, 175, .09) 169deg, rgba(255, 224, 196, .15) 180deg, rgba(255, 205, 175, .09) 191deg, transparent 203deg 360deg);
  -webkit-mask-image: linear-gradient(#000 45%, transparent 96%);
  mask-image: linear-gradient(#000 45%, transparent 96%);
}

.cenario__cortina {
  position: absolute;
  top: 0;
  z-index: 1;
  display: none;
  width: clamp(120px, 15vw, 250px);
  height: 100%;
}

.cenario__cortina--esq {
  left: 0;
  filter: drop-shadow(16px 0 26px rgba(0, 0, 0, .55));
}

.cenario__cortina--dir {
  right: 0;
  transform: scaleX(-1);
  filter: drop-shadow(16px 0 26px rgba(0, 0, 0, .55));
}

@media (min-width: 900px) {
  .cenario__cortina { display: block; }
}

/* Sanefa: fica no topo da página e rola junto com ela. */
.sanefa {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  height: 96px;
  overflow: hidden;
  pointer-events: none;
}

.sanefa__svg {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  margin-left: -2250px;
  transform: scale(.76);
  transform-origin: 50% 0;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .5));
}

@media (min-width: 600px) {
  .sanefa__svg { transform: none; }
}

main {
  position: relative;
  z-index: 1;
}

/* ---------- Confirmação de idade ---------- */

.idade-ok #portal { display: none; }

.portal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 100vh;
  min-height: 100svh;
  padding: 96px 18px max(28px, env(safe-area-inset-bottom));
}

.portal__marca {
  padding: .1em .2em .16em;
  font-family: var(--fonte-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.1rem, 9.5vw, 2.7rem);
  line-height: 1;
  color: var(--ouro-300);
  background: linear-gradient(176deg, #fff3cf 10%, #f0d596 36%, #c99b4c 54%, #f6dfa8 66%, #b98a3d 94%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 1px rgba(20, 2, 6, .7));
}

.portal__painel {
  width: min(100%, 27rem);
  padding: 34px 24px 26px;
  text-align: center;
  background: linear-gradient(180deg, rgba(40, 6, 12, .93), rgba(14, 2, 5, .95));
  border: 1px solid rgba(214, 172, 98, .6);
  border-radius: 24px;
  box-shadow:
    inset 0 0 0 6px rgba(13, 2, 4, .55),
    inset 0 0 0 7px rgba(214, 172, 98, .22),
    0 30px 70px -10px rgba(0, 0, 0, .7),
    0 0 90px -20px rgba(255, 150, 120, .22);
}

.selo {
  position: relative;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  border: 1.5px solid var(--ouro-500);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #7d1123, #2a0409 75%);
  box-shadow: 0 0 34px -6px rgba(236, 190, 120, .5);
}

.selo::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px dashed rgba(236, 208, 143, .6);
  border-radius: 50%;
}

.selo__texto {
  display: inline-flex;
  align-items: flex-start;
  font-family: var(--fonte-display);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--ouro-100);
}

.selo__mais {
  margin: .04em 0 0 .06em;
  font-family: var(--fonte-texto);
  font-weight: 500;
  font-size: .62em;
  line-height: 1;
  color: var(--ouro-300);
}

.portal__titulo {
  font-family: var(--fonte-texto);
  font-weight: 500;
  font-size: .76rem;
  line-height: 1.2;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ouro-300);
}

.portal__mensagem {
  margin-top: 14px;
  font-family: var(--fonte-display);
  font-weight: 500;
  font-size: clamp(1.32rem, 5.6vw, 1.55rem);
  line-height: 1.28;
  color: var(--creme);
  text-wrap: balance;
}

.portal__acoes {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.portal__nota {
  margin-top: 18px;
  font-size: .86rem;
  line-height: 1.5;
  color: var(--texto-suave);
  text-wrap: pretty;
}

.portal__nota--alerta {
  color: var(--ouro-100);
  font-weight: 500;
}

.portal__aviso {
  font-size: .9rem;
  font-weight: 500;
  color: var(--ouro-100);
}

.portal__aviso:not(:empty) { margin-top: 16px; }

/* ---------- Botões ---------- */

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.25;
  letter-spacing: .01em;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}

.botao--ouro {
  color: #2a0409;
  background: linear-gradient(180deg, #f8e4b3 0%, #e0b96f 55%, #c1924a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), 0 12px 26px -8px rgba(0, 0, 0, .7), 0 0 30px -8px rgba(236, 190, 120, .55);
}

.botao--contorno {
  color: var(--creme);
  background: rgba(255, 255, 255, .03);
  border-color: rgba(243, 201, 191, .55);
}

a.botao { text-decoration: none; }

.botao:active { transform: scale(.985); }

@media (hover: hover) {
  .botao--ouro:hover {
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 16px 30px -8px rgba(0, 0, 0, .75), 0 0 40px -6px rgba(236, 190, 120, .75);
  }

  .botao--contorno:hover {
    background: rgba(243, 201, 191, .1);
    border-color: var(--rose);
  }
}

/* ---------- Página ---------- */

.conteudo {
  width: min(100% - 2.25rem, var(--largura));
  margin-inline: auto;
  padding: 104px 0 max(26px, env(safe-area-inset-bottom));
}

@media (min-width: 600px) {
  .conteudo { padding-top: 128px; }
}

/* ---------- Perfil ---------- */

.perfil { text-align: center; }

.moldura {
  --foto: clamp(124px, 36vw, 152px);
  --raio-luzes: calc(var(--foto) / 2 + 15px);
  position: relative;
  width: var(--foto);
  height: var(--foto);
  margin: 0 auto 30px;
}

.moldura__aro {
  position: absolute;
  inset: 0;
  padding: 3px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #f8e6b6, #a9802f, #f1d59a, #8f6a2c, #f6dfa8, #b98a3d, #f8e6b6);
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, .75), 0 0 60px -6px rgba(255, 170, 120, .35);
}

.moldura__foto {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 28%, #86132a 0%, #4a0812 55%, #230409 100%);
  box-shadow: inset 0 0 26px rgba(0, 0, 0, .55);
}

.moldura__foto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.moldura__monograma {
  padding: 0 .12em .06em;
  font-family: var(--fonte-display);
  font-style: italic;
  font-weight: 600;
  font-size: calc(var(--foto) * .36);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ouro-300);
  background: linear-gradient(176deg, #fff3cf 10%, #e9cb88 45%, #b98a3d 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Lâmpadas de camarim em volta da foto. */
.moldura__lampada {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  margin: -3.5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fffaf0, #f5d58d 55%, #b98a3d);
  box-shadow: 0 0 6px 1px rgba(255, 214, 130, .8), 0 0 16px 3px rgba(255, 170, 90, .38);
  transform: rotate(calc(var(--n) * 20deg)) translateY(calc(var(--raio-luzes) * -1));
}

.perfil__nome {
  padding: .06em .14em .14em;
  font-family: var(--fonte-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(3.2rem, 15.5vw, 5rem);
  line-height: .96;
  letter-spacing: -.012em;
  color: var(--ouro-300);
  background: linear-gradient(176deg, #fff3cf 8%, #f0d596 32%, #c99b4c 52%, #f6dfa8 64%, #b98a3d 94%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 1px rgba(20, 2, 6, .75)) drop-shadow(0 0 24px rgba(255, 190, 120, .22));
}

.ornamento {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
  color: var(--ouro-500);
}

.ornamento::before,
.ornamento::after {
  content: "";
  width: min(22vw, 92px);
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
}

.ornamento::after { transform: scaleX(-1); }

.ornamento span {
  width: 7px;
  height: 7px;
  background: var(--ouro-300);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(236, 208, 143, .7);
}

.perfil__frase {
  max-width: 22rem;
  margin: 16px auto 0;
  font-family: var(--fonte-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.14rem, 4.9vw, 1.32rem);
  line-height: 1.35;
  color: #f9ddd5;
  text-shadow: 0 1px 2px rgba(20, 2, 6, .55);
  text-wrap: balance;
}

/* ---------- Cards de links ---------- */

.links { margin-top: 36px; }

.links__titulo {
  margin-bottom: 18px;
  font-family: var(--fonte-texto);
  font-weight: 500;
  font-size: .76rem;
  line-height: 1.2;
  letter-spacing: .34em;
  text-indent: .34em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ouro-300);
}

.links__lista {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 16px 16px 14px 19px;
  overflow: hidden;
  border: 1px solid rgba(214, 172, 98, .36);
  border-radius: var(--raio);
  background: linear-gradient(140deg, rgba(50, 8, 15, .9) 0%, rgba(22, 3, 8, .93) 58%, rgba(13, 2, 5, .95) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 220, 200, .09), 0 16px 30px -14px rgba(0, 0, 0, .75);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

/* Filete lateral, como nas prévias de link dos mensageiros. */
.card::before {
  content: "";
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--ouro-300), var(--rose));
  opacity: .9;
}

/* Reflexo que atravessa o card ao passar o mouse. */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 36%, rgba(255, 232, 205, .1) 49%, transparent 62%);
  transform: translateX(-130%);
  pointer-events: none;
}

.card__icone {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(236, 208, 143, .38);
  border-radius: 14px;
  color: var(--ouro-300);
  background: radial-gradient(120% 120% at 30% 18%, #8f142a, #3a0610 72%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .13), 0 6px 14px -6px rgba(0, 0, 0, .7);
}

.card__icone .icone {
  width: 22px;
  height: 22px;
}

.card__corpo { min-width: 0; }

.card__titulo {
  font-family: var(--fonte-texto);
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.25;
  color: var(--creme);
  overflow-wrap: anywhere;
}

.card__link {
  color: inherit;
  text-decoration: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

/* A área do link cobre o card inteiro: um único alvo, clicável e focável. */
.card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card__descricao {
  margin-top: 4px;
  font-size: .93rem;
  line-height: 1.42;
  color: var(--texto-suave);
  overflow-wrap: anywhere;
}

.card__rodape {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 10px;
  margin-top: 11px;
}

.card__dominio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: .83rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--ouro-300);
}

.card__dominio .icone {
  flex: none;
  width: 14px;
  height: 14px;
}

.card__dominio-texto { overflow-wrap: anywhere; }

.card__abrir {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 5px 10px 5px 13px;
  border: 1px solid rgba(236, 208, 143, .5);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ouro-100);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.card__abrir .icone {
  width: 14px;
  height: 14px;
  stroke-width: 2;
  transition: transform .25s ease;
}

.card--destaque {
  border-color: rgba(236, 208, 143, .8);
  background: linear-gradient(140deg, rgba(104, 14, 30, .93) 0%, rgba(44, 6, 13, .94) 55%, rgba(18, 3, 6, .96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 200, .14),
    0 0 0 1px rgba(236, 208, 143, .16),
    0 18px 36px -14px rgba(0, 0, 0, .8),
    0 0 46px -12px rgba(236, 190, 120, .45);
}

.card--destaque .card__abrir {
  border-color: transparent;
  color: #2a0409;
  background: linear-gradient(180deg, #f8e4b3, #d9b169);
}

/* Celulares estreitos: aperta as medidas para o domínio caber ao lado de "Abrir". */
@media (max-width: 400px) {
  .conteudo { width: min(100% - 2rem, var(--largura)); }

  .card {
    gap: 12px;
    padding: 15px 14px 13px 17px;
  }

  .card__icone {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .card__abrir {
    gap: 4px;
    padding: 5px 9px 5px 11px;
    font-size: .74rem;
    letter-spacing: .06em;
  }
}

/* Foco do teclado: contorno no card inteiro. */
.card:has(.card__link:focus-visible) {
  outline: 3px solid var(--foco);
  outline-offset: 3px;
}

@supports not selector(:has(a)) {
  .card:focus-within {
    outline: 3px solid var(--foco);
    outline-offset: 3px;
  }
}

.card:active { transform: scale(.992); }

@media (hover: hover) {
  .card:hover {
    transform: translateY(-2px);
    border-color: rgba(236, 208, 143, .78);
    box-shadow: inset 0 1px 0 rgba(255, 220, 200, .12), 0 22px 38px -14px rgba(0, 0, 0, .85), 0 0 40px -14px rgba(236, 190, 120, .5);
  }

  .card:hover .card__abrir {
    border-color: transparent;
    color: #2a0409;
    background: var(--ouro-300);
  }

  .card:hover .card__abrir .icone { transform: translate(2px, -2px); }
}

/* ---------- Rodapé ---------- */

.rodape {
  margin-top: 38px;
  text-align: center;
  font-size: .84rem;
  color: var(--texto-suave);
}

.rodape::before {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  margin: 0 auto 18px;
  background: linear-gradient(90deg, transparent, var(--ouro-500), transparent);
}

.rodape__texto { text-wrap: balance; }

.rodape__botao {
  min-height: 44px;
  margin-top: 4px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--texto-suave);
  font-size: .84rem;
  text-decoration: underline;
  text-decoration-color: rgba(232, 201, 193, .55);
  text-underline-offset: 4px;
  cursor: pointer;
}

@media (hover: hover) {
  .rodape__botao:hover {
    color: var(--ouro-100);
    text-decoration-color: currentColor;
  }
}

/* ---------- Movimento (só para quem não pediu redução) ---------- */

@media (prefers-reduced-motion: no-preference) {
  @keyframes surgir {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }

  @keyframes respirar {
    0%, 100% { opacity: .84; }
    50% { opacity: 1; }
  }

  @keyframes cintilar {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
  }

  .cenario__luz { animation: respirar 9s ease-in-out infinite; }

  .portal__marca,
  .portal__painel { animation: surgir .7s cubic-bezier(.2, .7, .2, 1) both; }

  .portal__painel { animation-delay: .1s; }

  .perfil > * { animation: surgir .8s cubic-bezier(.2, .7, .2, 1) both; }
  .perfil > :nth-child(2) { animation-delay: .1s; }
  .perfil > :nth-child(3) { animation-delay: .18s; }
  .perfil > :nth-child(4) { animation-delay: .26s; }

  .links__titulo { animation: surgir .8s cubic-bezier(.2, .7, .2, 1) .34s both; }

  .card {
    animation: surgir .7s cubic-bezier(.2, .7, .2, 1) both;
    animation-delay: calc(.42s + var(--i, 0) * 70ms);
  }

  .rodape { animation: surgir .8s ease 1s both; }

  .moldura__lampada { animation: cintilar 3.2s ease-in-out infinite; }
  .moldura__lampada:nth-child(even) { animation-delay: -1.6s; }

  @media (hover: hover) {
    .card:hover::after {
      transform: translateX(130%);
      transition: transform .9s ease;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Alto contraste do sistema (Windows) ---------- */

@media (forced-colors: active) {
  .portal__marca,
  .perfil__nome,
  .moldura__monograma {
    background: none;
    -webkit-text-fill-color: currentColor;
    filter: none;
  }

  .card,
  .botao { border: 1px solid CanvasText; }
}
