/* ARLS Damasco nº 1475 - folha de estilo única (site, área de membros e painel).
   Paleta extraída do brasão: branco (predominante), preto, verde e vermelho (só em detalhes). */
:root {
  --branco: #ffffff;
  --papel: #f6f6f3;
  --linha: #e3e3de;
  --tinta: #141414;
  --grafite: #1c1d1f;
  --cinza: #5b5f66;
  --verde: #0a6a3a;
  --verde-esc: #07502b;
  --verde-claro: #e6f2eb;
  --vermelho: #b81018;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --maxw: 1140px;
  --raio: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.65 var(--sans); color: var(--tinta); background: var(--branco); }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; color: var(--tinta); }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 200; background: #fff; padding: .6rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--verde); outline-offset: 3px; }
.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.wrap.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--cinza); }
.small { font-size: .9rem; }
.inline { display: inline; margin: 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--linha); backdrop-filter: blur(6px); }
.site-header .wrap { width: min(100% - 2.5rem, 1280px); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { display: block; width: 44px; height: auto; }
.brand span { font: 600 1.35rem/1.05 var(--serif); letter-spacing: .02em; display: flex; flex-direction: column; white-space: nowrap; }
.brand b { font-weight: 700; letter-spacing: .14em; font-size: .95rem; }
.brand small { font: 400 .68rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--cinza); margin-top: .15rem; }
.menu { display: flex; align-items: center; gap: .2rem; }
.menu a { text-decoration: none; font-size: .86rem; font-weight: 600; letter-spacing: .02em; padding: .55rem .6rem; white-space: nowrap; border-bottom: 2px solid transparent; color: var(--grafite); }
.menu a:hover { color: var(--verde); }
.menu a.on { border-bottom-color: var(--verde); color: var(--verde); }
.menu .btn-restrita { margin-left: .5rem; background: var(--grafite); color: #fff; border-radius: var(--raio); border: 0; padding: .55rem 1rem; }
.menu .btn-restrita:hover { background: var(--verde); color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--linha); background: #fff; border-radius: var(--raio); cursor: pointer; position: relative; }
.menu-btn i, .menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 11px; right: 11px; height: 2px; background: var(--grafite); transition: transform .2s, opacity .2s; }
.menu-btn i { top: 21px; } .menu-btn i::before { left: 0; right: 0; top: -7px; } .menu-btn i::after { left: 0; right: 0; top: 7px; }
.menu-btn[aria-expanded=true] i { background: transparent; }
.menu-btn[aria-expanded=true] i::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded=true] i::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Botões ---------- */
.btn { display: inline-block; padding: .8rem 1.5rem; border-radius: var(--raio); font: 600 .95rem var(--sans); letter-spacing: .02em; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, transform .2s, border-color .2s; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--verde); color: #fff; }
.btn-primary:hover { background: var(--verde-esc); }
.btn-outline { border-color: var(--grafite); color: var(--grafite); background: transparent; }
.btn-outline:hover { background: var(--grafite); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-danger { background: var(--vermelho); color: #fff; }
.btn-danger:hover { background: #8f0c13; }
.btn-sm { padding: .4rem .8rem; font-size: .82rem; }
.btn-block { width: 100%; }
.link { color: var(--verde); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.link:hover { color: var(--vermelho); }
.link-btn { background: none; border: 0; padding: 0; font: 600 1rem var(--sans); color: var(--verde); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; }
.link-btn:hover { color: var(--vermelho); }
.more { font-weight: 600; font-size: .9rem; color: var(--verde); text-decoration: none; }
.more::after { content: " →"; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--branco); }
.hero-bg { position: absolute; inset: 0; background:
  radial-gradient(900px 500px at 82% 40%, var(--verde-claro) 0%, transparent 70%),
  linear-gradient(180deg, #fff, var(--papel)); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem); }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: clamp(.84rem, 1.5vw, 1.02rem); font-weight: 600; color: var(--verde); margin-bottom: .9rem; }
.hero h1 { font-size: clamp(2.8rem, 7.2vw, 5.2rem); letter-spacing: -.01em; margin-bottom: .12em; line-height: 1; }
.hero h1 span { font-style: normal; font-weight: 700; color: var(--verde); font-size: .66em; letter-spacing: .01em; white-space: nowrap; margin-left: .12em; }
.titulo-loja { font: italic 600 clamp(1.25rem, 2.6vw, 1.7rem)/1.2 var(--serif); color: var(--grafite); margin-bottom: .45rem; }
.lead { font: 600 clamp(1.3rem, 2.6vw, 1.9rem)/1.25 var(--serif); max-width: 24ch; margin: 1.4rem 0 1.6rem; padding-left: 1rem; border-left: 3px solid var(--vermelho); }
.sub { color: var(--cinza); font-size: .98rem; margin-bottom: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero .btn-ghost { border-color: var(--grafite); color: var(--grafite); }
.hero .btn-ghost:hover { background: var(--grafite); color: #fff; }
.hero-art { display: flex; justify-content: center; }
.hero-brasao { width: min(100%, 345px); animation: entrada 1.8s cubic-bezier(.2, .7, .2, 1) both, flutua 13s ease-in-out 1.8s infinite alternate; transform-origin: 50% 60%; }
.mosaic { position: absolute; left: 0; right: 0; bottom: 0; height: 34px; background: repeating-conic-gradient(var(--grafite) 0 25%, #fff 0 50%) 0 0 / 34px 34px; opacity: .92; }
.facts-wrap { background: var(--grafite); color: #fff; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts > div { padding: 1.2rem 1.4rem; border-left: 1px solid rgba(255, 255, 255, .14); }
.facts > div:first-child { border-left: 0; padding-left: 0; }
.facts span { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: #8fd3ad; margin-bottom: .2rem; }
.facts strong { font: 600 1.15rem/1.3 var(--serif); }

/* ---------- Seções ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section.tint { background: var(--papel); }
.sec-head { margin-bottom: 2rem; }
.sec-foot { margin-top: 1.5rem; }
.kicker { text-transform: uppercase; letter-spacing: .22em; font-size: .74rem; font-weight: 700; color: var(--verde); margin-bottom: .6rem; display: flex; align-items: center; gap: .6rem; }
.kicker::before { content: "★"; color: var(--vermelho); font-size: .8rem; letter-spacing: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.page-head { background: var(--papel); border-bottom: 1px solid var(--linha); padding: clamp(2rem, 5vw, 3.5rem) 0; position: relative; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: linear-gradient(90deg, var(--verde) 0 33%, var(--grafite) 33% 66%, var(--vermelho) 66%); opacity: .85; }
.page-head h1 { margin-bottom: .15em; }
.page-sub { color: var(--cinza); margin: 0; font-size: 1.05rem; }
.crumb { font-size: .85rem; margin-bottom: .5rem; } .crumb a { color: var(--verde); text-decoration: none; font-weight: 600; }
.h1-sm { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 1rem; }
.prose { font-size: 1.05rem; }
.prose h2 { font-size: 1.7rem; margin: 2rem 0 .6rem; color: var(--verde); }
.prose h3 { margin: 1.5rem 0 .4rem; }
.prose ul { padding-left: 1.2rem; } .prose li { margin-bottom: .3rem; }
.prose a { color: var(--verde); font-weight: 600; } .prose { overflow-wrap: break-word; } .prose a { overflow-wrap: anywhere; }
.prose.small { font-size: .95rem; } .prose.small p:last-child { margin-bottom: 0; }
.empty { color: var(--cinza); font-style: italic; }
.year { font-size: 2rem; margin: 2.2rem 0 .8rem; padding-bottom: .3rem; border-bottom: 1px solid var(--linha); color: var(--grafite); }

.cards { display: grid; gap: 1.3rem; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--linha); border-top: 3px solid var(--verde); padding: 1.5rem; border-radius: var(--raio); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, .08); }
.card h2, .card h3 { font-size: 1.45rem; margin-bottom: .4em; } .card h2 a, .card h3 a { text-decoration: none; }
.card h2 a:hover, .card h3 a:hover { color: var(--verde); }
.card p { color: #3d4046; font-size: .97rem; }
.card time, .news-item time { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cinza); font-weight: 600; }
.news-item { padding: 1.6rem 0; border-bottom: 1px solid var(--linha); } .news-item h2, .news-item h3 { margin: .2rem 0 .4rem; font-size: 1.7rem; } .news-item h2 a { text-decoration: none; }
.news-item.compact { padding: 1rem 0; } .news-item.compact h3 { font-size: 1.3rem; }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }

.lema { background: #fff; border: 1px solid var(--linha); border-left: 4px solid var(--verde); padding: 2rem; border-radius: var(--raio); }
.lema-title { text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; color: var(--cinza); font-weight: 700; margin-bottom: .4rem; }
.lema-text { font: 600 1.9rem/1.2 var(--serif); margin-bottom: .8rem; }
.lema-list { list-style: none; padding: 0; margin: 1rem 0 0; } .lema-list li { padding: .35rem 0; border-top: 1px solid var(--linha); font-size: .95rem; } .lema-list b { color: var(--verde); }
.stars { display: flex; gap: .5rem; } .stars i { width: 22px; height: 22px; background: var(--vermelho); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }

.agenda { display: grid; gap: .8rem; }
.agenda-item { display: grid; grid-template-columns: 70px 1fr; gap: 1rem; align-items: start; background: #fff; border: 1px solid var(--linha); padding: .9rem 1rem; border-radius: var(--raio); }
.agenda-item.fixed { border-left: 4px solid var(--verde); }
.agenda-item .date { text-align: center; background: var(--grafite); color: #fff; border-radius: var(--raio); padding: .45rem .2rem; line-height: 1; }
.agenda-item .date b { display: block; font: 700 1.9rem var(--serif); } .agenda-item .date span { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #8fd3ad; }
.agenda-item h3 { font-size: 1.25rem; margin-bottom: .1em; } .agenda-item p { margin: 0; font-size: .92rem; color: var(--cinza); }

.quote-sec { background: var(--grafite); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; text-align: center; position: relative; overflow: hidden; }
.quote-sec .kicker { justify-content: center; color: #8fd3ad; }
.quote-sec blockquote { margin: 0 auto; max-width: 780px; }
.quote-sec blockquote p { font: italic 500 clamp(1.4rem, 3vw, 2.1rem)/1.35 var(--serif); }
.quote-sec footer { color: #b9bcc2; font-size: .95rem; }
.cta { text-align: center; } .cta .btn { margin: .2rem; }

.tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.8rem; border-bottom: 1px solid var(--linha); }
.tabs a { padding: .7rem 1.1rem; text-decoration: none; font-weight: 600; font-size: .92rem; border-bottom: 3px solid transparent; margin-bottom: -1px; color: var(--cinza); }
.tabs a.on, .tabs a:hover { color: var(--verde); border-bottom-color: var(--verde); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .9rem; }
.chip { padding: .25rem .75rem; border: 1px solid var(--linha); border-radius: 99px; text-decoration: none; font-size: .85rem; }
.chip.on, .chip:hover { background: var(--verde); color: #fff; border-color: var(--verde); }
.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.two-lists h2 { font-size: 1.5rem; color: var(--verde); }
.venlist { padding-left: 1.2rem; margin: 0; } .venlist li { padding: .3rem 0; border-bottom: 1px solid var(--linha); } .venlist .years { color: var(--cinza); font-size: .85rem; margin-right: .4rem; }
ul.venlist { list-style: none; padding: 0; } ul.venlist .years { display: block; margin: 0; }

.doclist { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.doclist a { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; align-items: center; background: #fff; border: 1px solid var(--linha); border-left: 3px solid var(--vermelho); padding: .75rem 1rem; text-decoration: none; border-radius: var(--raio); transition: border-color .2s, box-shadow .2s; }
.doclist a:hover { border-color: var(--verde); border-left-color: var(--verde); box-shadow: 0 6px 16px rgba(0, 0, 0, .06); }
.doc-title { font-weight: 600; } .doc-meta { font-size: .8rem; color: var(--cinza); }
.doclist.compact a { grid-template-columns: 1fr; padding: .55rem .8rem; }

.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem; }
.album { text-decoration: none; display: block; background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.album:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0, 0, 0, .1); }
.album img, .album-empty { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--papel); }
.album-title { display: block; padding: .8rem 1rem .1rem; font: 700 1.2rem/1.2 var(--serif); } .album-meta { display: block; padding: 0 1rem .9rem; font-size: .8rem; color: var(--cinza); }
.photo-grid { columns: 3 260px; column-gap: 1rem; } .photo-grid a { display: block; margin-bottom: 1rem; break-inside: avoid; border-radius: var(--raio); overflow: hidden; } .photo-grid img { display: block; width: 100%; height: auto; transition: transform .35s; } .photo-grid a:hover img { transform: scale(1.03); }
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(0, 0, 0, .92); display: grid; place-items: center; padding: 2rem; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 7rem); }
.lightbox p { color: #ddd; text-align: center; margin: .8rem 0 0; min-height: 1.5em; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; font-size: 2rem; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .3); }
.lightbox .lb-close { top: 1rem; right: 1rem; } .lightbox .lb-prev { left: 1rem; top: 50%; } .lightbox .lb-next { right: 1rem; top: 50%; }

.contact-card { font-style: normal; background: #fff; border: 1px solid var(--linha); border-left: 4px solid var(--verde); padding: 1.5rem; border-radius: var(--raio); margin-bottom: 1.2rem; line-height: 1.6; }
.map { position: relative; } .map iframe { width: 100%; height: 380px; border: 0; border-radius: var(--raio); display: block; }
.map-ph { width: 100%; border-radius: var(--raio); display: block; border: 1px solid var(--linha); }
.map-btn { margin: 1rem 0 .6rem; }

/* ---------- Formulários ---------- */
.form, .login-card { background: #fff; border: 1px solid var(--linha); padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--raio); box-shadow: 0 10px 30px rgba(0, 0, 0, .05); }
label { display: block; font-weight: 600; font-size: .88rem; margin: 1rem 0 .3rem; }
label small { font-weight: 400; color: var(--cinza); }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=search], input[type=number], input[type=date], input[type=datetime-local], input[type=file], select, textarea {
  width: 100%; padding: .7rem .85rem; font: inherit; font-size: .97rem; color: var(--tinta); background: #fff; border: 1px solid #c9c9c3; border-radius: var(--raio); }
input:focus, select:focus, textarea:focus { border-color: var(--verde); outline: 2px solid var(--verde-claro); }
[aria-invalid=true] { border-color: var(--vermelho) !important; }
textarea { resize: vertical; min-height: 7rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.check { display: flex; align-items: center; gap: .6rem; font-weight: 600; margin: 1rem 0 0; } .check input { width: 1.15rem; height: 1.15rem; accent-color: var(--verde); }
.hint, .privacy { font-size: .82rem; color: var(--cinza); margin: .3rem 0 0; }
.field-error { color: var(--vermelho); font-size: .85rem; margin: .3rem 0 0; font-weight: 600; }
.form .btn, .login-card form .btn { margin-top: 1.2rem; }
.alert { padding: .8rem 1rem; border-radius: var(--raio); font-size: .95rem; border: 1px solid; margin: 1rem 0; }
.alert.ok { background: var(--verde-claro); border-color: #9fd0b3; color: #064a28; }
.alert.bad, .alert.erro { background: #fdeceb; border-color: #eaa7aa; color: #8a1016; }
.alert.info { background: #eef3f9; border-color: #b9cde4; color: #1d3f66; }
.pw { position: relative; } .pw input { padding-right: 5.5rem; } .pw-toggle { position: absolute; right: .4rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--verde); font-weight: 600; cursor: pointer; font-size: .85rem; padding: .4rem .6rem; }
.search { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1rem; } .search input { flex: 1 1 260px; width: auto; }

.login-sec { background: var(--papel); padding: clamp(2.5rem, 7vw, 5rem) 0; min-height: 60vh; position: relative; }
.login-sec::before { content: ""; position: absolute; inset: 0; background: repeating-conic-gradient(rgba(0, 0, 0, .025) 0 25%, transparent 0 50%) 0 0 / 60px 60px; pointer-events: none; }
.login-wrap { display: flex; justify-content: center; position: relative; } .login-card { width: min(100%, 440px); } .login-card > img { display: block; margin: 0 auto .5rem; } .login-card h1 { text-align: center; font-size: 2.2rem; }

/* ---------- Tabelas ---------- */
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--linha); border-radius: var(--raio); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th, .table td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--linha); vertical-align: top; }
.table thead th { background: var(--grafite); color: #fff; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.table tbody tr:hover { background: #fafaf8; } .table tbody th { font-weight: 600; }
.table .break { word-break: break-word; } .table .actions { white-space: nowrap; text-align: right; }
.badge { display: inline-block; font: 700 .68rem var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: .15rem .5rem; border-radius: 99px; background: var(--verde-claro); color: var(--verde-esc); vertical-align: middle; }
.badge.mute { background: #eee; color: #555; } .badge.warn { background: #fff1d6; color: #7a5200; } .badge.bad { background: #fdeceb; color: #8a1016; }

/* ---------- Área de membros ---------- */
.member-bar { background: var(--grafite); color: #fff; }
.member-bar-in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .6rem 0; }
.member-bar .who { margin: 0; font-size: .9rem; } .member-bar .badge { background: rgba(255, 255, 255, .15); color: #fff; margin-left: .4rem; }
.member-bar nav { display: flex; flex-wrap: wrap; gap: .2rem .3rem; align-items: center; }
.member-bar nav a, .member-bar .link-btn { color: #d6d8dc; text-decoration: none; font-size: .86rem; font-weight: 600; padding: .45rem .7rem; border-radius: var(--raio); }
.member-bar nav a:hover, .member-bar .link-btn:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.member-bar nav a.on { background: var(--verde); color: #fff; } .member-bar .admin-link { border: 1px solid rgba(255, 255, 255, .35); }
.dash { display: grid; grid-template-columns: 1fr 340px; gap: 1.5rem; align-items: start; }
.panel { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 1.3rem; margin-bottom: 1.3rem; }
.panel h2 { font-size: 1.45rem; padding-bottom: .5rem; border-bottom: 2px solid var(--verde); margin-bottom: 1rem; }
.bday { list-style: none; margin: 0; padding: 0; } .bday li { padding: .35rem 0; border-bottom: 1px solid var(--linha); font-size: .93rem; } .bday b { display: inline-block; width: 2rem; color: var(--vermelho); }
.panel.stat { text-align: center; border-top: 3px solid var(--vermelho); } .panel.stat b { display: block; font: 700 3rem var(--serif); color: var(--verde); line-height: 1; } .panel.stat span { color: var(--cinza); font-size: .85rem; }

/* ---------- Administração ---------- */
.admin-body { background: var(--papel); }
.admin-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; }
.admin-side { background: var(--grafite); color: #fff; padding: 1.2rem 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-side .brand { padding: 0 1.2rem 1rem; border-bottom: 1px solid rgba(255, 255, 255, .12); margin-bottom: .8rem; color: #fff; }
.admin-side .brand img { width: 36px; } .admin-side .brand span { font-size: 1.1rem; } .admin-side .brand small { color: #9ea3ab; }
.admin-side nav { display: flex; flex-direction: column; }
.admin-side nav h2 { font: 700 .66rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #8fd3ad; padding: 1rem 1.2rem .3rem; margin: 0; }
.admin-side nav a { color: #d6d8dc; text-decoration: none; padding: .55rem 1.2rem; font-size: .9rem; border-left: 3px solid transparent; display: flex; justify-content: space-between; gap: .5rem; }
.admin-side nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; } .admin-side nav a.on { background: rgba(255, 255, 255, .1); border-left-color: var(--verde); color: #fff; }
.admin-side nav .count { background: var(--vermelho); color: #fff; font-size: .7rem; font-weight: 700; padding: 0 .45rem; border-radius: 99px; line-height: 1.5; }
.admin-main { padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 3rem; min-width: 0; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.admin-top h1 { font-size: 2.1rem; margin: 0; } .admin-top .acts { display: flex; gap: .5rem; flex-wrap: wrap; }
.admin-box { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 1.4rem; margin-bottom: 1.3rem; }
.admin-box h2 { font-size: 1.5rem; }
.admin-box .form-grid { max-width: 760px; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; margin-bottom: 1.3rem; }
.stat-card { background: #fff; border: 1px solid var(--linha); border-top: 3px solid var(--verde); border-radius: var(--raio); padding: 1rem 1.2rem; text-decoration: none; display: block; }
.stat-card:hover { box-shadow: 0 8px 20px rgba(0, 0, 0, .08); } .stat-card.warn { border-top-color: var(--vermelho); }
.stat-card b { display: block; font: 700 2.4rem var(--serif); line-height: 1; } .stat-card span { font-size: .82rem; color: var(--cinza); }
.admin-foot { font-size: .8rem; color: var(--cinza); margin-top: 2rem; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .8rem; }
.thumb { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: .4rem; font-size: .8rem; } .thumb img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; border-radius: 2px; }
.thumb form { display: inline; } .thumb.capa { border-color: var(--verde); box-shadow: 0 0 0 2px var(--verde-claro); }
.pwshow { font: 700 1.6rem/1 "Consolas", monospace; letter-spacing: .1em; background: #fffbe6; border: 2px dashed #d6b400; padding: 1rem; text-align: center; border-radius: var(--raio); user-select: all; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--grafite); color: #c9ccd1; padding: 3rem 0 0; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.site-footer h2 { font: 700 .75rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #8fd3ad; margin-bottom: .8rem; }
.site-footer a { color: #fff; text-decoration-color: var(--vermelho); text-underline-offset: 3px; } .site-footer a:hover { color: #8fd3ad; }
.site-footer address { font-style: normal; margin-bottom: 1rem; }
.foot-name { font: 700 1.3rem var(--serif); color: #fff; margin: .6rem 0 .2rem; }
.site-footer .copy { border-top: 1px solid rgba(255, 255, 255, .12); margin: 0; padding: 1rem 1.25rem; text-align: center; font-size: .82rem; }
.error-page .err-code { font: 700 6rem/1 var(--serif); color: var(--vermelho); margin: 0; }

/* ---------- Movimento (sóbrio) ---------- */
@keyframes entrada { from { opacity: 0; transform: translateY(46px) scale(.9) rotate(-2deg); } to { opacity: 1; transform: none; } }
@keyframes flutua { from { transform: translateY(0) rotate(-.9deg); } to { transform: translateY(-20px) rotate(.9deg); } }
@keyframes sobe { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
.hero-text > * { animation: sobe 1.4s cubic-bezier(.2, .7, .2, 1) both; } .hero-text > :nth-child(2) { animation-delay: .2s; } .hero-text > :nth-child(3) { animation-delay: .4s; } .hero-text > :nth-child(4) { animation-delay: .6s; } .hero-text > :nth-child(5) { animation-delay: .8s; } .hero-text > :nth-child(6) { animation-delay: 1s; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-brasao, .hero-text > * { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn, .album { transition: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .menu-btn { display: block; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--linha); padding: .5rem 1.25rem 1.2rem; box-shadow: 0 12px 24px rgba(0, 0, 0, .1); }
  .menu.open { display: flex; } .menu a { padding: .8rem 0; border-bottom: 1px solid var(--linha); } .menu .btn-restrita { margin: .8rem 0 0; text-align: center; }
  .site-header { position: relative; } .site-header .wrap { position: static; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; } .hero-text .lead { margin-inline: auto; } .hero-cta { justify-content: center; } .hero-art { order: -1; } .hero-brasao { width: min(58%, 225px); }
  .facts { grid-template-columns: 1fr; } .facts > div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); padding-left: 0; } .facts > div:first-child { border-top: 0; }
  .two, .two-lists, .dash, .foot-grid, .cards.three, .row, .row3 { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: minmax(0, 1fr); } .admin-side { position: static; height: auto; } .admin-side nav { flex-direction: row; flex-wrap: wrap; padding: 0 .6rem; } .admin-side nav h2 { width: 100%; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .table.stack thead { display: none; } .table.stack tr { display: block; border-bottom: 2px solid var(--linha); padding: .5rem 0; } .table.stack td { display: block; border: 0; padding: .15rem .9rem; }
  .table.stack td::before { content: attr(data-l) ": "; font-weight: 700; color: var(--cinza); font-size: .78rem; }
  .agenda-item { grid-template-columns: 60px 1fr; }
}
@media print { .site-header, .site-footer, .member-bar, .mosaic, .admin-side { display: none; } }

.table tr.unread td { background: #fffaf0; font-weight: 600; }
.admin-out { color: #d6d8dc; padding: .55rem 1.2rem; }
.admin-side form { margin: 0; }
.link-btn { min-height: 28px; }

/* Marca d'água: brasão bem tênue, só em faixas de destaque (nunca atrás de texto corrido) */
.page-head, .quote-sec, .cta, .login-sec { isolation: isolate; }
.page-head::before, .cta::before, .login-sec::after { content: ""; position: absolute; z-index: -1; pointer-events: none; background: url("../img/brasao-512.png") center / contain no-repeat; opacity: .06; }
.page-head { overflow: hidden; }
.page-head::before { right: max(1rem, calc((100% - var(--maxw)) / 2)); top: 12px; bottom: 16px; width: 190px; }
.cta { position: relative; overflow: hidden; }
.cta::before { right: 6%; top: 50%; width: 300px; height: 312px; transform: translateY(-50%); }
.login-sec::after { left: 50%; top: 50%; width: 520px; height: 540px; transform: translate(-50%, -50%); opacity: .05; }
.quote-sec::before { content: ""; position: absolute; left: 50%; top: 50%; width: 360px; height: 375px; transform: translate(-50%, -50%); background: url("../img/brasao-512.png") center / contain no-repeat; opacity: .05; filter: invert(1) grayscale(1); pointer-events: none; }
.quote-sec .wrap { position: relative; }
@media (max-width: 980px) { .page-head::before { width: 110px; opacity: .05; } .cta::before { width: 200px; height: 208px; } }
@media print { .page-head::before, .cta::before, .login-sec::after, .quote-sec::before { display: none; } }

.facts small { display: block; margin-top: .15rem; font-size: .78rem; color: #b9bcc2; }

@media (max-width: 980px) { .hero .lead { border-left: 0; padding-left: 0; margin: 1.2rem auto 1.4rem; max-width: none; } .hero h1 span { display: inline-block; } }

/* Menu recolhido já em telas médias (o menu completo precisa de ~1140 px) */
@media (max-width: 1140px) {
  .menu-btn { display: block; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--linha); padding: .5rem 1.25rem 1.2rem; box-shadow: 0 12px 24px rgba(0, 0, 0, .1); }
  .menu.open { display: flex; }
  .menu a { padding: .8rem 0; border-bottom: 1px solid var(--linha); }
  .menu .btn-restrita { margin: .8rem 0 0; text-align: center; }
  .site-header { position: relative; }
  .site-header .wrap { position: static; }
}
