/* =========================================================
   ACTUS VALE · sistema visual
   Prancha técnica: fundo escuro, hairlines, tipografia
   expandida em caixa alta, laranja como sinal único.
   ========================================================= */

:root {
  --void:      #0b0b0a;
  --panel:     #111110;
  --panel-2:   #171715;
  --bone:      #ede9e1;
  --bone-2:    rgba(237, 233, 225, 0.62);
  --bone-3:    rgba(237, 233, 225, 0.34);
  --signal:    #ea592d;
  --signal-2:  rgba(234, 89, 45, 0.5);
  --hair:      rgba(237, 233, 225, 0.11);
  --hair-2:    rgba(237, 233, 225, 0.22);

  --sans:  'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono:  'IBM Plex Mono', 'Courier New', monospace;
  --quote: 'Newsreader', Georgia, serif;

  --rail: 76px;
  --head: 88px;
  --pad: clamp(20px, 4.5vw, 68px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-left: var(--rail);
  background: var(--void);
  color: var(--bone-2);
  font-family: var(--sans);
  font-variation-settings: 'wdth' 100, 'wght' 400;
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* grão de filme */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--signal); color: var(--void); }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  max-width: 1580px;
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
}

/* ---------- tipografia ---------- */

.dsp {
  font-family: var(--sans);
  font-variation-settings: 'wdth' 118, 'wght' 700;
  text-transform: uppercase;
  line-height: 0.92; /* folga p/ acentos: Ç Õ Ã É */
  letter-spacing: -0.018em;
  color: var(--bone);
}

.dsp-xl  { font-size: clamp(2rem, 9vw, 9.4rem); }
/* linha mais longa do título ("com quem fica.") não cabe em 9vw */
.hero-title { font-size: clamp(1.9rem, 7.2vw, 7.4rem); }
/* mínimo em 1.7rem: em 360px a linha "Traga o projeto" não cabe em 1.9rem */
.dsp-lg  { font-size: clamp(1.7rem, 5.4vw, 4.6rem); }
.dsp-md  { font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 0.95; }
.dsp-sm  { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.05; letter-spacing: 0; }

.hollow {
  color: transparent;
  -webkit-text-stroke: 1.2px var(--bone);
  text-stroke: 1.2px var(--bone);
}
.sig { color: var(--signal); }

.tag {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--bone-3);
}
.tag--sig { color: var(--signal); }

.lede {
  font-size: clamp(1.02rem, 1.35vw, 1.28rem);
  line-height: 1.55;
  color: var(--bone-2);
  max-width: 52ch;
}

/* ---------- rail lateral fixa ---------- */

.rail {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--rail);
  border-right: 1px solid var(--hair);
  z-index: 120;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  background: var(--void);
}

.rail-mark { width: 26px; opacity: 0.9; }

.rail-track {
  flex: 1;
  width: 1px;
  background: var(--hair);
  margin: 30px 0;
  position: relative;
}
.rail-fill {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 0;
  background: var(--signal);
}

.rail-vert {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bone-3);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

/* ---------- cabeçalho ---------- */

.head {
  position: fixed;
  top: 0; left: var(--rail); right: 0;
  height: var(--head);
  z-index: 110;
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.head.stuck {
  background: rgba(11, 11, 10, 0.88);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--hair);
}
.head .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.brand { display: flex; align-items: center; gap: 11px; }
/* logotipo horizontal da navbar */
.brand img { height: clamp(15px, 1.9vw, 23px); width: auto; }

.brand-footer { display: flex; align-items: center; gap: 11px; }

.brand-footer img { height: clamp(10px, 1.5vw, 15px); width: auto; }

/* lockup em texto, usado só no rodapé */
.brand-a {
  font-variation-settings: 'wdth' 118, 'wght' 700;
  font-size: 17px;
  letter-spacing: 0.34em;
  color: var(--bone);
  text-transform: uppercase;
}
.brand-v {
  font-variation-settings: 'wdth' 118, 'wght' 400;
  font-size: 17px;
  letter-spacing: 0.34em;
  color: var(--signal);
  text-transform: uppercase;
}

/* único item da navbar: sem sublinhado, o quadrado laranja
   é a única resposta ao hover */
.head-right { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }

/* navbar sem sublinhado: hover só muda a cor */
.nav-link {
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bone-2);
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.nav-link:hover, .nav-link[aria-current] { color: var(--bone); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bone);
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.nav-cta:hover { color: var(--signal); }
.nav-cta .dot {
  width: 7px; height: 7px;
  flex: none;
  background: var(--signal);
  transition: transform 0.4s var(--ease);
}
.nav-cta:hover .dot { transform: scale(1.9) rotate(45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--head) + 40px);
  padding-bottom: clamp(60px, 10vh, 120px);
  overflow: hidden;
  border-bottom: 1px solid var(--hair);
}

/* borda esquerda do mark fica a ~85vw — o texto mais largo do título
   ("potencial") chega no máximo a ~78.4vw (medido em 821px, a largura
   de desktop mais estreita); a folga evita que o símbolo cruze o texto.
   O ápice do mark.svg fica no centro horizontal da própria arte: com
   width menor (26vw em vez dos 34vw testados antes), o ápice cai a
   ~85+13=98vw, ainda dentro da tela — em vez de sumir e sobrar só um
   traço diagonal irreconhecível da perna direita. */
.hero-mark {
  position: absolute;
  right: -6vw; bottom: -14vh;
  width: 46vw;
  opacity: 0.045;
  pointer-events: none;
}

/* .hero-inner é filho de .hero (flex-direction:column). Sem width
   explícito, a margin:0 auto do .wrap vira margem "auto" no eixo
   cruzado do flex — o item encolhe ao conteúdo em vez de esticar,
   e fica centralizado numa caixa mais estreita que o container real
   (title deslocado à direita, cada vez mais em telas largas).
   width:100% faz o cálculo ser igual ao de um .wrap normal (block). */
.hero-inner { position: relative; z-index: 2; width: 100%; }

.hero-flag {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(28px, 6vh, 60px);
}
.hero-flag .chev { width: 15px; }

/* máscara de linha: padding dá folga p/ o til e a cedilha
   não serem cortados; a margem negativa anula o deslocamento */
.hl {
  display: block;
  overflow: hidden;
  padding: 0.24em 0 0.14em;
  margin: -0.24em 0 -0.14em;
}
.hl > span {
  display: block;
  transform: translateY(140%);
  animation: rise 1.15s var(--ease) forwards;
}
.hl:nth-of-type(1) > span { animation-delay: 0.15s; }
.hl:nth-of-type(2) > span { animation-delay: 0.27s; }
.hl:nth-of-type(3) > span { animation-delay: 0.39s; }
.hl:nth-of-type(4) > span { animation-delay: 0.51s; }
@keyframes rise { to { transform: translateY(0); } }

/* ---------- estrutura de seção ---------- */

.sec { padding: clamp(80px, 11vw, 160px) 0; border-bottom: 1px solid var(--hair); }
.sec--panel { background: var(--panel); }

/* malha dos 36 municípios do Vale do Taquari ao fundo */
.sec--map { position: relative; overflow: hidden; }
.sec--map > .wrap { position: relative; z-index: 1; }
.sec-map {
  position: absolute;
  top: 50%;
  right: -3vw;
  transform: translateY(-50%);
  height: 132%;
  width: auto;
  max-width: none;
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
}

.sec-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: clamp(50px, 7vw, 96px);
}
.sec-head .num { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.2em; color: var(--signal); padding-top: 10px; }
.sec-head .lede { margin-top: 26px; }

/* ---------- declaração / manifesto ---------- */

.stmt {
  font-variation-settings: 'wdth' 104, 'wght' 300;
  font-size: clamp(1.35rem, 2.9vw, 2.45rem);
  line-height: 1.28;
  letter-spacing: -0.012em;
  color: var(--bone);
  max-width: 26ch;
}
.stmt em { font-style: normal; color: var(--signal); }

.stmt-grid {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 40px;
}
.stmt-grid .col p + p { margin-top: 20px; }
.stmt-grid .col { padding-top: 8px; }

/* ---------- princípios (lista numerada) ---------- */

.tenets { border-top: 1px solid var(--hair); }
.tenet {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: start;
  padding: clamp(32px, 3.6vw, 52px) 0;
  border-bottom: 1px solid var(--hair);
  transition: background 0.5s var(--ease);
  position: relative;
}
.tenet::before {
  content: "";
  position: absolute;
  left: calc(var(--pad) * -1); right: calc(var(--pad) * -1);
  top: 0; bottom: 0;
  background: var(--panel-2);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: -1;
}
.tenet:hover::before { opacity: 1; }

.tenet-n {
  font-variation-settings: 'wdth' 118, 'wght' 700;
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px var(--hair-2);
  transition: -webkit-text-stroke-color 0.5s var(--ease), color 0.5s var(--ease);
}
.tenet:hover .tenet-n { -webkit-text-stroke-color: var(--signal); }
.tenet h3 { max-width: 18ch; }
.tenet p { color: var(--bone-2); }

/* ---------- frentes de atuação ---------- */

.fronts { display: grid; grid-template-columns: repeat(2, 1fr); }
.front {
  padding: clamp(34px, 3.4vw, 54px) clamp(28px, 3vw, 52px) clamp(40px, 4vw, 62px) 0;
  border-top: 1px solid var(--hair);
  position: relative;
}
.fronts .front:nth-child(odd) { padding-right: clamp(40px, 5vw, 90px); }
.fronts .front:nth-child(even) { padding-left: clamp(28px, 3vw, 52px); border-left: 1px solid var(--hair); }
.front-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}
.front-top .chev { width: 12px; opacity: 0; transform: translateY(6px); transition: all 0.5s var(--ease); }
.front:hover .front-top .chev { opacity: 1; transform: translateY(0); }
.front h3 { margin-bottom: 16px; }
.front p { color: var(--bone-2); max-width: 44ch; }

/* ---------- estado vazio: ainda não há projetos ---------- */

.empty {
  border: 1px solid var(--hair-2);
  padding: clamp(30px, 4.6vw, 60px);
  display: grid;
  gap: 20px;
  justify-items: start;
  background: rgba(11, 11, 10, 0.55);
}
.empty-stmt {
  font-variation-settings: 'wdth' 118, 'wght' 700;
  text-transform: uppercase;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  line-height: 1.02;
  letter-spacing: -0.012em;
  color: var(--bone);
  max-width: 22ch;
}
.empty-desc { color: var(--bone-2); max-width: 58ch; }

.empty-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bone);
  border-bottom: 1px solid var(--signal);
  padding-bottom: 7px;
  transition: color 0.3s var(--ease);
}
.empty-cta:hover { color: var(--signal); }
.empty-cta svg { width: 14px; transition: transform 0.35s var(--ease); }
.empty-cta:hover svg { transform: translateX(4px); }

/* ---------- índice editorial ---------- */

.entries { border-top: 1px solid var(--hair); }
.entry {
  display: grid;
  grid-template-columns: 200px minmax(0, 2.1fr) minmax(0, 1fr) 60px;
  gap: 32px;
  align-items: center;
  padding: clamp(24px, 2.6vw, 38px) 0;
  border-bottom: 1px solid var(--hair);
  position: relative;
  transition: padding-left 0.55s var(--ease);
}
.entry::before {
  content: "";
  position: absolute;
  left: calc(var(--pad) * -1); right: calc(var(--pad) * -1);
  top: 0; bottom: 0;
  background: var(--panel-2);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: -1;
}
.entry:hover::before { opacity: 1; }
.entry:hover { padding-left: 22px; }
.entry-date { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone-3); }
.entry h3 { transition: color 0.4s var(--ease); }
.entry:hover h3 { color: var(--signal); }
.entry-desc { color: var(--bone-3); font-size: 0.92rem; max-width: 40ch; }
.entry-go {
  justify-self: end;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 1px solid var(--hair-2);
  color: var(--bone-3);
  transition: all 0.45s var(--ease);
}
.entry:hover .entry-go { background: var(--signal); border-color: var(--signal); color: var(--void); transform: rotate(-45deg); }
.entry-go svg { width: 12px; height: 12px; }
.entry-link { position: absolute; inset: 0; }

/* ---------- convite ---------- */

.invite { position: relative; overflow: hidden; }
.invite-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: end; }


/* ---------- formulário de projeto (Traga o projeto) ---------- */

.proj-form { display: grid; gap: 22px; }
.proj-row { display: grid; gap: 22px; }
.proj-row--split { grid-template-columns: 1fr 1fr; }

.proj-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid var(--hair-2);
  padding-bottom: 10px;
  transition: border-color 0.4s var(--ease);
}
.proj-field:focus-within { border-color: var(--signal); }

.proj-label {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--bone-3);
}

.proj-field input,
.proj-field select,
.proj-field textarea {
  background: none;
  border: 0;
  outline: 0;
  color: var(--bone);
  font-family: var(--sans);
  font-size: 0.98rem;
  padding: 2px 0 4px;
  resize: none;
}
.proj-field textarea { line-height: 1.5; }
.proj-field input::placeholder,
.proj-field textarea::placeholder { color: var(--bone-3); }

/* select customizado: mantém o traço técnico do resto do site */
.proj-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea592d' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 14px;
  cursor: pointer;
}
.proj-field select:invalid { color: var(--bone-3); }
.proj-field select option { background: var(--panel); color: var(--bone); }

/* campo-armadilha: invisível para gente, visível para robôs de formulário */
.proj-hp {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.proj-submit {
  justify-self: start;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid var(--hair-2);
  padding: 14px 24px;
  color: var(--bone);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s var(--ease);
}
.proj-submit:hover { background: var(--signal); border-color: var(--signal); color: var(--void); }
.proj-submit:disabled { opacity: 0.5; cursor: wait; }
.proj-submit svg { width: 14px; transition: transform 0.4s var(--ease); }
.proj-submit:hover svg { transform: translateX(4px); }

.proj-status {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  color: var(--bone-3);
  min-height: 1.7em;
}
.proj-status[data-state="ok"] { color: var(--signal); }
.proj-status[data-state="erro"] { color: #e08383; }

@media (max-width: 560px) {
  .proj-row--split { grid-template-columns: 1fr; }
}

/* ---------- rodapé ---------- */

.foot { background: var(--void); padding-top: clamp(60px, 7vw, 100px); }
.foot-cols {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: clamp(50px, 6vw, 80px);
}
.foot-cols p { color: var(--bone-3); max-width: 34ch; font-size: 0.92rem; margin-top: 18px; }
.foot-col h4 { margin-bottom: 20px; }
.foot-col li + li { margin-top: 11px; }
.foot-col a { font-size: 0.92rem; color: var(--bone-2); transition: color 0.3s var(--ease); }
.foot-col a:hover { color: var(--signal); }

.foot-bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 26px 0;
  border-top: 1px solid var(--hair);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone-3);
}

/* ---------- páginas internas ---------- */

.phead {
  padding: calc(var(--head) + clamp(60px, 9vw, 130px)) 0 clamp(40px, 5vw, 70px);
  border-bottom: 1px solid var(--hair);
  position: relative;
  overflow: hidden;
}
.phead .lede { margin-top: 26px; }

/* ---------- artigo ---------- */

.art-head { padding: calc(var(--head) + clamp(60px, 9vw, 120px)) 0 clamp(40px, 4vw, 60px); border-bottom: 1px solid var(--hair); }
.art-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 30px; }
.art-head h1 { max-width: 20ch; }
.art-by {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
  display: flex;
  align-items: center;
  gap: 14px;
}
.art-by .chev { width: 13px; }

.art-body { padding: clamp(60px, 7vw, 100px) 0; border-bottom: 1px solid var(--hair); }
.art-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }

.toc { position: sticky; top: calc(var(--head) + 40px); align-self: start; }
.toc h4 { margin-bottom: 18px; }
.toc li + li { margin-top: 12px; }
.toc a {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--bone-3);
  transition: color 0.3s var(--ease);
  display: block;
}
.toc a:hover { color: var(--signal); }

.prose { max-width: 66ch; font-size: 1.08rem; line-height: 1.78; color: var(--bone-2); }
.prose > * + * { margin-top: 26px; }
.prose > p:first-of-type::first-letter {
  float: left;
  font-variation-settings: 'wdth' 118, 'wght' 700;
  font-size: 3.9em;
  line-height: 0.78;
  padding: 0.06em 0.14em 0 0;
  color: var(--signal);
}
.prose h2 {
  font-variation-settings: 'wdth' 118, 'wght' 700;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  letter-spacing: 0.01em;
  color: var(--bone);
  margin-top: 60px;
  padding-top: 22px;
  border-top: 1px solid var(--hair);
}
.prose strong { color: var(--bone); font-weight: 500; }
.prose blockquote {
  margin: 44px 0;
  padding-left: 30px;
  border-left: 2px solid var(--signal);
  font-family: var(--quote);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.3rem, 2.1vw, 1.75rem);
  line-height: 1.36;
  color: var(--bone);
}
.prose ul { padding-left: 0; }
.prose li {
  padding-left: 24px;
  position: relative;
}
.prose li + li { margin-top: 12px; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 8px; height: 1px;
  background: var(--signal);
}

/* ---------- revelação ---------- */

.rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
  .rv { opacity: 1; transform: none; }
  .hl > span { transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsivo ---------- */

@media (max-width: 1120px) {
  .sec-head, .stmt-grid, .art-grid { grid-template-columns: 1fr; gap: 26px; }
  .sec-head .num { padding-top: 0; }
  .stmt-grid { gap: 34px; }
  .tenet { grid-template-columns: 90px minmax(0, 1fr); }
  .tenet p { grid-column: 2; }
  .entry { grid-template-columns: 130px minmax(0, 1fr) 44px; }
  .entry-desc { display: none; }
  .toc { position: static; }
  .toc ul { display: flex; flex-wrap: wrap; gap: 18px; }
  .toc li + li { margin-top: 0; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  body { padding-left: 0; }
  .rail { display: none; }
  .head { left: 0; }
  /* em vw, 46% de uma tela estreita é quase invisível — no
     mobile o símbolo escala a partir da altura, não da largura,
     para continuar lendo como marca d'água, não como ruído.
     max-width:none anula o limite global de img (senão a altura
     forçaria uma largura maior que o container e distorceria o
     svg); .hero tem overflow:hidden, então o excesso é recortado. */
  .hero-mark { width: auto; max-width: none; height: 62vh; right: -12vw; bottom: -9vh; }
  .fronts { grid-template-columns: 1fr; }
  .fronts .front:nth-child(even) { padding-left: 0; border-left: 0; }
  .fronts .front:nth-child(odd) { padding-right: 0; }
  .invite-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 560px) {
  .foot-cols { grid-template-columns: 1fr; }
  .entry { grid-template-columns: minmax(0, 1fr) 40px; row-gap: 10px; }
  .entry-date { grid-column: 1 / -1; }
  .tenet { grid-template-columns: 1fr; }
  .tenet p { grid-column: 1; }

  /* navbar: logo + "Sobre" + CTA disputam a mesma linha estreita.
     Reduz padding, logo, espaçamento e tipografia até tudo caber
     sem sobrepor — medido em telas de 320 a 480px. */
  .head .wrap { padding-left: 16px; padding-right: 16px; }
  .brand img { height: 12px; }
  .head-right { gap: 12px; }
  .nav-link, .nav-cta { font-size: 9.5px; letter-spacing: 0.09em; }
  .nav-cta .dot { width: 6px; height: 6px; }
}
