/**
 * Consulmar — Prémios v24.
 * Um único componente visual, sem ScrollTrigger/pin e sem captura da roda.
 */
:root {
  --csm-awards24-blue: #004b73;
  --csm-awards24-ink: #08283b;
  --csm-awards24-muted: #c6d0da;
  --csm-awards24-rope: url('/wp-content/uploads/2026/08/corda.svg');
}

.csm-awards24-ready > .wpb_column > .vc_column-inner > .wpb_wrapper > .wpb_raw_code,
.csm-awards24-ready > .wpb_column > .vc_column-inner > .wpb_wrapper > .vc_inner.vc_row-fluid[class*="year_"] {
  display: none !important;
}

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

.csm-awards24 {
  --csm-awards24-progress: 0;
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 24px 14px 24px;
  color: var(--csm-awards24-ink);
  overflow: visible;
}

.csm-awards24-mobile { display: none; }

.csm-awards24-desktop {
  display: block;
  width: 100%;
}

.csm-awards24-timeline {
  position: relative;
  width: 100%;
  height: 112px;
}

.csm-awards24-rope {
  position: absolute;
  top: 17px;
  right: 0;
  left: 0;
  height: 10px;
  background: var(--csm-awards24-rope) repeat-x left center / auto 10px;
}

.csm-awards24-markers {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(var(--csm-awards24-count), minmax(0, 1fr));
  width: 100%;
}

.csm-awards24-marker {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--csm-awards24-muted);
  text-align: left;
  cursor: pointer;
}

.csm-awards24-marker:last-child {
  align-items: flex-end;
  text-align: right;
}

.csm-awards24-dot {
  display: block;
  width: 22px;
  height: 22px;
  margin: 7px 0 14px;
  border-radius: 50%;
  background: #e2e7ec;
  box-shadow: 0 0 0 2px #fff;
  transition: background-color .2s ease, transform .2s ease;
}

.csm-awards24-marker.is-passed .csm-awards24-dot,
.csm-awards24-marker.is-active .csm-awards24-dot {
  background: var(--csm-awards24-blue);
}

.csm-awards24-marker.is-active .csm-awards24-dot {
  transform: scale(1.08);
}

.csm-awards24-marker-year {
  font-family: "Montserrat-Medium", "Montserrat", sans-serif;
  font-size: clamp(34px, 3vw, 58px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.045em;
  color: inherit;
}

.csm-awards24-marker.is-active {
  color: var(--csm-awards24-blue);
}

.csm-awards24-desktop-viewport {
  --csm-awards24-card-width: min(320px, 24vw);
  position: relative;
  width: 100%;
  min-height: 0;
  padding-top: 4px;
}

.csm-awards24-desktop-card {
  width: var(--csm-awards24-card-width);
  max-width: 100%;
  margin-left: calc((100% - var(--csm-awards24-card-width)) * var(--csm-awards24-progress));
  transition: margin-left .42s cubic-bezier(.22,.61,.36,1);
}

.csm-awards24-title {
  margin: 0 0 18px;
  font-family: "Montserrat-Medium", "Montserrat", sans-serif;
  font-size: clamp(22px, 1.62vw, 31px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -.038em;
  text-transform: uppercase;
  color: var(--csm-awards24-blue);
}

.csm-awards24-copy {
  margin: 0;
  font-family: "Montserrat-Medium", "Montserrat", sans-serif;
  font-size: clamp(15px, 1.08vw, 21px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: #101f29;
}

.csm-awards24-copy p { margin: 0; }

.csm-awards24-divider {
  width: 58px;
  height: 9px;
  margin: 18px 0 15px;
  background: var(--csm-awards24-rope) repeat-x left center / auto 9px;
}

.csm-awards24-figure {
  width: min(100%, 300px);
  max-width: 300px;
  margin: 24px 0 0;
  overflow: hidden;
}

.csm-awards24-figure img,
.vc_row.award_year .csm-awards24-figure img {
  display: block !important;
  width: 100% !important;
  max-width: 300px !important;
  height: auto !important;
  max-height: 300px !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
}

@media (min-width: 768px) and (max-width: 991px) {
  .csm-awards24-desktop-viewport {
    --csm-awards24-card-width: min(340px, 46vw);
  }

  .csm-awards24-marker-year { font-size: 34px; }
}

@media (max-width: 767px) {
  #premios,
  #premios > .wpb_column,
  #premios > .wpb_column > .vc_column-inner,
  #premios > .wpb_column > .vc_column-inner > .wpb_wrapper,
  .vc_row.award_year,
  .vc_row.award_year > .wpb_column,
  .vc_row.award_year > .wpb_column > .vc_column-inner,
  .vc_row.award_year > .wpb_column > .vc_column-inner > .wpb_wrapper {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: visible !important;
  }

  #premios > .wpb_column > .vc_column-inner,
  .vc_row.award_year > .wpb_column > .vc_column-inner {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  #premios .premio p {
    margin: 0 0 34px !important;
    font-size: 23px !important;
    line-height: 1.08 !important;
  }

  #premios .premio_text p {
    width: 100% !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.28 !important;
  }

  .csm-awards24 {
    padding: 40px 0 12px;
    touch-action: pan-y;
  }

  .csm-awards24-desktop { display: none !important; }
  .csm-awards24-mobile { display: block !important; width: 100%; }

  .csm-awards24-mobile-progress {
    position: relative;
    width: 100%;
    height: 88px;
    margin: 0 0 6px;
    overflow: visible;
  }

  .csm-awards24-mobile-rope {
    position: absolute;
    top: 14px;
    right: 0;
    left: 0;
    height: 9px;
    background: var(--csm-awards24-rope) repeat-x left center / auto 9px;
  }

  .csm-awards24-mobile-rope span {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 46px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--csm-awards24-blue);
    transform: translate(-50%, -50%);
  }

  .csm-awards24-mobile-year {
    position: absolute;
    top: 52px;
    left: 46px;
    font-family: "Montserrat-Medium", "Montserrat", sans-serif;
    font-size: 24px;
    line-height: 1;
    color: var(--csm-awards24-blue);
  }

  .csm-awards24-mobile-viewport {
    position: relative;
    display: block;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    touch-action: pan-y;
  }

  .csm-awards24-mobile-card {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .csm-awards24-title {
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.08;
  }

  .csm-awards24-copy {
    font-size: 16px;
    line-height: 1.15;
  }

  .csm-awards24-divider {
    width: 44px;
    height: 8px;
    margin: 18px 0 16px;
    background-size: auto 8px;
  }

  .csm-awards24-figure {
    width: min(100%, 300px) !important;
    max-width: 300px !important;
    margin: 24px 0 0 !important;
  }

  .csm-awards24-figure img,
  .vc_row.award_year .csm-awards24-figure img {
    width: 100% !important;
    max-width: 300px !important;
    max-height: 300px !important;
  }

  .csm-awards24-mobile-nav {
    display: grid !important;
    grid-template-columns: 48px minmax(0, 1fr) 48px !important;
    align-items: center !important;
    gap: 14px !important;
    width: 100% !important;
    margin: 28px 0 4px !important;
  }

  .csm-awards24-nav {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    border: 1px solid var(--csm-awards24-blue) !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: var(--csm-awards24-blue) !important;
    font-size: 20px !important;
    line-height: 1 !important;
    touch-action: manipulation !important;
  }

  .csm-awards24-prev { justify-self: start; }
  .csm-awards24-next { justify-self: end; }
  .csm-awards24-nav:disabled { opacity: .28 !important; }
  .csm-awards24-counter { text-align: center; }
}

@media (max-width: 360px) {
  .csm-awards24-figure,
  .csm-awards24-figure img,
  .vc_row.award_year .csm-awards24-figure img {
    max-width: 270px !important;
    max-height: 270px !important;
  }
}
