/* ------------------------------------------------------------------
   Cartão suave — página de links
   Toda a paleta está aqui embaixo. Mudar --accent muda o botão
   principal e os estados de foco; é o único acento colorido da página.
------------------------------------------------------------------ */

:root {
  --bg:            #e6e4e2;
  --card:          #fbfaf9;
  --card-border:   #e4e0de;
  --row:           #f1efed;
  --row-hover:     #eae7e4;
  --ink:           #3d3536;
  --ink-soft:      #6b6363;
  --ink-muted:     #8c8483;
  --ink-faint:     #a49c9b;
  --icon:          #b0a8a7;
  --icon-social:   #a8a09f;

  /* tinta do logotipo — único acento colorido da página */
  --accent:        #483f40;
  --accent-hover:  #372f30;
  --on-accent:     #f3f0ee;

  --radius-card:   26px;
  --radius-row:    14px;
  --row-height:    54px;

  --font: "Figtree", ui-sans-serif, system-ui, "Segoe UI", "Helvetica Neue", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- layout ---------- */

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
}

.card {
  width: 100%;
  max-width: 400px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  box-shadow:
    0 1px 2px rgba(30, 28, 25, 0.03),
    0 22px 46px -28px rgba(30, 28, 25, 0.30);
  padding: 34px 24px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- cabeçalho ---------- */

.brand {
  margin: 0;
  width: 100%;
  line-height: 0;
}

.brand img {
  display: block;
  width: 168px;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.handle {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.bio {
  margin: 12px 0 0;
  max-width: 252px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  text-align: center;
  text-wrap: pretty;
}

/* ---------- ação principal ---------- */

.primary {
  width: 100%;
  height: var(--row-height);
  margin-top: 26px;
  border-radius: var(--radius-row);
  background: var(--accent);
  color: var(--on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 140ms ease, transform 140ms ease;
}

.primary:hover { background: var(--accent-hover); }
.primary:active { transform: translateY(1px); }
.primary .icon { width: 16px; height: 16px; }

/* ---------- lista de links ---------- */

.links {
  width: 100%;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link {
  height: var(--row-height);
  padding: 0 16px;
  border-radius: var(--radius-row);
  background: var(--row);
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: background-color 140ms ease, transform 140ms ease;
}

.link:hover { background: var(--row-hover); }
.link:active { transform: translateY(1px); }

/* Marca da plataforma, antes do rótulo. Monocromática de propósito: as cores
   das duas marcas são turquesa e brigariam com o acento do logotipo. Para usar
   as cores originais, dê color: #09B1BA à da Vinted e #13C1AC à da Wallapop. */
.link-icon {
  width: 19px;
  height: 19px;
  color: var(--ink-soft);
  flex-shrink: 0;
}

.link-label {
  flex-grow: 1;
  font-size: 14.5px;
  font-weight: 500;
}

.link .icon {
  width: 15px;
  height: 15px;
  color: var(--icon);
  flex-shrink: 0;
}

/* ---------- redes sociais ---------- */

.social {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 18px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--icon-social);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 140ms ease, background-color 140ms ease;
}

.social-link svg { width: 19px; height: 19px; }
.social-link:hover { color: var(--ink); background: var(--row); }

/* ---------- rodapé ---------- */

.footer {
  margin: 0;
  font-size: 11px;
  color: var(--ink-faint);
  text-align: center;
}

/* ---------- foco visível ---------- */

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- telas bem estreitas ---------- */

@media (max-width: 360px) {
  .card { padding: 30px 18px 22px; }
  .social { gap: 10px; }
}

/* ---------- acessibilidade ---------- */

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
