/* Instituto Amanda Ferrari · Sistema A (Pessoal): link da bio.
   Tokens do manual de marca (_base/base.css). Não acrescentar cores nem fontes. */
:root {
  --cafe: #4D201C;
  --off: #F8F6F1;
  --creme: #F2E4D8;
  --bege: #CDB2A1;
  --pessego: #F0D6C2;
  --taupe: #6B5142;
  --rosado: #7E4B44;
  --preto: #080707;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Montserrat", "Segoe UI", sans-serif;
  --suave: cubic-bezier(.2, .7, .2, 1);

  /* Medidas do guia (seção 5): logo 140, foto 220 x 280, 48 do topo. São o teto:
     em telas mais baixas encolhem juntas para a página caber inteira, como no modelo. */
  --livre: 619px;
}
@supports (height: 100svh) {
  :root { --livre: clamp(344px, 100svh - 393px, 619px); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--off); color: var(--taupe);
  font: 400 14px/1.5 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--cafe); outline-offset: 3px; }

.bio {
  display: flex; flex-direction: column; align-items: center;
  width: min(100%, 430px); min-height: 100vh; min-height: 100svh; margin-inline: auto;
  padding: calc(var(--livre) * .0775) 24px calc(var(--livre) * .0517);
  text-align: center;
}
.bio-logo { width: calc(var(--livre) * .2262); animation: entra .8s var(--suave) both; }
.bio-foto {
  height: calc(var(--livre) * .4523); aspect-ratio: 220 / 280; margin-top: calc(var(--livre) * .0517);
  overflow: hidden; border-radius: 9999px 9999px 0 0; animation: entra .8s .06s var(--suave) both;
}
.bio-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transition: transform .7s var(--suave); }
@media (hover: hover) { .bio-foto:hover img { transform: scale(1.02); } }
.bio h1 { margin-top: calc(var(--livre) * .0452); font: 400 36px/1.1 var(--serif); color: var(--cafe); animation: entra .8s .12s var(--suave) both; }
.bio-linha { margin-top: 6px; animation: entra .8s .16s var(--suave) both; }
.bio-linha span { display: inline-block; }
.bio-nav { width: 100%; margin-top: calc(var(--livre) * .0582); animation: entra .8s .2s var(--suave) both; }
.bio-botoes { display: grid; gap: 12px; }
.bio-botao {
  display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 8px 12px;
  background: var(--creme); color: var(--cafe); border-bottom: 1px solid var(--bege);
  font: 600 clamp(12px, 3.6vw, 14px)/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  transition: background-color .3s var(--suave), color .3s var(--suave), transform .25s var(--suave);
}
.bio-botao--1 { background: var(--cafe); color: var(--off); border-bottom-color: var(--cafe); }
@media (hover: hover) {
  .bio-botao:hover { background: var(--pessego); transform: translateY(-2px); }
  .bio-botao--1:hover { background: var(--rosado); border-bottom-color: var(--rosado); }
}
.bio-botao:active { transform: translateY(1px) scale(.985); transition-duration: .08s; background: var(--bege); }
.bio-botao--1:active { background: var(--preto); }
.bio-assinatura {
  margin-top: auto; padding-top: calc(var(--livre) * .0517);
  font: italic 400 16px/1.4 var(--serif); color: var(--taupe); text-wrap: balance; animation: entra .8s .26s var(--suave) both;
}
.bio-assinatura em { font-style: inherit; }
@keyframes entra { from { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
