/* ==========================================================================
   Julio Rodrigues — Landing Page
   Tokens extraídos do Figma (Campanha Julio Rodrigues — Landing Page)
   ========================================================================== */

:root {
  --primary: #a1161c;
  --primary-dark: #7c1015;
  --primary-hover: #8f0004;
  --gold: #d9a441;
  --ink-900: #1c1917;
  --ink-700: #3f3a36;
  --ink-300: #a89e95;
  --bg: #faf7f2;
  --surface: #ffffff;
  --border: #e8e2db;
  --text: #1c1917;
  --text-muted: #6b625b;
  --text-faint: #a89e95;
  --paper-50: #f4efe7;
  --red-100: #f9e2e2;

  --font-display: "Anton", sans-serif;
  --font-body: "Inter", sans-serif;

  --container-pad: clamp(20px, 6vw, 144px);
  --section-pad-y: clamp(56px, 9vw, 96px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
/* scroll suave é feito via JS (assets/script.js) com curva própria — CSS fica "auto" pra não brigar com a animação */
html { scroll-behavior: auto; scroll-padding-top: 76px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.section {
  padding: var(--section-pad-y) var(--container-pad);
  width: 100%;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.44px;
  color: var(--primary);
  text-transform: uppercase;
  margin: 0 0 16px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.eyebrow.no-line { padding-left: 0; }
.eyebrow.no-line::before { display: none; }
.eyebrow.on-dark { color: var(--gold); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.56px;
  text-transform: uppercase;
  border: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), opacity .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold { background: var(--gold); color: var(--ink-900); }
.btn-gold:hover { box-shadow: 0 10px 24px rgba(217,164,65,.35); }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 10px 24px rgba(161,22,28,.35); }

.btn-outline-light {
  background: transparent;
  border: 1px solid rgba(250,247,242,.55);
  color: var(--bg);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .64px;
}
.btn-outline-light:hover { background: rgba(250,247,242,.1); border-color: rgba(250,247,242,.9); }

.btn-outline-primary {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.btn-outline-primary:hover { background: var(--primary); color: #fff; }

.btn-block { width: 100%; padding: 16px; }

/* ---------- reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .35s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .45s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================== NAV ============================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 24px);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.nav.is-scrolled { box-shadow: 0 4px 20px rgba(28,25,23,.06); border-color: var(--border); }

.nav-logo {
  font-family: var(--font-display);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
  position: relative;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav-link:hover { background: var(--paper-50); color: var(--primary); }

.nav-cta { margin-left: 6px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-900);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================== HERO ============================== */
.hero { background: var(--ink-900); }

.hero-image {
  position: relative;
  /* altura acompanha a proporção real da foto (1800x731) em qualquer largura,
     assim a foto nunca é cortada a ponto de sumir com a logo ou alguém da foto */
  height: clamp(130px, 40.6vw, 588px);
  overflow: hidden;
  background: var(--ink-700);
}
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.08);
  transition: transform 6s var(--ease);
}
.hero.in-view .hero-image img { transform: scale(1); }

.hero-band {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-top: 4px solid var(--gold);
  padding: clamp(28px, 4vw, 40px) var(--container-pad);
}
.hero-content {
  display: flex;
  gap: 40px;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
}
.hero-copy { flex: 1; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.hero-quote {
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.16;
  letter-spacing: 3px;
  color: #fff;
}
.hero-cta-stats { flex: 1; display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
  flex-wrap: wrap;
  border-top: 1px solid rgba(250,247,242,.25);
  padding-top: 24px;
  width: 100%;
}
.stat-num { font-family: var(--font-display); font-size: 32px; color: var(--gold); }
.stat-label { font-size: 12px; color: rgba(250,247,242,.75); letter-spacing: .48px; text-transform: uppercase; margin-top: 2px; }

.contact-bar {
  background: var(--ink-900);
  border-top: 1px solid rgba(250,247,242,.14);
  padding: 16px var(--container-pad);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 1.44px;
  text-transform: uppercase;
  color: rgba(250,247,242,.85);
  flex-wrap: wrap;
}
.contact-bar span:last-child { animation: bounce-hint 2.2s ease-in-out infinite; }
@keyframes bounce-hint { 0%,100% { transform: translateY(0); } 50% { transform: translateY(3px); } }

/* ============================== SOBRE ============================== */
.sobre { background: var(--surface); border-top: 1px solid var(--border); display: flex; gap: 40px; flex-wrap: wrap; }
.sobre-copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.sobre-copy h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.3; letter-spacing: 3px; max-width: 480px; }
.sobre-copy .body-text { font-size: 16px; line-height: 1.55; color: var(--text-muted); max-width: 480px; text-align: justify; }
.sobre-copy .body-text b, .sobre-copy .body-text strong { color: var(--text); font-weight: 700; }

.testimonial {
  background: var(--primary-hover);
  color: #fff;
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial p:first-child { font-size: 16px; line-height: 1.25; }
.testimonial .name { font-weight: 700; font-size: 20px; }

/* ---------------------------------------------------------------
   FOTOS — regra única e à prova de falhas pra todo o site:
   a imagem usa o tamanho NATURAL dela (width:100%, height:auto).
   Nunca depende de flexbox calcular altura, então NUNCA pode
   colapsar pra zero nem cortar cabeça/mão de ninguém, em nenhuma
   largura de tela. Se as fotos não ficarem no mesmo tamanho entre
   si, tudo bem — isso é o preço de nunca cortar ninguém.
------------------------------------------------------------------- */
.sobre-media { flex: 1 1 420px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.media-frame {
  background: var(--paper-50);
  border-radius: 16px;
  overflow: hidden;
  line-height: 0;
}
.media-frame img { width: 100%; height: auto; display: block; transition: transform .6s var(--ease); }
.media-frame:hover img { transform: scale(1.05); }
.media-row { display: flex; align-items: flex-start; gap: 16px; }
.media-row .media-frame { flex: 1 1 0; min-width: 0; border-radius: 10px; }

/* ============================== PRINCÍPIO ============================== */
.principio { background: var(--bg); border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 32px; }
.principio h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.22;
  letter-spacing: 3.6px;
  max-width: 1150px;
}
.principio h2 .accent { color: var(--primary); }
.principio-row {
  border-top: 1px solid var(--border);
  padding-top: 31px;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.principio-row p {
  font-weight: 900;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 700px;
  flex: 1;
}

/* ============================== PROPOSTAS ============================== */
.propostas { background: var(--bg); display: flex; flex-direction: column; gap: 32px; }
.propostas h2 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: 3px; max-width: 545px; }

.propostas-cards { display: flex; gap: 24px; flex-wrap: wrap; }
.proposta-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.proposta-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(28,25,23,.08); border-color: var(--primary); }
.icon-bubble {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--red-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.proposta-card .tag { font-weight: 600; font-size: 12px; letter-spacing: 1.2px; color: var(--primary); text-transform: uppercase; }
.proposta-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 21px; letter-spacing: 0; text-transform: none; line-height: 1.25; }
.proposta-card p.desc { font-size: 14px; line-height: 1.55; color: var(--text-muted); text-align: justify; }

.propostas-prioritarias { display: flex; flex-direction: column; gap: 32px; padding-top: 40px; }
.pp-head { display: flex; gap: 16px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
.pp-head h3 { font-family: var(--font-display); font-size: clamp(22px, 2.5vw, 32px); letter-spacing: 2.5px; flex: 1; min-width: 240px; }
.pp-head p { font-size: 14px; color: var(--text-muted); }

.pp-list { border-bottom: 1px solid var(--border); }
.pp-item {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  gap: 24px;
}
.pp-item .num { font-family: var(--font-display); font-size: 26px; color: var(--gold); width: 60px; flex-shrink: 0; }
.pp-item h4 { font-family: var(--font-body); font-weight: 600; font-size: 21px; margin: 0 0 6px; }
.pp-item p { font-size: 16px; line-height: 1.55; color: var(--text-muted); max-width: 950px; text-align: justify; }

/* ============================== LULA ============================== */
.reeleicao { background: var(--surface); display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.reeleicao-head { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.reeleicao h2 { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: 3px; max-width: 820px; width: 100%; text-align: left; }
.reeleicao-text { font-size: 16px; line-height: 1.55; color: var(--text-muted); max-width: 820px; width: 100%; text-align: justify; }
.reeleicao-text .strong-line { font-weight: 900; }
.reeleicao-img {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--paper-50);
}
.reeleicao-img img { width: 100%; height: auto; display: block; }

/* ============================== TRAJETÓRIA ============================== */
.trajetoria {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.trajetoria h2 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: 3px; max-width: 600px; }

.trajetoria-stats {
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.trajetoria-stats .tstat { flex: 1 1 140px; border-top: 1px solid rgba(255,255,255,.28); padding-top: 20px; }
.trajetoria-stats .tstat .num { font-family: var(--font-display); font-size: 40px; }
.trajetoria-stats .tstat .label { font-size: 14px; color: rgba(255,255,255,.78); margin-top: 6px; }

.timeline-item {
  border-top: 1px solid rgba(255,255,255,.22);
  padding: 32px 0;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.timeline-item .tag { font-family: var(--font-display); color: var(--gold); font-size: 26px; width: 120px; flex-shrink: 0; }
.timeline-item h4 { font-family: var(--font-body); font-weight: 600; font-size: 21px; margin: 0 0 6px; }
.timeline-item p { font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.78); max-width: 900px; text-align: justify; }

/* Galeria: largura de cada coluna proporcional (flex-grow), mas a
   ALTURA de cada foto é sempre natural (height:auto) — nunca há
   corte e a caixa nunca pode colapsar a zero. */
.archive-grid { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; padding-top: 8px; }
.archive-grid .g1, .archive-grid .g2, .archive-grid .g3 { border-radius: 10px; overflow: hidden; flex: 1 1 0; min-width: 140px; }
.archive-grid .g1 { flex-grow: 0.562; }
.archive-grid .g2 { flex-grow: 1.501; }
.archive-grid .g3 { flex-grow: 1.124; display: flex; align-items: flex-start; gap: 4px; }
.archive-grid .g3 img { flex: 1 1 0; min-width: 0; }
.archive-grid img { width: 100%; height: auto; display: block; transition: transform .5s var(--ease); }
.archive-grid > div:hover img { transform: scale(1.06); }

/* ============================== VÍDEO ============================== */
.video-section { background: var(--surface); display: flex; flex-direction: column; align-items: center; gap: 40px; }
.video-head { display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.video-head h2 { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: 3px; max-width: 600px; }

.video-wrap {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--paper-50);
  position: relative;
}
video.video-real, iframe.video-real { width: 100%; height: 100%; border: none; display: block; }

/* ============================== FAQ ============================== */
.faq { background: var(--bg); display: flex; gap: 40px; flex-wrap: wrap; }
.faq-head { flex: 0 1 340px; display: flex; flex-direction: column; gap: 16px; }
.faq-head h2 { font-size: clamp(26px, 3vw, 40px); letter-spacing: 3px; max-width: 320px; }
.faq-head p { font-size: 16px; line-height: 1.55; color: var(--text-muted); max-width: 320px; }

.faq-list { flex: 1 1 420px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  text-align: left;
}
.faq-q .plus { font-size: 18px; color: var(--text-muted); transition: transform .3s var(--ease); flex-shrink: 0; }
.faq-item.is-open .faq-q .plus { transform: rotate(45deg); color: var(--primary); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease), padding .4s var(--ease);
  padding: 0 24px;
}
.faq-a p { font-size: 14px; line-height: 1.55; color: var(--text-muted); padding-bottom: 0; text-align: justify; }
.faq-item.is-open .faq-a { max-height: 300px; padding: 0 24px 20px; }

/* ============================== CTA ============================== */
.cta-band {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band .cta-copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cta-band h2 { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: 3px; }
.cta-band p { font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.85); max-width: 700px; text-align: justify; }

/* ============================== PARTICIPAR ============================== */
.participar { background: var(--bg); display: flex; gap: 40px; flex-wrap: wrap; }
.participar-copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.participar-copy h2 { font-size: clamp(30px, 4.4vw, 56px); letter-spacing: 4px; max-width: 480px; line-height: 1.15; }
.participar-copy .desc { font-size: 18px; line-height: 1.55; color: var(--text-muted); max-width: 480px; text-align: justify; }

.donate-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.donate-row:hover { border-color: var(--primary); transform: translateY(-2px); }
.donate-row .title { font-weight: 600; font-size: 16px; }
.donate-row .sub { font-size: 14px; color: var(--text-muted); }
.donate-row .cta-label { font-weight: 600; font-size: 14px; color: var(--primary); letter-spacing: .56px; }

.social-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 500;
  font-size: 14px;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.chip:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); }

.form-card {
  flex: 1 1 420px;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 26px; text-transform: none; letter-spacing: 0; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 500; font-size: 13px; }
.field input, .field select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(161,22,28,.12);
}
.field-row { display: flex; gap: 16px; }
.field-row .field { flex: 1; min-width: 0; }

.checkbox-row { display: flex; gap: 10px; align-items: flex-start; }
.checkbox-row input { margin-top: 3px; accent-color: var(--primary); width: 16px; height: 16px; }
.checkbox-row label { font-size: 13px; color: var(--text-muted); line-height: 1.4; }

.form-note { font-size: 12px; line-height: 1.55; color: var(--text-faint); }

.form-success {
  display: none;
  background: var(--red-100);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  font-weight: 600;
  color: var(--primary-hover);
}
.form-success.is-visible { display: block; animation: fade-in-up .5s var(--ease); }
@keyframes fade-in-up { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: translateY(0);} }

/* ============================== COMUNIDADE ============================== */
.comunidade { background: var(--bg); }
.comunidade-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(28px, 5vw, 64px);
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}
.comunidade-copy { flex: 1 1 360px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.comunidade-copy h2 { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: 3px; max-width: 420px; }
.comunidade-copy p { font-size: 16px; line-height: 1.55; color: var(--text-muted); max-width: 420px; text-align: justify; }

.comunidade-side { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.comunidade-stats { display: flex; gap: 16px; flex-wrap: wrap; }
.cstat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  flex: 1 1 120px;
}
.cstat .num { font-family: var(--font-display); font-size: 32px; color: var(--primary); }
.cstat .label { font-size: 12px; color: var(--text-muted); letter-spacing: .48px; text-transform: uppercase; margin-top: 2px; }
.comunidade-note { font-size: 12px; color: var(--text-faint); text-align: center; }

/* ============================== FOOTER ============================== */
.footer {
  background: var(--ink-900);
  color: rgba(250,247,242,.85);
  padding-top: clamp(56px, 9vw, 96px);
  /* padding extra embaixo pra copyright nunca ficar atrás do botão flutuante do WhatsApp */
  padding-bottom: clamp(96px, 14vw, 120px);
  padding-inline: var(--container-pad);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-top { display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.footer-logo img { width: 88px; height: 87px; object-fit: contain; }
.footer-about { flex: 1 1 240px; font-size: 14px; line-height: 1.55; color: rgba(250,247,242,.7); min-width: 200px; text-align: justify; }
.footer-col { flex: 1 1 140px; display: flex; flex-direction: column; gap: 12px; min-width: 140px; }
.footer-col .col-title { font-weight: 600; font-size: 12px; letter-spacing: 1.44px; color: var(--gold); text-transform: uppercase; }
.footer-col a, .footer-col span { font-size: 14px; color: rgba(250,247,242,.78); transition: color .2s var(--ease); }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(250,247,242,.16);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(250,247,242,.55);
  line-height: 1.55;
}

/* ============================== FLOATING WHATSAPP ============================== */
.fab-whatsapp {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 200;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .56px;
  text-transform: uppercase;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.fab-whatsapp:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 28px rgba(0,0,0,.32); }
.fab-dot { width: 8px; height: 8px; border-radius: 999px; background: #3ddc72; animation: pulse-dot 1.8s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

/* ============================== RESPONSIVE ============================== */
@media (max-width: 1080px) {
  .hero-content { flex-direction: column; align-items: flex-start; }
  .hero-cta-stats { width: 100%; }
}

@media (max-width: 860px) {
  .nav-links { position: fixed; top: 62px; left: 0; right: 0; background: var(--surface); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; border-bottom: 1px solid var(--border); box-shadow: 0 12px 24px rgba(28,25,23,.08); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-link { padding: 12px 8px; border-radius: 8px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: flex; }

  .sobre, .participar, .faq { flex-direction: column; }
  /* MESMO BUG, causa raiz geral: qualquer "flex-basis" em pixels (usado no
     desktop pra dividir LARGURA lado a lado) vira altura mínima forçada
     quando a seção empilha em coluna no mobile — sobra espaço vazio quando
     o conteúdo real é mais baixo que esse valor. Zeramos pra "auto" (altura
     = conteúdo real) em todo mundo que empilha, de uma vez por todas. */
  .sobre-copy, .sobre-media,
  .participar-copy, .form-card,
  .faq-head, .faq-list,
  .comunidade-copy, .comunidade-side,
  .footer-about, .footer-col {
    flex-basis: auto;
  }
  /* no mobile empilha em coluna única. IMPORTANTE: em flex-direction:column o
     eixo principal vira a ALTURA — então qualquer "flex-basis:0" (usado no
     desktop pra dividir a LARGURA) colapsaria a altura a zero e escondia a
     foto inteira atrás do overflow:hidden. Por isso zeramos o flex aqui e
     deixamos a altura vir só do tamanho natural da imagem (nunca some). */
  /* align-items:stretch (em vez do flex-start usado no desktop pra alinhar
     o topo das fotos) garante que cada foto ocupe 100% da largura quando
     empilhada — sem isso ela encolhe pro min-width e fica pequena/torta */
  .media-row { flex-direction: column; align-items: stretch; }
  .media-row .media-frame { flex: none; width: 100%; }
  .archive-grid { flex-direction: column; align-items: stretch; }
  .archive-grid .g1, .archive-grid .g2, .archive-grid .g3 { flex: none; width: 100%; min-width: 0; }
  .archive-grid .g3 { flex-direction: column; align-items: stretch; }
  .archive-grid .g3 img { flex: none; width: 100%; }

  .reeleicao-text { text-align: justify; }

  .comunidade-card { flex-direction: column; }

  .cta-band { text-align: left; }

  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 560px) {
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-stats { gap: 20px; }
  .field-row { flex-direction: column; gap: 20px; }
  .form-card { padding: 24px; }
  .fab-whatsapp span.fab-text { display: none; }
  .fab-whatsapp { padding: 14px; }
  .principio-row { flex-direction: column; align-items: flex-start; }
}
