/* ============================================
   CRMM - Centro de Recursos da Memória e da Música
   CSS STYLES - Template para Umbraco
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ============================================
   CSS VARIABLES - CRMM Color Palette
   ============================================ */
:root {
    /* CRMM Green & Gold Theme */
    --background: hsl(90, 8%, 96%);
    --foreground: hsl(120, 25%, 18%);
    /* Cards with warm feel */
    --card: hsl(90, 10%, 98%);
    --card-foreground: hsl(120, 25%, 18%);
    /* Popovers */
    --popover: hsl(90, 10%, 98%);
    --popover-foreground: hsl(120, 25%, 18%);
    /* Primary - CRMM Green (torre) */
    --primary: hsl(120, 30%, 35%);
    --primary-foreground: hsl(90, 20%, 98%);
    /* Secondary - Warm cream */
    --secondary: hsl(45, 20%, 92%);
    --secondary-foreground: hsl(120, 25%, 20%);
    /* Muted - Soft gray-green */
    --muted: hsl(90, 8%, 90%);
    --muted-foreground: hsl(120, 10%, 45%);
    /* Accent - CRMM Gold/Orange */
    --accent: hsl(38, 75%, 50%);
    --accent-foreground: hsl(120, 25%, 15%);
    /* Destructive */
    --destructive: hsl(0, 72%, 51%);
    --destructive-foreground: hsl(0, 0%, 100%);
    /* Borders & Inputs */
    --border: hsl(90, 10%, 82%);
    --input: hsl(90, 10%, 85%);
    --ring: hsl(120, 30%, 35%);
    --radius: 0.75rem;
    /* Custom Variables - CRMM Theme */
    --stone: hsl(120, 25%, 22%);
    --stone-light: hsl(90, 10%, 75%);
    --gold: hsl(38, 80%, 55%);
    --gold-dark: hsl(32, 75%, 42%);
    --terracotta: hsl(38, 65%, 48%);
    --cream: hsl(45, 30%, 96%);
    --crmm-green: hsl(120, 30%, 35%);
    --crmm-green-light: hsl(120, 25%, 45%);
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, hsla(120, 25%, 12%, 0.9), hsla(120, 20%, 20%, 0.7));
    --gradient-gold: linear-gradient(135deg, hsl(38, 80%, 55%), hsl(32, 75%, 42%));
    --gradient-green: linear-gradient(135deg, hsl(120, 30%, 35%), hsl(120, 25%, 45%));
    --gradient-stone: linear-gradient(180deg, hsl(90, 8%, 96%), hsl(90, 10%, 92%));
    --gradient-dark: linear-gradient(180deg, hsl(120, 25%, 15%), hsl(120, 30%, 8%));
    /* Shadows */
    --shadow-sm: 0 2px 8px hsla(120, 25%, 15%, 0.08);
    --shadow-md: 0 4px 20px hsla(120, 25%, 15%, 0.12);
    --shadow-lg: 0 8px 40px hsla(120, 25%, 15%, 0.16);
    --shadow-gold: 0 4px 24px hsla(38, 80%, 55%, 0.3);
}

/* ============================================
   SECTION BACKGROUNDS (Class de Fundos - SectionWrapper)
   Usam variáveis :root para cores CRMM
   ============================================ */
.section-bg-branco {
    background: var(--background);
}

.section-bg-verde-escuro {
    background: var(--stone);
    color: var(--cream);
}

.section-bg-verde {
    background: var(--crmm-green);
    color: var(--cream);
}

.section-bg-branco-sujo {
    background: var(--secondary);
}

.section-bg-verde-cinza {
    background: var(--muted);
}

.section-bg-cinza {
    background: var(--stone-light);
}

.section-bg-amarelo-torrado {
    background: var(--terracotta);
    color: var(--cream);
}

.section-bg-amarelo-gold {
    background: var(--gold);
    color: var(--cream);
}

.section-bg-amarelo-escuro {
    background: var(--gold-dark);
    color: var(--cream);
}

.section-bg-verde-gradiente {
    background: var(--gradient-green);
    color: var(--cream);
}

.section-bg-amarelo-gradiente {
    background: var(--gradient-gold);
    color: var(--cream);
}

.section-bg-gradiente-stone {
    background: var(--gradient-stone);
}

.section-bg-gradiente-hero {
    background: var(--gradient-hero);
    color: var(--cream);
}

/* Div interna: padding e margin (spacing) aplicados aqui para o fundo cobrir toda a section */
.section-inner {
    width: 100%;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.font-display {
    font-family: 'Cinzel', serif;
}

.font-serif {
    font-family: 'Lora', serif;
}

.font-sans {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
}

h2 {
    font-size: clamp(1.875rem, 4vw, 2.25rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
}

a {
    color: inherit;
    text-decoration: none;
}

/* ============================================
   PAGE LOADER
   ============================================ */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

    .page-loader.hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

.page-loader-logo {
    width: 120px;
    height: auto;
    margin-bottom: 2rem;
    animation: loader-pulse 2s ease-in-out infinite;
}

.page-loader-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid hsla(38, 80%, 55%, 0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: loader-spin 1s linear infinite;
}

.page-loader-text {
    margin-top: 1.5rem;
    font-family: 'Cinzel', serif;
    font-size: 0.875rem;
    color: hsla(90, 20%, 95%, 0.7);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

@keyframes loader-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes loader-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(0.95);
    }
}
/* ============================================
   GLASS EFFECT
   ============================================ */
.glass {
    background-color: hsla(35, 20%, 98%, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid hsla(30, 15%, 82%, 0.5);
}

.glass-dark {
    background-color: hsla(25, 12%, 25%, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid hsla(30, 10%, 75%, 0.2);
}

/* ============================================
   GRADIENTS
   ============================================ */
.bg-gradient-hero {
    background: var(--gradient-hero);
}

.bg-gradient-gold {
    background: var(--gradient-gold);
}

.bg-gradient-stone {
    background: var(--gradient-stone);
}

.bg-gradient-dark {
    background: var(--gradient-dark);
}

.gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-hero {
    background: var(--gradient-gold);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-gold);
}

    .btn-hero:hover {
        transform: translateY(-2px);
        color: var(--foreground);
        box-shadow: 0 6px 30px hsla(42, 90%, 55%, 0.4);
    }

.btn-outline {
    background: transparent;
    color: var(--foreground);
    border: 1px solid var(--border);
}

    .btn-outline:hover {
        background: var(--secondary);
    }

.btn-ghost {
    background: transparent;
    color: var(--foreground);
}

    .btn-ghost:hover {
        background: var(--muted);
    }

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--card);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.card-hover {
    transition: all 0.3s ease;
}

    .card-hover:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

/* ============================================
   INPUTS
   ============================================ */
.input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--foreground);
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .input:focus {
        outline: none;
        border-color: var(--ring);
        box-shadow: 0 0 0 3px hsla(35, 85%, 45%, 0.1);
    }

    .input::placeholder {
        color: var(--muted-foreground);
    }

.textarea {
    /*min-height: 60px;*/
    resize: vertical;
}

.select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: hsla(35, 20%, 98%, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid hsla(30, 15%, 82%, 0.5);
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.header-logo-img {
    height: 4.75rem;
    width: auto;
    transition: transform 0.3s;
}

.header-logo:hover .header-logo-img {
    transform: scale(1.05);
}

.header-nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .header-nav-links {
        display: flex;
    }
}

.header-nav-link {
    position: relative;
    font-weight: 500;
    color: hsla(25, 20%, 15%, 0.8);
    transition: color 0.3s;
}

    .header-nav-link:hover,
    .header-nav-link.active {
        color: var(--primary);
    }

        .header-nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--gradient-gold);
            border-radius: 9999px;
        }

.header-cta {
    display: none;
}

@media (min-width: 768px) {
    .header-cta {
        display: block;
    }
}

.header-mobile-toggle {
    display: block;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .header-mobile-toggle {
        display: none;
    }
}

.header-mobile-menu {
    display: none;
    position: absolute;
    top: 5rem;
    left: 0;
    right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
}

    .header-mobile-menu.open {
        display: block;
        animation: slideDown 0.3s ease-out;
    }

@media (min-width: 768px) {
    .header-mobile-menu {
        display: none !important;
    }
}

.header-mobile-nav-link {
    display: block;
    padding: 0.75rem 0;
    font-weight: 500;
    color: hsla(25, 20%, 15%, 0.8);
    transition: color 0.3s;
}

    .header-mobile-nav-link:hover,
    .header-mobile-nav-link.active {
        color: var(--primary);
    }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gradient-dark);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}

.footer-watermark {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 400px;
    width: auto;
    opacity: 0.08;
    pointer-events: none;
    color: var(--cream);
}

.footer-content {
    position: relative;
    z-index: 10;
    color: hsla(40, 30%, 96%, 0.7);
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 4rem;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

/* Marca de água no canto inferior direito */
.footer-bg {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.15;
    height: 100%;
    display: flex;
    justify-content: end;
    align-items: end;
    padding: 0;
}

    .footer-bg .icon-footer,
    .footer-bg img {
        height: 96%;
        margin: 2% 0;
        width: auto;
        display: block;
        filter: brightness(0) invert(1);
    }

.footer-contact {
    color: hsla(40, 30%, 96%, 0.7);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-brand p {
    color: hsla(40, 30%, 96%, 0.7);
    font-family: 'Lora', serif;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: hsla(40, 30%, 96%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

    .footer-social-link:hover {
        background: var(--gold);
        color: var(--foreground);
    }

.footer-section h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 0.75rem;
    }

    .footer-links a {
        color: hsla(40, 30%, 96%, 0.7);
        font-family: 'Lora', serif;
        transition: color 0.3s;
    }

        .footer-links a:hover {
            color: var(--gold);
        }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.footer-contact-text {
    color: hsla(40, 30%, 96%, 0.7);
    font-family: 'Lora', serif;
}

    .footer-contact-text a {
        color: hsla(40, 30%, 96%, 0.7);
        transition: color 0.3s;
    }

        .footer-contact-text a:hover {
            color: var(--gold);
        }

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid hsla(40, 30%, 96%, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom p {
    color: hsla(40, 30%, 96%, 0.5);
    font-size: 0.875rem;
    font-family: 'Lora', serif;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

    .footer-bottom-links a {
        color: hsla(40, 30%, 96%, 0.5);
        font-size: 0.875rem;
        font-family: 'Lora', serif;
        transition: color 0.3s;
    }

        .footer-bottom-links a:hover {
            color: var(--gold);
        }

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    position: relative;
    height: 50vh;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    height: 100%;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 2;
}

/* Owl Carousel hero (homepage): carousel preenche a section para a nav centrar em altura */
.hero-slider .owl-carousel {
    position: relative;
    height: 100%;
}

    .hero-slider .owl-carousel .owl-stage-outer,
    .hero-slider .owl-carousel .owl-stage,
    .hero-slider .owl-carousel .owl-item {
        height: 100%;
    }

        .hero-slider .owl-carousel .owl-item .hero-slide-item {
            position: relative;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero-slider .owl-carousel .owl-item .home-hero-slide-item {
            padding: 0 0 6%;
        }

.hero-slide-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-slide-item .hero-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.hero-slide-item .hero-slide-caption {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0rem;
    max-width: 64rem;
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    width: 100%;
    /*max-width: 720px;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0rem;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 6vw, 4rem);
    color: var(--cream);
    margin-bottom: 0rem;
    text-shadow: 0 2px 10px hsla(25, 20%, 15%, 0.5);
}

    .hero-title span {
        display: block;
    }

    .hero-title .hero-title-main {
        color: var(--cream);
    }

    .hero-title .hero-title-sub {
        background: var(--gradient-gold);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.hero-subtitle {
    font-family: 'Lora', serif;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: hsla(40, 30%, 96%, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-search {
    background: hsla(35, 20%, 98%, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid hsla(30, 15%, 82%, 0.5);
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    width: 100%;
}

.hero-search-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .hero-search-form {
        flex-direction: row;
    }
}

.hero-search-input-wrapper {
    flex: 1;
    position: relative;
}

    .hero-search-input-wrapper svg {
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        width: 1.25rem;
        height: 1.25rem;
        color: var(--muted-foreground);
    }

    .hero-search-input-wrapper input {
        padding-left: 3rem;
        height: 3rem;
    }

.hero-search-select {
    width: 100%;
    height: 3rem;
}

@media (min-width: 768px) {
    .hero-search-select {
        width: 12rem;
    }
}

.hero-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: hsla(25, 20%, 15%, 0.5);
    backdrop-filter: blur(4px);
    border: none;
    color: var(--cream);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 20;
}

    .hero-nav-arrow:hover {
        background: var(--gold);
    }

    .hero-nav-arrow.prev {
        left: 1rem;
    }

    .hero-nav-arrow.next {
        right: 1rem;
    }

.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 20;
}

.hero-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
    background: hsla(40, 30%, 96%, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

    .hero-dot:hover {
        background: var(--cream);
    }

    .hero-dot.active {
        background: var(--gold);
        width: 2rem;
    }

/* Owl Carousel hero: nav e dots com estilos do hero (setas + dots) */
/* Nav cobre toda a área do carousel para centrar as setas em altura */
.hero-slider .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 20;
}

/* Owl nav arrows = estilos do template original .hero-nav-arrow */
.hero-slider .owl-carousel .owl-nav .owl-next,
.hero-slider .owl-carousel .owl-nav .owl-prev {
    pointer-events: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: hsla(25, 20%, 15%, 0.5);
    backdrop-filter: blur(4px);
    border: none;
    color: var(--cream);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

    .hero-slider .owl-carousel .owl-nav .owl-next:hover,
    .hero-slider .owl-carousel .owl-nav .owl-prev:hover {
        background: var(--gold);
    }

.hero-slider .owl-nav .owl-prev {
    left: 1rem;
}

.hero-slider .owl-nav .owl-next {
    right: 1rem;
}

.hero-slider .owl-nav > div span {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider .owl-nav > div svg {
    width: 24px;
    height: 24px;
}

.hero-slider .owl-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 20;
}

    .hero-slider .owl-dots .owl-dot {
        padding: 0;
        border: none;
        background: none;
        cursor: pointer;
    }

        /* Dots: inativo = cinza escuro; ativo = amarelo/dourado */
        .hero-slider .owl-dots .owl-dot span {
            display: block;
            width: 0.75rem;
            height: 0.75rem;
            border-radius: 9999px;
            background: hsl(0, 0%, 35%);
            transition: background 0.3s, width 0.3s;
        }

        .hero-slider .owl-dots .owl-dot:hover span {
            background: hsl(0, 0%, 45%);
        }

        .hero-slider .owl-dots .owl-dot.active span {
            background: var(--gold);
            width: 2rem;
        }

/* ===================
scroll-top css
====================== */
.back-to-top {
    position: fixed;
    width: 40px;
    height: 40px;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--card);
    box-sizing: border-box;
    padding: 0;
    opacity: 0.75;
    transition: opacity 0.1s ease-in-out;
}

    .back-to-top:hover {
        opacity: 1;
    }

/* Scroll Down Arrow - Centered at bottom, disappears on scroll */
.scroll-down-arrow {
    position: absolute;
    bottom: 80px;
    left: 50%;
    right: auto;
    transform: translate(-50%, 0);
    width: max-content;
    z-index: 20;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out, transform 0.5s ease-in-out;
}

    .scroll-down-arrow.hidden {
        opacity: 0;
        visibility: hidden;
        transform: translate(-50%, 20px);
    }

.scroll-down-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease-in-out;
}

    .scroll-down-link:hover {
        color: #fff;
        transform: translateY(5px);
    }

.scroll-arrows-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

    .scroll-arrow img {
        max-width: 60px;
        height: auto;
        filter: brightness(0) invert(1); /* Inverte para branco */
    }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* ===========================
   Parallax - Block Separator
   =========================== */
.block-separator {
    position: relative;
    overflow: hidden;
}

    .block-separator .parallax-item {
        position: relative;
        min-height: 350px;
        overflow: hidden;
    }

    /* Imagem de fundo - movimento via JS (transform) */
    .block-separator .parallax-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 125%;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        z-index: 1;
        will-change: transform;
    }

    .block-separator .bg-overlay {
        position: absolute;
        width: 100%;
        height: 100%;
        pointer-events: none;
        inset: 0;
        background: var(--gradient-hero);
        z-index: 2;
    }

    .block-separator .parallax-container {
        position: relative;
        width: 100%;
        z-index: 3;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 350px;
        padding: 60px 0;
    }

        .block-separator .parallax-container * {
            color: #FFFFFF;
        }

        .block-separator .parallax-container h2 {
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }
/* ============================================
   ABOUT PREVIEW SECTION
   ============================================ */
.about-preview {
    /*background: var(--gradient-stone);*/
}

.about-preview-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-preview-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-preview-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: hsla(35, 85%, 45%, 0.1);
    color: var(--primary);
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.about-preview-title {
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

    .about-preview-title span {
        background: var(--gradient-gold);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.about-preview-text {
    font-family: 'Lora', serif;
    color: var(--muted-foreground);
    line-height: 1.8;
    margin-bottom: 1rem;
}

    .about-preview-text.large {
        font-size: 1.125rem;
    }

.about-preview-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-preview-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.about-preview-stat {
    background: hsla(35, 20%, 98%, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid hsla(30, 15%, 82%, 0.5);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

    .about-preview-stat:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

.about-preview-stat-number {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.about-preview-stat-label {
    font-family: 'Lora', serif;
    color: var(--muted-foreground);
}

.about-preview-description {
    margin-bottom: 1rem;
}

    .about-preview-description p {
        font-family: 'Lora', serif;
        color: var(--muted-foreground);
        line-height: 1.8;
        margin-bottom: 1rem;
    }

.about-preview-image {
    position: relative;
}

.about-preview-image-inner {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

    .about-preview-image-inner img {
        display: block;
        width: 100%;
        height: auto;
    }

/* ============================================
   FEATURED MUSIC SECTION
   ============================================ */
.featured-music-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .featured-music-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.featured-music-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: hsla(35, 85%, 45%, 0.1);
    color: var(--primary);
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.featured-music-title {
    color: var(--foreground);
}

    .featured-music-title span {
        background: var(--gradient-gold);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.featured-music-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.featured-music-nav {
    display: flex;
    gap: 0.5rem;
}

.featured-music-nav-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

    .featured-music-nav-btn:hover {
        background: var(--primary);
        color: var(--primary-foreground);
        border-color: var(--primary);
    }

/* Carousel nativo (fallback quando Owl não está presente) */
.featured-music-carousel:not(.owl-carousel) {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    .featured-music-carousel:not(.owl-carousel)::-webkit-scrollbar {
        display: none;
    }

/* Owl Carousel: manter estilos dos cards; o item tem largura definida pelo Owl */
.featured-music-carousel.owl-carousel {
    padding-bottom: 2.5rem;
}

    .featured-music-carousel.owl-carousel .owl-stage {
        padding: 1.25rem 0;
    }

    .featured-music-carousel.owl-carousel .owl-item .music-card {
        width: 100%;
        max-width: 100%;
    }

    .featured-music-carousel.owl-carousel .owl-dots {
        margin-top: 1rem;
        display: flex;
        justify-content: center;
        gap: 0.5rem;
    }

    .featured-music-carousel.owl-carousel .owl-dot {
        padding: 0;
        border: none;
        background: none;
        cursor: pointer;
    }

        .featured-music-carousel.owl-carousel .owl-dot span {
            display: block;
            width: 0.5rem;
            height: 0.5rem;
            border-radius: 9999px;
            background: var(--muted);
            transition: background 0.3s;
        }

        .featured-music-carousel.owl-carousel .owl-dot:hover span,
        .featured-music-carousel.owl-carousel .owl-dot.active span {
            background: var(--primary);
        }

/* ============================================
   MUSIC CARD
   ============================================ */
.music-card {
    display: block;
    flex-shrink: 0;
    width: 300px;
    background: var(--card);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    scroll-snap-align: start;
}

    .music-card:hover {
        transform: translateY(-8px);
        /*box-shadow: var(--shadow-lg);*/
    }

.music-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

    .music-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }

.music-card:hover .music-card-image img {
    transform: scale(1.1);
}

.music-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsla(25, 20%, 15%, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-card:hover .music-card-overlay {
    opacity: 1;
}

.music-card-play {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transform: scale(0.75);
    transition: transform 0.3s;
}

.music-card:hover .music-card-play {
    transform: scale(1);
}

.music-card-play svg {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--primary-foreground);
    margin-left: 2px;
}

.music-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    background: hsla(25, 20%, 15%, 0.8);
    backdrop-filter: blur(4px);
    color: var(--cream);
    font-size: 0.875rem;
    border-radius: 9999px;
    font-weight: 500;
}

.music-card-content {
    padding: 1.25rem;
}

.music-card-title {
    font-family: 'Cinzel', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--card-foreground);
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.music-card:hover .music-card-title {
    color: var(--primary);
}

.music-card-description {
    font-family: 'Lora', serif;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.music-card-meta {
    display: flex;
    align-items: start;
    justify-content: start;
    gap: 1rem;
}

.music-card-duration {
    display: flex;
    align-items: start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

    .music-card-duration svg {
        width: 1rem;
        height: 1rem;
    }

.music-card-region {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--card-foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: .2rem 0 0 .5rem;
}

/* Featured/List variant */
.music-card.featured {
    width: 100%;
    display: flex;
    flex-direction: column;
}

@media (min-width: 1024px) {
    .music-card.featured {
        flex-direction: row;
    }

        .music-card.featured .music-card-image {
            width: 50%;
            aspect-ratio: auto;
        }

        .music-card.featured .music-card-content {
            width: 50%;
            padding: 2rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
}

/* ============================================
   SPONSORS SECTION
   ============================================ */
.sponsors-section {
    /*background: hsla(30, 12%, 90%, 0.5);*/
}

.sponsors-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.sponsors-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: hsla(35, 85%, 45%, 0.1);
    color: var(--primary);
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.sponsors-title {
    color: var(--foreground);
}

    .sponsors-title span {
        background: var(--gradient-gold);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.sponsors-carousel-wrapper {
    position: relative;
}

/* Carousel nativo (fallback quando Owl não está presente) */
.sponsors-carousel:not(.owl-carousel) {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 3rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    .sponsors-carousel:not(.owl-carousel)::-webkit-scrollbar {
        display: none;
    }

/* Owl Carousel: espaço para as setas */
.sponsors-carousel.owl-carousel {
    padding: 1rem 3rem;
}

    .sponsors-carousel.owl-carousel .owl-item .sponsor-card {
        min-width: 0;
        width: 100%;
    }

    /* Owl Navigation = estilos .sponsors-nav (useful links / parceiros) */
    .sponsors-carousel.owl-carousel .owl-nav,
    .sponsors-section .owl-nav {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        pointer-events: none;
        z-index: 10;
    }

        .sponsors-carousel.owl-carousel .owl-nav > div,
        .sponsors-section .owl-nav > div {
            pointer-events: auto;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 50%;
            background: var(--background);
            box-shadow: var(--shadow-md);
            border: none;
            color: var(--foreground);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            z-index: 10;
        }

            .sponsors-carousel.owl-carousel .owl-nav > div:hover,
            .sponsors-section .owl-nav > div:hover {
                background: var(--primary);
                color: var(--primary-foreground);
            }

        .sponsors-carousel.owl-carousel .owl-nav .owl-prev,
        .sponsors-section .owl-nav .owl-prev {
            left: 0;
        }

        .sponsors-carousel.owl-carousel .owl-nav .owl-next,
        .sponsors-section .owl-nav .owl-next {
            right: 0;
        }

        .sponsors-carousel.owl-carousel .owl-nav > div span,
        .sponsors-section .owl-nav > div span {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .sponsors-carousel.owl-carousel .owl-nav > div svg,
        .sponsors-section .owl-nav > div svg {
            width: 20px;
            height: 20px;
        }

.sponsor-card {
    flex-shrink: 0;
    min-width: 200px;
    background: hsla(35, 20%, 98%, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid hsla(30, 15%, 82%, 0.5);
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: box-shadow 0.3s;
}

    .sponsor-card:hover {
        box-shadow: var(--shadow-lg);
    }

.sponsor-logo {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .sponsor-logo img {
        width: 2.5rem;
        height: 2.5rem;
        object-fit: contain;
        opacity: 0.6;
    }

.sponsor-name {
    font-family: 'Lora', serif;
    font-size: 0.875rem;
    text-align: center;
    color: var(--muted-foreground);
}

/* ============================================
   MUSICAS PAGE
   ============================================ */
.musicas-hero {
    padding: 6rem 0;
    background: var(--gradient-stone);
}

.musicas-hero-content {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
}

.hero-text {
    font-family: 'Lora', serif;
    font-size: 1.125rem;
    color: var(--terracotta);
    margin-top: 1rem;
}

.musicas-search-form {
    width: 100%;
    max-width: 100%;
    min-width: min(100%, 640px);
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .musicas-search-form {
        min-width: 640px;
    }
}

.musicas-search {
    position: relative;
    margin: 0 auto;
    width: 100%;    
}

.musicas-search-btn {
    position: absolute;
    right: 0rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.25rem;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--muted-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
}

    .musicas-search-btn:hover {
        color: var(--foreground);
    }

    .musicas-search-btn svg {
        width: 1.25rem;
        height: 1.25rem;
        color: inherit;
    }

    .musicas-search input {
        padding-right: 3rem;
        height: 3.5rem;
        font-size: 1.125rem;
    }

.musicas-filters {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
    .musicas-filters {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.musicas-type-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.musicas-type-btn {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--muted);
    color: var(--muted-foreground);
}

    .musicas-type-btn:hover {
        background: var(--secondary);
    }

    .musicas-type-btn.active {
        background: var(--primary);
        color: var(--primary-foreground);
        box-shadow: var(--shadow-md);
    }

.musicas-view-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.musicas-count {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.musicas-view-toggle {
    display: flex;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    overflow: hidden;
}

.musicas-view-btn {
    padding: 0.5rem;
    background: var(--background);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

    .musicas-view-btn:hover {
        background: var(--muted);
    }

    .musicas-view-btn.active {
        background: var(--primary);
        color: var(--primary-foreground);
    }

.musicas-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .musicas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .musicas-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .musicas-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.musicas-grid .music-card {
    width: 100%;
}

.musicas-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.musicas-empty {
    text-align: center;
    padding: 5rem 0;
}

.musicas-empty-icon {
    width: 4rem;
    height: 4rem;
    color: hsla(25, 10%, 45%, 0.5);
    margin: 0 auto 1rem;
}

.musicas-empty-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.musicas-empty-text {
    color: var(--muted-foreground);
    font-family: 'Lora', serif;
    margin-bottom: 1.5rem;
}

.musicas-pagination {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

.musicas-pagination-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.musicas-pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    font-family: 'Lora', serif;
    font-size: 0.9375rem;
    color: var(--foreground);
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.musicas-pagination-link:hover:not(.is-current):not(.is-disabled) {
    background: var(--secondary);
    border-color: var(--ring);
}

.musicas-pagination-link.is-current {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--primary-foreground);
    cursor: default;
}

.musicas-pagination-link.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   MUSIC DETAIL PAGE
   ============================================ */
.music-detail-layout {
}

.music-detail-sidebar {
    background: hsla(30, 12%, 90%, 0.5);
    border-right: 1px solid var(--border);
    height: 100%;
}

.music-detail-sidebar-inner {
    padding: 1rem .5rem;
}

.music-detail-sidebar-title {
    font-family: 'Cinzel', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.music-detail-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.music-detail-sidebar-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: var(--background);
    transition: background 0.3s;
}

    .music-detail-sidebar-item:hover {
        background: var(--secondary);
    }

    .music-detail-sidebar-item img {
        width: 4rem;
        height: 4rem;
        border-radius: 0.5rem;
        object-fit: cover;
    }

.music-detail-sidebar-item-content {
    flex: 1;
    min-width: 0;
}

.music-detail-sidebar-item-title {
    font-family: 'Cinzel', serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--card-foreground);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s;
}

.music-detail-sidebar-item:hover .music-detail-sidebar-item-title {
    color: var(--primary);
}

.music-detail-sidebar-item-type {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-top: 0.25rem;
}

.music-detail-sidebar-item-duration {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-top: 0.25rem;
}

    .music-detail-sidebar-item-duration svg {
        width: 0.75rem;
        height: 0.75rem;
    }

.music-detail-main {
    flex: 1;
    order: 1;
}

@media (min-width: 1024px) {
    .music-detail-main {
        order: 2;
    }
}

.music-detail-back {
    padding: 1rem 0 0;
    padding-bottom: 0;
}

.music-detail-hero {
    position: relative;
    height: 40vh;
    margin: 1rem 1.5rem 0;
    border-radius: 1rem;
    overflow: hidden;
}

    .music-detail-hero img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.music-detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsl(25, 20%, 15%), transparent, transparent);
}

.music-detail-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 2rem 4rem;
}

.music-detail-hero-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--gold);
    color: var(--primary-foreground);
    font-size: 0.875rem;
    border-radius: 9999px;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.music-detail-hero-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    color: var(--cream);
    text-shadow: 0 2px 10px hsla(25, 20%, 15%, 0.5);
}

/* Audio Player */
.audio-player {
    margin: -3rem auto 0;
    position: relative;
    z-index: 10;
    background: hsla(35, 20%, 98%, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid hsla(30, 15%, 82%, 0.5);
    border-radius: 1rem;
    padding: 1.5rem;
    width: calc(100% - 7rem) !important;
}

.audio-player-progress {
    margin-bottom: 1rem;
}

.audio-player-slider {
    width: 100%;
    height: 4px;
    background: var(--muted);
    border-radius: 9999px;
    appearance: none;
    cursor: pointer;
}

    .audio-player-slider::-webkit-slider-thumb {
        appearance: none;
        width: 12px;
        height: 12px;
        background: var(--primary);
        border-radius: 50%;
        cursor: pointer;
    }

.audio-player-times {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.audio-player-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.audio-player-main-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.audio-player-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted-foreground);
    transition: color 0.3s;
}

    .audio-player-btn:hover {
        color: var(--foreground);
    }

.audio-player-play {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--gradient-gold);
    color: var(--primary-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    border: none;
    cursor: pointer;
    transition: transform 0.3s;
}

    .audio-player-play:hover {
        transform: scale(1.05);
    }

    .audio-player-play svg {
        width: 1.5rem;
        height: 1.5rem;
    }

.audio-player-volume {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.audio-player-volume-slider {
    width: 6rem;
    height: 4px;
    background: var(--muted);
    border-radius: 9999px;
    appearance: none;
    cursor: pointer;
}

    .audio-player-volume-slider::-webkit-slider-thumb {
        appearance: none;
        width: 10px;
        height: 10px;
        background: var(--primary);
        border-radius: 50%;
        cursor: pointer;
    }

/* Music Detail Info */
.music-detail-info {
    padding: 1.5rem;
}

.music-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.music-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
}

    .music-detail-meta-item svg {
        width: 1.25rem;
        height: 1.25rem;
        color: var(--primary);
    }

    .music-detail-meta-item span {
        font-family: 'Lora', serif;
    }

.music-detail-section-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.music-detail-description {
    font-family: 'Lora', serif;
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.music-detail-gallery {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.music-detail-gallery-item {
    aspect-ratio: 16/9;
    border-radius: 0.75rem;
    overflow: hidden;
}

    .music-detail-gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }

    .music-detail-gallery-item:hover img {
        transform: scale(1.1);
    }

/* ============================================
   SOBRE PAGE
   ============================================ */
.sobre-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    overflow: hidden;
}

    .sobre-hero img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.sobre-hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.sobre-hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
}

.sobre-hero-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 5vw, 3.75rem);
    color: var(--cream);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px hsla(25, 20%, 15%, 0.5);
}

    .sobre-hero-title span {
        background: var(--gradient-gold);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.sobre-hero-text {
    font-family: 'Lora', serif;
    font-size: 1.125rem;
    color: hsla(40, 30%, 96%, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.sobre-mission-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .sobre-mission-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.sobre-mission-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: hsla(35, 85%, 45%, 0.1);
    color: var(--primary);
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.sobre-mission-title {
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

    .sobre-mission-title span {
        background: var(--gradient-gold);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.sobre-mission-text {
    font-family: 'Lora', serif;
    color: var(--muted-foreground);
    line-height: 1.8;
    margin-bottom: 1rem;
}

    .sobre-mission-text.large {
        font-size: 1.125rem;
    }

.sobre-mission-image {
    position: relative;
}

    .sobre-mission-image img {
        border-radius: 1rem;
        box-shadow: var(--shadow-lg);
    }

.sobre-mission-year {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: hsla(35, 20%, 98%, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid hsla(30, 15%, 82%, 0.5);
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
}

.sobre-mission-year-number {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.sobre-mission-year-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.sobre-values {
    /*background: hsla(30, 12%, 90%, 0.5);*/
}

.sobre-values-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 3rem;
}

.sobre-values-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .sobre-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .sobre-values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.sobre-value-card {
    background: hsla(35, 20%, 98%, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid hsla(30, 15%, 82%, 0.5);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

    .sobre-value-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

.sobre-value-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-lg);
}

    .sobre-value-icon i {
        font-size: 1.6rem;
        line-height: 1rem;
        color: var(--primary-foreground);
    }

.sobre-value-title {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.sobre-value-text {
    font-family: 'Lora', serif;
    color: var(--muted-foreground);
}

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

.sobre-team-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

/* ============================================
   CONTACTOS PAGE
   ============================================ */
@keyframes contactos-spin {
    to {
        transform: rotate(360deg);
    }
}

.contactos-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: contactos-spin 1s linear infinite;
    vertical-align: middle;
    margin-right: 0.25rem;
}

.contactos-hero {
    padding: 6rem 0;
    background: var(--gradient-stone);
}

.contactos-hero-content {
    text-align: center;
}

.contactos-hero-title {
    color: var(--foreground);
    margin-bottom: 1rem;
}

    .contactos-hero-title span {
        background: var(--gradient-gold);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.contactos-hero-text {
    font-family: 'Lora', serif;
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
}

.contactos-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contactos-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contactos-form-card {
    background: hsla(35, 20%, 98%, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid hsla(30, 15%, 82%, 0.5);
    border-radius: 1rem;
    padding: 2rem;
}

.contactos-form-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.contactos-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contactos-form-row {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .contactos-form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.contactos-form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.2rem;
    margin-top: 0.2rem;
    padding: 0 0.25rem;
}

.contactos-info-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.contactos-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contactos-info-item {
    display: flex;
    gap: 1rem;
}

/* Mensagens de validação dos formulários (.error) */
.error,
.contactos-form .error {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--destructive);
    margin-top: 0rem;
    padding: 0 .5rem
}

.form-check .form-check-input {
    position: absolute;
    margin: .4rem 0 0 -1.3rem;
    
}

/* Checkbox: manter check + label na mesma linha; erro em baixo */
.contactos-form .form-check-input {
    accent-color: var(--gold);
}

.contactos-form .form-check-input:checked {
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
}

.contactos-form .form-check {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

    .contactos-form .form-check .error,
    .contactos-form .form-check + .error {
        width: 100%;
        flex-basis: 100%;
        margin-top: 0rem;
        padding: 0 0 0 .25rem;
    }

.contactos-info-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: hsla(35, 85%, 45%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .contactos-info-icon svg {
        width: 1.5rem;
        height: 1.5rem;
        color: var(--primary);
    }

.contactos-info-label {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.contactos-info-text {
    font-family: 'Lora', serif;
    color: var(--muted-foreground);
}

    .contactos-info-text a {
        color: var(--muted-foreground);
        transition: color 0.3s;
    }

        .contactos-info-text a:hover {
            color: var(--primary);
        }

.contactos-social-card {
    background: hsla(35, 20%, 98%, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid hsla(30, 15%, 82%, 0.5);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 2rem;
}

.contactos-social-title {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.contactos-social-links {
    display: flex;
    gap: 1rem;
}

.contactos-social-link {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--stone);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

    .contactos-social-link:hover {
        background: var(--gold);
        color: var(--foreground);
    }

.contactos-faq {
    margin-top: 2rem;
}

.contactos-faq-title {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.contactos-faq-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background: hsla(30, 12%, 90%, 0.5);
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: background 0.3s;
}

    .contactos-faq-item:hover {
        background: var(--muted);
    }

    .contactos-faq-item svg {
        width: 1.25rem;
        height: 1.25rem;
        color: var(--primary);
        flex-shrink: 0;
    }

    .contactos-faq-item span {
        font-family: 'Lora', serif;
        font-size: 0.875rem;
        color: var(--foreground);
    }

.map-content {
    position: absolute;
    width: 100%;
    overflow: hidden;
    display: block;
    height: 100%;
    margin: 0;
    top: 0;
    left: 0;
}

    .map-content iframe {
        position: absolute;
        top: -60px;
        height: calc(100% + 60px);
        width: 100%;
    }

.ratio-2x1 {
    --bs-aspect-ratio: 35%;
}
/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out;
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.shimmer {
    background: linear-gradient(90deg, transparent, hsla(42, 90%, 55%, 0.3), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-shadow {
    text-shadow: 0 2px 10px hsla(25, 20%, 15%, 0.5);
}

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

.text-sm {
    font-size: 0.875rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.pt-2 {
    padding-top: 0.5rem;
}

.pt-4 {
    padding-top: 1rem;
}

.w-full {
    width: 100%;
}

.hidden {
    display: none;
}

@media (min-width: 640px) {
    .sm\:block {
        display: block;
    }
}

@media (min-width: 768px) {
    .md\:block {
        display: block;
    }

    .md\:hidden {
        display: none;
    }

    .md\:flex {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .lg\:flex {
        display: flex;
    }
}

#spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
}

    #spinner.show {
        opacity: 1;
        visibility: visible;
        transition: opacity 0.5s ease-out, visibility 0s linear 0s;
    }

    #spinner.hide {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    }

/* ============================================
   COOKIE CONSENT BAR
   Barra de aviso de cookies – fixa no fundo,
   mensagem + "Saiba mais" + "Aceitar/Fechar"
   ============================================ */

/* Ocultar quando o utilizador já aceitou (classe aplicada pelo JS) */
.bg-wgt-cookies.cookies-hide {
    display: none !important;
}

.bg-wgt-cookies {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 1rem;
    background: var(--gradient-dark);
    color: var(--cream, #faf8f5);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
    animation: cookie-bar-in 0.35s ease-out;
}

@keyframes cookie-bar-in {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.wgt-cookies {
    max-width: 1200px;
    margin: 0 auto;
}

.wgt-cookies-content {
    gap: 0.75rem;
}

/* Mensagem dos cookies – texto legível */
.wgt-cookies .msg_cookies {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--cream, #faf8f5);
}

    .wgt-cookies .msg_cookies p {
        margin: 0 0 0.5em 0;
    }

        .wgt-cookies .msg_cookies p:last-child {
            margin-bottom: 0;
        }

    .wgt-cookies .msg_cookies a {
        color: var(--gold);
        text-decoration: underline;
        text-underline-offset: 2px;
    }

        .wgt-cookies .msg_cookies a:hover {
            color: var(--gold-dark, #c9a227);
        }

/* Área dos botões */
.wgt-cookies .opt_cookies {
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

    /* Link "Saiba mais" – secundário */
    .wgt-cookies .opt_cookies .popup_total {
        display: inline-flex;
        align-items: center;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        font-weight: 500;
        color: var(--cream, #faf8f5);
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: var(--radius, 0.75rem);
        transition: background 0.2s, border-color 0.2s;
    }

        .wgt-cookies .opt_cookies .popup_total:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.6);
            color: var(--cream, #faf8f5);
        }

    /* Botão "Fechar" / Aceitar cookies – ação principal */
    .wgt-cookies .opt_cookies .jq_cookies_close {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.5rem 1.25rem;
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--primary-foreground, #fff);
        background: var(--primary, var(--crmm-green));
        border: none;
        border-radius: var(--radius, 0.75rem);
        cursor: pointer;
        transition: background 0.2s, transform 0.15s;
    }

        .wgt-cookies .opt_cookies .jq_cookies_close:hover {
            background: var(--crmm-green-light, hsl(120, 25%, 45%));
        }

        .wgt-cookies .opt_cookies .jq_cookies_close:focus {
            outline: 2px solid var(--gold);
            outline-offset: 2px;
        }

        .wgt-cookies .opt_cookies .jq_cookies_close i {
            font-size: 1rem;
        }

@media (min-width: 576px) {
    .bg-wgt-cookies {
        padding: 1rem 1.5rem;
    }

    .wgt-cookies-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .wgt-cookies .msg_cookies {
        flex: 1;
        margin-bottom: 0;
        margin-right: 1rem;
    }

    .wgt-cookies .opt_cookies {
        flex-shrink: 0;
    }
}
