/* Estilo visual da Vírgula Contábil — usado pela página e pelo editor. */
:root {
  --green:        #022C22;
  --green-soft:   #063a2d;
  --orange:       #F97316;
  --orange-hover: #EA580C;
  --paper:        #F8FAFC;
  --muted:        rgba(248, 250, 252, 0.62);
  --card:         rgba(255, 255, 255, 0.055);
  --card-hover:   rgba(255, 255, 255, 0.09);
  --line:         rgba(255, 255, 255, 0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--paper);
  background:
    radial-gradient(60rem 40rem at 50% -10%, rgba(249, 115, 22, 0.16), transparent 60%),
    radial-gradient(50rem 40rem at 50% 120%, rgba(16, 185, 129, 0.14), transparent 60%),
    var(--green);
  display: flex;
  justify-content: center;
  padding: clamp(2rem, 8vw, 4rem) 1.25rem calc(2.5rem + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: 30rem; }

/* ---- Cabeçalho ---- */
.avatar { width: 110px; height: 110px; margin: 0 auto 1.25rem; }
.avatar img {
  display: block; width: 100%; height: 100%;
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.45));
}

.name {
  text-align: center;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 7vw, 2.2rem);
  letter-spacing: -0.01em;
  line-height: 1;
}
.name b { color: var(--orange); font-weight: 700; }
.suffix {
  display: block;
  text-align: center;
  margin-top: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 0.42em;
}
.tagline {
  text-align: center;
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}
.tagline:empty { display: none; }

/* ---- Links ---- */
.links { display: grid; gap: 0.7rem; margin-top: 2rem; }

.link {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--paper);
  text-decoration: none;
  font-size: 0.95rem; font-weight: 600;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.link:hover, .link:focus-visible {
  background: var(--card-hover);
  border-color: var(--orange);
  transform: translateY(-2px);
}
.link__label { flex: 1; }
.link__icon { flex-shrink: 0; opacity: 0.95; }
.link__go { flex-shrink: 0; opacity: 0.5; }

.link--primary {
  background: var(--orange);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 16px 34px -14px rgba(249, 115, 22, 0.6);
}
.link--primary:hover, .link--primary:focus-visible {
  background: var(--orange-hover);
  border-color: transparent;
}
.link--primary .link__go { opacity: 0.8; }

/* ---- Redes ---- */
.socials { display: flex; justify-content: center; gap: 0.8rem; margin-top: 1.9rem; flex-wrap: wrap; }
.social {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--paper);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.social:hover, .social:focus-visible { color: var(--orange); border-color: var(--orange); background: var(--card); }

.foot {
  text-align: center;
  margin-top: 2.2rem;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.6;
}
.foot a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(10px); animation: rise 0.5s ease forwards; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}
