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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Container principal */
.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    min-height: 100vh;
}

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

header h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.subtitle {
    font-size: 1.1rem;
    color: white;
    font-weight: 300;
    text-align: center;
}

/* Main content */
main {
    padding: 2rem;
}

/* Seções */
section {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.last-updated {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    margin-bottom: 2.5rem;
}

.last-updated p {
    margin: 0;
    color: #666;
}

/* Títulos */
h2 {
    color: #667eea;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    font-weight: 600;
}

/* Parágrafos */
p {
    margin-bottom: 1rem;
    text-align: justify;
}

/* Listas */
ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Links */
a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
    color: #5a6fd8;
}

/* Footer */
footer {
    background-color: #f8f9fa;
    padding: 2rem;
    text-align: center;
    border-top: 1px solid #e0e0e0;
    color: #666;
    font-size: 0.9rem;
}

footer p {
    margin-bottom: 0.5rem;
    text-align: center;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        margin: 0;
        box-shadow: none;
    }
    
    header {
        padding: 1.5rem;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    main {
        padding: 1.5rem;
    }
    
    h2 {
        font-size: 1.2rem;
    }
    
    ul {
        margin-left: 1rem;
    }
    
    footer {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1rem;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    main {
        padding: 1rem;
    }
    
    section {
        margin-bottom: 2rem;
    }
    
    h2 {
        font-size: 1.1rem;
    }
}

/* Melhorias de acessibilidade */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Suporte para modo escuro */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    .container {
        background-color: #2d2d2d;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    }
    
    section {
        border-bottom-color: #404040;
    }
    
    h2 {
        color: #8fa4f3;
    }
    
    h3 {
        color: #e0e0e0;
    }
    
    p {
        color: #d0d0d0;
    }
    
    li {
        color: #d0d0d0;
    }
    
    a {
        color: #8fa4f3;
    }
    
    a:hover {
        color: #a5b9f5;
    }
    
    .last-updated {
        background-color: #3a3a3a;
        border-left-color: #8fa4f3;
    }
    
    .last-updated p {
        color: #d0d0d0;
    }
    
    footer {
        background-color: #3a3a3a;
        border-top-color: #404040;
        color: #d0d0d0;
    }
    
    strong {
        color: #e0e0e0;
    }
}

/* Destaque para informações importantes */
strong {
    color: #333;
    font-weight: 600;
}

/* Melhorias para modo escuro no strong */
@media (prefers-color-scheme: dark) {
    strong {
        color: #e0e0e0;
    }
}
