/* ======================================
   RESET
   ====================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ======================================
   CORES (Variáveis)
   ====================================== */
:root {
    --cor-principal: #2c3e50;
    --cor-secundaria: #34495e;
    --cor-destaque: #e67e22;
    --texto: #333;
    --fundo: #fff;
    --cinza-claro: #f9f9f9;
    --borda: #ccc;
}

/* ======================================
   TEXTO ACESSÍVEL
   ====================================== */
body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    text-align: justify;
    background: var(--fundo);
    color: var(--texto);
}

/* ======================================
   CONTAINER
   ====================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ======================================
   HEADER
   ====================================== */
header {
    background: var(--cor-principal);
    color: white;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo-site {
    width: 70px;
    height: auto;
}

.header-text h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.header-text .subtitulo {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ======================================
   MENU
   ====================================== */
nav {
    background: var(--cor-secundaria);
}

.menu {
    display: flex;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 0;
}

.menu li {
    margin: 5px 10px;
}

.menu a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    transition: opacity 0.3s;
}

.menu a:hover {
    opacity: 0.8;
}

.menu a.active {
    border-bottom: 2px solid var(--cor-destaque);
}

.btn-destaque {
    background: var(--cor-destaque);
    padding: 8px 14px;
    border-radius: 6px;
    transition: background 0.3s;
}

.btn-destaque:hover {
    background: #d35400;
}

/* ======================================
   BOTÃO MENU MOBILE
   ====================================== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ======================================
   SEÇÕES
   ====================================== */
.section {
    padding: 40px 0;
}

.section h2 {
    color: var(--cor-principal);
    margin-bottom: 30px;
    font-size: 2rem;
    text-align: center;
}

.section h3 {
    color: var(--cor-secundaria);
    margin: 20px 0 10px;
}

/* ======================================
   CARDS
   ====================================== */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card i {
    font-size: 2.5rem;
    color: var(--cor-destaque);
    margin-bottom: 15px;
}

.card h3, .card h4 {
    margin-bottom: 10px;
    color: var(--cor-principal);
}

/* ======================================
   BLOG ESTILO REVISTA
   ====================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card h3,
.blog-card p {
    padding: 10px 15px;
}

/* ======================================
   CARROSSEL (Fotos e Vídeos)
   ====================================== */
.carrossel-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.carrossel {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    text-align: center;
}

.slide img, .slide video {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.slide p {
    padding: 10px;
    background: var(--cor-principal);
    color: white;
    margin: 0;
}

.carrossel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.carrossel-btn:hover {
    background: rgba(0,0,0,0.8);
}

.carrossel-btn.prev {
    left: 10px;
}

.carrossel-btn.next {
    right: 10px;
}

.indicadores {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.indicador {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.indicador.ativo {
    background: var(--cor-destaque);
}

/* ======================================
   PERFIL (Sobre)
   ====================================== */
.profile-card {
    max-width: 800px;
    margin: 30px auto;
    padding: 30px;
    border: 1px solid var(--borda);
    border-radius: 8px;
    background-color: var(--cinza-claro);
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 20px;
    object-fit: cover;
}

.profile-card h2 {
    text-align: center;
    color: var(--cor-principal);
    margin-bottom: 10px;
}

.profile-card h3 {
    color: var(--cor-secundaria);
    margin: 20px 0 10px;
    border-bottom: 2px solid var(--cor-destaque);
    padding-bottom: 5px;
}

.profile-card p {
    text-align: justify;
    line-height: 1.6;
    margin-bottom: 10px;
}

.profile-card ul {
    list-style: none;
    padding-left: 0;
}

.profile-card li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.profile-card li:before {
    content: "•";
    color: var(--cor-destaque);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* ======================================
   SEÇÃO DE DOAÇÃO (PIX)
   ====================================== */
.doacao-opcoes {
    text-align: center;
    margin: 30px 0;
}

.btn-doacao {
    background: var(--cor-destaque);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-doacao:hover {
    background: #d35400;
}

.pix-area {
    background: var(--cinza-claro);
    padding: 30px;
    border-radius: 10px;
    margin-top: 20px;
}

.pix-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin: 20px 0;
}

.pix-qrcode img {
    width: 200px;
    height: 200px;
}

.pix-copia {
    flex: 1;
    min-width: 300px;
}

.pix-copia code {
    display: block;
    background: white;
    padding: 15px;
    border-radius: 5px;
    margin: 10px 0;
    word-break: break-all;
}

.btn-copiar {
    background: var(--cor-principal);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-copiar:hover {
    background: var(--cor-destaque);
}

/* ======================================
   POPUP
   ====================================== */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.popup-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.popup-box h2 {
    color: var(--cor-principal);
    margin-bottom: 15px;
}

.popup-box button {
    margin-top: 10px;
    padding: 10px 20px;
    background: var(--cor-secundaria);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.popup-box button:hover {
    background: var(--cor-principal);
}

/* ======================================
   FOOTER
   ====================================== */
footer {
    background: var(--cor-principal);
    color: white;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 40px 20px;
}

.footer-col h3, .footer-col h4 {
    color: white;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-col a:hover {
    opacity: 1;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    text-align: center;
    padding: 15px;
    font-size: 0.9rem;
}

/* ======================================
   RESPONSIVO
   ====================================== */
@media (max-width: 992px) {
    .container {
        padding: 15px;
    }
    
    .profile-card {
        margin: 20px 10px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    .menu {
        flex-direction: column;
        align-items: center;
    }
    
    .header-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-site {
        margin-bottom: 10px;
    }
    
    .header-text {
        margin: 10px 0;
    }
    
    .profile-card {
        max-width: 100%;
        padding: 20px;
    }
    
    .slide img, .slide video {
        height: 250px;
    }
    
    .pix-container {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .profile-photo {
        width: 120px;
        height: 120px;
    }
    
    .pix-copia {
        min-width: 100%;
    }
    
    /* Opcional - Melhor visualização do botão Apoie no mobile */
@media (max-width: 768px) {
    .btn-destaque {
        display: inline-block;
        margin-top: 5px;
    }
}