/* style.css */

/* Variáveis de Cor */
:root {
    --primary-color: #004a7c; /* Azul Escuro Corporativo */
    --secondary-color: #f4f4f4; /* Cinza Claro */
    --text-color: #333;
    --highlight-color: #25d366; /* Verde WhatsApp para CTA */
    --contact-color: #20b2aa; /* Azul Marinho/Verde para Contato */
}
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: var(--text-color);
}

/* 1. Header e Navegação Comum */
.top-header {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo h1 {
    font-size: 1.5em;
    margin: 0;
}
.logo h1 a {
    color: white;
    text-decoration: none;
}
.nav-menu a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 3px;
    transition: background-color 0.3s;
}
.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}
.nav-menu .cta-nav { /* Botão de Contato no menu */
    background-color: var(--highlight-color);
    padding: 8px 15px;
    border-radius: 5px;
    margin-left: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.nav-menu .cta-nav:hover {
    background-color: #128c7e;
}

/* 2. Estilos da Página Principal (Conteúdo) */
header.main-hero {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 20px 20px;
    text-align: center;
}
header.main-hero h1 {
    margin-bottom: 5px;
    font-size: 2.5em;
}
header.main-hero p {
    font-size: 1.2em;
    font-weight: 300;
}
.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    margin: 20px auto;
    display: block;
}
.container {
    width: 80%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}
.section {
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}
.section h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.services-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.service-item {
    flex-basis: 30%;
    background: var(--secondary-color);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.service-item h3 {
    margin-top: 0;
    color: var(--primary-color);
}
.service-item h3 a {
    color: var(--primary-color);
    text-decoration: none;
}
.quote {
    background-color: var(--secondary-color);
    padding: 20px;
    margin: 20px 0;
    border-left: 5px solid var(--contact-color);
    font-style: italic;
    color: #555;
}

/* 3. Estilo do Botão CTA Comum */
.cta-button {
    display: inline-block;
    background-color: var(--highlight-color);
    color: white;
    padding: 15px 30px;
    margin: 20px 0;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    font-size: 1.1em;
}
.cta-button:hover {
    background-color: #128c7e;
}
.cta-small { /* Para botões menores dentro de cards */
    padding: 10px 15px !important;
    font-size: 0.9em !important;
    margin: 10px 0 0 0 !important;
}

/* 4. Estilo Formulário de Contato (contato.html) */
.contact-form {
    padding: 40px;
    background: var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.contact-form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Garante que padding e border não aumentem o tamanho total */
}
.contact-form textarea {
    resize: vertical;
}
.contact-form button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 1.1em;
    transition: background-color 0.3s;
}
.contact-form button:hover {
    background-color: #003358;
}

/* 5. Footer Comum */
footer {
    background: var(--text-color);
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: 30px;
    font-size: 0.9em;
}

/* 6. Responsividade básica */
@media (max-width: 768px) {
    .services-grid {
        flex-direction: column;
    }
    .service-item {
        flex-basis: 100%;
    }
    .container {
        width: 95%;
    }
    .top-header {
        flex-direction: column;
        text-align: center;
    }
    .nav-menu {
        margin-top: 10px;
    }
    .nav-menu a {
        display: block;
        margin: 5px 0;
    }
}
