:root {
    --primary-color: #0d47a1; /* Deep Blue */
    --secondary-color: #1976d2; /* Lighter Blue */
    --accent-color: #ffc107; /* Amber/Gold */
    --text-color: #333;
    --light-gray: #f4f4f4;
    --white: #fff;
    --shadow: 0 4px 8px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    text-align: center;
}

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 600;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
}

/* Header & Nav */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1.5rem;
}

.logo img {
    height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

nav ul li a:hover, nav ul li a.nav-cta:hover {
    color: var(--secondary-color);
}

.nav-cta {
    background-color: var(--accent-color);
    color: var(--primary-color) !important;
    border-radius: 25px;
    padding: 0.5rem 1.5rem !important;
    transition: background-color 0.3s ease;
}

.nav-cta:hover {
    background-color: #ffca28;
}

.menu-icon {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    background: url('hero-bg.png') no-repeat center center/cover;
    color: var(--white);
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 71, 161, 0.7); /* Primary color overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 1.5rem;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background-color: #ffca28;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}

/* Sections */
#sobre {
    background-color: var(--light-gray);
}
#sobre p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
}

/* Services Section */
.cards-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    flex-basis: 300px;
    flex-grow: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.card img {
    height: 60px;
    margin-bottom: 1rem;
}

.card h3 {
    color: var(--secondary-color);
    font-size: 1.4rem;
}

/* Missão, Visão, Valores */
#missao {
    background-color: var(--light-gray);
}

.missao-content {
    text-align: left;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.missao-item {
    margin-bottom: 2rem;
}

.missao-item h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.missao-item h3 img {
    height: 30px;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.valor-item {
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    font-weight: 600;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.valor-item img {
    height: 25px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding-top: 3rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding-bottom: 2rem;
    text-align: left;
}

.footer-info, .footer-cta {
    flex: 1;
    min-width: 300px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
    /* Removido o filtro que deixava a imagem branca */
}

.footer-info p {
    margin-bottom: 0.5rem;
}

.footer-info p a {
    color: inherit;
    text-decoration: none;
}

.footer-info p a:hover {
    text-decoration: underline;
}

.footer-cta {
    text-align: center;
}

.footer-cta h3 {
    font-size: 1.5rem;
}

.footer-bottom {
    border-top: 1px solid var(--secondary-color);
    padding: 1rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media(max-width: 768px) {
    h2 {
        font-size: 2rem;
    }

    .menu-icon {
        display: block;
        position: absolute;
        right: 1.5rem;
        top: 1.25rem;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--white);
        position: absolute;
        top: 65px;
        left: 0;
        text-align: center;
        box-shadow: var(--shadow);
    }
    
    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 1rem 0;
    }
    
    .nav-cta {
        display: inline-block;
    }

    #hero {
        height: 70vh;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-info {
        text-align: center;
    }
}