/* style.css - Código Final */
:root {
    /* Cores extraídas e adaptadas do folheto */
    --primary-color: #1a3c5a; /* Azul Petróleo Escuro */
    --secondary-color: #ffcc00; /* Amarelo Ouro */
    --text-color: #333;
    --bg-color: #f9f9f9;
    --font-family: 'Roboto', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Cabeçalho --- */
header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    max-height: 70px; /* Ajuste para o logo não ficar gigante */
    width: auto;
    border-radius: 4px;
    background-color: #fff; /* Fundo branco caso o jpg tenha fundo */
    padding: 2px;
}

.logo-text h1 {
    font-size: 1.2rem;
    line-height: 1.1;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
}

.logo-text p {
    font-size: 0.8rem;
    color: var(--secondary-color);
    letter-spacing: 1px;
    margin-top: 2px;
}

nav ul {
    list-style: none;
}

nav ul li {
    display: inline;
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

/* --- Seção Hero (Capa) --- */
#hero {
    /* Usa a imagem fundo.jpg se existir, senão usa cor sólida */
    background: linear-gradient(rgba(26, 60, 90, 0.9), rgba(26, 60, 90, 0.7)), url('fundo.jpg') no-repeat center center/cover;
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

#hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

#hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.btn:hover {
    transform: scale(1.05);
    background-color: #e6b800;
    box-shadow: 0 6px 8px rgba(0,0,0,0.3);
}

/* --- Seção Serviços --- */
#servicos {
    padding: 60px 0;
    background-color: #fff;
}

#servicos h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-size: 2rem;
    text-transform: uppercase;
    position: relative;
}

#servicos h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.service-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid var(--secondary-color);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.service-item h3 {
    padding: 20px 15px;
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* --- Rodapé / Contato --- */
footer#contato {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 60px 0 30px;
    border-top: 5px solid var(--secondary-color);
}

.contact-card {
    background-color: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 15px;
    display: inline-block;
    margin: 20px 0 40px;
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-whatsapp {
    display: inline-block;
    background-color: #25D366; /* Verde Oficial do WhatsApp */
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    margin: 10px;
    font-size: 1.1rem;
    transition: background-color 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 20px;
}

/* --- Crédito do Desenvolvedor --- */
.dev-credit {
    margin-top: 10px;
    font-size: 0.65rem;      /* BEM PEQUENO (aprox 9px-10px) */
    opacity: 0.5;           /* Um pouco transparente para ser discreto */
    color: #fff;
}

/* --- Responsividade (Celular) --- */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .logo-container {
        flex-direction: column;
    }

    nav ul {
        margin: 0;
        padding: 0;
    }
    
    nav ul li {
        margin: 0 10px;
    }

    #hero h1 {
        font-size: 1.8rem;
    }
    
    #hero p {
        font-size: 1rem;
    }
    
    .btn-whatsapp {
        display: block; /* Botões um embaixo do outro no celular */
        margin: 10px auto;
        max-width: 250px;
    }
}