* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

body {
    min-height: 100vh;
    font-family: 'Poppins', 'Trebuchet MS', Arial, sans-serif;
    background: #f5f5f5;
    color: #1f2937;
}

#topo {
    width: 100%;
    height: 50px;
    position: fixed;
    top: 0;
    left: 0;
    background: linear-gradient(to right, #c0392b 47%, #7a4951 73%, #114455 87%);
    display: flex;
    align-items: center;
    z-index: 100;
}

#textotop {
    padding-left: 20px;
    font-size: clamp(22px, 5vw, 30px);
    color: #fff;
    font-weight: 500;
}

.theme-toggle-btn {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    transition: all 0.4s ease;
    padding: 8px;
}

.theme-toggle-btn:hover {
    background: #114455;
    transform: translateY(-50%) rotate(180deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.theme-icon {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
    object-fit: contain;
}

.politica-container {
    max-width: 720px;
    margin: 100px auto 40px;
    padding: 40px 32px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
    line-height: 1.7;
}

.politica-container h1 {
    font-size: 28px;
    color: #c0392b;
    margin-bottom: 12px;
    font-weight: 600;
}

.politica-container h2 {
    font-size: 18px;
    color: #114455;
    margin-top: 28px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f3f4f6;
    font-weight: 600;
}

.politica-container p,
.politica-container li {
    font-size: 14px;
    color: #374151;
}

.politica-container ul {
    padding-left: 20px;
    margin: 12px 0;
}

.politica-container li {
    margin-bottom: 8px;
}

.voltar-link {
    display: inline-block;
    margin-bottom: 24px;
    color: #c0392b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.voltar-link:hover {
    color: #114455;
    text-decoration: underline;
    transform: translateX(-3px);
}

[data-theme="dark"] body {
    background: #121212;
    color: #e8e8e8;
}

[data-theme="dark"] .politica-container {
    background: #1e1e1e;
    border-color: #333;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .politica-container h1 {
    color: #e8e8e8;
}

[data-theme="dark"] .politica-container h2 {
    color: #3498db;
    border-bottom-color: #333;
}

[data-theme="dark"] .politica-container p,
[data-theme="dark"] .politica-container li {
    color: #d0d0d0;
}

[data-theme="dark"] .voltar-link {
    color: #e8e8e8;
}

[data-theme="dark"] .voltar-link:hover {
    color: #3498db;
}

[data-theme="dark"] .theme-toggle-btn:hover {
    background: #3498db;
}