/* Reset Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Configurações Base */
:root {
    /* Cores - Tema Escuro */
    --bg-dark: #0f172a;
    --bg-dark-lighter: #1e293b;
    --text-dark: #f8fafc;
    --text-dark-muted: #94a3b8;
    
    /* Cores Base */
    --primary-color: #38bdf8;
    --secondary-color: #0ea5e9;
    --accent-color: #60a5fa;
    
    /* Cores de Texto */
    --text-primary: #f8fafc;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;
    --text-bright: #ffffff;
    
    /* Cores de Botões */
    --button-text: #0f172a;
    --button-hover: #ffffff;
    
    /* Cores de Fundo */
    --white: var(--bg-dark);
    --gray-50: #1e293b;
    --gray-100: #334155;
    --gray-200: #475569;
    --gray-300: #64748b;
    --gray-400: #94a3b8;
    --gray-500: #cbd5e1;
    --gray-600: #e2e8f0;
    --gray-700: #f1f5f9;
    --gray-800: #f8fafc;
    --gray-900: #0f172a;
    
    /* Sombras com Ajuste para Tema Escuro */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    
    /* Gradientes Atualizados */
    --gradient-primary: linear-gradient(135deg, #38bdf8, #0ea5e9);
    --gradient-secondary: linear-gradient(135deg, #60a5fa, #3b82f6);
    --gradient-accent: linear-gradient(135deg, #818cf8, #6366f1);
    
    /* Outras Variáveis */
    --max-width: 1200px;
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    --border-radius-2xl: 2rem;
    
    /* Cores de Títulos */
    --title-primary: #38bdf8;
    --title-secondary: #60a5fa;
    --title-tertiary: #7dd3fc;
    
    /* Gradientes para Títulos */
    --gradient-title-primary: linear-gradient(135deg, #38bdf8, #0ea5e9);
    --gradient-title-secondary: linear-gradient(135deg, #60a5fa, #3b82f6);
    --gradient-title-tertiary: linear-gradient(135deg, #7dd3fc, #38bdf8);
}

html {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-dark);
    background-color: var(--bg-dark);
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: var(--gradient-title-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 0 30px rgba(56, 189, 248, 0.3);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    background: var(--gradient-title-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    background: var(--gradient-title-tertiary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 0 0 15px rgba(147, 197, 253, 0.2);
    letter-spacing: -0.015em;
}

p {
    color: var(--text-muted);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

/* Botões */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.025em;
    font-size: 1rem;
}

.button-primary {
    background: var(--gradient-primary);
    color: var(--button-text);
    border: none;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.4);
    filter: brightness(1.1);
    color: var(--button-hover);
}

.button-secondary {
    background: var(--gradient-secondary);
    color: var(--button-text);
    border: none;
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.2);
}

.button-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(96, 165, 250, 0.3);
    filter: brightness(1.1);
    color: var(--button-hover);
}

.button-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.1);
}

.button-outline:hover {
    background: var(--primary-color);
    color: var(--button-text);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.2);
}

/* Container */
.container {
    width: min(var(--max-width), 90%);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Wrapper para todo o conteúdo */
#wrapper {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    position: relative;
}

/* Seções */
section {
    width: 100%;
    max-width: 100vw;
    position: relative;
    overflow: hidden;
}

/* Grid */
.grid {
    display: grid;
    gap: 2rem;
}

/* Flexbox */
.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Espaçamento */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

/* Cores */
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-light { color: var(--gray-500); }
.text-white { color: var(--white); }

.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-light { background-color: var(--gray-100); }
.bg-white { background-color: var(--white); }

/* Sombras */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* Bordas */
.rounded-sm { border-radius: var(--border-radius-sm); }
.rounded-md { border-radius: var(--border-radius-md); }
.rounded-lg { border-radius: var(--border-radius-lg); }
.rounded-full { border-radius: var(--border-radius-xl); }

/* Navbar */
.navbar {
    background-color: var(--white);
    padding: 1rem 1.5rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.9);
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--gray-700);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.2s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('https://img.freepik.com/free-photo/abstract-luxury-gradient-blue-background-smooth-dark-blue-with-black-vignette-studio-banner_1258-63452.jpg') center/cover no-repeat;
    color: var(--text-dark);
    padding: 6rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: var(--gradient-title-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(56, 189, 248, 0.4);
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.hero-button-primary,
.hero-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: 0.025em;
    transition: all 0.3s ease;
    cursor: pointer;
    gap: 0.5rem;
}

.hero-button-primary {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    border: none;
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.3);
}

.hero-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.5);
    filter: brightness(1.1);
    color: var(--bg-dark);
}

.hero-button-secondary {
    background: rgba(56, 189, 248, 0.1);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.1);
    backdrop-filter: blur(8px);
}

.hero-button-secondary i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.hero-button-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.3);
    border-color: transparent;
}

.hero-button-secondary:hover i {
    transform: translateX(4px);
}

/* Services Section */
.services {
    padding: 6rem 1.5rem;
    background-color: var(--gray-100);
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-dark-lighter);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    background: var(--gradient-title-tertiary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 15px rgba(147, 197, 253, 0.2);
}

.service-card p {
    color: var(--text-muted);
}

/* About Section */
.about {
    padding: 6rem 1.5rem;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    color: var(--gray-600);
    font-size: 1rem;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/9;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Contact Section */
.contact {
    padding: 6rem 1.5rem;
    background: var(--gray-100);
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
}

.contact-item:hover {
    background-color: var(--gray-100);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--text-muted);
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-dark-lighter);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    background: var(--gradient-primary);
    color: var(--button-text);
    padding: 0.875rem 2rem;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    letter-spacing: 0.025em;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.4);
    filter: brightness(1.1);
    color: var(--button-hover);
}

/* Footer */
footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 4rem 1.5rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-info h3 {
    background: var(--gradient-title-tertiary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 15px rgba(147, 197, 253, 0.2);
    margin-bottom: 1.5rem;
}

.footer-info p {
    color: var(--gray-400);
    margin-bottom: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
}

.footer-bottom p {
    color: var(--gray-400);
    font-size: 0.875rem;
}

/* Responsividade */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .navbar {
        padding: 1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-button-primary,
    .hero-button-secondary {
        width: 100%;
        padding: 0.875rem 2rem;
        font-size: 1rem;
        text-align: center;
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        margin: 0 auto;
        max-width: 500px;
    }
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Imagens Responsivas */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.testimonial-card {
    background: var(--bg-dark-lighter);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0.8;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content i {
    color: var(--primary-color);
    font-size: 2rem;
    opacity: 0.2;
    position: absolute;
    top: -10px;
    left: -10px;
}

.testimonial-content p {
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
}

.testimonial-author {
    padding-top: 1rem;
    border-top: 1px solid rgba(56, 189, 248, 0.1);
}

.testimonial-info h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.testimonial-info p {
    color: var(--text-muted);
    font-size: 1rem;
    font-style: normal;
    margin: 0;
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-content p {
        font-size: 1rem;
    }

    .testimonial-info h4 {
        font-size: 1.1rem;
    }

    .testimonial-info p {
        font-size: 0.9rem;
    }
} 