:root {
    --deep-navy: #1f2124;
    --gold-accent: #D4AF37;
    --warm-gold: #E6B422;
    --dark-slate: #1E2F3A;
    --light-ivory: #FEF9EF;
    --soft-gray: #F4F2EA;
    --charcoal: #1f2124;
    --pure-white: #FFFFFF;
    --shadow-sm: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 20px 25px -12px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-ivory);
    color: var(--deep-navy);
    line-height: 1.5;
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.3rem;
    margin-bottom: 1rem;
    color: var(--deep-navy);
    position: relative;
    display: inline-block;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 70px;
    height: 4px;
    background: var(--gold-accent);
    border-radius: 4px;
}

.section-subhead {
    color: #5D6F7A;
    font-size: 1.2rem;
    max-width: 680px;
    margin-bottom: 3rem;
    margin-top: 0.8rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gold-accent);
    color: var(--deep-navy);
    font-weight: 700;
    padding: 0.85rem 2rem;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.btn-primary:hover {
    background: #c49d2e;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -8px rgba(212, 175, 55, 0.4);
    color: #1f2124;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gold-accent);
    color: var(--deep-navy);
    font-weight: 600;
    padding: 0.7rem 1.6rem;
    border-radius: 40px;
    transition: 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline:hover {
    background: var(--gold-accent);
    color: #1f2124;
    border-color: var(--gold-accent);
}

.navbar {
    background: var(--deep-navy);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.capital-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.plus-capital {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--gold-accent);
}

.assessoria {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: #EBE9E0;
    text-transform: uppercase;
}

.c6-logo {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF 30%, #F5E7B2 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.3px;
    border-left: 2px solid rgba(212, 175, 55, 0.6);
    padding-left: 1.2rem;
}

.nav-links a {
    color: #F0EFEA;
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: 0.2s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--gold-accent);
}

.hero {
    background: linear-gradient(105deg, var(--light-ivory) 0%, #FFFBF2 100%);
    padding: 4rem 0 3rem 0;
}

.hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    background: rgba(212, 175, 55, 0.15);
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--deep-navy);
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--deep-navy);
}

.hero-content h1 span {
    color: var(--gold-accent);
    border-bottom: 3px solid var(--gold-accent);
}

.hero-content p {
    font-size: 1.2rem;
    color: #3E5A66;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    font-weight: 700;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--deep-navy);
}

.hero-illustration i {
    font-size: 12rem;
    color: var(--gold-accent);
    opacity: 0.2;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.product-card {
    background: var(--pure-white);
    border-radius: 28px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid #EAE5D8;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-accent);
}

.card-icon {
    font-size: 2.8rem;
    color: var(--gold-accent);
    margin-bottom: 1.2rem;
}

.product-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: var(--deep-navy);
}

.product-card p {
    color: #4F6F7A;
    margin-bottom: 1.5rem;
}

.card-link {
    color: var(--gold-accent);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.tech-footer {
    margin-top: 3rem;
    text-align: center;
    color: #2E5A6B;
}

.contact-section {
    background: var(--soft-gray);
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    flex: 1;
    background: var(--deep-navy);
    border-radius: 2rem;
    padding: 2rem;
    color: white;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--gold-accent);
}

.contact-info p {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
}

.contact-info i {
    width: 28px;
    color: var(--gold-accent);
    font-size: 1.3rem;
}

.email-link {
    color: white;
    text-decoration: none;
    border-bottom: 1px dashed var(--gold-accent);
}

.contact-info hr {
    margin: 1.5rem 0;
    border-color: rgba(212, 175, 55, 0.3);
}

.social-icons i {
    font-size: 1.4rem;
    margin-right: 1rem;
    cursor: pointer;
}

.contact-form {
    flex: 1.2;
    background: white;
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--deep-navy);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--deep-navy);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #D9D2C0;
    border-radius: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: 0.2s;
    background: #FEFCF8;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.submit-btn {
    width: 100%;
    justify-content: center;
    background: var(--deep-navy);
    color: white;
}

.submit-btn:hover {
    background: var(--gold-accent);
    color: var(--deep-navy);
}

.form-message {
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
}

.form-note {
    font-size: 0.8rem;
    margin-top: 1rem;
    text-align: center;
    color: #7E8C8F;
}

footer {
    background: var(--deep-navy);
    color: #D4CFC2;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-email a {
    color: var(--gold-accent);
    text-decoration: none;
    font-weight: 500;
}

/* Estilos do Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease;
}

.modal-overlay.active {
    visibility: visible;
    opacity: 1;
}

.modal-container {
    background: var(--pure-white);
    max-width: 600px;
    width: 90%;
    border-radius: 2rem;
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.active .modal-container {
    transform: scale(1);
}

.modal-header {
    background: var(--deep-navy);
    color: white;
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--gold-accent);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: white;
    transition: 0.2s;
}

.modal-close:hover {
    color: var(--gold-accent);
}

.modal-body {
    padding: 2rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--dark-slate);
}

.modal-body p {
    margin-bottom: 1rem;
}

@media (max-width: 800px) {
    .container {
        padding: 0 1.5rem;
    }
    .hero-content h1 {
        font-size: 2.4rem;
    }
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-links a {
        margin-left: 0;
        margin-right: 1.5rem;
    }
    h2 {
        font-size: 1.9rem;
    }
    .hero-illustration i {
        font-size: 8rem;
    }
    .modal-container {
        width: 95%;
    }
}