/* Página de links da Ferliê (links.ferlie.com.br): pensada primeiro para o celular, aberta a partir do Instagram. */
:root {
  --papel: #f9f6ef;
  --branco: #fffdf9;
  --terracota: #bb775f;
  --terracota-escura: #97523c;
  --salvia: #7f8b6f;
  --salvia-clara: #e7eadf;
  --grafite: #3c3b36;
  --muted: #6c675d;
  --costura: 1.5px dashed rgba(187, 119, 95, .55);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.pagina-links { margin: 0; min-height: 100vh; min-height: 100dvh; overflow-x: hidden; background: radial-gradient(120% 60% at 50% 0%, #fffdf8 0%, var(--papel) 60%, #f3ede1 100%); color: var(--grafite); font: 400 16px/1.5 "Jost", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2.5px solid var(--terracota-escura); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.enfeite { position: fixed; width: 170px; height: 56px; color: var(--salvia); opacity: .35; pointer-events: none; }
.enfeite-1 { top: 18px; left: -40px; transform: rotate(-12deg); }
.enfeite-2 { bottom: 22px; right: -40px; transform: rotate(168deg); }

.links-pagina { position: relative; width: 100%; max-width: 460px; margin: 0 auto; padding: max(28px, env(safe-area-inset-top)) 18px max(28px, env(safe-area-inset-bottom)); }

/* Perfil */
.perfil { text-align: center; margin-bottom: 22px; }
.emblema { position: relative; display: grid; place-items: center; width: 132px; height: 132px; margin: 0 auto 14px; border-radius: 50%; background: var(--branco); box-shadow: 0 10px 30px rgba(60, 59, 54, .1); }
.emblema::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: var(--costura); }
.emblema img { width: 98px; }
.perfil-bio { margin: 0 auto; max-width: 30ch; white-space: pre-line; font-size: 15.5px; color: var(--muted); }

/* Botões de link */
.lista-links { display: grid; gap: 12px; }
.lk { display: grid; grid-template-columns: 46px 1fr 20px; align-items: center; gap: 14px; min-height: 68px; padding: 10px 14px 10px 11px; border: var(--costura); border-radius: 20px; background: var(--branco); text-decoration: none; box-shadow: 0 2px 0 rgba(60, 59, 54, .04); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; -webkit-tap-highlight-color: transparent; }
.lk:hover { transform: translateY(-2px); border-style: solid; border-color: var(--terracota); box-shadow: 0 12px 26px rgba(60, 59, 54, .1); }
.lk:active { transform: scale(.98); }
.lk-icone { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--salvia-clara); color: var(--terracota-escura); }
.lk-icone svg { width: 23px; height: 23px; }
.lk-texto { display: grid; min-width: 0; }
.lk-texto strong { font-weight: 500; font-size: 16.5px; line-height: 1.25; }
.lk-texto small { margin-top: 2px; font-size: 13.5px; line-height: 1.3; color: var(--muted); overflow-wrap: anywhere; }
.lk-seta { width: 20px; height: 20px; color: var(--terracota); }
.lk-destaque { border: 0; background: var(--terracota-escura); color: var(--branco); box-shadow: 0 10px 24px rgba(151, 82, 60, .3); }
.lk-destaque:hover { border: 0; background: #82432f; }
.lk-destaque .lk-icone { background: rgba(255, 253, 249, .16); color: var(--branco); }
.lk-destaque .lk-texto small, .lk-destaque .lk-seta { color: rgba(255, 253, 249, .82); }

/* Entrada em cascata (desligada com movimento reduzido) */
.lk, .vitrine { animation: sobe .5s var(--ease) both; }
.lk:nth-child(2) { animation-delay: .06s; } .lk:nth-child(3) { animation-delay: .12s; } .lk:nth-child(4) { animation-delay: .18s; }
.lk:nth-child(5) { animation-delay: .24s; } .lk:nth-child(6) { animation-delay: .3s; } .lk:nth-child(n+7) { animation-delay: .36s; }
.vitrine { animation-delay: .4s; }
@keyframes sobe { from { opacity: 0; transform: translateY(12px); } }

/* Vitrine de produtos */
.vitrine { margin-top: 30px; }
.vitrine h2 { position: relative; margin: 0 0 14px; font: 400 25px/1.2 "Gilda Display", Georgia, serif; text-align: center; }
.vitrine ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.vitrine a { display: grid; height: 100%; overflow: hidden; border-radius: 16px; background: var(--branco); text-decoration: none; }
.vitrine img { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; }
.v-nome { padding: 9px 11px 0; font-size: 14px; line-height: 1.3; }
.v-preco { align-self: end; padding: 4px 11px 11px; font-size: 14px; font-weight: 600; color: var(--terracota-escura); }

.links-rodape { margin-top: 30px; text-align: center; }
.assinatura { margin: 0; font: 32px/1.1 "Allura", cursive; color: var(--terracota-escura); }
.links-rodape a { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration-color: rgba(60, 59, 54, .3); text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .lk, .vitrine { animation: none; }
  .lk { transition: none; }
}
