/* ==========================================================
   WG — página de links
   O cartão de visita em pé (5:9): os links são as linhas gravadas nele.
   ========================================================== */

.pagina {
  width: 100%; max-width: 480px; margin: 0 auto;
  padding: clamp(28px, 6vh, 64px) 16px 36px;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px;
}

.cartao-v {
  position: relative;
  aspect-ratio: 5 / 9;
  display: flex; flex-direction: column;
  padding: 11% 8% 9%;
  background: var(--duplex) var(--textura-duplex);
  color: var(--creme);
  border-radius: 10px;
  box-shadow: 0 0 0 2px var(--ouro-escuro), 0 2px 0 2px #5E4519, var(--sombra-cartao);
}
.cartao-v :focus-visible { outline-color: var(--ouro-claro); }
/* sem overflow:hidden: a proporção 5:9 é o mínimo e o cartão cresce com o conteúdo */
.cartao-v::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(70% 50% at calc(50% + var(--lx) * -45%) calc(30% + var(--ly) * -40%), rgba(255, 236, 214, .08), transparent 70%);
}
.cartao-v__mono { width: 56%; margin: 0 auto 30px; --prof: 2px; }

.cartao-v__perfil { text-align: center; }
.cartao-v__nome { font-family: var(--f-display); font-weight: 400; font-size: clamp(34px, 9.4vw, 44px); line-height: 1; letter-spacing: -0.01em; }
.cartao-v__oficio { margin-top: 14px; color: var(--ouro); font-size: 11px; }
.cartao-v__gancho { margin: 16px auto 0; max-width: 24ch; font-style: italic; font-weight: 300; font-size: 17px; line-height: 1.4; color: var(--creme-suave); }

.linhas { margin-top: 30px; display: grid; }
.linhas__item--foil { margin-bottom: 10px; }
.linhas__item--foil .foil-btn {
  width: 100%; justify-content: space-between; min-height: 68px; padding: 12px 20px 12px 22px;
}
.foil-btn > span { display: grid; gap: 3px; text-align: left; }
.foil-btn .caixa { font-size: 13px; letter-spacing: .24em; }
.foil-btn small { font-family: var(--f-texto); font-size: 14px; letter-spacing: .01em; color: #4A3814; }

/* linhas gravadas */
.linha {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 66px; padding: 10px 4px;
  border-bottom: 1px solid rgba(244, 239, 230, .1);
  text-decoration: none;
}
.linha > span { display: grid; gap: 3px; }
.linha__rotulo { font-size: 19px; line-height: 1.25; color: var(--creme); }
.linha__sub { font-size: 11px; letter-spacing: .26em; color: var(--creme-fraco); }
.linha svg { width: 18px; height: 18px; flex: none; color: var(--ouro); transition: transform .4s var(--ease-prensa); }
.linha:hover .linha__rotulo { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.linha:hover svg { transform: translateX(4px); }

.cartao-v__selo { width: 34px; margin: auto auto 0; padding-top: 26px; box-sizing: content-box; -webkit-mask-origin: content-box; mask-origin: content-box; }

/* trabalhos recentes: três provas soltas sobre a mesa */
.recentes__link { display: grid; justify-items: center; gap: 22px; text-decoration: none; }
.recentes__grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: 100%; }
.recentes__prova {
  background: var(--duplex); padding: 8px 8px 10px;
  transform: rotate(var(--giro, 0deg));
  box-shadow: 0 0 0 1px var(--ouro-escuro), var(--sombra-papel);
  transition: transform .6s var(--ease-prensa);
}
.recentes__prova img { width: 100%; aspect-ratio: 195 / 229; object-fit: cover; }
.recentes__link:hover .recentes__prova { transform: translateY(-4px) rotate(0deg); }
.recentes__nota { font-family: var(--f-mao); font-size: 22px; line-height: 1.2; color: var(--caneta); transform: rotate(-2deg); padding: 6px 0; transition: color .3s; }
.recentes__link:hover .recentes__nota { color: var(--tinta); }

.rodape { text-align: center; font-size: 11px; color: var(--tinta-suave); }
.rodape__credito { margin-top: 8px; }
.rodape__credito a { white-space: nowrap; color: var(--tinta); text-decoration: none; background: linear-gradient(var(--ouro), var(--ouro)) left 100% / 100% 1px no-repeat; padding-bottom: 2px; }
.rodape__credito a:hover { color: var(--ouro-escuro); }
