:root {
    /* Paleta de Cores MSTP - Base Verde/Branco */
    --primary: #00985B;
    /* Verde Institucional Forte - Segurança/Saúde */
    --primary-dark: #007043;
    --primary-light: #e6f7ef;

    --secondary: #1a2a3a;
    /* Azul Escuro Profundo para Texto/Contraste */
    --text: #333333;
    --text-light: #666666;
    --bg: #ffffff;
    --bg-light: #f8fcf9;
    /* Fundo levemente esverdeado/gelo */

    --accent: #25d366;
    /* WhatsApp */
    --white: #ffffff;
    --danger: #dc3545;
    --warning: #ffc107;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 152, 91, 0.08);
    /* Sombra suave esverdeada */
    --radius: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg-light);
    overflow-x: hidden;
    font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Responsive Header --- */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* --- Hero Section --- */
.hero {
    background: var(--bg);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at center, var(--primary-light) 0%, transparent 70%);
    opacity: 0.6;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-img-wrapper {
    margin-top: 40px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--white);
}

.hero-img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* --- Info Cards --- */
.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: -50px;
    /* Sobrepor Hero */
    position: relative;
    z-index: 2;
    padding-bottom: 80px;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border-bottom: 4px solid var(--primary);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 152, 91, 0.15);
}

.card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card p {
    margin-bottom: 15px;
    color: var(--text-light);
    flex-grow: 1;
}

.card strong {
    color: var(--secondary);
    display: block;
    margin-bottom: 5px;
}

/* --- Blog Grid --- */
.blog-section {
    padding: 80px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.post-item {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.post-thumb {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.post-item:hover .post-thumb img {
    transform: scale(1.1);
}

.post-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-category {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.post-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;
    line-height: 1.4;
}

.post-item:hover .post-title {
    color: var(--primary);
}

.post-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    margin-top: auto;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* --- Buttons --- */
.btn-primary,
.btn-whatsapp {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: var(--primary);
    color: var(--white) !important;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 152, 91, 0.3);
}

.btn-primary:hover,
.btn-whatsapp:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 152, 91, 0.4);
}

.btn-whatsapp {
    background: var(--accent);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #1da851;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* --- Footer --- */
footer {
    background: var(--secondary);
    color: #aebbcb;
    padding: 60px 0 20px;
    font-size: 0.95rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    opacity: 0.8;
    margin-bottom: 20px;
    filter: grayscale(100%) brightness(200%);
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: row;
        flex-wrap: wrap;
        height: auto;
        padding: 15px 0;
    }

    .nav-menu {
        width: 100%;
        order: 3;
        flex-direction: column;
        gap: 15px;
        margin-top: 15px;
        background: var(--bg-light);
        padding: 20px;
        border-radius: 8px;
        display: none;
        /* JS para toggle Futuro */
    }

    /* Simple mobile menu fix for now */
    .nav-menu {
        display: flex;
        font-size: 0.9rem;
        flex-wrap: wrap;
        justify-content: center;
        background: none;
        padding: 0;
        margin-top: 10px;
    }

    .hero {
        padding-top: 40px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .info-section {
        margin-top: 0;
    }
}