/* ---------------------------------------------
   Aurora Bebê — Page Bio
   Fonte de referência: Figma (node 23:3)
--------------------------------------------- */

:root {
  --bg: #fdf9f5;         /* fundo creme da página */
  --card: #ffffff;       /* fundo dos botões */
  --text: #2a2a2a;       /* cor do texto dos botões */
  --icon: #4a2513;       /* cor dos ícones (marrom) */
  --shadow: 0 6px 16px rgba(60, 40, 20, 0.08);
  --radius: 26px;
  --max-width: 430px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  overflow: hidden;
}

/* ---------- Foto de topo ---------- */

.hero {
  width: 100%;
  aspect-ratio: 1080 / 712;
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Perfil + logotipo ---------- */

.identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -18%;      /* faz o avatar "flutuar" sobre a foto */
  padding: 0 24px;
}

.avatar {
  width: 37.5%;
  max-width: 165px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 14px rgba(60, 40, 20, 0.12);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.logo {
  width: 48%;
  max-width: 210px;
  height: auto;
  margin-top: 10px;
}

/* ---------- Botões de link ---------- */

.links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px 48px;
}

.link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 20px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(60, 40, 20, 0.12);
}

.link-btn:active {
  transform: translateY(0);
}

.link-btn__text {
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.link-btn__icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--icon);
}

.link-btn__icon img {
  width: 100%;
  height: 100%;
}

/* ---------- Responsivo ---------- */

@media (min-width: 431px) {
  body {
    background: #efe6da; /* leve contraste atrás do "cartão" em telas grandes */
  }
  .page {
    margin-top: 24px;
    margin-bottom: 24px;
    border-radius: 32px;
    box-shadow: 0 20px 50px rgba(60, 40, 20, 0.15);
    min-height: auto;
  }
}
