/* Spaceclass Inspired Theme for Law Firm */
:root {
    --primary-color: #03A8A3; /* Teal */
    --primary-light: #4DD0CD;
    --accent-color: #028783; /* Darker Teal */
    --accent-hover: #016E6A;
    --bg-light: #F8F9FA;
    --bg-dark: #1A2222; /* Very Dark Slate */
    --text-main: #333333;
    --text-muted: #666666;
    --text-light: #FFFFFF;
    
    --header-bg: #FFFFFF;
    --card-bg: #FFFFFF;
    
    --transition: all 0.3s ease;
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 8px;
    
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
    --shadow-header: 0 4px 30px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography utilities */
.text-center { text-align: center; }

/* Sticky Glassmorphism Header */
#main-header {
    position: fixed;
    top: 24px;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 0 24px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.logo img {
    height: 230px;
    width: auto;
    display: block;
    margin: -70px 0;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 32px;
    margin-left: auto;
    margin-right: 24px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

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

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--card-bg);
    min-width: 220px;
    box-shadow: var(--shadow-header);
    border-radius: var(--border-radius-sm);
    z-index: 1001;
    top: 100%;
    left: 0;
    padding: 8px 0;
}

.dropdown-content a {
    color: var(--text-main) !important;
    padding: 12px 20px;
    display: block;
}

.dropdown-content a:hover {
    background-color: rgba(3, 168, 163, 0.05);
    color: var(--primary-color) !important;
}

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

.btn-primary {
    background-color: var(--accent-color);
    color: #FFFFFF;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    display: inline-block;
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: auto;
    height: auto;
    background-color: var(--primary-color);
    background-image: url('imagens/slnote.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-start;
    padding-top: 100px;
    padding-bottom: 0;
}

.inner-hero {
    min-height: 50vh;
    padding-top: 160px;
    padding-bottom: 80px;
}

.inner-content {
    padding: 80px 0;
    background-color: var(--card-bg);
}

.inner-content h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.inner-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.8;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 34, 34, 0.85) 0%, rgba(3, 168, 163, 0.75) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: center;
}

.hero-text .badge {
    display: inline-block;
    background: rgba(3, 168, 163, 0.2);
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
}

.hero-text h1,
.hero-text h2 {
    font-size: 56px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.hero-text h1 span,
.hero-text h2 span {
    color: var(--accent-color);
}

.hero-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-bullets {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bullet {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-weight: 500;
}

.bullet svg {
    width: 24px;
    height: 24px;
    color: var(--accent-color);
}

/* Lead Form */
.form-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-hover);
}

.form-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.form-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

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

.input-group input {
    width: 100%;
    padding: 16px;
    border: 1px solid #E0E0E0;
    border-radius: var(--border-radius-sm);
    font-size: 15px;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(3, 168, 163, 0.2);
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 16px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 16px;
}

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

.privacy-note {
    text-align: center;
    font-size: 12px !important;
    margin-bottom: 0 !important;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: #FFFFFF;
    position: relative;
}

.features-section h2 {
    font-size: 36px;
    margin-bottom: 48px;
    color: #1C3A2B;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    display: block;
    background: var(--card-bg);
    padding: 32px 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
    cursor: pointer;
    text-decoration: none;
}

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

.card-img {
    width: calc(100% + 48px);
    margin: -32px -24px 24px -24px;
    height: 160px;
    object-fit: cover;
    border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
    display: block;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

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

/* Why Choose Us */
.why-us {
    padding: 80px 0;
    background-color: #F5F5F7;
}

.why-us-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.why-us-content h2 {
    font-size: 40px;
    margin-bottom: 24px;
    color: #1C3A2B;
}

.why-us-content p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 32px;
}

.why-us-list {
    list-style: none;
    margin-bottom: 40px;
}

.why-us-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-main);
    font-size: 16px;
    font-weight: 500;
}

.why-us-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.why-us-image {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-us-image .main-photo {
    width: 100%;
    height: 380px;
    border-radius: var(--border-radius-lg);
    background-color: var(--primary-light);
    background-size: 85%;
    background-position: center calc(50% - 5px);
    background-repeat: no-repeat;
    box-shadow: var(--shadow-soft);
}

.small-photos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.small-photos .small-photo {
    width: 100%;
    height: 160px;
    border-radius: var(--border-radius-md);
    background-color: var(--primary-light);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.small-photos .small-photo:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.testimonials h2 {
    font-size: 36px;
    margin-bottom: 48px;
    color: #1C3A2B;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-soft);
}

.stars {
    color: var(--accent-color);
    font-size: 24px;
    margin-bottom: 16px;
}

.testimonial-card p {
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 24px;
}

.author {
    font-weight: 600;
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 24px;
    color: var(--text-light);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Base mobile menu toggle hide */
.mobile-menu-toggle {
    display: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-us-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Header optimization */
    #main-header {
        top: 0 !important;
        padding: 0 !important;
    }

    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        border-radius: 0 !important;
        width: 100%;
        height: 70px;
        box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    }
    
    .logo img {
        height: 150px !important;
        margin: -42px 0 !important;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #FFFFFF;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 1000;
        text-align: center;
        align-items: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        width: 100%;
        color: var(--primary-color) !important;
        display: block;
    }

    .dropdown-content {
        position: static !important;
        display: block !important;
        box-shadow: none !important;
        padding-left: 0 !important; /* centered */
        background: #f9f9f9 !important;
    }

    /* Global Image and Text centering */
    img {
        max-width: 100%;
        height: auto;
    }

    section {
        overflow: hidden; /* prevents horizontal leaks */
    }

    .mobile-menu-toggle {
        display: block;
        order: 3;
    }

    .header-container .btn-primary {
        display: none;
    }

    /* Hero Refinement */
    .hero {
        padding-top: 100px; /* increased space for fixed header */
        padding-bottom: 0 !important;
        min-height: auto;
    }

    .hero-content {
        flex-direction: column !important;
        text-align: center;
        gap: 15px;
        padding-bottom: 0 !important;
        align-items: center !important;
    }

    .hero-text {
        flex: unset !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        padding: 40px 0 0 0 !important;
    }

    .hero-text h1,
    .hero-text h2 {
        font-size: 26px !important;
        margin-bottom: 8px !important; /* closer to 10px */
    }

    .hero-text p {
        font-size: 14px;
        margin: 0 auto 10px auto !important; /* exactly 10px */
        max-width: 100%;
    }

    .hero-bullets {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px !important; /* exactly 10px */
    }

    .hero-form-wrapper {
        flex: unset !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-self: center !important;
        margin-top: 0;
        overflow: hidden;
        line-height: 0;
    }

    .hero-form-wrapper img {
        height: 450px !important;
        max-width: 100%;
        margin-bottom: 0 !important;
    }

    /* Stats on mobile */
    .stats {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .stat-item {
        padding: 15px;
    }

    /* Sections */
    .features-section, .why-us, .testimonials, .inner-content {
        padding: 50px 0;
    }

    h2 {
        font-size: 26px !important;
        margin-bottom: 30px !important;
    }

    /* Feature Cards */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .card-img {
        height: 140px;
    }

    /* Why Us / Quem Somos - Full Mobile Fix */
    .why-us {
        overflow: hidden;
    }

    .why-us-container {
        grid-template-columns: 1fr !important;
        gap: 30px;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .why-us-image {
        width: 100%;
        max-width: 100%;
    }

    .why-us-image .main-photo {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 280px !important;
        height: 280px !important;
        border-radius: var(--border-radius-md);
    }

    .small-photos {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        width: 100%;
    }

    .small-photos .small-photo {
        width: 100%;
        height: 120px;
    }

    .why-us-content {
        width: 100%;
        text-align: center;
        padding: 0;
    }

    .why-us-content h2 {
        font-size: 28px !important;
    }

    .why-us-content p {
        font-size: 15px !important;
    }

    .why-us-list {
        text-align: left;
        max-width: 100%;
    }

    .stats {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .why-us-list li {
        font-size: 15px;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card {
        padding: 25px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-col .logo img {
        height: 260px !important;
        margin: -65px auto !important;
        display: block !important;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* WhatsApp button adjustment */
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 25px;
        right: 20px;
    }
}



/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    box-shadow: 2px 8px 20px rgba(0, 0, 0, 0.4);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* Our Office Section */
.office-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.office-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: flex-start;
}

.office-info h2 {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 24px;
    position: relative;
}

.office-info h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin-top: 12px;
    border-radius: 2px;
}

.office-highlight {
    font-size: 22px;
    color: var(--text-main);
    font-weight: 600;
    line-height: 1.5;
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin-top: 50px;
}

.office-text p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.office-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .office-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .office-section {
        padding: 50px 0;
    }
    
    .office-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .office-info h2 {
        font-size: 28px !important;
        text-align: center;
    }
    
    .office-info h2::after {
        margin: 12px auto 0 auto;
    }
    
    .office-highlight {
        font-size: 18px;
        padding-left: 15px;
        margin-top: 20px;
    }
    
    .office-text p {
        font-size: 15px !important;
    }
}

/* Founder Section */
.founder-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.founder-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    border-top: 4px solid var(--primary-color);
}

.founder-tag {
    display: inline-block;
    background-color: rgba(3, 168, 163, 0.1);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.founder-card h2 {
    font-size: 32px;
    color: var(--text-main);
    margin-bottom: 8px;
}

.founder-oab {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.founder-subtitle {
    font-size: 16px;
    color: var(--text-main);
    line-height: 1.6;
    font-weight: 500;
}

.founder-credentials h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.credentials-list {
    list-style: none;
}

.credentials-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-main);
}

.credentials-list li:last-child {
    margin-bottom: 0;
}

.credentials-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: -2px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 24px;
}

@media (max-width: 1024px) {
    .founder-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .founder-section {
        padding: 50px 0;
    }
    
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .founder-card {
        padding: 30px 20px;
        text-align: center;
    }
    
    .founder-card h2 {
        font-size: 26px !important;
    }
    
    .founder-credentials h3 {
        font-size: 20px;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .credentials-list li {
        font-size: 14px;
    }
}

/* Cookie Consent Banner */
#cookie-consent-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 20px);
    width: calc(100% - 48px);
    max-width: 600px;
    background: rgba(26, 34, 34, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    padding: 20px 24px;
    color: var(--text-light);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#cookie-consent-banner.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.cookie-consent-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-consent-content p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-consent-content p a {
    transition: var(--transition);
}

.cookie-consent-content p a:hover {
    color: var(--primary-color) !important;
}

.btn-secondary-cookie:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #FFF !important;
}

@media (max-width: 768px) {
    #cookie-consent-banner {
        bottom: 16px;
        width: calc(100% - 32px);
        padding: 16px;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .cookie-consent-buttons {
        width: 100%;
        display: flex;
        gap: 10px;
    }
    
    .cookie-consent-buttons button {
        flex: 1;
        text-align: center;
    }
}




