/* =========================================
   PÁGINA SOBRE NÓS
   Arquivo: static/css/core/sobre.css
   Nota: Herda variáveis (:root) do styles.css
   ========================================= */

/* --- 1. HERO SECTION --- */
.sobre-hero {
    background-color: var(--primary-color);
    color: white;
    padding: 6rem 1.5rem;
    text-align: center;
    /* Adicionei um gradiente para melhorar a leitura do texto sobre a imagem */
    background-image: linear-gradient(rgba(58, 22, 14, 0.9), rgba(58, 22, 14, 0.9)), url('../../images/banner.png');
    background-size: cover;
    background-position: center;
}

.hero-content { 
    max-width: 800px; 
    margin: 0 auto; 
}

.tagline {
    display: block;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    /* CORRIGIDO: quaternary -> secondary */
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.sobre-hero h1 {
    font-family: var(--title-font-family);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-sub {
    font-family: var(--body-font-family);
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* --- 2. SEÇÃO INSTITUCIONAL (SPLIT) --- */
.sobre-main {
    padding: 5rem 1.5rem;
    background-color: var(--tertiary-color);
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-tag {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    /* Ajuste de cor para garantir contraste */
    color: rgba(58, 22, 14, 0.6); 
    display: block;
    margin-bottom: 0.5rem;
}

.sobre-texto h2 {
    font-family: var(--title-font-family);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.texto-rico p {
    font-family: var(--body-font-family);
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.texto-rico h3 {
    font-family: var(--title-font-family);
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
    margin-top: 2rem;
}

.lista-objetivos {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.lista-objetivos li {
    font-family: var(--body-font-family);
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.lista-objetivos li::before {
    content: "•";
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.sobre-imagem-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #ddd;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.img-destaque {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- 3. SEÇÃO NOSSA HISTÓRIA (TIMELINE) --- */
.historia-section {
    padding: 6rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.historia-header {
    margin-bottom: 4rem;
}

.historia-header h2 {
    font-family: var(--title-font-family);
    font-size: 2.5rem;
    color: var(--tertiary-color);
    margin-bottom: 1rem;
}

.divider-small {
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 0 auto;
}

/* Timeline Layout */
.historia-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    text-align: left;
}

/* Linha vertical */
.historia-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.2);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

/* Bolinha marcadora */
.timeline-item::after {
    content: '';
    position: absolute;
    left: 11px;
    top: 5px;
    width: 20px;
    height: 20px;
    background-color: var(--secondary-color);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    z-index: 2;
}

.timeline-content h3 {
    font-family: var(--title-font-family);
    color: var(--tertiary-color);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.timeline-content p {
    font-family: var(--body-font-family);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1rem;
}

/* Destaque (Ano 2015) */
.timeline-item.destaque .timeline-ano {
    position: absolute;
    left: -15px;
    top: 0;
    background-color: var(--secondary-color);
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    font-family: var(--title-font-family);
    z-index: 3;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.timeline-item.destaque::after {
    display: none;
}

/* --- 4. SEÇÃO ATIVIDADES --- */
.atividades-section {
    padding: 5rem 1.5rem;
    background-color: #fff;
}

.atividades-header { text-align: center; margin-bottom: 3rem; }

.atividades-header h2 {
    font-family: var(--title-font-family);
    font-size: 2.5rem;
    color: var(--primary-color);
}

.grid-atividades {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card-atividade {
    background: var(--tertiary-color);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.card-atividade:hover { transform: translateY(-5px); }

.icon-box { font-size: 2.5rem; margin-bottom: 1rem; }

.card-atividade h3 {
    font-family: var(--title-font-family);
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.card-atividade p {
    font-family: var(--body-font-family);
    color: var(--text-light);
    line-height: 1.6;
}

/* --- 5. SEÇÃO DO TEMA (MANIFESTO) --- */
.tema-manifesto-section {
    padding: 6rem 1.5rem;
    /* CORRIGIDO: quinary -> off-white/bg-light */
    background-color: #f9f9f9; 
    border-top: 1px solid rgba(0,0,0,0.05);
}

.container-leitura {
    max-width: 700px;
    margin: 0 auto;
}

.manifesto-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ano-badge {
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

.manifesto-header h2 {
    font-family: var(--title-font-family);
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.versiculo {
    font-family: 'Times New Roman', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-light);
}

.manifesto-texto {
    font-family: var(--body-font-family);
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-dark);
}

.manifesto-texto h3 {
    font-family: var(--title-font-family);
    color: var(--secondary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.manifesto-texto p {
    margin-bottom: 1.5rem;
}

.destaque-final {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--tertiary-color);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 10px 10px 0;
}

.destaque-final p {
    margin: 0;
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 500;
}

.cta-manifesto {
    margin-top: 3rem;
    text-align: center;
}

.cta-manifesto .btn {
    background-color: var(--secondary-color);
    color: white;
    padding: 15px 40px;
    font-size: 1.1rem;
}

.cta-manifesto .btn:hover {
    background-color: var(--primary-color);
}


/* =========================================
   6. RESPONSIVIDADE (MOBILE E TABLET)
   ========================================= */

@media (max-width: 992px) {
    /* Tablet */
    .sobre-hero h1 { font-size: 3rem; }
    .sobre-grid { gap: 2rem; }
}

@media (max-width: 768px) {
    /* Mobile */
    
    /* 1. Hero */
    .sobre-hero { padding: 4rem 1.5rem; }
    .sobre-hero h1 { font-size: 2.2rem; }
    
    /* 2. Institucional (Vira 1 Coluna) */
    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .sobre-imagem-wrapper {
        order: -1; /* Imagem vai para o topo */
        aspect-ratio: 16/9; /* Fica retangular no celular */
    }
    .sobre-texto h2 { font-size: 2rem; }

    /* 3. Timeline */
    .historia-section { padding: 4rem 1.5rem; }
    .historia-header h2 { font-size: 2rem; }
    
    /* Ajuste da linha e bolinhas para telas pequenas */
    .historia-timeline::before { left: 10px; }
    .timeline-item { padding-left: 40px; }
    .timeline-item::after { left: 1px; }

    .timeline-item.destaque .timeline-ano {
        position: relative;
        left: 0;
        top: 0;
        display: inline-block;
        margin-bottom: 10px;
    }

    /* 4. Manifesto */
    .manifesto-header h2 { font-size: 2.2rem; }
    .manifesto-texto { font-size: 1.05rem; }
    .destaque-final { padding: 1.5rem; }
    .destaque-final p { font-size: 1.1rem; }
}