/* Variáveis atualizadas */
:root {
    --primary-color: #f89521;
    --primary-dark: #e07d1a;
    --secondary-color: #ffffff;
    --accent-color: #666666;
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
	--bg-terciary: #1b1b1b;
    --bg-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #999999;
    --border-color: #333333;
    --gradient-primary: linear-gradient(135deg, #f89521 0%, #ff8c42 100%);
    --gradient-dark: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    --shadow-primary: 0 10px 30px -10px rgba(248, 149, 33, 0.4);
    --shadow-dark: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --section-padding: 4rem 0;
}

/* Reset e Tipografia */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Animações de Scroll */
[data-anim] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-anim].is-visible { opacity: 1; transform: translateY(0); }
[data-anim="fade-in-left"].is-visible { transform: translateX(0); }
[data-anim="fade-in-left"] { transform: translateX(-40px); opacity: 0; }
[data-anim="fade-in-right"].is-visible { transform: translateX(0); }
[data-anim="fade-in-right"] { transform: translateX(40px); opacity: 0; }

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.2rem 0;
    border-bottom: 1px solid transparent;
    transition: padding 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
.header.scrolled {
    padding: 0.8rem 0;
    background-color: rgba(10, 10, 10, 0.85);
    border-bottom: 1px solid rgba(248, 149, 33, 0.1);
}
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.logo-svg { height: 55px; width: auto; }
.logo-badge {
    font-size: 0.65rem;
    font-weight: 700;
    background: rgba(248, 149, 33, 0.2);
    color: var(--primary-color);
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    margin-left: 0.5rem;
}
.nav-list { display: flex; gap: 2.5rem; list-style: none; }
.nav-link {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding-bottom: 0.3rem;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
/* OTIMIZAÇÃO: Regra combinada para o estado ativo e hover */
.nav-link.active,
.nav-link:hover {
    color: var(--primary-color);
}
.nav-link.active::after,
.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
.mobile-menu { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; z-index: 1001; }
.mobile-menu span { display: block; width: 24px; height: 2px; background: var(--primary-color); margin: 5px 0; transition: var(--transition); }
.mobile-menu.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu.active span:nth-child(2) { opacity: 0; }
.mobile-menu.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Header de Página Interna (Testeira) */
.page-header {
    padding: 10rem 0 6rem;
    padding-top: calc(80px + 6rem);
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-primary);
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0.6) 100%);
    z-index: 1;
}
.page-header .container { position: relative; z-index: 2; }
.page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

/* Hero Section (Apenas para index.html) */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 80px; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease-in-out; }
.slide.active { opacity: 1; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(19, 25, 48, 0.8) 0%, rgba(10, 10, 10, 0.8) 100%);}
.hero-content { position: relative; z-index: 3; max-width: 800px; margin: 0 auto; padding: 2rem; text-align: center; }
.logo-title-container { margin-bottom: 1.5rem; }
.hero-logo { width: 250px; height: auto; margin-bottom: 1.1rem; }
.hero-description { font-size: 1.25rem; line-height: 1.5; color: var(--text-primary); margin-bottom: 2.5rem; max-width: 655px; margin-left: auto; margin-right: auto; }
.btn-primary, .btn-secondary { padding: 1rem 2rem; border-radius: 50px; font-weight: 600; font-size: 0.95rem; transition: var(--transition); display: inline-flex; align-items: center; gap: 0.8rem; text-decoration: none; border: 2px solid transparent; }
.btn-primary { background: var(--gradient-primary); color: white; box-shadow: var(--shadow-primary); }
.btn-primary:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 15px 30px -10px rgba(248, 149, 33, 0.6); }
.btn-secondary { background: transparent; color: var(--primary-color); border-color: var(--primary-color); }
.btn-secondary:hover { background: rgba(248, 149, 33, 0.1); transform: translateY(-3px); }

/* --- Seção de Eventos no Hero --- */
.event-info-container {
    margin-top: 2rem;
	padding-left: 0.6rem;
	padding-right: 0.6rem;
    padding-top: 1.6rem;
	padding-bottom: 1.6rem;
    background: rgba(10, 10, 10, 0.0);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.event-section-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}
.event-section-subtitle {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.event-grid {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}
.event-card {
    background: var(--bg-secondary);
    border-left: 4px solid var(--primary-dark);
    border-radius: 8px;
    padding: 1.25rem;
    flex: 1;
    min-width: 300px;
    text-align: center;
}
.event-card-title {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    font-weight: 600;
	text-align: center;
}
.event-card-details {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.event-card-datetime {
    display: flex;
    align-items: center;
    gap: 1.99rem;
    flex-wrap: wrap;
}
.event-date,
.event-time {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
}
.event-location {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}
.event-date i,
.event-time i,
.event-location i {
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}

/* --- Botão Saiba Mais (substitui o scroll indicator) --- */
.hero-scroll-button-container {
    margin-top: 3rem;
}
.hero-scroll-button-container .btn-secondary i {
    animation: bounce-arrow 2s infinite cubic-bezier(0.5, 0.05, 0.5, 0.95);
}
@keyframes bounce-arrow { 
    0%, 100% { transform: translateY(0); } 
    50% { transform: translateY(5px); } 
}


/* Content Sections */
.content-section { padding: var(--section-padding); position: relative; }
.parallax-section { background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; }
.parallax-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 10, 10, 0.6); }
.dark .parallax-overlay { background: rgba(10, 10, 10, 0.4); }
.content-card { background: rgba(26, 26, 26, 0.9); padding: 3rem; border-radius: 16px; box-shadow: var(--shadow-dark); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--border-color); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; line-height: 1.2; margin-bottom: 1.5rem; background: linear-gradient(to right, var(--text-primary) 50%, var(--text-secondary) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section-header .section-title::after { content: ''; display: block; width: 80px; height: 4px; background: var(--primary-color); margin: 1.5rem auto 0; border-radius: 2px; }
.content-text { max-width: 800px; margin: 0 auto 2rem; color: var(--text-secondary); font-size: 1.05rem; line-height: 1.5; }
.content-text p { margin-bottom: 1.5rem; }
.content-text strong { color: var(--primary-color); font-weight: 600; }

/* Objetivos Pedagógicos (Icon Cards) */
.icon-cards { background: var(--bg-primary); }
.objectives-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin: 3rem auto; max-width: 1200px; }
.objective-item { background: var(--bg-card); padding: 2.5rem 2rem; border-radius: 12px; text-align: center; transition: var(--transition); border: 1px solid var(--border-color); position: relative; overflow: hidden; }
.objective-item::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 50% 0, rgba(248, 149, 33, 0.15), transparent 70%); transform: scaleY(0); transform-origin: bottom; transition: transform 0.4s ease; }
.objective-item:hover { transform: translateY(-8px); border-color: rgba(248, 149, 33, 0.5); box-shadow: 0 20px 40px -15px rgba(0,0,0,0.5); }
.objective-item:hover::before { transform: scaleY(1); transform-origin: top; }
.objective-item i { font-size: 2rem; color: var(--primary-color); margin-bottom: 1.5rem; display: block; transition: transform 0.3s ease; }
.objective-item:hover i { transform: scale(1.1); }
.objective-item h3 { font-size: 1.3rem; margin-bottom: 1rem; color: var(--text-primary); }
.objective-item p { font-size: 0.95rem; color: var(--text-secondary); margin: 0; }

/* Alcance e Impacto */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2rem; max-width: 700px; margin: 3rem auto 0; }
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
}
.stat-number { font-size: 3rem; font-weight: 800; color: var(--primary-color); display: inline-block; line-height: 1; margin-bottom: 0.5rem; }
.stat-label { font-size: 0.9rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; }

/* Mensagem do Presidente */
#mensagem-presidente {
    background: var(--bg-terciary);
    overflow-x: hidden;
}

.profile-carousel-container {
    position: relative;
    max-width: 989px;
    margin: 2rem auto 0;
    padding: 0 30px; 
}

.profile-carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.profile-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.profile-wrapper {
    display: flex;
    align-items: flex-start; 
    gap: 2rem;
    margin: 0;
    flex: 0 0 100%; 
    box-sizing: border-box;
    padding: 0 1rem;
}

/* Container para foto e título */
.profile-info {
    /* ATUALIZADO: Largura da coluna da foto foi reduzida */
    flex: 0 0 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.profile-image-container {
    flex-shrink: 0;
    position: relative;
    margin-bottom: 1.5rem;
}
.profile-image {
    /* ATUALIZADO: Tamanho da imagem reduzido */
    width: 240px; 
    height: auto;
    transition: var(--transition);
}
.profile-wrapper:hover .profile-image {
    transform: scale(1.05);
}
.profile-content {
    flex: 1;
}
.profile-content .content-text p {
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 1.1rem;
}
.president-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.2;
    padding: 0;
    border: none;
    margin: 0;
}
.president-title strong {
    font-size: 1.1rem;
    color: var(--text-primary);
    display: block;
    margin-bottom: -0.5rem; 
}

.profile-carousel-container .carousel-nav {
    top: 40%;
}
.profile-carousel-container .carousel-nav.prev { 
    left: -1%; 
}
.profile-carousel-container .carousel-nav.next { 
    right: -1%; 
}

/* NOVO: Bolinhas de navegação para o carrossel de perfil */
.profile-carousel-dots {
    position: absolute;
    bottom: 5px; /* Ajuste a posição vertical conforme necessário */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.profile-carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-carousel-dots .dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.profile-carousel-dots .dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Responsividade */
@media (max-width: 992px) {
    .profile-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
        align-items: center;
    }
    .profile-content .content-text {
        text-align: left;
    }

    /* CORREÇÃO: Reposiciona as setas para não cobrir o texto no mobile */
    .profile-carousel-container .carousel-nav {
        top: 120px; /* Alinha as setas verticalmente com a imagem (que tem 240px de largura/altura aprox.) */
        transform: translateY(-50%);
    }
}

@media (max-width: 768px) {
    .profile-carousel-container {
        padding: 0;
    }
    .profile-carousel-container .carousel-nav {
        background: rgba(10, 10, 10, 0.7);
    }
    .profile-carousel-container .carousel-nav.prev { left: 10px; }
    .profile-carousel-container .carousel-nav.next { right: 10px; }
}
/* ========================================================================= */
/* --- ESTILO SEÇÃO PROFESSOR (Página Bandas) --- */
/* ========================================================================= */
#professor-intro-section {
    padding: var(--section-padding) 0;
    position: relative;
    background-color: var(--bg-secondary);
}
.professor-wrapper {
    display: flex;
    align-items: center;
    gap: 3rem;
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-dark);
}
.professor-image {
    flex-shrink: 0;
}
.professor-image img {
    width: 200px;
    height: auto;
    border-radius: 12px;
    transition: var(--transition);
}
.professor-wrapper:hover .professor-image img {
    transform: scale(1.05);
}
.professor-content {
    flex-grow: 1;
}
.professor-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.professor-name {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
.professor-bio {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
    margin: 0;
}


/* Project Slider */
.project-slider { margin: 3rem auto 0; max-width: 800px; position: relative; overflow: hidden; border-radius: 12px; }
.slider-container { position: relative; width: 100%; overflow: hidden; }
.slider-track { position: relative; width: 100%; height: 550px; }
.slider-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.5s ease-in-out; }
.slider-slide.active { opacity: 1; }
.slider-controls { position: absolute; top: 50%; left: 0; right: 0; display: flex; justify-content: space-between; transform: translateY(-50%); padding: 0 1rem; z-index: 10; }
.slider-prev, .slider-next { background: rgba(0, 0, 0, 0.5); color: white; border: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); font-size: 1.2rem; }
.slider-prev:hover, .slider-next:hover { background: var(--primary-color); transform: scale(1.1); }

/* Spotify Player Wrapper */
.spotify-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}
.spotify-wrapper iframe {
    width: 100%;
    max-width: 700px;
    height: 450px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-dark);
}

/* Nav Grid */
.nav-grid { padding: var(--section-padding); background: var(--bg-primary); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.grid-item { position: relative; overflow: hidden; border-radius: 16px; height: 400px; transition: var(--transition); cursor: pointer; background: var(--bg-card); text-decoration: none; border: 1px solid var(--border-color); }
.grid-item::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; border: 1px solid transparent; transition: border-color 0.3s ease; }
.grid-item:hover { transform: translateY(-10px); box-shadow: var(--shadow-dark); }
.grid-item:hover::after { border-color: var(--primary-color); }
.grid-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease; z-index: 1; }
.grid-item:hover .grid-image { transform: scale(1.1); opacity: 0.3; }
.grid-content { position: relative; z-index: 3; color: white; padding: 2rem; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 50%); transition: background 0.3s ease; }
.grid-item h3 { font-size: 1.5rem; font-weight: 700; color: white; margin-bottom: 0.5rem; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); }
.grid-item p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; opacity: 1; transition: opacity 0.3s ease; }
.grid-arrow { position: absolute; bottom: 2rem; right: 2rem; font-size: 1.5rem; color: var(--text-primary); transform: translateX(-20px); opacity: 0; transition: var(--transition); }
.grid-item:hover .grid-arrow { transform: translateX(0); opacity: 1; color: var(--primary-color); }
.grid-item:hover p { opacity: 0; }

/* Footer */
.footer { background: var(--bg-secondary); padding: 5rem 0 0; border-top: 1px solid var(--border-color); }
.footer-main { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 3rem; padding-bottom: 4rem; }
.footer-col-title { font-size: 1.1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 1.5rem; position: relative; padding-bottom: 0.5rem; }
.footer-col-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 3px; background-color: var(--primary-color); border-radius: 2px; }
.footer-logo-svg { height: 80px; width: auto; margin-bottom: 1.5rem; opacity: 0.9; }
.footer-about-text { color: var(--text-secondary); line-height: 1.8; font-size: 0.95rem; }
.footer-nav-list { list-style: none; padding: 0; margin: 0; }
.footer-nav-list li { margin-bottom: 0.8rem; }
.footer-link { color: var(--text-secondary); text-decoration: none; transition: var(--transition); }
.footer-link:hover { color: var(--primary-color); padding-left: 5px; }
.footer-social { display: flex; gap: 1rem; }
.social-link { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.05); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); text-decoration: none; transition: var(--transition); font-size: 1.1rem; }
.social-link:hover { background: var(--primary-color); color: white; transform: translateY(-5px) scale(1.1); }
.footer-bottom { padding: 1.5rem 0; border-top: 1px solid var(--border-color); text-align: center; font-size: 0.9rem; color: var(--text-muted); }
.social-link-svg {
    width: 20px;
    height: 20px;
}

/* FAQ (Perguntas Frequentes) */
#faq { background-color: var(--bg-secondary); }
.faq-container { max-width: 800px; margin: 2rem auto 0; border-top: 1px solid var(--border-color); }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    background: none;
    border: none;
    padding: 1.8rem 0;
    cursor: pointer;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}
.faq-question:hover { color: var(--primary-color); }
.faq-icon { font-size: 1rem; color: var(--primary-color); transition: transform 0.3s ease; flex-shrink: 0; margin-left: 1rem; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
.faq-answer p { color: var(--text-secondary); line-height: 1.8; padding-bottom: 1.8rem; margin: 0; }
.faq-item.active .faq-question { color: var(--primary-color); }

/* Modal */
.video-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 2000; display: flex; align-items: center; justify-content: center; }
.modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(8px); }
.modal-container { position: relative; background: var(--bg-secondary); border-radius: 16px; overflow: hidden; max-width: 900px; width: 90%; z-index: 2; animation: modal-fade-in 0.4s ease-out; border: 1px solid var(--border-color); }
@keyframes modal-fade-in { from { opacity: 0; transform: translateY(40px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); }}
.modal-header { padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-color); }
.modal-header h3 { font-size: 1.2rem; color: var(--text-primary); }
.modal-close { background: none; border: none; color: var(--text-secondary); font-size: 1.5rem; cursor: pointer; transition: var(--transition); }
.modal-close:hover { color: var(--primary-color); transform: rotate(90deg); }
.modal-body { padding: 1rem; }
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 10px; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.fade-out { animation: fade-out 0.3s ease-out forwards; }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }

/* Linha do Tempo (Timeline) */
#history-timeline { background-color: var(--bg-primary); padding-top: 3rem; }
.timeline-container { position: relative; max-width: 1000px; margin: 0 auto; }
.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
    z-index: 1;
}
.timeline-progress {
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
    z-index: 2;
    height: 0;
    transition: height 0.1s linear;
}
.timeline-item { padding: 6px 40px; position: relative; width: 50%; margin-bottom: 4rem; }
.timeline-item.timeline-item-right { left: 50%; }
.timeline-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    right: -22px;
    top: 0;
    background-color: var(--primary-color);
    border: 3px solid var(--bg-primary);
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.0rem;
    color: white;
}
.timeline-item.timeline-item-right .timeline-icon { left: -22px; }

/* AJUSTES SOLICITADOS NA TIMELINE */
.timeline-content {
    padding: 0.9rem;
    background-color: #2a2a2a; /* Card com um cinza mais claro */
    position: relative;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.timeline-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    margin-top: 0;
    line-height: 1.3; /* Melhor entrelinhas para o título */
}
.timeline-content p a {
    color: var(--primary-color); /* Destaque nos links */
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}
.timeline-content p a:hover {
    color: var(--primary-dark);
}
/* FIM DOS AJUSTES */

.timeline-content:hover { transform: translateY(-8px); border-color: var(--primary-dark); box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.7); }

/* Estilo para a posição do ano */
.timeline-year-desktop {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-muted);
    position: absolute;
    top: 22px; 
    transform: translateY(-50%);
    z-index: 10;
    padding: 0;
    transition: color 0.3s ease;
    width: 120px;
}

.timeline-item:hover .timeline-year-desktop { color: var(--primary-color); }
.timeline-item:not(.timeline-item-right) .timeline-year-desktop {
    left: 100%;
    margin-left: 30px;
    text-align: left;
}
.timeline-item-right .timeline-year-desktop {
    right: 100%;
    margin-right: 30px;
    text-align: right;
}

.timeline-year-mobile { display: none; }
.timeline-content p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; }
.timeline-media { margin-top: 1.5rem; border-radius: 8px; overflow: hidden; }
.timeline-media img { width: 100%; height: auto; display: block; }
.timeline-end-marker {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--bg-secondary);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    z-index: 10;
}

/* Estilos para a imagem clicável e o conteúdo do lightbox */
.timeline-image-clickable {
    cursor: pointer;
    transition: opacity 0.3s ease;
}
.timeline-image-clickable:hover {
    opacity: 0.8;
}
.image-modal-content img {
    max-width: 100%;
    max-height: 85vh;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

/* Layout Histórico de Bandas (Hall da Fama) */
#history-layout-section {
    padding: var(--section-padding);
    background: linear-gradient(175deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}
.history-year-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
    margin-bottom: 6rem;
    position: relative;
}
.history-year-row:last-child { margin-bottom: 0; }
.history-year-bg-title {
    position: absolute;
    top: 50%;
    font-size: clamp(6rem, 20vw, 12rem);
    font-weight: 800;
    line-height: 1;
    color: var(--primary-color);
    opacity: 0.05;
    z-index: 0;
    transform: translateY(-50%);
    pointer-events: none;
    user-select: none;
    transition: opacity 0.4s ease;
}
.history-year-row:nth-child(even) .history-image-wrapper { order: 2; }
.history-year-row:nth-child(even) .history-content-card { order: 1; }
.history-year-row:nth-child(odd) .history-year-bg-title { left: -2%; }
.history-year-row:nth-child(even) .history-year-bg-title { right: -2%; text-align: right; }
.history-year-row:hover .history-year-bg-title { opacity: 0.08; }
.history-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-dark);
    height: 100%;
    min-height: 480px;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.history-year-row:hover .history-image-wrapper { transform: scale(1.02); }
.history-slider { position: absolute; inset: 0; }
.history-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    border-radius: 12px;
}
.history-slide.active { opacity: 1; }
.history-content-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}
.history-card-year-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    margin: 0 auto 2.5rem auto;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    width: 100%;
}
.history-card-year-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}
.history-campus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    width: 100%;
}
.history-campus-block {
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 8px;
    transition: background 0.3s ease, border-color 0.3s ease;
    border-left: 4px solid;
}
.history-campus-block:hover { background: var(--bg-secondary); border-color: #444; }
.history-campus-block .morumbi { border-left-color: #64b5f6; }
.history-campus-block .panamby { border-left-color: #4db6ac; }
.history-campus-block .valinhos { border-left-color: #ba68c8; }
.history-campus-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; }
.history-campus-title.morumbi { color: #64b5f6; }
.history-campus-title.panamby { color: #4db6ac; }
.history-campus-title.valinhos { color: #ba68c8; }
.history-band-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.history-band-list li {
    color: var(--text-secondary);
    font-size: 0.9rem;
	line-height: 1.2;
    display: flex;
    align-items: center;
    transition: color 0.3s ease, transform 0.3s ease;
}
.history-campus-block:hover .history-band-list li { color: var(--text-primary); }
.history-band-list li:hover { transform: translateX(5px); color: var(--primary-color) !important; }
.history-band-list li::before { content: '›'; font-weight: 700; color: var(--primary-color); margin-right: 0.6rem; font-size: 1rem; }

/* Responsividade */
@media (max-width: 992px) {
    :root { --section-padding: 6rem 0; }
    .profile-wrapper { flex-direction: column; text-align: center; gap: 2rem; }
    .president-title { margin: 2rem auto 0; }
    .objectives-grid { grid-template-columns: 1fr 1fr; }
    #professor-intro-section { padding: var(--section-padding) 0; }
    .history-year-row { grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 5rem; }
    .history-year-row:nth-child(even) .history-image-wrapper,
    .history-year-row:nth-child(even) .history-content-card { order: initial; }
    .history-image-wrapper { min-height: 350px; }
    .history-content-card { padding: 2rem; }
    .history-year-bg-title { top: -30px; left: 50% !important; right: auto !important; transform: translateX(-50%); font-size: 5rem; text-align: center !important; }
    .history-card-year-title { font-size: 1.5rem; margin-bottom: 2rem; }
}

@media (max-width: 768px) {
    .header { padding: 0.8rem 0; }
    .nav { position: fixed; top: 0; right: -100%; width: 80%; max-width: 300px; height: 100vh; background: var(--bg-secondary); padding: 6rem 2rem; transition: var(--transition); box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2); }
    .nav.active { right: 0; }
    .nav-list { flex-direction: column; gap: 1.5rem; }
    .mobile-menu { display: block; }
    .hero { min-height: 90vh; }
    .hero-logo { width: 220px; }
    .grid { grid-template-columns: 1fr; }
    .content-card { padding: 2rem; }
    .section-title { font-size: 2.2rem; }
    .profile-image-container { width: 280px; }
    .profile-image { width: 100%; }
    .slider-track { height: 300px; }
    .page-header { padding: 8rem 0 4rem; padding-top: calc(80px + 4rem); }
    .footer-main { grid-template-columns: 1fr; text-align: center; }
    .footer-col-title::after { left: 50%; transform: translateX(-50%); }
    .footer-social { justify-content: center; }
    .timeline-container::after, .timeline-progress { left: 22px; }
    .timeline-item, .timeline-item.timeline-item-right { width: 100%; padding-left: 65px; padding-right: 15px; left: 0; }
    .timeline-icon, .timeline-item.timeline-item-right .timeline-icon { left: 0; }
    .timeline-year-desktop { display: none; }
    .timeline-year-mobile { display: inline-block; font-size: 0.8rem; font-weight: 700; margin-bottom: 1.5rem; background-color: rgba(248, 149, 33, 0.15); color: var(--primary-color); padding: 0.3rem 0.8rem; border-radius: 50px; }
    .timeline-end-marker { left: 22px; transform: translateX(-50%); }

    /* --- Responsividade dos Eventos --- */
    .event-grid {
        flex-direction: column;
        gap: 1rem;
    }
    .event-card {
        min-width: unset;
    }

    /* Estilos responsivos para a seção do professor */
    .professor-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
    }
    .professor-image img {
        width: 180px;
    }
    .professor-name {
        font-size: 2rem;
    }

    /* Regra responsiva para os filtros da galeria */
    .gallery-filters {
        grid-template-columns: repeat(3, auto);
    }
}

@media (max-width: 480px) {
    :root { --section-padding: 4rem 0; }
    .hero-logo { width: 200px; }
    .hero-description { font-size: 1rem; }
    .grid-item { height: 350px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .objectives-grid { grid-template-columns: 1fr; }
    .stat-number { font-size: 2.5rem; }
    .slider-track { height: 250px; }
    .page-header { padding: 6rem 0 3rem; padding-top: calc(80px + 3rem); }

    /* Regra responsiva para os filtros da galeria */
    .gallery-filters {
        grid-template-columns: repeat(2, auto);
        gap: 0.75rem;
    }
}

/* Utilitários */
.no-scroll { overflow: hidden; }


/* ========================================================================= */
/* --- ESTILOS PARA FORMULÁRIO DE CONTATO (COM MÚLTIPLOS ARQUIVOS) --- */
/* ========================================================================= */

#contact-section {
    background-color: var(--bg-secondary);
}
.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-card);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-dark);
}
.form-group {
    margin-bottom: 2rem;
}
.form-label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
}
.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(248, 149, 33, 0.3);
}
.form-control::placeholder {
    color: var(--text-muted);
}
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Estilização para Input de Arquivo */
.file-input {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}
.file-input-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-secondary);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.file-input-label:hover {
    background: rgba(248, 149, 33, 0.1);
    transform: translateY(-2px);
}

/* Estilos para a lista de pré-visualização de arquivos */
.file-preview-container {
    margin-top: 1.5rem;
    display: none; /* Começa escondido */
    flex-direction: column;
    gap: 0.75rem;
}
.file-preview-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background-color: var(--bg-primary);
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
    animation: modal-fade-in 0.3s ease;
}
.file-preview-name {
    color: var(--text-secondary);
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 1rem;
}
.file-preview-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 0.25rem;
    line-height: 1;
}
.file-preview-remove:hover {
    color: #dc3545; /* Vermelho para perigo */
    transform: scale(1.2);
}

.form-text {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.form-submit-btn {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
}
.form-submit-btn:disabled {
    background: var(--text-muted);
    border-color: var(--text-muted);
    box-shadow: none;
    cursor: not-allowed;
}

/* Feedback do Formulário */
#form-feedback-message {
    padding: 1.25rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    border: 2px solid;
    display: none; /* Começa escondido */
    animation: modal-fade-in 0.5s ease-out;
}
#form-feedback-message.success {
    display: block;
    background-color: rgba(40, 167, 69, 0.15);
    border-color: #28a745;
    color: #28a745;
}
#form-feedback-message.error {
    display: block;
    background-color: rgba(220, 53, 69, 0.15);
    border-color: #dc3545;
    color: #dc3545;
}
/* ========================================================================= */
/* --- ESTILOS PARA PÁGINA DE DEPOIMENTOS --- */
/* ========================================================================= */

#testimonials-section {
    background: var(--bg-primary);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-dark);
    border-color: var(--primary-color);
}

.testimonial-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Faz o conteúdo ocupar o espaço disponível */
}

/* --- Estilos para Card de TEXTO --- */
.testimonial-card--text .testimonial-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem auto;
    border: 3px solid var(--border-color);
}

.testimonial-name {
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-primary);
}

.testimonial-role {
    font-size: 0.9rem;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
}

.testimonial-quote {
    font-style: italic;
    color: var(--text-secondary);
    margin: 0 0 1.5rem 0;
    padding-left: 1.5rem;
    border-left: 3px solid var(--primary-color);
    flex-grow: 1; /* Ocupa espaço para alinhar botões */
    
    /* Limita o texto a 4 linhas e adiciona "..." */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.btn-read-more {
    background: transparent;
    border: 2px solid var(--primary-dark);
    color: var(--primary-dark);
    padding: 0.75rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    align-self: center; /* Centraliza o botão */
}

.btn-read-more:hover {
    background: var(--primary-dark);
    color: white;
}

/* --- Estilos para Card de VÍDEO --- */
.testimonial-card--video {
    position: relative;
    cursor: pointer;
    min-height: 400px;
    color: white;
}

.testimonial-thumb {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card--video:hover .testimonial-thumb {
    transform: scale(1.1);
}

.testimonial-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
    transition: background 0.4s ease;
}

.testimonial-card--video:hover .testimonial-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 70%);
}

.testimonial-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    text-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.testimonial-card--video:hover .testimonial-play-icon {
    transform: translate(-50%, -50%) scale(1.2);
    color: var(--primary-color);
}

.testimonial-card--video .testimonial-card-content {
    position: relative;
    z-index: 2;
    justify-content: flex-end; /* Alinha o texto na base */
}

.testimonial-card--video .testimonial-name,
.testimonial-card--video .testimonial-role {
    text-align: left;
    text-shadow: 0 2px 5px rgba(0,0,0,0.7);
}
.testimonial-card--video .testimonial-role {
    color: var(--text-secondary);
}


/* Modal de Texto */
.text-modal-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.text-modal-content p:last-child {
    margin-bottom: 0;
}

/* ========================================================================= */
/* --- ESTILO DE FUNDO COM PADRÃO REUTILIZÁVEL --- */
/* ========================================================================= */
.has-pattern-bg {
    position: relative; /* Essencial para posicionar o pseudo-elemento */
    z-index: 1;         /* Garante que o conteúdo fique acima do fundo */
}

.has-pattern-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    /* --- AQUI ESTÁ A MÁGICA --- */
    background-image: url('images/pattern_black_square.webp'); /* 1. Sua imagem de fundo */
    background-repeat: repeat;                                /* 2. Repetir o padrão */
    background-size: 500px;                                   /* 3. Controle o tamanho do padrão aqui */
    opacity: 0.04;                                            /* 4. Controle a opacidade/escuridão aqui */
    z-index: -1; /* Coloca esta camada de fundo ATRÁS do conteúdo da seção */
}

/* =========================================================================
   ESTILOS PARA FEEDBACK DO FORMULÁRIO DE CONTATO
   ========================================================================= */

/* Estilo base para a caixa de mensagem (sucesso ou erro) */
#form-feedback-message {
    padding: 18px 20px;
    margin-bottom: 25px;
    border-radius: 8px; /* Bordas arredondadas para combinar com o site */
    font-weight: 500;
    text-align: center;
    border: 1px solid transparent;
    display: none; /* A mensagem começa escondida */
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* --- ESTILO PARA A MENSAGEM DE SUCESSO --- */
#form-feedback-message.alert-success {
    color: #39ff14; /* <<< O SEU VERDE NEON! */
    background-color: rgba(57, 255, 20, 0.1); /* Fundo verde bem sutil e translúcido */
    border-color: rgba(57, 255, 20, 0.3); /* Borda verde sutil */
}


/* --- ESTILO PARA A MENSAGEM DE ERRO (Bônus) --- */
/* É uma boa prática já deixar o estilo de erro pronto. */
#form-feedback-message.alert-danger {
    color: #ff6b6b; /* Um vermelho claro e legível */
    background-color: rgba(255, 107, 107, 0.1); /* Fundo vermelho sutil */
    border-color: rgba(255, 107, 107, 0.3); /* Borda vermelha sutil */
}

/* ========================================================================= */
/* --- MELHORIA PARA MODAL ROLÁVEL (ESPECIALMENTE EM MOBILE) --- */
/* ========================================================================= */

.modal-container {
    display: flex;
    flex-direction: column;
    max-height: 85vh;
}

.modal-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ========================================================================= */
/* --- ESTILOS PARA CARROSSEL DE DEPOIMENTOS (PÁGINA INICIAL) --- */
/* ========================================================================= */

#home-testimonials .section-title {
    margin-bottom: 0;
}

#home-testimonials .section-header .section-title::after {
    margin: 1rem auto 2rem;
}

#home-testimonials .section-subtitle-alt {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.testimonial-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 50px;
}

.testimonial-carousel-container {
    overflow: hidden;
    padding: 10px 0;
}

.testimonial-carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-carousel-track .testimonial-card {
    flex: 0 0 calc((100% / 3) - (2rem * 2 / 3));
    min-width: 320px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav.prev { left: 0; }
.carousel-nav.next { right: 0; }

.carousel-nav:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%) scale(1);
}

.view-all-btn-container {
    text-align: center;
    margin-top: 3.5rem;
}
.view-all-btn-container .btn-primary i {
    transition: transform 0.3s ease;
}
.view-all-btn-container .btn-primary:hover i {
    transform: translateX(5px);
}

/* --- Responsividade do Carrossel --- */
@media (max-width: 1200px) {
    .testimonial-carousel-track .testimonial-card {
        flex: 0 0 calc((100% / 2) - (2rem * 1 / 2));
    }
}

@media (max-width: 768px) {
    .testimonial-carousel-track .testimonial-card {
        flex: 0 0 85%;
    }
    .testimonial-carousel-wrapper {
        padding: 0;
    }
    .carousel-nav {
        width: 40px;
        height: 40px;
    }
    .carousel-nav.prev { left: 10px; }
    .carousel-nav.next { right: 10px; }
}
/* ========================================================================= */
/* --- ESTILOS PARA BOLINHAS DE NAVEGAÇÃO DO SLIDER (DOTS) --- */
/* ========================================================================= */

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    padding: 8px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.slider-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
    box-shadow: 0 0 10px -2px var(--primary-color);
}

/* ========================================================================= */
/* --- ESTILOS PARA PÁGINA DE GALERIA E LIGHTBOX --- */
/* ========================================================================= */

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 4rem auto;
}

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

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.lightbox--visible {
    display: flex;
    animation: lightbox-fade-in 0.3s ease;
}

@keyframes lightbox-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    padding: 1rem;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: lightbox-content-pop-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes lightbox-content-pop-in {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-close, .lightbox-nav {
    position: absolute;
    background-color: rgba(26, 26, 26, 0.7);
    color: white;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover, .lightbox-nav:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.lightbox-close {
    top: 0;
    right: 0;
    transform: translate(50%, -50%); 
}

.lightbox-nav.prev {
    left: 1.5rem; /* Posição fixa a partir da esquerda da tela */
    top: 50%;
    transform: translateY(-50%);
    z-index: 2001; /* Garante que fique acima do conteúdo */
}

.lightbox-nav.next {
    right: 1.5rem; /* Posição fixa a partir da direita da tela */
    top: 50%;
    transform: translateY(-50%);
    z-index: 2001; /* Garante que fique acima do conteúdo */
}


#gallery-section {
    padding-top: 4rem; 
}

.gallery-filters {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    max-width: 700px; 
    margin-left: auto;
    margin-right: auto;
}

.filter-btn {
    background-color: var(--bg-card);
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
}

.filter-btn.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-primary);
}

.gallery-filter-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 1rem;
}

.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1 / 1;
    background-color: var(--bg-card);
    transition: transform 0.4s ease, opacity 0.4s ease, filter 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-item .gallery-item-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(248, 149, 33, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: blur(2px);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-dark);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-item.animate-in {
    animation: fadeInScale 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item.animate-out {
    transform: scale(0.9);
    opacity: 0;
}

.history-card-action {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    width: 100%;
}

.btn-gallery-link {
    display: inline-block;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-gallery-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

.btn-gallery-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn-gallery-link:hover i {
    transform: translateX(4px);
}

.gallery-item .fa-youtube {
    font-size: 50px;
    color: #FF0000;
    transition: transform 0.3s ease;
}

.gallery-item:hover .fa-youtube {
    transform: scale(1.2);
}

/* ========================================================================= */
/* --- AJUSTE DEFINITIVO PARA O LIGHTBOX --- */
/* ========================================================================= */

/* REESTRUTURADO: Agora, este contêiner organiza a imagem e a legenda em uma coluna. */
.lightbox .lightbox-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column; /* Organiza itens verticalmente */
    align-items: center;
    justify-content: center;
}

.lightbox-image-container .lightbox-image {
    max-width: 85vw; /* Impede a imagem de tocar as bordas laterais */
    max-height: 80vh; /* Limita a altura para evitar corte (especialmente em retratos) */
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-image-container .lightbox-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.lightbox-content[data-type="video"] .lightbox-image-container {
    height: calc(100% - 40px);
}

/* REPOSICIONADO: A legenda agora faz parte do fluxo normal, garantindo o alinhamento correto. */
.lightbox-caption {
    position: static; /* Remove o posicionamento absoluto que causava o problema */
    width: auto;
    max-width: 85vw; /* Garante que a legenda não seja maior que a imagem */
    text-align: center;
    color: var(--text-secondary);
    background: transparent; /* Remove o fundo antigo */
    padding: 0;
    font-size: 0.9em;
    margin-top: 1rem; /* Adiciona um espaço entre a imagem e a legenda */
}

.lightbox-caption:empty {
    display: none;
}

.lightbox-content[data-type="video"] .lightbox-image-container {
    display: block;
    width: 90vw;
    max-width: 1120px;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #000;
}

.lightbox-image-container .lightbox-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ========================================================================= */
/* --- ESTILOS PARA SCROLLBAR PERSONALIZADA NO MODAL --- */
/* ========================================================================= */
.modal-body::-webkit-scrollbar {
    width: 10px;
}
.modal-body::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-radius: 10px;
}
.modal-body::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
    border: 2px solid var(--bg-primary);
}
.modal-body::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary-dark);
}

/* ========================================================================= */
/* --- ESTILOS CORRIGIDOS E OTIMIZADOS PARA TOOLTIP DE BANDAS --- */
/* ========================================================================= */

.history-band-list li[data-banda] {
    position: relative;
    cursor: pointer;
}

.tooltip-integrantes {
    position: absolute;
    bottom: 120%; /* Mais espaço */
    left: 50%;
    width: 260px; /* Mais compacto */
    background-color: var(--bg-terciary);
    border: 1px solid var(--primary-color); /* Borda mais fina */
    border-radius: 8px;
    padding: 0.8rem; /* Menor padding */
    box-shadow: 0 8px 25px -5px rgba(248, 149, 33, 0.35);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
}

/* Seta indicadora do tooltip */
.tooltip-integrantes::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: var(--primary-color) transparent transparent transparent;
}

/* Seletor atualizado para funcionar com hover (desktop) E com classe (touch) */
.history-band-list li[data-banda]:hover .tooltip-integrantes,
.history-band-list li[data-banda].tooltip-visible .tooltip-integrantes {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0s;
}

.tooltip-integrantes-title {
    font-size: 0.95rem; /* Reduzido */
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 0.2rem; /* Reduzido */
}

.tooltip-integrantes-subtitle {
    font-size: 0.75rem; /* Reduzido */
    font-weight: 500;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 0.7rem; /* Reduzido */
    padding-bottom: 0.7rem; /* Reduzido */
    border-bottom: 1px solid var(--border-color);
}

.tooltip-integrantes-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem; /* Mais eficiente que margens */
}

.tooltip-integrantes-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 0.4rem; /* Reduzido */
    border-bottom: 1px solid var(--border-color);
}

.tooltip-integrantes-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tooltip-integrantes-list li::before {
    display: none;
}

.tooltip-nome {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.8rem; /* Reduzido */
    padding-right: 0.5rem; /* Espaçamento */
}

.tooltip-instrumento {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.8rem; /* Reduzido */
    margin-top: 0;
    text-align: right;
    white-space: nowrap;
}

/* ========================================================================= */
/* --- ESTILOS PARA SEÇÃO DE FATOS E CURIOSIDADES (V2 - LISTA OTIMIZADA) --- */
/* ========================================================================= */
#curiosities-section {
    background-color: #2a2a2a;
}

.curiosity-list-wrapper {
    max-width: 1000px; /* AUMENTADO */
    margin: 3rem auto 0;
}

.curiosity-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
	counter-reset: curiosity-counter; /* ADICIONADO */
}

.curiosity-item {
    display: flex;
    align-items: center;
    gap: 2rem;
	counter-increment: curiosity-counter; /* ADICIONADO */
}

.curiosity-item-number {
    display: none; /* ALTERADO */
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    align-items: center;
    justify-content: center;
    z-index: 2;
	box-shadow: var(--shadow-dark);
}

/* NOVA REGRA PARA O RÓTULO */
.curiosity-item-content > p:first-of-type::before,
.curiosity-item-text > p:first-of-type::before {
    content: counter(curiosity-counter);
    background-color: var(--primary-color);
    color: var(--bg-card);
    font-weight: 700;
    padding: 0.2em 0.7em;
    margin-right: 0.75rem;
    border-radius: 6px;
    font-size: 0.99em;
    line-height: 1;
}


.curiosity-item-content {
    flex-grow: 1;
    background-color: var(--bg-card);
    padding: 1.5rem 2rem;
    border-radius: 12px;
	box-shadow: var(--shadow-dark);
}

.curiosity-item-content.has-image {
    display: grid;
    grid-template-columns: 1fr 45%;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
	min-height: 300px;

}

.curiosity-item-text {
    padding: 1.2rem 2rem;
}

.curiosity-item-content p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.99rem;
}

.curiosity-item-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.curiosity-item-image {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.curiosity-item-content.has-image:hover .curiosity-item-image {
    transform: scale(1.05);
}

/* --- Responsividade para a nova seção --- */
@media (max-width: 768px) {
    .curiosity-item-content.has-image {
        grid-template-columns: 1fr;
    }
    .curiosity-item-image {
        order: -1;
        min-height: 250px;
    }
    .curiosity-item-text {
        padding: 2rem 1.5rem;
    }
}