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

:root {
    --navy: #0d2c54;
    --gold: #c9a44c;
    --white: #ffffff;
    --black: #1a1a1a;
    --gray: #4a4a4a;
    --light-gray: #f8f9fa;
    --aqua: #00d4aa;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid #e5e5e5;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.nav-logo {
    height: 55px;
    width: auto;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    position: relative;
}

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

.nav-links a.nav-cta {
    color: var(--gold);
    font-weight: 600;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--navy);
    transition: all 0.3s ease;
}

/* Hero Section */
/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative; /* Necessário para o overlay */
    background: url('/assets/site-imagens/sessao-hero.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 100px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90vh;
    max-height: 768px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 21, 41, 0.6); /* Overlay azul escuro semi-transparente */
    z-index: 1;
}

.hero .container {
    position: relative; /* Para ficar acima do overlay */
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 300;
}

.btn-primary {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--navy);
}

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

/* Button variants for different backgrounds */
.hero .btn-primary,
.cta-dark .btn-primary {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.hero .btn-primary:hover,
.cta-dark .btn-primary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

.cta-gold-btn .btn-primary:hover {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

/* Section Styling */
section {
    padding: 6rem 0;
}

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

.section-tag {
    display: inline-block;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--navy);
    font-weight: 700;
    line-height: 1.2;
}

/* About Section */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    gap: 4rem;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
}

.about-text .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.value-item {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 64px;
    height: 64px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--gold);
}

.value-item h3 {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.value-item p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Practice Areas */
.practice {
    background: var(--navy);
    color: var(--white);
}

.practice .section-tag {
    color: var(--gold);
}

.practice .section-header h2 {
    color: var(--white);
}

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

.practice-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.practice-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold);
    transform: translateY(-5px);
}

.practice-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--gold);
    font-weight: 600;
}

.practice-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Contact Section */
/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
    position: relative; /* Necessário para o overlay */
    padding: 80px 0;
    background: url('/assets/site-imagens/sessao-contatos.avif') no-repeat center center/cover;
    color: var(--color-dark);
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85); /* Overlay branco semi-transparente */
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-description {
    max-width: 700px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
    color: var(--gray);
    text-align: center;
}

.contact-methods {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.method-icon {
    width: 48px;
    height: 48px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.contact-method h4 {
    color: var(--navy);
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-method a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-method a:hover {
    color: var(--gold);
}

.disclaimer {
    background: var(--light-gray);
    padding: 1.5rem;
    border-left: 3px solid var(--gold);
    border-radius: 4px;
}

.disclaimer p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
}

.disclaimer strong {
    color: var(--navy);
}

/* Footer */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 55px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.footer-slogan {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-dev a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-dev a:hover {
    color: var(--aqua);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* CTA Sections */
.cta-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

.cta-section.cta-dark {
    background: var(--navy);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2.25rem;
    color: var(--navy);
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-section.cta-dark h2 {
    color: var(--white);
}

.cta-section p {
    color: var(--gray);
    margin-bottom: 2rem;
}

.cta-section.cta-white {
    background: var(--white);
}

.cta-section.cta-dark p {
    color: rgba(255, 255, 255, 0.9);
}

/* Statistics Section */
.stats {
    background: var(--navy);
    padding: 5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Services Section */
.services {
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    color: var(--gold);
}

.service-icon svg {
    width: 48px;
    height: 48px;
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card .service-description {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-details {
    list-style: none;
    padding-left: 0;
}

.service-details li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--gray);
    font-size: 0.9rem;
}

.service-details li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* Team Section */
.team {
    background: var(--light-gray);
}

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

.team-member {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.team-info {
    padding: 2rem;
}

.team-name {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.team-role {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.team-description {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.team-contact {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.team-contact a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.team-contact a:hover {
    color: var(--gold);
}

.team-social {
    display: flex;
    gap: 1rem;
}

.team-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--gold);
    color: var(--white);
}

/* Blog Section */
.blog {
    background: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--white);
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--gold);
}

.blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--gray);
}

.blog-category {
    color: var(--gold);
    font-weight: 600;
    text-decoration: none;
}

.blog-title {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
}

.blog-excerpt {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: var(--light-gray);
    color: var(--gray);
    border-radius: 12px;
}

.blog-cta {
    text-align: center;
}

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

.contact-info .section-header {
    text-align: left;
}

.contact-form-wrapper {
    position: relative;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row .form-group {
    margin-bottom: 0;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease;
    color: var(--gray);
}

.form-group select:required:invalid {
    color: var(--gray);
}

.form-group option[value=""][disabled] {
    display: none;
}
.form-group option {
    color: var(--black);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-full {
    width: 100%;
    text-align: center;
}

.form-success {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--light-gray);
    border-radius: 8px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.form-success.active {
    display: flex;
}

.form-success svg {
    color: var(--gold);
    margin-bottom: 1rem;
}

.form-success h3 {
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--gray);
}

.form-error {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--light-gray);
    border-radius: 8px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.form-error.active {
    display: flex;
}

.form-error svg {
    color: #dc3545;
    margin-bottom: 1rem;
}

.form-error h3 {
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.form-error p {
    color: var(--gray);
}

/* Responsive */
@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 0;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-col.footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid #e5e5e5;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 6rem 0 5rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    section {
        padding: 4rem 0;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .practice-grid {
        grid-template-columns: 1fr;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }
    
    .services-grid,
    .team-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .btn-primary {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
}

@media (min-width: 1921px) {
    .hero {
        max-height: 900px;
    }
}