
  :root {
    --navy:   #0e2238;
    --gold:   #c9a84c;
    --green:  #2a6049;
    --cream:  #f5f1e8;
    --border: #e0dbd0;
    --muted:  #5a6a7a;
  }
 .main {
    padding: 80px 0 0 0;
    min-height: 100vh;
}
.footer{
    margin-top: 0;
}

  /* HERO */
  .hero { background: var(--navy); padding: 3.5rem 5% 0; }
  .hero-inner { display: flex; gap: 3.5rem; align-items: flex-end; max-width: 1100px; margin: 0 auto; }
  .hero-text { flex: 1 1 380px; padding-bottom: 3.5rem; }
  .hero-pill {
    display: inline-flex; align-items: center; gap: .4rem;
    border: 1px solid rgba(201,168,76,.4); padding: .25rem .8rem;
    border-radius: 100px; margin-bottom: 1.1rem;
  }
  .hero-pip { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
  .hero-pill span { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
  .hero-text h1 { font-size: .95rem; font-weight: 400; color: rgba(255,255,255,.6); font-style: italic; margin-bottom: .15rem; }
  .hero-text h1 strong {
    display: block; font-style: normal; font-weight: 800;
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    color: #fff; text-transform: uppercase; letter-spacing: .03em; line-height: 1.1;
  }
  .hero-text p { font-size: .9rem; color: rgba(255,255,255,.55); line-height: 1.7; max-width: 440px; margin: 1rem 0 1.6rem; }
  .hero-btn {
    display: inline-flex; align-items: center; gap: .5rem;
    background: var(--gold); color: var(--navy);
    font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
    padding: .7rem 1.4rem; border-radius: 2px; text-decoration: none; transition: filter .2s;
  }
  .hero-btn:hover { filter: brightness(1.08); }

  /* Ilustração — espaço de respiro + dessaturação */
  .hero-illus {
    flex: 0 0 260px;
    align-self: flex-end;
    padding-bottom: 2rem;   /* respiro acima da linha dourada */
  }
  .hero-illus img {
    width: 100%; display: block;
    border-radius: 6px 6px 0 0;
    box-shadow: 0 -8px 40px rgba(0,0,0,.35);
    filter: saturate(0.45) opacity(0.82);  /* discreta, integrada à paleta */
    transition: filter .35s;
  }
  .hero-illus:hover img {
    filter: saturate(0.75) opacity(0.95);  /* hover revela mais cor */
  }

  .gold-bar { height: 3px; background: var(--gold); }

  /* MUNICÍPIOS */
  .munic-bar {
    background: var(--cream); padding: .7rem 5%;
    display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap;
  }
  .mn { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--navy); padding: 0 .9rem; }
  .ms { width: 1px; height: 13px; background: var(--gold); opacity: .5; }

  /* SOBRE */
  .sobre-wrapper { border-bottom: 1px solid var(--border); }
  .sobre {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
    padding: 4rem 5%; max-width: 1100px; margin: 0 auto;
  }
  .sec-eyebrow {
    font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    color: var(--gold); display: flex; align-items: center; gap: .6rem; margin-bottom: .65rem;
  }
  .sec-eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--gold); }
  .sobre-left h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 400;
    color: var(--navy); line-height: 1.25; margin-bottom: .8rem;
  }
  .sobre-left h2 em { color: var(--green); font-style: italic; }
  .sobre-left > p { font-size: .9rem; color: var(--muted); line-height: 1.7; }
  .eixos-block { margin-top: 1.5rem; padding-top: 1.3rem; border-top: 1px solid var(--border); }
  .eixos-lbl { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9a8a6a; margin-bottom: .65rem; }
  .eixo-row { display: flex; align-items: center; gap: .6rem; margin-bottom: .45rem; }
  .eixo-pip { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
  .eixo-row span { font-size: .88rem; color: var(--navy); font-weight: 500; }
  .momentos { display: flex; flex-direction: column; gap: .75rem; }
  .momento {
    display: flex; gap: .9rem; align-items: flex-start;
    padding: 1rem; border: 1px solid var(--border); border-radius: 8px; transition: border-color .2s;
  }
  .momento:hover { border-color: var(--gold); }
  .mn-num {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .mn-num span { font-size: .78rem; font-weight: 800; color: var(--gold); }
  .mb h3 { font-size: .8rem; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .25rem; }
  .mb p { font-size: .83rem; color: var(--muted); line-height: 1.55; }

  /* SEMINÁRIOS */
  #seminarios { background: var(--cream); padding: 4rem 5%; border-top: 1px solid var(--border); }
  .sem-inner { max-width: 1100px; margin: 0 auto; }
  .sem-hdr { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 1.5rem; }
  .sem-hdr h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 400; color: var(--navy);
  }
  .sem-hdr h2 em { color: var(--green); font-style: italic; }
  .sem-count { font-size: .72rem; color: #9a8a6a; text-transform: uppercase; letter-spacing: .1em; }
  .sem-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1rem; }
  .sem-card {
    background: #fff; border-radius: 10px; overflow: hidden;
    border: 1px solid var(--border); transition: transform .2s, box-shadow .2s, border-color .2s;
  }
  .sem-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(14,34,56,.1); border-color: var(--gold); }
  .sem-gallery { position: relative; aspect-ratio: 16/9; overflow: hidden; cursor: pointer; background: #c8d5e0; }
  .sem-gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
  .sem-gallery img.active { opacity: 1; }
  .sem-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: .45rem .75rem; background: linear-gradient(transparent, rgba(14,34,56,.65)); pointer-events: none; }
  .sem-date { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
  .nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(14,34,56,.55); color: #fff; border: none;
    width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
    font-size: .9rem; display: flex; align-items: center; justify-content: center;
    z-index: 2; transition: background .2s;
  }
  .nav-btn:hover { background: var(--navy); }
  .nav-btn.prev { left: .5rem; } .nav-btn.next { right: .5rem; }
  .gallery-dots { position: absolute; bottom: .4rem; right: .6rem; display: flex; gap: 4px; z-index: 2; }
  .gdot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: background .2s; }
  .gdot.active { background: var(--gold); }
  .sem-body { padding: .85rem 1rem 1rem; }
  .sem-body h3 { font-size: .95rem; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .04em; }

  /* LIGHTBOX */
  .lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 1000; align-items: center; justify-content: center; }
  .lightbox.open { display: flex; }
  .lightbox img { max-width: 90vw; max-height: 88vh; border-radius: 4px; object-fit: contain; }
  .lb-close { position: fixed; top: 1rem; right: 1.5rem; color: #fff; font-size: 2rem; cursor: pointer; background: none; border: none; line-height: 1; opacity: .7; transition: opacity .2s; }
  .lb-close:hover { opacity: 1; }
  .lb-arrow { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); color: #fff; border: none; font-size: 1.8rem; padding: .5rem .85rem; cursor: pointer; border-radius: 3px; transition: background .2s; }
  .lb-arrow:hover { background: rgba(255,255,255,.22); }
  .lb-arrow.prev { left: 1rem; } .lb-arrow.next { right: 1rem; }

  /* DOCUMENTOS */
  .docs-wrapper { border-top: 1px solid var(--border); }
  #documentos {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
    padding: 4rem 5%; max-width: 1100px; margin: 0 auto;
  }
  .docs-left h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 400;
    color: var(--navy); line-height: 1.25; margin-bottom: .8rem;
  }
  .docs-left h2 em { color: var(--green); font-style: italic; }
  .docs-left p { font-size: .9rem; color: var(--muted); line-height: 1.7; }
  .doc-cards { display: flex; flex-direction: column; gap: .9rem; }
  .doc-card { border: 1px solid var(--border); border-radius: 8px; padding: 1.1rem; display: flex; gap: .9rem; transition: border-color .2s; }
  .doc-card:hover { border-color: var(--gold); }
  .doc-icon-box { width: 36px; height: 36px; border-radius: 6px; background: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .doc-icon-box svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .doc-card h3 { font-size: .8rem; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .25rem; }
  .doc-card p { font-size: .8rem; color: var(--muted); line-height: 1.55; margin-bottom: .75rem; }
  .dbtn { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; padding: .45rem .9rem; border-radius: 2px; text-decoration: none; cursor: pointer; transition: filter .15s; }
  .dbtn:hover { filter: brightness(.9); }
  .dbtn.gold { background: var(--gold); color: var(--navy); border: none; }
  .dbtn.outline { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
  .dbtn svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

  /* FOOTER */
  .fim { background: var(--navy); padding: 2rem 5%; }
  .ft-top {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 1.1rem; border-bottom: 1px solid rgba(201,168,76,.18);
    margin-bottom: 1rem; flex-wrap: wrap; gap: 1.5rem;
  }
  .ft-copy strong { display: block; font-size: .78rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .25rem; }
  .ft-copy span { font-size: .75rem; color: rgba(255,255,255,.38); }
  .ft-logos { display: flex; align-items: center; gap: 2.5rem; }
  .ft-logos img {
    height: 52px;          /* aumentado de 40px para 52px */
    width: auto; object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: .8; transition: opacity .2s;
  }
  .ft-logos img:hover { opacity: 1; }
  .ft-munic { display: flex; gap: .5rem; flex-wrap: wrap; }
  .ft-munic span { font-size: .7rem; color: rgba(255,255,255,.22); text-transform: uppercase; letter-spacing: .08em; }

  @media (max-width: 700px) {
    nav { flex-direction: column; gap: .75rem; align-items: flex-start; }
    .hero-inner { flex-direction: column; gap: 1.5rem; align-items: center; }
    .hero-illus { flex: unset; width: 220px; padding-bottom: 1.5rem; align-self: center; }
    .sobre, #documentos { grid-template-columns: 1fr; }
    .ft-top { flex-direction: column; align-items: flex-start; }
    .ft-logos { flex-wrap: wrap; gap: 1.5rem; }
  }