:root {
  /* Paleta pastel: creme, rosa antigo, salva, lavanda, azul-pó e manteiga.
     Os nomes --blue e --gold vêm do tema antigo: --blue é a cor de destaque (rosa antigo). */
  --bg: #FBF8F4;
  --surface: #FFFFFF;
  --ink: #3F3340;
  --muted: #7A6B78;
  --blue: #B35C7A;
  --blue-soft: #F8E1E8;
  --blush: #EBB3C4;
  --gold: #9DBBA5;
  --line: #EADFE3;
  --plum: #5E4A5C;
  --sage-soft: #E6F0E8; --sage-ink: #4E7A5C;
  --lav-soft: #EEE8F6; --lav-ink: #6B5A8E;
  --sky-soft: #E5EEF6; --sky-ink: #4D6E8C;
  --butter-soft: #FBF2DC; --butter-ink: #8A6A2E;
  --display: "Playfair Display", "Newsreader", Georgia, serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    /* Modo escuro: azul-noite (como o tema original), com os mesmos toques pastel */
    --bg: #0E1626; --surface: #16223A; --ink: #E8EEF8; --muted: #9FB0CB;
    --blue: #F2B8C9; --blue-soft: #2A2F52; --blush: #C98AA0; --gold: #A9C7B1; --line: #27385C;
    --sage-soft: #1E3436; --sage-ink: #BFD8C2; --lav-soft: #262C52; --lav-ink: #D4C8EA;
    --sky-soft: #1B2E4D; --sky-ink: #BCD2E6; --butter-soft: #2E2F44; --butter-ink: #EAD7A6;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--serif); font-size: 18px; line-height: 1.65; }
a { color: var(--blue); }
.wrap { max-width: 900px; margin: 0 auto; padding: 0 24px; }

header.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.brand { font-family: var(--serif); font-weight: 700; font-size: 20px; text-decoration: none; color: var(--ink); }

main { padding: 48px 0 80px; }
.hero-photo { text-align: center; margin: 0 0 20px; }
.hero-photo img { border-radius: 999px; }
.quote { text-align: center; font-style: italic; font-size: 26px; margin: 0 0 20px; }
.center { text-align: center; max-width: 60ch; margin: 0 auto 16px; }
.buttons { display: flex; justify-content: center; gap: 12px; margin: 24px 0; flex-wrap: wrap; }
.btn { font-family: var(--sans); font-weight: 600; padding: 10px 22px; border-radius: 999px; background: var(--blue); color: #fff; text-decoration: none; border: 2px solid var(--blue); }
.btn-outline { background: transparent; color: var(--blue); }
.social-links { list-style: none; display: flex; justify-content: center; gap: 12px; padding: 0; }

h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.1; }
/* H2 e H3 com o mesmo aspeto: os subtítulos dos artigos passaram de H3 para H2 (SEO). */
h2, h3 { font-family: var(--sans); font-size: 20px; margin-top: 28px; margin-bottom: 1em; }
blockquote { border-left: 4px solid var(--gold); background: var(--surface); padding: 12px 18px; border-radius: 0 10px 10px 0; margin: 20px 0; }
.article-meta { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-bottom: 8px; }

.post-list { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.post-list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.post-list h2, .post-list h3 { margin: 0 0 6px; font-size: 22px; }
.post-list a { text-decoration: none; color: var(--ink); }
.post-list a:hover { color: var(--blue); }
.post-list p { margin: 0; color: var(--muted); font-family: var(--sans); font-size: 15px; }

footer.site-footer { border-top: 1px solid var(--line); padding: 32px 0; text-align: center; font-family: var(--sans); font-size: 14px; color: var(--muted); }

.header-top { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 12px; }
.lang-switch { font-family: var(--sans); font-size: 14px; font-weight: 600; padding: 6px 14px; border: 1.5px solid var(--blue); border-radius: 999px; text-decoration: none; color: var(--blue); }
.lang-switch:hover { background: var(--blue); color: var(--surface); }

nav.main-nav { border-top: 1px solid var(--line); font-family: var(--sans); font-size: 15px; }
nav.main-nav ul { list-style: none; margin: 0; padding: 0; }
.menu { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.menu > li { position: relative; padding: 10px 0; }
.menu a { color: var(--ink); text-decoration: none; }
.menu a:hover { color: var(--blue); }
.submenu { display: none; position: absolute; top: 100%; left: -12px; min-width: 240px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 0; z-index: 10; box-shadow: 0 6px 20px rgba(94, 74, 92, .08); }
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu { display: block; }
.submenu li a { display: block; padding: 7px 16px; }

.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; font-family: var(--sans); font-size: 14px; }
.chips a { display: inline-block; padding: 5px 14px; border-radius: 999px; background: var(--blue-soft); text-decoration: none; }

/* Artigos relacionados (fim de cada artigo) */
.related { margin-top: 48px; padding-top: 8px; border-top: 1px solid var(--line); }
.related ul { list-style: none; padding: 0; margin: 0; font-family: var(--sans); }
.related li { padding: 8px 0; }
.related a { text-decoration: none; }
.related a:hover { text-decoration: underline; }

/* Etiqueta "Artigo de opinião" no topo de cada artigo */
.article-kind { display: inline-block; margin: 0 0 10px; padding: 3px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .02em; }

/* ---------- Secção Adolescência (/adolescencia/) ---------- */
.teen { font-family: var(--sans); --coral: #FF8A70; --navy: #5A2A3C; padding-top: 40px; }
.teen h1 { font-size: clamp(32px, 6vw, 52px); font-weight: 900; letter-spacing: -.02em; line-height: 1.05; margin: 12px 0 16px; }
.teen h2 { font-size: 26px; line-height: 1.15; font-weight: 900; letter-spacing: -.01em; margin: 56px 0 8px; }
.teen-kicker { display: inline-block; margin: 0; padding: 4px 14px; border-radius: 999px; background: var(--coral); color: var(--navy); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.teen-lead { font-size: 20px; color: var(--muted); max-width: 52ch; margin: 0; }
.teen-note { color: var(--muted); margin: 0 0 20px; font-size: 16px; }

/* Cartões que viram */
.flip-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.flip { appearance: none; border: 0; padding: 0; margin: 0; background: none; width: 100%; height: 100%; cursor: pointer; font: inherit; color: inherit; text-align: left; display: block; border-radius: 24px; perspective: 1000px; }
.flip:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.flip-inner { display: grid; gap: 8px; height: 100%; transition: transform .5s ease; transform-style: preserve-3d; }
.flip-face { border-radius: 24px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-height: 300px; }
.flip-front { background: var(--c); color: var(--navy); }
.flip-back { background: var(--navy); color: #FFF7F9; border: 1px solid var(--line); justify-content: flex-start; }
.flip-cards.is-ready .flip-inner { gap: 0; }
.flip-cards.is-ready .flip-face { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-cards.is-ready .flip-back { transform: rotateY(180deg); }
.flip[aria-pressed="true"] .flip-inner { transform: rotateY(180deg); }
.flip-tag { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border: 2px solid currentColor; border-radius: 999px; padding: 3px 10px; }
.flip-q { font-size: 26px; line-height: 1.15; font-weight: 900; letter-spacing: -.01em; }
.flip-hint { font-size: 14px; font-weight: 800; }
.flip-verdict { font-size: 44px; line-height: 1; font-weight: 900; letter-spacing: -.02em; color: var(--c); }
.flip-verdict small { display: block; font-size: 15px; font-weight: 700; letter-spacing: 0; margin-bottom: 4px; }
.flip-a { font-size: 17px; line-height: 1.45; }
@media (prefers-reduced-motion: reduce) { .flip-inner { transition: none; } }

/* Blocos por tema */
.teen-topics { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.topic { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.topic-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.topic-icon { width: 44px; height: 44px; border-radius: 14px; background: var(--c); color: var(--navy); display: grid; place-items: center; flex: none; }
.teen .topic h3 { margin: 0; font-size: 20px; font-weight: 800; }
.topic-links { list-style: none; padding: 0; margin: 0; }
.topic-links li + li { border-top: 1px solid var(--line); }
.topic-links a { display: block; padding: 12px 0; font-weight: 700; color: var(--ink); text-decoration: none; }
.topic-links a:hover { color: var(--blue); }
.topic-soon { margin: 8px 0 0; color: var(--muted); font-size: 16px; }

/* Ajuda e nota para adultos */
.teen-help { margin-top: 56px; background: var(--navy); color: #FFF7F9; border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.teen .teen-help h2 { margin-top: 0; color: #FFF7F9; }
.teen-help p { margin: 0 0 20px; }
.teen-phone { display: inline-block; background: var(--coral); color: var(--navy); font-weight: 900; font-size: 20px; padding: 12px 22px; border-radius: 999px; text-decoration: none; }
.teen-adults { margin-top: 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; }
.teen .teen-adults h2 { font-size: 18px; color: var(--ink); margin-top: 28px; }
/* No telemóvel os cartões ficam lado a lado e deslizam, como um carrossel */
@media (max-width: 600px) {
  .flip-cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px 0 12px; }
  .flip-cards > li { scroll-snap-align: start; }
}

/* Destaque na página Adolescência */
.teen-featured { display: flex; flex-direction: column; gap: 6px; margin-top: 32px; padding: 24px 28px; border-radius: 24px; background: var(--surface); border: 2px solid var(--coral); color: var(--ink); text-decoration: none; }
.teen-featured:hover { border-color: var(--blue); }
.teen-featured-tag { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--coral); color: var(--navy); border-radius: 999px; padding: 3px 10px; }
.teen-featured-q { font-size: 26px; line-height: 1.15; font-weight: 900; letter-spacing: -.01em; }
.teen-featured-sub { color: var(--muted); font-size: 16px; font-weight: 600; }

/* Caixas "Em 3 linhas" e "Quando procurar ajuda" (artigos para adolescentes) */
.resumo, .ajuda { font-family: var(--sans); border-radius: 18px; padding: 20px 24px; margin: 24px 0; }
.resumo { background: #FCE4EC; color: #5A2A3C; }
.ajuda { background: #5A2A3C; color: #FFF7F9; border: 1px solid var(--line); }
.resumo p, .ajuda p { margin: 0; }
.resumo-tit, .ajuda-tit { font-weight: 900; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px !important; }
.ajuda-tit { color: #F6C9D7; }

/* Cartões "Mito ou verdade?" em estilo coquette: pastel, laço, itálico serifado e pesponto */
.teen { --coral: #F2A7BC; }
.flip-cards { --plum: #5A2A3C; --rose: #A8325A; --cream: #FFF6F8; --serif-c: "Playfair Display", "Newsreader", Georgia, serif; }
.flip-face { position: relative; border-radius: 28px; padding: 44px 26px 26px; }
.flip-face::after { content: ""; position: absolute; inset: 9px; border: 1.5px dashed rgba(90, 42, 60, .35); border-radius: 20px; pointer-events: none; }
.flip-front { color: var(--plum); box-shadow: 0 6px 18px rgba(168, 50, 90, .12); }
.flip-front::before { content: ""; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 64px; height: 40px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 40'%3E%3Cg fill='%23E58FA8' stroke='%23A8325A' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M31 18C22 6 6 2 4 10s10 16 27 10z'/%3E%3Cpath d='M33 18C42 6 58 2 60 10s-10 16-27 10z'/%3E%3Cpath d='M29 21l-9 17 7-3 3 5 2-18z'/%3E%3Cpath d='M35 21l9 17-7-3-3 5-2-18z'/%3E%3Crect x='27' y='14' width='10' height='10' rx='4'/%3E%3C/g%3E%3C/svg%3E"); }
.flip-back { background: var(--cream); color: var(--plum); border: 1.5px solid #F1C6D3; }
.flip-tag { border: 0; background: rgba(255, 255, 255, .75); color: var(--rose); font-family: var(--serif-c); font-style: italic; font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 15px; padding: 4px 14px; }
.flip-q { font-family: var(--serif-c); font-style: italic; font-weight: 700; font-size: 28px; line-height: 1.2; letter-spacing: 0; }
.flip-hint { font-family: var(--serif-c); font-style: italic; font-weight: 600; color: var(--rose); font-size: 16px; }
.flip-verdict { font-family: var(--serif-c); font-style: italic; font-weight: 700; color: var(--rose); font-size: 46px; letter-spacing: 0; }
.flip-verdict small { font-family: var(--sans); font-style: normal; color: var(--plum); }
.flip-a { font-size: 17px; }
.flip-back::before { content: ""; position: absolute; right: 22px; bottom: 16px; width: 28px; height: 28px; background: url("/images/icons/coracao.svg") no-repeat center / contain; }
.flip-back { padding-bottom: 52px; }

/* ---------- Feed, faixa "Hoje" e Estante (src/templates/feed.js, src/static/js/feed.js) ---------- */
.hoje[hidden], .hoje-slot[hidden], .fc[hidden], .feed-filter[hidden] { display: none !important; }

/* Cartão base */
.fc { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px; font-family: var(--sans); font-size: 16px; line-height: 1.5; overflow: hidden; }
.fc p { margin: 0; }
.fc-label { align-self: flex-start; padding: 3px 11px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.fc-title { font-family: var(--serif); font-size: 21px; line-height: 1.25; margin: 0; }
.fc-title a { color: var(--ink); text-decoration: none; }
.fc-title a:hover { color: var(--blue); }
.fc-text, .fc-cap { color: var(--ink); }
.fc-author { color: var(--muted); font-size: 14px; }
.fc-more { font-weight: 600; font-size: 15px; text-decoration: none; margin-top: auto; }
.fc-social { font-size: 14px; color: var(--muted); }
.fc-social a { font-weight: 600; text-decoration: none; }

/* Dica: etiqueta dourada */
.fc--dica .fc-label { background: var(--sage-soft); color: var(--sage-ink); }
.fc--foto .fc-label { background: var(--sky-soft); color: var(--sky-ink); }
.fc--livro .fc-label, .bk-info .fc-label { background: var(--butter-soft); color: var(--butter-ink); }
.fc--frase .fc-label { color: var(--lav-ink); }
/* Frase: fundo azul claro, aspas douradas */
.fc--frase { background: var(--lav-soft); border-color: transparent; }
.fc--frase .fc-label { background: var(--surface); }
.fc-quote { margin: 0; padding: 0; border: 0; background: none; border-radius: 0; position: relative; }
.fc-quote::before { content: "\201C"; font-family: var(--serif); font-size: 64px; line-height: .6; color: var(--gold); display: block; height: 26px; }
.fc-quote p { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.35; }
.fc-quote footer { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.fc-quote cite { font-style: italic; font-weight: 400; }

/* Fotografia e vídeo encostam às margens do cartão */
.fc-img, .fc-video, .fc-embed { margin: -18px -18px 4px; width: calc(100% + 36px); max-width: none; }
.fc-img { display: block; aspect-ratio: 4 / 5; object-fit: cover; }
.fc-video { position: relative; background: #2C2630; }
.fc-video video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #2C2630; }
.fc-sound { position: absolute; right: 12px; bottom: 12px; font: 600 13px var(--sans); color: #fff; background: rgba(63, 51, 64, .65); border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.fc-sound:focus-visible, .fc-load:focus-visible, .feed-filter button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Vídeo do Instagram/TikTok: capa com botão; o vídeo só carrega depois do toque */
.fc-embed { position: relative; aspect-ratio: 9 / 16; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; background: linear-gradient(160deg, #C9B8DD, #A9C4D9 55%, #9DBBA5); color: #fff; overflow: hidden; }
.fc-embed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.fc-load { position: relative; display: inline-flex; align-items: center; gap: 10px; font: 700 15px var(--sans); color: #5A2A3C; background: #fff; border: 0; border-radius: 999px; padding: 10px 18px 10px 12px; cursor: pointer; }
.fc-play { width: 26px; height: 26px; border-radius: 50%; background: #A85A73; position: relative; }
.fc-play::after { content: ""; position: absolute; left: 10px; top: 7px; border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.fc-privacy { position: relative; font-size: 12px; text-align: center; max-width: 30ch; opacity: .9; }
.fc-embed.is-loaded { aspect-ratio: auto; padding: 0; background: #fff; display: block; }
.fc-embed iframe { display: block; width: 100%; height: 760px; border: 0; }
.fc-embed.is-tiktok iframe { height: 740px; }

/* Livro no feed */
.fc-book { display: flex; gap: 14px; align-items: flex-start; }
.fc-book > :first-child { flex: none; width: 84px; }
.fc-book > div { display: flex; flex-direction: column; gap: 6px; }
.bk-img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px 8px 8px 4px; box-shadow: 0 4px 14px rgba(94, 74, 92, .14); }
/* Capa tipográfica (quando não há imagem da capa) */
.bk-type { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 2 / 3; padding: 10px 8px 10px 12px; border-radius: 4px 8px 8px 4px; background: hsl(var(--h) 55% 90%); color: #3F3340; border-left: 6px solid hsl(var(--h) 35% 75%); box-shadow: 0 4px 14px rgba(94, 74, 92, .14); overflow: hidden; }
.bk-t { font-family: var(--serif); font-weight: 700; font-size: 13px; line-height: 1.2; }
.bk-a { font-family: var(--sans); font-size: 10px; opacity: .85; }

/* Faixa "Hoje" na página inicial */
.hoje { margin: 36px 0 44px; }
.hoje-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-family: var(--sans); }
.hoje-head h2 { margin: 0; font-size: 22px; }
.hoje-head a { font-size: 15px; font-weight: 600; text-decoration: none; }
.hoje-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.hoje-grid:has(.hoje-video:not([hidden])) { grid-template-columns: 250px repeat(2, minmax(0, 1fr)); }
.hoje-video { grid-row: span 2; }
.hoje-slot > .fc { height: 100%; }
.hoje .fc-img { aspect-ratio: 4 / 3; }
.hoje .fc-video video { max-height: 460px; }
.hoje .fc-text { display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.hoje .fc-book > :first-child { width: 72px; }
/* No telemóvel, a faixa desliza para o lado, como as stories */
@media (max-width: 600px) {
  .hoje-grid, .hoje-grid:has(.hoje-video:not([hidden])) { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .hoje-slot { scroll-snap-align: start; }
  .hoje-video { grid-row: auto; }
  .hoje .fc-video video { max-height: 52vh; }
  .hoje-dica > .fc, .hoje-frase > .fc { justify-content: center; }
}

/* Página Feed: uma coluna, como no Instagram */
.feed-page h1, .shelf-page h1 { margin-bottom: 8px; }
.feed-lead { font-family: var(--sans); color: var(--muted); font-size: 17px; max-width: 60ch; margin: 0 0 20px; }
.feed-filter { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 24px; }
.feed-filter button { font: 600 14px var(--sans); color: var(--blue); background: var(--surface); border: 1.5px solid var(--blue); border-radius: 999px; padding: 6px 16px; cursor: pointer; }
.feed-filter button[aria-pressed="true"] { background: var(--blue); color: var(--surface); }
.feed-grid { display: flex; flex-direction: column; gap: 18px; max-width: 560px; }
.feed-grid .fc-video video { aspect-ratio: 9 / 16; max-height: 78vh; object-fit: contain; }
.feed-grid .fc-embed:not(.is-loaded) { max-height: 78vh; }
.feed-grid .fc--artigo .fc-text { color: var(--muted); font-size: 15px; }

/* Estante */
.shelf-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 28px; }
.bk { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: start; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.bk-cover { display: block; text-decoration: none; }
.bk-cover .bk-t { font-size: 17px; }
.bk-cover .bk-a { font-size: 12px; }
.bk-info { font-family: var(--sans); display: flex; flex-direction: column; gap: 6px; }
.bk-info h2 { font-family: var(--serif); font-size: 24px; line-height: 1.2; margin: 0; }
.bk-info .fc-label { margin: 0; }
.bk-info p { margin: 0; }
.bk-note { margin: 6px 0 0; font-size: 16px; line-height: 1.6; }
.bk .chips { margin-top: 6px; }
.bk .chips span { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 13px; }
@media (max-width: 600px) { .bk { grid-template-columns: 90px 1fr; gap: 16px; } }

/* ======================================================================
   Estilo coquette (todo o site): rosa-pó, laços, pesponto tracejado e
   ícones médicos (coração anatómico, seringa, estetoscópio). Sem corações ♡.
   Ícones em src/static/images/icons/.
   ====================================================================== */
.i { display: inline-block; width: 22px; height: 22px; background: no-repeat center / contain; vertical-align: middle; }
.i-heart { background-image: url("/images/icons/coracao.svg"); }
.i-syringe { background-image: url("/images/icons/seringa.svg"); }
.i-steth { background-image: url("/images/icons/estetoscopio.svg"); }
.i-rose { background-image: url("/images/icons/rosa.svg"); }

/* Títulos em Playfair Display */
h1 { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; }
main h2, main h3 { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 24px; color: var(--blue); }
.post-list h2, .post-list h3 { font-family: var(--display); font-style: normal; font-weight: 600; color: var(--ink); }
.post-list a:hover h2 { color: var(--blue); }

/* Cabeçalho: laço antes do nome, menu em ameixa */
.brand { font-family: var(--display); font-style: italic; color: var(--plum); }
@media (prefers-color-scheme: dark) { .brand { color: var(--ink); } }
header.site-header { border-bottom: 1.5px dashed var(--line); }
nav.main-nav { border-top: 1px solid var(--line); }
.menu a:hover { color: var(--blue); }
.submenu { border-radius: 16px; }

/* Botões e etiquetas */
.btn { box-shadow: 0 4px 14px rgba(94, 74, 92, .14); }
.btn:hover { filter: brightness(1.06); }
.btn-outline { box-shadow: none; }
.lang-switch { border-style: dashed; }
.chips a { color: var(--blue); }

/* Página inicial: fotografia com moldura pespontada e laço */
.hero-photo { position: relative; }
.hero-photo img { padding: 6px; border: 2px dashed var(--blush); background: var(--surface); }
.quote { font-family: var(--display); color: var(--blue); }

/* Artigos */
.article-kind { display: inline-flex; align-items: center; gap: 6px; }
.article-kind::before { content: ""; width: 16px; height: 16px; background: url("/images/icons/coracao.svg") no-repeat center / contain; }
blockquote { border-left: 3px dashed var(--blush); }
main ul li::marker { color: var(--gold); }
.related h2 { display: flex; align-items: center; gap: 8px; }
.related h2::before { content: ""; width: 22px; height: 22px; background: url("/images/icons/estetoscopio.svg") no-repeat center / contain; }

/* Rodapé com fila de ícones */
footer.site-footer { border-top: 1.5px dashed var(--line); }
.ornament { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 0 0 14px; }

/* Feed e Estante: cartões com pesponto tracejado por dentro */
.fc { position: relative; border-radius: 24px; border-color: var(--line); box-shadow: 0 4px 16px rgba(94, 74, 92, .05); }
.fc::after { content: ""; position: absolute; inset: 7px; border: 1.5px dashed rgba(94, 74, 92, .16); border-radius: 18px; pointer-events: none; }
.fc-video ~ *, .fc-img ~ *, .fc-embed ~ * { position: relative; }
.fc-label { display: inline-flex; align-items: center; gap: 6px; font-family: var(--sans); }
.fc-label::before { content: ""; width: 15px; height: 15px; background: no-repeat center / contain; }
.fc--dica .fc-label::before { background-image: url("/images/icons/estetoscopio.svg"); }
.fc--artigo .fc-label::before { background-image: url("/images/icons/coracao.svg"); }
.fc--video .fc-label::before, .fc--post .fc-label::before { background-image: url("/images/icons/seringa.svg"); }
.fc--frase .fc-label::before, .fc--livro .fc-label::before, .fc--foto .fc-label::before, .bk-info .fc-label::before { background-image: url("/images/icons/rosa.svg"); }
.fc-title { font-family: var(--display); }
.fc-quote::before { color: var(--blush); font-family: var(--display); }
.fc-quote p { font-family: var(--display); font-size: 21px; }
.hoje-head h2 { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-style: italic; color: var(--blue); }
.hoje-head h2::before { content: ""; width: 26px; height: 26px; background: url("/images/icons/rosa.svg") no-repeat center / contain; }
.feed-filter button { border-style: dashed; }
.feed-filter button[aria-pressed="true"] { border-style: solid; }
.bk-info h2 { font-family: var(--display); font-style: normal; color: var(--ink); font-size: 24px; }
.bk { border-bottom-style: dashed; }
.flip-hint { display: inline-flex; align-items: center; gap: 6px; }
.flip-hint::after { content: ""; width: 18px; height: 18px; background: url("/images/icons/coracao.svg") no-repeat center / contain; }
.hero-photo { margin-top: 18px; }
.lang-switch { white-space: nowrap; }
@media (max-width: 600px) {
  .brand { font-size: 17px; }
  .lang-switch { font-size: 13px; padding: 5px 11px; }
}
/* A faixa que desliza fica na sua própria camada: evita que o texto à volta mude de nitidez entre visitas. */
.hoje-grid { transform: translateZ(0); }

/* Toques de rosa e laços, com moderação: no livro do mês, no título da Estante e no rodapé */
.i-bow { background-image: url("/images/icons/laco.svg"); width: 32px; }
.shelf-page h1 { display: flex; align-items: center; gap: 12px; }
.shelf-page h1::after { content: ""; flex: none; width: 46px; height: 30px; background: url("/images/icons/laco.svg") no-repeat center / contain; }
.bk-destaque .bk-type, .fc--livro .bk-type { padding-top: 22px; }
.bk-destaque .bk-type::before, .fc--livro .bk-type::before { content: ""; position: absolute; top: 3px; left: 50%; transform: translateX(-50%); width: 28px; height: 18px; background: url("/images/icons/laco.svg") no-repeat center / contain; }
.bk-destaque .bk-img { outline: 2px dashed var(--blush); outline-offset: 4px; }
.fc--video .fc-label, .fc--post .fc-label, .fc--artigo .fc-label { background: var(--blue-soft); color: var(--blue); }
/* Ícone próprio de um livro ("icone" no JSON, ex.: morcego no Drácula): substitui o laço */
.bk-ico { position: absolute; top: 3px; left: 50%; transform: translateX(-50%); width: 32px; height: 20px; background: no-repeat center / contain; }
.bk-type:has(.bk-ico) { padding-top: 24px; }
.bk-type:has(.bk-ico)::before { display: none; }
.bk-cover .bk-ico { top: 5px; width: 46px; height: 29px; }
.bk-cover .bk-type:has(.bk-ico) { padding-top: 36px; }
