/* CSS Variables */
:root {
    --primary-color: #2b135a;
    --primary-dark: #2b135a;
    --primary-light: #2b135a;
    --accent-color: #d97706;
    --accent-light: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.875rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 14px 30px;
    font-size: 1rem;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-whatsapp {
    background-color: #25d366;
    color: white;
    border: 2px solid #25d366;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    border-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
    height: 72px;
}

.navbar {
    padding: 0.5rem 0;
    height: 100%;
    display: flex;
    align-items: center;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo-header {
    height: 72px !important;
    width: 300px !important;
    object-fit: contain !important;
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary);
    padding: 0.5rem 0;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-right: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.social-icon {
    width: 20px;
    height: 20px;
}

.nav-cta {
    display: flex;
    align-items: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 80px;
    overflow: hidden;
    transition: background-image 1s ease-in-out;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(1px);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    text-align: center;
    max-width: 300px;
    transform: none;
    transition: var(--transition);
}

.hero-card:hover {
    transform: scale(1.05);
}

.lawyer-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.oab {
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.graduation {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Section Styles */
section {
    padding: 5rem 0;
    width: 100%;
    max-width: none;
    margin: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background-color: var(--bg-secondary);
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 5rem 0;
    box-sizing: border-box;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.about-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    width: 100%;
    max-width: 100%;
    margin: 0;
    text-align: justify;
    line-height: 1.8;
    padding-right: 0;
    box-sizing: border-box;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    width: 100%;
    margin: 0;
}

.feature:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--bg-primary) 0%, #f0f9ff 100%);
}

.feature:hover .feature-icon {
    color: var(--accent-color);
    transform: scale(1.1);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.feature-icon i {
    width: 2rem;
    height: 2rem;
}

.feature h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}




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

/* Sobre o Escritório Section */
.about-section {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
    text-align: center;
    width: 100%;
    max-width: none;
    margin: 0;
}

.about-section h2 {
    color: var(--primary-color);
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.about-section p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
}

.about-section strong {
    color: var(--primary-color);
    font-weight: 600;
}

.about-section .btn {
    background-color: #C8102E;
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.about-section .btn:hover {
    background-color: #A00E26;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 16, 46, 0.4);
}

.about-section .disclaimer {
    margin-top: 3rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* Sobre o Advogado Section */
.sobre-advogado {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 5rem 0;
    box-sizing: border-box;
}

.sobre-advogado .section-title,
.sobre-advogado .section-subtitle {
    color: var(--text-primary);
}

.sobre-advogado-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.sobre-advogado-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    width: 100%;
    max-width: 100%;
    margin: 0;
    text-align: justify;
    line-height: 1.8;
    padding-right: 0;
    box-sizing: border-box;
}

.sobre-advogado-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.sobre-advogado-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.sobre-feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    width: 100%;
    margin: 0;
}

.sobre-feature:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--bg-primary) 0%, #f0f9ff 100%);
}

.sobre-feature:hover .sobre-feature-icon {
    color: var(--accent-color);
    transform: scale(1.1);
}

.sobre-feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.sobre-feature-icon i {
    width: 2rem;
    height: 2rem;
}

.sobre-feature h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.sobre-feature p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.area-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.area-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--bg-primary) 0%, #f0f9ff 100%);
}

.area-card:hover .area-icon {
    color: var(--accent-color);
    transform: scale(1.1);
}

.area-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.area-icon i {
    width: 3rem;
    height: 3rem;
}

.area-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.contact-item:hover {
    background: white;
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-details h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-details p {
    margin: 0;
}

.contact-details a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--primary-color);
}

/* Form Styles */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(43, 19, 90, 0.1);
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 3rem 0 1rem;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    margin: 0;
}

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

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding-top: 1rem;
}

.logo-footer {
    height: 72px !important;
    width: 300px !important;
    object-fit: contain !important;
    filter: none !important;
}

.footer-brand-text p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

.footer-links,
.footer-contact,
.footer-social {
    padding-top: 1rem;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

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

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

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

.footer-social-inline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.footer-social-link-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid transparent;
}

.footer-social-link-inline:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(217, 119, 6, 0.3);
}

.footer-social-icon {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0;
    }

    .about-text {
        text-align: justify;
        padding-right: 0;
        max-width: none;
        width: 100%;
        padding: 0 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        max-width: 100%;
        width: 100%;
    }

    .footer-brand,
    .footer-links,
    .footer-contact {
        text-align: center;
        width: 100%;
    }

    /* Melhorar seção Sobre o Escritório em tablets */
    .about-section {
        padding: 4rem 0;
    }

    .about-section h2 {
        font-size: 2rem;
    }

    .about-section p {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    /* Reset global para mobile */
    * {
        max-width: 100%;
    }

    .container {
        padding: 0 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    /* Garantir que todos os elementos fiquem dentro da tela */
    body, html {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }

    /* Header Mobile */
    .header {
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        height: 110px;
    }

    .navbar {
        padding: 0.25rem 0;
    }

    .navbar {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .navbar .container {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
    }

    .nav-social {
        gap: 0.5rem;
        margin-right: 0.5rem;
        display: flex;
    }

    .social-link {
        width: 35px;
        height: 35px;
    }

    .social-icon {
        width: 18px;
        height: 18px;
    }

    .logo-header {
        height: 60px;
        width: 200px;
    }

    .logo-footer {
        height: 72px;
        width: 300px;
    }

    .footer-brand {
        gap: 1rem;
        padding-top: 0.5rem;
    }

    .footer-links,
    .footer-contact,
    .footer-social {
        padding-top: 0.5rem;
    }

    .footer-social-inline {
        gap: 0.5rem;
    }

    .footer-social-link-inline {
        width: 30px;
        height: 30px;
    }

    .footer-social-icon {
        width: 16px;
        height: 16px;
    }

    /* Menu Mobile */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100vw;
        max-width: 100vw;
        height: calc(100vh - 70px);
        background-color: white;
        transition: var(--transition);
        z-index: 999;
        box-shadow: var(--shadow-lg);
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
        order: 3;
    }

    /* Garantir que o hambúrguer seja visível */
    .nav-cta {
        order: 2;
    }

    .nav-social {
        order: 1;
        margin-right: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Hero Mobile */
    .hero {
        padding-top: 140px;
        min-height: auto;
        padding-bottom: 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .hero-card {
        transform: none;
        max-width: 280px;
        margin: 0 auto;
    }

    /* Seções Mobile */
    section {
        padding: 3rem 0;
        width: 100%;
        max-width: 100vw;
        margin: 0;
        box-sizing: border-box;
    }

    /* Seção Sobre o Escritório Mobile */
    .about-section {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 3rem 0;
        box-sizing: border-box;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* Áreas Mobile */
    .areas-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .area-card {
        padding: 1.5rem;
    }

    /* Sobre o Escritório Mobile */
    .about-section {
        padding: 3rem 0;
        text-align: center;
    }

    .about-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .about-section p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    .about-section .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    /* Sobre o Advogado Mobile */
    .sobre-advogado {
        padding: 3rem 0;
    }

    .sobre-advogado-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
    }

    .sobre-advogado-text {
        text-align: left;
        padding: 0 1rem;
        font-size: 1rem;
        line-height: 1.6;
    }

    .sobre-advogado-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .sobre-feature {
        padding: 1.5rem;
    }

    /* Features Mobile */
    .about-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .feature {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Garantir que tudo caiba na tela pequena */
    .header,
    .navbar,
    .footer,
    section,
    .about-section,
    .sobre-advogado {
        width: 100%;
        max-width: 100vw;
        margin: 0;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }

    /* Header Mobile Pequeno */
    .header {
        height: 85px;
    }

    .navbar {
        padding: 0.25rem 0;
    }

    /* Hero Mobile Pequeno */
    .hero {
        padding-top: 130px;
        padding-bottom: 2rem;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-card {
        padding: 1rem;
        max-width: 240px;
    }

    .lawyer-info h3 {
        font-size: 1.125rem;
    }

    .oab, .graduation {
        font-size: 0.8rem;
    }

    /* Seções Mobile Pequeno */
    section {
        padding: 2rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Sobre o Escritório Mobile Pequeno */
    .about-section {
        padding: 2rem 0;
    }

    .about-section h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .about-section p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    .about-section .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
        width: calc(100% - 2rem);
        margin: 0 1rem;
    }

    /* Sobre o Advogado Mobile Pequeno */
    .sobre-advogado {
        padding: 2rem 0;
    }

    .sobre-advogado-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .sobre-advogado-features {
        gap: 1rem;
    }

    .sobre-feature {
        padding: 1rem;
    }

    .sobre-feature h4 {
        font-size: 1rem;
    }

    .sobre-feature p {
        font-size: 0.8rem;
    }

    /* Áreas Mobile Pequeno */
    .area-card {
        padding: 1rem;
    }

    .area-card h3 {
        font-size: 1.125rem;
    }

    .area-card p {
        font-size: 0.85rem;
    }

    .area-icon {
        font-size: 2rem;
    }

    /* Features Mobile Pequeno */
    .about-features {
        gap: 1rem;
    }

    .feature {
        padding: 1rem;
    }

    .feature h4 {
        font-size: 1rem;
    }

    .feature p {
        font-size: 0.8rem;
    }

    /* Header Mobile Pequeno */
    .nav-social {
        gap: 0.25rem;
        margin-right: 0.25rem;
    }

    .social-link {
        width: 30px;
        height: 30px;
    }

    .social-icon {
        width: 16px;
        height: 16px;
    }

    .logo-header {
        height: 40px;
        width: 170px;
    }

    .logo-footer {
        height: 65px;
        width: 270px;
    }

    .footer-brand {
        gap: 0.75rem;
    }

    .footer-social-inline {
        gap: 0.25rem;
    }

    .footer-social-link-inline {
        width: 28px;
        height: 28px;
    }

    .footer-social-icon {
        width: 14px;
        height: 14px;
    }

    /* Botões Mobile Pequeno */
    .btn-large {
        padding: 12px 20px;
        font-size: 0.8rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    /* Formulários Mobile Pequeno */
    .contact-form {
        padding: 1rem;
    }

    .contact-item {
        padding: 0.75rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Previne zoom no iOS */
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text > * {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-text > *:nth-child(1) { animation-delay: 0.2s; }
.hero-text > *:nth-child(2) { animation-delay: 0.4s; }
.hero-text > *:nth-child(3) { animation-delay: 0.6s; }

.area-card,
.feature,
.contact-item,
.sobre-feature {
    animation: fadeInUp 0.6s ease forwards;
}

.area-card:nth-child(1) { animation-delay: 0.1s; }
.area-card:nth-child(2) { animation-delay: 0.2s; }
.area-card:nth-child(3) { animation-delay: 0.3s; }
.area-card:nth-child(4) { animation-delay: 0.4s; }
.area-card:nth-child(5) { animation-delay: 0.5s; }
.area-card:nth-child(6) { animation-delay: 0.6s; }

.sobre-feature:nth-child(1) { animation-delay: 0.1s; }
.sobre-feature:nth-child(2) { animation-delay: 0.2s; }
.sobre-feature:nth-child(3) { animation-delay: 0.3s; }
.sobre-feature:nth-child(4) { animation-delay: 0.4s; }

/* Smooth scrolling for all browsers */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Botão Flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    background-color: #128c7e;
}

.whatsapp-float-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: white;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    transition: all 0.3s ease;
}

.whatsapp-text {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #25d366;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

.whatsapp-float:hover .whatsapp-icon {
    transform: scale(1.1);
}

/* Responsividade do Botão WhatsApp */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
    
    .whatsapp-text {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .whatsapp-float:hover .whatsapp-text {
        right: 65px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-icon {
        width: 24px;
        height: 24px;
    }
    
    .whatsapp-text {
        display: none; /* Esconde o texto no mobile para não ocupar espaço */
    }
}

/* Animação de pulso para o botão */
@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: whatsappPulse 2s infinite;
}

/* Print styles */
@media print {
    .header,
    .nav-cta,
    .hamburger,
    .hero-actions,
    .whatsapp-float {
        display: none;
    }
    
    .hero {
        padding-top: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}