:root {
  --verde-emove: #2e5e3e;
  --verde-natureza: #6faf5b;
  --verde-claro: #dbe5c9;
  --verde-suave: #eef4ea;
  --grafite: #2b2f2e;
  --cinza-medio: #8e938e;
  --cinza-claro: #d9dcd8;
  --cinza-suave: #f3f4f2;
  --branco: #ffffff;
  --azul-petroleo: #224e4a;
  --terracota: #c26d4e;
  --serif: "Montserrat", sans-serif;
  --sans: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--grafite);
  background: var(--branco);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

button,
input {
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

::selection {
  background: var(--verde-claro);
  color: var(--verde-emove);
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: var(--branco);
  opacity: 1;
  visibility: visible;
  transition: opacity 280ms ease, visibility 280ms ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-screen img {
  width: clamp(104px, 12vw, 168px);
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 40px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--cinza-claro);
  backdrop-filter: blur(10px);
}

.logo-mark {
  display: flex;
  align-items: center;
}

.logo-svg {
  width: auto;
  height: 48px;
}

.progress-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.current-voter {
  max-width: 240px;
  color: var(--verde-emove);
  font-size: 0.8rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.progress-label {
  color: var(--cinza-medio);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.progress-track {
  width: 110px;
  height: 3px;
  overflow: hidden;
  background: var(--cinza-claro);
  border-radius: 2px;
}

.progress-fill {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--verde-natureza);
  transition: width 0.6s ease;
}

.progress-num {
  color: var(--verde-emove);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 320px;
  height: clamp(300px, 34vw, 420px);
  overflow: hidden;
  border-bottom: 1px solid var(--cinza-claro);
  background: var(--branco);
}

.hero-text {
  position: relative;
  z-index: 2;
  width: min(610px, 52%);
  margin-left: auto;
  padding: 34px 48px 34px 72px;
}

.eyebrow,
.section-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--verde-natureza);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-title,
.section-title,
.manufacturer-label,
.modal-box h3 {
  color: var(--verde-emove);
  font-family: var(--serif);
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-title {
  max-width: 560px;
  margin-bottom: 16px;
  font-size: clamp(1.6rem, 2.7vw, 2.55rem);
  line-height: 1.08;
}

.hero-desc {
  max-width: 520px;
  color: var(--cinza-medio);
  font-size: 0.95rem;
  font-weight: 400;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 34%, rgba(255, 255, 255, 0.26) 64%, rgba(255, 255, 255, 0) 100%);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}

.section {
  padding: 64px 48px;
}

.section-head {
  margin-bottom: 36px;
}

.section-title {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}

.user-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.user-btn,
.toggle-btn,
.filter-chip {
  border: 1px solid var(--cinza-claro);
  border-radius: 2px;
  background: var(--branco);
  color: var(--grafite);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.user-btn {
  flex-shrink: 0;
  min-width: 122px;
  padding: 14px 26px;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

.user-btn:hover,
.toggle-btn:hover,
.filter-chip:hover {
  border-color: var(--verde-natureza);
  color: var(--verde-emove);
}

.user-btn.active {
  background: var(--verde-emove);
  border-color: var(--verde-emove);
  color: var(--branco);
}

.voter-form {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) minmax(150px, 0.8fr) minmax(190px, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 26px;
}

.voter-modal .voter-form {
  grid-template-columns: 1fr;
  width: 100%;
  margin-top: 22px;
}

.voter-form.hidden {
  display: none;
}

.voter-form label {
  display: grid;
  gap: 7px;
  color: var(--cinza-medio);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.voter-form input {
  min-height: 48px;
  border: 1px solid var(--cinza-claro);
  border-radius: 2px;
  padding: 0 14px;
  color: var(--grafite);
  background: var(--branco);
  outline: none;
}

.voter-form input:focus {
  border-color: var(--verde-natureza);
  box-shadow: 0 0 0 3px rgba(111, 175, 91, 0.16);
}

.submit-voter {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 2px;
  background: var(--verde-emove);
  color: var(--branco);
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.voter-active-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--cinza-claro);
  background: var(--verde-suave);
}

.voter-active-card[hidden] {
  display: none;
}

.voter-active-card span {
  display: block;
  color: var(--cinza-medio);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.voter-active-card strong {
  display: block;
  margin-top: 4px;
  color: var(--verde-emove);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.top-ranking-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.top-rank-card {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 98px;
  padding: 10px;
  border: 1px solid var(--cinza-claro);
  background: var(--branco);
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.top-rank-card:hover {
  border-color: var(--verde-natureza);
  box-shadow: 0 12px 28px rgba(46, 94, 62, 0.09);
  transform: translateY(-2px);
}

.top-rank-card img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  background: var(--branco);
}

.top-rank-pos {
  position: absolute;
  top: 8px;
  left: 8px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: var(--verde-emove);
  color: var(--branco);
  font-size: 0.72rem;
  font-weight: 900;
}

.top-rank-info {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.top-rank-info strong {
  color: var(--grafite);
  font-family: var(--serif);
  font-size: 0.9rem;
  line-height: 1.15;
}

.top-rank-info small,
.top-rank-info span {
  color: var(--cinza-medio);
  font-size: 0.72rem;
}

.top-empty {
  grid-column: 1 / -1;
}

.view-toggle {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}

.toggle-btn {
  padding: 9px 18px;
  color: var(--cinza-medio);
  font-size: 0.78rem;
  letter-spacing: 0.5px;
}

.toggle-btn.active {
  background: var(--verde-suave);
  border-color: var(--verde-natureza);
  color: var(--verde-emove);
  font-weight: 700;
}

.filters-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: -6px;
  margin-bottom: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--cinza-claro);
  border-bottom: 1px solid var(--cinza-claro);
}

.filter-chip {
  padding: 7px 16px;
  border-radius: 20px;
  color: var(--cinza-medio);
  font-size: 0.76rem;
}

.filter-chip.active {
  background: var(--verde-emove);
  border-color: var(--verde-emove);
  color: var(--branco);
}

.search-input {
  width: 220px;
  margin-left: auto;
  padding: 8px 14px;
  border: 1px solid var(--cinza-claro);
  border-radius: 20px;
  color: var(--grafite);
  font-size: 0.82rem;
  outline: none;
}

.search-input:focus {
  border-color: var(--verde-natureza);
}

.manufacturer-group {
  margin-top: 56px;
}

.manufacturer-group:first-child {
  margin-top: 34px;
}

.manufacturer-label {
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--cinza-claro);
  font-size: 1.2rem;
}

.moto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.moto-card {
  overflow: hidden;
  background: var(--branco);
  border: 1px solid var(--cinza-claro);
  border-radius: 2px;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.5s ease forwards;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.moto-card:hover {
  border-color: var(--cinza-medio);
  box-shadow: 0 14px 34px rgba(46, 94, 62, 0.08);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.moto-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 18px;
  background: var(--branco);
  border-bottom: 1px solid var(--cinza-suave);
  width: 100%;
}

.moto-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.45s ease;
}

.moto-card:hover .moto-img-wrap img {
  transform: scale(1.05);
}

.zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 9px;
  border-radius: 2px;
  background: rgba(43, 47, 46, 0.78);
  color: var(--branco);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.moto-img-wrap:hover .zoom-hint,
.moto-img-wrap:focus-visible .zoom-hint {
  opacity: 1;
}

.moto-body {
  padding: 20px;
}

.moto-manufacturer {
  color: var(--verde-natureza);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.moto-name {
  margin: 6px 0 8px;
  color: var(--grafite);
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 700;
}

.moto-desc {
  min-height: 34px;
  margin-bottom: 18px;
  color: var(--cinza-medio);
  font-size: 0.8rem;
}

.tech-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  min-height: 52px;
  margin-bottom: 18px;
  color: var(--grafite);
  font-size: 0.72rem;
}

.tech-list dt,
.modal-tech-list dt {
  color: var(--cinza-medio);
  font-weight: 700;
}

.tech-list dd,
.modal-tech-list dd {
  margin: 0;
  font-weight: 700;
}

.rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rating-label {
  color: var(--cinza-medio);
  font-size: 0.68rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.rating-buttons {
  display: flex;
  gap: 5px;
}

.rate-btn {
  position: relative;
  width: 32px;
  height: 32px;
  border: 1px solid var(--cinza-claro);
  border-radius: 50%;
  color: var(--grafite);
  font-size: 0.85rem;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rate-btn:hover {
  border-color: var(--verde-natureza);
  color: var(--verde-emove);
}

.rate-btn.selected {
  background: var(--verde-emove);
  border-color: var(--verde-emove);
  color: var(--branco);
}

.rate-btn .tooltip {
  position: absolute;
  bottom: 120%;
  left: 50%;
  padding: 5px 9px;
  border-radius: 3px;
  background: var(--grafite);
  color: var(--branco);
  font-size: 0.68rem;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.rate-btn:hover .tooltip {
  opacity: 1;
}

.saved-flash {
  margin-top: 10px;
  color: var(--verde-natureza);
  font-size: 0.68rem;
  font-weight: 700;
  text-align: right;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.saved-flash.show {
  opacity: 1;
}

.ranking-section {
  padding: 64px 48px;
  background: var(--verde-suave);
}

.ranking-empty {
  padding: 60px 20px;
  color: var(--cinza-medio);
  text-align: center;
}

.ranking-empty p:first-child {
  margin-bottom: 8px;
  color: var(--verde-emove);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ranking-list {
  max-width: 820px;
  margin: 0 auto;
}

.ranking-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
  padding: 18px 22px;
  background: var(--branco);
  border: 1px solid var(--cinza-claro);
  border-radius: 2px;
}

.rank-pos {
  color: var(--verde-natureza);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 800;
  text-align: center;
}

.rank-name {
  font-size: 0.98rem;
  font-weight: 700;
}

.rank-manu {
  margin-top: 2px;
  color: var(--cinza-medio);
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.rank-bar-track {
  width: min(100%, 240px);
  height: 4px;
  margin-top: 8px;
  overflow: hidden;
  background: var(--cinza-claro);
  border-radius: 2px;
}

.rank-bar-fill {
  display: block;
  width: var(--rank-width);
  height: 100%;
  background: var(--verde-natureza);
  transition: width 0.6s ease;
}

.rank-stats {
  color: var(--cinza-medio);
  font-size: 0.78rem;
  text-align: right;
}

.rank-avg {
  color: var(--verde-emove);
  font-size: 1rem;
  font-weight: 800;
}

.rank-tie {
  margin-top: 2px;
  color: var(--terracota);
  font-size: 0.62rem;
}

.my-eval-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
  padding: 24px 0;
  border-top: 1px solid var(--cinza-claro);
  border-bottom: 1px solid var(--cinza-claro);
}

.my-stat .num {
  color: var(--verde-emove);
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 800;
}

.my-stat .lbl {
  color: var(--cinza-medio);
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.continue-btn {
  margin-top: 8px;
  padding: 11px 24px;
  border-radius: 2px;
  background: var(--verde-emove);
  color: var(--branco);
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  transition: background 0.2s ease;
}

.continue-btn:hover {
  background: var(--azul-petroleo);
}

.clear-row {
  margin-top: 30px;
  text-align: right;
}

.clear-btn {
  color: var(--cinza-medio);
  font-size: 0.76rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.clear-btn:hover,
.clear-btn.danger:hover {
  color: var(--terracota);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(43, 47, 46, 0.55);
  backdrop-filter: blur(3px);
}

.modal-overlay.show {
  display: flex;
}

.voter-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.voter-modal.show {
  display: flex;
}

.voter-modal-box {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(520px, 100%);
  padding: 36px;
  border: 1px solid var(--cinza-claro);
  background: var(--branco);
  box-shadow: 0 24px 80px rgba(43, 47, 46, 0.12);
}

.voter-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--cinza-claro);
  background: var(--branco);
  color: var(--grafite);
  font-size: 1.3rem;
  line-height: 1;
}

.voter-modal-close:hover {
  border-color: var(--verde-natureza);
  color: var(--verde-emove);
}

.voter-modal-box > img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  margin-bottom: 14px;
}

.voter-modal-box h2 {
  color: var(--verde-emove);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
}

.voter-modal-note {
  width: min(360px, 100%);
  margin-top: 10px;
  color: var(--cinza-medio);
  font-size: 0.88rem;
  text-align: center;
}

.modal-box {
  width: 100%;
  max-width: 420px;
  padding: 40px;
  border-radius: 3px;
  background: var(--branco);
  text-align: center;
}

.modal-box h3 {
  margin-bottom: 14px;
  font-size: 1.2rem;
}

.modal-box p {
  margin-bottom: 26px;
  color: var(--cinza-medio);
  font-size: 0.88rem;
}

.modal-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.modal-btn {
  padding: 11px 22px;
  border-radius: 2px;
  font-size: 0.82rem;
}

.modal-cancel {
  border: 1px solid var(--cinza-claro);
  color: var(--grafite);
}

.modal-confirm {
  background: var(--terracota);
  color: var(--branco);
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(43, 47, 46, 0.72);
  backdrop-filter: blur(4px);
}

.image-modal.show {
  display: flex;
}

.image-modal-box {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  width: min(1280px, 100%);
  max-height: min(760px, calc(100vh - 56px));
  overflow: hidden;
  border-radius: 3px;
  background: var(--branco);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.image-modal-box img {
  width: 100%;
  height: 100%;
  max-height: min(760px, calc(100vh - 56px));
  object-fit: contain;
  padding: 34px;
  background: var(--branco);
}

.image-modal-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 34px;
  border-left: 1px solid var(--cinza-claro);
  overflow-y: auto;
}

.image-modal-copy p {
  color: var(--verde-natureza);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.image-modal-copy h3 {
  color: var(--verde-emove);
  font-family: var(--serif);
  font-size: 1.5rem;
  text-transform: uppercase;
}

.image-modal-copy span {
  color: var(--cinza-medio);
  font-size: 0.9rem;
}

.modal-rating {
  display: grid;
  gap: 10px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--cinza-claro);
}

.image-modal-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.image-modal-nav button {
  min-height: 42px;
  border: 1px solid var(--cinza-claro);
  background: var(--branco);
  color: var(--verde-emove);
  font-weight: 800;
}

.image-modal-nav button:hover {
  border-color: var(--verde-natureza);
}

.modal-tech-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px 12px;
  padding-top: 8px;
  border-top: 1px solid var(--cinza-claro);
  font-size: 0.82rem;
}

.image-modal-spec {
  width: 100%;
  height: auto;
  margin-top: 8px;
  padding: 0;
  border: 1px solid var(--cinza-claro);
  background: var(--branco);
}

.image-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--cinza-claro);
  border-radius: 50%;
  background: var(--branco);
  color: var(--grafite);
  font-size: 1.4rem;
  line-height: 1;
}

.hidden,
.manufacturer-group.hidden,
.moto-card.hidden {
  display: none;
}

footer {
  padding: 40px 48px;
  border-top: 1px solid var(--cinza-claro);
  color: var(--cinza-medio);
  font-size: 0.78rem;
  text-align: center;
}

@media (max-width: 1100px) {
  .moto-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 14px 20px;
  }

  .hero {
    min-height: 300px;
    height: auto;
  }

  .hero-text {
    width: min(100%, 560px);
    padding: 38px 24px;
  }

  .section,
  .ranking-section {
    padding: 44px 22px;
  }

  .search-input {
    order: 99;
    width: 100%;
    margin-left: 0;
  }

  .voter-form {
    grid-template-columns: 1fr 1fr;
  }

  .voter-modal .voter-form {
    grid-template-columns: 1fr;
  }

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

  .submit-voter {
    grid-column: 1 / -1;
  }

  .ranking-item {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .rank-stats {
    grid-column: 2;
    text-align: left;
  }

  .image-modal-box {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .image-modal-box img {
    max-height: 58vh;
  }

  .image-modal-copy {
    border-left: 0;
    border-top: 1px solid var(--cinza-claro);
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .view-toggle {
    width: 100%;
  }

  .voter-form,
  .voter-active-card {
    grid-template-columns: 1fr;
  }

  .voter-active-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .submit-voter {
    width: 100%;
  }

  .top-ranking-grid {
    grid-template-columns: 1fr;
  }

  .voter-modal-box {
    padding: 28px 20px;
  }

  .toggle-btn {
    flex: 1;
  }
}
