/* =========================================
   COMPONENTS.CSS — Botões, Cards, Players
   ========================================= */

/* =========================================
   BOTÕES DOURADOS — Keyframes & Efeitos
   ========================================= */

/* Shimmer: luz metálica que varre o botão */
@keyframes shimmer-gold {
    0%   { left: -90%; opacity: 1; }
    100% { left: 160%; opacity: 0; }
}

/* Gradiente ouro em movimento (hover contínuo) */
@keyframes gold-flow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Ripple — onda que irradia do clique */
@keyframes ripple-out {
    0%   { transform: scale(0); opacity: 0.55; }
    100% { transform: scale(180); opacity: 0; }
}

/* Elemento de ripple injetado via JS */
.btn-ripple {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 248, 200, 0.7);
    transform: scale(0);
    animation: ripple-out 0.65s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    pointer-events: none;
    z-index: 5;
    translate: -50% -50%;
}

/* Antologia Sonora */
.antologia {
    background-color: var(--preto-absoluto);
    color: var(--texto-sobre-escuro);
    padding: 6vh 0;
    overflow: hidden;
}

.antologia-header {
    padding: 0 5%;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--ouro-solido);
}

.antologia-carousel-wrapper {
    width: 100%;
    overflow: hidden;
}

.antologia-carousel {
    display: flex;
    flex-wrap: nowrap;
    gap: 3rem;
    padding: 0 5%;
    width: max-content;
}

.antologia-card {
    width: 350px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex-shrink: 0;
}

.antologia-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: visible;
    background-color: var(--branco-puro);
}

.antologia-img-wrapper img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.6s ease;
}

/* Disco de Vinil */
.antologia-img-wrapper::after {
    content: '';
    position: absolute;
    top: 5%;
    right: -28%;
    z-index: 1;
    width: 90%;
    height: 90%;
    border-radius: 50% !important; /* sobrescreve reset brutalista */
    background:
        radial-gradient(circle at 50% 50%, #111 18%, transparent 18%),
        radial-gradient(circle at 50% 50%, #222 36%, #111 37%),
        radial-gradient(circle at 50% 50%, transparent 52%, #1a1a1a 53%),
        radial-gradient(circle at 50% 50%, transparent 70%, #111 71%),
        repeating-conic-gradient(#111 0deg, #1c1c1c 3deg, #111 6deg);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8), 0 8px 30px rgba(0,0,0,0.5);
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1),
                right 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    transform: rotate(-10deg);
}

.antologia-card:hover .antologia-img-wrapper::after {
    right: -42%;
    transform: rotate(15deg);
}

.antologia-card:hover .antologia-img-wrapper img {
    transform: scale(1.03);
    box-shadow: -12px 12px 40px rgba(0, 0, 0, 0.5);
}

.antologia-info { text-align: left; }

.antologia-year {
    color: var(--ouro-solido);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.antologia-info h3 {
    font-size: 2rem;
    color: var(--branco-puro);
    margin-bottom: 0.5rem;
}

.antologia-info p {
    color: rgba(244, 241, 234, 0.7);
    font-size: 1.05rem;
    line-height: 1.5;
}

.antologia-swipe-hint { display: none; }

/* Streaming Hub */
.streaming-hub {
    text-align: center;
    margin-top: 5rem;
    padding: 0 5%;
}

.streaming-hub p {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--branco-puro);
}

.streaming-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.streaming-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.6rem;
    border: 1px solid var(--ouro-solido);
    border-radius: 50px;
    /* Gradiente ouro líquido em repouso */
    background: linear-gradient(90deg, #A67C1E, #D4AF37, #F1E4A0, #C5A059, #A67C1E);
    background-size: 280% 100%;
    background-position: 60% 0;
    color: var(--preto-absoluto);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.35s ease,
                background-position 0.4s ease;
}

/* Camada shimmer */
.streaming-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -90%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.52), transparent);
    transform: skewX(-18deg);
    pointer-events: none;
}

.streaming-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 8px 24px rgba(197, 160, 89, 0.55),
        0 2px 6px  rgba(197, 160, 89, 0.35),
        0 0 0 1px rgba(197, 160, 89, 0.4) inset;
    background-position: 0% 0;
    animation: gold-flow 2.4s ease infinite;
}

.streaming-btn:hover::before {
    animation: shimmer-gold 0.65s ease forwards;
}

.streaming-btn:active {
    transform: translateY(-1px) scale(1.0);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.4);
    transition-duration: 0.1s;
}

/* Ícone SVG */
.streaming-icon {
    width: 18px;
    height: 18px;
    fill: var(--preto-absoluto);
    flex-shrink: 0;
    transition: fill 0.3s ease;
}

/* ══════════════════════════════════════
   AGENDA DE SHOWS — Layout split com foto
══════════════════════════════════════ */
.agenda {
    display: grid;
    grid-template-columns: 42% 1fr;
    align-items: start;
    background-color: var(--branco-puro);
    border-top: 1px solid #000000;
    border-bottom: 1px solid #000000;
    min-height: 80vh;
    overflow: hidden;
}

/* ── Foto lateral esquerda (sticky) ── */
.agenda-photo {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    border-right: 1px solid #000000;
}

.agenda-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* ── Conteúdo direito ── */
.agenda-content {
    padding: 8vh 6% 10vh;
}

.agenda .section-title {
    text-align: left;
    margin-bottom: 0.5rem;
}

.agenda-subtitle {
    text-align: left;
    font-size: 0.85rem;
    opacity: 0.45;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 4rem;
}

.agenda-list {
    width: 100%;
}

.agenda-item {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 1.8rem 0;
    border-bottom: 1px solid #000000;
    opacity: 0;
    transform: translateY(30px);
}

.agenda-item:first-child {
    border-top: 1px solid #000000;
}

/* ── Mobile: foto em cima, lista embaixo ── */
@media (max-width: 768px) {
    .agenda {
        grid-template-columns: 1fr;
    }

    .agenda-photo {
        position: relative;
        height: 55vw;
        min-height: 240px;
        border-right: none;
        border-bottom: 1px solid #000000;
    }

    .agenda-content {
        padding: 5vh 5% 8vh;
    }

    .agenda .section-title { text-align: center; }
    .agenda-subtitle        { text-align: center; }

    .agenda-item {
        grid-template-columns: 90px 1fr;
        gap: 1rem;
    }
}

.agenda-date {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--ouro-solido);
    line-height: 1;
    font-style: italic;
}

.agenda-date span {
    display: block;
    font-size: 0.75rem;
    font-family: var(--font-body);
    font-style: normal;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ouro-solido);
    opacity: 0.75;
    margin-top: 4px;
}

.agenda-venue {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.agenda-venue strong {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--preto-absoluto);
}

.agenda-venue p {
    font-size: 0.9rem;
    color: var(--preto-absoluto);
    opacity: 0.6;
    letter-spacing: 0.04em;
}

.agenda-btn {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    background-color: var(--ouro-solido);
    color: var(--preto-absoluto);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.35s ease,
                background-color 0.3s ease,
                color 0.3s ease;
}

/* Shimmer do agenda-btn */
.agenda-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -90%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: skewX(-18deg);
    pointer-events: none;
}

.agenda-btn:hover {
    background-color: var(--preto-absoluto);
    color: var(--ouro-solido);
    transform: translateY(-3px);
    box-shadow:
        0 8px 24px rgba(197, 160, 89, 0.45),
        0 0 0 1px var(--ouro-solido);
}

.agenda-btn:hover::before {
    animation: shimmer-gold 0.65s ease forwards;
}

.agenda-btn:active {
    transform: translateY(-1px);
    transition-duration: 0.1s;
}

/* ── Botão Comprar (Manifesto Loja) ── */
.btn-comprar {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid var(--ouro-solido);
    color: var(--ouro-solido);
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    font-family: var(--font-body);
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.35s ease,
                background 0.3s ease,
                color 0.3s ease;
}

.btn-comprar::before {
    content: '';
    position: absolute;
    top: 0; left: -90%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
    transform: skewX(-18deg);
    pointer-events: none;
}

.btn-comprar:hover {
    background: var(--ouro-solido);
    color: var(--preto-absoluto);
    transform: translateY(-3px);
    box-shadow:
        0 8px 28px rgba(197, 160, 89, 0.55),
        0 2px 8px  rgba(197, 160, 89, 0.3);
}

.btn-comprar:hover::before {
    animation: shimmer-gold 0.65s ease forwards;
}

.btn-comprar:active {
    transform: translateY(-1px);
    transition-duration: 0.1s;
}

/* Variante sólida */
.btn-comprar--solid {
    background: var(--ouro-solido);
    color: var(--preto-absoluto);
}

.btn-comprar--solid:hover {
    background: linear-gradient(90deg, #A67C1E, #F1E4A0, #C5A059);
    background-size: 200%;
    box-shadow:
        0 8px 32px rgba(197, 160, 89, 0.65),
        0 2px 8px  rgba(197, 160, 89, 0.4);
}

/* Palavras (Word Reveal) */
.word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}

.word-inner {
    display: inline-block;
    transform: translateY(110%);
    opacity: 0;
}
