:root {
  --green-brand: #465d4c;
  --green-deep: #263c2e;
  --green-ink: #1b3023;
  --gold: #d7b247;
  --gold-light: #f0d579;
  --cream: #fffaf0;
  --cream-soft: #f4ecdd;
  --white-muted: rgba(255, 250, 240, 0.74);
  --line: rgba(240, 213, 121, 0.26);
  --font-body: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --radius-card: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; }
body { min-height: 100svh; overflow-x: hidden; color: var(--cream); background: var(--green-brand); font-family: var(--font-body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }
::selection { color: var(--green-ink); background: var(--gold-light); }

.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: linear-gradient(180deg, transparent 0, transparent 320px, rgba(27, 48, 35, 0.16) 62%, rgba(27, 48, 35, 0.38) 100%), var(--green-brand); }
.ambient::after { content: ''; position: absolute; inset: 0; opacity: 0.16; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 320px, #000 520px); mask-image: linear-gradient(to bottom, transparent 0, transparent 320px, #000 520px); pointer-events: none; }
.ambient-orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: 0.45; }
.ambient-orb-top { top: 20rem; right: -15rem; width: 30rem; height: 30rem; background: radial-gradient(circle, rgba(240, 213, 121, 0.14), transparent 68%); }
.ambient-orb-bottom { bottom: -16rem; left: -15rem; width: 34rem; height: 34rem; background: radial-gradient(circle, rgba(27, 48, 35, 0.62), transparent 70%); }
.ambient-line { position: absolute; top: 36%; left: 50%; width: min(38rem, 86vw); height: min(38rem, 86vw); border: 1px solid rgba(240, 213, 121, 0.08); border-radius: 48% 52% 55% 45%; transform: translateX(-50%) rotate(-18deg); }

.page { width: min(100% - 2rem, 520px); min-height: 100svh; margin: 0 auto; padding: calc(1.6rem + env(safe-area-inset-top)) 0 calc(1.6rem + env(safe-area-inset-bottom)); }
.profile { display: flex; flex-direction: column; align-items: center; margin-bottom: 1.8rem; text-align: center; animation: enter 700ms var(--ease) both; }
.brand-logo { width: clamp(230px, 68vw, 310px); height: auto; margin: -1rem auto 0.4rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--gold-light); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.eyebrow::before, .eyebrow::after { content: ''; width: 1.6rem; height: 1px; background: rgba(240, 213, 121, 0.48); }
.bio { max-width: 410px; margin-top: 0.85rem; color: var(--white-muted); font-size: 1rem; line-height: 1.65; text-wrap: balance; }

.links { display: grid; gap: 0.75rem; }
.link { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 0.9rem; min-height: 76px; padding: 0.78rem 1rem 0.78rem 0.8rem; border: 1px solid var(--line); border-radius: var(--radius-card); background: rgba(255, 250, 240, 0.075); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 12px 30px rgba(22, 36, 26, 0.08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform var(--ease), border-color var(--ease), background-color var(--ease), box-shadow var(--ease); animation: enter 600ms var(--ease) both; }
.link:nth-child(1) { animation-delay: 80ms; }
.link:nth-child(2) { animation-delay: 140ms; }
.link:nth-child(3) { animation-delay: 200ms; }
.link:nth-child(4) { animation-delay: 260ms; }
.link:nth-child(5) { animation-delay: 320ms; }
.link-icon { display: grid; width: 48px; height: 48px; place-items: center; flex-shrink: 0; color: var(--gold-light); border: 1px solid rgba(240, 213, 121, 0.22); border-radius: 15px; background: rgba(27, 48, 35, 0.18); }
.link-icon svg {
  width: 24px;
  height: 24px;
}

.link-icon-duofit {
  background: #4b4f3e;
}

.duofit-mark {
  position: relative;
  overflow: hidden;
  width: 40px;
  height: 25px;
}

/* Enquadra a marca e deixa o slogan no texto do card. */
.duofit-mark img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 84px;
  max-width: none;
  height: auto;
  transform: translate(-50%, -46.25%);
}

.link-text { display: flex; min-width: 0; flex-direction: column; gap: 0.15rem; }
.link-text strong { color: var(--cream); font-size: 1rem; font-weight: 600; line-height: 1.3; }
.link-text small { color: var(--white-muted); font-size: 0.86rem; line-height: 1.35; }
.link-action { padding: 0.42rem 0.7rem; color: var(--green-ink); border: 1px solid rgba(27, 48, 35, 0.16); border-radius: 999px; background: rgba(255, 250, 240, 0.44); font-size: 0.76rem; font-weight: 700; }
.link-featured { border-color: rgba(255, 250, 240, 0.16); background: linear-gradient(135deg, #e5c45f 0%, var(--gold) 58%, #c99e35 100%); box-shadow: 0 14px 34px rgba(34, 47, 28, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.28); }
.link-featured .link-icon { color: var(--green-ink); border-color: rgba(27, 48, 35, 0.13); background: rgba(255, 250, 240, 0.2); }
.link-featured .link-text strong { color: var(--green-ink); }
.link-featured .link-text small { color: rgba(27, 48, 35, 0.74); }
.link:where([href]):active { transform: scale(0.985); }

.foot { padding-top: 2.4rem; text-align: center; animation: enter 600ms 380ms var(--ease) both; }
.follow-label { margin-bottom: 0.8rem; color: var(--white-muted); font-size: 0.82rem; font-weight: 500; }
.socials { display: flex; justify-content: center; gap: 0.7rem; margin-bottom: 1rem; }
.socials a { display: grid; width: 46px; height: 46px; place-items: center; color: var(--gold-light); border: 1px solid var(--line); border-radius: 15px; background: rgba(255, 250, 240, 0.055); transition: transform var(--ease), color var(--ease), background-color var(--ease), border-color var(--ease); }
.socials svg { width: 20px; height: 20px; }
.site-link { display: inline-block; padding: 0.25rem 0; color: var(--cream-soft); border-bottom: 1px solid rgba(240, 213, 121, 0.42); font-size: 0.88rem; font-weight: 600; }
.copyright { margin-top: 0.9rem; color: rgba(255, 250, 240, 0.48); font-size: 0.78rem; }

@media (hover: hover) {
  .link:where([href]):hover { transform: translateY(-2px); border-color: rgba(240, 213, 121, 0.55); background: rgba(255, 250, 240, 0.12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 16px 34px rgba(22, 36, 26, 0.14); }
  .link-featured:hover { border-color: rgba(255, 250, 240, 0.24); background: linear-gradient(135deg, #efd16e 0%, #ddb84e 58%, #cfa63d 100%); }
  .socials a:hover { transform: translateY(-2px); color: var(--green-ink); border-color: var(--gold-light); background: var(--gold-light); }
}

@keyframes enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 700px) { .page { padding-top: 2.6rem; } .brand-logo { width: 320px; } }
@media (max-width: 380px) { .page { width: min(100% - 1.25rem, 520px); } .brand-logo { width: 225px; } .link { grid-template-columns: 44px minmax(0, 1fr); gap: 0.75rem; } .link-icon { width: 44px; height: 44px; border-radius: 14px; } .link-action { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } }
