/* ===== RESET e BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Open Sans', sans-serif; background: #fff; color: #222; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
:root { --red: #D32F2F; --red-dark: #B71C1C; --gold: #FFC107; --light-gray: #F5F5F5; }
img { max-width: 100%; height: auto; display: block; }

/* ===== TIPOGRAFIA ===== */
h1, h2, h3 { font-family: 'Montserrat', sans-serif; font-weight: 800; }
h2 { font-size: 2.2rem; color: var(--red-dark); position: relative; display: inline-block; margin-bottom: 1.8rem; }
h2::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 60px; height: 4px; background: var(--gold); border-radius: 2px; }

/* ===== HERO ===== */
.hero { background: linear-gradient(135deg, var(--red-dark), var(--red) 70%, #fff 100%); color: white; padding: 80px 0 60px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: "⚜️"; font-size: 14rem; position: absolute; right: -20px; bottom: -60px; opacity: 0.08; transform: rotate(15deg); pointer-events: none; }
.hero .logo-placeholder { position: relative; width: 220px; height: 220px; margin: 0 auto 20px; }
.hero .logo-placeholder img { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3)); transition: transform 0.3s ease; }
.hero .logo-placeholder img:hover { transform: translate(-50%, -50%) scale(1.05); }
.hero .selo { display: inline-block; background: var(--gold); color: var(--red-dark); font-weight: 800; padding: 6px 20px; border-radius: 50px; font-size: 0.9rem; letter-spacing: 1px; margin-bottom: 12px; }
.hero h1 { font-size: 3.5rem; text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }
.hero p { font-size: 1.3rem; opacity: 0.9; max-width: 600px; margin: 12px auto 0; line-height: 1.4; }
.hero .btn { display: inline-block; margin-top: 28px; background: white; color: var(--red-dark); padding: 14px 44px; border-radius: 50px; font-weight: 700; text-decoration: none; transition: 0.3s; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); }
.hero .btn:hover { background: var(--gold); transform: translateY(-3px); }

/* ===== HISTÓRIA ===== */
.historia { padding: 80px 0; background: var(--light-gray); }
.historia-grid { display: grid; grid-template-columns: 4fr 6fr; gap: 40px; align-items: center; }
.historia-grid .texto p { margin-bottom: 16px; font-size: 1.05rem; text-align: justify; }
.historia-grid .texto .destaque { color: var(--red); font-weight: 600; }

/* Imagem da História (Maior e sem borda) */
.historia-grid .imagem-placeholder { 
    background: white; 
    border-radius: 20px; 
    height: 350px; 
    width: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border: none; 
    overflow: hidden; /* Mantém a imagem dentro da caixa arredondada */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); 
    transition: transform 0.3s ease;
}

.historia-grid .imagem-placeholder:hover { 
    transform: scale(1.02); 
}

.historia-grid .imagem-placeholder img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; /* Preenche tudo, sem faixas brancas */
    transform: scale(1.1) rotate(-1deg); /* Dá um leve zoom e ajusta a inclinação */
    background-color: white;
}


/* ===== ATIVIDADES ===== */
.atividades { padding: 80px 0; background: white; }
.cards { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; }
.card-atv { flex: 1 1 250px; background: var(--light-gray); padding: 30px 20px; border-radius: 20px; text-align: center; border-bottom: 6px solid var(--red); transition: 0.3s; }
.card-atv:hover { transform: translateY(-8px); box-shadow: 0 12px 28px rgba(211, 47, 47, 0.12); }
.card-atv i { font-size: 3rem; color: var(--red); margin-bottom: 12px; }
.card-atv h3 { color: var(--red-dark); margin-bottom: 8px; }

/* ===== INSTAGRAM FEED ===== */
.galeria { padding: 80px 0; background: var(--light-gray); }
.instagram-wrapper { background: white; padding: 20px; border-radius: 20px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); margin-bottom: 30px; min-height: 200px; }
.instagram-cta { text-align: center; }
.btn-instagram { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: white !important; padding: 12px 30px; border-radius: 50px; text-decoration: none; font-weight: 700; font-size: 1.1rem; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.btn-instagram:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(220, 39, 67, 0.4); }

/* ===== ENDEREÇO ===== */
.endereco { padding: 80px 0; background: white; }
.endereco-wrapper { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.endereco-card { flex: 1 1 260px; background: var(--light-gray); padding: 30px 25px; border-radius: 20px; border-left: 6px solid var(--red); transition: 0.3s; font-style: normal; display: flex; flex-direction: column; }
.endereco-card:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(211, 47, 47, 0.12); }
.endereco-card i { font-size: 2.2rem; color: var(--red); margin-bottom: 12px; }
.endereco-card h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--red-dark); }
.endereco-card .dados { font-weight: 600; }
.endereco-card a { color: var(--red-dark); text-decoration: none; transition: 0.2s; font-weight: 600; }
.endereco-card a:hover { color: var(--red); text-decoration: underline; }

/* ===== MAPA ===== */
.mapa-container { width: 100%; height: 350px; margin-top: 40px; border-radius: 20px; overflow: hidden; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); border: 2px solid var(--light-gray); }
.mapa-container iframe { width: 100%; height: 100%; display: block; border: 0; }

/* ===== RODAPÉ ===== */
.rodape { background: var(--red-dark); color: white; text-align: center; padding: 30px 0; }
.rodape .flor { font-size: 2.2rem; display: block; margin-bottom: 6px; }
.rodape a { color: var(--gold); text-decoration: none; }

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 900px) {
    .historia-grid { grid-template-columns: 1fr; gap: 30px; }
    .historia-grid .imagem-placeholder { height: 250px; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.4rem; }
    .hero .logo-placeholder { width: 160px; height: 160px; }
    h2 { font-size: 1.8rem; }
    .mapa-container { height: 280px; }
    .instagram-wrapper { padding: 10px; }
}