/* ==========================================================================
   STUDIO BM INTERIORES — PÁGINA DE BIO (LINK NA BIO VIP)
   Identidade: Alabastro Seda Quente, Ouro Envelhecido & Carvão Veludo
   Paleta Clara Solar: #F5F3EE / #FAF8F5 / #EAE5DC / #B8965A / #1A1918
   Tipografia: Cormorant Garamond (Serif Nobre) + Plus Jakarta Sans
   ========================================================================== */

:root {
  --bio-bg-deep: #F5F3EE;
  --bio-bg-surface: #EAE5DC;
  --bio-bg-card: #FAF8F5;
  --bio-bg-card-hover: #FFFFFF;
  --bio-gold-main: #B8965A;
  --bio-gold-light: #8C6D3B;
  --bio-gold-bright: #A38047;
  --bio-gold-gradient: linear-gradient(135deg, #D8BA85 0%, #B8965A 52%, #9F7C44 100%);
  --bio-text-primary: #1A1918;
  --bio-text-secondary: #4A4640;
  --bio-text-muted: #6E685F;
  --bio-hairline: rgba(184, 150, 90, 0.28);
  --bio-hairline-bright: rgba(184, 150, 90, 0.55);
  --bio-border-radius: 16px;
  --bio-font-serif: 'Cormorant Garamond', 'Didot', Georgia, serif;
  --bio-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --bio-font-mono: 'IBM Plex Mono', monospace;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: #EAE5DC;
  color: var(--bio-text-primary);
  font-family: var(--bio-font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Wrapper Centralizado (Estilo Smartphone Editorial Claro) */
.bio-wrapper {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background-color: var(--bio-bg-deep);
  background-image:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.9) 0%, rgba(245, 243, 238, 0.96) 50%, #F5F3EE 100%);
  box-shadow: 0 0 60px rgba(26, 25, 24, 0.08);
  border-left: 1px solid rgba(184, 150, 90, 0.22);
  border-right: 1px solid rgba(184, 150, 90, 0.22);
  padding-bottom: 96px;
  display: flex;
  flex-direction: column;
}

/* 1. TOPBAR VIP */
.bio-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.25rem 0.75rem;
  background: linear-gradient(180deg, rgba(245, 243, 238, 0.92) 0%, rgba(245, 243, 238, 0) 100%);
}

.bio-topbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.bio-topbar-logo {
  height: 30px;
  width: auto;
}

.bio-topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(250, 248, 245, 0.9);
  border: 1px solid var(--bio-hairline-bright);
  backdrop-filter: blur(10px);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bio-gold-light);
}

.bio-topbar-badge svg {
  width: 12px;
  height: 12px;
  color: var(--bio-gold-main);
}

.bio-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(250, 248, 245, 0.9);
  border: 1px solid rgba(26, 25, 24, 0.14);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.bio-lang-switch a {
  color: var(--bio-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.bio-lang-switch a.is-active {
  color: var(--bio-text-primary);
}

/* 2. HERO SUPERIOR CLARO COM VÍDEO & CUTOUT */
.bio-hero-stage {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-color: var(--bio-bg-surface);
}

.bio-hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
  filter: contrast(1.03) brightness(1.05);
  pointer-events: none;
}

.bio-hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(245, 243, 238, 0.38) 0%,
    rgba(245, 243, 238, 0.12) 42%,
    rgba(245, 243, 238, 0.86) 86%,
    #F5F3EE 100%
  );
  z-index: 5;
  pointer-events: none;
}

.bio-founder-figure {
  position: relative;
  z-index: 6;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.bio-founder-img {
  height: 340px;
  width: auto;
  max-width: 90%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 12px 24px rgba(26, 25, 24, 0.18));
  mask-image: linear-gradient(to bottom, black 74%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 74%, transparent 100%);
}

/* 3. BLOCO DE IDENTIDADE & AUTORIDADE */
.bio-identity {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0.5rem 1.4rem 1.5rem;
}

.bio-handle-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FAF8F5;
  border: 1px solid var(--bio-hairline-bright);
  padding: 0.38rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--bio-text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.9rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(26, 25, 24, 0.08);
}

.bio-handle-pill:hover {
  background: #FFFFFF;
  border-color: var(--bio-gold-main);
  transform: translateY(-1px);
}

.bio-handle-icon {
  width: 15px;
  height: 15px;
  color: var(--bio-gold-main);
}

.bio-verified-badge {
  width: 14px;
  height: 14px;
  color: #3897f0;
  margin-left: -0.15rem;
}

.bio-title-name {
  font-family: var(--bio-font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.15;
  color: var(--bio-text-primary);
  margin-bottom: 0.25rem;
}

.bio-subtitle-role {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bio-gold-light);
  margin-bottom: 0.65rem;
}

.bio-location-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--bio-text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.bio-location-tag svg {
  width: 13px;
  height: 13px;
  color: var(--bio-gold-main);
}

.bio-manifesto-text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--bio-text-secondary);
  max-width: 420px;
  margin: 0 auto 1.35rem;
}

/* 4. AÇÃO PRINCIPAL DE ALTO IMPACTO */
.bio-primary-cta {
  display: block;
  position: relative;
  text-decoration: none;
  background: var(--bio-gold-gradient);
  color: #1A1918;
  padding: 1.05rem 1.4rem;
  border-radius: var(--bio-border-radius);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  overflow: hidden;
  box-shadow:
    0 8px 22px rgba(184, 150, 90, 0.26),
    0 2px 6px rgba(26, 25, 24, 0.08);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  margin-bottom: 0.45rem;
}

.bio-primary-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 28px rgba(184, 150, 90, 0.36),
    0 4px 12px rgba(26, 25, 24, 0.12);
}

.bio-primary-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.38) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: bio-shimmer 3.8s infinite;
}

@keyframes bio-shimmer {
  0% { left: -100%; }
  30%, 100% { left: 160%; }
}

.bio-cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  position: relative;
  z-index: 2;
}

.bio-cta-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.bio-cta-microtext {
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--bio-text-muted);
  text-align: center;
  margin-bottom: 1.75rem;
}

/* 5. SEÇÕES & BENTO GRID */
.bio-section {
  padding: 0 1.25rem 1.6rem;
}

.bio-section-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(184, 150, 90, 0.24);
}

.bio-section-title {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bio-gold-light);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.bio-section-title svg {
  width: 12px;
  height: 12px;
  color: var(--bio-gold-main);
}

/* CARDS DO BENTO */
.bio-card-featured {
  display: block;
  text-decoration: none;
  background: var(--bio-bg-card);
  border: 1px solid var(--bio-hairline);
  border-radius: var(--bio-border-radius);
  overflow: hidden;
  position: relative;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  margin-bottom: 1rem;
  box-shadow: 0 6px 20px rgba(26, 25, 24, 0.06);
}

.bio-card-featured:hover {
  border-color: var(--bio-hairline-bright);
  background: var(--bio-bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(26, 25, 24, 0.1);
}

.bio-card-media {
  position: relative;
  width: 100%;
  height: 205px;
  overflow: hidden;
}

.bio-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.bio-card-featured:hover .bio-card-media img {
  transform: scale(1.04);
}

.bio-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(26, 25, 24, 0.12) 0%,
    rgba(26, 25, 24, 0.05) 55%,
    rgba(250, 248, 245, 0.45) 100%
  );
}

.bio-card-top-badges {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
}

.bio-badge-pill {
  background: rgba(250, 248, 245, 0.92);
  border: 1px solid var(--bio-hairline-bright);
  backdrop-filter: blur(8px);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bio-text-primary);
}

.bio-rating-pill {
  background: rgba(250, 248, 245, 0.92);
  border: 1px solid var(--bio-hairline-bright);
  backdrop-filter: blur(8px);
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--bio-gold-light);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.bio-card-content {
  padding: 1.15rem 1.25rem 1.25rem;
}

.bio-card-title {
  font-family: var(--bio-font-serif);
  font-size: 1.32rem;
  font-weight: 400;
  color: var(--bio-text-primary);
  margin-bottom: 0.45rem;
  letter-spacing: 0.02em;
}

.bio-card-desc {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--bio-text-secondary);
  margin-bottom: 0.85rem;
}

.bio-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.95rem;
}

.bio-tag-chip {
  background: var(--bio-bg-deep);
  border: 1px solid rgba(26, 25, 24, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.68rem;
  color: var(--bio-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.bio-tag-chip svg {
  width: 11px;
  height: 11px;
  color: var(--bio-gold-main);
}

.bio-card-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(26, 25, 24, 0.08);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--bio-gold-light);
}

.bio-card-action-row svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.bio-card-featured:hover .bio-card-action-row svg {
  transform: translateX(3px);
}

/* GRID DUPLO (2 COLUNAS) */
.bio-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.bio-card-half {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  background: var(--bio-bg-card);
  border: 1px solid var(--bio-hairline);
  border-radius: var(--bio-border-radius);
  overflow: hidden;
  transition: all 0.3s ease;
  padding: 1rem;
  box-shadow: 0 4px 14px rgba(26, 25, 24, 0.05);
}

.bio-card-half:hover {
  border-color: var(--bio-hairline-bright);
  background: var(--bio-bg-card-hover);
  transform: translateY(-2px);
}

.bio-half-thumb {
  position: relative;
  width: 100%;
  height: 96px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.bio-half-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bio-card-half:hover .bio-half-thumb img {
  transform: scale(1.05);
}

.bio-half-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bio-gold-light);
  margin-bottom: 0.35rem;
}

.bio-half-title {
  font-family: var(--bio-font-serif);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--bio-text-primary);
  margin-bottom: 0.35rem;
}

.bio-half-desc {
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--bio-text-muted);
  margin-bottom: 0.75rem;
}

.bio-half-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--bio-gold-light);
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(26, 25, 24, 0.08);
}

.bio-half-cta svg {
  width: 12px;
  height: 12px;
}

/* 6. SOCIAL PROOF & CARROSSEL DE AMBIENTES ASSINADOS */
.bio-metrics-banner {
  background: linear-gradient(135deg, #FAF8F5 0%, #EAE5DC 100%);
  border: 1px solid var(--bio-hairline-bright);
  border-radius: var(--bio-border-radius);
  padding: 1rem 1.15rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  text-align: center;
  margin-bottom: 1.25rem;
}

.bio-metric-item strong {
  display: block;
  font-family: var(--bio-font-serif);
  font-size: 1.35rem;
  color: var(--bio-gold-light);
  line-height: 1.1;
  font-weight: 600;
}

.bio-metric-item span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bio-text-muted);
  margin-top: 0.25rem;
}

.bio-gallery-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.6rem;
  margin-bottom: 1.25rem;
  scrollbar-width: none;
}

.bio-gallery-scroll::-webkit-scrollbar {
  display: none;
}

.bio-gallery-tile {
  flex: 0 0 210px;
  height: 250px;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--bio-hairline);
  box-shadow: 0 6px 16px rgba(26, 25, 24, 0.1);
}

.bio-gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bio-gallery-tile:hover img {
  transform: scale(1.05);
}

.bio-gallery-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.85rem 0.75rem 0.65rem;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 25, 24, 0.88) 100%);
}

.bio-gallery-meta strong {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: #FAF8F5;
  line-height: 1.2;
}

.bio-gallery-meta span {
  display: block;
  font-size: 0.64rem;
  color: #DFC19B;
  letter-spacing: 0.06em;
  margin-top: 0.15rem;
}

/* 7. CONTATO & LOCALIZAÇÃO */
.bio-contact-card {
  background: var(--bio-bg-card);
  border: 1px solid var(--bio-hairline);
  border-radius: var(--bio-border-radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 14px rgba(26, 25, 24, 0.05);
}

.bio-contact-title {
  font-family: var(--bio-font-serif);
  font-size: 1.25rem;
  color: var(--bio-text-primary);
  margin-bottom: 0.35rem;
}

.bio-contact-desc {
  font-size: 0.78rem;
  color: var(--bio-text-secondary);
  margin-bottom: 1rem;
}

.bio-channel-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.bio-channel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: var(--bio-bg-deep);
  border: 1px solid rgba(26, 25, 24, 0.1);
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--bio-text-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.bio-channel-btn:hover {
  background: #FFFFFF;
  border-color: var(--bio-gold-main);
  color: var(--bio-gold-light);
}

.bio-channel-btn svg {
  width: 14px;
  height: 14px;
  color: var(--bio-gold-main);
}

/* 8. FOOTER DISCRETO */
.bio-footer {
  text-align: center;
  padding: 1rem 1.25rem;
  font-size: 0.68rem;
  color: var(--bio-text-muted);
  border-top: 1px solid rgba(26, 25, 24, 0.08);
}

.bio-footer p {
  margin-bottom: 0.35rem;
}

.bio-footer a {
  color: var(--bio-gold-light);
  text-decoration: none;
}

/* 9. STICKY FLOATING BOTTOM BAR */
.bio-sticky-bottom {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 100;
  padding: 0.75rem 1.15rem;
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--bio-hairline-bright);
  box-shadow: 0 -8px 24px rgba(26, 25, 24, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.bio-sticky-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.bio-sticky-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1.5px solid var(--bio-gold-main);
  object-fit: cover;
  flex-shrink: 0;
}

.bio-sticky-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.bio-sticky-text strong {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--bio-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bio-sticky-text span {
  font-size: 0.62rem;
  color: var(--bio-gold-light);
  letter-spacing: 0.04em;
}

.bio-sticky-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #25D366;
  color: #072312;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  transition: all 0.2s ease;
}

.bio-sticky-btn:hover {
  background: #22bf5b;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

.bio-sticky-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}
