/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0C1B33;
    --navy-light: #162844;
    --navy-dark: #0A1428;
    --gold: #B8943F;
    --gold-light: #D4AD4A;
    --gold-dark: #9A7A2E;
    --white: #FFFFFF;
    --light-gray: #F6F7FA;
    --text-dark: #1A1F2E;
    --text-light: #5A6178;
    --border: #DFE3EB;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
    font-weight: 400;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 16px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: contain;
    background: var(--white);
    padding: 4px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text strong {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.logo-text small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-light);
}

.btn-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-light);
    color: var(--navy);
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-phone:hover {
    background: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 173, 74, 0.3);
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    
    .navbar-content {
        gap: 20px;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 40px 80px;
    background: linear-gradient(135deg, rgba(12, 27, 51, 0.9) 0%, rgba(22, 40, 68, 0.9) 100%), 
                url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1200 600%22><rect fill=%22%230C1B33%22 width=%221200%22 height=%22600%22/><circle cx=%22200%22 cy=%22150%22 r=%22100%22 fill=%22%23B8943F%22 opacity=%220.1%22/><circle cx=%221000%22 cy=%22450%22 r=%22150%22 fill=%22%23B8943F%22 opacity=%220.08%22/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(184, 148, 63, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(184, 148, 63, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        padding: 120px 20px 60px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: var(--gold-light);
    color: var(--navy);
}

.btn-primary:hover {
    background: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 173, 74, 0.3);
}

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

.btn-secondary:hover {
    background: var(--gold-light);
    color: var(--navy);
    transform: translateY(-3px);
}

.btn-cookie {
    background: var(--gold-light);
    color: var(--navy);
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cookie:hover {
    background: var(--gold);
}

/* Services Section */
.services-preview {
    padding: 100px 40px;
    background: var(--white);
}

.services-preview h2,
.carteiras-section h2,
.fornecedores-section h2,
.cta-section h2,
.about-section h2 {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 60px;
    font-size: 16px;
    font-weight: 400;
}

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

.service-card {
    background: var(--light-gray);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    background: var(--white);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--navy);
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--navy);
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .services-preview {
        padding: 60px 20px;
    }
    
    .services-preview h2 {
        font-size: 32px;
    }
}

/* Carteiras Section */
.carteiras-section {
    padding: 100px 40px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.carteiras-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(12, 27, 51, 0.3);
    pointer-events: none;
}

.carteiras-section .container {
    position: relative;
    z-index: 2;
}

.carteiras-section h2,
.carteiras-section .section-subtitle {
    color: var(--white);
}

.carteiras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
}

.carteira-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.carteira-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.carteira-logo {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}

/* Fornecedores Section */
.fornecedores-section {
    padding: 100px 40px;
    background-size: cover;
    background-position: center right;
    background-attachment: fixed;
    position: relative;
}

.fornecedores-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.fornecedores-section .container {
    position: relative;
    z-index: 2;
}

.fornecedores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
    align-items: center;
}

.fornecedor-item {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.fornecedor-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.fornecedor-logo {
    max-width: 90%;
    max-height: 70px;
    object-fit: contain;
}

/* CTA Section */
.cta-section {
    padding: 120px 40px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(12, 27, 51, 0.4);
    pointer-events: none;
}

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

.cta-section h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-section {
    padding: 100px 40px;
    background: var(--light-gray);
}

.about-section p {
    font-size: 16px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    text-align: center;
}

/* Footer */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 60px 40px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--gold-light);
}

.footer-section p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

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

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

.footer-section li {
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 20px 40px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.3s ease;
}

.cookie-banner.show {
    display: flex;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex: 1;
}

.cookie-banner strong {
    color: var(--gold-light);
    display: block;
    margin-bottom: 5px;
}

.cookie-banner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin: 0;
}

.cookie-banner a {
    color: var(--gold-light);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-small:hover {
    opacity: 0.9;
}

.cookie-banner.hidden {
    display: none;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        padding: 15px 20px;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .services-preview,
    .carteiras-section,
    .fornecedores-section,
    .cta-section,
    .about-section,
    .footer {
        padding: 60px 20px;
    }
    
    .services-preview h2,
    .carteiras-section h2,
    .fornecedores-section h2,
    .cta-section h2,
    .about-section h2 {
        font-size: 28px;
    }
}

/* Responsive */
@media (max-width: 600px) {
    .navbar-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-phone {
        width: 100%;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}
