:root {
    --primary: #163B6D;
    /* Azul principal */
    --primary-dark: #0f1c2e;
    --primary-light: #23508c;
    --accent: #C97A1E;
    /* Laranja institucional */
    --accent-hover: #b36615;
    --gold: #C97A1E;
    --text: #1e293b;
    --text-light: #4B5563;
    /* Texto secundário */
    --text-dark: #111827;
    --bg: #ffffff;
    --bg-light: #F7F8FA;
    /* Fundo claro */
    --bg-warm: #f1f3f6;
    --bg-card: #ffffff;
    --border: #e5e7eb;
    --shadow: rgba(22, 59, 109, 0.04);
    --shadow-lg: rgba(22, 59, 109, 0.08);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

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

::selection {
    background: var(--accent);
    color: white;
}

h1,
h2,
h3,
h4,
.section-title,
.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Navbar custom overrides */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
    padding-top: 10px;
    padding-bottom: 10px;
}

.navbar.scrolled {
    background: #ffffff !important;
    box-shadow: 0 4px 20px var(--shadow);
    padding-top: 5px;
    padding-bottom: 5px;
}

.logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-img-footer {
    height: auto;
    width: 75%;
    object-fit: cover;
}

.navbar.scrolled .logo-img {
    height: 70px;
}

.nav-link {
    color: var(--text-light) !important;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 8px 15px !important;
    transition: color 0.3s;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--accent) !important;
}

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

.nav-cta {
    background: var(--accent) !important;
    color: white !important;
    padding: 10px 24px !important;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--primary-light) !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
}

.navbar-toggler {
    border: none;
    color: var(--primary);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
    padding-top: 120px;
}

section:first-of-type {
    padding-top: 120px;
}

/*.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(180, 148, 92, 0.1) 0%, transparent 70%);
    pointer-events: none;
}*/

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10L90 90M90 10L10 90' stroke='%230f172a' stroke-width='0.5' fill='none'/%3E%3C/svg%3E");
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-content h1 span {
    color: var(--gold);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 480px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(10px);
    padding: 10px 18px;
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border: 1px solid rgba(15, 23, 42, 0.1);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 8px 24px rgba(197, 160, 89, 0.2);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(240, 125, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(197, 160, 89, 0.1);
    border-color: var(--gold);
    color: var(--gold);
}

.hero-visual img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.hero-stats {
    margin-top: 60px;
    padding-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 60px;
    z-index: 1;
}

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

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sections general */
section {
    padding: 120px 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    color: var(--accent);
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--primary);
    margin-bottom: 16px;
}

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

/* About */
.about {
    background: var(--bg-warm);
}

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

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.about-highlight {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg-card);
    padding: 24px;
    border-radius: 12px;
    margin-top: 24px;
    border-left: 4px solid var(--accent);
    box-shadow: 0 4px 20px var(--shadow);
}

.about-highlight i {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 4px;
}

.about-highlight strong {
    color: var(--primary);
    display: block;
    margin-bottom: 4px;
}

.about-image {
    position: relative;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid var(--accent);
    opacity: 0.15;
    border-radius: 20px;
    z-index: 0;
}

.practice-areas {
    background: #f5f2eb;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.area-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 30px 25px;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.area-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--shadow-lg);
    border-color: transparent;
}

.area-card:hover::before {
    transform: scaleX(1);
}

.area-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.1), rgba(212, 175, 55, 0.1));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
}

.area-card h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.area-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* Services */
.services {
    background: var(--bg-light);
    color: var(--text);
    position: relative;
    overflow: hidden;
}

.services .section-title {
    color: var(--primary);
}

.services .section-subtitle {
    color: var(--text-light);
}

.services .section-label {
    color: var(--gold);
}

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

.service-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px var(--shadow);
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.service-item i {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: rgba(197, 160, 89, 0.2);
    border-radius: 50%;
    color: var(--accent);
}

.service-item h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.service-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Attorneys */
.attorneys {
    background: var(--bg-warm);
}

.attorneys-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.attorney-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
    transition: all 0.4s ease;
}

.attorney-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px var(--shadow-lg);
}

.attorney-photo {
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.attorney-photo i {
    color: rgba(26, 54, 93, 0.1);
    width: 100px;
    height: 100px;
}

.attorney-info {
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.attorney-info h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.attorney-oab {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    margin-bottom: 16px;
    width: fit-content;
}

.attorney-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Contact / Location */
.contact {
    background: var(--bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info h3 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item i {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.1), rgba(212, 175, 55, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-item span,
.contact-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

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

.contact-cta-box {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    color: var(--text);
    margin-top: 32px;
}

.contact-cta-box h4 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.contact-cta-box p {
    opacity: 0.85;
    margin-bottom: 24px;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
    height: 100%;
    min-height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    min-height: 400px;
}

/* Footer */
.footer {
    background: var(--bg-warm);
    color: var(--text);
    padding: 60px 24px 30px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand .logo-text {
    color: var(--primary);
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--primary);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile */
@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: 0 10px 40px var(--shadow);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
    }

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

    .mobile-toggle {
        display: block;
        color: var(--primary);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        display: none;
    }

    .hero-visual img {
        max-height: 300px;
    }

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

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

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

    .attorney-card {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .about-image::before {
        display: none;
    }

    .logo-img {
        height: 60px;
    }

    .navbar.scrolled .logo-img {
        height: 50px;
    }
}

@media (max-width: 600px) {
    section {
        padding: 80px 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}

/* Custom Additions for Adaime Reestruturação */

/* Banner Destaque */
.cta-banner {
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(22, 59, 109, 0.95), rgba(22, 59, 109, 0.85));
    z-index: 1;
}

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

/* Diferenciais Section */
.differentials {
    background: var(--bg-light);
}

.diff-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 36px 28px;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px var(--shadow);
}

.diff-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px var(--shadow-lg);
    border-color: rgba(201, 122, 30, 0.2);
}

.diff-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(201, 122, 30, 0.1), rgba(201, 122, 30, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 24px;
}

.diff-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.diff-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Artigos Section */
.articles {
    background: var(--bg);
}

.article-card {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 15px var(--shadow);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-lg);
    border-color: rgba(201, 122, 30, 0.2);
}

.article-category {
    background: var(--primary);
    color: #fff;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
    border-bottom-right-radius: 12px;
}

.article-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-date {
    display: block;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.article-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.4;
}

.article-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.article-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
}

.article-link:hover {
    color: var(--accent-hover);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary);
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(22, 59, 109, 0.3);
    z-index: 1000;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #0f2c54;
    /* Slightly darker primary blue */
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(22, 59, 109, 0.4);
    color: #fff;
}

.whatsapp-float-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 68px;
    height: 68px;
    background-color: rgba(22, 59, 109, 0.4);
    border-radius: 50%;
    z-index: -1;
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.4);
        opacity: 0;
    }

    100% {
        transform: scale(0.95);
        opacity: 0;
    }
}

/* Section Header tweaks for Playfair titles */
.section-title {
    font-weight: 700;
    line-height: 1.3;
}

.section-subtitle {
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Attorney Photo height and centering */
.attorney-photo {
    height: 400px;
    overflow: hidden;
    position: relative;
    background: var(--bg-warm);
}

.attorney-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* ============================================
   V2 HERO — Split layout with diagonal transition
   ============================================ */
.hero-v2 {
    position: relative;
    min-height: 85vh;
    background: #fff;
    overflow: hidden;
}

/* White overlay on the left */
.hero-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 53%;
    height: 100%;
    background: #fff;
    z-index: 1;
}

/* Skewed diagonal overlay with realistic shadow */
.hero-v2::after {
    content: '';
    position: absolute;
    top: 0;
    left: 53%;
    width: 180px;
    height: 100%;
    background: #fff;
    transform: skewX(-12deg);
    transform-origin: top left;
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.12);
    z-index: 1;
}

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

.hero-v2-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 54%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-v2-label {
    display: inline-block;
    color: var(--accent);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-v2-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    color: var(--primary);
    line-height: 1.18;
    margin-bottom: 24px;
    font-weight: 700;
}

.hero-v2-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 540px;
}

.hero-v2-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    z-index: 5;
    position: relative;
}

.btn-hero-primary {
    background: var(--accent) !important;
    border: none !important;
    color: #fff !important;
    padding: 14px 28px !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background: var(--accent-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 122, 30, 0.25);
}

.btn-hero-outline {
    background: #f8f9fa !important;
    border: 1px solid #d1d5db !important;
    color: #1f2937 !important;
    padding: 14px 28px !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    background: #f3f4f6 !important;
    border-color: #9ca3af !important;
    transform: translateY(-2px);
}

/* ============================================
   STATS BAR — Navy Blue with Gold Icons & Dividers
   ============================================ */
.stats-bar {
    background: #0b1a30 !important;
    padding: 35px 0 !important;
    border: none !important;
    position: relative;
    z-index: 10;
}

.stat-item-v2 {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-item-v2-icon {
    width: 50px;
    height: 50px;
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent) !important;
    flex-shrink: 0;
}

.stat-item-v2-icon i,
.stat-item-v2-icon svg {
    width: 26px;
    height: 26px;
    stroke-width: 2;
}

.stat-item-v2 strong {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.stat-item-v2 span {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: #a0aec0 !important;
    line-height: 1.4;
}

/* Desktop vertical dividers for stats items */
@media (min-width: 768px) {
    .stats-bar .row>div:not(:last-child) {
        border-right: 1px solid rgba(255, 255, 255, 0.15);
    }
}

/* ============================================
   AREA CARDS V2 — Sharp Modern Split Layout
   ============================================ */
.area-card-v2 {
    display: flex;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 4px !important;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    height: 100%;
}

.area-card-v2:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.area-card-v2-strip {
    width: 72px;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.area-card-v2-strip.strip-navy {
    background: #0f223d !important;
}

.area-card-v2-strip.strip-gold {
    background: #b87b2e !important;
}

.area-card-v2-strip i,
.area-card-v2-strip svg {
    color: #fff !important;
    width: 28px;
    height: 28px;
}

.area-card-v2-body {
    padding: 24px !important;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.area-card-v2-body h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem !important;
    font-weight: 700;
    color: #0f223d !important;
    margin-bottom: 8px;
}

.area-card-v2-body p {
    font-size: 0.88rem !important;
    color: #4b5563 !important;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.area-card-v2-link {
    color: #b87b2e !important;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
}

.area-card-v2-link:hover {
    color: #90591b !important;
}

/* Nav links styling */
.nav-link {
    text-transform: uppercase !important;
    /* letter-spacing: 0.5px !important;*/
    font-size: 0.88rem !important;
    padding: 10px 18px !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 18px;
    right: 18px;
    height: 3px;
    background: var(--accent);
    transition: all 0.3s ease;
    transform: scaleX(0);
    transform-origin: center;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-cta {
    background: var(--accent) !important;
    border: none !important;
    color: white !important;
    padding: 12px 24px !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--accent-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 122, 30, 0.2);
}

/* ============================================
   RESPONSIVE — Hero V2 & Layout
   ============================================ */
@media (max-width: 991px) {
    .hero-v2 {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .hero-v2::before,
    .hero-v2::after {
        display: none !important;
    }

    .hero-v2-image {
        position: relative;
        width: 100%;
        height: 350px;
        order: 2;
    }

    .hero-v2 .container {
        padding-top: 120px;
        padding-bottom: 40px;
        order: 1;
    }

    .hero-v2-title {
        font-size: 2rem;
    }

    .stat-item-v2 {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .area-card-v2 {
        flex-direction: column;
    }

    .area-card-v2-strip {
        width: 100%;
        min-height: auto;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .hero-v2-buttons {
        flex-direction: column;
    }

    .btn-hero-primary,
    .btn-hero-outline {
        width: 100%;
        justify-content: center;
    }

    .hero-v2-image {
        height: 250px;
    }
}

/* ==========================================================
   AJUSTE DE LAYOUT — referência visual enviada
   Preserva logo, textos, links e conteúdos originais.
   ========================================================== */

@media (min-width: 1200px) {

    .navbar>.container,
    .hero-v2>.container,
    .stats-bar>.container,
    .practice-areas>.container {
        max-width: none;
        width: 100%;
        padding-left: 46px;
        padding-right: 36px;
    }
}

/* Header sobreposto ao hero, com espaçamentos próximos da referência */
.navbar {
    height: 112px;
    padding: 26px 0 12px !important;
    background: transparent !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    z-index: 1050;
}

.navbar .container {
    min-height: 76px;
}

.logo-img {
    height: 76px;
    width: auto;
    object-fit: contain;
}

.navbar.scrolled {
    height: auto;
    padding: 8px 0 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid rgba(15, 34, 61, 0.08) !important;
    box-shadow: 0 8px 30px rgba(15, 34, 61, 0.08) !important;
}

.navbar.scrolled .logo-img {
    height: 62px;
}

.navbar-nav {
    gap: 20px;
}

.nav-link {
    color: #0f1c2e !important;
    font-size: 0.86rem !important;
    font-weight: 800 !important;
    /*letter-spacing: 0.45px !important;*/
    padding: 10px 10px 10px 25px !important;
}

.nav-link::after {
    left: 10px !important;
    right: 10px !important;
    bottom: 2px !important;
    height: 3px !important;
    background: var(--accent) !important;
}

.nav-cta {
    min-height: 52px;
    padding: 0 22px !important;
    border-radius: 4px !important;
    box-shadow: 0 8px 18px rgba(201, 122, 30, 0.18);
}

/* Hero desktop: altura, imagem à direita e véu branco lateral como na imagem */
section.hero-v2,
.hero-v2 {
    height: 643px;
    padding: 0 !important;
    background: #fff;
    position: relative;
}

.hero-v2-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 67.4%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    z-index: 0;
}

.hero-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            #ffffff 0%,
            #ffffff 31%,
            rgba(255, 255, 255, 0.97) 38%,
            rgba(255, 255, 255, 0.86) 45%,
            rgba(255, 255, 255, 0.50) 53%,
            rgba(255, 255, 255, 0.06) 62%,
            rgba(255, 255, 255, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-v2::after {
    display: none !important;
}

.hero-v2 .container {
    position: relative;
    z-index: 2;
    height: 100%;
}

.hero-v2-row {
    min-height: 643px !important;
    height: 643px;
    padding-top: 168px !important;
    padding-bottom: 0 !important;
    align-items: flex-start !important;
}

.hero-text-block {
    max-width: 720px;
}

.hero-v2-label {
    font-size: 0.90rem;
    line-height: 1.2;
    letter-spacing: 0.8px;
    margin-bottom: 15px;
}

.hero-v2-title {
    max-width: 705px;
    font-size: clamp(3.05rem, 3.7vw, 3.62rem);
    line-height: 1.14;
    letter-spacing: -0.035em;
    margin: 0;
    color: #102340;
}

.hero-v2-title::after {
    content: '';
    display: block;
    width: 52px;
    height: 2px;
    margin: 24px 0 22px;
    background: var(--accent);
}

.hero-v2-subtitle {
    max-width: 590px;
    font-size: 1rem;
    line-height: 1.65;
    color: #303640;
    margin-bottom: 28px;
}

.hero-v2-buttons {
    gap: 13px;
}

.btn-hero-primary,
.btn-hero-outline {
    min-height: 53px;
    padding: 0 22px !important;
    border-radius: 4px !important;
    letter-spacing: 0.45px !important;
}

.btn-hero-primary {
    min-width: 254px;
    justify-content: center;
}

.btn-hero-outline {
    min-width: 171px;
    justify-content: center;
    background: rgba(255, 255, 255, 0.88) !important;
}

/* Faixa institucional */
.stats-bar {
    min-height: 114px;
    padding: 24px 0 !important;
    background: #0b1f36 !important;
    display: flex;
    align-items: center;
}

.stats-bar .container,
.stats-bar .row {
    height: 100%;
}

.stats-bar .row {
    --bs-gutter-x: 1.5rem;
    align-items: center !important;
}

.stat-item-v2 {
    min-height: 62px;
    align-items: center;
    gap: 17px;
    padding: 0 28px;
}

.stat-item-v2-icon {
    width: 52px;
    height: 52px;
    color: var(--accent) !important;
}

.stat-item-v2-icon svg {
    width: 38px;
    height: 38px;
    stroke-width: 1.8;
}

.stat-item-v2 strong {
    font-size: 0.88rem;
    line-height: 1.25;
    margin-bottom: 3px;
    letter-spacing: 0.25px;
}

.stat-item-v2 span {
    display: block;
    max-width: 190px;
    color: #f0f4f8 !important;
    font-size: 0.93rem;
    line-height: 1.35;
}

@media (min-width: 768px) {
    .stats-bar .row>div:not(:last-child) {
        border-right: 1px solid rgba(255, 255, 255, 0.22);
    }
}

/* Áreas de atuação no mesmo enquadramento da referência */
.practice-areas {
    padding: 21px 0 46px !important;
    background: #f6f2ea !important;
}

.practice-areas .section-header {
    margin-bottom: 10px !important;
}

.practice-areas .section-label {
    display: block;
    font-size: 0.82rem;
    line-height: 1.2;
    letter-spacing: 0.4px;
    margin-bottom: 4px;
    color: var(--accent) !important;
}

.practice-areas .section-title {
    font-size: clamp(2.25rem, 3.15vw, 3rem);
    line-height: 1.02;
    margin: 0;
    color: #102340;
    letter-spacing: -0.03em;
}

.practice-areas .row {
    --bs-gutter-x: 12px;
    --bs-gutter-y: 12px;
}

.area-card-v2 {
    min-height: 156px;
    border-radius: 5px !important;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 34, 61, 0.08);
    box-shadow: 0 2px 8px rgba(15, 34, 61, 0.04);
}

.area-card-v2-strip {
    width: 76px;
}

.area-card-v2-strip svg {
    width: 36px;
    height: 36px;
    stroke-width: 1.65;
}

.area-card-v2-body {
    padding: 17px 18px 13px !important;
}

.area-card-v2-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.10rem !important;
    line-height: 1.18;
    margin-bottom: 8px;
    letter-spacing: -0.015em;
}

.area-card-v2-body p {
    font-size: 0.82rem !important;
    line-height: 1.55;
    margin-bottom: 10px;
}

.area-card-v2-link {
    font-size: 0.82rem;
    gap: 4px;
}

/* Ajustes responsivos sem alterar os conteúdos */
@media (max-width: 1199px) {

    .navbar>.container,
    .hero-v2>.container,
    .stats-bar>.container,
    .practice-areas>.container {
        max-width: none;
        width: 100%;
        padding-left: 32px;
        padding-right: 32px;
    }

    .navbar-nav {
        gap: 8px;
    }

    .hero-v2-title {
        font-size: clamp(2.65rem, 4.5vw, 3.2rem);
    }
}

@media (max-width: 991px) {
    .navbar {
        height: auto;
        padding: 10px 0 !important;
        background: rgba(255, 255, 255, 0.98) !important;
        border-bottom: 1px solid rgba(15, 34, 61, 0.08) !important;
    }

    .logo-img,
    .navbar.scrolled .logo-img {
        height: 60px;
    }

    .navbar-collapse {
        background: #fff;
        margin-top: 10px;
        padding: 12px 0 18px;
        border-radius: 10px;
        box-shadow: 0 14px 35px rgba(15, 34, 61, 0.10);
    }

    section.hero-v2,
    .hero-v2 {
        height: auto;
        min-height: auto;
        display: flex;
        flex-direction: column;
    }

    .hero-v2::before,
    .hero-v2::after {
        display: none !important;
    }

    .hero-v2 .container {
        height: auto;
        order: 1;
        padding-top: 110px;
        padding-bottom: 42px;
    }

    .hero-v2-row {
        min-height: auto !important;
        height: auto;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .hero-v2-image {
        position: relative;
        order: 2;
        width: 100%;
        height: 360px;
    }

    .hero-v2-title {
        max-width: 680px;
        font-size: clamp(2.15rem, 7vw, 3rem);
    }

    .hero-v2-subtitle {
        max-width: 680px;
    }

    .stats-bar {
        min-height: auto;
        padding: 28px 0 !important;
    }

    .stat-item-v2 {
        padding: 0;
        justify-content: center;
        text-align: center;
    }

    .area-card-v2 {
        flex-direction: row;
    }

    .area-card-v2-strip {
        width: 76px;
        height: auto;
    }
}

@media (max-width: 576px) {

    .navbar>.container,
    .hero-v2>.container,
    .stats-bar>.container,
    .practice-areas>.container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-v2 .container {
        padding-top: 96px;
    }

    .hero-v2-title {
        font-size: 2.05rem;
        line-height: 1.16;
    }

    .hero-v2-image {
        height: 260px;
    }

    .hero-v2-buttons {
        flex-direction: column;
    }

    .btn-hero-primary,
    .btn-hero-outline {
        width: 100%;
        min-width: 0;
    }

    .area-card-v2 {
        flex-direction: column;
    }

    .area-card-v2-strip {
        width: 100%;
        height: 54px;
    }
}