/* ==========================================================================
   ÍNDICE
   01. Variáveis e Globais
   02. Animações e Classes Utilitárias
   03. Botões e Componentes Reutilizáveis
   04. Cabeçalho e Navegação (Header)
   05. Rodapé (Footer)
   06. Secções Globais (Títulos, Heros, Modais)
   07. Página: Home (Slider, Action Cards, About Preview)
   08. Página: Quem Somos
   09. Página: Galeria
   10. Página: Eventos e Blog
   11. Página: Como Ajudar
   12. Página: Prestação de Contas
   13. Página: FAQ
   14. Página: Contacto e Mapa
   ========================================================================== */

/* ==========================================================================
   01. VARIÁVEIS E GLOBAIS
   ========================================================================== */
:root {
    /* Paleta de Cores Padronizada */
    --blue: #252850; 
    --blue-dark: #1b1d3a;
    --yellow: #f1c40f;
    --yellow-hover: #d4ac0d;
    --white: #ffffff;
    --light-bg: #f4f6f8;
    --text-dark: #333333;
    --radius: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark); 
    line-height: 1.6; 
    background-color: var(--white); 
}

h1, h2, h3, h4, h5, h6, .logo, .action-title, .footer-title, .year-header {
    font-family: 'Roboto', sans-serif;
}

.container { 
    width: 90%; 
    max-width: 1100px; 
    margin: 0 auto; 
}

/* ==========================================================================
   02. ANIMAÇÕES E CLASSES UTILITÁRIAS
   ========================================================================== */
.animate-on-scroll {
    /* Mude de 0 para 1 temporariamente para testar se os elementos aparecem */
    opacity: 0; 
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, visibility;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

.bg-light { background-color: var(--light-bg); }
.text-center { text-align: center; }
.custom-radius { border-radius: 12px; }
.shadow-lg { box-shadow: 0 15px 35px rgba(0,0,0,0.15); }

/* Inversão de colunas em monitores grandes */
.row-reverse { direction: rtl; } 
.reset-direction { direction: ltr; } 

/* ==========================================================================
   03. BOTÕES E COMPONENTES REUTILIZÁVEIS
   ========================================================================== */
.btn { 
    display: inline-block; 
    padding: 12px 25px; 
    border-radius: 25px; 
    text-decoration: none; 
    font-weight: bold; 
    cursor: pointer; 
    transition: 0.3s; 
    border: none; 
    text-align: center; 
    font-size: 0.9rem; 
    font-family: 'Roboto', sans-serif;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary { background: transparent; border: 2px solid var(--blue); color: var(--blue); }
.btn-secondary:hover { background: var(--blue); color: var(--white); }
.btn-outline-white { background: transparent; border: 2px solid var(--white); color: var(--white); padding: 10px 30px; border-radius: 30px;}
.btn-outline-white:hover { background: var(--white); color: var(--blue); }
.btn-yellow { background: var(--yellow); color: var(--blue-dark); font-weight: 800; padding: 12px 25px;}
.btn-yellow:hover { background: var(--yellow-hover); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

.card img { width: 100%; border-radius: var(--radius); object-fit: cover; height: 250px; }

/* ==========================================================================
   04. CABEÇALHO E NAVEGAÇÃO (HEADER)
   ========================================================================== */
#main-header { 
    background: var(--white); 
    position: fixed; 
    top: 0; 
    left: 0;
    width: 100%;
    z-index: 1000; 
    transition: all 0.4s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

#main-header.scrolled {
    padding: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.header-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 15px 0; 
    transition: padding 0.4s ease;
}

#main-header.scrolled .header-container { padding: 5px 0; }

.logo img { 
    max-height: 70px; 
    width: auto; 
    object-fit: contain; 
    transition: max-height 0.4s ease;
}

#main-header.scrolled .logo img { max-height: 50px; }

.nav-menu ul { 
    list-style: none; 
    display: flex; 
    gap: 25px; 
    align-items: center; 
}

.nav-menu a { 
    text-decoration: none; 
    color: var(--blue); 
    font-weight: 600; 
    font-family: 'Roboto', sans-serif; 
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-menu a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--yellow);
    transition: width 0.3s ease;
}

.nav-menu a:not(.nav-cta):hover { color: var(--blue-dark); }
.nav-menu a:not(.nav-cta):hover::after { width: 100%; }

/* --- Indicador de Página Ativa (Menu com Patinha) --- */
.nav-menu a.active-page {
    color: var(--yellow) !important;
}

/* Mantém a linha amarela fixa embaixo do link ativo */
.nav-menu a:not(.nav-cta).active-page::after {
    width: 100%;
}

/* Insere o ícone de patinha antes do texto do link ativo */
.nav-menu a:not(.nav-cta).active-page::before {
    content: '\f1b0'; /* Código unicode do FontAwesome para fa-paw */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 8px;
    font-size: 0.9rem;
    display: inline-block;
    animation: pawPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Animação para a patinha "pular" ao carregar a página */
@keyframes pawPop {
    0% { transform: scale(0) rotate(-30deg); opacity: 0; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px !important;
    border-radius: 30px;
    color: var(--blue-dark) !important;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(241, 196, 15, 0.4); }

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--blue);
    transition: all 0.3s ease-in-out;
    border-radius: 3px;
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(0,0,0,0.6);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@media (max-width: 900px) {
    .hamburger { display: block; }
    
    .nav-menu {
        display: flex;
        position: fixed;
        right: -100%; 
        top: 0;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 100px; 
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.4s ease;
        z-index: 999;
    }

    .nav-menu.active { right: 0; }
    
    .nav-menu ul {
        display: flex !important; 
        position: static !important; 
        flex-direction: column;
        align-items: flex-start;
        padding: 0 30px;
        width: 100%;
        gap: 20px;
        background: transparent !important;
        box-shadow: none !important;
    }

    .nav-menu a { font-size: 1.1rem; width: 100%; display: block; }
    
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .menu-overlay.active { display: block; opacity: 1; }
}

/* ==========================================================================
   05. RODAPÉ (FOOTER)
   ========================================================================== */
.main-footer {
    background: var(--blue-dark); 
    color: var(--white);
    padding: 80px 0 20px;
    position: relative;
    font-size: 0.95rem;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: translateY(-99%); 
}
.footer-wave svg { display: block; width: calc(100% + 1.3px); height: 60px; }
.footer-wave .shape-fill { fill: var(--blue-dark); }

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.footer-info p { opacity: 0.8; line-height: 1.8; margin-bottom: 25px; }
.footer-logo { max-width: 160px; filter: brightness(0) invert(1); margin-bottom: 25px; transition: transform 0.3s; }
.footer-logo:hover { transform: scale(1.05); }

.footer-title {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
    font-family: 'Roboto', sans-serif;
}
.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--yellow);
    border-radius: 2px;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.footer-links a i { font-size: 0.7rem; color: var(--yellow); transition: transform 0.3s; }
.footer-links a:hover { opacity: 1; color: var(--yellow); transform: translateX(5px); }

.contact-list { list-style: none; }
.contact-list li { margin-bottom: 20px; display: flex; align-items: flex-start; gap: 15px; opacity: 0.9; }
.contact-list i { color: var(--yellow); font-size: 1.4rem; margin-top: 5px; }
.contact-list span { font-size: 0.85rem; opacity: 0.8; }
.contact-list strong { display: block; font-size: 1rem; color: var(--white); font-family: 'Open Sans', sans-serif;}

.social-icons { display: flex; gap: 10px; }
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.social-icons a:hover {
    background: var(--yellow);
    color: var(--blue-dark);
    border-color: var(--yellow);
    transform: translateY(-5px); 
}

.footer-pix-card {
    background: var(--white);
    padding: 25px;
    text-align: center;
    color: var(--text-dark);
    border-top: 4px solid var(--yellow);
    transform: translateY(-10px); 
}
.pix-card-title { color: var(--blue); font-size: 1.2rem; font-weight: 800; margin-bottom: 15px; font-family: 'Roboto', sans-serif; }
.qrcode-container { background: var(--light-bg); padding: 10px; border-radius: 8px; display: inline-block; margin-bottom: 15px; border: 1px solid #eee; }
.qrcode-container img { width: 120px; height: 120px; display: block; }
.footer-pix-card .pix-key-box { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.footer-pix-card .pix-key-box input {
    width: 100%;
    padding: 10px;
    background: var(--light-bg);
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: center;
    color: var(--blue-dark);
    font-family: monospace;
    font-size: 1rem;
    font-weight: bold;
}
.footer-pix-card .pix-text { font-size: 0.85rem; color: #666; font-weight: 600; margin: 0; }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 60px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    opacity: 0.6;
}

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 50px; }
    .footer-pix-card { transform: translateY(0); } 
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .footer-title::after { left: 50%; transform: translateX(-50%); } 
    .contact-list li { flex-direction: column; align-items: center; gap: 5px; }
    .contact-list i { margin-top: 0; }
    .social-icons { justify-content: center; }
    .footer-links a { justify-content: center; }
    .footer-links a:hover { transform: translateX(0) translateY(-2px); }
}

/* ==========================================================================
   06. SECÇÕES GLOBAIS (Títulos, Heros, Modais)
   ========================================================================== */
.section-subtitle {
    color: var(--yellow-hover);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.section-title { color: var(--blue); font-size: 2.2rem; margin-bottom: 20px; }

.internal-hero {
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    color: var(--white);
    margin-bottom: 40px;
}
.hero-title { font-size: 2.8rem; color: var(--yellow); margin-bottom: 10px; font-family: 'Roboto', sans-serif; }
.hero-subtitle { font-size: 1.2rem; opacity: 0.9; }

/* Modais e Lightbox */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.8); }
.modal-content { margin: 5% auto; display: block; max-width: 80%; max-height: 80vh; object-fit: contain; }
.close-modal { position: absolute; top: 20px; right: 35px; color: #fff; font-size: 40px; font-weight: bold; cursor: pointer; z-index: 10; transition: color 0.3s; }
.close-modal:hover { color: var(--yellow); }

.animated-modal {
    display: none; 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,0.9);
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%; z-index: 2000;
}
.animated-modal.show { opacity: 1; visibility: visible; }
.animated-modal .modal-content {
    transform: scale(0.7); 
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    max-height: 90vh;
    max-width: 90vw;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin: 0; 
}
.animated-modal.show .modal-content { transform: scale(1); }

/* ==========================================================================
   07. PÁGINA: HOME
   ========================================================================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: calc(100vh - 90px); 
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: var(--blue-dark);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    z-index: 1;
}

.slide.active { opacity: 1; z-index: 2; }

.slide-content h2 { font-size: 3.5rem; margin-bottom: 15px; transform: translateY(30px); opacity: 0; transition: all 0.8s ease-in-out 0.3s; }
.slide-content p { font-size: 1.2rem; margin-bottom: 30px; transform: translateY(30px); opacity: 0; transition: all 0.8s ease-in-out 0.5s; }
.slide-content .btn { transform: translateY(30px); opacity: 0; transition: all 0.8s ease-in-out 0.7s; }

.slide.active .slide-content h2,
.slide.active .slide-content p,
.slide.active .slide-content .btn { transform: translateY(0); opacity: 1; }

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(37, 40, 80, 0.4);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s, transform 0.2s;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-btn:hover { background: var(--yellow); color: var(--blue-dark); transform: translateY(-50%) scale(1.1); }
.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

.action-cards-section { padding: 40px 0; background-color: var(--white); }
.action-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 15px; }
.action-card { background-color: var(--blue); color: var(--white); padding: 50px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: space-between; min-height: 400px; border-radius: var(--radius);}
.action-icon { margin-bottom: 20px; color: var(--white); }
.action-title { color: var(--yellow); font-size: 1.6rem; margin-bottom: 20px; font-weight: 700; letter-spacing: 1px;}
.action-text { font-size: 0.95rem; line-height: 1.6; margin-bottom: 30px; flex-grow: 1; opacity: 0.9;}

@media (max-width: 768px) {
    .slide-content h2 { font-size: 2.2rem; }
    .slider-btn { width: 40px; height: 40px; font-size: 1.2rem; }
}

/* ==========================================================================
   08. PÁGINA: QUEM SOMOS
   ========================================================================== */
.about-preview { padding: 80px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-text p { font-size: 1.1rem; color: #555; margin-bottom: 30px; }
.about-image { position: relative; }
.about-image .img-fluid { width: 100%; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 5px solid var(--yellow);
}
.floating-badge i { font-size: 2rem; color: var(--yellow); }
.badge-text { display: flex; flex-direction: column; }
.badge-number { font-size: 1.5rem; font-weight: 900; color: var(--blue); line-height: 1; }
.badge-label { font-size: 0.85rem; color: #666; font-weight: 600; text-transform: uppercase; }

.about-story { padding-bottom: 80px; }
.about-space { padding: 80px 0; }

.space-list { list-style: none; margin-top: 25px; }
.space-list li { margin-bottom: 20px; font-size: 1.05rem; display: flex; align-items: flex-start; gap: 15px; color: var(--text-dark); }
.space-list li i {
    color: var(--yellow);
    font-size: 1.4rem;
    background: var(--blue-dark);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0; 
}
.space-list li strong { color: var(--blue); display: block; margin-bottom: 3px; }

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .floating-badge { left: 50%; transform: translateX(-50%); bottom: -15px; width: max-content; }
    .section-title { font-size: 1.8rem; }
    .row-reverse { direction: ltr; } 
    .space-list li { flex-direction: column; align-items: center; text-align: center; }
}

/* ==========================================================================
   09. PÁGINA: GALERIA
   ========================================================================== */
.gallery-preview { padding: 80px 0; }
.modern-gallery .gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.modern-gallery img { width: 100%; height: 300px; object-fit: cover; transition: transform 0.5s ease; display: block; }
.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(37, 40, 80, 0.7); 
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modern-gallery .gallery-item:hover img { transform: scale(1.1); }
.modern-gallery .gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-page-section { padding-bottom: 80px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.gallery-item-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    aspect-ratio: 1 / 1; 
}
.gallery-item-wrap .gallery-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.zoom-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(37, 40, 80, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; 
}
.zoom-overlay i {
    color: var(--yellow);
    font-size: 3rem;
    transform: scale(0.5);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.gallery-item-wrap:hover .gallery-img { transform: scale(1.1); }
.gallery-item-wrap:hover .zoom-overlay { opacity: 1; }
.gallery-item-wrap:hover .zoom-overlay i { transform: scale(1); }

/* ==========================================================================
   10. PÁGINA: EVENTOS E BLOG
   ========================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.blog-card { border: 1px solid #ddd; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-content { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-content h3 { color: var(--blue); margin-bottom: 10px; }
.resumo { font-size: 0.95rem; color: #555; margin-bottom: 15px; flex-grow: 1; }
.blog-actions { display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; }

.article-reading-width { max-width: 800px; margin: 0 auto; padding-bottom: 80px; }
.article-main-img { width: 100%; max-height: 450px; object-fit: cover; margin-bottom: 40px; }
.article-text p { font-size: 1.15rem; line-height: 1.8; color: #444; margin-bottom: 20px; }
.article-text h3 { margin: 40px 0 20px; color: var(--blue); }

.share-bar { margin-top: 50px; padding: 30px; background: var(--light-bg); border-radius: var(--radius); text-align: center; border-left: 5px solid var(--yellow); }
.share-bar h4 { margin-bottom: 20px; color: var(--blue); }
.share-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.share-btn-social {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 30px;
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    transition: transform 0.2s, opacity 0.2s;
    border: none;
    cursor: pointer;
}
.share-btn-social:hover { transform: translateY(-3px); opacity: 0.9; }
.share-btn-social.whatsapp { background-color: #25D366; }
.share-btn-social.facebook { background-color: #1877F2; }
.share-btn-social.copy-link { background-color: var(--blue-dark); }
.article-footer { margin-top: 40px; padding-top: 30px; border-top: 1px solid #ddd; text-align: center; }

/* ==========================================================================
   11. PÁGINA: COMO AJUDAR
   ========================================================================== */
.donation-highlight-box { background: var(--blue); color: var(--white); padding: 50px; position: relative; overflow: hidden; }
.donation-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.donation-title { color: var(--yellow); font-size: 2.2rem; margin-bottom: 15px; }
.donation-text { font-size: 1.1rem; margin-bottom: 30px; opacity: 0.9; }
.pix-action-area { display: flex; gap: 20px; align-items: center; background: rgba(255,255,255,0.1); padding: 20px; border-radius: 12px; }
.qr-code-img { width: 120px; height: 120px; background: #fff; padding: 5px; border-radius: 8px; }
.pix-key-container { display: flex; flex-direction: column; flex-grow: 1; }
.pix-label { font-size: 0.9rem; color: var(--yellow); font-weight: 600; margin-bottom: 5px; }
.pix-key-container input { background: var(--white); border: none; padding: 12px; border-radius: 6px; font-family: monospace; font-size: 1.1rem; color: var(--text-dark); margin-bottom: 10px; text-align: center; }

.pulse-btn { animation: pulseWarning 2s infinite; }
@keyframes pulseWarning {
    0% { box-shadow: 0 0 0 0 rgba(241, 196, 15, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(241, 196, 15, 0); }
    100% { box-shadow: 0 0 0 0 rgba(241, 196, 15, 0); }
}

.donation-mascot { display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
.mascot-wrapper { position: relative; width: 200px; height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.jumping-dog { width: 150px; height: auto; z-index: 2; animation: jump 0.6s cubic-bezier(0.28, 0.84, 0.42, 1) infinite alternate; }
@keyframes jump {
    0% { transform: translateY(0) scaleY(0.9); }
    100% { transform: translateY(-40px) scaleY(1.05); }
}
.mascot-shadow { width: 100px; height: 15px; background: rgba(0,0,0,0.3); border-radius: 50%; margin-top: 10px; animation: shadowScale 0.6s cubic-bezier(0.28, 0.84, 0.42, 1) infinite alternate; }
@keyframes shadowScale {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(0.5); opacity: 0.2; }
}
.mascot-speech-bubble {
    background: var(--white); color: var(--blue-dark); padding: 10px 20px; border-radius: 20px; font-weight: bold; font-size: 0.95rem; position: relative; margin-top: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.2); animation: floatBubble 3s ease-in-out infinite;
}
.mascot-speech-bubble::before { content: ''; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); border-width: 0 10px 10px 10px; border-style: solid; border-color: transparent transparent var(--white) transparent; }
@keyframes floatBubble { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.story-card { background: var(--white); overflow: hidden; display: flex; flex-direction: column;}
.story-img { width: 100%; height: 250px; object-fit: cover; }
.story-content { padding: 30px; }
.story-content h4 { color: var(--blue); font-size: 1.4rem; margin-bottom: 10px; }
.story-content p { color: #555; line-height: 1.7; }

@media (max-width: 900px) {
    .donation-grid { grid-template-columns: 1fr; text-align: center; }
    .pix-action-area { flex-direction: column; }
    .mascot-speech-bubble { margin-top: 30px; }
}

/* ==========================================================================
   12. PÁGINA: PRESTAÇÃO DE CONTAS
   ========================================================================== */
.highlight-card { background: var(--white); padding: 30px 20px; border-top: 5px solid var(--yellow); }
.highlight-card i {font-size: 2.5rem;color: white;/* margin-bottom: 15px; */}
.highlight-card h4 { color: var(--blue-dark); margin-bottom: 10px; font-size: 1.2rem; }
.highlight-card p { font-size: 0.95rem; color: #666; line-height: 1.5; }

.accountability-section { background: var(--white); padding: 40px; border: none; border-left: 5px solid var(--blue); margin-bottom: 40px; }
.section-header { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid #eee; }
.section-header i { font-size: 2.5rem; color: var(--yellow); background: var(--blue-dark); width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; }
.year-section { margin-bottom: 35px;}
.year-header { background: var(--light-bg); color: var(--blue-dark); box-shadow: none; border: 1px solid #ddd; font-weight: 700; padding: 8px 20px; border-radius: 20px; display: inline-block; margin-bottom: 20px; font-size: 1.3rem; }
.year-header i { margin-right: 5px; }

.contracts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.contract-card { background: var(--light-bg); border: none; padding: 20px; transition: transform 0.2s; border-radius: var(--radius); }
.contract-card:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.contract-title { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; color: var(--blue-dark); border-bottom: none; margin-bottom: 15px; }
.contract-title i { color: var(--yellow-hover); }

.docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.docs-list-vertical { display: flex; flex-direction: column; gap: 10px; }
.btn-doc { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid #ddd; padding: 10px 15px; border-radius: 6px; color: #444; text-decoration: none; font-size: 0.9rem; font-weight: 600; transition: all 0.2s ease; }
.btn-doc i { font-size: 1.1rem; color: #ff5252; } 
.btn-doc.excel i { color: #21a366; } 
.btn-doc:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-doc:hover i { color: var(--yellow); }

@media (max-width: 768px) {
    .docs-grid { grid-template-columns: 1fr; }
    .accountability-section { padding: 25px; }
    .section-header { flex-direction: column; text-align: center; gap: 15px; }
}

/* ==========================================================================
   13. PÁGINA: FAQ
   ========================================================================== */
.accordion-container { max-width: 800px; margin: 0 auto; }
.accordion-item { background: var(--white); border-radius: var(--radius); margin-bottom: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #f0f0f0; overflow: hidden; transition: box-shadow 0.3s; }
.accordion-item:hover { box-shadow: 0 8px 25px rgba(0,0,0,0.08); }
.accordion-header {
    width: 100%; text-align: left; padding: 22px 25px; background: var(--white); border: none; cursor: pointer; font-size: 1.1rem; font-family: 'Roboto', sans-serif; font-weight: 700; color: var(--blue); display: flex; justify-content: space-between; align-items: center; transition: background 0.3s, color 0.3s;
}
.accordion-header:hover { background: #fdfdfd; color: var(--yellow-hover); }
.accordion-header::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--yellow); font-size: 1.1rem; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.accordion-header.active::after { transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; background: #fafbfc; }
.accordion-content p { padding: 20px 25px; margin: 0; color: #555; line-height: 1.7; border-top: 1px solid #eee; }

.faq-cta { max-width: 800px; margin: 50px auto 0; padding: 40px; background: var(--light-bg); border-top: 5px solid var(--blue); }

/* ==========================================================================
   14. PÁGINA: CONTACTO E MAPA
   ========================================================================== */
.contact-card { background: var(--white); padding: 40px; border-top: 5px solid var(--blue); }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; color: var(--blue); font-size: 0.95rem; }
.form-group input, .form-group textarea {
    width: 100%; padding: 10px; border-radius: 4px; font-family: 'Open Sans', sans-serif;
    background: var(--light-bg); border: 1px solid #e0e0e0; transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 8px rgba(241, 196, 15, 0.3); background: var(--white); }

.form-feedback { margin-top: 20px; padding: 15px; background: #d4edda; color: #155724; border-radius: var(--radius); font-weight: 600; text-align: center; border: 1px solid #c3e6cb; }

.contact-details-list { margin-top: 10px; }
.contact-details-list li { margin-bottom: 25px; }

.map-section { width: 100%; line-height: 0; display: block; padding: 0; }
.map-section iframe { width: 100%; height: 450px; display: block; filter: contrast(1.1) opacity(0.9) grayscale(10%); }

@media (max-width: 768px) {
    .contact-card { padding: 25px; }
}

/* ==========================================================================
   POPUP DE COOKIES (LGPD)
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: -100%; /* Começa escondido para a animação de entrada */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-left: 5px solid var(--yellow);
    transition: bottom 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.cookie-banner.show {
    bottom: 30px; /* Posição final na tela */
}
.cookie-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.cookie-icon {
    font-size: 2.2rem;
    color: var(--yellow);
    margin-top: 5px;
}
.cookie-text h4 {
    color: var(--blue-dark);
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-family: 'Roboto', sans-serif;
}
.cookie-text p {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
}
.cookie-text a {
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid rgba(37,40,80,0.2);
    transition: border-color 0.3s;
}
.cookie-text a:hover {
    border-color: var(--blue);
}
.cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 160px;
    flex-shrink: 0;
}
.cookie-actions .btn {
    width: 100%;
    padding: 10px 15px;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        bottom: -150%;
        padding: 20px;
    }
    .cookie-banner.show { bottom: 15px; }
    .cookie-actions { width: 100%; flex-direction: row; }
}