@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
  --campaign-blue: #0b4dbb;
  --campaign-blue-dark: #062f79;
  --campaign-blue-light: #3e7ddd;
  --white: #ffffff;
  --soft: #f4f7fb;
  --text: #172033;
  --muted: #6c7585;
  --border: #e5eaf2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

.section-padding {
  padding: 100px 0;
  scroll-margin-top: 85px;
}

a:focus-visible, button:focus-visible {
  outline: 3px solid #f4b300;
  outline-offset: 5px;
}

.contact-line a {
  overflow-wrap: anywhere;
}

.section-soft {
  background: var(--soft);
}

/* NAVBAR */
#mainNav {
  padding: 18px 0;
  transition: .3s ease;
  background: transparent;
}

#mainNav.scrolled {
  background: rgba(6, 47, 121, .97);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
  padding: 10px 0;
}

.navbar-brand {
  font-size: 1.45rem;
  letter-spacing: -.5px;
}

.navbar-brand span {
  opacity: .75;
}

.nav-link {
  color: rgba(255, 255, 255, .82) !important;
  font-weight: 600;
  font-size: .92rem;
}

.nav-link:hover {
  color: #fff !important;
}

/* HERO */
.hero {
  min-height: 100vh;
  color: #fff;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 20%, rgba(255,255,255,.12), transparent 25%),
    linear-gradient(135deg, var(--campaign-blue-dark) 0%, var(--campaign-blue) 55%, var(--campaign-blue-light) 100%);
}

.hero .container {
  z-index: 2;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
}

.hero-shape-1 {
  width: 520px;
  height: 520px;
  right: -150px;
  top: -100px;
}

.hero-shape-2 {
  width: 650px;
  height: 650px;
  right: 20%;
  bottom: -500px;
}

.candidate-label {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.35);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.hero h1 {
  line-height: .92;
  letter-spacing: -4px;
}

.hero h1 span {
  color: rgba(255,255,255,.72);
}

.hero-role {
  font-size: 1.15rem;
  font-weight: 600;
}

.candidate-number {
  display: flex;
  flex-direction: column;
  width: max-content;
}

.candidate-number small {
  letter-spacing: 4px;
  font-weight: 700;
  opacity: .65;
}

.candidate-number strong {
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: .9;
  letter-spacing: -5px;
}

.hero-slogan {
  max-width: 570px;
  font-size: 1.25rem;
  font-weight: 600;
}

.photo-frame {
  width: min(430px, 90vw);
  aspect-ratio: .82;
  padding: 12px;
  border-radius: 36px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.09);
  box-shadow: 0 30px 70px rgba(0,0,0,.18);
  backdrop-filter: blur(7px);
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px dashed rgba(255,255,255,.4);
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.7);
}

.photo-placeholder i {
  font-size: 8rem;
  line-height: 1;
}

.photo-placeholder span {
  font-size: .95rem;
  font-weight: 600;
  margin-top: 18px;
}

.candidate-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
}

/* TITLES */
.section-kicker {
  color: var(--campaign-blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
}

.section-subtitle {
  max-width: 690px;
  color: var(--muted);
}

/* CARDS */
.info-card {
  background: #fff;
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--border);
  transition: .25s ease;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(26, 56, 100, .1);
}

.info-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: rgba(11,77,187,.09);
  color: var(--campaign-blue);
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.info-card h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.info-card p {
  color: var(--muted);
  margin: 0;
}

.info-card .number-highlight {
  color: var(--campaign-blue);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -1px;
}

/* TOPICS */
.topic-list {
  display: grid;
  gap: 14px;
}

.topic-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
}

.topic-item > span {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--campaign-blue);
  font-weight: 800;
}

.topic-item h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.topic-item p {
  color: var(--muted);
  margin: 0;
  font-size: .92rem;
}

/* STORY (sobre) */
.story p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 22px;
}

.story .story-lead {
  color: var(--text);
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.6;
}

.story strong {
  color: var(--text);
  font-weight: 700;
}

.story-highlight {
  position: relative;
  margin: 34px 0;
  padding: 22px 26px 22px 30px;
  border-radius: 0 20px 20px 0;
  border-left: 5px solid var(--campaign-blue);
  background: var(--soft);
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
}

/* TIMELINE (trajetória) */
.timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding-left: 34px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 33px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--campaign-blue), rgba(11,77,187,.15));
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding-bottom: 28px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #fff;
  background: var(--campaign-blue);
  font-size: 1.5rem;
  box-shadow: 0 12px 28px rgba(11,77,187,.28);
  transition: .25s ease;
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.06);
  background: var(--campaign-blue-dark);
}

.timeline-body {
  flex: 1;
  padding: 22px 26px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fff;
}

.timeline-tag {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--campaign-blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.timeline-body h3 {
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.timeline-body p {
  color: var(--muted);
  margin: 0;
  font-size: .96rem;
}

/* PROPOSTAS */
.proposals-section {
  color: #fff;
  background: var(--campaign-blue-dark);
}

.axis-card {
  position: relative;
  padding: 36px 32px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.07);
  transition: .25s ease;
}

.axis-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.32);
  background: rgba(255,255,255,.11);
}

.axis-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 22px;
  color: var(--campaign-blue-dark);
  background: #fff;
  font-size: 1.6rem;
}

.axis-number {
  position: absolute;
  top: 32px;
  right: 32px;
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -2px;
  color: rgba(255,255,255,.16);
  line-height: 1;
}

.axis-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.axis-card > p {
  color: rgba(255,255,255,.72);
  font-size: .96rem;
  line-height: 1.65;
  margin-bottom: 22px;
}

.axis-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(255,255,255,.14);
}

.axis-list li {
  position: relative;
  padding: 14px 0 14px 30px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.9);
  font-size: .93rem;
  line-height: 1.55;
}

.axis-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.axis-list li::before {
  content: '\F26E';
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  top: 13px;
  color: #fff;
  font-size: .95rem;
}

/* CONTACT */
.contact-box {
  border-radius: 28px;
  padding: 34px;
  background: var(--soft);
  border: 1px solid var(--border);
}

.contact-line {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.contact-line:last-child {
  border-bottom: none;
}

.contact-line > i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--campaign-blue);
  background: #fff;
  font-size: 1.2rem;
}

.contact-line small {
  color: var(--muted);
  font-weight: 600;
}

.contact-line p {
  margin: 2px 0 0;
  font-weight: 700;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--campaign-blue);
  font-size: 1.15rem;
  transition: .2s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  background: var(--campaign-blue-dark);
}

/* FOOTER */
.footer {
  padding: 30px 0;
  color: rgba(255,255,255,.78);
  background: #061d46;
}

/* BACK TO TOP */
#backToTop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: var(--campaign-blue);
  background: #fff;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .2s ease;
  z-index: 999;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  #mainNav {
    background: rgba(6,47,121,.97);
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .section-padding {
    padding: 78px 0;
  }
}

@media (max-width: 575.98px) {
  .hero .btn {
    width: 100%;
  }

  .candidate-number strong {
    letter-spacing: -3px;
  }

  .timeline {
    padding-left: 0;
  }

  .timeline::before {
    display: none;
  }

  .timeline-item {
    flex-direction: column;
    gap: 14px;
  }

  .timeline-marker {
    width: 56px;
    height: 56px;
    font-size: 1.25rem;
    border-radius: 18px;
  }

  .story .story-lead {
    font-size: 1.15rem;
  }

  .story-highlight {
    font-size: 1.05rem;
    padding: 18px 20px;
  }

  .axis-card {
    padding: 30px 24px;
  }

  .axis-number {
    top: 26px;
    right: 24px;
  }
}

/* MOVIMENTO REDUZIDO */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}
