/* ==========================================================================
   AVX Investimentos — página única, estilo cartão de visitas
   Visual escuro, roxo #510C8B e azul #0056D3, títulos em Molde Expanded.
   ========================================================================== */

@font-face { font-family: "Molde Expanded"; src: url("../fonts/Molde-Expanded-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Molde Expanded"; src: url("../fonts/Molde-Expanded-Semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #07060c;
  --card: rgba(255, 255, 255, 0.04);
  --card-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f3f1f7;
  --muted: #aaa4b9;
  --faint: #7d778c;
  --blue: #3d86ff;
  --cyan: #66d6ff;
  --grad: linear-gradient(135deg, #8b3fd9 0%, #0056d3 100%);
  --display: "Molde Expanded", "Archivo", system-ui, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(70vw 50vh at 50% -10%, rgba(106, 31, 194, 0.38), transparent 65%),
    radial-gradient(50vw 40vh at 0% 60%, rgba(0, 86, 211, 0.16), transparent 65%),
    radial-gradient(50vw 40vh at 100% 100%, rgba(81, 12, 139, 0.22), transparent 65%);
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.page { width: 100%; max-width: 600px; margin: 0 auto; padding: 56px 16px 40px; }

/* ---------- topo ---------- */
.intro { text-align: center; margin-bottom: 44px; }
.intro__photo {
  width: 112px; height: 112px;
  margin: 28px auto 0;
  padding: 3px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 40px rgba(106, 31, 194, 0.45);
}
.intro__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; border-radius: 50%; border: 3px solid var(--bg); }
.intro__brand { display: flex; justify-content: center; }
.intro__brand img { width: 150px; }
.intro__by {
  margin-top: 20px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.intro__by { white-space: nowrap; }
.intro__by span { margin: 0 6px; color: var(--faint); }
.intro__by .intro__cargo { display: block; margin: 6px 0 0; font-size: 0.86em; letter-spacing: 0.06em; color: var(--muted); white-space: normal; line-height: 1.4; }
.intro__tagline { margin-top: 22px; color: #c9c3d6; font-size: 0.9375rem; }
.nowrap { white-space: nowrap; }

/* ---------- grupos ---------- */
.group + .group { margin-top: 36px; }
.group__title {
  margin-bottom: 14px;
  text-align: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}
.group__title span { color: var(--text); }
.links { display: grid; gap: 12px; }

/* ---------- cards ---------- */
.card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.card:hover { background: var(--card-hover); border-color: rgba(61, 134, 255, 0.55); transform: translateY(-2px); }
.card--accent {
  border-color: rgba(61, 134, 255, 0.4);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(0, 86, 211, 0.2), transparent 60%),
    radial-gradient(100% 100% at 0% 100%, rgba(106, 31, 194, 0.18), transparent 60%),
    var(--card);
}
.card--compact { padding: 16px 20px; }
.card__icon {
  flex: none;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(61, 134, 255, 0.12);
  border: 1px solid rgba(61, 134, 255, 0.3);
  color: var(--cyan);
}
.card__body { flex: 1; min-width: 0; display: grid; gap: 6px; }
.card__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.card__name { font-family: var(--display); font-weight: 600; font-size: 1rem; line-height: 1.3; }
.card__name .hl { color: var(--cyan); letter-spacing: 0.02em; }
.card__price {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(102, 214, 255, 0.5);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--cyan);
  white-space: nowrap;
}
.card__text { color: var(--muted); font-size: 0.9375rem; overflow-wrap: break-word; }
.card__hook { font-size: 0.88rem; font-weight: 400; color: #b98bff; white-space: nowrap; }

/* ---------- redes ---------- */
.socials { display: flex; justify-content: center; gap: 14px; }
.social {
  display: grid; place-items: center;
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, color 0.18s ease;
}
.social:hover { background: var(--card-hover); border-color: rgba(61, 134, 255, 0.55); color: var(--cyan); transform: translateY(-2px); }
.card__arrow { flex: none; font-size: 1.2rem; color: var(--muted); transition: transform 0.18s ease, color 0.18s ease; }
.card:hover .card__arrow { transform: translateX(3px); color: var(--text); }

@media (max-width: 420px) {
  .page { padding-top: 40px; }
  .card { padding: 16px; gap: 12px; }
  .card__icon { width: 38px; height: 38px; border-radius: 10px; }
  .card__icon { display: none; }
  .card__name { font-size: min(0.9rem, 3.5vw); }
  .card__head { flex-wrap: nowrap; gap: 8px; }
  .card__name { white-space: nowrap; }
  .card__price { font-size: min(0.66rem, 2.3vw); padding: 2px 6px; letter-spacing: 0; }
  .card__hook { font-size: min(0.8rem, 2.85vw); letter-spacing: -0.005em; }
  .intro__by { font-size: 0.6rem; letter-spacing: 0.1em; }
}

/* ---------- rodapé ---------- */
.foot { margin-top: 48px; text-align: center; }
.foot__copy { color: var(--faint); font-size: 0.78rem; }

@media (prefers-reduced-motion: reduce) {
  .card, .card__arrow { transition: none; }
  .card:hover { transform: none; }
}
