/* Reset e Configurações Gerais */
:root {
    --primary-color: #4A90E2;
    --secondary-color: #50C878;
    --dark-color: #2C3E50;
    --light-color: #F8F9FA;
    --text-color: #333333;
    --border-radius: 10px;
}

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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.brand-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    /* transform: translateY(-2px); */ /* Removido: efeito de subir botão no hover */
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    /* transform: translateY(-2px); */ /* Removido: efeito de subir botão no hover */
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 100px 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    scroll-margin-top: 70px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #4A90E2 0%, #50C878 50%, #4A90E2 100%);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.7) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 400;
    color: #555;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 90%;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary-hero:hover {
    /* transform: scale(1.03) translateY(-2px); */ /* Removido: efeito de subir/escalar botão no hover */
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}

.btn-primary-hero:hover::before {
    width: 300px;
    height: 300px;
}

.btn-secondary-hero {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(74, 144, 226, 0.1);
}

.btn-secondary-hero:hover {
    background: var(--primary-color);
    color: white;
    /* transform: scale(1.03) translateY(-2px); */ /* Removido: efeito de subir/escalar botão no hover */
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.3);
}

.hero-visual {
    animation: fadeInRight 1s ease;
    position: relative;
}

.hero-mockup {
    position: relative;
    padding: 2rem;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: floatImage 6s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

/* Sobre Section */
.sobre-section {
    scroll-margin-top: 70px;
}

.sobre-image {
    animation: float 3s ease-in-out infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Features Section */
.features-section {
    background: white;
    scroll-margin-top: 70px;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e0e0e0;
}

.feature-card:hover {
    /* transform: translateY(-10px); */ /* Removido: efeito de subir card no hover */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(80, 200, 120, 0.1));
    border-radius: 50%;
}

.feature-card h4 {
    color: var(--dark-color);
    margin: 1rem 0;
    font-weight: 600;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    scroll-margin-top: 70px;
}

.stat-item h2 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Contato Section */
.contato-section {
    scroll-margin-top: 70px;
}

.contact-info {
    padding: 2rem;
    transition: transform 0.3s ease;
}

.contact-info:hover {
    /* transform: translateY(-5px); */ /* Removido: efeito de subir elemento no hover */
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 80px 0;
}

/* Footer */
.footer {
    background: var(--dark-color);
}

.footer h5 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0 60px;
        min-height: auto;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-primary-hero,
    .btn-secondary-hero {
        width: 100%;
        padding: 0.875rem 2rem;
    }
    
    .hero-visual {
        margin-top: 2rem;
    }
    
    .hero-mockup {
        padding: 1rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .stat-item h2 {
        font-size: 2rem;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Loading Spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

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

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