/* --- VARIÁVEIS IDEAIS E RESET --- */
:root {
    --primary-color: #28a745;
    --secondary-color: #2c3e50;
    --accent-color: #ffc107;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
    padding-top: 70px;
}

/* --- NAVEGAÇÃO --- */
.navbar { 
    background-color: white !important; 
    box-shadow: 0 2px 15px rgba(0,0,0,0.1); 
}

.nav-link { 
    font-weight: 700; 
    color: var(--secondary-color) !important; 
    text-transform: uppercase; 
    font-size: 0.9rem; 
}

.navbar-brand img {
    height: 50px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

/* Logo com filtro verde (opcional, usado na página 2) */
.logo-verde {
    filter: invert(27%) sepia(88%) saturate(1215%) hue-rotate(85deg) brightness(92%) contrast(96%);
}

/* --- ELEMENTOS COMUNS --- */
.section-title { 
    font-family: 'Playfair Display', serif; 
    color: var(--secondary-color); 
    border-bottom: 3px solid var(--accent-color); 
    display: inline-block; 
    margin-bottom: 30px; 
    padding-bottom: 5px; 
}

.btn-subpage { 
    border-radius: 50px; 
    padding: 10px 25px; 
    font-weight: bold; 
    text-transform: uppercase; 
    font-size: 0.8rem; 
    margin-top: 15px; 
}

a { text-decoration: none; color: inherit; }

/* --- ESTILOS DA PÁGINA INICIAL (HOME) --- */
.hero-section { 
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://l12.com.br/cidades/imagens/cachoeira-livramento-de-nossa-senhora-bahia.webp') no-repeat center center; 
    background-size: cover; 
    color: white; 
    padding: 100px 0; 
    text-align: center; 
}

.hero-title { font-family: 'Playfair Display', serif; font-size: 3.5rem; font-weight: 700; }

.history-box { 
    background-color: #ffffff; 
    padding: 40px; 
    border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
}

.card-stat { 
    border: none; 
    border-radius: 15px; 
    transition: transform 0.3s; 
    background: #fff; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
    height: 100%; 
}

.icon-box { font-size: 2.5rem; margin-bottom: 15px; }

.bg-gradient-custom { 
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a5928 100%); 
    color: white; 
}

.tourist-item { 
    background: white; 
    padding: 20px; 
    border-radius: 10px; 
    border-left: 5px solid var(--accent-color); 
    margin-bottom: 15px; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
}

.curiosity-card { background-color: #fff3cd; border: none; border-left: 5px solid var(--accent-color); }

.conclusion-section { 
    background-color: var(--secondary-color); 
    color: white; 
    padding: 60px; 
    border-radius: 30px; 
}

/* --- ESTILOS DA PÁGINA DE HISTÓRIA --- */
.history-hero {
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)), url('https://l12.com.br/cidades/imagens/cachoeira-livramento-de-nossa-senhora-bahia.webp') center/cover fixed;
    color: white;
    padding: 100px 0 80px;
    text-align: center;
}

.history-hero h1 { 
    font-family: 'Playfair Display', serif; 
    font-size: 3rem; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    max-width: 900px;
    margin: 0 auto;
}

.article-card {
    background: white;
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.dropcap {
    float: left;
    font-family: 'Playfair Display', serif;
    font-size: 85px;
    line-height: 70px;
    padding-top: 4px;
    padding-right: 12px;
    color: var(--primary-color);
    font-weight: 700;
}

.highlight-box {
    background: #e9f7ef;
    border-left: 6px solid var(--primary-color);
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 15px 15px 0;
    font-style: italic;
}

/* --- FOOTER GERAL --- */
footer { background: var(--secondary-color); color: white; padding: 50px 0; margin-top: 40px; }

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    .article-card { padding: 30px; margin-top: -30px; }
    .hero-title, .history-hero h1 { font-size: 2rem; }
    .navbar-brand img { height: 40px; }
}