/* =========================================================
   CARTÃO DIGITAL · JULIO CRUZ · CF&S
   Background fixo · Sticky stage · 3 capítulos · Min/Max
   ========================================================= */

/* ---------- Tokens ---------- */
@font-face { font-family: "Canela"; font-weight: 100 900; font-display: swap; src: url("assets/fonts/Canela-Black.ttf") format("truetype"); }

:root {
  /* Tipografia */
  --font-sans: "Inter", "SF Pro Text", "Helvetica Neue", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter", "SF Pro Display", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", "Playfair Display", "DM Serif Display", Georgia, "Times New Roman", serif;

  /* Movimento */
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --ease-minmax: cubic-bezier(.32, .72, .32, 1);
  --t-fast: 140ms;
  --t-base: 240ms;
  --t-slow: 480ms;

  /* Geometria */
  --radius-card: 28px;
  --radius-tile: 22px;
  --radius-btn: 14px;
  --radius-pill: 999px;

  /* SCROLLTELLING · progresso global (JS atualiza) */
  --progress: 0;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: auto;
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  color: #0a0a0a;
  background: #ededeb;
  min-height: 100dvh;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

img, svg { display: block; max-width: 100%; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

input {
  font: inherit;
  color: inherit;
  border: 0;
  background: transparent;
  outline: 0;
}

a { text-decoration: none; color: inherit; }

::selection { background: #0a0a0a; color: #ededeb; }

:focus-visible {
  outline: 2px solid #0a0a0a;
  outline-offset: 3px;
  border-radius: 6px;
}

/* =========================================================
   1. BACKGROUND FIXO · bg-environment.jpg
   Posicionado fixed; não rola com a página.
   Mantém composição original · não recorta agressivamente.
   ========================================================= */
.bg-environment {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-environment__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Estabilidade visual: a imagem é o ambiente, não move */
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: 50% 50%;
  will-change: transform;
}

/* Scrim sutil para garantir legibilidade do vidro */
.bg-environment__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(237, 237, 235, 0.05) 0%,
    rgba(237, 237, 235, 0.02) 60%,
    rgba(237, 237, 235, 0.10) 100%);
  mix-blend-mode: normal;
}

@media (max-width: 720px) {
  .bg-environment__img {
    /* Mobile: reposiciona para preservar a composição central */
    object-position: 60% center;
  }
}

/* =========================================================
   2. SCROLLTELLING · STAGE STICKY · 3 capítulos
   ========================================================= */
.scroll-stage {
  position: relative;
  width: 100%;
  height: 420vh;            /* 100vh + 2 unidades de câmera (160vh) */
  z-index: 1;
}

@media (min-width: 1024px) {
  .scroll-stage { height: 420vh; }
}

.sticky-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  /* Câmera: profundidade real para o avanço pelo ambiente */
  perspective: 1200px;
  perspective-origin: 50% 50%;
  /* Container central — nada dentro desloca este centro */
  --stage-pad-x: clamp(16px, 4vw, 56px);
  --stage-pad-y: clamp(16px, 4vh, 32px);
}

/* =========================================================
   3. ESTADO BASE — capítulo compartilhado
   Posicionamento absoluto dentro do sticky stage.
   Cada um ocupa exatamente o centro geométrico.
   ========================================================= */
.state {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--stage-pad-y) var(--stage-pad-x);
  pointer-events: none;
  /* Cada state fica ancorado ao centro; minimize positions são offsets negativos */
  will-change: transform;
}

/* =========================================================
   4-6. CAPÍTULOS · câmera avançando (JS escreve transform no .state
   e opacity/filter no vidro filho — nunca opacity/filter no .state,
   pois criariam um backdrop root e matariam o backdrop-filter).
   ENTRADA (longe, desfocado) → HOLD (estável) → SAÍDA (atravessa).
   ========================================================= */
.state--01, .state--02, .state--03 {
  transform-origin: 50% 50%;
  pointer-events: none;
}
.state.is-hold { pointer-events: auto; }
.state.is-away { visibility: hidden; }
.state > :first-child { transition: none; }

/* =========================================================
   7. CARD · smoked frosted glass
   ========================================================= */
.card {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 36px 22px 26px;
  border-radius: var(--radius-card);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.14) 100%),
    rgba(245, 245, 240, 0.18);
  backdrop-filter: blur(30px) saturate(150%) contrast(102%);
  -webkit-backdrop-filter: blur(30px) saturate(150%) contrast(102%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(10, 10, 10, 0.04),
    0 30px 80px -28px rgba(10, 10, 10, 0.32),
    0 10px 30px -10px rgba(10, 10, 10, 0.18);
  isolation: isolate;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0) 35%,
    rgba(10, 10, 10, 0.04) 100%);
  mix-blend-mode: overlay;
  opacity: 0.85;
  z-index: -1;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(120% 60% at 50% 0%, rgba(255, 255, 255, 0.55) 0%, transparent 55%);
  opacity: 0.4;
  mix-blend-mode: screen;
  z-index: -1;
}

@media (min-width: 720px) {
  .card { padding: 44px 32px 30px; max-width: 460px; }
}

@media (min-width: 1024px) {
  .card { padding: 52px 44px 36px; max-width: 540px; }
}

/* =========================================================
   8. CARD · HEADER
   ========================================================= */
.card__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  text-align: center;
}

.card__avatar {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #d8d6cf, #b9b6ad);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    0 14px 30px -12px rgba(10, 10, 10, 0.35);
  isolation: isolate;
}

.card__avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.35) 0%, transparent 50%);
  pointer-events: none;
}

.card__avatar-glow {
  position: absolute;
  inset: -30%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.7), transparent 70%);
  filter: blur(20px);
  z-index: -1;
}

.card__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.card__identity {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.card__name {
  font-family: "Canela", var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.005em;
  margin: 6px 0 0;
  color: #0a0a0a;
  line-height: 1.05;
}

.card__role {
  font-size: 13px;
  font-weight: 500;
  color: #2a2a2a;
  margin: 4px 0 0;
}

.card__tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 4px 0 0;
  font-size: 12px;
  color: #4a4a4a;
  letter-spacing: 0.02em;
}

.card__tagline i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #a3a39c;
  display: inline-block;
}

@media (min-width: 720px) {
  .card__name { font-size: 34px; }
  .card__role { font-size: 14px; }
}

@media (min-width: 1024px) {
  .card__name { font-size: 42px; }
  .card__role { font-size: 15px; }
  .card__tagline { font-size: 13px; }
  .card__avatar { width: 108px; height: 108px; }
}

/* =========================================================
   9. BUSCA
   ========================================================= */
.search {
  position: relative;
  margin-top: 22px;
}

.search__field {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 16px;
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, 0.30);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: background var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out);
}

.search__field:focus-within {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(10, 10, 10, 0.18);
}

.search__icon {
  width: 18px;
  height: 18px;
  color: #6b6b66;
  flex-shrink: 0;
}

.search__input {
  flex: 1;
  font-size: 14px;
  color: #0a0a0a;
  min-width: 0;
}

.search__input::placeholder { color: #6b6b66; }

.search__suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 18px 40px -16px rgba(10, 10, 10, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  z-index: 20;
  max-height: 280px;
  overflow-y: auto;
}

.search__suggestion {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease-out);
}

.search__suggestion:hover,
.search__suggestion[aria-selected="true"] {
  background: rgba(10, 10, 10, 0.05);
}

.search__suggestion-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.06);
  display: grid;
  place-items: center;
  color: #0a0a0a;
  flex-shrink: 0;
}

.search__suggestion-icon svg { width: 14px; height: 14px; }

.search__suggestion-label {
  flex: 1;
  font-size: 14px;
  color: #0a0a0a;
  font-weight: 500;
}

.search__suggestion-meta {
  font-size: 11px;
  color: #6b6b66;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.search__empty {
  padding: 14px;
  text-align: center;
  font-size: 13px;
  color: #6b6b66;
}

/* =========================================================
   10. AÇÕES RÁPIDAS (grid 3 + 4)
   ========================================================= */
.actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas:
    "wapp tele email ."
    "link insta port save";
  gap: 10px;
}

@media (min-width: 720px) { .actions { gap: 12px; } }

.action {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 6px 12px;
  border-radius: var(--radius-tile);
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition:
    transform var(--t-base) var(--ease-out),
    background var(--t-base) var(--ease-out),
    border-color var(--t-base) var(--ease-out),
    box-shadow var(--t-base) var(--ease-out);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.action[data-area="wapp"]  { grid-area: wapp; }
.action[data-area="tele"]  { grid-area: tele; }
.action[data-area="email"] { grid-area: email; }
.action[data-area="link"]  { grid-area: link; }
.action[data-area="insta"] { grid-area: insta; }
.action[data-area="port"]  { grid-area: port; }
.action[data-area="save"]  { grid-area: save; }

.action::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 60%);
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
}

.action__icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: #0a0a0a;
  transition: transform var(--t-base) var(--ease-out), background var(--t-base) var(--ease-out);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 10px -4px rgba(10, 10, 10, 0.18);
}

.action__icon svg { width: 16px; height: 16px; }

.action__label {
  font-size: 11.5px;
  font-weight: 500;
  color: #0a0a0a;
  line-height: 1.1;
}

.action:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(10, 10, 10, 0.18);
  box-shadow: 0 12px 24px -12px rgba(10, 10, 10, 0.18);
}

.action:hover .action__icon { transform: scale(1.08); }

.action:active {
  transform: translateY(0) scale(0.98);
  transition-duration: var(--t-fast);
}

.action:focus-visible { outline: 2px solid #0a0a0a; outline-offset: 2px; }

/* =========================================================
   11. ASSINATURA
   ========================================================= */
.signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 20px;
  margin-top: 22px;
  border-top: 1px solid rgba(10, 10, 10, 0.08);
  opacity: 0.85;
}

.signature__mark {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: #0a0a0a;
}

.signature__rule {
  width: 28px;
  height: 1px;
  background: #a3a39c;
}

.signature__line {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #6b6b66;
  font-style: italic;
}

/* =========================================================
   12. PLAYER · smoked frosted glass hero
   ========================================================= */
.player {
  position: relative;
  width: 100%;
  max-width: 460px;
  padding: 36px 26px 30px;
  border-radius: var(--radius-card);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.14) 100%),
    rgba(245, 245, 240, 0.16);
  backdrop-filter: blur(32px) saturate(150%) contrast(102%);
  -webkit-backdrop-filter: blur(32px) saturate(150%) contrast(102%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(10, 10, 10, 0.04),
    0 36px 90px -28px rgba(10, 10, 10, 0.34),
    0 12px 32px -10px rgba(10, 10, 10, 0.18);
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.player::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0) 35%,
    rgba(10, 10, 10, 0.04) 100%);
  mix-blend-mode: overlay;
  opacity: 0.8;
  z-index: -1;
}

@media (min-width: 720px) {
  .player { max-width: 540px; padding: 40px 32px 32px; gap: 20px; }
}

@media (min-width: 1024px) {
  .player {
    max-width: 640px;
    padding: 44px 40px 36px;
    grid-template-columns: 220px 1fr;
    grid-template-areas:
      "head     head"
      "artwork  info"
      "waveform waveform"
      "progress progress"
      "controls controls"
      "extras   extras";
    column-gap: 28px;
    row-gap: 16px;
  }
}

.player__head {
  grid-area: head;
  text-align: center;
}

@media (min-width: 1024px) {
  .player__head { text-align: left; }
}

.player__eyebrow {
  margin: 0 0 4px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b6b66;
}

.player__show {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 6px;
  color: #0a0a0a;
  line-height: 1.15;
}

.player__hint {
  margin: 0;
  font-size: 11.5px;
  color: #6b6b66;
  letter-spacing: 0.01em;
}

@media (min-width: 720px) {
  .player__show { font-size: 26px; }
}

@media (min-width: 1024px) {
  .player__show { font-size: 30px; }
}

/* =========================================================
   13. PLAYER · ARTWORK
   ========================================================= */
.player__artwork {
  grid-area: artwork;
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 20px 50px -16px rgba(10, 10, 10, 0.4);
  isolation: isolate;
}

.player__artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.player__artwork::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 30%,
    rgba(10, 10, 10, 0.18) 100%);
  mix-blend-mode: overlay;
}

.player__type {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0a0a0a;
  box-shadow: 0 4px 12px -4px rgba(10, 10, 10, 0.25);
}

@media (min-width: 1024px) {
  .player__artwork { max-width: none; }
}

/* =========================================================
   14. PLAYER · INFO
   ========================================================= */
.player__info {
  grid-area: info;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

@media (min-width: 1024px) {
  .player__info { text-align: left; }
}

.player__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin: 0;
  color: #0a0a0a;
}

.player__subtitle {
  font-size: 13.5px;
  margin: 0;
  color: #2a2a2a;
  line-height: 1.45;
}

.player__meta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin: 4px 0 0;
  color: #6b6b66;
}

@media (min-width: 1024px) {
  .player__title { font-size: 24px; }
}

/* =========================================================
   15. PLAYER · WAVEFORM
   ========================================================= */
.player__waveform {
  grid-area: waveform;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.player__waveform span {
  flex: 1;
  min-width: 2px;
  max-width: 4px;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.45));
  border-radius: 2px;
  transition: opacity 200ms var(--ease-soft);
}

/* =========================================================
   16. PLAYER · PROGRESS
   ========================================================= */
.player__progress {
  grid-area: progress;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.player__progress-bar {
  position: relative;
  width: 100%;
  height: 22px;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.player__progress-bar::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 2px;
  background: rgba(10, 10, 10, 0.18);
  transform: translateY(-50%);
}

.player__progress-fill {
  position: absolute;
  top: 50%;
  left: 0;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #0a0a0a, #2a2a2a);
  transform: translateY(-50%);
  width: 0%;
  transition: width 80ms linear;
}

.player__progress-handle {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #0a0a0a;
  box-shadow: 0 2px 6px rgba(10, 10, 10, 0.25);
  transform: translate(-50%, -50%);
  left: 0%;
  transition: left 80ms linear;
}

.player__time {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: #4a4a4a;
}

/* =========================================================
   17. PLAYER · CONTROLS
   ========================================================= */
.player__controls {
  grid-area: controls;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
}

.player__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #0a0a0a;
  transition:
    transform var(--t-base) var(--ease-out),
    background var(--t-base) var(--ease-out),
    border-color var(--t-base) var(--ease-out),
    box-shadow var(--t-base) var(--ease-out);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 4px 10px -4px rgba(10, 10, 10, 0.18);
}

.player__btn svg { width: 18px; height: 18px; }

.player__btn:hover {
  transform: scale(1.06);
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(10, 10, 10, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 8px 18px -6px rgba(10, 10, 10, 0.25);
}

.player__btn:active {
  transform: scale(0.96);
  transition-duration: var(--t-fast);
}

.player__btn--play {
  width: 64px;
  height: 64px;
  background: #0a0a0a;
  color: #ededeb;
  border-color: #0a0a0a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 28px -10px rgba(10, 10, 10, 0.45);
}

.player__btn--play svg { width: 24px; height: 24px; }

.player__btn--play:hover {
  background: #1a1a1a;
  color: #fff;
  transform: scale(1.06);
}

.player__btn--skip {
  width: 44px;
  height: 44px;
  font-size: 10px;
  font-weight: 600;
}

.player__btn--skip span {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.player__icon-play { display: block; }
.player__icon-pause { display: none; }

.player[data-playing="true"] .player__icon-play { display: none; }
.player[data-playing="true"] .player__icon-pause { display: block; }

/* =========================================================
   18. PLAYER · EXTRAS (volume + secondary)
   ========================================================= */
.player__extras {
  grid-area: extras;
  display: flex;
  align-items: center;
  gap: 14px 22px;
  justify-content: center;
  flex-wrap: wrap;
}

.player__volume {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.player__icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  color: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.72);
  transition: background var(--t-base) var(--ease-out);
}

.player__icon:hover { background: rgba(255, 255, 255, 0.7); }

.player__icon svg { width: 16px; height: 16px; }

.player__volume-bar {
  position: relative;
  width: 90px;
  height: 4px;
  border-radius: 2px;
  background: rgba(10, 10, 10, 0.18);
  cursor: pointer;
}

.player__volume-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 70%;
  border-radius: 2px;
  background: #0a0a0a;
}

.player__secondary {
  display: inline-flex;
  gap: 8px;
}

.player__chip {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #0a0a0a;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background var(--t-base) var(--ease-out);
}

.player__chip:hover { background: rgba(255, 255, 255, 0.7); }

@media (min-width: 1024px) {
  .player__volume-bar { width: 110px; }
}

/* =========================================================
   19. STORY GLASS · smoked frosted
   ========================================================= */
.story-glass {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 80px);
  max-height: calc(100dvh - 80px);
  padding: 36px 24px 28px;
  border-radius: var(--radius-card);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.14) 100%),
    rgba(245, 245, 240, 0.16);
  backdrop-filter: blur(30px) saturate(150%) contrast(102%);
  -webkit-backdrop-filter: blur(30px) saturate(150%) contrast(102%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(10, 10, 10, 0.04),
    0 30px 80px -28px rgba(10, 10, 10, 0.32),
    0 10px 30px -10px rgba(10, 10, 10, 0.18);
  isolation: isolate;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(10, 10, 10, 0.18) transparent;
}

.story-glass::-webkit-scrollbar { width: 6px; }
.story-glass::-webkit-scrollbar-thumb { background: rgba(10, 10, 10, 0.18); border-radius: 6px; }

.story-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.5) 0%,
    transparent 35%,
    rgba(10, 10, 10, 0.04) 100%);
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.7;
}

@media (min-width: 1024px) {
  .story-glass { max-width: 720px; padding: 48px 48px 36px; }
}

.story__head { text-align: center; margin-bottom: 22px; }

.story__eyebrow {
  margin: 0 0 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b6b66;
}

.story__title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0 0 12px;
  color: #0a0a0a;
}

.story__lede {
  margin: 0 auto;
  max-width: 440px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #2a2a2a;
}

@media (min-width: 1024px) {
  .story__title { font-size: 38px; }
  .story__lede  { font-size: 15px; max-width: 580px; }
}

/* =========================================================
   20. FRAGMENTOS EDITORIAIS
   ========================================================= */
.story__fragments {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 720px) {
  .story__fragments { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
}

@media (min-width: 1024px) {
  .story__fragments { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
}

.fragment {
  position: relative;
  padding: 16px 14px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.30);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition:
    transform var(--t-base) var(--ease-out),
    background var(--t-base) var(--ease-out),
    border-color var(--t-base) var(--ease-out),
    box-shadow var(--t-base) var(--ease-out);
  min-height: 100px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media (min-width: 1024px) {
  .fragment { min-height: 124px; padding: 20px 18px 16px; }
}

.fragment::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent 55%);
  pointer-events: none;
  opacity: 0.6;
}

.fragment__key {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b6b66;
  margin: 0;
  position: relative;
}

.fragment__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0;
  color: #0a0a0a;
  line-height: 1.1;
  position: relative;
}

@media (min-width: 1024px) {
  .fragment__title { font-size: 24px; }
}

.fragment__text {
  font-size: 12.5px;
  line-height: 1.55;
  color: #2a2a2a;
  margin: 0;
  position: relative;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 420ms var(--ease-soft), opacity 320ms var(--ease-soft), margin-top 320ms var(--ease-soft);
}

@media (min-width: 1024px) {
  .fragment:hover .fragment__text,
  .fragment:focus-within .fragment__text {
    max-height: 200px;
    opacity: 1;
    margin-top: 4px;
  }
  .fragment:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(10, 10, 10, 0.18);
    box-shadow: 0 14px 28px -12px rgba(10, 10, 10, 0.2);
  }
}

.fragment.is-open .fragment__text {
  max-height: 400px;
  opacity: 1;
  margin-top: 4px;
}

.fragment.is-open {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(10, 10, 10, 0.18);
  box-shadow: 0 10px 20px -10px rgba(10, 10, 10, 0.18);
}

/* =========================================================
   21. STORY FOOT
   ========================================================= */
.signature--story {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 18px;
  margin-top: 22px;
  border-top: 1px solid rgba(10, 10, 10, 0.08);
  opacity: 0.85;
}

.signature--story .signature__mark { letter-spacing: 0.32em; }

/* =========================================================
   22. TOPBAR · logo + pílula de vidro fumê centralizada
   ========================================================= */
.topbar { position: absolute; inset: 0; z-index: 20; pointer-events: none; }
.topbar > * { pointer-events: auto; }
.topbar__logo {
  position: absolute; left: clamp(18px, 2.6vw, 40px); top: clamp(14px, 2.6vh, 26px);
  display: block; padding: 0; line-height: 0;
}
.topbar__logo img { width: clamp(64px, 6.2vw, 92px); height: auto; }
.topbar__pill {
  position: absolute; left: 50%; top: clamp(12px, 2.2vh, 22px); transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,0.30), rgba(255,255,255,0.14)), rgba(245,245,240,0.16);
  -webkit-backdrop-filter: blur(30px) saturate(150%);
  backdrop-filter: blur(30px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 18px 40px -22px rgba(10,10,10,0.4);
  white-space: nowrap;
}
.topbar__nav, .topbar__quick { display: flex; align-items: center; gap: 4px; }
.topbar__sep { width: 1px; height: 20px; background: rgba(10,10,10,0.16); margin: 0 4px; }
.hud__chapter {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px 5px 5px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #3d3d39; opacity: 0.8;
  transition: color var(--t-base) var(--ease-out), opacity var(--t-base) var(--ease-out), background var(--t-base) var(--ease-out);
}
.hud__chapter:hover { opacity: 1; background: rgba(255,255,255,0.45); }
.hud__chapter--active { color: #f4f4f0; background: #0a0a0a !important; opacity: 1; }
.hud__index {
  display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid currentColor; font-size: 10px; letter-spacing: 0;
}
.qbtn {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  color: #0a0a0a; transition: background var(--t-base) var(--ease-out);
}
.qbtn:hover { background: rgba(255,255,255,0.55); }
.qbtn svg { width: 16px; height: 16px; }
.qbtn--dark { background: #0a0a0a; color: #f4f4f0; }
.qbtn--dark:hover { background: #26261f; }
.topbar__hint {
  position: absolute; left: 50%; bottom: clamp(12px, 2.6vh, 24px); transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: #3d3d39; opacity: 0.8; transition: opacity 400ms var(--ease-out); pointer-events: none !important;
}
.topbar__hint i { font-style: normal; animation: hintBob 1.8s ease-in-out infinite; }
.topbar__hint.is-gone { opacity: 0; }
@keyframes hintBob { 0%,100% { translate: 0 0; } 50% { translate: 0 3px; } }

.share { position: relative; }
.share__menu {
  position: absolute; right: 0; top: calc(100% + 12px);
  min-width: 170px; padding: 6px; border-radius: 16px;
  background: rgba(245, 245, 240, 0.78);
  -webkit-backdrop-filter: blur(28px) saturate(140%); backdrop-filter: blur(28px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.7), 0 20px 50px -20px rgba(10,10,10,0.4);
}
.share__menu[hidden] { display: none; }
.share__menu button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px; font-size: 13px; font-weight: 500; }
.share__menu button:hover { background: rgba(10,10,10,0.06); }

@media (max-width: 899px) {
  .topbar__logo { display: none; }
  .topbar__hint { display: none; }
  .hud__chapter:not(.hud__chapter--active) .hud__label { display: none; }
  .hud__chapter:not(.hud__chapter--active) { padding-right: 5px; }
  .hud__chapter { font-size: 10px; letter-spacing: 0.08em; }
  .topbar__quick .qbtn:nth-child(2) { display: none; }
}

/* =========================================================
   23. MÓDULOS FUTUROS / MODAL / TOAST / BTN
   ========================================================= */
.modules { display: block; }

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
}

.modal[hidden] { display: none; }

.modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn var(--t-base) var(--ease-out);
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal__panel {
  position: relative;
  width: 100%;
  max-width: 380px;
  padding: 28px 22px 22px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.30));
  backdrop-filter: blur(40px) saturate(160%);
  -webkit-backdrop-filter: blur(40px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 30px 80px -20px rgba(10, 10, 10, 0.5),
    0 12px 32px -10px rgba(10, 10, 10, 0.2);
  animation: pop var(--t-base) var(--ease-out);
}

@keyframes pop {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #4a4a4a;
  background: rgba(10, 10, 10, 0.05);
  border: 1px solid rgba(10, 10, 10, 0.08);
  transition: background var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
}

.modal__close svg { width: 14px; height: 14px; }

.modal__close:hover { background: rgba(10, 10, 10, 0.10); transform: rotate(90deg); }

.modal__head { text-align: center; margin-bottom: 18px; }

.modal__eyebrow {
  margin: 0 0 4px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b6b66;
}

.modal__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 2px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.modal__subtitle { font-size: 13px; color: #2a2a2a; margin: 0; }

.modal__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.qr-frame {
  position: relative;
  padding: 14px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(10, 10, 10, 0.06),
    0 12px 28px -12px rgba(10, 10, 10, 0.25);
}

.qr-frame__inner { width: 240px; height: 240px; display: grid; place-items: center; }
.qr-frame__inner canvas, .qr-frame__inner img { width: 240px; height: 240px; display: block; }

.qr-frame__corner {
  position: absolute;
  width: 14px; height: 14px;
  border-color: #0a0a0a;
  border-style: solid;
}
.qr-frame__corner--tl { top: 6px;    left: 6px;    border-width: 2px 0 0 2px; }
.qr-frame__corner--tr { top: 6px;    right: 6px;   border-width: 2px 2px 0 0; }
.qr-frame__corner--bl { bottom: 6px; left: 6px;    border-width: 0 0 2px 2px; }
.qr-frame__corner--br { bottom: 6px; right: 6px;   border-width: 0 2px 2px 0; }

.modal__hint { margin: 0; font-size: 12px; color: #6b6b66; text-align: center; }

.modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.modal__actions .btn--solid { grid-column: 1 / -1; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition:
    transform var(--t-base) var(--ease-out),
    background var(--t-base) var(--ease-out),
    box-shadow var(--t-base) var(--ease-out),
    border-color var(--t-base) var(--ease-out);
}

.btn__icon { width: 16px; height: 16px; }

.btn--solid {
  background: #0a0a0a;
  color: #ededeb;
  border: 1px solid #0a0a0a;
  box-shadow:
    0 8px 18px -8px rgba(10, 10, 10, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn--solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -10px rgba(10, 10, 10, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn--solid:active { transform: translateY(0) scale(0.99); }

.btn--ghost {
  background: rgba(10, 10, 10, 0.04);
  color: #0a0a0a;
  border: 1px solid rgba(10, 10, 10, 0.08);
}

.btn--ghost:hover { background: rgba(10, 10, 10, 0.08); border-color: rgba(10, 10, 10, 0.18); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 18px;
  background: #0a0a0a;
  color: #ededeb;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 28px -10px rgba(10, 10, 10, 0.4);
  z-index: 200;
  opacity: 0;
  transition: opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out);
  pointer-events: none;
}

.toast[data-visible="true"] { opacity: 1; transform: translateX(-50%) translateY(0); }

/* =========================================================
   24. REDUZIDO · short fade apenas
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .scroll-stage { height: auto; }
  .sticky-stage { position: relative; height: auto; min-height: 100vh; }
  .state > :first-child { opacity: 1 !important; filter: none !important; }
  .state.is-away { visibility: visible; }
  .state {
    position: relative;
    inset: auto;
    margin-bottom: 32px;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* =========================================================
   CAPA EDITORIAL CF&S (áudio + vídeo) · blocos de vidro
   ========================================================= */
.cover {
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
  padding: 16px;
  color: #0a0a0a;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(255, 255, 255, 0.85), transparent 55%),
    linear-gradient(145deg, #dcdcd6 0%, #c9c9c2 55%, #b7b7b0 100%);
}
.cover__blocks { position: absolute; inset: 0; pointer-events: none; }
.cover__blocks i {
  position: absolute; border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.65), rgba(255,255,255,0.12));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.7), 0 12px 30px -14px rgba(10,10,10,0.45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.cover__blocks i:nth-child(1) { width: 46%; height: 52%; right: 8%; top: 10%; }
.cover__blocks i:nth-child(2) { width: 30%; height: 30%; right: 34%; top: 40%; background: linear-gradient(135deg, rgba(10,10,10,0.78), rgba(10,10,10,0.5)); }
.cover__blocks i:nth-child(3) { width: 22%; height: 22%; right: 6%; top: 58%; border-radius: 50%; }
.cover__blocks i:nth-child(4) { width: 14%; height: 14%; left: 10%; top: 14%; border-radius: 50%; background: rgba(10,10,10,0.82); }
.cover > span:not(.cover__blocks) { position: relative; z-index: 1; }
.cover__mark { position: absolute !important; top: 14px; left: 16px; font-size: 11px; font-weight: 700; letter-spacing: 0.28em; }
.cover__kicker { font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #3a3a36; }
.cover__name { font-family: "Canela", var(--font-serif); font-size: 22px; font-weight: 700; line-height: 1.05; }
.cover--wide { aspect-ratio: 16 / 9; border-radius: 18px; padding: 20px 22px; }
.cover--wide .cover__name { font-size: 30px; }

/* ---------- Player de vídeo ---------- */
.vplayer { margin-top: 20px; }
.vplayer__stage { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.7), 0 24px 50px -26px rgba(10,10,10,0.5); }
.vplayer__big {
  position: absolute !important; z-index: 2 !important;
  right: 18px; bottom: 18px;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #0a0a0a; color: #f4f4f0;
  box-shadow: 0 12px 30px -10px rgba(10,10,10,0.6);
}
.vplayer__big svg { width: 22px; height: 22px; grid-area: 1 / 1; }
.vplayer__big .player__icon-pause { display: none; }
.vplayer[data-playing="true"] .vplayer__big .player__icon-play { display: none; }
.vplayer[data-playing="true"] .vplayer__big .player__icon-pause { display: block; }
.vplayer__bar { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 11.5px; font-variant-numeric: tabular-nums; color: #3a3a36; }
.vplayer__bar .player__progress-bar { flex: 1; }

/* ---------- Interesses · linha discreta ---------- */
.interests {
  list-style: none; margin: 18px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px;
}
.interest {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: #4a4a45;
}
.interest svg { width: 14px; height: 14px; opacity: 0.8; }

@media (min-width: 1024px) {
  .story-glass { max-width: 720px; padding: 32px 36px 22px; }
  .story-glass .vplayer { margin-top: 16px; }
  .story-glass .cover--wide { aspect-ratio: 21 / 9; }
}

@media (max-width: 720px) {
  .state { padding-top: 64px; padding-bottom: 16px; }
  .story-glass { max-height: calc(100dvh - 88px); padding: 28px 20px 20px; }
  .cover--wide { aspect-ratio: 16 / 8; padding: 14px 16px; }
  .cover--wide .cover__name { font-size: 22px; max-width: 62%; }
  .vplayer__big { width: 46px; height: 46px; right: 12px; bottom: 12px; }
  .story-glass .story__lede { font-size: 13.5px; }
}


/* ---------- Logo CF&S (assinatura / capas) ---------- */
.signature__logo { height: 15px; width: auto; display: block; }
.cover__mark { height: 12px; width: auto; max-width: none; }
.cover > .cover__mark { position: absolute !important; top: 16px; left: 16px; }

/* ---------- Títulos extra bold ---------- */
.story__title, .player__show, .player__title, .cover__name { font-family: "Canela", var(--font-serif); font-weight: 800; }
.player__artwork img.cover__mark, .cover img.cover__mark { width: auto; height: 12px; max-width: 70%; object-fit: contain; inset: auto; top: 16px; left: 16px; }

/* ---------- Áudio · ícone CF&S no lugar da foto ---------- */
.cover--icon { align-items: center; justify-content: center; }
.cover--icon .cover__icon { width: 46%; height: auto; max-width: none; object-fit: contain; position: relative; z-index: 1; inset: auto; }
.player__artwork.cover--icon img.cover__icon { width: 38%; height: auto; }
@media (min-width: 1024px) { .player__artwork { max-width: 200px; } }

/* ---------- Volume: bolinha arrastável ---------- */
.player__volume-bar, .vplayer__bar .player__volume-bar { touch-action: none; }
.player__volume-handle {
  position: absolute; top: 50%; left: 70%; width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%; background: #0a0a0a; box-shadow: 0 0 0 3px rgba(255,255,255,0.7);
  pointer-events: none;
}
.player__volume-bar::before { content: ""; position: absolute; inset: -10px -4px; }
.player__icon .vol-x { display: none; }
.player__icon.is-muted .vol-waves { display: none; }
.player__icon.is-muted .vol-x { display: block; }

/* ---------- Slide Vídeo ---------- */
.story-glass { text-align: center; }
.story-glass .story__head { margin-bottom: 0; }
.story-glass .story__title { font-size: clamp(22px, 3.2vh, 32px); margin: 2px 0 0; }
.story-glass .story__eyebrow { margin: 0; }
.vplayer { margin-top: 12px; }
.vplayer__stage.cover--wide { aspect-ratio: 16 / 9; width: min(100%, calc((100dvh - 360px) * 16 / 9)); margin-inline: auto; }
.vplayer__bar { width: min(100%, calc((100dvh - 360px) * 16 / 9)); margin-inline: auto; gap: 10px; }
.vplayer__bar .player__volume-bar { width: 64px; flex: none; }
.vplayer__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.vplayer__stage:fullscreen { aspect-ratio: auto; width: 100%; border-radius: 0; }
.story-glass .story__lede { font-size: 12.5px; line-height: 1.55; margin: 12px auto 0; max-width: 620px; color: #3a3a36; }
.story-glass .interests { flex-wrap: nowrap; justify-content: center; gap: 6px 14px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.story-glass .interest { font-size: 9.5px; white-space: nowrap; }
@media (min-width: 1024px) {
  .story-glass { max-width: 760px; padding: 26px 36px 18px; }
  .story-glass .cover--wide { aspect-ratio: 16 / 9; }
}
@media (max-width: 720px) {
  .story-glass .cover--wide { aspect-ratio: 16 / 9; }
  .vplayer__bar .player__volume-bar { display: none; }
  .story-glass .interests { flex-wrap: wrap; }
  .vplayer__stage.cover--wide, .vplayer__bar { width: 100%; }
}
.state { padding-top: 72px; }

/* margem para a pílula do topo */
.story-glass { max-height: calc(100dvh - 124px); }
.vplayer__stage.cover--wide, .vplayer__bar { width: min(100%, calc((100dvh - 410px) * 16 / 9)); }
@media (max-width: 720px) { .vplayer__stage.cover--wide, .vplayer__bar { width: 100%; } }


/* =========================================================
   AJUSTES · rodada 3
   ========================================================= */
/* busca oculta (código mantido) */
.search[hidden] { display: none !important; }

/* assinatura: Inter, preto, sem itálico, centralizada */
.signature { text-align: center; justify-content: center; }
.signature__line { font-family: "Inter", var(--font-sans); font-style: normal; font-weight: 500; color: #0a0a0a; font-size: 12px; letter-spacing: 0.02em; }
.signature__link { display: inline-block; line-height: 0; }
.signature__link:hover .signature__logo { opacity: 0.7; }
.signature__logo { transition: opacity var(--t-base) var(--ease-out); }

/* foto maior */
.card__avatar { width: 112px; height: 112px; }
@media (min-width: 1024px) { .card__avatar { width: 140px; height: 140px; } }

/* botões: 3 colunas × 2 linhas + CTA grande */
.actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "wapp tele email"
    "link insta port"
    "save save save";
  gap: 12px;
}
.action { padding: 20px 8px 16px; gap: 10px; }
.action__icon { width: 42px; height: 42px; }
.action__icon svg { width: 20px; height: 20px; }
.action[data-area="save"] {
  flex-direction: row; gap: 12px; padding: 18px 16px;
  background: #0a0a0a; border-color: #0a0a0a; color: #f4f4f0;
  box-shadow: 0 16px 34px -16px rgba(10, 10, 10, 0.6);
}
.action[data-area="save"] * { color: #f4f4f0; }
.action[data-area="save"] .action__icon { background: rgba(255, 255, 255, 0.16); }
.action[data-area="save"] .action__label { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; }
.action[data-area="save"]::before { display: none; }

/* menu: sombra suave + hint logo abaixo */
.topbar__pill { box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 14px 34px -10px rgba(10,10,10,0.34), 0 4px 12px -4px rgba(10,10,10,0.16); }
.topbar__hint { bottom: auto; top: calc(clamp(12px, 2.2vh, 22px) + 54px); }
.topbar__logo img { width: clamp(84px, 8.4vw, 124px); }

/* reflexo no chão, em fade, acompanhando o card */
.state > :first-child {
}
.state:fullscreen > :first-child { -webkit-box-reflect: none; }
@media (max-width: 720px) { .state > :first-child { -webkit-box-reflect: none; } }

/* telas baixas (laptops): compacta o card 01 para não encostar no menu */
@media (max-height: 860px) and (min-width: 900px) {
  .card { padding: 28px 40px 18px; }
  .card__avatar { width: 104px; height: 104px; }
  .actions { gap: 10px; }
  .action { padding: 13px 8px 11px; gap: 7px; }
  .action__icon { width: 34px; height: 34px; }
  .action[data-area="save"] { padding: 13px 16px; }
  .card .signature { margin-top: 14px; }
}

/* espaço no chão para o reflexo */
.state { padding-bottom: clamp(70px, 12vh, 120px); }
.story-glass { max-height: calc(100dvh - 72px - clamp(70px, 12vh, 120px) - 8px); }
.vplayer__stage.cover--wide, .vplayer__bar { width: min(100%, calc((100dvh - 470px) * 16 / 9)); }
@media (max-width: 720px) {
  .state { padding-bottom: 16px; }
  .story-glass { max-height: calc(100dvh - 88px); }
  .vplayer__stage.cover--wide, .vplayer__bar { width: 100%; }
}


/* =========================================================
   RODADA 4 · menu sem moldura, respiro, assinatura padrão
   ========================================================= */
/* menu: só o bullet preto do selecionado; demais sem fundo */
.topbar__pill {
  background: none; border: 0; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  padding: 0; gap: 2px; top: clamp(10px, 1.8vh, 18px);
}
.topbar__sep { display: none; }
.topbar__nav, .topbar__quick { gap: 2px; }
.hud__chapter {
  font-size: 10px; gap: 7px; padding: 4px 12px 4px 4px;
  color: #2f2f2b; opacity: 0.85; background: none;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.75);
}
.hud__chapter:hover { background: rgba(255, 255, 255, 0.4); opacity: 1; }
.hud__chapter--active {
  background: #0a0a0a !important; color: #f4f4f0; text-shadow: none; opacity: 1;
  box-shadow: 0 8px 18px -6px rgba(10, 10, 10, 0.5);
}
.hud__index { width: 20px; height: 20px; font-size: 9px; }
.qbtn { width: 28px; height: 28px; }
.qbtn svg { width: 15px; height: 15px; }
.qbtn--dark { box-shadow: 0 8px 18px -6px rgba(10, 10, 10, 0.5); }
.topbar__hint { top: calc(clamp(10px, 1.8vh, 18px) + 40px); }

/* respiro entre menu e cards */
.state { padding-top: clamp(92px, 12vh, 116px); }
.story-glass { max-height: calc(100dvh - clamp(92px, 12vh, 116px) - clamp(70px, 12vh, 120px) - 8px); }
.vplayer__stage.cover--wide, .vplayer__bar { width: min(100%, calc((100dvh - 510px) * 16 / 9)); }
@media (max-width: 720px) {
  .state { padding-top: 64px; }
  .story-glass { max-height: calc(100dvh - 88px); }
  .vplayer__stage.cover--wide, .vplayer__bar { width: 100%; }
}

/* assinatura: idêntica nos 3 cards, centralizada, mesma distância da base */
.signature {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; margin-top: 20px; padding-top: 18px; padding-bottom: 2px;
  border-top: 1px solid rgba(10, 10, 10, 0.08); opacity: 1;
  grid-column: 1 / -1;
}
.card, .player, .story-glass { padding-bottom: 28px; }
@media (max-height: 860px) and (min-width: 900px) {
  .card { padding-bottom: 24px; }
  .card .signature { margin-top: 16px; }
}

/* vídeo: caber sem rolar em laptops */
.vplayer__stage.cover--wide, .vplayer__bar { width: min(100%, calc((100dvh - 545px) * 16 / 9)); }
.story-glass .story__lede { font-size: 12px; line-height: 1.5; margin-top: 8px; }
.story-glass .interests { margin-top: 8px; }
.story-glass .signature { margin-top: 14px; padding-top: 14px; }
@media (min-width: 1024px) { .story-glass { padding-top: 22px; } }
@media (max-width: 720px) { .vplayer__stage.cover--wide, .vplayer__bar { width: 100%; } }

/* vídeo real: esconde a capa editorial */
.vplayer__stage.has-video { background: #0a0a0a; }
.vplayer__stage.has-video .cover__blocks, .vplayer__stage.has-video .cover__mark,
.vplayer__stage.has-video .cover__kicker, .vplayer__stage.has-video .cover__name { display: none; }
.vplayer__video { cursor: pointer; }
.vplayer[data-playing="true"] .vplayer__big { opacity: 0; transition: opacity 300ms; }
.vplayer[data-playing="true"] .vplayer__stage:hover .vplayer__big { opacity: 1; }

/* vídeo mesclado ao vidro fumê (ajuste --video-opacity) */
.vplayer__stage.has-video {
  --video-opacity: 0.82;
  background: rgba(255, 255, 255, 0.10);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75), 0 24px 50px -26px rgba(10, 10, 10, 0.5);
}
.vplayer__stage.has-video .vplayer__video { opacity: var(--video-opacity); mix-blend-mode: normal; }
.vplayer__stage.has-video::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 38%),
    linear-gradient(0deg, rgba(245,245,240,0.14) 0%, rgba(245,245,240,0) 40%);
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.18);
}
.vplayer__stage.has-video:fullscreen { --video-opacity: 1; background: #000; }
.vplayer__stage.has-video:fullscreen::after { display: none; }

/* ícone CF&S maior na capa do áudio */
.player__artwork.cover--icon img.cover__icon { width: 62%; }
/* dica de scroll fixa, maior e mais legível */
.topbar__hint { font-size: 11.5px; font-weight: 700; letter-spacing: 0.18em; color: #1d1d1a; opacity: 1; text-shadow: 0 0 10px rgba(255,255,255,0.8); }
.topbar__hint.is-gone { opacity: 1; }

/* dica de scroll só no 1º slide */
.topbar__hint.is-gone { opacity: 0; }

/* cards de vídeo e áudio com a MESMA altura (desktop) */
@media (min-width: 900px) {
  :root { --cardh: min(620px, calc(100dvh - clamp(92px, 12vh, 116px) - clamp(70px, 12vh, 120px) - 8px)); }
  .story-glass, .player { height: var(--cardh); max-height: var(--cardh); overflow-y: auto; scrollbar-width: none; }
  .story-glass { display: flex; flex-direction: column; justify-content: center; }
  .player { align-content: center; padding-top: 28px; row-gap: 12px; }
  .player__artwork { max-width: 150px; }
  .player .player__head { margin-bottom: 0; }
}


/* =========================================================
   RODADA 5
   ========================================================= */
/* modal: título em Canela extra bold, só J e C maiúsculos */
.modal__title { font-family: "Canela", var(--font-serif); font-weight: 800; font-size: 34px; text-transform: none; letter-spacing: 0; line-height: 1.05; }
.modal__close { z-index: 3; }

/* áudio: waveform à direita, ao lado do thumb (não por cima) */
@media (min-width: 1024px) {
  .player {
    grid-template-areas:
      "head     head"
      "artwork  info"
      "artwork  waveform"
      "progress progress"
      "controls controls"
      "extras   extras";
  }
  .player__waveform { justify-content: flex-end; align-self: end; height: 40px; background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0; }
  .player__artwork { align-self: start; }
}

/* card 01: mais baixo, com respiro em relação à dica de scroll */
.topbar__hint { top: calc(clamp(10px, 1.8vh, 18px) + 36px); }
@media (min-width: 900px) {
  .state--01 { padding-top: calc(clamp(92px, 12vh, 116px) + 14px); }
  .card { padding: 34px 40px 28px; }
  .card__avatar { width: 118px; height: 118px; }
  .action { padding: 14px 8px 11px; gap: 6px; }
  .action__icon { width: 34px; height: 34px; }
  .action[data-area="save"] { padding: 12px 16px; }
  .card .signature { margin-top: 14px; padding-top: 14px; }
}
@media (max-height: 860px) and (min-width: 900px) {
  .card { padding: 26px 40px 24px; }
  .card__avatar { width: 96px; height: 96px; }
  .action { padding: 11px 8px 9px; }
  .action__icon { width: 32px; height: 32px; }
}

/* texto do vídeo: leitura melhor */
.story-glass .story__lede { font-size: 13.5px; line-height: 1.6; max-width: 640px; text-wrap: pretty; color: #1d1d1a; }
.vplayer__stage.cover--wide, .vplayer__bar { width: min(100%, calc((100dvh - 590px) * 16 / 9)); }
@media (max-width: 720px) { .story-glass .story__lede { font-size: 13.5px; } .vplayer__stage.cover--wide, .vplayer__bar { width: 100%; } }
.story-glass .story__lede { font-size: 13px; line-height: 1.55; max-width: 100%; }
.vplayer__stage.cover--wide, .vplayer__bar { width: min(100%, calc((100dvh - 540px) * 16 / 9)); }
@media (max-width: 720px) { .vplayer__stage.cover--wide, .vplayer__bar { width: 100%; } }


/* =========================================================
   RODADA 6 · vídeo sem opacidade, maior; texto mais estreito; fundo ambiente
   ========================================================= */
/* vídeo sólido (sem mescla) */
.vplayer__stage.has-video { --video-opacity: 1; background: #0a0a0a; -webkit-backdrop-filter: none; backdrop-filter: none; }
.vplayer__stage.has-video::after { display: none; }

/* texto: mais estreito, mais respiro */
.story-glass .story__lede { max-width: 540px; margin: 16px auto 0; font-size: 13px; line-height: 1.65; }
.story-glass .interests { margin-top: 20px; gap: 6px 18px; }
.story-glass .signature { margin-top: 28px; padding-top: 18px; }

/* vídeo maior: proporcional à altura do card */
@media (min-width: 900px) {
  :root { --cardh: min(720px, calc(100dvh - clamp(92px, 12vh, 116px) - clamp(70px, 12vh, 120px) - 8px)); }
  .vplayer__stage.cover--wide, .vplayer__bar { width: min(100%, calc((var(--cardh) - 402px) * 16 / 9)); }
  .story-glass { max-width: 780px; }
}



/* player em coluna única abaixo de 1024px (evita colunas implícitas) */
@media (max-width: 1023px) {
  .player {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "artwork" "info" "waveform" "progress" "controls" "extras" "sig";
    row-gap: 14px;
  }
  .player .signature { grid-area: sig; }
  .player__artwork { max-width: 150px; margin-inline: auto; }
  .player__info { text-align: center; }
  .player__waveform { justify-content: center; }
}

/* mobile: cards nunca passam por baixo do menu; compacta o player */
@media (max-width: 899px) {
  .card, .player, .story-glass {
    max-height: calc(100dvh - 84px);
    overflow-y: auto; scrollbar-width: none;
  }
  .card::-webkit-scrollbar, .player::-webkit-scrollbar, .story-glass::-webkit-scrollbar { display: none; }
  .player { padding: 20px 20px 18px; row-gap: 10px; }
  .player .player__hint { display: none; }
  .player .player__show { font-size: 26px; }
  .player__artwork { max-width: 104px; }
  .player__waveform { height: 32px; }
  .player .signature { margin-top: 8px; padding-top: 12px; }
  .state { padding-top: 70px; padding-bottom: 14px; }
}

/* =========================================================
   MOBILE · hambúrguer no canto superior esquerdo + painel
   ========================================================= */
.topbar__burger { display: none; }
.topbar__panel { display: contents; }
.qlabel { display: none; }
@media (max-width: 899px) {
  .topbar__pill { left: 14px; right: auto; transform: none; justify-content: flex-start; top: 12px; }
  .topbar__burger {
    display: grid; align-content: center; justify-items: center; gap: 4px;
    width: 40px; height: 40px; border-radius: 50%;
    background: #0a0a0a; box-shadow: 0 8px 18px -6px rgba(10, 10, 10, 0.5);
  }
  .topbar__burger span { display: block; width: 17px; height: 2px; border-radius: 2px; background: #f4f4f0; transition: transform 200ms, opacity 200ms; }
  .topbar__pill.is-open .topbar__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .topbar__pill.is-open .topbar__burger span:nth-child(2) { opacity: 0; }
  .topbar__pill.is-open .topbar__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .topbar__panel {
    display: none; position: absolute; left: 0; top: calc(100% + 10px);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 8px; min-width: 250px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255,255,255,0.58), rgba(255,255,255,0.34)), rgba(245,245,240,0.3);
    -webkit-backdrop-filter: blur(28px) saturate(150%); backdrop-filter: blur(28px) saturate(150%);
    border: 1px solid rgba(255,255,255,0.85);
    box-shadow: 0 24px 50px -20px rgba(10,10,10,0.45);
  }
  .topbar__pill.is-open .topbar__panel { display: flex; }
  .topbar__nav, .topbar__quick { flex-direction: column; align-items: stretch; gap: 2px; margin: 0; }
  .topbar__sep { display: block; width: auto; height: 1px; margin: 4px 8px; }
  .topbar__nav .hud__chapter { padding: 9px 14px 9px 8px; font-size: 11px; text-shadow: none; opacity: 1; color: #1d1d1a; }
  .topbar__nav .hud__chapter:not(.hud__chapter--active) .hud__label { display: inline; }
  .topbar__nav .hud__chapter--active { color: #f4f4f0; }
  .topbar__quick .qbtn, .share .qbtn {
    width: 100%; height: auto; border-radius: 999px; padding: 9px 14px 9px 10px;
    display: flex; align-items: center; justify-content: flex-start; gap: 12px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #1d1d1a; background: none;
  }
  .share .qbtn--dark { background: none; color: #1d1d1a; box-shadow: none; }
  .topbar__quick .qbtn:nth-child(2) { display: flex; }
  .qlabel { display: inline; }
  .share__menu { position: static; box-shadow: none; background: rgba(255,255,255,0.4); margin-top: 4px; }

  /* cards flutuam com respiro (sensação de estar dentro do ambiente) */
  .state { padding-top: 66px; padding-bottom: 54px; }
  .card, .player, .story-glass { max-height: calc(100dvh - 130px); }
}
@media (max-width: 899px) {
  .state { padding-top: 70px; padding-bottom: 66px; }
  .card, .player, .story-glass { max-height: calc(100dvh - 176px); }
}

/* =========================================================
   RODADA 7 · sem assinatura nos cards, vídeo em 2 colunas, áudio mobile compacto
   ========================================================= */
.signature { display: none !important; }
.card, .player, .story-glass { padding-bottom: 28px; }

/* ---------- Desktop: vídeo à esquerda, texto + interesses à direita ---------- */
@media (min-width: 900px) {
  .story-glass {
    display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    grid-template-areas: "video text" "video interests";
    column-gap: 44px; row-gap: 18px; align-content: center; align-items: center;
    width: 100%; max-width: min(1060px, calc(100vw - 140px));
    padding: 40px 48px; text-align: left;
  }
  .story-glass .vplayer { grid-area: video; margin: 0; }
  .story-glass .story__lede {
    grid-area: text; align-self: end; margin: 0; max-width: none;
    font-size: 15.5px; line-height: 1.7; text-align: left; color: #1d1d1a;
  }
  .story-glass .interests {
    grid-area: interests; align-self: start; margin: 0;
    flex-wrap: wrap; justify-content: flex-start; overflow: visible; gap: 10px 18px;
  }
  .story-glass .interest { font-size: 10.5px; }
  .vplayer__stage.cover--wide, .vplayer__bar { width: 100%; }
}

/* ---------- Áudio < 1024px: mesma diagramação do desktop, compacta ---------- */
@media (max-width: 1023px) {
  .player {
    grid-template-columns: 104px minmax(0, 1fr);
    grid-template-areas: "head head" "artwork info" "artwork waveform" "progress progress" "controls controls" "extras extras";
    column-gap: 14px; row-gap: 10px; padding: 18px 18px 16px;
  }
  .player__head { text-align: left; }
  .player .player__show { font-size: 22px; }
  .player__artwork { max-width: 104px; margin: 0; align-self: start; }
  .player__info { text-align: left; align-self: start; }
  .player__subtitle { display: none; }
  .player .player__title { font-size: 17px; line-height: 1.15; }
  .player__meta { font-size: 10px; margin-top: 4px; }
  .player__waveform { justify-content: flex-end; align-self: end; height: 34px; background: none; border: 0; padding: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .player__extras { gap: 8px 14px; }
}

/* ---------- Mobile: nada cortado nem com barra de rolagem ---------- */
@media (max-width: 899px) {
  .card, .player, .story-glass { max-height: calc(100dvh - 150px); }
  .story-glass { padding: 22px 20px 18px; }
  .story-glass .story__lede { font-size: 12.5px; line-height: 1.55; margin-top: 12px; }
  .story-glass .interests { margin-top: 14px; }
  .card { padding-bottom: 22px; }
}

/* celulares baixos (≤760px): compacta para nada rolar */
@media (max-width: 899px) and (max-height: 760px) {
  .state { padding-top: 62px; padding-bottom: 36px; }
  .card, .player, .story-glass { max-height: calc(100dvh - 98px); }
  .card { padding: 22px 18px 16px; }
  .card__avatar { width: 84px; height: 84px; }
  .card__name { font-size: 28px; }
  .card__tagline { display: none; }
  .actions { gap: 8px; }
  .action { padding: 9px 6px 8px; gap: 4px; }
  .action__icon { width: 30px; height: 30px; }
  .action[data-area="save"] { padding: 10px 14px; }
  .story-glass { padding: 16px 16px 12px; }
  .story-glass .story__lede { font-size: 12px; line-height: 1.5; margin-top: 8px; }
  .story-glass .interests { margin-top: 10px; gap: 4px 12px; }
}

/* =========================================================
   PERFORMANCE · enquanto o vídeo toca
   ========================================================= */
html[data-vplay="on"] .state > :first-child { -webkit-box-reflect: none; }
html[data-vplay="on"] .story-glass {
  -webkit-backdrop-filter: blur(12px) saturate(120%); backdrop-filter: blur(12px) saturate(120%);
}
html[data-vplay="on"] .story-glass::before, html[data-vplay="on"] .story-glass::after { display: none; }
html[data-vplay="on"] .vplayer__stage { transform: translateZ(0); }
html[data-vplay="on"] .vplayer__stage, html[data-vplay="on"] .vplayer__big { transition: none; }

/* =========================================================
   PERFORMANCE MODE · menos camadas, menos blur, reflexo só parado
   ========================================================= */
/* blur apenas nos 3 cards (e modal/menus quando abertos); nada de blur aninhado */
*:not(.card):not(.player):not(.story-glass):not(.modal__panel):not(.modal__scrim):not(.share__menu):not(.topbar__panel) {
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
.card, .player, .story-glass {
  -webkit-backdrop-filter: blur(18px) saturate(140%) !important;
  backdrop-filter: blur(18px) saturate(140%) !important;
}
/* sem mix-blend (força composição extra a cada frame) */
.card::before, .player::before, .story-glass::before { mix-blend-mode: normal !important; opacity: 0.35 !important; }
.card::after, .player::after, .story-glass::after { display: none !important; }
/* peças internas sem blur: fundo um pouco mais opaco */
.action { background: rgba(255, 255, 255, 0.45) !important; }
.player__icon, .player__chip { background: rgba(255, 255, 255, 0.62) !important; }
.action__icon { background: rgba(255, 255, 255, 0.9) !important; }
.player__waveform { background: transparent !important; }
/* reflexo só com tudo parado (nem durante a câmera, nem com o vídeo tocando) */
html[data-moving="1"] .state > :first-child, html[data-vplay="on"] .state > :first-child { -webkit-box-reflect: none; }

/* modo leve (aparelho fraco ou ?lite): vidro sólido translúcido, sem blur, sem reflexo */
html[data-lite="1"] .card, html[data-lite="1"] .player, html[data-lite="1"] .story-glass {
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  background: rgba(246, 246, 242, 0.84) !important;
  -webkit-box-reflect: none !important;
}
html[data-lite="1"] .bg-environment__img { will-change: auto; }

/* =========================================================
   PERFORMANCE · rodada 2
   ========================================================= */
/* sem reflexo no chão */
.state > :first-child { -webkit-box-reflect: none !important; }

/* vídeo tocando: vidro chapado (sem blur recalculado por frame), sem 3D e sem animações paralelas */
html[data-vplay="on"] .story-glass {
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.14) 100%),
    linear-gradient(0deg, rgba(245, 245, 240, 0.16), rgba(245, 245, 240, 0.16)),
    url("assets/bg-environment-blur.jpg") !important;
  background-size: 100% 100%, 100% 100%, var(--gbw, cover) var(--gbh, cover) !important;
  background-position: 0 0, 0 0, var(--gbx, center) var(--gby, center) !important;
  background-repeat: no-repeat !important;
  background-origin: border-box !important; background-clip: border-box !important;
  background-color: rgba(244, 244, 240, 0.6) !important;
}
html[data-vplay="on"] .sticky-stage { perspective: none; }
html[data-vplay="on"] .bg-environment__img { will-change: auto; }
html[data-vplay="on"] .topbar__hint i, .topbar__hint.is-gone i { animation: none; }
html[data-vplay="on"] .topbar__pill, html[data-vplay="on"] .topbar__logo { will-change: auto; }
.vplayer__stage { contain: layout paint; }
.vplayer__video { will-change: transform; transform: translateZ(0); }

/* CTA Salvar contato: sempre preto (sobrepõe as regras de performance) */
.action[data-area="save"] {
  background: #0a0a0a !important; border-color: #0a0a0a !important; color: #f4f4f0 !important;
}
.action[data-area="save"] .action__icon { background: rgba(255, 255, 255, 0.16) !important; color: #f4f4f0 !important; }
.action[data-area="save"] .action__label { color: #f4f4f0 !important; }
