/* Painel do Voto - Minimalist Apple Style */
:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0c;
  --bg-card: rgba(18, 18, 22, 0.7);
  --bg-card-hover: rgba(28, 28, 34, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 163, 255, 0.4);
  --text-primary: #ffffff;
  --text-secondary: #a1a1a6;
  --text-tertiary: #6e6e73;
  --accent-blue: #0071e3;
  --accent-blue-hover: #0077ed;
  --accent-glow: rgba(0, 113, 227, 0.25);
  --accent-cyan: #2997ff;
  --accent-green: #30d158;
  --accent-gold: #ffd60a;
  --font-stack: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  font-family: var(--font-stack);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.5;
  overflow-x: hidden;
  background-color: var(--bg-primary);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.5px;
}

.brand-logo svg {
  color: var(--accent-cyan);
}

.brand-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(41, 151, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(41, 151, 255, 0.3);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: #ffffff;
}

.btn-primary {
  background: var(--accent-blue);
  color: #ffffff;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 25px rgba(0, 113, 227, 0.4);
}

.btn-ghost {
  color: #fff;
  background: transparent;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-large {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
}

/* Hero */
.hero-section {
  padding-top: 140px;
  padding-bottom: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.22) 0%, rgba(41, 151, 255, 0.06) 50%, transparent 75%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.pill-tag span.dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-green);
}

.hero-title {
  font-size: clamp(38px, 5.5vw, 66px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.8px;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #ffffff 45%, #a1a1a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 680px;
  margin: 0 auto 36px;
  font-weight: 400;
  letter-spacing: -0.2px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* Showcase Dashboard */
.showcase-wrapper {
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

.showcase-card {
  background: #0d0d10;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8), 0 0 50px rgba(0, 113, 227, 0.15);
  overflow: hidden;
}

.showcase-header {
  height: 44px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

.mac-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.browser-bar {
  flex: 1;
  max-width: 480px;
  margin: 0 auto;
  height: 26px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-tertiary);
  gap: 6px;
}

.dashboard-ui {
  padding: 24px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  min-height: 460px;
  background: radial-gradient(circle at top right, rgba(0, 113, 227, 0.08), transparent 50%);
}

.dash-sidebar {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-menu-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-tertiary);
  margin-top: 8px;
  margin-bottom: 4px;
  padding-left: 8px;
}

.dash-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}

.dash-menu-item.active, .dash-menu-item:hover {
  background: rgba(0, 113, 227, 0.15);
  color: #fff;
}

.dash-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mini-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.mini-card-title {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}

.mini-card-val {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.mini-card-badge {
  font-size: 11px;
  color: var(--accent-green);
  margin-top: 4px;
}

.dash-map-mock {
  background: #06070a;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 290px;
}

.map-grid-pattern {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}

.heat-spot {
  position: absolute;
  border-radius: 50%;
  filter: blur(24px);
}
.heat-1 { top: 20%; left: 35%; width: 160px; height: 160px; background: rgba(0, 113, 227, 0.45); }
.heat-2 { top: 45%; left: 55%; width: 200px; height: 200px; background: rgba(48, 209, 88, 0.35); }
.heat-3 { top: 55%; left: 20%; width: 140px; height: 140px; background: rgba(255, 214, 10, 0.3); }

.map-floating-pin {
  position: absolute;
  top: 38%;
  left: 45%;
  background: rgba(14, 14, 18, 0.95);
  border: 1px solid var(--accent-cyan);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pin-title {
  font-weight: 700;
  color: #fff;
}

.pin-sub {
  color: var(--accent-green);
  font-size: 11px;
}

/* Sections */
.section {
  padding: 110px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-tag {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(32px, 4.5vw, 50px);
  font-weight: 700;
  letter-spacing: -1.2px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 38px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-4px);
}

.bento-col-8 { grid-column: span 8; }
.bento-col-4 { grid-column: span 4; }
.bento-col-6 { grid-column: span 6; }
.bento-col-12 { grid-column: span 12; }

.bento-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 24px;
}

.bento-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}

.bento-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Calculator */
.calc-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.calc-group label {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 500;
}

.calc-group input, .calc-group select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px 18px;
  color: #fff;
  font-size: 15px;
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}

.calc-group input:focus, .calc-group select:focus {
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.08);
}

.calc-results {
  background: rgba(0, 113, 227, 0.08);
  border: 1px solid rgba(0, 113, 227, 0.25);
  border-radius: var(--radius-md);
  padding: 36px;
  text-align: center;
}

.calc-res-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-secondary);
}

.calc-res-value {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1.5px;
  margin: 12px 0 8px;
}

.calc-res-sub {
  font-size: 14px;
  color: var(--accent-cyan);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card.featured {
  border-color: var(--accent-cyan);
  background: rgba(24, 24, 30, 0.95);
  box-shadow: 0 16px 50px rgba(0, 113, 227, 0.25);
  transform: scale(1.03);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 15px rgba(0, 113, 227, 0.5);
}

.pricing-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-secondary);
  min-height: 42px;
  margin-bottom: 24px;
}

.pricing-price {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 24px;
  color: #fff;
}

.pricing-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-tertiary);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-features li svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 22px 0;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  padding: 6px 0;
  font-family: inherit;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--text-secondary);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-top: 14px;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  background: #111116;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 38px;
  position: relative;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.9);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 6px;
  font-size: 18px;
}

.modal-close:hover {
  color: #fff;
}

/* Footer Apple Style */
.site-footer {
  background: #050507;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 40px;
  color: var(--text-tertiary);
  font-size: 13px;
  line-height: 1.6;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 12px;
}

.footer-col h5 {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal a {
  color: var(--text-tertiary);
  text-decoration: none;
  margin-left: 16px;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 960px) {
  .bento-col-8, .bento-col-4, .bento-col-6 {
    grid-column: span 12;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.featured {
    transform: none;
  }
  .calc-box {
    grid-template-columns: 1fr;
  }
  .dashboard-ui {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
}
