:root {
  --navy: #0b2350;
  --navy-deep: #061334;
  --teal: #2ec9d8;
  --green: #7fc98a;
  --amber: #f7b21b;
  --whats: #12ae4b;
  --white: #fff;
  --max: 1240px;
  --font: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; background: var(--navy-deep); }
body { margin: 0; color: var(--white); font-family: var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: fixed; z-index: 100; top: 12px; left: 12px;
  padding: 10px 16px; background: var(--amber); color: var(--navy);
  font-weight: 800; transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  background: var(--navy);
}
/* base escura + brilho ciano atrás da candidata */
.hero::before {
  content: ""; position: absolute; z-index: 1; inset: 0;
  background:
    radial-gradient(58% 62% at 76% 46%, rgba(46,201,216,.34), transparent 66%),
    radial-gradient(46% 50% at 88% 88%, rgba(127,201,138,.18), transparent 70%),
    radial-gradient(circle at 8% 84%, rgba(22,72,162,.42), transparent 34%),
    linear-gradient(135deg, var(--navy-deep), var(--navy) 58%, #10336f);
}
/* faixa de cor da campanha na base */
.hero::after {
  content: ""; position: absolute; z-index: 4; inset: auto 0 0 0; height: 8px;
  background: linear-gradient(90deg, #f5901e, #f5d020 26%, #a8d030 48%, var(--teal) 72%, #22a7e8);
}

.portrait {
  position: absolute; z-index: 2; right: 3%; bottom: 0;
  display: flex; align-items: flex-end;
  height: min(90svh, 940px); max-width: 52%;
}
.portrait img {
  width: auto; height: 100%; max-width: none;
  filter: drop-shadow(0 26px 46px rgba(2,12,34,.55));
}

.page-shell {
  position: relative; z-index: 3; width: min(calc(100% - 64px), var(--max));
  min-height: 100svh; margin-inline: auto; display: grid;
  grid-template-rows: 108px 1fr;
  pointer-events: none;
}
.page-shell > * { pointer-events: auto; }

.topbar { display: flex; align-items: center; justify-content: space-between; }
.brand {
  width: 128px; height: 112px; overflow: hidden; border-radius: 12px;
  padding: 9px; background: #fff; box-shadow: 0 9px 24px rgba(0,0,0,.22);
}
.brand img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.election { display: flex; align-items: center; gap: 12px; margin: 0; font-size: .66rem; letter-spacing: .17em; text-transform: uppercase; }
.election span { color: rgba(255,255,255,.64); }
.election strong { color: var(--amber); font-size: .76rem; }

.content { width: min(100%, 540px); align-self: center; padding: 42px 0 74px; }

.office {
  display: flex; align-items: center; gap: 12px; margin: 0 0 24px;
  color: rgba(255,255,255,.76); font-size: .7rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
}
.office span { width: 30px; height: 3px; border-radius: 99px; background: var(--amber); }

h1 {
  max-width: 520px; margin: 0; font-size: clamp(4rem, 5.8vw, 6rem);
  font-weight: 600; line-height: .86; letter-spacing: -.07em; text-transform: uppercase;
}
h1 strong {
  display: block; font-weight: 900;
  background: linear-gradient(93deg, var(--teal), var(--green) 78%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@supports not (background-clip: text) { h1 strong { color: var(--teal); } }

.vote-line { display: flex; align-items: baseline; gap: 16px; margin-top: 33px; }
.vote-line span {
  color: rgba(255,255,255,.62); font-size: .7rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
}
.vote-line strong {
  color: #fff; font-size: clamp(2.6rem, 4.2vw, 4.3rem); font-weight: 900;
  line-height: .9; letter-spacing: -.055em;
}

.slogan {
  margin: 27px 0 0; color: rgba(255,255,255,.84);
  font-size: clamp(1rem, 1.45vw, 1.28rem); font-weight: 600; line-height: 1.28;
  letter-spacing: -.02em;
}
.slogan strong { color: #fff; font-weight: 800; }

.share {
  display: flex; align-items: center; gap: 12px; width: min(100%, 350px);
  min-height: 60px; margin-top: 31px; padding: 13px 16px 13px 19px;
  border: 0; border-radius: 8px; background: var(--whats); color: #fff;
  box-shadow: 0 14px 34px rgba(0,0,0,.24);
  font-family: inherit; font-size: .85rem; font-weight: 800; text-align: left;
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.share:hover { transform: translateY(-3px); filter: brightness(1.05); box-shadow: 0 18px 40px rgba(0,0,0,.3); }
.share:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.share svg { width: 24px; height: 24px; flex: none; fill: currentColor; }
.share i { margin-left: auto; font-size: 1.2rem; font-style: normal; font-weight: 500; }

.share-feedback {
  min-height: 1.1em; margin: 10px 0 0; color: var(--green);
  font-size: .72rem; font-weight: 700; letter-spacing: .06em;
}

.party { margin: 14px 0 0; color: rgba(255,255,255,.44); font-size: .65rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.party span { margin-inline: 7px; color: var(--amber); }

.legal {
  position: relative; z-index: 5;
  padding: 16px 24px 20px; background: var(--navy-deep); text-align: center;
}
.legal p { margin: 0; color: rgba(255,255,255,.5); font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.legal strong { color: rgba(255,255,255,.82); }

@media (max-width: 900px) {
  .hero { min-height: auto; display: flex; flex-direction: column; }
  .page-shell { display: contents; }
  .topbar {
    position: relative; z-index: 3; order: 1;
    width: min(calc(100% - 36px), 680px); height: 92px;
    margin-inline: auto; flex: none;
  }
  .election { display: none; }
  .brand { width: 112px; height: 98px; padding: 8px; }
  .portrait {
    position: relative; z-index: 2; order: 2; inset: auto;
    display: block; height: auto;
    width: min(76%, 360px); max-width: none; margin: 0 auto -2px;
  }
  .portrait img { width: 100%; height: auto; }
  .portrait img { filter: drop-shadow(0 18px 34px rgba(2,12,34,.5)); }
  .content {
    position: relative; z-index: 3; order: 3;
    width: min(calc(100% - 36px), 680px);
    margin-inline: auto; padding: 30px 0 58px;
  }
}

@media (max-width: 520px) {
  .topbar, .content { width: calc(100% - 28px); }
  .topbar { height: 84px; }
  .brand { width: 100px; height: 88px; }
  .portrait { width: 84%; }
  .content { padding: 26px 0 50px; }
  .office { margin-bottom: 21px; font-size: .61rem; letter-spacing: .135em; }
  h1 { font-size: clamp(3.4rem, 17vw, 4.8rem); line-height: .84; }
  .vote-line { margin-top: 25px; }
  .vote-line strong { font-size: clamp(2.8rem, 15vw, 3.8rem); }
  .slogan { margin-top: 22px; font-size: 1rem; }
  .share { width: 100%; margin-top: 26px; min-height: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
