@font-face {
  font-family: "Syncopate";
  src: url("/fonts/syncopate-bold-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

:root {
  --navy: #0f315c;
  --blue: #3e52a7;
  --cyan: #31a6d9;
  --yellow: #f2c637;
  --orange: #eba33b;
  --ink: #102947;
  --muted: #566477;
  --paper: #fff;
  --surface: #f4f7fb;
  --line: rgba(15, 49, 92, 0.14);
  --shadow: 0 24px 60px rgba(15, 49, 92, 0.14);
  --content: 1200px;
  --header-height: 88px;
  --header-gap: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--header-gap));
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.04;
  overflow-wrap: break-word;
}

main section[id] {
  scroll-margin-top: calc(var(--header-height) + var(--header-gap));
}

.campaign {
  --accent: var(--cyan);
  --signal: var(--yellow);
  --accent-ink: #082842;
  min-width: 0;
  overflow: clip;
}

.campaign--alexandre {
  --accent: var(--cyan);
  --signal: var(--yellow);
  --accent-ink: #082842;
}

.campaign--miltinho {
  --accent: var(--yellow);
  --signal: var(--orange);
  --accent-ink: #3a2a05;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: 12px;
  padding: 10px 16px;
  background: var(--signal);
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr auto;
  grid-template-areas: "brand nav number";
  align-items: center;
  gap: 34px;
  min-height: 88px;
  width: 100%;
  margin: 0;
  padding: 14px max(30px, calc((100vw - var(--content)) / 2 + 30px));
  background: var(--paper);
  transition: box-shadow 180ms ease, min-height 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 35px rgba(15, 49, 92, 0.13);
}

.site-header::after {
  position: absolute;
  right: max(30px, calc((100vw - var(--content)) / 2 + 30px));
  bottom: 0;
  left: max(30px, calc((100vw - var(--content)) / 2 + 30px));
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--signal), transparent 84%);
  content: "";
}

.site-header__brand img {
  width: 155px;
  height: auto;
}

.site-header__brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: max-content;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.site-header__menu-toggle {
  grid-area: menu;
  display: none;
}

.site-header nav {
  grid-area: nav;
  display: flex;
  justify-content: center;
  gap: 32px;
}

.site-header nav a {
  position: relative;
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 3px;
  background: var(--signal);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after,
.site-header nav a[aria-current="location"]::after {
  transform: scaleX(1);
}

.site-header nav a[aria-current="location"] {
  color: var(--blue);
}

.site-header__number {
  grid-area: number;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-header__number span {
  max-width: 82px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: right;
  text-transform: uppercase;
}

.site-header__number strong {
  color: var(--navy);
  font-family: Syncopate, sans-serif;
  font-size: 1.08rem;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: min(760px, calc(100svh - var(--header-height)));
  background:
    radial-gradient(circle at 18% 25%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 30%),
    linear-gradient(135deg, #fff 0%, #f7f9fc 50%, #eaf0f8 100%);
}

.hero::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 15px);
  z-index: 2;
  width: 30px;
  background: var(--signal);
  clip-path: polygon(40% 0, 100% 0, 60% 100%, 0 100%);
  content: "";
  opacity: 1;
  pointer-events: none;
}

.hero__copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 600px);
  margin-left: auto;
  padding: 78px 64px 72px 30px;
}

.hero__copy::before {
  position: absolute;
  top: 55px;
  left: 30px;
  width: 88px;
  height: 7px;
  background: linear-gradient(90deg, var(--accent) 0 62%, var(--signal) 62%);
  content: "";
}

.hero__eyebrow,
.section-kicker {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 24px;
  color: var(--navy);
  font-family: Syncopate, sans-serif;
  font-size: clamp(2.5rem, 4.4vw, 4rem);
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.hero__statement {
  max-width: 510px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  line-height: 1.5;
}

.hero__ballot {
  position: absolute;
  bottom: 28px;
  left: clamp(30px, 4vw, 56px);
  z-index: 3;
  display: flex;
  align-items: flex-end;
  gap: 22px;
  width: fit-content;
  max-width: calc(100% - 60px);
  margin: 0;
  padding: 16px 22px 14px;
  border-left: 8px solid var(--signal);
  background: linear-gradient(125deg, rgba(15, 49, 92, 0.96), rgba(15, 49, 92, 0.78));
  color: var(--paper);
  box-shadow:
    12px 12px 0 color-mix(in srgb, var(--accent) 52%, transparent),
    0 18px 38px rgba(7, 25, 48, 0.24);
  backdrop-filter: blur(9px);
}

.hero__ballot span {
  max-width: 104px;
  padding-bottom: 8px;
  color: #dbe7f6;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.15;
  text-transform: uppercase;
}

.hero__ballot strong {
  color: var(--signal);
  font-family: Syncopate, sans-serif;
  font-size: clamp(3.6rem, 5.7vw, 6.1rem);
  letter-spacing: -0.06em;
  line-height: 0.82;
}

.hero__slogan {
  margin: 12px 0 20px;
  color: var(--navy);
  font-weight: 800;
}

.compact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compact-links a {
  display: flex;
  gap: 8px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.campaign--alexandre .compact-links {
  gap: 12px;
  width: min(100%, 430px);
}

.campaign--alexandre .compact-links li {
  flex: 1 1 160px;
}

.campaign--alexandre .compact-links a {
  align-items: center;
  min-height: 54px;
  padding: 10px 14px;
  border: 1px solid var(--navy);
  border-radius: 4px;
  background: var(--navy);
  color: var(--paper);
  box-shadow: 0 10px 24px rgba(15, 49, 92, 0.16);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.campaign--alexandre .compact-links li:nth-child(2) a {
  border-color: #1877f2;
  background: #1877f2;
}

.campaign--alexandre .compact-links a:hover {
  box-shadow: 0 14px 30px rgba(15, 49, 92, 0.24);
  transform: translateY(-2px);
}

.compact-links__icon {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
}

.compact-links__icon svg {
  width: 21px;
  height: 21px;
}

.compact-links__icon--instagram {
  border-radius: 9px;
  background: linear-gradient(135deg, #833ab4, #fd1d1d 58%, #fcb045);
}

.compact-links__icon--instagram svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.compact-links__icon--instagram .compact-links__icon-dot {
  fill: currentColor;
  stroke: none;
}

.compact-links__icon--facebook {
  border-radius: 50%;
  background: var(--paper);
  color: #1877f2;
}

.compact-links__icon--facebook svg {
  fill: currentColor;
}

.compact-links__label {
  flex: 1;
}

.compact-links__arrow {
  margin-left: auto;
}

.campaign--miltinho .compact-links {
  gap: 12px;
  width: min(100%, 420px);
}

.campaign--miltinho .compact-links li {
  flex: 1 1 160px;
}

.campaign--miltinho .compact-links a {
  justify-content: space-between;
  min-height: 48px;
  padding: 14px 16px;
  border-left: 5px solid var(--signal);
  background: var(--navy);
  color: var(--paper);
  box-shadow: 0 10px 24px rgba(15, 49, 92, 0.16);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.campaign--miltinho .compact-links li:nth-child(2) a {
  border-left-color: var(--navy);
  background: var(--accent);
  color: var(--navy);
}

.campaign--miltinho .compact-links a:hover {
  box-shadow: 0 14px 30px rgba(15, 49, 92, 0.22);
  transform: translateY(-2px);
}

.hero__portrait {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--navy);
}

.hero__photo-frame,
.hero__photo-frame img {
  width: 100%;
  height: 100%;
}

.hero__photo-frame img {
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(1.04) contrast(1.02);
}

.campaign--miltinho .hero__photo-frame img {
  object-position: center 18%;
}

.hero__portrait::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 49, 92, 0.18), transparent 30%),
    linear-gradient(0deg, rgba(15, 49, 92, 0.44), transparent 35%);
  content: "";
  pointer-events: none;
}

.hero figcaption {
  position: absolute;
  right: 32px;
  bottom: 160px;
  z-index: 2;
  padding: 8px 12px;
  border-left: 4px solid var(--signal);
  background: rgba(15, 49, 92, 0.88);
  color: var(--paper);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero__color-rail {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.15fr 0.7fr 0.35fr;
  height: 9px;
}

.hero__color-rail span:nth-child(1) { background: var(--navy); }
.hero__color-rail span:nth-child(2) { background: var(--accent); }
.hero__color-rail span:nth-child(3) { background: var(--signal); }

.section-shell {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(40px, 8vw, 110px);
  max-width: var(--content);
  margin: 0 auto;
  padding-right: 30px;
  padding-left: 30px;
}

.section-index {
  align-self: start;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.section-index span {
  color: var(--accent);
  font-family: Syncopate, sans-serif;
  font-size: 1.2rem;
}

.section-index p {
  margin: 7px 0 0;
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.trajectory {
  position: relative;
  padding-top: 116px;
  padding-bottom: 116px;
}

.trajectory::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: calc(50% - 36px);
  z-index: -1;
  background: linear-gradient(145deg, #e9f4fa 0%, var(--surface) 68%);
  content: "";
}

.trajectory__content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  column-gap: clamp(32px, 4vw, 60px);
}

.trajectory__content > .section-kicker {
  grid-column: 1 / -1;
}

.trajectory h2,
.work h2,
.follow h2 {
  color: var(--navy);
  font-size: clamp(2.2rem, 4.2vw, 4.5rem);
  letter-spacing: -0.05em;
}

.trajectory h2 {
  position: relative;
  margin: 0;
  padding: 32px;
  background: var(--navy);
  color: var(--paper);
  font-size: clamp(3rem, 3.6vw, 4rem);
  box-shadow: -12px 12px 0 var(--signal);
}

.trajectory__text {
  align-self: center;
  color: var(--muted);
  font-size: 1.05rem;
}

.trajectory__text p:last-child {
  margin-bottom: 0;
}

.highlights {
  position: relative;
  padding: 82px max(30px, calc((100vw - var(--content)) / 2 + 30px)) 98px;
  background:
    linear-gradient(115deg, rgba(62, 82, 167, 0.98), rgba(15, 49, 92, 1) 70%),
    var(--navy);
  color: var(--paper);
}

.highlights::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 24%;
  height: 12px;
  background: var(--signal);
  content: "";
}

.highlights__heading {
  display: block;
  padding: 0 0 28px;
}

.highlights .section-kicker {
  margin: 0;
  color: #dce9fb;
}

.highlights__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: var(--content);
  margin: 0 auto;
}

.highlight {
  position: relative;
  min-height: 236px;
  padding: 30px 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(10px);
  transition: transform 180ms ease, background 180ms ease;
}

.highlight:nth-child(even) {
  transform: translateY(20px);
}

.highlight:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.highlight:nth-child(even):hover {
  transform: translateY(14px);
}

.highlight__index {
  position: absolute;
  top: 18px;
  right: 18px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.66rem;
  font-weight: 900;
}

.highlight strong {
  display: block;
  margin: 64px 0 16px;
  color: var(--signal);
  font-family: Syncopate, sans-serif;
  font-size: clamp(1.45rem, 2.2vw, 2.3rem);
  letter-spacing: -0.05em;
  overflow-wrap: break-word;
}

.highlight p {
  margin: 0;
  color: #e2eaf6;
  font-size: 0.88rem;
  line-height: 1.45;
}

.work {
  position: relative;
  padding-top: 128px;
  padding-bottom: 128px;
}

.work::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent 0 28%, rgba(49, 166, 217, 0.08) 28% 100%),
    var(--surface);
  content: "";
}

.work__content {
  display: grid;
  grid-template-columns: minmax(270px, 0.88fr) minmax(330px, 1.12fr);
  align-items: start;
  gap: 34px;
}

.work__intro {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  min-width: 0;
  padding: 42px;
  border-bottom: 9px solid var(--signal);
  background: var(--navy);
  color: #dce6f3;
  box-shadow: var(--shadow);
  container-type: inline-size;
}

.work__intro .section-kicker {
  color: var(--signal);
}

.work__intro h2 {
  margin-bottom: 26px;
  color: var(--paper);
  font-size: clamp(2.1rem, 3.6vw, 3.2rem);
  font-size: clamp(2.1rem, 18cqi, 3.2rem);
  overflow-wrap: break-word;
}

.work__intro > p:last-child {
  margin-bottom: 0;
}

.work__list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work__list li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 22px;
  min-height: 150px;
  padding: 30px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent);
  background: var(--paper);
  box-shadow: 0 12px 36px rgba(15, 49, 92, 0.08);
}

.work__list li > span {
  color: var(--accent);
  font-family: Syncopate, sans-serif;
  font-size: 1.05rem;
}

.work__list h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.25rem;
}

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

.statement {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 126px 30px;
  background: linear-gradient(125deg, var(--navy), var(--blue) 72%, var(--accent));
  color: var(--paper);
}

.statement::before {
  position: absolute;
  top: -44%;
  right: 5%;
  z-index: -1;
  color: rgba(255, 255, 255, 0.065);
  font-family: Syncopate, sans-serif;
  font-size: clamp(11rem, 30vw, 31rem);
  letter-spacing: -0.12em;
  line-height: 1;
  content: attr(data-number);
  white-space: nowrap;
}

.statement::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 7%;
  z-index: -1;
  width: 84px;
  background: var(--signal);
  clip-path: polygon(76% 0, 100% 0, 24% 100%, 0 100%);
  content: "";
  opacity: 0.94;
}

.statement__content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 54px;
  align-items: end;
  max-width: 940px;
  margin: 0 auto;
}

.statement__content > p {
  grid-column: 1 / -1;
  margin-bottom: 6px;
  color: #d9e7fa;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.statement h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 5.2rem);
  letter-spacing: -0.055em;
}

.statement__number {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.statement__number span {
  max-width: 130px;
  color: #d9e7fa;
  font-size: 0.72rem;
  font-weight: 800;
  text-align: right;
  text-transform: uppercase;
}

.statement__number strong {
  color: var(--signal);
  font-family: Syncopate, sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  letter-spacing: -0.06em;
}

.follow {
  position: relative;
  padding-top: 120px;
  padding-bottom: 120px;
  background: var(--paper);
}

.follow::before {
  position: absolute;
  top: 42px;
  right: 0;
  bottom: 42px;
  left: 32%;
  z-index: -1;
  background: linear-gradient(145deg, #edf5fa, #f8fafc);
  content: "";
}

.follow__content {
  max-width: 780px;
  padding: 50px;
  border-top: 9px solid var(--signal);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.follow__lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.04rem;
}

.social-links {
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.social-links li {
  border-bottom: 1px solid var(--line);
}

.social-links a {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 19px 0;
  text-decoration: none;
  transition: color 160ms ease, padding 160ms ease;
}

.social-links a:hover {
  padding-left: 8px;
  color: var(--blue);
}

.social-links__label {
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-links__display {
  color: var(--muted);
}

.social-links__arrow {
  color: var(--accent);
  font-size: 1.3rem;
}

.campaign--miltinho .social-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border-top: 0;
}

.campaign--miltinho .social-links li {
  min-width: 0;
  border-bottom: 0;
}

.campaign--miltinho .social-links a {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  gap: 8px 16px;
  min-height: 132px;
  height: 100%;
  padding: 24px;
  border: 1px solid rgba(15, 49, 92, 0.14);
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(15, 49, 92, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.campaign--miltinho .social-links li:nth-child(2) a {
  background: var(--accent);
}

.campaign--miltinho .social-links__label,
.campaign--miltinho .social-links__display,
.campaign--miltinho .social-links__arrow {
  color: var(--paper);
}

.campaign--miltinho .social-links li:nth-child(2) .social-links__label,
.campaign--miltinho .social-links li:nth-child(2) .social-links__display,
.campaign--miltinho .social-links li:nth-child(2) .social-links__arrow {
  color: var(--navy);
}

.campaign--miltinho .social-links__display {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
}

.campaign--miltinho .social-links__arrow {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
}

.campaign--miltinho .social-links a:hover {
  padding-left: 24px;
  box-shadow: 0 18px 34px rgba(15, 49, 92, 0.2);
  transform: translateY(-3px);
}

.campaign--alexandre .social-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border-top: 0;
}

.campaign--alexandre .social-links li {
  min-width: 0;
  border-bottom: 0;
}

.campaign--alexandre .social-links a {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  gap: 8px 16px;
  min-height: 132px;
  height: 100%;
  padding: 24px;
  border: 1px solid rgba(15, 49, 92, 0.14);
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(15, 49, 92, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.campaign--alexandre .social-links li:nth-child(2) a {
  background: #1877f2;
}

.campaign--alexandre .social-links__label,
.campaign--alexandre .social-links__display,
.campaign--alexandre .social-links__arrow {
  color: var(--paper);
}

.campaign--alexandre .social-links__display {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
}

.campaign--alexandre .social-links__arrow {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
}

.campaign--alexandre .social-links a:hover {
  padding-left: 24px;
  box-shadow: 0 18px 34px rgba(15, 49, 92, 0.2);
  transform: translateY(-3px);
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: center;
  padding: 68px max(30px, calc((100vw - var(--content)) / 2 + 30px));
  border-top: 10px solid var(--signal);
  background: var(--navy);
  color: var(--paper);
}

.site-footer__candidate p {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer__candidate span,
.site-footer__meta p,
.site-footer__meta small {
  color: #c9d7e8;
  font-size: 0.7rem;
}

.site-footer > strong {
  color: var(--signal);
  font-family: Syncopate, sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
}

.site-footer__meta {
  justify-self: end;
  max-width: 290px;
  text-align: right;
}

.site-footer__meta img {
  width: 132px;
  height: auto;
  aspect-ratio: 1600 / 680;
  object-fit: contain;
  margin: 0 0 14px auto;
  padding: 0;
  background: transparent;
}

.site-footer__meta p {
  margin-bottom: 3px;
  font-weight: 800;
}

.site-footer__meta small {
  display: block;
  line-height: 1.35;
}

a:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 5px;
}

@keyframes hero-copy-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-portrait-enter {
  from {
    opacity: 0.72;
    transform: scale(1.025);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero__copy > * {
  animation: hero-copy-enter 520ms both cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__copy > :nth-child(2) { animation-delay: 70ms; }
.hero__copy > :nth-child(3) { animation-delay: 120ms; }
.hero__copy > :nth-child(4) { animation-delay: 170ms; }
.hero__copy > :nth-child(5) { animation-delay: 220ms; }
.hero__copy > :nth-child(6) { animation-delay: 270ms; }

.hero__photo-frame img {
  animation: hero-portrait-enter 760ms both cubic-bezier(0.22, 1, 0.36, 1);
}

.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease, transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .trajectory__content {
    grid-template-columns: 1fr;
  }

  .trajectory h2 {
    margin-bottom: 40px;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: minmax(120px, 1fr) auto auto;
    grid-template-areas:
      "brand menu number"
      "nav nav nav";
    gap: 12px 18px;
  }

  .site-header nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 18px;
    padding-top: 8px;
  }

  .site-header nav a {
    padding: 8px 0;
  }

  .has-js .site-header__menu-toggle {
    display: grid;
    gap: 4px;
    width: 42px;
    height: 42px;
    padding: 0;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: var(--surface);
    color: var(--navy);
    cursor: pointer;
  }

  .site-header__menu-toggle span {
    width: 18px;
    height: 2px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .has-js .site-header nav {
    position: absolute;
    top: calc(100% - 1px);
    right: 24px;
    left: 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }

  .has-js .site-header nav a {
    padding: 13px 14px;
  }

  .has-js .site-header.is-menu-open nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header.is-menu-open .site-header__menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.is-menu-open .site-header__menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .site-header__menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    min-height: 640px;
  }

  .hero__copy {
    padding-right: 44px;
  }

  .section-shell {
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 42px;
  }

  .trajectory__content,
  .work__content {
    grid-template-columns: 1fr;
  }

  .trajectory h2 {
    margin-bottom: 40px;
  }

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

  .highlight:nth-child(even) {
    transform: none;
  }

  .work__intro {
    position: static;
  }

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

  .statement__number {
    align-items: flex-start;
  }

  .statement__number span {
    text-align: left;
  }
}

@media (min-width: 901px) {
  .hero {
    height: calc(100vh - var(--header-height));
    height: calc(100svh - var(--header-height));
    min-height: 0;
  }

  .hero__copy,
  .hero__portrait {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .hero {
    --portrait-height: min(86vw, 680px);
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .hero::before {
    top: var(--portrait-height);
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 8px;
    clip-path: none;
  }

  .hero__copy {
    order: 2;
    width: min(100%, 720px);
    margin: 0 auto;
    padding: 72px 44px 64px;
  }

  .hero__copy::before {
    top: 44px;
    left: 44px;
  }

  .hero__portrait {
    order: 1;
    height: var(--portrait-height);
  }

  .hero figcaption {
    right: 44px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 76px;
  }

  .site-header {
    min-height: 76px;
    grid-template-columns: minmax(100px, 1fr) auto auto;
    gap: 10px 12px;
    padding: 12px 24px;
  }

  .site-header::after {
    right: 24px;
    left: 24px;
  }

  .site-header__brand img {
    width: 120px;
  }

  .site-header__number span {
    display: none;
  }

  .site-header__number strong {
    font-size: 0.9rem;
  }

  .hero {
    --portrait-height: min(116vw, 590px);
  }

  .hero__copy {
    width: 100%;
    padding: 62px 24px 56px;
  }

  .hero__copy::before {
    top: 38px;
    left: 24px;
  }

  .hero h1 {
    font-size: clamp(2.05rem, 10.5vw, 2.75rem);
    letter-spacing: -0.065em;
  }

  .hero__statement {
    font-size: 1rem;
  }

  .hero__portrait {
    height: var(--portrait-height);
  }

  .hero__ballot {
    right: 24px;
    bottom: 24px;
    left: 24px;
    justify-content: space-between;
    width: auto;
    max-width: none;
    gap: 12px;
    padding: 13px 16px 12px;
    border-left-width: 6px;
    box-shadow:
      8px 8px 0 color-mix(in srgb, var(--accent) 52%, transparent),
      0 14px 28px rgba(7, 25, 48, 0.22);
  }

  .hero__ballot span {
    max-width: 88px;
    padding-bottom: 5px;
    font-size: 0.63rem;
  }

  .hero__ballot strong {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .hero figcaption {
    right: 24px;
    bottom: 118px;
  }

  .section-shell {
    display: block;
    padding-right: 24px;
    padding-left: 24px;
  }

  .section-index {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 46px;
  }

  .section-index p {
    margin: 0;
  }

  .trajectory,
  .work,
  .follow {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .trajectory::before {
    left: 24px;
  }

  .trajectory h2,
  .work h2,
  .follow h2 {
    font-size: clamp(2.1rem, 11vw, 3.4rem);
  }

  .trajectory h2 {
    padding: 28px 24px;
    box-shadow: -8px 8px 0 var(--signal);
  }

  .highlights {
    padding: 70px 24px 82px;
  }

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

  .highlight {
    min-height: 185px;
  }

  .highlight strong {
    margin-top: 45px;
  }

  .work::before {
    background: var(--surface);
  }

  .work__intro {
    padding: 32px 24px;
  }

  .work__list li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 25px 20px;
  }

  .statement {
    padding: 90px 24px;
  }

  .statement::after {
    left: 4px;
    width: 45px;
    opacity: 0.8;
  }

  .statement__content {
    padding-left: 28px;
  }

  .statement h2 {
    font-size: clamp(2.25rem, 12vw, 4rem);
  }

  .follow::before {
    top: 42px;
    bottom: 42px;
    left: 24px;
  }

  .follow__content {
    padding: 34px 24px;
  }

  .social-links a {
    grid-template-columns: 1fr auto;
    gap: 5px 14px;
  }

  .social-links__display {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 0.86rem;
  }

  .social-links__arrow {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .campaign--miltinho .social-links {
    grid-template-columns: 1fr;
  }

  .campaign--alexandre .social-links {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    gap: 28px;
    padding: 54px 24px;
  }

  .site-footer__meta {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }

  .site-footer__meta img {
    margin-left: 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .has-js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
