/* ===== Instituto Semear — Home ===== */

/* Corrige o alinhamento inicial */
main {
    background: transparent;
    padding: 0;
}

/* Garante que o body não tenha margens indesejadas */
body {
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Rótulo pequeno acima dos títulos de seção */
.section-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #639D24;
    margin-bottom: 0.6rem;
}

.section-label-light {
    color: #A9CB84;
    text-align: center;
    padding-top: 3rem;
    margin-bottom: -0.5rem;
}

/* ===== HERO ===== */
.page-banner {
    position: relative;
    background: linear-gradient(160deg, rgba(59, 94, 22, 0.95), rgba(43, 68, 16, 0.97)),
                url('../imagens/backgroung_footer.jpg') center/cover;
    color: white;
    padding: 6rem 5% 3.5rem;
    text-align: center;
    min-height: 560px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../imagens/logo_semear_branco.png') center/contain no-repeat;
    opacity: 0.06;
    pointer-events: none;
    background-size: 480px;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    animation: fadeInUp 0.8s ease both;
}

.logo-container {
    margin-bottom: 0.5rem;
}

.banner-logo {
    width: 25% !important;
    max-width: 92px !important;
    margin-top: 0 !important;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
}

.page-banner h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    letter-spacing: 2px;
    margin: 0.75rem 0 0.5rem;
    text-transform: uppercase;
}

.banner-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
    opacity: 0.92;
    margin-bottom: 1.75rem;
}

/* Botão de call-to-action do hero — navy como cor de contraste sobre o verde */
.btn-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #2C3E50;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.9rem 1.8rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.btn-hero-cta:hover {
    background-color: #fff;
    color: #2C3E50;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

.btn-hero-cta i {
    transition: transform 0.25s ease;
}

.btn-hero-cta:hover i {
    transform: translateX(3px);
}

/* Ícones das atividades */
.activities-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    max-width: 900px;
    margin: 2.5rem auto 0;
    padding: 0 20px;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 64px;
}

.icon-item i {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    font-size: 1.3rem;
    color: #fff;
    transition: all 0.25s ease;
}

.icon-item:hover i {
    background: #2C3E50;
    border-color: #2C3E50;
    transform: translateY(-4px);
}

.icon-item span {
    font-size: 0.72rem;
    margin-top: 8px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    opacity: 0.9;
}

.scroll-indicator {
    display: none;
}

/* ===== Seção Missão/Visão — bloco único verde ===== */
.sobre-missao {
    background: #3B5E16;
    padding: 0;
    margin: 0;
}

.card-missao, .card-visao {
    padding: 3.5rem 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    background: transparent;
}

.card-visao {
    border-left: 1px solid rgba(255,255,255,0.2);
}

.card-missao i, .card-visao i {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.card-missao h5, .card-visao h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fff;
}

.card-missao p, .card-visao p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: 0.94;
    margin: 0;
}

/* ===== Seção Objetivos ===== */
.objetivos {
    background: #fff;
    padding: 4.5rem 5%;
    text-align: center;
}

.objetivos .section-label {
    text-align: center;
}

.objetivos h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 2.4rem;
    color: #1F2C38;
    margin-bottom: 3.5rem;
    position: relative;
    line-height: 1.3;
}

.objetivos h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background: #639D24;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.objetivo-card {
    padding: 2rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
}

.objetivo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(59, 94, 22, 0.14);
}

.objetivo-card i {
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 1.3rem;
    background: #639D24;
}

/* Esporte e Educação em verde, Cultura (do meio) em navy — verde predominante, navy como toque de contraste */
.col-md-4:nth-child(2) .objetivo-card i {
    background: #2C3E50;
}

.objetivo-card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #1F2C38;
    margin-bottom: 0.85rem;
    font-size: 1.25rem;
}

.objetivo-card p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.02rem;
    line-height: 1.65;
    color: #555;
}

/* ===== Seção Localização ===== */
.localizacao {
    background: #EFF5E9;
    padding: 4.5rem 5%;
}

.localizacao h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    color: #1F2C38;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.localizacao address {
    font-style: normal;
    margin-bottom: 1.75rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    line-height: 1.9;
    color: #444;
}

.localizacao i {
    color: #639D24;
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

.localizacao .btn-outline-primary {
    background-color: #639D24;
    border: 2px solid #639D24;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    transition: all 0.25s ease;
}

.localizacao .btn-outline-primary:hover {
    background-color: #2C3E50;
    border-color: #2C3E50;
    color: #fff;
}

.mapa {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(59, 94, 22, 0.14);
    height: 100%;
    min-height: 300px;
}

.mapa iframe {
    height: 100% !important;
    min-height: 300px;
}

/* ===== Animações ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsividade ===== */
@media (max-width: 768px) {
    .page-banner {
        min-height: 460px;
        padding: 5rem 6% 2.5rem;
    }

    .page-banner h1 {
        font-size: 2.1rem;
        letter-spacing: 1px;
    }

    .activities-icons {
        gap: 15px;
    }

    .icon-item i {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .icon-item span {
        font-size: 0.62rem;
    }

    .card-missao, .card-visao {
        padding: 2.5rem 1.75rem;
    }

    .card-visao {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.2);
    }

    .objetivos, .localizacao {
        padding: 3rem 6%;
    }

    .objetivo-card {
        margin-bottom: 1.5rem;
    }

    .localizacao .row > div {
        margin-bottom: 2rem;
    }

    .objetivos h2, .localizacao h2 {
        font-size: 1.8rem;
    }
}

@media (min-width: 769px) {
    .lightbox-content {
        max-width: 90%;
    }
}


/* GALERIA DE BANNERS */

.galeria-semear {
    width: 100%;
    padding: 35px 20px;
    background: #e0f4ec;
}

.galeria-container {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.banner-item {
    width: 100%;
    background: #ffffff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);

    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    border-radius: 8px;
}

/* CELULARES */
@media (max-width: 600px) {
    .galeria-semear {
        padding: 20px 15px;
    }

    .galeria-container {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 420px;
    }
}

/* EFEITO DE CLIQUE NAS IMAGENS */

.banner-item a {
    display: block;
    cursor: zoom-in;
}

.banner-item img {
    transition: transform 0.3s ease;
}

.banner-item:hover img {
    transform: scale(1.02);
}

/* LIGHTBOX */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;

    background: rgba(0, 0, 0, 0.92);

    align-items: center;
    justify-content: center;

    padding: 20px;
    cursor: zoom-out;
}

.lightbox:target {
    display: flex;
}

.lightbox img {
    max-width: 95vw;
    max-height: 92vh;

    width: auto;
    height: auto;

    object-fit: contain;
    border-radius: 8px;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* CELULAR */

@media (max-width: 600px) {
    .lightbox {
        padding: 10px;
    }

    .lightbox img {
        max-width: 96vw;
        max-height: 90vh;
    }
}
.programacao-section {
    padding: 60px 20px;
    background: #e0f3eb;
}

.programacao-section .section-title {
    text-align: center;
    margin-bottom: 35px;
}

.programacao-section .section-title span {
    display: block;
    color: #668d38;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.programacao-section .section-title h2 {
    color: #243746;
    font-size: 36px;
    font-weight: 700;
    margin: 0;
}

.programacao-section .title-line {
    width: 45px;
    height: 3px;
    background: #5b9638;
    margin: 12px auto;
    border-radius: 3px;
}

.programacao-section .section-title p {
    color: #52645a;
    font-size: 14px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .programacao-section .section-title h2 {
        font-size: 28px;
    }

    .programacao-section {
        padding: 40px 15px;
    }
}