/* ═══════════════════════════════════════════════════════════════
   CACAV — folha de estilos
   Estilo "aberto": tipografia grande, espaço em branco, linhas finas
   e fotografias de ponta a ponta. Caixas só onde ajudam (formulário).
═══════════════════════════════════════════════════════════════ */
:root {
  --azul:        #1756a9;
  --azul-escuro: #0e3a7a;
  --azul-noite:  #0b2550;
  --azul-ceu:    #2f8fd8;
  --azul-claro:  #eef4fb;
  --amarelo:     #f5b301;
  --amarelo-txt: #9a6b00;
  --laranja:     #e0611c;
  --verde:       #2f9e55;
  --vermelho:    #c42a2a;
  --txt:   #141b29;
  --txt-2: #556072;
  --txt-3: #7a8495;
  --linha: #e1e6ee;
  --linha-forte: #141b29;
  --fundo-suave: #f6f8fb;
  --f: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --nav-h: 84px;
  --margem: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body { font-family: var(--f); font-size: 1.0625rem; line-height: 1.65; color: var(--txt); background: #fff; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; }
svg.i, .lk svg, .btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.oculto { display: none !important; }
:focus-visible { outline: 3px solid var(--azul-ceu); outline-offset: 3px; border-radius: 3px; }
.escuro :focus-visible { outline-color: var(--amarelo); }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 10002; background: var(--txt); color: #fff; padding: .8rem 1.2rem; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 1rem; }

.w { max-width: 1240px; margin: 0 auto; padding: 0 var(--margem); }
.estreito { max-width: 820px; }
.sec { padding: clamp(4.5rem, 10vw, 7.5rem) 0 0; }
.sec-fim { padding-bottom: clamp(4.5rem, 10vw, 7.5rem); }

/* ═════════ TIPOGRAFIA ═════════ */
.etiqueta { display: inline-block; font-size: .9rem; font-weight: 700; color: var(--c, var(--azul)); margin-bottom: 1rem; letter-spacing: .01em; }
.t1 { font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 800; line-height: .98; letter-spacing: -0.045em; text-wrap: balance; }
.t2 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.t3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.025em; }
.cor { color: var(--azul); }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--txt-2); line-height: 1.6; max-width: 620px; }
.prosa { font-size: 1.08rem; line-height: 1.8; color: var(--txt-2); }
.prosa > * + * { margin-top: 1.1rem; }
.prosa strong { color: var(--txt); font-weight: 700; }
.prosa a { color: var(--azul); font-weight: 600; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prosa h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.025em; color: var(--txt); margin-top: 2.4rem; }
.prosa h3 { font-size: 1.2rem; font-weight: 800; color: var(--txt); margin-top: 1.8rem; }
.prosa ul, .prosa ol { padding-left: 1.3rem; }
.prosa li + li { margin-top: .4rem; }
.prosa blockquote { border-left: 3px solid var(--amarelo); padding-left: 1.3rem; font-size: 1.2rem; font-weight: 600; color: var(--txt); line-height: 1.6; }
.prosa img { margin: 2rem 0; }
.nota { font-size: .92rem; color: var(--txt-3); }

/* ═════════ LIGAÇÕES E BOTÕES ═════════ */
.lk { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--azul); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; line-height: 1.3; transition: color .2s; }
.lk:hover { color: var(--azul-escuro); }
.lk .seta, .seta { display: inline-block; transition: transform .2s var(--ease); }
a:hover .seta, button:hover .seta { transform: translateX(4px); }
.lk-simples { font-weight: 600; text-decoration: none; color: var(--txt); }
.lk-simples:hover { color: var(--azul); }
.acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; padding: .9rem 1.5rem; min-height: 50px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-azul { background: var(--azul); color: #fff; }
.btn-azul:hover { background: var(--azul-escuro); }
.btn-linha { background: transparent; color: var(--txt); border-color: var(--linha); }
.btn-linha:hover { border-color: var(--txt); }
.btn-sm { padding: .55rem 1.1rem; min-height: 42px; font-size: .92rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-inline { background: none; border: none; color: var(--azul); font-weight: 700; text-decoration: underline; cursor: pointer; padding: 0; font-size: inherit; }

/* ═════════ CABEÇALHO ═════════ */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-color: var(--linha); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--nav-h); }
.nav-logo img { height: 52px; width: auto; transition: height .3s var(--ease); }
.site-header.scrolled .nav-logo img { height: 44px; }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); list-style: none; }
.nav-links a { position: relative; font-size: .97rem; font-weight: 600; text-decoration: none; color: var(--txt); padding: .4rem 0; white-space: nowrap; }
.nav-links a:not(.lk)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--azul); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-links a:not(.lk):hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); }
.nav-links a[aria-current] { color: var(--azul); }
.nav-links .lk { margin-left: .4rem; }
.nav-toggle { display: none; align-items: center; gap: .6rem; background: none; border: none; cursor: pointer; font-weight: 700; padding: .5rem 0; min-height: 44px; }
.nav-toggle .barras { position: relative; width: 24px; height: 14px; }
.nav-toggle .barras span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.nav-toggle .barras span:nth-child(1) { top: 0; }
.nav-toggle .barras span:nth-child(2) { top: 6px; }
.nav-toggle .barras span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .barras span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .barras span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .barras span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ═════════ PÁGINA INICIAL: TOPO ═════════ */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.hero .ano { display: flex; align-items: center; gap: .9rem; font-weight: 700; color: var(--txt-2); margin-bottom: 1.8rem; }
.hero .ano img { width: 56px; height: auto; }
.hero .lead { margin-bottom: 2rem; }
.proximo { display: flex; gap: 1rem; align-items: baseline; margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--linha); text-decoration: none; }
.proximo small { font-size: .82rem; font-weight: 700; color: var(--azul); white-space: nowrap; }
.proximo span { font-weight: 700; }
.proximo:hover span { color: var(--azul); }

.foto-larga { position: relative; margin: 0; }
.foto-larga img { width: 100%; height: clamp(320px, 62vh, 680px); object-fit: cover; }
.foto-larga figcaption, .legenda { font-size: .85rem; color: var(--txt-3); padding-top: .8rem; }
.foto-larga figcaption { max-width: 1240px; margin: 0 auto; padding: .8rem var(--margem) 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ═════════ TÍTULOS DE SECÇÃO ═════════ */
.cabeca { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.cabeca .lead { margin-top: .9rem; }

/* ═════════ PÁGINAS INTERIORES: TOPO ═════════ */
.topo { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.migalhas { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; font-size: .88rem; color: var(--txt-3); margin-bottom: 1.6rem; }
.migalhas li + li::before { content: '/'; margin-right: .35rem; opacity: .6; }
.migalhas a { text-decoration: none; font-weight: 600; color: var(--txt-2); }
.migalhas a:hover { color: var(--azul); }
.topo .lead { margin-top: 1.4rem; }
.topo .acoes { margin-top: 2rem; }
.topo .meta { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin-top: 1.6rem; font-weight: 600; color: var(--txt-2); }
.topo .meta span { display: inline-flex; align-items: center; gap: .5rem; }
.topo .meta svg { width: 18px; height: 18px; color: var(--azul); }
.topo + .sec, .topo + .foto-larga + .sec { padding-top: clamp(3rem, 6vw, 4.5rem); }
.regua { border: 0; border-top: 1px solid var(--linha); }

/* ═════════ AGENDA (lista) ═════════ */
.agenda-lista { list-style: none; border-top: 1px solid var(--linha-forte); }
.agenda-lista > li { border-bottom: 1px solid var(--linha); }
.ev { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) 9rem 2rem; gap: 1.5rem 2rem; align-items: baseline; padding: 1.8rem 0; text-decoration: none; color: var(--txt); }
.ev .dt { font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.ev .dt small { display: block; font-size: .85rem; font-weight: 600; letter-spacing: 0; color: var(--txt-2); margin-top: .55rem; }
.ev h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; transition: color .2s; }
.ev .onde { color: var(--txt-2); margin-top: .35rem; font-size: .98rem; }
.ev .cat { font-size: .9rem; font-weight: 700; color: var(--c, var(--azul)); }
.ev .s { justify-self: end; color: var(--azul); font-size: 1.4rem; transition: transform .2s var(--ease); }
.ev:hover h3 { color: var(--azul); }
.ev:hover .s { transform: translateX(4px); }
.passado .ev .dt, .passado .ev h3 { color: var(--txt-2); }
.agenda-vazia { padding: 2.5rem 0; border-bottom: 1px solid var(--linha); }
.agenda-vazia p { color: var(--txt-2); margin: .6rem 0 1.2rem; max-width: 520px; }
.anteriores { margin-top: 3.5rem; }
.anteriores summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.15rem; color: var(--txt); padding: .4rem 0; margin-bottom: 1.2rem; }
.anteriores summary::-webkit-details-marker { display: none; }
.anteriores summary::after { content: ''; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.anteriores[open] summary::after { transform: rotate(-135deg) translateY(-2px); }

/* ═════════ ÁREAS (colunas com traço de cor) ═════════ */
.areas { display: grid; grid-template-columns: repeat(var(--colunas, 4), minmax(0, 1fr)); gap: clamp(1.8rem, 3.5vw, 3.2rem); list-style: none; }
.area { border-top: 3px solid var(--c, var(--azul)); padding-top: 1.3rem; display: flex; flex-direction: column; }
.area h3 { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; margin-bottom: .6rem; }
.area h3 a { text-decoration: none; }
.area p { color: var(--txt-2); font-size: .98rem; line-height: 1.6; }
.area .lk-cor { margin-top: auto; padding-top: 1rem; font-weight: 700; color: var(--c, var(--azul)); text-decoration: none; }
.area dl { margin-top: .8rem; font-size: .92rem; color: var(--txt-2); display: grid; gap: .2rem; }
.area dt { display: inline; font-weight: 700; color: var(--txt); }
.area dd { display: inline; margin: 0; }

/* ═════════ NÚMEROS ═════════ */
.numeros { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; list-style: none; }
.numeros li { border-top: 1px solid var(--linha-forte); padding-top: 1rem; }
.numeros b { display: block; font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--c, var(--azul)); font-variant-numeric: tabular-nums; }
.numeros span { display: block; color: var(--txt-2); margin-top: .5rem; font-size: .95rem; }

/* ═════════ DESTAQUE (imagem + texto) ═════════ */
.destaque { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.destaque.inverso > :first-child { order: 2; }
.destaque-img { display: block; border: 0; background: none; padding: 0; cursor: zoom-in; }
.destaque-img img { width: 100%; max-width: 480px; }
.destaque .lead { margin: 1.4rem 0 2rem; }
.estado { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: .92rem; color: var(--txt-2); margin-bottom: 1rem; }
.estado::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.estado.aberto { color: #1d7a45; }
.estado.aberto::before { animation: pulsar 1.6s infinite; }
.estado.brevemente { color: var(--amarelo-txt); }
@keyframes pulsar { 0% { box-shadow: 0 0 0 0 rgba(29,122,69,.5); } 70% { box-shadow: 0 0 0 8px rgba(29,122,69,0); } 100% { box-shadow: 0 0 0 0 rgba(29,122,69,0); } }

/* Lista de factos com linhas */
.factos { list-style: none; border-top: 1px solid var(--linha); margin: 1.6rem 0 2rem; }
.factos li { display: grid; grid-template-columns: 10rem 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--linha); font-size: .98rem; }
.factos b { font-weight: 700; }
.factos span { color: var(--txt-2); }

/* ═════════ NOTÍCIAS ═════════ */
.noticias { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3.5vw, 3rem); list-style: none; }
.nt { display: flex; flex-direction: column; text-decoration: none; color: var(--txt); }
.nt-img { aspect-ratio: 3/2; overflow: hidden; background: var(--azul-claro); display: grid; place-items: center; margin-bottom: 1.1rem; }
.nt-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.nt-img img.sem { width: 44%; height: auto; object-fit: contain; opacity: .85; }
.nt:hover .nt-img img.sem { transform: none; }
.nt:hover .nt-img img { transform: scale(1.04); }
.nt time { font-size: .88rem; font-weight: 700; color: var(--azul); }
.nt h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; margin: .35rem 0 .5rem; transition: color .2s; }
.nt:hover h3 { color: var(--azul); }
.nt p { color: var(--txt-2); font-size: .97rem; line-height: 1.6; }
.noticias.primeira-grande > li:first-child { grid-column: 1 / -1; }
.noticias.primeira-grande > li:first-child .nt { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.noticias.primeira-grande > li:first-child .nt-img { margin: 0; aspect-ratio: 16/10; }
.noticias.primeira-grande > li:first-child h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); }

/* Artigo */
.artigo-img { margin-bottom: 2.5rem; }
.artigo-img img { width: 100%; }
.artigo-rodape { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--linha); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; }
.duas-col { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.lateral { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.lateral h2 { font-size: 1.1rem; font-weight: 800; margin-bottom: .4rem; }
.lateral .factos { margin-top: .8rem; }
.lateral .factos li { grid-template-columns: 6rem 1fr; }
.botoes { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.btn-texto { display: inline-flex; align-items: center; gap: .5rem; background: none; border: none; cursor: pointer; font-weight: 700; color: var(--azul); padding: 0; text-decoration: none; font-size: 1rem; }
.btn-texto svg { width: 18px; height: 18px; }
.btn-texto:hover { color: var(--azul-escuro); }

/* ═════════ GALERIA ═════════ */
.faixa-fotos { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 6px; }
.faixa-fotos img { width: 100%; height: clamp(220px, 34vw, 440px); object-fit: cover; }
.galeria-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); grid-auto-flow: dense; gap: 6px; list-style: none; }
.galeria-grid li:nth-child(9n+1) { grid-column: span 2; grid-row: span 2; }
.foto-btn { display: block; width: 100%; height: 100%; aspect-ratio: 4/3; padding: 0; border: none; background: var(--azul-claro); cursor: zoom-in; overflow: hidden; }
.galeria-grid li:nth-child(9n+1) .foto-btn { aspect-ratio: auto; }
.foto-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.foto-btn:hover img { transform: scale(1.04); }
.galeria-mais { text-align: center; margin-top: 2.5rem; }
.albuns { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(2rem, 3.5vw, 3rem); list-style: none; }
.album { text-decoration: none; color: var(--txt); display: block; }
.album .capa { aspect-ratio: 4/3; overflow: hidden; background: var(--azul-claro); margin-bottom: 1rem; }
.album .capa img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.album:hover .capa img { transform: scale(1.04); }
.album h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; }
.album:hover h3 { color: var(--azul); }
.album small { color: var(--txt-2); font-size: .95rem; display: block; margin-top: .2rem; }

/* Lightbox */
.lightbox { border: none; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; background: rgba(10,16,28,.97); color: #fff; }
.lightbox::backdrop { background: rgba(10,16,28,.97); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb-topo { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1rem; }
.lb-contador { font-size: .9rem; font-weight: 700; opacity: .8; }
.lb-palco { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 clamp(.5rem, 6vw, 5rem); touch-action: pan-y; }
.lb-palco img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; transition: opacity .25s; }
.lb-palco img.a-carregar { opacity: .25; }
.lb-legenda { text-align: center; padding: .8rem 1rem 1.2rem; font-size: .98rem; min-height: 3rem; }
.lb-legenda small { display: block; font-size: .8rem; opacity: .6; margin-top: .2rem; }
.lb-btn { background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,.12); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-ant, .lb-seg { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lb-ant { left: clamp(.4rem, 1.5vw, 1.2rem); }
.lb-seg { right: clamp(.4rem, 1.5vw, 1.2rem); }

/* ═════════ CITAÇÃO ═════════ */
.citacao { text-align: center; padding: clamp(5rem, 11vw, 8.5rem) 0; }
.citacao p { font-size: clamp(1.6rem, 3.6vw, 2.6rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.03em; max-width: 920px; margin: 0 auto; text-wrap: balance; }
.citacao p span { color: var(--azul); }
.citacao small { display: block; margin-top: 1.4rem; color: var(--txt-2); }

/* ═════════ FAIXA ESCURA (Jograis) ═════════ */
.escuro { background: var(--azul-noite); color: #fff; }
.escuro .etiqueta { color: var(--amarelo); }
.escuro .prosa { color: rgba(255,255,255,.82); }
.escuro .lk { color: #fff; }
.faixa-escura { padding: clamp(4.5rem, 10vw, 7rem) 0; margin-top: clamp(4.5rem, 10vw, 7.5rem); }
.faixa-escura .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.faixa-escura .lema { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.15; }
.faixa-escura .lema span { color: var(--amarelo); }

/* ═════════ ASSOCIE-SE / CHAMADA FINAL ═════════ */
.chamada { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; padding: clamp(3rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--linha); }
.chamada .t2 { max-width: 720px; }
.chamada .lk { font-size: 1.2rem; }
.passos { list-style: none; counter-reset: passo; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.8rem, 4vw, 3.5rem); }
.passos li { counter-increment: passo; border-top: 1px solid var(--linha-forte); padding-top: 1.2rem; }
.passos li::before { content: counter(passo, decimal-leading-zero); display: block; font-size: 3rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--azul); margin-bottom: 1rem; }
.passos b { display: block; font-size: 1.25rem; font-weight: 800; margin-bottom: .4rem; }
.passos span { color: var(--txt-2); }

/* ═════════ SOBRE: LINHA DO TEMPO + VALORES ═════════ */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); position: relative; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 3.15rem; height: 2px; background: var(--linha-forte); }
.timeline li { padding-right: 1rem; position: relative; }
.timeline .ano { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.04em; color: var(--azul); margin-bottom: 1.6rem; }
.timeline li::before { content: ''; position: absolute; left: 0; top: 2.75rem; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--txt); }
.timeline b { display: block; font-size: 1rem; margin-bottom: .2rem; }
.timeline span:not(.ano) { color: var(--txt-2); font-size: .9rem; line-height: 1.5; display: block; }
.citacao-lateral { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; line-height: 1.35; letter-spacing: -0.025em; border-left: 3px solid var(--amarelo); padding-left: 1.4rem; }
.citacao-lateral small { display: block; font-size: .9rem; font-weight: 600; color: var(--txt-2); margin-top: 1rem; letter-spacing: 0; }
.historia-cols { columns: 2; column-gap: clamp(2rem, 5vw, 4rem); }
.historia-cols p { break-inside: avoid; margin-bottom: 1.2rem; }

/* ═════════ PARCERIAS ═════════ */
.parcerias { display: flex; flex-wrap: wrap; gap: .4rem 0; list-style: none; font-size: 1.05rem; color: var(--txt-2); }
.parcerias li:not(:last-child)::after { content: '·'; margin: 0 .8rem; color: var(--txt-3); }

/* ═════════ CONTACTOS + FORMULÁRIO (aqui a caixa ajuda) ═════════ */
.contactos-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.lista-contactos { list-style: none; border-top: 1px solid var(--linha-forte); }
.lista-contactos li { border-bottom: 1px solid var(--linha); padding: 1.1rem 0; display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; }
.lista-contactos small { font-weight: 700; color: var(--txt-2); font-size: .9rem; }
.lista-contactos a { text-decoration: none; font-weight: 700; overflow-wrap: anywhere; }
.lista-contactos a:hover { color: var(--azul); }
.painel { background: var(--fundo-suave); border-radius: 20px; padding: clamp(1.6rem, 4vw, 2.6rem); }
.painel h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.025em; margin-bottom: .3rem; }
.painel > div > p { color: var(--txt-2); margin-bottom: 1.6rem; }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.campo { display: flex; flex-direction: column; gap: .35rem; }
.campo.inteiro { grid-column: 1 / -1; }
.campo label { font-weight: 700; font-size: .92rem; }
.campo label .opc { font-weight: 500; color: var(--txt-3); }
.campo input, .campo select, .campo textarea { font: inherit; font-size: 1rem; color: var(--txt); background: #fff; border: 1.5px solid var(--linha); border-radius: 12px; padding: .8rem .95rem; min-height: 52px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.campo textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 4px rgba(23,86,169,.14); }
.campo [aria-invalid="true"] { border-color: var(--vermelho); background: #fff7f7; }
.erro { color: #b42323; font-size: .86rem; min-height: 1.1em; }
.consentimento { grid-column: 1 / -1; display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--txt-2); line-height: 1.5; }
.consentimento input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--azul); flex-shrink: 0; }
.form-acoes { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: .3rem; }
.form-estado.erro { color: #b42323; }
.form-sucesso { padding: 2rem 0; }
.form-sucesso .ico { font-size: 2.4rem; color: var(--verde); font-weight: 800; }
.form-sucesso h2 { margin: .4rem 0; }
.form-sucesso p { color: var(--txt-2); }

/* ═════════ RODAPÉ ═════════ */
.site-footer { border-top: 0; margin-top: clamp(4.5rem, 10vw, 7.5rem); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; font-size: .97rem; }
.site-footer.sem-margem { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-logo img { height: 54px; width: auto; margin-bottom: 1rem; }
.footer-sobre { color: var(--txt-2); max-width: 320px; }
.site-footer h2 { font-size: .9rem; font-weight: 700; color: var(--txt-3); margin-bottom: .9rem; }
.footer-nav { list-style: none; display: grid; gap: .45rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--azul); }
.site-footer address { font-style: normal; line-height: 1.85; color: var(--txt-2); }
.site-footer address a { color: var(--txt); font-weight: 600; }
.footer-base { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--linha); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: var(--txt-3); font-size: .88rem; }
.footer-base .links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-base button { background: none; border: none; cursor: pointer; color: var(--txt-2); font-size: .88rem; padding: 0; }
.footer-base button:hover, .footer-base a:hover { color: var(--azul); }
.redes { display: flex; gap: .8rem; margin-top: 1.2rem; }
.redes a { width: 40px; height: 40px; border: 1px solid var(--linha); border-radius: 50%; display: grid; place-items: center; transition: border-color .2s, color .2s; }
.redes a:hover { border-color: var(--azul); }
.redes svg { width: 18px; height: 18px; }

/* ═════════ COOKIES + MODAL + TOPO ═════════ */
.cookies-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 9999; max-width: 680px; margin: 0 auto; background: #fff; border-radius: 16px; border: 1px solid var(--linha); box-shadow: 0 16px 48px rgba(16,28,48,.16); padding: 1.1rem 1.3rem; display: flex; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; transform: translateY(150%); transition: transform .45s var(--ease); }
.cookies-banner.visivel { transform: none; }
.cookies-banner p { font-size: .92rem; color: var(--txt-2); flex: 1 1 320px; }
.modal { border: none; border-radius: 20px; padding: 0; max-width: 640px; width: calc(100% - 2rem); max-height: 85dvh; margin: auto; color: var(--txt); box-shadow: 0 24px 80px rgba(0,0,0,.25); }
.modal::backdrop { background: rgba(11,37,80,.5); }
.modal-corpo { padding: clamp(1.5rem, 4vw, 2.5rem); overflow-y: auto; max-height: 85dvh; }
.modal h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1.2rem; padding-right: 2.5rem; }
.modal h3 { font-size: 1rem; font-weight: 800; margin: 1.4rem 0 .4rem; }
.modal p { font-size: .96rem; line-height: 1.75; color: var(--txt-2); margin-bottom: .8rem; }
.modal-fechar { position: absolute; top: .9rem; right: .9rem; background: none; border: 1px solid var(--linha); width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.modal-fechar:hover { border-color: var(--txt); }
.modal-btns { display: flex; gap: .8rem; margin-top: 1.6rem; flex-wrap: wrap; }
#voltarTopo { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 998; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--txt); border: 1px solid var(--linha); cursor: pointer; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(16,28,48,.1); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), border-color .2s; }
#voltarTopo svg { width: 20px; height: 20px; }
#voltarTopo.visivel { opacity: 1; transform: none; pointer-events: auto; }
#voltarTopo:hover { border-color: var(--txt); }
body.cookies-abertos #voltarTopo { bottom: 7.5rem; }

/* ═════════ ANIMAÇÕES ═════════ */
.js .fade-in { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .fade-in.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .fade-in { opacity: 1; transform: none; }
}

/* ═════════ RESPONSIVO ═════════ */
@media (max-width: 1100px) {
  :root { --nav-h: 72px; }
  .nav-toggle { display: inline-flex; }
  .nav-menu { position: fixed; inset: var(--menu-top, var(--nav-h)) 0 0 0; background: #fff; padding: 1.5rem var(--margem) 2.5rem; overflow-y: auto; border-top: 1px solid var(--linha); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s; }
  .nav-menu.aberto { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links li { border-bottom: 1px solid var(--linha); }
  .nav-links li:last-child { border: none; padding-top: 1.6rem; }
  .nav-links a { display: block; font-size: 1.75rem; font-weight: 800; letter-spacing: -0.03em; padding: .8rem 0; }
  .nav-links a:not(.lk)::after { display: none; }
  .nav-links .lk { display: inline-flex; font-size: 1.3rem; margin: 0; }
  body.menu-aberto { overflow: hidden; }
  .timeline { grid-template-columns: 1fr; gap: 1.4rem; padding-left: 2rem; max-width: 620px; }
  .timeline::before { left: 5px; right: auto; top: .5rem; bottom: .5rem; width: 2px; height: auto; }
  .timeline li { padding: 0; }
  .timeline li::before { left: -2rem; top: .55rem; }
  .timeline .ano { margin-bottom: .2rem; font-size: 1.3rem; }
}
@media (max-width: 900px) {
  .hero-grid, .destaque, .duas-col, .contactos-grid, .faixa-escura .grid { grid-template-columns: 1fr; }
  .destaque.inverso > :first-child { order: 0; }
  .destaque-img img { max-width: 360px; }
  .areas { --colunas: 2 !important; }
  .noticias { grid-template-columns: 1fr 1fr; }
  .noticias.primeira-grande > li:first-child .nt { grid-template-columns: 1fr; }
  .numeros { grid-template-columns: 1fr 1fr; }
  .lateral { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .historia-cols { columns: 1; }
  .ev { grid-template-columns: 7.5rem minmax(0, 1fr) 1.5rem; }
  .ev .cat { grid-column: 2; grid-row: 2; margin-top: -.6rem; }
  .ev .s { grid-column: 3; grid-row: 1; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .nav-logo img { height: 44px; }
  .site-header.scrolled .nav-logo img { height: 40px; }
  .hero .ano img { width: 46px; }
  .foto-larga img { height: 58vh; }
  .areas, .noticias, .passos { grid-template-columns: 1fr; --colunas: 1 !important; }
  .faixa-fotos { grid-template-columns: 1fr 1fr; }
  .faixa-fotos img:first-child { grid-column: 1 / -1; }
  .campos { grid-template-columns: 1fr; }
  .factos li, .lista-contactos li { grid-template-columns: 1fr; gap: .1rem; }
  .ev { grid-template-columns: 1fr; gap: .5rem; padding: 1.5rem 0; }
  .ev .dt { font-size: 1.9rem; display: flex; align-items: baseline; gap: .8rem; }
  .ev .dt small { margin: 0; }
  .ev .cat { grid-column: auto; grid-row: auto; margin: 0; }
  .ev .s { display: none; }
  .galeria-grid { grid-template-columns: 1fr 1fr; }
  .galeria-grid li:nth-child(9n+1) { grid-column: span 2; grid-row: auto; }
  .galeria-grid li:nth-child(9n+1) .foto-btn { aspect-ratio: 16/10; }
  .footer-grid { grid-template-columns: 1fr; }
  .cookies-banner { left: .6rem; right: .6rem; bottom: .6rem; }
  #voltarTopo { right: 1rem; bottom: 1rem; }
  .lb-ant, .lb-seg { top: auto; bottom: -3.6rem; transform: none; }
  .lb-palco { margin-bottom: 3.6rem; }
}
@media print {
  .site-header, .cookies-banner, #voltarTopo, .painel { display: none !important; }
  .js .fade-in { opacity: 1; transform: none; }
}

/* ═════════════════════════════════════════
   BANNERS COM FOTOGRAFIA DE FUNDO
═════════════════════════════════════════ */
.banner-zona { padding-top: clamp(.5rem, 1.5vw, 1rem); }
.banner { position: relative; isolation: isolate; overflow: hidden; border-radius: clamp(16px, 2vw, 28px); background: var(--azul-noite); color: #fff; min-height: clamp(340px, 48vh, 480px); display: flex; align-items: flex-end; }
.banner > .bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
.banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(0deg, rgba(7,22,48,.9) 0%, rgba(7,22,48,.55) 42%, rgba(7,22,48,.12) 78%),
  linear-gradient(90deg, rgba(7,22,48,.5) 0%, transparent 65%); }
.banner .conteudo { padding: clamp(1.6rem, 5vw, 3.5rem); max-width: 940px; }
.banner .migalhas, .banner .migalhas a { color: rgba(255,255,255,.8); }
.banner .migalhas a:hover { color: #fff; }
.banner .etiqueta { color: var(--amarelo); }
.banner .t1 { font-size: clamp(2.3rem, 6vw, 4.6rem); }
.banner .lead { color: rgba(255,255,255,.88); margin-top: 1.1rem; }
.banner .meta, .banner .meta svg { color: rgba(255,255,255,.9); }
.banner .lk, .banner .lk-simples, .banner .lk:hover { color: #fff; }
.banner .lk-simples:hover { color: var(--amarelo); }
.banner .estado { color: rgba(255,255,255,.85); }
.banner .estado.aberto { color: #7ee2a8; }
.banner .estado.brevemente { color: var(--amarelo); }
.banner .btn-azul { background: #fff; color: var(--azul-noite); }
.banner .btn-azul:hover { background: var(--amarelo); }
.banner :focus-visible { outline-color: var(--amarelo); }
.banner .credito { position: absolute; right: clamp(1rem, 2.5vw, 1.6rem); bottom: .9rem; font-size: .75rem; color: rgba(255,255,255,.65); }
.banner.grande { min-height: clamp(520px, 82vh, 780px); }
.banner.grande .t1 { font-size: clamp(2.7rem, 7.4vw, 5.8rem); }
.banner .ano { display: flex; align-items: center; gap: .9rem; font-weight: 700; color: rgba(255,255,255,.9); margin-bottom: 1.4rem; }
.banner .ano img { width: 60px; background: #fff; border-radius: 50%; padding: 4px; }
.banner .proximo { border-top-color: rgba(255,255,255,.25); color: #fff; max-width: 560px; }
.banner .proximo small { color: var(--amarelo); }
.banner .proximo:hover span { color: var(--amarelo); }
.banner-zona + .sec, .banner-zona + section { padding-top: clamp(3rem, 7vw, 5rem); }
@media (max-width: 600px) {
  .banner { min-height: 380px; border-radius: 16px; }
  .banner.grande { min-height: 78vh; }
}
.banner .acoes { margin-top: 1.8rem; }
.banner .meta { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin-top: 1.4rem; font-weight: 600; }
.banner .meta span { display: inline-flex; align-items: center; gap: .5rem; }
.banner .meta svg { width: 18px; height: 18px; }
.banner .estado { margin-top: 1.4rem; margin-bottom: 0; }
.banner .estado + .acoes { margin-top: 1rem; }
@media (max-width: 600px) {
  .banner .conteudo { padding-bottom: 2.6rem; }
  .banner .credito { font-size: .68rem; bottom: .7rem; }
}

/* Banner de ponta a ponta (até 1680 px de largura); o texto alinha com o resto da página */
.banner-zona { padding-top: 0; }
.banner-zona > div { max-width: 1680px; margin: 0 auto; }
.banner { border-radius: 0; }
.banner .conteudo { width: 100%; max-width: 1240px; margin: 0 auto; padding: clamp(1.8rem, 5vw, 3.8rem) var(--margem); }
.banner .conteudo > * { max-width: 900px; }
.banner .credito { right: max(var(--margem), calc((100% - 1240px) / 2 + var(--margem))); }
@media (min-width: 1700px) {
  .banner-zona { padding-top: 1rem; }
  .banner { border-radius: 28px; }
}
@media (max-width: 600px) {
  .banner { border-radius: 0; }
  .banner .conteudo { padding-bottom: 2.6rem; }
}

/* ═══════════════════════════════════════════════════════════════
   AJUSTES: letra mais contida + caixas suaves para organizar
═══════════════════════════════════════════════════════════════ */
body { font-size: 1rem; }
.t1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -0.035em; line-height: 1.05; }
.t2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.03em; line-height: 1.12; }
.t3 { font-size: clamp(1.12rem, 1.6vw, 1.3rem); }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.14rem); }
.prosa { font-size: 1.02rem; line-height: 1.75; }
.banner .t1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
.banner.grande .t1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.banner.grande { min-height: clamp(460px, 70vh, 660px); }
.banner { min-height: clamp(300px, 40vh, 400px); }
.citacao p { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.citacao { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.faixa-escura .lema { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.citacao-lateral { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }
.timeline .ano { font-size: 1.3rem; }
.sec { padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.cabeca { margin-bottom: clamp(1.3rem, 2.5vw, 1.8rem); }
.nav-links a { font-size: .93rem; }
@media (max-width: 1100px) { .nav-links a { font-size: 1.35rem; } }

/* Secções com fundo suave (dão ritmo e agrupam conteúdos) */
.bloco-suave { background: var(--fundo-suave); padding: clamp(3rem, 6vw, 4.5rem) 0; margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.banner-zona + .bloco-suave { margin-top: 0; }

/* Agenda: cada evento num cartão */
.agenda-lista { border-top: 0; display: grid; gap: .7rem; }
.agenda-lista > li { border-bottom: 0; }
.ev { background: #fff; border: 1px solid var(--linha); border-radius: 16px; padding: 1.1rem 1.4rem; gap: 1rem 1.6rem; grid-template-columns: 7.5rem minmax(0, 1fr) 8rem 1.5rem; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.ev:hover { border-color: var(--azul); box-shadow: 0 8px 24px rgba(16,40,80,.08); transform: translateY(-2px); }
.ev .dt { font-size: clamp(1.45rem, 2.2vw, 1.8rem); }
.ev .dt small { font-size: .8rem; margin-top: .35rem; }
.ev h3 { font-size: 1.12rem; }
.ev .onde { font-size: .93rem; }
.ev .cat { font-size: .82rem; }
.passado .ev { background: var(--fundo-suave); }
.agenda-vazia { background: #fff; border: 2px dashed var(--linha); border-radius: 16px; padding: 1.8rem; }

/* Áreas, cursos, valores e vantagens em cartões */
.areas { gap: 1rem; }
.area { background: var(--fundo-suave); border-radius: 16px; padding: 1.3rem 1.35rem 1.4rem; border-top: 4px solid var(--c, var(--azul)); }
.bloco-suave .area { background: #fff; }
.area h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.area p { font-size: .93rem; }
.area .lk-cor { font-size: .92rem; padding-top: .8rem; }

/* Números em cartões */
.numeros { gap: 1rem; }
.numeros li { background: var(--fundo-suave); border-radius: 16px; border-top: 4px solid var(--c, var(--azul)); padding: 1.1rem 1.2rem; }
.numeros b { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }

/* Passos em cartões */
.passos { gap: 1rem; }
.passos li { background: var(--fundo-suave); border-radius: 16px; border-top: 0; padding: 1.4rem; }
.passos li::before { font-size: 1.9rem; margin-bottom: .7rem; }
.passos b { font-size: 1.08rem; }

/* Notícias em cartões */
.noticias { gap: 1.2rem; }
.nt { background: #fff; border: 1px solid var(--linha); border-radius: 16px; overflow: hidden; height: 100%; transition: box-shadow .25s, transform .25s var(--ease); }
.nt:hover { box-shadow: 0 12px 32px rgba(16,40,80,.1); transform: translateY(-3px); }
.nt-img { margin-bottom: 0; }
.nt > div:last-child { padding: 1.1rem 1.25rem 1.3rem; }
.nt h3 { font-size: 1.08rem; }
.nt p { font-size: .92rem; }
.nt time { font-size: .8rem; }
.noticias.primeira-grande > li:first-child .nt { gap: 0; }
.noticias.primeira-grande > li:first-child .nt > div:last-child { padding: clamp(1.4rem, 3vw, 2.2rem); }
.noticias.primeira-grande > li:first-child h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }

/* Álbuns em cartões */
.albuns { gap: 1.2rem; }
.album { background: #fff; border: 1px solid var(--linha); border-radius: 16px; overflow: hidden; transition: box-shadow .25s, transform .25s var(--ease); }
.album:hover { box-shadow: 0 12px 32px rgba(16,40,80,.1); transform: translateY(-3px); }
.album .capa { margin-bottom: 0; }
.album h3 { font-size: 1.08rem; padding: 1rem 1.2rem 0; }
.album small { padding: .2rem 1.2rem 1.1rem; font-size: .9rem; }
.galeria-grid .foto-btn, .faixa-fotos .foto-btn { border-radius: 10px; }
.galeria-grid, .faixa-fotos { gap: 8px; }

/* Colunas laterais (informações do evento, ficha, inscrições) em painel */
.lateral { background: var(--fundo-suave); border-radius: 18px; padding: 1.4rem 1.5rem; }
.lateral .destaque-img img { border-radius: 8px; }
.lateral .factos { border-top-color: var(--linha); }

/* Contactos: lista em painel */
.lista-contactos { background: var(--fundo-suave); border-radius: 18px; border-top: 0; padding: .4rem 1.4rem; }
.lista-contactos li:last-child { border-bottom: 0; }

/* Bienal: ficha técnica em painel */
.destaque .factos { background: var(--fundo-suave); border-radius: 16px; border-top: 0; padding: .3rem 1.2rem; }
.destaque .factos li:last-child { border-bottom: 0; }

/* Chamada final em caixa azul suave */
.chamada { background: var(--azul-claro); border: 0; border-radius: 20px; padding: clamp(1.8rem, 4vw, 2.6rem) clamp(1.5rem, 4vw, 2.6rem); margin-top: clamp(3rem, 6vw, 4.5rem); }

@media (max-width: 900px) {
  .ev { grid-template-columns: 6rem minmax(0, 1fr) 1.2rem; }
}
@media (max-width: 600px) {
  .ev { grid-template-columns: 1fr; padding: 1rem 1.1rem; }
  .ev .dt { font-size: 1.4rem; }
  .lateral { padding: 1.2rem; }
}
.lista-contactos li { grid-template-columns: 6.5rem minmax(0, 1fr); }
.lista-contactos a { overflow-wrap: normal; word-break: normal; }
.lista-contactos span a { display: inline-block; }

/* ═════════ NOTÍCIAS: anos, paginação ═════════ */
.filtro-anos { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.6rem; }
.filtro-anos a { text-decoration: none; font-weight: 700; font-size: .9rem; padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--linha); color: var(--txt-2); background: #fff; }
.filtro-anos a:hover { border-color: var(--azul); color: var(--azul); }
.filtro-anos a[aria-current] { background: var(--azul); border-color: var(--azul); color: #fff; }
.filtro-anos a span { font-weight: 500; opacity: .65; margin-left: .2rem; }
.paginacao { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.nt-img img.inteira { object-fit: contain; background: #fff; padding: 6%; }

/* ═════════ MEMÓRIA ═════════ */
.aviso-arquivo { background: #fff6e0; border: 1px solid #f3dfae; color: #6b4f00; border-radius: 14px; padding: .9rem 1.1rem; font-size: .93rem; margin-bottom: 2rem; }
.aviso-arquivo a { color: inherit; font-weight: 700; }
.anos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 1rem; list-style: none; }
.ano-card { display: block; text-decoration: none; color: var(--txt); background: #fff; border: 1px solid var(--linha); border-radius: 16px; overflow: hidden; transition: box-shadow .25s, transform .25s var(--ease); }
.ano-card:hover { box-shadow: 0 12px 32px rgba(16,40,80,.1); transform: translateY(-3px); }
.ano-card .capa { display: block; aspect-ratio: 4/3; background: var(--azul-claro); overflow: hidden; filter: saturate(.75); }
.ano-card .capa img { width: 100%; height: 100%; object-fit: cover; }
.ano-card b { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; padding: .8rem 1rem 0; }
.ano-card small { display: block; color: var(--txt-3); padding: 0 1rem 1rem; }
.arquivo-lista { list-style: none; display: grid; gap: .6rem; }
.arq { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1rem; align-items: center; text-decoration: none; color: var(--txt); background: #fff; border: 1px solid var(--linha); border-radius: 14px; padding: .6rem; transition: border-color .2s; }
.arq:hover { border-color: var(--azul); }
.arq-img { display: block; width: 96px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--fundo-suave); }
.arq-img img { width: 100%; height: 100%; object-fit: cover; }
.arq-txt time { display: block; font-size: .78rem; font-weight: 700; color: var(--txt-3); }
.arq-txt b { display: block; font-size: 1rem; line-height: 1.3; }
.arq:hover .arq-txt b { color: var(--azul); }
.arq-txt > span { display: block; font-size: .88rem; color: var(--txt-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.memoria-chamada { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; text-decoration: none; color: var(--txt); background: #fff6e0; border: 1px solid #f3dfae; border-radius: 18px; padding: 1.3rem 1.5rem; margin: 0 0 clamp(2rem, 4vw, 3rem); }
.memoria-chamada b { display: block; font-size: 1.15rem; }
.memoria-chamada > span > span { color: var(--txt-2); font-size: .95rem; }

/* Fotografias dentro das notícias: grelha clicável */
.prosa p:has(> img) { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 8px; }
.prosa p:has(> img) img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; margin: 0; cursor: zoom-in; }
.prosa p:has(> img:only-child) { display: block; }
.prosa p:has(> img:only-child) img { aspect-ratio: auto; }
@media (max-width: 600px) { .arq { grid-template-columns: 72px minmax(0, 1fr); } .arq-img { width: 72px; height: 56px; } }

/* Ficha de sócio */
.grupo { border: 0; padding: 0; margin: 0 0 1.6rem; }
.grupo legend { font-weight: 800; font-size: 1.05rem; margin-bottom: .9rem; padding: 0; }
.grupo legend .opc { font-weight: 500; color: var(--txt-3); font-size: .9rem; }
.opcoes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: .5rem; }
.opcao { display: flex; align-items: center; gap: .6rem; background: #fff; border: 1.5px solid var(--linha); border-radius: 12px; padding: .65rem .85rem; font-size: .93rem; cursor: pointer; }
.opcao:has(input:checked) { border-color: var(--azul); background: var(--azul-claro); }
.opcao input { width: 18px; height: 18px; accent-color: var(--azul); }
.campo input:user-invalid, .campo textarea:user-invalid { border-color: var(--vermelho); background: #fff7f7; }

/* ═══════════════════════════════════════════════════════════════
   CAMADA CRIATIVA — inspirada no logo dos 40 anos, na capa do
   Facebook (papéis recortados) e nos cartazes da CACAV
═══════════════════════════════════════════════════════════════ */
:root { --f-mao: 'Caveat', 'Comic Sans MS', cursive; --magenta: #c4286a; --mostarda: #e3a72f; --petroleo: #157f86; }

/* Pincelada a sublinhar palavras */
.pincel { position: relative; white-space: nowrap; z-index: 0; }
.pincel::after { content: ''; position: absolute; left: -.08em; right: -.1em; bottom: .02em; height: .42em; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 40' preserveAspectRatio='none'%3E%3Cpath d='M4 26 C 60 12, 120 30, 180 18 S 270 14, 296 22 L 294 34 C 230 30, 170 38, 110 32 S 30 38, 6 36 Z' fill='%23f5b301'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  opacity: .85; transform: rotate(-1deg); }
.banner .pincel::after { opacity: .9; }
.t2 .pincel::after { height: .38em; }

/* Notas manuscritas */
.nota-mao { font-family: var(--f-mao); font-weight: 600; font-size: 1.45rem; line-height: 1.1; color: var(--laranja); display: inline-flex; align-items: flex-end; gap: .4rem; transform: rotate(-2deg); }
.seta-mao { width: 52px; height: 34px; flex-shrink: 0; }
.banner .nota-hero { color: var(--amarelo); margin-top: 1.2rem; font-size: 1.6rem; }
.chamada .nota-mao { margin-top: .6rem; }

/* Papéis recortados nos banners */
.recortes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.recortes i { position: absolute; display: block; width: var(--t, 90px); height: var(--t, 90px); background: var(--cor); clip-path: polygon(0 0, 100% 18%, 30% 100%); opacity: .95; filter: drop-shadow(0 6px 8px rgba(0,0,0,.25)); }
.recortes i:nth-child(1) { --cor: var(--magenta); --t: clamp(70px, 9vw, 130px); top: -18px; right: 6%; transform: rotate(12deg); }
.recortes i:nth-child(2) { --cor: var(--mostarda); --t: clamp(50px, 6vw, 90px); top: 22px; right: 14%; transform: rotate(-28deg); }
.recortes i:nth-child(3) { --cor: var(--petroleo); --t: clamp(40px, 5vw, 70px); top: -10px; right: 20%; transform: rotate(40deg); opacity: .85; }
.recortes i:nth-child(4) { --cor: var(--laranja); --t: clamp(36px, 4vw, 60px); bottom: -14px; right: 30%; transform: rotate(160deg); opacity: .8; }
.recortes i:nth-child(5) { --cor: var(--azul-ceu); --t: clamp(28px, 3vw, 46px); top: 30%; right: 3%; transform: rotate(-70deg); opacity: .8; }
.banner .conteudo { position: relative; z-index: 1; }

/* Fitas pintadas */
.fitas { width: 100%; max-width: 1680px; margin: clamp(2.5rem, 6vw, 4rem) auto 0; height: clamp(50px, 7vw, 100px); }
.fitas svg { width: 100%; height: 100%; display: block; }
.fitas path { stroke-dasharray: 2400; stroke-dashoffset: 0; }
.js .fitas.desenhar path { stroke-dashoffset: 2400; transition: stroke-dashoffset 2.2s var(--ease); }
.js .fitas.desenhar.visible path { stroke-dashoffset: 0; }
.site-footer .fitas { margin: 0 auto 2.5rem; height: clamp(36px, 5vw, 70px); }

/* Mural de cartazes */
.mural { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 190px), 1fr)); gap: clamp(1.2rem, 3vw, 2.2rem) clamp(1rem, 2.5vw, 1.8rem); padding: 1rem .5rem 0; }
.mural li { display: flex; justify-content: center; }
.cartaz { position: relative; display: block; border: 0; padding: 0; background: #fff; cursor: zoom-in; box-shadow: 0 10px 24px rgba(16,28,48,.18); transform: rotate(var(--r, -2deg)); transition: transform .35s var(--ease), box-shadow .35s; max-width: 240px; }
.cartaz img { display: block; width: 100%; height: auto; }
.cartaz::before { content: ''; position: absolute; top: -12px; left: 50%; width: 74px; height: 24px; transform: translateX(-50%) rotate(-3deg); background: rgba(245, 223, 160, .78); box-shadow: 0 1px 2px rgba(0,0,0,.1); z-index: 1; }
.mural li:nth-child(4n+1) .cartaz { --r: -3deg; }
.mural li:nth-child(4n+2) .cartaz { --r: 2.5deg; }
.mural li:nth-child(4n+3) .cartaz { --r: -1.5deg; }
.mural li:nth-child(4n+4) .cartaz { --r: 3deg; }
.cartaz:hover, .cartaz:focus-visible { transform: rotate(0) scale(1.04); box-shadow: 0 18px 40px rgba(16,28,48,.25); z-index: 2; }
.mural-sec .cabeca .nota-mao { color: var(--magenta); }

/* Álbuns como polaroids */
.album { padding: 10px 10px 0; box-shadow: 0 6px 18px rgba(16,28,48,.08); transform: rotate(var(--r, 0deg)); }
.albuns li:nth-child(3n+1) .album { --r: -1deg; }
.albuns li:nth-child(3n+2) .album { --r: .8deg; }
.albuns li:nth-child(3n+3) .album { --r: -.5deg; }
.album:hover { transform: rotate(0) translateY(-3px); }
.album .capa { border-radius: 4px; }
.album h3 { font-family: var(--f-tit); font-size: 1.1rem; font-weight: 700; line-height: 1.2; padding: .7rem .3rem 0; letter-spacing: 0; }
.album small { padding: 0 .3rem .9rem; }

/* Cartões de áreas: traço de pincel em vez de linha recta */
.area { border-top: 0; position: relative; padding-top: 1.6rem; }
.area::before { content: ''; position: absolute; left: 1.2rem; top: .7rem; width: 64px; height: 10px; border-radius: 6px 2px 8px 3px; background: var(--c, var(--azul)); transform: rotate(-2deg); }

@media (prefers-reduced-motion: reduce) { .cartaz, .album { transform: none; } }
@media (max-width: 600px) {
  .recortes i:nth-child(n+3) { display: none; }
  .nota-mao { font-size: 1.25rem; }
  .mural { grid-template-columns: 1fr 1fr; }
}
.mural { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .mural { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .mural { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ═════════ MAIS CRIATIVIDADE ═════════ */
/* Tom de papel e manchas de aguarela */
:root { --fundo-suave: #f8f4ec; --papel: #fbf8f2; }
.bloco-suave, .atelier-sec { position: relative; isolation: isolate; background-color: var(--fundo-suave);
  background-image:
    radial-gradient(38% 55% at 8% 18%, rgba(47,143,216,.13), transparent 70%),
    radial-gradient(30% 45% at 92% 12%, rgba(245,179,1,.16), transparent 70%),
    radial-gradient(34% 50% at 85% 88%, rgba(224,97,28,.10), transparent 70%),
    radial-gradient(28% 40% at 20% 92%, rgba(47,158,85,.10), transparent 70%); }
.atelier-sec { padding: clamp(3rem, 6vw, 4.5rem) 0; margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.citacao { background-image: radial-gradient(40% 70% at 50% 50%, rgba(245,179,1,.12), transparent 70%); }

/* Banner com a margem de baixo rasgada (papel) */
.banner { -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 16px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 18' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H120 V9 L114 13 L108 8 L101 15 L95 9 L88 14 L82 7 L75 12 L69 6 L62 13 L56 9 L49 16 L43 10 L36 14 L30 7 L23 13 L17 9 L10 15 L5 10 L0 13 Z' fill='%23000'/%3E%3C/svg%3E") bottom / 240px 18px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 16px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 18' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H120 V9 L114 13 L108 8 L101 15 L95 9 L88 14 L82 7 L75 12 L69 6 L62 13 L56 9 L49 16 L43 10 L36 14 L30 7 L23 13 L17 9 L10 15 L5 10 L0 13 Z' fill='%23000'/%3E%3C/svg%3E") bottom / 240px 18px repeat-x; }
@media (min-width: 1700px) { .banner { border-radius: 28px 28px 0 0; } }

/* Parede de exposição (Do Atelier) */
.parede { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); align-items: end; padding-top: .5rem; }
.parede li { display: flex; flex-direction: column; align-items: center; }
.moldura { display: block; border: 0; cursor: zoom-in; background: #fff; padding: 9%; border: 6px solid #2b2420; box-shadow: 0 14px 28px rgba(30,20,10,.22), inset 0 0 0 1px rgba(0,0,0,.08); transition: transform .35s var(--ease), box-shadow .35s; }
.parede li:nth-child(odd) .moldura { border-color: #6b4a2f; }
.moldura img { display: block; width: 100%; height: auto; }
.moldura:hover, .moldura:focus-visible { transform: translateY(-6px); box-shadow: 0 22px 40px rgba(30,20,10,.28); }
.tabela { margin-top: .8rem; font-size: .75rem; line-height: 1.35; color: var(--txt-3); text-align: center; background: #fff; border: 1px solid var(--linha); padding: .35rem .55rem; box-shadow: 0 2px 4px rgba(0,0,0,.05); }
.tabela b { display: block; color: var(--txt); font-size: .82rem; }

/* Agenda como bilhete (picotado) */
.ev .dt { position: relative; padding-right: 1rem; border-right: 2px dashed var(--linha); align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.ev { position: relative; overflow: hidden; }
.ev .dt::before, .ev .dt::after { content: ''; position: absolute; right: -9px; width: 16px; height: 16px; border-radius: 50%; background: var(--fundo-suave); border: 1px solid var(--linha); }
.ev .dt::before { top: -1.2rem; }
.ev .dt::after { bottom: -1.2rem; }
section:not(.bloco-suave) .ev .dt::before, section:not(.bloco-suave) .ev .dt::after { background: #fff; }

/* Rabiscos e "Até já!" */
.rabisco { width: .8em; height: .8em; vertical-align: .05em; margin-left: .15em; transform: rotate(-8deg); }
.ate-ja { margin-top: 1rem; color: var(--azul); font-size: 1.7rem; }
.ate-ja .seta-mao { width: 44px; }

@media (max-width: 900px) { .parede { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .parede { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev .dt { border-right: 0; border-bottom: 2px dashed var(--linha); padding: 0 0 .6rem; }
  .ev .dt::before, .ev .dt::after { display: none; }
}

/* ═════════ TOQUE ARTÍSTICO EM TODAS AS PÁGINAS ═════════ */
/* Manchas de aguarela suaves na primeira secção depois do banner */
.banner-zona + section:not(.bloco-suave):not(.atelier-sec), .banner-zona + article {
  background-image:
    radial-gradient(30% 260px at 96% 40px, rgba(245,179,1,.12), transparent 70%),
    radial-gradient(26% 240px at 2% 160px, rgba(47,143,216,.10), transparent 70%); }

/* Fita-cola em imagens "afixadas" */
.artigo-img, .lateral .destaque-img, .bienal .destaque-img, .destaque-img { position: relative; }
.artigo-img::before, .destaque-img::before { content: ''; position: absolute; top: -11px; left: 50%; width: 86px; height: 24px; transform: translateX(-50%) rotate(-3deg); background: rgba(245,223,160,.8); box-shadow: 0 1px 2px rgba(0,0,0,.1); z-index: 2; pointer-events: none; }
.artigo-img { transform: rotate(-.6deg); box-shadow: 0 12px 30px rgba(16,28,48,.14); background: #fff; padding: 8px; }
.destaque-img img, .lateral .destaque-img img { box-shadow: 0 12px 28px rgba(16,28,48,.18); }
.destaque-img { transform: rotate(-1.5deg); transition: transform .35s var(--ease); }
.destaque-img:hover { transform: rotate(0); }

/* Fotografias dos álbuns com moldura branca, como provas impressas */
.galeria-grid .foto-btn { background: #fff; padding: 5px; border-radius: 4px; box-shadow: 0 6px 16px rgba(16,28,48,.12); transition: transform .3s var(--ease), box-shadow .3s; }
.galeria-grid .foto-btn img { border-radius: 2px; }
.galeria-grid li:nth-child(3n+1) .foto-btn { transform: rotate(-.6deg); }
.galeria-grid li:nth-child(3n+2) .foto-btn { transform: rotate(.5deg); }
.galeria-grid .foto-btn:hover { transform: rotate(0) scale(1.02); box-shadow: 0 14px 30px rgba(16,28,48,.2); z-index: 2; }
.galeria-grid .foto-btn:hover img { transform: none; }

/* Anos da Memória como polaroids presas */
.ano-card { padding: 9px 9px 0; transform: rotate(var(--r, -1deg)); position: relative; }
.anos-grid li:nth-child(even) .ano-card { --r: 1deg; }
.ano-card:hover { transform: rotate(0) translateY(-3px); }
.ano-card::before { content: ''; position: absolute; top: -10px; left: 50%; width: 60px; height: 20px; transform: translateX(-50%) rotate(2deg); background: rgba(245,223,160,.8); z-index: 2; }
.ano-card b { font-family: var(--f-tit); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.01em; padding: .4rem .3rem 0; }
.ano-card small { padding: 0 .3rem .8rem; }

/* Linha do tempo pintada */
.timeline::before { height: 6px; top: 2.95rem; border-radius: 6px; background: linear-gradient(90deg, var(--azul), var(--azul-ceu), var(--verde), var(--amarelo), var(--laranja)); transform: rotate(-.3deg); }
.timeline li::before { border-width: 3px; border-color: var(--azul); width: 16px; height: 16px; top: 2.6rem; }
.timeline .ano { font-family: var(--f-tit); font-size: 1.55rem; font-weight: 800; letter-spacing: -0.01em; }
@media (max-width: 1100px) { .timeline::before { width: 6px; height: auto; background: linear-gradient(180deg, var(--azul), var(--azul-ceu), var(--verde), var(--amarelo), var(--laranja)); transform: none; } .timeline li::before { top: .45rem; } }

/* Números e passos escritos à mão */
.passos li::before { font-family: var(--f-tit); font-size: 2.2rem; font-weight: 800; letter-spacing: 0; color: var(--laranja); }
.numeros b { font-family: var(--f-tit); font-weight: 800; letter-spacing: -0.02em; font-size: clamp(2.2rem, 4vw, 3rem); }

/* Filtros por ano como etiquetas de papel */
.filtro-anos a { border-radius: 4px 10px 4px 10px; }
.filtro-anos a:nth-child(odd) { transform: rotate(-1.2deg); }
.filtro-anos a:nth-child(even) { transform: rotate(1deg); }

/* Citações manuscritas */
.citacao-lateral { font-family: var(--f-mao); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2rem); line-height: 1.2; letter-spacing: 0; border-left-width: 5px; }
.citacao p { font-family: var(--f-mao); font-weight: 600; font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: 0; line-height: 1.15; }
.faixa-escura .lema { font-family: var(--f-mao); font-size: clamp(2rem, 3.6vw, 2.8rem); letter-spacing: 0; line-height: 1.1; transform: rotate(-2deg); }
.faixa-escura { background-image: radial-gradient(1.5px 1.5px at 12% 22%, rgba(255,255,255,.7), transparent), radial-gradient(1.5px 1.5px at 72% 14%, rgba(255,255,255,.6), transparent), radial-gradient(1px 1px at 38% 70%, rgba(255,255,255,.6), transparent), radial-gradient(1.5px 1.5px at 88% 62%, rgba(255,255,255,.7), transparent), radial-gradient(1px 1px at 55% 35%, rgba(255,255,255,.5), transparent), radial-gradient(40% 60% at 90% 10%, rgba(47,143,216,.35), transparent 70%); }

/* Painéis (formulários, laterais) com cantos de aguarela */
.painel, .lateral, .lista-contactos { background-image: radial-gradient(40% 50% at 100% 0%, rgba(245,179,1,.12), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(47,143,216,.08), transparent 70%); }

/* Etiqueta com pincelada por baixo */
.etiqueta { position: relative; }
@media (prefers-reduced-motion: reduce) { .artigo-img, .destaque-img, .galeria-grid .foto-btn, .ano-card, .filtro-anos a { transform: none; } }

/* Menu com letra mais pequena (pedido do Carlos) */
.nav-links a { font-size: .86rem; }
.nav-links .lk { font-size: .86rem; }
.nav-toggle { font-size: .9rem; }
@media (max-width: 1100px) {
  .nav-links a { font-size: 1.08rem; font-weight: 700; letter-spacing: -0.01em; padding: .65rem 0; }
  .nav-links .lk { font-size: 1rem; }
}
@media (max-width: 600px) {
  .nav-links a { font-size: 1rem; padding: .6rem 0; }
  .nav-toggle { font-size: .85rem; }
}

/* Letra manuscrita: Caveat verdadeira (sem negrito artificial) */
:root { --f-mao: 'Caveat', cursive; }
.nota-mao, .citacao p, .citacao-lateral, .faixa-escura .lema, .album h3, .ano-card b, .timeline .ano, .passos li::before, .numeros b { font-synthesis: none; }

/* Títulos em Barlow (estilo DIN) */
:root { --f-tit: 'Barlow', 'Arial', sans-serif; }
h1, h2, h3, .t1, .t2, .t3 { font-family: var(--f-tit); font-synthesis: none; }
.t1, .t2 { font-weight: 700; letter-spacing: -0.015em; }
.t1 { line-height: 1.02; }
.t2 { line-height: 1.06; }
h3, .t3 { font-weight: 600; letter-spacing: 0; }

/* Barlow é mais pequena do que a letra anterior: escala geral um pouco maior */
html { font-size: 106.25%; }

/* Notícias tipo newsletter: blocos montados no painel */
.nl-titulo { font-family: var(--f-tit); font-weight: 700; color: var(--txt); line-height: 1.15; margin: 2.2rem 0 .8rem; }
h2.nl-titulo { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
h3.nl-titulo { font-size: clamp(1.2rem, 2vw, 1.4rem); }
.nl-img { margin: 2rem 0; }
.nl-img button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.nl-img img { width: 100%; border-radius: 12px; margin: 0 !important; }
.nl-img figcaption, .bloco-img figcaption { font-size: .88rem; color: var(--txt-3, #6b7280); margin-top: .5rem; }
.nl-img.larga { margin-inline: clamp(-6rem, -8vw, 0rem); }
@media (min-width: 700px) {
  .nl-img.esquerda, .nl-img.direita { width: 46%; margin-top: .4rem; margin-bottom: 1rem; }
  .nl-img.esquerda { float: left; margin-right: 1.6rem; }
  .nl-img.direita { float: right; margin-left: 1.6rem; }
}
.nl-galeria { list-style: none; padding: 0; margin: 2rem 0; display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 8px; clear: both; }
@media (max-width: 600px) { .nl-galeria { grid-template-columns: repeat(2, 1fr); } }
.nl-galeria li { margin: 0; padding: 0; }
.nl-galeria li::before { content: none; }
.nl-galeria button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.nl-galeria img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; margin: 0 !important; }
.nl-galeria small { display: block; font-size: .8rem; color: var(--txt-3, #6b7280); margin-top: .3rem; }
.nl-citacao { clear: both; margin: 2.2rem 0; padding: .2rem 0 .2rem 1.4rem; border-left: 5px solid var(--amarelo, #f5b301); }
.nl-citacao p { font-family: var(--f-mao); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.2; color: var(--azul); margin: 0; }
.nl-citacao cite { display: block; font-style: normal; font-size: .9rem; color: var(--txt-3, #6b7280); margin-top: .5rem; }
.nl-botao { margin: 1.8rem 0; }
.nl-video { position: relative; aspect-ratio: 16/9; margin: 2rem 0; clear: both; border-radius: 12px; overflow: hidden; background: #000; }
.nl-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nl-sep { clear: both; border: 0; height: 2px; background: var(--linha, #e5e7eb); margin: 2.4rem 0; }
.prosa::after { content: ""; display: table; clear: both; }
.bloco-img { margin: 0; }
.bloco-img-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.bloco-img-btn img { width: 100%; border-radius: 14px; }
.prosa .nl-galeria { padding-left: 0; margin-left: 0; }
.prosa a.btn-azul, .prosa a.btn-azul:hover { color: #fff; text-decoration: none; }
.prosa a.lk { text-decoration: none; }
