/* Reset e Configurações Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores Principais - Paleta Azul Escuro */
    --primary-color: #0c1e3d;
    --primary-dark: #060f1f;
    --primary-light: #1e3a5f;
    --secondary-color: #1e40af;
    --secondary-dark: #1e3a8a;
    --secondary-light: #3b82f6;
    --accent-color: #60a5fa;
    --accent-light: #93c5fd;
    --gold: #f59e0b;
    --gold-light: #fbbf24;
    
    /* Cores Neutras */
    --dark: #0f172a;
    --dark-light: #334155;
    --gray: #64748b;
    --light-gray: #e2e8f0;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    
    /* Gradientes Modernos - Azul Escuro */
    --gradient-primary: linear-gradient(135deg, #0c1e3d 0%, #1e3a5f 100%);
    --gradient-secondary: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    --gradient-hero: linear-gradient(135deg, rgba(12, 30, 61, 0.98) 0%, rgba(30, 58, 95, 0.95) 100%);
    --gradient-footer: linear-gradient(135deg, #060f1f 0%, #0c1e3d 100%);
    --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-blue: 0 4px 14px 0 rgba(30, 64, 175, 0.4);
    
    /* Transições */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
    width: 100%;
}

body {
    overflow-x: hidden;
}

/* Header / Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    overflow: visible;
    width: 100%;
}

.navbar {
    padding: 1rem 0;
    overflow: visible;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: visible;
    min-height: 50px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo i {
    font-size: 1.75rem;
    color: var(--accent-color);
    filter: drop-shadow(0 2px 4px rgba(96, 165, 250, 0.4));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: nowrap;
    overflow: visible;
    margin: 0;
    padding: 0;
    height: auto;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-light);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-block;
}

.nav-link:hover {
    color: var(--accent-color);
    background: var(--bg-light);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-primary);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.15) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    padding-top: 80px;
    overflow: hidden;
    width: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 1s ease;
    letter-spacing: -1px;
}

.hero-title .highlight {
    display: block;
    color: var(--gold);
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.92;
    animation: fadeInUp 1s ease 0.2s both;
    font-weight: 400;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.5);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.7);
    transform: translateY(-3px);
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Section Styling */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--gradient-accent);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.5);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
}

/* About Section */
.about {
    background: var(--bg-light);
}

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

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--dark-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--dark);
    font-weight: 500;
}

.feature i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

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

.about-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
}

.image-placeholder i {
    font-size: 8rem;
    color: var(--white);
    opacity: 0.3;
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
    border-color: var(--accent-color);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.4);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.5);
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.service-card > p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-list {
    list-style: none;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--dark-light);
}

.service-list i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

/* Portfolio Section */
.portfolio {
    background: var(--bg-light);
}

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

.portfolio-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--light-gray);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: transparent;
}

.portfolio-image {
    height: 250px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-image i {
    font-size: 5rem;
    color: var(--white);
    opacity: 0.4;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.portfolio-content p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.portfolio-tag {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-items {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 1.5rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.6);
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
}

/* Contact Form */
.contact-form {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.2);
    transform: translateY(-2px);
}

.contact-form .btn {
    grid-column: 1 / -1;
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--gradient-footer);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer .logo {
    color: var(--white);
}

.footer .logo i {
    color: var(--secondary-color);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), var(--accent-light), transparent);
    box-shadow: 0 2px 10px rgba(96, 165, 250, 0.6);
}

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

.footer .logo {
    color: var(--white);
}

.footer .logo i {
    color: var(--secondary-color);
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-family: inherit;
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-accent);
    border: none;
    border-radius: 8px;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.6);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0.5rem 0;
}

.footer-bottom i {
    color: #ef4444;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        gap: 1rem;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .hero {
        min-height: 90vh;
        padding-top: 80px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        letter-spacing: -0.5px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 15px;
        line-height: 1.7;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        padding: 0 20px;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
        padding: 0 10px;
    }
    
    .stat h3 {
        font-size: 2rem;
    }
    
    .stat p {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .section-subtitle {
        font-size: 1.05rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo i {
        font-size: 1.5rem;
    }
    
    .hero {
        min-height: 85vh;
    }
    
    .hero-title {
        font-size: 2rem;
        padding: 0 10px;
        letter-spacing: -0.5px;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
        padding: 0 15px;
        line-height: 1.6;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 10px;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
        font-size: 0.95rem;
        padding: 0.875rem 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat h3 {
        font-size: 2.5rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 1.25rem;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
    }
    
    .contact-item {
        flex-direction: row;
        gap: 1rem;
    }
    
    .contact-item i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .social-links a {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
}
