/* Reset e Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header/Navbar */
.main-nav {
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: block;
    transition: opacity 0.3s;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #333;
    transition: 0.3s;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #4CAF50;
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-donate-btn {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s !important;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.nav-donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

/* Footer */
.footer {
    background: var(--background-alt);
    padding: 60px 0 0;
    margin-top: 60px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    padding: 0 20px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-link.facebook {
    background: #1877F2;
}

.social-link.facebook:hover {
    background: #0d6ae4;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #e88b2e 0%, #e05f35 25%, #d1233d 50%, #bf205e 75%, #ad1679 100%);
}

.social-link.youtube {
    background: #FF0000;
}

.social-link.youtube:hover {
    background: #e60000;
}

.social-link.whatsapp {
    background: #25D366;
}

.social-link.whatsapp:hover {
    background: #20bd5a;
}

.social-link i {
    color: white;
    font-size: 1.2em;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #666;
    text-decoration: none;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.contact-item:hover {
    color: #01579B;
}

.contact-item i {
    color: #01579B;
    font-size: 1.2em;
    margin-top: 3px;
}

.newsletter-text {
    color: #666;
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    margin-bottom: 15px;
}

.input-group input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 25px 0 0 25px;
    font-size: 0.9em;
}

.input-group button {
    padding: 0 20px;
    background: #01579B;
    color: white;
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.input-group button:hover {
    background: #014477;
}

.privacy-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    color: #666;
}

.footer-bottom {
    background: var(--background-light);
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #01579B;
    text-decoration: none;
}

/* Responsividade */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .section {
        padding: 30px 15px;
    }

    .social-links {
        justify-content: center;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-link i {
        font-size: 1.1em;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #01579B 0%, #0277BD 100%);
    padding: 25px 0;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    color: white;
}

.hero-content h1 {
    font-size: 1.8em;
    margin-bottom: 10px;
    font-weight: 600;
}

.hero-content p {
    font-size: 1em;
    opacity: 0.9;
    margin-bottom: 15px;
}

/* Container do vídeo */
.hero-video {
    width: 100%;
    max-width: 500px; /* Reduzido ainda mais */
    margin: 15px auto;
    position: relative;
    aspect-ratio: 16/9; /* Mantém proporção do vídeo */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-section {
        padding: 20px 0;
        margin-top: 50px;
    }

    .hero-content h1 {
        font-size: 1.5em;
    }

    .hero-content p {
        font-size: 0.9em;
    }

    .hero-video {
        max-width: 90%;
        margin: 10px auto;
    }
}

/* Estilos das Seções de Doação */
.donation-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Cabeçalho da seção */
.donation-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2em;
    margin-bottom: 20px;
}

.donation-section p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--text-medium);
}

/* Cards de Doação Melhorados */
.donation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px auto;
    padding: 20px;
    max-width: 1200px;
}

.donation-card {
    background: var(--background-light);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 15px;
    padding: 30px;
}

/* Barra de Progresso Melhorada */
.progress-bar-container {
    background: var(--background-alt);
    border-radius: 10px;
    overflow: hidden;
    margin: 15px 0;
}

.progress-bar {
    background: var(--secondary-color);
    padding: 8px;
    text-align: center;
    color: white;
    font-size: 0.9em;
}

/* Seção QR Code Melhorada */
.qr-donation-section {
    background: var(--background-light);
    border-radius: 15px;
    padding: 40px;
    margin: 40px auto;
    max-width: 1000px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* Container do QR e dados bancários */
.qr-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* QR Code */
.qr-code-box {
    flex: 0 0 auto;
    width: 200px;
    height: 200px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #4CAF50;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Dados Bancários */
.bank-details {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #4CAF50;
}

.bank-details h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3em;
}

.bank-details p {
    text-align: left;
    display: flex;
    align-items: center;
    margin: 12px 0;
    font-size: 1em;
    line-height: 1.5;
}

.bank-details strong {
    min-width: 120px;
    color: var(--text-dark);
}

/* Disclaimer */
.disclaimer {
    margin-top: 20px;
    color: var(--text-medium);
    font-size: 0.9em;
    text-align: center;
    font-style: italic;
}

/* Botões Melhorados */
.button-donate {
    background: var(--secondary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.button-donate:hover {
    background: #45a049;
    transform: translateY(-2px);
}

/* Animações */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.donation-card:hover .button-donate {
    animation: pulse 1.5s infinite;
}

.page-content {
    margin-top: 70px; /* altura do navbar + um pouco de espaço */
    padding: 20px;
}

/* Identidade Visual do Instituto */
.brand-identity {
    padding: 40px 0;
    background: white;
}

.logo-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.logo-item img {
    max-width: 200px;
    height: auto;
    object-fit: contain;
}

.logo-item.primary img {
    width: 220px; /* Logo principal um pouco maior */
}

.logo-item.secondary img {
    width: 180px;
}

/* Responsividade */
@media (max-width: 768px) {
    .logo-showcase {
        flex-direction: column;
        gap: 20px;
    }

    .logo-item img {
        max-width: 160px;
    }

    .logo-item.primary img {
        width: 180px;
    }

    .logo-item.secondary img {
        width: 140px;
    }

    .qr-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .qr-code-box {
        width: 180px;
        height: 180px;
    }

    .bank-details {
        width: 100%;
        max-width: 100%;
    }

    .bank-details p {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .bank-details strong {
        margin-bottom: 2px;
    }
}

/* Ajustes gerais */
:root {
    --primary-color: #01579B;
    --secondary-color: #4CAF50;
    --background-light: #ffffff;
    --background-alt: #f8f9fa;
    --text-dark: #333333;
    --text-medium: #666666;
}

/* Distinção visual entre seções */
.section {
    padding: 60px 0;
    margin: 30px 0;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

/* Padrão alternado de cores para seções */
.section:nth-child(odd) {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.section:nth-child(even) {
    background: linear-gradient(135deg, #E3F2FD 0%, #f8f9fa 100%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Elemento decorativo para cada seção */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0.7;
}

/* Estilização dos títulos das seções */
.section h2 {
    color: var(--primary-color);
    font-size: 2em;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* Seção de QR Code com estilo especial */
.qr-donation-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid rgba(76, 175, 80, 0.1);
    border-radius: 20px;
    padding: 40px;
    margin: 40px auto;
    max-width: 1000px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* Seção de Nota Fiscal com estilo diferenciado */
.nf-section {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    padding: 40px;
    border-radius: 20px;
    margin: 40px auto;
}

/* Seção de Parcerias com visual próprio */
.partnership-section {
    background: linear-gradient(135deg, #E1F5FE 0%, #B3E5FC 100%);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    margin: 40px auto;
}

/* Responsividade */
@media (max-width: 768px) {
    .section {
        padding: 40px 20px;
        margin: 20px 0;
        border-radius: 15px;
    }

    .section h2 {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
}

/* Ajustes gerais */
:root {
    --primary-color: #01579B;
    --secondary-color: #4CAF50;
    --background-light: #ffffff;
    --background-alt: #f8f9fa;
    --text-dark: #333333;
    --text-medium: #666666;
}

/* Correções de alinhamento e cores */
.section {
    padding: 40px 0;
    background: var(--background-light);
    border-radius: 10px;
    margin-bottom: 30px;
}

/* Remover backgrounds coloridos inline */
.section[style*="background-color"] {
    background-color: var(--background-light) !important;
}

/* Ajuste das cards de doação */
.donation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px auto;
    padding: 20px;
    max-width: 1200px;
}

.donation-card {
    background: var(--background-light);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 15px;
    padding: 30px;
}

/* Ajuste da barra de progresso */
.progress-bar-container {
    background: var(--background-alt);
    border-radius: 10px;
    overflow: hidden;
    margin: 15px 0;
}

.progress-bar {
    background: var(--secondary-color);
    padding: 8px;
    text-align: center;
    color: white;
    font-size: 0.9em;
}

/* Ajuste dos botões */
.button-donate {
    background: var(--secondary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.button-donate:hover {
    background: #45a049;
    transform: translateY(-2px);
}

/* Ajuste da seção QR Code */
.qr-donation-section {
    background: var(--background-light);
    border-radius: 15px;
    padding: 40px;
    margin: 40px auto;
    max-width: 1000px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* Ajuste do footer */
.footer {
    background: var(--background-alt);
    padding: 60px 0 0;
    margin-top: 60px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-bottom {
    background: var(--background-light);
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

/* Responsividade */
@media (max-width: 768px) {
    .section {
        padding: 30px 15px;
    }
    
    .donation-cards {
        padding: 10px;
    }
    
    .qr-donation-section {
        padding: 20px;
        margin: 20px auto;
    }
}

/* Distinção entre seções */
.page-section {
    padding: 60px 0;
    position: relative;
}

.page-section:nth-child(odd) {
    background: #f8f9fa;
}

.page-section:nth-child(even) {
    background: #ffffff;
}

/* Botões estilizados */
.action-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin: 10px 0;
}

.action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(1, 87, 155, 0.2);
}

.action-button.secondary {
    background: var(--secondary-color);
}

.action-button.secondary:hover {
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.2);
}

.action-button i {
    font-size: 1.1em;
}

/* Container para botões */
.button-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
}

/* Ajuste do vídeo da Nota Fiscal */
.nf-video-container {
    max-width: 800px;
    margin: 30px auto;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.nf-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
} 