/* --- VARIÁVEIS DE CORES --- */
:root {
    --primary-color: #0f2c59; /* Azul Marinho (Engenharia/Confiança) */
    --secondary-color: #f8f9fa; /* Cinza muito claro (Fundo) */
    --accent-color: #e67e22; /* Laranja (Ação/Botões) */
    --text-color: #333333;
    --light-text: #ffffff;
}

/* --- RESET BÁSICO --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; }
ul { list-style: none; }

/* --- HEADER --- */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.menu { display: flex; align-items: center; gap: 20px; }
.menu a { color: var(--primary-color); font-weight: 500; }
.btn-nav {
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 15px;
    border-radius: 5px;
    transition: 0.3s;
}
.btn-nav:hover { background-color: #0a1f40; }

/* Adicione isso no seu CSS para controlar o tamanho da logo */
.logo img {
    max-height: 50px; /* Isso limita a altura para caber na barra */
    width: auto;      /* A largura se ajusta sozinha */
}

/* --- HERO SECTION --- */
.hero {
    background-image: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80'); /* Foto de Arquitetura/Engenharia */
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.overlay {
    background: rgba(15, 44, 89, 0.85); /* Camada azul transparente sobre a foto */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    color: #ddd;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

/* BOTÕES */
.hero-btns { display: flex; gap: 15px; justify-content: center; }

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}
.btn-primary:hover { background-color: #d35400; }

.btn-outline {
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}
.btn-outline:hover { background-color: white; color: var(--primary-color); }

/* --- AUTORIDADE --- */
.autoridade { background-color: white; padding: 40px 0; border-bottom: 1px solid #eee; }
.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
}
.stat-item h3 { font-size: 2rem; color: var(--primary-color); }
.stat-item p { color: #666; }

/* --- SERVIÇOS --- */
.section-padding { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 10px; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    border-top: 4px solid var(--primary-color);
}

.card:hover { transform: translateY(-5px); }
.card .icon { font-size: 2.5rem; margin-bottom: 20px; }
.card h3 { margin-bottom: 15px; color: var(--primary-color); }
.card p { color: #666; margin-bottom: 20px; font-size: 0.95rem; }
.link-card { color: var(--accent-color); font-weight: bold; }

/* --- DIFERENCIAL --- */
.diferencial { background-color: white; }
.split-screen {
    display: flex;
    align-items: center;
    gap: 50px;
}
.text-block { flex: 1; }
.text-block h2 { color: var(--primary-color); font-size: 2.2rem; margin-bottom: 20px; }
.image-block { flex: 1; }
.image-block img { width: 100%; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* --- SOBRE NÓS --- */
.sobre {
    background-color: var(--secondary-color); /* Fundo cinza suave */
}

.about-grid {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-img {
    flex: 1;
}

.about-img img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 10px 10px 0px var(--primary-color); /* Efeito visual elegante */
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    color: #555;
    margin-bottom: 20px;
    text-align: justify; /* Texto justificado para ficar "blocado" */
}

/* Lista de Valores com ícones */
.values-list {
    margin: 20px 0;
}

.values-list li {
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.signature {
    font-family: cursive; /* Fonte estilo assinatura */
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-top: 30px;
}

/* Responsividade do Sobre Nós (Celular) */
@media (max-width: 768px) {
    .about-grid {
        flex-direction: column; /* Um em cima do outro no celular */
    }
    .about-img img {
        box-shadow: 5px 5px 0px var(--primary-color); /* Sombra menor no celular */
    }
}

/* --- FORMULÁRIO --- */
.contato {
    background: linear-gradient(to right, var(--primary-color), #0a1f40);
    color: white;
}
.form-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    margin: 0 auto;
    color: var(--text-color);
    text-align: center;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}
input, select {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}
.full-width { width: 100%; }
.disclaimer { margin-top: 15px; font-size: 0.9rem; }
.disclaimer a { color: var(--primary-color); font-weight: bold; }

/* --- RODAPÉ --- */
footer { background-color: #222; color: #888; text-align: center; padding: 20px 0; }

/* --- REDES SOCIAIS NO RODAPÉ --- */
.social-icons {
    margin-bottom: 20px; /* Espaço entre os ícones e o texto */
    display: flex;
    justify-content: center; /* Centraliza na tela */
    gap: 20px; /* Espaço entre cada ícone */
}

.social-icons a {
    color: #ffffff !important; /* Cor original (Branco) */
    font-size: 1.5rem; /* Tamanho do ícone */
    transition: all 0.3s ease; /* Efeito suave de transição */
    display: inline-block;
}

.social-icons a:hover {
    color: var(--accent-color) !important; /* Fica Laranja ao passar o mouse */
    transform: translateY(-3px); /* Sobe um pouquinho (efeito flutuante) */
}

/* --- Botão WhatsApp Flutuante --- */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366; /* Verde do WhatsApp */
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex; /* Centraliza o ícone dentro da bolinha */
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    text-decoration: none; /* Garante que não apareça sublinhado */
}

/* Regra para o ícone desenhado (SVG) */
.whatsapp-btn svg {
    width: 35px; /* Tamanho do ícone */
    height: 35px;
    fill: white; /* Garante que o ícone fique branco */
}

.whatsapp-btn:hover {
    transform: scale(1.1); /* Aumenta ao passar o mouse */
    background-color: #128c7e; /* Verde um pouco mais escuro */
}