/* 1. Reset Básico e Variáveis de Cor */
:root {
    --primary-color: #0e4d4aff; /* Azul Petróleo escuro */
    --secondary-color: rgb(23, 100, 96); /* Azul Petróleo um pouco mais claro */
    --accent-color: #bdc3c7; /* Cinza claro para detalhes */
    --background-light: #f8f9fa;
    --text-color: #333;
    --text-light: #ffffff;
    --font-serif: 'Poppins', sans-serif;
    --font-sans: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Rolagem suave ao clicar nos links do menu */
}

body {
    font-family: var(--font-sans);
    line-height: 1.7;
    color: var(--text-color);
    background-color: #fff;
}

/* 2. Utilitários e Estrutura Principal */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.content-section {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--background-light);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

/* 3. Header e Navegação */
.header {
    background: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px; /* Ajuste a altura conforme necessário */
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 2rem;
}

.main-nav a {
    font-weight: 400;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--accent-color);
}

/* 4. Seção Hero (Principal) */
.hero {
    background-color: var(--primary-color);
    color: var(--text-light);
    height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero h1 {
    color: var(--text-light);
}

.hero p {
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 700px;
    margin: 1rem auto 2rem;
}

.cta-button {
    background: #fff;
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/* 5. Seção Áreas de Atuação */
.practice-areas {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.area {
    padding: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.area:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
}

/* 6. Contato e Footer */
.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.footer {
    background: var(--secondary-color);
    color: var(--text-light);
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
}

/* 7. Responsividade para Dispositivos Móveis */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    .header .container {
        flex-direction: column;
    }

    .main-nav {
        margin-top: 1rem;
    }
    
    .main-nav ul li {
        margin: 0 0.8rem;
    }

    .practice-areas {
        grid-template-columns: 1fr;
    }
}
/* =================================
   Seção de Notícias
   ================================= */

#noticias {
    background-color: #fff; /* Ou a cor que preferir */
}

.news-ticker-container {
    height: 250px; /* Altura fixa para a área de uma notícia */
    overflow: hidden;
    position: relative;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    background-color: #fdfdfd;
}

.news-ticker {
    transition: transform 0.8s ease-in-out;
}

.news-item {
    height: 250px; /* Deve ser igual à altura do container */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-content {
    padding: 0 10px;
}

.news-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 10px;
}

.news-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-link {
    font-weight: 600;
    color: #0056b3; /* Cor do link, pode ser a cor primária do seu site */
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: #003d82;
    text-decoration: underline;
}
/* =================================
   Seção de Notícias (Adições)
   ================================= */

.news-nav {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.news-nav-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.news-nav-btn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.news-nav-btn:active {
    transform: scale(1);
}
