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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: #1e3a8a;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s;
}

.main-nav a:hover {
    opacity: 0.8;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Content */
.content-section {
    background: white;
    margin: 2rem auto;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.content-section h1 {
    color: #1e3a8a;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.content-section h2 {
    color: #1e3a8a;
    font-size: 2rem;
    margin: 2rem 0 1rem;
    padding-top: 1rem;
    border-top: 2px solid #e5e7eb;
}

.content-section h3 {
    color: #2563eb;
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
}

.content-section h4 {
    color: #3b82f6;
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem;
}

.content-section p {
    margin-bottom: 1rem;
    text-align: justify;
}

.content-section ul, .content-section ol {
    margin: 1rem 0 1rem 2rem;
}

.content-section li {
    margin-bottom: 0.5rem;
}

.content-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

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

.content-section th {
    background: #1e3a8a;
    color: white;
}

.content-section tr:nth-child(even) {
    background: #f9fafb;
}

.info-box {
    background: #eff6ff;
    border-left: 4px solid #2563eb;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.info-box h3 {
    margin-top: 0;
}

.warning {
    background: #fef3c7;
    border-left-color: #f59e0b;
}

/* Footer */
.site-footer {
    background: #1e3a8a;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1f2937;
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.cookie-btn.accept {
    background: #10b981;
    color: white;
}

.cookie-btn.accept:hover {
    background: #059669;
}

.cookie-btn.necessary {
    background: #6b7280;
    color: white;
}

.cookie-btn.necessary:hover {
    background: #4b5563;
}

.cookie-link {
    color: white;
    text-decoration: underline;
    padding: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1e3a8a;
        flex-direction: column;
        padding: 1rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .content-section {
        padding: 1.5rem;
    }

    .content-section h1 {
        font-size: 2rem;
    }
}