/* ==========================================================================
   S&S Gravações - Cabeçalho Wavy Unificado, Menu Responsivo & Banner LGPD
   Nota: O botão "Minhas músicas" permanece sempre visível fora do menu recolhível
   tanto no desktop quanto no mobile.
   ========================================================================== */

.ss-unified-header.page-header.wavy-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.ss-unified-header .wavy-header-inner {
    width: 100%;
    background: linear-gradient(180deg, #4A1424 0%, #5E1A30 78%, #681C35 100%) !important;
    margin: 0 auto;
    padding: 12px 16px 8px;
    box-sizing: border-box;
}

.ss-unified-header .wavy-header-container {
    width: 100%;
    max-width: 1180px !important;
    margin: 0 auto;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px;
    position: relative;
}

.ss-unified-header .header-logo-row {
    width: auto !important;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.ss-unified-header .brand-logo {
    height: 44px !important;
    width: auto !important;
    object-fit: contain !important;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35)) drop-shadow(0 0 12px rgba(214, 169, 79, 0.4));
    transition: transform 0.25s ease;
}

.ss-unified-header .brand-logo:hover {
    transform: scale(1.04);
}

/* Navegação Desktop Horizontal */
.ss-nav-desktop {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.ss-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.86rem;
    font-weight: 600;
    color: rgba(255, 245, 233, 0.92) !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    border: 1px solid transparent;
}

.ss-nav-link:hover,
.ss-nav-link[aria-current="page"] {
    color: #F5D78B !important;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(214, 169, 79, 0.32);
}

.ss-nav-link-cta {
    background: linear-gradient(135deg, #F5D78B 0%, #D6A94F 100%) !important;
    color: #521A2E !important;
    font-weight: 700 !important;
    border: 1px solid #F5D78B !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.ss-nav-link-cta:hover,
.ss-nav-link-cta[aria-current="page"] {
    background: #FFFFFF !important;
    color: #521A2E !important;
    border-color: #D6A94F !important;
    transform: translateY(-1px);
}

/* Ações fixas à direita: Minhas músicas (fora do menu!), Instagram e Hambúrguer */
.ss-unified-header .header-actions-row {
    width: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px;
    flex-shrink: 0;
}

.ss-unified-header .header-pill-instagram {
    display: none !important;
    width: 40px;
    height: 40px;
    flex: none !important;
    border-radius: 999px !important;
    border: 1.5px solid rgba(214, 169, 79, 0.5) !important;
    background: rgba(58, 14, 28, 0.55) !important;
    color: #FFFFFF !important;
    font-size: 1.1rem !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}

.ss-unified-header .header-pill-instagram:hover {
    border-color: #F5D78B !important;
    background: rgba(118, 43, 70, 0.75) !important;
    color: #F5D78B !important;
}

.ss-unified-header .header-pill-musicas {
    flex: none !important;
    height: 40px;
    padding: 0 14px !important;
    border-radius: 999px !important;
    border: 1.5px solid rgba(214, 169, 79, 0.65) !important;
    background: linear-gradient(135deg, #FFFDF9 0%, #FFF5E9 50%, #FBEEDA 100%) !important;
    color: #521A2E !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.84rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18), 0 0 8px rgba(214, 169, 79, 0.2) !important;
    transition: all 0.2s ease !important;
}

.ss-unified-header .header-pill-musicas span {
    color: #521A2E !important;
}

.ss-unified-header .header-pill-musicas:hover,
.ss-unified-header .header-pill-musicas[aria-current="page"] {
    background: #FFFFFF !important;
    border-color: #D6A94F !important;
    box-shadow: 0 6px 18px rgba(214, 169, 79, 0.42) !important;
    transform: translateY(-1px) !important;
}

/* Botão Hambúrguer Mobile */
.ss-nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 40px;
    padding: 0;
    border-radius: 12px;
    border: 1.5px solid rgba(214, 169, 79, 0.55);
    background: rgba(58, 14, 28, 0.65);
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.ss-nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #FFF5E9;
    border-radius: 999px;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.ss-nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.ss-nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.ss-nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Gaveta Mobile */
.ss-nav-drawer {
    display: none;
    width: 100%;
    background: linear-gradient(180deg, #5A182D 0%, #461222 100%);
    border-top: 1px solid rgba(214, 169, 79, 0.35);
    padding: 12px 16px 16px;
    box-sizing: border-box;
    box-shadow: 0 14px 28px rgba(42, 10, 20, 0.32);
}

.ss-nav-drawer.is-open {
    display: block;
}

.ss-nav-drawer-list {
    display: grid;
    gap: 8px;
    max-width: 480px;
    margin: 0 auto;
}

.ss-nav-drawer-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.94rem;
    font-weight: 600;
    color: #FFF5E9 !important;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(214, 169, 79, 0.22);
    text-decoration: none !important;
}

.ss-nav-drawer-list a.ss-nav-link-cta {
    background: linear-gradient(135deg, #F5D78B 0%, #D6A94F 100%) !important;
    color: #521A2E !important;
    font-weight: 700 !important;
    border-color: #F5D78B !important;
}

.ss-nav-drawer-list a[aria-current="page"]:not(.ss-nav-link-cta) {
    border-color: #F5D78B;
    color: #F5D78B !important;
    background: rgba(255, 255, 255, 0.12);
}

.ss-unified-header .header-wave-divider {
    width: 100%;
    height: 36px;
    margin-top: -1px;
    overflow: visible;
    line-height: 0;
    pointer-events: none;
    display: block;
}

.ss-unified-header .header-wave-divider svg {
    width: 100%;
    height: 100%;
    display: block;
}

@media (min-width: 960px) {
    .ss-unified-header .wavy-header-inner {
        padding: 14px 28px 10px;
    }

    .ss-unified-header .brand-logo {
        height: 48px !important;
    }

    .ss-nav-desktop {
        display: flex;
    }

    .ss-unified-header .header-pill-instagram {
        display: inline-flex !important;
    }

    .ss-unified-header .header-pill-musicas {
        height: 42px;
        padding: 0 18px !important;
        font-size: 0.9rem !important;
    }

    .ss-nav-toggle,
    .ss-nav-drawer {
        display: none !important;
    }

    .ss-unified-header .header-wave-divider {
        height: 48px;
    }
}

@media (min-width: 960px) and (max-width: 1140px) {
    .ss-unified-header .wavy-header-inner {
        padding: 12px 16px 8px;
    }

    .ss-nav-link {
        padding: 6px 9px;
        font-size: 0.78rem;
    }

    .ss-unified-header .header-pill-musicas {
        padding: 0 12px !important;
        font-size: 0.82rem !important;
    }
}

@media (max-width: 375px) {
    .ss-unified-header .wavy-header-inner {
        padding: 10px 12px 6px;
    }

    .ss-unified-header .brand-logo {
        height: 36px !important;
    }

    .ss-unified-header .header-pill-musicas {
        height: 36px;
        padding: 0 11px !important;
        font-size: 0.78rem !important;
        gap: 5px !important;
    }

    .ss-nav-toggle {
        width: 38px;
        height: 36px;
    }
}

/* ==========================================================================
   Entrada Direta de Ocasiões (fazer-minha-musica.html)
   ========================================================================== */
.direct-entry-section {
    padding: 8px 0 38px;
}

.direct-entry-intro {
    text-align: center;
    max-width: 960px;
    margin: 0 auto 14px;
    padding: 0 8px;
}

.direct-entry-hero {
    position: relative;
    overflow: hidden;
    padding: 22px 26px 20px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 88% 12%, rgba(214, 169, 79, 0.16), transparent 44%),
        radial-gradient(circle at 12% 90%, rgba(118, 43, 70, 0.06), transparent 48%),
        linear-gradient(160deg, #FFFFFF 0%, #FFF9F0 62%, #FDEFE0 100%);
    border: 1.5px solid rgba(214, 169, 79, 0.5);
    box-shadow: 0 12px 30px rgba(82, 26, 46, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.direct-entry-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(214, 169, 79, 0.4), #D6A94F, #F5D78B, #D6A94F, rgba(214, 169, 79, 0.4));
}

.direct-entry-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 5px 12px;
    margin: 0 auto 10px;
    border-radius: 999px;
    background: #FFF6E8;
    border: 1px solid rgba(214, 169, 79, 0.48);
    color: #521A2E;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.direct-entry-stars {
    color: #C98E24;
    letter-spacing: 1px;
    font-size: 0.78rem;
}

.direct-entry-intro h1 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(1.48rem, 3.3vw, 2.3rem) !important;
    font-weight: 800 !important;
    color: #521A2E !important;
    line-height: 1.12 !important;
    margin: 0 0 8px !important;
    letter-spacing: -0.025em;
}

.direct-entry-intro h1 span {
    color: #7D2643;
    box-shadow: inset 0 -0.22em 0 rgba(214, 169, 79, 0.28);
}

.direct-entry-subtitle {
    margin: 0 auto 14px;
    color: #5C5560;
    font-size: clamp(0.86rem, 1.6vw, 1rem);
    line-height: 1.42;
    max-width: 54ch;
}

.direct-entry-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 10px;
}

.direct-entry-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 13px;
    border-radius: 999px;
    background: #FFFFFF;
    border: 1.5px solid rgba(214, 169, 79, 0.52);
    color: #521A2E;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(118, 43, 70, 0.06);
}

.direct-entry-badge-price {
    background: linear-gradient(135deg, #FFFDF9 0%, #FFF3DC 100%);
    border-color: rgba(214, 169, 79, 0.75);
}

.direct-entry-badge i {
    color: #C98E24;
}

.direct-entry-grid-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 14px auto 11px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.86rem;
    font-weight: 700;
    color: #642139;
    text-align: center;
}

.direct-entry-grid-label i {
    color: #C98E24;
}

/* Grid de Ocasiões Compacto na Entrada Direta */
.direct-entry-section .occasion-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
    max-width: 960px !important;
    margin: 0 auto !important;
}

.direct-entry-section .occasion-card {
    padding: 15px 14px !important;
    border-radius: 15px !important;
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
    box-shadow: 0 3px 10px rgba(118, 43, 70, 0.05) !important;
}

.direct-entry-section .occasion-card .icon-wrapper {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    font-size: 1rem !important;
    margin-bottom: 9px !important;
}

.direct-entry-section .occasion-card h3 {
    font-size: 1.02rem !important;
    line-height: 1.22 !important;
    margin: 0 0 5px !important;
}

.direct-entry-section .occasion-card p {
    font-size: 0.8rem !important;
    line-height: 1.38 !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.direct-entry-section .occasion-card.own-lyrics-card {
    grid-column: 1 / -1 !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 14px 18px !important;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF4E4 100%) !important;
    border: 1.5px solid rgba(214, 169, 79, 0.68) !important;
}

.direct-entry-section .occasion-card.own-lyrics-card .icon-wrapper {
    margin-bottom: 0 !important;
    flex-shrink: 0;
}

.direct-entry-section .occasion-card.own-lyrics-card .occasion-content {
    flex: 1;
    min-width: 0;
    text-align: left !important;
}

.direct-entry-section .occasion-card.own-lyrics-card p {
    display: block !important;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.direct-entry-section .own-lyrics-arrow {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: linear-gradient(135deg, #F5D78B 0%, #D6A94F 100%);
    color: #521A2E;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.direct-entry-section .occasion-card.own-lyrics-card:hover .own-lyrics-arrow {
    transform: translateX(3px);
}

.direct-entry-helper-bar {
    margin: 22px auto 0;
    max-width: 960px;
    padding: 16px 20px;
    border-radius: 18px;
    background: #FFFFFF;
    border: 1.5px solid rgba(214, 169, 79, 0.4);
    box-shadow: 0 8px 22px rgba(118, 43, 70, 0.05);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 18px;
}

.direct-entry-helper-text {
    color: #5C5560;
    font-size: 0.92rem;
    margin: 0;
}

.direct-entry-helper-text strong {
    color: #521A2E;
}

.direct-entry-helper-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.direct-entry-helper-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #FFF5E9;
    border: 1px solid rgba(214, 169, 79, 0.5);
    color: #521A2E;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.direct-entry-helper-links a:hover {
    background: #FFFFFF;
    border-color: #762B46;
}

@media (max-width: 959px) {
    .direct-entry-section .occasion-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
}

@media (max-width: 768px) {
    .direct-entry-section {
        padding: 4px 0 30px;
    }

    .direct-entry-section .container {
        width: calc(100% - 22px);
    }

    .direct-entry-hero {
        padding: 15px 12px 13px;
        border-radius: 16px;
        margin-bottom: 12px;
    }

    .direct-entry-eyebrow {
        font-size: clamp(0.62rem, 2.75vw, 0.72rem);
        padding: 4px 10px;
        margin-bottom: 8px;
        gap: 5px;
        white-space: nowrap;
    }

    .direct-entry-stars {
        font-size: 0.66rem;
    }

    .direct-entry-intro h1 {
        font-size: clamp(1.32rem, 5.4vw, 1.65rem) !important;
        margin-bottom: 6px !important;
    }

    .direct-entry-subtitle {
        font-size: 0.82rem;
        line-height: 1.36;
        margin-bottom: 10px;
    }

    .direct-entry-badges {
        flex-wrap: nowrap;
        gap: 6px;
    }

    .direct-entry-badge {
        font-size: clamp(0.65rem, 2.85vw, 0.76rem);
        padding: 5px 9px;
        gap: 4px;
    }

    .direct-entry-grid-label {
        font-size: 0.78rem;
        margin: 10px auto 8px;
    }

    .direct-entry-section .occasion-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 7px !important;
    }

    .direct-entry-section .occasion-card {
        padding: 10px 6px !important;
        border-radius: 13px !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        min-height: 78px !important;
    }

    .direct-entry-section .occasion-card .icon-wrapper {
        width: 32px !important;
        height: 32px !important;
        border-radius: 9px !important;
        font-size: 0.9rem !important;
        margin-bottom: 6px !important;
    }

    .direct-entry-section .occasion-card h3 {
        font-size: clamp(0.71rem, 2.95vw, 0.8rem) !important;
        line-height: 1.2 !important;
        margin: 0 !important;
        text-align: center !important;
        word-break: normal !important;
        hyphens: none !important;
    }

    .direct-entry-section .occasion-card:not(.own-lyrics-card) p {
        display: none !important;
    }

    .direct-entry-section .occasion-card.own-lyrics-card {
        min-height: auto !important;
        padding: 11px 12px !important;
        gap: 10px !important;
    }

    .direct-entry-section .occasion-card.own-lyrics-card h3 {
        font-size: 0.86rem !important;
        text-align: left !important;
        margin-bottom: 2px !important;
    }

    .direct-entry-section .occasion-card.own-lyrics-card p {
        font-size: 0.73rem !important;
        line-height: 1.3 !important;
        margin: 0 !important;
    }

    .direct-entry-section .own-lyrics-arrow {
        width: 30px;
        height: 30px;
        font-size: 0.78rem;
    }

    .direct-entry-helper-bar {
        margin-top: 16px;
        padding: 14px 12px;
        text-align: center;
        justify-content: center;
    }

    .direct-entry-helper-links {
        justify-content: center;
    }
}

/* ==========================================================================
   Seções de Conteúdo Compartilhadas (Exemplos, Como Funciona, Depoimentos)
   ========================================================================== */
.ss-demos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
}

.ss-demo-card {
    background: #FFFFFF;
    border: 1.5px solid rgba(214, 169, 79, 0.35);
    border-radius: 20px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 10px 26px rgba(118, 43, 70, 0.07);
}

.ss-demo-tag {
    width: fit-content;
    padding: 5px 10px;
    border-radius: 999px;
    background: #FFF5E9;
    border: 1px solid rgba(214, 169, 79, 0.5);
    color: #762B46;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ss-demo-card h2,
.ss-demo-card h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #521A2E;
}

.ss-demo-card p {
    margin: 0;
    color: #5C5560;
    font-size: 0.95rem;
    flex: 1;
}

.ss-demo-card audio {
    width: 100%;
    margin-top: 6px;
}

.ss-demo-meta {
    font-size: 0.82rem;
    color: #762B46;
    font-weight: 600;
}

.ss-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.ss-step-card {
    background: #FFFFFF;
    border: 1.5px solid rgba(214, 169, 79, 0.35);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 26px rgba(118, 43, 70, 0.07);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ss-step-badge {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #521A2E 0%, #762B46 100%);
    color: #F5D78B;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ss-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.ss-testimonial-card {
    margin: 0;
    background: #FFFFFF;
    border: 1.5px solid rgba(214, 169, 79, 0.35);
    border-radius: 20px;
    padding: 14px;
    box-shadow: 0 10px 26px rgba(118, 43, 70, 0.07);
}

.ss-testimonial-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.ss-cta-banner {
    margin-top: 32px;
    padding: 28px;
    border-radius: 22px;
    background: linear-gradient(135deg, #521A2E 0%, #762B46 60%, #521A2E 100%);
    border: 2px solid #D6A94F;
    color: #FFFFFF;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-shadow: 0 14px 32px rgba(82, 26, 46, 0.22);
}

.ss-cta-banner h2,
.ss-cta-banner h3 {
    margin: 0 0 6px;
    color: #FFFFFF;
}

.ss-cta-banner p {
    margin: 0;
    color: #FFF5E9;
}

.ss-cta-gold-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #F5D78B 0%, #D6A94F 100%);
    color: #521A2E !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Banner Discreto LGPD de Consentimento de Cookies
   ========================================================================== */
.ss-consent-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2500;
    max-width: 820px;
    margin: 0 auto;
    background: #29252B;
    color: #FFF5E9;
    border: 1.5px solid #D6A94F;
    border-radius: 18px;
    padding: 16px 20px;
    box-shadow: 0 18px 42px rgba(24, 15, 19, 0.36);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.ss-consent-banner.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ss-consent-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.ss-consent-copy {
    flex: 1 1 320px;
    display: grid;
    gap: 4px;
    font-size: 0.88rem;
    line-height: 1.45;
}

.ss-consent-copy strong {
    color: #F5D78B;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.94rem;
}

.ss-consent-copy a {
    color: #F5D78B;
    text-decoration: underline;
}

.ss-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.ss-consent-btn {
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.ss-consent-btn-essential {
    background: transparent;
    color: #FFF5E9;
    border: 1px solid rgba(255, 245, 233, 0.35);
}

.ss-consent-btn-essential:hover {
    background: rgba(255, 255, 255, 0.08);
}

.ss-consent-btn-accept {
    background: linear-gradient(135deg, #F5D78B 0%, #D6A94F 100%);
    color: #521A2E;
    border: 1px solid #F5D78B;
}

.ss-consent-btn-accept:hover {
    transform: translateY(-1px);
}

/* ==========================================================================
   Microinterações Emocionais & Acabamento de Estúdio (S&S Gravações)
   1. Equalizador dourado vivo + aura ao tocar áudio
   2. Entrada em cascata nos cards de ocasião + microinteração de ícone
   3. Folha de Composição (revelação estrofe por estrofe) + estúdio pulsante
   4. Reflexo acetinado dourado (Gold Shimmer) nos CTAs principais
   ========================================================================== */

/* 1. Equalizador Dourado & Card Iluminado durante Reprodução */
.ss-eq-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #FFFDF9 0%, #FFF3DC 100%);
    border: 1px solid rgba(214, 169, 79, 0.72);
    color: #521A2E;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    width: fit-content;
    opacity: 0;
    max-height: 0;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.25s ease, padding 0.25s ease, margin 0.25s ease;
}

.ss-demo-card.is-playing-audio .ss-eq-badge,
.audio-track-box.is-playing-audio .ss-eq-badge,
.library-audio-card.is-playing-audio .ss-eq-badge,
.demo-song-card.is-playing-audio .ss-eq-badge,
article.is-playing-audio > .ss-eq-badge {
    opacity: 1;
    max-height: 30px;
    padding: 4px 10px;
    margin-bottom: 4px;
    border-width: 1px;
    transform: translateY(0);
}

.track-header .ss-eq-badge,
.library-audio-card-head .ss-eq-badge {
    margin-left: auto;
    margin-bottom: 0 !important;
}

.ss-eq-bars {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 11px;
}

.ss-eq-bars i {
    display: block;
    width: 2.5px;
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(180deg, #762B46 0%, #D6A94F 100%);
    transform-origin: bottom;
    transform: scaleY(0.3);
}

.is-playing-audio .ss-eq-bars i {
    animation: ssEqBounce 0.85s ease-in-out infinite alternate;
}

.is-playing-audio .ss-eq-bars i:nth-child(1) { animation-duration: 0.62s; }
.is-playing-audio .ss-eq-bars i:nth-child(2) { animation-duration: 0.88s; animation-delay: 0.15s; }
.is-playing-audio .ss-eq-bars i:nth-child(3) { animation-duration: 0.54s; animation-delay: 0.28s; }
.is-playing-audio .ss-eq-bars i:nth-child(4) { animation-duration: 0.76s; animation-delay: 0.08s; }

@keyframes ssEqBounce {
    0% { transform: scaleY(0.25); }
    50% { transform: scaleY(0.95); }
    100% { transform: scaleY(0.45); }
}

.ss-demo-card,
.audio-track-box,
.library-audio-card,
.demo-song-card {
    transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease, background-color 0.28s ease;
}

.ss-demo-card.is-playing-audio,
.audio-track-box.is-playing-audio,
.library-audio-card.is-playing-audio,
.demo-song-card.is-playing-audio {
    border-color: #D6A94F !important;
    background: linear-gradient(165deg, #FFFFFF 0%, #FFF7EB 100%) !important;
    box-shadow: 0 0 0 2px rgba(214, 169, 79, 0.55), 0 14px 32px rgba(118, 43, 70, 0.15) !important;
    animation: ssAudioCardPulse 2.8s ease-in-out infinite;
}

@keyframes ssAudioCardPulse {
    0%, 100% {
        box-shadow: 0 0 0 2px rgba(214, 169, 79, 0.48), 0 12px 26px rgba(118, 43, 70, 0.12);
    }
    50% {
        box-shadow: 0 0 0 3px rgba(214, 169, 79, 0.78), 0 16px 34px rgba(118, 43, 70, 0.2);
    }
}

/* 2. Entrada em Cascata nos 13 Cards de Ocasião & Microinteração */
.direct-entry-section .occasion-card {
    animation: ssCardCascadeIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both !important;
    animation-delay: calc(var(--card-idx, 0) * 28ms) !important;
}

@keyframes ssCardCascadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.direct-entry-section .occasion-card .icon-wrapper {
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease !important;
}

.direct-entry-section .occasion-card:hover .icon-wrapper,
.direct-entry-section .occasion-card:active .icon-wrapper,
.direct-entry-section .occasion-card.is-active .icon-wrapper {
    transform: scale(1.09) rotate(-4deg);
    background: linear-gradient(135deg, #762B46 0%, #521A2E 100%) !important;
    color: #F5D78B !important;
    border-color: #D6A94F !important;
    box-shadow: 0 4px 12px rgba(118, 43, 70, 0.22) !important;
}

/* 3. Pergaminho Musical Afetivo (Revelação Estrofe por Estrofe) & Estúdio Pulsante */
.lyrics-formatted-view {
    column-count: 1 !important;
    column-gap: 0 !important;
    background: transparent !important;
    border: none !important;
    padding: 4px 0 8px !important;
    margin: 18px 0 22px !important;
}

.lyrics-parchment-scroll {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    animation: ssParchmentUnroll 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes ssParchmentUnroll {
    0% {
        opacity: 0;
        transform: translateY(10px) scaleY(0.96);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
}

.parchment-roller {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    height: 20px;
    margin: 0 -6px;
}

.parchment-roller-rod {
    flex: 1;
    height: 16px;
    border-radius: 999px;
    background: linear-gradient(
        180deg,
        #8D5B1C 0%,
        #D6A94F 22%,
        #FFF2CC 48%,
        #C59237 76%,
        #6E4412 100%
    );
    border: 1px solid rgba(110, 68, 18, 0.55);
    box-shadow: 0 5px 14px rgba(58, 22, 12, 0.22);
}

.parchment-roller-cap {
    width: 16px;
    height: 22px;
    border-radius: 5px;
    background: linear-gradient(180deg, #521A2E 0%, #8A3150 48%, #3B1020 100%);
    border: 1.5px solid #D6A94F;
    box-shadow: 0 3px 8px rgba(42, 12, 22, 0.28);
    flex-shrink: 0;
}

.parchment-roller-cap-left {
    margin-right: -3px;
}

.parchment-roller-cap-right {
    margin-left: -3px;
}

.parchment-sheet {
    position: relative;
    z-index: 1;
    margin: -3px 8px;
    padding: 14px;
    background:
        radial-gradient(ellipse at top, rgba(196, 146, 58, 0.16), transparent 60%),
        radial-gradient(ellipse at bottom, rgba(196, 146, 58, 0.18), transparent 60%),
        radial-gradient(circle at 0% 50%, rgba(168, 120, 42, 0.12), transparent 35%),
        radial-gradient(circle at 100% 50%, rgba(168, 120, 42, 0.12), transparent 35%),
        repeating-linear-gradient(
            0deg,
            rgba(184, 137, 48, 0.025) 0px,
            rgba(184, 137, 48, 0.025) 1px,
            transparent 1px,
            transparent 28px
        ),
        linear-gradient(180deg, #F6E5C4 0%, #FDF6E7 10%, #FFFBF2 50%, #FCF3DF 90%, #F3DEB6 100%);
    border-left: 1.5px solid rgba(184, 137, 48, 0.55);
    border-right: 1.5px solid rgba(184, 137, 48, 0.55);
    box-shadow:
        inset 0 14px 22px -10px rgba(122, 82, 20, 0.26),
        inset 0 -14px 22px -10px rgba(122, 82, 20, 0.26),
        inset 0 0 40px rgba(196, 146, 58, 0.14),
        0 16px 36px rgba(82, 26, 46, 0.12);
}

.parchment-inner-frame {
    border: 1px solid rgba(184, 137, 48, 0.45);
    border-radius: 10px;
    padding: 26px 28px 24px;
    position: relative;
    background: rgba(255, 252, 245, 0.42);
}

.parchment-inner-frame::before {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px dashed rgba(184, 137, 48, 0.28);
    border-radius: 7px;
    pointer-events: none;
}

.parchment-crest {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.parchment-wax-seal {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 30%, #9E385C 0%, #762B46 55%, #4A1424 100%);
    border: 2px solid #E5BE6B;
    color: #FCE6AD;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    box-shadow:
        0 4px 12px rgba(82, 26, 46, 0.28),
        inset 0 0 0 3px rgba(214, 169, 79, 0.25);
}

.parchment-dedication {
    text-align: center;
    font-family: 'Lora', Georgia, serif;
    font-style: italic;
    font-size: 0.96rem;
    color: #6B3A4B !important;
    margin: 0 0 8px;
}

.parchment-dedication strong {
    color: #521A2E;
    font-weight: 600;
}

.parchment-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #B88930;
    font-size: 1rem;
    margin: 0 auto 20px;
    max-width: 240px;
}

.parchment-divider::before,
.parchment-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 137, 48, 0.65), transparent);
}

.parchment-stanzas-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 520px;
    margin: 0 auto;
}

.lyrics-stanza.lyrics-stanza-reveal {
    position: relative;
    text-align: center;
    padding: 12px 16px;
    margin: 0 !important;
    border-left: none;
    border-radius: 12px;
    animation: ssStanzaReveal 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--stanza-idx, 0) * 130ms);
}

.lyrics-stanza.lyrics-stanza-reveal.is-chorus-stanza {
    background: linear-gradient(180deg, rgba(214, 169, 79, 0.13) 0%, rgba(255, 248, 231, 0.65) 100%);
    border: 1px solid rgba(184, 137, 48, 0.38);
    box-shadow: 0 6px 18px rgba(138, 96, 26, 0.06);
}

.lyrics-stanza-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px !important;
    padding: 3px 12px;
    border-radius: 999px;
    background: rgba(118, 43, 70, 0.08);
    border: 1px solid rgba(184, 137, 48, 0.45);
    color: #762B46 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.1em !important;
}

.is-chorus-stanza .lyrics-stanza-header {
    background: linear-gradient(135deg, #762B46 0%, #521A2E 100%);
    color: #F5D78B !important;
    border-color: #D6A94F;
}

.lyrics-stanza-body {
    font-family: 'Lora', Georgia, serif !important;
    font-size: 1.06rem !important;
    line-height: 1.78 !important;
    color: #361923 !important;
    text-align: center;
}

.is-chorus-stanza .lyrics-stanza-body {
    font-weight: 500;
    color: #4A1424 !important;
}

.parchment-signoff {
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px solid rgba(184, 137, 48, 0.3);
    text-align: center;
    font-family: 'Lora', Georgia, serif;
    font-style: italic;
    font-size: 0.84rem;
    color: #825A2C;
}

/* Correção de contraste dos botões e selo na Etapa 2 (Aprovar Letra) */
.version-badge {
    background: linear-gradient(135deg, #FFFDF9 0%, #FFF3DC 100%) !important;
    color: #762B46 !important;
    border: 1.5px solid #D6A94F !important;
    box-shadow: 0 2px 8px rgba(118, 43, 70, 0.08);
}

.version-badge i {
    color: #C98E24 !important;
}

.btn-lyrics-action {
    background: #FFF5E9 !important;
    border: 1.5px solid rgba(214, 169, 79, 0.65) !important;
    color: #762B46 !important;
    border-radius: 999px !important;
    padding: 8px 16px !important;
    font-weight: 700 !important;
}

.btn-lyrics-action:hover {
    background: #762B46 !important;
    color: #FFFFFF !important;
    border-color: #762B46 !important;
}

.btn-nav-back {
    background: #FFFFFF !important;
    border: 1.5px solid #D6A94F !important;
    color: #762B46 !important;
    font-weight: 700 !important;
}

.btn-nav-back:hover {
    background: #FFF5E9 !important;
    color: #521A2E !important;
}

.lyrics-card-note {
    color: #5C5560 !important;
}

@media (max-width: 640px) {
    .parchment-sheet {
        margin: -3px 4px;
        padding: 9px;
    }

    .parchment-inner-frame {
        padding: 18px 14px 18px;
    }

    .lyrics-stanza.lyrics-stanza-reveal {
        padding: 10px 8px;
    }

    .lyrics-stanza-body {
        font-size: 0.98rem !important;
        line-height: 1.68 !important;
    }
}

@keyframes ssStanzaReveal {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.audio-gen-loading-card {
    background: linear-gradient(160deg, #FFFFFF 0%, #FFF8EE 100%) !important;
    border: 1.5px solid rgba(214, 169, 79, 0.65) !important;
    box-shadow: 0 14px 36px rgba(118, 43, 70, 0.1) !important;
}

.audio-gen-loading-card .audio-gen-title {
    color: #521A2E !important;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.audio-gen-loading-card .audio-gen-title.is-fading-stage {
    opacity: 0;
    transform: translateY(4px);
}

.audio-gen-loading-card .audio-gen-sub {
    color: #5C5560 !important;
}

.audio-gen-spinner {
    border-color: #D6A94F !important;
    border-top-color: #762B46 !important;
    box-shadow: 0 0 0 0 rgba(214, 169, 79, 0.45);
    animation: spin 1s linear infinite, ssStudioPulseRing 2s ease-out infinite !important;
}

@keyframes ssStudioPulseRing {
    0% {
        box-shadow: 0 0 0 0 rgba(214, 169, 79, 0.48);
    }
    75% {
        box-shadow: 0 0 0 14px rgba(214, 169, 79, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(214, 169, 79, 0);
    }
}

/* 4. Reflexo de Luz Dourada (Gold Shimmer) nos Botões Principais & Card Pago */
.btn-generate-lyrics,
.btn-produce-audio,
.btn-nav-approve,
.btn-checkout-cta,
.ss-cta-gold-btn,
.p-btn-gold {
    position: relative;
    overflow: hidden;
}

.btn-generate-lyrics::after,
.btn-produce-audio::after,
.btn-nav-approve::after,
.btn-checkout-cta::after,
.ss-cta-gold-btn::after,
.p-btn-gold::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -130%;
    width: 65%;
    background: linear-gradient(
        110deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 248, 225, 0.34) 48%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-22deg);
    pointer-events: none;
    animation: ssCtaShimmer 5.6s ease-in-out infinite;
}

@keyframes ssCtaShimmer {
    0%, 62% {
        left: -130%;
    }
    100% {
        left: 165%;
    }
}

.library-card.is-paid-card {
    border-color: rgba(214, 169, 79, 0.85) !important;
    box-shadow: 0 10px 30px rgba(118, 43, 70, 0.1), 0 0 0 1px rgba(214, 169, 79, 0.35) !important;
}

@media (prefers-reduced-motion: reduce) {
    .direct-entry-section .occasion-card,
    .lyrics-stanza.lyrics-stanza-reveal,
    .is-playing-audio .ss-eq-bars i,
    .ss-demo-card.is-playing-audio,
    .audio-track-box.is-playing-audio,
    .library-audio-card.is-playing-audio,
    .demo-song-card.is-playing-audio,
    .btn-generate-lyrics::after,
    .btn-produce-audio::after,
    .btn-nav-approve::after,
    .btn-checkout-cta::after,
    .ss-cta-gold-btn::after,
    .p-btn-gold::after {
        animation: none !important;
    }
}
