/* Thermus Engineering - Professional HVAC Solutions */

/* ===== COLOR VARIABLES - NEUTRAL THERMUS PALETTE ===== */
:root {
    /* === CORES PRIMÁRIAS (CINZA NEUTRO) === */
    --primary: #404040;          /* Cinza Escuro Neutro (era #4a5568) */
    --primary-light: #737373;    /* Cinza de Texto Neutro (era #718096) */
    --primary-dark: #262626;     /* Cinza Muito Escuro Neutro (era #2d3748) */

    /* === COR DE DESTAQUE (ACCENT) === */
    /* Seu comentário dizia "Red Accent", mas a cor era cinza. */
    /* Mantive um cinza, mas sugiro usar uma cor vibrante aqui. */
    /* Ex: --accent: #e53e3e; (Vermelho) ou --accent: #3b82f6; (Azul) */
    --accent: #7a7a7a;

    /* === ESCALA DE CINZAS NEUTROS === */
    /* Mais claros, "puxados para o branco" */
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;      /* Para bordas claras */
    --neutral-300: #d4d4d4;
    
    /* Tons médios */
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;      /* Ideal para texto principal */
    
    /* Tons escuros */
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;      /* Quase preto */
    --neutral-900: #171717;      /* Preto suave */

    /* === BÁSICOS === */
    --white: #ffffff;
    --black: #000000;
}

/* ===== GLOBAL ANIMATIONS ===== */
@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.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ===== HERO SECTION ===== */
.hero-gradient {
    background: linear-gradient(135deg, var(--neutral-800) 0%, var(--neutral-700) 50%, var(--neutral-600) 100%);
    position: relative;
    overflow: hidden;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: float 6s ease-in-out infinite;
}

/* ===== SECTION BACKGROUNDS ===== */
.section-bg {
    background: linear-gradient(to bottom, var(--neutral-50), var(--white));
}

.section-bg-alt {
    background: linear-gradient(135deg, var(--neutral-100) 0%, var(--white) 100%);
}

/* ===== CARD EFFECTS ===== */
.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.card-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary)/3%, var(--neutral-100)/5%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(74, 85, 104, 0.15);
    border-color: var(--primary);
}

.card-hover:hover::before {
    opacity: 1;
}

/* ===== TEXT EFFECTS ===== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--neutral-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.text-accent {
    color: var(--accent);
}

.text-muted-foreground {
    color: var(--neutral-500);
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: var(--primary);
    color: var(--white);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::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 ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(74, 85, 104, 0.3);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(45, 55, 72, 0.3);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
    transition: all 0.3s ease;
}

.btn-accent:hover {
    filter: brightness(0.8);
    transform: translateY(-2px);
}

/* ===== LOGO ANIMATION ===== */
.logo-container {
    position: relative;
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-waves {
    animation: float 3s ease-in-out infinite;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    animation: none;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    display: none;
    background: var(--white);
    border-top: 1px solid var(--neutral-200);
    animation: fadeInUp 0.3s ease;
}

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

.mobile-menu-open .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 40;
    animation: fadeInUp 0.3s ease;
}

/* ===== NAVIGATION ===== */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ===== SECTION ANIMATIONS ===== */
.animate-fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease forwards;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease forwards;
}

/* ===== FORM STYLING ===== */
.form-input {
    border: 1px solid var(--neutral-300);
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 85, 104, 0.1);
    outline: none;
}

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 768px) {
    .hero-gradient::before {
        animation: float 8s ease-in-out infinite;
    }
    
    .card-hover:hover {
        transform: translateY(-6px);
    }
}

/* ===== LOADING ANIMATIONS ===== */
.loading-shimmer {
    background: linear-gradient(90deg, var(--neutral-200) 25%, var(--neutral-100) 50%, var(--neutral-200) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.animate-shimmer {
    animation: shimmer 3s infinite;
}

/* ===== SCROLL ANIMATIONS ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--neutral-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}


