@charset "UTF-8";
/* ============================================================
   AAPJ/PR — Sistema visual institucional
   Registro oficial: masthead grafite, corpo marfim, filetes
   dourados, lema inscricional. Sóbrio, didático, heráldico.
   ============================================================ */

:root {
  /* Cor */
  --ink:        #1a160f;
  --ink-soft:   #4a4334;
  --graphite:   #0a0a0b;
  --graphite-2: #141418;
  --graphite-3: #1f1f25;
  --paper:      #f6f2e9;
  --paper-2:    #fbf8f1;
  --paper-3:    #ece5d6;
  --gold:       #c5a042;
  --gold-deep:  #9b7a2a;
  --gold-bright:#d8b75a;
  --silver:     #9ca0a3;
  --silver-2:   #c8cdd0;
  --green:      #0f7a3d;
  --red:        #c0202a;

  --line:        rgba(26, 22, 15, 0.14);
  --line-strong: rgba(26, 22, 15, 0.28);
  --gold-line:   rgba(197, 160, 66, 0.5);
  --on-dark:     rgba(244, 240, 230, 0.92);
  --on-dark-dim: rgba(214, 210, 198, 0.62);

  /* Tipo */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --inscr: "Cinzel", "Playfair Display", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1160px;
  --shadow-sm: 0 1px 2px rgba(10, 10, 11, 0.06), 0 6px 18px -10px rgba(10, 10, 11, 0.18);
  --shadow-md: 0 10px 40px -18px rgba(10, 10, 11, 0.4);
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(1200px 600px at 50% -10%, rgba(197, 160, 66, 0.06), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 0.5em; color: var(--ink); letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

/* ---------- Lema inscricional / eyebrow ---------- */
.eyebrow {
  font-family: var(--inscr);
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
  margin: 0 0 1.1rem;
  font-weight: 600;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  width: 30px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.eyebrow.solo::before, .eyebrow.solo::after { display: none; }

/* ---------- Botões ---------- */
.btn {
  --b: var(--gold);
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--sans); font-weight: 600; font-size: 0.86rem;
  letter-spacing: 0.04em;
  padding: 0.78em 1.5em;
  border: 1px solid var(--b);
  background: var(--gold);
  color: #20180a;
  text-decoration: none;
  border-radius: 2px;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { background: var(--gold-bright); box-shadow: 0 8px 24px -12px rgba(197,160,66,.8); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--on-dark); border-color: rgba(200,205,208,.4);
}
.btn-ghost:hover { background: rgba(255,255,255,.06); border-color: var(--gold); color: #fff; box-shadow: none; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--ink); border-color: var(--line-strong);
}
.btn-outline:hover { background: transparent; border-color: var(--gold-deep); color: var(--gold-deep); box-shadow: none; }
.btn-lg { padding: 0.95em 1.9em; font-size: 0.95rem; }

/* ---------- Filetes decorativos ---------- */
.rule-gold { height: 1px; background: linear-gradient(90deg, transparent, var(--gold-line) 20%, var(--gold-line) 80%, transparent); border: 0; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 0.8rem; color: var(--gold); margin: 0 auto; }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 64px; background: linear-gradient(90deg, transparent, var(--gold-line)); }
.ornament::after { transform: scaleX(-1); }
.ornament span { font-family: var(--inscr); font-size: 0.7rem; letter-spacing: 0.3em; }

/* ============================================================
   TOPO
   ============================================================ */
.topstrip {
  background: transparent;
  position: relative; z-index: 1;
  color: var(--gold);
  text-align: center;
  font-family: var(--inscr);
  font-size: 0.66rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  padding: 7px 16px 6px;
  border-bottom: 0;
}
.topstrip span { padding-left: 0.42em; }

.masthead {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
}
.masthead::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(180deg, #101015, #0a0a0b);
  border-bottom: 1px solid rgba(197,160,66,.32);
  box-shadow: 0 10px 30px -20px rgba(0,0,0,.9);
  opacity: 0; transform: translateY(-10px); transition: opacity .4s ease, transform .4s ease; }
.masthead.scrolled::before { opacity: 1; transform: translateY(0); }
.masthead .container {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 78px;
  max-width: none; padding-inline: 50px;
}
.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; margin-right: auto; }
.brand img { width: 46px; height: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
.brand .wm { line-height: 1; }
.brand .wm b {
  font-family: var(--serif); font-weight: 700; font-size: 1.45rem; color: var(--paper-2);
  letter-spacing: 0.01em; display: block;
}
.brand .wm b i { color: var(--gold); font-style: normal; }
.brand .wm small {
  display: block; margin-top: 3px;
  font-family: var(--sans); font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-dim);
}

.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav a {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--on-dark); text-decoration: none;
  padding: 0.6rem 0.7rem; position: relative; border-radius: 2px;
  transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.34rem; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--gold-bright); }
.nav .btn { margin-left: 0.6rem; }

.navtoggle { display: none; background: none; border: 1px solid rgba(200,205,208,.3); border-radius: 3px; color: var(--on-dark); width: 42px; height: 38px; cursor: pointer; }
.navtoggle span, .navtoggle span::before, .navtoggle span::after { content:""; display:block; width: 18px; height: 1.6px; background: currentColor; margin: 0 auto; position: relative; transition: .25s; }
.navtoggle span::before { position:absolute; top:-6px; } .navtoggle span::after { position:absolute; top:6px; }

/* ============================================================
   SEÇÕES
   ============================================================ */
.section { padding: 84px 0; }
.section.tight { padding: 60px 0; }
.section.dark { background: var(--graphite); background-image: linear-gradient(180deg,#0c0c10,#0a0a0b); color: var(--on-dark); }
.section.dark h1, .section.dark h2, .section.dark h3 { color: var(--paper-2); }
.section.panel { background: var(--paper-3); }

.shead { max-width: 760px; }
.shead.center { margin-inline: auto; text-align: center; }
.shead h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.9rem); }
.shead p { color: var(--ink-soft); font-size: 1.05rem; }

.lead { font-size: 1.18rem; line-height: 1.7; color: var(--ink-soft); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 72px 0 88px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 26px 24px;
  border: 1px solid var(--gold-line);
  outline: 1px solid rgba(197,160,66,.16); outline-offset: 5px;
  pointer-events: none; max-width: calc(var(--maxw) - 0px); margin: auto;
}
.hero .container { position: relative; text-align: center; max-width: 880px; }
.hero-crest { width: 168px; margin: 0 auto 22px; filter: drop-shadow(0 14px 30px rgba(10,10,11,.28)); }
.hero h1 {
  font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.1rem);
  line-height: 1.04; margin-bottom: 0.3em; letter-spacing: -0.015em;
}
.hero h1 em { font-style: italic; color: var(--gold-deep); }
.hero .motto {
  font-family: var(--inscr); font-style: normal; letter-spacing: 0.18em;
  text-transform: uppercase; font-size: 0.82rem; color: var(--gold-deep); margin-bottom: 1.5rem;
}
.hero .lead { max-width: 620px; margin: 0 auto 2rem; }
.hero-cta { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* animação de entrada */
.rise { opacity: 0; transform: translateY(14px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .18s; }
.rise.d3 { animation-delay: .28s; } .rise.d4 { animation-delay: .38s; } .rise.d5 { animation-delay: .48s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; opacity: 1; transform: none; } }

/* ============================================================
   GRIDS / CARTÕES
   ============================================================ */
.grid { display: grid; gap: 28px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 28px;
  position: relative;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.card.bordered { box-shadow: inset 0 0 0 1px rgba(197,160,66,.0); }
.card:hover { border-color: var(--gold-line); box-shadow: var(--shadow-sm); }
.card .ico {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--gold-line); border-radius: 50%; color: var(--gold-deep);
  margin-bottom: 16px;
}
.card h3 { font-size: 1.2rem; }
.card p { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }

/* lista de objetivos com marcador dourado */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 9px; height: 9px;
  background: var(--gold); transform: rotate(45deg); box-shadow: 0 0 0 3px rgba(197,160,66,.16);
}

/* selo de número */
.numseal { font-family: var(--serif); font-size: 2.6rem; color: var(--gold-deep); line-height: 1; font-style: italic; }

/* ============================================================
   NOTÍCIAS
   ============================================================ */
.news-card { display: flex; flex-direction: column; background: var(--paper-2); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; text-decoration: none; color: inherit; transition: border-color .25s, box-shadow .25s, transform .25s; }
.news-card:hover { border-color: var(--gold-line); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.news-cover { aspect-ratio: 16 / 9; background: var(--graphite); position: relative; overflow: hidden; display: grid; place-items: center; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; }
.news-cover.placeholder { background: linear-gradient(180deg, #efe9dc, #e4ddcc); border-bottom: 1px solid var(--line); }
.news-cover.placeholder::after { content: ""; position: absolute; inset: 14px; border: 1px solid var(--gold-line); opacity: .5; }
.news-cover.placeholder img { width: 72px; height: auto; object-fit: contain; opacity: .42; }
.news-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.news-date { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: 10px; }
.news-card h3 { font-size: 1.22rem; margin-bottom: 0.5rem; }
.news-card p { color: var(--ink-soft); font-size: 0.96rem; margin: 0 0 1rem; }
.news-more { margin-top: auto; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-deep); display: inline-flex; gap: 0.4em; }

/* selo de destaque no card */
.news-cover .badge-destaque { position: absolute; top: 10px; left: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 0.35em; font-family: var(--inscr); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: #20180a; background: var(--gold); padding: 0.38em 0.7em; border-radius: 2px; box-shadow: 0 4px 14px -6px rgba(0,0,0,.6); }

/* selo de destaque na página da notícia (fundo escuro) */
.pill-destaque { display: inline-flex; align-items: center; gap: 0.4em; font-family: var(--inscr); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--gold-bright); border: 1px solid var(--gold-line); padding: 0.4em 0.85em; border-radius: 2px; margin-bottom: 16px; }

/* bloco de download do documento oficial (PDF) */
.doc-download { max-width: 720px; margin: 34px auto 6px; padding: 20px 24px; background: var(--paper-2); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 3px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; justify-content: space-between; }
.doc-download .doc-info { display: flex; align-items: center; gap: 14px; }
.doc-download .doc-ico { font-size: 1.7rem; line-height: 1; color: var(--gold-deep); }
.doc-download .doc-t { font-family: var(--serif); font-size: 1.06rem; color: var(--ink); margin: 0; }
.doc-download .doc-s { font-size: 0.82rem; color: var(--ink-soft); margin: 2px 0 0; }

/* ============================================================
   LINHA DO TEMPO
   ============================================================ */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 8px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(180deg, var(--gold-line), rgba(197,160,66,.1)); }
.tl { position: relative; padding: 0 0 34px 38px; }
.tl::before { content: ""; position: absolute; left: 3px; top: 4px; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); box-shadow: 0 0 0 4px var(--paper); }
.tl .y { font-family: var(--inscr); font-size: 0.8rem; letter-spacing: 0.12em; color: var(--gold-deep); font-weight: 600; }
.tl h3 { font-size: 1.18rem; margin: 4px 0 6px; }
.tl p { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }

/* ============================================================
   DIRETORIA
   ============================================================ */
.dir-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: var(--paper-2); }
.dir-row { display: flex; align-items: baseline; gap: 14px; padding: 16px 22px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.dir-row .cargo { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; min-width: 0; flex: 0 0 44%; }
.dir-row .nome { font-family: var(--serif); font-size: 1.04rem; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid var(--line); background: var(--paper-2); border-radius: 2px; padding: 9px 14px; font-size: 0.92rem; color: var(--ink-soft); }

/* ============================================================
   TABELAS DE SERVIÇO (telefones / links)
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.svc { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper-2); text-decoration: none; color: inherit; transition: border-color .2s, background .2s; }
.svc:hover { border-color: var(--gold-line); background: var(--paper-2); }
.svc .num { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: var(--gold-deep); flex: 0 0 auto; min-width: 58px; }
.svc .lbl { font-size: 0.95rem; color: var(--ink); }
.svc.link .num { font-size: 0.9rem; min-width: auto; color: var(--gold-deep); }

/* ============================================================
   FORMULÁRIOS
   ============================================================ */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 0.7em 0.85em; border: 1px solid var(--line-strong); border-radius: 3px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(197,160,66,.18); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 22px; }
.help { font-size: 0.86rem; color: var(--ink-soft); }
.notice { padding: 14px 18px; border-radius: 3px; border: 1px solid var(--line); font-size: 0.95rem; margin-bottom: 18px; }
.notice.ok { border-color: rgba(15,122,61,.4); background: rgba(15,122,61,.07); color: #0c5e30; }
.notice.err { border-color: rgba(192,32,42,.4); background: rgba(192,32,42,.06); color: #9a1820; }

/* ============================================================
   RODAPÉ
   ============================================================ */
.footer { background: var(--graphite); background-image: linear-gradient(180deg,#0c0c10,#080809); color: var(--on-dark-dim); padding: 64px 0 0; }
.footer .fgrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; }
.footer .fbrand { display: flex; gap: 16px; align-items: flex-start; }
.footer .fbrand img { width: 60px; height: auto; flex: 0 0 auto; align-self: flex-start; }
.footer .fbrand b { font-family: var(--serif); font-size: 1.2rem; color: var(--paper-2); display: block; }
.footer .fbrand b i { color: var(--gold); font-style: normal; }
.footer .fbrand .motto { font-family: var(--inscr); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); margin-top: 6px; }
.footer p { font-size: 0.92rem; line-height: 1.6; }
.footer h4 { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; font-weight: 600; }
.footer a { color: var(--on-dark-dim); text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--gold-bright); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.92rem; }
.footer .fcontact li { display: flex; gap: 10px; }
.footer .fbar { margin-top: 56px; border-top: 1px solid rgba(255,255,255,.07); padding: 20px 0 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.78rem; color: rgba(214,210,198,.45); }
.footer .fbar a { color: rgba(214,210,198,.6); }

/* ============================================================
   ARTIGO (notícia individual / páginas de texto)
   ============================================================ */
.prose { max-width: 720px; margin-inline: auto; }
.prose p { font-size: 1.08rem; line-height: 1.78; color: var(--ink); }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.4em; }
.prose a { color: var(--gold-deep); text-underline-offset: 3px; }
.prose blockquote { border-left: 2px solid var(--gold); margin: 1.6em 0; padding: 0.4em 0 0.4em 1.4em; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--ink-soft); }

.breadcrumb { font-size: 0.78rem; letter-spacing: 0.04em; color: var(--ink-soft); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--gold-deep); text-decoration: none; }

/* page header (faixa escura no topo das páginas internas) */
.pagehead { margin-top: -116px; background: var(--graphite); background-image: linear-gradient(180deg,#0c0c10,#0a0a0b); color: var(--on-dark); padding: 138px 0 58px; text-align: center; position: relative; border-bottom: 1px solid rgba(197,160,66,.28); }
.pagehead h1 { color: var(--paper-2); font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); }
.pagehead p { color: var(--on-dark-dim); max-width: 620px; margin: 0.6rem auto 0; }
.pagehead .eyebrow { color: var(--gold-bright); }
.pagehead .eyebrow::before, .pagehead .eyebrow::after { background: linear-gradient(90deg, transparent, var(--gold)); }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 900px) {
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer .fgrid { grid-template-columns: 1fr 1fr; }
  .svc-grid, .form-grid, .dir-grid { grid-template-columns: 1fr; }
  .dir-row { border-right: 0; }
}
@media (max-width: 760px) {
  .navtoggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--graphite-2); border-bottom: 1px solid rgba(197,160,66,.3);
    padding: 8px 16px 18px; box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.85rem 0.4rem; border-bottom: 1px solid rgba(255,255,255,.05); }
  .nav a::after { display: none; }
  .nav .btn { margin: 12px 0 0; justify-content: center; }
  .masthead .container { min-height: 66px; padding-inline: 18px; }
  .section { padding: 60px 0; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .footer .fgrid { grid-template-columns: 1fr; gap: 32px; }
  .hero::before { inset: 14px 12px; }
}

/* ============================================================
   HERO CINEMÁTICA (protagonista)
   ============================================================ */
.hero-cine {
  position: relative;
  margin-top: -116px;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  color: var(--on-dark);
  padding: 96px 0 58px;
  background: #07070a;
  background-image: radial-gradient(120% 95% at 50% 40%, #15151c 0%, #0d0d12 46%, #08080b 100%);
  border-bottom: 1px solid rgba(197, 160, 66, 0.3);
}

/* holofote dourado que respira */
.hero-cine .glow {
  position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%);
  width: 1150px; height: 1150px; max-width: 140vw; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(197,160,66,0.22) 0%, rgba(197,160,66,0.08) 30%, transparent 64%);
  animation: heroBreathe 7s ease-in-out infinite;
}
@keyframes heroBreathe { 0%,100% { opacity: .7; transform: translate(-50%,-50%) scale(1); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.08); } }

/* anéis concêntricos (guilloché) girando devagar */
.hero-cine .rings {
  position: absolute; left: 50%; top: 40%; transform: translate(-50%,-50%);
  width: 820px; height: 820px; max-width: 130vw; pointer-events: none; z-index: 0; opacity: .55;
  background: repeating-radial-gradient(circle at center, rgba(197,160,66,0.07) 0 1px, transparent 1px 28px);
  -webkit-mask-image: radial-gradient(circle, #000 38%, transparent 70%);
  mask-image: radial-gradient(circle, #000 38%, transparent 70%);
  animation: heroSpinSlow 70s linear infinite;
}
@keyframes heroSpinSlow { to { transform: translate(-50%,-50%) rotate(360deg); } }

/* raios heráldicos girando atrás do brasão */
.hero-cine .rays { position: absolute; left: 50%; top: 40%; transform: translate(-50%,-50%); width: 920px; height: 920px; max-width: 135vw; z-index: 0; pointer-events: none; opacity: .5;
  background: repeating-conic-gradient(from 0deg, rgba(197,160,66,0.11) 0deg 1.5deg, transparent 1.5deg 9deg);
  -webkit-mask-image: radial-gradient(circle, transparent 15%, #000 30%, transparent 60%);
  mask-image: radial-gradient(circle, transparent 15%, #000 30%, transparent 60%);
  animation: heroSpin 95s linear infinite; }

/* blobs de luz à deriva (ambiente) */
.hero-cine .blob { position: absolute; border-radius: 50%; z-index: 0; pointer-events: none; filter: blur(64px); }
.hero-cine .blob.one { width: 540px; height: 540px; left: 3%; top: 4%; background: radial-gradient(circle, rgba(197,160,66,0.16), transparent 70%); animation: blobDrift 19s ease-in-out infinite; }
.hero-cine .blob.two { width: 620px; height: 620px; right: 1%; bottom: -8%; background: radial-gradient(circle, rgba(15,122,61,0.07), transparent 70%); animation: blobDrift 24s ease-in-out infinite reverse; }
@keyframes blobDrift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(46px,-34px) scale(1.06); } }

/* holofote dourado que segue o mouse */
.hero-cine .particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-cine.hot .cursor { opacity: 1; }

/* grade fina engraved + vinheta + grão */
.hero-cine .grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image:
    linear-gradient(rgba(197,160,66,0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197,160,66,0.09) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 74% at 50% 44%, #000 0%, rgba(0,0,0,0.5) 50%, transparent 86%);
  mask-image: radial-gradient(ellipse 80% 74% at 50% 44%, #000 0%, rgba(0,0,0,0.5) 50%, transparent 86%);
}
.hero-cine .grid::after { content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 132px 132px;
  -webkit-mask-image: radial-gradient(ellipse 80% 74% at 50% 44%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 74% at 50% 44%, #000 0%, transparent 78%); }
.hero-cine .vignette {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(ellipse at 50% 40%, transparent 46%, rgba(0,0,0,0.62) 100%);
}
.hero-cine .grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* poeira dourada flutuante */
.hero-cine .dust { position: absolute; width: 3px; height: 3px; border-radius: 50%; z-index: 1;
  background: rgba(155,122,42,0.6); box-shadow: 0 0 6px rgba(155,122,42,0.4); pointer-events: none;
  animation: dustFloat 10s ease-in-out infinite; opacity: 0; }
.hero-cine .dust.a { left: 22%; top: 64%; animation-delay: 0s; }
.hero-cine .dust.b { left: 34%; top: 38%; animation-delay: 1.6s; }
.hero-cine .dust.c { left: 64%; top: 58%; animation-delay: 3s; width: 2px; height: 2px; }
.hero-cine .dust.d { left: 76%; top: 36%; animation-delay: 4.4s; }
.hero-cine .dust.e { left: 48%; top: 70%; animation-delay: 5.5s; width: 2px; height: 2px; }
.hero-cine .dust.f { left: 18%; top: 44%; animation-delay: 2.3s; width: 2px; height: 2px; }
@keyframes dustFloat { 0% { opacity: 0; transform: translateY(24px); } 18% { opacity: .85; } 80% { opacity: .5; } 100% { opacity: 0; transform: translateY(-64px); } }

/* cantos de filigrana */
.hero-cine .frame { position: absolute; inset: 28px; pointer-events: none; z-index: 2; }
.hero-cine .frame i { position: absolute; width: 56px; height: 56px; }
.hero-cine .frame i::before, .hero-cine .frame i::after { content: ""; position: absolute; background: linear-gradient(90deg, var(--gold), transparent); }
.hero-cine .frame i::before { width: 56px; height: 1px; } .hero-cine .frame i::after { width: 1px; height: 56px; }
.hero-cine .frame .tl { top: 0; left: 0; } .hero-cine .frame .tl::before, .hero-cine .frame .tl::after { top: 0; left: 0; }
.hero-cine .frame .tr { top: 0; right: 0; } .hero-cine .frame .tr::before { top: 0; right: 0; background: linear-gradient(270deg, var(--gold), transparent); } .hero-cine .frame .tr::after { top: 0; right: 0; background: linear-gradient(180deg, var(--gold), transparent); }
.hero-cine .frame .bl { bottom: 0; left: 0; } .hero-cine .frame .bl::before { bottom: 0; left: 0; } .hero-cine .frame .bl::after { bottom: 0; left: 0; background: linear-gradient(0deg, var(--gold), transparent); }
.hero-cine .frame .br { bottom: 0; right: 0; } .hero-cine .frame .br::before { bottom: 0; right: 0; background: linear-gradient(270deg, var(--gold), transparent); } .hero-cine .frame .br::after { bottom: 0; right: 0; background: linear-gradient(0deg, var(--gold), transparent); }

/* conteúdo */
.hero-cine .container { position: relative; z-index: 3; max-width: 880px; }
.crest-stage { position: relative; width: 196px; margin: -18px auto 16px; display: grid; place-items: center; transition: transform 0.18s ease-out; }
.crest-stage::before { display: none; }
.crest-stage .crest { width: 182px; height: auto; position: relative; z-index: 2;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.55));
  animation: heroFloat 6s ease-in-out infinite; }
@keyframes heroFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }
.crest-stage .ring { position: absolute; width: 314px; height: 314px; border-radius: 50%; z-index: 1;
  border: 1px dashed rgba(197,160,66,0.45); animation: heroSpin 36s linear infinite; }
.crest-stage .ring.two { width: 298px; height: 298px; border-style: solid; border-color: rgba(197,160,66,0.22); animation-duration: 52s; animation-direction: reverse; }
@keyframes heroSpin { to { transform: rotate(360deg); } }
.crest-stage .sweep { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; border-radius: 12px; }
.crest-stage .sweep::after { content: ""; position: absolute; inset: -20%; background: linear-gradient(115deg, transparent 38%, rgba(255,246,224,0.4) 50%, transparent 62%); mix-blend-mode: screen; transform: translateX(-130%); animation: heroShimmer 6.5s ease-in-out infinite; }
@keyframes heroShimmer { 0%, 55% { transform: translateX(-130%); } 82%, 100% { transform: translateX(130%); } }

.hero-cine .eyebrow { color: var(--gold-bright); justify-content: center; display: inline-flex; }
.hero-cine .eyebrow::before, .hero-cine .eyebrow::after { background: linear-gradient(90deg, transparent, var(--gold)); width: 42px; }
.hero-cine h1 { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.5rem); line-height: 1.04; letter-spacing: -0.02em;
  color: var(--paper-2); margin-bottom: 0.22em; text-shadow: 0 2px 30px rgba(0,0,0,0.5); }
.hero-cine h1 em { font-style: italic; color: var(--gold-bright); }
.hero-cine .motto { font-family: var(--inscr); letter-spacing: 0.34em; text-transform: uppercase; font-size: 0.8rem; color: var(--gold-deep); margin-bottom: 1rem; }
.hero-cine .lead { max-width: 600px; margin: 0 auto 1.5rem; color: var(--on-dark); font-size: 1.04rem; }
.hero-cine .eyebrow { margin-bottom: 0.85rem; }
.hero-cine .hero-cta { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* faixa de fatos */
.hero-facts { display: flex; gap: 0; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.hero-facts .f { font-family: var(--inscr); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark-dim); padding: 0 22px; }
.hero-facts .f strong { color: var(--gold-bright); font-weight: 600; }
.hero-facts .f + .f { border-left: 1px solid rgba(197,160,66,0.25); }

/* indicador de rolagem */
.hero-scroll { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 3;
  color: var(--gold-bright); width: 30px; height: 30px; display: grid; place-items: center;
  border: 1px solid rgba(197,160,66,0.4); border-radius: 50%; text-decoration: none; animation: heroBob 2.2s ease-in-out infinite; }
@keyframes heroBob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(7px); } }

@media (prefers-reduced-motion: reduce) {
  .hero-cine .glow, .hero-cine .rings, .hero-cine .rays, .hero-cine .blob, .hero-cine .dust, .crest-stage .crest, .crest-stage .ring, .crest-stage .sweep::after, .hero-scroll { animation: none; }
  .hero-cine .dust { opacity: .5; }
}
@media (max-width: 760px) {
  .hero-cine { margin-top: -104px; min-height: 100svh; padding: 116px 20px 56px; display: block; }
  .crest-stage { width: 128px; margin: 0 auto 12px; }
  .crest-stage .crest { width: 128px; }
  .hero-cine .eyebrow { font-size: 0.58rem; letter-spacing: 0.15em; line-height: 1.5; }
  .hero-cine .eyebrow::before, .hero-cine .eyebrow::after { width: 16px; }
  .hero-cine h1 { font-size: clamp(1.75rem, 1rem + 4.5vw, 2.3rem); }
  .hero-cine .motto { font-size: 0.68rem; letter-spacing: 0.2em; margin-bottom: 0.8rem; }
  .hero-cine .lead { font-size: 0.95rem; max-width: 100%; margin-bottom: 1.15rem; }
  .hero-cine .hero-cta { flex-direction: column; align-items: stretch; gap: 0.6rem; }
  .hero-cine .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-facts { flex-direction: column; gap: 6px; margin-top: 16px; }
  .hero-facts .f { padding: 2px 0; } .hero-facts .f + .f { border-left: 0; }
  .pagehead { margin-top: -104px; padding: 112px 20px 40px; }
}
