/* Importa variáveis CSS do navbar se necessário */
:root {
    --cream-light: #f7f6fc;
    --cream-light-hover: #f0eff8;
    --brown-dark: #4a4780;
    --brown-dark-light: #6b679e;
    --bronze: #807dc2;
    --bronze-light: #9a97d4;
    --bronze-dark: #6663a8;
    --white: #FFFFFF;
    --gray-light: #e5e5e5;
    --shadow: rgba(128, 125, 194, .1);
    --shadow-strong: rgba(128, 125, 194, .15);
    --transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
}

/* Page Hero */
.page-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(74, 71, 128, 1), rgba(45, 45, 45, 1));
    padding: 0 20px;
}

.page-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.page-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(128, 125, 194, .1) 0%, transparent 50%), 
                      radial-gradient(circle at 75% 75%, rgba(128, 125, 194, .05) 0%, transparent 50%);
    background-size: 100px 100px;
}

.page-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(128, 125, 194, .1) 0%, transparent 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    width: 100%;
    max-width: 1200px;
}

.page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, .2);
}

.page-hero-badge-icon {
    font-size: 1.2rem;
}

.page-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-hero-highlight {
    background: linear-gradient(135deg, var(--bronze), var(--bronze-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: .9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.page-hero-stat {
    text-align: center;
}

.page-hero-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bronze-light);
    margin-bottom: 5px;
}

.page-hero-stat-label {
    display: block;
    font-size: .9rem;
    opacity: .8;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: var(--cream-light);
}

.gallery-header {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brown-dark);
    margin-bottom: 15px;
}

.gallery-subtitle {
    font-size: 1.1rem;
    color: var(--brown-dark-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Gallery Filters */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    padding: 12px 30px;
    border: 2px solid var(--bronze-light);
    background: var(--white);
    color: var(--brown-dark);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.gallery-filter-btn:hover {
    background: var(--bronze-light);
    color: var(--white);
    transform: translateY(-2px);
}

.gallery-filter-btn.active {
    background: linear-gradient(135deg, var(--bronze), var(--bronze-light));
    color: var(--white);
    border-color: var(--bronze);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    opacity: 1;
    transform: scale(1);
    transition: all 0.5s ease;
}

.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.gallery-item-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-strong);
    background: var(--white);
    aspect-ratio: 4/3;
}

.gallery-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item-wrapper:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 71, 128, 0.9), rgba(45, 45, 45, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay-content {
    text-align: center;
    color: var(--white);
}

.gallery-icon {
    display: block;
    margin: 0 auto 10px;
}

.gallery-icon svg {
    width: 40px;
    height: 40px;
    color: var(--bronze-light);
}

.gallery-text {
    display: block;
    font-size: 1rem;
    font-weight: 600;
}

/* Load More Button */
.gallery-load-more {
    text-align: center;
    margin-top: 50px;
}

.gallery-load-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--bronze), var(--bronze-light));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px var(--shadow-strong);
}

.gallery-load-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--shadow-strong);
}

.gallery-load-btn svg {
    width: 20px;
    height: 20px;
}

/* Gallery Info Section */
.gallery-info-section {
    padding: 80px 0;
    background: var(--white);
}

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

.gallery-info-card {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--cream-light);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.gallery-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-strong);
}

.gallery-info-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, var(--bronze), var(--bronze-light));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-info-icon svg {
    width: 30px;
    height: 30px;
    color: var(--white);
}

.gallery-info-content {
    flex: 1;
}

.gallery-info-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brown-dark);
    margin-bottom: 10px;
}

.gallery-info-description {
    color: var(--brown-dark-light);
    line-height: 1.6;
}

/* Gallery CTA Section */
.gallery-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(74, 71, 128, 1), rgba(45, 45, 45, 1));
    color: var(--white);
    text-align: center;
}

.gallery-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.gallery-cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.gallery-cta-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.gallery-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.gallery-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-cta-btn.primary {
    background: linear-gradient(135deg, var(--bronze), var(--bronze-light));
    color: var(--white);
}

.gallery-cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.gallery-cta-btn.secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.gallery-cta-btn.secondary:hover {
    background: var(--white);
    color: var(--brown-dark);
    transform: translateY(-3px);
}

.gallery-cta-btn svg {
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero-title {
        font-size: 2.5rem;
    }

    .page-hero-stats {
        gap: 30px;
    }

    .gallery-title {
        font-size: 2rem;
    }

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

    .gallery-filters {
        gap: 10px;
    }

    .gallery-filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .gallery-info-grid {
        grid-template-columns: 1fr;
    }

    .gallery-cta-title {
        font-size: 2rem;
    }

    .gallery-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .gallery-cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .page-hero-title {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-info-card {
        flex-direction: column;
        text-align: center;
    }

    .gallery-info-icon {
        margin: 0 auto;
    }
}
