/* Professional IT Company Design System */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Corporate IT Brand Colors */
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(0, 0%, 0%);

    /* Corporate Black Primary */
    --primary: hsl(0, 0%, 0%);
    --primary-foreground: hsl(0, 0%, 100%);
    --primary-light: hsl(0, 0%, 20%);
    --primary-dark: hsl(0, 0%, 0%);

    /* Accent Yellow (#deda09) */
    --accent-yellow: hsl(55, 96%, 45%);
    --accent-yellow-light: hsl(55, 96%, 55%);
    --accent-yellow-dark: hsl(55, 96%, 35%);
    --accent-yellow-foreground: hsl(0, 0%, 0%);

    /* Professional Neutrals */
    --secondary: hsl(210, 5%, 96%);
    --secondary-foreground: hsl(0, 0%, 0%);
    --muted: hsl(210, 5%, 92%);
    --muted-foreground: hsl(210, 6%, 46%);

    /* UI Elements */
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(0, 0%, 0%);
    --border: hsl(210, 5%, 89%);
    --input: hsl(210, 5%, 96%);
    --ring: hsl(55, 96%, 45%);

    /* Design System */
    --radius: 30px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-light));
    --gradient-accent: linear-gradient(135deg, var(--accent-yellow), var(--accent-yellow-light));
    --gradient-hero: linear-gradient(135deg, var(--primary), var(--primary-dark));

    /* Animations */
    --transition-fast: all 0.15s ease-out;
    --transition-base: all 0.25s ease-out;
    --transition-slow: all 0.35s ease-out;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease-out;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid var(--border);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    height: 4rem;
    align-items: center;
    justify-content: space-between;
}

.desktop-nav {
    display: none;
    align-items: center;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
}

.logo-link {
    margin-right: 1.5rem;
    display: flex;
    align-items: center;
}

.logo {
    width: 100%;
    max-width: 220px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.nav-link {
    text-decoration: none;
    color: var(--muted-foreground);
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-yellow);
    font-weight: 600;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.header-actions {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .header-actions {
        justify-content: flex-end;
    }
}

.mobile-logo {
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .mobile-logo {
        display: none;
    }
}

.cta-button {
    background-color: var(--accent-yellow);
    color: var(--accent-yellow-foreground);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-base);
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--accent-yellow-dark);
}

.desktop-cta {
    display: none;
}

@media (min-width: 768px) {
    .desktop-cta {
        display: inline-block;
    }
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    border-top: 1px solid var(--border);
    padding: 1rem 0;
}

.mobile-menu.active {
    display: block;
}

@media (min-width: 768px) {
    .mobile-menu {
        display: none !important;
    }
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-nav-link {
    display: block;
    padding: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: var(--transition-base);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--accent-yellow);
    font-weight: 600;
}

.mobile-cta {
    margin-top: 1rem;
}

/* Page Management */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    color: var(--primary-foreground);
    padding: 5rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }
}

/* Button Styles */
.btn-primary {
    background-color: var(--accent-yellow);
    color: var(--accent-yellow-foreground);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-base);
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: var(--accent-yellow-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-foreground);
    border: 2px solid var(--primary-foreground);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-base);
    cursor: pointer;
    font-size: 1rem;
}

.btn-secondary:hover {
    background-color: var(--primary-foreground);
    color: var(--primary);
}

/* Statistics Section */
.stats-section {
    padding: 4rem 0;
    background-color: var(--secondary);
}

.stats-grid {
    display: flex;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    gap: 2rem;
}

@media (max-width: 640px) {
    .stats-grid {
        flex-direction: column;
    }
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(221, 218, 9, 0.1);
    border-radius: 50%;
    color: var(--accent-yellow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    font-weight: 500;
}

/* Services Section */
.services-preview {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(221, 218, 9, 0.1);
    border-radius: 50%;
    color: var(--accent-yellow);
    transition: var(--transition-base);
}

.service-card:hover .service-icon {
    background-color: rgba(221, 218, 9, 0.2);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
    transition: var(--transition-base);
}

.service-card:hover .service-title {
    color: var(--primary);
}

.service-description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

.section-cta {
    text-align: center;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-hero);
    color: var(--primary-foreground);
    padding: 5rem 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .cta-actions {
        flex-direction: row;
        justify-content: center;
    }
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    display: flex;
    height: 3.5rem;
    width: 3.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--accent-yellow);
    color: var(--accent-yellow-foreground);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    text-decoration: none;
    animation: pulse-accent 2s infinite;
}

.whatsapp-button:hover {
    background-color: var(--accent-yellow-dark);
    transform: scale(1.1);
}

@keyframes pulse-accent {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(221, 218, 9, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(221, 218, 9, 0);
    }
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .stats-section,
    .services-preview,
    .cta-section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .cta-title {
        font-size: 1.875rem;
    }
}

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 12px;
    /* Largura da barra de rolagem */
}

/* Estilizando a parte interna da barra de rolagem */
::-webkit-scrollbar-track {
    background: #303030;
    /* Cor do fundo da barra de rolagem */
}

/* Estilizando o polegar da barra de rolagem */
::-webkit-scrollbar-thumb {
    background: linear-gradient(to top, #D4D435, #b8ff11);
    /* Cor do polegar da barra de rolagem */
    border-radius: 5px;
    /* Bordas arredondadas no polegar */
}

/* Cor do polegar ao passar o mouse */
::-webkit-scrollbar-thumb:hover {
    background: #e6e649;
    /* Cor do polegar ao passar o mouse */
}