* Reset e configurações básicas */
* {
    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: #f8f9fa;
}

/* Container principal */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    border-radius: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Cabeçalho */
.header {
    text-align: center;
    padding: 40px 0;
    border-bottom: 3px solid #6ea7d8;
    margin-bottom: 40px;
}

.header h1 {
    color: #1a1a1a;
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
}

.header .subtitle {
    color: #666;
    font-size: 1.2em;
    margin-bottom: 20px;
}

.last-updated {
    background-color: #e8f5e8;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #6ea7d8;
    margin-bottom: 30px;
    font-weight: 500;
}

/* Índice */
.table-of-contents {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 40px;
    border: 1px solid #e9ecef;
}

.table-of-contents h2 {
    color: #6ea7d8;
    margin-bottom: 20px;
    font-size: 1.4em;
}

.table-of-contents ul {
    list-style: none;
}

.table-of-contents li {
    margin-bottom: 8px;
}

.table-of-contents a {
    color: #495057;
    text-decoration: none;
    padding: 5px 0;
    display: block;
    transition: color 0.3s ease;
}

.table-of-contents a:hover {
    color: #6ea7d8;
    text-decoration: underline;
}

/* Seções */
.section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
}

.section:last-child {
    border-bottom: none;
}

.section h2 {
    color: #6ea7d8;
    font-size: 1.8em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f5e8;
}

.section h3 {
    color: #495057;
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 15px;
}

.section p {
    margin-bottom: 15px;
    text-align: justify;
    font-size: 1.05em;
    line-height: 1.7;
}

/* Listas */
ul, ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Destaques */
.highlight {
    background-color: #fff3cd;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #ffc107;
    margin: 20px 0;
}

.important {
    background-color: #f8d7da;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #dc3545;
    margin: 20px 0;
}

.info {
    background-color: #d1ecf1;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #17a2b8;
    margin: 20px 0;
}

/* Tabelas */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: white;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #6ea7d8;
    color: white;
    font-weight: 600;
}

tr:hover {
    background-color: #f5f5f5;
}

/* Links */
a {
    color: #6ea7d8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Contato */
.contact-info {
    background-color: #e8f5e8;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
    border: 1px solid #c3e6cb;
}

.contact-info h3 {
    color: #6ea7d8;
    margin-bottom: 15px;
}

/* Rodapé */
.footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
    border-top: 2px solid #e9ecef;
    color: #666;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 15px;
        border-radius: 0;
    }
    
    .header h1 {
        font-size: 2em;
    }
    
    .header .subtitle {
        font-size: 1.1em;
    }
    
    .section h2 {
        font-size: 1.5em;
    }
    
    .table-of-contents {
        padding: 20px;
    }
    
    ul, ol {
        margin-left: 20px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.8em;
    }
    
    .section h2 {
        font-size: 1.4em;
    }
    
    .section p {
        font-size: 1em;
    }
}

/* Impressão */
@media print {
    body {
        background-color: white;
    }
    
    .container {
        box-shadow: none;
        margin: 0;
        padding: 0;
    }
    
    .header {
        border-bottom: 2px solid #000;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
}

