/* ==========================================================================
   JUDÔ — PÁGINA INDIVIDUAL
   ========================================================================== */

.esporte-judo {
  overflow: hidden;
  background: #fff;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.judo-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;

  background-color: #143e67;
  background-image: var(--judo-hero-bg);
  background-position: center;
  background-size: cover;
}

.judo-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;

  background: rgba(0, 0, 0, 0.57);
}

.judo-hero__row {
  position: relative;
  z-index: 1;
  min-height: 520px;
}

.judo-hero__atleta {
  display: flex;
  align-items: flex-end;
  justify-content: center;

  height: 100%;
  padding-top: 2rem;
}

.judo-hero__atleta-imagem {
  display: block;

  width: min(100%, 420px);
  height: auto;
  max-height: 490px;

  object-fit: contain;
  object-position: center bottom;
}

.judo-hero__conteudo {
  max-width: 34rem;
  padding-block: 3.5rem;

  color: #fff;
}

/* .judo-hero__titulo {
  margin: 0 0 1.25rem;

  color: #fff;
  font-family: var(--font-body);
  font-size: clamp(2.7rem, 8vw, 5.2rem);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.035em;
  text-transform: uppercase;
} */

.judo-hero__titulo {
  margin: 0 0 1.25rem;

  color: #fff;
  font-family: var(--font-body);
  font-size: clamp(2.7rem, 8vw, 4rem);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.035em;
}

.judo-hero__titulo-linha {
  display: block;
}

.judo-hero__titulo-linha--nome {
  font-weight: 400;
}

.judo-hero__titulo-linha--marca {
  font-weight: 700;
  text-transform: uppercase;
}

.judo-hero__decoracao {
  display: flex;
  gap: 0.5rem;

  margin-bottom: 2.5rem;
}

.judo-hero__decoracao span {
  display: block;

  width: 4rem;
  height: 0.35rem;

  border-radius: 999px;
  background: #185083;
}

.judo-hero__decoracao span:nth-child(2) {
  background: #8bc53f;
}

.judo-hero__decoracao span:nth-child(3) {
  background: #74469c;
}

.judo-hero__decoracao span:nth-child(4) {
  background: #f26a21;
}

.judo-hero__decoracao span:nth-child(5) {
  background: #ffcd18;
}

.judo-hero__chamada {
  max-width: 29rem;
  margin: 0 0 1.5rem;

  color: #fff;
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 800;
  line-height: 1.08;
}

.judo-hero__texto {
  max-width: 30rem;

  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
}

.judo-hero__texto p {
  margin: 0 0 1rem;
}

.judo-hero__texto p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   GALERIA
   ========================================================================== */

.judo-galeria {
  padding-block: clamp(2.5rem, 6vw, 4rem);
  background: #fff;
}

.judo-galeria__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;

  max-width: 920px;
  margin-inline: auto;
}

.judo-galeria__item {
  min-height: 220px;
  margin: 0;
  overflow: hidden;

  border-radius: 0.5rem;
  background: #e8e8e8;
}

.judo-galeria__imagem {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.35s ease;
}

.judo-galeria__item:hover .judo-galeria__imagem {
  transform: scale(1.035);
}

/* ==========================================================================
   BENEFÍCIOS
   ========================================================================== */

.judo-beneficios {
  padding-block: clamp(3rem, 7vw, 5.5rem);
  background: #fff;
}

.judo-beneficios__card {
  max-width: 20rem;
  height: 100%;
  margin-inline: auto;
}

.judo-beneficios__icone {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 52px;
  height: 52px;
  margin-bottom: 1rem;

  /*   border-radius: 0.75rem; */
  /*   background: trans; */
}

.judo-beneficios__icone img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
}

.judo-beneficios__card:nth-child(3n + 2) .judo-beneficios__icone {
  background: #f26a21;
}

.judo-beneficios__card:nth-child(3n) .judo-beneficios__icone {
  background: #74469c;
}

.judo-beneficios__titulo {
  margin: 0 0 0.75rem;

  color: #434343;
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.judo-beneficios__texto {
  color: #434343;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.35;
}

.judo-beneficios__texto p {
  margin: 0 0 0.75rem;
}

.judo-beneficios__texto p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   TABLET
   ========================================================================== */

@media (min-width: 576px) {
  .judo-galeria__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .judo-galeria__item {
    min-height: 250px;
  }
}

/* ==========================================================================
   DESKTOP
   ========================================================================== */

@media (min-width: 992px) {
  .judo-hero {
    min-height: 545px;
  }

  .judo-hero__row {
    min-height: 545px;
  }

  .judo-hero__atleta {
    padding-top: 0;
  }

  .judo-hero__atleta-imagem {
    width: 460px;
    max-height: 540px;
  }

  .judo-hero__conteudo {
    padding-block: 4rem;
  }

  .judo-hero__decoracao {
    margin-bottom: 2.75rem;
  }

  .judo-hero__decoracao span {
    width: 4.6rem;
  }

  .judo-hero__chamada {
    font-size: 1.7rem;
  }

  .judo-galeria {
    padding-block: clamp(3rem, 6vw, 4.5rem);
  }

  /*
	 * Estrutura do Figma:
	 *
	 * [ imagem 1 grande ][ imagem 2 grande ]
	 * [ imagem 3 ][ imagem 4 ][ imagem 5 ][ imagem 6 ]
	 */
  .judo-galeria__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: 500px 360px;
    gap: 0.75rem;
    max-width: 100%;
  }

  .judo-galeria__item {
    min-height: 0;
  }

  .judo-galeria__item--1 {
    grid-column: span 2;
  }

  .judo-galeria__item--2 {
    grid-column: span 2;
  }

  .judo-galeria__item--3,
  .judo-galeria__item--4,
  .judo-galeria__item--5,
  .judo-galeria__item--6 {
    grid-column: span 1;
  }

  .judo-beneficios {
    padding-block: clamp(4rem, 7vw, 6rem);
  }

  .judo-beneficios__texto {
    font-size: 0.875rem;
  }
}

/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 767.98px) {
  .judo-hero {
    min-height: auto;
  }

  .judo-hero__row {
    min-height: auto;
  }

  .judo-hero__conteudo {
    padding-block: 3.5rem 2rem;
  }

  .judo-hero__atleta {
    min-height: 300px;
    padding-top: 0;
  }

  .judo-hero__atleta-imagem {
    width: min(100%, 340px);
    max-height: 400px;
  }

  .judo-hero__decoracao {
    gap: 0.35rem;
    margin-bottom: 2rem;
  }

  .judo-hero__decoracao span {
    width: 2.7rem;
    height: 0.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .judo-galeria__imagem {
    transition: none;
  }
}
