/* ==========================================================
   Organize seu evento + Equipes — Mazza Eventos (requer mazza-base.css)
   Seções claras: contraste com hero, calendário e depoimentos
   ========================================================== */

/* ================= ORGANIZE ================= */
.mz-org {
  --mz-glow-x: 90%;
  --mz-glow2-x: 8%;
  padding-bottom: 8.5rem;
}

.mz-org__head {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  align-items: end;
  gap: 2rem 4rem;
}

.mz-org .mz-title { font-size: clamp(2.4rem, 4.8vw, 4.4rem); }

.mz-org__lead {
  margin: 0 0 1.75rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--mz-volt);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.55;
  color: var(--mz-text);
}

/* foto + cartão de itens */
.mz-org__stage {
  position: relative;
  margin-top: 3.5rem;
}

.mz-org__photo {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 7;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 70px -35px rgba(13, 20, 32, .55);
}

.mz-org__photo img {
  width: 100%;
  height: 100% !important; /* o tema força "figure img { height: auto !important }" */
  object-fit: cover;
  object-position: 50% 40%;
  transition: transform 1.2s var(--mz-ease);
}

.mz-org__photo:hover img { transform: scale(1.03); }

.mz-org__photo .mz-pins span { background: rgba(255, 255, 255, .85); }

/* cartão "Locamos" — número de peito com faixa verde-limão */
.mz-kit {
  position: absolute;
  right: 2.5rem;
  bottom: -3.5rem;
  width: min(620px, calc(100% - 5rem));
  border-radius: 16px;
  overflow: hidden;
  background: var(--mz-card);
  box-shadow: 0 30px 60px -28px rgba(13, 20, 32, .55);
  transform: rotate(-1.2deg);
  transition: transform .45s var(--mz-ease);
}

.mz-kit:hover { transform: rotate(0) translateY(-4px); }

.mz-kit__title {
  margin: 0;
  padding: .85rem 1.4rem;
  background: var(--mz-volt);
  color: var(--mz-ink);
  font-family: var(--mz-display);
  font-style: italic;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  text-transform: uppercase;
}

.mz-kit__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
  margin: 0;
  padding: 1.25rem 1rem 1.35rem;
}

.mz-kit__list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  padding: 0 .4rem;
  text-align: center;
  font-size: .9rem;
  font-weight: 700;
  color: var(--mz-ink);
  line-height: 1.2;
}

.mz-kit__list li + li { border-left: 2px dashed #e3e8ef; }

.mz-kit__list svg {
  width: 3rem;
  height: 3rem;
  padding: .65rem;
  border-radius: 50%;
  background: var(--mz-blue-soft);
  fill: none;
  stroke: var(--mz-blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mz-kit__more { color: var(--mz-blue) !important; }
.mz-kit__more svg { background: var(--mz-ink); stroke: var(--mz-volt); }

/* ================= EQUIPES ================= */
.mz-section.mz-team {
  --mz-bg: #ffffff;
  --mz-glow-x: 10%;
  --mz-glow2-x: 92%;
}

.mz-team .mz-finish { margin: 3rem 0 4rem; }

.mz-team__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 4.5rem;
}

/* foto "impressa" e presa com alfinetes */
.mz-team__photo {
  position: relative;
  margin: 0 1.5rem 0 0;
  padding: 12px;
  border-radius: 20px;
  background: var(--mz-card);
  box-shadow: 0 30px 60px -30px rgba(13, 20, 32, .5);
  transform: rotate(-2deg);
  transition: transform .5s var(--mz-ease);
}

.mz-team__photo:hover { transform: rotate(0); }

.mz-team__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 595 / 507;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.mz-team__photo .mz-pins span:nth-child(1) { top: 22px; left: 22px; }
.mz-team__photo .mz-pins span:nth-child(2) { top: 22px; right: 22px; }
.mz-team__photo .mz-pins span:nth-child(3) { bottom: 22px; left: 22px; }
.mz-team__photo .mz-pins span:nth-child(4) { bottom: 22px; right: 22px; }
.mz-team__photo .mz-pins span { background: rgba(255, 255, 255, .9); }

/* selo 10+ */
.mz-sticker {
  position: absolute;
  top: -2.2rem;
  right: -2rem;
  display: grid;
  place-items: center;
  align-content: center;
  width: 9.5rem;
  height: 9.5rem;
  border-radius: 50%;
  background: var(--mz-volt);
  color: var(--mz-ink);
  box-shadow: 0 0 0 6px #fff, 0 18px 40px -12px rgba(13, 20, 32, .45);
  transform: rotate(10deg);
}

.mz-sticker b {
  font-family: var(--mz-display);
  font-style: italic;
  font-weight: 800;
  font-size: 4.2rem;
  line-height: .85;
  letter-spacing: -.02em;
}

.mz-sticker em { font-style: inherit; color: var(--mz-blue); }

.mz-sticker small {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.mz-team__sub {
  margin: 0 0 1rem;
  font-family: var(--mz-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--mz-blue);
}

.mz-team__text {
  margin: 0 0 1.75rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--mz-muted);
}

/* medidor de desconto progressivo */
.mz-meter {
  margin-bottom: 1.75rem;
  padding: 1.2rem 1.3rem 1.1rem;
  border-radius: 16px;
  background: var(--mz-bg-soft, #f3f6fb);
  border: 1px solid #e6ebf3;
}

.mz-meter {
  --total: 13; /* bolinhas visíveis */
  --before: 9; /* bolinhas antes do 10º atleta */
}

.mz-meter__row {
  display: grid;
  grid-template-columns: repeat(var(--total), 1fr);
  gap: .35rem;
}

/* cada bolinha é um atleta */
.mz-meter__row i {
  aspect-ratio: 1;
  border-radius: 50%;
  background: #d5dde9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0z'/%3E%3C/svg%3E") center / 62% no-repeat;
}

.mz-meter__row i.is-goal {
  background-color: var(--mz-blue);
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--mz-blue);
}

.mz-meter__row i.is-plus {
  background-color: var(--mz-volt);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231b2433'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0z'/%3E%3C/svg%3E");
}

.mz-meter__bar {
  position: relative;
  height: 8px;
  margin: .9rem 0 .6rem;
  border-radius: 999px;
  background: #e1e7f0;
  overflow: hidden;
}

/* o desconto "liga" no 10º atleta e cresce dali em diante */
.mz-meter__bar span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--before) / var(--total) * 100%);
  right: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mz-blue), var(--mz-volt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--mz-ease) .3s;
}

.mz-team.is-visible .mz-meter__bar span { transform: scaleX(1); }

.mz-meter__legend {
  display: grid;
  grid-template-columns: repeat(var(--total), 1fr);
  font-size: .78rem;
  font-weight: 700;
  color: var(--mz-muted);
}

.mz-meter__legend span:first-child { grid-column: 1 / span var(--before); padding-right: .5rem; text-align: right; color: var(--mz-blue); }
.mz-meter__legend span:last-child { grid-column: calc(var(--before) + 1) / -1; padding-left: .5rem; color: var(--mz-ink); }

/* benefícios */
.mz-perks {
  display: grid;
  gap: .8rem;
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.mz-perks li {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-weight: 600;
  color: var(--mz-ink);
}

.mz-perks__ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--mz-volt);
}

.mz-perks__ico svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: var(--mz-ink);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mz-team__body .mz-btn { white-space: normal; text-align: left; }

/* entrada em cascata */
.mz-team__body.mz-reveal { transition-delay: .15s; }

/* ================= RESPONSIVO ================= */
@media (max-width: 1199.98px) {
  .mz-kit__list li { font-size: .82rem; }
  .mz-team__grid { gap: 3.5rem; }
}

@media (max-width: 991.98px) {
  .mz-org__head { grid-template-columns: 1fr; }
  .mz-org { padding-bottom: 6.5rem; }
  .mz-org__photo { aspect-ratio: 16 / 9; }

  /* cartão sai de cima da foto e fica logo abaixo, sobrepondo só a borda */
  .mz-kit {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 2rem);
    margin: -2.5rem auto 0;
    transform: none;
  }
  .mz-kit:hover { transform: none; }

  .mz-team__grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .mz-team__photo { max-width: 560px; margin: 0 auto; width: calc(100% - 2rem); }
}

@media (max-width: 767.98px) {
  .mz-org__lead { padding-left: 1rem; }
  .mz-org__intro .mz-btn { width: 100%; }
  .mz-org__stage { margin-top: 2.5rem; }
  .mz-org__photo { aspect-ratio: 4 / 3; border-radius: 16px; }

  .mz-kit { width: calc(100% - 1rem); }
  .mz-kit__list {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 1.1rem;
    padding: 1.1rem .5rem 1.2rem;
  }
  .mz-kit__list li + li { border-left: 0; }
  .mz-kit__list svg { width: 2.7rem; height: 2.7rem; }

  .mz-team .mz-finish { margin: 2.5rem 0 3rem; }
  .mz-team__photo { width: calc(100% - 1.5rem); padding: 8px; }
  .mz-sticker { width: 7rem; height: 7rem; top: -1.6rem; right: -1rem; }
  .mz-sticker b { font-size: 3rem; }
  .mz-sticker small { font-size: .6rem; }

  /* no celular mostra menos atletas para as bolinhas não ficarem minúsculas */
  .mz-meter { --total: 9; --before: 5; padding: 1rem; }
  .mz-meter__row i:nth-child(-n+4) { display: none; }
  .mz-meter__row { gap: .3rem; }
  .mz-meter__legend { font-size: .72rem; }

  .mz-team__body .mz-btn { width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  .mz-meter__bar span { transform: none; }
}
