:root {
  --ruby-deep: #4a0404;
  --ruby-dark: #650808;
  --ruby: #8f1010;
  --ruby-light: #b51f1f;
  --gold-deep: #b27a18;
  --gold: #d7a62a;
  --gold-light: #f2cc63;
  --cream: #fff8e8;
  --paper: #fffdf8;
  --ink: #2a120e;
  --muted: #765b50;
  --line: rgba(178, 122, 24, .28);
  --shadow: 0 18px 45px rgba(52, 0, 0, .16);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px clamp(20px, 5vw, 72px);
  color: var(--cream);
  background: rgba(74, 4, 4, .96);
  border-bottom: 1px solid rgba(242, 204, 99, .28);
  box-shadow: 0 8px 25px rgba(35, 0, 0, .14);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: rgba(74,4,4,.55);
  box-shadow: 0 0 0 3px rgba(215,166,42,.08);
}
.brand-mark img { display: block; width: 60px; height: 60px; object-fit: contain; max-width: 100%; }
.brand strong, .brand span { display: block; }
.brand strong { font-size: .95rem; letter-spacing: .06em; }
.brand span { margin-top: 1px; color: #e8c86f; font-size: .7rem; letter-spacing: .16em; }
nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
nav a { color: #fff8e8; font-size: .92rem; font-weight: 650; opacity: .9; }
nav a:hover { color: var(--gold-light); }
.menu-btn { display: none; border: 0; background: none; color: var(--gold-light); font-size: 1.7rem; }

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  align-items: center;
  gap: 48px;
  min-height: 680px;
  padding: clamp(70px, 10vw, 120px) clamp(20px, 7vw, 100px);
  color: var(--cream);
  background:
    radial-gradient(circle at 75% 50%, rgba(215,166,42,.17), transparent 30%),
    radial-gradient(circle at 15% 0%, rgba(181,31,31,.4), transparent 38%),
    linear-gradient(135deg, var(--ruby-deep) 0%, var(--ruby-dark) 52%, #250101 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -150px -10%;
  height: 280px;
  background: radial-gradient(ellipse, rgba(215,166,42,.12), transparent 65%);
  pointer-events: none;
}
.hero-content, .hero-card { position: relative; z-index: 1; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-light);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .17em;
  text-transform: uppercase;
}
h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 6.5rem);
  line-height: .98;
  letter-spacing: -.055em;
}
h1 span { color: var(--gold-light); }
.lead { max-width: 680px; margin: 25px 0 0; color: #f7e8d8; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { color: var(--ruby-deep); background: linear-gradient(135deg, var(--gold-light), var(--gold)); box-shadow: 0 10px 28px rgba(215,166,42,.22); }
.btn.ghost { color: var(--cream); border: 1px solid rgba(242,204,99,.6); background: rgba(255,255,255,.04); }
.btn.ghost:hover { background: rgba(242,204,99,.12); }

.hero-card {
  display: grid;
  place-items: center;
  min-height: 350px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(242,204,99,.5);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(181,31,31,.28), rgba(30,0,0,.42));
  box-shadow: inset 0 0 0 1px rgba(255,248,232,.04), var(--shadow);
}
.chapter-logo {
  display: block;
  width: min(100%, 520px);
  height: auto;
  max-height: 390px;
  object-fit: contain;
  filter: drop-shadow(0 18px 25px rgba(0,0,0,.28));
}
.hero-card p { margin: 20px 0 0; color: var(--cream); font-size: 1rem; letter-spacing: .13em; }
.hero-card p strong { color: var(--gold-light); font-size: 1.35rem; }
.hero-card small { color: #e9c98a; letter-spacing: .2em; }

.section { padding: clamp(70px, 9vw, 110px) clamp(20px, 7vw, 100px); }
.section-heading { max-width: 850px; margin-bottom: 44px; }
h2 { margin: 0; color: var(--ruby-deep); font-size: clamp(2rem, 4vw, 4rem); line-height: 1.05; letter-spacing: -.04em; }
.about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; max-width: 1050px; }
.about-grid p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.values, .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 45px; }
.values > div, .cards article, .event {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(75, 8, 8, .06);
}
.values > div { padding: 28px; }
.values b, .cards span { color: var(--gold-deep); font-size: .8rem; letter-spacing: .14em; }
.values h3, .cards h3, .event h3 { margin: 9px 0 7px; color: var(--ruby); }
.values p, .cards p, .event p { margin: 0; color: var(--muted); }

.section.dark {
  color: var(--cream);
  background: linear-gradient(135deg, #390202, var(--ruby-deep));
}
.section.dark h2 { color: var(--cream); }
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: 18px;
  align-items: stretch;
}
.leader-card {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(242,204,99,.35);
  border-radius: var(--radius);
  background: rgba(255,255,255,.055);
}
.leader-photo {
  flex: 0 0 112px;
  width: 112px;
  height: 144px;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 18px;
  border: 2px solid rgba(242,204,99,.45);
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
}
.leader-info { min-width: 0; }
.instagram-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--gold-light);
  font-weight: 800;
  letter-spacing: .02em;
}
.instagram-link:hover { color: #fff8e8; text-decoration: underline; }
.avatar {
  display: grid;
  flex: 0 0 74px;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  color: var(--ruby-deep);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  font-size: 1.35rem;
  font-weight: 950;
}
.leader-card h3 { margin: 3px 0; color: var(--gold-light); font-size: 1.5rem; }
.leader-card p:not(.eyebrow), .note { color: #efdccc; }
.note { max-width: 800px; margin-top: 18px; }

.cards article { padding: 30px; border-top: 4px solid var(--gold); }
.cards article:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cards article { transition: transform .2s ease, box-shadow .2s ease; }

.section.alt { background: #fff6df; }
.event { display: flex; align-items: center; gap: 24px; max-width: 950px; margin-top: 16px; padding: 22px; }
.date {
  display: grid;
  place-items: center;
  flex: 0 0 82px;
  width: 82px;
  height: 82px;
  border-radius: 16px;
  color: var(--cream);
  background: linear-gradient(145deg, var(--ruby), var(--ruby-deep));
  box-shadow: inset 0 0 0 2px rgba(242,204,99,.25);
}
.date strong { font-size: 2rem; line-height: 1; }
.date span { color: var(--gold-light); font-size: .75rem; font-weight: 850; letter-spacing: .1em; }

.contact { text-align: center; background: linear-gradient(180deg, #fffdf8, #fff3d5); }
.contact .section-heading { margin-inline: auto; }
.contact > p { color: var(--muted); margin-bottom: 25px; }
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 25px clamp(20px, 7vw, 100px);
  color: #f8e8d5;
  background: #2c0101;
  border-top: 1px solid rgba(242,204,99,.2);
}
footer strong { color: var(--gold-light); }
footer span { color: #d8bca8; }

@media (max-width: 900px) {
  nav { display: none; }
  .menu-btn { display: block; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-card { max-width: 430px; width: 100%; margin-inline: auto; }
  .values, .cards, .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .topbar { padding-inline: 16px; }
  .brand strong { font-size: .78rem; }
  .hero { padding-inline: 20px; }
  h1 { font-size: 3.1rem; }
  .section { padding-inline: 20px; }
  .leader-card, .event { align-items: flex-start; }
  .leader-photo { flex-basis: 96px; width: 96px; height: 128px; }
  footer { flex-direction: column; }
}

/* Acessibilidade, páginas institucionais e privacidade */
:focus-visible{outline:3px solid #f2cc63;outline-offset:4px}.skip-link{position:absolute;left:12px;top:-60px;z-index:1000;padding:12px 16px;color:#fff;background:#250101;border-radius:8px}.skip-link:focus{top:12px}.menu-btn{cursor:pointer;min-width:44px;min-height:44px}.footer-links{display:flex;align-items:center;flex-wrap:wrap;gap:16px}.footer-links a,.cookie-settings-link{color:#fff8e8;font-size:.9rem;font-weight:650}.footer-links a:hover,.cookie-settings-link:hover{color:#f2cc63;text-decoration:underline}.cookie-settings-link{border:0;padding:8px 0;background:transparent;cursor:pointer;font-family:inherit}.cookie-banner{position:fixed;z-index:100;left:20px;right:20px;bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:1100px;margin:auto;padding:22px;color:#2a120e;background:#fffdf8;border:2px solid #b27a18;border-radius:18px;box-shadow:0 15px 50px rgba(0,0,0,.28)}.cookie-banner[hidden],.cookie-modal[hidden]{display:none}.cookie-copy{max-width:650px}.cookie-copy h2{font-size:1.3rem;margin:0 0 6px;color:#4a0404}.cookie-copy p{margin:0;color:#3f302a}.cookie-copy a{color:#650808;text-decoration:underline;font-weight:700}.cookie-actions{display:flex;flex-wrap:wrap;gap:8px}.cookie-btn{min-height:44px;padding:10px 14px;border-radius:8px;font:inherit;font-weight:700;cursor:pointer}.cookie-btn.primary{color:#fff;background:#650808;border:2px solid #650808}.cookie-btn.secondary{color:#4a0404;background:#fff;border:2px solid #650808}.cookie-modal{position:fixed;z-index:110;inset:0;display:grid;place-items:center;padding:20px;background:rgba(20,0,0,.72)}.cookie-modal-card{position:relative;width:min(100%,620px);padding:30px;color:#2a120e;background:#fffdf8;border-radius:18px;box-shadow:0 20px 70px rgba(0,0,0,.35)}.cookie-modal-card h2{margin:0 40px 12px 0;font-size:1.7rem}.cookie-modal-card p{color:#4c3a32}.modal-close{position:absolute;top:12px;right:16px;width:44px;height:44px;border:0;background:transparent;font-size:2rem;cursor:pointer}.preference-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-top:1px solid #d8c7b7}.preference-row small{display:block;margin-top:4px;color:#5b4b42}.preference-row input{width:22px;height:22px;accent-color:#650808}.legal-page{max-width:900px;margin:0 auto;padding:72px 24px 90px}.legal-page .legal-title{margin:0 0 10px;color:#4a0404;font-size:clamp(2.3rem,5vw,4rem)}.legal-updated{color:#5b4b42;margin:0 0 36px}.legal-page h2{margin:34px 0 10px;font-size:1.45rem;letter-spacing:-.02em;color:#650808}.legal-page p,.legal-page li{color:#3f302a}.legal-page ul{padding-left:24px}.footer-brand{display:flex;flex-direction:column;gap:4px}
@media(max-width:900px){.topbar nav.is-open{position:absolute;top:100%;left:0;right:0;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:10px 20px 18px;background:#4a0404;border-top:1px solid rgba(242,204,99,.3)}.topbar nav.is-open a{padding:12px 8px}.cookie-banner{flex-direction:column;align-items:stretch}.cookie-actions{justify-content:flex-start}}@media(max-width:560px){.cookie-banner{left:10px;right:10px;bottom:10px;padding:16px}.cookie-actions{display:grid;grid-template-columns:1fr}.cookie-btn{width:100%}.cookie-modal-card{padding:24px 18px}.footer-links{align-items:flex-start;flex-direction:column;gap:8px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
