/* Reset e Configurações Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    min-height: 100vh;
}

/* Header */
.header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.last-update {
    font-size: 0.9rem;
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
}

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

.section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #3498db;
}

.section h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.section p {
    margin-bottom: 1rem;
    color: #555;
}

/* Info Box */
.info-box {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.info-box h3 {
    color: #1565c0;
    margin-bottom: 0.5rem;
}

/* Data Categories */
.data-category {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
    border: 1px solid #e0e0e0;
}

.data-category h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.data-category ul {
    list-style: none;
    padding-left: 0;
}

.data-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 1.5rem;
}

.data-category li:before {
    content: "•";
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.data-category li:last-child {
    border-bottom: none;
}

/* Purpose Grid */
.purpose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.purpose-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease;
}

.purpose-card:hover {
    transform: translateY(-5px);
}

.purpose-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.purpose-card h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* Legal Basis */
.legal-basis {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
    border-left: 4px solid #4caf50;
}

.legal-basis h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* Sharing Info */
.sharing-info {
    background: #fff3e0;
    border: 1px solid #ffe0b2;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.sharing-info h3 {
    color: #e65100;
    margin-bottom: 0.5rem;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.right-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #9c27b0;
}

.right-card h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* Security List */
.security-list {
    list-style: none;
    padding-left: 0;
}

.security-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1rem;
}

.security-list li:last-child {
    border-bottom: none;
}

/* Retention Info */
.retention-info {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.note-box {
    background: #fff8e1;
    border: 1px solid #ffecb3;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.note-box p {
    margin: 0;
    color: #5d4037;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.contact-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.encarregado {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1.5rem;
    border-left: 4px solid #ff9800;
}

.encarregado h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* Update Note */
.update-note {
    font-style: italic;
    color: #666;
    text-align: center;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem;
}

.footer-content p {
    margin-bottom: 0.5rem;
}

.footer-content p:last-child {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 0;
    }
    
    .header {
        padding: 2rem 1rem;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .purpose-grid,
    .rights-grid,
    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 1rem;
    }
    
    .data-category,
    .purpose-card,
    .right-card,
    .contact-item {
        padding: 1rem;
    }
}