/* ==========================================================================
   Jockey Club São Vicente — estilos institucionais
   Pensado para leitura confortável: fonte grande, alto contraste,
   áreas de clique generosas e navegação simples.
   ========================================================================== */

:root {
  --navy-950: #0d1333;
  --navy-900: #141c47;
  --navy-800: #1c255c;
  --navy-700: #2a3577;
  --navy-100: #e6e8f3;

  --brass-600: #8c6a2c;
  --brass-500: #a8823c;
  --brass-300: #d6bc85;
  --brass-100: #f3e9d2;

  --paper: #fbf8f2;
  --ivory: #f4ecda;
  --sand: #ece3cf;
  --line: #ddd2bb;

  --ink: #1b1d29;
  --text: #2c2e3a;
  --muted: #4d4f5c;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(20, 28, 71, .06), 0 2px 8px rgba(20, 28, 71, .05);
  --shadow: 0 2px 4px rgba(20, 28, 71, .05), 0 12px 32px rgba(20, 28, 71, .09);
  --shadow-lg: 0 24px 60px rgba(13, 19, 51, .22);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);

  --fs-base: 19px;
}

html[data-fs="1"] { --fs-base: 21px; }
html[data-fs="2"] { --fs-base: 23px; }

/* Alto contraste */
html[data-contrast="high"] {
  --paper: #ffffff;
  --ivory: #ffffff;
  --sand: #f2f2f2;
  --line: #1b1d29;
  --text: #000000;
  --muted: #111111;
  --brass-500: #6b4f14;
  --brass-600: #5a420f;
}

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

html {
  font-size: var(--fs-base);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--navy-800); text-underline-offset: .2em; }
a:hover { color: var(--brass-600); }

:focus-visible {
  outline: 3px solid var(--brass-500);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute; left: 16px; top: -100px;
  background: var(--navy-900); color: #fff; padding: 12px 18px;
  border-radius: 10px; z-index: 1000; font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Eyebrow / ornamentos ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--brass-600);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 34px; height: 2px; background: currentColor;
}
.eyebrow--light { color: var(--brass-300); }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { font-size: 1.08rem; color: var(--muted); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 34px; height: 2px; background: currentColor; }
.section-head--row {
  max-width: none; display: flex; justify-content: space-between;
  align-items: end; gap: 24px; flex-wrap: wrap;
}
.section-head--row > div { max-width: 700px; }

.section { padding-block: clamp(64px, 9vw, 120px); }
.section--ivory { background: var(--ivory); }
.section--navy { background: var(--navy-900); color: #e7e4dc; }
.section--navy h2, .section--navy h3 { color: #fff; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 56px; padding: 0 1.5em;
  font: 700 1rem/1 var(--font-body);
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brass-500); color: #fff; }
.btn--primary:hover { background: var(--brass-600); color: #fff; }
.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-900); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy-900); }
.btn--outline { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.btn--outline:hover { background: var(--navy-800); color: #fff; }
.btn--sm { min-height: 48px; padding: 0 1.15em; font-size: .92rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 700; text-decoration: none; color: var(--navy-800);
}
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Barra superior (acessibilidade) ---------- */
.topbar {
  background: var(--navy-950); color: #d9d6cc;
  font-size: .82rem;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 48px; flex-wrap: wrap;
}
.topbar__info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__info span, .topbar__info a { display: inline-flex; align-items: center; gap: .45em; color: inherit; text-decoration: none; }
.topbar__info a:hover { color: #fff; }
.topbar__info svg { width: 1.05em; height: 1.05em; color: var(--brass-300); }
.a11y { display: flex; align-items: center; gap: 6px; }
.a11y__label { margin-right: 4px; }
.a11y button {
  min-width: 40px; height: 36px; padding: 0 10px;
  border-radius: 8px; border: 1px solid rgba(255,255,255,.25);
  background: transparent; color: #fff; cursor: pointer;
  font: 700 .85rem var(--font-body);
}
.a11y button:hover, .a11y button[aria-pressed="true"] { background: var(--brass-500); border-color: var(--brass-500); }
.a11y .a11y__sep { width: 1px; height: 22px; background: rgba(255,255,255,.2); margin-inline: 6px; }

/* ---------- Cabeçalho ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 242, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 92px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 58px; height: auto; }
.brand__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.25rem; line-height: 1.05; color: var(--navy-900);
}
.brand__name small {
  display: block; font-family: var(--font-body); font-weight: 700;
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brass-600); margin-top: 6px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 12px 14px; border-radius: 10px;
  font-weight: 700; font-size: .92rem; text-decoration: none;
  color: var(--navy-900);
}
.nav a:hover { background: var(--sand); color: var(--navy-900); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 3px; border-radius: 2px; background: var(--brass-500);
}
.nav .btn { margin-left: 10px; color: #fff; }
.nav .btn:hover { background: var(--navy-950); color: #fff; }
.nav .btn::after { display: none; }

.menu-toggle {
  display: none; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 18px; border-radius: 999px;
  background: var(--navy-800); color: #fff; border: 0; cursor: pointer;
  font: 700 .95rem var(--font-body);
}
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1100px) {
  /* backdrop-filter criaria um novo bloco de contenção e prenderia o menu fixo dentro do cabeçalho */
  .header { backdrop-filter: none; background: var(--paper); }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0; z-index: 100;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: var(--paper); padding: 96px var(--gutter) 32px;
    overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform .3s ease, visibility .3s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a { font-size: 1.2rem; padding: 18px 20px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { background: var(--sand); }
  .nav a[aria-current="page"]::after { left: 0; right: auto; top: 0; bottom: 0; width: 5px; height: auto; }
  .nav .btn { margin: 20px 0 0; border-radius: 999px; border: 0; }
  .nav__close {
    position: absolute; top: 22px; right: var(--gutter);
  }
}
@media (min-width: 1101px) { .nav__close { display: none !important; } }

@media (max-width: 760px) {
  .topbar__info .hide-sm { display: none; }
  .a11y__label { display: none; }
  .brand img { width: 48px; }
  .brand__name { font-size: 1.05rem; }
  .header .container { min-height: 78px; }
  .menu-toggle span { display: none; }
  .menu-toggle { padding: 0 15px; }
  .eyebrow { letter-spacing: .1em; font-size: .72rem; }
  .eyebrow::before { width: 22px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(88vh, 820px);
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center 35%;
  filter: sepia(.35) contrast(1.05);
  transform: scale(1.04);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13,19,51,.25) 0%, rgba(13,19,51,.35) 40%, rgba(13,19,51,.92) 100%),
    linear-gradient(90deg, rgba(13,19,51,.75) 0%, rgba(13,19,51,0) 70%);
}
.hero .container { padding-block: clamp(80px, 12vw, 140px) clamp(48px, 7vw, 88px); }
.hero__content { max-width: 780px; }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero h1 em { font-style: italic; color: var(--brass-300); font-weight: 500; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 620px; color: #ece8de; margin-bottom: 2em; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__seal {
  position: absolute; right: var(--gutter); bottom: clamp(48px, 7vw, 88px);
  width: 168px; height: 168px; border-radius: 50%;
  border: 1px solid rgba(214,188,133,.6);
  display: grid; place-items: center; text-align: center;
  font-family: var(--font-display); color: var(--brass-300);
  background: rgba(13,19,51,.35); backdrop-filter: blur(4px);
}
.hero__seal strong { display: block; font-size: 2.6rem; line-height: 1; color: #fff; }
.hero__seal span { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-family: var(--font-body); }
@media (max-width: 900px) { .hero__seal { display: none; } }

/* Hero interno (páginas) */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-900); color: #e9e5db;
  padding-block: clamp(56px, 8vw, 104px) clamp(48px, 7vw, 80px);
}
.page-hero__bg {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; opacity: .28; filter: grayscale(1) sepia(.4);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--navy-900) 15%, rgba(20,28,71,.55));
}
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { max-width: 680px; font-size: 1.1rem; margin: 0; }
.breadcrumb {
  display: flex; gap: .5em; flex-wrap: wrap; list-style: none; padding: 0;
  margin: 0 0 1.4rem; font-size: .85rem; color: var(--brass-300);
}
.breadcrumb a { color: #e9e5db; }
.breadcrumb li + li::before { content: "›"; margin-right: .5em; opacity: .7; }

@media (max-width: 760px) {
  .hero { min-height: auto; }
  .hero::before { background: linear-gradient(180deg, rgba(13,19,51,.6) 0%, rgba(13,19,51,.78) 45%, rgba(13,19,51,.95) 100%); }
  .hero__bg { object-position: 62% 30%; }
}

/* ---------- Acesso rápido ---------- */
.quick {
  position: relative; z-index: 2;
  margin-top: -56px;
}
.quick__grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}
.quick__item {
  display: flex; flex-direction: column; gap: 10px;
  padding: 26px 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow); text-decoration: none; color: var(--text);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.quick__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brass-300); color: var(--text); }
.quick__icon {
  width: 56px; height: 56px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  background: var(--navy-100); color: var(--navy-800);
}
.quick__icon svg { width: 28px; height: 28px; }
.quick__item strong { font-family: var(--font-display); font-size: 1.25rem; color: var(--navy-900); }
.quick__item span { font-size: .92rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 1000px) { .quick__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .quick { margin-top: -36px; }
  .quick__grid { grid-template-columns: 1fr; gap: 12px; }
  .quick__item { flex-direction: row; align-items: center; padding: 18px; gap: 16px; }
  .quick__item span { display: none; }
}

/* ---------- História (home) ---------- */
.story { display: grid; gap: clamp(32px, 6vw, 80px); grid-template-columns: 1.05fr 1fr; align-items: center; }
.story__media { position: relative; }
.story__media img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3; object-fit: cover; width: 100%;
}
.story__media figcaption {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(13,19,51,.85); color: #fff;
  padding: 10px 16px; border-radius: 10px; font-size: .82rem;
}
.story__badge {
  position: absolute; right: -18px; top: -18px;
  background: var(--brass-500); color: #fff;
  border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow);
  font-family: var(--font-display); text-align: center; line-height: 1.1;
}
.story__badge strong { display: block; font-size: 2.3rem; }
.story__badge span { font-family: var(--font-body); font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; }
.story__text p { font-size: 1.06rem; }
.story__text .lead { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.45; color: var(--navy-900); }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .story__badge { right: 12px; top: -22px; }
}

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 2rem; border-top: 1px solid var(--line); }
.facts div { padding: 20px 16px 0 0; }
.facts div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--navy-800); line-height: 1.1; }
.facts span { font-size: .88rem; color: var(--muted); }
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts div { padding: 16px 0; }
}

/* ---------- Avisos (cards) ---------- */
.notice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1000px) { .notice-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .notice-grid { grid-template-columns: 1fr; } }

.notice {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--text);
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.notice:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.notice__media { aspect-ratio: 16/10; overflow: hidden; background: var(--sand); }
.notice__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.notice:hover .notice__media img { transform: scale(1.04); }
.notice__media--memorial {
  display: grid; place-items: center; background: linear-gradient(135deg, #2b2d38, #14151c);
  color: #d8d2c4;
}
.notice__media--memorial svg { width: 54px; height: 54px; opacity: .8; }
.notice__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.notice__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.tag {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px;
  border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .04em;
  background: var(--navy-100); color: var(--navy-800);
}
.tag--brass { background: var(--brass-100); color: var(--brass-600); }
.tag--dark { background: #2b2d38; color: #f0ebe0; }
.notice h3 { margin: 0; }
.notice p { margin: 0; color: var(--muted); font-size: .95rem; }
.notice .link-arrow { margin-top: auto; padding-top: 6px; }

/* ---------- Acervo mosaico (home) ---------- */
.mosaic {
  display: grid; gap: 14px;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 240px 240px;
}
.mosaic a { position: relative; overflow: hidden; border-radius: var(--radius); }
.mosaic a:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.25); transition: transform .6s, filter .4s; }
.mosaic a:hover img { transform: scale(1.05); filter: sepia(0); }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 150px 150px; }
  .mosaic a:first-child { grid-column: span 2; grid-row: auto; }
  .mosaic a:nth-child(5) { display: none; }
}

/* ---------- Documentos (lista) ---------- */
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.doc {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
  padding: 18px 22px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); transition: border-color .2s, box-shadow .2s;
}
.doc:hover { border-color: var(--brass-300); box-shadow: var(--shadow-sm); }
.doc__icon {
  width: 52px; height: 60px; border-radius: 8px; position: relative;
  background: var(--ivory); border: 1px solid var(--line);
  display: grid; place-items: end center; padding-bottom: 8px;
  font-size: .62rem; font-weight: 700; color: #a3322a; letter-spacing: .06em;
}
.doc__icon::before {
  content: ""; position: absolute; top: 10px; left: 10px; right: 10px; height: 3px;
  background: var(--line); box-shadow: 0 7px 0 var(--line), 0 14px 0 var(--line);
  border-radius: 2px;
}
.doc__title { font-weight: 700; color: var(--navy-900); font-size: 1.05rem; line-height: 1.35; }
.doc__meta { font-size: .85rem; color: var(--muted); display: flex; gap: 8px 14px; flex-wrap: wrap; margin-top: 4px; }
@media (max-width: 640px) {
  .doc { grid-template-columns: auto 1fr; gap: 14px 16px; padding: 16px; }
  .doc .btn { grid-column: 1 / -1; width: 100%; }
}

/* ---------- Visita / contato ---------- */
.visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: stretch; }
.visit__card {
  background: var(--navy-800); color: #e6e2d8; border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 26px;
}
.visit__card h2 { color: #fff; margin: 0; }
.info-row { display: flex; gap: 16px; align-items: flex-start; }
.info-row svg { width: 26px; height: 26px; flex: none; color: var(--brass-300); margin-top: 3px; }
.info-row strong { display: block; color: #fff; font-size: 1rem; margin-bottom: 2px; }
.info-row a { color: #fff; }
.info-row p { margin: 0; }
.map {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  min-height: 420px; background: var(--sand); box-shadow: var(--shadow);
}
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: saturate(.75); }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } .map, .map iframe { min-height: 320px; } }

/* ---------- Faixa CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px);
  background: var(--navy-900); color: #e7e3d8;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: 340px; height: 420px; z-index: -1; opacity: .09;
  background: url("../img/logo-ivory.png") center/contain no-repeat;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 560px; }

/* ---------- Rodapé ---------- */
.footer { background: var(--navy-950); color: #c9c6bd; padding-top: clamp(56px, 8vw, 88px); font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand img { width: 84px; margin-bottom: 18px; }
.footer__brand p { max-width: 320px; }
.footer h4 {
  font-family: var(--font-body); font-size: .78rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--brass-300); margin-bottom: 18px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer a { color: #e9e5db; text-decoration: none; display: inline-block; padding: 4px 0; }
.footer a:hover { color: var(--brass-300); text-decoration: underline; }
.footer__bottom {
  margin-top: 56px; border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .82rem; color: #9b988f;
}
.footer__bottom a { padding: 0; color: #9b988f; text-decoration: underline; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.2); padding: 0;
}
.social a:hover { background: var(--brass-500); border-color: var(--brass-500); color: #fff; }
.social svg { width: 22px; height: 22px; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy-800); color: #fff; box-shadow: var(--shadow);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 24px; height: 24px; }

/* ---------- Filtros / abas ---------- */
.toolbar {
  display: flex; gap: 16px; align-items: center; justify-content: space-between;
  flex-wrap: wrap; margin-bottom: 32px;
}
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  min-height: 48px; padding: 0 20px; border-radius: 999px;
  border: 2px solid var(--line); background: #fff; color: var(--navy-900);
  font: 700 .92rem var(--font-body); cursor: pointer; transition: .2s;
}
.chip:hover { border-color: var(--navy-700); }
.chip[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.chip .count { opacity: .65; font-weight: 400; margin-left: 4px; }

.search {
  position: relative; flex: 1 1 280px; max-width: 420px;
}
.search input {
  width: 100%; min-height: 56px; padding: 0 20px 0 54px;
  border-radius: 999px; border: 2px solid var(--line); background: #fff;
  font: 1rem var(--font-body); color: var(--ink);
}
.search input:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px var(--navy-100); }
.search svg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--muted); }

.empty {
  text-align: center; padding: 48px 24px; border: 2px dashed var(--line);
  border-radius: var(--radius); color: var(--muted);
}

/* Documentos agrupados */
.doc-layout { display: grid; grid-template-columns: 290px 1fr; gap: 40px; align-items: start; }
.doc-side {
  position: sticky; top: 120px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px;
}
.doc-side button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  min-height: 54px; padding: 0 16px; border: 0; border-radius: 10px;
  background: transparent; color: var(--navy-900); text-align: left; cursor: pointer;
  font: 700 .95rem var(--font-body);
}
.doc-side button:hover { background: var(--sand); }
.doc-side button[aria-pressed="true"] { background: var(--navy-800); color: #fff; }
.doc-side button span { font-weight: 400; font-size: .82rem; opacity: .75; }
.doc-side__help {
  margin: 10px 4px 4px; padding: 16px; border-radius: 10px;
  background: var(--brass-100); font-size: .85rem; color: var(--text); line-height: 1.5;
}
.year-group + .year-group { margin-top: 36px; }
.year-group h3 {
  display: flex; align-items: center; gap: 14px; font-size: 1.3rem; color: var(--brass-600);
}
.year-group h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
@media (max-width: 960px) {
  .doc-layout { grid-template-columns: 1fr; }
  .doc-side { position: static; display: flex; overflow-x: auto; gap: 6px; padding: 8px; }
  .doc-side button { width: auto; white-space: nowrap; flex: none; }
  .doc-side__help { display: none; }
}

/* ---------- Galeria ---------- */
.gallery {
  columns: 3 300px; column-gap: 18px;
}
.gallery figure {
  margin: 0 0 18px; break-inside: avoid; position: relative;
  border-radius: var(--radius); overflow: hidden; background: var(--sand);
}
.gallery button {
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: none;
}
.gallery img { width: 100%; height: auto; filter: sepia(.2); transition: transform .5s, filter .3s; }
.gallery figure:hover img { transform: scale(1.03); filter: sepia(0); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px;
  background: linear-gradient(transparent, rgba(13,19,51,.88));
  color: #fff; font-size: .88rem; line-height: 1.35; pointer-events: none;
}
.gallery figcaption strong { display: block; font-size: .95rem; }

.albums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 56px; }
.album {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
  border: 0; padding: 0; cursor: pointer; text-align: left; color: #fff; background: var(--navy-900);
}
.album img { width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: transform .5s, opacity .3s; filter: sepia(.3); }
.album:hover img { transform: scale(1.05); opacity: .55; }
.album__info { position: absolute; inset: auto 0 0 0; padding: 22px; background: linear-gradient(transparent, rgba(13,19,51,.95)); }
.album__info strong { display: block; font-family: var(--font-display); font-size: 1.4rem; }
.album__info span { font-size: .88rem; color: #efe6d2; }
.album[aria-pressed="true"] { outline: 4px solid var(--brass-500); outline-offset: 3px; }
@media (max-width: 800px) { .albums { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .albums { grid-template-columns: 1fr; } .album { aspect-ratio: 16/9; } }

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.video-card__thumb { position: relative; aspect-ratio: 16/9; background: var(--navy-900); }
.video-card__thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .6; filter: grayscale(1); }
.video-card__thumb span {
  position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--navy-900); display: grid; place-items: center;
}
.video-card__thumb svg { width: 28px; height: 28px; margin-left: 4px; }
.video-card__body { padding: 18px 20px 22px; }
.video-card__body h3 { font-size: 1.15rem; margin-bottom: .3em; }
.video-card__body p { margin: 0; font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .video-grid { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(8,11,30,.96);
  display: none; flex-direction: column; color: #fff;
}
.lightbox.is-open { display: flex; }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; gap: 16px; }
.lightbox__counter { font-size: .9rem; color: #bdb9ad; }
.lightbox__stage { flex: 1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 0 16px; min-height: 0; }
.lightbox__stage img { max-height: calc(100vh - 220px); max-width: 100%; margin: auto; border-radius: 8px; object-fit: contain; }
.lightbox__caption { text-align: center; padding: 18px 20px 28px; max-width: 760px; margin: 0 auto; }
.lightbox__caption strong { display: block; font-family: var(--font-display); font-size: 1.3rem; }
.lightbox__caption span { color: #c9c5b9; font-size: .92rem; }
.lb-btn {
  min-width: 60px; height: 60px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08); color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px;
  font: 700 .95rem var(--font-body);
}
.lb-btn:hover { background: var(--brass-500); border-color: var(--brass-500); }
.lb-btn svg { width: 24px; height: 24px; }
@media (max-width: 640px) {
  .lightbox__stage { grid-template-columns: 1fr; }
  .lightbox__stage .lb-btn { display: none; }
  .lightbox__nav-sm { display: flex !important; justify-content: center; gap: 12px; padding-bottom: 16px; }
}
.lightbox__nav-sm { display: none; }

/* ---------- Página: O Clube ---------- */
.prose { max-width: 760px; }
.prose p { font-size: 1.08rem; }
.prose .lead { font-family: var(--font-display); font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.45; color: var(--navy-900); }
.quote {
  margin: 2.2rem 0; padding: 8px 0 8px 28px; border-left: 4px solid var(--brass-500);
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  line-height: 1.4; color: var(--navy-900);
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.timeline { position: relative; max-width: 880px; margin: 0 auto; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 108px; top: 8px; bottom: 8px; width: 2px; background: rgba(214,188,133,.35); }
.timeline li { display: grid; grid-template-columns: 90px 1fr; gap: 40px; padding-bottom: 40px; position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: 101px; top: 10px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--brass-500); box-shadow: 0 0 0 5px var(--navy-900);
}
.timeline__year { font-family: var(--font-display); font-size: 1.6rem; color: var(--brass-300); text-align: right; line-height: 1.2; }
.timeline h3 { margin-bottom: .3em; }
.timeline p { margin: 0; color: #cfcbc1; }
@media (max-width: 600px) {
  .timeline::before { left: 7px; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; padding-left: 36px; }
  .timeline li::before { left: 0; }
  .timeline__year { text-align: left; }
}

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.value .quick__icon { margin-bottom: 18px; }
.value p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* ---------- Aviso (detalhe) ---------- */
.article { max-width: 820px; margin: 0 auto; }
.article__cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 40px; box-shadow: var(--shadow); }
.article__cover img { width: 100%; }
.article__body p { font-size: 1.1rem; }
.article__body p:first-child::first-letter {
  float: left; font-family: var(--font-display); font-size: 4.2rem; line-height: .85;
  padding: 6px 12px 0 0; color: var(--brass-600);
}
.article__share { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.memorial {
  text-align: center; padding: clamp(36px, 6vw, 64px); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #2b2d38, #14151c); color: #e3ddcf;
}
.memorial svg { width: 56px; height: 56px; margin: 0 auto 16px; opacity: .8; }
.memorial h2 { color: #fff; }

/* ---------- Associe-se ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; padding: 0; margin: 0; }
.steps li {
  counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; position: relative;
}
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%; margin-bottom: 18px;
  background: var(--brass-500); color: #fff; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
}
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.05rem; }
.checklist svg { width: 26px; height: 26px; flex: none; color: var(--brass-500); margin-top: 2px; }

.note {
  display: flex; gap: 16px; padding: 20px 22px; border-radius: var(--radius);
  background: var(--brass-100); border: 1px solid var(--brass-300); font-size: .95rem;
}
.note svg { width: 26px; height: 26px; flex: none; color: var(--brass-600); }

/* ---------- Formulário ---------- */
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; margin-bottom: 8px; color: var(--navy-900); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 58px; padding: 14px 18px; border-radius: 12px;
  border: 2px solid var(--line); background: #fff; font: 1rem var(--font-body); color: var(--ink);
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px var(--navy-100); }
.field small { display: block; margin-top: 6px; color: var(--muted); font-size: .85rem; }
.form__success {
  display: none; padding: 20px 22px; border-radius: 12px; background: #e7f3ea; color: #1d5a2c; font-weight: 700;
}
.form__success.is-visible { display: block; }

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-sm); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Selo "conteúdo demonstrativo" para o protótipo */
.demo-flag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 6px; background: #fff3cd; color: #7a5b00; border: 1px solid #f0d77a;
}
