:root {
    --magenta: #ff32b4;
    --text-dark: #222;
    --text-light: #555;
    --azul-marinho: #1a237e; /* Adicionei a variável para manter consistência */
}

/* --- Global & Menu --- */
body { margin: 0; font-family: 'Open Sans', sans-serif; overflow-x: hidden; }

header {
    background: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.menu {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    align-items: center;
}

.menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s;
}

.menu a:hover { color: var(--magenta); }

.btn-portal {
    border: 2px solid var(--magenta);
    padding: 8px 20px !important;
    border-radius: 25px;
    background-color: wheat;
}

/* --- Estrutura Geral --- */
.container-largo {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Seção 01: Instituto --- */
.instituto-section {
    padding: 100px 0;
    position: relative;
    overflow: visible;
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.image-column {
    position: relative;
    z-index: 10;
}

.photo-wrapper {
    position: relative;
    border-radius: 60px 20px 100px 40px; 
    overflow: hidden;
    z-index: 5;
    box-shadow: 15px 15px 40px rgba(0,0,0,0.1);
}

.main-photo { width: 100%; display: block; filter: grayscale(100%); }

.photo-info-overlay {
    position: absolute;
    bottom: 0; left: 0;
    width: 45%; padding: 36px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white; font-size: 0.75rem; line-height: 1.4;
    z-index: 6;
}

.photo-info-overlay strong { font-size: 0.85rem; display: block; margin-bottom: 4px; }

.decor-pencil {
    position: absolute;
    left: -140px;
    bottom: -20px;
    width: 19%;
    z-index: 20;
    transform: rotate(-5deg);
    filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.1));
    animation: pencilWiggle 3s ease-in-out infinite;
}

.decor-curve-line {
    position: absolute; bottom: -60px; left: -20px;
    width: 140%; z-index: 10; pointer-events: none;
}

.quote-bubble {
    position: absolute; top: -30px; right: -10px;
    background-color: var(--magenta); color: white;
    padding: 20px; border-radius: 40px 40px 0 40px;
    width: 170px; text-align: center; font-size: 0.7rem; font-weight: bold;
    z-index: 15; box-shadow: 10px 10px 20px rgba(255, 51, 168, 0.2);
}

@keyframes pencilWiggle {
    0%, 100% { transform: rotate(-5deg) translateY(0); }
    50% { transform: rotate(5deg) translateY(-10px); }
}

/* Tipografia */
.title { font-family: 'Fredoka', sans-serif; font-size: 3rem; margin-bottom: 20px; }
.subtitle { color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; font-weight: bold; }
.purpose-text { color: var(--magenta); font-size: 1.4rem; font-weight: bold; margin-top: 20px; }

/* --- Seção 02: Mapa --- */
.location-section {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.location-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px; margin: 0 auto;
}

.map-visual {
    position: relative;
    display: flex; justify-content: flex-end;
}

.map-wrapper { position: relative; width: 100%; }
.map-image { width: 100%; height: auto; display: block; }
.flowers-decor { position: absolute; bottom: -30px; right: -20px; width: 240px; z-index: 15; }
.bird-extreme-left { position: absolute; left: -60px; top: 15%; width: 200px; }
.bird-extreme-right { position: absolute; right: -50px; top: 45%; width: 160px; transform: scaleX(-1); }
.bird-inner { position: absolute; top: 10%; left: 45%; width: 70px; z-index: 12; }

/* --- Seção Programas --- */
.programas-section { padding: 100px 0; background-color: #fff; }
.container-cards { max-width: 1050px; margin: 0 auto; padding: 0 40px; }
.programas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.programa-card { text-align: center; }

.card-shape {
    position: relative; padding: 10px 14px 14px 10px;
    margin-bottom: 20px; display: block;
    transition: transform 0.3s ease; cursor: pointer;
}
.card-shape img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; position: relative; z-index: 2; }

/* Formas Coloridas */
.shape-magenta { background: #ff32b4; border-radius: 45% 55% 40% 60% / 60% 40% 60% 40%; }
.shape-magenta img { border-radius: 40% 50% 35% 55% / 55% 35% 55% 35%; }
.shape-blue { background: #1fb3ff; border-radius: 60% 40% 70% 30% / 40% 50% 50% 60%; }
.shape-blue img { border-radius: 55% 35% 65% 25% / 35% 45% 45% 55%; }
.shape-green { background: #04cfa5; border-radius: 35% 65% 50% 50% / 50% 35% 65% 50%; }
.shape-green img { border-radius: 30% 60% 45% 45% / 45% 30% 60% 45%; }
.shape-orange { background: #ffaf01; border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%; }
.shape-orange img { border-radius: 45% 45% 25% 65% / 45% 55% 35% 45%; }

.programa-card h3 { font-family: 'Fredoka', sans-serif; font-size: 1.2rem; margin: 10px 0 5px; font-weight: 600; }
.programa-card p { font-size: 0.85rem; color: #666; }

.play-overlay {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(5px);
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.5rem; transition: all 0.3s ease;
    z-index: 10; border: 2px solid rgba(255, 255, 255, 0.5);
}

/* Adiciona o efeito de hover do botão play também para os recortes curvos */
.blob-wrapper:hover .play-overlay { 
    background: var(--magenta); 
    transform: translate(-50%, -50%) scale(1.1); 
    border-color: white; 
}
.card-shape:hover .play-overlay { background: var(--magenta); transform: translate(-50%, -50%) scale(1.1); border-color: white; }

/* --- Detalhes --- */
.detalhes-section { padding: 80px 0 0 0; position: relative; background: #fff; overflow: hidden; }
.content-wrapper { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 20px; align-items: center; }

.titulo-magenta { color: #ff32b4; font-family: 'Fredoka', sans-serif; font-size: 2.2rem; margin: 5px 0; }
.subtitulo-italico { font-style: italic; font-weight: 600; color: #444; margin-bottom: 15px; }

.col-visual { display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; }
.blob-container { width: 280px; height: 280px; position: relative; }
.blob-baixo { margin-top: -40px; margin-left: 20px; }
.moldura-blob { width: 100%; height: 100%; padding: 12px; display: flex; align-items: center; justify-content: center; }
.magenta-bg { background: #e91e63; border-radius: 40% 60% 70% 30% / 40% 40% 60% 60%; }
.magenta-bg img { width: 100%; height: 100%; object-fit: cover; border-radius: 35% 55% 65% 25% / 35% 35% 55% 55%; }
.azul-bg { background: #1fb3ff; border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
.video-blob { width: 100%; height: 100%; object-fit: cover; border-radius: 55% 35% 25% 65% / 55% 25% 65% 35%; }

.col-left { text-align: right; padding-right: 20px; }
.col-right { text-align: left; padding-left: 20px; }
.col-right h3 { font-family: 'Fredoka', sans-serif; font-size: 1.8rem; margin-bottom: 10px; color: #111; }


   

.quebra-rosa { width: 100%; margin-bottom: 20px; height: 60px; background-color: #ff32b4; margin-top: 50px; border-radius: 0 0 100% 100%; }
.quebra-rosa-end { width: 100%; height: 60px; background-color: #ff32b4; margin-top: 50px; border-radius: 0% 0% 100% 100% / 0% 0% 100% 100%; }

/* --- Aprender --- */
.aprender-section { position: relative; background: #fff; padding: 80px 0; overflow: hidden; }
.faixa-topo { position: absolute; top: 0; left: 0; width: 100%; height: 40px; background: #1fb3ff; border-radius: 100% 100% 0 0; }
.faixa-topo-end { position: absolute; top: 0; left: 0; width: 100%; height: 40px; background: #1fb3ff; border-radius: 0 0 100% 100%; }

.faixa-base { position: absolute; bottom: 0; left: 0; width: 100%; height: 40px; background: #2ecc71; border-radius: 100% 100% 0 0; }
.aprender-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: flex-start; }
.titulo-azul { font-family: 'Fredoka', sans-serif; font-size: 2.8rem; color: #1fb3ff; margin: 10px 0; }
.aprender-item { display: flex; align-items: center; gap: 30px; margin-bottom: 60px; }
.circulo-media { width: 160px; height: 160px; border-radius: 50%; overflow: hidden; position: relative; flex-shrink: 0; box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.aprender-info h3 { font-family: 'Fredoka', sans-serif; font-size: 1.5rem; margin-bottom: 10px; color: #111; }
.icone-flutuante { position: absolute; width: 100px; opacity: 0.9; }
.lampada { top: 4px; right: 450px; transform: rotate(-10deg); }
.livro { bottom: 2px; left: px; width: 180px; transform: rotate(12deg); z-index: 5; }


/* --- Modal Video --- */
.video-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); display: none; align-items: center; justify-content: center; z-index: 9999; opacity: 0; transition: opacity 0.4s ease; }
.video-modal.active { display: flex; opacity: 1; }
.video-modal-content { position: relative; width: 80%; max-width: 800px; transform: scale(0.7); transition: transform 0.4s; }
.video-modal.active .video-modal-content { transform: scale(1); }
.video-modal video { width: 100%; border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.video-close { position: absolute; top: -40px; right: 0; font-size: 2.5rem; color: white; cursor: pointer; }

/* --- Territórios --- */
.territorios-section { position: relative; background: #fff; padding: 120px 0 80px 0; overflow: visible; }
.faixa-topo-verde { position: absolute; top: 0; left: 0; width: 100%; height: 45px; background-color: #04cfa5; border-radius: 100% 100% 0 0 / 100% 100% 0 0; }
.territorios-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: flex-start; }
.titulo-verde { font-family: 'Fredoka', sans-serif; font-size: 3.5rem; color: #04cfa5; margin: 10px 0; line-height: 1; }
.territorios-projetos { position: relative; padding-left: 100px; }
.projeto-item { display: flex; align-items: center; gap: 30px; margin-bottom: 40px; position: relative; z-index: 2; }
.blob-wrapper { width: 180px; height: 180px; flex-shrink: 0; position: relative; display: flex; align-items: center; justify-content: center; padding: 10px; cursor: pointer; }
.blob-wrapper img, .blob-wrapper video { width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.shape-verde-territorio { background: #04cfa5; border-radius: 40% 60% 40% 60% / 60% 40% 60% 40%; }
.shape-verde-territorio img, .shape-verde-territorio video { border-radius: 35% 55% 35% 55% / 55% 35% 55% 35%; }
.shape-azul-territorio { background: #04cfa5; border-radius: 50% 50% 30% 70% / 50% 30% 70% 50%; }
.shape-azul-territorio img, .shape-azul-territorio video { border-radius: 45% 45% 25% 65% / 45% 25% 65% 45%; }
.decor-aspas { position: absolute; top: -50px; left: 220px; width: 116px; z-index: 2; }
.decor-sol-final { position: absolute; left: -110px; bottom: -20px; width: 250px; z-index: 0; pointer-events: none; }
.projeto-info h3 { font-family: 'Fredoka', sans-serif; font-size: 1.5rem; margin-bottom: 5px; }

/* --- Voluntariado --- */
.voluntariado-section { position: relative; background: #fff; padding: 0px 0; overflow: hidden; }
.faixa-topo-laranja { position: absolute; top: 0; left: 0; width: 100%; height: 50px; background: #f9a825; border-radius: 100% 100% 15% 15% / 40% 40% 0% 0%; }






.voluntariado-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.titulo-laranja { font-family: 'Fredoka', sans-serif; font-size: 2.8rem; color: #f9a825; margin: 10px 0 25px 0; }
.chamada-clique { margin-top: 30px; font-weight: 600; color: #f9a825; font-size: 0.9rem; }
.voluntariado-item { display: flex; align-items: center; gap: 25px; margin-bottom: 40px; }
.voluntariado-midias .card-shape { width: 180px; height: 180px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.shape-orange-irregular { background: #f9a825; border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; padding: 12px; }
.shape-orange-irregular img { border-radius: 25% 65% 65% 25% / 25% 25% 65% 65%; }
.shape-yellow-irregular { background: #ffca28; border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; padding: 12px; }
.shape-yellow-irregular img { border-radius: 55% 35% 25% 65% / 55% 25% 65% 35%; }
.voluntariado-info h3 { font-family: 'Fredoka', sans-serif; font-size: 1.6rem; margin-bottom: 8px; }

/* --- SEÇÃO OPORTUNIDADES (ATUALIZADA) --- */
.oportunidades-section {
    padding: 100px 0;
    background-color: #fff;
    position: relative; 
    overflow: hidden; /* Mantém o laptop cortado se necessário */
}

.container-relativo {
    position: relative; 
    z-index: 2; /* Texto fica acima do laptop */
}

.oportunidades-intro {
    text-align: center; max-width: 1000px; margin: 0 auto 80px;
}
.oportunidades-intro p {
    font-size: 1rem; line-height: 1.6; color: #555; margin-bottom: 15px;
}

.oportunidades-flex {
    display: flex; justify-content: center; align-items: flex-start;
    gap: 100px; flex-wrap: wrap;
}

.oportunidade-item {
    text-align: center; width: 300px; display: flex; flex-direction: column; align-items: center;
}

.card-titulo {
    font-family: 'Fredoka', sans-serif; font-size: 1.4rem; margin-bottom: 30px; font-weight: 600; color: #222;
}

/* Shapes Oportunidades */
.shape-desenhado {
    width: 240px; height: 240px; margin: 0 auto 30px;
    position: relative; display: flex; align-items: center; justify-content: center; z-index: 1;
}
.shape-desenhado::before {
    content: ''; position: absolute; top: -15px; left: -15px; width: 100%; height: 100%;
    border-radius: inherit; z-index: -1; transform: rotate(-3deg);
}

/* Estilo Amarelo */
.amarelo-pencil {
    background-color: #ffd600; border-radius: 30px 20px 40px 25px; 
    transform: rotate(2deg); box-shadow: 5px 5px 15px rgba(0,0,0,0.1); overflow: hidden;
}
.amarelo-pencil::before {
    background-color: #1a237e; border-radius: 25px 35px 20px 40px; 
}
.img-lapis-interno {
    width: 75%; height: auto; display: block; filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.15));
}

/* Estilo Azul */
.azul-solid {
    background-color: #1a237e; color: #fff; border-radius: 25px 40px 25px 35px;
    transform: rotate(-1deg); padding: 20px; box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
}
.azul-solid::before {
    background-color: #1fb3ff; top: -12px; left: -12px;
    border-radius: 40px 25px 35px 20px; transform: rotate(4deg);
}
.txt-chamada {
    font-family: 'Fredoka', sans-serif; font-size: 1.5rem; line-height: 1.2; font-weight: 500;
}
.card-desc {
    font-size: 0.9rem; line-height: 1.5; color: #666; margin-top: 10px;
}
.card-desc a {
    color: #1a237e; font-weight: bold; text-decoration: underline;
}

/* Laptop na Borda Direita */
.oportunidade-decor {
    position: absolute;
    bottom: -60px; /* Ajuste fino */
    right: 0;      /* COLADO NA DIREITA */
    width: 35%;    
    max-width: 450px; 
    min-width: 300px;
    z-index: 1;
    pointer-events: none;
}
.img-laptop { width: 100%; display: block; margin-bottom: 150px; }


/* --- QUEBRA ONDULADA AZUL MARINHO (ENTRE SEÇÕES) --- */
.quebra-azul-onda {
    width: 100%;
    height: 70px; /* Altura da onda */
    background-color: #1a237e; /* Azul Marinho */
    margin-top: -5px; /* Evita linhas brancas */
    margin-bottom: -1px; 
    
    /* Cria a onda arredondada no topo */
    border-radius: 100% 100% 0 0 / 100% 30% 0 0; 
    
    position: relative;
    z-index: 5; /* Fica acima de elementos adjacentes para cobrir imperfeições */
}


/* --- SEÇÃO RESULTADOS EDITAIS (ATUALIZADA) --- */
.resultados-section {
    padding: 50px 0 100px 0; /* Padding top menor pois a onda já dá espaço */
    position: relative;
    background-color: #fff; 
    overflow: hidden;
}

/* Blob Verde */
.decor-blob-verde {
    position: absolute; top: 50px; left: -100px; width: 600px; height: 600px;
    background-color: #50c899; 
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: 0; opacity: 0.9;
}

.container-resultados {
    position: relative; z-index: 2; display: flex; justify-content: flex-start;
}
.cards-resultados-wrapper { max-width: 700px; width: 100%; }

/* Cards */
.resultado-card {
    padding: 30px; margin-bottom: 30px; border-radius: 15px; color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.resultado-card h3 {
    font-family: 'Fredoka', sans-serif; font-size: 1.6rem; margin: 0 0 15px 0;
    text-transform: uppercase; font-weight: 700;
}
.linha-divisoria {
    border: 0; height: 1px; background: rgba(255, 255, 255, 0.5); margin-bottom: 20px;
}
.info-projeto p { font-size: 1rem; line-height: 1.5; margin-bottom: 8px; }
.info-projeto strong { font-weight: 700; }

.card-azul-escuro { background: linear-gradient(90deg, #0056b3 0%, #007bff 100%); }
.card-azul-claro { background: linear-gradient(90deg, #008ecc 0%, #00b4db 100%); }

/* Prédio na Borda Direita */
.decor-predio-wrapper {
    position: absolute;
    bottom: -60px; 
    right: 0;      /* COLADO NA DIREITA */
    width: 35%;    
    max-width: 450px;
    min-width: 280px;
    z-index: 1; pointer-events: none;
}
.img-predio { width: 100%; display: block; }

/* Responsividade Geral */
@media (max-width: 1024px) {
    .oportunidades-flex { gap: 60px; }
    .oportunidade-decor {
        position: relative; width: 300px; right: auto; bottom: auto; margin: 60px auto -40px; display: block;
    }
    
    .cards-resultados-wrapper { max-width: 100%; margin-bottom: 250px; }
    .decor-blob-verde { width: 400px; height: 400px; left: -50px; }
    .decor-predio-wrapper { width: 300px; opacity: 0.6; }
}


/* --- Ajuste da Logo no Header --- */
.logo a {
    display: block; /* Remove espaços extras de links */
}

.logo-img {
    max-height: 50px; /* Define a altura máxima para caber no menu */
    width: auto;      /* Mantém a proporção */
    display: block;
}

/* Ajuste para mobile, se necessário */
@media (max-width: 768px) {
    .logo-img {
        max-height: 40px; /* Um pouco menor em telas pequenas */
    }
}





/* --- Botão WhatsApp Flutuante --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #FFF;
}

/* Tooltip (balãozinho de texto) */
.tooltip-whatsapp {
    position: absolute;
    right: 70px;
    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    font-family: 'Open Sans', sans-serif;
}

.whatsapp-float:hover .tooltip-whatsapp {
    opacity: 1;
    visibility: visible;
}

/* Ajuste para Mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 30px;
    }
    .tooltip-whatsapp {
        display: none; /* Esconde o texto no celular para não cobrir a tela */
    }
}

/* --- FOOTER --- */
.footer-site {
    /* Degradê linear mais fiel à imagem: Amarelo -> Verde Musgo -> Azul Turquesa */
    background: linear-gradient(90deg, #d8cc41 0%, #a4c478 50%, #6ec0c5 100%);
    padding: 30px 0;
    font-family: 'Open Sans', sans-serif;
    color: #113661; /* Azul escuro da imagem */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* Ajuste das labels (Contato, Assessoria, Acompanhe...) */
.footer-label, .footer-label-social {
    display: block;
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 2px;
}

.footer-label-social {
    margin-bottom: 15px;
}

.footer-value {
    display: block;
    font-weight: 400;
    font-size: 1rem;
    margin-bottom: 15px;
    text-decoration: none;
    color: inherit;
}

.footer-value a {
    text-decoration: none;
    color: inherit;
}

/* Redes Sociais na mesma linha */
.social-icons-row {
    display: flex;
    gap: 25px;
}

.social-icons-row a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #113661;
    font-weight: 600;
}

.social-icons-row i {
    font-size: 1.2rem;
    /* Cor específica dos ícones da imagem (amarelo/alaranjado) */
    color: #f1c40f; 
}

/* Responsividade para não quebrar o layout */
@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
}



/* --- HERO SLIDER --- */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 600px; /* Altura do banner */
    overflow: hidden;
    margin-top: -5px; /* Ajuste fino para colar no header */
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Slides */
.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.slide.active {
    display: block;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6); /* Escurece a imagem para o texto aparecer */
}

/* Conteúdo do Texto sobre o Banner */
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 20px;
    z-index: 2;
    color: #fff;
}

.text-box {
    max-width: 600px;
    animation: slideUp 0.8s ease-out;
}

.tag-slide {
    background-color: #fdb004;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
}
.tag-slide.azul { background-color: #1fb2ff; }
.tag-slide.verde { background-color: #4caf50; }

.text-box h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 0 0 20px 0;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.text-box p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 600;
}

/* Botão do Slide */
.btn-slide {
    padding: 12px 30px;
    background-color: #fff;
    color: var(--magenta);
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: all 0.3s;
    display: inline-block;
}

.btn-slide:hover { transform: scale(1.05); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.btn-slide.btn-azul { color: #1fb3ff; }
.btn-slide.btn-verde { color: #4caf50; }

/* Animação de Entrada do Texto */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Fade Effect */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* Setas de Navegação */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    z-index: 10;
}
.next { right: 0; border-radius: 3px 0 0 3px; }
.prev:hover, .next:hover { background-color: rgba(0,0,0,0.5); }

/* Pontinhos (Dots) */
.dots-container {
    position: absolute;
    bottom: 80px; /* Acima da onda */
    width: 100%;
    text-align: center;
    z-index: 10;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active, .dot:hover { background-color: #fff; transform: scale(1.2); }

/* Onda Decorativa (SVG) */
.custom-shape-divider-bottom-1678 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1678 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.custom-shape-divider-bottom-1678 .shape-fill {
    fill: #FFFFFF; /* Cor de fundo da próxima seção */
}

/* Responsivo */
@media (max-width: 768px) {
    .hero-slider-section { height: 500px; }
    .text-box h2 { font-size: 2.2rem; }
    .prev, .next { padding: 10px; font-size: 18px; }
}   


/* --- AJUSTES MOBILE (Cole isso no final do seu CSS) --- */
@media (max-width: 768px) {

    /* 1. OCULTAR ELEMENTOS DECORATIVOS */
    .decor-pencil,          /* Lápis da primeira seção */
    .decor-curve-line,      /* Linha curva */
    .flowers-decor,         /* Flores no mapa */
    .bird-extreme-left,     /* Pássaros */
    .bird-extreme-right,
    .bird-inner,
    .heart,                 /* Corações flutuantes */
    .icone-flutuante,       /* Lâmpada e Livro */
    .lampada,
    .livro,
    .decor-aspas,           /* Aspas decorativas */
    .decor-sol-final,       /* Sol no rodapé */
    .img-lapis-interno,     /* Imagem do lápis dentro do card */
    .oportunidade-decor,    /* Laptop na lateral */
    .decor-blob-verde,      /* Mancha verde de fundo */
    .decor-predio-wrapper { /* Prédio na lateral */
        display: none !important;
    }

    /* 2. AJUSTAR GRIDS PARA COLUNA ÚNICA (Informação Legível) */
    .grid-layout,
    .location-grid,
    .programas-grid,
    .content-wrapper,
    .aprender-grid,
    .territorios-grid,
    .voluntariado-grid,
    .oportunidades-flex,
    .footer-content {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        width: 100% !important;
    }

    /* 3. SIMPLIFICAR SHAPES COMPLEXOS (Cards de Oportunidades) */
    /* Remove a rotação e o formato de lápis dos cards para o texto caber bem no celular */
    .shape-desenhado {
        width: 100% !important;
        height: auto !important;
        margin: 0 0 30px 0 !important;
    }

    .amarelo-pencil, 
    .azul-solid {
        transform: rotate(0deg) !important; /* Remove inclinação */
        border-radius: 20px !important;     /* Borda normal */
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box; /* Garante que o padding não estoure a tela */
    }
    
    /* Remove as "pontas" dos lápis feitos em CSS */
    .amarelo-pencil::before, 
    .azul-solid::before,
    .shape-desenhado::before {
        display: none !important;
    }

    /* 4. AJUSTES GERAIS DE ESPAÇAMENTO E TAMANHO */
    .container-largo, 
    .container-cards, 
    .header-content,
    .aprender-section,
    .territorios-projetos {
        padding-left: 20px !important;
        padding-right: 20px !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    /* Reduzir títulos muito grandes no mobile */
    .title, 
    .titulo-magenta, 
    .titulo-azul, 
    .titulo-verde, 
    .titulo-laranja,
    .text-box h2 {
        font-size: 2rem !important; /* Diminui a fonte para não quebrar */
        text-align: center;
        line-height: 1.2;
    }

    /* Centralizar textos e imagens */
    .col-visual, 
    .col-left, 
    .col-right,
    .instituto-section,
    .programas-card {
        text-align: center !important;
        align-items: center !important;
    }

    /* Ajuste específico para a imagem principal */
    .photo-wrapper {
        width: 100%;
        border-radius: 20px;
    }
    
    .photo-info-overlay {
        width: 90%; /* Ocupa mais espaço para ler melhor */
        padding: 20px;
    }

    /* Menu Hamburguer (simplificado para não quebrar) */
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    .menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}


.subtitle-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.icon-secao {
    height: 75px; /* Altura padronizada para todos os ícones */
    width: auto;
    display: block;
}



/* --- Introdução da Seção Programas --- */
.programas-intro {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 60px; /* Cria um espaço bacana antes de começarem os cards */
}

.title-wrapper-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px; /* Espaço entre o título e a imagem */
    margin-bottom: 25px;
    flex-wrap: wrap; /* Garante que não quebre no celular */
}

.title-wrapper-center .title {
    margin-bottom: 0; /* Remove a margem padrão do título para centralizar perfeitamente com o ícone */
}

.icon-title {
    height: 55px; /* Ajuste essa altura conforme o tamanho real do seu ícone */
    width: auto;
    display: block;
}

.programas-intro .description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.secao-oculta {
            display: none; /* Esconde todas as seções por padrão */
        }
        .secao-oculta.ativa {
            display: block; /* Mostra a seção quando for clicada */
            animation: fadeInPrograma 0.6s ease-out forwards;
        }
        @keyframes fadeInPrograma {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* --- NOVOS ESTILOS: AVISO MODERNO E RESPIRO --- */
        .aviso-wrapper {
            text-align: center;
            margin-top: 45px; /* Respiro do texto anterior */
            margin-bottom: 55px; /* Empurra os cards para baixo */
        }
        
        .aviso-clique-moderno {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            color: #333;
            padding: 14px 30px;
            border-radius: 50px;
            font-family: 'Fredoka', sans-serif;
            font-weight: 600;
            font-size: 1.1rem;
            box-shadow: 0 8px 25px rgba(0,0,0,0.06);
            border: 1px solid rgba(224, 0, 120, 0.2); 
            animation: pulseAviso 2.5s infinite;
            cursor: default;
            transition: all 0.3s ease;
        }

        .aviso-clique-moderno:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 30px rgba(224, 0, 120, 0.2);
            animation-play-state: paused;
        }

        .aviso-clique-moderno i {
            color: #e00078; 
            font-size: 1.3rem;
        }

        @keyframes pulseAviso {
            0% { transform: scale(1); box-shadow: 0 8px 25px rgba(0,0,0,0.06); }
            50% { transform: scale(1.02); box-shadow: 0 12px 30px rgba(224, 0, 120, 0.18); }
            100% { transform: scale(1); box-shadow: 0 8px 25px rgba(0,0,0,0.06); }
        }