/* ══════════════════════════════════════════════
   ClinicLife — Legal Pages Styles
   Specific to politica-de-privacidade.html
   and termos-de-uso.html.
   ══════════════════════════════════════════════ */

/* ── Hero Banner ── */
.page-hero {
    background: linear-gradient(160deg, #063B33 0%, var(--primary) 40%, var(--primary-light) 100%);
    padding: 10rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 0.8rem;
    position: relative;
}

.page-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 550px;
    margin: 0 auto;
    position: relative;
}

/* ── LGPD Badge ── */
.lgpd-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.lgpd-badge i {
    color: var(--accent);
}

/* ── LGPD Banner ── */
.lgpd-banner {
    background: linear-gradient(135deg, var(--bg-alt), var(--white));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.lgpd-banner-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: rgba(12, 110, 95, 0.1);
    color: var(--primary);
}

.lgpd-banner h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.lgpd-banner p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ── Legal Content ── */
.legal-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
}

.legal-updated {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--bg-alt);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 2.5rem;
}

.legal-updated i {
    color: var(--primary);
}

.legal-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-alt);
}

.legal-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin: 1.8rem 0 0.6rem;
}

.legal-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0.5rem 0 1rem 1.5rem;
}

.legal-content li {
    margin-bottom: 0.4rem;
}

.legal-content strong {
    color: var(--text);
}

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

.legal-content a:hover {
    color: var(--primary-light);
}

/* ── Callout Boxes ── */
.legal-highlight {
    background: var(--bg-alt);
    border-left: 4px solid var(--primary);
    padding: 1.2rem 1.5rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 1.5rem 0;
}

.legal-highlight p {
    margin-bottom: 0;
}

.legal-warning {
    background: #FFF8F0;
    border-left: 4px solid #E8940C;
    padding: 1.2rem 1.5rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 1.5rem 0;
}

.legal-warning p {
    margin-bottom: 0;
    color: #7A5A1F;
}

/* ── Responsive — Legal Pages ── */
@media (max-width: 768px) {
    .legal-content {
        padding: 3rem 1.5rem 4rem;
    }

    .lgpd-banner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}
