/* =========================================================
   TROCA DE FUNDO MUSICAL — PÁGINA INSTITUCIONAL
   ========================================================= */

.tfmx-page {
    max-width: 900px;
    padding-top: 18px;
    padding-bottom: 35px;
}

.tfmx-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    align-items: center;
    gap: 45px;
    margin-bottom: 65px;
    padding: 55px;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(135deg, #302f4a, #494568 65%, #5b4696);
    color: #fff;
    box-shadow: 0 15px 40px rgba(48, 47, 74, .16);
}

.tfmx-hero::after {
    content: "♫";
    position: absolute;
    right: -25px;
    bottom: -85px;
    color: rgba(255, 255, 255, .04);
    font-size: 270px;
}

.tfmx-hero-conteudo {
    position: relative;
    z-index: 2;
}

.tfmx-kicker,
.tfmx-label {
    display: block;
    margin-bottom: 10px;
    color: #6d579e;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.tfmx-hero .tfmx-kicker {
    color: rgba(255, 255, 255, .56);
}

.tfmx-hero h1 {
    margin: 0 0 18px !important;
    color: #fff !important;
    font-size: 43px !important;
    line-height: 1.05 !important;
}

.tfmx-hero h1 strong {
    display: block;
}

.tfmx-hero p {
    max-width: 500px;
    margin: 0 0 25px !important;
    color: rgba(255, 255, 255, .73);
    font-size: 14px;
    line-height: 1.65;
}

.tfmx-player {
    position: relative;
    z-index: 2;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
}

.tfmx-player-topo {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, .5);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.tfmx-player-topo b {
    color: #fff;
    font-size: 19px;
}

.tfmx-disco {
    width: 125px;
    height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0 8%, #5b4696 9% 17%, #27263d 18% 48%, #45425f 49% 60%, #202034 61% 100%);
    box-shadow: 0 12px 25px rgba(0, 0, 0, .25);
}

.tfmx-disco-centro {
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: #302f4a;
}

.tfmx-ondas {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin-bottom: 17px;
}

.tfmx-ondas i {
    display: block;
    width: 3px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .65);
}

.tfmx-ondas i:nth-child(1) {
    height: 8px
}

.tfmx-ondas i:nth-child(2) {
    height: 16px
}

.tfmx-ondas i:nth-child(3) {
    height: 23px
}

.tfmx-ondas i:nth-child(4) {
    height: 12px
}

.tfmx-ondas i:nth-child(5) {
    height: 27px
}

.tfmx-ondas i:nth-child(6) {
    height: 18px
}

.tfmx-ondas i:nth-child(7) {
    height: 9px
}

.tfmx-ondas i:nth-child(8) {
    height: 22px
}

.tfmx-ondas i:nth-child(9) {
    height: 28px
}

.tfmx-ondas i:nth-child(10) {
    height: 14px
}

.tfmx-ondas i:nth-child(11) {
    height: 25px
}

.tfmx-ondas i:nth-child(12) {
    height: 11px
}

.tfmx-ondas i:nth-child(13) {
    height: 28px
}

.tfmx-ondas i:nth-child(14) {
    height: 19px
}

.tfmx-ondas i:nth-child(15) {
    height: 9px
}

.tfmx-ondas i:nth-child(16) {
    height: 24px
}

.tfmx-ondas i:nth-child(17) {
    height: 16px
}

.tfmx-ondas i:nth-child(18) {
    height: 21px
}

.tfmx-ondas i:nth-child(19) {
    height: 12px
}

.tfmx-player>strong {
    display: block;
    color: #fff;
    font-size: 11px;
    text-align: center;
}

.tfmx-player>small {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, .44);
    font-size: 8px;
    text-align: center;
}

.tfmx-intro {
    max-width: 700px;
    margin: 0 auto 65px;
    text-align: center;
}

.tfmx-intro h2 {
    margin: 0 0 17px !important;
    color: #302f4a !important;
    font-size: 29px !important;
    line-height: 1.18 !important;
}

.tfmx-intro p {
    margin: 0 auto 11px !important;
    color: #6f6d74;
    font-size: 14px;
    line-height: 1.7;
}

.tfmx-beneficios {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 65px;
    border-top: 1px solid #e5e2e9;
    border-bottom: 1px solid #e5e2e9;
}

.tfmx-beneficios article {
    padding: 30px 25px;
}

.tfmx-beneficios article+article {
    border-left: 1px solid #e5e2e9;
}

.tfmx-icone {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 17px;
    border-radius: 50%;
    background: #f3f0f8;
    color: #5b4696;
}

.tfmx-beneficios h3 {
    margin: 0 0 8px !important;
    color: #302f4a !important;
    font-size: 13px !important;
}

.tfmx-beneficios p {
    margin: 0 !important;
    color: #77747d;
    font-size: 12px;
    line-height: 1.6;
}

.tfmx-destaque {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    margin-bottom: 65px;
    padding: 42px;
    border-radius: 11px;
    background: #f5f3f9;
}

.tfmx-destaque h2 {
    margin: 7px 0 0 !important;
    color: #302f4a !important;
    font-size: 27px !important;
}

.tfmx-destaque p {
    margin: 0 0 11px !important;
    color: #69676f;
    font-size: 13px;
    line-height: 1.65;
}

.tfmx-como {
    margin-bottom: 65px;
}

.tfmx-titulo {
    margin-bottom: 27px;
    text-align: center;
}

.tfmx-titulo h2 {
    margin: 0 !important;
    color: #302f4a !important;
    font-size: 28px !important;
}

.tfmx-passos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.tfmx-passos article {
    padding: 27px;
    border: 1px solid #e4e1e9;
    border-radius: 8px;
    background: #fff;
}

.tfmx-passos article>span {
    display: block;
    margin-bottom: 20px;
    color: #9b3435;
    font-size: 10px;
    font-weight: 800;
}

.tfmx-passos h3 {
    margin: 0 0 8px !important;
    color: #302f4a !important;
    font-size: 15px !important;
}

.tfmx-passos p {
    margin: 0 !important;
    color: #77747d;
    font-size: 11px;
    line-height: 1.6;
}

.tfmx-estilos {
    margin-bottom: 65px;
    text-align: center;
}

.tfmx-estilos h2 {
    max-width: 650px;
    margin: 0 auto 25px !important;
    color: #302f4a !important;
    font-size: 27px !important;
}

.tfmx-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
}

.tfmx-tags span {
    padding: 7px 12px;
    border: 1px solid #e1dee7;
    border-radius: 30px;
    color: #625f69;
    background: #fff;
    font-size: 10px;
}

.tfmx-cta {
    margin-bottom: 55px;
    padding: 43px 30px;
    border-radius: 11px;
    background: linear-gradient(135deg, #302f4a, #494568);
    text-align: center;
}

.tfmx-cta>span {
    color: rgba(255, 255, 255, .55);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.tfmx-cta h2 {
    margin: 8px 0 !important;
    color: #fff !important;
    font-size: 29px !important;
}

.tfmx-cta p {
    max-width: 580px;
    margin: 0 auto 22px !important;
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
    line-height: 1.6;
}

.tfmx-botao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 49px;
    margin-top: 5px;
    padding: 12px 22px;
    border: 0;
    border-radius: 6px;
    background: #fff;
    color: #302f4a !important;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .4px;
    text-decoration: none !important;
    cursor: pointer;
    transition: background .15s ease, transform .1s ease;
}

.tfmx-botao span {
    font-size: 18px;
    line-height: 1;
}

.tfmx-botao:hover {
    background: #f0eef5;
    color: #302f4a !important;
}

.tfmx-botao:active {
    transform: translateY(1px);
}

.tfmx-seo {
    padding-top: 25px;
    border-top: 1px solid #e4e1e9;
}

.tfmx-seo h2 {
    margin: 0 0 12px !important;
    color: #302f4a !important;
    font-size: 21px !important;
}

.tfmx-seo p {
    margin: 0 0 11px !important;
    color: #6c6a71;
    font-size: 12px;
    line-height: 1.65;
}

@media (max-width: 750px) {
    .tfmx-hero {
        grid-template-columns: 1fr;
        padding: 42px 30px;
    }

    .tfmx-hero h1 {
        font-size: 35px !important;
    }

    .tfmx-player {
        max-width: 300px;
        margin: auto;
    }

    .tfmx-beneficios {
        grid-template-columns: 1fr;
    }

    .tfmx-beneficios article+article {
        border-left: 0;
        border-top: 1px solid #e5e2e9;
    }

    .tfmx-destaque {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 32px 27px;
    }

    .tfmx-passos {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .tfmx-hero {
        padding: 35px 22px;
    }

    .tfmx-hero h1 {
        font-size: 31px !important;
    }

    .tfmx-intro h2,
    .tfmx-destaque h2,
    .tfmx-estilos h2 {
        font-size: 24px !important;
    }

    .tfmx-cta h2 {
        font-size: 25px !important;
    }

    .tfmx-cta {
        padding: 36px 20px;
    }

    .tfmx-botao {
        width: 100%;
        box-sizing: border-box;
    }
}



/* =========================================================
   TROCA DE FUNDO MUSICAL
   Padrão visual: #302f4a
   ========================================================= */

.troca-fundo-page {
    padding-top: 18px;
    padding-bottom: 35px;
}

/* =========================================================
   CONTEXTO DA TELEMENSAGEM
   ========================================================= */

.tfm-contexto {
    width: 100%;
    max-width: 680px;

    margin: 0 auto 28px;

    box-sizing: border-box;

    background: #302f4a;
    border-radius: 10px;

    color: #ffffff;

    overflow: hidden;

    box-shadow:
        0 8px 24px rgba(48, 47, 74, .16);
}

.tfm-contexto-label {
    padding: 10px 20px;

    background: rgba(255, 255, 255, .07);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;

    color: rgba(255, 255, 255, .72);
}

.tfm-contexto-dados {
    display: flex;
    align-items: stretch;

    padding: 18px 20px;
}

.tfm-contexto-item {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 120px;
}

.tfm-contexto-item span {
    margin-bottom: 5px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;

    color: rgba(255, 255, 255, .55);
}

.tfm-contexto-item strong {
    font-size: 17px;
    line-height: 1.25;
    font-weight: 600;

    color: #ffffff;
}

.tfm-contexto-tema {
    flex: 1;
}

.tfm-contexto-divisor {
    width: 1px;

    margin: 2px 24px;

    background: rgba(255, 255, 255, .16);
}


/* =========================================================
   INTRODUÇÃO
   ========================================================= */

.tfm-intro {
    width: 100%;
    max-width: 680px;

    margin: 0 auto 22px;
    padding: 0 10px;

    box-sizing: border-box;

    text-align: center;
}

.tfm-intro .tfm-label {
    display: inline-block;

    margin-bottom: 9px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;

    color: #302f4a;
}

.tfm-intro h1 {
    margin: 0 0 9px;

    font-size: 27px;
    line-height: 1.2;
    font-weight: 700;

    color: #302f4a;
}

.tfm-intro p {
    max-width: 500px;

    margin: 0 auto;

    font-size: 14px;
    line-height: 1.55;

    color: #6d6d73;
}


/* =========================================================
   FORMULÁRIO
   ========================================================= */

.tfm-formulario {
    width: 100%;
    max-width: 680px;

    margin: 0 auto 24px;
    padding: 28px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #e7e7ea;
    border-radius: 10px;

    box-shadow:
        0 5px 20px rgba(48, 47, 74, .07);
}

.tfm-formulario form {
    width: 100%;
    margin: 0;
}

.tfm-campo {
    margin-bottom: 19px;
}

.tfm-formulario label {
    display: block;

    margin: 0 0 7px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .7px;

    color: #302f4a;
}

.tfm-formulario input[type="text"] {
    display: block;

    width: 100%;
    height: 49px;

    margin: 0;
    padding: 0 14px;

    box-sizing: border-box;

    border: 1px solid #d9d9de;
    border-radius: 6px;

    background: #ffffff;

    color: #302f4a;

    font-family: inherit;
    font-size: 15px;

    outline: none;

    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.tfm-formulario input[type="text"]::placeholder {
    color: #a2a2a7;
}

.tfm-formulario input[type="text"]:focus {
    border-color: #302f4a;

    box-shadow:
        0 0 0 3px rgba(48, 47, 74, .09);
}

.tfm-botao {
    display: block;

    width: 100%;
    min-height: 49px;

    margin-top: 5px;
    padding: 12px 20px;

    border: 0;
    border-radius: 6px;

    background: #302f4a;
    color: #ffffff;

    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .4px;

    cursor: pointer;

    transition:
        background .15s ease,
        transform .1s ease;
}

.tfm-botao:hover {
    background: #24233a;
}

.tfm-botao:active {
    transform: translateY(1px);
}


/* =========================================================
   INFORMAÇÕES
   ========================================================= */

.tfm-informacao {
    width: 100%;
    max-width: 680px;

    margin: 0 auto;

    padding: 18px 20px;

    box-sizing: border-box;

    background: #f7f7f8;

    border-left: 3px solid #302f4a;
    border-radius: 5px;

    color: #66666c;
}

.tfm-informacao-titulo {
    margin-bottom: 7px;

    font-size: 12px;
    font-weight: 700;

    color: #302f4a;
}

.tfm-informacao p {
    margin: 5px 0;

    font-size: 12px;
    line-height: 1.55;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .troca-fundo-page {
        padding-top: 12px;
        padding-bottom: 25px;
    }

    .tfm-contexto {
        margin-bottom: 23px;
        border-radius: 8px;
    }

    .tfm-contexto-dados {
        padding: 16px;
    }

    .tfm-contexto-item strong {
        font-size: 15px;
    }

    .tfm-contexto-divisor {
        margin: 2px 16px;
    }

    .tfm-intro {
        margin-bottom: 18px;
        padding: 0 14px;
    }

    .tfm-intro h1 {
        font-size: 23px;
    }

    .tfm-intro p {
        font-size: 14px;
    }

    .tfm-formulario {
        margin-bottom: 20px;
        padding: 21px 17px;

        border-radius: 8px;
    }

    .tfm-formulario input[type="text"] {
        height: 50px;
        font-size: 16px;
    }

    .tfm-botao {
        min-height: 51px;
    }

    .tfm-informacao {
        padding: 16px;
    }

}


/* =========================================================
   RESULTADOS YOUTUBE
   ========================================================= */

.tfm-resultados-youtube {
    width: 100%;
    max-width: 680px;

    margin: 0 auto 30px;
}

.tfm-resultados-titulo {
    margin: 0 0 12px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4px;

    color: #302f4a;
}

.tfm-video-result {
    display: flex;
    align-items: center;

    width: 100%;

    margin-bottom: 10px;
    padding: 10px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #e5e5e8;
    border-radius: 8px;

    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.tfm-video-result:hover {
    border-color: #cfcfd5;

    box-shadow:
        0 4px 14px rgba(48, 47, 74, .07);
}

.tfm-video-result.selecionado {
    border-color: #302f4a;

    box-shadow:
        0 0 0 2px rgba(48, 47, 74, .08);
}

.tfm-video-thumb {
    flex: 0 0 150px;

    width: 150px;
    height: 84px;

    object-fit: cover;

    border-radius: 5px;

    background: #eeeeef;
}

.tfm-video-conteudo {
    min-width: 0;
    flex: 1;

    padding: 2px 4px 2px 13px;
}

.tfm-video-titulo {
    margin-bottom: 5px;

    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;

    color: #302f4a;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

.tfm-video-canal {
    margin-bottom: 9px;

    font-size: 11px;

    color: #77777d;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tfm-video-escolher {
    min-height: 32px;

    padding: 7px 11px;

    border: 0;
    border-radius: 5px;

    background: #302f4a;
    color: #ffffff;

    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .3px;

    cursor: pointer;
}

.tfm-video-escolher:hover {
    background: #24233a;
}

.tfm-video-confirmacao {
    display: inline-block;

    margin-left: 8px;

    font-size: 10px;
    font-weight: 700;

    color: #302f4a;
}

.tfm-resultado-mensagem {
    padding: 15px;

    border-radius: 7px;

    font-size: 13px;
    line-height: 1.45;

    text-align: center;
}

.tfm-resultado-mensagem.carregando {
    background: #f5f5f7;
    color: #66666c;
}

.tfm-resultado-mensagem.erro {
    background: #faf5f3;
    color: #8a4d3a;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .tfm-video-result {
        align-items: flex-start;
        padding: 8px;
    }

    .tfm-video-thumb {
        flex: 0 0 115px;

        width: 115px;
        height: 65px;
    }

    .tfm-video-conteudo {
        padding-left: 10px;
    }

    .tfm-video-titulo {
        font-size: 12px;
    }

    .tfm-video-canal {
        margin-bottom: 7px;
        font-size: 10px;
    }

    .tfm-video-escolher {
        min-height: 30px;
        padding: 6px 9px;
        font-size: 9px;
    }

    .tfm-video-confirmacao {
        display: block;
        margin: 5px 0 0;
    }

}


/* ============================================================
   TFM - NOVA BUSCA E PLAYER
   ============================================================ */


/* ------------------------------------------------------------
   BOTÕES NOVA BUSCA
   ------------------------------------------------------------ */

.tfm-nova-busca {
    display: block;
    width: 100%;
    max-width: 420px;

    margin: 22px auto;
    padding: 14px 22px;

    border: 1px solid #302f4a;
    border-radius: 10px;

    background: #302f4a;
    color: #ffffff;

    font-family: inherit;
    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.8px;
    text-align: center;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.tfm-nova-busca:hover {
    background: #3b3a59;

    box-shadow:
        0 6px 18px rgba(48, 47, 74, 0.18);

    transform: translateY(-1px);
}


.tfm-nova-busca:active {
    transform: translateY(0);
    box-shadow: none;
}


/* ------------------------------------------------------------
   PLAYER YOUTUBE
   ------------------------------------------------------------

   O vídeo continua carregado e reproduzindo o áudio,
   mas fica completamente fora da área visual.

   Isso evita que o iframe cubra os botões "ESCOLHER ESTA"
   principalmente em telas pequenas.
   ------------------------------------------------------------ */

.tfm-video-result {
    position: relative;
}


.tfm-youtube-player {
    position: fixed;

    width: 1px;
    height: 1px;

    left: -10000px;
    top: -10000px;

    overflow: hidden;

    opacity: 0;
    pointer-events: none;

    z-index: -1;
}


.tfm-youtube-player iframe {
    display: block;

    width: 1px;
    height: 1px;

    border: 0;
}


/* ------------------------------------------------------------
   INDICAÇÃO VISUAL DE QUE A THUMBNAIL É CLICÁVEL
   ------------------------------------------------------------ */

.tfm-video-thumb-clicavel {
    cursor: pointer;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


.tfm-video-thumb-clicavel:hover {
    opacity: 0.9;
    transform: scale(1.015);
}


.tfm-video-result.tfm-video-tocando .tfm-video-thumb-clicavel {
    outline: 3px solid rgba(48, 47, 74, 0.22);
}


/* ------------------------------------------------------------
   RESPONSIVO
   ------------------------------------------------------------ */

@media (max-width: 600px) {

    .tfm-nova-busca {
        width: calc(100% - 20px);

        margin-top: 18px;
        margin-bottom: 18px;

        padding: 13px 16px;

        font-size: 12px;
    }

}


/* ============================================================
   AJUSTE DO PLAYER DE PRÉVIA
   ============================================================ */

.tfm-youtube-player {
    position: fixed !important;

    width: 2px !important;
    height: 2px !important;

    left: 1px !important;
    bottom: 1px !important;

    top: auto !important;
    right: auto !important;

    overflow: hidden !important;

    opacity: 0.01 !important;

    pointer-events: none !important;

    z-index: 1 !important;
}

.tfm-youtube-player iframe {
    display: block !important;

    width: 2px !important;
    height: 2px !important;

    border: 0 !important;
}


/* ============================================================
   DURAÇÃO
   ============================================================ */

.tfm-video-duracao {
    margin: 0 0 6px;

    font-size: 10px;
    line-height: 1;

    color: #77777d;
}


/* ============================================================
   SELEÇÃO
   ============================================================ */

.tfm-video-result.selecionado {
    border-color: #302f4a !important;

    box-shadow:
        0 0 0 2px rgba(48, 47, 74, .08) !important;
}


/* ============================================================
   TFM - ANIMAÇÃO DE MÚSICA TOCANDO
   ============================================================ */

.tfm-video-result {
    position: relative;
}


/*
 * Escurece levemente a thumbnail enquanto a música toca.
 */

.tfm-video-result.tfm-video-tocando .tfm-video-thumb {
    filter: brightness(.78);
}


/*
 * Fundo discreto para o indicador.
 */

.tfm-video-result.tfm-video-tocando::after {
    content: "";

    position: absolute;

    left: 10px;
    bottom: 10px;

    width: 42px;
    height: 30px;

    border-radius: 6px;

    background: rgba(48, 47, 74, .88);

    pointer-events: none;

    z-index: 5;
}


/*
 * Barras do equalizador.
 */

.tfm-video-result.tfm-video-tocando::before {
    content: "";

    position: absolute;

    left: 16px;
    bottom: 15px;

    width: 30px;
    height: 20px;

    z-index: 6;

    pointer-events: none;

    background:
        linear-gradient(to top,
            #ffffff 0,
            #ffffff 45%,
            transparent 45%,
            transparent 100%) 0 0 / 4px 100% no-repeat,

        linear-gradient(to top,
            #ffffff 0,
            #ffffff 80%,
            transparent 80%,
            transparent 100%) 7px 0 / 4px 100% no-repeat,

        linear-gradient(to top,
            #ffffff 0,
            #ffffff 55%,
            transparent 55%,
            transparent 100%) 14px 0 / 4px 100% no-repeat,

        linear-gradient(to top,
            #ffffff 0,
            #ffffff 95%,
            transparent 95%,
            transparent 100%) 21px 0 / 4px 100% no-repeat,

        linear-gradient(to top,
            #ffffff 0,
            #ffffff 65%,
            transparent 65%,
            transparent 100%) 28px 0 / 4px 100% no-repeat;

    background-repeat: no-repeat;

    animation:
        tfm-equalizador .75s ease-in-out infinite alternate;
}


/*
 * Movimento do equalizador.
 */

@keyframes tfm-equalizador {

    0% {
        transform: scaleY(.55);
        opacity: .72;
    }

    25% {
        transform: scaleY(1);
        opacity: .95;
    }

    50% {
        transform: scaleY(.68);
        opacity: .82;
    }

    75% {
        transform: scaleY(.9);
        opacity: .95;
    }

    100% {
        transform: scaleY(.48);
        opacity: .72;
    }
}


/*
 * Destaque da música atualmente tocando.
 */

.tfm-video-result.tfm-video-tocando .tfm-video-thumb-clicavel {
    outline: 3px solid rgba(48, 47, 74, .28);
    outline-offset: -3px;
}


/*
 * Respeita usuários que preferem menos movimento.
 */

@media (prefers-reduced-motion: reduce) {

    .tfm-video-result.tfm-video-tocando::before {
        animation: none;
        transform: scaleY(.8);
        opacity: .85;
    }

}


/*
 * Ajuste para telas pequenas.
 */

@media (max-width: 600px) {

    .tfm-video-result.tfm-video-tocando::after {
        left: 8px;
        bottom: 8px;

        width: 38px;
        height: 27px;
    }

    .tfm-video-result.tfm-video-tocando::before {
        left: 13px;
        bottom: 12px;
    }

}


/* ============================================================
   TFM - PLAYER MUSICAL PREMIUM
   ============================================================

   Estado ativo:
       .tfm-video-result.tfm-video-tocando

   O JavaScript existente já controla essa classe.
   ============================================================ */


/* ------------------------------------------------------------
   CARD
   ------------------------------------------------------------ */

.tfm-video-result {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}


/* ------------------------------------------------------------
   CONTEÚDO DO CARD ACIMA DOS EFEITOS
   ------------------------------------------------------------ */

.tfm-video-result>* {
    position: relative;
    z-index: 3;
}


/* ------------------------------------------------------------
   CAMADA DE FUNDO PREMIUM
   ------------------------------------------------------------ */

.tfm-video-result.tfm-video-tocando {
    border-color: transparent !important;

    background:
        radial-gradient(circle at 15% 20%,
            rgba(125, 105, 255, .34),
            transparent 38%),
        radial-gradient(circle at 85% 80%,
            rgba(78, 188, 255, .26),
            transparent 42%),
        linear-gradient(120deg,
            #302f4a,
            #45426c,
            #302f4a,
            #39365b);

    background-size:
        180% 180%,
        180% 180%,
        300% 300%;

    animation:
        tfm-fundo-musical 7s ease-in-out infinite;

    box-shadow:
        0 8px 28px rgba(48, 47, 74, .20),
        0 0 0 1px rgba(255, 255, 255, .10),
        0 0 28px rgba(111, 91, 255, .16);
}


/* ------------------------------------------------------------
   BRILHO QUE PERCORRE O CARD
   ------------------------------------------------------------ */

.tfm-video-result.tfm-video-tocando::before {
    content: "";

    position: absolute;

    top: -80%;
    left: -35%;

    width: 45%;
    height: 260%;

    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, .025) 25%,
            rgba(255, 255, 255, .16) 50%,
            rgba(255, 255, 255, .025) 75%,
            transparent 100%);

    transform: rotate(18deg);

    animation:
        tfm-brilho-musical 4.8s ease-in-out infinite;
}


/* ------------------------------------------------------------
   HALO INTERNO
   ------------------------------------------------------------ */

.tfm-video-result.tfm-video-tocando::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 2;

    pointer-events: none;

    border-radius: inherit;

    background:
        radial-gradient(ellipse at center,
            transparent 35%,
            rgba(255, 255, 255, .035) 65%,
            rgba(0, 0, 0, .12) 100%);

    box-shadow:
        inset 0 0 35px rgba(255, 255, 255, .055);

    animation:
        tfm-pulso-musical 2.4s ease-in-out infinite;
}


/* ------------------------------------------------------------
   THUMBNAIL
   ------------------------------------------------------------ */

.tfm-video-result.tfm-video-tocando .tfm-video-thumb {
    filter:
        brightness(.82) saturate(1.12);

    transition:
        filter .35s ease,
        transform .35s ease;
}


/* ------------------------------------------------------------
   PEQUENO ZOOM DA THUMBNAIL
   ------------------------------------------------------------ */

.tfm-video-result.tfm-video-tocando .tfm-video-thumb-clicavel {
    transform: scale(1.018);

    outline:
        2px solid rgba(255, 255, 255, .28);

    outline-offset: -2px;
}


/* ------------------------------------------------------------
   TÍTULO DURANTE A REPRODUÇÃO
   ------------------------------------------------------------ */

.tfm-video-result.tfm-video-tocando .tfm-video-titulo {
    color: #ffffff;
}


/* ------------------------------------------------------------
   CANAL DURANTE A REPRODUÇÃO
   ------------------------------------------------------------ */

.tfm-video-result.tfm-video-tocando .tfm-video-canal {
    color: rgba(255, 255, 255, .68);
}


/* ------------------------------------------------------------
   BOTÃO
   ------------------------------------------------------------ */

.tfm-video-result.tfm-video-tocando .tfm-video-escolher {
    background: rgba(255, 255, 255, .12);

    border:
        1px solid rgba(255, 255, 255, .20);

    box-shadow:
        0 4px 12px rgba(0, 0, 0, .12);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


.tfm-video-result.tfm-video-tocando .tfm-video-escolher:hover {
    background: rgba(255, 255, 255, .20);
}


/* ------------------------------------------------------------
   INDICADOR "TOCANDO"
   ------------------------------------------------------------ */

.tfm-video-result.tfm-video-tocando .tfm-video-conteudo::before {
    content: "●  TOCANDO AGORA";

    display: block;

    margin-bottom: 6px;

    font-size: 8px;
    line-height: 1;

    font-weight: 800;

    letter-spacing: 1.2px;

    color: rgba(255, 255, 255, .78);

    animation:
        tfm-indicador-musical 1.8s ease-in-out infinite;
}


/* ------------------------------------------------------------
   EQUALIZADOR PREMIUM
   ------------------------------------------------------------

   Pequeno indicador visual integrado ao card.
   ------------------------------------------------------------ */

.tfm-video-result.tfm-video-tocando .tfm-video-conteudo::after {
    content: "";

    display: block;

    position: absolute;

    right: 14px;
    bottom: 13px;

    width: 26px;
    height: 15px;

    opacity: .85;

    background:
        linear-gradient(to top,
            #ffffff 0 40%,
            transparent 40%) 0 0 / 3px 100% no-repeat,

        linear-gradient(to top,
            #ffffff 0 85%,
            transparent 85%) 6px 0 / 3px 100% no-repeat,

        linear-gradient(to top,
            #ffffff 0 55%,
            transparent 55%) 12px 0 / 3px 100% no-repeat,

        linear-gradient(to top,
            #ffffff 0 100%,
            transparent 100%) 18px 0 / 3px 100% no-repeat,

        linear-gradient(to top,
            #ffffff 0 68%,
            transparent 68%) 24px 0 / 3px 100% no-repeat;

    background-repeat: no-repeat;

    animation:
        tfm-equalizador-premium .65s ease-in-out infinite alternate;
}


/* ------------------------------------------------------------
   FUNDO EM MOVIMENTO
   ------------------------------------------------------------ */

@keyframes tfm-fundo-musical {

    0% {
        background-position:
            0% 50%,
            100% 50%,
            0% 50%;
    }

    50% {
        background-position:
            100% 20%,
            0% 80%,
            100% 50%;
    }

    100% {
        background-position:
            0% 50%,
            100% 50%,
            0% 50%;
    }
}


/* ------------------------------------------------------------
   BRILHO
   ------------------------------------------------------------ */

@keyframes tfm-brilho-musical {

    0% {
        left: -55%;
        opacity: 0;
    }

    15% {
        opacity: .25;
    }

    50% {
        opacity: .55;
    }

    85% {
        opacity: .25;
    }

    100% {
        left: 125%;
        opacity: 0;
    }
}


/* ------------------------------------------------------------
   PULSO
   ------------------------------------------------------------ */

@keyframes tfm-pulso-musical {

    0%,
    100% {
        opacity: .55;
    }

    50% {
        opacity: 1;
    }
}


/* ------------------------------------------------------------
   INDICADOR
   ------------------------------------------------------------ */

@keyframes tfm-indicador-musical {

    0%,
    100% {
        opacity: .55;
    }

    50% {
        opacity: 1;
    }
}


/* ------------------------------------------------------------
   EQUALIZADOR
   ------------------------------------------------------------ */

@keyframes tfm-equalizador-premium {

    0% {
        transform: scaleY(.45);
    }

    30% {
        transform: scaleY(1);
    }

    60% {
        transform: scaleY(.65);
    }

    100% {
        transform: scaleY(.9);
    }
}


/* ------------------------------------------------------------
   TRANSIÇÃO AO PARAR
   ------------------------------------------------------------ */

.tfm-video-result:not(.tfm-video-tocando)::before,
.tfm-video-result:not(.tfm-video-tocando)::after {
    animation: none;
}


/* ------------------------------------------------------------
   REDUÇÃO DE MOVIMENTO
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {

    .tfm-video-result.tfm-video-tocando {
        animation: none;
    }

    .tfm-video-result.tfm-video-tocando::before,
    .tfm-video-result.tfm-video-tocando::after,
    .tfm-video-result.tfm-video-tocando .tfm-video-conteudo::before,
    .tfm-video-result.tfm-video-tocando .tfm-video-conteudo::after {
        animation: none;
    }

}


/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media (max-width: 600px) {

    .tfm-video-result.tfm-video-tocando {
        box-shadow:
            0 6px 20px rgba(48, 47, 74, .18),
            0 0 20px rgba(111, 91, 255, .14);
    }

    .tfm-video-result.tfm-video-tocando .tfm-video-conteudo::before {
        font-size: 7px;
        letter-spacing: 1px;
    }

    .tfm-video-result.tfm-video-tocando .tfm-video-conteudo::after {
        right: 9px;
        bottom: 10px;
    }

}