/* ===================================================================== */
/* PALETA DE CORES E ESTILOS GERAIS                                      */
/* ===================================================================== */
:root {
    --dark-blue: #2c4a75;
    --medium-blue: #5b83a2;
    --white: #ffffff;
    --text-dark: #333333;
    --bg-light-gray: #f4f7f6;
    --border-color: #eee;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body, html {
    font-family: 'Nunito', sans-serif;
    background-color: var(--bg-light-gray);
    scroll-behavior: smooth;
}
a { text-decoration: none; color: inherit; }


/* ===================================================================== */
/* NAVBAR                                                                */
/* ===================================================================== */
.main-header { position: sticky; top: 0; width: 100%; z-index: 1000; background-color: var(--white); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); }
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}
.nav-logo { display: flex; align-items: center; gap: 0.8rem; color: var(--text-dark); font-size: 1.5rem; font-weight: 800; }
.nav-logo img { height: 50px; width: auto; }
.nav-menu { display: flex; gap: 3rem; }
.nav-link { color: var(--text-dark); font-weight: 700; transition: color 0.3s ease; border-bottom: 2px solid transparent; padding-bottom: 5px; }
.nav-link:hover { color: var(--dark-blue); }
.nav-link.active { color: var(--dark-blue); border-bottom-color: var(--dark-blue); }
.nav-social { display: flex; gap: 0.5rem; }
.social-icon { width: 40px; height: 40px; display: flex; justify-content: center; align-items: center; border: 1px solid var(--border-color); border-radius: 8px; color: var(--text-dark); background-color: transparent; transition: all 0.3s ease; }
.social-icon:hover, .social-icon.active { background-color: var(--dark-blue); color: var(--white); border-color: var(--dark-blue); }
.hamburger { display: none; cursor: pointer; }
.bar { display: block; width: 28px; height: 3px; margin: 6px 0; background-color: var(--text-dark); transition: all 0.3s ease-in-out; }


/* ===================================================================== */
/* HERO SECTION                                                          */
/* ===================================================================== */
.hero-section { display: flex; align-items: center; gap: 3rem; padding: 3rem 2rem; max-width: 1300px; margin: 0 auto; min-height: calc(100vh - 90px); }
.hero-content-left { flex: 1; display: flex; flex-direction: column; }
.eyebrow-text { color: var(--medium-blue); font-weight: 800; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.eyebrow-text i { margin-right: 0.5rem; }
.hero-title { font-size: 4rem; font-weight: 800; color: var(--dark-blue); line-height: 1.1; text-transform: uppercase; margin: 1rem 0; }
.hero-title em { font-style: italic; font-weight: 700; }
.hero-description { color: var(--text-dark); line-height: 1.7; margin-bottom: 2rem; max-width: 480px; font-weight: 400; }
.hero-actions { display: flex; gap: 1rem; }
.action-card { padding: 0.8rem 1.5rem; border-radius: 12px; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: transform 0.3s ease; font-size: 1.2rem; font-weight: 700; }
.action-card:hover { transform: translateY(-5px); }
.action-card.primary { background-color: var(--medium-blue); color: var(--white); }
.action-card.secondary { background-color: var(--dark-blue); color: var(--white); }
.hero-image-mosaic { flex: 1.1; display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); gap: 1rem; height: 450px; }
.hero-image-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic-item-1 { grid-column: 1 / 3; grid-row: 1 / 2; border-radius: 20px; overflow: hidden; }
.mosaic-item-2 { grid-column: 1 / 2; grid-row: 2 / 3; border-radius: 20px 20px 20px 80px; overflow: hidden; }
.mosaic-item-3 { grid-column: 2 / 3; grid-row: 2 / 3; border-radius: 80px 20px 20px 20px; overflow: hidden; }


/* ===================================================================== */
/* SEÇÕES DE CONTEÚDO                                                    */
/* ===================================================================== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; display: flex; flex-direction: column; align-items: center; }
.page-section { padding: 6rem 0; }
.page-section.alt-bg { background-color: var(--white); }
.section-logo { max-width: 150px; margin-bottom: 2rem; background-color: var(--white); border-radius: 50%; padding: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); }
.section-title { text-align: center; margin-bottom: 4rem; }
.section-title h2 { font-size: 2.8rem; font-weight: 800; color: var(--dark-blue); margin-bottom: 0.5rem; position: relative; display: inline-block; padding-bottom: 1rem; }
.section-title h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background-color: var(--medium-blue); border-radius: 2px; }
.section-title p { font-size: 1.2rem; color: var(--text-dark); font-style: italic; font-weight: 400; }
.section-content { max-width: 800px; margin: 0 auto; text-align: center; font-size: 1.1rem; line-height: 1.8; color: #555; }
.section-content p + p { margin-top: 1.5rem; }


/* ===================================================================== */
/* SEÇÃO DE ESTRUTURA E CARROSSEL                                        */
/* ===================================================================== */
.structure-section { position: relative; padding: 6rem 0; background-image: url('../img/02.jpg'); background-size: cover; background-position: center center; background-attachment: fixed; text-align: center; }
.structure-bg-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: var(--dark-blue); opacity: 0.9; z-index: 1; }
.structure-section .container { position: relative; z-index: 2; }
.section-title.white-text h2, .section-title.white-text p { color: var(--white); }
.section-title.white-text h2::after { background-color: var(--white); }
.info-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: 900px; margin: 0 auto 4rem auto; text-align: left; color: var(--white); }
.info-column h4 { font-size: 1.5rem; font-weight: 700; color: var(--white); margin-bottom: 1.5rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--medium-blue); display: inline-block; }
.info-column ul { list-style: none; padding: 0; }
.info-column li { font-size: 1.1rem; font-weight: 300; display: flex; align-items: flex-start; margin-bottom: 1rem; }
.info-column li i { color: var(--medium-blue); margin-right: 1rem; margin-top: 5px; }
.info-column li strong { font-weight: 700; margin-right: 0.4em; }
.carousel-container { position: relative; max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 60px; }
.swiper { width: 100%; padding: 2rem 0; }
.swiper-wrapper { align-items: center; }
.swiper-slide { height: 350px; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.2); border: 3px solid rgba(255,255,255,0.8); cursor: pointer; transition: transform 0.4s ease, opacity 0.4s ease; transform: scale(0.9); opacity: 0.7; }
.swiper-slide.swiper-slide-active { transform: scale(1); opacity: 1; }
.swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.swiper-button-next, .swiper-button-prev { color: var(--white); --swiper-navigation-size: 30px; }


/* ===================================================================== */
/* SEÇÃO DE ORÇAMENTO E FORMULÁRIO                                       */
/* ===================================================================== */
.quote-form { width: 100%; max-width: 900px; background-color: var(--white); padding: 3rem; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); text-align: center; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.form-group { display: flex; flex-direction: column; text-align: left; }
.form-group label { font-size: 0.8rem; font-weight: 700; color: var(--medium-blue); margin-bottom: 0.5rem; text-transform: uppercase; }
.form-group input, .form-group select { width: 100%; padding: 0.8rem; border: 1px solid var(--border-color); border-radius: 8px; font-size: 1rem; font-family: 'Nunito', sans-serif; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--dark-blue); box-shadow: 0 0 0 3px rgba(44, 74, 117, 0.1); }
.cta-button-form { display: inline-flex; justify-content: center; align-items: center; gap: 0.8rem; padding: 1rem 3rem; background-color: var(--dark-blue); color: var(--white); border: none; border-radius: 50px; font-size: 1rem; font-weight: 700; text-transform: uppercase; cursor: pointer; transition: background-color 0.3s ease, transform 0.3s ease; }
.cta-button-form:hover { background-color: var(--medium-blue); transform: translateY(-3px); }


/* ===================================================================== */
/* RODAPÉ                                                                */
/* ===================================================================== */
.main-footer { background-color: var(--dark-blue); color: rgba(255, 255, 255, 0.8); padding: 5rem 0 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: flex-start; }
.contact-group { margin-bottom: 2.5rem; }
.contact-group:last-child { margin-bottom: 0; }
.footer-column-contacts h4 { font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.8rem; }
.footer-column-contacts p, .footer-column-contacts a { font-size: 1rem; line-height: 1.7; font-weight: 300; color: rgba(255, 255, 255, 0.8); display: block; margin-bottom: 0.5rem; }
.footer-column-contacts a:hover { color: var(--white); text-decoration: underline; }
.footer-column-contacts strong { font-weight: 700; color: var(--white); }
.footer-column-map { width: 100%; height: 350px; border-radius: 12px; overflow: hidden; }
.footer-column-map iframe { filter: grayscale(1) invert(0.9); }
.footer-bottom { text-align: center; padding: 1.5rem 2rem; margin-top: 4rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }
.footer-social-icons { display: flex; gap: 1rem; }
.footer-social-icons .social-icon { background-color: rgba(255, 255, 255, 0.1); color: var(--white); border-color: rgba(255, 255, 255, 0.2); }
.footer-social-icons .social-icon:hover { background-color: var(--white); color: var(--dark-blue); }


/* ===================================================================== */
/* BOTÃO FLUTUANTE DO WHATSAPP                                           */
/* ===================================================================== */
.whatsapp-float { position: fixed; bottom: 25px; right: 25px; z-index: 1000; width: 60px; height: 60px; background-color: #25D366; color: var(--white); border-radius: 50%; box-shadow: 0 5px 15px rgba(0,0,0,0.2); display: flex; justify-content: center; align-items: center; font-size: 2.2rem; text-decoration: none; transition: transform 0.3s ease; animation: pulse 2s infinite; }
.whatsapp-float:hover { transform: scale(1.1); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }


/* ===================================================================== */
/* RESPONSIVIDADE                                                        */
/* ===================================================================== */
@media(max-width: 992px) {
    .navbar { padding: 0 1.5rem; height: 80px; }
    .nav-menu, .nav-social { display: none; }
    .hamburger { display: block; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
    .nav-menu.active { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem; position: fixed; left: 0; top: 0; background-color: var(--white); width: 100%; height: 100vh; z-index: 100; }
    .nav-menu.active .nav-link { font-size: 1.5rem; }

    .hero-section { flex-direction: column; text-align: center; min-height: auto; padding: 3rem 1.5rem; }
    .hero-image-mosaic { order: -1; margin-bottom: 2.5rem; width: 100%; height: 350px; }
    .hero-content-left { align-items: center; }
    .hero-title { font-size: 2.5rem; }
    .hero-actions { justify-content: center; }
    
    .page-section { padding: 4rem 0; }
    .section-title h2 { font-size: 2rem; }
    .info-columns { grid-template-columns: 1fr; text-align: center; }
    .info-column h4 { display: table; margin-left: auto; margin-right: auto; }

    .carousel-container { padding: 0 1rem; }
    .swiper-button-next, .swiper-button-prev { display: none; }

    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-column-contacts h4 { justify-content: center; }
    .footer-social-icons { justify-content: center; }

    .whatsapp-float { width: 50px; height: 50px; font-size: 1.8rem; bottom: 15px; right: 15px; }
}

/* ===================================================================== */
/* SEÇÃO DE MOMENTOS (GALERIA 3X3 CORRIGIDA)                             */
/* ===================================================================== */
.photo-gallery-grid {
    display: grid;
    /* MUDANÇA CRÍTICA: Força o grid a ter 3 colunas */
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto 3rem auto;
    padding: 0 2rem;
}

/* Nova classe específica para os itens da galeria de eventos */
.gallery-item-events {
    position: relative;
    /* Truque para criar um contêiner quadrado (aspect-ratio 1:1) */
    padding-top: 100%; 
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item-events:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.gallery-item-events img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item-events:hover img {
    transform: scale(1.1);
}


/* RESPONSIVIDADE PARA A GALERIA DE EVENTOS */
@media (max-width: 768px) {
    .photo-gallery-grid {
        /* Em telas menores, mostra 2 colunas */
        grid-template-columns: repeat(2, 1fr);
    }
}