#reviews {
    position: relative;
    width: 100%;
    padding: 4vw 3vw 5vw;
    overflow: hidden;
    box-sizing: border-box;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.93) 0%,
        rgba(0, 0, 0, 0.93) 96%,
        var(--cor-meu-youtube, rgb(12, 12, 12)) 100%
    );
    transition: background 0.9s ease;
}

.reviews-titulo {
    margin: 0 0 2.4vw 0;
    font-size: 2.6vw;
    font-weight: bold;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: white;
    mix-blend-mode: difference;
}
body.tema-branco .reviews-titulo { color: rgb(230, 230, 230); mix-blend-mode: normal; }

/* ===== linha com as 10 capas — sempre em UMA linha só ===== */

.reviews-linha {
    display: flex;
    flex-wrap: nowrap;
    gap: 1vw;
    width: 100%;
}

.review-thumb {
    flex: 1 1 0;
    min-width: 0; /* impede que o flex empurre o item pra fora e quebre linha */
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
    border: 2px solid transparent;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.review-thumb:hover {
    transform: translateY(-5px) scale(1.05);
    z-index: 2;
    position: relative;
}

.review-thumb.ativa {
    border-color: rgb(var(--spark-color, 255, 255, 255));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
}

/* ===== painel de detalhe — fechado por padrão ===== */

.reviews-detalhe {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3vw;
    justify-content: center;

    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;

    transition: max-height 0.6s ease, opacity 0.45s ease, margin-top 0.6s ease;
}

.reviews-detalhe.aberto {
    max-height: 900px;
    opacity: 1;
    margin-top: 3.5vw;
}

.detalhe-capa {
    width: min(34vw, 420px);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.6);

    /* animação de "crescer" ao abrir/trocar de álbum */
    transform: scale(0.75);
    opacity: 0;
    animation: capa-crescer 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes capa-crescer {
    from { transform: scale(0.75); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

.detalhe-info {
    max-width: 32vw;
    min-width: 260px;
    color: white;
    mix-blend-mode: difference;
}
body.tema-branco .detalhe-info { color: rgb(230, 230, 230); mix-blend-mode: normal; }

.detalhe-info h3,
.detalhe-info p {
    opacity: 0;
    transform: translateY(14px);
    animation: texto-surgir 0.6s ease forwards;
}

.detalhe-info h3 {
    margin: 0 0 1vw 0;
    font-size: 2.1vw;
    font-weight: bold;
    animation-delay: 0.18s;
}

.detalhe-info p {
    margin: 0;
    font-size: 1.15vw;
    line-height: 1.6;
    animation-delay: 0.32s;
}

@keyframes texto-surgir {
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .reviews-titulo { font-size: 5vw; }
    .reviews-linha { gap: 0.6vw; }
    .detalhe-capa { width: 70vw; }
    .detalhe-info { max-width: 80vw; }
    .detalhe-info h3 { font-size: 5vw; }
    .detalhe-info p { font-size: 3.6vw; }
}

.reviews-texto {
    max-width: 70%;
    margin: 0 0 2.4vw 0;
    font-size: 1.1vw;
    line-height: 1.6;
    color: white;
    mix-blend-mode: difference;
    cursor: pointer;
}
body.tema-branco .reviews-texto { color: rgb(230, 230, 230); mix-blend-mode: normal; }

.reviews-titulo {
    cursor: pointer;
}

@media (max-width: 900px) {
    .reviews-texto { max-width: 100%; font-size: 3.6vw; }
}

.hiperlink{
    color: #3498db;
}
.hiperlink:hover {
  color: #2980b9;          /* Muda de cor */
  text-decoration: underline; /* Adiciona o sublinhado de volta */
}
