:root {
    /* Layout Colors */
    --bg-dark-brown: #20130a; /* Darkest brown for About section */
    --bg-ochre: #bda072; /* Golden ochre for Ficha Técnica */
    --bg-teal: #224248; /* Deep Teal for Support section */
    
    --text-primary: #e8dfcf; /* Off-white for dark brown bg */
    --text-white: #ffffff;
    --text-dark: #1f140d; /* Dark text on ochre bg */
    --gold: #d4a964; /* Highlight gold */
    --teal-light: #528a96;
    
    --font-heading: 'Cinzel', serif;
    --font-accent: 'Playfair Display', serif;
    --font-body: 'Lora', serif;
    
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background: var(--bg-dark-brown);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 800px;
}

.container-medium {
    max-width: 900px;
}

.text-center { text-align: center; }

/* Margins */
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }

/* AUDIO PLAYER */
.large-player {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 15px 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}
.player-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}
.play-pause-btn {
    background: var(--gold);
    color: var(--bg-dark-brown);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(212, 169, 100, 0.3);
}
.play-pause-btn:hover {
    transform: scale(1.05);
}
.play-pause-btn svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
    margin-left: 5px; /* Optically center play icon */
}
.icon-pause {
    margin-left: 0 !important; /* Pause doesn't need offset */
}
.player-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 8px;
}
.player-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--text-white);
    font-weight: 700;
    text-align: left;
    letter-spacing: 1px;
}
.progress-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}
.progress-container {
    flex-grow: 1;
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}
.progress-bar {
    height: 100%;
    background: var(--gold);
    border-radius: 4px;
    width: 0%;
    position: relative;
}
.progress-bar::after {
    content: '';
    position: absolute;
    right: -6px;
    top: -5px;
    width: 16px;
    height: 16px;
    background: var(--text-white);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.time-display {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gold);
    min-width: 85px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.bg-dark-brown { background-color: var(--bg-dark-brown); color: var(--text-primary); padding: 80px 0; }
.bg-ochre { background-color: var(--bg-ochre); color: var(--text-white); padding: 60px 0; }
.bg-teal { background-color: var(--bg-teal); color: var(--text-white); padding: 80px 0 100px; }

/* HERO SECTION SCROLL REVEAL */
.hero-scroll-container {
    position: relative;
    width: 100%;
    height: 250vh; /* Allow scrolling */
    background-color: var(--bg-dark-brown);
}

.hero-sticky-stage {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-raw-bg-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-raw-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4; /* Inicialmente um pouco escura/visível */
    transform: scale(1.1); /* Zoomed state */
    will-change: transform, opacity;
}

.hero-cover-container {
    position: relative;
    width: 90%;
    max-width: 550px;
    z-index: 10;
    margin-top: 5vh; /* Drop slightly to show the text embedded in bg-top-site */
}

.floating-cover {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 40px 80px rgba(0,0,0,0.9), 0 -10px 40px rgba(0,0,0,0.5); /* Strong floating shadow */
    transition: transform 0.5s ease;
}

.floating-cover:hover {
    transform: scale(1.02);
}

.hero-text-overlay {
    position: absolute;
    top: 5vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    text-align: center;
    width: 90%;
}
.homenagem-text {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}
.uaua-text {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 2px;
    margin-top: -5px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.9);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounce 2s infinite;
}
.scroll-indicator span {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}
.scroll-indicator svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--gold);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

/* 2. SOBRE A OBRA (Dark Brown) */
.title-stars {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 5px;
}
.title-stars span {
    font-size: 1.2rem;
    vertical-align: middle;
    color: var(--gold);
    margin: 0 10px;
}

.author-subtitle {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 400;
}

.text-content p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: var(--text-primary);
    text-align: left; /* Layout actually has left-aligned or justified text */
    opacity: 0.9;
    line-height: 1.8;
}

.text-content em {
    font-family: var(--font-accent);
    color: var(--gold);
    font-style: italic;
}

.signature-box {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* 3. FICHA TÉCNICA (Ochre) */
.ficha-label {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-dark); /* layout uses dark text for small caps */
    letter-spacing: 4px;
    text-shadow: 1px 1px 0px rgba(255,255,255,0.2);
    font-weight: 700;
}

.avatars-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.avatar-row {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.avatar-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.2);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.avatar-circle.center-large {
    width: 120px;
    height: 120px;
    margin-top: -10px;
}
.avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.roles-text {
    font-family: var(--font-heading); /* or nice sans */
    font-size: 0.85rem;
    color: var(--text-white);
    letter-spacing: 1px;
    line-height: 2;
    text-transform: uppercase;
}
.role-item {
    display: inline-block;
    margin: 0 10px;
}
.roles-text strong {
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-left: 5px;
    color: var(--text-white);
    font-weight: 700;
}

.platforms-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--text-white);
    letter-spacing: 2px;
}
.platform-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.icon-svg {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* 4. APOIO / CONTRIBUIÇÃO (Teal) */
.teal-intro-text {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--text-white);
}

.teal-body-text {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 40px auto 0;
}

.teal-highlight-text {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-white);
    max-width: 700px;
    margin: 40px auto 0;
    line-height: 1.5;
}

/* NOVO: PAYMENT / DONATION MODULE */
.donation-box {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 40px;
    max-width: 700px;
    margin: 60px auto 0;
}

.donation-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--gold);
    letter-spacing: 1px;
}

.donation-perks {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    font-style: italic;
    background: rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 8px;
    border: 1px dashed rgba(255,255,255,0.15);
}

.donation-perks strong {
    color: var(--gold);
    font-weight: 600;
}

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

.btn-value {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 16px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-value:hover, .btn-value.active {
    background: var(--gold);
    color: var(--bg-teal);
    box-shadow: 0 4px 15px rgba(212, 169, 100, 0.3);
}

.btn-primary {
    display: block;
    width: 100%;
    background: var(--text-white);
    color: var(--bg-teal);
    border: none;
    padding: 18px;
    font-size: 1.2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.btn-primary:hover {
    background: var(--gold);
    color: var(--text-white);
    transform: translateY(-2px);
}
.btn-primary .desktop-text { display: inline; }
.btn-primary .mobile-text { display: none; }

/* MODAL QR CODE */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
    display: none; /* Changed from flex and opacity 0 */
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal-overlay.active {
    display: flex;
}
.modal-content {
    background: var(--bg-dark-brown);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--gold);
    text-align: center;
    position: relative;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.9);
}
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.2rem;
    color: var(--gold);
    cursor: pointer;
    line-height: 1;
}
.modal-title {
    font-family: var(--font-heading);
    color: var(--gold);
    margin-bottom: 25px;
    font-size: 1.5rem;
}
.qr-code-img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    margin: 0 auto 20px auto;
    display: block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
.modal-instructions {
    color: var(--text-primary);
    font-size: 0.95rem;
}
.modal-instructions strong {
    color: var(--gold);
    font-weight: 600;
}

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.4);
    font-family: var(--font-body);
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #2F4F31; /* Earthy green that fits the visual identity */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, background-color 0.3s;
    border: 2px solid rgba(255,255,255,0.1);
}
.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #3b6b3e;
    color: white;
}
.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.anos-text::before {
    content: " . ";
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .btn-primary .desktop-text { display: none; }
    .btn-primary .mobile-text { display: inline; }
    
    .hero-text-overlay {
        top: 12vh;
        transform: translate(-50%, -50%);
    }
    .uaua-text {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    .anos-text::before {
        content: "";
    }
    .anos-text {
        display: block;
        font-size: 1.1rem;
        letter-spacing: 5px;
        font-weight: 500;
        margin-top: -5px;
        color: var(--text-white);
    }

    .title-stars { font-size: 6.5vw; white-space: nowrap; }
    .author-subtitle { font-size: 0.8rem; }
    
    .avatar-row { flex-wrap: wrap; justify-content: center; }
    .avatar-circle.center-large { width: 100px; height: 100px; margin-top: 0; }
    
    .role-item {
        display: block;
        margin: 5px 0 10px 0;
    }
    
    .teal-intro-text { font-size: 1.4rem; }
    .donation-grid { grid-template-columns: 1fr; }
}
