/*
  Estilo das páginas de documento (política de privacidade).
  Reaproveita a paleta marfim e bronze-champanhe do site, com uma coluna de
  leitura estreita.
*/

:root {
    --gold-50:  #FAF5EF;
    --gold-100: #F3EADF;
    --gold-200: #E7D8C6;
    --gold-300: #D6BFA5;
    --gold-400: #BFA084;
    --gold-500: #A78A6F;
    --gold-700: #6B513C;

    --ivory:   #FBF7F2;
    --white:   #FFFFFF;
    --noir:    #1F1813;

    --ink:      #2D231B;
    --ink-2:    #4F4237;
    --ink-mute: #7A6A5D;

    --on-noir-2:    #CDBFB0;
    --on-noir-mute: #A09283;

    --line-soft: rgba(45, 35, 27, 0.06);

    --foil: linear-gradient(115deg, #4B3626 0%, #7E6049 24%, #B08F72 44%, #D9C3AA 52%, #BD9D7F 62%, #8A6D54 82%, #4F3928 100%);

    --shadow-md: 0 12px 34px rgba(75, 54, 38, 0.11);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-variant-numeric: lining-nums;
    background: var(--ivory);
    color: var(--ink);
    line-height: 1.75;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(48rem 32rem at 82% -6%, rgba(231, 216, 198, 0.40), transparent 62%),
        radial-gradient(44rem 36rem at 4% 18%, rgba(231, 216, 198, 0.28), transparent 60%),
        linear-gradient(180deg, var(--ivory) 0%, var(--gold-50) 70%, var(--ivory) 100%);
    z-index: -1;
}

::selection { background: var(--gold-200); color: var(--ink); }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* --------------------------------------------------------------- navegação */

nav {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px) saturate(1.3);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    background: rgba(251, 247, 242, 0.86);
    box-shadow: 0 8px 28px rgba(75, 54, 38, 0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.95rem 2rem;
    max-width: 1180px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--ink);
}

.nav-brand .monogram { height: 46px; width: auto; flex-shrink: 0; }

/* Nome vetorizado da logo e, centralizada abaixo, a profissão (como em home.css). */
.nav-brand-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.28rem;
    line-height: 1;
}

.nav-brand .wordmark { display: block; height: 22px; width: auto; }

.nav-brand-sub {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: #7F6655;
    white-space: nowrap;
}

.nav-links { display: flex; gap: 2rem; list-style: none; }

.nav-links a {
    color: var(--ink-2);
    text-decoration: none;
    font-size: 0.86rem;
    transition: color 0.25s var(--ease);
}

.nav-links a:hover { color: var(--gold-700); }

@media (max-width: 800px) { .nav-links { display: none; } }

/* ---------------------------------------------------------------- documento */

main { flex: 1; padding: 3.5rem 0 5rem; }

.doc {
    position: relative;
    max-width: 780px;
    margin: 0 auto;
    padding: 3rem 3rem 3.5rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--gold-100);
    border-radius: 26px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.doc-back {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 0.45rem;
    color: var(--ink-mute);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 1.6rem;
    transition: color 0.25s var(--ease), gap 0.25s var(--ease);
}

.doc-back:hover { color: var(--gold-700); gap: 0.7rem; }
.doc-back svg { width: 14px; height: 14px; }

.doc-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-700);
    margin-bottom: 0.9rem;
}

.doc h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.1rem, 4.6vw, 3rem);
    font-weight: 300;
    line-height: 1.12;
    letter-spacing: -0.015em;
    margin-bottom: 0.6rem;
}

/* .doc .doc-meta, e não só .doc-meta: precisa vencer a regra geral .doc p. */
.doc .doc-meta {
    color: var(--ink-mute);
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2.4rem;
}

.doc h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.65rem;
    font-weight: 500;
    line-height: 1.2;
    margin: 2.4rem 0 0.8rem;
    letter-spacing: -0.005em;
}

.doc p {
    color: var(--ink-2);
    font-size: 0.97rem;
    margin-bottom: 1rem;
}

.doc strong { color: var(--ink); font-weight: 600; }

.doc ul { list-style: none; margin: 0 0 1.2rem; }

.doc li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--ink-2);
    font-size: 0.97rem;
    margin-bottom: 0.55rem;
}

/* Marcador em losango dourado. */
.doc li::before {
    content: '';
    position: absolute;
    left: 0.1rem;
    top: 0.62em;
    width: 6px;
    height: 6px;
    background: var(--gold-400);
    transform: rotate(45deg);
}

.doc a {
    color: var(--gold-700);
    text-decoration: none;
    border-bottom: 1px solid var(--gold-300);
    transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.doc a:hover { color: var(--ink); border-bottom-color: var(--gold-500); }

.doc .doc-back { border-bottom: 0; }

.doc-callout {
    padding: 1.3rem 1.5rem;
    border-radius: 16px;
    background: var(--gold-50);
    border: 1px solid var(--gold-200);
    margin: 1.6rem 0;
}

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

/* ------------------------------------------------------------------ rodapé */

footer {
    padding: 2.4rem 0;
    background: var(--noir);
    text-align: center;
    font-size: 0.82rem;
    color: var(--on-noir-mute);
}

footer a { color: var(--on-noir-2); text-decoration: none; }
footer a:hover { color: var(--gold-200); }

.footer-legal {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0.7rem;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--gold-700);
    outline-offset: 3px;
    border-radius: 4px;
}

footer a:focus-visible { outline-color: var(--gold-300); }

@media (max-width: 640px) {
    .container { padding: 0 1.35rem; }
    .doc { padding: 2rem 1.6rem 2.4rem; border-radius: 20px; }
    .nav-inner { padding: 0.85rem 1.35rem; }
}

@media (max-width: 420px) {
    .nav-brand .monogram { height: 40px; }
    .nav-brand .wordmark { height: 18px; }
    .nav-brand-sub { font-size: 0.52rem; letter-spacing: 0.12em; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.001ms !important; }
}

/* Registros como "COREN-SP 663894" não quebram no hífen. */
.nowrap { white-space: nowrap; }
