/* Reset e estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #000000;
    --color-secondary: #ffffff;
    --color-accent: #333333;
    --color-light-gray: #f5f5f5;
    --color-medium-gray: #e0e0e0;
    --color-dark-gray: #666666;
    --color-highlight: #4a4a4a;
    --transition: all 0.3s ease;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
}

/* Scrollbar moderna */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(245, 245, 245, 0.8);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #333333, #000000);
    border-radius: 10px;
    border: 2px solid var(--color-light-gray);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #000000, #333333);
    cursor: pointer;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scrollbar-color: var(--color-primary) var(--color-light-gray);
    scrollbar-width: thin;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-primary);
    background-color: var(--color-secondary);
    overflow-x: hidden;
    font-weight: 300;
    position: relative;
}

/* Efeito de fundo sutil */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23ffffff" /><rect x="50" y="0" width="50" height="50" fill="%23f9f9f9" /><rect x="0" y="50" width="50" height="50" fill="%23f9f9f9" /></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
    z-index: -1;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

section {
    padding: 100px 0;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: var(--transition);
}

a:hover {
    color: var(--color-dark-gray);
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 3px;
}

.section-title::before {
    display: none;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    border: 2px solid var(--color-primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-secondary);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn:hover {
    color: var(--color-primary);
}

.btn:hover::before {
    left: 0;
}

.btn-small {
    padding: 8px 18px;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
}

/* Loader com animação aprimorada */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
}

.loader {
    width: 50px;
    height: 50px;
    position: relative;
}

.loader:before, .loader:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--color-primary);
    opacity: 0.6;
    animation: pulse 2s ease-in-out infinite;
}

.loader:after {
    animation-delay: -1s;
}

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

/* Header - Versão mais dinâmica */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.95);
    transition: var(--transition);
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 1.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    padding-bottom: 3px;
}

.logo h1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40%;
    height: 2px;
    background-color: var(--color-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 35px;
    position: relative;
}

.nav-links a {
    position: relative;
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 15px;
    transition: var(--transition);
    display: inline-block;
    letter-spacing: 0.5px;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover:after {
    width: 100%;
}

.nav-links a.active {
    color: var(--color-primary);
    font-weight: 500;
}

.nav-links a.active:after {
    width: 100%;
    height: 2px;
}

.btn-contato {
    padding: 10px 20px;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    border-radius: 0;
    transition: var(--transition);
    border: 1px solid var(--color-primary);
    letter-spacing: 2px;
    font-size: 0.8rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-contato::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-secondary);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-contato:hover {
    color: var(--color-primary);
}

.btn-contato:hover::before {
    left: 0;
}

.btn-contato:after {
    display: none;
}

.burger {
    display: none;
    cursor: pointer;
    z-index: 100;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    margin: 5px;
    transition: all 0.3s ease;
}

.burger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.toggle .line2 {
    opacity: 0;
}

.burger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section - Com carrossel */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    z-index: 1;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 0;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-controls {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.carousel-prev,
.carousel-next {
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin: 0 15px;
    transition: all 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    position: relative;
}

.hero h1 {
    font-size: 5rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.1;
}

.hero h2 {
    font-size: 1.8rem;
    color: var(--color-secondary);
    margin-bottom: 40px;
    font-weight: 400;
    opacity: 0.9;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    letter-spacing: 1px;
    font-weight: 300;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease forwards;
}

.fade-in:nth-child(2) {
    animation-delay: 0.2s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.4s;
}

.fade-in:nth-child(4) {
    animation-delay: 0.6s;
}

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

/* Sobre Section - Mais dinâmico */
.sobre {
    background-color: var(--color-light-gray);
    position: relative;
    overflow: hidden;
}

.sobre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.sobre-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.sobre-texto {
    flex: 2;
    min-width: 300px;
}

.sobre-texto p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.sobre-texto p:first-of-type::first-letter {
    font-size: 3.5rem;
    font-weight: 600;
    float: left;
    line-height: 1;
    padding-right: 10px;
    font-family: var(--font-secondary);
}

.sobre-stats {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--color-secondary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    z-index: 1;
}

.stat:hover {
    transform: translateY(-15px) scale(1.03);
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0) 100%);
    z-index: -1;
}

.stat::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--color-primary);
    transition: height 0.4s ease;
}

.stat:hover::after {
    height: 100%;
}

.number {
    display: block;
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: var(--font-secondary);
    line-height: 1;
    background: linear-gradient(45deg, var(--color-primary), var(--color-dark-gray));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.label {
    font-size: 1.2rem;
    color: var(--color-dark-gray);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 300;
}

/* Eventos Section - Mais dinâmico */
.eventos {
    position: relative;
    overflow: hidden;
}

.eventos::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.eventos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.evento-card {
    background-color: var(--color-light-gray);
    display: flex;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
}

.evento-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.evento-data {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    position: relative;
    overflow: hidden;
}

.evento-data::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.evento-card:hover .evento-data::before {
    transform: rotate(45deg) translate(50%, 50%);
}

.dia {
    font-size: 2.5rem;
    font-weight: 600;
    font-family: var(--font-secondary);
    line-height: 1;
}

.mes {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-top: 5px;
}

.evento-info {
    padding: 35px 30px;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.evento-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0) 100%);
    z-index: -1;
}

.evento-info h3 {
    margin-bottom: 15px;
    font-size: 2rem;
    font-weight: 500;
    transition: var(--transition);
}

.evento-card:hover .evento-info h3 {
    transform: translateX(8px);
}

.evento-info p {
    margin-bottom: 25px;
    color: var(--color-dark-gray);
    font-size: 1.05rem;
    transition: var(--transition);
}

.evento-card:hover .evento-info p {
    transform: translateX(8px);
}

/* Galeria Section - mais dinâmica */
.galeria {
    position: relative;
    background: linear-gradient(to bottom, var(--color-secondary) 0%, var(--color-light-gray) 100%);
    overflow: hidden;
}

.galeria::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.galeria-item {
    overflow: hidden;
    position: relative;
    aspect-ratio: 1/1;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.galeria-item:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.galeria-item:hover img {
    transform: scale(1.1);
}

.galeria-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.galeria-item:hover::after {
    opacity: 1;
}

.galeria-item::before {
    content: '\f002';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: var(--color-secondary);
    font-size: 2rem;
    z-index: 2;
    opacity: 0;
    transition: all 0.5s ease;
}

.galeria-item:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Equipe Section - mais dinâmica */
.equipe {
    background-color: var(--color-light-gray);
    position: relative;
    overflow: hidden;
}

.equipe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.equipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
}

.membro-card {
    background-color: var(--color-secondary);
    text-align: center;
    padding-bottom: 35px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    border: none;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.membro-card:hover {
    transform: translateY(-20px) rotateY(5deg);
    box-shadow: -10px 20px 40px rgba(0, 0, 0, 0.2);
}

.membro-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.05), transparent);
    transition: height 0.4s ease;
    z-index: -1;
}

.membro-card:hover::before {
    height: 100%;
}

.membro-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--color-primary);
    transition: height 0.4s ease;
}

.membro-card:hover::after {
    height: 100%;
}

.membro-img {
    width: 100%;
    height: 320px;
    overflow: hidden;
    margin-bottom: 25px;
    position: relative;
}

.membro-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.membro-card:hover .membro-img::after {
    opacity: 1;
}

.membro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.membro-card:hover .membro-img img {
    transform: scale(1.05);
}

.membro-card h3 {
    margin-bottom: 8px;
    font-size: 1.8rem;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.membro-card:hover h3 {
    transform: translateY(-5px);
}

.membro-card p {
    margin-bottom: 25px;
    color: var(--color-dark-gray);
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.membro-card:hover p {
    transform: translateY(-5px);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    transition: transform 0.3s ease;
}

.membro-card:hover .social-icons {
    transform: translateY(-5px);
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-light-gray);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.1rem;
    transform: translateY(0);
}

.social-icons a:hover {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    transform: translateY(-10px);
}

/* Contato Section - mais dinâmica */
.contato {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-secondary) 0%, rgba(245,245,245,0.6) 100%);
}

.contato::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.contato-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
}

.contato-info {
    margin-bottom: 30px;
    position: relative;
}

.contato-info .section-title {
    text-align: left;
    font-size: 2.5rem;
}

.contato-info .section-title::after {
    left: 0;
    transform: none;
}

.contato-info .section-title::before {
    left: 35px;
}

.contato-info > p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    line-height: 1.8;
    position: relative;
    padding-left: 15px;
    border-left: 2px solid var(--color-primary);
}

.contato-detalhes {
    margin: 40px 0;
}

.detalhe {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 20px;
    background-color: var(--color-secondary);
    border-radius: 4px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.detalhe:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.detalhe i {
    font-size: 1.4rem;
    margin-right: 20px;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.detalhe:hover i {
    transform: scale(1.2);
}

.detalhe span {
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon:hover {
    transform: translateY(-10px) scale(1.1);
    background-color: var(--color-accent);
    color: var(--color-secondary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.social-icon .fa-youtube {
    font-size: 1.1rem;
}

.social-icon:hover .fa-youtube {
    color: #FF0000;
}

/* Footer styling for YouTube link */
.footer-contact a:hover {
    text-decoration: underline;
}

/* YouTube animation effect */
@keyframes pulse-youtube {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.social-icon:hover .fa-youtube {
    animation: pulse-youtube 0.6s ease-in-out;
}

.contato-form {
    background-color: var(--color-secondary);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.contato-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0) 100%);
    z-index: -1;
}

.contato-form form {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--color-medium-gray);
    border-radius: 4px;
    background-color: var(--color-light-gray);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
    background-color: var(--color-secondary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    display: inline-block;
    padding: 14px 35px;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    border: 2px solid var(--color-primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: var(--font-primary);
    align-self: flex-start;
    border: none;
}

.btn-submit:hover {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-icon:hover {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Newsletter - mais atrativa */
.newsletter {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,0 L100,100" stroke="rgba(255,255,255,0.05)" stroke-width="1"/><path d="M100,0 L0,100" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
    background-size: 30px 30px;
    opacity: 0.2;
}

.newsletter-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.newsletter h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.newsletter h3::after {
    content: '';
    display: block;
    width: 70px;
    height: 2px;
    background-color: var(--color-secondary);
    margin: 20px auto;
}

.newsletter p {
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.newsletter-form::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    background-color: rgba(255,255,255,0.05);
    border-radius: 5px;
    z-index: -1;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 15px 20px;
    border: none;
    font-family: var(--font-primary);
    font-size: 1rem;
    letter-spacing: 0.5px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.btn-socio {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    padding: 15px 35px;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    letter-spacing: 2px;
    font-size: 0.9rem;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-block;
    text-align: center;
    margin: 15px auto;
}

.btn-socio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: -1;
}

.btn-socio:hover {
    background-color: var(--color-light-gray);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    letter-spacing: 3px;
}

.btn-socio:hover::before {
    transform: translateX(0);
}

/* Footer - mais atrativo */
footer {
    background-color: var(--color-accent);
    color: var(--color-secondary);
    padding: 80px 0 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.footer-logo h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-secondary);
}

.footer-logo p {
    font-size: 1rem;
    letter-spacing: 0.5px;
    font-weight: 300;
    margin-bottom: 20px;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
    font-weight: 500;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-secondary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-medium-gray);
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    position: relative;
    padding-left: 15px;
    display: inline-block;
}

.footer-links a::before {
    content: '›';
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-secondary);
    padding-left: 20px;
}

.footer-links a:hover::before {
    left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-weight: 300;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.footer-contact p:hover {
    transform: translateX(5px);
}

.footer-contact i {
    margin-right: 15px;
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
}

.footer-bottom p {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    font-weight: 300;
}

/* Back to Top - mais atrativo */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 99;
    overflow: hidden;
}

.back-to-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-10px) scale(1.1);
    background-color: var(--color-accent);
    color: var(--color-secondary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

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

/* Custom Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* YouTube-specific pulse animation */
@keyframes youtube-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.5);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 0, 0, 0);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
        transform: scale(1);
    }
}

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

.pulse {
    animation: pulse 3s ease-in-out infinite;
}

.floating-youtube.pulse {
    animation: youtube-pulse 2s infinite;
}

/* Responsivo aprimorado */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .eventos-grid,
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .evento-passado-fotos {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 15px;
    }
    
    .evento-passado-header h3 {
        font-size: 1.5rem;
    }
    
    .lightbox-img {
        max-height: 85vh;
    }
}

@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
        margin-bottom: 15px;
    }
    
    .hero h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    header .container {
        padding: 0 15px;
    }
    
    .nav-links {
        position: absolute;
        right: 0;
        top: 70px;
        height: calc(100vh - 70px);
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transform: translateY(-150%);
        transition: transform 0.5s ease;
        z-index: 9999;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
    }
    
    .burger {
        display: block;
        cursor: pointer;
    }
    
    .contato-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .eventos-grid,
    .galeria-grid {
        grid-template-columns: 1fr;
    }
    
    .sobre-content {
        flex-direction: column;
    }
    
    .sobre-stats {
        margin-top: 30px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .floating-youtube {
        width: 45px;
        height: 45px;
        left: 20px;
        bottom: 20px;
    }
    
    .floating-youtube i {
        font-size: 1.3rem;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 35px;
        height: 35px;
        margin: 0 10px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
        margin: 0 6px;
    }
    
    .carousel-controls {
        bottom: 20px;
    }
    
    /* Eventos passados - melhorias responsivas */
    .evento-passado-foto {
        height: 240px;
    }
    
    .evento-passado-fotos {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        padding: 20px;
        gap: 15px;
    }
    
    .evento-passado {
        padding: 20px 15px;
    }
    
    .evento-passado-header h3 {
        font-size: 1.4rem;
    }
    
    .evento-data-passado {
        font-size: 0.9rem;
    }
    
    .eventos-passados-wrapper {
        overflow-x: hidden;
        width: calc(100% - 60px);
    }
    
    .evento-nav {
        width: 30px;
        height: 30px;
        line-height: 30px;
    }
    
    /* Lightbox responsivo aprimorado */
    .lightbox-img {
        max-height: 80vh;
        border: 3px solid white;
    }
    
    .lightbox-close {
        top: -35px;
        right: 0;
        font-size: 24px;
    }
    
    .lightbox-caption {
        font-size: 14px;
        padding: 8px 0;
    }
    
    /* Ajustes de footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-links,
    .footer-contact {
        margin-top: 20px;
    }
}

@media screen and (max-width: 600px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }
    
    .modal-content {
        width: 95%;
        padding: 20px 15px;
    }
    
    /* Melhorias no carrossel de eventos passados */
    .evento-passado-fotos {
        grid-template-columns: 1fr;
        padding: 15px 10px;
    }
    
    .evento-passado-foto {
        height: 220px;
    }
    
    .eventos-passados-wrapper {
        width: calc(100% - 50px);
    }
    
    .evento-nav {
        width: 25px;
        height: 25px;
        line-height: 25px;
    }
    
    /* Ajustes no lightbox */
    .lightbox {
        padding: 15px;
    }
    
    .lightbox-content {
        max-width: 95%;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .contato-form {
        padding: 30px 20px;
    }
    
    .btn-submit {
        width: 100%;
        padding: 12px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 30px;
        height: 30px;
        margin: 0 8px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
        margin: 0 5px;
    }
    
    /* Eventos passados */
    .evento-passado-foto {
        height: 200px;
    }
    
    .evento-passado-fotos {
        grid-template-columns: 1fr;
        padding: 15px 10px;
        gap: 10px;
    }
    
    .evento-passado-header h3 {
        font-size: 1.3rem;
    }
    
    .evento-data-passado {
        font-size: 0.85rem;
    }
    
    /* Ajustes no lightbox */
    .lightbox-img {
        max-height: 75vh;
        border: 2px solid white;
    }
    
    .lightbox-caption {
        font-size: 12px;
    }
    
    .lightbox-close {
        top: -30px;
        font-size: 22px;
    }
}

@media screen and (max-width: 380px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .evento-passado-foto {
        height: 180px;
    }
    
    .evento-nav {
        width: 22px;
        height: 22px;
        line-height: 22px;
        font-size: 0.8rem;
    }
    
    .eventos-passados-wrapper {
        width: calc(100% - 44px);
    }
    
    .eventos-indicador {
        width: 10px;
        height: 10px;
        margin: 0 3px;
    }
}

/* Floating YouTube Button */
.floating-youtube {
    position: fixed;
    left: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background-color: #FF0000;
    color: var(--color-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 99;
    overflow: hidden;
}

.floating-youtube::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floating-youtube i {
    font-size: 1.5rem;
}

.floating-youtube:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.4);
}

.floating-youtube:hover::before {
    opacity: 1;
}

/* Modal Popup Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.modal.show {
    opacity: 1;
    display: block;
}

.modal-content {
    position: relative;
    background-color: var(--color-secondary);
    margin: 80px auto;
    padding: 40px;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(-50px);
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

.modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    color: var(--color-dark-gray);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--color-primary);
    transform: scale(1.1) rotate(90deg);
}

.modal h2 {
    margin-bottom: 30px;
    font-size: 2rem;
    text-align: center;
    padding-bottom: 15px;
    position: relative;
}

.modal h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 3px;
}

.modal .form-group {
    margin-bottom: 25px;
}

.modal label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-primary);
}

.modal input {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--color-medium-gray);
    border-radius: 4px;
    background-color: var(--color-light-gray);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.modal input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
    background-color: var(--color-secondary);
}

.modal .btn-submit {
    width: 100%;
    margin-top: 15px;
}

#registration-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
    display: none;
}

#registration-message.success {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
    display: block;
}

#registration-message.error {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
    display: block;
}

@media screen and (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
        margin: 60px auto;
    }
}

@media screen and (max-width: 480px) {
    .modal-content {
        padding: 25px 15px;
        margin: 40px auto;
    }
}

.message-box {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.message-box.success {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
}

.message-box.error {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

/* Eventos Passados Section */
.eventos-passados {
    position: relative;
    background-color: var(--color-light-gray);
    overflow: hidden;
    padding: 80px 0;
}

.eventos-passados::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.eventos-passados-carrossel {
    position: relative;
    padding: 0 50px;
    margin-bottom: 30px;
}

.eventos-passados-wrapper {
    overflow: hidden;
    margin: 0 auto;
}

.eventos-passados-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.evento-passado {
    background-color: var(--color-secondary);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    flex: 0 0 100%;
    max-width: 100%;
}

.evento-passado:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.evento-passado-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--color-medium-gray);
}

.evento-passado-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.evento-data-passado {
    display: inline-block;
    font-size: 1rem;
    color: var(--color-dark-gray);
    position: relative;
    padding-left: 25px;
}

.evento-data-passado::before {
    content: '\f073';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.evento-passado-fotos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    padding: 30px;
}

.evento-passado-foto {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 16/9;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 280px;
    width: 100%;
    cursor: pointer;
    z-index: 1;
}

.evento-passado-foto:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.evento-passado-foto img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s ease;
    background-color: #f9f9f9;
    padding: 5px;
    cursor: pointer;
    display: block;
    user-select: none;
}

.evento-passado-foto::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.evento-passado-foto:hover::after {
    opacity: 1;
}

.evento-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.evento-prev {
    left: 0;
}

.evento-next {
    right: 0;
}

.evento-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.eventos-passados-indicadores {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.eventos-indicador {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.eventos-indicador.active {
    background: var(--color-primary);
    transform: scale(1.2);
}

/* Adicionando media queries para responsividade das fotos */
@media (max-width: 768px) {
    .evento-passado-foto {
        height: 240px;
    }
    
    .evento-passado-fotos {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .evento-passado-foto {
        height: 200px;
    }
    
    .evento-passado-fotos {
        grid-template-columns: 1fr;
        padding: 15px;
    }
}

/* Lightbox Styles aprimorados */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 30px;
    overflow: hidden;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox.closing {
    opacity: 0;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    transform: scale(0.9);
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 10000;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    border: 5px solid white;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    object-fit: contain;
    background-color: black;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    background: transparent;
    border: none;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    transform: scale(1.2) rotate(90deg);
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 16px;
}

/* Estilos específicos para lightbox em dispositivos móveis */
.lightbox.mobile .lightbox-content {
    max-width: 98%;
}

.lightbox.mobile .lightbox-close {
    top: -35px;
    right: 0;
    font-size: 24px;
}

/* Feedback visual para os botões do carrossel */
.evento-nav.active,
.carousel-prev.active,
.carousel-next.active {
    transform: scale(0.9);
    opacity: 0.8;
}

/* Efeito de pulso para indicadores */
.eventos-indicador.pulse {
    animation: indicatorPulse 0.3s ease;
}

@keyframes indicatorPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.5); }
    100% { transform: scale(1.2); }
}

/* Responsivo */
@media screen and (max-width: 768px) {
    .lightbox-img {
        max-height: 80vh;
        border: 3px solid white;
    }
    
    .lightbox-close {
        top: -35px;
        right: 0;
        font-size: 24px;
    }
    
    .lightbox-caption {
        font-size: 14px;
        padding: 8px 0;
    }
    
    /* Melhoria nos controles de toque para mobile */
    .evento-nav,
    .carousel-prev,
    .carousel-next {
        width: 36px;
        height: 36px;
        line-height: 36px;
        opacity: 0.9;
    }
    
    .evento-nav:active,
    .carousel-prev:active,
    .carousel-next:active {
        transform: scale(0.9);
        opacity: 0.7;
    }
}

@media screen and (max-width: 480px) {
    .lightbox {
        padding: 10px;
    }
    
    .lightbox-img {
        max-height: 75vh;
        border: 2px solid white;
    }
    
    .lightbox-caption {
        font-size: 12px;
    }
    
    .lightbox-close {
        top: -30px;
        font-size: 22px;
    }
    
    /* Melhorias para feedback tátil em telas pequenas */
    .evento-nav,
    .carousel-prev,
    .carousel-next {
        width: 32px;
        height: 32px;
        line-height: 32px;
    }
}

@media screen and (max-width: 380px) {
    .lightbox-content {
        max-width: 98%;
    }
    
    .lightbox-close {
        top: -25px;
        font-size: 20px;
    }
    
    /* Ajuste para telas muito pequenas */
    .evento-nav,
    .carousel-prev,
    .carousel-next {
        width: 28px;
        height: 28px;
        line-height: 28px;
        font-size: 0.9rem;
    }
} 