/* Geral */
:root {
    --primary-color: #0A4E8D; /* Azul corporativo escuro */
    --secondary-color: #F5F7FA; /* Cinza bem claro */
    --accent-color: #4CAF50; /* Verde vibrante para CTAs */
    /* --accent-color: #FF8C42; */ /* Laranja suave alternativo */
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --text-muted: #6c757d;
    --font-heading: 'Lato', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --border-radius: 5px;
    --shadow-soft: 0 4px 12px rgba(0,0,0,0.07);
    --shadow-medium: 0 6px 18px rgba(0,0,0,0.1);
    --transition-speed: 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; } /* Altura da navbar */
body { font-family: var(--font-body); line-height: 1.7; color: var(--text-dark); background-color: #fff; }

.container { width: 90%; max-width: 1140px; margin: 0 auto; padding: 0 15px; }

h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; color: var(--primary-color); line-height: 1.3; }
h1 { font-size: 2.7rem; margin-bottom: 1rem; font-weight: 900;}
h2.section-title, h2.section-title-left { 
    font-size: 2.1rem; margin-bottom: 1.5rem; position: relative; padding-bottom: 0.8rem;
}
h2.section-title { text-align: center; }
h2.section-title::after, h2.section-title-left::after {
    content: ''; position: absolute; bottom: 0; width: 60px; height: 4px;
    background-color: var(--accent-color); border-radius: 2px;
}
h2.section-title::after { left: 50%; transform: translateX(-50%); }
h2.section-title-left::after { left: 0; }

.btn {
    display: inline-block; padding: 10px 25px; font-family: var(--font-heading);
    font-weight: 700; text-decoration: none; border-radius: var(--border-radius);
    transition: var(--transition-speed); cursor: pointer; text-align: center; border: 2px solid transparent;
}
.btn-primary { background-color: var(--accent-color); color: var(--text-light); border-color: var(--accent-color); }
.btn-primary:hover { background-color: #3e8e41; border-color: #3e8e41; transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn-secondary { background-color: transparent; color: var(--primary-color); border-color: var(--primary-color); }
.btn-secondary:hover { background-color: var(--primary-color); color: var(--text-light); }
.btn-navbar { padding: 8px 18px; font-size: 0.9rem; }

/* Navbar */
.navbar { background-color: var(--text-light); padding: 1rem 0; box-shadow: var(--shadow-soft); width: 100%; z-index: 1000; }
.navbar.sticky { position: fixed; top: 0; left: 0; animation: slideDownNav 0.5s ease-out; }
@keyframes slideDownNav { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo, .logo-footer { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 900; color: var(--primary-color); text-decoration: none; }
.nav-menu ul { list-style: none; display: flex; }
.nav-menu li { margin-left: 22px; }
.nav-menu a { text-decoration: none; color: var(--text-dark); font-weight: 600; font-size: 0.95rem; padding-bottom: 5px; transition: color var(--transition-speed); }
.nav-menu a:hover, .nav-menu a.active { color: var(--accent-color); border-bottom: 2px solid var(--accent-color); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--primary-color); cursor: pointer; }
.hamburger { display: block; width: 22px; height: 2px; background-color: var(--primary-color); position: relative; transition: all 0.3s ease; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; width: 100%; height: 2px; background-color: var(--primary-color); left: 0; transition: all 0.3s ease;}
.hamburger::before { top: -6px; } .hamburger::after { top: 6px; }
.nav-open .hamburger { background-color: transparent; }
.nav-open .hamburger::before { transform: rotate(45deg); top: 0; }
.nav-open .hamburger::after { transform: rotate(-45deg); top: 0; }

/* Hero Section com Banner Lateral */
.hero-section-lateral {
    display: flex;
    min-height: calc(85vh - 70px); /* Subtrai altura da navbar se ela não for overlay */
    align-items: stretch; /* Faz ambos os filhos terem a mesma altura */
    background-color: var(--secondary-color); /* Cor de fundo para área de conteúdo */
    margin-top: 70px; /* Espaço para navbar fixa */
}
.hero-banner-lateral {
    flex: 0 0 38%; /* Largura do banner lateral */
    background-color: var(--primary-color); /* Cor de fundo do banner */
    background-image: url('https://via.placeholder.com/600x900/0A4E8D/FFFFFF?text=Soluções+Vértice'); /* Imagem de fundo */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Para um efeito de sobreposição de cor na imagem de fundo, se houver:
    &::before {
        content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
        background-color: rgba(10, 78, 141, 0.5); z-index: 1;
    } */
}
.banner-overlay-content {
    position: relative; z-index: 2; text-align: center;
    /* Estilo para .logo-banner, se usado:
    .logo-banner { font-size: 5rem; color: rgba(255,255,255,0.1); font-weight: 900; } */
}
.hero-content-lateral {
    flex: 1;
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Alinha o texto à esquerda */
}
.hero-content-lateral h1 {
    font-size: 2.8rem; /* Ajustado para caber melhor */
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}
.hero-content-lateral p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
}
.btn-hero { padding: 12px 30px; font-size: 1.05rem; }

/* Diferenciais Section */
.diferenciais-section { padding: 70px 0; background-color: #fff; }
.diferenciais-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 2.5rem; }
.diferencial-card {
    background-color: var(--secondary-color); /* Ou var(--text-light) com shadow */
    padding: 30px 25px; border-radius: var(--border-radius); text-align: center;
    box-shadow: var(--shadow-soft); transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}
.diferencial-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-medium); }
.diferencial-icon { font-size: 2.5rem; color: var(--accent-color); margin-bottom: 1.2rem; }
.diferencial-card h3 { font-size: 1.3rem; margin-bottom: 0.8rem; color: var(--primary-color); }
.diferencial-card p { font-size: 0.9rem; color: var(--text-muted); }

/* Sobre Section */
.sobre-section { padding: 70px 0; background-color: var(--secondary-color); }
.sobre-container { display: flex; align-items: center; gap: 40px; }
.sobre-imagem { flex: 1; }
.sobre-imagem img { width: 100%; border-radius: var(--border-radius); box-shadow: var(--shadow-medium); }
.sobre-texto { flex: 1.2; }
.sobre-texto h2.section-title-left { text-align: left; }
.sobre-texto p { margin-bottom: 1.5rem; color: var(--text-muted); font-size: 0.95rem; }
.sobre-texto .btn-secondary { margin-top: 1rem; }

/* Contato CTA Section */
.contato-cta-section {
    padding: 60px 0; background-color: var(--primary-color); color: var(--text-light); text-align: center;
}
.contato-cta-section h2 { font-size: 2rem; color: var(--text-light); margin-bottom: 1rem; }
.contato-cta-section h2::after { background-color: var(--accent-color); } /* Sobrescrever cor do ::after */
.contato-cta-section p { font-size: 1.1rem; margin-bottom: 2rem; opacity: 0.9; max-width: 550px; margin-left: auto; margin-right: auto; }
#quickContactForm { display: flex; justify-content: center; gap: 10px; max-width: 500px; margin: 0 auto 1rem auto; }
#quickContactForm input[type="email"] {
    flex-grow: 1; padding: 12px 15px; border: 1px solid #ccc; border-radius: var(--border-radius);
    font-size: 0.95rem; font-family: var(--font-body);
}
#quickContactForm input:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 0.2rem rgba(var(--accent-color),.25); }
#quickContactForm .btn-primary { padding: 12px 20px; font-size: 0.95rem; }
#quickFormFeedback { font-size: 0.9rem; margin-top: 10px; min-height: 1.5em; }
#quickFormFeedback.success { color: #c1f0c1; } #quickFormFeedback.error { color: #f8d7da; }

/* Footer */
footer { background-color: var(--text-dark); color: #adb5bd; padding: 40px 0 20px; font-size: 0.85rem; }
.footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
.logo-footer { font-size: 1.5rem; color: var(--text-light); }
.footer-links ul { list-style: none; display: flex; gap: 15px; }
.footer-links a { color: #adb5bd; text-decoration: none; transition: color var(--transition-speed); }
.footer-links a:hover { color: var(--accent-color); }
.footer-social a { color: #adb5bd; font-size: 1.2rem; margin-left: 15px; transition: color var(--transition-speed); }
.footer-social a:hover { color: var(--accent-color); }
.copyright { text-align: center; padding-top: 15px; border-top: 1px solid #495057; }

/* Responsividade */
@media (max-width: 992px) {
    .hero-content-lateral h1 { font-size: 2.4rem; }
    .hero-content-lateral p { font-size: 1.05rem; }
    .sobre-container { flex-direction: column; text-align: center; }
    .sobre-texto h2.section-title-left::after { left: 50%; transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .hero-section-lateral { flex-direction: column; margin-top: 60px; min-height: auto; } /* Altura da navbar mobile */
    .hero-banner-lateral { min-height: 300px; flex-basis: auto; width: 100%; }
    .hero-content-lateral { padding: 40px 25px; text-align: center; align-items: center;}
    .hero-content-lateral h1 { font-size: 2rem; }
    .hero-content-lateral p { font-size: 1rem; max-width: 100%;}

    .nav-container { position: relative; }
    .navbar { padding: 0.8rem 0; }
    .nav-toggle { display: block; position: absolute; right: 15px; top: 50%; transform: translateY(-50%); }
    .nav-menu {
        display: none; flex-direction: column; width: 100%;
        background-color: var(--text-light); position: absolute; top: 60px; /* Altura da navbar mobile */
        left: 0; padding: 5px 0; box-shadow: 0 6px 10px rgba(0,0,0,0.1); z-index: 998;
    }
    .nav-menu.active { display: flex; }
    .nav-menu li { margin: 0; width: 100%; }
    .nav-menu a { display: block; padding: 12px 20px; text-align: center; border-bottom: 1px solid var(--secondary-color); }
    .nav-menu a:hover, .nav-menu a.active { color: var(--accent-color); border-bottom-color: var(--accent-color); }
    .nav-menu li:last-child a { border-bottom: none; }
    .btn-navbar { display: none; } /* Esconder botão da navbar principal */
    
    #quickContactForm { flex-direction: column; }
    #quickContactForm input, #quickContactForm button { width: 100%; }

    .footer-content { flex-direction: column; gap: 15px; }
    .footer-links ul { flex-direction: column; align-items: center; gap: 8px;}
    .footer-social a { margin: 0 8px; }
}