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

html {
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

/* Header */
header {
    border-bottom: 1px solid #e0e0e0;
    padding: 1.5rem 0;
}

.logo {
    height: 60px;
    width: auto;
    display: block;
}

@media (min-width: 640px) {
    .logo {
        height: 80px;
    }
}

/* Main */
main {
    padding: 3rem 0;
}

/* Hero Section */
.hero {
    margin-bottom: 4rem;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #17224E;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
}

.subtitle {
    font-size: 1.125rem;
    color: #555;
    max-width: 800px;
    margin-bottom: 1rem;
}

/* Services Grid */
.services {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .services {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

/* Service Card */
.service-card {
    border-left: 4px solid #17224E;
    padding-left: 1.5rem;
}

.service-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #17224E;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .service-card h2 {
        font-size: 1.875rem;
    }
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* Footer */
footer {
    border-top: 1px solid #e0e0e0;
    background-color: #f9f9f9;
    padding: 2rem 0;
    margin-top: 4rem;
}

footer p {
    text-align: center;
    color: #999;
    font-size: 0.875rem;
}

/* Responsive Typography */
@media (max-width: 640px) {
    html {
        font-size: 15px;
    }
    
    main {
        padding: 2rem 0;
    }
    
    .hero {
        margin-bottom: 2.5rem;
    }
    
    .services {
        gap: 1.5rem;
    }
    
    .service-card {
        padding-left: 1rem;
    }
}

@media (max-width: 380px) {
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .service-card h2 {
        font-size: 1.25rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
}
