/* Paleta de Cores: */
:root {
    --primary-color: #004d99; /* Azul (do logo, mais escuro) */
    --secondary-color: #f36c39; /* Laranja (Acento/CTA) */
    --text-color: #333;
    --light-bg: #f8f8f8;
    --white: #ffffff;
}

/* Reset Básico e Fontes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* --- HEADER / CABEÇALHO --- */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

/* Estilos do Logo (Imagem) */
.logo {
    font-size: 1.5rem; /* Mantido para manter o espaçamento, se necessário */
    color: transparent; 
    font-weight: 700;
}

.logo-img {
    max-width: 90px; /* Define a largura máxima para o logo */
    height: auto;     /* Mantém a proporção da imagem */
    vertical-align: middle; 
}

.nav ul {
    list-style: none;
    display: flex;
}

.nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 25px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav ul li a:hover {
    color: var(--primary-color);
}

.cta-header {
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.cta-header:hover {
    background-color: #d85721;
}

/* --- HERO SECTION (DESTAQUE) --- */
.hero {
    background: var(--primary-color);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    height: 60vh; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Botão de Ação (CTA) */
.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-button:hover {
    background-color: #d85721;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background-color: var(--primary-color);
    border: 2px solid var(--white);
    margin-top: 20px;
}

.cta-button.secondary:hover {
    background-color: #003366;
    border-color: #003366;
}

/* --- SERVICES SECTION --- */
.services {
    padding: 80px 0;
    text-align: center;
    background-color: var(--light-bg);
}

.services h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.service-item h4 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

/* --- ABOUT SECTION --- */
.about {
    padding: 60px 0;
    text-align: center;
}

.about h3 {
    color: var(--primary-color); 
    margin-bottom: 20px;
    font-size: 2rem;
}

.about p {
    font-size: 1.1rem; 
    max-width: 800px; 
    margin: 0 auto;
    color: var(--text-color);
}


/* --- FOOTER --- */
.footer {
    background-color: var(--text-color);
    color: var(--light-bg);
    padding: 30px 0;
    font-size: 0.9rem;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer p {
    margin: 5px 0;
}


/* --- RESPONSIVIDADE (MEDIA QUERIES) --- */

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .logo-img {
        max-width: 80px; /* Reduz ligeiramente o tamanho em telas menores */
    }

    .nav ul {
        flex-direction: column;
        width: 100%;
        align-items: center;
        margin-bottom: 15px;
    }

    .nav ul li {
        margin: 5px 0;
    }

    .nav ul li a {
        margin-left: 0;
    }

    .cta-header {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    .hero {
        padding: 80px 20px;
        height: auto;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .services {
        padding: 50px 0;
    }
}