/* ==========================================================================
   Vet Empreenda — Links (substituto do Linktree)
   Paleta rosa/preto/branco da marca (mesma extraída de vetempreenda.com.br
   usada nos outros projetos da Vet Empreenda).
   ========================================================================== */

:root {
  --white: #FFFFFF;
  --cream-soft: #FDF1F4;
  --pink-600: #D11756;
  --pink-700: #B01248;
  --pink-100: #FBDCE6;
  --black: #111111;
  --ink-900: #1A1614;
  --ink-700: #4A4340;
  --ink-500: #706A67;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-w: 460px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-soft: 0 20px 50px -25px rgba(17, 17, 17, 0.35);
  --shadow-card: 0 8px 22px -12px rgba(17, 17, 17, 0.22);
}

/* ---------- reset básico ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--cream-soft);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0; color: var(--black); }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: clamp(32px, 7vh, 56px);
  padding-bottom: 32px;
}

/* ---------- perfil ---------- */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 30px;
}
.avatar-ring {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--pink-600), #FF8A3D 55%, var(--pink-600));
  margin-bottom: 16px;
  flex-shrink: 0;
}
.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--cream-soft);
  background: var(--pink-100);
}
.profile-name {
  font-size: 23px;
  margin-bottom: 4px;
}
.profile-brand {
  color: var(--pink-600);
  font-style: italic;
}
.profile-handle {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-500);
  margin-bottom: 12px;
}
.profile-bio {
  font-size: 15px;
  color: var(--ink-700);
  max-width: 320px;
}

/* ---------- cards de link ---------- */
.link-groups {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.link-card {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 16px 18px;
  text-align: left;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  opacity: 0;
  transform: translateY(10px);
  animation: link-card-in .45s ease forwards;
}
.link-groups > *:nth-child(1) { animation-delay: .05s; }
.link-groups > *:nth-child(2) { animation-delay: .12s; }
.link-groups > *:nth-child(3) { animation-delay: .19s; }
@keyframes link-card-in {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .link-card { animation: none; opacity: 1; transform: none; }
}

.link-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(17,17,17,0.28); }
.link-card:active { transform: translateY(0); }

.link-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--black);
  color: var(--pink-100);
  display: flex;
  align-items: center;
  justify-content: center;
}
.link-icon svg { width: 22px; height: 22px; }

.link-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.link-title { font-weight: 800; font-size: 15.5px; color: var(--black); }
.link-desc { font-size: 13px; color: var(--ink-500); line-height: 1.35; }

.link-arrow, .link-chevron {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cream-soft);
  color: var(--pink-600);
  display: flex;
  align-items: center;
  justify-content: center;
}
.link-arrow svg, .link-chevron svg { width: 16px; height: 16px; }

.link-card--group { appearance: none; }
.link-chevron { transition: transform .25s ease; }
.link-card--group[aria-expanded="true"] .link-chevron { transform: rotate(180deg); background: var(--pink-600); color: var(--white); }

/* ---------- painel expansível (mentorias / produtos) ---------- */
.link-group { background: transparent; }
.link-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.link-group.is-open .link-panel { max-height: 420px; }
.link-panel-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
}

.link-subitem {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--pink-100);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  transition: border-color .15s ease, transform .15s ease, background-color .15s ease;
}
.link-subitem:hover { border-color: var(--pink-600); background: var(--cream-soft); transform: translateY(-1px); }
.link-subitem:active { transform: translateY(0); }
.link-subtext { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.link-subtitle { font-weight: 700; font-size: 14px; color: var(--black); }
.link-subdesc { font-size: 12.5px; color: var(--ink-500); line-height: 1.35; }
.link-subarrow {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--pink-600);
  display: flex;
  align-items: center;
  justify-content: center;
}
.link-subarrow svg { width: 15px; height: 15px; }

/* ---------- footer ---------- */
.site-footer { padding: 8px 0 30px; }
.footer-inner {
  color: var(--ink-500);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: center;
}

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (min-width: 480px) {
  .link-card { padding: 18px 20px; }
}
