/* Variaveis e Reset */
:root {
    --primary-color: #1e3a8a; /* Azul Vibrante */
    --secondary-color: #d97706; /* Âmbar/Laranja */
    --secondary-hover: #b45309;
    --dark-text: #111827;
    --gray-text: #4b5563;
    --light-bg: #f3f4f6;
    --white: #ffffff;
    --whatsapp-green: #25D366;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-text);
    background-color: var(--light-bg);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 110px;
    display: flex;
    align-items: center;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-img {
    height: 80px;
    width: auto;
    display: block;
}

.nav-menu ul {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-menu a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.btn-header-cta {
    background-color: var(--whatsapp-green);
    color: white !important;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.btn-header-cta:hover {
    background-color: #20bd5a;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background-image: linear-gradient(rgba(30, 58, 138, 0.85), rgba(17, 24, 39, 0.85)), url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    padding-top: 110px;
    color: white;
}

.hero-content {
    max-width: 900px;
}

.hero-badge {
    background-color: var(--secondary-color);
    display: inline-block;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.hero h1 {
    color: white;
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.25rem;
    color: #e5e7eb;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-whatsapp-hero {
    background-color: var(--whatsapp-green);
    color: white;
    padding: 18px 35px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp-hero:hover {
    background-color: #20bd5a;
    transform: translateY(-3px);
}

.btn-outline-hero {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 18px 35px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    backdrop-filter: blur(4px);
}

.btn-outline-hero:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Sections */
section {
    padding: 120px 0;
}

.section-white { background-color: var(--white); }
.section-bg { background-color: var(--light-bg); }

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.subtitle {
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.header-line {
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0 auto 25px;
    border-radius: 2px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    padding: 45px 35px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
    display: block; /* Make it a link */
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--secondary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: #dbeafe;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    font-size: 1rem;
    color: var(--gray-text);
    line-height: 1.7;
}

/* Office Section */
.office-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.office-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border-left: 8px solid var(--secondary-color);
}

.lawyer-info {
    margin: 25px 0;
    padding-left: 20px;
    border-left: 4px solid var(--secondary-color);
}

.lawyer-name {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
}

.lawyer-oab {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    margin: 5px 0;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: #cbd5e1;
    padding: 100px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer h3 {
    color: white;
    margin-bottom: 30px;
    font-size: 1.3rem;
}

.footer-logo {
    height: 70px;
    margin-bottom: 25px;
}

.contact-info li {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
}

.contact-info i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .office-grid { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.8rem; }
    .header { height: 90px; }
    .logo-img { height: 60px; }
    .nav-menu { display: none; }
}
