/* =====================================================================
   EXALTAR — components.css
   Modal "Análise de Projeto", páginas de portfólio, player, mini-players.
   ===================================================================== */

/* =====================================================================
   MODAL — formulário em etapas
   ===================================================================== */
.cf {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.cf[hidden] { display: none; }
body.cf-open { overflow: hidden; }

.cf__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .35s ease;
}
.cf__panel {
  position: relative;
  width: min(1080px, 100%);
  max-height: min(820px, 100%);
  display: grid;
  grid-template-columns: 380px 1fr;
  background: #0F0F10;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.06);
  opacity: 0;
  transform: translateY(18px) scale(.985);
  transition: opacity .4s cubic-bezier(.2,.7,.2,1), transform .4s cubic-bezier(.2,.7,.2,1);
}
.cf.is-open .cf__backdrop { opacity: 1; }
.cf.is-open .cf__panel { opacity: 1; transform: none; }

.cf__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  color: var(--color-text);
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.cf__close svg { width: 18px; height: 18px; }
.cf__close:hover { background: var(--color-accent); transform: rotate(90deg); }

/* coluna esquerda */
.cf__intro {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 44px 40px;
  background:
    radial-gradient(120% 80% at 0% 100%, rgba(222,0,15,.28), transparent 60%),
    linear-gradient(180deg, #141416, #0B0B0C);
  border-right: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
}
.cf__tag {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  padding: 6px 12px;
  border: 1px solid rgba(252,0,17,.35);
  border-radius: 999px;
}
.cf__title {
  font-family: var(--font-h1);
  font-size: clamp(23px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--color-text);
  text-wrap: balance;
}
.cf__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-muted);
}
.cf__time {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #8A8A8A;
}
.cf__time svg { width: 16px; height: 16px; color: var(--color-accent-light); }
.cf__lines {
  position: absolute;
  inset: auto -40% -30% -40%;
  height: 260px;
  background:
    repeating-radial-gradient(circle at 50% 100%, transparent 0 22px, rgba(255,255,255,.035) 22px 23px);
  -webkit-mask-image: linear-gradient(to top, #000, transparent);
          mask-image: linear-gradient(to top, #000, transparent);
  pointer-events: none;
}

/* coluna direita */
.cf__form[hidden] { display: none; }
.cf__form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0;
}
.cf__progress { height: 2px; background: rgba(255,255,255,.06); }
.cf__progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  box-shadow: 0 0 12px rgba(252,0,17,.6);
  transition: width .45s cubic-bezier(.2,.7,.2,1);
}
.cf__steps-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px 0 40px;
}
.cf__counter { font-family: var(--font-display); font-size: 13px; color: #8A8A8A; letter-spacing: .04em; }
.cf__counter b { color: var(--color-text); font-weight: 700; }
.cf__dots { display: flex; gap: 6px; }
.cf-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  transition: background .3s, transform .3s;
}
.cf-dot.is-done { background: rgba(252,0,17,.55); }
.cf-dot.is-active { background: var(--color-accent-light); transform: scale(1.35); box-shadow: 0 0 8px rgba(252,0,17,.7); }

.cf__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 24px 40px 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.15) transparent;
}
.cf-step { border: 0; margin: 0; padding: 0; min-width: 0; animation: cfStep .4s cubic-bezier(.2,.7,.2,1); }
@keyframes cfStep { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.cf-step__title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 26px;
  font-family: var(--font-h1);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--color-text);
}
.cf-step__num { font-size: 13px; color: var(--color-accent-light); letter-spacing: .06em; }

.cf-field { position: relative; margin-bottom: 22px; }
.cf-label {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-text);
}
.cf-optional { font-size: 12px; font-weight: 400; color: #7A7A7A; margin-left: 6px; }
.cf-hint { margin: -4px 0 12px; font-size: 13.5px; line-height: 1.55; color: #8A8A8A; }
.cf-input {
  width: 100%;
  padding: 15px 16px;
  font: inherit;
  font-size: 16px;
  color: var(--color-text);
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  outline: none;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.cf-input::placeholder { color: #6A6A6A; }
.cf-input:focus {
  border-color: rgba(252,0,17,.7);
  background: rgba(255,255,255,.05);
  box-shadow: 0 0 0 4px rgba(252,0,17,.12);
}
.cf-textarea { resize: vertical; min-height: 64px; line-height: 1.5; }
.has-error .cf-input { border-color: rgba(252,0,17,.8); }
.cf-error { display: block; min-height: 0; margin-top: 6px; font-size: 13px; color: var(--color-accent-light); }
.cf-error:empty { display: none; }

.cf-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.cf-choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 12px 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  cursor: pointer;
  font-size: 15px;
  color: var(--color-text);
  transition: border-color .25s ease, background .25s ease, transform .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.cf-choice:hover { border-color: rgba(255,255,255,.25); transform: translateY(-1px); }
.cf-choice input { position: absolute; opacity: 0; pointer-events: none; }
.cf-choice__dot {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.3);
  display: grid; place-items: center;
  transition: border-color .2s ease;
}
.cf-choice__dot::after {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-accent-light); transform: scale(0); transition: transform .2s cubic-bezier(.2,.7,.2,1);
}
.cf-choice:has(input:checked) { border-color: var(--color-accent-light); background: rgba(252,0,17,.1); }
.cf-choice:has(input:checked) .cf-choice__dot { border-color: var(--color-accent-light); }
.cf-choice:has(input:checked) .cf-choice__dot::after { transform: scale(1); }
.cf-choice:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(252,0,17,.15); }
.has-error .cf-choice { border-color: rgba(252,0,17,.45); }

.cf__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 40px 28px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.cf-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 22px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .3s ease;
}
.cf-btn svg { width: 18px; height: 18px; transition: transform .3s ease; }
.cf-btn--primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 6px 12px rgba(255,255,255,.12) inset, 0 1px 1px rgba(255,255,255,.2) inset, 0 10px 30px rgba(222,0,15,.25);
}
.cf-btn--primary:hover { background: var(--color-secondary); color: var(--color-primary); transform: translateY(-1px); }
.cf-btn--primary:hover svg { transform: rotate(45deg); }
.cf-btn--ghost { background: transparent; color: var(--color-muted); border-color: rgba(255,255,255,.1); }
.cf-btn--ghost:hover:not(:disabled) { color: var(--color-text); border-color: rgba(255,255,255,.3); }
.cf-btn:disabled { opacity: .35; cursor: default; }
.cf-btn.is-loading { pointer-events: none; opacity: .7; }
.cf-btn[hidden] { display: none; }

.cf.is-success .cf__panel { grid-template-columns: 1fr; }
.cf.is-success .cf__intro { display: none; }
.cf__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 64px 44px;
  background:
    radial-gradient(80% 70% at 50% 0%, rgba(222,0,15,.22), transparent 60%),
    linear-gradient(180deg, #141416, #0B0B0C);
  animation: cfStep .5s ease;
}
.cf__success[hidden] { display: none; }
.cf__success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(252,0,17,.12); color: var(--color-accent-light);
  border: 1px solid rgba(252,0,17,.4);
  margin-bottom: 4px;
  animation: cfPop .5s cubic-bezier(.2,1.4,.4,1) .1s both;
}
.cf__success-icon svg { width: 30px; height: 30px; }
@keyframes cfPop { from { transform: scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }
.cf__success h3 {
  font-family: var(--font-h1);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.06;
  text-transform: uppercase;
  text-wrap: balance;
}
.cf__success p { font-size: 16px; line-height: 1.6; color: var(--color-muted); max-width: 44ch; }
.cf__success-actions { display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap; justify-content: center; }
.cf-btn--wa {
  background: #25D366;
  color: #072714;
  box-shadow: 0 10px 30px rgba(37,211,102,.25);
}
.cf-btn--wa:hover { background: #1FBE5A; color: #04180C; transform: translateY(-1px); }
.cf-btn--wa svg { width: 20px; height: 20px; }
.cf-btn--wa:hover svg { transform: none; }
.cf__success-note { font-size: 13px; color: #7A7A7A; margin-top: 4px; }

@media (max-width: 900px) {
  .cf { padding: 0; align-items: flex-end; }
  .cf__panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    width: 100%;
    max-height: 100%;
    height: 100dvh;
    border-radius: 0;
    border: 0;
    transform: translateY(30px);
  }

  /* cabeçalho compacto: só a tag, o título e o tempo */
  .cf__intro {
    padding: 18px 20px 16px;
    gap: 10px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .cf__tag { font-size: 10.5px; padding: 5px 11px; letter-spacing: .09em; }
  .cf__title { font-size: 19px; line-height: 1.2; padding-right: 52px; }
  .cf__text { display: none; }
  .cf__time { margin-top: 0; font-size: 12.5px; }
  .cf__lines { display: none; }
  .cf__close { top: 14px; right: 14px; width: 38px; height: 38px; }

  .cf__form { min-height: 0; }
  .cf__steps-head { padding: 16px 20px 0; }
  .cf__counter { font-size: 12px; }
  .cf__dots { padding-right: 52px; }   /* espaço para o botão de fechar */

  .cf__body {
    padding: 20px 20px 16px;
    -webkit-overflow-scrolling: touch;
  }
  .cf-step__title { font-size: 19px; line-height: 1.25; margin-bottom: 22px; gap: 10px; }
  .cf-step__num { font-size: 12px; }

  .cf-field { margin-bottom: 20px; }
  .cf-field:last-child { margin-bottom: 4px; }
  .cf-label { font-size: 15px; margin-bottom: 9px; }
  .cf-hint { font-size: 13px; margin: -2px 0 12px; }
  .cf-input { padding: 15px 15px; border-radius: 12px; }
  .cf-textarea { min-height: 84px; }

  .cf-choices { gap: 9px; }
  .cf-choice {
    width: 100%;
    padding: 15px 16px;
    border-radius: 12px;
    font-size: 15px;
  }

  /* barra de ação fixa no rodapé, fora da área de scroll */
  .cf__nav {
    gap: 10px;
    padding: 14px 20px calc(16px + env(safe-area-inset-bottom));
    background: #0F0F10;
    box-shadow: 0 -12px 24px rgba(0,0,0,.5);
  }
  .cf-btn { padding: 16px 18px; font-size: 15px; }
  .cf-btn--ghost { flex: 0 0 auto; padding: 16px 16px; }
  .cf-btn--primary { flex: 1; justify-content: center; }

  .cf.is-success .cf__panel { grid-template-rows: 1fr; }
  .cf__success { padding: 32px 22px calc(32px + env(safe-area-inset-bottom)); gap: 12px; }
  .cf__success h3 { font-size: 26px; }
  .cf__success p { font-size: 15px; }
  .cf__success-actions { width: 100%; flex-direction: column; gap: 10px; }
  .cf__success-actions .cf-btn { width: 100%; justify-content: center; }
}

@media (max-width: 380px) {
  .cf__title { font-size: 17.5px; }
  .cf__body { padding: 16px 16px 12px; }
  .cf__nav { padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); }
  .cf__steps-head { padding: 14px 16px 0; }
  .cf__dots { padding-right: 46px; }
  .cf__intro { padding: 16px 16px 14px; }
}

/* =====================================================================
   MINI-PLAYERS (última dobra da home)
   ===================================================================== */
.mini-player {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border-radius: 14px;
  background: #F4F4F4;
  color: #0C0C0C;
  box-shadow: 0 20px 40px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.7);
  pointer-events: auto;
  transition: transform .3s ease, box-shadow .3s ease;
}
.mini-player:hover { transform: translateY(-2px); box-shadow: 0 26px 50px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.7); }
.mini-player--dark {
  background: #161617;
  color: var(--color-text);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 20px 40px rgba(0,0,0,.6);
}
.mini-player__btn {
  flex: none;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(222,0,15,.35);
  transition: transform .25s ease, background .25s ease;
}
.mini-player__btn:hover { transform: scale(1.06); background: var(--color-accent-light); }
.mini-player__btn svg { width: 16px; height: 16px; }
.mini-player__btn .ic-pause { display: none; }
.mini-player.is-playing .mini-player__btn .ic-play { display: none; }
.mini-player.is-playing .mini-player__btn .ic-pause { display: block; }
.mini-player__meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mini-player__kicker {
  font-family: var(--font-display);
  font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--color-accent);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mini-player--dark .mini-player__kicker { color: var(--color-accent-light); }
.mini-player__title {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mini-player__wave { width: 72px; height: 26px; display: block; margin-left: auto; }
.mini-player__time { font-size: 11px; color: #6A6A6A; font-variant-numeric: tabular-nums; }
.mini-player.is-playing { box-shadow: 0 0 0 1px rgba(252,0,17,.5), 0 20px 40px rgba(0,0,0,.5); }
.mini-player.is-playing .mini-player__title { color: var(--color-accent); }
.mini-player--dark.is-playing .mini-player__title { color: var(--color-accent-light); }

/* cartões verticais (antigos "frames") */
.mini-card {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 150px;
  padding: 14px 14px 12px;
  border-radius: 10px;
  background: #F4F4F4;
}
.mini-card--dark { background: #0F0F10; border: 1px solid rgba(255,255,255,.1); color: var(--color-text); }
.mini-card__brand {
  font-family: var(--font-display);
  font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-accent);
}
.mini-card--dark .mini-card__brand { color: var(--color-accent-light); }
.mini-card__title { font-size: 16px; white-space: normal; line-height: 1.05; min-height: 34px; }
.mini-card__wave { width: 100%; height: 34px; display: block; }
.mini-card__foot { display: flex; align-items: center; justify-content: space-between; }
.mini-card__time { font-size: 11px; color: #7A7A7A; font-variant-numeric: tabular-nums; }
.mini-card .mini-player__btn { width: 34px; height: 34px; }
.mini-card .mini-player__btn svg { width: 14px; height: 14px; }
.mini-player--dark.is-playing .mini-card__title, .mini-card--dark.is-playing .mini-card__title { color: var(--color-accent-light); }

/* =====================================================================
   PÁGINAS DE PORTFÓLIO
   ===================================================================== */
.pf-hero {
  position: relative;
  padding: 72px 0 40px;
  overflow: hidden;
}
.pf-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: end;
}
.pf-back {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-muted);
  transition: color .25s ease;
}
.pf-back svg { width: 16px; height: 16px; transition: transform .25s ease; }
.pf-back:hover { color: var(--color-text); }
.pf-back:hover svg { transform: translateX(-3px); }
.pf-tag {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 12px;
  border: 1px solid rgba(252,0,17,.35);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-accent-light);
}
.pf-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.pf-title {
  font-family: var(--font-h1);
  font-size: clamp(40px, 4.4vw, 70px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--color-text);
  text-wrap: balance;
}
.pf-title em { font-style: normal; color: var(--color-accent-light); }
.pf-lead {
  margin-top: 22px;
  max-width: 58ch;
  font-size: 19px;
  line-height: 1.55;
  color: var(--color-muted);
  text-wrap: pretty;
}
.pf-hero__art {
  position: relative;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 40px 80px rgba(0,0,0,.6);
}
.pf-hero__art img { width: 100%; height: 100%; object-fit: cover; }
.pf-hero__art::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,12,12,.55), transparent 50%);
}
.pf-stats {
  position: absolute;
  left: 18px; right: 18px; bottom: 18px;
  display: flex;
  gap: 8px;
  z-index: 1;
}
.pf-stat {
  flex: 1;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(12,12,12,.72);
  border: 1px solid rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
.pf-stat b { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.pf-stat span { font-size: 12px; color: var(--color-muted); }

/* player destaque */
.pf-player { padding: 40px 0 24px; }
.player {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 28px;
  align-items: center;
  padding: 26px 28px;
  border-radius: 20px;
  background: linear-gradient(180deg, #141416, #0E0E0F);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 70px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.05);
}
.player::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: 21px;
  background: radial-gradient(60% 100% at 0% 50%, rgba(222,0,15,.18), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s ease;
}
.player.is-playing::before { opacity: 1; }
.player__controls { display: flex; align-items: center; gap: 10px; grid-row: 1 / span 2; }
.player__ctl {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  color: var(--color-text);
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, transform .2s ease;
}
.player__ctl:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.25); }
.player__ctl svg { width: 18px; height: 18px; }
.player__play {
  width: 64px; height: 64px;
  border: 0;
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 10px 30px rgba(222,0,15,.4), inset 0 1px 0 rgba(255,255,255,.25);
}
.player__play:hover { background: var(--color-accent-light); transform: scale(1.04); }
.player__play svg { width: 24px; height: 24px; }
.player__play .ic-pause { display: none; }
.player.is-playing .player__play .ic-play { display: none; }
.player.is-playing .player__play .ic-pause { display: block; }
.player__main { min-width: 0; }
.player__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.player__title {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700; letter-spacing: -.03em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player__index { font-family: var(--font-display); font-size: 13px; color: #8A8A8A; letter-spacing: .06em; flex: none; }
.player__right { display: flex; align-items: center; gap: 18px; flex: none; }
.player__volume { display: flex; align-items: center; gap: 8px; }
.player__mute {
  width: 32px; height: 32px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--color-muted); cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.player__mute:hover { color: var(--color-text); background: rgba(255,255,255,.06); }
.player__mute svg { width: 18px; height: 18px; }
.player__mute .ic-muted { display: none; }
.player.is-muted .player__mute .ic-vol { display: none; }
.player.is-muted .player__mute .ic-muted { display: block; }
.player__slider {
  -webkit-appearance: none; appearance: none;
  width: 96px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--color-accent-light) var(--vol, 100%), rgba(255,255,255,.14) var(--vol, 100%));
  outline: none; cursor: pointer;
}
.player__slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 2px solid var(--color-accent-light); box-shadow: 0 0 8px rgba(252,0,17,.5);
  transition: transform .2s ease;
}
.player__slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.player__slider::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--color-accent-light); }
.player__wave {
  display: block;
  width: 100%;
  height: 72px;
  cursor: pointer;
  touch-action: none;
}
.player.is-decoding .player__wave { animation: wavePulse 1.2s ease-in-out infinite; }
@keyframes wavePulse { 50% { opacity: .55; } }
.player__times { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12.5px; color: #8A8A8A; font-variant-numeric: tabular-nums; }
.player__foot {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.player__hint { font-size: 13px; color: #6F6F6F; }
.player__cta {
  flex: none;
  gap: 8px;
  padding: 11px 16px;
  font-size: .92em;
}
.player__cta .btn__icon svg { width: .9em; }
.player__hint kbd { font: inherit; padding: 2px 6px; border: 1px solid rgba(255,255,255,.14); border-radius: 5px; color: var(--color-muted); }

/* lista */
.pf-list { padding: 24px 0 96px; }
.pf-list__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.pf-list__title { font-family: var(--font-h1); font-size: 24px; font-weight: 700; letter-spacing: -.02em; text-transform: uppercase; }
.pf-list__count { font-size: 14px; color: var(--color-muted); }
.tracks { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.08); }
.track {
  display: grid;
  grid-template-columns: 56px 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 14px 10px 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  cursor: pointer;
  transition: background .25s ease;
}
.track:hover { background: linear-gradient(90deg, rgba(255,255,255,.035), transparent 70%); }
.track.is-active { background: linear-gradient(90deg, rgba(222,0,15,.12), transparent 70%); }
.track__play {
  position: relative;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  transition: all .25s ease;
}
.track__play svg { width: 16px; height: 16px; position: absolute; opacity: 0; transition: opacity .2s ease; }
.track__num { font-family: var(--font-display); font-size: 13px; color: #8A8A8A; transition: opacity .2s ease; }
.track:hover .track__num, .track.is-active .track__num { opacity: 0; }
.track:hover .ic-play, .track.is-active:not(.is-playing) .ic-play { opacity: 1; }
.track.is-playing .ic-pause { opacity: 1; }
.track.is-active .track__play { background: var(--color-accent); border-color: var(--color-accent); box-shadow: 0 8px 20px rgba(222,0,15,.35); }
.track__meta { display: flex; align-items: center; gap: 10px; min-width: 0; }
.track__title { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track.is-active .track__title { color: #fff; }
.track__badge {
  flex: none;
  padding: 4px 9px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--color-accent-light);
  border: 1px solid rgba(252,0,17,.4);
}
.track__bars { display: flex; align-items: flex-end; gap: 2px; height: 16px; width: 18px; opacity: 0; transition: opacity .25s ease; }
.track.is-playing .track__bars { opacity: 1; }
.track__bars i { flex: 1; background: var(--color-accent-light); border-radius: 1px; height: 30%; animation: eq .9s ease-in-out infinite; }
.track__bars i:nth-child(2) { animation-delay: -.3s; } .track__bars i:nth-child(3) { animation-delay: -.6s; } .track__bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%,100% { height: 30%; } 50% { height: 100%; } }
.track__time { font-size: 13px; color: #8A8A8A; font-variant-numeric: tabular-nums; min-width: 40px; text-align: right; }

/* estado vazio (categoria sem áudios ainda) */
.pf-empty {
  padding: 56px 32px;
  border: 1px dashed rgba(255,255,255,.14);
  border-radius: 20px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent);
}
.pf-empty__wave { width: min(420px, 100%); height: 64px; margin: 0 auto 18px; display: block; opacity: .8; }
.pf-empty h3 { font-family: var(--font-h1); font-size: 23px; font-weight: 700; letter-spacing: -.02em; text-transform: uppercase; margin-bottom: 8px; }
.pf-empty p { color: var(--color-muted); max-width: 46ch; margin: 0 auto 22px; line-height: 1.55; }

/* CTA final das páginas */
.pf-cta { position: relative; padding: 0 0 110px; }
.pf-cta__box {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 32px;
  align-items: center;
  padding: 56px 56px;
  border-radius: 24px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(222,0,15,.35), transparent 55%),
    linear-gradient(180deg, #151517, #0D0D0E);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 40px 90px rgba(0,0,0,.6);
}
.pf-cta__box::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-radial-gradient(circle at 110% 50%, transparent 0 26px, rgba(255,255,255,.03) 26px 27px);
  pointer-events: none;
}
.pf-cta__title { font-family: var(--font-h1); font-size: clamp(27px, 2.9vw, 40px); font-weight: 700; letter-spacing: -.02em; line-height: 1.04; text-transform: uppercase; text-wrap: balance; }
.pf-cta__text { margin-top: 14px; color: var(--color-muted); font-size: 17px; line-height: 1.55; max-width: 48ch; }
.pf-cta__action { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.pf-cta__action small { font-size: 13px; color: #8A8A8A; }
.btn--lg { padding: 22px 30px; font-size: 1.1em; border-radius: 12px; }


@media (max-width: 1024px) {
  .pf-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .pf-hero__art { max-width: 520px; }
  .pf-cta__box { grid-template-columns: 1fr; padding: 40px; }
  .pf-cta__action { align-items: flex-start; }
}
@media (max-width: 767px) {
  .pf-hero { padding: 28px 0 8px; }
  .pf-tag { font-size: 11px; padding: 6px 11px; margin-bottom: 14px; }
  .pf-back { margin-bottom: 20px; }
  .pf-title { font-size: clamp(30px, 8.4vw, 40px); line-height: 1.05; }
  .pf-lead { font-size: 16px; margin-top: 16px; }
  .pf-hero__art { aspect-ratio: 4 / 3; border-radius: 16px; }
  .pf-stats { left: 12px; right: 12px; bottom: 12px; }
  .pf-stat { padding: 10px 12px; } .pf-stat b { font-size: 18px; }
  .pf-player { padding: 24px 0 8px; }
  /* controles à esquerda e CTA à direita, na mesma linha */
  .player { grid-template-columns: auto minmax(0, 1fr); gap: 14px 10px; padding: 20px 16px; border-radius: 18px; }
  .player__main { grid-column: 1 / -1; order: 1; min-width: 0; }
  .player__controls { grid-column: 1; grid-row: auto; order: 2; justify-content: flex-start; gap: 8px; }
  .player__ctl { width: 40px; height: 40px; }
  .player__play { width: 56px; height: 56px; }
  .player__play svg { width: 22px; height: 22px; }
  .player__title { font-size: 20px; }
  .player__head { flex-wrap: wrap; }
  .player__right { width: 100%; justify-content: space-between; order: 3; }
  .player__slider { width: 120px; }
  .player__wave { height: 56px; }
  .player__foot {
    grid-column: 2;
    order: 3;
    justify-content: flex-end;
    margin-top: 0;
  }
  .player__hint { display: none; }
  .player__cta {
    width: auto;
    max-width: 100%;
    background: #fff;
    color: var(--color-primary);
    border-left: 1px solid var(--color-accent);
    border-radius: 6px;
    padding: 11px 14px;
    font-size: .82em;
    font-weight: 700;
    gap: 6px;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(0,0,0,.45);
  }
  .player__cta .btn__icon svg { width: .95em; }
  .player__cta:active { transform: scale(.97); }
  .pf-list { padding: 24px 0 72px; }
  .pf-list__head { margin-bottom: 12px; }
  .pf-list__title { font-size: 22px; }
  .track { grid-template-columns: 44px 1fr auto; gap: 12px; padding: 12px 4px 12px 0; }
  .track:active { background: rgba(255,255,255,.05); }
  .track__bars { display: none; }
  .track__title { font-size: 16px; }
  .track__badge { display: none; }
  .track.is-active .track__meta::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent-light); flex: none; }
  .pf-cta { padding-bottom: 80px; }
  .pf-cta__box { padding: 28px 22px; border-radius: 18px; gap: 22px; }
  .pf-cta__text { font-size: 15px; }
  .btn--lg { width: 100%; justify-content: center; padding: 18px 22px; font-size: 1em; }
  .pf-empty { padding: 36px 20px; }
}


/* =====================================================================
   BOTÃO FLUTUANTE DO WHATSAPP
   ===================================================================== */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 400;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .1) inset;
  transition: transform .3s cubic-bezier(.2, .8, .3, 1), box-shadow .3s ease, background .3s ease;
}
.wa-float svg { width: 28px; height: 28px; position: relative; z-index: 1; }
.wa-float:hover { transform: scale(1.08); background: #2BE874; color: #fff; }
.wa-float:active { transform: scale(.96); }

/* halo que respira devagar, sem piscar */
.wa-float__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: .55;
  animation: waPulse 2.8s cubic-bezier(.4, 0, .2, 1) infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0%   { transform: scale(1);    opacity: .5; }
  70%  { transform: scale(1.75); opacity: 0; }
  100% { transform: scale(1.75); opacity: 0; }
}

/* rótulo que abre no hover (desktop) */
.wa-float__tip {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  padding: 9px 14px;
  border-radius: 8px;
  background: #12130F;
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, .1);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.wa-float:hover .wa-float__tip { opacity: 1; transform: none; }

/* some quando o formulário está aberto, para não competir com o modal */
body.cf-open .wa-float,
body.menu-open .wa-float { opacity: 0; pointer-events: none; }
.wa-float { opacity: 1; }

@media (max-width: 767px) {
  .wa-float {
    right: auto;
    left: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }
  .wa-float svg { width: 25px; height: 25px; }
  .wa-float__tip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float__pulse { animation: none; opacity: 0; }
}
