/* =====================================================================
   ASPERQD — Quilombo do Degredo
   Sistema visual: impresso comunitário / catálogo de exposição
   ===================================================================== */

/* ---------------------------------------------------------- tokens */
:root{
  --ink:      #14110f;
  --ink-2:    #2b2521;
  --ink-3:    #5b5148;
  --paper:    #fbf7f0;
  --sand:     #f2e9db;
  --sand-2:   #e5d8c3;

  --red:      #b5342a;
  --yellow:   #e0a11b;
  --green:    #1e7a4c;
  --blue:     #1b4f72;

  --rule:     rgba(20,17,15,.16);
  --rule-2:   rgba(20,17,15,.32);
  --rule-inv: rgba(251,247,240,.22);

  --serif: "Poppins", Arial, "Helvetica Neue", sans-serif;
  --sans:  "Poppins", Arial, "Helvetica Neue", sans-serif;

  --shell: 1280px;
  --gutter: clamp(1.15rem, 4vw, 3.25rem);

  --e: cubic-bezier(.22,.61,.36,1);
}

/* ---------------------------------------------------------- reset */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion:reduce){ html{ scroll-behavior:auto; } }

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--sans);
  font-size:clamp(1rem,.96rem + .2vw,1.1rem);
  line-height:1.72;
  font-weight:400;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; }
button{ font:inherit; color:inherit; }
h1,h2,h3,h4{ margin:0; font-family:var(--serif); font-weight:700; line-height:1.14; letter-spacing:-.015em; }
p{ margin:0 0 1.05em; }
p:last-child{ margin-bottom:0; }
::selection{ background:var(--yellow); color:var(--ink); }

/* grão de papel sobre tudo */
body::after{
  content:""; position:fixed; inset:0; z-index:9998; pointer-events:none;
  opacity:.05; mix-blend-mode:multiply;
  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='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------- utilitários */
.shell{ width:min(var(--shell),100% - var(--gutter)*2); margin-inline:auto; }
.shell-wide{ width:min(1560px,100% - var(--gutter)*2); margin-inline:auto; }
.sr{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }

.eyebrow{
  font-family:var(--sans); font-size:.7rem; font-weight:650;
  letter-spacing:.22em; text-transform:uppercase; color:var(--red);
  display:flex; align-items:center; gap:.65rem; margin:0 0 1.15rem;
}
.eyebrow::before{ content:""; width:1.6rem; height:2px; background:currentColor; flex:none; }
.eyebrow--inv{ color:var(--yellow); }

.rule4{ display:flex; gap:4px; }
.rule4 i{ display:block; width:2.15rem; height:5px; }
.rule4 i:nth-child(1){ background:var(--red); }
.rule4 i:nth-child(2){ background:var(--yellow); }
.rule4 i:nth-child(3){ background:var(--green); }
.rule4 i:nth-child(4){ background:var(--blue); }

.lede{ font-size:clamp(1.05rem,1rem + .4vw,1.3rem); line-height:1.6; color:var(--ink-2); }

/* números de seção, tipo catálogo impresso */
.secnum{
  font-family:var(--serif); font-size:clamp(3.5rem,9vw,7rem); line-height:.8;
  color:transparent; -webkit-text-stroke:1.5px var(--sand-2);
  font-weight:600; letter-spacing:-.04em; user-select:none;
}
.secnum--inv{ -webkit-text-stroke-color:rgba(251,247,240,.28); }

/* botões */
.btn{
  --bg:var(--ink); --fg:var(--paper);
  display:inline-flex; align-items:center; gap:.7rem;
  padding:.92rem 1.5rem; background:var(--bg); color:var(--fg);
  font-family:var(--sans); font-size:.795rem; font-weight:650;
  letter-spacing:.13em; text-transform:uppercase; text-decoration:none;
  border:1.5px solid var(--bg); cursor:pointer;
  transition:transform .3s var(--e), background .3s var(--e), color .3s var(--e);
}
.btn svg{ width:.95em; height:.95em; transition:transform .3s var(--e); }
.btn:hover{ transform:translate(-2px,-2px); box-shadow:4px 4px 0 var(--yellow); }
.btn:hover svg{ transform:translateX(4px); }
.btn--ghost{ --bg:transparent; --fg:var(--ink); border-color:var(--ink); }
.btn--ghost:hover{ background:var(--ink); color:var(--paper); }
.btn--inv{ --bg:var(--paper); --fg:var(--ink); }
.btn--ghost-inv{ --bg:transparent; --fg:var(--paper); border-color:rgba(251,247,240,.5); }
.btn--ghost-inv:hover{ background:var(--paper); color:var(--ink); }

/* link de texto sublinhado que cresce */
.tlink{
  display:inline-flex; align-items:center; gap:.5rem; text-decoration:none;
  font-weight:650; font-size:.9rem; letter-spacing:.02em;
  border-bottom:2px solid var(--red); padding-bottom:2px;
  transition:gap .3s var(--e), color .3s var(--e);
}
.tlink:hover{ gap:.95rem; color:var(--red); }

/* moldura de imagem com registro desalinhado (impressão) */
.frame{ position:relative; display:block; }
.frame::before{
  content:""; position:absolute; inset:0; translate:11px 11px;
  border:1.5px solid var(--ink); z-index:0;
  transition:translate .45s var(--e);
}
.frame img{ position:relative; z-index:1; width:100%; height:100%; object-fit:cover; }
.frame:hover::before{ translate:5px 5px; }
.frame--yellow::before{ border-color:var(--yellow); background:var(--yellow); }
.frame--red::before{ border-color:var(--red); background:var(--red); }
.frame--green::before{ border-color:var(--green); background:var(--green); }

/* ---------------------------------------------------------- cabeçalho */
.topbar{
  position:sticky; top:0; z-index:900;
  background:var(--ink); color:var(--paper);
  border-bottom:1px solid rgba(251,247,240,.14);
}
.topbar__in{ display:flex; align-items:center; justify-content:space-between; gap:1.5rem; height:74px; }
.brand{ display:flex; align-items:center; gap:.85rem; text-decoration:none; flex:none; }
.brand img{ height:30px; width:auto; }
.brand span{
  font-size:.6rem; letter-spacing:.13em; text-transform:uppercase; white-space:nowrap;
  line-height:1.35; color:rgba(251,247,240,.6); font-weight:500;
  padding-left:.85rem; border-left:1px solid rgba(251,247,240,.25);
}
@media (max-width:1180px){ .brand span{ display:none; } }

.nav{ display:flex; align-items:center; gap:.35rem; }
.nav a{
  position:relative; text-decoration:none; padding:.55rem .8rem;
  font-size:.755rem; font-weight:600; letter-spacing:.13em; text-transform:uppercase;
  color:rgba(251,247,240,.78); transition:color .25s var(--e);
}
.nav a::after{
  content:""; position:absolute; left:.8rem; right:.8rem; bottom:.3rem; height:2px;
  background:var(--yellow); transform:scaleX(0); transform-origin:left; transition:transform .3s var(--e);
}
.nav a:hover{ color:var(--paper); }
.nav a:hover::after,.nav a[aria-current="page"]::after{ transform:scaleX(1); }
.nav a[aria-current="page"]{ color:var(--paper); }

.nav-cta{
  margin-left:.6rem; padding:.62rem 1.05rem; background:var(--red); color:#fff !important;
  font-size:.72rem; letter-spacing:.13em; text-transform:uppercase; font-weight:650; text-decoration:none;
  transition:background .3s var(--e);
}
.nav-cta::after{ display:none !important; }
.nav-cta:hover{ background:var(--yellow); color:var(--ink) !important; }

.burger{ display:none; background:none; border:0; padding:.5rem; cursor:pointer; }
.burger i{ display:block; width:26px; height:2px; background:var(--paper); margin:5px 0; transition:.3s var(--e); }
.nav-open .burger i:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-open .burger i:nth-child(2){ opacity:0; }
.nav-open .burger i:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

@media (max-width:960px){
  .burger{ display:block; }
  .nav{
    position:fixed; inset:74px 0 0; background:var(--ink);
    flex-direction:column; justify-content:center; gap:.4rem;
    transform:translateX(100%); transition:transform .45s var(--e);
    padding:2rem var(--gutter);
  }
  .nav-open .nav{ transform:translateX(0); }
  .nav a{ font-size:1.35rem; font-family:var(--serif); text-transform:none; letter-spacing:0; padding:.55rem 0; }
  .nav a::after{ left:0; right:auto; width:2.5rem; bottom:.15rem; }
  .nav-cta{ margin:1rem 0 0; align-self:flex-start; font-family:var(--sans) !important; font-size:.78rem !important; }
}

/* ---------------------------------------------------------- hero */
.hero{ position:relative; background:var(--ink); color:var(--paper); overflow:hidden; }
.hero__bg{ position:absolute; inset:0; }
.hero__bg img{ width:100%; height:100%; object-fit:cover; opacity:.44; filter:saturate(.92) contrast(1.05); }
.hero__bg::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(100deg, rgba(20,17,15,.94) 0%, rgba(20,17,15,.8) 42%, rgba(20,17,15,.35) 100%);
}
.hero__in{ position:relative; z-index:2; padding:clamp(4rem,11vh,7.5rem) 0 0; }
.hero h1{
  font-size:clamp(2.2rem,5.4vw,4.3rem);
  letter-spacing:-.02em; max-width:18ch; margin:1.6rem 0 0;
}
.hero h1 em{ font-style:normal; color:var(--yellow); }
.hero__sub{ max-width:56ch; margin-top:1.9rem; color:rgba(251,247,240,.86); font-size:clamp(1.02rem,.96rem + .4vw,1.28rem); line-height:1.55; }
.hero__cta{ display:flex; flex-wrap:wrap; gap:.85rem; margin-top:2.5rem; }

.hero__index{
  margin-top:clamp(3.5rem,8vh,6rem);
  border-top:1px solid var(--rule-inv);
  display:grid; grid-template-columns:repeat(4,1fr);
}
.hero__index div{ padding:1.4rem 1.5rem 1.6rem 0; border-right:1px solid var(--rule-inv); }
.hero__index div:last-child{ border-right:0; }
.hero__index b{ display:block; font-family:var(--serif); font-size:1.6rem; font-weight:700; color:var(--yellow); line-height:1; }
.hero__index span{ display:block; margin-top:.5rem; font-size:.735rem; letter-spacing:.05em; color:rgba(251,247,240,.68); line-height:1.4; }
@media (max-width:820px){
  .hero__index{ grid-template-columns:repeat(2,1fr); }
  .hero__index div{ padding:1.1rem 1rem 1.2rem 0; border-bottom:1px solid var(--rule-inv); }
  .hero__index div:nth-child(2n){ border-right:0; }
  .hero__index div:nth-last-child(-n+2){ border-bottom:0; }
}

/* faixa rolante com o lema */
.marquee{
  background:var(--yellow); color:var(--ink); overflow:hidden;
  border-top:2px solid var(--ink); border-bottom:2px solid var(--ink);
  padding:.72rem 0;
}
.marquee__track{ display:flex; width:max-content; animation:slide 42s linear infinite; }
.marquee span{
  font-family:var(--serif); font-size:.98rem; font-weight:600;
  padding-right:2.6rem; white-space:nowrap; display:flex; align-items:center; gap:2.6rem;
}
.marquee span::after{ content:"◆"; font-size:.55rem; font-style:normal; opacity:.6; }
@keyframes slide{ to{ transform:translateX(-50%); } }
@media (prefers-reduced-motion:reduce){ .marquee__track{ animation:none; } }

/* ---------------------------------------------------------- seções */
.sec{ padding:clamp(4.5rem,10vw,8.5rem) 0; position:relative; }
.sec--sand{ background:var(--sand); }
.sec--ink{ background:var(--ink); color:var(--paper); }
.sec--ink .lede{ color:rgba(251,247,240,.8); }
.sec--tight{ padding-block:clamp(3rem,6vw,5rem); }

.sechead{ display:flex; align-items:flex-start; gap:clamp(1.2rem,3vw,2.6rem); margin-bottom:clamp(2.2rem,4vw,3.4rem); }
.sechead__body{ flex:1; min-width:0; }
.sechead h2{ font-size:clamp(1.8rem,3.8vw,2.9rem); max-width:24ch; }
.sec--ink .sechead h2{ color:var(--paper); }

/* duas colunas editoriais */
.duo{ display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(2rem,5vw,4.5rem); align-items:center; }
.duo--flip .duo__media{ order:-1; }
@media (max-width:900px){ .duo{ grid-template-columns:1fr; } .duo--flip .duo__media{ order:0; } }
.duo__media .frame{ aspect-ratio:4/3; }

/* mini-estatísticas em linha */
.facts{ display:flex; flex-wrap:wrap; gap:0; margin-top:2.2rem; border-top:1.5px solid var(--rule); }
.facts div{ padding:1.1rem 1.6rem 1.1rem 0; border-right:1px solid var(--rule); }
.facts div:last-child{ border-right:0; padding-right:0; }
.facts b{ display:block; font-family:var(--serif); font-size:1.85rem; font-weight:700; line-height:1; }
.facts span{ display:block; margin-top:.35rem; font-size:.75rem; letter-spacing:.05em; color:var(--ink-3); max-width:22ch; }

/* ------------------------------------------- destaque máximo (ATI) */
.spot{ background:var(--ink); color:var(--paper); position:relative; overflow:hidden; }
.spot::before{
  content:""; position:absolute; top:-20%; right:-10%; width:52vw; height:52vw;
  background:radial-gradient(circle, rgba(224,161,27,.16), transparent 62%); pointer-events:none;
}
.spot h2{ font-size:clamp(1.9rem,4.2vw,3.3rem); max-width:22ch; color:var(--paper); }
.spot__tag{
  display:inline-block; margin-bottom:1.5rem; padding:.4rem .85rem;
  border:1px solid var(--yellow); color:var(--yellow);
  font-size:.68rem; letter-spacing:.2em; text-transform:uppercase; font-weight:650;
}
.spot__grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:clamp(2rem,5vw,4.5rem); margin-top:3rem; }
@media (max-width:940px){ .spot__grid{ grid-template-columns:1fr; } }
.spot__grid p{ color:rgba(251,247,240,.82); }
.quote{
  border-left:4px solid var(--yellow); padding:.4rem 0 .4rem 1.6rem; margin:2rem 0;
  font-family:var(--serif); font-style:italic; font-weight:500; font-size:clamp(1.05rem,1rem + .45vw,1.35rem);
  line-height:1.55; color:var(--paper);
}
.quote cite{ display:block; margin-top:.9rem; font:600 .72rem/1.5 var(--sans); font-style:normal; letter-spacing:.15em; text-transform:uppercase; color:var(--yellow); }
.spot__stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; margin-top:3.4rem; border-top:1px solid var(--rule-inv); }
.spot__stats div{ padding:1.7rem 1.4rem 0 0; border-right:1px solid var(--rule-inv); }
.spot__stats div:last-child{ border-right:0; }
.spot__stats b{ display:block; font-family:var(--serif); font-size:clamp(1.6rem,3vw,2.4rem); font-weight:700; color:var(--yellow); line-height:1; }
.spot__stats span{ display:block; margin-top:.6rem; font-size:.75rem; color:rgba(251,247,240,.7); line-height:1.45; }
@media (max-width:760px){
  .spot__stats{ grid-template-columns:repeat(2,1fr); }
  .spot__stats div{ padding:1.2rem 1rem 1.2rem 0; border-bottom:1px solid var(--rule-inv); }
  .spot__stats div:nth-child(2n){ border-right:0; }
}

/* ---------------------------------------------------------- cards */
.grid{ display:grid; gap:clamp(1.4rem,2.6vw,2.2rem); }
.grid--2{ grid-template-columns:repeat(2,1fr); }
.grid--3{ grid-template-columns:repeat(3,1fr); }
.grid--4{ grid-template-columns:repeat(4,1fr); }
@media (max-width:1000px){ .grid--3,.grid--4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:680px){ .grid--2,.grid--3,.grid--4{ grid-template-columns:1fr; } }

.card{
  background:var(--paper); border:1.5px solid var(--ink); display:flex; flex-direction:column;
  text-decoration:none; color:inherit; position:relative;
  transition:transform .35s var(--e), box-shadow .35s var(--e);
}
.card:hover{ transform:translate(-4px,-4px); box-shadow:8px 8px 0 var(--ink); }
.card__media{ aspect-ratio:16/10; overflow:hidden; border-bottom:1.5px solid var(--ink); }
.card__media img{ width:100%; height:100%; object-fit:cover; transition:transform .7s var(--e); }
.card:hover .card__media img{ transform:scale(1.06); }
.card__body{ padding:1.5rem 1.5rem 1.7rem; display:flex; flex-direction:column; flex:1; }
.card__meta{ display:flex; flex-wrap:wrap; gap:.6rem; align-items:center; margin-bottom:.9rem; }
.tag{
  font-size:.63rem; font-weight:700; letter-spacing:.15em; text-transform:uppercase;
  padding:.3rem .6rem; border:1px solid currentColor; color:var(--red);
}
.tag--green{ color:var(--green); } .tag--blue{ color:var(--blue); } .tag--yellow{ color:#8a6100; }
.date{ font-size:.72rem; letter-spacing:.09em; text-transform:uppercase; color:var(--ink-3); }
.card h3{ font-size:clamp(1.2rem,1.05rem + .5vw,1.55rem); margin-bottom:.7rem; }
.card p{ font-size:.94rem; color:var(--ink-3); line-height:1.55; }
.card__more{
  margin-top:auto; padding-top:1.2rem; font-size:.75rem; font-weight:700;
  letter-spacing:.13em; text-transform:uppercase; display:flex; align-items:center; gap:.5rem;
  transition:gap .3s var(--e);
}
.card:hover .card__more{ gap:.9rem; color:var(--red); }

/* cards de texto (frentes, valores) */
.pill{
  border:1.5px solid var(--ink); background:var(--paper); padding:1.9rem 1.6rem;
  display:flex; flex-direction:column; position:relative; overflow:hidden;
  transition:transform .35s var(--e), box-shadow .35s var(--e);
}
.pill::before{ content:""; position:absolute; inset:0 0 auto 0; height:6px; background:var(--red); }
.pill:nth-child(2)::before{ background:var(--yellow); }
.pill:nth-child(3)::before{ background:var(--green); }
.pill:nth-child(4)::before{ background:var(--blue); }
.pill:hover{ transform:translateY(-5px); box-shadow:0 12px 0 -4px rgba(20,17,15,.12); }
.pill b{ font-family:var(--serif); font-size:1.3rem; font-weight:600; display:block; margin:.6rem 0 .7rem; letter-spacing:-.01em; }
.pill p{ font-size:.93rem; color:var(--ink-3); line-height:1.58; }
.pill i{ font-family:var(--serif); font-style:normal; font-size:.95rem; font-weight:600; color:var(--ink-3); letter-spacing:.1em; }

/* ---------------------------------------------------------- galerias */
.strip{ display:grid; grid-template-columns:repeat(4,1fr); gap:.7rem; margin-top:2.4rem; }
@media (max-width:820px){ .strip{ grid-template-columns:repeat(2,1fr); } }
.strip button{
  padding:0; border:1.5px solid var(--ink); background:none; cursor:zoom-in; overflow:hidden;
  aspect-ratio:4/3; display:block;
}
.sec--ink .strip button, .spot .strip button{ border-color:rgba(251,247,240,.35); }
.strip img{ width:100%; height:100%; object-fit:cover; transition:transform .6s var(--e), filter .4s var(--e); }
.strip button:hover img{ transform:scale(1.07); }

.gal{ display:grid; grid-template-columns:repeat(auto-fill,minmax(215px,1fr)); gap:.8rem; }
.gal figure{ margin:0; }
.gal button{ padding:0; border:1.5px solid var(--ink); background:none; cursor:zoom-in; overflow:hidden; aspect-ratio:4/3; display:block; width:100%; }
.gal img{ width:100%; height:100%; object-fit:cover; transition:transform .6s var(--e); }
.gal button:hover img{ transform:scale(1.06); }
.gal figcaption{ font-size:.76rem; color:var(--ink-3); line-height:1.45; margin-top:.55rem; }

/* lightbox */
.lb{
  position:fixed; inset:0; z-index:9999; background:rgba(20,17,15,.96);
  display:grid; place-items:center; padding:clamp(1rem,4vw,3rem);
  opacity:0; visibility:hidden; transition:opacity .3s var(--e), visibility .3s;
}
.lb.on{ opacity:1; visibility:visible; }
.lb img{ max-width:100%; max-height:78vh; object-fit:contain; border:1px solid rgba(251,247,240,.25); }
.lb p{ color:rgba(251,247,240,.78); font-size:.85rem; margin:1rem auto 0; max-width:62ch; text-align:center; }
.lb__x{
  position:absolute; top:1.2rem; right:1.2rem; width:46px; height:46px;
  background:none; border:1.5px solid rgba(251,247,240,.45); color:var(--paper);
  font-size:1.4rem; cursor:pointer; transition:background .25s var(--e);
}
.lb__x:hover{ background:var(--red); border-color:var(--red); }

/* ---------------------------------------------------------- livros */
.shelf{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(1.6rem,3.5vw,3rem); }
@media (max-width:860px){ .shelf{ grid-template-columns:1fr; } }
.book__cover{ aspect-ratio:3/2; background:var(--sand-2); border:1.5px solid var(--ink); overflow:hidden; }
.book__cover img{ width:100%; height:100%; object-fit:cover; transition:transform .6s var(--e); }
.book:hover .book__cover img{ transform:scale(1.04); }
.book h3{ font-size:1.25rem; margin:1.2rem 0 .55rem; }
.book p{ font-size:.9rem; color:var(--ink-3); line-height:1.55; }
.sec--ink .book p{ color:rgba(251,247,240,.75); }

/* ---------------------------------------------------------- timeline */
.tl{ position:relative; border-left:2px solid var(--rule-2); margin-left:.5rem; }
.tl__item{ position:relative; padding:0 0 2.6rem 2.2rem; }
.tl__item::before{
  content:""; position:absolute; left:-9px; top:.55rem; width:16px; height:16px;
  background:var(--paper); border:3px solid var(--red);
}
.tl__item:nth-child(3n+2)::before{ border-color:var(--yellow); }
.tl__item:nth-child(3n+3)::before{ border-color:var(--green); }
.tl__item b{ font-family:var(--serif); font-size:1.6rem; font-weight:700; display:block; line-height:1; margin-bottom:.55rem; }
.tl__item p{ color:var(--ink-3); font-size:.96rem; max-width:70ch; }

/* ---------------------------------------------------------- mestres */
.master{ border-top:1.5px solid var(--rule-2); padding:1.7rem 0; display:grid; grid-template-columns:minmax(180px,.9fr) 2.4fr; gap:clamp(1rem,3vw,2.5rem); }
@media (max-width:760px){ .master{ grid-template-columns:1fr; gap:.5rem; } }
.master h3{ font-size:1.35rem; }
.master h3 small{ display:block; font:600 .68rem/1.6 var(--sans); letter-spacing:.16em; text-transform:uppercase; color:var(--red); margin-top:.4rem; }
.master p{ color:var(--ink-3); font-size:.97rem; }

/* ---------------------------------------------------------- filtros */
.chips{ display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:2.6rem; }
.chip{
  border:1.5px solid var(--ink); background:transparent; padding:.55rem 1rem;
  font-size:.72rem; font-weight:650; letter-spacing:.12em; text-transform:uppercase;
  cursor:pointer; transition:.25s var(--e);
}
.chip:hover{ background:var(--sand-2); }
.chip[aria-pressed="true"]{ background:var(--ink); color:var(--paper); }
.empty{ display:none; padding:3rem 0; color:var(--ink-3); font-style:italic; }
.empty.on{ display:block; }

/* ---------------------------------------------------------- artigo */
.article{ display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:clamp(2rem,5vw,4.5rem); align-items:start; }
@media (max-width:960px){ .article{ grid-template-columns:1fr; } }
.prose p{ font-size:1.06rem; line-height:1.78; color:var(--ink-2); }
.prose p.dropcap::first-letter{
  font-family:var(--serif); font-size:3.3rem; line-height:.85; font-weight:700;
  float:left; margin:.12em .12em 0 0; color:var(--red);
}
.aside{ border:1.5px solid var(--ink); padding:1.5rem; background:var(--sand); position:sticky; top:100px; }
.aside h4{ font-size:1.05rem; margin-bottom:.9rem; }
.aside dl{ margin:0; }
.aside dt{ font-size:.66rem; font-weight:700; letter-spacing:.15em; text-transform:uppercase; color:var(--red); margin-top:1rem; }
.aside dd{ margin:.25rem 0 0; font-size:.9rem; color:var(--ink-2); line-height:1.5; }
.aside a{ word-break:break-word; font-size:.83rem; }

.note{ border:1.5px solid var(--yellow); background:#fdf6e3; padding:1.3rem 1.5rem; font-size:.94rem; color:var(--ink-2); }
.note b{ display:block; font-family:var(--serif); font-size:1.05rem; margin-bottom:.4rem; }

/* subtítulo de página interna */
.phead{ background:var(--ink); color:var(--paper); padding:clamp(3rem,7vw,5.5rem) 0 clamp(2.5rem,5vw,4rem); position:relative; overflow:hidden; }
.phead__bg{ position:absolute; inset:0; }
.phead__bg img{ width:100%; height:100%; object-fit:cover; opacity:.26; }
.phead__bg::after{ content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(20,17,15,.92),rgba(20,17,15,.62)); }
.phead__in{ position:relative; z-index:2; }
.crumb{ font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:rgba(251,247,240,.6); margin-bottom:1.4rem; }
.crumb a{ text-decoration:none; border-bottom:1px solid rgba(251,247,240,.35); }
.crumb a:hover{ color:var(--yellow); border-color:var(--yellow); }
.phead h1{ font-size:clamp(1.9rem,4.4vw,3.4rem); max-width:22ch; color:var(--paper); }
.phead .lede{ max-width:60ch; margin-top:1.4rem; color:rgba(251,247,240,.82); }

/* ---------------------------------------------------------- formulário */
.form{ display:grid; gap:1.15rem; }
.f2{ display:grid; grid-template-columns:1fr 1fr; gap:1.15rem; }
@media (max-width:640px){ .f2{ grid-template-columns:1fr; } }
.field label{ display:block; font-size:.7rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; margin-bottom:.5rem; color:var(--ink-2); }
.field input,.field select,.field textarea{
  width:100%; padding:.85rem 1rem; font:inherit; font-size:.96rem;
  background:var(--paper); border:1.5px solid var(--ink); color:var(--ink);
  transition:border-color .25s var(--e), box-shadow .25s var(--e);
}
.field textarea{ min-height:150px; resize:vertical; }
.field input:focus,.field select:focus,.field textarea:focus{ outline:0; border-color:var(--red); box-shadow:4px 4px 0 var(--yellow); }
.check{ display:flex; gap:.7rem; align-items:flex-start; font-size:.88rem; color:var(--ink-3); }
.check input{ width:18px; height:18px; margin-top:.2rem; accent-color:var(--red); flex:none; }
.msg{ display:none; padding:1rem 1.2rem; border:1.5px solid var(--green); background:#eaf5ee; font-size:.92rem; }
.msg.on{ display:block; }
.err{ font-size:.78rem; color:var(--red); margin-top:.35rem; display:none; }
.err.on{ display:block; }

/* dados de contato */
.info{ border-top:1.5px solid var(--rule-2); }
.info div{ border-bottom:1px solid var(--rule); padding:1.15rem 0; }
.info dt{ font-size:.67rem; font-weight:700; letter-spacing:.15em; text-transform:uppercase; color:var(--red); }
.info dd{ margin:.35rem 0 0; font-size:1rem; line-height:1.55; }
.info a{ text-decoration:none; border-bottom:1px solid var(--rule-2); }
.info a:hover{ color:var(--red); border-color:var(--red); }

/* ---------------------------------------------------------- rodapé */
.foot{ background:var(--ink); color:rgba(251,247,240,.75); padding:clamp(3.5rem,7vw,5.5rem) 0 0; }
.foot__grid{ display:grid; grid-template-columns:1.5fr 1fr 1.35fr 1fr; gap:clamp(1.6rem,4vw,3rem); padding-bottom:3rem; }
@media (max-width:940px){ .foot__grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .foot__grid{ grid-template-columns:1fr; } }
.foot img.mark{ height:34px; width:auto; margin-bottom:1.2rem; }
.foot h4{ font-family:var(--sans); font-size:.7rem; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--yellow); margin-bottom:1.1rem; }
.foot ul{ list-style:none; margin:0; padding:0; display:grid; gap:.55rem; }
.foot a{ text-decoration:none; font-size:.92rem; transition:color .25s var(--e); }
.foot a:hover{ color:var(--yellow); }
.foot p{ font-size:.92rem; line-height:1.6; }
.foot__cta{ border-top:1px solid var(--rule-inv); border-bottom:1px solid var(--rule-inv); padding:2.2rem 0; display:flex; flex-wrap:wrap; gap:1.5rem; align-items:center; justify-content:space-between; }
.foot__cta p{ font-family:var(--serif); font-size:clamp(1.2rem,2.4vw,1.75rem); color:var(--paper); max-width:34ch; font-style:italic; }
.foot__legal{ padding:1.6rem 0 2rem; display:flex; flex-wrap:wrap; gap:1rem; justify-content:space-between; font-size:.78rem; color:rgba(251,247,240,.5); }

/* ---------------------------------------------------------- reveal
   Só esconde quando há JS: sem JS o conteúdo aparece normalmente. */
.js .rv{ opacity:0; transform:translateY(26px); transition:opacity .8s var(--e), transform .8s var(--e); }
.js .rv.in{ opacity:1; transform:none; }
.rv-d1{ transition-delay:.09s; } .rv-d2{ transition-delay:.18s; }
.rv-d3{ transition-delay:.27s; } .rv-d4{ transition-delay:.36s; }
@media (prefers-reduced-motion:reduce){ .js .rv{ opacity:1; transform:none; transition:none; } }

/* entrada do hero */
.hero .rise{ animation:rise .95s var(--e) both; }
.hero .rise:nth-child(2){ animation-delay:.1s; }
.hero .rise:nth-child(3){ animation-delay:.2s; }
.hero .rise:nth-child(4){ animation-delay:.3s; }
@keyframes rise{ from{ opacity:0; transform:translateY(30px); } }
@media (prefers-reduced-motion:reduce){ .hero .rise{ animation:none; } }

/* topo */
.totop{
  position:fixed; right:1.2rem; bottom:1.2rem; z-index:800;
  width:48px; height:48px; background:var(--ink); color:var(--paper);
  border:1.5px solid var(--paper); cursor:pointer; display:grid; place-items:center;
  opacity:0; visibility:hidden; transition:.35s var(--e);
}
.totop.on{ opacity:1; visibility:visible; }
.totop:hover{ background:var(--red); }

@media print{
  .topbar,.foot,.totop,.marquee{ display:none; }
  body{ background:#fff; }
}
