/* --- Variáveis --- */
:root {
    --primary-color: #0d253f; /* Azul Escuro */
    --accent-color: #c5a059;  /* Dourado */
    --text-dark: #1a1a1a;
    --text-light: #555555;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --input-bg: #fdfdfd;
    --border-color: #e0e0e0;
}

/* --- Reset & Globais --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Roboto', sans-serif; }
html { scroll-behavior: smooth; }
body { line-height: 1.6; color: var(--text-light); background-color: var(--white); }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: var(--primary-color); }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }

/* --- Botões --- */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}
.btn-primary:hover { background-color: var(--accent-color); }
.btn-secondary {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 4px;
    margin-left: 10px;
}
.btn-secondary:hover { background-color: var(--primary-color); color: var(--white); }
.btn-whatsapp {
    background-color: #25D366;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-whatsapp:hover { background-color: #20b857; color: white; }

/* --- Header --- */
header { background-color: var(--white); padding: 15px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.navbar { display: flex; justify-content: space-between; align-items: center; }
.logo h2 { font-size: 1.5rem; margin-bottom: -5px; }
.logo span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--accent-color); }
nav ul { display: flex; gap: 20px; }
nav ul li a { font-weight: 500; color: var(--primary-color); }
nav ul li a:hover { color: var(--accent-color); }

/* --- Hero --- */
.hero { background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%); padding: 100px 0; }
.hero-content { display: flex; align-items: center; justify-content: space-between; }
.hero-text { max-width: 50%; }
.hero-text h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.2; }
.scale-icon { font-size: 15rem; color: rgba(13, 37, 63, 0.05); }

/* --- Estilo do Logo no Hero (Ajustado) --- */
.hero-img {
    flex: 1; /* Ocupa o espaço restante */
    display: flex;
    justify-content: flex-end; /* Alinha o logo levemente à direita, como na referência */
    align-items: center;
}

.hero-logo-img {
    width: 100%;           
    max-width: 380px;      /* REDUZI DE 500px PARA 380px (Ficará mais harmonioso) */
    height: auto;          
    display: block;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1)); /* Sombra suave para destacar do fundo */
}

/* --- Responsividade (Celular e Tablet) --- */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column-reverse; /* No tablet/celular, o texto vai para baixo e o logo para cima */
        text-align: center;
        justify-content: center;
    }
    
    .hero-text {
        max-width: 100%; /* Texto ocupa a largura toda no celular */
    }

    .hero-img {
        justify-content: center; /* Centraliza o logo no celular */
        margin-bottom: 30px;
    }

    .hero-logo-img {
        max-width: 280px; /* Tamanho ideal para celular */
    }
}

/* --- Títulos de Seção --- */
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 10px; }
.section-subtitle { text-align: center; margin-bottom: 50px; max-width: 700px; margin-left: auto; margin-right: auto; }
.text-left { text-align: left; }

/* --- Cards de Serviço --- */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: var(--white); padding: 30px; border: 1px solid #eee; border-radius: 8px; transition: 0.3s; }
.card:hover { transform: translateY(-5px); border-color: var(--accent-color); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.icon-box { font-size: 1.5rem; color: var(--primary-color); margin-bottom: 20px; background: #eef2f6; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.tags span, .tags-small span { background: #f0f4f8; color: var(--primary-color); padding: 4px 10px; font-size: 0.75rem; border-radius: 4px; margin-right: 5px; display: inline-block; margin-top: 10px; font-weight: 500; }

/* --- Sobre & Lista --- */
.features-list { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.features-list li { display: flex; align-items: center; gap: 10px; color: var(--primary-color); font-weight: 500; }
.features-list li i { color: var(--accent-color); }

/* --- Equipe --- */
.grid-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.team-card { background: var(--white); border-radius: 8px; overflow: hidden; border: 1px solid #eee; }
.photo-placeholder { height: 280px; background-color: #ddd; background-size: cover; background-position: center; }
.team-info { padding: 20px; }
.role { color: var(--accent-color); font-weight: bold; font-size: 0.85rem; display: block; margin-bottom: 10px; text-transform: uppercase; }

/* --- Contato (Novo) --- */
.contact-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 50px; }
.contact-card { background: var(--white); padding: 30px; text-align: center; border-radius: 8px; border: 1px solid #eee; box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
.contact-icon { font-size: 1.5rem; color: var(--primary-color); background: #eef2f6; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 50%; margin: 0 auto 15px; }

/* Formulário */
.form-container { max-width: 800px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; }
.form-group label { font-size: 0.9rem; font-weight: 500; margin-bottom: 8px; color: var(--text-dark); }
input, select, textarea { padding: 12px; border: 1px solid var(--border-color); border-radius: 4px; font-size: 1rem; background: var(--input-bg); outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--primary-color); }
.form-note { font-size: 0.85rem; color: #888; margin-bottom: 20px; }
.form-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.btn-block { width: 100%; text-align: center; justify-content: center; padding: 15px; }

/* --- Footer (Atualizado) --- */
footer { background-color: var(--primary-color); color: var(--white); padding-top: 60px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-col h3 { color: var(--white); margin-bottom: 10px; }
.footer-col h4 { color: var(--white); margin-bottom: 20px; font-size: 1.1rem; }
.footer-desc { font-size: 0.9rem; opacity: 0.8; }
.footer-col ul li { margin-bottom: 10px; opacity: 0.8; font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--accent-color); opacity: 1; }
.footer-col ul li i { margin-right: 10px; color: var(--accent-color); }

.footer-bottom { padding: 20px 0; background: #0a1f35; }
.bottom-flex { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; opacity: 0.7; }
.social-icons a { color: var(--white); margin-left: 15px; font-size: 1rem; transition: 0.3s; }
.social-icons a:hover { color: var(--accent-color); }

/* Mobile */
@media (max-width: 768px) {
    .navbar { flex-direction: column; gap: 15px; }
    nav ul { flex-direction: column; text-align: center; }
    .hero-content { flex-direction: column-reverse; text-align: center; }
    .hero-text { max-width: 100%; }
    .form-row, .form-buttons { grid-template-columns: 1fr; }
    .bottom-flex { flex-direction: column; gap: 10px; text-align: center; }
}