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

:root {
    --primary: #1E88E5;
    --secondary: #1976D2;
    --accent: #d4af37;
    --dark: #0D47A1;
    --light: #f8f9fa;
    --text: #2c3e50;
    --text-light: #6c757d;
    --success: #10b981;
    --error: #ef4444;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.hidden {
    display: none !important;
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(30, 136, 229, 0.98);
    backdrop-filter: blur(15px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.market-bar {
    background: linear-gradient(90deg, #0D47A1, #1E88E5);
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    width: 100%;
}

.market-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 2rem;
}

.market-ticker {
    display: flex;
    gap: 2.5rem;
    flex: 1;
    overflow-x: auto;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    white-space: nowrap;
}

.ticker-item:hover {
    background: rgba(212, 175, 55, 0.1);
}

.ticker-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 600;
}

.ticker-value {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
}

.ticker-change {
    font-size: 0.75rem;
    font-weight: 600;
}

.ticker-change.positive { color: #10b981; }
.ticker-change.negative { color: #ef4444; }

.impostometro-mini {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.4rem 1.2rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.impostometro-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.impostometro-value {
    color: var(--accent);
    font-weight: 800;
    font-size: 0.95rem;
    font-family: 'Courier New', monospace;
}

/* MAIN HEADER */
.header-main {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.03);
}

.logo-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* NAVIGATION */
.nav {
    display: flex;
    gap: 0.3rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.7rem 1.1rem;
    display: block;
    transition: all 0.3s ease;
    border-radius: 6px;
    cursor: pointer;
}

.nav-link:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent);
}

.nav-item.has-dropdown > .nav-link::after {
    content: '▼';
    font-size: 0.65rem;
    margin-left: 0.4rem;
    transition: transform 0.3s ease;
}

.nav-item.has-dropdown:hover > .nav-link::after {
    transform: rotate(180deg);
}

.dropdown-mega {
    position: absolute;
    top: 100%;
    left: -150px;
    background: white;
    min-width: 600px;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.4s ease;
    z-index: 1000;
    margin-top: 0.5rem;
    padding: 2rem;
}

.nav-item.has-dropdown:hover .dropdown-mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.dropdown-category {
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.dropdown-category:hover {
    background: rgba(30, 136, 229, 0.05);
    border-color: var(--primary);
}

.dropdown-category-content {
    flex: 1;
}

.dropdown-category-title {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.dropdown-category-desc {
    color: var(--text-light);
    font-size: 0.8rem;
}

.cta-button {
    background: linear-gradient(135deg, var(--accent), #b8960d);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

/* MOBILE MENU */
.mobile-menu-button {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-button span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--primary);
    padding: 1rem 2rem;
    gap: 0.5rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    background: rgba(212, 175, 55, 0.1);
}

.cta-mobile {
    background: linear-gradient(135deg, var(--accent), #b8960d);
    text-align: center;
    margin-top: 1rem;
}

/* ==================== HERO ==================== */
.hero {
    margin-top: 105px;
    min-height: 85vh;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.95) 0%, rgba(30, 136, 229, 0.9) 50%, rgba(66, 165, 245, 0.85) 100%),
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.company-name {
    font-size: 6rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 3px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.05;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 300;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-button {
    padding: 1.1rem 2.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
}

.hero-button-primary {
    background: linear-gradient(135deg, var(--accent), #b8960d);
    color: white;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.hero-button-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 45px rgba(212, 175, 55, 0.6);
}

.hero-button-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-button-secondary:hover {
    background: white;
    color: var(--primary);
}

.hero-stats {
    display: flex;
    gap: 4rem;
    margin-top: 3.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    font-family: 'Playfair Display', serif;
}

.hero-stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.5rem;
}

/* ==================== SECTIONS ==================== */
.section {
    padding: 5rem 0;
}

.section-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
}

/* ==================== METODOLOGIA ==================== */
.metodologia-intro {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 4rem 3rem;
    border-radius: 20px;
    margin-bottom: 3.5rem;
}

.metodologia-intro h3 {
    font-size: 2.3rem;
    margin-bottom: 2rem;
    color: white;
    text-align: center;
}

.metodologia-text {
    max-width: 1200px;
    margin: 0 auto;
}

.metodologia-text p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 1.8rem;
}

.metodologia-highlight {
    background: rgba(212, 175, 55, 0.15);
    padding: 1.8rem;
    border-radius: 12px;
    border-left: 5px solid var(--accent);
    margin-top: 2rem;
}

.metodologia-highlight p {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent);
    margin: 0;
}

.data-point {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--accent);
}

.data-point strong {
    color: var(--accent);
    font-size: 1.2rem;
}

.metodologia-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.8rem;
    margin-top: 2.5rem;
}

.step-card {
    background: white;
    padding: 2.2rem 1.8rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s ease;
    border: 3px solid transparent;
    position: relative;
}

.step-card.critical {
    border-color: #ef4444;
}

.step-card.critical::before {
    content: '⚠️ OBRIGATÓRIO';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ef4444;
    color: white;
    padding: 0.25rem 0.9rem;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 800;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--accent), #b8960d);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    font-weight: 800;
    margin: 0 auto 1.3rem;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.step-card h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.9rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================== FOUNDER & INSTITUCIONAL ==================== */
.founder-section {
    background: var(--light);
}

.founder-content {
    display: grid;
    grid-template-columns: 35% 65%;
    gap: 4.5rem;
    align-items: center;
    margin-bottom: 4rem;
}

.founder-image-wrapper {
    position: relative;
}

.founder-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.founder-text h3 {
    font-size: 2.6rem;
    color: var(--primary);
    margin-bottom: 0.9rem;
    font-weight: 800;
}

.founder-text h4 {
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 1.8rem;
    font-weight: 600;
}

.founder-text p {
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--text);
    margin-bottom: 1.6rem;
}

.certifications {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 1.8rem;
}

.cert-badge {
    background: var(--accent);
    color: white;
    padding: 0.45rem 1.1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.institucional-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.institucional-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.institucional-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.institucional-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.institucional-content {
    padding: 2rem;
}

.institucional-content h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.institucional-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.testimonial-card {
    background: var(--light);
    padding: 1.8rem;
    border-radius: 16px;
    border-left: 5px solid var(--accent);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 1.3rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.testimonial-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-info h4 {
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.testimonial-info p {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ==================== NUMBERS ==================== */
.numbers-section {
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: white;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3.5rem;
}

.number-card {
    text-align: center;
}

.number-value {
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--accent);
    font-family: 'Playfair Display', serif;
}

.number-label {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.92);
    margin-top: 0.4rem;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 15px rgba(37, 211, 102, 0.4));
}

.whatsapp-float:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 25px rgba(37, 211, 102, 0.6));
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--dark);
    color: white;
    padding: 4.5rem 0 2.2rem;
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3.5rem;
    margin-bottom: 3.5rem;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
}

.footer-about h3 {
    font-size: 1.7rem;
    color: var(--accent);
    margin-bottom: 1.3rem;
}

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

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

.footer-column h4 {
    font-size: 1.15rem;
    color: var(--accent);
    margin-bottom: 1.3rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.9rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2.2rem 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

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

/* ==================== RESPONSIVE ==================== */

@media (max-width: 1200px) {
    .metodologia-steps {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-grid,
    .institucional-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .founder-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .dropdown-mega {
        min-width: 500px;
        left: -100px;
    }

    .company-name {
        font-size: 4rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

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

    .section-container {
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .header-main {
        padding: 1rem 1.5rem;
    }

    .nav {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
    }

    .market-bar-content {
        padding: 0 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .market-ticker {
        gap: 1rem;
        overflow-x: auto;
        width: 100%;
        padding-bottom: 0.5rem;
    }

    .impostometro-mini {
        width: 100%;
        justify-content: center;
    }

    .hero {
        min-height: auto;
        padding: 3rem 1.5rem;
    }

    .company-name {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-button {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .hero-stat-number {
        font-size: 2.5rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-container {
        padding: 0 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .metodologia-steps,
    .testimonials-grid,
    .institucional-cards,
    .numbers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .metodologia-intro {
        padding: 2.5rem 1.5rem;
    }

    .metodologia-intro h3 {
        font-size: 1.8rem;
    }

    .founder-text h3 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 1.5rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 50px;
        height: 50px;
    }

    .number-value {
        font-size: 2.8rem;
    }
}

@media (max-width: 480px) {
    .company-name {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

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