/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  background: #0d0d0d;
  font-family: "DM Sans", sans-serif;
  color: #fff;
  overflow: hidden; /* DESKTOP: página não scrolla */
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ============================================================
   LAYOUT BASE — DESKTOP
   ============================================================ */
.main-wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.header-bio {
  position: relative;
  width: 100vw;
  height: 100vh;
}

/* ============================================================
   LAYER 1 — Backgrounds (cobrem 100% da tela)
   ============================================================ */
.bg-slide-bio {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.slide-bg.active { opacity: 1; }

/* LAYER 1b — Gradiente overlay (escuro esq → transparente dir) */
.bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    89deg,
    rgba(13,13,13,0.85) 0%,
    rgba(13,13,13,0.68) 30%,
    rgba(13,13,13,0.20) 60%,
    rgba(0,0,0,0.00) 80%
  );
  z-index: 1;
  pointer-events: none;
}

/* ============================================================
   LAYER 2 — Painel de conteúdo (lado esquerdo)
   ============================================================ */
.container-bio {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 55%;
  max-width: 780px;
  height: 100vh;
  padding: 20px 0 20px 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  z-index: 2;
}

.s1-bio {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 600px;
  height: 80vh;
  padding: 20px 0;
  overflow-y: scroll;
  overflow-x: hidden;
}

.s1-bio::-webkit-scrollbar { width: 4px; }
.s1-bio::-webkit-scrollbar-track { background: transparent; }
.s1-bio::-webkit-scrollbar-thumb {
  background: #ffffff;
  border-radius: 20px;
}
.s1-bio { scrollbar-width: thin; scrollbar-color: #ffffff transparent; }

/* ============================================================
   PERFIL
   ============================================================ */
.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  width: 100%;
  text-align: center;
}

.perfil-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  will-change: transform;
}

.profile-name {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

.profile-tagline {
  font-family: "DM Sans", sans-serif;
  font-style: italic;
  font-size: 14px;
  color: #a4a4a4;
  letter-spacing: -0.2px;
}

/* ============================================================
   BOTÕES (imagens clicáveis)
   ============================================================ */
.bio-link {
  display: block;
  width: 100%;
  max-width: 560px;
  height: 175px;
  margin-top: 16px;
  border-radius: 10px;
  box-shadow: rgba(2,2,2,0.21) 5px 6px 8px 3px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: transform 0.7s ease;
  flex-shrink: 0;
}

.bio-link:hover { transform: scale(1.03); }

.btn-01 { background-image: url("../assets/btn-01.png"); }
.btn-02 { background-image: url("../assets/btn-02.png"); }
.btn-03 { background-image: url("../assets/btn-03.png"); }

/* ============================================================
   MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  html, body { overflow: auto; height: auto; }
  .main-wrapper { height: auto; min-height: 100vh; }
  .header-bio { height: auto; display: flex; flex-direction: column; }

  .bg-slide-bio {
    position: relative;
    inset: auto;
    width: 100%;
    height: 56vw;
    min-height: 260px;
    max-height: 400px;
  }

  .slide-bg {
    position: absolute;
    inset: 0;
    object-position: center top;
  }

  .bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(13,13,13,0) 40%,
      rgba(13,13,13,1) 100%
    );
  }

  .container-bio {
    position: relative;
    width: 100%;
    height: auto;
    max-width: 100%;
    padding: 24px 16px 48px;
    justify-content: flex-start;
    align-items: center;
    z-index: 2;
  }

  .s1-bio {
    width: 100%;
    max-width: 420px;
    height: auto;
    overflow: visible;
    align-items: center;
  }

  .bio-link {
    max-width: 100%;
    height: 130px;
  }
}
