:root {
  --black: #07080a;
  --charcoal: #111318;
  --charcoal-soft: #1c2027;
  --gold: #d8ae35;
  --gold-dark: #9b7515;
  --cream: #f7f1e3;
  --paper: #fffaf0;
  --stone: #e9e2d2;
  --text: #20232a;
  --muted: #61646b;
  --line: rgba(216, 174, 53, 0.3);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 12px; background: var(--gold); color: #111; padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip-link:focus { left: 12px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(7, 8, 10, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(216, 174, 53, 0.25);
}
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img { width: 58px; height: 58px; object-fit: cover; border-radius: 50%; border: 2px solid var(--gold); background: #fff; }
.brand strong { display: block; font-size: 0.92rem; letter-spacing: 0.02em; }
.brand small { display: block; color: var(--gold); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { color: rgba(255,255,255,0.84); padding: 10px 13px; border-radius: 999px; font-weight: 700; font-size: 0.92rem; transition: 0.2s ease; }
.main-nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.main-nav .nav-contact { background: linear-gradient(135deg, var(--gold), #f3d77a); color: #111; box-shadow: 0 8px 20px rgba(216,174,53,0.25); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.18); border-radius: 12px; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: #fff; margin: 5px auto; transition: 0.2s ease; }

.section { padding: 92px 0; position: relative; }
.section-dark { background: var(--black); color: #fff; }
.hero { overflow: hidden; min-height: 720px; display: flex; align-items: center; border-bottom: 5px solid var(--gold); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(216,174,53,0.2), transparent 24%),
    radial-gradient(circle at 20% 30%, rgba(0,140,180,0.18), transparent 30%),
    linear-gradient(135deg, rgba(7,8,10,0.78), rgba(7,8,10,0.98));
  z-index: 0;
}
.hero-texture {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: linear-gradient(45deg, rgba(255,255,255,0.08) 25%, transparent 25%), linear-gradient(-45deg, rgba(255,255,255,0.08) 25%, transparent 25%);
  background-size: 80px 80px;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 70px 0; }
.eyebrow { color: var(--gold); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.78rem; margin: 0 0 14px; }
.eyebrow.dark { color: var(--gold-dark); }
h1, h2, h3 { line-height: 1.1; margin-top: 0; }
h1, h2 { font-family: "Playfair Display", Georgia, serif; }
h1 { font-size: clamp(2.8rem, 6vw, 5.8rem); margin-bottom: 22px; max-width: 850px; }
h2 { font-size: clamp(2rem, 4vw, 3.7rem); margin-bottom: 18px; }
h3 { font-size: 1.25rem; }
.hero-lead { font-size: 1.14rem; color: rgba(255,255,255,0.82); max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 22px; border-radius: 999px; font-weight: 800; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--gold), #f2d572); color: #111; box-shadow: 0 18px 34px rgba(216, 174, 53, 0.26); }
.btn-secondary { color: #fff; border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.06); }
.btn-outline { border: 1px solid rgba(17,17,17,0.18); color: #111; background: rgba(255,255,255,0.55); }
.trust-bar { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; max-width: 720px; }
.trust-bar div { padding: 18px; border: 1px solid rgba(216,174,53,0.25); border-radius: var(--radius-md); background: rgba(255,255,255,0.06); }
.trust-bar strong { display: block; font-size: 1.2rem; color: var(--gold); }
.trust-bar span { color: rgba(255,255,255,0.72); font-size: 0.9rem; }
.hero-card { background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.04)); border: 1px solid rgba(216,174,53,0.32); border-radius: 34px; padding: 28px; box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.hero-logo { width: 270px; margin: 0 auto 24px; border-radius: 50%; border: 8px solid rgba(216,174,53,0.75); box-shadow: 0 22px 70px rgba(0,0,0,0.42); }
.anniversary { display: grid; grid-template-columns: 130px 1fr; gap: 20px; align-items: center; background: rgba(0,0,0,0.25); border-radius: 24px; padding: 18px; }
.anniversary h2 { font-size: 1.75rem; margin-bottom: 8px; }
.anniversary p { margin: 0; color: rgba(255,255,255,0.78); }

.history-section { background: var(--paper); overflow: hidden; }
.legacy-mark { position: absolute; inset: 0; background: url("assets/logo-antigo-pantera-negra.jpg") center/620px no-repeat; opacity: 0.045; filter: grayscale(1); }
.split-layout { position: relative; display: grid; grid-template-columns: 1.08fr 0.72fr; gap: 46px; align-items: center; }
.split-layout p { color: var(--muted); font-size: 1.04rem; }
.identity-panel { background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); }
.identity-panel img { border-radius: 22px; border: 1px solid rgba(0,0,0,0.08); margin-bottom: 20px; }
.identity-panel h3 { margin-bottom: 8px; }
.identity-panel p { margin-bottom: 0; }

.section-stone { background: linear-gradient(180deg, var(--stone), #f6efdf); }
.section-heading { max-width: 830px; text-align: center; margin-bottom: 42px; }
.section-heading p { color: var(--muted); }
.cards-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.area-card { position: relative; min-height: 285px; padding: 30px 24px; background: rgba(255,255,255,0.82); border: 1px solid rgba(0,0,0,0.08); border-top: 4px solid var(--gold); border-radius: var(--radius-md); box-shadow: 0 18px 38px rgba(30,24,8,0.08); overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.area-card::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 140px; height: 140px; border-radius: 50%; background: rgba(216,174,53,0.12); }
.area-card:hover { transform: translateY(-6px); box-shadow: 0 24px 52px rgba(30,24,8,0.13); }
.card-number { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: var(--charcoal); color: var(--gold); font-weight: 800; margin-bottom: 18px; }
.area-card p { color: var(--muted); margin-bottom: 0; }

.projects-section { background: var(--paper); }
.project-panel { display: grid; grid-template-columns: 1fr 360px; gap: 38px; align-items: stretch; background: #fff; border-radius: 36px; padding: 42px; box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,0.08); }
.project-copy p { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; font-weight: 700; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: #111; display: inline-flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.project-metrics { display: grid; gap: 16px; }
.project-metrics div { display: flex; flex-direction: column; justify-content: center; min-height: 126px; padding: 22px; border-radius: 22px; color: #fff; background: linear-gradient(135deg, var(--charcoal), #28303b); border: 1px solid var(--line); }
.project-metrics strong { font-family: "Playfair Display", Georgia, serif; font-size: 2.35rem; color: var(--gold); line-height: 1; }
.project-metrics span { color: rgba(255,255,255,0.72); font-weight: 700; }

.volunteer-section { border-top: 5px solid var(--gold); border-bottom: 5px solid var(--gold); }
.volunteer-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 10%, rgba(216,174,53,0.22), transparent 26%), linear-gradient(135deg, rgba(17,19,24,0.95), rgba(5,6,8,1)); }
.volunteer-grid { position: relative; display: grid; grid-template-columns: 1fr 0.8fr; gap: 42px; align-items: center; }
.volunteer-grid p { color: rgba(255,255,255,0.76); font-size: 1.05rem; }
.volunteer-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(216,174,53,0.32); border-radius: 28px; padding: 32px; box-shadow: var(--shadow); }
.email-link { display: inline-flex; margin-top: 12px; color: var(--gold); font-size: clamp(1.2rem, 2vw, 1.65rem); font-weight: 900; word-break: break-word; }

.contact-section { background: linear-gradient(180deg, #f8f2e6, #fffaf0); }
.contact-box { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 38px; border-radius: 34px; background: #fff; border: 1px solid rgba(0,0,0,0.08); box-shadow: var(--shadow); }
.contact-box p { color: var(--muted); max-width: 700px; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }

.footer { background: #050607; color: rgba(255,255,255,0.72); padding: 30px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 24px; align-items: center; }
.footer img { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--gold); margin-bottom: 8px; }
.footer p { margin: 0; }
.footer a { color: var(--gold); font-weight: 800; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 84px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; background: rgba(7,8,10,0.98); border: 1px solid rgba(216,174,53,0.22); border-radius: 18px; padding: 12px; }
  .main-nav.is-open { display: flex; }
  .main-nav a { border-radius: 12px; }
  .hero-grid, .split-layout, .project-panel, .volunteer-grid, .contact-box, .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-actions { align-items: flex-start; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .section { padding: 68px 0; }
  .brand span { display: none; }
  .trust-bar { grid-template-columns: 1fr; }
  .anniversary { grid-template-columns: 1fr; text-align: center; }
  .anniversary img { width: 150px; margin: 0 auto; }
  .cards-grid { grid-template-columns: 1fr; }
  .project-panel, .contact-box { padding: 26px; border-radius: 24px; }
  .area-card { min-height: auto; }
}
