/* =========================================================
   Adm. Samuel Albernaz — site2026
   Paleta extraída por amostragem de cor da peça oficial da
   campanha Chapa 1 (novosite/WhatsApp Image ...18.22.07.jpeg)
   ========================================================= */

:root {
  --navy-900: #0a1830;
  --navy-800: #0f1f3f;
  --navy-700: #18253f;
  --navy-600: #052e62;
  --gold: #eca606;
  --gold-light: #f6c548;
  --cream: #f6f2e7;
  --ink: #1b2330;
  --muted: #5b6474;
  --line: #e4e1d6;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --header-h: 72px;
  --max-w: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy-900);
  padding: 8px 16px;
  z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

section[id] { scroll-margin-top: var(--header-h); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(10, 24, 48, 0.96);
  backdrop-filter: blur(6px);
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}
.brand-name {
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 1.25rem;
  font-weight: 700;
}
.brand-role {
  color: var(--gold-light);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  color: var(--cream);
  text-decoration: none;
  font-size: .93rem;
  font-weight: 500;
  opacity: .88;
  transition: opacity .2s, color .2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link:focus-visible { opacity: 1; color: var(--gold-light); }
.nav-link--highlight {
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 8px 14px;
  border-radius: 999px;
  opacity: 1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: .95rem;
  transition: transform .15s, box-shadow .15s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-900);
  box-shadow: 0 8px 20px rgba(236,166,6,.35);
}
.btn--outline {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid var(--cream);
}
.btn--outline:hover { background: rgba(255,255,255,.08); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 56px) 0 72px;
  background: radial-gradient(ellipse at 30% 20%, var(--navy-600) 0%, var(--navy-900) 60%);
  color: var(--cream);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .8rem;
  font-weight: 600;
  margin: 0 0 12px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 0 0 18px;
  line-height: 1.1;
}
.hero-lede { font-size: 1.08rem; color: #dfe3ea; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-media img {
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
  border: 3px solid rgba(236,166,6,.35);
  margin: 0 auto;
  max-width: 340px;
  width: 100%;
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--alt { background: #fdfbf4; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: var(--cream);
}
.section-tag {
  color: var(--navy-600);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  font-size: .8rem;
  margin: 0 0 10px;
}
.section-tag--gold { color: var(--gold-light); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin: 0 0 28px;
}
.section-title--light { color: var(--cream); }
.section-intro { max-width: 68ch; color: var(--muted); font-size: 1.05rem; }

/* ---------- Sobre ---------- */
.sobre-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}
.sobre-texto p { font-size: 1.02rem; color: #333; }
.sobre-subtitulo { font-family: var(--font-display); margin-top: 32px; }
.tag-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tag-list li {
  background: #fff;
  border-left: 3px solid var(--gold);
  padding: 10px 16px;
  border-radius: 6px;
  font-size: .95rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.sobre-foto img { border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.15); }

/* ---------- Timeline ---------- */
.timeline {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  border-left: 3px solid var(--gold);
  max-width: 780px;
}
.timeline-item { position: relative; padding: 0 0 34px 28px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -8.5px;
  top: 4px;
  width: 14px; height: 14px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-year {
  display: inline-block;
  font-weight: 700;
  color: var(--navy-600);
  font-size: .85rem;
  letter-spacing: .05em;
  margin-bottom: 4px;
}
.timeline-item h3 { margin: 2px 0 6px; font-size: 1.1rem; }
.timeline-item p { margin: 0; color: var(--muted); }

.trajetoria-fotos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.trajetoria-fotos figure { margin: 0; }
.trajetoria-fotos img { border-radius: 10px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.trajetoria-fotos figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; }

/* ---------- Chapa 1 ---------- */
.chapa1-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.chapa1-imagem img { border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.chapa1-quote {
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin: 0 0 32px;
  color: #dfe3ea;
  font-size: 1.02rem;
}
.chapa1-quote p { margin: 0 0 12px; }
.chapa1-checklist-title { font-family: var(--font-display); color: var(--gold-light); margin-bottom: 16px; }
.checklist { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 12px; }
.checklist li {
  position: relative;
  padding-left: 30px;
  color: var(--cream);
  font-weight: 500;
}
.checklist li::before {
  content: '✔';
  position: absolute;
  left: 0; top: 0;
  color: var(--gold-light);
  font-weight: 700;
}
.chapa1-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.chapa1-cta a {
  background: var(--gold);
  color: var(--navy-900);
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
.chapa1-hashtags { color: #9aa5b5; font-size: .85rem; }

/* ---------- Homenagens ---------- */
.homenagem-destaque {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 36px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 48px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.homenagem-destaque img { border-radius: 10px; }
.badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-900);
  font-size: .78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.homenagem-destaque-texto h3 { font-family: var(--font-display); margin: 0 0 10px; }

.homenagens-corpo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.pill-list, .premios-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pill-list li {
  background: var(--navy-900);
  color: var(--cream);
  font-size: .88rem;
  padding: 9px 14px;
  border-radius: 8px;
}
.premios-list li {
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  font-size: .93rem;
  color: #333;
}
.homenagens-foto-extra { margin: 48px 0 0; }
.homenagens-foto-extra img { border-radius: 12px; max-width: 480px; margin: 0 auto; }

/* ---------- Galeria ---------- */
.galeria-subtitulo {
  font-family: var(--font-display);
  margin: 40px 0 20px;
}
.galeria-subtitulo:first-of-type { margin-top: 0; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.video-card { margin: 0; }
.video-card video {
  width: 100%;
  border-radius: 12px;
  background: #000;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.video-card figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; }

.foto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.foto-item {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.foto-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.foto-item:hover img { transform: scale(1.06); }

/* ---------- Contato ---------- */
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contato-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contato-lista li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 20px;
}
.contato-rotulo { font-weight: 700; color: var(--navy-700); }
.contato-valor { color: var(--navy-600); text-decoration: none; }
.contato-placeholder { color: #b34141; font-style: italic; font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #cdd3dd; padding: 32px 0; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: .88rem;
}
.footer-inner strong { color: var(--cream); display: block; }
.footer-inner span { color: var(--gold-light); font-size: .82rem; }
.voltar-topo { color: var(--cream); text-decoration: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5,10,20,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; border-radius: 8px; }
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
}

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero-inner, .sobre-grid, .chapa1-grid, .homenagem-destaque, .homenagens-corpo, .contato-grid {
    grid-template-columns: 1fr;
  }
  .hero-media { order: -1; }
  .trajetoria-fotos, .video-grid, .foto-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--navy-900);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 20px 24px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-menu.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav-link { width: 100%; padding: 10px 0; }
  .nav-link--highlight { margin-top: 8px; text-align: center; }

  .section { padding: 64px 0; }
  .homenagens-corpo { gap: 32px; }
}

@media (max-width: 480px) {
  .trajetoria-fotos, .video-grid, .foto-grid { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 32px); }
  .homenagem-destaque { padding: 18px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
