* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --white: #ffffff;
    --gray: #666666;
    --light-gray: #f5f5f5;
    --gold: #c9a961;
    --dark-green: #1a3d2e;
    --blue: #2563eb;
    --success-green: #059669;
    --warning-orange: #d97706;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
    cursor: default;
}

/* Custom Cursor */
.cursor {
    width: 40px;
    height: 40px;
    border: 1px solid var(--black);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: all 0.15s ease;
    z-index: 9999;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 4px;
    height: 4px;
    background: var(--black);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease;
}

.loader-text {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 300;
    letter-spacing: 8px;
    opacity: 0;
    animation: fadeInOut 2s ease infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 40px 60px;
    z-index: 1000;
    mix-blend-mode: difference;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 4px;
    color: var(--white);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 60px;
    list-style: none;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    transition: all 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%231a3d2e;stop-opacity:1" /><stop offset="100%" style="stop-color:%23000;stop-opacity:1" /></linearGradient></defs><rect width="1920" height="1080" fill="url(%23grad)" /></svg>');
    background-size: cover;
    background-position: center;
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    opacity: 0;
    animation: fadeInUp 1.5s ease 0.5s forwards;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(60px, 8vw, 120px);
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: -2px;
    margin-bottom: 40px;
}

.hero .divider {
    width: 100px;
    height: 1px;
    background: var(--gold);
    margin: 40px auto;
    opacity: 0.8;
}

.hero p {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 60px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.5;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about {
    padding: 200px 0;
    background: var(--white);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    align-items: center;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 40px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 30px;
}

.about-image {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    border: 1px solid var(--gold);
    opacity: 0.3;
}

/* Services Section */
.services {
    padding: 200px 0;
    background: var(--light-gray);
}

.services h2 {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 120px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.service-card {
    background: var(--white);
    padding: 80px 60px;
    text-align: center;
    transition: all 0.5s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--black);
    transition: height 0.5s ease;
    z-index: 0;
}

.service-card:hover::before {
    height: 100%;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-20px);
}

.service-card:hover h3,
.service-card:hover p {
    color: var(--white);
}

.service-number {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 300;
    color: var(--gold);
    margin-bottom: 30px;
    line-height: 1;
}

.service-card h3 {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 1px;
    transition: color 0.5s ease;
}

.service-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray);
    transition: color 0.5s ease;
}

/* CGH Flowchart Section */
.cgh-section {
    padding: 200px 0;
    background: var(--white);
}

.cgh-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 60px;
}

.cgh-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.flowchart {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.flow-step {
    background: var(--white);
    border: 2px solid var(--light-gray);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.flow-step:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.flow-number {
    width: 60px;
    height: 60px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 300;
    margin: 0 auto 20px;
}

.flow-step h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 15px;
    color: var(--black);
}

.flow-step p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray);
}

.flow-step .duration {
    background: var(--light-gray);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--dark-green);
    margin-top: 15px;
    display: inline-block;
}

/* Status indicators */
.flow-step.planning { border-color: var(--blue); }
.flow-step.planning .flow-number { background: var(--blue); }

.flow-step.approval { border-color: var(--warning-orange); }
.flow-step.approval .flow-number { background: var(--warning-orange); }

.flow-step.construction { border-color: var(--gold); }
.flow-step.construction .flow-number { background: var(--gold); }

.flow-step.operation { border-color: var(--success-green); }
.flow-step.operation .flow-number { background: var(--success-green); }

/* Client Area Section */
.client-area {
    padding: 200px 0;
    background: var(--black);
    color: var(--white);
}

.client-area h2 {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 60px;
}

.client-login {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 60px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: var(--white);
    opacity: 0.8;
}

.form-group input {
    width: 100%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--white);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.login-button {
    width: 100%;
    padding: 20px;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-button:hover {
    background: var(--white);
    color: var(--black);
}

.client-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gold);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--white);
}

.feature-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Document Portal */
.document-portal {
    display: none;
    background: var(--white);
    color: var(--black);
    padding: 60px 0;
}

.document-portal.active {
    display: block;
}

.document-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.welcome-message {
    font-size: 24px;
    font-weight: 400;
}

.logout-button {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--gray);
    color: var(--gray);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-button:hover {
    background: var(--gray);
    color: var(--white);
}

.document-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.document-card {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.document-type {
    background: var(--gold);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 15px;
}

.document-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}

.document-date {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 15px;
}

.document-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray);
}

/* Stats Section */
.stats {
    padding: 150px 0;
    background: var(--black);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    text-align: center;
}

.stat-item {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 60px;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 300;
    color: var(--gold);
    margin-bottom: 20px;
}

.stat-label {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
}

/* Contact Section */
.contact {
    padding: 200px 0;
    background: var(--white);
    text-align: center;
}

.contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 300;
    margin-bottom: 60px;
}

.contact-button {
    display: inline-block;
    padding: 20px 60px;
    border: 1px solid var(--black);
    color: var(--black);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--black);
    transition: left 0.3s ease;
    z-index: 0;
}

.contact-button:hover::before {
    left: 0;
}

.contact-button span {
    position: relative;
    z-index: 1;
}

.contact-button:hover {
    color: var(--white);
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: var(--black);
    color: var(--white);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.footer-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.footer-info p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.7;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.5;
}

.footer-column ul {
    list-style: none;
}

.footer-column a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    line-height: 2;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-column a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    text-align: center;
    font-size: 12px;
    opacity: 0.5;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid, .flowchart {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 40px;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 20px;
    }
    
    .nav-menu {
        display: none; /* This will be handled by JS for mobile menu toggle */
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .about-text h2,
    .services h2,
    .cgh-section h2,
    .client-area h2,
    .contact h2 {
        font-size: 36px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .services-grid,
    .flowchart,
    .stats-grid,
    .client-features,
    .document-grid {
        grid-template-columns: 1fr;
    }
    
    .cursor,
    .cursor-dot {
        display: none;
    }

    .client-login {
        padding: 40px 30px;
    }
}

/* Menu Mobile */
.menu-toggle {
    display: none; /* Hidden by default, shown in media query */
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    z-index: 1001; /* Ensure it's above other nav elements if nav-menu is shown */
}

.menu-toggle span {
    width: 30px;
    height: 1px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* Styles for active mobile menu if you implement it with JS */
.nav-menu.active {
    display: flex; /* Or block, depending on how you want to show it */
    flex-direction: column;
    position: absolute;
    top: 80px; /* Adjust as needed */
    left: 0;
    width: 100%;
    background: var(--black); /* Or your desired mobile menu background */
    padding: 20px;
    /* Add other styles for mobile menu appearance */
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Ensure it's hidden by default and only shown when 'active' class is added by JS */
    }
    .menu-toggle {
        display: flex;
    }
}

/* Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--success-green);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 10001;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification.error {
    background: #dc2626; /* Consider using a CSS variable for error color */
}
/* Estrutura��o Tab */
.estruturacao-tab {
    background: var(--white);
    padding: 60px;
    border-radius: 12px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.estruturacao-tab h3 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark-green);
}

.estruturacao-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


/* ================================
   P�GINA �REA DO CLIENTE
   ================================ */

.client-page {
    min-height: 100vh;
    padding-top: 120px;
}

.client-hero {
    padding: 80px 0;
    background: var(--black);
    color: var(--white);
    text-align: center;
}

.client-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 300;
    margin-bottom: 20px;
}

.client-hero p {
    font-size: 20px;
    opacity: 0.8;
}

.client-services {
    padding: 100px 0;
    background: var(--light-gray);
}

.services-grid-client {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.client-service-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.client-service-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.client-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(45deg, var(--gold), var(--dark-green));
    transition: height 0.3s ease;
    z-index: 0;
}

.client-service-card:hover::before {
    height: 100%;
}

.client-service-card > * {
    position: relative;
    z-index: 1;
}

.client-service-card:hover h3,
.client-service-card:hover p {
    color: var(--white);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.client-service-card h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 15px;
    color: var(--dark-green);
    transition: color 0.3s ease;
}

.client-service-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.service-arrow {
    font-size: 24px;
    color: var(--gold);
    font-weight: bold;
}

.service-details {
    padding: 60px 0;
    background: var(--white);
}

.back-button {
    background: var(--gold);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: var(--dark-green);
}

.service-content {
    display: none;
}

.service-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 20px;
    color: var(--dark-green);
}

.service-subtitle {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 800px;
}

.nav-menu a.active {
    color: var(--gold) !important;
}

@media (max-width: 768px) {
    .client-hero h1 {
        font-size: 36px;
    }
    
    .services-grid-client {
        grid-template-columns: 1fr;
    }
    
    .service-content h2 {
        font-size: 32px;
    }
}


/* ================================
   ANALISADOR DE RISCO CONTRATUAL
   ================================ */

.analysis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.upload-section, .parties-section {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 16px;
    border: 2px dashed var(--gray);
    transition: all 0.3s ease;
}

.upload-section:hover {
    border-color: var(--gold);
    background: rgba(201, 169, 97, 0.05);
}

.upload-area {
    text-align: center;
    padding: 60px 20px;
    position: relative;
}

.upload-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
}

.upload-icon::before {
    content: "";
}

.upload-area h4 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--black);
}

.upload-area p {
    color: var(--gray);
    margin-bottom: 20px;
}

.upload-btn {
    background: var(--gold);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.upload-btn:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
}

.parties-section h4 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--black);
    text-align: center;
}

.party-group {
    margin-bottom: 30px;
    padding: 25px;
    background: var(--white);
    border-radius: 12px;
    border-left: 4px solid var(--gold);
}

.party-group h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-green);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-row input {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-row input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

.analyze-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--dark-green), var(--gold));
    color: var(--white);
    border: none;
    padding: 20px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.analyze-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.analyze-btn:hover::before {
    left: 100%;
}

.analyze-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(26, 61, 46, 0.3);
}

.analyze-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-loader {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-loader::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Resultados da Análise */
.analysis-results {
    margin-top: 50px;
    padding: 40px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 5px solid var(--gold);
    display: none;
}

.analysis-results.show {
    display: block;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-gray);
}

.risk-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    font-size: 32px;
    font-weight: bold;
    margin: 20px auto;
    position: relative;
}

.risk-score.low {
    background: linear-gradient(135deg, #10B981, #34D399);
    color: var(--white);
}

.risk-score.medium {
    background: linear-gradient(135deg, #F59E0B, #FBBF24);
    color: var(--white);
}

.risk-score.high {
    background: linear-gradient(135deg, #EF4444, #F87171);
    color: var(--white);
}

.risk-level {
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
}

.analysis-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.analysis-section {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 12px;
    border-top: 4px solid var(--gold);
}

.analysis-section h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark-green);
    display: flex;
    align-items: center;
    gap: 10px;
}

.analysis-section h4::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
}

.analysis-list {
    list-style: none;
    padding: 0;
}

.analysis-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    color: var(--gray);
    position: relative;
    padding-left: 25px;
}

.analysis-list li:last-child {
    border-bottom: none;
}

.analysis-list li::before {
    content: '';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.risk-item {
    color: #EF4444;
}

.safe-item {
    color: #10B981;
}

.warning-item {
    color: #F59E0B;
}

.due-diligence-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.party-analysis {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
}

.party-analysis h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-green);
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 5px 5px 5px 0;
}

.status-ok {
    background: #D1FAE5;
    color: #065F46;
}

.status-warning {
    background: #FEF3C7;
    color: #92400E;
}

.status-error {
    background: #FEE2E2;
    color: #991B1B;
}

.export-section {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--light-gray);
}

.export-btn {
    background: var(--dark-green);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.export-btn:hover {
    background: var(--gold);
    transform: translateY(-2px);
}

/* Responsividade */
@media (max-width: 768px) {
    .analysis-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .due-diligence-grid {
        grid-template-columns: 1fr;
    }
    
    .analysis-sections {
        grid-template-columns: 1fr;
    }
}

/* Loading States */
.upload-area.loading {
    pointer-events: none;
    opacity: 0.6;
}

.upload-area.loading .upload-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }
}

.file-info {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid var(--gold);
    display: none;
}

.file-info.show {
    display: block;
}

.file-name {
    font-weight: 600;
    color: var(--dark-green);
}

.file-size {
    color: var(--gray);
    font-size: 14px;
}

/* Estilo melhorado para ampersand - adicionado por patch */
.logo .ampersand,
.hero h1 .ampersand,
.footer-info h3 .ampersand,
.footer-bottom .ampersand,
.loader-text .ampersand {
    font-family: 'Baskerville', 'Times New Roman', serif !important;
    font-style: italic !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    margin: 0 2px !important;
    font-size: 1.1em !important;
    mix-blend-mode: normal !important;
}

/* Melhorar espa�amento do footer */
.footer-info p {
    line-height: 1.3 !important;
    margin-bottom: 3px !important;
}

/* Ajustar texto "Expertise que transforma" */
.about-text h2 {
    line-height: 1.15 !important;
    letter-spacing: -0.5px !important;
}
/* Map Section */
.map-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.map-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 60px;
    color: var(--black);
}

.map-container {
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

#map {
    border: none;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

#map:hover {
    filter: grayscale(0%);
}

@media (max-width: 768px) {
    .map-section h2 {
        font-size: 32px;
    }
    
    #map {
        height: 300px !important;
    }
}

/* Client Products Section - Same styling as area-cliente.html */
.client-products .client-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(45deg, var(--gold), var(--dark-green));
    transition: height 0.3s ease;
    z-index: 0;
}

.client-products .client-service-card:hover::before {
    height: 100%;
}

.client-products .client-service-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.client-products .client-service-card:hover h3,
.client-products .client-service-card:hover p {
    color: var(--white);
}

.client-products .client-service-card:hover span {
    color: var(--white);
}

/* Client Products Section - Same styling as area-cliente.html */
.client-products .client-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(45deg, var(--gold), var(--dark-green));
    transition: height 0.3s ease;
    z-index: 0;
}

.client-products .client-service-card:hover::before {
    height: 100%;
}

.client-products .client-service-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.client-products .client-service-card:hover h3,
.client-products .client-service-card:hover p {
    color: var(--white);
}

.client-products .client-service-card:hover span {
    color: var(--white);
}

/* Footer spacing adjustments */
.footer-column ul li {
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
}

.footer-column a {
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
}

.footer-info p {
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
}

/* Keep the gap between section title and first item */
.footer-column h4 {
    margin-bottom: 15px !important;
}

/* Client Product Styling */
.client-product-card {
  position: relative;
  background: var(--white);
  border-radius: 12px;
  padding: 50px 40px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.client-product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--gold);
}

.client-product-card .service-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 40px;
  color: white;
  font-weight: 400;
  position: relative;
  overflow: hidden;
}

.contract-icon svg {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.client-product-card h3 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 15px;
  color: var(--dark-green);
  transition: color 0.3s ease;
}

.client-product-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.client-product-card:hover h3 {
  color: var(--gold);
}

.client-product-card:hover p {
  color: var(--dark-green);
}

@media (max-width: 768px) {
  .client-product-card {
    max-width: 100% !important;
    margin: 0 20px;
  }
}

/* Padronização do card de produtos com Áreas de Atuação */
.client-products .service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 30px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.client-products .service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--gold);
}

.client-products .service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--warning-orange), var(--gold));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.client-products .service-card:hover::before {
  transform: scaleX(1);
}

.client-products .service-number {
  font-size: 48px;
  font-weight: 300;
  color: var(--light-gray);
  line-height: 1;
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
  transition: color 0.3s ease;
}

.client-products .service-card:hover .service-number {
  color: var(--gold);
}

.client-products h3 {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 15px;
  color: var(--dark-green);
  transition: color 0.3s ease;
  font-family: 'Playfair Display', serif;
}

.client-products .service-card:hover h3 {
  color: var(--gold);
}

.client-products p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray);
  margin: 0;
  transition: color 0.3s ease;
}

.client-products .service-card:hover p {
  color: var(--dark-green);
}
