/* Design tokens — design/untitled.pen
 * Backgrounds: full-bleed. Content: max 1440 via *__inner. */
:root {
  --em-surface-primary: #fafafa;
  --em-surface-inverse: #0a0a0a;
  --em-surface-dark: #141414;
  --em-surface-card: #1a1a1a;
  --em-fg-primary: #0a0a0a;
  --em-fg-inverse: #ffffff;
  --em-fg-muted: #8a8a8a;
  --em-fg-soft: #b8b8b8;
  --em-accent: #c8102e;
  --em-accent-soft: #e8a0a8;
  --em-border-subtle: #2a2a2a;
  --em-border-light: #e5e5e5;
  --em-notas-bg: #3a0a12;
  --em-font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --em-font-body: "Geist Sans", Geist, system-ui, -apple-system, sans-serif;
  --em-font-caption: "Geist Mono", ui-monospace, SFMono-Regular, monospace;
  --em-max: 1440px;
  --em-pad-x: 64px;
  --em-pad-x-section: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--em-font-body);
  color: var(--em-fg-inverse);
  background: var(--em-surface-inverse);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

/* Shared content rail — only the content, never the section background */
.em-inner {
  width: 100%;
  max-width: var(--em-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--em-pad-x);
  padding-right: var(--em-pad-x);
}

.em-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--em-font-body); border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.em-btn--pill { border-radius: 9999px; }
.em-btn--accent { background: var(--em-accent); color: var(--em-fg-inverse); font-weight: 600; font-size: 13px; padding: 10px 22px; }
.em-btn--lg { font-size: 15px; padding: 14px 28px; }
.em-btn--ghost-light { background: transparent; color: var(--em-fg-inverse); border-color: rgba(255,255,255,0.6); font-weight: 500; padding: 14px 24px; }
.em-btn--outline-dark { background: transparent; color: var(--em-fg-inverse); border-color: var(--em-border-subtle); font-size: 14px; font-weight: 400; padding: 12px 20px; }

.em-eyebrow { margin: 0; font-family: var(--em-font-caption); font-size: 12px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; }
.em-eyebrow--accent { color: var(--em-accent); }
.em-heading { margin: 0; font-family: var(--em-font-heading); font-weight: 500; line-height: 1.15; color: var(--em-fg-inverse); }
.em-heading--40 { font-size: 40px; }
.em-heading--36 { font-size: 36px; line-height: 1.2; }
.em-heading--44 { font-size: 44px; line-height: 1.2; }
.em-heading--light { color: #fff; }
.em-body { margin: 0; font-size: 16px; line-height: 1.6; color: var(--em-fg-muted); font-family: var(--em-font-body); }
.em-body--narrow { max-width: 560px; }
.em-dot-label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-family: var(--em-font-caption); font-size: 12px; letter-spacing: 0.12em; color: var(--em-fg-muted); text-transform: uppercase; }
.em-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--em-accent); flex-shrink: 0; }
.em-rule { height: 1px; background: var(--em-border-subtle); width: 100%; }
.em-text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 14px; color: var(--em-fg-inverse); font-family: var(--em-font-body); }

/* Nav — bg full-bleed */
.em-nav { position: sticky; top: 0; z-index: 50; height: 72px; background: var(--em-surface-primary); color: var(--em-fg-primary); }
.em-nav__inner {
  max-width: var(--em-max); margin: 0 auto; height: 100%;
  padding: 0 var(--em-pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.em-nav__brand { font-family: var(--em-font-heading); font-size: 20px; font-weight: 500; color: #0a0a0a; flex: 0 0 auto; }
.em-nav__links { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: center; font-family: var(--em-font-body); }
.em-nav__links a { font-size: 15px; letter-spacing: 0.02em; color: var(--em-fg-primary); text-transform: uppercase; }
.em-nav__burger { display: block; width: 20px; height: 2px; margin: 0 auto; background: var(--em-fg-primary); box-shadow: 0 6px 0 var(--em-fg-primary), 0 -6px 0 var(--em-fg-primary); }

/* Hero — image full-bleed; copy constrained */
.em-hero {
  position: relative; height: 820px;
  background-image: var(--em-hero-img); background-size: cover; background-position: center top; overflow: hidden;
}
.em-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #0a0a0add 0%, #0a0a0a88 40%, #0a0a0a22 75%, #0a0a0a00 100%);
}
.em-hero__content {
  position: relative; z-index: 1;
  max-width: var(--em-max); margin: 0 auto;
  padding: 180px var(--em-pad-x) 64px; width: 100%;
}
.em-hero__content-inner { max-width: 560px; display: flex; flex-direction: column; gap: 28px; }
.em-hero__sig { width: 174px; height: auto; filter: brightness(0) invert(1); }
.em-hero__title { margin: 0; font-family: var(--em-font-heading); font-size: 48px; font-weight: 500; line-height: 1.15; color: var(--em-fg-inverse); }
.em-hero__sub { margin: 0; font-size: 18px; line-height: 1.5; color: var(--em-fg-soft); font-family: var(--em-font-body); }
.em-hero__years {
  margin: 0;
  font-family: var(--em-font-caption);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--em-accent-soft);
}
.em-hero__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--em-fg-muted);
}
.em-hero__social-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.em-hero__social-link:hover { color: var(--em-accent-soft); }
.em-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.em-banner { background: var(--em-surface-inverse); padding: 24px 0 32px; }
.em-banner__inner { max-width: var(--em-max); margin: 0 auto; padding: 0 208px; display: flex; justify-content: center; }
.em-banner__ad {
  display: block; width: 100%; max-width: 1024px; height: 240px;
  border-radius: 2px; overflow: hidden; background: var(--em-surface-dark);
  position: relative;
}
.em-banner__ad img { width: 100%; height: 240px; object-fit: cover; display: block; }
.em-banner__slide {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  transition: opacity .55s ease;
}
.em-banner__slide.is-on { opacity: 1; pointer-events: auto; z-index: 1; }

.em-eventos { background: var(--em-surface-dark); padding: 72px 0; }
.em-eventos__inner { max-width: var(--em-max); margin: 0 auto; padding: 0 var(--em-pad-x-section); display: flex; flex-direction: column; gap: 32px; }
.em-eventos__header { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.em-eventos__left { max-width: 720px; display: flex; flex-direction: column; gap: 12px; }
.em-eventos__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.em-card { background: var(--em-surface-card); border-radius: 8px; overflow: hidden; }
.em-card__link { display: flex; flex-direction: column; gap: 14px; color: inherit; }
.em-card__thumb { height: 220px; background: var(--em-surface-dark) center / cover no-repeat; background-image: var(--thumb); }
.em-card__meta { padding: 0 16px 20px; display: flex; flex-direction: column; gap: 8px; }
.em-card__top { display: flex; justify-content: space-between; gap: 8px; font-family: var(--em-font-caption); font-size: 11px; color: var(--em-fg-muted); }
.em-card__title { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--em-fg-inverse); font-family: var(--em-font-body); }

.em-notas { background: var(--em-notas-bg); padding: 72px 0; }
.em-notas__inner { max-width: var(--em-max); margin: 0 auto; padding: 0 var(--em-pad-x-section); display: flex; flex-direction: column; gap: 24px; }
.em-notas__header { display: flex; flex-direction: column; gap: 24px; }
.em-notas__eyebrow { margin: 0; font-family: var(--em-font-caption); font-size: 13px; font-weight: 600; letter-spacing: 2px; color: #fff; }
.em-notas__rule { display: block; width: 64px; height: 2px; background: #fff; }

.em-mosaic { position: relative; max-height: 800px; overflow: hidden; }
.em-mosaic__stack { display: flex; flex-direction: column; gap: 16px; }
.em-mosaic__row { display: grid; gap: 16px; }
.em-mosaic__row--1 { grid-template-columns: 1.4fr 1fr; min-height: 400px; }
.em-mosaic__row--2 { grid-template-columns: repeat(3, 1fr); min-height: 340px; }
.em-mosaic__row--3 { grid-template-columns: 1.4fr 1fr; min-height: 280px; }
.em-mosaic__lateral { display: flex; flex-direction: column; gap: 16px; min-height: 0; }
.em-mosaic__lateral .em-nota { flex: 1; min-height: 0; }
.em-nota { background: #fff; color: var(--em-fg-primary); border-radius: 2px; overflow: hidden; height: 100%; }
.em-nota__link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.em-nota__foto { height: 55%; min-height: 120px; background: #ddd center / cover no-repeat; background-image: var(--foto); }
.em-nota--lg .em-nota__foto { height: 260px; flex: 0 0 260px; }
.em-nota__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.em-nota__title { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--em-fg-primary); font-family: var(--em-font-body); }
.em-nota--lg .em-nota__title { font-size: 18px; }
.em-nota__date { margin: 0; font-size: 12px; color: var(--em-fg-muted); }
.em-nota__excerpt { margin: 0; font-size: 13px; color: var(--em-fg-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.em-mosaic__fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 400px; pointer-events: none;
  background: linear-gradient(180deg, #3a0a1200 0%, #3a0a1244 25%, #3a0a12bb 55%, #3a0a12 82%, #3a0a12 100%);
}
.em-mosaic__more {
  position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--em-notas-bg); font-size: 14px; font-weight: 600;
  padding: 14px 28px; border-radius: 2px;
}

.em-sobre, .em-viagens { background: var(--em-surface-inverse); padding: 96px 0; }
.em-sobre__inner, .em-viagens__inner { max-width: var(--em-max); margin: 0 auto; padding: 0 var(--em-pad-x); display: flex; flex-direction: column; gap: 64px; }
.em-sobre__row, .em-viagens__row { display: grid; grid-template-columns: 1fr 520px; gap: 80px; align-items: center; }
.em-sobre__row--text { grid-template-columns: 1fr; max-width: 720px; }
.em-viagens__row { grid-template-columns: 1fr 560px; }
.em-sobre__text, .em-viagens__text { display: flex; flex-direction: column; gap: 20px; }
.em-sobre__figure, .em-viagens__figure { margin: 0; overflow: hidden; }
.em-sobre__figure img { width: 100%; height: 560px; object-fit: cover; object-position: center 18%; }
.em-viagens__figure { border-radius: 12px; }
.em-viagens__figure img { width: 100%; height: 420px; object-fit: cover; }

.em-expos { background: var(--em-surface-inverse); padding: 0 0 96px; }
.em-expos__inner { max-width: var(--em-max); margin: 0 auto; padding: 0 var(--em-pad-x); display: flex; flex-direction: column; gap: 48px; }
.em-expos__header { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.em-expos__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.em-stat { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 32px 16px; text-align: center; }
.em-stat__num { font-family: var(--em-font-heading); font-size: 64px; font-weight: 500; line-height: 1; color: var(--em-fg-inverse); }
.em-stat__label { font-family: var(--em-font-caption); font-size: 12px; letter-spacing: 0.08em; color: var(--em-fg-muted); }
.em-expos__list { list-style: none; margin: 0; padding: 0; }
.em-expos__item { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--em-border-subtle); }
.em-expos__title { font-family: var(--em-font-heading); font-size: 22px; font-weight: 400; color: var(--em-fg-inverse); }
.em-expos__venue { font-size: 14px; color: var(--em-fg-muted); text-align: right; font-family: var(--em-font-body); }

.em-parceiros { background: var(--em-surface-inverse); padding: 0 0 96px; }
.em-parceiros__inner { max-width: var(--em-max); margin: 0 auto; padding: 0 var(--em-pad-x); display: flex; flex-direction: column; gap: 48px; }
.em-parceiros__header { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.em-parceiros__bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px; padding: 48px 40px; background: var(--em-surface-dark); border-radius: 12px; }
.em-parceiros__name { font-family: var(--em-font-caption); font-size: 13px; letter-spacing: 0.06em; color: var(--em-fg-soft); }

.em-contato { background: var(--em-surface-dark); padding: 120px 0; }
.em-contato__inner {
  max-width: 720px; margin: 0 auto; padding: 0 var(--em-pad-x);
  display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center;
}
.em-contato__title {
  margin: 0; max-width: 18ch;
  font-family: var(--em-font-heading); font-size: 44px; font-weight: 500;
  line-height: 1.15; letter-spacing: -0.02em; color: var(--em-fg-inverse);
  display: flex; flex-direction: column; align-items: center; gap: 0;
}
.em-contato__line { display: block; }
.em-contato__sub {
  margin: 0; max-width: 38ch;
  font-size: 16px; line-height: 1.55; color: var(--em-fg-soft);
  text-wrap: balance;
}
.em-contato__inner .em-btn { margin-top: 8px; }

.em-footer { background: var(--em-surface-inverse); padding: 48px 0 64px; }
.em-footer__inner { max-width: var(--em-max); margin: 0 auto; padding: 0 var(--em-pad-x); display: flex; flex-direction: column; gap: 32px; }
.em-footer__rule { height: 1px; background: var(--em-border-subtle); }
.em-footer__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; }
.em-footer__brand { display: flex; flex-direction: column; gap: 8px; }
.em-footer__mark { width: 96px; height: auto; filter: brightness(0) invert(1); }
.em-footer__name { margin: 0; font-family: var(--em-font-heading); font-size: 22px; color: var(--em-fg-inverse); }
.em-footer__loc { margin: 0; font-size: 13px; color: var(--em-fg-muted); font-family: var(--em-font-body); }
.em-footer__aside { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; text-align: right; }
.em-footer__cta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.em-footer__cta-title {
  font-family: var(--em-font-heading); font-size: 18px; font-weight: 500;
  color: #fff; text-decoration: none;
}
.em-footer__cta-title:hover { color: var(--em-accent-soft); }
.em-footer__phone,
.em-footer__mail {
  font-size: 14px; color: var(--em-fg-soft); text-decoration: none;
}
.em-footer__phone:hover,
.em-footer__mail:hover { color: #fff; }
.em-footer__social {
  display: flex; gap: 24px;
  font-family: var(--em-font-caption); font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.em-footer__social a { color: var(--em-fg-soft); text-decoration: none; }
.em-footer__social a:hover { color: #fff; }
.em-footer__copy { margin: 4px 0 0; font-size: 12px; color: var(--em-fg-muted); font-family: var(--em-font-body); }
.em-footer__dev { margin: 0; font-size: 12px; color: var(--em-fg-muted); font-family: var(--em-font-body); }
.em-footer__dev a { color: var(--em-fg-soft); text-decoration: none; }
.em-footer__dev a:hover { color: #fff; }

/* Visibility helpers — mobile frame = ≤860px (design 390) */
.em-only-mobile { display: none !important; }
.em-only-desktop { display: revert; }
.em-btn--block { width: 100%; justify-content: center; }
.em-body--soft { color: var(--em-fg-soft); }
.em-body--muted { color: var(--em-fg-muted); text-align: center; }
.em-heading--m26 { font-size: 26px; line-height: 1.25; }
.em-heading--m28 { font-size: 28px; line-height: 1.2; }

/* Offcanvas Mais — mobile */
.em-offcanvas {
  position: fixed; inset: 0; z-index: 80;
  display: flex; justify-content: flex-end;
}
.em-offcanvas[hidden] { display: none !important; }
.em-offcanvas__scrim { position: absolute; inset: 0; background: rgba(0,0,0,0.6); border: 0; cursor: pointer; }
.em-offcanvas__panel {
  position: relative; z-index: 1; width: min(250px, 78vw); height: 100%;
  background: var(--em-surface-inverse); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 20px;
}
.em-offcanvas__head { display: flex; align-items: center; justify-content: space-between; }
.em-offcanvas__title { margin: 0; font-family: var(--em-font-heading); font-size: 24px; font-weight: 400; color: #fff; }
.em-offcanvas__close { background: transparent; border: 0; color: #fff; cursor: pointer; padding: 4px; }
.em-offcanvas__nav { display: flex; flex-direction: column; gap: 0; }
.em-offcanvas__nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; font-size: 16px; color: #fff; text-transform: none; border-bottom: 1px solid var(--em-border-subtle);
}
.em-offcanvas__cta { margin-top: auto; width: 100%; justify-content: center; font-size: 14px; padding: 14px 18px; }

/* Tab bar */
.em-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; height: 72px;
  background: #0f0f0f; padding: 8px 6px 12px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid #1a1a1a;
}
.em-tabbar__item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: transparent; border: 0; color: var(--em-fg-muted); font-family: var(--em-font-body);
  font-size: 10px; font-weight: 400; cursor: pointer; text-decoration: none; padding: 0;
}
.em-tabbar__item.is-active { color: var(--em-accent); font-weight: 600; }
.em-tabbar__icon { display: block; }

@media (max-width: 1100px) {
  :root { --em-pad-x: 32px; --em-pad-x-section: 32px; }
  .em-banner__inner { padding: 0 32px; }
  .em-eventos__grid { grid-template-columns: repeat(2, 1fr); }
}

/* —— Mobile — Eloisa Mattos (design 390) —— */
@media (max-width: 860px) {
  .em-only-desktop { display: none !important; }
  .em-only-mobile { display: flex !important; }
  .em-mosaic-m.em-only-mobile,
  .em-banner-m.em-only-mobile,
  .em-sobre-m.em-only-mobile,
  .em-traj.em-only-mobile,
  .em-viagens-m.em-only-mobile,
  .em-parceiros-m.em-only-mobile,
  .em-contato-m.em-only-mobile,
  .em-footer-m.em-only-mobile { display: flex !important; flex-direction: column; }
  .em-tabbar.em-only-mobile { display: flex !important; }
  .em-eventos__body.em-only-mobile { display: block !important; }
  .em-eventos__more.em-only-mobile { display: inline-flex !important; }

  body { padding-bottom: 72px; }
  body.em-offcanvas-open { overflow: hidden; }

  /* Hero */
  .em-hero {
    height: 640px;
    background-image: var(--em-hero-img-m, var(--em-hero-img));
    background-position: center top;
  }
  .em-hero__overlay {
    background: linear-gradient(180deg, #0a0a0a00 0%, #0a0a0acc 55%, #0a0a0aff 100%);
  }
  .em-hero__content {
    height: 100%;
    max-width: none; margin: 0;
    padding: 0;
    display: flex; align-items: flex-end;
  }
  .em-hero__content-inner {
    max-width: none; width: 100%;
    padding: 24px 20px 32px;
    gap: 16px;
  }
  .em-hero__sig { width: 112px; }
  .em-hero__title { font-size: 26px; line-height: 1.2; }
  .em-hero__sub { font-size: 15px; line-height: 1.45; }
  .em-hero__cta { gap: 12px; }
  .em-hero__cta .em-btn--lg { font-size: 14px; padding: 14px 22px; }
  .em-hero__cta .em-btn--ghost-light { padding: 14px 18px; border-color: transparent; }

  .em-banner { background: var(--em-surface-dark); padding: 20px 20px 24px; }
  .em-banner-m { align-items: center; }
  .em-banner-m__ad {
    width: 360px; max-width: 100%; height: 360px; margin: 0 auto;
    display: flex; border-radius: 6px; overflow: hidden; background: #1b4d2e;
    position: relative;
  }
  .em-banner-m__ad--img {
    display: block; width: 360px; max-width: 100%; height: 360px; min-height: 0; padding: 0; background: var(--em-surface-card);
  }
  .em-banner-m__ad--img img {
    display: block; width: 100%; height: 360px; object-fit: cover;
  }
  .em-banner-m__left {
    flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 4px;
    padding: 12px; color: #fff;
  }
  .em-banner-m__season { font-family: var(--em-font-heading); font-size: 18px; font-weight: 500; }
  .em-banner-m__tag { font-size: 10px; color: #c8e0d0; }
  .em-banner-m__right {
    width: 130px; background: #143d24; padding: 10px 14px;
    display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 2px;
  }
  .em-banner-m__shop { font-size: 11px; font-weight: 700; color: #fff; text-align: right; line-height: 1.2; }
  .em-banner-m__url { font-family: var(--em-font-caption); font-size: 7px; color: #8fbf9a; }

  /* Eventos */
  .em-eventos { padding: 40px 0; }
  .em-eventos__inner { padding: 0 20px; gap: 20px; }
  .em-eventos__header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .em-eventos__left { max-width: none; gap: 12px; }
  .em-eventos__left .em-eyebrow { font-size: 11px; letter-spacing: 1.2px; }
  .em-eventos__left .em-heading { font-size: 26px; line-height: 1.2; }
  .em-eventos__body { margin: 0; font-size: 14px; line-height: 1.5; color: var(--em-fg-soft); }
  .em-eventos__grid { grid-template-columns: 1fr; gap: 20px; }
  .em-card__thumb { height: 180px; }
  .em-card__meta { padding: 0 14px 16px; gap: 8px; }
  .em-card__date { color: var(--em-accent) !important; }
  .em-card__top { font-size: 10px; }
  .em-card__title { font-size: 15px; }
  .em-eventos__more { width: 100%; justify-content: center; padding: 14px 20px; font-size: 13px; font-weight: 500; }

  /* Notas mobile mosaic */
  .em-notas { padding: 40px 0; }
  .em-notas__inner { padding: 0 16px; gap: 16px; }
  .em-notas__eyebrow { font-size: 12px; }
  .em-notas__rule { width: 48px; }
  .em-notas__header .em-heading { font-size: 26px; line-height: 1.2; }
  .em-mosaic-m { position: relative; max-height: 680px; overflow: hidden; gap: 0; }
  .em-mosaic-m__stack { display: flex; flex-direction: column; gap: 10px; }
  .em-mosaic-m__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .em-nota--m-hero { min-height: 320px; }
  .em-nota--m-hero .em-nota__foto { height: 180px; flex: 0 0 180px; }
  .em-nota--m-hero .em-nota__title { font-size: 15px; font-weight: 700; }
  .em-nota--m-half { min-height: 260px; }
  .em-nota--m-half .em-nota__foto { height: 120px; flex: 0 0 120px; }
  .em-nota--m-half .em-nota__title { font-size: 13px; font-weight: 700; }
  .em-nota--m-peek { min-height: 220px; }
  .em-nota--m-peek .em-nota__foto { display: none; }
  .em-nota--m-peek .em-nota__title { font-size: 13px; font-weight: 700; }
  .em-nota--text .em-nota__foto { display: none; }
  .em-nota__body { padding: 12px; gap: 6px; }
  .em-nota__date { color: #8b1e2d !important; font-size: 11px; }
  .em-nota__excerpt { font-size: 12px; color: #4a4a4a; -webkit-line-clamp: 3; }
  .em-mosaic-m__fade {
    position: absolute; left: 0; right: 0; bottom: 0; height: 340px; pointer-events: none;
    background: linear-gradient(180deg, #3a0a1200 0%, #3a0a12bb 50%, #3a0a12 85%);
  }
  .em-mosaic-m__more {
    position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2;
    background: #fff; color: var(--em-notas-bg); font-size: 13px; font-weight: 600;
    padding: 12px 24px; border-radius: 2px; white-space: nowrap;
  }

  /* Sobre mobile */
  .em-sobre { padding: 0; background: var(--em-surface-inverse); }
  .em-sobre-m { padding: 48px 20px; gap: 20px; }
  .em-roles { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
  .em-roles__item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--em-fg-inverse); }

  /* Trajetória */
  .em-traj { padding: 48px 20px; gap: 28px; background: var(--em-surface-inverse); }
  .em-traj__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .em-traj__stat {
    background: var(--em-surface-card); border-radius: 8px; padding: 20px 12px;
    display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
  }
  .em-traj__num { font-family: var(--em-font-heading); font-size: 32px; font-weight: 500; color: var(--em-accent); line-height: 1; }
  .em-traj__lbl { font-size: 11px; color: var(--em-fg-muted); }
  .em-traj__expo-title { margin: 0; font-family: var(--em-font-heading); font-size: 22px; font-weight: 500; color: var(--em-fg-inverse); }
  .em-traj__list { list-style: none; margin: 0; padding: 0; }
  .em-traj__item {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 0; border-bottom: 1px solid var(--em-border-subtle);
    font-size: 14px; color: var(--em-fg-inverse);
  }
  .em-traj__item svg { color: var(--em-fg-muted); flex-shrink: 0; }

  /* Viagens mobile */
  .em-viagens { padding: 0; background: var(--em-surface-dark); }
  .em-viagens-m { padding: 48px 20px; gap: 20px; background: var(--em-surface-dark); }
  .em-viagens-m__figure { margin: 0; border-radius: 8px; overflow: hidden; }
  .em-viagens-m__figure img { width: 100%; height: 280px; object-fit: cover; }
  .em-viagens-m .em-btn { align-self: flex-start; font-size: 13px; padding: 12px 18px; }

  /* Parceiros mobile */
  .em-parceiros { padding: 0; background: var(--em-surface-dark); }
  .em-parceiros-m { padding: 48px 20px; gap: 20px; align-items: center; text-align: center; background: var(--em-surface-dark); }
  .em-parceiros-m__grid { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .em-parceiros-m__card {
    background: var(--em-surface-card); border-radius: 8px; padding: 24px 12px;
    font-size: 12px; font-weight: 500; color: var(--em-fg-muted); text-align: center;
  }

  /* Contato / Agenda mobile */
  .em-contato { padding: 56px 0 72px; background: var(--em-surface-inverse); }
  .em-contato__inner { padding: 0 24px; gap: 18px; max-width: none; }
  .em-contato__title { max-width: 14ch; font-size: 28px; line-height: 1.2; letter-spacing: -0.015em; }
  .em-contato__sub { max-width: 28ch; font-size: 15px; line-height: 1.5; }
  .em-contato__inner .em-btn--accent { width: 100%; max-width: 320px; justify-content: center; padding: 16px 20px; font-size: 15px; }
  .em-contato-m { padding: 56px 20px; gap: 20px; background: var(--em-surface-inverse); }
  .em-contato-m .em-btn--accent { padding: 16px 20px; font-size: 15px; }
  .em-contato-m__ig { margin: 0; text-align: center; }
  .em-contato-m__ig a { font-size: 14px; color: var(--em-fg-soft); }

  /* Footer mobile */
  .em-footer-m {
    background: #050505; padding: 40px 20px 100px; gap: 10px;
  }
  .em-footer-m__mark { width: 88px; height: auto; filter: brightness(0) invert(1); margin-bottom: 4px; }
  .em-footer-m__roles { margin: 0; font-size: 12px; color: var(--em-fg-muted); }
  .em-footer-m__city { margin: 0; font-family: var(--em-font-caption); font-size: 11px; color: var(--em-fg-muted); }
  .em-footer-m__cta {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    margin: 12px 0 4px;
  }
  .em-footer-m__cta-title {
    font-family: var(--em-font-heading); font-size: 18px; font-weight: 500;
    color: #fff; text-decoration: none;
  }
  .em-footer-m__phone,
  .em-footer-m__mail {
    font-size: 14px; color: var(--em-fg-soft); text-decoration: none;
  }
  .em-footer-m__social {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    margin: 8px 0 4px;
    font-family: var(--em-font-caption); font-size: 11px;
    letter-spacing: 0.08em; text-transform: uppercase;
  }
  .em-footer-m__social a { color: var(--em-fg-soft); text-decoration: none; }
  .em-footer-m__copy { margin: 6px 0 0; font-size: 11px; color: var(--em-fg-muted); }
  .em-footer-m__dev { margin: 0; font-size: 11px; color: var(--em-fg-muted); }
  .em-footer-m__dev a { color: var(--em-fg-soft); text-decoration: none; }
}


/* —— FEATURE: notas masonry + pages + wa fab —— */
.em-btn--wa { gap: 10px; }
.em-wa-icon {
  flex-shrink: 0;
  display: block;
  width: 1.15em;
  height: 1.15em;
  object-fit: contain;
}
.em-btn--wa .em-wa-icon { width: 18px; height: 18px; filter: brightness(0) invert(1); }
.em-nav .em-btn--wa .em-wa-icon { width: 16px; height: 16px; }

.em-notas { position: relative; }
.em-notas__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Feed editorial (archive / página Notas) */
.em-notas-feed {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}
.em-notas-feed.is-animating {
  overflow: hidden;
  transition: max-height 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.em-nota-feed {
  background: #fff;
  color: #1a1a1a;
  border-radius: 2px;
  overflow: hidden;
}
.em-nota-feed.is-hidden { display: none !important; }
.em-nota-feed__media { margin: 0; }
.em-nota-feed__media a { display: block; line-height: 0; }
.em-nota-feed__media img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.em-nota-feed__body {
  padding: 22px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.em-nota-feed__title {
  margin: 0;
  font-family: var(--em-font-body);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
}
.em-nota-feed__title a { color: inherit; text-decoration: none; }
.em-nota-feed__title a:hover { color: #8b1e2d; }
.em-nota-feed__date { margin: 0; font-size: 14px; color: #8b1e2d; }
.em-nota-feed__content {
  font-family: var(--em-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: #333;
}
.em-nota-feed__content p { margin: 0 0 0.85em; }
.em-nota-feed__content p:last-child { margin-bottom: 0; }
.em-nota-feed__content a { color: inherit; }

.em-page-section__inner--feed {
  max-width: 800px;
  margin: 0 auto;
}
.em-notas-feed--page { max-width: 760px; }

/* Mosaico da home — CSS columns */
.em-notas-masonry {
  column-count: 4;
  column-gap: 16px;
  column-fill: balance;
  width: 100%;
}
.em-notas-masonry.is-collapsed {
  max-height: 920px;
  overflow: hidden;
}
.em-notas-masonry.is-animating {
  overflow: hidden;
  transition: max-height 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.em-notas__fade {
  position: absolute; left: 0; right: 0; bottom: 56px; height: 280px; pointer-events: none;
  background: linear-gradient(180deg, #3a0a1200 0%, #3a0a12cc 55%, #3a0a12 100%);
  z-index: 1;
  transition: opacity 0.35s ease;
}
.em-notas__fade[hidden] { display: none !important; }
.em-nota--masonry {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin: 0 0 16px;
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  vertical-align: top;
}
.em-nota--masonry.is-hidden { display: none !important; }
.em-nota--masonry .em-nota__link {
  display: flex;
  flex-direction: column;
  color: inherit;
}
.em-nota--masonry .em-nota__foto {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: unset;
  vertical-align: middle;
  background: transparent;
}
.em-nota--lg .em-nota__foto,
.em-nota--md .em-nota__foto,
.em-nota--sm .em-nota__foto {
  height: auto;
  flex: none;
  min-height: 0;
}
.em-nota--masonry.em-nota--text .em-nota__foto { display: none; }
.em-nota--masonry .em-nota__body {
  padding: 14px 16px 18px;
  gap: 8px;
  display: flex;
  flex-direction: column;
}
.em-nota--masonry .em-nota__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
}
.em-nota--sm .em-nota__title { font-size: 14px; }
.em-nota--masonry .em-nota__date {
  margin: 0;
  color: #8b1e2d;
  font-size: 12px;
}
/* Texto no volume da produção (~2 parágrafos), sem clamp */
.em-nota--masonry .em-nota__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #3a3a3a;
  display: block;
}

.em-notas__more {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  margin: 8px auto 0; min-width: 160px; align-self: center;
  background: #fff; color: var(--em-notas-bg); border: 0; cursor: pointer;
  font-family: var(--em-font-body); font-size: 14px; font-weight: 600;
  padding: 14px 28px; border-radius: 2px;
}

.em-fab-wa {
  position: fixed; right: 24px; bottom: 24px; z-index: 75;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  transition: transform 0.2s ease, background 0.2s ease;
  line-height: 0;
}
.em-fab-wa .em-wa-icon { width: 28px; height: 28px; filter: brightness(0) invert(1); }
.em-fab-wa:hover { transform: scale(1.06); background: #1ebe57; color: #fff; }

/* Inner pages — editorial noir */
.em-page { background: var(--em-surface-inverse); color: var(--em-fg-inverse); }
.em-page-hero {
  position: relative; min-height: 420px;
  background: var(--em-page-hero) center top / cover no-repeat;
  display: flex; align-items: flex-end;
}
.em-page-hero--tall { min-height: 560px; }

/* Archive hero — split editorial (Eventos / Exposições) */
.em-arch-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #0a0a0a;
  display: flex;
  align-items: stretch;
}
.em-arch-hero__bg {
  position: absolute;
  inset: 0;
  background: var(--em-arch-bg) center 20% / cover no-repeat;
  filter: blur(18px) saturate(0.85);
  transform: scale(1.08);
  opacity: 0.35;
  z-index: 0;
}
.em-arch-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #0a0a0af5 0%, #0a0a0ae8 42%, #0a0a0a66 70%, #0a0a0a44 100%);
}
.em-arch-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--em-max);
  width: 100%;
  margin: 0 auto;
  padding: 64px var(--em-pad-x);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 380px);
  gap: 48px 56px;
  align-items: center;
}
.em-arch-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
}
.em-arch-hero__title {
  margin: 0;
  font-family: var(--em-font-heading);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 500;
  line-height: 1.12;
  color: #fff;
}
.em-arch-hero__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--em-fg-soft);
}
.em-arch-hero__portrait {
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #111;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55);
}
.em-arch-hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.em-arch-hero--expos .em-arch-hero__portrait img {
  object-position: center center;
}

@media (max-width: 900px) {
  .em-arch-hero { min-height: 0; }
  .em-arch-hero__inner {
    grid-template-columns: 1fr;
    padding: 40px 20px 48px;
    gap: 28px;
  }
  .em-arch-hero__portrait {
    max-width: 280px;
    margin: 0 auto;
    order: -1;
  }
  .em-arch-hero__veil {
    background: linear-gradient(180deg, #0a0a0a88 0%, #0a0a0aee 55%, #0a0a0a 100%);
  }
}

.em-page-hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #0a0a0a55 0%, #0a0a0acc 55%, #0a0a0a 100%);
}
.em-page-hero__inner {
  position: relative; z-index: 1;
  max-width: var(--em-max); width: 100%; margin: 0 auto;
  padding: 80px var(--em-pad-x) 56px;
  display: flex; flex-direction: column; gap: 16px;
}
.em-page-hero__title {
  margin: 0; max-width: 820px;
  font-family: var(--em-font-heading); font-size: clamp(32px, 5vw, 56px);
  font-weight: 500; line-height: 1.12; color: #fff;
}
.em-page-hero__lead {
  margin: 0; max-width: 560px; font-size: 17px; line-height: 1.55; color: var(--em-fg-soft);
}
.em-page-head { background: var(--em-notas-bg); padding: 72px 0 48px; }
.em-page-head__inner {
  max-width: var(--em-max); margin: 0 auto; padding: 0 var(--em-pad-x);
  display: flex; flex-direction: column; gap: 16px;
}
.em-page-head__title {
  margin: 0; font-family: var(--em-font-heading); font-size: clamp(28px, 4vw, 44px);
  font-weight: 500; color: #fff; line-height: 1.15;
}
.em-page-head__sub { margin: 0; max-width: 520px; color: rgba(255,255,255,0.75); font-size: 15px; }
.em-page-section { padding: 72px 0; }
.em-page-section--notas { background: var(--em-notas-bg); padding-top: 24px; padding-bottom: 64px; }
.em-page-section--notas .em-page-section__inner { gap: 0; }
.em-notas-masonry--page {
  max-height: none !important;
  overflow: visible !important;
}
.em-page-pager--notas {
  margin-top: 36px;
  justify-content: center;
}
.em-page-pager--notas .page-numbers {
  border-color: rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.85);
}
.em-page-pager--notas .page-numbers:hover {
  border-color: #fff;
  color: #fff;
  background: transparent;
}
.em-page-pager--notas .page-numbers.current {
  background: #fff;
  border-color: #fff;
  color: var(--em-notas-bg);
}
.em-page-section__inner {
  max-width: var(--em-max); margin: 0 auto; padding: 0 var(--em-pad-x);
  display: flex; flex-direction: column; gap: 40px;
}
.em-page-split {
  display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 64px; align-items: start;
}
.em-page-prose { font-size: 17px; line-height: 1.7; color: var(--em-fg-soft); }
.em-page-prose p { margin: 0 0 1.1em; }
.em-page-prose--narrow { max-width: 640px; }
.em-page-aside { display: flex; flex-direction: column; gap: 28px; }
.em-roles--page { gap: 14px; }
.em-page-statrow {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.em-page-statrow > div {
  background: var(--em-surface-card); border-radius: 8px; padding: 20px 12px;
  text-align: center; display: flex; flex-direction: column; gap: 4px;
}
.em-page-statrow__n { font-family: var(--em-font-heading); font-size: 28px; color: var(--em-accent); }
.em-page-statrow__l { font-size: 11px; color: var(--em-fg-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.em-page-cta { background: var(--em-surface-dark); padding: 80px 0; }
.em-page-cta__inner {
  max-width: var(--em-max); margin: 0 auto; padding: 0 var(--em-pad-x);
  display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center;
}
.em-expos-hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.em-expos-hero-stats__item {
  background: var(--em-surface-card); border-radius: 8px; padding: 28px 16px;
  text-align: center; font-family: var(--em-font-caption); font-size: 12px;
  letter-spacing: 0.06em; color: var(--em-fg-muted); text-transform: uppercase;
}
.em-expos-hero-stats__item span {
  display: block; font-family: var(--em-font-heading); font-size: 48px;
  font-weight: 500; color: var(--em-fg-inverse); letter-spacing: 0; text-transform: none;
  margin-bottom: 8px; line-height: 1;
}
.em-expos-timeline { list-style: none; margin: 0; padding: 0; }
.em-expos-timeline__item {
  display: grid; grid-template-columns: 64px 1fr; gap: 24px; align-items: baseline;
  padding: 28px 0; border-bottom: 1px solid var(--em-border-subtle);
}
.em-expos-timeline__index {
  font-family: var(--em-font-caption); font-size: 13px; color: var(--em-accent); letter-spacing: 0.08em;
}
.em-expos-timeline__title {
  margin: 0 0 6px; font-family: var(--em-font-heading); font-size: 26px; font-weight: 500; color: #fff;
}
.em-expos-timeline__meta { margin: 0; font-size: 14px; color: var(--em-fg-muted); }
.em-viagens-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.em-viagem-card { background: var(--em-surface-card); border-radius: 12px; overflow: hidden; }
.em-viagem-card__link { display: flex; flex-direction: column; color: inherit; }
.em-viagem-card__media {
  height: 280px; background: var(--em-surface-dark) center / cover no-repeat;
  background-image: var(--thumb);
}
.em-viagem-card__meta { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.em-viagem-card__date { margin: 0; font-family: var(--em-font-caption); font-size: 11px; color: var(--em-accent); letter-spacing: 0.08em; }
.em-viagem-card__title { margin: 0; font-family: var(--em-font-heading); font-size: 22px; font-weight: 500; }
.em-viagem-card__excerpt { margin: 0; font-size: 14px; color: var(--em-fg-muted); }
.em-page-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 520px; }
.em-page-pager { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 48px; }
.em-page-pager .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid var(--em-border-subtle); color: var(--em-fg-soft); font-size: 13px;
  text-decoration: none; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.em-page-pager .page-numbers:hover { border-color: var(--em-accent); color: #fff; }
.em-page-pager .page-numbers.current { background: var(--em-accent); border-color: var(--em-accent); color: #fff; }
.em-page-pager .page-numbers.dots { border-color: transparent; }
.em-page-head--notas .em-eventos-arch__count { color: rgba(255,255,255,0.65); margin-top: 8px; }

@media (max-width: 1100px) {
  .em-notas-masonry { column-count: 3; }
  .em-page-split { grid-template-columns: 1fr; gap: 40px; }
  .em-viagens-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .em-nota-feed__title { font-size: 18px; }
  .em-nota-feed__body { padding: 16px 18px 20px; }
  .em-nota-feed__content { font-size: 15px; line-height: 1.6; }
  .em-notas-feed { gap: 20px; }
  .em-notas-masonry { column-count: 2; column-gap: 10px; }
  .em-notas-masonry.is-collapsed { max-height: 780px; }
  .em-nota--masonry { margin-bottom: 10px; }
  .em-nota--masonry .em-nota__title { font-size: 14px; }
  .em-nota--masonry .em-nota__text { font-size: 12.5px; }
  .em-notas__fade { bottom: 52px; height: 240px; }
  .em-fab-wa { right: 16px; bottom: 88px; width: 52px; height: 52px; }
  .em-fab-wa .em-wa-icon { width: 26px; height: 26px; filter: brightness(0) invert(1); }
  .em-page-hero, .em-page-hero--tall { min-height: 420px; }
  .em-page-hero__inner { padding: 64px 20px 40px; }
  .em-expos-hero-stats { grid-template-columns: 1fr; }
  .em-expos-timeline__item { grid-template-columns: 40px 1fr; gap: 12px; }
  .em-expos-timeline__title { font-size: 20px; }
  .em-viagens-grid { grid-template-columns: 1fr; }
  .em-page-statrow { grid-template-columns: 1fr; }
  .em-nav .em-btn--wa { font-size: 12px; padding: 10px 14px; }
}

/* —— SOBRE portfolio —— */
.em-page--sobre { background: #0a0a0a; }

.em-sobre-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  background: #0a0a0a;
}
.em-sobre-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 96px var(--em-pad-x) 72px;
  max-width: 640px;
  margin-left: max(var(--em-pad-x), calc((100vw - var(--em-max)) / 2));
  margin-right: 40px;
  width: 100%;
}
.em-sobre-hero__title {
  margin: 0;
  font-family: var(--em-font-heading);
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: #fff;
}
.em-sobre-hero__role {
  margin: 0;
  font-family: var(--em-font-caption);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--em-fg-muted);
}
.em-sobre-hero__lead {
  margin: 0;
  max-width: 28em;
  font-size: 18px;
  line-height: 1.55;
  color: var(--em-fg-soft);
}
.em-roles--hero { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.em-sobre-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--em-border-subtle);
}
.em-sobre-hero__stats > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--em-font-caption);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--em-fg-muted);
}
.em-sobre-hero__stats span {
  font-family: var(--em-font-heading);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--em-accent);
  line-height: 1;
}

/* Retrato: colado na borda direita da tela no desktop */
.em-sobre-hero__figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
  width: min(42vw, calc((100vh - 72px) * 0.72));
  height: calc(100vh - 72px);
  max-height: none;
  align-self: stretch;
  justify-self: end;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.em-sobre-hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.em-sobre-hero__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0a0a0acc 0%, #0a0a0a22 22%, transparent 42%);
  pointer-events: none;
}

/* Foto do meio: só no mobile */
.em-sobre-band { display: none; }
.em-sobre-band__img {
  width: 100%;
  height: 100%;
  background: var(--em-sobre-band) right top / cover no-repeat;
  filter: grayscale(0.15) contrast(1.05);
}

.em-sobre-bio { padding-top: 96px; }
.em-sobre-bio__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px 80px;
  align-items: start;
}
.em-sobre-bio__head { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.em-sobre-bio__prose {
  font-size: 18px;
  line-height: 1.75;
  color: var(--em-fg-soft);
  display: flex;
  flex-direction: column;
  gap: 1.35em;
}
.em-sobre-bio__prose p { margin: 0; }
.em-sobre-bio__dek {
  font-family: var(--em-font-heading);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 400;
  line-height: 1.45;
  color: #fff;
}
.em-sobre-bio__dek em { font-style: italic; color: var(--em-accent-soft); }
.em-sobre-bio__prose a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.em-sobre-bio__prose strong { color: #fff; font-weight: 600; }

.em-sobre-expo { background: #0f0f0f; border-top: 1px solid var(--em-border-subtle); }
.em-sobre-expo__intro { max-width: 640px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 8px; }
.em-sobre-expo__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px;
}
.em-sobre-expo__list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--em-border-subtle);
  font-family: var(--em-font-heading);
  font-size: 20px;
  font-weight: 400;
  color: #fff;
}
.em-sobre-expo__note { margin: 28px 0 0; }

.em-sobre-world { border-top: 1px solid var(--em-border-subtle); }
.em-sobre-world__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: end;
}
.em-sobre-world__grid > div { display: flex; flex-direction: column; gap: 14px; }
.em-sobre-world__tags {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.em-sobre-world__tags li {
  padding: 12px 18px;
  border: 1px solid var(--em-border-subtle);
  border-radius: 9999px;
  font-family: var(--em-font-caption);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--em-fg-soft);
}

.em-sobre-edu { background: #0f0f0f; border-top: 1px solid var(--em-border-subtle); }
.em-sobre-edu__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.em-sobre-quote {
  margin: 0;
  padding: 0;
  border: 0;
}
.em-sobre-quote p {
  margin: 0;
  font-family: var(--em-font-heading);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  color: #fff;
}
.em-sobre-edu__list { display: flex; flex-direction: column; gap: 20px; }
.em-sobre-edu__list ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.em-sobre-edu__list li { display: flex; flex-direction: column; gap: 6px; padding-bottom: 22px; border-bottom: 1px solid var(--em-border-subtle); }
.em-sobre-edu__list strong { font-family: var(--em-font-body); font-size: 15px; font-weight: 600; color: #fff; }
.em-sobre-edu__list span { font-size: 14px; line-height: 1.5; color: var(--em-fg-muted); }

@media (max-width: 960px) {
  .em-sobre-hero { grid-template-columns: 1fr; min-height: 0; }
  .em-sobre-hero__copy {
    order: 2;
    max-width: none;
    margin: 0;
    padding: 40px 20px 56px;
    justify-content: flex-start;
  }
  .em-sobre-hero__figure {
    order: 1;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    max-height: none;
    min-height: 0;
  }
  .em-sobre-hero__figure img {
    object-fit: contain;
    object-position: center top;
  }
  .em-sobre-hero__figure::after {
    background: linear-gradient(180deg, transparent 55%, #0a0a0a 100%);
  }
  .em-sobre-hero__title { font-size: 48px; }
  .em-sobre-band {
    display: block;
    height: 28vh;
    min-height: 180px;
    max-height: 320px;
    overflow: hidden;
  }
  .em-sobre-bio__grid,
  .em-sobre-world__grid,
  .em-sobre-edu__row { grid-template-columns: 1fr; gap: 32px; }
  .em-sobre-bio__head { position: static; }
  .em-sobre-expo__list { grid-template-columns: 1fr; }
}

/* —— Eventos Realizados: archive + single —— */
.em-eventos-arch__count {
  margin: 0; font-family: var(--em-font-caption); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--em-accent-soft);
}
/* Nuvem de serviços: fonte cresce com o número de eventos (--w de 0 a 1) */
.em-svc-cloud {
  --em-cloud-min: 15px;
  --em-cloud-max: 36px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 20px;
  max-width: 600px;
}
.em-svc-cloud li { display: inline-flex; }
.em-svc-cloud__tag {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  gap: 3px;
  font-family: var(--em-font-heading);
  font-size: calc(var(--em-cloud-min) + (var(--em-cloud-max) - var(--em-cloud-min)) * var(--w, 0));
  font-weight: 500;
  line-height: 1.15;
  color: rgba(255, 255, 255, calc(0.6 + 0.4 * var(--w, 0)));
  transition: color 0.2s ease;
}
.em-svc-cloud__tag::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: var(--em-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.em-svc-cloud__tag:hover,
.em-svc-cloud__tag:focus-visible { color: #fff; }
.em-svc-cloud__tag:hover::after,
.em-svc-cloud__tag:focus-visible::after { transform: scaleX(1); }
.em-svc-cloud__tag:focus-visible { outline: 2px solid var(--em-accent); outline-offset: 4px; }
.em-svc-cloud__tag.is-empty { font-style: italic; color: var(--em-fg-muted); }
.em-svc-cloud__count {
  font-family: var(--em-font-caption);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--em-accent-soft);
  top: 0;
}
@media (hover: hover) and (min-width: 901px) {
  .em-svc-cloud__tag[data-tip]::before {
    content: attr(data-tip);
    position: absolute;
    left: 0;
    bottom: calc(100% + 10px);
    z-index: 5;
    width: max-content;
    max-width: 300px;
    padding: 8px 12px;
    background: #fff;
    color: var(--em-fg-primary);
    font-family: var(--em-font-body);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transform: translateY(4px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .em-svc-cloud__tag:hover::before,
  .em-svc-cloud__tag:focus-visible::before { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
  .em-svc-cloud { --em-cloud-min: 13px; --em-cloud-max: 24px; gap: 4px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .em-svc-cloud__tag, .em-svc-cloud__tag::after, .em-svc-cloud__tag::before { transition: none; }
}
.em-eventos-toolbar {
  max-width: var(--em-max);
  margin: 0 auto;
  padding: 28px var(--em-pad-x) 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.em-eventos-search {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  background: #121212;
  border: 1px solid var(--em-border-subtle);
  border-radius: 999px;
  padding: 6px 6px 6px 18px;
  transition: border-color 0.2s ease;
}
.em-eventos-search:focus-within { border-color: var(--em-accent); }
.em-eventos-search__icon {
  display: flex;
  color: var(--em-fg-muted);
  flex-shrink: 0;
}
.em-eventos-search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: var(--em-font-body);
  font-size: 15px;
  padding: 10px 12px;
  outline: none;
}
.em-eventos-search__input::placeholder { color: var(--em-fg-muted); }
.em-eventos-search__clear {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--em-fg-muted);
  text-decoration: none;
  font-size: 22px;
  line-height: 1;
}
.em-eventos-search__clear:hover { color: #fff; background: rgba(255,255,255,0.08); }
.em-eventos-search__btn {
  flex-shrink: 0;
  border: 0;
  cursor: pointer;
  background: var(--em-accent);
  color: #fff;
  font-family: var(--em-font-caption);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: 999px;
}
.em-eventos-search__btn:hover { filter: brightness(1.08); }
.em-eventos-toolbar .em-eventos-filters {
  position: static;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 0;
}
.em-eventos-toolbar .em-eventos-filters__inner {
  padding: 0 0 4px;
  justify-content: center;
}

.em-eventos-filters {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10,10,10,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--em-border-subtle);
}
.em-eventos-filters__inner {
  max-width: var(--em-max); margin: 0 auto; padding: 14px var(--em-pad-x);
  display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.em-eventos-filters__inner::-webkit-scrollbar { display: none; }
.em-eventos-filters__chip {
  flex: 0 0 auto; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--em-border-subtle); color: var(--em-fg-soft);
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-decoration: none;
  white-space: nowrap; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.em-eventos-filters__chip:hover { border-color: var(--em-accent); color: #fff; }
.em-eventos-filters__chip.is-active {
  background: var(--em-accent); border-color: var(--em-accent); color: #fff;
}

.em-eventos-arch { padding-top: 48px; }
.em-eventos-arch__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 16px;
}

.em-ev-card { margin: 0; background: transparent; }
.em-ev-card__link {
  display: flex; flex-direction: column; gap: 14px; color: inherit; text-decoration: none;
  height: 100%;
}
.em-ev-card__media {
  position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--em-surface-card);
}
/* Corta faixas brancas embutidas no arquivo (~6% topo/base) */
.em-ev-card__media::before {
  content: "";
  position: absolute;
  inset: -8% -3%;
  background: center top / cover no-repeat;
  background-image: var(--thumb);
  transition: transform 0.5s ease;
}
.em-ev-card__link:hover .em-ev-card__media::before { transform: scale(1.03); }
.em-ev-card__veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.55) 100%);
  opacity: 0; transition: opacity 0.35s ease;
}
.em-ev-card__cat {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  padding: 6px 10px; background: rgba(0,0,0,0.55); color: #fff;
  font-family: var(--em-font-caption); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.em-ev-card__body { display: flex; flex-direction: column; gap: 8px; padding: 0 2px; }
.em-ev-card__date {
  font-family: var(--em-font-caption); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--em-accent);
}
.em-ev-card__title {
  margin: 0; font-family: var(--em-font-body); font-size: 15px; font-weight: 600;
  line-height: 1.35; color: #fff; letter-spacing: 0.01em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  text-wrap: balance;
}
.em-ev-card__cta {
  font-size: 13px; color: var(--em-fg-muted); letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.em-ev-card__link:hover .em-ev-card__veil { opacity: 1; }
.em-ev-card__link:hover .em-ev-card__cta { color: var(--em-accent-soft); }
.em-ev-card--compact .em-ev-card__media { aspect-ratio: 3 / 4; }
.em-ev-card--compact .em-ev-card__title { font-size: 14px; -webkit-line-clamp: 2; }

.em-breadcrumb { background: #0a0a0a; padding: 16px 0 0; }
.em-breadcrumb__inner {
  max-width: var(--em-max); margin: 0 auto; padding: 0 var(--em-pad-x);
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 12px; color: var(--em-fg-muted);
}
.em-breadcrumb a { color: var(--em-fg-soft); text-decoration: none; }
.em-breadcrumb a:hover { color: #fff; }

/* —— Single Nota (editorial: foto + texto) —— */
.em-page--nota-single { background: var(--em-surface-inverse); }
.em-nota-single { padding: 28px 0 64px; }
.em-nota-single__inner {
  max-width: var(--em-max);
  margin: 0 auto;
  padding: 0 var(--em-pad-x);
}
.em-nota-single__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px 56px;
  align-items: start;
}
.em-nota-single__grid--text {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}
.em-nota-single__media {
  margin: 0;
  position: sticky;
  top: 88px;
  background: var(--em-surface-card);
}
.em-nota-single__media img {
  width: 100%;
  height: auto;
  display: block;
}
.em-nota-single__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.em-nota-single__title {
  margin: 0;
  font-family: var(--em-font-heading);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.2;
  color: #fff;
}
.em-nota-single__date {
  margin: 0;
  font-size: 14px;
  color: var(--em-accent-soft);
}
.em-nota-single__content {
  font-family: var(--em-font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--em-fg-soft);
}
.em-nota-single__content > *:first-child { margin-top: 0; }
.em-nota-single__content p,
.em-nota-single__content div {
  margin: 0 0 1.15em;
}
.em-nota-single__content p:last-child,
.em-nota-single__content div:last-child { margin-bottom: 0; }
.em-nota-single__content strong { color: #fff; font-weight: 600; }
.em-nota-single__content em {
  display: block;
  font-style: italic;
  color: rgba(255,255,255,0.78);
  text-align: center;
  margin-bottom: 0.25em;
}
.em-nota-single__content [align="center"] {
  text-align: center;
  margin-bottom: 1.25em;
}
.em-nota-single__content a {
  color: var(--em-accent-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.em-nota-single__content a:hover { color: #fff; }
.em-nota-single__content img {
  margin: 1.25em auto;
  border-radius: 2px;
}
.em-nota-single__brand {
  margin: 20px 0 0;
  text-align: center;
  font-family: var(--em-font-caption);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--em-fg-muted);
}

.em-nota-related { background: var(--em-surface-dark); padding: 72px 0; }
.em-nota-related__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 32px;
}
.em-nota-related__head-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.em-nota-related__all-link {
  margin-top: 0;
  flex-shrink: 0;
  white-space: nowrap;
}
.em-nota-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.em-nota-related__card {
  background: var(--em-surface-card);
  border-radius: 2px;
  overflow: hidden;
}
.em-nota-related__link {
  display: flex;
  flex-direction: column;
  color: inherit;
  height: 100%;
}
.em-nota-related__media { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: #111; }
.em-nota-related__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.em-nota-related__link:hover .em-nota-related__media img { transform: scale(1.04); }
.em-nota-related__copy {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.em-nota-related__date {
  font-size: 12px;
  color: var(--em-accent-soft);
}
.em-nota-related__title {
  margin: 0;
  font-family: var(--em-font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 980px) {
  .em-nota-single__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .em-nota-single__media { position: static; }
  .em-nota-related__grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .em-nota-single { padding: 16px 0 48px; }
  .em-nota-single__inner { padding: 0 20px; }
  .em-nota-single__title { font-size: 26px; }
  .em-nota-single__content { font-size: 16px; }
  .em-nota-related__grid { grid-template-columns: 1fr; }
}

.em-page--evento-single { margin-top: 0; }
.em-ev-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #0a0a0a;
  display: flex;
  align-items: stretch;
  margin-top: 0;
}
.em-breadcrumb--over {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 3;
  background: transparent;
  padding: 18px 0 0;
  pointer-events: none;
}
.em-breadcrumb--over .em-breadcrumb__inner {
  pointer-events: auto;
  text-shadow: 0 1px 8px rgba(0,0,0,0.55);
}
.em-breadcrumb--over a { color: rgba(255,255,255,0.8); }
.em-breadcrumb--over a:hover { color: #fff; }
.em-breadcrumb--over span { color: rgba(255,255,255,0.55); }
.em-ev-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--em-ev-hero, #111) center 20% / cover no-repeat;
  filter: blur(20px) saturate(0.8);
  transform: scale(1.1);
  opacity: 0.32;
}
.em-ev-hero__veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, #0a0a0af6 0%, #0a0a0ae8 40%, #0a0a0a55 72%, #0a0a0a33 100%);
}
.em-ev-hero__inner {
  position: relative; z-index: 2;
  max-width: var(--em-max); width: 100%; margin: 0 auto;
  padding: 88px var(--em-pad-x) 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1.05fr);
  gap: 40px 48px;
  align-items: center;
}
.em-ev-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 520px;
}
.em-ev-hero__title {
  margin: 0;
  font-family: var(--em-font-heading); font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 500; line-height: 1.2; color: #fff; text-wrap: balance;
}
.em-ev-hero__meta {
  list-style: none; margin: 8px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 20px 36px;
}
.em-ev-hero__meta li {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 15px; color: #fff;
}
.em-ev-hero__meta span {
  font-family: var(--em-font-caption); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--em-fg-muted);
}
.em-ev-hero__portrait {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.em-ev-hero__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.em-ev-intro { padding-top: 56px; padding-bottom: 24px; }
.em-ev-intro__grid {
  display: grid; grid-template-columns: 1.4fr 0.7fr; gap: 48px; align-items: start;
}
.em-ev-book {
  position: sticky; top: 96px;
  padding: 28px; background: var(--em-surface-card);
  display: flex; flex-direction: column; gap: 14px;
  border-left: 3px solid var(--em-accent);
}
.em-ev-book__label {
  margin: 0; font-family: var(--em-font-heading); font-size: 22px;
  font-weight: 500; line-height: 1.25; color: #fff;
}
.em-ev-book__text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--em-fg-muted); }

.em-ev-related__head { display: flex; flex-direction: column; gap: 12px; }
.em-ev-related__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

.em-gallery { background: #0a0a0a; padding: 0 0 72px; }
.em-gallery__head { max-width: var(--em-max); margin: 0 auto; padding: 48px var(--em-pad-x) 28px; }
.em-gallery__head-inner { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.em-gallery__head .em-heading {
  font-family: var(--em-font-body);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.em-gallery__count {
  margin: 0; font-size: 13px; color: var(--em-fg-muted); letter-spacing: 0.04em;
}
.em-gallery__grid {
  max-width: var(--em-max); margin: 0 auto; padding: 0 var(--em-pad-x);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.em-gallery__item {
  display: block; aspect-ratio: 3 / 2;
  overflow: hidden; background: #0a0a0a; position: relative;
  line-height: 0; cursor: zoom-in;
}
.em-gallery__item img {
  display: block; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center 30%;
  transform: scale(1.14);
  transform-origin: center center;
  transition: transform 0.45s ease, opacity 0.3s ease;
}
.em-gallery__item:hover img { transform: scale(1.18); opacity: 0.95; }
.em-gallery__empty {
  max-width: var(--em-max); margin: 0 auto; padding: 40px var(--em-pad-x);
  color: var(--em-fg-muted);
}

/* Lightbox */
.em-lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: rgba(5, 5, 5, 0.94);
  padding: 24px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.em-lightbox.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.em-lightbox__figure {
  margin: 0; max-width: min(96vw, 1400px); max-height: 90vh;
  display: flex; flex-direction: column; align-items: center;
  overflow: hidden;
}
.em-lightbox__figure img {
  display: block; max-width: 96vw; max-height: 88vh;
  width: auto; height: auto; object-fit: contain;
  transform: scale(1.14);
  transform-origin: center center;
}
.em-lightbox__cap { display: none; }
.em-lightbox__close,
.em-lightbox__nav {
  position: absolute; border: 0; background: rgba(255,255,255,0.08);
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.em-lightbox__close:hover,
.em-lightbox__nav:hover { background: rgba(255,255,255,0.18); }
.em-lightbox__close {
  top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%;
  font-size: 28px; line-height: 1;
}
.em-lightbox__nav {
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; font-size: 28px;
}
.em-lightbox__nav--prev { left: 12px; }
.em-lightbox__nav--next { right: 12px; }
body.em-lightbox-open { overflow: hidden; }

@media (max-width: 1100px) {
  .em-eventos-arch__grid { grid-template-columns: repeat(2, 1fr); }
  .em-gallery__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .em-eventos-arch__grid,
  .em-ev-related__grid { grid-template-columns: 1fr; gap: 28px; }
  .em-ev-intro__grid { grid-template-columns: 1fr; gap: 28px; }
  .em-ev-book { position: static; }
  .em-ev-hero { min-height: 0; }
  .em-ev-hero__inner {
    grid-template-columns: 1fr;
    padding: 72px 20px 40px;
    gap: 28px;
  }
  .em-ev-hero__portrait {
    max-width: none;
    width: 100%;
    margin: 0;
  }
  .em-ev-hero__title { font-size: 22px; }
  .em-ev-hero__veil {
    background: linear-gradient(180deg, #0a0a0af0 0%, #0a0a0acc 50%, #0a0a0a88 100%);
  }
  .em-gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 0 12px; }
  .em-eventos-filters__inner { padding: 12px 16px; }
  .em-breadcrumb__inner { padding: 0 20px; }
  .em-lightbox__nav { display: none; }
  .em-lightbox { padding: 12px; }
  .em-viagens-mosaic { column-count: 1; }
  .em-viagens-intro__grid { grid-template-columns: 1fr; gap: 24px; }
  .em-viagens-mosaic__item--lg { grid-column: auto; }
}

/* —— Viagens portfolio —— */
.em-viagens-hero .em-page-hero__title { max-width: 18ch; }

.em-expos-feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
  margin: 0 0 48px;
  padding: 28px 0 8px;
  border-top: 1px solid var(--em-border-subtle);
}
.em-services-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 40px;
}
.em-services-list li {
  border-bottom: 1px solid var(--em-border-subtle);
}
.em-services-list__link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "name arrow" "meta arrow";
  align-items: center;
  gap: 4px 16px;
  padding: 18px 0;
  color: var(--em-fg-soft);
}
.em-services-list__name {
  grid-area: name;
  font-size: 16px;
  color: var(--em-fg-inverse);
  transition: color 0.2s ease;
}
.em-services-list__meta {
  grid-area: meta;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-family: var(--em-font-caption);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--em-fg-muted);
}
.em-services-list__arrow {
  grid-area: arrow;
  color: var(--em-accent);
  transition: transform 0.2s ease;
}
.em-services-list__link:hover .em-services-list__name,
.em-services-list__link:focus-visible .em-services-list__name { color: var(--em-accent-soft); }
.em-services-list__link:hover .em-services-list__arrow,
.em-services-list__link:focus-visible .em-services-list__arrow { transform: translateX(4px); }
.em-services-list__link:focus-visible { outline: 2px solid var(--em-accent); outline-offset: 2px; }
.em-services-list__link.is-empty .em-services-list__name { color: var(--em-fg-soft); }
.em-ev-intro__prose {
  max-height: 11.5em;
  overflow: hidden;
}
.em-sobre-m__figure {
  margin: 0 0 16px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-width: 280px;
}
.em-sobre-m__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

@media (max-width: 860px) {
  .em-services-list { grid-template-columns: 1fr; }
}
.em-viagens-hero__places {
  margin: 8px 0 0;
  font-family: var(--em-font-caption);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--em-accent-soft);
}
.em-viagens-intro { padding-top: 72px; padding-bottom: 24px; }
.em-viagens-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px 64px;
  align-items: start;
}
.em-viagens-intro__head { display: flex; flex-direction: column; gap: 14px; }
.em-viagens-destinos__head {
  display: flex; flex-direction: column; gap: 12px;
  max-width: 560px; margin-bottom: 8px;
}
.em-viagens-mosaic {
  column-count: 3;
  column-gap: 14px;
  width: 100%;
}
.em-viagens-mosaic__item {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin: 0 0 14px;
  position: relative;
  overflow: hidden;
  background: #111;
  vertical-align: top;
}
.em-viagens-mosaic__item--lg { /* natural size in columns */ }
.em-viagens-mosaic__item--text { border: 1px solid var(--em-border-subtle); }
.em-viagens-mosaic__item--text .em-viagens-mosaic__link { min-height: 200px; }
.em-viagens-mosaic__link {
  display: block;
  position: relative;
  color: inherit;
  text-decoration: none;
  line-height: 0;
}
.em-viagens-mosaic__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  vertical-align: middle;
  transition: transform 0.5s ease;
}
.em-viagens-mosaic__link:hover .em-viagens-mosaic__img { transform: scale(1.04); }
.em-viagens-mosaic__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.82) 100%);
  pointer-events: none;
}
.em-viagens-mosaic__copy {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px 18px 18px;
  display: flex; flex-direction: column; gap: 6px;
  line-height: 1.35;
}
.em-viagens-mosaic__place {
  margin: 0;
  font-family: var(--em-font-caption);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--em-accent-soft);
}
.em-viagens-mosaic__title {
  margin: 0;
  font-family: var(--em-font-heading);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  color: #fff;
  line-height: 1.15;
}
.em-viagens-mosaic__line {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255,255,255,0.75);
  max-width: 28em;
}
.em-viagens-mosaic__cta {
  margin-top: 6px;
  font-size: 13px;
  color: #fff;
}
.em-viagens-quote { padding-top: 24px; padding-bottom: 24px; }
.em-viagens-quote .em-sobre-quote { max-width: 720px; margin: 0 auto; }

@media (max-width: 1100px) {
  .em-viagens-mosaic { column-count: 2; }
}
@media (max-width: 860px) {
  .em-viagens-mosaic { column-count: 1; column-gap: 0; }
  .em-viagens-intro__grid { grid-template-columns: 1fr; gap: 24px; }
  .em-viagens-mosaic__item { margin-bottom: 12px; }
}

/* Contato */
.em-contact .em-page-section__inner { display: flex; flex-direction: column; gap: 20px; }
.em-contact__grid {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--em-border-subtle);
  border: 1px solid var(--em-border-subtle);
}
.em-contact__grid li { display: flex; }
.em-contact__card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  background: var(--em-surface-inverse);
  color: #fff;
  transition: background-color 0.25s ease;
}
.em-contact__card:hover,
.em-contact__card:focus-visible { background: var(--em-surface-dark); }
.em-contact__card:focus-visible { outline: 2px solid var(--em-accent); outline-offset: -2px; }
.em-contact__label { font-family: var(--em-font-caption); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--em-accent); }
.em-contact__value { font-family: var(--em-font-heading); font-size: 22px; line-height: 1.25; overflow-wrap: anywhere; }
.em-contact__city { margin: 0; font-size: 14px; color: var(--em-fg-muted); }
@media (max-width: 1100px) {
  .em-contact__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .em-contact__grid { grid-template-columns: 1fr; }
  .em-contact__card { padding: 20px; }
  .em-contact__value { font-size: 19px; }
}

/* Consentimento de cookies (LGPD) */
.em-consent {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 120;
  width: min(420px, calc(100vw - 48px));
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 20px;
  background: var(--em-surface-dark);
  border: 1px solid var(--em-border-subtle);
  box-shadow: 0 24px 64px rgba(0,0,0,0.55);
  color: #fff;
  font-family: var(--em-font-body);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.em-consent.is-open { opacity: 1; transform: none; }
.em-consent[hidden] { display: none; }
.em-consent__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--em-font-caption);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--em-fg-soft);
}
.em-consent__text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--em-fg-soft); }
.em-consent__text a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.em-consent__text a:hover { color: var(--em-accent-soft); }
.em-consent__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }
.em-consent__actions .em-btn { font-size: 14px; padding: 10px 20px; }
.em-consent__actions .em-btn--accent:hover { background: #a50d26; }
.em-consent__actions .em-btn--outline-dark:hover { border-color: #fff; }
.em-consent .em-btn:focus-visible,
.em-cookie-prefs:focus-visible { outline: 2px solid var(--em-accent); outline-offset: 2px; }
.em-cookie-prefs {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.em-cookie-prefs:hover { color: var(--em-accent-soft); }
@media (max-width: 860px) {
  .em-consent {
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: auto;
    padding: 18px;
  }
  .em-consent__actions { flex-direction: column-reverse; }
  .em-consent__actions .em-btn { width: 100%; padding: 12px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .em-consent { transition: none; }
}

/* 404 — visor de câmera fora de foco */
.em-404 {
  position: relative;
  overflow: hidden;
  background: var(--em-surface-inverse);
}
.em-404__bg {
  position: absolute;
  inset: -40px;
  background: var(--em-404-img) center 30% / cover no-repeat;
  filter: blur(28px) saturate(0.7);
  opacity: 0.22;
}
.em-404__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, #0a0a0acc 0%, #0a0a0a 75%);
}
.em-404__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--em-max);
  margin: 0 auto;
  padding: 64px var(--em-pad-x) 88px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  gap: 56px 72px;
  align-items: center;
}
.em-404__copy { display: flex; flex-direction: column; gap: 20px; max-width: 580px; }
.em-404__title {
  margin: 0;
  font-family: var(--em-font-heading);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  color: #fff;
  text-wrap: balance;
}
.em-404__lead { margin: 0; font-size: 17px; line-height: 1.6; color: var(--em-fg-soft); max-width: 500px; }
.em-404__search { margin: 12px 0 0; max-width: 520px; }
.em-404__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.em-404__viewfinder {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #111;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}
.em-404__shot {
  position: absolute;
  inset: -24px;
  background: var(--em-404-img) center 25% / cover no-repeat;
  filter: blur(14px) brightness(0.55) saturate(0.85);
  animation: em-404-focus 6s ease-in-out infinite;
}
@keyframes em-404-focus {
  0%, 100% { filter: blur(14px) brightness(0.55) saturate(0.85); }
  50% { filter: blur(6px) brightness(0.6) saturate(0.9); }
}
.em-404__corner {
  position: absolute;
  width: 36px;
  height: 36px;
  border: 0 solid rgba(255,255,255,0.85);
}
.em-404__corner--tl { top: 20px; left: 20px; border-top-width: 2px; border-left-width: 2px; }
.em-404__corner--tr { top: 20px; right: 20px; border-top-width: 2px; border-right-width: 2px; }
.em-404__corner--bl { bottom: 20px; left: 20px; border-bottom-width: 2px; border-left-width: 2px; }
.em-404__corner--br { bottom: 20px; right: 20px; border-bottom-width: 2px; border-right-width: 2px; }
.em-404__focus {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border: 1px solid var(--em-accent);
  opacity: 0.9;
}
.em-404__focus::before,
.em-404__focus::after {
  content: "";
  position: absolute;
  background: var(--em-accent);
}
.em-404__focus::before { top: 50%; left: -14px; right: -14px; height: 1px; }
.em-404__focus::after { left: 50%; top: -14px; bottom: -14px; width: 1px; }
.em-404__code {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12%;
  margin: 0;
  text-align: center;
  font-family: var(--em-font-heading);
  font-size: clamp(96px, 10vw, 140px);
  font-weight: 500;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.em-404__hud {
  position: absolute;
  left: 32px;
  right: 32px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--em-font-caption);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}
.em-404__hud--top { top: 28px; padding-left: 26px; gap: 8px; }
.em-404__hud--bottom { bottom: 28px; justify-content: center; }
.em-404__rec {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--em-accent);
  animation: em-404-rec 1.4s steps(2, jump-none) infinite;
}
@keyframes em-404-rec { 50% { opacity: 0.2; } }

.em-404-paths { background: var(--em-surface-inverse); padding: 72px 0; border-top: 1px solid var(--em-border-subtle); }
.em-404-paths__inner {
  max-width: var(--em-max);
  margin: 0 auto;
  padding: 0 var(--em-pad-x);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.em-404-paths__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--em-border-subtle);
  border: 1px solid var(--em-border-subtle);
}
.em-404-paths__grid li { display: flex; }
.em-404-paths__card {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 56px 28px 28px;
  background: var(--em-surface-inverse);
  color: #fff;
  transition: background-color 0.25s ease;
}
.em-404-paths__card:hover,
.em-404-paths__card:focus-visible { background: var(--em-surface-dark); }
.em-404-paths__card:focus-visible { outline: 2px solid var(--em-accent); outline-offset: -2px; }
.em-404-paths__n { font-family: var(--em-font-caption); font-size: 11px; letter-spacing: 0.14em; color: var(--em-accent); }
.em-404-paths__label { font-family: var(--em-font-heading); font-size: 24px; font-weight: 500; line-height: 1.2; }
.em-404-paths__desc { font-size: 14px; line-height: 1.5; color: var(--em-fg-muted); }
.em-404-paths__arrow {
  position: absolute;
  top: 28px;
  right: 24px;
  color: var(--em-fg-muted);
  transition: transform 0.25s ease, color 0.25s ease;
}
.em-404-paths__card:hover .em-404-paths__arrow,
.em-404-paths__card:focus-visible .em-404-paths__arrow { color: var(--em-accent); transform: translateX(4px); }

@media (max-width: 1100px) {
  .em-404__inner { grid-template-columns: minmax(0, 1fr) minmax(260px, 400px); gap: 40px; }
  .em-404-paths__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .em-404 { min-height: 0; }
  .em-404__inner { grid-template-columns: 1fr; padding: 32px 20px 56px; gap: 32px; }
  .em-404__viewfinder { order: -1; aspect-ratio: 4 / 3; }
  .em-404__code { bottom: 14%; font-size: 80px; }
  .em-404__hud { left: 24px; right: 24px; font-size: 10px; }
  .em-404__hud--top { top: 22px; }
  .em-404__hud--bottom { bottom: 22px; }
  .em-404__corner { width: 26px; height: 26px; }
  .em-404__corner--tl, .em-404__corner--tr { top: 14px; }
  .em-404__corner--bl, .em-404__corner--br { bottom: 14px; }
  .em-404__corner--tl, .em-404__corner--bl { left: 14px; }
  .em-404__corner--tr, .em-404__corner--br { right: 14px; }
  .em-404__focus { top: 36%; width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .em-404__lead { font-size: 16px; }
  .em-404__cta .em-btn { flex: 1 1 auto; }
  .em-404-paths { padding: 48px 0; }
  .em-404-paths__inner { padding: 0 20px; }
  .em-404-paths__grid { grid-template-columns: 1fr; }
  .em-404-paths__card { padding: 22px 52px 22px 20px; }
  .em-404-paths__label { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .em-404__shot, .em-404__rec { animation: none; }
}

/* Páginas de texto (política de privacidade e afins) */
.em-arch-hero--doc { min-height: 420px; border-bottom: 1px solid var(--em-border-subtle); }
.em-arch-hero--doc .em-arch-hero__inner { grid-template-columns: minmax(0, 1fr); padding-top: 80px; padding-bottom: 72px; }
.em-arch-hero--doc .em-arch-hero__copy { max-width: 760px; gap: 20px; }
.em-arch-hero--doc .em-arch-hero__lead { font-size: 18px; line-height: 1.65; max-width: 640px; }
.em-arch-hero--doc .em-arch-hero__veil { background: linear-gradient(90deg, #0a0a0af7 0%, #0a0a0ae0 55%, #0a0a0a99 100%); }
.em-doc__meta {
  margin: 4px 0 0;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--em-font-caption); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--em-fg-muted);
}
.em-doc__meta::before { content: ""; width: 24px; height: 1px; background: var(--em-accent); }
.em-doc__meta time { color: var(--em-fg-inverse); }

.em-doc { padding: 88px 0 112px; }
.em-doc__grid {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 720px);
  gap: 48px 96px;
  align-items: start;
}
.em-doc__grid--single { grid-template-columns: minmax(0, 720px); }
.em-doc__aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 32px; }

.em-doc__toc { display: flex; flex-direction: column; gap: 16px; }
.em-doc__toc ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--em-border-subtle); }
.em-doc__toc li { border-bottom: 1px solid var(--em-border-subtle); }
.em-doc__toc a {
  position: relative;
  display: flex; align-items: baseline; gap: 14px;
  padding: 13px 0 13px 0;
  font-size: 14px; line-height: 1.4; color: var(--em-fg-soft);
  transition: color 0.2s ease, padding 0.2s ease;
}
.em-doc__toc a::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 0; height: 1px; background: var(--em-accent);
  transition: width 0.2s ease;
}
.em-doc__toc a:hover,
.em-doc__toc a.is-active { color: var(--em-fg-inverse); padding-left: 22px; }
.em-doc__toc a:hover::before,
.em-doc__toc a.is-active::before { width: 12px; }
.em-doc__toc a:focus-visible { outline: 2px solid var(--em-accent); outline-offset: 2px; }
.em-doc__num { font-family: var(--em-font-caption); font-size: 11px; letter-spacing: 0.08em; color: var(--em-accent); }

.em-doc__card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 28px;
  background: var(--em-surface-card);
  border: 1px solid var(--em-border-subtle);
  border-top: 2px solid var(--em-accent);
}
.em-doc__card-title { margin: 0; font-family: var(--em-font-heading); font-size: 22px; font-weight: 500; color: var(--em-fg-inverse); }
.em-doc__card-text { margin: 0; font-size: 14px; line-height: 1.6; color: var(--em-fg-soft); }
.em-doc__card .em-btn { width: 100%; justify-content: center; margin-top: 4px; }
.em-doc__status {
  margin: 0;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--em-font-caption); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--em-fg-muted);
}
.em-doc__status:empty { display: none; }
.em-doc__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--em-fg-muted); }
.em-doc__status[data-state="allow"] { color: var(--em-fg-inverse); }
.em-doc__status[data-state="allow"]::before { background: #3ecf72; box-shadow: 0 0 0 3px rgba(62, 207, 114, 0.18); }
.em-doc__status[data-state="deny"]::before { background: var(--em-accent); }
.em-doc__mail { font-size: 14px; color: var(--em-fg-inverse); text-decoration: underline; text-decoration-color: var(--em-accent); text-underline-offset: 4px; }
.em-doc__mail:hover { color: var(--em-accent-soft); }

.em-doc__body { counter-reset: em-doc; font-size: 17px; line-height: 1.75; }
.em-doc__body > *:first-child { margin-top: 0; }
.em-doc__body h2 {
  counter-increment: em-doc;
  scroll-margin-top: 96px;
  margin: 56px 0 18px;
  padding-top: 48px;
  border-top: 1px solid var(--em-border-subtle);
  font-family: var(--em-font-heading); font-size: 30px; font-weight: 500; line-height: 1.2;
  color: var(--em-fg-inverse);
}
.em-doc__body h2::before {
  content: counter(em-doc, decimal-leading-zero);
  display: block; margin-bottom: 12px;
  font-family: var(--em-font-caption); font-size: 12px; letter-spacing: 0.12em; color: var(--em-accent);
}
.em-doc__body > h2:first-child { padding-top: 0; border-top: 0; }
.em-doc__body h3 { margin: 32px 0 12px; font-family: var(--em-font-heading); font-size: 22px; font-weight: 500; color: var(--em-fg-inverse); }
.em-doc__body ul,
.em-doc__body ol { margin: 0 0 1.2em; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.em-doc__body li { position: relative; padding-left: 26px; }
.em-doc__body ul > li::before {
  content: ""; position: absolute; left: 4px; top: 0.72em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--em-accent);
}
.em-doc__body strong { color: var(--em-fg-inverse); font-weight: 600; }
.em-doc__body a { color: var(--em-fg-inverse); text-decoration: underline; text-decoration-color: var(--em-accent); text-underline-offset: 4px; }
.em-doc__body a:hover { color: var(--em-accent-soft); }

@media (max-width: 1100px) {
  .em-doc__grid { grid-template-columns: minmax(220px, 260px) minmax(0, 1fr); gap: 40px 56px; }
}
@media (max-width: 900px) {
  .em-arch-hero--doc { min-height: 0; }
  .em-arch-hero--doc .em-arch-hero__inner { padding: 48px 20px 44px; }
  .em-arch-hero--doc .em-arch-hero__lead { font-size: 16px; }
  .em-doc { padding: 40px 0 72px; }
  .em-doc__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 0 20px; }
  .em-doc__aside { display: contents; }
  .em-doc__toc { order: 0; padding: 20px; background: var(--em-surface-card); border: 1px solid var(--em-border-subtle); }
  .em-doc__toc a { padding: 11px 0; }
  .em-doc__body { order: 1; font-size: 16px; }
  .em-doc__card { order: 2; }
  .em-doc__body h2 { font-size: 25px; margin-top: 44px; padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .em-doc__toc a, .em-doc__toc a::before { transition: none; }
}
