/* ============================================================
   MAGNO ALVES — Link in Bio LP
   Pure static — sem build step
   ============================================================ */

/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #0c0c12;
  --surface:     #13131d;
  --surface-2:   #1a1a28;
  --border:      rgba(196,168,109,.14);
  --border-h:    rgba(196,168,109,.30);
  --gold:        #c4a86d;
  --gold-lt:     #d9bf8d;
  --gold-dim:    rgba(196,168,109,.16);
  --text:        #ede8e0;
  --muted:       #9a9090;
  --subtle:      #5e5b6e;
  --serif:       'Playfair Display', Georgia, serif;
  --sans:        'Inter', system-ui, sans-serif;
  --radius:      1rem;
  --ease:        cubic-bezier(.25,.46,.45,.94);
}

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.7;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── BACKGROUND ORBS ─────────────────────────────────────── */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
  opacity: .07;
}
.bg-orb--1 { width: 500px; height: 500px; background: var(--gold);  top: -120px; right: -160px; }
.bg-orb--2 { width: 380px; height: 380px; background: #4a3f8a; bottom: 10%; left: -100px; }

/* ── LAYOUT ───────────────────────────────────────────────── */
.page { position: relative; z-index: 1; padding: 2.5rem 1rem 4rem; }
.container { max-width: 520px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }

/* ── PROFILE ─────────────────────────────────────────────── */
.profile { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.profile__avatar {
  width: 96px; height: 96px; border-radius: 50%;
  border: 2px solid var(--border);
  overflow: hidden;
  box-shadow: 0 0 0 6px rgba(196,168,109,.07);
}
.profile__photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.profile__name   { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; letter-spacing: .01em; }
.profile__handle { font-size: .78rem; color: var(--subtle); letter-spacing: .06em; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero { text-align: center; padding: .5rem .5rem 0; }

.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gold-dim); border: 1px solid var(--border);
  border-radius: 999px; padding: .28rem .9rem;
  font-size: .7rem; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: var(--gold-lt);
  margin-bottom: 1.1rem;
}
.dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  display: inline-block; animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.85)} }

.hero__title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 600; line-height: 1.25;
  letter-spacing: -.01em; margin-bottom: 1rem;
}
.hero__title em { font-style: italic; color: var(--gold-lt); }
.hero__sub { font-size: .88rem; color: var(--muted); line-height: 1.75; max-width: 400px; margin: 0 auto; }

/* ── CARDS ────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color .3s var(--ease);
  /* scroll animation */
  opacity: 0;
  transform: translateY(16px);
  transition: border-color .3s var(--ease), opacity .5s var(--ease), transform .5s var(--ease);
}
.card:hover { border-color: var(--border-h); }
.card.visible { opacity: 1; transform: translateY(0); }

.card__label {
  font-size: .67rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}

/* ── AUTHORITY ───────────────────────────────────────────── */
.authority__text { font-size: .88rem; color: var(--muted); line-height: 1.8; margin-bottom: .85rem; }
.authority__text strong { color: var(--text); font-weight: 600; }

.pillars { list-style: none; display: flex; flex-direction: column; gap: .5rem; border-top: 1px solid var(--border); padding-top: .85rem; margin-top: .25rem; }
.pillar {
  display: flex; align-items: flex-start; gap: .55rem;
  font-size: .8rem; color: var(--muted); line-height: 1.5;
}
.pillar__check { flex-shrink: 0; color: var(--gold); margin-top: 1px; }

/* ── CONNECTION ──────────────────────────────────────────── */
.connection__list { list-style: none; display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.2rem; }
.connection__list li {
  font-size: .85rem; color: var(--muted); line-height: 1.65;
  padding-left: 1.1rem; position: relative;
}
.connection__list li::before {
  content: '—'; position: absolute; left: 0;
  color: var(--gold); font-weight: 600;
}
.connection__close {
  font-size: .86rem; color: var(--gold-lt); font-style: italic;
  border-top: 1px solid var(--border); padding-top: 1rem; line-height: 1.7;
}

/* ── VALUE ───────────────────────────────────────────────── */
.value__grid { display: flex; flex-direction: column; gap: 1rem; }
.value__item { padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.value__item:last-child { padding-bottom: 0; border-bottom: none; }
.value__title { font-size: .86rem; font-weight: 600; color: var(--text); margin-bottom: .25rem; }
.value__desc  { font-size: .8rem; color: var(--muted); line-height: 1.75; }

/* ── CTAs ─────────────────────────────────────────────────── */
.ctas {
  display: flex; flex-direction: column; gap: .7rem;
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.ctas.visible { opacity: 1; transform: translateY(0); }

.cta {
  display: flex; align-items: center; gap: .85rem;
  padding: .95rem 1.1rem; border-radius: var(--radius);
  text-decoration: none; border: 1px solid transparent;
  transition: all .25s var(--ease);
}
.cta--primary {
  background: linear-gradient(135deg,#c4a86d 0%,#a98c4f 100%);
  box-shadow: 0 4px 24px rgba(196,168,109,.22);
}
.cta--primary:hover { box-shadow: 0 6px 32px rgba(196,168,109,.36); transform: translateY(-2px); }
.cta--secondary { background: var(--surface); border-color: var(--border); }
.cta--secondary:hover { background: var(--surface-2); border-color: var(--border-h); transform: translateY(-1px); }
.cta--ghost { background: transparent; border-color: var(--border); }
.cta--ghost:hover { border-color: var(--border-h); color: var(--text); transform: translateY(-1px); }

.cta__icon {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: .6rem;
  display: flex; align-items: center; justify-content: center;
}
.cta--primary  .cta__icon { background: rgba(0,0,0,.18); color: #0c0c12; }
.cta--secondary .cta__icon,
.cta--ghost    .cta__icon { background: var(--gold-dim); color: var(--gold); }

.cta__content { flex: 1; display: flex; flex-direction: column; gap: .08rem; }
.cta__label { font-size: .86rem; font-weight: 600; line-height: 1.3; }
.cta--primary .cta__label { color: #0c0c12; }
.cta--secondary .cta__label,
.cta--ghost .cta__label    { color: var(--text); }
.cta__micro { font-size: .7rem; opacity: .65; line-height: 1.3; }
.cta--primary .cta__micro { color: rgba(12,12,18,.8); }
.cta--secondary .cta__micro,
.cta--ghost .cta__micro    { color: var(--muted); }

.cta__arrow { font-size: 1rem; opacity: .45; transition: opacity .2s, transform .2s; }
.cta--primary .cta__arrow { color: rgba(12,12,18,.6); }
.cta--secondary .cta__arrow,
.cta--ghost .cta__arrow { color: var(--muted); }
.cta:hover .cta__arrow { opacity: 1; transform: translateX(3px); }

/* ── QUOTE ───────────────────────────────────────────────── */
.quote { border-left: 3px solid var(--gold); }
.quote__text {
  font-family: var(--serif); font-size: .93rem; font-style: italic;
  color: var(--muted); line-height: 1.85; margin-bottom: 1rem;
  quotes: "\201C" "\201D";
}
.quote__text::before { content: open-quote;  color: var(--gold); font-size: 1.5em; line-height: 0; vertical-align: -.3em; margin-right: .05em; }
.quote__text::after  { content: close-quote; color: var(--gold); font-size: 1.5em; line-height: 0; vertical-align: -.3em; margin-left:  .05em; }
.quote__author { display: flex; flex-direction: column; gap: .2rem; border-top: 1px solid var(--border); padding-top: .85rem; }
.quote__name   { font-size: .84rem; font-weight: 600; color: var(--text); }
.quote__role   { font-size: .73rem; color: var(--subtle); letter-spacing: .03em; }

/* ── CLOSING ─────────────────────────────────────────────── */
.closing {
  text-align: center; padding: .5rem .5rem 0;
  opacity: 0; transform: translateY(16px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.closing.visible { opacity: 1; transform: translateY(0); }
.closing__text {
  font-family: var(--serif); font-size: .93rem; font-style: italic;
  color: var(--muted); line-height: 1.85; margin-bottom: 1.4rem;
}
.closing__cta {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .84rem; font-weight: 600; color: var(--gold);
  text-decoration: none; border-bottom: 1px solid transparent;
  padding-bottom: 2px; letter-spacing: .03em;
  transition: border-color .2s, gap .2s;
}
.closing__cta:hover { border-color: var(--gold); gap: .75rem; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer { text-align: center; }
.footer p { font-size: .7rem; color: var(--subtle); }
.footer a { color: var(--subtle); text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--gold); }

/* ── ENTRY ANIMATIONS (static elements) ─────────────────── */
.profile, .hero {
  animation: fadeUp .55s var(--ease) forwards;
}
.profile { animation-delay: .05s; opacity: 0; transform: translateY(14px); }
.hero    { animation-delay: .14s; opacity: 0; transform: translateY(14px); }
@keyframes fadeUp { to { opacity:1; transform:translateY(0); } }

/* ── FOCUS ───────────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ── REDUCED MOTION ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .card, .ctas, .closing { opacity: 1 !important; transform: none !important; }
}

/* ── DESKTOP ─────────────────────────────────────────────── */
@media (min-width: 640px) {
  .page { padding: 3.5rem 2rem 5rem; }
  .hero__title { font-size: 2.1rem; }
  .card { padding: 1.75rem; }
}
