/* =========================================
   HOME (Padrão Unificado: Inter + Cinza Premium)
   ========================================= */

:root {
    --font-padrao: 'Inter', sans-serif;
    --cor-titulo: #0c0407;
    --cor-texto: #4c4c4c;
    --cor-subtitulo: #9e9b9c;
}

/* --- Títulos Globais da Home --- */
.about-title {
    font-family: var(--font-padrao);
    color: var(--cor-titulo);
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-title span {
    color: var(--cor-subtitulo); /* Cinza mais claro para destaque */
}

/* Subtítulos */
.aboutt-sub-title, 
.about-agenda-title {
    font-family: var(--font-padrao);
    font-size: 1.5rem;
    color: var(--cor-titulo);
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

/* --- Texto do Corpo (Padrão "Nossa História") --- */
.about-text, 
.sectionn-text,
.counter-text {
    font-family: var(--font-padrao);
    font-size: 16px;
    color: var(--cor-texto);
    line-height: 1.7;      /* Espaçamento generoso */
    text-align: justify;   /* Alinhamento justificado */
    font-weight: 400;
    margin-bottom: 1.5rem;
}

/* Remove negritos forçados se houver, para manter a leveza */
.about-text span {
    font-weight: 600;
    color: var(--cor-titulo);
}

/* --- Agenda na Home (Cards) --- */
.event-box {
    background-color: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.event-details h3 {
    font-family: var(--font-padrao);
    color: var(--cor-titulo);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center; /* Títulos de cards curtos ficam melhor centralizados */
}

.event-details p {
    font-family: var(--font-padrao);
    color: var(--cor-texto);
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
}

.event-date {
    color: var(--cor-titulo) !important;
    font-weight: 700;
}

/* Botões */
.details-button, 
.primary-btn {
    font-family: var(--font-padrao);
    background-color: var(--cor-titulo);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 20px;
    border-radius: 4px;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.details-button:hover {
    background-color: #333;
}

/* --- Galeria/Slider Rotação (Inicio BC) --- */
.history-gallery {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    border-radius: 12px; /* Arredondado suave */
}

.history-slider-track {
    display: flex;
    width: 200%;
    height: 100%;
    animation: slide-loop 10s infinite ease-in-out;
}

.history-image-wrapper {
    width: 50%;
    height: 100%;
    flex-shrink: 0;
}

.history-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes slide-loop {
    0%, 45% { transform: translateX(0); }
    50%, 95% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Responsividade */
@media (max-width: 768px) {
    .about-title { font-size: 2.5rem; }
    .about-text { font-size: 15px; text-align: left; /* Justificado em mobile pode criar buracos, left é mais seguro, mas pode manter justify se preferir */ }
    .history-gallery { height: 250px; }
}