@font-face {
  font-family: 'Owners';
  src: url('assets/fonts/owners-regular-latin.woff2') format('woff2'), url('assets/fonts/owners-regular-latin.otf') format('opentype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Owners';
  src: url('assets/fonts/owners-medium-latin.woff2') format('woff2'), url('assets/fonts/owners-medium-latin.otf') format('opentype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Owners';
  src: url('assets/fonts/owners-xblack-latin.woff2') format('woff2'), url('assets/fonts/owners-xblack-latin.otf') format('opentype');
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: 'Owners';
  src: url('assets/fonts/owners-xblack-italic-latin.woff2') format('woff2'), url('assets/fonts/owners-xblack-italic-latin.otf') format('opentype');
  font-style: italic;
  font-weight: 900;
  font-display: swap;
}

/*
 * IDV Geração Lula — direção "cartaz de rua":
 * base off-white com textura de meio-tom (impressão), o vermelho e o azul
 * entram como blocos tipográficos e seções de impacto. O volume (extrusão
 * para baixo-esquerda, como na logo) pertence aos BLOCOS — tabs, botões,
 * cards, molduras; as letras ficam chapadas.
 */
:root {
  --red: #ff0000;
  --red-deep: #b30000;
  --blue: #1f37cc;
  --blue-deep: #14249b;
  --paper: #f9f9f9;
  --ink: #000000;
  --yellow: #ffc53d;
  --yellow-deep: #d99a10;
  --green: #68b738;
  --radius: 6px;
  --radius-small: 4px;
  --flag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect width='40' height='40' rx='8' fill='%2368b738'/%3E%3Cpath d='M20 6.5 34 20 20 33.5 6 20Z' fill='%23ffd23f'/%3E%3Ccircle cx='20' cy='20' r='6.6' fill='%231f37cc'/%3E%3Cpath d='M14.2 18.4c4-1.7 7.8-1.2 11.6 1.2' stroke='%23fbfbfb' stroke-width='1.7' fill='none'/%3E%3C/svg%3E");
  --halftone: radial-gradient(circle, rgba(17, 17, 17, 0.055) 1px, transparent 1.4px);
  --gutter: clamp(1rem, 3.6vw, 4rem);
  --section-space: clamp(5rem, 10vw, 9rem);
  --display: clamp(3.25rem, 7.7vw, 7.5rem);
  --heading: clamp(2.25rem, 5vw, 4.5rem);
  --body: clamp(1.0625rem, 0.95rem + 0.32vw, 1.125rem);
  --max-width: 1440px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  /* O meio-tom vive no body: as superfícies claras deixam transparecer e as
     coloridas cobrem — sem costura entre header, hero e cadastro. */
  background-color: var(--paper);
  background-image: var(--halftone);
  background-size: 14px 14px;
  font-family: 'Owners', 'Arial Narrow', Arial, sans-serif;
  font-size: var(--body);
  font-weight: 400;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 4px solid var(--blue);
  outline-offset: 3px;
  box-shadow: 0 0 0 8px var(--paper);
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-small);
  color: var(--paper);
  background: var(--ink);
  font-weight: 900;
  transform: translateY(-250%);
}

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

/* Estrela chapada da marca. */
.star {
  width: 100px;
  aspect-ratio: 1;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 94%, 50% 72%, 21% 94%, 32% 57%, 2% 35%, 39% 35%);
}

.star--red {
  background: var(--red);
}

/* Herança da IDV anterior: os contêineres continuam no HTML, sem desenho. */
.perspective-lines {
  display: none;
}

.poster-surface {
  position: relative;
  overflow: hidden;
}

/* Botões: blocos extrudados como a logo. Padrão vermelho sobre papel;
   nas superfícies coloridas, inverta para papel com .button--paper-ctx. */
.button {
  --btn-depth: var(--red-deep);
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  border: 0;
  border-radius: var(--radius-small);
  color: var(--paper);
  background: var(--red);
  font-size: clamp(1rem, 0.9rem + 0.25vw, 1.2rem);
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: -6px 6px 0 var(--btn-depth);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  transform: translate(2px, -2px);
  box-shadow: -9px 9px 0 var(--btn-depth);
}

.button:active {
  transform: translate(-5px, 5px);
  box-shadow: -1px 1px 0 var(--btn-depth);
}

.button--compact {
  min-height: 50px;
  padding-inline: clamp(0.9rem, 2vw, 1.5rem);
}

.button--light {
  width: 100%;
}

.eyebrow {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.type-slant {
  font-style: italic;
}

/* Tab azul com a bandeirinha: a assinatura das seções, vinda da logo. */
.section__label {
  display: flex;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.2rem);
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section__label span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.72em 0.9em 0.6em;
  border-radius: 0;
  color: var(--paper);
  background: var(--blue);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  filter: drop-shadow(-6px 6px 0 var(--blue-deep));
  transform: rotate(-1.6deg);
}

.section__label span::after {
  width: 1.35em;
  height: 1.35em;
  margin-top: -0.12em;
  background: var(--flag) center / contain no-repeat;
  content: '';
}

/* Header: papel, como a margem de um cartaz. */
.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  min-height: 96px;
  margin: 0 auto;
  padding: 0.9rem var(--gutter);
}

.brand {
  display: block;
  width: clamp(72px, 7vw, 96px);
}

.brand img {
  width: 100%;
  height: auto;
}

.section {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-space) var(--gutter);
}

/* As faixas de campanha sangram até as bordas; o conteúdo continua alinhado
   ao mesmo grid de 1440px do hero e do cadastro. */
.history,
.mission,
.electorate,
.site-footer {
  max-width: none;
  padding-inline: max(var(--gutter), calc((100% - var(--max-width)) / 2 + var(--gutter)));
}

/* Hero: papel com meio-tom, o Lula recortado sobre a estrela vermelha. */
.hero {
  display: grid;
  width: 100%;
  max-width: var(--max-width);
  min-height: auto;
  margin: 0 auto;
  padding: clamp(2rem, 3.5vw, 3.5rem) var(--gutter) clamp(3.5rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.95fr);
  align-items: stretch;
  gap: clamp(2rem, 4vw, 4rem);
}

.hero__content,
.hero__visual {
  position: relative;
  z-index: 4;
}

.hero__content {
  align-self: start;
  padding-top: clamp(1rem, 2vw, 2rem);
  padding-bottom: 0;
}

.hero .eyebrow {
  font-weight: 500;
  color: #3d3d3d;
  letter-spacing: 0.14em;
}

.hero__title {
  max-width: 800px;
  margin: 1.4rem 0 1.6rem;
  font-size: var(--display);
  font-weight: 900;
  line-height: 0.82;
  text-transform: uppercase;
  letter-spacing: -0.012em;
}

.hero__title span {
  display: block;
}

.hero__title > span:first-child {
  margin-bottom: 0.18em;
  font-size: 0.42em;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

/* "A Geração" vira o tab azul da logo, com bandeirinha. */
.hero__title .hero__generation {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 0.18em;
  padding: 0.2em 0.42em 0.13em 0.34em;
  border-radius: 0;
  color: var(--paper);
  background: var(--blue);
  font-size: 0.62em;
  font-style: italic;
  line-height: 1;
  white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 0.18em) 0, 100% 0.18em, 100% 100%, 0.18em 100%, 0 calc(100% - 0.18em));
  filter: drop-shadow(-0.12em 0.12em 0 var(--blue-deep));
  transform: rotate(-2.4deg);
  transform-origin: left bottom;
}

.hero__generation::after {
  display: inline-block;
  width: 0.82em;
  height: 0.82em;
  margin: 0 0 0.04em 0.38em;
  background: var(--flag) center / contain no-repeat;
  content: '';
  vertical-align: baseline;
}

.hero__generation-word {
  display: inline !important;
}

/* "Lula" vermelho e chapado como na logo, com a estrela colada no A. */
.hero__lula {
  color: var(--red);
  font-size: 1.22em;
  letter-spacing: -0.02em;
}

.hero__lula::after {
  display: inline-block;
  width: 0.34em;
  aspect-ratio: 1;
  margin-left: 0.05em;
  background: var(--red);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 94%, 50% 72%, 21% 94%, 32% 57%, 2% 35%, 39% 35%);
  content: '';
  /* A estrela mora no alto do A, com o topo alinhado à altura da letra. */
  transform: translateY(-0.38em) rotate(12deg);
}

.hero__intro {
  max-width: 34rem;
  margin: 0 0 2.2rem;
  font-size: clamp(1.2rem, 1rem + 0.65vw, 1.65rem);
  line-height: 1.25;
}

.hero__intro span {
  display: block;
  white-space: normal;
  text-wrap: balance;
}

.hero__cta {
  min-height: 62px;
  padding-inline: 2rem;
  font-size: clamp(1.05rem, 0.95rem + 0.3vw, 1.3rem);
}

.hero__visual {
  align-self: stretch;
  min-height: 0;
}

/* A estrela vermelha gigante atrás do recorte, como nos cartazes. */
.hero__visual::before {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 15%;
  width: min(36vw, 520px);
  aspect-ratio: 1;
  background: var(--red);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 94%, 50% 72%, 21% 94%, 32% 57%, 2% 35%, 39% 35%);
  content: '';
  transform: translateX(-50%) rotate(11deg);
}

.hero__cutout {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 50%;
  width: min(40vw, 580px);
  max-width: none;
  height: auto;
  filter: drop-shadow(-10px 10px 14px rgba(17, 17, 17, 0.2));
  transform: translateX(-52%);
}

@media (min-width: 900px) {
  .hero__visual {
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 84%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 84%, transparent 100%);
  }

  .hero__cutout {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 100%);
  }
}

.hero__star {
  position: absolute;
  z-index: 5;
  top: 4%;
  right: 4%;
  width: clamp(64px, 6.5vw, 104px);
  height: auto;
  filter: drop-shadow(-6px 8px 10px rgba(17, 17, 17, 0.22));
  transform: rotate(-14deg);
}

/* História: seção em vermelho sólido, como os cartazes. */
.history {
  overflow: hidden;
  color: var(--paper);
  background: var(--red);
}

.history__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-areas: 'heading story';
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  gap: clamp(2.5rem, 4vw, 4rem);
  align-items: start;
}

.history__heading-wrap {
  grid-area: heading;
  position: relative;
  container-type: inline-size;
}

/* "Transformou" é a linha mais longa; o teto em cqw impede que ela
   encoste na coluna de texto quando a grade aperta. */
.history__title {
  margin: 0;
  font-size: min(var(--heading), 10.5cqw);
  font-weight: 900;
  line-height: 0.86;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--paper);
}

.history__title span {
  display: block;
}

.history__title span:nth-child(2) {
  padding-left: 0.7em;
}

.history__title .type-slant {
  color: var(--yellow);
}

.history__story {
  grid-area: story;
  border-top: 3px solid var(--paper);
}

.history__lead {
  margin: 0;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(251, 251, 251, 0.4);
  font-size: clamp(1.35rem, 1rem + 1vw, 2rem);
  font-weight: 900;
  font-style: italic;
}

.history__statements p {
  margin: 0;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(251, 251, 251, 0.4);
  font-size: clamp(1.15rem, 1rem + 0.45vw, 1.45rem);
  line-height: 1.25;
}

.history__statements strong {
  color: var(--yellow);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.13em;
}

.history__statements .history__conclusion {
  padding-top: 1.7rem;
  border-bottom: 3px solid var(--paper);
  font-size: clamp(1.4rem, 1rem + 1.1vw, 2.1rem);
  font-weight: 900;
  line-height: 1.12;
}

/* Missão: o momento azul da página, o tom do tab da logo. */
.mission {
  overflow: hidden;
  color: var(--paper);
  background: var(--blue);
}

.mission__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.mission h2 {
  margin: 0;
  font-size: var(--heading);
  font-weight: 900;
  line-height: 0.86;
  text-transform: uppercase;
}

.mission h2 span {
  color: var(--yellow);
  font-style: italic;
}

.mission__copy {
  max-width: 34rem;
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
  border-left: 5px solid rgba(251, 251, 251, 0.4);
  font-size: clamp(1.15rem, 1rem + 0.45vw, 1.45rem);
  line-height: 1.4;
}

.mission__copy p {
  margin: 0 0 1.1rem;
}

.mission__cta {
  --btn-depth: var(--blue-deep);
  margin-top: 0.7rem;
  color: var(--blue);
  background: var(--paper);
}

.mission__stamp {
  position: absolute;
  z-index: 0;
  right: 9%;
  bottom: -10%;
  color: var(--paper);
  font-size: clamp(9rem, 22vw, 23rem);
  font-weight: 900;
  font-style: italic;
  line-height: 0.7;
  opacity: 0.1;
  transform: rotate(-10deg);
}

/* Cadastro: papel com meio-tom, formulário como cartaz branco extrudado. */
.signup {
  display: block;
  color: var(--ink);
}

.signup__aside {
  max-width: 880px;
  margin: 0 auto clamp(3.5rem, 7vw, 6rem);
  text-align: center;
}

.signup .eyebrow {
  color: var(--red);
}

.signup h2 {
  max-width: 12ch;
  margin: 1.2rem auto 1.5rem;
  font-size: clamp(3.3rem, 6.5vw, 6rem);
  font-weight: 900;
  font-style: italic;
  line-height: 0.84;
  text-transform: uppercase;
  letter-spacing: -0.015em;
}

.signup h2 .signup__title-line {
  display: block;
  color: var(--red);
  white-space: nowrap;
}

.signup__aside > p {
  max-width: 42rem;
  margin: 0 auto;
  font-size: clamp(1.15rem, 1rem + 0.45vw, 1.45rem);
  line-height: 1.3;
}

.signup__form {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 4vw, 4rem);
  border-radius: var(--radius);
  color: var(--ink);
  background: #ffffff;
  box-shadow: -14px 14px 0 var(--red);
}

.signup__memoji {
  position: absolute;
  z-index: 3;
  top: clamp(-62px, -4vw, -46px);
  right: clamp(1.25rem, 3vw, 2.5rem);
  width: clamp(88px, 8vw, 116px);
  height: auto;
  pointer-events: none;
  filter: drop-shadow(-5px 7px 8px rgba(17, 17, 17, 0.2));
  transform: rotate(4deg);
}

.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.field {
  margin-bottom: 1.25rem;
}

.form-required-note {
  grid-column: 1 / -1;
  margin: 0 0 1.4rem;
  color: #4c4c4c;
  font-size: 1rem;
  text-align: center;
}

.form-group {
  min-width: 0;
  grid-column: 1 / -1;
  padding: 0;
  margin: 0 0 1.15rem;
  border: 0;
}

.form-group + .form-group {
  margin-top: 0.5rem;
}

.form-group legend {
  width: 100%;
  padding: 0 0 0.55rem;
  margin: 0 0 1.15rem;
  border-bottom: 3px solid var(--ink);
  color: var(--blue);
  font-size: clamp(1.15rem, 1rem + 0.35vw, 1.35rem);
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  text-transform: uppercase;
}

.field-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 1rem;
}

.form-group__grid {
  display: grid;
  gap: 0 1rem;
}

.form-group__grid--personal {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.form-group__grid--personal .field:nth-child(1),
.form-group__grid--personal .field:nth-child(2) {
  grid-column: span 3;
}

.form-group__grid--personal .field:nth-child(3),
.form-group__grid--personal .field:nth-child(4) {
  grid-column: span 2;
}

.form-group__grid--personal .field:nth-child(5) {
  grid-column: span 2;
}

.form-group__grid--location {
  grid-template-columns: minmax(150px, 1fr) minmax(0, 3fr);
}

.field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.field input,
.field select {
  width: 100%;
  min-height: 56px;
  padding: 0.7rem 0.8rem;
  border: 2px solid rgba(17, 17, 17, 0.35);
  border-radius: var(--radius-small);
  color: var(--ink);
  background: var(--paper);
  font-size: 1.15rem;
}

.field input[aria-invalid='true'],
.field select[aria-invalid='true'],
.consent input[aria-invalid='true'] {
  border-color: var(--red-deep);
  outline: 2px solid var(--red-deep);
  outline-offset: 2px;
}

.field input:focus,
.field select:focus {
  border-color: var(--blue);
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  box-shadow: none;
}

.field small {
  display: block;
  margin-top: 0.35rem;
  color: #4c4c4c;
  font-size: 1rem;
}

.field-error {
  display: block;
  min-height: 0;
  margin-top: 0.35rem;
  color: var(--red-deep);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
}

.field-error:empty {
  display: none;
}

.consent-error {
  margin: -1rem 0 1.5rem 2.25rem;
}

.consent {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: start;
  gap: 0.75rem;
  margin: 0.5rem 0 1.5rem;
  line-height: 1.3;
  cursor: pointer;
  grid-column: 1 / -1;
}

.consent-error,
.signup__form > .button,
.signup__form > .form-note,
.signup__form > .form-status {
  grid-column: 1 / -1;
}

.consent input {
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: var(--red);
}

.form-note,
.form-status {
  margin: 0.85rem 0 0;
  color: #4c4c4c;
  font-size: 1rem;
  line-height: 1.35;
}

.form-status:not(:empty) {
  padding: 0.75rem;
  border: 2px solid var(--red);
  border-radius: var(--radius-small);
  color: var(--ink);
}

.form-status[data-state='success'] {
  border-color: var(--green);
}

.signup__form .button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.signup__referral {
  max-width: 30rem;
  margin: 1.5rem auto 0;
  padding: 0.85rem 1rem;
  border: 2px solid var(--red);
  border-radius: var(--radius-small);
  font-size: 1rem;
  line-height: 1.35;
}

/* A força dos 70+: fechamento amarelo com o número em bloco, como a logo. */
.electorate {
  overflow: hidden;
  color: var(--ink);
  background-color: var(--yellow);
  background-image: var(--halftone);
  background-size: 14px 14px;
}

.electorate__editorial {
  position: relative;
  z-index: 2;
  display: grid;
  max-width: 1260px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(2.5rem, 6vw, 7rem);
}

.electorate__stat {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  line-height: 0.9;
  text-transform: uppercase;
}

.electorate__stat span {
  font-size: clamp(1.2rem, 1rem + 0.75vw, 1.8rem);
  font-weight: 900;
}

/* O número da seção em bloco vermelho extrudado, no desenho da caixa da logo. */
.electorate__stat strong {
  margin: 0.35em 0;
  padding: 0.2em 0.24em 0.12em;
  border-radius: 0;
  color: var(--ink);
  background: var(--red);
  box-shadow: -0.1em 0.1em 0 var(--red-deep);
  font-size: clamp(3.4rem, 5vw, 5.6rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.012em;
  line-height: 0.95;
  white-space: nowrap;
  transform: rotate(-2deg);
  transform-origin: left center;
}

.electorate__message {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: clamp(1.5rem, 2.5vw, 2.25rem);
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
  border-left: 5px solid var(--ink);
  font-weight: 900;
  text-transform: uppercase;
}

.electorate__message p {
  margin: 0;
}

.electorate__message p:first-child {
  max-width: 19ch;
  font-size: clamp(1.4rem, 1.8vw, 1.9rem);
  line-height: 1.08;
}

.electorate__message p:last-child {
  max-width: 17ch;
  color: var(--blue);
  font-size: clamp(1.9rem, 2.6vw, 3rem);
  font-style: italic;
  /* acentos de caixa alta ocupam até 0.9em: abaixo de ~0.95 o til encosta
     na linha de cima. */
  line-height: 1.05;
}

/* Assinatura da página: o lema em brush no papel, antes do rodapé. */
.closing-tagline {
  position: relative;
  display: grid;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  justify-items: center;
}

.closing-tagline__art {
  width: clamp(260px, 34vw, 460px);
  height: auto;
  transform: rotate(-2deg);
}

/* Rodapé: assinatura preta e direta. */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: none;
  margin: 0 auto;
  padding: 2.25rem max(var(--gutter), calc((100% - var(--max-width)) / 2 + var(--gutter)));
  color: var(--paper);
  background: var(--ink);
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer a {
  display: inline-block;
  padding-block: 0.35rem;
  text-underline-offset: 0.3em;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-footer__brand img {
  width: 72px;
  height: auto;
}

.mobile-float-cta {
  display: none;
}

@keyframes mobile-float-cta-in {
  0% {
    opacity: 0;
    box-shadow: 0 0 0 var(--red-deep);
    transform: translate3d(3rem, calc(100% + 2.5rem), 0) rotate(3deg) scale(0.94);
  }

  64% {
    opacity: 1;
    box-shadow: -10px 10px 0 var(--red-deep);
    transform: translate3d(0.35rem, -0.3rem, 0) rotate(-1.5deg) scale(1.015);
  }

  82% {
    box-shadow: -5px 5px 0 var(--red-deep);
    transform: translate3d(-0.18rem, 0.16rem, 0) rotate(-0.35deg) scale(0.995);
  }

  100% {
    opacity: 1;
    box-shadow: -7px 7px 0 var(--red-deep);
    transform: translate3d(0, 0, 0) rotate(-0.75deg) scale(1);
  }
}

@keyframes mobile-float-arrow-in {
  from {
    opacity: 0;
    transform: translateX(0.75rem);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Motion */
.has-reveal .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

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

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

  .hero__visual {
    min-height: 0;
  }

  .hero__cutout {
    width: min(48vw, 540px);
  }

  .signup {
    gap: 3rem;
  }
}

@media (max-width: 899px) {
  :root {
    --gutter: 1.1rem;
    --section-space: 4.5rem;
    --display: clamp(3.25rem, 17vw, 4.65rem);
    --heading: clamp(2.6rem, 13vw, 3.75rem);
  }

  .site-header {
    min-height: 80px;
    padding-block: 0.55rem;
  }

  .brand {
    width: 58px;
  }

  .button--compact {
    min-height: 48px;
    padding: 0.7rem 0.8rem;
    font-size: 1rem;
  }

  .section__label {
    margin-bottom: 2.8rem;
  }

  .hero {
    min-height: auto;
    padding: 3rem var(--gutter) 0;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero__content {
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero__title {
    margin-top: 1rem;
  }

  .hero__intro {
    font-size: 1.2rem;
  }

  .hero__cta {
    width: 100%;
  }

  .hero__visual {
    min-height: 340px;
    margin-top: 1.5rem;
  }

  .hero__visual::before {
    /* Menor que o min-height do bloco visual: a ponta da estrela não pode
       subir até o CTA que fica logo acima. */
    top: auto;
    width: min(62vw, 330px);
    bottom: 2%;
  }

  .hero__cutout {
    width: min(88vw, 460px);
  }

  .hero__star {
    top: 0;
    right: 2%;
    width: 64px;
  }

  .history__grid,
  .mission__content {
    grid-template-columns: 1fr;
  }

  .history__grid {
    grid-template-areas:
      'heading'
      'story';
    gap: 2.75rem;
  }

  .history__backdrop {
    height: 46%;
  }

  .electorate__editorial {
    grid-template-columns: 1fr;
    row-gap: 2.5rem;
  }

  .signup__form {
    max-width: 720px;
    padding: 1.25rem;
    grid-template-columns: 1fr;
    box-shadow: -10px 10px 0 var(--red);
  }

  .signup__memoji {
    top: -46px;
    right: 0.75rem;
    width: 76px;
  }

  .form-group + .form-group {
    margin-top: 0.25rem;
  }

  .form-group__grid--personal,
  .form-group__grid--location {
    grid-template-columns: 1fr;
  }

  .form-group__grid--personal .field:nth-child(n) {
    grid-column: auto;
  }

  .field-row {
    grid-template-columns: 110px 1fr;
  }

  .site-footer {
    display: block;
    font-size: 1rem;
  }

  .site-footer__brand {
    margin-bottom: 1.5rem;
  }

  .eyebrow,
  .section__label,
  .field small,
  .form-note,
  .form-status {
    font-size: 1rem;
  }

  .site-footer a {
    display: inline-block;
    margin-top: 1rem;
  }
}

/* Mobile editorial: reordena as composições em vez de apenas reduzi-las. */
@media (max-width: 600px) {
  :root {
    --gutter: 1.125rem;
    --section-space: 4rem;
  }

  body {
    font-size: 1.0625rem;
    line-height: 1.55;
  }

  .site-header {
    min-height: 84px;
    padding: 0.6rem var(--gutter);
    gap: 0.75rem;
  }

  .brand {
    flex: 0 0 auto;
    width: 60px;
  }

  .button--compact {
    /* Dimensiona pelo conteúdo: com largura fixa o rótulo encostava
       nas bordas do bloco. */
    flex: 0 0 auto;
    width: auto;
    min-height: 48px;
    min-width: 0;
    max-width: none;
    padding: 0.65rem 1rem;
    font-size: 1rem;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .mobile-float-cta {
    position: fixed;
    z-index: 90;
    right: 1.125rem;
    bottom: calc(1.125rem + env(safe-area-inset-bottom, 0px));
    display: grid;
    width: min(310px, calc(100vw - 2.25rem));
    min-height: 58px;
    grid-template-columns: minmax(0, 1fr) 52px;
    align-items: stretch;
    overflow: hidden;
    border: 3px solid var(--paper);
    border-radius: var(--radius-small);
    color: var(--paper);
    background: var(--red);
    box-shadow: -7px 7px 0 var(--red-deep);
    font-size: 1.0625rem;
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(3rem, calc(100% + 2.5rem), 0) rotate(3deg) scale(0.94);
    transition: opacity 160ms ease, visibility 160ms ease, transform 220ms ease-in;
    will-change: opacity, transform;
  }

  .mobile-float-cta > span:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0.8rem;
    white-space: nowrap;
  }

  .mobile-float-cta__arrow {
    display: grid;
    place-items: center;
    color: var(--red);
    background: var(--paper);
    font-size: 1.45rem;
  }

  .mobile-float-cta.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) rotate(-0.75deg);
    animation: mobile-float-cta-in 560ms cubic-bezier(0.18, 0.85, 0.25, 1.08);
  }

  .mobile-float-cta.is-visible .mobile-float-cta__arrow {
    animation: mobile-float-arrow-in 300ms 190ms cubic-bezier(0.2, 0.9, 0.25, 1.2) backwards;
  }

  .mobile-float-cta:active {
    box-shadow: -3px 3px 0 var(--red-deep);
    transform: translate3d(-4px, 4px, 0) rotate(-0.75deg);
  }

  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .section__label {
    margin-bottom: 3.25rem;
  }

  .hero {
    padding-top: 3rem;
    gap: 1.25rem;
  }

  .hero__title {
    margin-bottom: 1.75rem;
  }

  .hero__generation {
    font-size: 0.6em;
  }

  .hero__generation-word {
    display: inline !important;
    font-size: 1em;
  }

  .hero__intro {
    max-width: 31ch;
    margin-bottom: 1.75rem;
    font-size: 1.125rem;
    line-height: 1.5;
  }

  .hero__intro span {
    white-space: normal;
  }

  .hero__cta {
    min-height: 54px;
    font-size: 1.0625rem;
  }

  .hero__visual {
    min-height: 300px;
  }

  .history__grid {
    display: block;
  }

  .history__heading-wrap {
    margin-bottom: 2.5rem;
  }

  .history__lead {
    padding: 1.15rem 0;
    font-size: 1.5rem;
    line-height: 1.25;
  }

  .history__statements p {
    padding: 1.25rem 0;
    font-size: 1.0625rem;
    line-height: 1.5;
  }

  .history__statements .history__conclusion {
    padding-top: 1.6rem;
    padding-bottom: 1.5rem;
    font-size: 1.4rem;
    line-height: 1.25;
  }

  .mission__content {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 2.5rem;
  }

  .mission__copy {
    max-width: none;
    padding-left: 1.1rem;
    border-left-width: 4px;
    font-size: 1.0625rem;
  }

  .mission__stamp {
    right: -8%;
    bottom: 18%;
    font-size: 11rem;
  }

  .electorate__stat strong {
    font-size: clamp(2.5rem, 11vw, 3.2rem);
    line-height: 0.95;
  }

  .electorate__message {
    padding-left: 1.1rem;
    border-left-width: 4px;
  }

  .electorate__message p:first-child {
    font-size: 1.35rem;
  }

  .electorate__message p:last-child {
    font-size: clamp(1.8rem, 8vw, 2.3rem);
  }

  .closing-tagline {
    padding-block: 3.5rem;
  }

  .closing-tagline__art {
    width: min(82vw, 340px);
  }

  .signup__aside {
    width: 100%;
    margin-bottom: 3.5rem;
  }

  .signup__aside > p {
    max-width: 31ch;
    font-size: 1.0625rem;
    line-height: 1.5;
  }

  .signup h2 {
    /* Duas linhas como no desktop: "Faça parte da" / "Geração Lula." —
       o corpo precisa caber 13 caracteres por linha na largura útil. */
    max-width: none;
    font-size: clamp(1.9rem, 9.6vw, 2.4rem);
  }

  .signup__form {
    width: 100%;
    max-width: none;
    padding: 1.25rem;
  }

  .field {
    margin-bottom: 1.4rem;
  }

  .field-row {
    display: block;
  }

  .field label {
    margin-bottom: 0.55rem;
    font-size: 1rem;
  }

  .field input,
  .field select {
    min-height: 54px;
    padding: 0.75rem;
    font-size: 1rem;
  }

  .field small {
    margin-top: 0.45rem;
    line-height: 1.45;
  }

  .consent {
    grid-template-columns: 28px 1fr;
    gap: 0.85rem;
    margin: 0.75rem 0 1.75rem;
    font-size: 1rem;
    line-height: 1.45;
  }

  .consent input {
    width: 28px;
    height: 28px;
  }

  .signup__form .button {
    min-height: 54px;
    font-size: 1.0625rem;
  }

  .form-note,
  .form-status {
    line-height: 1.5;
  }
}

@media (max-width: 390px) {
  .button--compact {
    max-width: none;
    padding-inline: 0.85rem;
    font-size: 0.9375rem;
    line-height: 1;
    text-align: center;
  }

  .hero__title {
    font-size: clamp(3.15rem, 16.7vw, 3.9rem);
  }

  .hero__visual {
    min-height: 270px;
  }

  .history__title {
    overflow-wrap: normal;
    font-size: min(clamp(2.4rem, 12.5vw, 3.15rem), 10.5cqw);
  }

  .signup h2 {
    overflow-wrap: normal;
    font-size: clamp(1.7rem, 9.6vw, 2.1rem);
  }
}

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

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

@media print {
  .site-header,
  .site-footer,
  .button {
    display: none;
  }
}

/* Formulário — nome/sobrenome e apoio */
.field-row--split {
  grid-template-columns: 1fr 1fr;
}

.form-note--link a {
  color: var(--ink);
  font-weight: 900;
}

/* Páginas de fluxo: obrigado e meu link */
.flow {
  max-width: var(--max-width);
  margin: 0 auto;
}

.flow__hero {
  position: relative;
  display: grid;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6rem) var(--gutter) clamp(3.5rem, 8vw, 6rem);
  color: var(--ink);
}

.flow__hero-content {
  position: relative;
  z-index: 1;
  max-width: 46rem;
}

.flow__hero .eyebrow {
  color: var(--red);
}

.flow__hero-star {
  position: absolute;
  z-index: 1;
  right: var(--gutter);
  bottom: clamp(-1rem, -2vw, 0rem);
  width: clamp(70px, 12vw, 150px);
  transform: rotate(10deg);
}

.flow__title {
  display: grid;
  margin: 1.2rem 0 1.5rem;
  font-size: var(--heading);
  font-weight: 900;
  line-height: 0.86;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.flow__title-accent {
  color: var(--red);
  font-style: italic;
}

.flow__intro {
  max-width: 38rem;
  margin: 0;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem);
  line-height: 1.32;
}

.flow__step {
  display: grid;
  grid-template-columns: clamp(5rem, 12vw, 11rem) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 3rem);
  padding: clamp(2.5rem, 6vw, 5rem) var(--gutter);
  color: var(--paper);
  background: var(--blue);
}

.flow__step--red {
  color: var(--paper);
  background: var(--red);
}

.flow__step-number {
  margin: 0;
  color: var(--yellow);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  font-style: italic;
  line-height: 0.8;
  letter-spacing: -0.03em;
}

.flow__step--red .flow__step-number {
  color: var(--paper);
  opacity: 0.55;
}

.flow__step h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 0.88;
  text-transform: uppercase;
}

.flow__step-text {
  max-width: 36rem;
  margin: 0 0 1.75rem;
  font-size: var(--body);
  line-height: 1.4;
}

.flow__badge {
  display: inline-block;
  padding: 0.5rem 0.85rem 0.4rem;
  margin: 0 0 1.25rem;
  border-radius: var(--radius-small);
  color: var(--ink);
  background: var(--yellow);
  box-shadow: -5px 5px 0 var(--yellow-deep);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.3rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: rotate(-1.2deg);
}

.flow__cta {
  max-width: 26rem;
}

.flow__cta,
.flow__step .button {
  --btn-depth: var(--blue-deep);
  color: var(--blue);
  background: var(--paper);
}

.flow__step--red .button,
.flow__step--red .flow__cta {
  --btn-depth: var(--red-deep);
  color: var(--red);
  background: var(--paper);
}

.flow__status {
  min-height: 1.5em;
  max-width: 36rem;
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.35;
}

.flow__status:not(:empty) {
  padding: 0.75rem;
  border: 2px solid rgba(251, 251, 251, 0.65);
  border-radius: var(--radius-small);
}

.flow__status[data-state='error'] {
  border-color: var(--yellow);
}

.flow__status a {
  font-weight: 900;
}

.share {
  max-width: 40rem;
}

.share input {
  width: 100%;
  min-height: 56px;
  padding: 0.7rem 0.8rem;
  border: 2px solid rgba(251, 251, 251, 0.65);
  border-radius: var(--radius-small);
  color: var(--paper);
  background: rgba(0, 0, 0, 0.14);
  font-family: inherit;
  font-size: 1.05rem;
  overflow-x: auto;
}

.share__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1rem;
}

.share__actions .button {
  flex: 1 1 12rem;
}

.score {
  display: grid;
  max-width: 46rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.score__item {
  display: flex;
  min-height: 11rem;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  box-shadow: -8px 8px 0 var(--red-deep);
}

.score__item span {
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.055em;
}

.score__item strong {
  color: var(--red);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 900;
  font-style: italic;
  line-height: 0.8;
}

.score__item small {
  min-height: 1.4em;
  font-size: 0.95rem;
}

.mobilized {
  margin-top: 2.5rem;
}

.mobilized h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mobilized__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.6rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.mobilized__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border: 2px solid rgba(251, 251, 251, 0.65);
  border-radius: var(--radius-small);
}

.mobilized__list strong {
  font-weight: 900;
}

.mobilized__list span {
  font-size: 0.9rem;
  font-weight: 900;
  opacity: 0.8;
}

.mobilized__note {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
}

.mobilized__note:empty {
  display: none;
}

.lookup-form {
  max-width: 26rem;
}

.lookup-form .field label {
  color: var(--paper);
}

.lookup-form .field input {
  border-color: transparent;
}

.lookup-form .button {
  width: 100%;
}

.flow__footer-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter);
}

.flow__footer-note p {
  max-width: 34rem;
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .field-row--split {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .flow__step {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
  }

  .flow__hero-star {
    display: none;
  }

  .share__actions .button {
    flex: 1 1 100%;
  }
}
