/*
   RENATO LOFFI 40700 - CANDIDATO A DEPUTADO ESTADUAL
   Site institucional de campanha
*/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@700;800&display=swap");

:root {
  --blue-deep: #08172f;
  --blue: #14509e;
  --blue-bright: #2f7bff;
  --yellow: #fbb724;
  --yellow-bright: #ffd166;

  --bg-dark: #060f22;
  --bg-darker: #030811;
  --bg-blue: #0b1930;
  --bg-blue-light: #10213f;

  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.85);
  --text-muted: rgba(255, 255, 255, 0.6);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-lg: 0 20px 60px -15px rgba(0, 0, 0, 0.55);
  --shadow-yellow: 0 10px 40px -10px rgba(251, 183, 36, 0.4);
  --shadow-blue: 0 10px 40px -10px rgba(47, 123, 255, 0.4);

  --max-width: 1360px;
  --radius: 16px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ============ LAYOUT ============ */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }

.section { padding: 110px 0; position: relative; overflow: hidden; }

.section-header { max-width: 820px; margin: 0 0 56px; }
.section-header.center { text-align: center; margin-left: auto; margin-right: auto; }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--yellow); text-transform: uppercase; margin-bottom: 18px;
}
.section-eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--yellow); display: inline-block; }
.section-header.center .section-eyebrow::before { display: none; }
.section-header.center .section-eyebrow { padding: 8px 16px; border-radius: 100px; background: rgba(251,183,36,0.1); border: 1px solid rgba(251,183,36,0.25); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.02em;
  color: var(--text-primary); margin-bottom: 20px;
}

.section-lead { font-size: 16px; line-height: 1.7; color: var(--text-muted); max-width: 640px; }
.section-header.center .section-lead { margin: 0 auto; }

.text-yellow { color: var(--yellow); }
.text-blue { color: var(--blue-bright); }

/* ============ HEADER ============ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(6, 15, 34, 0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s var(--ease);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.header-start { display: flex; align-items: center; gap: 16px; }
.logo { height: 52px; width: auto; }
.header-social {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-secondary); display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.header-social:hover { background: var(--yellow); border-color: var(--yellow); color: var(--blue-deep); }
.header-social svg { width: 18px; height: 18px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn-header) {
  font-size: 15px; font-weight: 600; color: var(--text-secondary);
  transition: color 0.2s ease; position: relative;
}
.nav a:not(.btn-header)::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--yellow); transition: width 0.3s var(--ease);
}
.nav a:not(.btn-header):hover { color: var(--yellow); }
.nav a:not(.btn-header):hover::after { width: 100%; }

.btn-header {
  padding: 12px 26px; border-radius: 100px; font-size: 14px; font-weight: 700;
  background: linear-gradient(135deg, var(--yellow-bright), var(--yellow));
  color: var(--blue-deep); transition: all 0.3s var(--ease); box-shadow: 0 0 20px rgba(251, 183, 36, 0.3);
}
.btn-header:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(251, 183, 36, 0.5); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  align-items: center; justify-content: center; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; width: 20px; height: 2px; background: #fff; position: relative; transition: all .25s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle.active span { background: transparent; }
.nav-toggle.active span::before { transform: rotate(45deg); top: 0; }
.nav-toggle.active span::after { transform: rotate(-45deg); top: 0; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px; border-radius: 100px; font-size: 14.5px; font-weight: 700;
  transition: all 0.3s var(--ease); cursor: pointer; border: none; text-align: center;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-lg { padding: 18px 36px; font-size: 15.5px; }

.btn-primary {
  background: linear-gradient(135deg, var(--yellow-bright), var(--yellow));
  color: var(--blue-deep); box-shadow: var(--shadow-yellow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 50px -15px rgba(251, 183, 36, 0.55); }

.btn-secondary {
  background: transparent; color: var(--text-primary);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.5); }

.btn-blue {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  color: #fff; box-shadow: var(--shadow-blue);
}
.btn-blue:hover { transform: translateY(-2px); box-shadow: 0 15px 50px -15px rgba(47, 123, 255, 0.6); }

/* ============ HERO ============ */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 100px; position: relative; overflow: hidden; }

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 900px 650px at 20% 25%, rgba(47, 123, 255, 0.35), transparent 60%),
    radial-gradient(ellipse 700px 550px at 85% 75%, rgba(251, 183, 36, 0.14), transparent 60%),
    linear-gradient(160deg, var(--blue-deep) 0%, var(--bg-dark) 55%, var(--bg-darker) 100%);
  z-index: 0;
}

.hero-ghost-num {
  position: absolute; top: 42%; right: -2%; transform: translateY(-50%);
  font-family: var(--font-display); font-weight: 900; line-height: 1;
  font-size: clamp(160px, 24vw, 380px); color: rgba(255, 255, 255, 0.06);
  z-index: 0; pointer-events: none; user-select: none; white-space: nowrap;
}

.hero-mobile-photo-wrap { display: none; }

@media (max-width: 768px) {
  .hero-mobile-photo-wrap {
    display: block; position: absolute; left: 0; top: 184px; z-index: 2;
    width: clamp(58px, 19.5vw, 145px); pointer-events: none;
  }
  .hero-mobile-photo-wrap img { display: block; width: 100%; height: auto; }
}

.hero-inner {
  position: relative; z-index: 1; display: grid;
  grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; min-height: 560px;
}

.hero-content { display: flex; flex-direction: column; gap: 24px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  padding: 10px 20px; border-radius: 100px;
  background: rgba(251, 183, 36, 0.1); border: 1px solid rgba(251, 183, 36, 0.35);
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px; color: var(--yellow);
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-title { font-family: var(--font-display); line-height: 0.98; letter-spacing: -0.03em; }
.hero-title span { display: block; font-size: clamp(52px, 7vw, 92px); font-weight: 900; }
.hero-title .l1 { color: var(--text-primary); }
.hero-title .l2 {
  background: linear-gradient(135deg, var(--yellow-bright), var(--yellow));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-tagline { font-family: var(--font-display); font-size: clamp(19px, 2.2vw, 25px); font-weight: 700; line-height: 1.4; }
.hero-tagline .accent { color: var(--yellow); }

.hero-desc { font-size: 16.5px; line-height: 1.75; color: var(--text-secondary); max-width: 540px; }

.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-photo { position: relative; width: 100%; max-width: 440px; }
.hero-photo img { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 70px rgba(0,0,0,0.55)); }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; line-height: 0; pointer-events: none; }
.hero-wave-fill { fill: var(--bg-dark); }
.hero-wave svg { width: 100%; height: auto; display: block; }

.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 3; pointer-events: none;
}
.hero-scroll span { font-size: 11px; letter-spacing: 3px; color: var(--text-muted); font-weight: 700; }
.hero-scroll svg { width: 18px; height: 18px; color: var(--yellow); animation: scroll-bounce 1.8s ease-in-out infinite; }
@keyframes scroll-bounce { 0%,100%{ transform: translateY(0); opacity:.5;} 50%{ transform: translateY(8px); opacity:1;} }

/* ============ STATS BAR ============ */
.stats-bar { padding: 70px 0 0; position: relative; z-index: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card {
  padding: 28px 26px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.stat-card .num { font-family: var(--font-display); font-size: 36px; font-weight: 800; color: var(--yellow); line-height: 1; margin-bottom: 10px; }
.stat-card .lbl { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }

/* ============ HISTÓRIA (origem) ============ */
.section-historia { background: var(--bg-dark); }

.historia-intro { font-size: 17px; line-height: 1.75; color: var(--text-secondary); max-width: 760px; margin-bottom: 56px; }

.historia-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }

.historia-photo { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.historia-photo img { width: 100%; height: auto; display: block; }
.historia-photo .cap {
  position: absolute; left: 20px; bottom: 20px; padding: 8px 16px; border-radius: 100px;
  background: rgba(6, 15, 34, 0.85); backdrop-filter: blur(8px); font-size: 12px; font-weight: 700;
  letter-spacing: 1px; color: var(--text-secondary); text-transform: uppercase;
}

.historia-chapters { display: flex; flex-direction: column; gap: 40px; }
.chapter { display: flex; gap: 22px; }
.chapter .chapter-num { font-family: var(--font-display); font-size: 15px; font-weight: 800; color: var(--yellow); flex-shrink: 0; padding-top: 4px; }
.chapter h3 { font-family: var(--font-display); font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.chapter p { font-size: 15px; line-height: 1.75; color: var(--text-muted); }

/* ============ BANDEIRAS ============ */
.section-bandeiras { background: var(--bg-blue); position: relative; }
.section-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(251, 183, 36, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 80% 80%, rgba(47, 123, 255, 0.06) 1px, transparent 1px);
  background-size: 50px 50px, 70px 70px; opacity: 0.6;
}

.bandeiras-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; position: relative; z-index: 1; }
.bandeira-card {
  border-radius: var(--radius); overflow: hidden;
  background: var(--bg-blue-light); border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.3s var(--ease);
}
.bandeira-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bandeira-banner { height: 96px; position: relative; overflow: hidden; }
.bandeira-banner svg { width: 100%; height: 100%; }
.bandeira-body { padding: 22px 24px 26px; }
.bandeira-body h3 { font-family: var(--font-display); font-size: 17px; font-weight: 800; color: var(--yellow); margin-bottom: 10px; }
.bandeira-body p { font-size: 14px; line-height: 1.65; color: var(--text-muted); }

/* ============ TRAJETÓRIA (timeline) ============ */
.section-trajetoria { background: var(--bg-dark); }

.timeline { position: relative; max-width: 880px; }
.timeline::before {
  content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--yellow), var(--blue-bright) 60%, transparent);
}
.timeline-item { position: relative; padding-left: 42px; margin-bottom: 40px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--yellow); box-shadow: 0 0 0 4px rgba(251, 183, 36, 0.18);
}
.timeline-year { font-family: var(--font-display); font-size: 14px; font-weight: 800; color: var(--yellow); letter-spacing: 1px; margin-bottom: 6px; display: block; }
.timeline-item h3 { font-family: var(--font-display); font-size: 19px; font-weight: 800; margin-bottom: 10px; text-transform: uppercase; }
.timeline-item p { font-size: 14.5px; line-height: 1.7; color: var(--text-muted); margin-bottom: 14px; max-width: 640px; }
.timeline-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; border: 1px solid rgba(251, 183, 36, 0.4); color: var(--yellow);
}
.timeline-tag.blue { border-color: rgba(47, 123, 255, 0.5); color: var(--blue-bright); }

/* ============ PROJETOS ============ */
.section-projetos { background: var(--bg-blue); }

.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-pill {
  padding: 10px 20px; border-radius: 100px; font-size: 13px; font-weight: 700;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); color: var(--text-secondary);
  transition: all .25s var(--ease); white-space: nowrap;
}
.filter-pill:hover { background: rgba(255,255,255,0.09); }
.filter-pill.active { background: linear-gradient(135deg, var(--yellow-bright), var(--yellow)); color: var(--blue-deep); border-color: transparent; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }

.proj-card {
  border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, var(--bg-blue-light), var(--bg-blue));
  border: 1px solid rgba(255, 255, 255, 0.07); border-left: 3px solid var(--yellow);
  transition: all 0.3s var(--ease);
}
.proj-card.cat-hidden { display: none; }
.proj-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.proj-card .proj-photo {
  height: 220px; overflow: hidden; background: var(--bg-blue-light);
  display: flex; align-items: center; justify-content: center;
}
.proj-card .proj-photo img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.proj-card:hover .proj-photo img { transform: scale(1.06); }
.proj-card .proj-body { padding: 24px 26px; }
.proj-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 12px;
}
.proj-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.proj-card p { font-size: 14px; line-height: 1.65; color: var(--text-muted); margin-bottom: 14px; }
.proj-audience { font-size: 12.5px; color: var(--blue-bright); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

/* ============ VÍDEOS ============ */
.section-videos { background: var(--bg-darker); }
.videos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; max-width: 900px; margin: 0 auto; }
.video-card {
  border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, var(--bg-blue-light), var(--bg-blue));
  border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: var(--shadow-lg);
}
.video-card .video-frame { position: relative; aspect-ratio: 9 / 16; background: #000; overflow: hidden; }
.video-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-card .video-controls {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px 12px;
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
}
.video-card .video-seek {
  flex: 1; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 4px;
  background: rgba(255, 255, 255, 0.25); outline: none; cursor: pointer;
}
.video-card .video-seek::-webkit-slider-thumb {
  -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: var(--yellow); cursor: pointer;
}
.video-card .video-seek::-moz-range-thumb { width: 13px; height: 13px; border-radius: 50%; background: var(--yellow); border: none; cursor: pointer; }
.video-card .video-fullscreen, .video-card .video-playpause, .video-card .video-mute-btn {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; background: rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: center; color: #fff; border: none; cursor: pointer;
}
.video-card .video-fullscreen svg, .video-card .video-playpause svg, .video-card .video-mute-btn svg { width: 16px; height: 16px; }
.video-card .video-playpause { background: var(--yellow); color: var(--blue-deep); }
.video-card .video-body { padding: 20px 22px 24px; }
.video-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.video-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ============ COMPROMISSOS (SINFITO / COFFITO) ============
   Seção com fundo claro (contraste proposital com o resto do site escuro). */
.section-compromissos { background: #eef1f5; }
.section-compromissos .section-eyebrow { color: #9a6a00; background: rgba(251, 183, 36, 0.18); border-color: rgba(251, 183, 36, 0.45); }
.section-compromissos .section-title { color: #12203a; }
.section-compromissos .section-lead { color: #4a5568; }

.compromissos-grid { display: flex; flex-direction: column; gap: 20px; max-width: 900px; margin: 0 auto; }
.compromisso-group {
  border-radius: var(--radius); padding: 28px 30px;
  background: #ffffff;
  border: 1px solid rgba(16, 30, 54, 0.08); border-left: 4px solid var(--grp-color, var(--yellow));
  box-shadow: 0 6px 20px -8px rgba(16, 30, 54, 0.12);
}
.compromisso-group h3 {
  font-family: var(--font-display); font-size: 16px; font-weight: 800; letter-spacing: .3px;
  text-transform: uppercase; margin-bottom: 18px; color: var(--grp-color, #b3800f);
}
.compromisso-item { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid rgba(16, 30, 54, 0.08); }
.compromisso-item:last-child { border-bottom: none; padding-bottom: 0; }
.compromisso-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--grp-color, #b3800f); }
.compromisso-tag {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase;
  background: rgba(16, 30, 54, 0.06); color: #2a3646; padding: 3px 10px; border-radius: 100px;
  margin-right: 8px; white-space: nowrap; vertical-align: middle;
}
.compromisso-item p { display: inline; font-size: 14.5px; color: #4a5568; line-height: 1.7; }
.compromisso-item strong { color: #12203a; font-weight: 700; }

/* ============ COMO VOTAR ============ */
.section-comovotar { background: var(--bg-dark); }
.comovotar-inner { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 60px; align-items: center; }

.cv-steps { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.cv-step { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; border-radius: 14px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); }
.cv-step .n {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; font-family: var(--font-display); font-weight: 800; font-size: 15px;
  background: linear-gradient(135deg, var(--yellow-bright), var(--yellow)); color: var(--blue-deep);
  display: flex; align-items: center; justify-content: center;
}
.cv-step strong { display: block; font-size: 15.5px; font-weight: 700; margin-bottom: 4px; }
.cv-step span { font-size: 13.5px; color: var(--text-muted); }

.urna { background: #d8d6cc; border-radius: 18px; padding: 18px; box-shadow: var(--shadow-lg); max-width: 460px; margin: 0 auto; }
.urna-frame { background: #2b2f36; border-radius: 10px; overflow: hidden; }
.urna-topbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; }
.urna-topbar .brand { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 1px; color: #cfd3da; }
.urna-topbar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.urna-topbar .som { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #cfd3da; border: 1px solid #4a4f58; border-radius: 100px; padding: 5px 12px; }
.urna-screen { background: #cdd0c4; margin: 0 12px 12px; border-radius: 4px; padding: 18px 18px 14px; }
.urna-screen .lbl-sm { font-size: 10.5px; font-weight: 700; letter-spacing: 1px; color: #3a3d33; text-transform: uppercase; }
.urna-screen .lbl-lg { font-size: 15px; font-weight: 800; color: #1c1e17; margin-bottom: 14px; }
.urna-numrow { display: flex; gap: 6px; margin-bottom: 16px; }
.urna-numrow .box { width: 34px; height: 42px; background: #fff; border: 1px solid #9a9d90; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 19px; color: #1c1e17; }
.urna-info { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #9a9d90; padding-top: 12px; }
.urna-info div p { font-size: 11px; color: #3a3d33; margin-bottom: 3px; }
.urna-info div strong { font-size: 13px; color: #1c1e17; }
.urna-photo { width: 54px; height: 54px; border-radius: 4px; overflow: hidden; background: #fff; border: 1px solid #9a9d90; flex-shrink: 0; }
.urna-photo img { width: 100%; height: 100%; object-fit: cover; }
.urna-hint { font-size: 10px; color: #4a4d40; margin-top: 12px; line-height: 1.5; }
.urna-hint b { color: #1c1e17; }
.urna-keypad {
  display: grid; grid-template-columns: repeat(3, 1fr) 1fr; grid-template-rows: repeat(4, 1fr); gap: 8px; padding: 14px;
  grid-template-areas:
    "n1 n2 n3 branco"
    "n4 n5 n6 corrige"
    "n7 n8 n9 confirma"
    ".  n0 .  confirma";
}
.urna-key { background: #383c44; color: #fff; font-weight: 700; font-size: 15px; border-radius: 4px; padding: 12px 0; text-align: center; font-family: var(--font-display); display: flex; align-items: center; justify-content: center; }
.urna-key.n1{grid-area:n1} .urna-key.n2{grid-area:n2} .urna-key.n3{grid-area:n3}
.urna-key.n4{grid-area:n4} .urna-key.n5{grid-area:n5} .urna-key.n6{grid-area:n6}
.urna-key.n7{grid-area:n7} .urna-key.n8{grid-area:n8} .urna-key.n9{grid-area:n9}
.urna-key.zero { grid-area: n0; }
.urna-key.branco { grid-area: branco; background: #e8e6dc; color: #1c1e17; font-size: 10px; }
.urna-key.corrige { grid-area: corrige; background: #d9821f; font-size: 10.5px; }
.urna-key.confirma { grid-area: confirma; background: #2f9e44; font-size: 10.5px; }

/* ============ APOIADOR — gerador de foto ============ */
.section-apoiador { background: var(--bg-blue); }

.frame-tool { display: grid; grid-template-columns: 1fr 0.85fr; gap: 30px; margin-bottom: 90px; align-items: start; }
.frame-preview {
  aspect-ratio: 2295 / 4106; border-radius: var(--radius); overflow: hidden; position: relative;
  background: repeating-conic-gradient(#0e1d38 0% 25%, #0b1830 0% 50%) 50% / 24px 24px;
  border: 1px solid rgba(255,255,255,0.08);
}
.frame-preview canvas { width: 100%; height: 100%; display: block; }
.frame-preview .frame-empty {
  position: absolute; left: 8%; right: 12%; top: 25%; height: 38%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 14px; font-weight: 600; text-align: center; padding: 20px; pointer-events: none;
}

.frame-controls { display: flex; flex-direction: column; gap: 22px; padding: 26px; border-radius: var(--radius); background: var(--bg-blue-light); border: 1px solid rgba(255,255,255,0.07); }
.frame-controls label { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--yellow); display: block; margin-bottom: 10px; }
.file-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 10px; background: linear-gradient(135deg, var(--yellow-bright), var(--yellow)); color: var(--blue-deep); font-weight: 700; font-size: 13.5px; cursor: pointer; }
.file-btn input { display: none; }
.file-name { font-size: 12.5px; color: var(--text-muted); margin-left: 12px; }

.range-row { display: flex; align-items: center; gap: 12px; }
.range-row input[type="range"] { flex: 1; accent-color: var(--yellow); }

.arrow-pad { display: grid; grid-template-columns: repeat(3, 44px); grid-template-rows: repeat(2, 40px); gap: 6px; justify-content: center; }
.arrow-pad button { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; color: #fff; display: flex; align-items: center; justify-content: center; }
.arrow-pad button:hover { background: rgba(255,255,255,0.12); }
.arrow-pad button svg { width: 16px; height: 16px; }
.arrow-pad .up { grid-column: 2; grid-row: 1; }
.arrow-pad .left { grid-column: 1; grid-row: 2; }
.arrow-pad .center { grid-column: 2; grid-row: 2; font-size: 9px; font-weight: 700; }
.arrow-pad .right { grid-column: 3; grid-row: 2; }
.arrow-pad .down { grid-column: 2; grid-row: 3; }

.frame-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.frame-actions .btn { flex: 1; }

/* CTA banner final (dentro de apoiador) */
.cta-banner {
  position: relative; border-radius: 28px; padding: 70px 60px; text-align: center; overflow: hidden;
  background: linear-gradient(135deg, var(--bg-blue-light), var(--blue-deep));
  border: 1px solid rgba(251, 183, 36, 0.2);
}
.cta-banner .ghost {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-display); font-weight: 900; font-size: clamp(120px, 18vw, 260px);
  color: rgba(255,255,255,0.04); white-space: nowrap; pointer-events: none; z-index: 0;
}
.cta-banner .content { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-banner h3 { font-family: var(--font-display); font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; line-height: 1.3; margin-bottom: 18px; }
.cta-banner h3 .accent { color: var(--yellow); }
.cta-banner p { font-size: 15.5px; color: var(--text-secondary); margin-bottom: 32px; line-height: 1.7; }
.cta-banner .cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============ FOOTER ============ */
.footer { background: var(--bg-darker); padding: 56px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-bottom: 32px; }
.footer-brand-inline { display: flex; align-items: center; gap: 16px; }
.footer-brand-inline img { height: 44px; width: auto; }
.footer-brand-inline .txt strong { display: block; font-size: 16px; font-weight: 800; }
.footer-brand-inline .txt span { display: block; font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; transition: all .2s ease;
}
.footer-social a:hover { background: var(--yellow); color: var(--blue-deep); }
.footer-social a svg { width: 18px; height: 18px; }

.footer-legal { border-top: 1px solid rgba(255,255,255,0.06); padding: 26px 0 28px; font-size: 12.5px; line-height: 1.8; color: rgba(255,255,255,0.42); max-width: 900px; }
.footer-legal strong { color: rgba(255,255,255,0.6); }

/* ============ FLOATING JINGLE PLAYER ============ */
.mini-player {
  position: fixed; right: 24px; bottom: 24px; z-index: 900;
  display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 100px;
  background: rgba(6, 15, 34, 0.96); backdrop-filter: blur(14px);
  border: 1px solid rgba(251, 183, 36, 0.35); box-shadow: var(--shadow-lg);
  pointer-events: none;
}
.mini-player > * { pointer-events: auto; }
.mini-player button.mini-play {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(from 180deg, var(--yellow), var(--blue-bright), var(--yellow)); color: var(--blue-deep);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-yellow); position: relative;
}
.mini-player button.mini-play::after { content: ''; position: absolute; inset: 3px; background: var(--bg-darker); border-radius: 50%; }
.mini-player button.mini-play svg { position: relative; z-index: 1; width: 17px; height: 17px; color: #fff; }
.mini-player .mini-info { display: flex; flex-direction: column; line-height: 1.35; }
.mini-player .mini-info strong { font-size: 12px; font-weight: 800; letter-spacing: .5px; color: var(--yellow); }
.mini-player .mini-info span { font-size: 11.5px; color: var(--text-secondary); white-space: nowrap; }
.mini-player .mini-bars { display: flex; align-items: center; gap: 2px; height: 18px; }
.mini-player .mini-bars i { width: 3px; border-radius: 2px; background: var(--blue-bright); height: 30%; display: block; }
.mini-player.playing .mini-bars i { animation: bar-bounce 1s ease-in-out infinite; }
.mini-player .mini-bars i:nth-child(1){animation-delay:0s}
.mini-player .mini-bars i:nth-child(2){animation-delay:.15s}
.mini-player .mini-bars i:nth-child(3){animation-delay:.3s}
.mini-player .mini-bars i:nth-child(4){animation-delay:.1s}
@keyframes bar-bounce { 0%,100%{height:25%} 50%{height:90%} }
.mini-player button.mini-download {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center; transition: all .2s ease;
}
.mini-player button.mini-download:hover { background: rgba(255,255,255,0.14); color: #fff; }
.mini-player button.mini-download svg { width: 15px; height: 15px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .hero-inner { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .hero-content { align-items: center; }
  .hero-badge { align-self: center; }
  .hero-cta { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .historia-split { grid-template-columns: 1fr; }
  .comovotar-inner { grid-template-columns: 1fr; }
  .urna { margin: 0 auto; }
  .frame-tool { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 76px 0; }
  .nav { position: fixed; top: 84px; left: 0; right: 0; background: rgba(6,15,34,0.98); backdrop-filter: blur(16px);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px; border-bottom: 1px solid rgba(255,255,255,0.06);
    transform: translateY(-130%); opacity: 0; transition: all .3s var(--ease); pointer-events: none; }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a:not(.btn-header) { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav .btn-header { margin-top: 12px; text-align: center; }
  .nav-toggle { display: flex; }
  .header-inner { height: 72px; }
  .logo { height: 40px; }
  .header-start { gap: 10px; }
  .header-social { width: 32px; height: 32px; }
  .header-social svg { width: 15px; height: 15px; }
  .section-title { font-size: clamp(26px, 8vw, 40px); }
  .hero { min-height: auto; padding: 110px 0 60px; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 48px 24px; }
  .cta-actions .btn, .cta-banner .cta-actions .btn { width: 100%; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .frame-actions { flex-direction: column; }
  .mini-player .mini-info span { display: none; }
  .mini-player { right: 14px; bottom: 14px; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .urna-keypad { padding: 10px; }
  .urna-key { padding: 10px 0; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============ CHAMADA PARA A COLINHA (home, inclusão, fisioterapia) ============ */
.section-colinha-cta { padding: 20px 0 90px; }
.colinha-cta {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center;
  padding: 48px; border-radius: 28px; text-decoration: none; color: inherit;
  background:
    radial-gradient(ellipse 60% 90% at 90% 20%, rgba(251, 183, 36, 0.18), transparent 70%),
    linear-gradient(135deg, #14509e 0%, #0d2f66 55%, #08172f 100%);
  border: 1px solid rgba(251, 183, 36, 0.45);
  box-shadow: 0 30px 80px -40px rgba(47, 123, 255, 0.8);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.colinha-cta:hover { transform: translateY(-4px); box-shadow: 0 40px 90px -40px rgba(251, 183, 36, 0.6); }
.colinha-cta::after {
  content: '40700'; position: absolute; right: -20px; bottom: -60px; z-index: 0; pointer-events: none;
  font-family: var(--font-display); font-weight: 800; font-size: 220px; line-height: 1; color: rgba(255, 255, 255, 0.04);
}
.colinha-cta > * { position: relative; z-index: 1; }
.colinha-cta .section-title { margin-bottom: 14px; }
.colinha-cta .section-lead { margin-bottom: 26px; color: var(--text-secondary); }
.cc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.cc-tags span {
  padding: 7px 12px; border-radius: 100px; font-size: 13px; font-weight: 700;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
}
.colinha-cta .btn { pointer-events: none; }

.cc-mock {
  background: #0a1a36; border-radius: 18px; padding: 16px; transform: rotate(2.5deg);
  border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.8);
}
.cc-mock-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cc-mock-top b { font-family: var(--font-display); font-size: 18px; }
.cc-mock-top b span { color: var(--yellow); }
.cc-mock-top em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: 1px; color: var(--blue-deep); background: var(--yellow); padding: 4px 9px; border-radius: 100px; }
.cc-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px; margin-top: 7px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08);
}
.cc-row span { font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--yellow); }
.cc-row i { display: flex; gap: 4px; font-style: normal; }
.cc-row i b {
  width: 22px; height: 28px; border-radius: 5px; background: #fff; color: var(--blue-deep);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 16px;
}
.cc-row.eu { background: var(--yellow); border-color: var(--yellow); }
.cc-row.eu span { color: var(--blue); }
.cc-row.eu i b { background: var(--blue-deep); color: var(--yellow); }

/* Só no domingo da eleição (html.is-domingo, ligado pelo main.js) */
.so-domingo { display: none; }
html.is-domingo .so-domingo { display: revert; }
html.is-domingo .nao-domingo { display: none; }
.so-pos { display: none; }
html.is-pos .so-pos { display: revert; }
html.is-pos .nao-pos, html.is-pos .nao-domingo, html.is-pos .so-domingo { display: none; }

/* Botão fixo no celular, acima do player do jingle */
.colinha-fab { display: none; }
@media (max-width: 768px) {
  .section-colinha-cta { padding: 0 0 60px; }
  .colinha-cta { grid-template-columns: minmax(0, 1fr); padding: 30px 22px; gap: 28px; }
  .cc-mock { transform: none; }
  .colinha-cta::after { font-size: 140px; }
  .colinha-fab {
    display: inline-flex; align-items: center; gap: 8px;
    position: fixed; right: 14px; bottom: 82px; z-index: 901;
    padding: 12px 18px; border-radius: 100px; text-decoration: none;
    background: var(--yellow); color: var(--blue-deep); font-weight: 800; font-size: 14px;
    box-shadow: 0 12px 30px -8px rgba(251, 183, 36, 0.6), 0 0 0 4px rgba(251, 183, 36, 0.18);
    animation: fabPulso 2.4s ease-in-out infinite;
  }
}
@keyframes fabPulso { 50% { box-shadow: 0 12px 30px -8px rgba(251, 183, 36, 0.6), 0 0 0 9px rgba(251, 183, 36, 0.08); } }
@media (prefers-reduced-motion: reduce) { .colinha-fab { animation: none; } }

/* Aviso pelo navegador, abaixo do banner da colinha (conteúdo e estilo vêm do js/aviso.js) */
.aviso-site { max-width: 720px; margin: 16px auto 0 !important; }
html.is-pos .aviso-site { display: none !important; }
