/* modern-theme.css */
:root {
    --bg-color: #0A192F;
    --bg-secondary: #112240;
    --text-main: #CCD6F6;
    --text-muted: #8892B0;
    --accent: #64FFDA;
    --accent-hover: #4CE6C7;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: 0.3s ease-in-out;
    --glass-bg: rgba(17, 34, 64, 0.7);
    --glass-border: rgba(100, 255, 218, 0.1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #E6F1FF;
    margin-bottom: 1rem;
    font-weight: 700;
}

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

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

/* Base Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 50px 0;
    position: relative;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: all var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-main);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--accent);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Offset for fixed header */
}

.hero-content {
    max-width: 800px;
}

.hero p.highlight {
    color: var(--accent);
    font-family: monospace;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(40px, 8vw, 80px);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p.description {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    color: var(--accent);
    background-color: transparent;
    border: 1px solid var(--accent);
    border-radius: 4px;
    font-family: monospace;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: rgba(100, 255, 218, 0.1);
}

/* Sections Common */
.section-title {
    display: flex;
    align-items: center;
    font-size: clamp(26px, 5vw, 32px);
    white-space: nowrap;
    margin-bottom: 40px;
}

.section-title::after {
    content: "";
    display: block;
    width: 300px;
    height: 1px;
    margin-left: 20px;
    background-color: var(--bg-secondary);
}

/* Services / Soluções */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px -15px rgba(100, 255, 218, 0.2);
}

.service-card h3 {
    margin-bottom: 15px;
    color: #E6F1FF;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Partners */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    align-items: center;
    justify-items: center;
}

.partner-card {
    filter: grayscale(100%) opacity(0.7);
    transition: var(--transition);
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
    width: 100%;
    text-align: center;
}

.partner-card:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

.partner-card h4 {
    margin: 0;
    color: var(--text-main);
    font-size: 1.1rem;
}

/* Contact */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-main);
    font-family: monospace;
}

.form-control {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--text-muted);
    color: var(--text-main);
    padding: 12px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    padding: 20px;
    text-align: center;
    background: var(--bg-secondary);
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--glass-border);
}

/* ====== Persona Switcher ====== */
.persona-switcher {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 2rem;
    width: fit-content;
}

.persona-label {
    color: var(--text-muted);
    font-family: monospace;
    font-size: 0.85rem;
    margin-right: 12px;
    white-space: nowrap;
}

.persona-btn {
    padding: 0.55rem 1.4rem;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-family: monospace;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.persona-btn:first-of-type {
    border-radius: 4px 0 0 4px;
}

.persona-btn:last-of-type {
    border-radius: 0 4px 4px 0;
    border-left: none;
}

.persona-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-color);
    font-weight: 700;
}

.persona-btn:not(.active):hover {
    border-color: var(--accent);
    color: var(--accent);
}

section.persona-hidden {
    display: none;
}

/* Nav CTA button */
.nav-cta {
    padding: 0.4rem 1rem !important;
    font-size: 0.85rem !important;
}

/* Hero layout */
.hero-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 0;
}

.hero-flex .hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.hero-flex .hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 255, 204, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-img:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

/* ====== Stats Bar ====== */
.stats-bar {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-number-wrap {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.stat-number,
.stat-suffix {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ====== Por que Baskara ====== */
.porque-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.porque-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: var(--transition);
    text-align: center;
}

.porque-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -15px rgba(100, 255, 218, 0.15);
}

.porque-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.porque-card h3 {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

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

/* ====== Processo / Metodologia ====== */
.processo-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.processo-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.3;
    line-height: 1;
    min-width: 70px;
}

.step-content h3 {
    color: #E6F1FF;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

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

/* ====== Depoimentos ====== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    transition: var(--transition);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 6rem;
    color: var(--accent);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 30px -15px rgba(100, 255, 218, 0.2);
}

.testimonial-quote {
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    color: var(--accent);
    font-size: 0.85rem;
    font-family: monospace;
}

/* ====== Stack Tecnológica ====== */
.stack-subtitle {
    color: var(--text-muted);
    text-align: center;
    max-width: 600px;
    margin: -20px auto 50px auto;
    font-size: 1rem;
}

.stack-groups {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.stack-group h4 {
    color: var(--accent);
    font-family: monospace;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--glass-border);
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-badge {
    background: rgba(100, 255, 218, 0.07);
    border: 1px solid rgba(100, 255, 218, 0.25);
    color: var(--text-main);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-family: monospace;
    transition: var(--transition);
    cursor: default;
}

.tech-badge:hover {
    background: rgba(100, 255, 218, 0.15);
    border-color: var(--accent);
    color: var(--accent);
}

/* ====== Sobre Nós content ====== */
.sobre-content {
    max-width: 700px;
}

.sobre-content h3 {
    color: var(--accent);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.sobre-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* ====== IA do Jeito Certo ====== */
.ia-headline {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
    max-width: 700px;
    margin-bottom: 1rem;
}

.ia-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 680px;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.ia-contrast {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 4rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.ia-side {
    flex: 1;
    padding: 2rem 2.5rem;
}

.ia-bad {
    background: rgba(255, 77, 79, 0.05);
    border-right: 1px solid var(--glass-border);
}

.ia-good {
    background: rgba(100, 255, 218, 0.05);
}

.ia-side-label {
    font-family: monospace;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.ia-bad .ia-side-label { color: #ff4d4f; }
.ia-good .ia-side-label { color: var(--accent); }

.ia-side ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ia-side ul li {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 0;
}

.ia-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-muted);
    background: var(--bg-secondary);
    font-family: monospace;
    min-width: 60px;
}

.ia-pilares {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.ia-pilar {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
}

.ia-pilar:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 30px -15px rgba(100, 255, 218, 0.15);
}

.ia-pilar-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.25;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.ia-pilar h3 {
    color: #E6F1FF;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.ia-pilar p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .ia-contrast {
        flex-direction: column;
    }
    .ia-divider {
        padding: 1rem;
        min-width: unset;
    }
    .ia-pilares {
        grid-template-columns: 1fr;
    }
}

/* ====== Parceria de Longo Prazo ====== */
.parceria-intro {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 680px;
    line-height: 1.8;
    margin-bottom: 3.5rem;
}

.parceria-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    margin-bottom: 4rem;
}

.parceria-timeline::before {
    content: '';
    position: absolute;
    top: 19px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(to right, var(--accent), rgba(100, 255, 218, 0.15));
    z-index: 0;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.timeline-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-family: monospace;
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

.timeline-content h4 {
    color: #E6F1FF;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.parceria-proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--glass-border);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
}

.parceria-proof-item {
    background: var(--bg-secondary);
    padding: 2rem 1.5rem;
    text-align: center;
}

.parceria-proof-stat {
    display: block;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.parceria-proof-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .parceria-timeline {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .parceria-timeline::before { display: none; }
    .parceria-proof { grid-template-columns: 1fr; }
}

/* ====== IA Aplicada aos Dados ====== */
.ia-dados-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ia-dados-text h2 {
    font-size: clamp(26px, 3.5vw, 38px);
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.ia-dados-text p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.ia-casos {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ia-caso {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    transition: var(--transition);
}

.ia-caso:hover {
    border-color: var(--accent);
}

.ia-caso-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.ia-caso-text strong {
    display: block;
    color: #E6F1FF;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.ia-caso-text span {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .ia-dados-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ====== Card Illustrations ====== */
.card-illustration {
    width: 100%;
    max-height: 160px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.porque-icon svg {
    color: var(--accent);
}

/* ====== Background Image Sections ====== */
.bg-image-section {
    position: relative;
    background-size: cover;
    background-position: center;
}

.bg-image-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 47, 0.88);
    z-index: 0;
}

.bg-image-section > .container {
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--glass-bg);
        padding: 2rem 0;
        text-align: center;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section-title::after {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .porque-grid {
        grid-template-columns: 1fr;
    }

    .processo-steps {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .stack-groups {
        grid-template-columns: 1fr 1fr;
    }

    .hero-flex .hero-image {
        display: none;
    }
}

@media (max-width: 480px) {
    .stack-groups {
        grid-template-columns: 1fr;
    }
}

/* ====== ia-risco ====== */
.ia-risco-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.ia-risco-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 2rem;
}

.ia-risco-card.risco-bad {
    border-left: 4px solid #ff4d4f;
    background: rgba(255, 50, 50, 0.05);
}

.ia-risco-card.risco-good {
    border-left: 4px solid var(--accent);
    background: rgba(100, 255, 218, 0.05);
}

.ia-risco-card h3 {
    margin-bottom: 1rem;
}

.ia-risco-card.risco-bad h3 { color: #ff4d4f; }
.ia-risco-card.risco-good h3 { color: var(--accent); }

.ia-risco-card ul {
    list-style: none;
    padding: 0;
    line-height: 2;
    color: var(--text-muted);
}

.ia-risco-cta {
    text-align: center;
    margin-top: 1rem;
}

/* ====== ia-quote ====== */
.ia-quote {
    border-left: 4px solid var(--accent);
    background: rgba(100, 255, 218, 0.05);
    border-radius: 0 8px 8px 0;
    padding: 1.5rem 2rem;
    margin: 2.5rem 0 0;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--text-main);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .ia-risco-grid {
        grid-template-columns: 1fr;
    }
}
