/* Blog Moriah — mesma identidade do site (oliva + ouro), mas leve: sem 3D, foco em leitura e velocidade */
:root {
  --oliva-950: #0e1008; --oliva-900: #14170d; --oliva-800: #1c2013; --oliva-700: #2a2f1d;
  --ouro: #d6bf94; --ouro-claro: #ecdcb8; --ouro-escuro: #a88f62; --marfim: #f2ece0;
  --texto-suave: rgba(242, 236, 224, 0.68); --linha: rgba(214, 191, 148, 0.22);
  --serif-display: "Italiana", "Cormorant Garamond", serif; --serif: "Cormorant Garamond", serif;
  --sans: "Manrope", system-ui, sans-serif; --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 64px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { background: var(--oliva-900); color: var(--marfim); font-family: var(--sans); font-weight: 300; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { color: var(--ouro); display: inline-flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--ouro); }
.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05;
  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='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 16px var(--gutter); background: rgba(20,23,13,.95); border-bottom: 1px solid var(--linha); }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif-display); font-size: 24px; letter-spacing: .16em; color: var(--ouro); }
.brand__by { font-family: var(--serif); font-style: italic; font-size: 12px; color: var(--ouro-escuro); margin-top: 3px; align-self: flex-end; }
.nav__right { display: flex; align-items: center; gap: 24px; color: var(--texto-suave); }
.nav__right a:hover { color: var(--ouro-claro); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border: 1px solid var(--ouro); border-radius: 100px; font-size: 13px; color: var(--ouro-claro); transition: background .3s, color .3s; }
.btn:hover { background: rgba(214,191,148,.12); }
.btn--solid { background: var(--ouro); color: var(--oliva-900); }
.btn--solid:hover { background: var(--marfim); color: var(--oliva-900); }

/* ---------- índice ---------- */
.hub { padding: clamp(60px, 10vh, 110px) var(--gutter); max-width: 1320px; margin: 0 auto; }
.hub__head h1 { font-family: var(--serif-display); font-weight: 400; font-size: clamp(48px, 7vw, 110px); line-height: 1; margin: 20px 0 18px; }
.hub__head p { color: var(--texto-suave); font-size: 17px; line-height: 1.7; max-width: 640px; }
.feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; margin-top: clamp(50px, 8vh, 90px); padding-bottom: 50px; border-bottom: 1px solid var(--linha); }
.feature__img { overflow: hidden; aspect-ratio: 4 / 3; }
.feature__img img, .card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.1,1); }
.feature:hover img, .card:hover img { transform: scale(1.05); }
.feature__body { display: flex; flex-direction: column; gap: 14px; }
.feature__t { font-family: var(--serif); font-size: clamp(30px, 3vw, 46px); line-height: 1.08; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 36px 28px; margin-top: 50px; }
.card { display: flex; flex-direction: column; gap: 12px; }
.card__img { overflow: hidden; aspect-ratio: 3 / 2; margin-bottom: 6px; }
.card__cat { color: var(--ouro); }
.card__t { font-family: var(--serif); font-size: 27px; line-height: 1.12; }
.card__p { color: var(--texto-suave); font-size: 14.5px; line-height: 1.65; }
.card__go { color: var(--ouro-claro); margin-top: 4px; }
.card:hover .card__t, .feature:hover .feature__t { color: var(--ouro-claro); }

/* ---------- artigo ---------- */
.post { padding: 40px var(--gutter) 90px; max-width: 1240px; margin: 0 auto; }
.crumbs { color: var(--texto-suave); }
.crumbs a:hover { color: var(--ouro-claro); }
.post__head { max-width: 860px; margin: 50px 0 40px; }
.post__head h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 4.6vw, 70px); line-height: 1.04; margin: 22px 0 22px; }
.post__lead { font-size: 19px; line-height: 1.7; color: var(--texto-suave); }
.post__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; color: var(--ouro-escuro); }
.post__img { aspect-ratio: 16 / 8; overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; }
.post__grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); margin-top: 60px; }
.toc { position: sticky; top: 100px; align-self: start; }
.toc p { color: var(--ouro); margin-bottom: 14px; }
.toc ol { list-style: none; border-left: 1px solid var(--linha); }
.toc li a { display: block; padding: 8px 0 8px 16px; color: var(--texto-suave); font-size: 14px; line-height: 1.4; }
.toc li a:hover { color: var(--ouro-claro); }
.prose { max-width: 720px; font-size: 17.5px; line-height: 1.8; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.4vw, 38px); line-height: 1.15; margin: 54px 0 16px; color: var(--marfim); }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 18px; color: rgba(242,236,224,.84); }
.prose ul { margin: 0 0 22px; padding: 0; list-style: none; }
.prose li { position: relative; padding: 8px 0 8px 26px; border-bottom: 1px solid var(--linha); color: rgba(242,236,224,.84); }
.prose li::before { content: ""; position: absolute; left: 0; top: 19px; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--ouro); }
.prose strong { color: var(--ouro-claro); font-weight: 500; }
.faq details { border-bottom: 1px solid var(--linha); padding: 18px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 22px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ouro); font-family: var(--sans); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--texto-suave); font-size: 16px; }
.cta { margin-top: 56px; padding: clamp(28px, 4vw, 48px); border: 1px solid rgba(214,191,148,.4); background: var(--oliva-800); }
.cta h2 { margin-top: 0 !important; }
.cta__row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.disc { margin-top: 30px; font-size: 13px !important; color: rgba(242,236,224,.45) !important; line-height: 1.6; }
.related { margin-top: 100px; padding-top: 50px; border-top: 1px solid var(--linha); }
.related .cards { margin-top: 30px; }

.foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 50px var(--gutter); background: var(--oliva-950); border-top: 1px solid var(--linha); color: var(--texto-suave); font-size: 13.5px; }
.foot div { display: flex; flex-direction: column; gap: 8px; }
.foot b { color: var(--ouro); font-weight: 400; margin-bottom: 6px; }
.foot a:hover { color: var(--ouro-claro); }
.foot__d { grid-column: 1 / -1; font-size: 12px; color: rgba(242,236,224,.38); max-width: 820px; }

@media (max-width: 899px) {
  .nav__right { gap: 14px; }
  .nav__right .btn { padding: 9px 14px; font-size: 12px; }
  .nav__right a.mono:first-child { display: none; }
  .feature { grid-template-columns: 1fr; }
  .post__grid { grid-template-columns: 1fr; margin-top: 36px; }
  .toc { position: static; }
  .prose { font-size: 16.5px; }
  .foot { grid-template-columns: 1fr; }
}
