/* ============================================================
   Link da bio — página independente, cores definidas no painel
   ============================================================ */
/* Mesma assinatura da logo do site. O arquivo entra em assets/fontes/ quando a
   licença comercial for comprada; sem ele, cai na Sacramento. */
@font-face {
  font-family: "Brittany Signature";
  src: url("../assets/fontes/brittany-signature.woff2") format("woff2"),
       url("../assets/fontes/brittany-signature.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root { --bio-fonte-logo: "Brittany Signature", "Caveat", cursive; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--bio-texto);
  background: var(--bio-fundo);
  -webkit-font-smoothing: antialiased;
  display: flex;
  justify-content: center;
  padding: 2rem 1.1rem calc(2.5rem + env(safe-area-inset-bottom));
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(60vw 60vw at 15% 0%, color-mix(in srgb, var(--bio-destaque) 34%, transparent), transparent 62%),
    radial-gradient(70vw 70vw at 90% 100%, color-mix(in srgb, var(--bio-fundo2) 90%, transparent), transparent 60%),
    linear-gradient(165deg, var(--bio-fundo), var(--bio-fundo2));
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23g)' opacity='.05'/%3E%3C/svg%3E");
}

.bio { width: min(100%, 460px); display: grid; gap: 1.1rem; }

/* ---- Topo ---- */
.bio__topo { display: grid; justify-items: center; text-align: center; gap: .9rem; }
.bio__logo { max-width: 150px; max-height: 66px; object-fit: contain; }
.bio__foto {
  width: 128px; height: 128px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid color-mix(in srgb, var(--bio-texto) 45%, transparent);
  box-shadow: 0 20px 45px -22px rgba(0,0,0,.8);
}
.bio__nome { margin: .35rem 0 .2rem; line-height: 0; }
.bio__assinatura {
  height: clamp(50px, 17vw, 66px);
  width: auto;
  display: block;
  margin-inline: auto;
}
/* Reserva, caso o PNG não esteja no servidor */
.bio__assinatura--texto {
  font-family: var(--bio-fonte-logo);
  font-size: clamp(1.7rem, 7.5vw, 2.05rem);
  line-height: 1.2;
}
.bio__descricao {
  margin: .15rem 0 0;
  font-size: .93rem;
  line-height: 1.6;
  opacity: .84;
  max-width: 34ch;
}

/* ---- Redes ---- */
.bio__redes { display: flex; justify-content: center; gap: .5rem; }
.bio__rede {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--bio-texto);
  background: color-mix(in srgb, var(--bio-texto) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--bio-texto) 22%, transparent);
  text-decoration: none;
  transition: transform 220ms cubic-bezier(.22,1,.36,1), background 220ms;
}
.bio__rede:hover { transform: translateY(-3px); background: color-mix(in srgb, var(--bio-texto) 22%, transparent); }
.bio__rede svg { width: 21px; height: 21px; }

/* ---- Slide das últimas matérias ---- */
.bio__slide { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 26px 50px -28px rgba(0,0,0,.85); }
.bio__slide-titulo {
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  opacity: .7; margin: 0 0 .5rem; text-align: center;
}
.bio__palco { position: relative; aspect-ratio: 16 / 10; }
.bio__quadro {
  position: absolute; inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 620ms ease, transform 900ms cubic-bezier(.22,1,.36,1);
  text-decoration: none; color: #fff;
  pointer-events: none;
}
.bio__quadro.on { opacity: 1; transform: none; pointer-events: auto; }
.bio__quadro img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bio__quadro::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,8,10,.05) 30%, rgba(20,8,10,.82));
}
.bio__legenda {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 1rem 1.1rem;
}
.bio__legenda span {
  font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--bio-destaque);
}
.bio__legenda h3 {
  font-family: "Bellefair", Georgia, serif;
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.2;
  margin: .2rem 0 0;
  color: #fff;
  text-wrap: pretty;
}
.bio__pontos { position: absolute; right: .8rem; top: .8rem; z-index: 2; display: flex; gap: .3rem; }
.bio__ponto {
  width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(255,255,255,.45); cursor: pointer;
  transition: width 260ms, background 260ms;
}
.bio__ponto.on { width: 20px; border-radius: 99px; background: #fff; }

/* ---- Links ---- */
.bio__links { display: grid; gap: .6rem; }
.bio__link {
  position: relative;
  display: flex; align-items: center; gap: .8rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: var(--bio-botao);
  color: var(--bio-botao-texto);
  text-decoration: none;
  font-weight: 500;
  font-size: .98rem;
  overflow: hidden;
  box-shadow: 0 14px 30px -18px rgba(0,0,0,.7);
  transition: transform 240ms cubic-bezier(.22,1,.36,1), box-shadow 240ms;
}
.bio__link:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -20px rgba(0,0,0,.8); }
.bio__link:active { transform: translateY(0) scale(.99); }
.bio__link::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 32%, rgba(255,255,255,.45) 50%, transparent 68%);
  transform: translateX(-120%);
  transition: transform 750ms cubic-bezier(.22,1,.36,1);
}
.bio__link:hover::after { transform: translateX(120%); }
.bio__link svg { width: 20px; height: 20px; flex: none; }
.bio__link-texto { flex: 1; min-width: 0; }
.bio__link-texto b { display: block; font-weight: 500; line-height: 1.3; }
.bio__link-texto span { display: block; font-size: .8rem; opacity: .72; line-height: 1.35; margin-top: .1rem; }
.bio__seta { opacity: .5; flex: none; }

/* Link em destaque: com imagem */
.bio__link--destaque {
  display: block;
  padding: 0;
  min-height: 150px;
  background: color-mix(in srgb, var(--bio-texto) 12%, transparent);
  color: #fff;
}
.bio__link--destaque img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bio__link--destaque .bio__destaque-plano {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(20,8,10,.8));
}
.bio__link--destaque .bio__link-texto {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.1rem;
  z-index: 1;
}
.bio__link--destaque b { font-family: "Bellefair", Georgia, serif; font-size: 1.35rem; }

/* Título de seção */
.bio__secao {
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  opacity: .62; margin: .7rem 0 -.1rem; text-align: center;
}

/* ---- Rodapé ---- */
.bio__rodape { text-align: center; font-size: .76rem; opacity: .55; margin-top: .6rem; }
.bio__rodape a { color: inherit; }

@media (prefers-reduced-motion: reduce) {
  .bio__quadro, .bio__link, .bio__link::after { transition: none; }
}
