.home-main {
    --hm-red: #A83232;
    --hm-red-dark: #872b2d;
    --hm-ink: #2a2a30;
    --hm-muted: #6a6a72;
    --hm-line: #e6e4e9;
    --hm-soft: #f7f6f8;
    --hm-white: #ffffff;
    --hm-max: 1100px;
    --hm-purple: #5b4696;
}

.home-main {
    width: 100%;
    color: var(--hm-ink);
    background: var(--hm-white);
}

.hm-inner {
    width: 100%;
    max-width: var(--hm-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- intro ---------- */

.hm-intro {
    padding: 36px 0 10px;
    text-align: center;
}

.hm-intro .hm-inner {
    max-width: 720px;
}

.hm-label {
    margin: 0 0 10px;
    color: var(--hm-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hm-intro h1 {
    margin: 0 0 14px;
    color: var(--hm-ink);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    font-weight: 700;
    text-align: center;
}

.hm-lead {
    margin: 0 auto 22px;
    max-width: 560px;
    color: var(--hm-muted);
    font-size: 16px;
    line-height: 1.6;
}

.hm-intro-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 22px;
}

.hm-btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 8px;
    background: var(--hm-red);
    color: #fff !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    transition: background 0.15s ease, transform 0.15s ease;
}

.hm-btn-main:hover {
    background: var(--hm-red-dark);
    transform: translateY(-1px);
}

.hm-btn-sec {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 8px;
    border: 1px solid var(--hm-line);
    background: #fff;
    color: var(--hm-ink) !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
}

.hm-btn-sec:hover {
    border-color: #ccc;
    background: var(--hm-soft);
}

.hm-proof {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hm-proof li {
    position: relative;
    padding-left: 16px;
    color: var(--hm-muted);
    font-size: 13px;
    font-weight: 600;
}

.hm-proof li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--hm-red);
    font-size: 12px;
    font-weight: 800;
}

/* ---------- blocos ---------- */

.hm-block {
    padding: 42px 0;
}

.hm-block-soft {
    background: var(--hm-soft);
}

.hm-block-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.hm-block-head h2 {
    margin: 0;
    color: var(--hm-ink);
    font-size: clamp(22px, 3vw, 28px);
    line-height: 1.2;
    font-weight: 700;
}

.hm-more {
    color: var(--hm-red);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.hm-more:hover {
    text-decoration: underline;
}

/* ---------- grade de ocasiões (cards profissionais) ---------- */

.hm-grid-ocasioes {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.hm-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-height: 168px;
    padding: 22px 20px 18px;
    border: 1px solid var(--hm-line);
    border-radius: 16px;
    background: linear-gradient(160deg, #ffffff 0%, #fbfafc 100%);
    box-shadow: 0 4px 14px rgba(42, 42, 48, 0.04);
    color: var(--hm-ink);
    text-decoration: none;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.hm-card:hover {
    border-color: #e0b4b4;
    box-shadow: 0 12px 28px rgba(168, 50, 50, 0.10);
    transform: translateY(-3px);
    color: var(--hm-ink);
}

.hm-card-ico {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(145deg, #fceeee, #f6dede);
    color: var(--hm-red);
    font-size: 22px;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(168, 50, 50, 0.06);
}

.hm-card:hover .hm-card-ico {
    background: linear-gradient(145deg, var(--hm-red), var(--hm-red-dark));
    color: #fff;
    box-shadow: 0 6px 14px rgba(168, 50, 50, 0.22);
}

.hm-card strong {
    display: block;
    margin-top: 2px;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--hm-ink);
}

.hm-card>span:not(.hm-card-ico) {
    display: block;
    color: var(--hm-muted);
    font-size: 13px;
    line-height: 1.4;
    flex: 1;
}

.hm-card-go {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    color: var(--hm-red);
    font-size: 12px;
    font-weight: 800;
    font-style: normal;
    letter-spacing: 0.02em;
}

.hm-card-go i {
    font-size: 10px;
    transition: transform 0.15s ease;
}

.hm-card:hover .hm-card-go i {
    transform: translateX(3px);
}

/* ---------- players / prévias ---------- */

.hm-play-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hm-play-loading,
.hm-play-empty {
    grid-column: 1 / -1;
    padding: 28px 16px;
    text-align: center;
    color: var(--hm-muted);
    font-size: 14px;
}

.hm-play-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--hm-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(42, 42, 48, 0.05);
}

.hm-play-card .custom-player {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 92px;
    padding: 12px 14px;
    border-radius: 14px;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 20%, rgba(168, 50, 50, 0.08), transparent 40%),
        linear-gradient(135deg, #faf7f8, #f3eef1);
    border: 1px solid #ebe4e8;
}

.hm-play-card .play-btn {
    position: relative;
    z-index: 2;
    width: 52px;
    height: 52px;
    min-width: 52px;
    border: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: linear-gradient(145deg, var(--hm-red), var(--hm-red-dark));
    box-shadow: 0 6px 14px rgba(168, 50, 50, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hm-play-card .play-btn:hover {
    transform: scale(1.05);
}

.hm-play-card .play-btn svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.hm-play-card .player-track {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 0;
}

.hm-play-card .waveform {
    position: absolute;
    left: 0;
    right: 0;
    top: 4px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2px;
    opacity: 0.35;
    pointer-events: none;
}

.hm-play-card .waveform span {
    display: block;
    width: 2.5px;
    min-height: 6px;
    height: 14px;
    border-radius: 3px;
    background: linear-gradient(to bottom, rgba(168, 50, 50, 0.55), rgba(168, 50, 50, 0.15));
    transform-origin: center;
}

.hm-play-card .custom-player.is-playing .waveform span {
    animation: hmWave 0.7s ease-in-out infinite alternate;
}

.hm-play-card .custom-player.is-playing .waveform span:nth-child(2n) {
    animation-duration: 0.55s;
}

.hm-play-card .custom-player.is-playing .waveform span:nth-child(3n) {
    animation-duration: 0.85s;
}

.hm-play-card .custom-player.is-playing .waveform span:nth-child(4n) {
    animation-duration: 0.62s;
}

@keyframes hmWave {
    0% {
        transform: scaleY(0.35);
        opacity: 0.35;
    }

    50% {
        transform: scaleY(1);
        opacity: 0.8;
    }

    100% {
        transform: scaleY(0.55);
        opacity: 0.5;
    }
}

.hm-play-card .progress-bar {
    position: relative;
    z-index: 3;
    height: 4px;
    margin-top: 34px;
    border-radius: 999px;
    background: rgba(168, 50, 50, 0.12);
    cursor: pointer;
    overflow: visible;
}

.hm-play-card .progress-filled {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--hm-red), #c45a5c);
}

.hm-play-card .progress-filled::after {
    content: "";
    position: absolute;
    right: -4px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--hm-red);
    transform: translateY(-50%);
    box-sizing: border-box;
}

.hm-play-card .time-info {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 0.68rem;
    color: #777;
    font-variant-numeric: tabular-nums;
}

.hm-play-name {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--hm-ink);
}

.hm-play-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.hm-play-cat {
    color: var(--hm-muted);
    font-size: 12px;
    font-weight: 600;
}

.hm-play-link {
    color: var(--hm-red);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.hm-play-link:hover {
    text-decoration: underline;
}

/* ---------- passos ---------- */

.hm-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hm-steps li {
    padding: 22px 20px;
    border: 1px solid var(--hm-line);
    border-radius: 12px;
    background: #fff;
}

.hm-steps strong {
    display: block;
    margin-bottom: 8px;
    color: var(--hm-ink);
    font-size: 16px;
}

.hm-steps p {
    margin: 0;
    color: var(--hm-muted);
    font-size: 14px;
    line-height: 1.55;
}

/* ---------- chips ---------- */

.hm-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hm-chips a {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border: 1px solid var(--hm-line);
    border-radius: 999px;
    background: #fff;
    color: var(--hm-ink);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.hm-chips a:hover {
    background: var(--hm-red);
    border-color: var(--hm-red);
    color: #fff;
}

/* ---------- pix ---------- */

.hm-pix {
    padding: 24px 26px;
    border: 1px solid #d4ead9;
    border-radius: 12px;
    background: #f1f9f2;
}

.hm-pix h2 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 800;
    color: var(--hm-ink);
}

.hm-pix p {
    margin: 0;
    color: var(--hm-muted);
    font-size: 14px;
    line-height: 1.55;
}

.hm-pix a {
    color: var(--hm-red);
    font-weight: 700;
    text-decoration: none;
}

.hm-pix a:hover {
    text-decoration: underline;
}

/* ---------- seo ---------- */

.hm-seo h2 {
    margin: 0 0 22px;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    color: var(--hm-ink);
}

.hm-seo-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding-top: 8px;
    border-top: 1px solid var(--hm-line);
}

.hm-seo-cols h3 {
    margin: 16px 0 8px;
    font-size: 15px;
    font-weight: 800;
    color: var(--hm-ink);
}

.hm-seo-cols p {
    margin: 0;
    color: var(--hm-muted);
    font-size: 14px;
    line-height: 1.65;
}

.hm-seo-cols a {
    color: var(--hm-red);
    font-weight: 700;
    text-decoration: none;
}

.hm-seo-cols a:hover {
    text-decoration: underline;
}

/* ---------- cta ---------- */

.hm-cta {
    padding: 36px 24px;
    border: 1px solid var(--hm-line);
    border-radius: 14px;
    background: var(--hm-soft);
    text-align: center;
}

.hm-cta h2 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 700;
    color: var(--hm-ink);
}

.hm-cta p {
    margin: 0 0 18px;
    color: var(--hm-muted);
    font-size: 15px;
}

/* ---------- responsivo ---------- */

@media (max-width: 980px) {
    .hm-grid-ocasioes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hm-play-grid {
        grid-template-columns: 1fr;
    }

    .hm-steps,
    .hm-seo-cols {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hm-intro {
        padding-top: 24px;
    }

    .hm-block {
        padding: 32px 0;
    }

    .hm-block-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .hm-grid-ocasioes {
        grid-template-columns: 1fr;
    }

    .hm-card {
        min-height: 0;
    }

    .hm-intro-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hm-btn-main,
    .hm-btn-sec {
        width: 100%;
    }

    .hm-pix {
        padding: 20px;
    }
}


/* placeholder quando ainda não há arquivo de áudio na lista PREVIAS */
.hm-play-placeholder {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 92px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid #ebe4e8;
    background: linear-gradient(135deg, #faf7f8, #f3eef1);
    text-decoration: none;
    color: var(--hm-ink);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hm-play-placeholder:hover {
    border-color: #e0b4b4;
    box-shadow: 0 6px 16px rgba(168, 50, 50, 0.08);
    color: var(--hm-ink);
}

.hm-play-placeholder-btn {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--hm-red), var(--hm-red-dark));
    box-shadow: 0 6px 14px rgba(168, 50, 50, 0.28);
}

.hm-play-placeholder-btn svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.hm-play-placeholder-txt {
    font-size: 14px;
    font-weight: 700;
    color: var(--hm-muted);
}