/* ============================================================
   WILLMOBILIÁRIA — ESTILOS LEGAIS E COOKIE BANNER
   ============================================================ */

/* 1. CONTEÚDO LEGAL (Páginas de Privacidade, Termos, Cookies) */
.legal-content h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
}

.legal-content p {
    margin-bottom: 1.25rem;
    color: #4A4A4A;
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: #4A4A4A;
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.9rem;
}

.legal-content th,
.legal-content td {
    padding: 10px;
    border: 1px solid #E0E0E0;
    text-align: left;
}

.legal-content th {
    background: #F8F6F2;
    color: var(--primary);
}

/* 2. COOKIE BANNER */
#cookie-banner {
    position: fixed;
    bottom: -100%;
    /* Hidden by default */
    left: 0;
    right: 0;
    background: #1A2147;
    /* Navy */
    color: white;
    padding: 20px 0;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#cookie-banner.visible {
    bottom: 0;
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-text {
    flex: 1;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-text a {
    color: var(--secondary);
    /* Gold */
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 15px;
    white-space: nowrap;
}

#cookie-banner .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
}

#cookie-banner .btn-primary {
    background: var(--secondary);
    color: #1A2147;
    border: none;
    font-weight: 600;
}

#cookie-banner .btn-primary:hover {
    filter: brightness(1.1);
}

#cookie-banner .btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

#cookie-banner .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .cookie-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}