/* ==========================================================================
   Gabriel Mielgo 36777 - Deputado Estadual (AGIR)
   Design System & Responsive Stylesheet
   ========================================================================== */

:root {
  --primary: #336eb4;
  --primary-dark: #204b80;
  --primary-deep: #16365e;
  --primary-light: #4d86cb;
  --primary-soft: #ebf3fa;
  
  --accent: #fcc535;
  --accent-hover: #e5b020;
  --accent-light: #fff8e5;
  --accent-glow: rgba(252, 197, 53, 0.4);
  
  --white: #ffffff;
  --off-white: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(51, 110, 180, 0.12), 0 8px 10px -6px rgba(51, 110, 180, 0.08);
  --shadow-lg: 0 20px 35px -10px rgba(51, 110, 180, 0.2), 0 10px 15px -5px rgba(51, 110, 180, 0.1);
  --shadow-glow: 0 0 25px rgba(252, 197, 53, 0.35);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--off-white);
  color: var(--slate-800);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

button, input, textarea, select {
  font: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Top Notification / Urgency Bar */
.top-bar {
  background: linear-gradient(90deg, var(--primary-deep), var(--primary));
  color: var(--white);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.top-bar-badge {
  background-color: var(--accent);
  color: var(--primary-deep);
  font-weight: 800;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Header & Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: var(--transition-normal);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.98);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--primary);
}

.logo-badge {
  background: var(--primary);
  color: var(--accent);
  font-weight: 900;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  letter-spacing: 1px;
  box-shadow: var(--shadow-sm);
}

.logo-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--slate-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  color: var(--slate-700);
  transition: var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--accent);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition-bounce);
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.btn-accent {
  background-color: var(--accent);
  color: var(--primary-deep) !important;
}

.btn-accent:hover {
  background-color: var(--slate-900);
  color: var(--accent) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white) !important;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary) !important;
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white) !important;
  border: 2px solid var(--white);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--slate-900) !important;
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background-color: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  background-color: var(--slate-100);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1.1rem 2.2rem;
  font-size: 1.125rem;
  border-radius: var(--radius-md);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--primary);
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(205, 130, 0, 0.93) 0%, rgba(245, 185, 25, 0.90) 50%, rgba(190, 115, 0, 0.95) 100%), url('../fotos/background.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  color: #ffffff;
}

.hero-title .highlight {
  color: var(--primary-deep);
  background: #ffffff;
  padding: 0.1rem 0.6rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  text-shadow: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
  max-width: 90%;
  font-weight: 500;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Candidate Voting Badge / Card */
.hero-voting-card {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(14px);
  border: 2.5px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-lg), 0 0 20px rgba(0, 0, 0, 0.4);
}

.voting-card-info h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.voting-card-info h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
}

.voting-card-info p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.number-box {
  display: flex;
  gap: 0.4rem;
}

.digit {
  width: 44px;
  height: 54px;
  background: var(--slate-900);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 1.8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.6);
  font-family: monospace;
}

.hero-image-wrapper {
  position: relative;
  text-align: center;
}

.hero-image-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.3);
}

.hero-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: top center;
  transition: var(--transition-normal);
}

.hero-image-container:hover .hero-image {
  transform: scale(1.03);
}

.hero-floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.badge-icon {
  width: 45px;
  height: 45px;
  background: var(--accent);
  color: var(--primary-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.badge-text strong {
  display: block;
  font-size: 1rem;
  color: var(--white);
}

.badge-text span {
  font-size: 0.85rem;
  color: var(--accent);
}

/* Quick Stats Bar */
.stats-bar {
  background-color: var(--white);
  padding: 2.5rem 0;
  margin-top: -2rem;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 0 1rem;
}

.stat-item:not(:last-child) {
  border-right: 1px solid var(--slate-200);
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stat-number span {
  color: var(--accent-hover);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--slate-600);
  font-weight: 600;
}

/* Section Header Component */
.section-padding {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
}

.section-subtitle {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.1rem;
  color: var(--slate-600);
}

/* Section: Quem é Gabriel Mielgo */
.about {
  background-color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-stack {
  position: relative;
}

.about-img-main {
  width: 90%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-img-secondary {
  position: absolute;
  bottom: -30px;
  right: 0;
  width: 55%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 5px solid var(--white);
  box-shadow: var(--shadow-md);
}

.about-experience-badge {
  position: absolute;
  top: 30px;
  left: -20px;
  background: var(--accent);
  color: var(--primary-deep);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 800;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about-experience-badge strong {
  font-size: 2rem;
  display: block;
  line-height: 1;
}

.about-content h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.about-text {
  color: var(--slate-700);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: var(--slate-100);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary);
}

.pillar-icon {
  font-size: 1.5rem;
  color: var(--primary);
}

.pillar-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 0.2rem;
}

.pillar-item p {
  font-size: 0.85rem;
  color: var(--slate-600);
}

/* Proposals Section */
.proposals {
  background-color: var(--off-white);
  position: relative;
}

.proposals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.proposal-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.proposal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary);
  transition: var(--transition-normal);
}

.proposal-card.accent-border::before {
  background: var(--accent);
}

.proposal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.proposal-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.proposal-icon-box {
  width: 60px;
  height: 60px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.proposal-card.accent-border .proposal-icon-box {
  background: var(--accent-light);
  color: var(--primary-deep);
}

.proposal-category {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
}

.proposal-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.3;
}

.proposal-body p {
  color: var(--slate-600);
  font-size: 0.975rem;
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.proposal-highlights {
  list-style: none;
  margin-bottom: 2rem;
}

.proposal-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--slate-700);
  margin-bottom: 0.6rem;
}

.proposal-highlights li i {
  color: #10b981;
  margin-top: 3px;
}

.proposal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--slate-200);
  gap: 1rem;
}

/* Santinho Digital / Como Votar (TSE Compliant Card) */
.santinho-section {
  background: linear-gradient(135deg, var(--slate-900), var(--primary-deep));
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.santinho-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.santinho-intro h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1.25rem;
}

.santinho-intro p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.santinho-step-list {
  list-style: none;
  margin-bottom: 2.5rem;
}

.santinho-step-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.step-num {
  width: 34px;
  height: 34px;
  background: var(--accent);
  color: var(--primary-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
}

/* Digital Voting Card / Santinho Badge */
.santinho-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  border: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.santinho-header-badge {
  background: var(--accent);
  color: var(--primary-deep);
  font-weight: 900;
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.santinho-candidate-photo {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--accent);
  margin: 0 auto 1.25rem;
  box-shadow: var(--shadow-md);
}

.santinho-candidate-name {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.santinho-candidate-role {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.santinho-digits-wrapper {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.santinho-digit-box {
  width: 52px;
  height: 65px;
  background: var(--slate-900);
  border: 2.5px solid var(--accent);
  color: var(--accent);
  font-size: 2.2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.6);
  font-family: monospace;
}

.santinho-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}


/* Gallery Section */
.gallery {
  background-color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 280px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.1) 60%);
  opacity: 0;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--white);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.gallery-overlay p {
  font-size: 0.85rem;
  color: var(--accent);
}

/* Contact & Voluntariado */
.contact-section {
  background: var(--slate-100);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info h3 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.contact-info p {
  font-size: 1.1rem;
  color: var(--slate-600);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-card-item h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--slate-800);
}

.contact-card-item p {
  font-size: 0.9rem;
  color: var(--slate-600);
  margin-bottom: 0;
}

.volunteer-form-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
}

.form-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--slate-700);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition-fast);
  background-color: var(--off-white);
}

.form-control:focus {
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

/* Modal Popup for Proposal PDF / Details */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.active {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  padding: 2.5rem;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--slate-100);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--slate-700);
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--primary);
  color: var(--white);
}

.modal-header {
  margin-bottom: 1.5rem;
  padding-right: 2.5rem;
}

.modal-badge {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--slate-900);
  line-height: 1.2;
}

.modal-body {
  color: var(--slate-700);
  font-size: 1rem;
  line-height: 1.7;

}

.modal-body h4 {
  font-size: 1.2rem;
  color: var(--primary);
  margin: 1.5rem 0 0.5rem;
  font-weight: 800;
}

.modal-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-200);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 0 30px rgba(0,0,0,0.8);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
}

/* Toast notification for Copying Number */
.toast-copy {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--slate-900);
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-bounce);
}

.toast-copy.show {
  transform: translateY(0);
  opacity: 1;
}

/* Footer */
.footer {
  background: var(--slate-900);
  color: var(--white);
  padding: 4rem 0 2rem;
  border-top: 4px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: var(--slate-300);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 90%;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--slate-300);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-badge-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--slate-700);
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

.footer-badge-box h4 {
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 0.4rem;
}

.footer-bottom {
  border-top: 1px solid var(--slate-800);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--slate-600);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 1500;
  transition: var(--transition-bounce);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

/* Keyframes */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile-only menu item helper */
.mobile-only-copy {
  display: none;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Mobile-First Optimization)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-image {
    height: 400px;
  }

  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-img-main {
    width: 100%;
    height: 400px;
  }

  .santinho-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  /* Move Copiar 36777 button into mobile dropdown menu */
  .nav-cta .js-copy-number {
    display: none;
  }

  .mobile-only-copy {
    display: block;
  }

  .nav-logo {
    gap: 0.5rem;
    font-size: 1.1rem;
  }

  .logo-badge {
    padding: 0.25rem 0.5rem;
    font-size: 0.95rem;
  }

  .logo-text {
    white-space: nowrap;
  }

  .logo-text span {
    font-size: 0.65rem;
    margin-top: 1px;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 1.75rem 1.5rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    transition: var(--transition-normal);
    z-index: 999;
    border-bottom: 3px solid var(--accent);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item {
    border-bottom: 1px solid var(--slate-200);
    padding-bottom: 1rem;
  }

  .proposals-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Santinho Digital Mobile Responsiveness Fix */
  .santinho-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .santinho-card {
    width: 100%;
    max-width: 100%;
    padding: 1.75rem 1rem;
    box-sizing: border-box;
    margin-top: 1rem;
  }

  .santinho-digits-wrapper {
    gap: 0.35rem;
    width: 100%;
  }

  .santinho-digit-box {
    width: 44px;
    height: 56px;
    font-size: 1.7rem;
  }

  .santinho-candidate-name {
    font-size: 1.8rem;
  }

  .digit {
    width: 36px;
    height: 46px;
    font-size: 1.4rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-voting-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .digit {
    width: 32px;
    height: 42px;
    font-size: 1.3rem;
  }

  .santinho-digits-wrapper {
    gap: 0.25rem;
  }

  .santinho-digit-box {
    width: 36px;
    height: 46px;
    font-size: 1.35rem;
  }

  .santinho-candidate-photo {
    width: 110px;
    height: 110px;
  }

  .santinho-header-badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.75rem;
  }

  .whatsapp-float {
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}
