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

:root {
    --rose-50:  #FBF4F1;
    --rose-100: #F5E7E1;
    --rose-200: #EAD2C9;
    --rose-300: #D9B3A7;
    --rose-400: #C79C8E;
    --rose-500: #B08578;
    --rose-700: #7D5A50;

    --cream:    #FDFAF6;
    --cream-2:  #F8F2EA;
    --white:    #FFFFFF;

    --gold-300: #E0C79A;
    --gold-500: #C2A15F;
    --gold-700: #92733B;

    --ink:      #3B322E;
    --ink-2:    #5A4C45;
    --ink-mute: #8A7A71;

    --line:      rgba(59, 50, 46, 0.10);
    --line-soft: rgba(59, 50, 46, 0.06);

    --shadow-md: 0 10px 34px rgba(125, 90, 80, 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;
    background: var(--cream);
    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(224, 199, 154, 0.30), transparent 62%),
        radial-gradient(44rem 36rem at 4% 18%, rgba(217, 179, 167, 0.24), transparent 60%),
        linear-gradient(180deg, var(--cream) 0%, var(--rose-50) 70%, var(--cream-2) 100%);
    z-index: -1;
}

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

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

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

nav {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    background: rgba(253, 250, 246, 0.82);
    border-bottom: 1px solid var(--line-soft);
}

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

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

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

.nav-brand-text { display: flex; flex-direction: column; line-height: 1.1; }

/* Mesma tipografia do logotipo. */
.nav-brand-name {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.19em;
    white-space: nowrap;
}

.nav-brand-sub {
    font-size: 0.54rem;
    letter-spacing: 0.19em;
    text-transform: uppercase;
    color: var(--ink-mute);
    font-weight: 300;
}

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

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

.nav-links a:hover { color: var(--rose-500); }

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

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

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

.doc {
    max-width: 760px;
    margin: 0 auto;
    padding: 3rem 3rem 3.5rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line-soft);
    border-radius: 26px;
    box-shadow: var(--shadow-md);
}

.doc-back {
    display: inline-flex;
    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(--rose-500); gap: 0.7rem; }
.doc-back svg { width: 14px; height: 14px; }

.doc-label {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-mute);
    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-meta {
    color: var(--ink-mute);
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding-bottom: 1.6rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--line-soft);
}

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

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

.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;
}

.doc li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.66em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold-300);
    box-shadow: 0 0 0 3px rgba(224, 199, 154, 0.24);
}

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

.doc a:hover { color: var(--rose-700); border-bottom-color: var(--rose-400); }

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

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

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

footer {
    padding: 2.4rem 0;
    border-top: 1px solid var(--line-soft);
    background: rgba(248, 242, 234, 0.5);
    text-align: center;
    font-size: 0.82rem;
    color: var(--ink-mute);
}

footer a { color: var(--ink-mute); text-decoration: none; }
footer a:hover { color: var(--rose-500); }

.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;
}

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

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

/* ------------------------------------------------------------- utilitários */
/* Substitui style="" inline, bloqueado pela CSP (style-src 'self'). */

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
