/* Biosite (links.html): coluna única pensada para abrir pelo Instagram no celular */
:root {
  --navy: #1b3a6a; --ink: #08142b; --white: #fff; --sky: #9db9e6;
  --line: rgba(255, 255, 255, .2);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --f: "Archivo", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; font-family: var(--f); line-height: 1.5; color: var(--white);
  background: radial-gradient(120% 70% at 50% -10%, #234a85 0%, var(--navy) 34%, var(--ink) 100%) fixed;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, p { margin: 0; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

.bio { width: min(100%, 520px); margin-inline: auto; padding: clamp(1.6rem, 5vw, 2.4rem) 1.25rem 2.5rem; }

/* cabeçalho */
.bio__head { display: grid; justify-items: center; margin-bottom: 1.5rem; }
.logo3d { perspective: 700px; padding: .4rem 1rem; }
.logo3d__in { position: relative; width: 190px; transform-style: preserve-3d; animation: sway 6s ease-in-out infinite; }
.logo3d__in img { display: block; width: 190px; height: auto; }
.logo3d__f { position: relative; filter: brightness(0) invert(1); transform: translateZ(2px); }
.logo3d__l { position: absolute; left: 0; top: 0; filter: brightness(0) invert(.12) sepia(1) hue-rotate(185deg) saturate(3.2); }
.logo3d__l1 { transform: translateZ(-2px); } .logo3d__l2 { transform: translateZ(-4px); } .logo3d__l3 { transform: translateZ(-6px); }
.logo3d__l4 { transform: translateZ(-8px); } .logo3d__l5 { transform: translateZ(-10px); } .logo3d__l6 { transform: translateZ(-12px); opacity: .75; }
@keyframes sway { 0%, 100% { transform: rotateY(-30deg) rotateX(5deg); } 50% { transform: rotateY(30deg) rotateX(-5deg); } }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* botões */
.bio__links { display: grid; gap: 1rem; }
.lk {
  display: flex; align-items: center; gap: 1rem; padding: .95rem 1.2rem; min-height: 66px; border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -3px 0 rgba(0, 0, 0, .22), 0 6px 0 rgba(4, 10, 24, .6), 0 14px 22px rgba(0, 0, 0, .28);
  transition: background .3s, color .3s, border-color .3s, transform .25s var(--ease), box-shadow .25s var(--ease);
}
.lk svg { flex: none; width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lk__t { display: grid; min-width: 0; }
.lk__t b { font-size: 1.02rem; font-weight: 700; font-stretch: 110%; letter-spacing: -.01em; line-height: 1.2; }
.lk__t small { font-size: .85rem; opacity: .75; line-height: 1.3; overflow-wrap: anywhere; }
.lk:hover, .lk:focus-visible { background: linear-gradient(180deg, #fff, #dce6f5); color: var(--navy); border-color: #fff; transform: translateY(-2px); }
.lk:active { transform: translateY(5px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -1px 0 rgba(0, 0, 0, .22), 0 1px 0 rgba(4, 10, 24, .6), 0 5px 8px rgba(0, 0, 0, .3); }
.lk--main { background: linear-gradient(180deg, #fff, #dfe8f6); color: var(--navy); border-color: #fff; box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(27, 58, 106, .12), 0 10px 24px rgba(0, 0, 0, .28); }
.lk--main:hover, .lk--main:focus-visible { background: linear-gradient(180deg, #fff, #eef3fb); }
.lk--main:active { box-shadow: inset 0 1px 0 #fff, 0 4px 10px rgba(0, 0, 0, .28); }

/* carrossel */
.bio__work { margin-top: 2.2rem; }
.bio__work h2 { font-size: 1.15rem; font-weight: 800; font-stretch: 125%; letter-spacing: -.02em; margin-bottom: .9rem; }
.carwrap { position: relative; margin-inline: -1.25rem; }
.car { overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.car:active { cursor: grabbing; }
.car__track { display: flex; gap: .7rem; width: max-content; will-change: transform; }
.card { position: relative; display: block; flex: none; width: min(72vw, 340px); overflow: hidden; background: var(--navy); border-radius: 14px; }
.card::before { content: ""; display: block; padding-top: 125%; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); pointer-events: none; }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 20, 43, .88), rgba(8, 20, 43, 0) 50%); }
.card span { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 1rem; font-weight: 700; font-stretch: 112%; font-size: 1.05rem; letter-spacing: -.01em; line-height: 1.15; }
.card:hover img, .card:focus-visible img { transform: scale(1.06); }
.arrow {
  position: absolute; z-index: 5; top: 50%; translate: 0 -50%; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 6px 16px rgba(0, 0, 0, .25);
  backdrop-filter: blur(8px) saturate(1.4); -webkit-backdrop-filter: blur(8px) saturate(1.4);
  transition: background-color .3s, transform .3s var(--ease), border-color .3s;
}
.arrow--l { left: 1rem; } .arrow--r { right: 1rem; }
.arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45)); }
.arrow:hover, .arrow:focus-visible { background: rgba(255, 255, 255, .26); border-color: rgba(255, 255, 255, .7); transform: scale(1.08); }
.arrow:active { transform: scale(.94); }
.bio__hint { margin-top: .8rem; text-align: center; font-size: .82rem; opacity: .6; }

.bio__foot { margin-top: 2.2rem; text-align: center; font-size: .8rem; opacity: .6; }

/* entrada em sequência ao abrir */
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.bio__head, .lk, .bio__work, .bio__foot { animation: up .8s var(--ease) both; }
.lk:nth-child(1) { animation-delay: .22s; } .lk:nth-child(2) { animation-delay: .29s; } .lk:nth-child(3) { animation-delay: .36s; }
.lk:nth-child(4) { animation-delay: .43s; } .lk:nth-child(5) { animation-delay: .5s; }
.bio__work { animation-delay: .6s; } .bio__foot { animation-delay: .75s; }

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

/* barra de rolagem: mesmo tom azul do fundo */
::-webkit-scrollbar { width: 10px; background: #0b1d3f; }
::-webkit-scrollbar-track { background: #0b1d3f; }
::-webkit-scrollbar-thumb { background: #1b3a6a; border: 2px solid #0b1d3f; }
::-webkit-scrollbar-thumb:hover { background: #274c8a; }
@supports not selector(::-webkit-scrollbar) { html { scrollbar-width: thin; scrollbar-color: #1b3a6a #0b1d3f; } }
