/* ==========================================================================
   ESTILOS PRINCIPAIS - MÁRCIA REGINA 1331
   Desenvolvido em CSS3 Puro (Sem Frameworks)
   Fácil de editar manualmente
   ========================================================================== */

/* --- 1. VARIÁVEIS E CORES DO TEMA --- */
:root {
  --primary-red: #E30613;
  --primary-red-hover: #C4040F;
  --primary-purple: #5B0AA8;
  --primary-purple-hover: #470685;
  --text-dark: #202020;
  --text-muted: #555555;
  --text-light: #777777;
  --bg-light: #F5F5F5;
  --bg-white: #FFFFFF;
  --border-color: #E2E8F0;
  --border-darker: #CBD5E1;
  --accent-yellow: #FDE047;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --container-max-width: 1200px;
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* --- 2. RESET E ESTILOS GERAIS --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button, input, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* --- 3. UTILITÁRIOS E CONTAINER --- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  padding-top: 70px;
  padding-bottom: 70px;
}

.section-white {
  background-color: var(--bg-white);
}

.section-gray {
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-purple);
  margin-bottom: 8px;
}

.section-tag.tag-red {
  color: var(--primary-red);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* --- 4. CABEÇALHO (HEADER) --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

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

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo-img {
  height: 44px;
  width: auto;
  max-width: 220px;
  object-contain: contain;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

.header-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: var(--bg-light);
  color: var(--primary-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.social-icon-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-icon-btn:hover {
  background-color: var(--primary-purple);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-mobile-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-dark);
}

.btn-mobile-menu svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
}

.nav-mobile {
  display: none;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
  padding: 16px 20px;
}

.nav-mobile.open {
  display: block;
}

.nav-mobile .nav-link {
  display: block;
  padding: 12px 0;
  font-size: 1.05rem;
  border-bottom: 1px solid #f0f0f0;
}

/* --- 5. BANNER HERO --- */
.hero-banner-section {
  width: 100%;
  background-color: #000;
  overflow: hidden;
}

.hero-banner-picture {
  width: 100%;
  display: block;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --- 6. SEÇÃO CONHEÇA MÁRCIA --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: center;
}

.about-photo-wrapper {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}

.about-photo-card {
  position: relative;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  aspect-ratio: 4 / 5;
}

.candidate-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.candidate-badge-overlay {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
}

.badge-name-number-img {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.about-content-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 16px;
}

.about-content-text p strong {
  color: var(--text-dark);
}

.about-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.highlight-box {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.highlight-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.badge-red {
  background-color: rgba(227, 6, 19, 0.1);
  color: var(--primary-red);
}

.badge-purple {
  background-color: rgba(91, 10, 168, 0.1);
  color: var(--primary-purple);
}

.badge-dark {
  background-color: #ededed;
  color: var(--text-dark);
}

.highlight-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.2;
}

.highlight-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* --- 7. LINHA DO TEMPO (TRAJETÓRIA) --- */
.timeline-desktop {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  position: relative;
  margin-top: 30px;
}

.timeline-line {
  position: absolute;
  top: 25px;
  left: 4%;
  right: 4%;
  height: 3px;
  background-color: #cbd5e1;
  z-index: 1;
}

.timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.timeline-circle {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  background-color: var(--primary-red);
}

.timeline-circle.circle-purple {
  background-color: var(--primary-purple);
}

.timeline-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-top: 14px;
  margin-bottom: 8px;
}

.tag-bg-red {
  background-color: rgba(227, 6, 19, 0.1);
  color: var(--primary-red);
}

.tag-bg-purple {
  background-color: rgba(91, 10, 168, 0.1);
  color: var(--primary-purple);
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  min-height: 38px;
}

.timeline-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.timeline-mobile {
  display: none;
  border-left: 2px solid #cbd5e1;
  margin-left: 16px;
  padding-left: 24px;
  flex-direction: column;
  gap: 24px;
}

.timeline-mobile-item {
  position: relative;
  background-color: var(--bg-white);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.timeline-mobile-badge {
  position: absolute;
  left: -37px;
  top: 12px;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background-color: var(--primary-red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- 8. PROPOSTAS (CARDS) --- */
.proposals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.proposal-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.proposal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.proposal-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.proposal-number {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.proposal-number.num-red {
  background-color: rgba(227, 6, 19, 0.1);
  color: var(--primary-red);
}

.proposal-number.num-purple {
  background-color: rgba(91, 10, 168, 0.1);
  color: var(--primary-purple);
}

.proposal-category {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-light);
  text-transform: uppercase;
}

.proposal-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.35;
}

.proposal-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.proposal-footer {
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.proposal-status {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-red);
}

.proposal-status.status-purple {
  color: var(--primary-purple);
}

/* --- 9. FAIXA DE NÚMEROS (EXPERIÊNCIA) --- */
.stats-banner {
  background-color: var(--primary-purple);
  color: #ffffff;
  padding: 50px 0;
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--accent-yellow);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* --- 10. RONDÔNIA EM BRASÍLIA --- */
.columns-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.card-editorial {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.card-editorial h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.card-editorial p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* --- 11. BANDEIRAS HORIZONTAIS --- */
.flags-bar {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

.flags-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.flags-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary-purple);
  display: flex;
  align-items: center;
  gap: 8px;
}

.flags-title::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--primary-red);
  border-radius: var(--radius-full);
}

.flags-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.flag-pill {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background-color: var(--bg-light);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

/* --- 12. REDES SOCIAIS --- */
.social-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.social-box {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.social-box:hover {
  background-color: var(--bg-white);
  border-color: var(--primary-red);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.social-box-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--bg-white);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.social-box-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.social-box:hover .social-box-icon {
  background-color: var(--primary-red);
  color: #fff;
}

.social-box-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.social-box-handle {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-purple);
  margin-top: 2px;
  margin-bottom: 8px;
}

.social-box-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.social-box-cta {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-red);
}

/* --- 13. SEÇÃO CONTATO E FORMULÁRIO --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: start;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.contact-info-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.contact-info-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text-dark);
}

.contact-info-card span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-wrapper {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-label .required {
  color: var(--primary-red);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-darker);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.15);
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.4;
}

.form-checkbox-label input {
  margin-top: 3px;
  cursor: pointer;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--primary-red);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-primary:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-1px);
}

.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: none;
}

.form-alert.alert-success {
  background-color: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}

/* --- 14. RODAPÉ (FOOTER) --- */
.footer {
  background-color: var(--primary-red);
  color: #ffffff;
  padding-top: 60px;
  padding-bottom: 40px;
  border-top: 2px solid #b90510;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo-img {
  height: 46px;
  width: auto;
  max-width: 220px;
  background-color: rgba(255, 255, 255, 0.12);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.footer-candidate-sub {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 10px;
}

.footer-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 8px;
  line-height: 1.5;
  max-width: 360px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

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

.footer-legal-box {
  padding-top: 24px;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-legal-box strong {
  color: rgba(255, 255, 255, 0.95);
}

/* --- 15. RESPONSIVIDADE (MEDIA QUERIES) --- */
@media (max-width: 1024px) {
  .nav-desktop,
  .header-social {
    display: none;
  }

  .btn-mobile-menu {
    display: block;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .timeline-desktop {
    display: none;
  }

  .timeline-mobile {
    display: flex;
  }

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

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

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

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

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

  .about-highlights-grid {
    grid-template-columns: 1fr;
  }

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

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .social-cards-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-wrapper {
    padding: 24px 18px;
  }

  .card-editorial {
    padding: 24px 18px;
  }
}
