@font-face {
  font-family: "Fira Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/fira-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "Fira Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/fira-sans-500.woff2") format("woff2");
}
@font-face {
  font-family: "Fira Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/fira-sans-600.woff2") format("woff2");
}
@font-face {
  font-family: "Fira Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/fira-sans-700.woff2") format("woff2");
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/work-sans-var.woff2") format("woff2");
}

:root {
  --ink: #141414;
  --ink-2: #34302b;
  --muted: #6d675f;
  --paper: #ffffff;
  --soft: #f4f0ea;
  --soft-2: #ebe5dc;
  --line: #e3ddd3;
  --accent: #d22b1f;
  --accent-dark: #a91f16;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(20, 20, 20, 0.09);
  --font-display: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Fira Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
img.is-broken { display: none; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: calc(100% - 40px); max-width: var(--wrap); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink);
  color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------------------------------------------------------------- header */
.site-header { position: relative; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
.topbar { background: var(--ink); color: #f4f0ea; font-size: 12px; letter-spacing: 0.02em; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar__tagline { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0.85; }
.topbar__links { display: flex; gap: 18px; }
.topbar__links a { color: inherit; opacity: 0.85; }
.topbar__links a:hover { color: #fff; opacity: 1; }

.masthead { display: flex; align-items: center; gap: 26px; padding-block: 20px; }
.brand { display: inline-flex; align-items: flex-start; gap: 2px; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.045em; line-height: 0.92; }
.brand__name { font-size: 30px; white-space: nowrap; }
.brand__name em { font-style: normal; color: var(--muted); font-weight: 500; }
.brand__plus { color: var(--accent); font-size: 34px; line-height: 0.8; }
.brand:hover { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; border: 0; background: none;
  padding: 6px 0; cursor: pointer; font-family: var(--font-display); font-size: 12px;
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2);
  border-bottom: 2px solid transparent; list-style: none; white-space: nowrap;
}
.nav__link::-webkit-details-marker { display: none; }
.nav__link:hover, .nav__link.is-active { color: var(--accent); border-bottom-color: var(--accent); }
.nav__drop { position: relative; }
.nav__drop[open] > .nav__link { color: var(--accent); border-bottom-color: var(--accent); }
.nav__sub {
  position: absolute; top: calc(100% + 10px); left: -16px; z-index: 60; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 10px; display: grid; gap: 2px;
}
.nav__sub a { padding: 8px 10px; border-radius: 8px; font-size: 14px; }
.nav__sub a:hover { background: var(--soft); color: var(--accent); }
.nav__sub a:first-child { font-weight: 600; color: var(--accent); }

.search-toggle {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line);
  background: var(--soft); border-radius: 999px; padding: 8px 14px; cursor: pointer;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.search-toggle:hover { border-color: var(--ink); }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; padding: 10px; }
.nav-toggle__bar { display: block; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

.search-bar { border-top: 1px solid var(--line); background: var(--soft); padding-block: 14px; }
.search-bar[hidden] { display: none; }
.search-bar__inner { display: flex; gap: 10px; align-items: center; }
.search-bar input {
  flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 18px; font: inherit; background: #fff;
}
.search-bar button[type="submit"] {
  border: 0; background: var(--accent); color: #fff; border-radius: 999px;
  padding: 12px 22px; font-weight: 600; cursor: pointer;
}
.search-bar__close { border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 6px; }

/* ---------------------------------------------------------------- shared */
.kicker {
  display: inline-block; font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}
.kicker--light { background: #fff; color: var(--accent); padding: 5px 10px; border-radius: 999px; }
.section { padding-block: 46px; border-top: 1px solid var(--line); }
.section--soft { background: var(--soft); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-head h2 { position: relative; margin: 0; font-size: clamp(24px, 2.4vw, 30px); padding-left: 16px; }
.section-head h2::before { content: ""; position: absolute; left: 0; top: 0.14em; bottom: 0.14em; width: 5px; border-radius: 3px; background: var(--accent); }
.section-head__link { font-size: 13px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.section-head__note { font-size: 13px; color: var(--muted); }
.section-label { margin: 0 0 4px; font-family: var(--font-display); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }

/* ----------------------------------------------------------------- cards */
.card { min-width: 0; }
.card__media { display: block; position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--soft-2); }
.card__media::after {
  content: "Cinema e Muito +"; position: absolute; inset: 0; z-index: 0;
  display: grid; place-items: center; padding: 12px;
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: rgba(20, 20, 20, 0.32);
  background: linear-gradient(135deg, var(--soft-2), var(--soft));
}
.card__media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card__media img { transform: scale(1.035); }
.card__placeholder { display: block; width: 100%; height: 100%; background: transparent; }
.card__body { padding-top: 13px; }
.card__title { margin: 0 0 8px; font-size: 20px; line-height: 1.16; }
.card:hover .card__title { color: var(--accent); }
.card__excerpt { margin: 0 0 10px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 0; font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }

/* ------------------------------------------------------------------ hero */
.hero { padding-block: 28px 10px; background: var(--soft); border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr); gap: 34px; align-items: start; }
.hero__main { min-width: 0; }
.hero__media {
  position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 18px;
  overflow: hidden; background: #1d1b19; color: #fff;
}
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05) 20%, rgba(0,0,0,0.78) 100%); }
.hero__content { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 32px; }
.hero__title { margin: 8px 0 0; color: #fff; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.04; max-width: 22ch; }
.hero__media:hover .hero__title { color: #fff; }
.hero__excerpt { margin: 16px 0 8px; font-size: 17px; color: var(--ink-2); max-width: 70ch; }
.hero__meta { display: flex; gap: 8px; margin: 0; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.hero__side { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.mini { display: grid; grid-template-columns: 1fr 84px; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mini:last-child { border-bottom: 0; padding-bottom: 0; }
.mini__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mini__kicker { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.mini__title { font-family: var(--font-display); font-size: 15px; font-weight: 600; line-height: 1.2; }
.mini__meta { font-size: 11px; color: var(--muted); }
.mini img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; }
.mini:hover .mini__title { color: var(--accent); }

/* ---------------------------------------------------------- programação */
.programacao {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 36px;
  background: var(--ink); color: #f4f0ea; border-radius: 22px; padding: clamp(26px, 4vw, 46px);
}
.programacao__intro .kicker { color: #ff8b80; }
.programacao h2 { margin: 4px 0 12px; color: #fff; font-size: clamp(26px, 3vw, 38px); }
.programacao p { color: #c9c4bd; margin-bottom: 22px; max-width: 46ch; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills a {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 14px; font-size: 13px; background: #fff;
}
.pills a:hover { border-color: var(--accent); color: var(--accent); }
.pills--programacao { align-content: start; }
.pills--programacao a { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.18); color: #f4f0ea; }
.pills--programacao a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 999px; padding: 11px 20px; font-weight: 600; font-size: 14px; cursor: pointer; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }

/* -------------------------------------------------------------- tag cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14px; background: #fff; }
.tag-cloud a:hover { border-color: var(--accent); color: var(--accent); }
.tag-cloud span { font-size: 11px; color: var(--muted); }

/* ---------------------------------------------------------------- single */
.single { padding-block: 34px 64px; }
.single__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.single__main { min-width: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span[aria-hidden] { opacity: 0.5; }
.entry-header { margin: 20px 0 26px; }
.entry-title { margin: 4px 0 14px; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.02; letter-spacing: -0.03em; }
.entry-dek { margin: 0 0 18px; font-size: 19px; line-height: 1.5; color: var(--muted); max-width: 68ch; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 13px; color: var(--muted); }
.entry-meta .byline { font-weight: 700; color: var(--ink); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 20px 0 0; }
.share__label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-right: 2px; }
.share a, .share__copy { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 12px; background: #fff; cursor: pointer; }
.share a:hover, .share__copy:hover { border-color: var(--accent); color: var(--accent); }
.share__copy.is-copied { background: var(--accent); border-color: var(--accent); color: #fff; }

.entry-image { margin: 0 0 30px; }
.entry-image img { width: 100%; border-radius: var(--radius); }
.entry-image figcaption { padding-top: 8px; font-size: 12px; color: var(--muted); }

.entry-content { font-size: 18px; line-height: 1.72; max-width: 74ch; }
.entry-content > p:first-of-type { font-size: 19px; }
.entry-content h2 { margin: 1.6em 0 0.5em; font-size: 30px; }
.entry-content h3 { margin: 1.4em 0 0.45em; font-size: 23px; }
.entry-content h4 { margin: 1.3em 0 0.4em; font-size: 19px; }
.entry-content p { margin: 0 0 1.15em; }
.entry-content a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.entry-content a:hover { color: var(--accent-dark); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: 0.4em; }
.entry-content img { border-radius: 10px; margin-block: 0.6em; }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption { font-size: 13px; color: var(--muted); padding-top: 6px; }
.entry-content blockquote { margin: 1.6em 0; padding: 2px 0 2px 22px; border-left: 4px solid var(--accent); font-size: 21px; line-height: 1.5; color: var(--ink-2); }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content iframe { max-width: 100%; border: 0; border-radius: 10px; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.entry-content code { background: var(--soft); padding: 2px 6px; border-radius: 5px; font-size: 0.9em; }
.table-wrap { overflow-x: auto; margin: 1.6em 0; }
.table-wrap table { border-collapse: collapse; width: 100%; font-size: 15px; }
.table-wrap th, .table-wrap td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.table-wrap th { background: var(--soft); font-family: var(--font-display); }
.wp-caption { max-width: 100% !important; }
.wp-caption-text { font-size: 13px; color: var(--muted); padding-top: 6px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 1.6em 0; }
.gallery-item { margin: 0 !important; }
.gallery-item img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; margin: 0 !important; }
.callout { margin: 1.7em 0; padding: 18px 20px; border-radius: 12px; border-left: 4px solid var(--accent); background: var(--soft); font-size: 16px; line-height: 1.55; }
.callout > :last-child { margin-bottom: 0; }
.callout--info { border-left-color: #2f6fb3; background: #eef4fb; }
.callout--warning { border-left-color: #c47f00; background: #fdf6e6; }
.callout--success { border-left-color: #2c7a45; background: #edf7f0; }
.callout--danger { border-left-color: var(--accent); background: #fdeeec; }
.callout--neutral { border-left-color: #7b7369; background: var(--soft); }
.embed-link { padding: 12px 16px; border: 1px dashed var(--line); border-radius: 10px; background: var(--soft); }
.embed-link a { font-weight: 600; }

.video-facade { position: relative; aspect-ratio: 16 / 9; margin: 1.8em 0; border-radius: 14px; overflow: hidden; background: radial-gradient(circle at 50% 40%, #35302a, #121110 70%); }
.video-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-facade__btn { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border: 0; background: transparent; color: #fff; cursor: pointer; }
.video-facade__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.35); transition: transform 0.2s ease; }
.video-facade__icon::after { content: ""; position: absolute; left: 25px; top: 20px; border-style: solid; border-width: 12px 0 12px 18px; border-color: transparent transparent transparent #fff; }
.video-facade__btn:hover .video-facade__icon { transform: scale(1.06); }
.video-facade__label { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

.ad-slot { display: none; margin: 2em 0; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fcfbf9; }
body.consent-granted .ad-slot { display: block; }
.ad-slot__label { display: block; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.ad-slot ins { display: block; min-height: 90px; }

.entry-footer { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.entry-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 8px; }
.entry-tags a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; font-size: 12px; background: var(--soft); }
.entry-tags a:hover { border-color: var(--accent); color: var(--accent); }

.author-box { display: flex; gap: 16px; align-items: flex-start; margin-top: 38px; padding: 22px; border-radius: 14px; background: var(--soft); }
.author-box__avatar { flex: 0 0 54px; width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.author-box h2 { margin: 0 0 6px; font-size: 20px; }
.author-box p { margin: 0 0 8px; font-size: 14px; color: var(--muted); }

.post-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.post-nav__item { display: flex; flex-direction: column; gap: 5px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; }
.post-nav__item span { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.post-nav__item strong { font-family: var(--font-display); font-size: 15px; line-height: 1.25; }
.post-nav__item--next { text-align: right; }
.post-nav__item:hover { border-color: var(--accent); }

.related { margin-top: 48px; }

.comments { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.comments h2 { font-size: 24px; margin: 0 0 18px; }
.comment { padding: 14px 0; border-bottom: 1px solid var(--line); }
.comment__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.comment__head strong { font-size: 14px; }
.comment__head time { font-size: 12px; color: var(--muted); }
.comment__body { font-size: 15px; color: var(--ink-2); }
.comment__body p:last-child { margin-bottom: 0; }
.comments__closed { margin-top: 18px; font-size: 13px; color: var(--muted); font-style: italic; }

.single__aside { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 26px; }
.aside-block { border-top: 1px solid var(--line); padding-top: 16px; }
.aside-block h2 { margin: 0 0 10px; font-size: 19px; }
.aside-block p { font-size: 14px; color: var(--muted); }
.aside-block--note { background: var(--soft); border: 0; border-radius: 12px; padding: 18px; }
.aside-block--note p { margin-bottom: 10px; }
.aside-list { list-style: none; counter-reset: aside; padding: 0; margin: 0; }
.aside-list li { counter-increment: aside; display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.aside-list li::before { content: counter(aside); font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--accent); line-height: 1.1; }
.aside-list a { font-size: 14px; font-weight: 600; line-height: 1.3; }
.aside-list span { display: none; }
.aside-links { list-style: none; padding: 0; margin: 0; }
.aside-links li { border-bottom: 1px solid var(--line); }
.aside-links a { display: block; padding: 9px 0; font-size: 14px; }

/* --------------------------------------------------------------- archive */
.archive { padding-block: 30px 60px; }
.archive-header { max-width: 72ch; margin: 18px 0 34px; }
.archive-header h1 { margin: 0 0 10px; font-size: clamp(32px, 4.2vw, 50px); }
.archive-header p { margin: 0 0 8px; color: var(--muted); }
.archive-count { font-size: 12px !important; text-transform: uppercase; letter-spacing: 0.08em; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.pagination__link { border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: 13px; font-weight: 600; }
.pagination__link:hover { border-color: var(--accent); color: var(--accent); }
.pagination__status { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.pagination__spacer { width: 1px; }
.empty-state { padding: 40px 0; color: var(--muted); }

.page-narrow { max-width: 820px; padding-block: 36px 64px; }
.search-page__form { display: flex; gap: 10px; margin: 22px 0 26px; }
.search-page__form input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 13px 18px; font: inherit; background: #fff; }
.search-page__form button { border: 0; background: var(--accent); color: #fff; border-radius: 999px; padding: 13px 24px; font-weight: 600; cursor: pointer; }
.search-page__form button:hover { background: var(--accent-dark); }
.pagefind-ui {
  --pagefind-ui-primary: var(--accent);
  --pagefind-ui-text: var(--ink);
  --pagefind-ui-background: #fff;
  --pagefind-ui-border: var(--line);
  --pagefind-ui-border-width: 1px;
  --pagefind-ui-border-radius: 10px;
  --pagefind-ui-font: var(--font-body);
}
#search .pagefind-ui__search-input,
#search .pagefind-ui__search-clear,
#search .pagefind-ui__form::before { display: none; }
#search .pagefind-ui__results-area { margin-top: 0; }
#search .pagefind-ui__message { height: auto; padding-block: 12px; }
.pagefind-ui .pagefind-ui__search-input { padding: 13px 16px; font-size: 16px; }
.pagefind-ui .pagefind-ui__result-title { font-family: var(--font-display); }

/* ------------------------------------------------------------------- 404 */
.error-page { padding-block: 60px 90px; max-width: 820px; }
.error-code { margin: 0; font-family: var(--font-display); font-size: clamp(90px, 18vw, 180px); font-weight: 800; line-height: 0.8; color: var(--soft-2); letter-spacing: -0.06em; }
.error-page h1 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 46px); }
.error-page > p { color: var(--muted); max-width: 60ch; }

/* ------------------------------------------------------------------ teste */
.test-table { border-collapse: collapse; width: 100%; font-size: 14px; }
.test-table th, .test-table td { border-bottom: 1px solid var(--line); padding: 9px 10px; text-align: left; vertical-align: top; }
.test-table th { font-family: var(--font-display); background: var(--soft); }
.test-table code { font-size: 12px; background: var(--soft); padding: 2px 5px; border-radius: 4px; }
.checklist { padding-left: 1.2em; }
.checklist li { margin-bottom: 0.5em; }
.test-hint { margin-top: 26px; font-size: 14px; color: var(--muted); }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: #c9c4bd; padding-block: 50px 22px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; }
.brand--footer { color: #fff; margin-bottom: 12px; }
.brand--footer .brand__name em { color: #8f877d; }
.footer-brand p { max-width: 34ch; color: #a8a29a; }
.footer-col h2 { margin: 0 0 12px; color: #fff; font-family: var(--font-display); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #c9c4bd; }
.footer-col a:hover { color: #fff; }
.link-btn { background: none; border: 0; padding: 0; color: #c9c4bd; cursor: pointer; font-size: 14px; text-align: left; }
.link-btn:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 12px; color: #8f877d; }
.footer-bottom p { margin: 0; }

/* --------------------------------------------------------------- consent */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; padding: 14px; }
.consent[hidden] { display: none; }
.consent__inner { width: min(100%, 1000px); margin-inline: auto; display: flex; align-items: center; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 16px 20px; }
.consent__text { flex: 1; }
.consent__text h2 { margin: 0 0 4px; font-size: 17px; }
.consent__text p { margin: 0; font-size: 13px; color: var(--muted); }
.consent__text a { color: var(--accent); text-decoration: underline; }
.consent__actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .nav { gap: 14px; }
  .nav__link { font-size: 11px; }
  .single__grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 36px; }
}

@media (max-width: 1279px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 20px; right: 20px; top: 100%; z-index: 60;
    flex-direction: column; align-items: stretch; gap: 0; background: #fff;
    border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 12px;
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: 11px 8px; border-bottom: 1px solid var(--line); font-size: 13px; }
  .nav__link.is-active { border-bottom-color: var(--line); }
  .nav__drop[open] > .nav__link { border-bottom-color: var(--line); }
  .nav__sub { position: static; box-shadow: none; border: 0; padding: 4px 0 8px 12px; min-width: 0; }
  .search-toggle span { display: none; }
  .search-toggle { padding: 10px; }
  .masthead { position: relative; gap: 14px; }
}

@media (max-width: 980px) {
  .brand__name { font-size: 26px; }
  .brand__plus { font-size: 30px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__side { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .hero__side .section-label { grid-column: 1 / -1; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single__grid { grid-template-columns: 1fr; }
  .single__aside { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  .single__aside .aside-block:first-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 28px); max-width: var(--wrap); }
  .topbar__tagline { display: none; }
  .topbar__inner { justify-content: center; }
  .masthead { padding-block: 14px; }
  .hero { padding-top: 18px; }
  .hero__content { padding: 20px; }
  .hero__title { font-size: clamp(26px, 7vw, 36px); }
  .hero__excerpt { font-size: 16px; }
  .hero__side { grid-template-columns: 1fr; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .section { padding-block: 36px; }
  .programacao { grid-template-columns: 1fr; padding: 24px; }
  .entry-title { font-size: clamp(30px, 8vw, 42px); }
  .entry-dek { font-size: 17px; }
  .entry-content { font-size: 17px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav__item--next { text-align: left; }
  .single__aside { grid-template-columns: 1fr; }
  .consent__inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .consent__actions { justify-content: flex-end; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; }
  .search-bar__inner { flex-wrap: wrap; }
  .search-bar input { flex-basis: 100%; }
  .search-page__form { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
