* /------------------------------------- */
/* 0. RESET E CONFIGURAÇÕES GLOBAIS      */
/* ------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta de Cores: Profissional e Calma */
    --color-primary: #055e0c; /* Azul Marinho Escuro (Texto Principal/Destaque) */
    --color-secondary: #06b6d4; /* Ciano/Azul Água (Botões Secundários/Hover) */
    --color-text: #333; /* Texto Geral Escuro */
    --color-light: #f8f8f8; /* Fundo Claro Alternativo */
    --color-dark: #9ac7ad; /* Fundo Escuro para Contato */
    --color-white: #fff;

    /* Tipografia */
    --font-title: 'Lora', serif;
    --font-body: 'Open Sans', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Títulos Globais */
.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--color-light);
}

.bg-dark {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 15px;
}

.bg-dark .section-title {
    color: var(--color-white);
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #1a3375; /* Um pouco mais escuro */
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: #0497b0;
}


/* ------------------------------------- */
/* 1. HEADER & MENU FIXO                 */
/* ------------------------------------- */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    /* MUDANÇA AQUI: Nova cor de fundo do logo */
    background-color: #F1E6D4; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    /* Não precisamos mais de font-size grande aqui, pois é uma imagem */
    /* Você pode remover as propriedades de texto se quiser, mas deixo o font-family para garantir herança se algo der errado*/
    font-family: var(--font-title);
    font-size: 0; /* Oculta qualquer resquício de texto se a imagem falhar por algum motivo */
    font-weight: 700;
}

.logo a {
    text-decoration: none;
    /* Remover cor do texto se não houver mais texto */
    /* color: var(--color-primary); */
}

.logo-img {
    /* MUDANÇA AQUI: Aumentamos a altura para melhor leitura */
    max-height: 80px; /* Aumentado de 50px para 65px */
    width: auto;     
    display: block;  
}

/* Você pode precisar ajustar a max-height ou adicionar uma largura fixa se a logo for muito pequena ou grande */
@media (max-width: 768px) {
    .logo-img {
        max-height: 70px; /* Ajuste para telas menores */
    }
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 600;
    padding: 5px 0;
    transition: color 0.3s;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover {
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-secondary);
}

.menu-toggle {
    display: none; /* Oculta em desktop */
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-primary);
}


/* ------------------------------------- */
/* 2. SEÇÃO INÍCIO (HERO SECTION)        */
/* ------------------------------------- */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    /* Use uma imagem de fundo elegante */
    background: url('placeholder-hero.jpg') no-repeat center center/cover; 
    position: relative;
    color: var(--color-white);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Sombra para melhorar leitura */
}

/* Camada escura para contraste */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-content h2 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 5px;
}

.hero-content .subtitle {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    margin-bottom: 30px;
    line-height: 1.2;
}


/* ------------------------------------- */
/* 3. SEÇÃO SOBRE                        */
/* ------------------------------------- */
.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-image {
    flex: 0 0 350px; /* Largura fixa para a imagem */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    flex: 1;
    font-size: 1.1rem;
}

.about-text p {
    margin-bottom: 15px;
    text-align: justify;
    text-justify: inter-word; /* Para navegadores mais antigos (opcional) */

}

.about-text strong {
    color: var(--color-primary);
}

/* ------------------------------------- */
/* 4. SEÇÃO SERVIÇOS                     */
/* ------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Responsivo por Grid */
    gap: 15px;
}

.service-card {
    background-color: var(--color-white);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--color-primary); /* Detalhe elegante */
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.service-card .icon {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.service-card h3 {
    font-family: var(--font-title);
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--color-primary);
}

/* Adicione esta regra para justificar o texto */
.texto-justificado {
    text-align: justify;
    text-justify: inter-word; /* Para navegadores mais antigos (opcional) */
}

/* ------------------------------------- */
/* 5. SEÇÃO CONTATO                      */
/* ------------------------------------- */
.contact-section .container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
}

.contact-details {
    flex: 1;
    min-width: 300px;
}

.contact-details p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    font-size: 1.2rem;
    margin-right: 15px;
    color: var(--color-secondary);
}

.contact-item a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--color-secondary);
}

/* Formulário */
.contact-form {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    flex: 1;
    min-width: 400px;
}

.contact-form h3 {
    font-family: var(--font-title);
    margin-bottom: 5px;
    font-size: 1.6rem;
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-family: var(--font-body);
}

.contact-form textarea {
    resize: vertical;
}

.form-note {
    font-size: 0.85rem;
    margin-top: 5px;
    color: #ffd700; /* Amarelo de atenção */
}


/* ------------------------------------- */
/* 6. FOOTER                             */
/* ------------------------------------- */
.main-footer {
    background-color: #111827;
    color: #9ca3af;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9rem;
}


/* ------------------------------------- */
/* 7. MEDIA QUERIES (RESPONSIVIDADE)     */
/* ------------------------------------- */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .about-content {
        flex-direction: column;
    }

    .about-image {
        flex: 0 0 auto; /* Remove largura fixa */
        max-width: 80%;
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 40px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr; /* 1 coluna em telas menores */
    }

    .section-title {
        font-size: 2rem;
    }

    /* Navegação Mobile */
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .main-nav li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: block; /* Mostra o menu hambúrguer */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .contact-form, .contact-details {
        min-width: 100%; /* Ocupa toda a largura em telas menores */
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-section {
        min-height: 60vh;
    }
}

/* Estilo para as listas de demandas dentro dos cards */
.demand-list {
    list-style: none; /* Remove bolinhas/numeros */
    padding-left: 0;
    margin-top: 15px;
    text-align: left; /* Alinha o texto da lista à esquerda */
    font-size: 0.95rem;
}

.demand-list li {
    margin-bottom: 5px;
    position: relative;
    padding-left: 15px;
}

.demand-list li::before {
    content: "•"; /* Adiciona um ponto discreto como marcador */
    color: var(--color-secondary);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}