/* Reset e Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

:root {
    --color-white: #fafafa;
    --color-black: #14154bde;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #e5e5e5;
    --color-gray-300: #d4d4d4;
    --color-gray-600: #1b2f70;
    --color-gray-700: #1e2c68;
    --color-gray-900: #1f3061;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-black);
    background: var(--color-white);
    overflow-x: hidden;
}

/* Canvas do Cubo 3D */
#cube-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: rgba(250, 250, 250, 0.95);
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

/* Navegação */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(229, 229, 229, 0.5);
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gray-900);
    text-decoration: none;
    transition: var(--transition);
}

.logo span {
    color: var(--color-gray-600);
}

.logo:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--color-gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:not(.btn):hover,
.nav-menu a.active {
    color: var(--color-gray-900);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-gray-900);
}

/* Menu Mobile */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--color-gray-900);
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--color-gray-900);
    color: white;
}

.btn-primary:hover {
    background: var(--color-gray-700);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--color-gray-900);
    border: 2px solid var(--color-gray-900);
}

.btn-secondary:hover {
    background: var(--color-gray-100);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.btn-white {
    background: white;
    color: var(--color-gray-900);
}

.btn-white:hover {
    background: var(--color-gray-100);
    transform: scale(1.05);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 1.5rem 4rem;
    text-align: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.logo-animated {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(100px);
    animation: slideUp 1s ease-out forwards;
}

.logo-bg {
    position: absolute;
    inset: 0;
    background: rgba(30, 30, 30, 0.05);
    filter: blur(60px);
    border-radius: 50%;
}

.logo-box {
    position: relative;
    background: linear-gradient(135deg, var(--color-gray-900), var(--color-gray-700));
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    color: white;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-gray-900), var(--color-gray-600));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    color: var(--color-gray-600);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 5rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--color-gray-600);
    font-weight: 500;
}

/* Animações */
@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease-out forwards;
}

.fade-in-up.delay-1 {
    animation-delay: 0.3s;
}

.fade-in-up.delay-2 {
    animation-delay: 0.5s;
}

.fade-in-up.delay-3 {
    animation-delay: 0.7s;
}

/* CTA Section */
.cta-section {
    padding: 8rem 1.5rem;
    position: relative;
    z-index: 10;
}

.cta-box {
    background: linear-gradient(135deg, var(--color-gray-900), var(--color-gray-700));
    border-radius: 2rem;
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.cta-box h2 {
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    width: 100%;
}

.cta-box p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    border: 1px solid rgba(229, 229, 229, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 4rem;
    height: 4rem;
    background: var(--color-gray-900);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-gray-900);
}

.card-text {
    color: var(--color-gray-600);
    line-height: 1.7;
}

/* Grid */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Section */
section {
    padding: 8rem 1.5rem;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-gray-900);
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: var(--color-gray-600);
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Processo de Trabalho (visual da imagem) */
.process-section {
    padding: 8rem 1.5rem;
    position: relative;
    z-index: 10;
    background: var(--color-gray-100);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20rem;
   max-width: 800px;
    margin: 6px auto;
    padding-top: 1rem;
}

.process-step {
    position: relative;
    padding: 30rem 30rem 30.5rem;
    background: transparent;
    border: 0;
    box-shadow: none;
    text-align: left;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.process-step:hover {
    transform: translateY(-8px);
}

.process-number {
    position: absolute;
    top: 0.35rem;
    left: 0.5rem;
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    font-weight: 800;
    color: rgba(17, 34, 80, 0.08);
    z-index: 0;
    line-height: 1;
    pointer-events: none;
}

.process-step h3 {
    position: relative;
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-gray-900);
    z-index: 1;
}

.process-step p {
    position: relative;
    color: var(--color-gray-700);
    line-height: 1.7;
    z-index: 1;
}

.process-step::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.72);
    border-radius: 0.75rem;
    border: 1px solid rgba(229,229,229,0.6);
    z-index: 0;
    pointer-events: none;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, transparent, var(--color-gray-900));
    padding: 5rem 1.5rem 2rem;
    color: white;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.active {
        max-height: 500px;
    }

    .nav-menu a.active::after {
        display: none;
    }

    .hero {
        padding: 6rem 1.5rem 3rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    section {
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}


