/* 
   VPL & ACB Associados - Estilo Principal 
   Design Moderno e Responsivo - PHP 8.3 Optimized
*/

:root {
    --primary-color: #1e3a8a; /* Navy Blue */
    --secondary-color: #b59410; /* Gold */
    --accent-color: #3b82f6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, .nav-menu a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Header & Navigation --- */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.85rem;
}

.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 25px;
}

.contact-info i {
    color: var(--secondary-color);
    margin-right: 8px;
}

.social-links a {
    margin-left: 15px;
    font-size: 1rem;
}

.navbar {
    padding: 15px 0;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 70px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    position: relative;
    margin-left: 35px;
}

.nav-menu a {
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.8px;
    padding: 10px 0;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--secondary-color);
}

/* Dropdown */
.has-dropdown > a i {
    font-size: 0.7rem;
    margin-left: 5px;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    padding: 15px 0;
    min-width: 220px;
    display: none;
    border-top: 4px solid var(--secondary-color);
    border-radius: 0 0 5px 5px;
}

.has-dropdown:hover .dropdown {
    display: block;
}

.dropdown li {
    margin: 0;
}

.dropdown a {
    display: block;
    padding: 12px 25px;
    text-transform: none;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.dropdown a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 30px;
}

.btn-nav-contact {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 12px 25px !important;
    border-radius: 5px;
}

.btn-nav-contact:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero-section {
    padding: 120px 0;
    background: linear-gradient(rgba(30, 58, 138, 0.85), rgba(30, 58, 138, 0.85)), url('../images/og-image.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    max-width: 850px;
    margin: 0 auto 45px;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 10px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(181, 148, 16, 0.3);
}

.btn-primary:hover {
    background: #967b0d;
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* --- Page Headers --- */
.page-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* --- Contact Page --- */
.contact-content {
    padding: 100px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.contact-details {
    margin: 40px 0;
}

.contact-detail-item {
    display: flex;
    margin-bottom: 35px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    color: var(--secondary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.contact-text h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
}

.contact-form-wrapper h2 {
    margin-bottom: 35px;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
}

input, select, textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg-light);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(181, 148, 16, 0.1);
}

.btn-submit {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 18px;
    margin: 20px 0 0;
}

.btn-submit:hover {
    background: var(--secondary-color);
}

/* --- Footer --- */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 100px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 30px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-logo {
    height: 60px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 8px;
}

.social-icons {
    margin-top: 30px;
}

.social-icons a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-right: 12px;
    color: var(--white);
    font-size: 1.1rem;
}

.social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 40px;
    text-align: center;
    font-size: 0.95rem;
}

/* --- Mobile --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    margin: 4px 0;
    border-radius: 3px;
}

@media (max-width: 1024px) {
    .contact-wrapper, .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none; /* Ativado via JS */
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .top-bar {
        display: none;
    }
}
