@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/fonts/DMSans-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/fonts/DMSans-normal-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400 900; font-display: swap; src: url('/fonts/PlayfairDisplay-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400 900; font-display: swap; src: url('/fonts/PlayfairDisplay-italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #fbf7f3;
  --ink: #2b1a22;
  --muted: #6d5c63;
  --line: #ead9dc;
  --rose: #b0304a;
  --rose-soft: #f6e3e6;
  --card: #ffffff;
  --accent: var(--rose);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1a1215;
    --ink: #f4e9ec;
    --muted: #b9a6ad;
    --line: #3a2a30;
    --rose: #ec7c92;
    --rose-soft: #2c1a20;
    --card: #23181c;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'DM Sans', system-ui, -apple-system, sans-serif; line-height: 1.6; font-size: 16px; }
a { color: var(--accent); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.brand { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 700; font-size: 21px; color: var(--ink); text-decoration: none; }
.brand span { color: var(--rose); }
nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; margin-left: 16px; }
nav a:first-child { margin-left: 0; }
nav a:hover { color: var(--accent); }

h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(32px, 7vw, 52px); margin: 48px 0 12px; }
h2 { font-size: 22px; margin: 36px 0 8px; color: var(--accent); }
h3 { font-size: 18px; margin: 20px 0 6px; }
p, li { max-width: 68ch; }
p { margin: 0 0 12px; }
ul { margin: 0 0 12px; padding-left: 22px; }
li { margin-bottom: 6px; }
.lede { font-size: 19px; color: var(--muted); margin-bottom: 28px; }
.updated { color: var(--muted); font-size: 13px; margin-bottom: 24px; }

.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 24px 0 8px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.card h3 { margin-top: 0; }
.card p { color: var(--muted); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--rose-soft); color: var(--accent); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.links a { font-weight: 600; font-size: 14px; margin-right: 14px; text-decoration: none; }
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; padding: 12px 22px; border-radius: 999px; font-weight: 700; }
.btn.ghost { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }

footer.site { color: var(--muted); font-size: 13px; padding: 48px 16px 40px; text-align: center; border-top: 1px solid var(--line); margin-top: 56px; }
footer.site a { color: var(--muted); }

/* Saúde e Vida pages use a green accent */
body.sv { --accent: #2f8a57; --rose-soft: #e3f3e9; }
@media (prefers-color-scheme: dark) { body.sv { --accent: #6fd39a; --rose-soft: #17291f; } }
.sv-hero { display: flex; gap: 20px; align-items: center; margin-top: 40px; }
.sv-hero svg { flex: 0 0 72px; }
.sv-hero h1 { margin: 0; }
.note { background: var(--rose-soft); border-radius: 12px; padding: 14px 16px; margin: 18px 0; }
[hidden] { display: none !important; }
