body {
    background-color: #0f172a;
    color: #f8fafc;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ═══════════════════════════════════════════
   SISTEMA TIPOGRÁFICO — INTER
   ═══════════════════════════════════════════ */

/* H1 — Hero principal: pesado, impactante */
h1, .h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: clamp(2.25rem, 5vw, 4rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

/* H2 — Títulos de seção: bold */
h2, .h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

/* H3 — Subtítulos de card/bloco: semibold */
h3, .h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    line-height: 1.3;
    letter-spacing: -0.015em;
}

/* H4 — Rótulos e destaques internos: medium */
h4, .h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.4;
    letter-spacing: -0.01em;
}

/* H5 — Eyebrows e pequenos títulos: medium */
h5, .h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9375rem;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* H6 — Tags/labels: medium */
h6, .h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.8125rem;
    line-height: 1.4;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Parágrafos — Regular */
p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.7;
}

/* Lead — Parágrafo destacado: light */
.text-lead {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1.125rem;
    line-height: 1.75;
    letter-spacing: -0.01em;
}

/* Caption — Textos auxiliares: light */
.text-caption {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Bold inline */
strong, b {
    font-weight: 700;
}

/* Labels e eyebrows custom */
.label-eyebrow {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Hero Background - Otimizado para evitar flicker */
.hero-bg {
    background-color: #0f172a;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero-bg-layer {
    position: absolute;
    inset: 0;
    transform: translateZ(0);
    will-change: transform, opacity;
}

.hero-bg-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateZ(0);
}

.object-right-bottom {
    object-position: right bottom;
}

.glass-card {
    background: rgba(30, 41, 59, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
}

.pill-tag {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(96, 165, 250, 0.2);
    color: #60a5fa;
}

/* Neon Glow para destaques azuis */
.neon-blue {
    text-shadow: 0 0 8px rgba(96, 165, 250, 0.6), 0 0 20px rgba(59, 130, 246, 0.3);
}

.gsap-reveal {
    visibility: hidden;
}

/* Mobile Menu Transitions */
#mobileMenu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Cursor Animation */
@keyframes blinkCursor {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.animate-blink {
    animation: blinkCursor 1s step-end infinite;
}

.typewriter-cursor {
    animation: blinkCursor 1s step-end infinite;
}

/* Infinite Marquee Loop */
@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    display: flex;
    width: fit-content;
    animation: scrollMarquee 40s linear infinite;
}



/* Gradiente animado para card destaque */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    25% {
        background-position: 100% 0%;
    }

    50% {
        background-position: 100% 100%;
    }

    75% {
        background-position: 0% 100%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Borda luminosa animada para título prova social */
@keyframes borderGlow {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Carrossel FAQ infinito */
@keyframes faqScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-faq-scroll {
    animation: faqScroll 30s linear infinite;
}

/* Novos Carrosséis de Prova Social */
@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.animate-scroll-left {
    animation: scrollLeft 40s linear infinite;
}

.animate-scroll-right {
    animation: scrollRight 40s linear infinite;
}

.marquee-container:hover .animate-scroll-left,
.marquee-container:hover .animate-scroll-right {
    animation-play-state: paused;
}

/* Hover Cards Tech */
.tech-anim-card {
    cursor: pointer;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.tech-anim-card:hover {
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.4);
    border-color: rgba(96, 165, 250, 0.6);
    z-index: 50 !important;
}

/* Mouse Tracking Neon Glow - Background Effect */
#mouse-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Grid xadrez fixa */
.grid-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image: 
        linear-gradient(to right, rgba(59, 130, 246, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.15;
    transition: all 0.15s ease-out;
}

/* Efeito neon ao passar o mouse */
.grid-pattern::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.grid-pattern.active::before {
    opacity: 1;
}

.grid-pattern.active {
    background-image: 
        linear-gradient(to right, rgba(96, 165, 250, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(96, 165, 250, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Transparência nas seções para o mouse glow aparecer no fundo */
