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

:root {
    --primary-color: #6C63FF;
    --primary-dark: #5A52E5;
    --secondary-color: #FF6B6B;
    --accent-color: #8B7CF6;
    --text-primary: #2C3E50;
    --text-secondary: #7F8C8D;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-tertiary: #E9ECEF;
    --border-color: #DEE2E6;
    --warning-bg: #FFF3CD;
    --warning-border: #FFC107;
    --success-bg: #D4EDDA;
    --success-border: #28A745;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--secondary-color) 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.subtitle {
    font-size: 1.2em;
    margin-bottom: 15px;
    opacity: 0.95;
}

.last-updated {
    font-size: 0.9em;
    opacity: 0.9;
    margin-top: 10px;
}

#data-atualizacao {
    font-weight: 600;
}

/* Main Content */
main {
    padding: 40px 30px;
}

section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

section:last-of-type {
    border-bottom: none;
}

section h2 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
    font-weight: 600;
}

section h3 {
    color: var(--text-primary);
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

section p {
    margin-bottom: 15px;
    text-align: justify;
    line-height: 1.8;
}

section ul {
    margin-left: 25px;
    margin-bottom: 20px;
}

section li {
    margin-bottom: 12px;
    line-height: 1.7;
}

section li strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Intro Section */
.intro {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    margin-bottom: 30px;
}

.intro p {
    font-size: 1.1em;
    margin-bottom: 0;
}

/* Warning Boxes */
.warning {
    background: var(--warning-bg);
    border-left: 4px solid var(--warning-border);
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin: 20px 0;
}

.warning strong {
    color: #856404;
}

/* Contact Info */
.contact-info {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 20px 0;
    border-left: 4px solid var(--primary-color);
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info strong {
    color: var(--primary-color);
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--bg-secondary);
    padding: 30px;
    text-align: center;
    border-top: 2px solid var(--border-color);
}

footer p {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.footer-links {
    margin-top: 15px;
}

.footer-links a {
    margin: 0 5px;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    header {
        padding: 30px 20px;
    }

    header h1 {
        font-size: 2em;
    }

    .subtitle {
        font-size: 1em;
    }

    main {
        padding: 30px 20px;
    }

    section h2 {
        font-size: 1.5em;
    }

    section h3 {
        font-size: 1.2em;
    }

    .intro {
        padding: 20px;
    }

    .contact-info {
        padding: 15px;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .footer-links a {
        margin: 0;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.7em;
    }

    section h2 {
        font-size: 1.3em;
    }

    section h3 {
        font-size: 1.1em;
    }

    section ul {
        margin-left: 20px;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
        padding: 0;
    }

    .container {
        box-shadow: none;
    }

    header {
        background: var(--primary-color) !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    a {
        color: var(--text-primary);
        text-decoration: underline;
    }

    .footer-links {
        display: none;
    }
}

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

/* Selection */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}

