html, body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
}

header {
    background-color: #b9e3ff;
    padding: 15px 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}


nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
}
nav a:hover { color: #2e7ebb; }

html {
    scroll-behavior: smooth;
}

.logo-item {
    display: flex;
    align-items: center;
    margin: 0 10px;
}

.logo-img { height: 50px; width: auto; }

body {
    background-color: #a4d8f0;
}

.hero {
    background-color: #a4d8f0;
    text-align: center;
    padding: 20px 20px 100px;
    position: relative;
    min-height: 100vh;
}

.hero-content { max-width: 600px; margin: 0 auto 30px; color: #fff;}
.artes-img { max-width: 200px; margin: 0 auto 10px; display: block; margin-top: 20px;}

.hero-content {
    opacity: 0;
    transform: translateY(10px);
    animation: pageEnter 0.5s ease forwards;
}

@keyframes pageEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wave-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 5;
}

.wave-divider-bottom svg {
    display: block;
    height: 80px;
    width: 100%;
}

.section-galeria {
    position: relative;
    padding: 60px 20px 120px;
    width: 100%;
}

.galeria-bg-blue {
    background-color: #a4d8f0;
}

.galeria-bg-white {
    background-color: #ffffff;
}


.gallery-hint {
    font-family: inherit;
    color: #ffffff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 30px 0 40px;
    font-size: 1.95rem; 
    font-weight: 700;
    opacity: 0.95;
}

.section-artes-intro {
    position: relative;
    padding: 60px 20px 120px;
    width: 100%;
    text-align: center;
}

.section-artes-intro .hero-content p {
    color: #8bc3e3;
    font-weight: 700;
    font-size: 1.15rem;
}

.hero-image-divider {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0 40px;
}

.divider-img {
    width: 90%;
    max-width: 1200px; 
    height: auto;
    display: block;
    pointer-events: none;
}


.gallery-hint::before,
.gallery-hint::after {
    content: "";
    flex: 1;
    max-width: 250px;
    height: 2px;
    background: rgba(255,255,255,0.7);
}

.item-caption {
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    margin-top: 8px;
    color: #ffffff;
    line-height: 1.2;
}

.galeria-bg-white .item-caption {
    color: #2e7ebb;
}

.galeria-bg-white .gallery-hint {
    color: #93cbf7;
}

.galeria-bg-white .gallery-hint::before,
.galeria-bg-white .gallery-hint::after {
    background: rgba(46, 126, 187, 0.4);
}


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    overflow: visible !important;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
    transition: transform 0.4s ease, filter 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

#galeria-hero .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
}

#galeria-1 .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
}

#galeria-2 .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
}
#galeria-2 .gallery-item {
    grid-column: span 2;
}
#galeria-2 .gallery-item:nth-child(7) {
    grid-column: 2 / span 2;
}
#galeria-2 .gallery-item:nth-child(8) {
    grid-column: 4 / span 2;
}

#galeria-3 .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
}

#galeria-4 .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
}
#galeria-4 .gallery-item {
    grid-column: span 2;
}
#galeria-4 .gallery-item:nth-child(7) {
    grid-column: 2 / span 4;
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
}

#galeria-5 .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
}
#galeria-5 .gallery-item {
    grid-column: span 2;
}
#galeria-5 .gallery-item:nth-child(7) {
    grid-column: 2 / span 2;
}
#galeria-5 .gallery-item:nth-child(8) {
    grid-column: 4 / span 2;
}

.btn-twitter {
    display: block;
    width: fit-content; 
    margin: 0 auto; 
    padding: 12px 28px;
    background-color: #a4d8f0;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid #ffffff;
    transition: all 0.3s ease;
}

.btn-twitter:hover {
    background-color: transparent;
    color: #5b84ce;
    border: 2px solid #34738e;
    transform: translateY(-2px);
}

.btn-twitter i {
    font-size: 18px;
}

.fonte {
    font-size: 1.0rem;
    font-weight: 700;
    text-align: center;
    margin-top: 80px;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}


.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 9999;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 15px;
    transform: scale(0.9);
    transition: 0.3s;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}


.header-desktop {
    display: block;
}

.header-mobile {
    display: none;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 300;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #2e7ebb;
    border-radius: 3px;
    transition: 0.3s;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 240;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.header-mobile nav ul {
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 100px;
    padding-left: 30px;
    gap: 25px;
    transform: translateX(100%);
    transition: 0.3s;
    z-index: 250;
    list-style: none;
}

.header-mobile nav ul.active {
    transform: translateX(0);
}


@media (max-width: 768px) {
    .header-desktop {
        display: none;
    }

    .header-mobile {
        display: block;
    }

    .gallery-item:hover img {
        transform: none;
        filter: none;
    }

    .gallery-grid,
    #galeria-hero .gallery-grid,
    #galeria-1 .gallery-grid,
    #galeria-2 .gallery-grid,
    #galeria-3 .gallery-grid,
    #galeria-4 .gallery-grid,
    #galeria-5 .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
        padding: 0 10px;
    }

    #galeria-2 .gallery-item,
    #galeria-4 .gallery-item,
    #galeria-5 .gallery-item {
        grid-column: span 1 !important;
        max-width: 100% !important;
    }

    .gallery-hint {
        font-size: 1.1rem;
    }
}

@media (max-width: 1024px) {
    html, body {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
}