/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #7c3aed;
    --accent-color: #059669;
    --bg-dark: #ffffff;
    --bg-darker: #f8fafc;
    --bg-light: #f1f5f9;
    --text-light: #0f172a;
    --text-gray: #475569;
    --text-muted: #64748b;
    --gradient-primary: linear-gradient(135deg, #2563eb, #7c3aed);
    --gradient-secondary: linear-gradient(135deg, #7c3aed, #059669);
    --gradient-accent: linear-gradient(135deg, #059669, #2563eb);
    --border-color: rgba(71, 85, 105, 0.2);
    --card-bg: rgba(255, 255, 255, 0.8);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background sutil */
.stars, .twinkling {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: -1;
}

.stars {
    background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(5, 150, 105, 0.05) 0%, transparent 50%);
}

.twinkling {
    background: transparent;
}

/* Indicador de progresso de scroll */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 1001;
    transition: width 0.1s ease;
}

/* Navegação */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    position: relative;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.logo-glow {
    display: none;
}

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

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: var(--text-light);
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.15);
}

/* Seção Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 2rem;
    gap: 2rem;
}

.hero-text {
    z-index: 2;
}


.main-title {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    text-align: center;
}

.title-line {
    display: block;
    color: var(--text-light);
}

.title-line.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    width: fit-content;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
}

.status-text {
    font-weight: 500;
    color: var(--accent-color);
    font-size: 0.9rem;
}

/* Visual Clean com Mascote como Destaque Principal */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    min-height: 300px;
    margin-bottom: 1rem;
}

.mascot-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: 250px;
    max-height: 250px;
}

.mascot-image {
    width: 100%;
    height: 100%;
    max-width: 220px;
    max-height: 220px;
    object-fit: contain;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    position: relative;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
    animation: mascotEntrance 1.2s ease-out;
}

@keyframes mascotEntrance {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1) rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.mascot-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    max-width: 250px;
    max-height: 250px;
    background: var(--gradient-primary);
    border-radius: 20px;
    opacity: 0.15;
    filter: blur(20px);
    z-index: 1;
    animation: mascotGlow 4s ease-in-out infinite alternate;
}

@keyframes mascotGlow {
    0% { 
        opacity: 0.1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% { 
        opacity: 0.2;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.mascot-image:hover {
    transform: scale(1.08) rotate(2deg);
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.3));
}

.mascot-container:hover .mascot-glow {
    opacity: 0.25;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Seção de Progresso */
.progress-section {
    max-width: 600px;
    width: 100%;
    text-align: center;
    margin-top: 2rem;
}

.progress-container h3 {
    font-family: 'Inter', sans-serif;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.progress-bar {
    position: relative;
    width: 100%;
    height: 6px;
    background: var(--bg-light);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    width: 75%;
    position: relative;
}

.progress-text {
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Seções gerais */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Animações de entrada */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-light);
}

/* Seção About */
.about {
    padding: 6rem 0;
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.about-card:hover::before {
    opacity: 0.05;
}

.about-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
}

.about-card:active {
    transform: translateY(-4px) scale(1.01);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.about-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.about-card h3 {
    font-family: 'Inter', sans-serif;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.about-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Seção Services */
.services {
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-item:hover::before {
    opacity: 0.05;
}

.service-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2);
}

.service-item:active {
    transform: translateY(-4px) scale(1.01);
}

.service-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
    transition: all 0.3s ease;
}

.service-item:hover .icon-bg {
    opacity: 0.2;
    transform: scale(1.1);
}

.service-item h3 {
    font-family: 'Inter', sans-serif;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.service-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Seção Contact */
.contact {
    padding: 6rem 0;
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.contact-item:hover {
    border-color: var(--accent-color);
    box-shadow: 0 5px 20px rgba(5, 150, 105, 0.15);
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: 50%;
    opacity: 0.8;
}

.contact-item h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-gray);
}

/* Formulário */
.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    position: relative;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
    transform: translateY(-2px);
}

.form-group input:valid,
.form-group textarea:valid {
    border-color: var(--accent-color);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-gray);
    transition: all 0.3s ease;
    pointer-events: none;
    background: var(--bg-dark);
    padding: 0 0.5rem;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.875rem;
    color: var(--accent-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-gray);
}

.submit-btn {
    position: relative;
    background: var(--gradient-primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    overflow: hidden;
}

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

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

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-btn.loading {
    pointer-events: none;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.btn-glow {
    display: none;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo .logo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

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

/* Responsividade */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        height: 250px;
        min-height: 250px;
        margin-bottom: 1rem;
    }
    
    .mascot-container {
        max-width: 200px;
        max-height: 200px;
    }
    
    .mascot-image {
        max-width: 180px;
        max-height: 180px;
    }
    
    .mascot-glow {
        max-width: 200px;
        max-height: 200px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-visual {
        height: 200px;
        min-height: 200px;
        margin-bottom: 1rem;
    }
    
    .mascot-container {
        max-width: 150px;
        max-height: 150px;
    }
    
    .mascot-image {
        max-width: 130px;
        max-height: 130px;
    }
    
    .mascot-glow {
        max-width: 150px;
        max-height: 150px;
    }
    
    .about-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

