/* Variáveis de cores (mantendo o estilo da Calulo) */
:root {
    --orange: #FF6B00;
    --orange-light: #FF8C42;
    --orange-dark: #E55A00;
    --black: #333333;
    --dark-gray: #555555;
    --medium-gray: #777777;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --success: #4CAF50;
    --warning: #FF9800;
    --info: #2196F3;
    --green-light: #E8F5E9;
    --blue-light: #E3F2FD;
}

/* Hero Section específica para Projecto Social */
#projecto-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.8)), 
                url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 10rem 0 6rem;
    position: relative;
}

#projecto-hero:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--white), transparent);
}

#projecto-hero .hero-subtitle {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 1rem auto 2rem;
    color: var(--white);
    line-height: 1.6;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Projecto Content */
.projecto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

.projecto-imagem {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.imagem-container {
    position: relative;
    height: 100%;
}

.imagem-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.imagem-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(255, 107, 0, 0.9));
    padding: 2rem;
    color: white;
}

.overlay-text h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.descricao-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    border-top: 5px solid var(--orange);
}

.card-icon {
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 1.5rem;
}

.descricao-card h3 {
    color: var(--black);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.descricao-card p {
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.estatisticas {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 107, 0, 0.1);
}

.estatistica {
    text-align: center;
}

.numero {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.rotulo {
    font-size: 0.9rem;
    color: var(--medium-gray);
}

/* Missão Cards */
.projecto-missao {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.missao-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.missao-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(255, 107, 0, 0.15);
}

.missao-card i {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 1.5rem;
}

.missao-card h3 {
    color: var(--black);
    margin-bottom: 1rem;
}

.missao-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Infraestruturas */
.infraestruturas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.infraestrutura-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.infraestrutura-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
}

.infraestrutura-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 0, 0.15);
}

.infraestrutura-icon {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

.infraestrutura-card h3 {
    color: var(--black);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.infraestrutura-card ul {
    list-style: none;
    padding-left: 0;
}

.infraestrutura-card li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--dark-gray);
    line-height: 1.5;
}

.infraestrutura-card li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: bold;
}

/* Programas Detalhes */
.programas-detalhes {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    margin-top: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.programas-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.programa-item {
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 10px;
    border-left: 4px solid var(--orange);
}

.programa-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.programa-header i {
    font-size: 1.5rem;
    color: var(--orange);
}

.programa-header h4 {
    color: var(--black);
    margin: 0;
}

.programa-item p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin: 0;
}

/* Como Contribuir */
.contribuicao-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.chamada-accao {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark-gray);
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1), rgba(255, 140, 66, 0.1));
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 107, 0, 0.2);
}

.formas-contribuicao {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.forma-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.forma-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 107, 0, 0.15);
}

.forma-card.forma-principal {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    color: white;
}

.forma-icon {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

.forma-principal .forma-icon {
    color: white;
}

.forma-card h3 {
    color: var(--black);
    margin-bottom: 1rem;
}

.forma-principal h3,
.forma-principal h4,
.forma-principal p {
    color: white;
}

.forma-card p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.forma-principal p {
    color: rgba(255, 255, 255, 0.9);
}

.forma-card ul {
    list-style: none;
    padding-left: 0;
}

.forma-card li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--dark-gray);
}

.forma-card li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: bold;
}

.forma-principal li:before {
    color: white;
}

/* Dados Bancários */
.dados-bancarios {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.dados-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.rotulo {
    font-weight: 600;
    min-width: 120px;
    color: var(--orange);
}

.forma-principal .rotulo {
    color: white;
}

.valor {
    flex: 1;
    font-family: monospace;
    font-size: 1.1rem;
}

.copiar-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.copiar-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.patrono-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.patrono-detalhes {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.patrono-detalhes i {
    font-size: 2rem;
    color: white;
}

/* Categorias de Doações */
.categorias-doacoes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.categoria {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--orange);
}

.categoria h5 {
    color: var(--black);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.categoria ul {
    margin: 0;
}

.categoria li {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    padding-left: 1.2rem;
}

.categoria li:before {
    font-size: 0.8rem;
}

/* Apoio Mensal */
.apoio-mensal {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(255, 107, 0, 0.1);
}

.valores-sugeridos {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.valores-sugeridos span {
    padding: 0.5rem 1rem;
    background: var(--light-gray);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.valores-sugeridos span:hover {
    background: var(--orange);
    color: white;
}

/* CTA Final */
.cta-final {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.05), rgba(255, 140, 66, 0.05));
    border-radius: 20px;
    border: 2px solid rgba(255, 107, 0, 0.2);
}

.cta-mensagem {
    max-width: 800px;
    margin: 0 auto 2rem;
    position: relative;
}

.cta-mensagem i {
    font-size: 2rem;
    color: var(--orange);
    opacity: 0.3;
}

.cta-mensagem i:first-child {
    position: absolute;
    top: -10px;
    left: -20px;
}

.cta-mensagem i:last-child {
    position: absolute;
    bottom: -10px;
    right: -20px;
}

.mensagem-destaque {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--black);
    font-style: italic;
    padding: 0 2rem;
}

.cta-botoes {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-whatsapp {
    background: #25D366;
}

.btn-whatsapp:hover {
    background: #128C7E;
}

.btn-email {
    background: var(--info);
}

.btn-email:hover {
    background: #0b7dda;
}

/* Galeria Placeholder */
.galeria-placeholder {
    background: white;
    padding: 4rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin: 2rem 0;
}

.placeholder-content i {
    font-size: 4rem;
    color: var(--orange);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.placeholder-content h3 {
    color: var(--black);
    margin-bottom: 1rem;
}

.placeholder-content p {
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto 1rem;
    line-height: 1.6;
}

.placeholder-update {
    color: var(--orange);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--orange), var(--orange-light));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-end;
    padding-right: calc(50% + 30px);
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: calc(50% + 30px);
}

.timeline-data {
    position: absolute;
    top: 0;
    background: var(--orange);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-data {
    right: calc(50% - 15px);
}

.timeline-item:nth-child(even) .timeline-data {
    left: calc(50% - 15px);
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    width: calc(50% - 30px);
    border-top: 5px solid var(--orange);
}

.timeline-content h3 {
    color: var(--orange);
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: none;
    padding-left: 1.5rem;
}

.timeline-content li {
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--medium-gray);
}

.timeline-content li:before {
    content: '•';
    position: absolute;
    left: -1.5rem;
    color: var(--orange);
    font-weight: bold;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    animation: modalSlide 0.3s ease;
    position: relative;
}

@keyframes modalSlide {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--medium-gray);
    cursor: pointer;
    z-index: 2;
}

.modal-header {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px 20px 0 0;
    text-align: center;
}

.modal-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.modal-header h3 {
    color: white;
    margin: 0;
}

.modal-body {
    padding: 2rem;
}

.formas-pagamento {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.forma-pagamento {
    flex: 1;
    text-align: center;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.forma-pagamento:hover {
    border-color: var(--orange);
}

.forma-pagamento.ativa {
    border-color: var(--orange);
    background: rgba(255, 107, 0, 0.1);
}

.forma-pagamento i {
    font-size: 1.5rem;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.detalhes-pagamento {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
}

.info-bancaria p {
    margin-bottom: 0.8rem;
    font-family: monospace;
    background: white;
    padding: 0.8rem;
    border-radius: 5px;
    border-left: 3px solid var(--orange);
}

.copiar-todos {
    width: 100%;
    margin-top: 1rem;
}

/* Projecto Footer */
.projecto-footer {
    margin: 1rem 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.projecto-footer h4 {
    color: var(--orange);
    margin-bottom: 0.5rem;
}

/* Responsividade */
@media (max-width: 992px) {
    .projecto-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .imagem-container img {
        height: 300px;
    }
    
    .timeline:before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding: 0 0 0 80px;
        justify-content: flex-start;
    }
    
    .timeline-data {
        left: 0 !important;
        right: auto !important;
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .forma-card.forma-principal {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    #projecto-hero {
        padding: 8rem 0 4rem;
    }
    
    .projecto-missao {
        grid-template-columns: 1fr;
    }
    
    .infraestruturas-grid {
        grid-template-columns: 1fr;
    }
    
    .programas-container {
        grid-template-columns: 1fr;
    }
    
    .formas-contribuicao {
        grid-template-columns: 1fr;
    }
    
    .cta-botoes {
        flex-direction: column;
    }
    
    .cta-botoes .btn {
        width: 100%;
    }
    
    .formas-pagamento {
        flex-direction: column;
    }
    
    .estatisticas {
        flex-direction: column;
        gap: 1rem;
    }
    
    .estatistica {
        border-bottom: 1px solid rgba(255, 107, 0, 0.1);
        padding-bottom: 1rem;
    }
    
    .estatistica:last-child {
        border-bottom: none;
    }
}

@media (max-width: 576px) {
    .dados-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .rotulo {
        min-width: auto;
    }
    
    .categorias-doacoes {
        grid-template-columns: 1fr;
    }
    
    .mensagem-destaque {
        font-size: 1.1rem;
        padding: 0;
    }
    
    .cta-mensagem i {
        display: none;
    }
}