@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Roboto:wght@400;500&display=swap');

/* Reset e Configurações Globais */
:root {
    --primary-color: #1a2d40; /* Azul ardósia escuro */
    --secondary-color: #f4f7f6; /* Cinza muito claro, quase branco */
    --accent-color: #c5a880; /* Ouro envelhecido/Bronze */
    --text-color: #333;
    --light-gray: #e9ecef;
    --white: #ffffff;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-body);
    line-height: 1.8;
    margin: 0;
    padding: 0;
    background-color: var(--secondary-color);
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--white);
    color: var(--primary-color);
    padding: 2.5rem 0;
    text-align: center;
    border-bottom: 1px solid var(--light-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

header h1 {
    font-family: var(--font-heading);
    margin: 0;
    font-size: 2.8rem;
    font-weight: 700;
}

header p {
    margin: 0;
    font-size: 1.1rem;
    color: #6c757d;
}

/* Navegação (Opcional, mas recomendado) */
nav {
    display: none; /* Descomente e estilize se adicionar um menu de navegação */
}

/* Seções */
section {
    padding: 5rem 0;
    border-bottom: 1px solid var(--light-gray);
}

section:last-of-type {
    border-bottom: none;
}

section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* Alerta de Golpe */
#alerta-golpe {
    background-color: #fffbe6;
    color: #594c0b;
    padding: 3rem 0;
}

#alerta-golpe h2 {
    color: #8a6d3b;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

#alerta-golpe p {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0.5rem auto;
}

#alerta-golpe strong {
    color: #a94442;
    font-weight: 500;
}

/* Sobre */
#sobre p {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
}

/* Áreas de Atuação */
#atuacao {
    background-color: var(--white);
}

#atuacao .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: center;
}

.card {
    background: var(--secondary-color);
    padding: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.07);
}

.card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.card h3 {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 0;
}

/* Contato */
#contato ul {
    list-style: none;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#contato li {
    font-size: 1.2rem;
    color: #555;
}

#contato li a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

#contato li a:hover {
    color: var(--accent-color);
}

#contato li i {
    margin-right: 10px;
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    padding: 2rem 0;
}

/* Animação de fade-in (mantida) */
main > section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

main > section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsividade */
@media(max-width: 768px) {
    header h1 {
        font-size: 2.2rem;
    }

    section {
        padding: 3rem 0;
    }

    section h2 {
        font-size: 2rem;
    }
    
    #alerta-golpe p {
        text-align: justify;
    }
}