/* 
   Sakamoto, Guedes & Porto - Design System
   Modern Dark Juris Aesthetic
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-primary: #070A0F;
    --bg-secondary: #0F1B33;
    --text-primary: #E6EAF2;
    --text-secondary: #A0AEC0;
    --accent: #2563EB;
    --accent-hover: #1D4ED8;
    --border: rgba(230, 234, 242, 0.1);
    --glass: rgba(15, 27, 51, 0.8);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p {
    color: var(--text-secondary);
}

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

ul {
    list-style: none;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 100px 0;
}

/* Header & Navbar */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}

.btn-contact {
    background: var(--accent);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-contact:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to right, var(--bg-primary) 40%, transparent 100%), url('../img/hero-advocacia.png');
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

/* Buttons */
.btn-primary {
    background: var(--accent);
    color: white;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    margin-left: 1rem;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--border);
    border-color: var(--text-primary);
}

/* Features/Services Section */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title .divider {
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-secondary);
    padding: 3rem 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* About Section */
.about-flex {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.about-image::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent);
    z-index: -1;
    border-radius: 8px;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    color: var(--accent);
    font-size: 1.2rem;
}

.contact-form {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    padding: 1rem;
    color: var(--text-primary);
    border-radius: 4px;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent);
}

.form-btn {
    width: 100%;
    background: var(--accent);
    color: white;
    border: none;
    padding: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
}

.form-btn:hover {
    background: var(--accent-hover);
}

/* Map Section */
.map-container {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 4rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(1) invert(0.9) contrast(1.2);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 80px 0 20px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    margin-bottom: 1rem;
}

.footer-brand p {
    margin-bottom: 1.5rem;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128C7E;
}

/* Cookies Banner */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-top: 2px solid var(--accent);
    z-index: 10000;
    transition: var(--transition);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.cookie-banner.active {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.cookie-text {
    font-size: 0.9rem;
}

.cookie-btns {
    display: flex;
    gap: 1rem;
}

.btn-accept {
    background: var(--accent);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn-decline {
    background: transparent;
    color: var(--text-primary);
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    border: 1px solid var(--border);
    cursor: pointer;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 150px auto 100px;
    padding: 0 2rem;
}

.legal-content h1 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.legal-content h2 {
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.legal-content p, .legal-content ul {
    margin-bottom: 1.5rem;
}

.legal-content ul {
    padding-left: 1.5rem;
    list-style: disc;
}

/* Responsive */
@media (max-width: 992px) {
    .header {
        padding: 1rem 0;
        background: var(--glass);
        backdrop-filter: blur(10px);
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-flex, .contact-grid, .footer-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}
