/* ==========================================================
   REALEX BRASIL - folha de estilo (CSS 2.1)
   Layout: float, display:table e position:absolute. Sem flex/grid.
   Cores: cinza #1a1a1a | vermelho #c4101a | amarelo #ffc400 | branco
   ========================================================== */

html, body { margin: 0; padding: 0; }
body {
  background: #1a1a1a url(../img/grit.svg) repeat 0 0;
  color: #fff;
  font-family: Oswald, "Arial Narrow", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.4;
}
img { border: 0; }
a { color: #ffc400; }
ul, li, h1, h2, h3, p { margin: 0; padding: 0; }
ul { list-style: none; }

.wrap { width: 960px; margin: 0 auto; position: relative; }
.clear:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.clear { zoom: 1; }

/* ---------- BOTOES ---------- */
.btn-yellow, .btn-red {
  display: inline-block;
  font-family: Anton, Impact, "Arial Black", sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
}
.btn-yellow {
  background: #ffc400;
  color: #111;
  font-size: 17px;
  padding: 13px 22px 10px;
  border: 3px solid #000;
  border-bottom: 5px solid #b58a00;
}
.btn-yellow:hover { background: #fff; color: #000; }
.btn-red {
  background: #c4101a;
  color: #fff;
  font-size: 17px;
  padding: 12px 18px 9px 20px;
  border: 3px solid #000;
  border-bottom: 5px solid #6e0910;
}
.btn-red:hover { background: #ffc400; color: #000; }
.ico-play {
  display: inline-block;
  width: 26px; height: 26px;
  margin: -4px 0 -6px 6px;
  background: url(../img/icon-play.svg) no-repeat 0 0;
  vertical-align: middle;
}

/* ---------- CABECALHO (tabela) ---------- */
#top {
  background: #0d0d0d url(../img/grit.svg) repeat 0 0;
  border-bottom: 4px solid #000;
}
table.bar { width: 960px; margin: 0 auto; border-collapse: collapse; }
table.bar td { padding: 8px 0; vertical-align: middle; }
td.bar-logo { width: 230px; text-align: left; }
td.bar-logo img { display: block; }
td.bar-nav { text-align: center; }
td.bar-cta { width: 210px; text-align: right; }

#nav { display: inline; }
#nav li { display: inline; margin: 0 14px; }
#nav a {
  font-family: Oswald, Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  padding-bottom: 4px;
}
#nav a:hover { color: #ffc400; }
#nav li.on a { color: #f2a900; border-bottom: 3px solid #f2a900; }

/* ---------- HERO ---------- */
/* Foto de fundo com véu escuro para leitura; sem vetores. */
#hero {
  background:
    linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .20) 55%, rgba(26, 26, 26, .92) 100%),
    url(../img/hero.svg) no-repeat 50% 100% / cover #242424;
  height: 520px;
  overflow: hidden;
  position: relative;
}
#hero .wrap {
  height: 520px;
}
#hero h1 {
  position: absolute;
  left: 0; top: 26px;
  width: 960px;
  text-align: center;
  font-family: Anton, Impact, "Arial Black", sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  line-height: 1;
}
#hero h1 span { display: block; white-space: nowrap; }
.h-white {
  color: #fff;
  font-size: 76px;
  letter-spacing: 2px;
  text-shadow: 4px 4px 0 #000, 0 0 22px rgba(0,0,0,.75);
}
.h-red {
  color: #c4101a;
  font-size: 70px;
  letter-spacing: 2px;
  margin-top: 8px;
  padding-bottom: 16px;
  text-shadow: 4px 4px 0 #000, 0 0 22px rgba(0,0,0,.75);
  background: url(../img/underline.svg) no-repeat 50% 100%;
}
.hero-text {
  position: absolute;
  left: 0; top: 240px;
  width: 224px;
  font-size: 16px;
  color: #fff;
  text-shadow: 1px 1px 0 #000, 0 0 10px #000;
}
#btn-ouvir { position: absolute; left: 0; top: 318px; }

/* ---------- PAPEL RASGADO ---------- */
.rip { position: relative; height: 70px; background-repeat: repeat-x; background-position: 0 0; }
.rip-a { margin-top: -46px; background-image: url(../img/rip-a.svg); z-index: 3; }
.rip-b { background-image: url(../img/rip-b.svg); z-index: 3; }

/* ---------- PLAYER ---------- */
.band-gray { background: #333 url(../img/grit.svg) repeat 0 0; padding: 0 0 6px; margin-top: -18px; }
.band-gray + .rip-b { margin-top: -6px; }

.player {
  width: 722px;
  margin: 0 auto;
  background: #121212;
  border: 2px solid #1e1e1e;
  padding: 14px;
  position: relative;
  z-index: 4;
}
.cover { float: left; width: 112px; height: 112px; position: relative; }
.cover img { display: block; }
/* Centrado sobre a capa: metade da largura/altura compensada pela margem. */
.play-toggle {
  position: absolute; left: 50%; top: 50%;
  width: 58px; height: 58px;
  margin: -29px 0 0 -29px;
  padding: 0; border: 0;
  background: transparent url(../img/btn-play.svg) no-repeat 0 0;
  cursor: pointer;
  overflow: hidden;
}
.play-toggle span { display: block; width: 0; height: 0; overflow: hidden; }
.playing .play-toggle { background-image: url(../img/btn-pause.svg); }

.info { margin-left: 134px; }
.info h2 {
  font-family: Oswald, Arial, sans-serif;
  font-weight: 500;
  font-size: 17px;
  text-transform: uppercase;
  color: #fff;
  height: 26px;
  overflow: hidden;
}
.info h2 em { font-style: normal; text-transform: none; font-weight: 500; }

.wave { height: 54px; overflow: hidden; cursor: pointer; margin-top: 4px; }
.wb { float: left; width: 4px; margin-right: 2px; background: #ffd400; }
.wb.off { background: #8f7a12; }

.progress { position: relative; height: 4px; background: #5a5a5a; margin-top: 12px; cursor: pointer; }
.progress-fill { position: absolute; left: 0; top: 0; height: 4px; width: 0; background: #ffd400; }
.progress-knob { position: absolute; top: -4px; left: 0; width: 10px; height: 12px; margin-left: -5px; background: #fff; }
.times { height: 18px; margin-top: 8px; font-size: 12px; color: #bdbdbd; }
.times span:first-child { float: left; }
.times span + span { float: right; }

/* ---------- TEMAS EM FOCO ---------- */
#causas { background: #161616 url(../img/grit.svg) repeat 0 0; padding: 0 0 54px; margin-top: -6px; position: relative; overflow: hidden; }
#causas .splat {
  position: absolute; right: -118px; top: -34px;
  width: 300px; height: 220px;
  background: url(../img/splat-red.svg) no-repeat 0 0;
}
.kicker {
  position: relative;
  text-align: center;
  color: #ffc400;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding-top: 2px;
}
.sec-title {
  position: relative;
  text-align: center;
  font-family: Anton, Impact, "Arial Black", sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  font-size: 40px;
  line-height: 1.1;
  color: #fff;
  text-shadow: 2px 2px 0 #000;
  margin-bottom: 26px;
}

.cards { width: 960px; position: relative; }
.card {
  float: left;
  position: relative;
  width: 468px; height: 186px;
  margin: 0 24px 18px 0;
  overflow: hidden;
  background: #444 no-repeat 0 0;
}
.card-last { margin-right: 0; }
.card a { display: block; width: 468px; height: 186px; position: relative; text-decoration: none; }
.card .tape {
  position: absolute; left: 0; top: 0;
  width: 468px; height: 186px;
  background-repeat: no-repeat; background-position: 0 0;
}
.card-cell {
  position: absolute; left: 0; top: 0;
  display: table;
  width: 468px; height: 186px;
}
.card-name {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  font-family: Anton, Impact, "Arial Black", sans-serif;
  font-size: 34px;
  line-height: 1.08;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 2px 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}
.card a:hover .card-name { color: #ffc400; }
.card a:hover .tape { background-position: 4px 3px; }

/* ---------- RODAPE ---------- */
#foot { background: #0d0d0d url(../img/grit.svg) repeat 0 0; border-top: 4px solid #000; padding: 34px 0 18px; }
.foot-col { float: left; width: 290px; margin-right: 45px; }
.foot-last { margin-right: 0; }
.foot-col h3 {
  font-family: Anton, Impact, sans-serif; font-weight: normal;
  color: #ffc400; text-transform: uppercase; font-size: 18px; margin-bottom: 8px;
}
.foot-col p { color: #cfcfcf; font-size: 14px; }
.copy { clear: both; text-align: center; color: #777; font-size: 12px; padding-top: 24px; }

/* ---------- FORMULARIO (enviar.php) ---------- */
.page-form #formwrap { width: 640px; margin: 0 auto; padding: 40px 0 60px; }
.page-form h1 {
  font-family: Anton, Impact, sans-serif; font-weight: normal; text-transform: uppercase;
  font-size: 44px; color: #fff; text-shadow: 3px 3px 0 #000; margin-bottom: 6px;
}
.page-form h1 span { color: #c4101a; }
.page-form .lead { color: #cfcfcf; margin-bottom: 22px; }
.fld { margin-bottom: 14px; }
.fld label { display: block; font-size: 13px; text-transform: uppercase; color: #ffc400; margin-bottom: 3px; }
.fld input.txt, .fld select, .fld textarea {
  width: 618px; padding: 9px 10px; border: 2px solid #000; background: #e9e5db; color: #111;
  font-family: Arial, sans-serif; font-size: 15px;
}
.fld textarea { height: 110px; }
.fld .hint { font-size: 12px; color: #999; }
.fld.hp { position: absolute; left: -9999px; top: -9999px; }
.errors { background: #c4101a; border: 3px solid #000; padding: 10px 16px; margin-bottom: 18px; }
.errors li { margin-left: 16px; list-style: square; }
.okbox { background: #ffc400; color: #111; border: 3px solid #000; padding: 14px 18px; margin-bottom: 20px; font-size: 17px; }
.page-form button.btn-red { cursor: pointer; font-size: 18px; }

/* ==========================================================
   PLAYER CARROSSEL (home)
   ========================================================== */
#player.band-gray { padding: 34px 0 46px; }
.pl-card {
  width: 440px;
  max-width: 92%;
  margin: 0 auto;
  background: #101010;
  border: 3px solid #000;
  border-bottom-width: 5px;
  border-radius: 16px;
  padding: 20px 18px 16px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .5);
}
.pl-view { overflow: hidden; }
.pl-strip { display: flex; align-items: center; transition: transform .45s ease; }
.pl-strip.no-anim { transition: none; }
.pl-slide { flex: none; opacity: .4; transform: scale(.86); transition: opacity .45s, transform .45s; cursor: pointer; }
.pl-slide.on { opacity: 1; transform: scale(1); cursor: default; }
.pl-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 12px;
  border: 3px solid #000;
  background: #222;
  pointer-events: none;
}
.pl-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin: 16px 2px 14px; }
.pl-titles h2 {
  font-family: Anton, Impact, "Arial Black", sans-serif;
  font-size: 23px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.15;
}
.pl-sub { color: #b9b3a8; font-size: 13px; margin-top: 5px; text-transform: uppercase; letter-spacing: 1px; }
.pl-mini-actions { display: flex; gap: 8px; flex: none; }
.pl-mini {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1d1d1d;
  color: #ddd;
  border: 2px solid #3a3a3a;
  border-radius: 999px;
  padding: 8px 13px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.pl-mini:hover { border-color: #c4101a; }
.pl-mini b { font-weight: 700; }
.pl-mini.liked { color: #ff5a52; border-color: #c4101a; background: rgba(196, 16, 26, .14); }
.pl-mini.liked svg path { fill: #ff5a52; stroke: #ff5a52; }
.pl-mini.ok { color: #ffc400; border-color: #ffc400; }

.pl-bar { position: relative; height: 6px; background: rgba(255, 255, 255, .14); border-radius: 3px; cursor: pointer; }
.pl-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #c4101a; border-radius: 3px; }
.pl-knob {
  position: absolute;
  top: 50%; left: 0;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}
.pl-times { display: flex; justify-content: space-between; color: #b9b3a8; font-size: 12px; margin: 7px 2px 12px; }

.pl-controls { display: flex; align-items: center; justify-content: space-between; }
.pl-btn {
  position: relative;
  background: none;
  border: 0;
  color: #cfc9bd;
  cursor: pointer;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color .15s, background .15s;
}
.pl-btn:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.pl-btn.active { color: #ffc400; }
.pl-btn-main {
  width: 62px; height: 62px;
  background: #c4101a;
  color: #fff;
  border: 3px solid #000;
  border-bottom-width: 5px;
}
.pl-btn-main:hover { background: #ffc400; color: #000; }
.pl-btn .ic-pause { display: none; }
.playing .pl-btn-main .ic-play { display: none; }
.playing .pl-btn-main .ic-pause { display: inline; }
.pl-r1 { display: none; position: absolute; top: 4px; right: 5px; font-size: 9px; font-weight: 700; }
.pl-btn.one .pl-r1 { display: block; }

/* ==========================================================
   PÁGINA DE ÁLBUNS (/albuns/)
   ========================================================== */
.albuns-wrap h1 { margin-bottom: 26px; }
.album-block {
  background: rgba(0, 0, 0, .35);
  border: 3px solid #000;
  border-bottom-width: 5px;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}
.album-head { display: flex; gap: 18px; align-items: center; margin-bottom: 14px; }
.album-cover {
  width: 120px; height: 120px;
  flex: none;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid #000;
  background: #222;
}
.album-head h2 {
  font-family: Anton, Impact, "Arial Black", sans-serif;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
}
.album-descr { color: #cfc9bd; font-size: 14px; margin-top: 6px; }
.album-count { color: #ffc400; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-top: 8px; }
.album-empty { color: #8a857c; font-size: 14px; }
.album-tracks { counter-reset: tr; }
.album-tracks li { counter-increment: tr; }
.album-tracks li a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 12px;
  text-decoration: none;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: background .15s;
}
.album-tracks li a:before {
  content: counter(tr, decimal-leading-zero);
  color: #c4101a;
  font-family: Anton, Impact, "Arial Black", sans-serif;
  font-size: 15px;
  flex: none;
}
.album-tracks li a:hover { background: rgba(196, 16, 26, .14); }
.album-tracks .t-sub { color: #8a857c; font-size: 13px; }
.album-tracks .t-time { margin-left: auto; color: #b9b3a8; font-size: 13px; flex: none; }

/* ==========================================================
   PÁGINA DA MÚSICA (/musica/slug/)
   ========================================================== */
.musica-wrap .crumbs { margin-bottom: 18px; font-size: 14px; }
.musica-head { display: flex; gap: 26px; align-items: flex-start; flex-wrap: wrap; }
.musica-cover {
  width: 300px; height: 300px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: 3px solid #000;
  border-bottom-width: 5px;
  background: #222;
}
.musica-info { flex: 1; min-width: 260px; }
.musica-info h1 { margin-bottom: 6px; }
.musica-sub { color: #ffc400; font-size: 16px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.musica-meta { margin-bottom: 16px; }
.musica-meta li { padding: 5px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #cfc9bd; }
.musica-meta b { color: #fff; font-weight: 700; }
.musica-audio { width: 100%; margin-bottom: 16px; }
.musica-sec {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 3px solid #c4101a;
}
.musica-sec h2 {
  font-family: Anton, Impact, "Arial Black", sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 12px;
}
.musica-sec p { color: #cfc9bd; line-height: 1.6; }
.musica-lyrics { white-space: normal; font-size: 16px; }

@media (max-width: 720px) {
  .musica-head { flex-direction: column; }
  .musica-cover { width: 100%; height: auto; }
  .album-head { align-items: flex-start; }
}

/* ---------- botão hero: círculo amarelo com play vermelho ---------- */
.btn-ico-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  margin: -4px 0 -4px 12px;
  vertical-align: middle;
  background: #ffc400;
  border: 2px solid #000;
  border-radius: 50%;
}
.btn-ico-circle:after {
  content: '';
  width: 0; height: 0;
  margin-left: 3px;
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent #c4101a;
}
.btn-red:hover .btn-ico-circle { background: #c4101a; }
.btn-red:hover .btn-ico-circle:after { border-left-color: #ffc400; }

/* ==========================================================
   MINI-PLAYER (fixo no rodapé, fora da home)
   ========================================================== */
.mini-player {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  background: #0d0d0d;
  border-top: 3px solid #c4101a;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .55);
}
.mini-player.off { display: none; }
.mp-cover-link { flex: none; line-height: 0; }
.mp-cover-link img { width: 42px; height: 42px; border-radius: 6px; object-fit: cover; border: 2px solid #000; }
.mp-texts { min-width: 0; flex: none; max-width: 220px; }
.mp-texts b {
  display: block;
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mp-texts span { color: #8a857c; font-size: 12px; }
.mp-progress {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, .14);
  border-radius: 3px;
  cursor: pointer;
}
.mp-fill { height: 100%; width: 0; background: #c4101a; border-radius: 3px; }
.mp-time { color: #b9b3a8; font-size: 12px; white-space: nowrap; flex: none; }
.mp-controls { display: flex; align-items: center; gap: 4px; flex: none; }
.mp-btn {
  background: none;
  border: 0;
  color: #cfc9bd;
  width: 38px; height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color .15s, background .15s;
}
.mp-btn:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.mp-main { background: #c4101a; color: #fff; }
.mp-main:hover { background: #ffc400; color: #000; }
.mp-main .ic-pause { display: none; }
.mini-player.playing .mp-main .ic-play { display: none; }
.mini-player.playing .mp-main .ic-pause { display: inline; }
body.mp-on #foot { padding-bottom: 64px; }

@media (max-width: 720px) {
  .mp-texts { max-width: 110px; }
  .mp-time { display: none; }
}

/* ---------- álbuns em cartões, 2 por linha no PC ---------- */
.albums-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.albums-grid .album-block { margin-bottom: 0; height: 100%; }
.album-total { color: #fff; font-weight: 700; }
@media (max-width: 860px) {
  .albums-grid { grid-template-columns: 1fr; }
}

/* ---------- /albuns/: ritmo de espaçamentos ---------- */
.albuns-wrap h1 { margin-bottom: 32px; }

.albums-grid .album-block { padding: 24px 24px 12px; }

.album-head { gap: 20px; margin-bottom: 18px; align-items: center; }
.album-head h2 { margin-bottom: 6px; line-height: 1.1; }
.album-count { margin-top: 0; }
.album-descr { margin-top: 10px; line-height: 1.55; }

.album-tracks {
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  padding-top: 4px;
}
.album-tracks li a { padding: 11px 12px; }
.album-tracks li:last-child a { border-bottom: 0; }
.album-tracks .t-sub { margin-left: 4px; }

.album-empty { margin: 4px 0 10px; }

.albuns-wrap .lead { margin: 12px 0 20px; }

/* ---------- home: cartões de álbuns ---------- */
.card { background-color: #222; background-size: cover; background-position: 50% 50%; }
.card-count {
  display: block;
  margin-top: 6px;
  font-family: Oswald, "Arial Narrow", Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffc400;
}

/* ---------- player: fundo = capa da faixa, desfocada e esmaecida ---------- */
#player.band-gray { position: relative; background: #141414; overflow: hidden; }
.pl-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: 50% 50%;
  filter: blur(30px) brightness(.42) saturate(.85);
  transform: scale(1.15); /* esconde as bordas do blur */
  opacity: 0;
  transition: opacity .8s ease;
  pointer-events: none;
}
.pl-bg.on { opacity: 1; }
.pl-card { position: relative; z-index: 2; }

/* ---------- páginas internas: contêiner e título ---------- */
.page-albuns #formwrap,
.page-musica #formwrap,
.page-404 #formwrap {
  width: 960px;
  margin: 0 auto;
  padding: 40px 0 60px;
}
.page-albuns h1, .page-musica h1, .page-404 h1 {
  font-family: Anton, Impact, "Arial Black", sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  font-size: 44px;
  color: #fff;
  text-shadow: 3px 3px 0 #000;
  margin-bottom: 6px;
}
.page-albuns h1 { margin-bottom: 32px; }
.page-albuns h1 span, .page-musica h1 span, .page-404 h1 span { color: #c4101a; }
@media (max-width: 1000px) {
  .page-albuns #formwrap, .page-musica #formwrap, .page-404 #formwrap {
    width: auto;
    padding: 28px 16px 48px;
  }
}

/* grade de álbuns: alinha pelo topo, sem esticar altura */
.albums-grid .album-block { height: auto; }

/* mini-player: shuffle/repeat ativos + selo "1" do repeat-one */
.mp-btn.active { color: #ffc400; }
.mp-btn.one .pl-r1 { display: block; }

/* ---------- /albuns/: botão ouvir álbum ---------- */
.album-actions { margin-top: 14px; }
.album-play {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #c4101a;
  color: #fff;
  border: 3px solid #000;
  border-bottom-width: 5px;
  border-radius: 999px;
  padding: 8px 18px;
  font-family: Anton, Impact, "Arial Black", sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.album-play:hover { background: #ffc400; color: #000; }
.ap-ico {
  width: 0; height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent currentColor;
}
.album-play.playing { background: #ffc400; color: #000; }
.album-play.playing .ap-ico {
  width: 9px; height: 12px;
  border: 0;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
}

/* ---------- /albuns/: botão estilo hero, centralizado sob a lista ---------- */
.album-play-wrap { text-align: center; margin: 16px 0 12px; }
.album-play {
  border-radius: 0;
  padding: 12px 18px 9px 20px;
  font-size: 15px;
  letter-spacing: 1px;
}
.album-play.playing { background: #ffc400; color: #000; }
.album-play.playing .btn-ico-circle { background: #c4101a; }
.album-play.playing .btn-ico-circle:after {
  width: 8px; height: 10px;
  margin-left: 0;
  border: 0;
  border-left: 3px solid #ffc400;
  border-right: 3px solid #ffc400;
}

/* ---------- home: botão ouvir álbum no cartão ---------- */
.card .card-play {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 13px;
  padding: 7px 12px 6px 16px;
  border-radius: 0;
}
.card .card-play .btn-ico-circle {
  width: 24px; height: 24px;
  margin: -2px 0 -2px 8px;
}
.card .card-play .btn-ico-circle:after {
  border-width: 5px 0 5px 8px;
  margin-left: 2px;
}

/* ==========================================================
   MOBILE / TELAS PEQUENAS
   ========================================================== */
@media (max-width: 1000px) {
  /* contêiner geral */
  .wrap { width: auto; padding: 0 16px; }

  /* cabeçalho: tabela vira blocos empilhados */
  table.bar { width: auto; }
  table.bar, table.bar tbody, table.bar tr, table.bar td { display: block; }
  table.bar td { width: auto !important; text-align: center; padding: 6px 0; }
  td.bar-logo { padding-top: 12px; }
  td.bar-logo img { margin: 0 auto; width: 140px; height: auto; }
  #nav li { display: inline-block; margin: 4px 10px; }
  td.bar-cta { padding-bottom: 14px; }

  /* hero fluido */
  #hero { height: auto; }
  #hero .wrap { height: auto; padding: 56px 16px 96px; }
  #hero h1 { position: static; width: auto; }
  #hero h1 span { white-space: normal; }
  .h-white { font-size: 42px; }
  .h-red {
    font-size: 38px;
    padding-bottom: 14px;
    background-size: 92% 12px;
  }
  .hero-text { position: static; width: auto; margin-top: 18px; font-size: 16px; }
  #btn-ouvir { position: static; display: inline-block; margin-top: 20px; }

  /* cartões de álbuns: um por linha, altura fluida */
  .card, .card-last { float: none; width: 100%; height: auto; margin: 0 0 14px; }
  .card a { width: 100%; height: 210px; }
  .card-cell { width: 100%; height: 210px; }

  /* rodapé em coluna */
  .foot-col { float: none; width: auto; margin: 0 0 22px; }

  /* formulário público */
  .page-form #formwrap { width: auto; padding: 32px 16px 48px; }
}

@media (max-width: 480px) {
  .h-white { font-size: 32px; letter-spacing: 1px; }
  .h-red { font-size: 29px; letter-spacing: 1px; }
  #hero .wrap { padding: 44px 14px 88px; }
  .pl-card { padding: 14px 12px 12px; }
  .pl-controls { gap: 2px; }
}

/* ---------- rodapé: texto legal (resumo pálido, expande no hover/foco) ---------- */
.legal {
  margin-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 12px;
  cursor: help;
  outline: none;
}
.legal p {
  font-size: 11px;
  line-height: 1.55;
  color: #6b665e;
}
.legal-more {
  color: #8a857c;
  border-bottom: 1px dotted #555;
  white-space: nowrap;
}
.legal-full {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .5s ease, opacity .4s ease;
}
.legal:hover .legal-full,
.legal:focus .legal-full,
.legal:focus-within .legal-full {
  max-height: 420px;
  opacity: 1;
}
.legal:hover .legal-short,
.legal:focus .legal-short,
.legal:focus-within .legal-short {
  display: none;
}

/* ---------- texto legal: abre por clique ---------- */
.legal { cursor: default; }
.legal-toggle {
  background: none;
  border: 0;
  border-bottom: 1px dotted #555;
  color: #8a857c;
  font: inherit;
  cursor: pointer;
  padding: 0;
  white-space: nowrap;
}
.legal-toggle:hover { color: #ffc400; border-bottom-color: #ffc400; }
.legal:hover .legal-full,
.legal:focus .legal-full,
.legal:focus-within .legal-full { max-height: 0; opacity: 0; }
.legal:hover .legal-short,
.legal:focus .legal-short,
.legal:focus-within .legal-short { display: block; }
.legal.open .legal-full { max-height: 420px; opacity: 1; }
.legal.open .legal-short { display: none; }

/* ---------- /albuns/: ano do álbum ---------- */
.album-ano { color: #fff; font-weight: 700; }

/* ---------- /albuns/: capa como topo do cartão ---------- */
.albums-grid .album-block {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.album-top {
  height: 180px;
  flex: none;
  background-size: cover;
  background-position: 50% 30%;
  background-color: #222;
  border-bottom: 3px solid #000;
}
.album-body { padding: 18px 20px 12px; flex: 1; }
.album-body h2 {
  font-family: Anton, Impact, "Arial Black", sans-serif;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.1;
}

/* capa do álbum ancorada na base do topo do cartão */
.album-top { background-position: 50% 100%; }

/* capa do álbum em proporção 16:9 */
.album-top { height: auto; aspect-ratio: 16/9; }

/* ---------- home: cartões de álbuns em 16:9 ---------- */
.card, .card-last {
  width: 49%;
  height: auto;
  aspect-ratio: 16/9;
  margin: 0 2% 18px 0;
}
.card-last { margin-right: 0; }
.card a, .card-cell { width: 100%; height: 100%; }
@media (max-width: 1000px) {
  .card, .card-last { width: 100%; margin: 0 0 14px; }
  .card a, .card-cell { height: 100%; }
}

/* ---------- texto legal: correção do clique ---------- */
.legal-short { margin-bottom: 4px; }
.legal-toggle { margin: 2px 0 4px; display: inline-block; }
.legal.open .legal-short { display: none; }
.legal.open .legal-full { max-height: 480px; opacity: 1; }

/* carrossel: rolagem vertical da página livre; gesto horizontal troca a faixa */
.pl-view { touch-action: pan-y; }

/* ---------- player: baixar todas ---------- */
.pl-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px auto 4px;
  padding: 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: #cfc9bd;
  text-decoration: none;
  border: 2px dashed #3a3a3a;
  border-radius: 999px;
  transition: color .15s, border-color .15s;
}
.pl-download:hover { color: #ffc400; border-color: #ffc400; }

/* página da música: botão baixar ao lado do ouvir */
.btn-dl { margin-left: 10px; background: #ffc400; color: #000; border-bottom-color: #b58a00; }
.btn-dl:hover { background: #fff; }

/* ---------- player: ajuda (?) ao passar o mouse na capa ---------- */
.pl-slide { position: relative; }
.pl-help {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 3;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #ffc400;
  color: #111;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #000;
  opacity: 0;
  transition: opacity .2s;
}
.pl-slide:hover .pl-help { opacity: 1; }
.pl-help-tip {
  position: absolute;
  top: 38px; right: 0;
  width: 230px;
  background: #0d0d0d;
  color: #e8e4dc;
  border: 2px solid #000;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s;
  pointer-events: none;
}
.pl-help:hover .pl-help-tip { opacity: 1; visibility: visible; }

/* rodapé: frase de chamada sob o e-mail */
.foot-call { margin-bottom: 10px; font-size: 14px; }
.foot-call b { color: #ffc400; }

/* página da música: botão compartilhar */
.track-share {
  margin-left: 10px;
  background: #1d1d1d;
  color: #e8e4dc;
  border: 3px solid #000;
  border-bottom-width: 5px;
  font-family: Anton, Impact, "Arial Black", sans-serif;
  font-size: 17px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 18px 9px 20px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.track-share:hover { background: #333; }
.track-share.shared { background: #3fa050; color: #fff; }
