/* 
    =========================================
    CSS STYLES - LAWYER LEAD MAGNET
    =========================================
*/

/* --- CSS Variables & Design Tokens --- */
:root {
    --primary-color: #14132f;      /* Logo Background Color */
    --primary-light: #1e1d45;
    --accent-color: #d4af37;       /* Gold/Brass for premium feel */
    --accent-hover: #b5952f;
    --text-main: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* --- Resets & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

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

.section-divider {
    height: 100px;
    background-color: #f8fafc;
    margin: 40px 0;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    font-family: var(--font-body);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-success {
    background-color: #25d366 !important;
    border-color: #25d366 !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4) !important;
}

/* --- Header --- */
.header {
    background-color: var(--primary-color);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo h2 {
    color: var(--white);
    font-size: 1.5rem;
    letter-spacing: 1px;
    font-family: 'Source Serif 4', serif;
    font-weight: 700;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #cbd5e1;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, rgba(20, 19, 47, 0.85) 0%, rgba(30, 29, 69, 0.95) 100%), url('https://img.magnific.com/fotos-gratis/visao-de-escalas-de-justica-3d_23-2151228073.jpg');
    background-size: cover;
    background-position: center;
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Decorative background elements */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
    color: var(--white);
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--accent-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #e2e8f0;
}

.benefit i {
    color: var(--accent-color);
}

/* Hero Form */
.hero-form-container {
    flex: 0 0 420px;
}

.lead-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.lead-form h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.lead-form p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: #f8fafc;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-disclaimer {
    display: block;
    margin-top: 15px;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-light);
}

/* --- Services Section --- */
.services {
    padding: 100px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

.service-card {
    padding: 40px 30px;
    background-color: var(--bg-light);
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    text-align: center;
}


.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    text-align: center;
}


.service-card p {
    color: var(--text-light);
    text-align: center;
}

/* --- Team Section --- */
.team {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.team-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    flex: 1 1 300px;
    max-width: 380px;
}

.team-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.team-photo {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background-color: var(--primary-light);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-photo img {
    transform: scale(1.05);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.specialty {
    display: block;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.team-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

/* --- Testimonials Section --- */
.testimonials {
    padding: 100px 0;
    background-color: var(--white);
}

.testimonial-carousel {
    display: flex;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonial-track {
    display: flex;
    gap: 30px;
    animation: scroll 40s linear infinite;
    width: max-content;
}

.testimonial-carousel:hover .testimonial-track {
    animation-play-state: paused;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); }
}

.testimonial-card {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 40px 30px;
    min-width: 350px;
    max-width: 400px;
    scroll-snap-align: start;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-content {
    margin-bottom: 30px;
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.3;
    margin-bottom: 15px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-main);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stars {
    color: #fbbf24;
    font-size: 0.9rem;
}

.google-review-btn-container {
    text-align: center;
    margin-top: 50px;
}

.google-btn {
    background-color: #4285F4;
    color: white;
    box-shadow: 0 4px 14px rgba(66, 133, 244, 0.4);
}

.google-btn:hover {
    background-color: #3367D6;
    color: white;
}

/* --- Footer --- */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0 20px;
}

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

.footer-about h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-about p {
    color: #cbd5e1;
    max-width: 400px;
}

.footer-contact h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #cbd5e1;
    margin-bottom: 15px;
}

.footer-contact ul li i {
    color: var(--accent-color);
}

.contact-link {
    color: #cbd5e1;
    transition: var(--transition);
}

.contact-link:hover {
    opacity: 0.7;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    font-size: 0.9rem;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 40px;
    }

    .hero-content p {
        margin: 0 auto 30px;
    }
    
    .hero-benefits {
        align-items: center;
    }

    .hero-form-container {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .navbar {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 30px 20px;
        border-top: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 10px 20px rgba(0,0,0,0.4);
        z-index: 1100;
    }

    .navbar.active {
        display: flex !important;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 20px;
        margin-bottom: 25px;
    }

    .nav-links a {
        font-size: 1.15rem;
        font-family: 'Nunito', sans-serif;
        font-weight: 500;
        letter-spacing: 0.5px;
    }

    .navbar .btn-outline {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
        padding: 12px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .lead-form {
        padding: 30px 20px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
}

/* --- New Hero Centered Styles --- */
.hero-centered {
    text-align: center;
}

.hero-container-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-content-centered {
    max-width: 800px;
}

.pre-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-content-centered h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: #fff;
}

.hero-content-centered p {
    font-size: 1.25rem;
    margin: 0 auto 40px;
    max-width: 650px;
    color: rgba(255, 255, 255, 0.8);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25d366;
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: #fff;
}

/* --- Hero Benefits Styles --- */
.hero-benefits-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Nunito', sans-serif;
}

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

/* --- Contact Section Styles --- */
.contact-section {
    padding: 100px 0;
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.contact-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-text h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    font-weight: 700;
    width: 100%;
}

.contact-divider::before,
.contact-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
}

.contact-form-wrapper {
    flex: 0 0 450px;
}

/* Adjustments for forms on dark background */
.contact-section .lead-form {
    background-color: var(--white);
    color: var(--text-main);
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .hero-content-centered h1 {
        font-size: 3rem;
    }
    
    .contact-container {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-form-wrapper {
        flex: 1 1 100%;
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 576px) {
    .hero-content-centered h1 {
        font-size: 2.2rem;
    }
    
    .contact-text h2 {
        font-size: 2.2rem;
    }
}

.nunito-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

.nunito-text {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    opacity: 0.8;
}
.source-serif-4-regular {
  font-family: 'Source Serif 4', serif;
  font-weight: 400;
  font-style: normal;
}

.source-serif-4-light {
  font-family: 'Source Serif 4', serif;
  font-weight: 400;
  font-style: normal;
}

.source-serif-4-semi-bold {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-style: normal;
}

.source-serif-4-bold {
  font-family: 'Source Serif 4', serif;
  font-weight: 700;
  font-style: normal;
}

.source-serif-4-italic {
  font-family: 'Source Serif 4', serif;
  font-weight: 400;
  font-style: italic;
}

.custom-btn {
    background: #000;
    color: #fff;
    border: 1px solid #c9a227;
    width: max-content;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
}

.custom-btn:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
}

