/* ==========================================================================
   Páginas legais — E-mail Profissional Cloud PR7
   Site: email.pr7.hosting

   A landing usa um <style> inline de ~1.200 linhas que carrega junto o
   calculador, animações e todos os componentes. Reaproveitá-lo aqui traria
   peso e regras que esta página não usa, então esta folha é independente e
   repete apenas os tokens de identidade do :root da landing.
   ========================================================================== */

:root {
    --white: #FFFFFF;
    --surface: #F8FAFA;
    --ink: #29353B;
    --muted: #687886;
    --accent: #03E0BF;
    --border: rgba(41, 53, 59, 0.12);
    --footer-bg: #202b30;
    --radius-sm: 12px;
    --container: 880px;
    --font-title: "Cairo", system-ui, sans-serif;
    --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid rgba(3, 224, 191, 0.42); outline-offset: 4px; }

.legal-container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-inline: 24px;
}

/* ── Cabeçalho ── */
.legal-header {
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.legal-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 20px;
}

/* Mesmas medidas do logotipo no header da landing: 104 × 25 px. */
.legal-header img { width: 104px; height: 25px; }

.legal-header a.legal-back {
    font-size: .85rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    transition: color .2s ease;
}

.legal-header a.legal-back:hover { color: var(--accent); }

/* ── Título ── */
.legal-hero { padding-block: 56px 8px; }

.legal-hero .eyebrow {
    display: inline-block;
    font-family: var(--font-title);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.legal-hero h1 {
    margin: 0;
    font-family: var(--font-title);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
}

.legal-hero .legal-updated {
    margin-top: 14px;
    color: var(--muted);
    font-size: .9rem;
}

/* ── Corpo ── */
.legal-content { padding-block: 24px 72px; }

.legal-content h2 {
    margin: 44px 0 14px;
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
}

.legal-content h3 {
    margin: 30px 0 10px;
    font-family: var(--font-title);
    font-size: 1.12rem;
    font-weight: 700;
    color: #34434a;
}

.legal-content p { margin: 0 0 16px; }
.legal-content ul { margin: 0 0 20px; padding-left: 22px; }
.legal-content li { margin-bottom: 9px; }
.legal-content strong { font-weight: 600; }

.legal-content a {
    color: #059e88;
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

/* Destaque dos pontos que ainda dependem de confirmação interna.
   Some sozinho quando o marcador [CONFIRMAR] for removido do texto. */
.legal-content .confirmar {
    background: rgba(245, 180, 60, 0.16);
    border-bottom: 1px dashed rgba(180, 120, 20, 0.6);
    padding: 0 3px;
    border-radius: 3px;
}

/* Caixa de resumo no topo */
.legal-callout {
    margin: 0 0 28px;
    padding: 20px 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
}

.legal-callout p:last-child { margin-bottom: 0; }

/* ── Rodapé ── */
.legal-footer {
    background: var(--footer-bg);
    color: rgba(255, 255, 255, .6);
    padding-block: 32px;
    font-size: .82rem;
}

.legal-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.legal-footer a,
.legal-footer .pr7-consent-footer-link {
    color: rgba(255, 255, 255, .6);
    font-size: .82rem;
    text-decoration: none;
    transition: color .2s ease;
}

.legal-footer a:hover,
.legal-footer .pr7-consent-footer-link:hover { color: var(--accent); }

.legal-footer__links { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 640px) {
    .legal-header__inner { padding-block: 16px; }
    .legal-hero { padding-block: 36px 4px; }
    .legal-content h2 { font-size: 1.3rem; }
}
