/* ============================================
   LGPD Pages Styles (Privacy, Cookies, Terms)
   ============================================ */
.lgpd-page {
    padding-top: 8rem;
    padding-bottom: 4rem;
    min-height: calc(100vh - 200px);
}

.lgpd-page h1 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.lgpd-updated {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--light-color);
}

.lgpd-page section {
    padding: 0;
    margin-bottom: 2.5rem;
}

.lgpd-page h2 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.lgpd-page h3 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.lgpd-page p {
    color: var(--dark-color);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.lgpd-page ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.lgpd-page ul li {
    color: var(--dark-color);
    line-height: 1.8;
    margin-bottom: 0.4rem;
}

.lgpd-page a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lgpd-page a:hover {
    color: var(--secondary-color);
}

.lgpd-page a:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Cookie Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    font-size: 0.9rem;
}

.cookie-table th,
.cookie-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border: 1px solid #e2e8f0;
    color: var(--dark-color);
}

.cookie-table th {
    background: var(--primary-color);
    color: var(--white-color);
    font-family: var(--font-primary);
    font-weight: 600;
}

.cookie-table tr:nth-child(even) {
    background: #f8fafc;
}

/* Reopen consent button */
.btn-reopen-consent {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-reopen-consent:hover {
    background: var(--primary-dark);
}

.btn-reopen-consent:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Footer legal links */
.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--secondary-color);
}

.footer-legal-links a:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .lgpd-page h1 {
        font-size: 1.75rem;
    }
    
    .lgpd-page h2 {
        font-size: 1.25rem;
    }

    .cookie-table {
        font-size: 0.8rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 0.5rem;
    }

    .footer-legal-links {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
}
