/* Vereador de Resultado® — design system da landing */
:root {
  --navy-900: #050d1c;
  --navy-800: #071226;
  --navy-700: #0d2140;
  --gold-1: #d4a63a;
  --gold-2: #f0d078;
  --text: #e7ecf5;
  --muted: #9fb0c9;
  --muted-2: #7f90ab;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-2: rgba(255, 255, 255, 0.06);
  --brd: rgba(240, 208, 120, 0.18);
  --brd-soft: rgba(255, 255, 255, 0.08);
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 520px at 80% -6%, rgba(240, 208, 120, 0.08), transparent 60%),
    radial-gradient(900px 600px at 0% 10%, rgba(13, 33, 64, 0.7), transparent 55%),
    linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
  background-attachment: fixed;
  min-height: 100dvh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.gold { background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.serif { font-family: "Playfair Display", Georgia, serif; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 18, 38, 0.72);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--brd-soft);
}
.nav { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  border: 1.5px solid var(--brd); background: rgba(255,255,255,.03);
  font-family: "Playfair Display", Georgia, serif; font-size: 15px;
}
.brand .name { font-size: 15px; letter-spacing: .2px; }
.brand .name sup { font-size: .55em; }
.nav-links { display: flex; gap: 20px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--gold-2); }
.nav .btn { margin-left: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn--primary { background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); color: #2a1c00; box-shadow: 0 10px 30px rgba(212,166,58,.25); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 38px rgba(212,166,58,.35); }
.btn--ghost { background: transparent; color: var(--gold-2); border-color: var(--brd); }
.btn--ghost:hover { background: rgba(240,208,120,.07); }
.btn--sm { padding: 9px 16px; font-size: 13.5px; }

/* ---------- Sections ---------- */
section { padding: clamp(56px, 9vw, 104px) 0; }
.kicker {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: 14px;
}
h1, h2, h3 { line-height: 1.12; }
h2.title { font-size: clamp(26px, 5vw, 40px); font-weight: 700; }
.lead { color: var(--muted); font-size: clamp(15px, 2.4vw, 18px); max-width: 62ch; margin-top: 16px; }

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(48px, 8vw, 88px);
  background:
    linear-gradient(100deg, rgba(5, 13, 28, .97) 0%, rgba(7, 18, 38, .9) 46%, rgba(7, 18, 38, .58) 100%),
    url('/assets/img/civico-congresso.jpg') right center / cover no-repeat;
  border-bottom: 1px solid var(--brd-soft);
}
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--brd);
  background: rgba(240,208,120,.05); color: var(--gold-2);
  font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.hero h1 {
  font-family: "Playfair Display", Georgia, serif; font-weight: 700;
  font-size: clamp(34px, 7.5vw, 62px); margin-top: 22px; max-width: 16ch;
}
.hero h1 .gold sup { font-size: .4em; }
.hero .sub { color: var(--muted); font-size: clamp(15px, 2.6vw, 19px); margin-top: 20px; max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; }
.card {
  background: var(--glass); border: 1px solid var(--brd-soft); border-radius: 18px;
  padding: 26px 24px; transition: transform .18s, border-color .2s, background .2s;
}
.card:hover { transform: translateY(-3px); border-color: var(--brd); background: var(--glass-2); }
.card .num { font-family: "Playfair Display", Georgia, serif; font-size: 15px; font-weight: 700; }
.card h3 { font-size: 18px; margin: 12px 0 8px; }
.card p { color: var(--muted); font-size: 14.5px; }

/* ---------- Band (pilares) ---------- */
.band {
  background: linear-gradient(135deg, rgba(212,166,58,.10), rgba(240,208,120,.03));
  border: 1px solid var(--brd); border-radius: 24px;
  padding: clamp(30px, 5vw, 56px);
  text-align: center;
}
.band .big-num {
  font-family: "Playfair Display", Georgia, serif; font-weight: 700;
  font-size: clamp(48px, 12vw, 96px); line-height: 1;
}

/* ---------- Mentora ---------- */
.mentor { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
.mentor-photo {
  aspect-ratio: 3/4; border-radius: 20px; border: 1px solid var(--brd);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(240,208,120,.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  display: grid; place-items: center; text-align: center; color: var(--muted-2);
  font-size: 13px; padding: 0; overflow: hidden;
}
.mentor-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mentor h2 { font-family: "Playfair Display", Georgia, serif; font-size: clamp(26px, 4.4vw, 38px); }
.mentor .role { color: var(--gold-2); font-weight: 600; margin: 8px 0 18px; }
.mentor p { color: var(--muted); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 24px; }
.chip { border: 1px solid var(--brd-soft); background: var(--glass); border-radius: 999px; padding: 8px 14px; font-size: 13px; color: var(--text); }
.chip b { color: var(--gold-2); font-weight: 600; }

/* ---------- Split (plataforma) ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center; }
.pill { display: inline-block; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--brd); color: var(--gold-2); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Plataforma: grade de recursos ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; }
.feat { display: flex; flex-direction: column; }
.feat-ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--brd); background: rgba(240, 208, 120, .06); color: var(--gold-2);
  margin-bottom: 15px; flex: none;
}
.feat-ico svg { width: 22px; height: 22px; }
.feat h3 { font-size: 17.5px; margin: 0 0 8px; }
.feat p { color: var(--muted); font-size: 14.5px; }

.plat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.plat-strip .mini {
  display: flex; gap: 14px; align-items: flex-start;
  border: 1px solid var(--brd-soft); background: var(--glass); border-radius: 16px; padding: 18px 20px;
}
.plat-strip .mini .feat-ico { width: 40px; height: 40px; margin: 0; }
.plat-strip .mini b { display: block; color: var(--text); font-size: 15px; margin-bottom: 3px; }
.plat-strip .mini span { color: var(--muted); font-size: 13.5px; line-height: 1.5; }

.cta-band {
  margin-top: 40px;
  background:
    linear-gradient(180deg, rgba(7, 18, 38, .85), rgba(5, 13, 28, .93)),
    url('/assets/img/civico-eixo.jpg') center / cover no-repeat;
  border-color: var(--brd);
}

/* créditos de imagem no rodapé */
.credits { color: var(--muted-2); font-size: 11.5px; margin-top: 12px; opacity: .85; }
.credits a { color: inherit; text-decoration: underline; }
.credits a:hover { color: var(--gold-2); }

/* ---------- Contato ---------- */
.contact { text-align: center; }
.contact .wa { font-family: "Playfair Display", Georgia, serif; font-size: clamp(24px, 5vw, 38px); margin: 10px 0 22px; }
.socials { display: flex; gap: 12px; justify-content: center; margin-top: 8px; }
.socials a { border: 1px solid var(--brd-soft); border-radius: 12px; padding: 10px 16px; color: var(--muted); font-size: 14px; transition: color .2s, border-color .2s; }
.socials a:hover { color: var(--gold-2); border-color: var(--brd); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--brd-soft); padding: 34px 0; color: var(--muted-2); font-size: 13px; }
.site-footer .row { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; align-items: center; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .plat-strip { grid-template-columns: 1fr; }
  .mentor { grid-template-columns: 1fr; }
  .mentor-photo { max-width: 300px; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .hero {
    background:
      linear-gradient(180deg, rgba(5, 13, 28, .92), rgba(7, 18, 38, .96)),
      url('/assets/img/civico-congresso.jpg') center / cover no-repeat;
  }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card:hover { transform: none; } }

/* ==================== Multi-page (nav, page-header, footer) ==================== */

/* estado ativo do link da página atual */
.nav-links a.active { color: var(--gold-2); }

/* logo (emblema) no cabeçalho */
.brand .brand-mark { width: 40px; height: 40px; display: block; flex: none; }

/* botão hamburger (escondido no desktop) */
.nav-toggle {
  display: none; margin-left: auto;
  width: 42px; height: 42px; border-radius: 10px; place-items: center;
  border: 1px solid var(--brd-soft); background: var(--glass); color: var(--text); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* teaser da home: card que é link */
.grid a.card { display: flex; flex-direction: column; }
.card .more { color: var(--gold-2); font-weight: 600; font-size: 14px; margin-top: 14px; }

/* cabeçalho compacto das páginas internas */
.page-header { padding: clamp(46px, 7vw, 82px) 0 clamp(18px, 3vw, 30px); border-bottom: 1px solid var(--brd-soft); }
.page-header h1 { font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: clamp(30px, 5.5vw, 48px); margin-top: 12px; }
.page-header .lead { margin-top: 16px; }

/* navegação do rodapé + links legais */
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 18px; }
.foot-nav a { color: var(--muted); font-size: 14px; transition: color .2s; }
.foot-nav a:hover { color: var(--gold-2); }

/* aviso legal do rodapé (produto independente / não oficial) */
.foot-disclaimer { max-width: 760px; margin: 14px auto 0; font-size: 12.5px; line-height: 1.5; text-align: center; color: var(--muted); }

/* menu mobile: converte .nav-links em painel dobrável */
@media (max-width: 640px) {
  .nav-toggle { display: inline-grid; }
  .nav-links {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; gap: 0; margin-left: 0;
    background: rgba(7, 18, 38, 0.98); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--brd-soft); padding: 6px 22px 14px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; font-size: 15px; border-bottom: 1px solid var(--brd-soft); }
  .nav-links a:last-child { border-bottom: none; }
}
