/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-dark: #0a0e1a;
    --bg-section: #0f1424;
    --bg-card: #161c32;
    --text-primary: #f0f2f8;
    --text-secondary: #8892b0;
    --accent: #00b853;
    --accent-glow: #009a45;
    --orange: #f4a623;
    --purple: #5b2d8e;
    --cyan: #00b4d8;
    --gold: #f4a623;
    --radius: 12px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
.text-accent { color: var(--accent); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px; border-radius: 50px; font-family: var(--font-heading);
    font-weight: 600; font-size: 0.95rem; cursor: pointer;
    transition: all 0.3s ease; border: none;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid rgba(240,242,248,0.2); color: var(--text-primary); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-nav { padding: 10px 24px; background: var(--accent); color: #fff; font-size: 0.85rem; }
.btn-full { width: 100%; }

/* ===== NAVBAR ===== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0; transition: all 0.3s ease; }
.navbar.scrolled { background: rgba(10,14,26,0.95); backdrop-filter: blur(12px); box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; }
.nav-logo img { border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text-primary); transition: 0.3s; border-radius: 2px; }

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher { position: relative; margin-left: 12px; flex-shrink: 0; }
.lang-btn {
    display: flex; align-items: center; justify-content: center; background: none;
    border: none; padding: 8px; color: var(--text-secondary); cursor: pointer;
    transition: color 0.2s; border-radius: 50%;
}
.lang-btn:hover { color: var(--accent); }
.lang-dropdown {
    position: absolute; top: calc(100% + 8px); right: 0; background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 6px;
    min-width: 180px; opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: all 0.2s ease; box-shadow: 0 8px 32px rgba(0,0,0,0.4); z-index: 1002;
    list-style: none;
}
.lang-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown li { margin: 0; }
.lang-dropdown button {
    width: 100%; text-align: left; padding: 8px 12px; background: none; border: none;
    color: var(--text-secondary); cursor: pointer; font-size: 0.85rem; border-radius: 6px;
    transition: all 0.15s; font-family: var(--font-body);
}
.lang-dropdown button:hover { background: rgba(255,255,255,0.08); color: var(--text-primary); }
.lang-dropdown button.active { color: var(--accent); background: rgba(0,184,83,0.1); }


/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img,
.hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,14,26,0.92) 0%, rgba(10,14,26,0.6) 100%); }
.hero-content { position: relative; z-index: 2; padding: 120px 0 80px; }
.hero-badge {
    display: inline-block; padding: 8px 20px; border-radius: 50px; font-size: 0.8rem;
    font-weight: 600; text-transform: uppercase; letter-spacing: 2px;
    background: rgba(0,184,83,0.15); color: var(--accent); border: 1px solid rgba(0,184,83,0.3);
    margin-bottom: 24px;
}
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 24px; }
.hero-sub { font-size: 1.15rem; color: var(--text-secondary); max-width: 600px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 60px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; }
.stat strong { display: block; font-family: var(--font-heading); font-size: 2rem; color: var(--accent); }
.stat span { font-size: 0.85rem; color: var(--text-secondary); }

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-dark { background: var(--bg-section); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
    display: inline-block; padding: 6px 16px; border-radius: 50px; font-size: 0.75rem;
    font-weight: 600; text-transform: uppercase; letter-spacing: 2px;
    background: rgba(0,184,83,0.1); color: var(--accent); margin-bottom: 16px;
}
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.section-sub { color: var(--text-secondary); margin-top: 16px; font-size: 1.05rem; }

/* ===== CHALLENGE CARDS ===== */
.challenge-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.challenge-card {
    padding: 40px 32px; background: var(--bg-card); border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.05); text-align: center; transition: transform 0.3s;
}
.challenge-card:hover { transform: translateY(-4px); }
.challenge-stat { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 900; color: var(--accent); margin-bottom: 16px; }
.challenge-stat.orange { color: var(--orange); }
.challenge-stat.purple { color: var(--purple); }
.challenge-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.challenge-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* ===== SOLUTION SECTION ===== */

/* Hero Feature Block */
.solution-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 64px;
    padding: 48px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.06);
}
.solution-hero-text h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}
.solution-hero-text > p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 28px;
    font-size: 1rem;
}
.solution-hero-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.solution-hero-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}
.solution-hero-list li svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}
.solution-hero-list li strong {
    color: var(--text-primary);
}

/* Radar Chart Visual */
.solution-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.radar-chart {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.radar-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(0,184,83,0.15));
}
.radar-score {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.radar-score-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}
.radar-score-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Capabilities Grid */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 64px;
}
.capability-card {
    padding: 28px 24px;
    background: var(--bg-card);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}
.capability-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0,184,83,0.15);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.capability-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0,184,83,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--accent);
}
.capability-card:hover .capability-icon {
    background: rgba(0,184,83,0.18);
}
.capability-card h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}
.capability-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.65;
}

/* Process Flow */
.solution-process {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: 40px 0 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.process-step {
    flex: 1;
    text-align: center;
    max-width: 220px;
    padding: 0 16px;
}
.process-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 12px;
    line-height: 1;
}
.process-step h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}
.process-step p {
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.6;
}
.process-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, rgba(0,184,83,0.4), rgba(0,184,83,0.1));
    margin-top: 18px;
    flex-shrink: 0;
}

/* ===== PÚBLICOS — CARDS ===== */
.feature-highlight { color: var(--accent); font-weight: 700; }

.publicos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.publico-card {
    padding: 40px 36px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.publico-card h3 {
    font-size: 1.4rem;
}

.publico-card > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.publico-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    margin-top: 4px;
}
.publico-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.publico-features li:last-child { border-bottom: none; }

/* ===== EVAL GRID ===== */
.eval-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.eval-card {
    padding: 32px; background: var(--bg-card); border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.05); transition: all 0.3s;
}
.eval-card:hover { transform: translateY(-4px); border-color: rgba(0,184,83,0.3); }
.eval-icon { font-size: 2rem; margin-bottom: 16px; }
.eval-card h3 { margin-bottom: 16px; font-size: 1.15rem; }
.eval-card ul { list-style: none; }
.eval-card li { padding: 6px 0; color: var(--text-secondary); font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.03); }
.eval-card li:last-child { border: none; }

/* ===== ROI ===== */
.roi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 48px; }
.roi-title { font-size: 1.2rem; margin-bottom: 24px; color: var(--text-secondary); }
.roi-items { display: flex; flex-direction: column; gap: 20px; }
.roi-item { padding: 24px; background: var(--bg-card); border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.05); }
.roi-value { display: block; font-family: var(--font-heading); font-size: 2.5rem; font-weight: 900; color: var(--accent); }
.roi-value.accent { color: var(--orange); }
.roi-item strong { display: block; margin: 8px 0 4px; font-size: 1rem; }
.roi-item p { color: var(--text-secondary); font-size: 0.9rem; margin: 0; }

.roi-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.roi-highlight {
    text-align: center; padding: 32px; background: linear-gradient(135deg, rgba(0,184,83,0.1), rgba(0,184,83,0.02));
    border-radius: var(--radius); border: 1px solid rgba(0,184,83,0.2);
}
.roi-highlight span { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 8px; }
.roi-highlight strong { font-family: var(--font-heading); font-size: 2rem; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}
.testimonial-card {
    position: relative;
    padding: 36px 32px 28px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-glow));
    opacity: 0;
    transition: opacity 0.3s;
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border-color: rgba(0,184,83,0.15);
}
.testimonial-card:hover::before { opacity: 1; }
.testimonial-featured {
    border-color: rgba(0,184,83,0.12);
    background: var(--bg-card);
}
.testimonial-featured::before { opacity: 1; }
.testimonial-quote-icon {
    color: var(--accent);
    opacity: 0.25;
    margin-bottom: 16px;
}
.testimonial-card > p {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 28px;
    line-height: 1.85;
    font-size: 1rem;
    flex-grow: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.author-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0,184,83,0.3);
    flex-shrink: 0;
}
.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}
.testimonial-author span {
    color: var(--text-secondary);
    font-size: 0.8rem;
}
.testimonial-stat {
    padding: 12px 16px;
    background: rgba(0,184,83,0.08);
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
}
.testimonial-stat strong {
    color: var(--accent);
    font-size: 1.1rem;
}

/* ===== TECH GRID ===== */
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.tech-card {
    padding: 32px; background: var(--bg-card); border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.05); transition: transform 0.3s;
}
.tech-card:hover { transform: translateY(-4px); }
.tech-card h3 { margin-bottom: 12px; font-size: 1.1rem; }
.tech-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* ===== CONTACT ===== */
.contact-label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 6px; font-weight: 600; }

.contact-centered {
    display: flex;
    justify-content: center;
}
.contact-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 56px 64px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.06);
    max-width: 700px;
    width: 100%;
    gap: 28px;
}
.contact-cta-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    padding: 16px 36px;
}

/* ===== FOOTER ===== */
.footer {
    padding: 56px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.footer-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.footer-contact-item .contact-label { margin-bottom: 4px; }
.footer-contact-item a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    transition: color 0.2s;
}
.footer-contact-item a:hover { color: var(--accent); }
.footer-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
}
.footer-copy p { color: var(--text-secondary); font-size: 0.85rem; }

/* ===== RESULTS BG ICONS ===== */
#resultados { position: relative; overflow: hidden; }
.results-bg-icons { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.bg-icon {
    position: absolute;
    width: 120px;
    height: 120px;
    color: var(--accent);
    opacity: 0.04;
}
.bg-icon-1 { top: 8%; left: 5%; transform: rotate(-15deg); width: 140px; height: 140px; }
.bg-icon-2 { top: 15%; right: 8%; transform: rotate(20deg); width: 100px; height: 100px; }
.bg-icon-3 { bottom: 20%; left: 12%; transform: rotate(10deg); width: 160px; height: 160px; }
.bg-icon-4 { bottom: 10%; right: 5%; transform: rotate(-25deg); width: 110px; height: 110px; }
.bg-icon-5 { top: 50%; left: 45%; transform: rotate(30deg); width: 90px; height: 90px; }
.bg-icon-6 { top: 5%; left: 55%; transform: rotate(-10deg); width: 130px; height: 130px; }
#resultados .container { position: relative; z-index: 1; }

/* ===== STATS GRID ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.stat-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 40px 24px 32px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.stat-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 12px 40px rgba(0, 184, 83, 0.12);
}
.stat-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}
.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}
.stat-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

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

/* Tablet */
@media (max-width: 1024px) {
    .container { padding: 0 20px; }
    .section { padding: 72px 0; }
    .section-header { margin-bottom: 48px; }
    .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        flex-direction: column; background: var(--bg-dark); padding: 80px 32px 32px;
        gap: 24px; transition: right 0.3s ease; box-shadow: -4px 0 30px rgba(0,0,0,0.5);
        z-index: 1001;
    }
    .nav-links.active { right: 0; }

    /* Hero */
    .hero-content { padding: 100px 0 60px; }
    .hero h1 { font-size: clamp(1.8rem, 7vw, 2.8rem); }
    .hero-sub { font-size: 1rem; }
    .hero-actions { flex-direction: column; gap: 12px; }
    .hero-actions .btn { width: 100%; text-align: center; }
    .hero-stats { gap: 24px; }
    .stat strong { font-size: 1.5rem; }

    /* Sections */
    .section { padding: 56px 0; }
    .section-header { margin-bottom: 36px; }
    .section-header h2 { font-size: clamp(1.5rem, 5vw, 2rem); }

    /* Solution */
    .solution-hero { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
    .solution-hero-text h3 { font-size: 1.3rem; }
    .solution-hero-list li { font-size: 0.9rem; }
    .radar-chart { width: 220px; height: 220px; margin: 0 auto; }
    .capabilities-grid { grid-template-columns: 1fr; max-width: 100%; margin: 0 auto 48px; }
    .capability-card { padding: 24px 20px; }
    .capability-card h4 { font-size: 1rem; }
    .capability-card p { font-size: 0.85rem; }

    /* Process */
    .solution-process { flex-direction: column; align-items: center; gap: 16px; }
    .process-connector { width: 2px; height: 24px; background: linear-gradient(180deg, rgba(0,184,83,0.4), rgba(0,184,83,0.1)); }
    .process-step { padding: 20px; }

    /* Públicos */
    .publicos-grid { grid-template-columns: 1fr; }
    .publico-card { padding: 32px 24px; }

    /* Stats */
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .stat-card { padding: 20px 16px; }
    .stat-number { font-size: 1.8rem; }

    /* Contato */
    .contact-cta { padding: 40px 28px; }
    .btn-whatsapp { width: 100%; justify-content: center; }

    /* Footer */
    .footer-content { grid-template-columns: 1fr; gap: 40px; }
    .footer-copy { align-items: flex-start; }

    /* Buttons */
    .btn { padding: 12px 24px; font-size: 0.9rem; }
    .btn-primary { padding: 14px 28px; }
}

/* Small phones */
@media (max-width: 400px) {
    .container { padding: 0 16px; }
    .hero h1 { font-size: 1.6rem; }
    .hero-content { padding: 90px 0 48px; }
    .stats-grid { grid-template-columns: 1fr; }
    .nav-logo img { height: 40px; }
}
