/* ==========================================================================
   CSS Variables & Resets
   ========================================================================== */
:root {
    /* Colors inspired by premium dark themes */
    --bg-dark: #0a0b0e;
    --bg-card: rgba(18, 20, 26, 0.4);
    --bg-glass: rgba(255, 255, 255, 0.03);
    
    --primary: #c3a165;      /* OAB/Law traditional elegant gold */
    --primary-light: #e6c88b;
    --primary-dark: #917646;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --glow-color: rgba(195, 161, 101, 0.15);
    
    --success: #10b981;
    --error: #ef4444;
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Gradients */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(ellipse at 15% 50%, rgba(195, 161, 101, 0.03) 0%, transparent 60%),
        radial-gradient(ellipse at 85% 30%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        var(--bg-dark);
    z-index: -2;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.highlight {
    color: var(--primary);
    position: relative;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-body);
}

.btn i {
    font-size: 1.2rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #121212;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px var(--glow-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(195, 161, 101, 0.3);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 12px;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(195, 161, 101, 0.1);
    color: var(--primary-light);
    border: 1px solid rgba(195, 161, 101, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1rem 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(10, 11, 14, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo-img {
    height: 76px; /* Aumentado para melhor visibilidade */
    object-fit: contain;
}

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

.nav-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-main);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.glow-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
}

.sphere-1 {
    top: -10%; left: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--primary-dark), transparent 70%);
}

.sphere-2 {
    bottom: 10%; right: -5%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 70%);
}

.hero-title {
    font-size: 3.5rem;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.trust-text {
    display: block;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-text i {
    color: var(--success);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lawyer-hero-img {
    width: 80%;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
}

.glass-card {
    position: absolute;
    top: 10%;
    left: -10%;
    background: rgba(20, 22, 28, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    width: 280px;
    z-index: 20;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.visual-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.dots span {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    margin-right: 4px;
}

.status-badge {
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.status-badge.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.visual-body .line {
    height: 12px;
    border-radius: 6px;
    background: var(--border-color);
    margin-bottom: 12px;
}

.visual-body .line.short { width: 60%; }

.floating-badge {
    position: absolute;
    bottom: 20%;
    right: -15%;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 20;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.floating-badge.success i {
    color: var(--success);
    font-size: 1.5rem;
}

.floating-badge span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}

/* ==========================================================================
   Problem Section
   ========================================================================== */
.section {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.features-grid {
    grid-template-columns: repeat(2, 1fr);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: rgba(195, 161, 101, 0.3);
    background: rgba(25, 27, 34, 0.6);
    transform: translateY(-5px);
}

.feature-icon {
    width: 50px; height: 50px;
    background: rgba(195, 161, 101, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Solution Section
   ========================================================================== */
.solution-section {
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.solution-text h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.solution-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.check-list {
    list-style: none;
    margin: 2rem 0 3rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 500;
}

.check-list i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 2px;
}

.office-img {
    width: 100%;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    filter: grayscale(20%) contrast(1.1);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
}

.stars {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 3px;
}

.testimonial-card p {
    color: var(--text-main);
    font-size: 1rem;
    font-style: italic;
    flex-grow: 1;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.client-info strong {
    display: block;
    color: #fff;
}

.client-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Footer CTA
   ========================================================================== */
.footer-cta {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.sphere-4 {
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 300px;
    background: radial-gradient(ellipse, rgba(195, 161, 101, 0.08), transparent 70%);
}

.cta-box {
    background: rgba(20, 22, 28, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(195, 161, 101, 0.2);
    border-radius: 30px;
    text-align: center;
    padding: 5rem 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-box p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    height: 40px;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links a, .footer-contact p {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact i {
    color: var(--primary);
    margin-right: 0.5rem;
}

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

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.bounce {
    animation: bounce 4s infinite ease-in-out;
}

/* ==========================================================================
   Responsive (Mobile Focus)
   ========================================================================== */
@media (max-width: 991px) {
    .hero-container, .solution-content {
        grid-template-columns: 1fr;
    }
    .hero { padding-top: 8rem; text-align: center; }
    .hero-subtitle { margin: 0 auto 2.5rem; }
    .hero-actions { justify-content: center; }
    .nav-links { display: none; }
    .footer-container { grid-template-columns: 1fr; gap: 2rem; }
    .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .container { padding: 0 1.25rem; }
    
    .logo-img { height: 64px; } /* Ajuste proporcional no mobile */
    .nav-btn { display: none; } /* Esconder botão do menu para dar espaço à logo */
    
    .section { padding: 4rem 0; }
    
    .hero { padding-top: 6rem; min-height: auto; }
    .hero-title { font-size: 2rem; line-height: 1.1; margin-bottom: 1rem; }
    .hero-subtitle { font-size: 1rem; width: 100%; }
    
    .hero-actions { flex-direction: column; width: 100%; }
    .btn-large { width: 100%; padding: 1.2rem; font-size: 1.15rem; justify-content: center; }
    
    .glass-card { display: none; } /* Ocultar card de vidro flutuante no mobile para focar na imagem principal */
    .lawyer-hero-img { width: 100%; margin-top: 2rem; }
    
    .section-header h2 { font-size: 2rem; margin-bottom: 1rem; }
    .section-header { margin-bottom: 3rem; }
    .section-header p { font-size: 1rem; }
    
    .solution-content { gap: 3rem; }
    .solution-text h2 { font-size: 2rem; }
    .solution-text .btn-outline { width: 100%; justify-content: center; padding: 1.2rem; }
    .office-img { display: none; } /* Reduzir consumo de dados e rolagem desnecessária no mobile */
    
    .features-grid { grid-template-columns: 1fr; gap: 1rem; }
    .feature-card { padding: 1.5rem; border-radius: 16px; }
    .feature-icon { margin-bottom: 1rem; }
    
    .cta-box { padding: 2.5rem 1.5rem; text-align: left; }
    .cta-box h2 { font-size: 1.8rem; text-align: left; }
    .cta-box p { font-size: 1rem; text-align: left; margin-bottom: 2rem; }
    .cta-box .btn-large { width: 100%; justify-content: center; }
    
    .footer-container { gap: 2rem; text-align: center; }
    .footer-links a, .footer-contact p { justify-content: center; align-items: center; display: flex; }
}

