/* =============================================
   THIAGO VENTURELLI ADVOCACIA - STYLE.CSS
   ============================================= */

/* =============================================
   1. VARIABLES & RESET
   ============================================= */
:root {
    /* Colors - Primary */
    --primary-dark: #0B1E18;
    --primary-dark-light: #1a3a2e;
    --primary-light: #ffffff;

    /* Colors - Accent */
    --accent-gold: #C5A059;
    --accent-gold-light: #E5C585;
    --accent-gold-dark: #a0864a;

    /* Colors - Text */
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --text-gray: #666666;

    /* Colors - Background */
    --gray-light: #f8f9fa;
    --gray-medium: #e9ecef;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0B1E18 0%, #1a3a2e 100%);
    --gradient-gold: linear-gradient(135deg, #C5A059 0%, #E5C585 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(11, 30, 24, 0.95) 0%, rgba(26, 58, 46, 0.9) 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.20);
    --shadow-gold: 0 4px 20px rgba(197, 160, 89, 0.3);

    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    --spacing-3xl: 96px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;

    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--primary-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-gray);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =============================================
   2. UTILITIES & COMPONENTS
   ============================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: block;
    font-family: var(--font-sans);
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-xs);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    gap: 10px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(197, 160, 89, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
}

.btn-outline:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

/* =============================================
   3. HEADER
   ============================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

header.scrolled {
    background: rgba(11, 30, 24, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* =============================================
   4. HERO SECTION
   ============================================= */
.hero {
    background: var(--gradient-primary);
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(197, 160, 89, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(197, 160, 89, 0.05) 0%, transparent 25%);
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-md);
}

.hero-description {
    font-size: 1.125rem;
    color: #d0d0d0;
    margin-bottom: var(--spacing-sm);
    max-width: 500px;
}

.hero-description .highlight {
    color: var(--accent-gold);
    font-weight: 600;
}

.hero-details {
    color: #a0a0a0;
    font-size: 0.9rem;
    border-left: 3px solid var(--accent-gold);
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: #a0a0a0;
    margin-top: 5px;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-frame {
    position: relative;
    z-index: 2;
}

.main-photo {
    max-height: 600px;
    width: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

.floating-logo {
    position: absolute;
    bottom: 40px;
    right: -20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.floating-logo img {
    width: 80px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* =============================================
   5. SITUATIONS CTA SECTION
   ============================================= */
.situations-cta {
    padding: var(--spacing-3xl) 0;
    background: #fff;
}

.situations-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.situations-list-wrapper {
    background: #fff;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.situations-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.situations-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.situations-list i {
    color: var(--accent-gold);
    font-size: 1.25rem;
    margin-top: 4px;
}

.situations-list span {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.situations-cta-block {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--primary-dark);
    border-radius: var(--radius-xl);
    color: var(--text-light);
    box-shadow: var(--shadow-lg);
}

.situations-cta-block h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
}

/* =============================================
   6. ABOUT SECTION
   ============================================= */
.about {
    padding: var(--spacing-3xl) 0;
    background: var(--primary-dark);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.about::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-image {
    position: relative;
    z-index: 1;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    object-fit: cover;
    border: 2px solid rgba(197, 160, 89, 0.3);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-gold);
    border-radius: var(--radius-lg);
    z-index: -1;
    background: rgba(197, 160, 89, 0.05);
    transition: var(--transition);
}

.about-image:hover::before {
    top: 15px;
    left: 15px;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-gold);
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.experience-badge .years {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    color: var(--primary-dark);
    line-height: 1;
}

.experience-badge .label {
    font-size: 0.8rem;
    color: var(--primary-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text h2 {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.about-text p {
    color: #d0d0d0;
}

.about-text .section-subtitle {
    color: var(--accent-gold);
}

/* =============================================
   7. SERVICES SECTION
   ============================================= */
.services {
    padding: var(--spacing-3xl) 0;
    background: var(--gray-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.service-card {
    background: #fff;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--accent-gold);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(197, 160, 89, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: var(--accent-gold);
    font-size: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.service-card p {
    flex-grow: 1;
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
}

.btn-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
}

.btn-card:hover {
    color: var(--accent-gold-dark);
}

/* =============================================
   8. HOW IT WORKS SECTION
   ============================================= */
.how-it-works {
    padding: var(--spacing-3xl) 0;
    background: var(--primary-dark);
    color: var(--text-light);
}

.how-it-works .section-header h2 {
    color: var(--text-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    box-shadow: var(--shadow-gold);
}

.step-card h3 {
    color: var(--text-light);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.step-card p {
    color: #d0d0d0;
}

.how-it-works-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.how-it-works-cta p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

/* =============================================
   9. FAQ SECTION
   ============================================= */
.faq {
    padding: var(--spacing-3xl) 0;
    background: #fff;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid var(--gray-medium);
}

.accordion-header {
    padding: var(--spacing-md) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header h3 {
    font-size: 1.1rem;
    font-family: var(--font-sans);
    margin: 0;
    color: var(--text-dark);
}

.accordion-header i {
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-item.active .accordion-header h3 {
    color: var(--accent-gold);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    padding-bottom: var(--spacing-md);
    color: var(--text-gray);
}

/* =============================================
   10. CTA & CONTACT SECTION
   ============================================= */
.cta {
    padding: var(--spacing-2xl) 0;
    background: var(--gradient-gold);
    text-align: center;
}

.cta h2 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-xs);
}

.cta p {
    color: var(--primary-dark);
    font-weight: 500;
}

.cta .btn {
    background: var(--primary-dark);
    color: var(--accent-gold);
    box-shadow: none;
}

.cta .btn:hover {
    background: #000;
    color: #fff;
}

.contact {
    padding: var(--spacing-3xl) 0;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-3xl);
}

.contact-info .info-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact-info i {
    width: 40px;
    height: 40px;
    background: var(--gray-light);
    color: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-form form {
    display: grid;
    gap: var(--spacing-md);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--gray-medium);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--gray-light);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--accent-gold);
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

/* =============================================
   11. FOOTER
   ============================================= */
footer {
    background: var(--primary-dark);
    padding: var(--spacing-2xl) 0;
    text-align: center;
    color: #a0a0a0;
}

.footer-logo img {
    height: 40px;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
    display: inline-block;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-dark);
}

.copyright {
    font-size: 0.875rem;
    line-height: 1.6;
}

/* =============================================
   12. STICKY WHATSAPP
   ============================================= */
.sticky-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.sticky-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

/* =============================================
   13. RESPONSIVE MEDIA QUERIES
   ============================================= */
@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-xl);
    }

    .hero-text {
        order: 2;
    }

    .hero-image-container {
        order: 1;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-details {
        border-left: none;
        border-bottom: 3px solid var(--accent-gold);
        padding-left: 0;
        padding-bottom: var(--spacing-sm);
        display: inline-block;
    }

    .situations-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .situations-list {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .main-photo {
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .btn {
        width: 100%;
    }

    .sticky-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}

/* =============================================
   14. ANIMATIONS & DYNAMIC STATES
   ============================================= */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

/* Mobile Menu Active State */
@media (max-width: 768px) {
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(11, 30, 24, 0.98);
        padding: 20px;
        text-align: center;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(20px);
        animation: slideDown 0.3s ease;
        border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    }

    .nav-links.active li {
        margin: 10px 0;
    }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    font-weight: 600;
    animation: slideInRight 0.3s ease;
}

.notification-success {
    background: #25D366;
}

.notification-info {
    background: #C5A059;
}

.notification.hiding {
    animation: slideOutRight 0.3s ease;
}