/* Design system extraido de simonedutra.com.br
   Fontes: Archivo (titulos) + Work Sans (texto). Cores: azul-verde-limao da campanha,
   cabecalho off-white esverdeado, rodape verde escuro, tinta #1d1e20. */

:root {
  --grade: 0.12; /* forca do degradê de cor sobre todos os videos */
  --ink: #1d1e20;
  --ink-soft: #36344d;
  --paper: #ffffff;
  --header-bg: #f2f7f5;
  --cream: #faf5f0;
  --blue: #064b8f;
  --green: #0c7a38;
  --green-hover: #095f2b;
  --green-bright: #119743;
  --lime: #7abd1f;
  --forest: #087a5b;
  --crimson: #9f1239;
  --link: #240473;
  --line: #dadce0;
  --error: #b42318;

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Work Sans", system-ui, sans-serif;

  --radius: 6px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 3px; }

/* ---------- Cabecalho ---------- */
.site-header { background: var(--header-bg); position: sticky; top: 0; z-index: 20; }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 84px;
}
.brand img { width: 210px; height: auto; margin-block: -22px; }
.header-right { display: flex; align-items: center; gap: clamp(20px, 4vw, 40px); }
.nav { display: flex; gap: clamp(18px, 3vw, 32px); }
.nav a {
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--link); text-decoration: none; padding-block: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.5s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { background-size: 100% 1px; }
.social { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
.social a {
  display: grid; place-items: center; width: 28px; height: 28px;
  font-size: 24px; text-decoration: none;
  transition: transform 0.5s var(--ease);
}
.social a:hover { transform: translateY(-2px) scale(1.08); }
/* cores oficiais de cada rede */
.social .ph-facebook-logo { color: #1877f2; }
.social .ph-linkedin-logo { color: #0a66c2; }
.social .ph-x-logo { color: #000; }
.social .ph-instagram-logo {
  background: linear-gradient(45deg, #feda75 0%, #fa7e1e 28%, #d62976 55%, #962fbf 78%, #4f5bd5 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Degrade de cor da campanha, igual em todos os videos ---------- */
.hero-scrim::after, .footer-scrim::after, .strip-scrim::after, .murais::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: var(--grade);
  background: linear-gradient(135deg, rgba(6, 75, 143, 0.60) 0%, rgba(17, 151, 67, 0.46) 55%, rgba(254, 221, 0, 0.40) 100%);
}

/* ---------- Botoes ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border: 0; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: 0.01em;
  color: #fff; background: var(--green); text-decoration: none; cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s var(--ease), transform 0.5s var(--ease);
}
.btn i { transition: transform 0.5s var(--ease); }
.btn:hover { background: var(--green-hover); }
.btn:hover i { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* ---------- Conheca: hero em tres laminas (card + Simone | video | video) ---------- */
.hero { display: grid; grid-template-columns: 1fr 2fr; background: #064b8f; color: #fff; min-height: min(680px, calc(100dvh - 84px)); }
.lamina {
  position: relative; overflow: hidden; min-height: 520px; perspective: 1000px;
  background: url("assets/fundo.png") center / cover no-repeat, #119743;
}
.tilt {
  position: absolute; inset: clamp(18px, 2.2vw, 32px); display: grid; place-items: center;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--ease);
}
.sway { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.lamina-card {
  width: 100%; height: 100%; object-fit: contain; border-radius: 12px;
  filter: drop-shadow(0 30px 34px rgba(3, 30, 60, 0.55));
}
@media (prefers-reduced-motion: no-preference) {
  .sway { animation: sway 7s ease-in-out infinite; }
}
@keyframes sway {
  0%, 100% { transform: translateY(0) rotateY(-10deg) rotateX(3deg); }
  50% { transform: translateY(-14px) rotateY(10deg) rotateX(-3deg); }
}
.hero-stage { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; z-index: -2; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(5, 52, 104, 0.80) 0%, rgba(6, 80, 98, 0.50) 34%, rgba(6, 96, 84, 0.08) 70%, rgba(6, 96, 84, 0) 100%);
}
.hero-copy { padding: 0 clamp(24px, 4vw, 56px) clamp(28px, 3.4vw, 48px); max-width: 680px; margin-inline: auto; text-align: center; }
.hero h1 {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05; letter-spacing: -0.015em; margin: 0 0 22px; text-shadow: 0 2px 22px rgba(3, 30, 60, 0.4);
}
.hero p { font-size: 19px; line-height: 1.55; font-weight: 700; color: #fff; margin: 0 auto 32px; max-width: 500px; text-shadow: 0 1px 14px rgba(3, 30, 60, 0.45); }
.btn-gold { background: #fedd00; color: #14213d; }
.btn-gold:hover { background: #ffe94d; }

/* ---------- Votacao historica ---------- */
.vote { background: var(--cream); padding-block: clamp(56px, 8vw, 104px); }
.vote .wrap { display: block; text-align: center; padding-right: calc(var(--gutter) + clamp(200px, 24vw, 340px)); }
.vote h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.04; letter-spacing: -0.015em; margin: 0 auto clamp(24px, 4vw, 40px); max-width: 18ch; }
.vote-numbers { display: flex; justify-content: center; flex-wrap: wrap; gap: 28px clamp(36px, 6vw, 88px); margin: 0; text-align: center; }
.vote-numbers div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.vote-numbers div::before { content: ""; order: -2; width: 44px; height: 5px; border-radius: 3px; background: var(--green-bright); margin-bottom: 4px; }
.vote-numbers div:last-child::before { background: #f2c500; }
.vote-numbers dd { margin: 0; order: -1; font-family: var(--font-display); font-weight: 700; font-size: clamp(44px, 6.4vw, 84px); line-height: 0.95; letter-spacing: -0.03em; color: var(--blue); font-variant-numeric: tabular-nums; }
.vote-numbers dt { font-size: 16px; font-weight: 500; color: var(--ink-soft); }
.vote { --vote-pad: clamp(56px, 8vw, 104px); padding-block: var(--vote-pad); }
.vote { position: relative; overflow: hidden; }
.vote-quote { margin: clamp(32px, 4vw, 52px) auto 0; max-width: 42ch; }
.vote blockquote { margin: 0 auto; max-width: 40ch; text-align: center; font-size: clamp(19px, 2vw, 24px); line-height: 1.5; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.005em; }
/* de ponta a ponta: o topo dela comeca na linha onde muda a cor e os pes ficam na borda de baixo da secao */
.vote-simone-wrap {
  position: absolute; top: 0; bottom: 0; height: 100%; aspect-ratio: 518 / 1080;
  right: max(var(--gutter), calc(50% - var(--wrap) / 2 + var(--gutter)));
  perspective: 900px; transform-origin: 50% 100%; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--ease); pointer-events: none;
}
.vote-simone {
  display: block; width: 100%; height: 100%; object-fit: contain; object-position: right bottom; transform-origin: 50% 100%;
  filter: drop-shadow(0 12px 22px rgba(5, 52, 104, 0.28));
}
@media (prefers-reduced-motion: no-preference) {
  .vote-simone { animation: sway-person 6.5s ease-in-out infinite; }
}
/* balanco 3D com os pes fixos no chao da secao */
@keyframes sway-person {
  0%, 100% { transform: rotateY(-11deg) rotateZ(-1.2deg); }
  50% { transform: rotateY(11deg) rotateZ(1.2deg) scale(1.02); }
}

/* ---------- Faixa em degrade ---------- */
.band {
  background: #119743 url("assets/fundo.png") center / cover no-repeat;
  color: var(--cream); text-align: center;
  padding: clamp(80px, 12vw, 150px) var(--gutter);
}
.band h2 {
  font-family: var(--font-display); font-weight: 700; margin: 0 auto;
  font-size: clamp(44px, 8.4vw, 96px); line-height: 0.98; letter-spacing: -0.02em;
  max-width: 11ch; text-wrap: balance; text-shadow: 0 2px 24px rgba(4, 40, 60, 0.28);
}
.band.band-short { padding-block: clamp(64px, 9vw, 110px); }
.band.band-short h1 {
  font-family: var(--font-display); font-weight: 700; margin: 0 auto;
  font-size: clamp(44px, 8vw, 88px); line-height: 1; letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(4, 40, 60, 0.28);
}
.band.band-short p { margin: 18px auto 0; max-width: 40ch; font-size: 19px; text-shadow: 0 1px 14px rgba(4, 40, 60, 0.3); }

/* ---------- Conheca: texto ---------- */
.about { padding-block: clamp(64px, 9vw, 120px); }
.about .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 6vw, 88px); align-items: start; }
.about h2 {
  font-family: var(--font-display); font-weight: 700; margin: 0;
  font-size: clamp(32px, 4.2vw, 48px); line-height: 1.05; letter-spacing: -0.01em;
}
.about .kicker { font-family: var(--font-body); font-weight: 500; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--crimson); margin: 0 0 14px; }
.about-text p { margin: 0 0 1.2em; font-size: 18px; line-height: 1.7; max-width: 62ch; }
.about-text .btn { margin-top: 12px; }

/* ---------- Rodape ---------- */
.site-footer { position: relative; isolation: isolate; overflow: hidden; background: var(--forest); color: var(--cream); min-height: clamp(420px, 44vw, 540px); display: flex; align-items: flex-end; padding-block: clamp(40px, 5vw, 64px); text-align: center; }
.footer-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; z-index: -2; }
.footer-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(3, 56, 42, 0.74) 0%, rgba(4, 78, 58, 0.40) 34%, rgba(8, 122, 91, 0.05) 70%, rgba(8, 122, 91, 0) 100%); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.site-footer h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 5.4vw, 64px); line-height: 1.05; margin: 0; letter-spacing: -0.01em; text-shadow: 0 2px 20px rgba(0, 30, 20, 0.45); }
.site-footer .contact { margin: 0; font-size: 18px; }
.site-footer .contact a { color: var(--cream); text-underline-offset: 5px; }

/* ---------- Participe: faixa de topo com video ---------- */
.strip { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 6.4 / 1; min-height: 130px; max-height: 250px; color: #fff; background: #064b8f; }
.strip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; }
.strip-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 52, 104, 0.18) 0%, rgba(6, 96, 84, 0) 60%); }
.strip h1 { margin: 0; padding-bottom: 36px; font-family: var(--font-display); font-weight: 700; font-size: clamp(44px, 7vw, 80px); line-height: 1; letter-spacing: -0.02em; text-shadow: 0 2px 24px rgba(4, 40, 60, 0.45); }

/* ---------- Participe: formulario ---------- */
.form-section {
  position: relative; isolation: isolate;
  background:
    radial-gradient(55% 14% at 92% 6%, rgba(254, 221, 0, 0.50), transparent 70%),
    radial-gradient(45% 14% at 4% 50%, rgba(254, 221, 0, 0.34), transparent 70%),
    radial-gradient(50% 14% at 96% 88%, rgba(254, 221, 0, 0.40), transparent 70%),
    linear-gradient(180deg, #0a5a9a 0%, #0b8650 30%, #119743 62%, #5fb227 100%);
  padding-block: clamp(40px, 6vw, 80px) clamp(48px, 6vw, 88px);
}
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  position: relative;
  padding: clamp(22px, 3.2vw, 36px); box-shadow: 0 30px 70px -28px rgba(1, 33, 105, 0.55);
}
.form-card::before {
  content: ""; position: absolute; inset: -1px -1px auto -1px; height: 8px; border-radius: 10px 10px 0 0;
  background: linear-gradient(90deg, #119743 0 40%, #fedd00 40% 72%, #064b8f 72% 100%);
}
.form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 28px); margin-top: -16px; align-items: stretch; }
.form-col { display: flex; flex-direction: column; gap: clamp(16px, 2.4vw, 28px); }
.form-col .form-card { flex: 0 0 auto; }
.form-col .form-actions { margin: 0; flex: 1 1 auto; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; }
.form-col .form-actions .consent { flex: 0 0 auto; font-size: 13px; line-height: 1.5; max-width: none; }
.form-actions { margin-top: clamp(16px, 2.4vw, 28px); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: clamp(20px, 3vw, 32px); display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; box-shadow: 0 30px 70px -28px rgba(1, 33, 105, 0.45); }
.form-actions .consent { margin: 0; flex: 1 1 360px; }
.form-actions .submit-row { flex: 0 0 auto; }
.thanks-card { max-width: 640px; margin-inline: auto; margin-top: -64px; }
.form-card h2 { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 34px); line-height: 1.1; margin: 0 0 8px; letter-spacing: -0.01em; }
.form-card .lead { margin: 0 0 32px; color: #3d3d46; max-width: 56ch; }

.grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px 14px; }
.field { grid-column: span 6; display: flex; flex-direction: column; gap: 8px; }
.field.half { grid-column: span 3; }
.field.third { grid-column: span 2; }
.field.twothirds { grid-column: span 4; }
label, .legend { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--ink); }
.hint { font-size: 13px; color: #5a5c68; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select {
  width: 100%; min-height: 48px; padding: 0 14px; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid #8a8d99; border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #36344d 50%), linear-gradient(135deg, #36344d 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
input:hover, select:hover { border-color: var(--ink); }
input:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(6, 75, 143, 0.22); }
select:disabled { background-color: var(--header-bg); color: var(--ink); opacity: 1; }
.field.invalid input, .field.invalid select { border-color: var(--error); }
.error { display: none; font-size: 13px; color: var(--error); }
.field.invalid .error { display: block; }

fieldset { border: 0; margin: 26px 0 0; padding: 0; min-width: 0; }
.panel { padding: clamp(14px, 2.2vw, 28px); border-radius: 10px; }
.panel .legend { float: left; width: 100%; }
.panel .chips { clear: both; }
.chips { grid-auto-rows: 52px; }
.chip span { height: 100%; }
.panel-yellow { background: #fff8d1; }
.panel-green { background: #e6f5ea; }
.legend { display: block; font-size: 18px; margin-bottom: 14px; padding: 0; }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span {
  display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 8px;
  border: 1px solid #8a8d99; border-radius: var(--radius); font-family: var(--font-body); font-weight: 400; font-size: 13.5px; line-height: 1.2; letter-spacing: -0.005em;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.chip span::before {
  content: ""; flex: none; width: 16px; height: 16px; border: 1.5px solid #8a8d99; border-radius: 4px; background: #fff;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: #e8f5ec; border-color: var(--green); color: #0b3d1c; }
.chip input:checked + span::before {
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 12px no-repeat;
  border-color: var(--green);
}
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.mail-extra { display: none; margin-top: 28px; padding: 24px; background: var(--header-bg); border-radius: var(--radius); }
.mail-extra.open { display: block; animation: rise 0.6s var(--ease); }
.mail-extra p { margin: 0 0 18px; font-weight: 500; }

.consent { margin: 32px 0 20px; font-size: 14px; color: #3d3d46; max-width: 60ch; }
.submit-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-status { font-size: 14px; color: var(--error); }
.hp { position: absolute; left: -9999px; }

.thanks-card { display: none; }
.thanks-card:has(.thanks.show) { display: block; }
.thanks { display: none; text-align: center; padding: clamp(24px, 6vw, 64px) 0; }
.thanks.show { display: block; animation: rise 0.7s var(--ease); }
.thanks i { font-size: 56px; color: var(--green); }
.thanks h2 { margin-top: 14px; }
.thanks p { margin: 8px auto 28px; max-width: 42ch; }

/* ---------- Murais de video (Participe) ---------- */
.murais { position: relative; isolation: isolate; background: #064b8f; line-height: 0; }
.murais video { width: 100%; height: auto; aspect-ratio: 1600 / 750; max-height: 760px; object-fit: cover; display: block; }

/* ---------- Movimento ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
  .reveal.in { opacity: 1; transform: none; }
  .hero-copy > *, .lamina { animation: rise 0.9s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.1s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.2s; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }

.social-bar { display: none; background: var(--header-bg); border-top: 1px solid #e0e8e4; padding: 6px var(--gutter) 10px; }
.social-bar .social { justify-content: flex-start; }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .form-cols { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .about .wrap { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-stage { order: -1; min-height: 520px; }
  .hero-copy { padding-block: 0 32px; max-width: none; }
  .hero-scrim { background: linear-gradient(0deg, rgba(5, 52, 104, 0.92) 0%, rgba(7, 96, 84, 0.66) 45%, rgba(7, 96, 84, 0.08) 100%); }
  .lamina { min-height: 520px; }
  .vote { display: flex; flex-direction: column; padding-bottom: 0; }
  .vote .wrap { padding-right: var(--gutter); }
  .vote h2 { max-width: none; }
  .vote-simone-wrap { position: static; order: 2; align-self: center; height: 340px; margin-top: 28px; }
  .form-cols { grid-template-columns: 1fr; margin-top: -36px; }
  .form-card { margin-inline: 0; }
}
@media (max-width: 640px) {
  .site-header { position: static; }
  .site-header .wrap { flex-wrap: wrap; row-gap: 0; min-height: 0; padding-block: 8px 8px; }
  .brand img { width: 150px; margin-block: -14px; }
  .header-right { gap: 18px; }
  .header-right .social { display: none; }
  .social-bar { display: block; }
  .field.half, .field.third, .field.twothirds { grid-column: span 6; }
  .form-card { padding-inline: 20px; }
  .btn { width: 100%; }
}

/* ---------- Ranking de pautas (Participe) ---------- */
.rank-title { font-size: clamp(20px, 2.3vw, 26px) !important; line-height: 1.18 !important; margin-bottom: 10px !important; }
.ranks { display: grid; grid-template-columns: 1fr; gap: 8px; clear: both; }
@media (min-width: 560px) { .ranks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rank {
  display: flex; align-items: center; gap: 10px; height: 56px; padding: 5px 10px 5px 5px;
  background: #fff; border: 1px solid #c9b64a; border-radius: var(--radius); cursor: text;
  font-family: var(--font-body); font-weight: 400; font-size: 13.5px; line-height: 1.2; letter-spacing: -0.005em;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.rank:hover { border-color: var(--ink); }
.rank:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(6, 75, 143, 0.2); }
.rank-input {
  flex: none; width: 46px; height: 46px; padding: 0; text-align: center; font: 700 20px/1 var(--font-display); color: var(--green);
  background: #f1f9f3; border: 1.5px solid var(--green); border-radius: 5px; -moz-appearance: textfield; appearance: textfield; min-height: 0;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.rank-input::-webkit-outer-spin-button, .rank-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rank-input::placeholder { color: #8fb69b; font-weight: 400; }
.rank-input:not(:placeholder-shown) { background: var(--green); color: #fff; }
.rank-input:focus { outline: none; box-shadow: none; }
.rank.dup { border-color: var(--error); background: #fff4f2; }
.rank.dup .rank-input { border-color: var(--error); background: var(--error); color: #fff; }
.outros-text { display: block; width: min(100%, 360px); margin: 16px auto 0; text-align: center; }

/* ---------- Retangulo de envio ---------- */
.form-col .form-actions {
  background: linear-gradient(135deg, #064b8f 0%, #0b8650 62%, #119743 100%); border: 0; color: #fff; text-align: center;
  align-items: center; justify-content: center; gap: 14px; padding: clamp(24px, 3.4vw, 40px);
  box-shadow: 0 30px 70px -28px rgba(1, 33, 105, 0.6);
}
.send-title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.1; }
.form-col .form-actions .consent { color: rgba(255, 255, 255, 0.92); font-size: 13px; max-width: 46ch; margin: 0 auto; }
.form-col .form-actions .submit-row { flex-direction: column; gap: 10px; align-items: center; }
.form-col .form-actions .form-status { color: #ffd9d4; }
.btn-lg { min-height: 58px; padding-inline: 40px; font-size: 18px; }

/* ---------- Centralizado ---------- */
.form-card h2 { text-align: center; }
.form-card .lead { text-align: center; margin-inline: auto; }
.rank-title { margin-bottom: 22px !important; text-wrap: balance; }
.rank span { flex: 1; text-align: center; }
@media (min-width: 981px) and (max-width: 1180px) {
  .rank { gap: 8px; padding-right: 6px; font-size: 12.5px; }
  .rank-input { width: 40px; height: 40px; font-size: 18px; }
}

/* ---------- Celular: ranking em duas colunas, para encurtar a rolagem ---------- */
@media (max-width: 559px) {
  .ranks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .rank { gap: 6px; padding: 4px 6px 4px 4px; font-size: 12.5px; height: 58px; }
  .rank-input { width: 38px; height: 38px; font-size: 17px; }
  .panel { padding: 12px; }
}

.rank span { overflow-wrap: break-word; hyphens: manual; }

/* ---------- Titulo e frase da votacao ---------- */
.vote h2 span { display: block; }
.vote h2 { max-width: none; }
.quote-end { display: block; margin-top: 10px; font-weight: 700; color: var(--blue); }
.vote blockquote { text-wrap: balance; }

/* ---------- Celular: videos inteiros, sem corte, e texto embaixo ---------- */
@media (max-width: 860px) {
  /* inicio: 2 colunas de video no formato original (4:3), texto logo abaixo */
  .hero-stage { display: block; min-height: 0; background: linear-gradient(180deg, #064b8f 0%, #0b8650 100%); }
  .hero-video { position: static; display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
  .hero-scrim { bottom: auto; height: auto; aspect-ratio: 4 / 3; background: none; }
  .hero-copy { padding: 28px 24px 40px; }
  .hero h1 { margin-bottom: 14px; }
  .hero p { margin-bottom: 22px; }

  /* rodape: 3 colunas de video no formato original (16:9), texto logo abaixo */
  .site-footer { display: block; min-height: 0; padding: 0; background: linear-gradient(180deg, #087a5b 0%, #043d2e 100%); }
  .footer-video { position: static; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
  .footer-scrim { bottom: auto; height: auto; aspect-ratio: 16 / 9; background: none; }
  .footer-inner { padding: 30px 24px 40px; }
}
@media (max-width: 640px) {
  /* faixa do Participe: tres quadrados com rostos centralizados */
  .strip { aspect-ratio: 3 / 1; min-height: 0; max-height: none; }
  .vote h2 span { font-size: clamp(30px, 8.6vw, 40px); }
  .vote blockquote { max-width: 26ch; }
}

/* ---------- Redes sociais: centralizadas no celular e com movimento sutil ---------- */
.social-bar { padding-block: 10px 12px; }
.social-bar .social { justify-content: center; gap: 30px; }
@media (prefers-reduced-motion: no-preference) {
  .social li { animation: social-float 3.8s ease-in-out infinite; }
  .social li:nth-child(2) { animation-delay: 0.4s; }
  .social li:nth-child(3) { animation-delay: 0.8s; }
  .social li:nth-child(4) { animation-delay: 1.2s; }
}
@keyframes social-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.07); }
}
.social a:active { transform: scale(0.92); }

/* ---------- Titulo da votacao mais forte no celular ---------- */
@media (max-width: 640px) {
  .vote h2 span { font-size: min(46px, calc((100vw - 42px) / 8.1)); line-height: 1.04; letter-spacing: -0.02em; white-space: nowrap; }
  .vote h2 { margin-bottom: 30px; }
}

/* ---------- Texto de apoio do formulario: segunda parte sempre na linha de baixo ---------- */
.form-card .lead { text-wrap: balance; }
.form-card .lead span { display: block; }

/* ---------- Centralizado: titulo do bloco verde e quadradinhos de participacao ---------- */
.panel-green .legend { text-align: center; }
.chip span { position: relative; justify-content: center; text-align: center; padding-inline: 36px; }
.chip span::before { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Aviso de envio: justificado, sem palavra sozinha na ultima linha ---------- */
.form-col .form-actions .consent { text-align: justify; text-justify: inter-word; hyphens: none; text-wrap: pretty; }

.legend .l2 { display: block; }

/* ---------- Cabecalho: logo, Conheca e Participe com o mesmo espaco entre si ---------- */
.header-right { flex: 1; min-width: 0; }
.nav { flex: 1; justify-content: space-evenly; gap: 0; }
@media (max-width: 640px) {
  .header-right { gap: 0; }
  .nav { justify-content: space-evenly; }
}
@media (max-width: 640px) {
  .brand img { width: 128px; margin-block: -12px; }
  .nav a { font-size: 13px; letter-spacing: 0.04em; }
  .site-header .wrap { flex-wrap: nowrap; }
}
.site-header .wrap { gap: 0; }
@media (min-width: 981px) and (max-width: 1180px) {
  .rank { gap: 6px; padding: 4px 4px 4px 4px; font-size: 11.5px; }
  .rank-input { width: 34px; height: 34px; font-size: 16px; }
}

.hero p { text-wrap: balance; }
