:root {
    /* Cores da InovEQ */
    --primary: #164A82;
    --primaryLight: #2a5a9a;
    --secondary: #60C6C2;
    --secondaryLight: #7dd3cf;
    --accent: #f39c12;
    --accentLight: #f7b84b;
    --headerColor: #1a1a1a;
    --bodyTextColor: #4e4b66;
    --bodyTextColorWhite: #fafbfc;
    --backgroundLight: #f8f9fa;
    --backgroundDark: #1a1a1a;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    
    /* Tipografia */
    --topperFontSize: clamp(0.8125rem, 1.6vw, 1rem);
    --headerFontSize: clamp(1.9375rem, 3.9vw, 3.0625rem);
    --bodyFontSize: 1rem;
    --sectionPadding: clamp(3.75rem, 7.82vw, 6.25rem) 1rem;
    
    /* Sombras */
    --shadowLight: rgba(22, 74, 130, 0.1);
    --shadowMedium: rgba(22, 74, 130, 0.2);
    --shadowDark: rgba(22, 74, 130, 0.3);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--bodyTextColor);
}

*, *:before, *:after {
    box-sizing: border-box;
}

.cs-topper {
    font-size: var(--topperFontSize);
    line-height: 1.2em;
    text-transform: uppercase;
    text-align: inherit;
    letter-spacing: .1em;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.25rem;
    display: block;
}

.cs-title {
    font-size: var(--headerFontSize);
    font-weight: 900;
    line-height: 1.2em;
    text-align: inherit;
    max-width: 43.75rem;
    margin: 0 0 1rem 0;
    color: var(--headerColor);
    position: relative;
}

.cs-text {
    font-size: var(--bodyFontSize);
    line-height: 1.5em;
    text-align: inherit;
    width: 100%;
    max-width: 40.625rem;
    margin: 0;
    color: var(--bodyTextColor);
}

/* Animações Globais */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Classes de Animação */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

.animate-slide-in-up {
    animation: slideInUp 0.8s ease-out forwards;
}

/* Delays para animações em sequência */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* Botões com animações melhoradas */
.cs-button-solid {
    font-size: 1rem;
    line-height: clamp(2.875em, 5.5vw, 3.5em);
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    color: #fff;
    min-width: 9.375rem;
    padding: 0 2rem;
    background-color: var(--primary);
    border: none;
    border-radius: 0.5rem;
    display: inline-block;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

.cs-button-solid::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cs-button-solid:hover::before {
    left: 100%;
}

.cs-button-solid:hover {
    background-color: var(--primaryLight);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadowMedium);
}

.cs-button-outline {
    font-size: 1rem;
    line-height: clamp(2.875em, 5.5vw, 3.5em);
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    color: var(--primary);
    min-width: 9.375rem;
    padding: 0 2rem;
    background-color: transparent;
    border: 2px solid var(--primary);
    border-radius: 0.5rem;
    display: inline-block;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

.cs-button-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.cs-button-outline:hover::before {
    left: 0;
}

.cs-button-outline:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadowMedium);
}

/* Efeito de hover para imagens */
.image-hover-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-hover-effect:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px var(--shadowMedium);
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Animação para links clicados */
.cs-li-link.clicked {
    animation: linkClick 0.3s ease;
}

@keyframes linkClick {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

/* Animação para botões clicados */
.cs-button-solid.clicked,
.cs-button-outline.clicked {
    animation: buttonClick 0.3s ease;
}

@keyframes buttonClick {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

/* Loading screen */
body:not(.loaded) {
    overflow: hidden;
}

body:not(.loaded)::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

body:not(.loaded)::after {
    content: 'InovEQ';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    font-weight: 700;
    z-index: 10000;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

body.loaded::before,
body.loaded::after {
    display: none;
}

/* Melhorar animações existentes */
.animate-fade-in-up,
.animate-fade-in-left,
.animate-fade-in-right,
.animate-scale-in,
.animate-slide-in-up {
    opacity: 0;
}

.animate-fade-in-up.animate-in,
.animate-fade-in-left.animate-in,
.animate-fade-in-right.animate-in,
.animate-scale-in.animate-in,
.animate-slide-in-up.animate-in {
    opacity: 1;
}
                            