/* Veyris — Canto literário e quieto: pergaminho quente (#F3EBDD / #EFE6D2), carvão (#1A1A1A / #2B2A28), taupe (#8C8578) e ouro antigo (#C9B07A) */
:root {
  --bg: #F3EBDD;
  --bg-alt: #EAE0CE;
  --ink: #1A1A1A;
  --ink-soft: #2B2A28;
  --muted: #6E685C;
  --taupe: #8C8578;
  --gold: #C9B07A;
  --gold-ink: #7A602E;
  --line: #D5CBB8;
  --line-dark: #2B2A28;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; transition: color .15s ease, opacity .15s ease; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 22px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Barra superior noite */
.topbar { background: var(--ink); color: var(--bg); height: 38px; border-bottom: 1px solid #33302B; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar-quote { font: italic 13px 'Cormorant Garamond', Georgia, serif; color: var(--gold); letter-spacing: .02em; }
.topbar-links { display: flex; gap: 18px; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.topbar-links a:hover { color: var(--gold); }

/* Menu mobile */
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 24px; padding: 6px 0; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; height: 1.5px; background: var(--bg); margin: 4px 0; }
.menu nav {
  position: absolute; top: 34px; left: 0; background: var(--ink); color: var(--bg);
  padding: 16px 22px; z-index: 30; min-width: 270px; border: 1px solid #3A3630;
  max-height: 82vh; overflow-y: auto;
}
.menu nav a {
  display: block; padding: 8px 0; font-size: 12px; text-transform: uppercase;
  letter-spacing: .1em; border-bottom: 1px solid #2C2925; color: var(--bg);
}
.menu nav a:hover { color: var(--gold); }
.menu .m-sec { margin: 14px 0 4px; font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.menu nav a.m-sub { text-transform: none; font-size: 13px; padding-left: 10px; color: #D8D0C1; }

/* Cabeçalho literário */
.masthead { padding-top: 48px; padding-bottom: 8px; text-align: center; }
.logo {
  display: inline-block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(48px, 9vw, 88px);
  line-height: .95;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
}
.tagline {
  font: italic 19px/1.4 'Cormorant Garamond', Georgia, serif;
  margin: 10px auto 24px;
  color: var(--ink-soft);
  max-width: 560px;
}
.catnav {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
  gap: 8px 26px; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  padding: 13px 10px; font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .12em;
}
.catnav a:hover, .catnav a.on { color: var(--gold-ink); }
.catnav .nav-ext { color: var(--gold-ink); font-weight: 600; }

main.wrap { padding-top: 34px; padding-bottom: 64px; }

/* Hero */
.home-pos {
  font: italic 20px/1.5 'Cormorant Garamond', Georgia, serif;
  text-align: center; margin: 0 auto 24px; max-width: 680px; color: var(--ink-soft);
}
.hero { margin-bottom: 36px; }
.hero-main {
  position: relative; display: block; overflow: hidden;
  border: 1px solid var(--line-dark); background: var(--ink);
}
.hero-main img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; opacity: .92; transition: transform .4s ease, opacity .3s ease; }
.hero-main:hover img { transform: scale(1.015); opacity: 1; }
.hero-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(20, 19, 17, .92) 45%, rgba(20, 19, 17, .98));
  color: var(--bg); text-align: center; padding: 38px 24px 24px;
}
.hero-cat {
  display: block; font-size: 11px; font-weight: 500; text-transform: uppercase;
  letter-spacing: .18em; color: var(--gold);
}
.hero-cat:after { content: ""; display: block; width: 64px; height: 1px; background: var(--gold); margin: 8px auto 10px; opacity: .7; }
.hero-tit {
  display: block; font: 500 clamp(22px, 3.4vw, 34px)/1.18 'Cormorant Garamond', Georgia, serif;
  max-width: 760px; margin: 0 auto;
}

/* Divisor com linha */
.linha {
  display: flex; align-items: center; gap: 16px;
  font: 600 13px 'Inter', sans-serif; text-transform: uppercase; letter-spacing: .16em;
  color: var(--ink-soft); margin: 36px 0 18px;
}
.linha:before, .linha:after { content: ""; flex: 1; height: 1px; background: var(--line-dark); opacity: .45; }

/* Editorias */
.stories {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 38px;
}
.story {
  position: relative; display: block; border: 1px solid var(--line-dark);
  background: var(--ink); overflow: hidden;
}
.story img { width: 100%; aspect-ratio: 16/10; object-fit: cover; opacity: .82; transition: opacity .25s ease; }
.story:hover img { opacity: .96; }
.story span {
  display: block; padding: 14px 14px 16px; background: var(--ink); color: var(--bg);
  font: 500 17px/1.2 'Cormorant Garamond', Georgia, serif; letter-spacing: .04em;
}
.story i {
  display: block; font: 400 11px 'Inter', sans-serif; text-transform: uppercase;
  letter-spacing: .1em; color: var(--gold); margin-top: 5px;
}

/* Colunas e lista de artigos */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 42px; align-items: start; }
.post {
  display: grid; grid-template-columns: 250px 1fr; gap: 20px;
  padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line);
}
.post-img { border: 1px solid var(--line-dark); overflow: hidden; background: var(--ink); align-self: start; }
.post-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-img:hover img { opacity: .9; }
.cat {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; color: var(--gold-ink); margin: 0 0 6px;
}
.post-tit {
  font: 600 24px/1.18 'Cormorant Garamond', Georgia, serif;
  margin: 0 0 6px; color: var(--ink);
}
.post-tit a:hover { color: var(--gold-ink); }
.byline { font: italic 13.5px 'Cormorant Garamond', Georgia, serif; color: var(--muted); margin: 0 0 10px; }
.intro { margin: 0 0 12px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }
.vermais {
  display: inline-block; font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; border-bottom: 1px solid var(--gold-ink); padding-bottom: 3px;
  margin-bottom: 10px; color: var(--ink);
}
.vermais:hover { color: var(--gold-ink); }
.share { display: flex; gap: 6px; flex-wrap: wrap; }
.share a {
  border: 1px solid var(--line); color: var(--muted); font-size: 10px;
  font-weight: 500; text-transform: uppercase; letter-spacing: .08em; padding: 3px 9px;
}
.share a:hover { color: var(--ink); border-color: var(--ink); }

/* Sidebar */
.sidebar { position: sticky; top: 24px; }
.side-box {
  background: var(--ink); color: var(--bg); padding: 22px 20px;
  border: 1px solid var(--line-dark); margin-bottom: 24px;
}
.side-box-tit {
  font: 500 20px/1.2 'Cormorant Garamond', Georgia, serif;
  letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px;
}
.side-box p { font-size: 14px; line-height: 1.6; color: #DED6C6; margin: 0 0 14px; }
.side-quote {
  font: italic 16px/1.45 'Cormorant Garamond', Georgia, serif;
  border-left: 2px solid var(--gold); padding-left: 12px; color: var(--bg); margin: 12px 0 16px;
}
.side-btn {
  display: block; text-align: center; background: var(--gold); color: var(--ink);
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
  padding: 10px 14px; margin-top: 8px;
}
.side-btn.outline {
  background: transparent; color: var(--bg); border: 1px solid var(--gold);
}
.side-btn:hover { opacity: .9; }
.side-tit {
  font: 600 13px 'Inter', sans-serif; text-transform: uppercase;
  letter-spacing: .14em; margin: 24px 0 10px; border-bottom: 1px solid var(--line-dark); padding-bottom: 6px;
}
.side-cats { list-style: none; padding: 0; margin: 0; }
.side-cats li { border-bottom: 1px solid var(--line); }
.side-cats a {
  display: block; padding: 9px 0; font: 500 17px 'Cormorant Garamond', Georgia, serif;
}
.side-cats a:hover { color: var(--gold-ink); }

/* Página de categoria */
.cat-h1 { font: 500 36px/1.15 'Cormorant Garamond', Georgia, serif; margin: 0 0 12px; }
.filtros { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.filtros button {
  background: var(--bg-alt); color: var(--ink); border: 1px solid var(--line);
  font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em;
  padding: 6px 11px; cursor: pointer;
}
.filtros button.on { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.cat-desc {
  font: italic 18px/1.5 'Cormorant Garamond', Georgia, serif; color: var(--ink-soft);
  border-bottom: 1px solid var(--line-dark); padding-bottom: 16px; margin: 0 0 26px;
}
.vazio { font: italic 17px 'Cormorant Garamond', Georgia, serif; color: var(--muted); }

/* Artigo */
.migalhas { font-size: 11px; color: var(--muted); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .08em; }
.migalhas a:hover { color: var(--ink); }
.art-tit { font: 500 clamp(28px, 4.2vw, 42px)/1.12 'Cormorant Garamond', Georgia, serif; margin: 0 0 8px; }
.share-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; margin: 14px 0 20px; }
.lead { font: italic 20px/1.5 'Cormorant Garamond', Georgia, serif; color: var(--ink-soft); margin: 0 0 20px; }
.resposta {
  border-left: 3px solid var(--gold-ink); background: var(--bg-alt);
  padding: 16px 20px; margin: 0 0 24px;
}
.resposta-tit {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; color: var(--gold-ink); margin: 0 0 6px;
}
.resposta p { margin: 0; font-size: 15px; line-height: 1.65; }
.capa { margin: 0 0 26px; border: 1px solid var(--line-dark); background: var(--ink); }
.capa img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.texto { font-size: 16.5px; line-height: 1.8; color: var(--ink-soft); }
.texto p { margin: 0 0 1.25em; }
.texto h2 {
  font: 600 28px/1.22 'Cormorant Garamond', Georgia, serif;
  color: var(--ink); margin: 1.8em 0 .6em; border-bottom: 1px solid var(--line); padding-bottom: 6px;
}
.texto h3 { font: 600 21px/1.3 'Cormorant Garamond', Georgia, serif; color: var(--ink); margin: 1.4em 0 .45em; }
.texto a { color: var(--gold-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.texto a:hover { color: var(--ink); }
.texto strong { font-weight: 600; color: var(--ink); }
.texto blockquote {
  margin: 1.5em 0; padding: 14px 22px; background: var(--ink); color: var(--bg);
  border-left: 3px solid var(--gold); font: italic 19px/1.55 'Cormorant Garamond', Georgia, serif;
}
.texto blockquote p { margin: 0; }
.texto ul, .texto ol { padding-left: 22px; margin: 0 0 1.25em; }
.texto li { margin: .45em 0; }
.texto table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 14.5px; background: var(--bg-alt); }
.texto th, .texto td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.texto th { background: var(--ink); color: var(--gold); font-weight: 500; text-transform: uppercase; font-size: 11.5px; letter-spacing: .08em; }

/* Box de Mantra / YouTube embed */
.mantra-embed {
  background: var(--ink); color: var(--bg); border: 1px solid var(--line-dark);
  padding: 22px; margin: 30px 0;
}
.mantra-embed-tit {
  font: 500 21px/1.25 'Cormorant Garamond', Georgia, serif; color: var(--gold); margin: 0 0 6px;
}
.mantra-embed p { font-size: 14px; color: #D8D0C1; margin: 0 0 14px; }
.yt-frame { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border: 1px solid #3A3630; }
.yt-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.yt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 36px; }
.yt-card { background: var(--ink); color: var(--bg); border: 1px solid var(--line-dark); padding: 16px; }
.yt-card h3 { font: 500 19px/1.25 'Cormorant Garamond', Georgia, serif; color: var(--bg); margin: 12px 0 6px; }
.yt-card p { font-size: 13px; color: var(--gold); margin: 0; }

/* FAQ e Relacionados */
.cluster-link { border-top: 1px solid var(--line); padding-top: 14px; margin: 26px 0; font-size: 15px; }
.cluster-link a { color: var(--gold-ink); text-decoration: underline; }
.faq { margin: 36px 0; background: var(--bg-alt); padding: 22px; border: 1px solid var(--line); }
.faq h2 { font: 600 24px 'Cormorant Garamond', Georgia, serif; margin: 0 0 12px; }
.faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.faq p { margin: 8px 0 0; font-size: 15px; color: var(--ink-soft); }
.minis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.mini { border: 1px solid var(--line); background: var(--bg-alt); padding: 12px; }
.mini img { aspect-ratio: 16/9; object-fit: cover; width: 100%; margin-bottom: 10px; }
.mini h3 { font: 600 19px/1.2 'Cormorant Garamond', Georgia, serif; margin: 0; }
.mini h3 a:hover { color: var(--gold-ink); }

/* Rodapé */
.rodape {
  background: var(--ink); color: var(--bg); text-align: center;
  padding: 48px 0 36px; border-top: 2px solid var(--gold);
}
.logo-sm { color: var(--bg); font-size: 44px; }
.rodape nav {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 24px;
  margin: 18px 0; font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em;
}
.rodape nav a:hover { color: var(--gold); }
.rod-pos { font: italic 18px 'Cormorant Garamond', Georgia, serif; color: var(--gold); margin: 10px 0; }
.rodape p { font-size: 12px; color: #A79E8E; margin: 6px 0; }

@media (max-width: 860px) {
  .cols, .yt-grid { grid-template-columns: 1fr; }
  .stories { grid-template-columns: repeat(2, 1fr); }
  .masthead { padding-top: 28px; }
  .topbar-quote { display: none; }
}
@media (max-width: 580px) {
  .post { grid-template-columns: 1fr; gap: 12px; }
  .stories, .minis { grid-template-columns: 1fr; }
  .hero-cap { position: static; background: var(--ink); padding: 18px 16px; }
}
