/* Páginas legais e banner de cookies — Top Ideias Tech */

.legal-page .navbar-custom {
    background-color: #1b1f23;
    border-bottom: 1px solid #333;
}

@media (min-width: 768px) {
    .legal-page .navbar-custom {
        background: #1b1f23;
        padding: 10px 30px;
    }
}

.legal-page {
    padding-top: 80px;
    min-height: 100vh;
    background: #f7f8fa;
}

.legal-hero {
    background: #1b1f23;
    color: #fff;
    padding: 48px 24px 40px;
    text-align: center;
}

.legal-hero h1 {
    margin: 0 0 12px;
    font-size: 28px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.legal-hero p {
    margin: 0;
    opacity: 0.85;
    font-size: 15px;
}

.legal-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 48px 24px 64px;
    text-align: left;
}

.legal-content h2 {
    font-size: 18px;
    margin: 36px 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1b1f23;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p,
.legal-content li {
    font-size: 15px;
    line-height: 1.75;
    color: #313B45;
}

.legal-content ul,
.legal-content ol {
    padding-left: 22px;
    margin-bottom: 16px;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content a {
    color: #1b1f23;
    text-decoration: underline;
}

.legal-content a:hover {
    color: #555;
}

.legal-updated {
    font-size: 13px;
    color: #777;
    margin-bottom: 24px;
}

.legal-footer-links {
    margin-top: 8px;
    font-size: 14px;
}

.legal-footer-links a {
    color: #fff;
    text-decoration: underline;
    margin: 0 8px;
}

.legal-footer-links a:hover {
    opacity: 0.85;
}

/* Banner de cookies (LGPD) */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #1b1f23;
    color: #fff;
    padding: 18px 24px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
    transform: translateY(100%);
    transition: transform 0.35s ease;
}

.cookie-consent.is-visible {
    transform: translateY(0);
}

.cookie-consent__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
}

.cookie-consent__text {
    flex: 1 1 280px;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-consent__text a {
    color: #fff;
    text-decoration: underline;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-consent__btn {
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 20px;
    border-radius: 2px;
    transition: background 0.2s, color 0.2s;
}

.cookie-consent__btn--accept {
    background: #fff;
    color: #1b1f23;
}

.cookie-consent__btn--accept:hover {
    background: #e8e8e8;
}

.cookie-consent__btn--reject {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.cookie-consent__btn--reject:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 600px) {
    .cookie-consent__actions {
        width: 100%;
    }

    .cookie-consent__btn {
        flex: 1;
        text-align: center;
    }
}
