/* ============================================
   ESTRUTURA CSS ORGANIZADA
============================================ */

/* ===== 1. RESET / BASE ===== */
body {
    margin:0;
    padding:0;
}
h2.section-title {
    color: #b1b1b1;
}
/* ===== 2. TIPOGRAFIA ===== */
.section-title {
    font-size:2.2rem;
    line-height:1.15;
}

.section-subtitle {
    font-size:0.85rem;
    letter-spacing:3px;
}

/* ===== 3. LAYOUT ===== */
.container {
    width:100%;
    margin:0 auto;
}

/* ===== 4. HERO ===== */
.hero {
    position:relative;
}

.hero-text {
    position:relative;
}

/* ===== 5. CARDS ===== */
.service-card h4,
.practice-card h3,
.difference-card h3 {
    font-size:1.2rem;
}

/* ===== 6. FOOTER ===== */
.footer {
    text-align:center;
}

.footer-logo-img {
    display:block;
    margin:0 auto;
    max-width:160px;
}

.footer-contact {
    text-align:center;
    justify-content:center;
}

/* ===== 7. MOBILE ===== */
@media (max-width:768px){

    .hero {
        background-image:url('juvedana-escuro.png');
        background-size:cover;
        background-position:center;
    }

    .hero-image {
        display:none;
    }

    .about-stats {
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:10px;
    }

    .section-title {
        font-size:1.9rem;
    }

    .service-card h4,
    .practice-card h3,
    .difference-card h3 {
        font-size:1.05rem;
    }

}

/* ===== ORIGINAL CSS ABAIXO ===== */


/* ============================================
   VARIABLES & RESET
============================================ */
:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --tertiary: #0f3460;
    --accent: #c9a227;
    --accent-light: #d4af37;
    --accent-dark: #a68520;
    --text-dark: #1a1a2e;
    --text-light: #f5f5f5;
    --text-gray: #666;
    --text-gray-light: #999;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-lighter: #f0f2f5;
    --bg-dark: #0f0f1a;
    --border-light: #e5e7eb;
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

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

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--white);
}

body.preloading {
    overflow: hidden;
    height: 100vh;
}

.site-preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(135deg, rgba(15, 15, 26, 0.98), rgba(26, 26, 46, 0.98));
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.site-preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
 
.preloader-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.preloader-logo {
    width: 250px;
    height: 250px;
    object-fit: contain;
    filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.35));
}

.preloader-spinner {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.14);
    border-top-color: var(--accent);
    animation: site-spin 0.9s linear infinite;
}

.preloader-box p {
    color: var(--text-light);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@keyframes site-spin {
    to {
        transform: rotate(360deg);
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

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

ul {
    list-style: none;
}

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

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

/* ============================================
   UTILITY CLASSES
============================================ */
.text-light { color: var(--text-light); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }

.section-description {
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ============================================
   WHATSAPP FLOAT
============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

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

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============================================
   NAVBAR
============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    transition: var(--transition-slow);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    overflow: visible;
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.98);
    padding: 8px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    overflow: visible;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: visible;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    width: 126px;
    height: 126px;
    margin: 5px 0 -58px;
    padding: 10px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(201, 162, 39, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    transition: var(--transition-slow);
}

.logo-img {
    width: 100%;
    height: 100%;
    transition: var(--transition);
    object-fit: contain;
}

.navbar.scrolled .logo {
    width: 104px;
    height: 104px;
    margin-bottom: -46px;
    border-radius: 24px;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
    margin-left: 28px;
}

.nav-menu a {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

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

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

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

.nav-menu a.active {
    color: var(--accent);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.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(5px, -5px);
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--tertiary) 100%);
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a227' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 30%, rgba(201, 162, 39, 0.1) 0%, transparent 60%);
}

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

.hero-image {
    display: flex;
    justify-content: center;
    order: 2;
    position: relative;
}

.hero-image img {
    width: 340px;
    height: 440px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border: 4px solid var(--accent);
    position: relative;
    z-index: 2;
}

.hero-image-frame {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-30%);
    width: 340px;
    height: 440px;
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    opacity: 0.3;
    z-index: 1;
}

.hero-text {
    color: var(--text-light);
    order: 1;
}

.hero-text .subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.subtitle-line {
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease;
}

.oab-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid var(--accent);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    color: var(--accent-light);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.oab-badge i {
    font-size: 1rem;
}

.hero-text .tagline {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--accent-light);
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-text .hero-description {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 35px;
    opacity: 0.95;
    max-width: 500px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-text .hero-description strong {
    color: var(--accent-light);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-features {
    display: flex;
    gap: 25px;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-feature i {
    color: var(--accent);
    font-size: 1rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-scroll-indicator a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ============================================
   BUTTONS
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius-sm);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.3);
    color: var(--primary);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--primary);
}

/* ============================================
   SECTIONS
============================================ */
.section {
    padding: 100px 0;
    position: relative;
}

.bg-light {
    background: var(--bg-light);
}

.bg-dark {
    background: var(--bg-dark);
    color: var(--text-light);
}

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

.section-subtitle {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 12px;
    font-weight: 600;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 20px;
    position: relative;
}

.divider {
    width: 80px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto;
    border-radius: 2px;
}

/* ============================================
   ABOUT SECTION
============================================ */
.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 80px;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 20px;
    color: var(--text-gray);
}

.about-intro {
    font-size: 1.15rem !important;
    color: var(--text-dark) !important;
    font-weight: 500;
}

.about-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.1) 0%, rgba(201, 162, 39, 0.05) 100%);
    padding: 20px 25px;
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 30px 0;
}

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

.about-highlight strong {
    color: var(--primary);
}

.about-credentials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.credential {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-light);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: var(--transition);
}

.credential:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.credential-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.credential-icon i {
    font-size: 1.1rem;
    color: var(--primary);
}

.credential-info h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.credential-info p {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.credential-source {
    font-size: 0.75rem;
    color: var(--text-gray-light);
}

.about-features {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.feature:hover {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
}

.feature i {
    color: var(--accent);
    font-size: 1rem;
    transition: var(--transition);
}

.feature:hover i {
    color: var(--primary);
}

.feature span {
    font-size: 0.85rem;
    font-weight: 500;
}

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

.stat {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-lg);
    color: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.stat-number {
    display: inline-block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stat-suffix {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
    margin-top: 8px;
}

/* Timeline */
.timeline-section {
    background: var(--bg-lighter);
    padding: 60px;
    border-radius: var(--radius-lg);
    margin-top: 40px;
}

.timeline-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--primary);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    text-align: center;
}

.timeline-marker {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

.timeline-marker::after {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
}

.timeline-content {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-light);
}

.timeline-year {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 8px;
}

.timeline-content h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.timeline-content p {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* ============================================
   PRACTICE AREAS
============================================ */
.practice-areas {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.practice-card {
    background: var(--white);
    padding: 40px 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

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

.practice-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

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

.practice-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.practice-icon i {
    font-size: 1.8rem;
    color: var(--primary);
}

.practice-card h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.practice-description {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.practice-card ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.practice-card li {
    position: relative;
    padding-left: 22px;
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.practice-card li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.75rem;
    top: 4px;
}

.practice-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.practice-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 600;
}

/* Differences Section */
.differences-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-light);
}

.differences-section .section-subtitle {
    color: var(--accent-light);
}

.differences-section .section-title {
    color: var(--white);
}

.differences-section .section-description {
    color: rgba(255, 255, 255, 0.8);
}

.differences-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.difference-card {
    text-align: center;
    padding: 40px 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.difference-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.difference-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.difference-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.difference-card h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.difference-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

/* ============================================
   SERVICES
============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 35px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid transparent;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--accent);
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--accent);
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    color: var(--primary);
}

.service-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ============================================
   CONTACT
============================================ */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: rgba(201, 162, 39, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.contact-details h4 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.contact-details p {
    font-size: 1rem;
    color: var(--white);
    opacity: 0.95;
    margin-bottom: 2px;
}

.contact-sub {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

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

.social-links a i {
    color: var(--accent);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a:hover i {
    color: var(--primary);
}

.contact-form {
    background: var(--white);
    padding: 45px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--primary);
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 22px;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-gray-light);
}

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

.contact-form .btn {
    width: 100%;
    margin-top: 10px;
}

/* ============================================
   FOOTER
============================================ */
.footer {
    background: var(--primary);
    color: var(--text-light);
    padding: 70px 0 25px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: start;
}

.footer-logo-img {
    height: 120px;
    width: auto;
    margin-bottom: 15px;
    object-fit: contain;
}

.footer-tagline {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 5px;
}

.footer-oab {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
}

.footer-links h4,
.footer-areas h4,
.footer-info h4 {
    font-size: 1.1rem;
    margin-bottom: 22px;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after,
.footer-areas h4::after,
.footer-info h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-links ul,
.footer-areas ul {
    display: grid;
    gap: 12px;
}

.footer-links a,
.footer-areas a {
    font-size: 0.9rem;
    opacity: 0.75;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-areas a:hover {
    opacity: 1;
    color: var(--accent);
    padding-left: 8px;
}

.footer-info .disclaimer {
    font-size: 0.85rem;
    opacity: 0.7;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    opacity: 0.85;
}

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

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

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.6;
}

.footer-developed {
    font-size: 0.8rem !important;
}

.footer-developed i {
    color: #e74c3c;
    margin: 0 3px;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Animations */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-left"] {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

[data-aos="fade-left"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

[data-aos="fade-right"] {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

[data-aos="fade-right"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1200px) {
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline::before {
        display: none;
    }
    
    .differences-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 20px;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 40px;
    }
    
    .hero-image img {
        width: 280px;
        height: 360px;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text .hero-description {
        margin: 0 auto 35px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-credentials {
        grid-template-columns: 1fr;
    }
    
    .practice-areas {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .logo {
        width: 84px;
        height: 84px;
        margin: -4px 0 -34px;
        padding: 8px;
        border-radius: 20px;
    }
    
    .navbar.scrolled .logo {
        width: 74px;
        height: 74px;
        margin-bottom: -28px;
        border-radius: 18px;
    }
    
    .navbar {
        padding: 10px 0;
    }
    
    .hamburger {
        display: flex;
    }
    
   .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--primary);
    flex-direction: column;
    padding: 150px 30px 30px;
    gap: 0;
    transition: var(--transition);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.3);
    margin-left:0px !important;
}
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px 0;
        font-size: 1rem;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .hero {
        padding-top: 70px;
        min-height: auto;
        padding-bottom: 80px;
    }
    
    .hero-image img {
        width: 220px;
        height: 280px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline-section {
        padding: 30px 20px;
    }
    
    .timeline {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .differences-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .contact-icon {
        margin: 0 auto;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h4::after,
    .footer-areas h4::after,
    .footer-info h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-image img {
        width: 180px;
        height: 230px;
    }
    
    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    .oab-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .practice-card,
    .service-card {
        padding: 25px 20px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
}

      .navbar.scrolled .logo {
    width: 104px;
    height: 104px;
    margin-bottom: -46px;
    border-radius: 24px;
    background: #1B1E32;
    margin-top: 10px;
}


/* ============================================
   HERO MOBILE COM IMAGEM DE FUNDO E TEXTO POR CIMA
============================================ */
@media (max-width: 768px) {

    .hero {
        min-height: 100vh;
        padding-top:30px !important; 
        padding-bottom: 40px;
        align-items: center;
        background-image:
            linear-gradient(rgba(15, 15, 26, 0.45), rgba(15, 15, 26, 0.45)),
            url('juveda.png');
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;
    }

    .hero::before {
        display: none;
    }

    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(10, 10, 20, 0.30) 0%,
            rgba(10, 10, 20, 0.15) 25%,
            rgba(10, 10, 20, 0.35) 55%,
            rgba(10, 10, 20, 0.60) 100%
        );
    }

    .hero-content {
        display: block;
        max-width: 100%;
    }

    .hero-image {
        display: none;
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
        padding: 22px 18px;
        border-radius: 22px;
        background: rgba(10, 10, 20, 0.16);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    }

    .hero-text .subtitle {
        justify-content: center;
        gap: 10px;
        margin-bottom: 12px;
        font-size: 0.78rem;
        letter-spacing: 3px;
    }

    .subtitle-line {
        width: 34px;
    }

    .hero-text h1 {
        font-size: 2.7rem;
        line-height: 1.02;
        margin-bottom: 12px;
    }

    .oab-badge {
        margin-bottom: 16px;
        font-size: 0.84rem;
        background: rgba(201, 162, 39, 0.18);
    }

    .hero-text .tagline {
        font-size: 1.10rem;
        line-height: 1.45;
        margin-bottom: 16px;
        color: #f0d57a;
    }

    .hero-text .hero-description {
        max-width: 100%;
        font-size: 0.98rem;
        line-height: 1.72;
        margin-bottom: 22px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 18px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-feature {
        width: 100%;
        justify-content: center;
        font-size: 0.80rem;
    }

    .hero-scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {

    .hero {
        padding-top: 102px;
        padding-bottom: 28px;
        background-position: center top;
    }

    .hero-text {
        padding: 18px 14px;
        border-radius: 18px;
    }

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

    .hero-text .tagline {
        font-size: 1rem;
    }

    .hero-text .hero-description {
        font-size: 0.93rem;
        line-height: 1.68;
    }

    .hero-buttons .btn {
        max-width: 100%;
        padding: 13px 18px;
        font-size: 0.78rem;
    }
}

/* ===== HERO MOBILE FORÇADO (FUNCIONA OU MORRE) ===== */
@media (max-width: 768px){

    .hero,
    .hero-section,
    section.hero,
    .banner {
        background: url('https://juvedana.com.br/juvedana-escuro.png') center top / cover no-repeat !important;
    }

    /* remove qualquer overlay antigo */
    .hero::before,
    .hero::after,
    .hero-overlay {
        display: none !important;
    }

    /* esconde imagem separada */
    .hero-image,
    .hero-img,
    .banner-image {
        display: none !important;
    }

    /* garante que o conteúdo aparece por cima */
    .hero-content,
    .hero-text {
        position: relative !important;
        z-index: 2 !important;
    }

}

/* ============================================
   FIX MOBILE FINAL (CARDS + LOGO)
============================================ */

@media (max-width: 768px){

    /* ===== CARDS (2 POR LINHA) ===== */
    .about-stats,
    .stats,
    .hero-stats {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }

    .stat {
        width: 100% !important;
        text-align: center !important;
    }

    .stat-number {
        font-size: 2.2rem !important;
    }

    .stat-label {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
    }


    /* ===== REMOVE TRANSPARÊNCIA DA LOGO ===== */
    .logo,
    .navbar .logo,
    .navbar.scrolled .logo {

        background: #0f0f1a !important; /* fundo sólido */
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;

        opacity: 1 !important;

        border: 1px solid rgba(201,162,39,0.4) !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.4) !important;
    }

    

.hero-content {
    display: block;
    max-width: 100%;
    /**box-shadow: 0px 0px 18px rgba(255,255,255,0.1);
   // background: rgba(0,0,0,0.1);
s*/
}
}