/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #F8F8F8; /* Very light gray for a clean base */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Color Variables - Refined for Clean, Modern, Elegant Look */
:root {
    --primary-coral: rgb(255, 120, 100); /* Slightly more vibrant coral */
    --primary-aqua: rgb(0, 200, 180); /* Balanced aqua green, bright but not overwhelming */
    --light-background: #FFFFFF; /* Pure white for sections */
    --text-dark: #333333;
    --text-medium: #666666;
    --text-light: #999999;
    --border-light: #EEEEEE;
    --shadow-light: rgba(0, 0, 0, 0.08);
}

/* Header Styles */
.header {
    background-color: var(--light-background);
    box-shadow: 0 2px 15px var(--shadow-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo-img {
    height: 140px;
    width: auto;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    transition: color 0.3s ease, background-color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-aqua);
    background-color: rgba(0, 200, 180, 0.1); /* Light tint of aqua */
}

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

.section:first-of-type {
    margin-top: 180px; /* Adjusted to account for larger fixed header */
}

/* Sobre Section */
.sobre-section {
    background-color: var(--light-background);
    text-align: center;
}

.main-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-aqua); /* Aqua green */
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.description {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    background-color: var(--light-background);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-light); /* Subtle border */
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-light);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-coral);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--light-background);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-medium);
    font-size: 1rem;
}

/* Serviços Section */
.servicos-section {
    background-color: #F8F8F8; /* Light gray for subtle contrast */
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-aqua);
    text-align: center;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.25rem;
    color: var(--text-medium);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.service-card {
    background-color: var(--light-background);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-coral);
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px var(--shadow-light);
}

.service-card:hover {
    transform: translateX(5px);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

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

/* Work Method Section */
.work-method {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-light);
}

.work-method-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-aqua); /* Aqua green */
    text-align: center;
    margin-bottom: 3rem;
}

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

.work-step {
    background-color: var(--light-background);
    padding: 2rem;
    border-radius: 12px;
    position: relative;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 10px var(--shadow-light);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 2rem;
    background-color: var(--primary-aqua);
    color: var(--light-background);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.work-step h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.work-step p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Contato Section */
.contato-section {
    background-color: var(--light-background);
    text-align: center;
}

.launch-description {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-coral);
    margin-bottom: 1rem;
}

.contact-info {
    margin-top: 2rem;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #25d366; /* Standard WhatsApp green */
    color: var(--light-background);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-button:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-button i {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--light-background);
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        gap: 1rem;
    }

    .main-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .work-method-title {
        font-size: 2rem;
    }

    .features-grid,
    .services-grid,
    .work-steps {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .main-title {
        font-size: 1.75rem;
    }

    .description,
    .section-description {
        font-size: 1rem;
    }

    .whatsapp-button {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Accessibility Improvements */
.nav-link:focus,
.whatsapp-button:focus {
    outline: 2px solid var(--primary-aqua);
    outline-offset: 2px;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Loading animation for images */
.logo-img {
    transition: opacity 0.3s ease;
}

.logo-img:hover {
    opacity: 0.8;
}

/* Additional mobile improvements */
@media (max-width: 640px) {
    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .feature-card,
    .service-card,
    .work-step {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Print styles */
@media print {
    .header,
    .whatsapp-button {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
        padding: 1rem 0;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .feature-card,
    .service-card,
    .work-step {
        border: 2px solid var(--text-dark);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
