/* ==========================================================
   Lhamass — blog de textos e fotos
   ========================================================== */

:root {
  --bg: #f7f3ec;
  --bg-soft: #efe9de;
  --card: #ffffff;
  --ink: #151515;
  --ink-soft: #3a3833;
  --muted: #7a746a;
  --line: #e2dbcf;
  --accent: #ff5b3a;      /* tangerina */
  --accent-ink: #ffffff;
  --lime: #d4f36b;
  --lilac: #c9bbff;
  --sky: #a8dcff;
  --sun: #ffd166;
  --shadow: 0 1px 0 rgba(0,0,0,.04), 0 12px 32px -16px rgba(30,20,10,.18);
  --radius: 22px;
  --radius-sm: 14px;
  --logo-filter: none;
  --logo-ring: none;
  --show-light: block;
  --show-dark: none;

  --f-display: "Fraunces", Georgia, serif;
  --f-body: "DM Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  --f-pixel: "Silkscreen", "Courier New", monospace;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --wrap: 1200px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121211; --bg-soft: #1a1a18; --card: #1d1d1b; --ink: #f3efe7; --ink-soft: #cfcabf;
    --muted: #9a948a; --line: #2e2d2a; --shadow: 0 12px 32px -16px rgba(0,0,0,.6);
    --logo-filter: none; --logo-ring: 0 0 0 2px #34332f;
    --show-light: none; --show-dark: block;
  }
}
:root[data-theme="dark"] {
  --bg: #121211; --bg-soft: #1a1a18; --card: #1d1d1b; --ink: #f3efe7; --ink-soft: #cfcabf;
  --muted: #9a948a; --line: #2e2d2a; --shadow: 0 12px 32px -16px rgba(0,0,0,.6);
  --logo-filter: none; --logo-ring: 0 0 0 2px #34332f;
    --show-light: none; --show-dark: block;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .3s, color .3s;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--lime); color: #151515; }

.only-light { display: var(--show-light); }
.only-dark { display: var(--show-dark); }
.nowrap { white-space: nowrap; }
.brand img, .hero__logo, .about__card > img { border-radius: 50%; box-shadow: var(--logo-ring); }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* grão sutil */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; filter: var(--logo-filter); transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.brand:hover img { transform: rotate(-12deg) scale(1.08); }
.brand__name { font-family: var(--f-pixel); font-size: 22px; letter-spacing: .02em; line-height: 1; }
.brand__name small { display: block; font-family: var(--f-mono); font-size: 10px; color: var(--muted); letter-spacing: .04em; margin-top: 4px; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: 15px;
  transition: background .2s, color .2s;
}
.nav a:hover, .nav a.is-active { background: var(--ink); color: var(--bg); }

.header__actions { display: flex; gap: 8px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--card); display: grid; place-items: center; cursor: pointer;
  transition: transform .2s, background .2s;
}
.icon-btn:hover { transform: translateY(-2px) rotate(-6deg); background: var(--lime); color: #151515; }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; font-size: 15px;
  background: var(--ink); color: var(--bg);
  transition: transform .2s, box-shadow .2s;
  box-shadow: 4px 4px 0 var(--accent);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--accent); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--accent); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); box-shadow: none; }
.btn--ghost:hover { background: var(--ink); color: var(--bg); box-shadow: none; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.prompt {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 13px; color: var(--ink-soft);
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 8px;
}
.prompt b { background: var(--ink); color: var(--lime); border-radius: 999px; padding: 2px 8px; font-weight: 500; }
.hero h1 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(44px, 7.2vw, 96px); line-height: .98; letter-spacing: -.035em;
  margin: 22px 0 22px;
  isolation: isolate;
  font-variation-settings: "SOFT" 100, "opsz" 144;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: .08em; height: .32em;
  background: var(--lime); z-index: -1; border-radius: 4px; transform: rotate(-1.2deg);
}
.cursor { display: inline-block; width: .45em; height: .09em; background: var(--ink); margin-left: .08em; vertical-align: baseline; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__lead { font-size: 19px; color: var(--ink-soft); max-width: 540px; margin: 0 0 32px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 28px; margin-top: 40px; font-family: var(--f-mono); font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.hero__stats strong { display: block; font-family: var(--f-display); font-size: 32px; color: var(--ink); font-weight: 500; line-height: 1.1; }

.hero__art { position: relative; aspect-ratio: 1; max-width: 440px; justify-self: center; width: 100%; }
.hero__blob {
  position: absolute; inset: 6%; border-radius: 42% 58% 61% 39% / 45% 39% 61% 55%;
  background: var(--lilac); animation: morph 12s ease-in-out infinite;
}
@keyframes morph {
  50% { border-radius: 58% 42% 38% 62% / 55% 61% 39% 45%; transform: rotate(8deg); }
}
.hero__logo { position: absolute; inset: 14%; filter: var(--logo-filter); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-2deg); } }
.sticker {
  position: absolute; font-family: var(--f-pixel); font-size: 13px;
  padding: 10px 14px; border-radius: 12px; border: 1.5px solid #151515; color: #151515;
  box-shadow: 3px 3px 0 #151515; white-space: nowrap;
}
.sticker--1 { top: 4%; left: -4%; background: var(--sun); transform: rotate(-8deg); }
.sticker--2 { bottom: 10%; right: -6%; background: var(--lime); transform: rotate(6deg); }
.sticker--3 { bottom: 2%; left: 4%; background: var(--sky); transform: rotate(-3deg); font-family: var(--f-mono); }

/* ---------- Seções ---------- */
.section { padding: 56px 0; }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.eyebrow { font-family: var(--f-pixel); font-size: 12px; letter-spacing: .08em; color: var(--accent); text-transform: uppercase; }
.section__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.03em; line-height: 1.05; margin: 6px 0 0; }
.section__title em { font-style: italic; }
.link-arrow { font-weight: 600; display: inline-flex; gap: 8px; align-items: center; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--accent); }

/* ---------- Destaque ---------- */
.featured {
  display: grid; grid-template-columns: 1.2fr 1fr; background: var(--card);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.featured__media { position: relative; min-height: 420px; overflow: hidden; }
.featured__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.featured:hover .featured__media img { transform: scale(1.04); }
.featured__body { padding: 44px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.featured__body h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; letter-spacing: -.025em; margin: 0; }
.featured__body p { color: var(--ink-soft); margin: 0; }
.badge-new {
  position: absolute; top: 20px; left: 20px; background: var(--accent); color: #fff;
  font-family: var(--f-pixel); font-size: 12px; padding: 7px 12px; border-radius: 999px;
}

/* ---------- Meta / tags ---------- */
.meta { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.tag {
  display: inline-block; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .02em;
  padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--ink);
  border: 1px solid var(--line);
}
.tag[data-c="fotografia"] { background: #ececec; border-color: #d6d6d6; color: #151515; }
.tag[data-c="viagens"]    { background: #d6eeff; border-color: #b0dbfb; color: #151515; }
.tag[data-c="cotidiano"]  { background: #fff0c2; border-color: #f2dd94; color: #151515; }
.tag[data-c="comida"]     { background: #ffe0d6; border-color: #f8bfad; color: #151515; }
.tag[data-c="insights"]   { background: #ffd9ec; border-color: #f6b6d6; color: #151515; }
.tag[data-c="leitura"]    { background: #e6dfff; border-color: #cfc3fb; color: #151515; }

.author { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.author img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.author span { color: var(--muted); font-size: 13px; }

/* ---------- Filtros ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip {
  border: 1.5px solid var(--line); background: var(--card); border-radius: 999px;
  padding: 9px 16px; font-size: 14px; font-weight: 500; cursor: pointer;
  transition: all .2s;
}
.chip:hover { border-color: var(--ink); transform: translateY(-1px); }
.chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip .emo { margin-right: 4px; }

/* ---------- Grid de posts ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.card:hover .card__media img { transform: scale(1.06); }
.card__media .count {
  position: absolute; right: 12px; bottom: 12px; background: rgba(21,21,21,.78); color: #fff;
  font-family: var(--f-mono); font-size: 11px; padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(6px);
}
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__body h3 { font-family: var(--f-display); font-weight: 500; font-size: 23px; line-height: 1.18; letter-spacing: -.015em; margin: 0; }
.card__body p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.card__foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; }
.card--tall { grid-row: span 2; }
.card--tall .card__media { aspect-ratio: 3/4; }

/* card só texto */
.card--text { padding: 30px; justify-content: space-between; gap: 20px; }
.card--text blockquote {
  margin: 0; font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: 28px; line-height: 1.18; letter-spacing: -.02em;
}
.card--text blockquote::before { content: "“"; display: block; font-size: 80px; line-height: .6; color: var(--accent); font-style: normal; margin-bottom: 10px; }
.card--lime  { background: var(--lime);  border-color: transparent; color: #151515; }
.card--lilac { background: var(--lilac); border-color: transparent; color: #151515; }
.card--ink   { background: #151515; color: #f3efe7; border-color: transparent; }
.card--lime .meta, .card--lilac .meta { color: #3a3833; }
.card--ink .meta { color: #a29c92; }
.card--ink blockquote::before { color: var(--lime); }

.card.is-hidden { display: none; }
.empty { display: none; text-align: center; padding: 48px; font-family: var(--f-mono); color: var(--muted); }
.empty.is-visible { display: block; }

.load-more { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- Galeria ---------- */
.gallery-band { background: var(--ink); color: var(--bg); border-radius: 36px; padding: 56px 0; overflow: hidden; }
.gallery-band .section__head { padding-inline: 48px; }
.gallery-band .eyebrow { color: var(--lime); }
.gallery {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 48px 16px; scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.shot {
  flex: 0 0 auto; width: 280px; scroll-snap-align: start; margin: 0;
  background: #f3efe7; color: #151515; padding: 12px 12px 16px; border-radius: 6px;
  transform: rotate(var(--r, 0deg)); transition: transform .3s;
}
.shot:nth-child(odd) { --r: -2deg; }
.shot:nth-child(even) { --r: 1.8deg; }
.shot:hover { transform: rotate(0) scale(1.03); }
.shot img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 2px; }
.shot figcaption { font-family: var(--f-mono); font-size: 12px; margin-top: 10px; display: flex; justify-content: space-between; }
.gallery-nav { display: flex; gap: 8px; }
.gallery-nav .icon-btn { background: transparent; border-color: #3a3833; color: var(--bg); }
.gallery-nav .icon-btn:hover { background: var(--lime); color: #151515; }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.about__card {
  position: relative; background: var(--sun); border-radius: 50% 50% var(--radius) var(--radius);
  aspect-ratio: 4/5; display: grid; place-items: center; overflow: hidden; border: 1.5px solid #151515;
}
.about__card img { width: 72%; }
.about__card .terminal {
  position: absolute; left: 16px; right: 16px; bottom: 16px; background: #151515; color: var(--lime);
  font-family: var(--f-mono); font-size: 12px; padding: 12px 14px; border-radius: 12px; line-height: 1.6;
}
.about__card .terminal span { color: #8a857c; }
.about h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -.03em; margin: 8px 0 20px; }
.about h2 em { color: var(--accent); }
.about p { color: var(--ink-soft); font-size: 18px; margin: 0 0 18px; }
.about__list { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about__list li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 15px; display: flex; gap: 10px; align-items: center; }
.about__list li b { font-family: var(--f-pixel); font-weight: 400; font-size: 18px; }

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--accent); color: #fff; border-radius: 36px; padding: 64px 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden;
}
.newsletter::after {
  content: ">_"; position: absolute; right: -10px; bottom: -70px; font-family: var(--f-pixel);
  font-size: 260px; line-height: 1; color: rgba(255,255,255,.12); pointer-events: none;
}
.newsletter h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.02; letter-spacing: -.03em; margin: 0 0 12px; }
.newsletter p { margin: 0; opacity: .92; font-size: 18px; }
.subscribe { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: 999px; position: relative; z-index: 1; }
.subscribe input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 18px; color: #151515; outline: none; }
.subscribe .btn { box-shadow: none; background: #151515; color: #fff; }
.subscribe .btn:hover { transform: none; background: #333; }
.newsletter small { display: block; margin-top: 12px; font-family: var(--f-mono); font-size: 12px; opacity: .85; position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.footer { padding: 72px 0 32px; margin-top: 56px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer__brand img { width: 160px; filter: var(--logo-filter); }
.footer__brand p { color: var(--muted); font-size: 15px; max-width: 300px; }
.footer h4 { font-family: var(--f-pixel); font-weight: 400; font-size: 13px; letter-spacing: .06em; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--ink-soft); font-size: 15px; }
.footer ul a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px dashed var(--line); font-family: var(--f-mono); font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.socials { display: flex; gap: 8px; margin-top: 20px; }

/* ---------- Busca (overlay) ---------- */
.search {
  position: fixed; inset: 0; z-index: 200; background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px); display: none; padding: 14vh 16px 16px;
}
.search.is-open { display: block; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.search__box { width: min(720px, 100%); margin: 0 auto; }
.search__field {
  display: flex; align-items: center; gap: 14px; border-bottom: 2px solid var(--ink); padding: 8px 0;
  font-family: var(--f-mono); font-size: 22px;
}
.search__field span { color: var(--accent); }
.search__field input { flex: 1; border: 0; background: transparent; outline: none; font-family: var(--f-display); font-size: clamp(26px, 5vw, 40px); min-width: 0; }
.search__results { margin-top: 24px; display: grid; gap: 4px; }
.search__results a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 12px; border-radius: 12px; }
.search__results a:hover { background: var(--card); }
.search__hint { font-family: var(--f-mono); font-size: 12px; color: var(--muted); margin-top: 16px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 140%); z-index: 300;
  background: var(--ink); color: var(--bg); padding: 14px 20px; border-radius: 999px;
  font-size: 15px; display: flex; gap: 10px; align-items: center; transition: transform .45s cubic-bezier(.3,1.5,.5,1);
  max-width: calc(100% - 32px);
}
.toast.is-show { transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================
   Página de post
   ========================================================== */
.progress { position: fixed; top: 0; left: 0; height: 4px; background: var(--accent); width: 0; z-index: 60; }
.post-hero { padding: 56px 0 32px; text-align: center; }
.post-hero .wrap { max-width: 860px; }
.post-hero h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 6.4vw, 78px); line-height: 1.02; letter-spacing: -.035em; margin: 20px 0; }
.post-hero h1 em { color: var(--accent); }
.post-hero .lead { font-size: 21px; color: var(--ink-soft); max-width: 640px; margin: 0 auto 28px; }
.post-hero .meta, .post-hero .author { justify-content: center; }
.back { display: inline-flex; gap: 8px; align-items: center; font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.back:hover { color: var(--accent); }
.post-cover { width: min(1200px, 100% - 32px); margin: 16px auto 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 21/9; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-caption { text-align: center; font-family: var(--f-mono); font-size: 12px; color: var(--muted); margin-top: 12px; }

.post-layout { display: grid; grid-template-columns: 1fr minmax(0, 700px) 1fr; gap: 32px; padding: 56px 0; }
.post-share { position: sticky; top: 110px; align-self: start; justify-self: end; display: grid; gap: 8px; }
.prose { grid-column: 2; font-size: 19px; line-height: 1.75; color: var(--ink-soft); }
.prose > p:first-of-type::first-letter {
  font-family: var(--f-display); float: left; font-size: 92px; line-height: .82; padding: 8px 12px 0 0; color: var(--ink);
}
.prose h2 { font-family: var(--f-display); font-weight: 500; font-size: 34px; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); margin: 56px 0 16px; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose blockquote {
  margin: 44px 0; padding: 0 0 0 28px; border-left: 4px solid var(--lime);
  font-family: var(--f-display); font-style: italic; font-size: 30px; line-height: 1.25; color: var(--ink); letter-spacing: -.015em;
}
.prose figure { margin: 44px -60px; }
.prose figure img { border-radius: var(--radius-sm); width: 100%; }
.prose figcaption { font-family: var(--f-mono); font-size: 12px; color: var(--muted); margin-top: 10px; text-align: center; }
.prose .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.prose .duo img { aspect-ratio: 3/4; object-fit: cover; }
.prose code { font-family: var(--f-mono); font-size: .85em; background: var(--bg-soft); padding: 2px 6px; border-radius: 6px; }
.prose .note {
  background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 18px 20px;
  font-size: 16px; display: flex; gap: 14px;
}
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 44px; }
.reactions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.reaction {
  border: 1.5px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 14px; cursor: pointer;
  font-size: 15px; display: inline-flex; gap: 8px; align-items: center; transition: transform .2s, border-color .2s;
}
.reaction:hover { transform: translateY(-2px); border-color: var(--ink); }
.reaction.is-on { background: var(--lime); border-color: #151515; color: #151515; }
.reaction b { font-family: var(--f-mono); font-weight: 500; font-size: 13px; }
.author-box {
  margin-top: 56px; display: flex; gap: 20px; align-items: center; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.author-box img { width: 76px; height: 76px; border-radius: 50%; background: var(--lilac); padding: 8px; filter: var(--logo-filter); }
.author-box h4 { margin: 0 0 4px; font-family: var(--f-display); font-weight: 500; font-size: 22px; }
.author-box p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- Responsivo ---------- */
@media (max-width: 1020px) {
  .posts { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .prose figure { margin-inline: 0; }
  .post-layout { grid-template-columns: minmax(0, 1fr); }
  .prose { grid-column: 1; }
  .post-share { position: static; grid-auto-flow: column; justify-self: start; order: 2; }
}
@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; background: var(--bg); padding: 16px;
    border-bottom: 1px solid var(--line); display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { font-size: 20px; padding: 12px 16px; }
  .menu-btn { display: grid; }
  .header__actions { margin-left: auto; }
  .hero { padding-top: 40px; }
  .hero__grid, .featured, .about, .newsletter { grid-template-columns: 1fr; }
  .hero__art { max-width: 320px; order: -1; }
  .featured__media { min-height: 280px; }
  .featured__body { padding: 28px; }
  .newsletter { padding: 44px 24px; border-radius: 28px; }
  .gallery-band { border-radius: 28px; }
  .gallery-band .section__head { padding-inline: 24px; }
  .gallery { padding-inline: 24px; }
  .about__card { max-width: 380px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .posts { grid-template-columns: 1fr; }
  .card--tall { grid-row: auto; }
  .card--tall .card__media { aspect-ratio: 4/3; }
  .footer__grid { grid-template-columns: 1fr; }
  .brand__name small { display: none; }
  .about__list { grid-template-columns: 1fr; }
  .subscribe { flex-direction: column; border-radius: 22px; }
  .subscribe .btn { justify-content: center; }
  .sticker--1 { left: 0; } .sticker--2 { right: 0; }
  .post-cover { aspect-ratio: 4/3; }
  .prose { font-size: 17px; }
  .prose blockquote { font-size: 24px; }
  .author-box { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   Peças dinâmicas (PHP)
   ========================================================== */
a.chip { display: inline-block; }
.load-more { gap: 12px; flex-wrap: wrap; }

a.shot { display: block; }
.shot__cap { font-family: var(--f-mono); font-size: 12px; margin-top: 10px; display: flex; justify-content: space-between; gap: 8px; }
.shot__cap span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.prose p img, .prose > img { border-radius: var(--radius-sm); margin: 28px auto; height: auto; }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 8px 0 24px; }
.photo-grid figure { margin: 0; }
.photo-grid button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius-sm); overflow: hidden; }
.photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s; }
.photo-grid button:hover img { transform: scale(1.05); }
.photo-grid figcaption { font-family: var(--f-mono); font-size: 12px; color: var(--muted); margin-top: 6px; }

.lightbox {
  position: fixed; inset: 0; z-index: 250; background: rgba(12,12,11,.92); display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; cursor: zoom-out;
}
.lightbox.is-open { display: flex; animation: fade .2s; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 8px; }
.lightbox p { color: #f3efe7; font-family: var(--f-mono); font-size: 13px; margin: 0; }

.admin-bar { background: var(--sun); color: #151515; font-size: 14px; padding: 10px 0; border-bottom: 1.5px solid #151515; }
.admin-bar a { font-weight: 700; text-decoration: underline; margin-left: 10px; }

.post-hero--quote { border-radius: 0 0 36px 36px; padding-bottom: 56px; margin-bottom: 0; }
.post-hero--quote h1 { font-style: italic; }
.post-hero--quote h1::before { content: "“"; display: block; font-size: 1.4em; line-height: .5; color: var(--accent); font-style: normal; }
.post-hero--quote.card--lime, .post-hero--quote.card--lilac { color: #151515; }
.post-hero--quote.card--lime .lead, .post-hero--quote.card--lilac .lead,
.post-hero--quote.card--lime .meta, .post-hero--quote.card--lilac .meta,
.post-hero--quote.card--lime .back, .post-hero--quote.card--lilac .back { color: #3a3833; }
.post-hero--quote.card--ink .back, .post-hero--quote.card--ink .meta { color: #a29c92; }
.post-hero--quote.card--ink h1::before { color: var(--lime); }

/* listas vindas do editor (Quill usa <ol data-list="bullet">) */
.prose ol li[data-list="bullet"] { list-style-type: disc; }
.prose ul, .prose ol { padding-left: 1.4em; }
