/* ============================================
   RESET E VARIÁVEIS GLOBAIS
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #6D28FF;
    --black: #000000;
    --white: #FFFFFF;
    --light-gray: #F9FAFB;
    --dark-gray: #1F2937;
    --text-muted: #6B7280;
    --border-color: rgba(0, 0, 0, 0.08);

    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-ease: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 100px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    background-color: var(--white);
    color: var(--dark-gray);
    line-height: 1.6;
}

/* ============================================
   TIPOGRAFIA
   ============================================ */

h1 {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.015em;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

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

/* ============================================
   HEADER E NAVEGAÇÃO
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-ease);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.navbar {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    font-size: 1rem;
    flex-shrink: 0;
}

.logo-mark {
    width: 8px;
    height: 8px;
    background: var(--primary-purple);
    border-radius: 1px;
    opacity: 0.8;
}

.logo-text {
    font-weight: 800;
    color: var(--black);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 3rem;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.nav-menu a {
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-ease);
}

.nav-menu a:hover {
    color: var(--primary-purple);
}

.nav-button {
    background: var(--primary-purple);
    border: none;
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
}

.nav-button:hover {
    background: #5B21B6;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(109, 40, 255, 0.3);
}

.nav-button svg {
    transition: var(--transition-ease);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    margin-top: 80px;
    padding: 5rem 2rem;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-title {
    color: var(--black);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 500px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--primary-purple);
    color: var(--white);
}

.btn-primary:hover {
    background: #5B21B6;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(109, 40, 255, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--black);
    border: 1px solid var(--black);
}

.btn-secondary:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-animation {
    width: 100%;
    height: 100%;
    opacity: 0.8;
    filter: drop-shadow(0 20px 40px rgba(109, 40, 255, 0.08));
}

.flow-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw-line 8s ease-in-out forwards;
}

.flow-1 {
    animation-delay: 0s;
}

.flow-2 {
    animation-delay: 2s;
}

.flow-3 {
    animation-delay: 4s;
}

@keyframes draw-line {
    to {
        stroke-dashoffset: 0;
    }
}

.node {
    animation: node-glow 2s ease-in-out infinite;
}

@keyframes node-glow {
    0%, 100% {
        opacity: 0.8;
        r: 3px;
    }
    50% {
        opacity: 1;
        r: 4px;
    }
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    position: relative;
    padding: 6rem 2rem;
    background: var(--white);
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.about-title {
    margin-bottom: 2rem;
    color: var(--black);
}

.about-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.9;
}

.about-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.02);
    letter-spacing: 0.15em;
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
}

/* ============================================
   SOLUTIONS SECTION
   ============================================ */

.solutions {
    padding: 5rem 2rem;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--black);
}

.solutions-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

.solution-card {
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(109, 40, 255, 0.02) 0%, rgba(109, 40, 255, 0.005) 100%);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.solution-card:hover {
    border-color: var(--primary-purple);
    background: linear-gradient(135deg, rgba(109, 40, 255, 0.05) 0%, rgba(109, 40, 255, 0.01) 100%);
    box-shadow: 0 12px 32px rgba(109, 40, 255, 0.1);
    transform: translateY(-4px);
}

.solution-card h3 {
    color: var(--black);
    margin-bottom: 1rem;
}

.solution-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   DIFFERENTIALS SECTION
   ============================================ */

.differentials {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(109, 40, 255, 0.05) 0%, rgba(109, 40, 255, 0.02) 100%);
}

.differentials-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.differential-item {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(109, 40, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.differential-item:hover {
    background: var(--white);
    border-color: var(--primary-purple);
    box-shadow: 0 8px 24px rgba(109, 40, 255, 0.08);
    transform: translateY(-4px);
}

.differential-item h3 {
    color: var(--black);
    margin-bottom: 0.75rem;
}

.differential-item p {
    font-size: 0.95rem;
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */

.final-cta {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.98) 0%, rgba(20, 20, 20, 0.96) 100%);
    color: var(--white);
}

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

.final-cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: 3rem 2rem 1.5rem;
    background: var(--light-gray);
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

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

.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-ease);
}

.footer-column a:hover {
    color: var(--primary-purple);
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-ease);
}

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

/* ============================================
   RESPONSIVO
   ============================================ */

@media (max-width: 1024px) {
    .navbar {
        padding: 1.25rem 2rem;
        gap: 1.5rem;
    }

    .nav-menu {
        gap: 2rem;
    }

    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        min-height: auto;
    }

    .hero-visual {
        height: 400px;
    }

    .solutions-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

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

    .nav-button {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        margin-top: 70px;
        padding: 2rem 1.5rem;
    }

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

    .hero-visual {
        height: 300px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .about {
        padding: 3rem 1.5rem;
    }

    .about-watermark {
        font-size: 8rem;
    }

    .solutions {
        padding: 3rem 1.5rem;
    }

    .section-title {
        margin-bottom: 2rem;
    }

    .solutions-grid,
    .differentials-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-bottom ul {
        justify-content: center;
    }
}

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

    h2 {
        font-size: 1.5rem;
    }

    .navbar {
        padding: 1rem 1rem;
        gap: 0.75rem;
    }

    .nav-menu {
        display: none;
    }

    .logo {
        flex: 1;
    }

    .nav-button {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
        gap: 0.3rem;
    }

    .nav-button svg {
        display: none;
    }

    .hero {
        padding: 1.5rem 1rem;
        margin-top: 60px;
    }

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

    .button-group {
        flex-direction: column;
    }

    .metric-value {
        font-size: 2.5rem;
    }

    .differentials-container {
        gap: 1rem;
    }

    .final-cta {
        padding: 3rem 1.5rem;
    }

    .footer-container {
        gap: 1.5rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
