/* Audio-first collection. Scoped to preserve the existing site and creator. */
.pm-listen-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 12px; color: #ffe0d0; font: 600 .82rem/1.5 Inter, ui-sans-serif, system-ui, sans-serif; text-underline-offset: 5px; }
.pm-gallery { padding: 88px max(24px, calc((100vw - 1160px)/2)) 70px; color: #2c2233; background: #faf5ee; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; scroll-margin-top: 24px; }
.pm-gallery__heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 36px; }
.pm-gallery__eyebrow { margin: 0 0 20px; color: #8c453e; font-size: .7rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.pm-gallery__heading h2 { margin: 0; font: 400 clamp(2.7rem, 5.3vw, 4.7rem)/1.02 Georgia, "Times New Roman", serif; letter-spacing: -.055em; }
.pm-gallery__heading h2 em { color: #a84a3d; font-weight: 400; }
.pm-gallery__heading > p { max-width: 350px; margin: 0 0 6px; color: #766879; font-size: .91rem; line-height: 1.85; }
.pm-gallery__heading > p strong { display: inline-block; margin-top: 7px; color: #332838; font-weight: 600; }
.pm-gallery__intro { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; padding: 17px 0; border-top: 1px solid #ddd3c9; border-bottom: 1px solid #ddd3c9; color: #65566a; font-size: .73rem; line-height: 1.5; }
.pm-gallery__intro > span:last-child { margin-left: auto; white-space: nowrap; }
.pm-gallery__dot { flex: 0 0 7px; height: 7px; border-radius: 50%; background: #9d483c; }
.pm-gallery__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.pm-track { overflow: hidden; border: 1px solid #dfd4c8; border-radius: 19px; background: #fffcf7; }
.pm-track:only-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.pm-track:only-child .pm-track__art { min-height: 360px; padding: 30px; }
.pm-track:only-child .pm-track__art-title { font-size: clamp(3rem, 5.2vw, 4.5rem); }
.pm-track:only-child .pm-track__body { padding: 30px 34px 10px; min-width: 0; }
.pm-track:only-child .pm-track__description { min-height: 0; }
.pm-track__art { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; min-height: 270px; overflow: hidden; padding: 25px 28px; color: #fff5d7; background: #a74c31; }
.pm-track--sertanejo .pm-track__art { color: #ffe2d7; background: #382843; }
.pm-track__edition { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 12px; font-size: .6rem; font-weight: 650; letter-spacing: .15em; }
.pm-track__record { position: absolute; z-index: -1; width: 360px; height: 360px; top: 26px; right: -83px; border: 1px solid rgba(255,237,188,.35); border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 10px, rgba(255,234,192,.13) 11px 12px); }
.pm-track__record::after { content: ""; position: absolute; inset: 34%; border: 1px solid rgba(255,237,188,.45); border-radius: 50%; background: #b9643b; }
.pm-track--sertanejo .pm-track__record { top: -25px; right: -105px; transform: rotate(-25deg); }
.pm-track--sertanejo .pm-track__record::after { background: #6a4059; }
.pm-track__art-title { position: relative; z-index: 1; margin: 24px 0; font: 400 clamp(2.5rem, 4vw, 3.6rem)/.95 Georgia, "Times New Roman", serif; letter-spacing: -.05em; text-shadow: 0 2px 15px rgba(30,10,10,.15); }
.pm-track__art-title i { font-weight: 400; }
.pm-track__art-note { position: relative; z-index: 1; font-size: .57rem; font-weight: 600; letter-spacing: .16em; }
.pm-track__body { padding: 25px 28px 8px; }
.pm-track__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; margin-bottom: 14px; color: #7b5c56; font-size: .65rem; line-height: 1.4; }
.pm-track__tags > span:first-child { font-weight: 700; }
.pm-track__tags > time { margin-left: auto; color: #766879; font-variant-numeric: tabular-nums; }
.pm-track h3 { margin: 0 0 12px; color: #302438; font: 400 1.9rem/1.15 Georgia, "Times New Roman", serif; letter-spacing: -.04em; }
.pm-track__description { min-height: 4.8em; margin: 0 0 19px; color: #726476; font-size: .82rem; line-height: 1.65; }
.pm-track__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 14px; }
.pm-track__actions button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 10px 15px; border: 1px solid #34263e; border-radius: 7px; color: #fffaf4; background: #34263e; font: 650 .72rem/1.4 Inter, ui-sans-serif, system-ui, sans-serif; cursor: pointer; }
.pm-track__actions [data-track-full] { padding-inline: 0; border-color: transparent; color: #5d3c55; background: transparent; text-decoration: underline; text-underline-offset: 5px; }
.pm-track__actions button:hover { filter: brightness(1.18); }
.pm-track__actions button[aria-busy="true"] { cursor: progress; opacity: .7; }
.pm-track audio { display: block; width: 100%; height: 42px; color-scheme: light; }
.pm-track__status { margin: 0; min-height: 12px; color: #8d392d; font-size: .75rem; line-height: 1.5; }
.pm-track__status:not(:empty) { padding-top: 10px; }
.pm-track__story { margin-top: 8px; border-top: 1px solid #e8ddd3; }
.pm-track__story summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px; color: #5c435b; font-size: .76rem; font-weight: 650; list-style: none; cursor: pointer; }
.pm-track__story summary::-webkit-details-marker { display: none; }
.pm-track__story summary span { font-size: 1.25rem; font-weight: 400; }
.pm-track__story[open] summary span { transform: rotate(45deg); }
.pm-track__story p { margin: 0 0 16px; color: #726476; font-size: .8rem; line-height: 1.7; }
.pm-track__story blockquote { margin: 4px 0 16px; padding-left: 17px; border-left: 2px solid #b66b50; color: #68443f; font: italic 1.25rem/1.5 Georgia, "Times New Roman", serif; }
.pm-track__story small { display: block; margin: 0 0 20px; color: #766879; font-size: .67rem; }
.pm-track__cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 12px 0; border-top: 1px solid #e8ddd3; color: #503249; text-decoration: none; font-size: .72rem; font-weight: 650; line-height: 1.6; }
.pm-gallery__invitation { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 38px; }
.pm-gallery__invitation p { margin: 0; color: #766879; font: 400 1.35rem/1.4 Georgia, "Times New Roman", serif; }
.pm-gallery__invitation p strong { color: #3e2b43; font-weight: 400; }
.pm-gallery__invitation a { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 48px; padding: 12px 18px; border: 1px solid #bfa99b; border-radius: 7px; color: #523747; text-decoration: none; font-size: .78rem; font-weight: 650; }
.pm-gallery [hidden] { display: none !important; }
.pm-gallery :is(button, audio, a, summary):focus-visible, .pm-listen-link:focus-visible { outline: 3px solid #a74c31; outline-offset: 5px; }
.pm-track.is-playing { border-color: #af654e; box-shadow: 0 0 0 2px rgba(175,101,78,.12); }
@media (min-width: 981px) { .desktop-nav { gap: 22px; } }
@media (max-width: 760px) {
    .pm-gallery { padding-block: 58px 48px; }
    .pm-gallery__heading { align-items: start; flex-direction: column; gap: 22px; }
    .pm-gallery__heading > p { font-size: .85rem; }
    .pm-gallery__intro { align-items: start; flex-wrap: wrap; font-size: .69rem; }
    .pm-gallery__dot { margin-top: 5px; }
    .pm-gallery__intro > span:last-child { width: 100%; margin-left: 17px; }
    .pm-gallery__grid { grid-template-columns: 1fr; gap: 28px; }
    .pm-track:only-child { display: block; }
    .pm-track:only-child .pm-track__art { min-height: 250px; padding: 25px 22px; }
    .pm-track:only-child .pm-track__body { padding: 25px 22px 8px; }
    .pm-track__art { min-height: 250px; }
    .pm-track__body { padding-inline: 22px; }
    .pm-track__description { min-height: 0; }
    .pm-gallery__invitation { align-items: start; flex-direction: column; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) { .pm-gallery { scroll-behavior: auto; } }

/* Mother tribute, paired with the original xote card. */
.pm-track--pagode .pm-track__art { color: #fff1cb; background: #245a4b; }
.pm-track--pagode .pm-track__record { top: 40px; right: -100px; }
.pm-track--pagode .pm-track__record::after { background: #bd8a42; }
.pm-track--pagode .pm-track__art-title { font-size: clamp(2.5rem, 3.7vw, 3.35rem); line-height: .98; }
.pm-track__art { min-height: 300px; }
.pm-track__body { min-width: 0; }
.draft-notice { padding: 14px 18px; border: 1px solid #9e82ce; border-radius: 10px; color: #47335e; background: #f6f1fc; font-size: .85rem; line-height: 1.6; }
.draft-notice button { margin-left: 8px; border: 0; background: transparent; color: inherit; text-decoration: underline; cursor: pointer; min-height: 44px; }

/* Four approved tracks; two columns on desktop/tablet, one on phones. */
@media (min-width: 1100px) {
    .pm-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pm-track__body { padding-inline: 22px; }
    .pm-track__art { padding-inline: 22px; }
    .pm-track__art-title { font-size: 3rem; }
    .pm-track h3 { font-size: 1.7rem; min-height: 2.3em; }
}

/* Gisele: a wedding song, paired with the father tribute. */
.pm-track--gisele .pm-track__art { color: #fff0d8; background: #7b3044; }
.pm-track--gisele .pm-track__record { top: 35px; right: -85px; }
.pm-track--gisele .pm-track__record::after { background: #ba7958; }


/* Formatura: três composições, com a mesma apresentação da galeria. */
.pm-track--graduation-1 .pm-track__art { background:#41324f; color:#fff0df; }
.pm-track--graduation-1 .pm-track__record::after { background:#796079; }
.pm-track--graduation-2 .pm-track__art { background:#8c542e; color:#fff1ce; }
.pm-track--graduation-2 .pm-track__record::after { background:#ad7146; }
.pm-track--graduation-3 .pm-track__art { background:#34564f; color:#fff1d6; }
.pm-track--graduation-3 .pm-track__record::after { background:#648078; }
