/* ============================================================
   links.alexpossato.com — linktree da marca Alex Possato
   Paleta e fontes espelhadas do site (Fraunces + Manrope).
   ============================================================ */
:root{
  --blue-500:#2f9bd6; --blue-600:#1f7cb2; --blue-700:#164e6e;
  --green-500:#7bb241; --green-600:#5d8f2d;
  --ink:#16242e; --muted:#5b6b76; --line:#e7eef2;
  --cream:#f6fafc; --white:#fff;
  --grad-deep:linear-gradient(165deg,#0f3b52 0%,#164e6e 52%,#1f7cb2 100%);
  --serif:'Fraunces',Georgia,serif;
  --sans:'Manrope',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  --r:18px; --pill:999px;
  --shadow:0 18px 40px -20px rgba(15,59,82,.5);
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{
  font-family:var(--sans); color:var(--ink); line-height:1.5;
  min-height:100vh; -webkit-font-smoothing:antialiased;
  background:var(--grad-deep);
  padding:clamp(20px,6vw,44px) 16px 40px;
  display:flex; justify-content:center;
}
a{color:inherit;text-decoration:none}
h1,h2{font-family:var(--serif);font-weight:600;line-height:1.15;letter-spacing:-.01em}

.wrap{width:100%;max-width:520px;display:flex;flex-direction:column;gap:22px}

/* ---- Perfil ---- */
.profile{text-align:center;color:var(--white);display:flex;flex-direction:column;align-items:center;gap:6px}
.avatar{
  width:112px;height:112px;border-radius:50%;object-fit:cover;
  border:3px solid rgba(255,255,255,.85); box-shadow:var(--shadow); margin-bottom:6px;
}
.profile h1{font-size:1.7rem;color:var(--white)}
.handle{font-weight:700;color:var(--blue-500);font-size:.95rem}
.bio{color:rgba(255,255,255,.82);font-size:.95rem;max-width:34ch}
.bio em{color:rgba(255,255,255,.95);font-style:italic}

/* ---- Agenda ---- */
.eyebrow{
  font-family:var(--sans);font-size:.72rem;font-weight:700;text-transform:uppercase;
  letter-spacing:.14em;color:rgba(255,255,255,.7);text-align:center;margin-bottom:12px;
}
.agenda-list{display:flex;flex-direction:column;gap:10px}
.ev{
  display:flex;align-items:center;gap:14px;background:var(--white);
  border-radius:var(--r);padding:13px 15px;box-shadow:var(--shadow);
  border:1px solid rgba(255,255,255,.5);transition:transform .18s ease, box-shadow .18s ease;
}
.ev:hover{transform:translateY(-2px);box-shadow:0 24px 46px -20px rgba(15,59,82,.55)}
.ev__date{
  flex:none;width:56px;height:58px;border-radius:14px;display:grid;place-content:center;
  text-align:center;line-height:1.05;background:linear-gradient(160deg,var(--cream),#e9f3f8);
}
.ev__date .d{font-family:var(--serif);font-size:1.45rem;font-weight:600;color:var(--blue-700);display:block}
.ev__date .m{font-size:.64rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:700}
.ev__body{min-width:0;flex:1}
.ev__tipo{
  display:inline-block;font-size:.64rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;
  color:var(--green-600);background:rgba(123,178,65,.14);border-radius:var(--pill);padding:2px 9px;margin-bottom:3px;
}
.ev__title{font-family:var(--serif);font-weight:600;font-size:1.04rem;color:var(--ink);line-height:1.2}
.ev__meta{font-size:.8rem;color:var(--muted);margin-top:2px}
.ev__go{flex:none;color:var(--blue-600);font-weight:700;font-size:1.1rem}

.ag-skeleton{height:84px;border-radius:var(--r);background:linear-gradient(100deg,rgba(255,255,255,.14),rgba(255,255,255,.28),rgba(255,255,255,.14));background-size:200% 100%;animation:sk 1.3s ease-in-out infinite}
@keyframes sk{0%{background-position:200% 0}100%{background-position:-200% 0}}

/* estado vazio: convite pro WhatsApp */
.ag-empty{
  background:rgba(255,255,255,.1);border:1px dashed rgba(255,255,255,.4);border-radius:var(--r);
  padding:16px 18px;text-align:center;color:rgba(255,255,255,.9);font-size:.92rem;
}
.ag-empty a{display:inline-block;margin-top:9px;background:var(--green-500);color:#fff;font-weight:700;
  padding:9px 18px;border-radius:var(--pill);font-size:.88rem}

/* ---- Links fixos ---- */
.links{display:flex;flex-direction:column;gap:11px}
.link{
  display:flex;align-items:center;gap:13px;background:rgba(255,255,255,.96);
  border-radius:var(--pill);padding:14px 18px;box-shadow:var(--shadow);
  transition:transform .18s ease, box-shadow .18s ease;
}
.link:hover{transform:translateY(-2px);box-shadow:0 24px 46px -20px rgba(15,59,82,.55)}
.link:active{transform:translateY(0)}
.link__ic{flex:none;font-size:1.25rem;width:30px;text-align:center}
.link__tx{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.25}
.link__tx b{font-weight:700;font-size:.98rem}
.link__tx small{color:var(--muted);font-size:.78rem}
.link__go{flex:none;color:var(--blue-600);font-weight:800;opacity:.7}

/* ---- Rodapé ---- */
.foot{text-align:center;color:rgba(255,255,255,.6);font-size:.78rem;display:flex;flex-direction:column;gap:3px;margin-top:6px}
.foot a{color:rgba(255,255,255,.82);font-weight:600}

@media (min-width:560px){ .profile h1{font-size:1.9rem} }
@media (prefers-reduced-motion:reduce){ *{animation:none!important;transition:none!important} }
