/* ========================================
   ESTILOS GLOBAIS - DGF INVESTIMENTOS
   Design Corporativo Profissional
   ======================================== */

/* ========== VARIÁVEIS CSS ========== */
:root {
    /* Cores Corporativas */
    --primary-dark: #0a1428;      /* Azul escuro - Cor primária */
    --primary-blue: #1e3a8a;      /* Azul corporativo */
    --accent-gold: #d4af37;       /* Dourado - Destaque premium */
    --accent-light: #f0f4f8;      /* Cinza claro - Fundo */
    --text-dark: #1a202c;         /* Texto escuro */
    --text-light: #ffffff;        /* Texto claro */
    --text-gray: #64748b;         /* Texto cinza */
    --border-color: #e2e8f0;      /* Borda */
    
    /* Tipografia */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Poppins', sans-serif;
    
    /* Espaçamento */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Transições */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== RESET E ESTILOS BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========== CONTAINER ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ========== TIPOGRAFIA ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.8;
}

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

a:hover {
    color: var(--accent-gold);
}

/* ========== BOTÕES ========== */
.cta-button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.cta-primary {
    background-color: var(--primary-blue);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.cta-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

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

.cta-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-blue);
}

/* ========== HEADER / NAVEGAÇÃO ========== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.logo-subtext {
    font-size: 0.75rem;
    color: var(--accent-gold);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-blue);
}

.header-cta {
    background-color: var(--primary-blue);
    color: var(--text-light);
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 20, 40, 0.85) 0%, rgba(30, 58, 138, 0.75) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--text-light);
}

.hero-title {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-2xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    margin-bottom: var(--spacing-2xl);
    flex-wrap: wrap;
}

.hero-credentials {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-2xl);
}

.credential-badge {
    background-color: rgba(212, 175, 55, 0.2);
    color: var(--accent-gold);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--accent-gold);
}

/* ========== SEÇÕES GENÉRICAS ========== */
section {
    padding: var(--spacing-2xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
    font-weight: 400;
}

/* ========== SEÇÃO SOBRE ========== */
.about {
    background-color: var(--accent-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.about-text h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
}

.about-text p {
    margin-bottom: var(--spacing-lg);
}

.company-info {
    background-color: var(--text-light);
    padding: var(--spacing-lg);
    border-radius: 0.75rem;
    border-left: 4px solid var(--accent-gold);
    margin-top: var(--spacing-lg);
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--primary-dark);
}

.info-value {
    color: var(--text-gray);
    font-weight: 500;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
}

/* ========== SEÇÃO SERVIÇOS ========== */
.services {
    background-color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.service-card {
    background-color: var(--accent-light);
    padding: var(--spacing-xl);
    border-radius: 0.75rem;
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid transparent;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.service-card h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
}

.service-card p {
    font-size: 0.95rem;
}

/* ========== SEÇÃO FUNDO ========== */
.fund {
    background-color: var(--text-light);
}

.fund-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.fund-image img {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
}

.fund-text h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
    font-size: 1.75rem;
}

.fund-text p {
    margin-bottom: var(--spacing-lg);
}

.fund-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-dark);
}

.feature-icon {
    color: var(--accent-gold);
    font-weight: 800;
    font-size: 1.25rem;
}

.fund-text .cta-button {
    margin-top: var(--spacing-lg);
}

/* ========== SEÇÃO CREDIBILIDADE ========== */
.credibility {
    background-color: var(--accent-light);
}

.credibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.credibility-card {
    background-color: var(--text-light);
    padding: var(--spacing-lg);
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.credibility-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.credibility-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.credibility-card h4 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
}

.credibility-card p {
    font-size: 0.9rem;
}

/* ========== SEÇÃO ESTATÍSTICAS ========== */
.stats {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: var(--text-light);
    padding: var(--spacing-2xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    text-align: center;
}

.stat-item {
    padding: var(--spacing-lg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
}

/* ========== SEÇÃO CONTATO ========== */
.contact {
    background-color: var(--accent-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-2xl);
}

.contact-form {
    background-color: var(--text-light);
    padding: var(--spacing-xl);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.info-block {
    background-color: var(--text-light);
    padding: var(--spacing-lg);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
}

.info-block h4 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
}

.info-block p {
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
}

/* ========== RODAPÉ ========== */
.footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h4 {
    color: var(--accent-gold);
    margin-bottom: var(--spacing-md);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

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

.footer-section ul li {
    margin-bottom: var(--spacing-sm);
}

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

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

.footer-bottom {
    text-align: center;
}

.company-details {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg);
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 0.5rem;
    border-left: 3px solid var(--accent-gold);
}

.company-details p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
}

.footer-disclaimer {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
}

.footer-disclaimer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ========== RESPONSIVIDADE ========== */
@media (max-width: 768px) {
    /* Tipografia */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Container */
    .container {
        padding: 0 var(--spacing-md);
    }

    /* Header */
    .header-content {
        flex-wrap: wrap;
        gap: var(--spacing-md);
    }

    .nav {
        gap: 1.5rem;
        font-size: 0.9rem;
    }

    .header-cta {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Hero */
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .hero-buttons .cta-button {
        width: 100%;
    }

    .hero-credentials {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    /* Seções */
    section {
        padding: var(--spacing-xl) 0;
    }

    .section-header {
        margin-bottom: var(--spacing-xl);
    }

    /* Grid layouts */
    .about-content,
    .fund-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .fund-features {
        grid-template-columns: 1fr;
    }

    /* Serviços */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Credibilidade */
    .credibility-grid {
        grid-template-columns: 1fr;
    }

    /* Estatísticas */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }

    /* Rodapé */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .footer-section {
        text-align: center;
    }

    .footer-section ul {
        display: flex;
        justify-content: center;
        gap: var(--spacing-lg);
        flex-wrap: wrap;
    }

    /* Formulário */
    .contact-form {
        padding: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    /* Tipografia */
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    /* Variáveis de espaçamento */
    :root {
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
        --spacing-2xl: 2.5rem;
    }

    /* Header */
    .logo-text {
        font-size: 1.25rem;
    }

    .nav {
        gap: 1rem;
        font-size: 0.8rem;
    }

    .header-cta {
        display: none;
    }

    /* Hero */
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .credential-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    /* Serviços */
    .service-icon {
        font-size: 2.5rem;
    }

    /* Estatísticas */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Contato */
    .contact-info {
        gap: var(--spacing-md);
    }

    .info-block {
        padding: var(--spacing-md);
    }

    /* Rodapé */
    .company-details p {
        font-size: 0.8rem;
    }

    .footer-disclaimer p {
        font-size: 0.75rem;
    }
}

/* ========== OTIMIZAÇÕES DE PERFORMANCE ========== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========== IMPRESSÃO ========== */
@media print {
    .header,
    .hero-buttons,
    .contact-form,
    .footer {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    a {
        text-decoration: underline;
    }
}
