/* ============================================================
   NERON GYM — home.css (seções da página inicial)
   ============================================================ */

/* ============================================================
   HERO + CARROSSEL
   ============================================================ */
.hero {
  position: relative;
  padding-top: var(--header-h);

  /* Seção mais baixa que a foto: ancorada pelo topo (center top),
     o corte cai embaixo — na área vazia do short/pernas — e não na
     cabeça. Reduza o segundo número para subir mais o fim da seção. */
  aspect-ratio: 1718 / 700;
  min-height: 460px;

  display: flex;
  align-items: center;
  overflow: hidden;

  /* Foto de fundo — trocável pelo painel admin (dados.json > hero > imagem) */
  background-color: var(--preto);
  background-image: url('../img/home_hero.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* Degradê na base do hero — funde a foto no preto da seção de depoimentos */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, var(--preto));
  pointer-events: none;
  z-index: 1;
}

#heroEstatico {
  position: relative;
  z-index: 2;
  width: 100%;
}

.carousel {
  position: relative;
  overflow: hidden;
}

.carousel__track {
  position: relative;
}

.carousel__slide {
  display: none;
  animation: fadeSlide .5s ease;
}

.carousel__slide.is-active {
  display: block;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--borda);
  background: rgba(7, 7, 7, .7);
  color: var(--branco);
  font-size: 1rem;
  cursor: pointer;
  transition: all .25s ease;
}

.carousel__arrow:hover {
  background: var(--amarelo);
  color: var(--preto);
  border-color: var(--amarelo);
}

.carousel__arrow--prev {
  left: 16px;
}

.carousel__arrow--next {
  right: 16px;
}

.carousel__dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}

.carousel__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: #4a4a4a;
  cursor: pointer;
  transition: all .25s ease;
  padding: 0;
}

.carousel__dot.is-active {
  background: var(--amarelo);
  transform: scale(1.25);
}

/* Conteúdo alinhado à direita, sobre a foto de fundo */
.hero__slide {
  position: relative;
  display: flex;
  justify-content: flex-end;
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 24px;
}

.hero__content {
  max-width: 620px;
  padding: 20px 0;
  position: relative;
  z-index: 2;
}

.hero__tagline {
  display: block;
  color: var(--amarelo);
  font-family: var(--font-titulo);
  font-weight: 600;
  letter-spacing: 4px;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.hero__title {
  font-family: var(--font-titulo);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(3.4rem, 7vw, 5.6rem);
  line-height: .95;
  text-transform: uppercase;
  color: var(--cinza-claro);
}

.hero__title span {
  color: var(--amarelo);
}

.hero__text {
  color: var(--cinza-texto);
  margin: 24px 0 34px;
  font-size: 1.2rem;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Botões maiores só no topo */
.hero__actions .btn {
  padding: 17px 36px;
  font-size: 1.15rem;
}

/* ============================================================
   DIFERENCIAIS (faixa abaixo do hero)
   ============================================================ */
.features {
  background: var(--preto-2);
  border-top: 1px solid var(--borda);
  border-bottom: 1px solid var(--borda);
  padding: 34px 0;
}

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

.feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 0 12px;
}

.feature + .feature {
  border-left: 1px solid var(--borda);
}

.feature__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--amarelo);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amarelo);
}

.feature__icon svg {
  width: 22px;
  height: 22px;
}

.feature__info h3 {
  font-family: var(--font-titulo);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.feature__info p {
  color: var(--cinza-texto);
  font-size: .8rem;
  line-height: 1.5;
}

/* ============================================================
   TREINOS
   ============================================================ */
.treinos {
  background: var(--preto);
}

.treinos__header {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.treinos__intro {
  color: var(--cinza-texto);
  font-size: .95rem;
  border-left: 1px solid var(--borda);
  padding-left: 40px;
}

.treinos .section-label {
  text-align: left;
}

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

.treino-card {
  position: relative;
  background: var(--preto-3);
  border: 1px solid var(--amarelo);
  border-radius: 10px;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: stretch;
  transition: transform .3s ease, box-shadow .3s ease;
}

.treino-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(245, 166, 35, .12);
}

/* Foto preenchendo TODO o card (miolo inteiro), sem faixas pretas.
   Ancorada à direita para as pessoas não ficarem atrás do texto. */
.treino-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  border: none;
}

/* Degradê escuro para o texto ficar legível na esquerda */
.treino-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(10, 10, 10, .96) 32%,
    rgba(10, 10, 10, .7) 52%,
    rgba(10, 10, 10, .1) 78%
  );
}

.treino-card__body {
  position: relative;
  z-index: 2;
  padding: 40px 32px;
  max-width: 62%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.treino-card__title::after {
  content: '';
  display: block;
  width: 140px;
  height: 1px;
  background: #4a4a4a;
  margin-top: 16px;
}

.treino-card__icon {
  width: 54px;
  height: 54px;
  border: 2px solid var(--amarelo);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amarelo);
  margin-bottom: 18px;
}

.treino-card__icon svg {
  width: 28px;
  height: 28px;
}

.treino-card__title {
  font-family: var(--font-titulo);
  font-style: italic;
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.treino-card__title span {
  color: var(--amarelo);
}

.treino-card__desc {
  color: var(--cinza-texto);
  font-size: .9rem;
}

.treino-card .arrow {
  font-size: 1.1rem;
  line-height: 1;
}

/* ============================================================
   TRANSFORMAÇÕES
   ============================================================ */
.transformacoes {
  background: var(--preto-2);
  border-top: 1px solid var(--borda);
  border-bottom: 1px solid var(--borda);
}

.transformacoes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.transf-card {
  background: var(--preto-3);
  border: 1px solid var(--borda);
  border-radius: 6px;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease;
}

.transf-card:hover {
  transform: translateY(-6px);
  border-color: var(--amarelo);
}

.transf-card__img {
  min-height: 260px;
  border: none;
  border-bottom: 1px dashed #3a3a3a;
}

.transf-card__body {
  padding: 20px;
}

.transf-card__body h3 {
  font-family: var(--font-titulo);
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 1.1rem;
  color: var(--amarelo);
  margin-bottom: 8px;
}

.transf-card__body p {
  color: var(--cinza-texto);
  font-size: .85rem;
  font-style: italic;
}

/* ============================================================
   EVENTOS
   ============================================================ */
.eventos {
  background: var(--preto);
}

.carousel--eventos {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 6px;
}

.evento__img {
  min-height: 420px;
  width: 100%;
}

img.evento__img {
  min-height: 0;
  height: auto;
  border-radius: 6px;
}

.carousel--eventos .carousel__dots {
  bottom: -28px;
}

.carousel--eventos {
  margin-bottom: 40px;
}

/* Mensagem exibida quando não há eventos cadastrados */
.eventos-vazio {
  max-width: 640px;
  margin: 8px auto 0;
  padding: 48px 28px;
  text-align: center;
  border: 1px dashed var(--borda);
  border-radius: 8px;
  background: var(--preto-2);
  color: var(--cinza-texto);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ============================================================
   PRODUTOS
   ============================================================ */
.produtos {
  background: var(--preto-2);
  border-top: 1px solid var(--borda);
  border-bottom: 1px solid var(--borda);
}

/* Busca por nome (lupa) */
.produtos__busca {
  position: relative;
  max-width: 380px;
  margin: 0 auto 30px;
}

.produtos__lupa {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--cinza-texto);
  pointer-events: none;
}

.produtos__busca input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border-radius: 999px;
  border: 1px solid var(--borda);
  background: var(--preto-3);
  color: var(--branco);
  font-family: var(--font-corpo);
  font-size: .9rem;
  transition: border-color .2s ease;
}

.produtos__busca input::placeholder { color: var(--cinza-texto); }

.produtos__busca input:focus {
  outline: none;
  border-color: var(--amarelo);
}

/* Carrossel horizontal (arrasta pro lado) */
.produtos__grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  cursor: grab;
  user-select: none;
  scrollbar-width: thin;
  scrollbar-color: var(--borda) transparent;
  -webkit-overflow-scrolling: touch;
}

.produtos__grid img {
  -webkit-user-drag: none;
  user-select: none;
}

.produtos__grid.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.produtos__grid::-webkit-scrollbar { height: 8px; }
.produtos__grid::-webkit-scrollbar-thumb {
  background: var(--borda);
  border-radius: 4px;
}

.produtos__vazio {
  width: 100%;
  text-align: center;
  color: var(--cinza-texto);
  padding: 24px 0;
}

.produto-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: var(--preto-3);
  border: 1px solid var(--amarelo);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}

.produto-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(245, 166, 35, .12);
}

.produto-card__img {
  min-height: 200px;
  background: #f4f4f4;
  border: none;
  border-bottom: 1px solid var(--borda);
  color: #999;
}

img.produto-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  padding: 0;
  display: block;
}

.produto-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.produto-card__body h3 {
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--cinza-claro);
  flex: 1;
}

.produto-card__preco {
  font-family: var(--font-titulo);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--amarelo);
}

.produto-card__loja {
  font-size: .8rem;
  color: var(--cinza-texto);
}

.produto-card__frete {
  font-size: .78rem;
  color: #8a8a8a;
}

.produto-card .stars {
  color: var(--amarelo);
  letter-spacing: 1px;
}

.produto-card__foto {
  display: block;
}

/* Botão COMPRAR — leva ao WhatsApp da Neron */
.produto-card__comprar {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 6px;
  background: #25d366;
  color: #fff;
  font-family: var(--font-titulo);
  font-weight: 700;
  letter-spacing: 1px;
  font-size: .95rem;
  transition: background .2s ease, transform .2s ease;
}

.produto-card__comprar:hover {
  background: #1ebe5b;
  transform: translateY(-2px);
}

.produto-card__comprar .icon {
  width: 18px;
  height: 18px;
}

/* ============================================================
   PLANOS
   ============================================================ */
.planos {
  background: var(--preto);
}

.planos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.plano-card {
  position: relative;
  background: var(--preto-3);
  border: 1px solid var(--borda);
  border-radius: 6px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform .3s ease, border-color .3s ease;
}

.plano-card:hover {
  transform: translateY(-6px);
  border-color: var(--amarelo);
}

.plano-card--destaque {
  border: 2px solid var(--amarelo);
  background: linear-gradient(180deg, rgba(245, 166, 35, .07), transparent 55%), var(--preto-3);
  transform: scale(1.03);
}

.plano-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amarelo);
  color: var(--preto);
  font-family: var(--font-titulo);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: 2px;
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.plano-card__nome {
  font-family: var(--font-titulo);
  font-style: italic;
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.plano-card__preco {
  font-family: var(--font-titulo);
  font-weight: 800;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--amarelo);
  margin-bottom: 8px;
}

.plano-card__preco small {
  font-size: 1.2rem;
  vertical-align: top;
}

.plano-card__preco span {
  font-size: 1.4rem;
}

.plano-card__preco em {
  font-style: normal;
  font-size: .85rem;
  color: var(--cinza-texto);
  font-family: var(--font-corpo);
  font-weight: 400;
}

.plano-card .check-list {
  text-align: left;
  margin: 20px auto 28px;
  flex: 1;
}

.plano-card .btn {
  width: 100%;
}

/* ============================================================
   SOBRE NÓS
   ============================================================ */
.sobre {
  background-color: var(--preto-2);
  /* Foto da equipe (já vem com degradê). O gradiente extra reforça a
     leitura dos textos à esquerda em qualquer tamanho de tela. */
  background-image:
    linear-gradient(to right, var(--preto-2) 0%, rgba(13, 13, 13, .55) 42%, rgba(13, 13, 13, 0) 72%),
    url('../img/equipe.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.sobre__grid {
  display: block;
}

.sobre__content {
  max-width: 620px;
}

/* Título maior nesta seção */
.sobre__content .section-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  max-width: 560px;
}

/* Parágrafos estreitos para não invadir a foto da equipe */
.sobre__content > p {
  max-width: 460px;
}

.sobre__content > p {
  color: var(--cinza-texto);
  font-size: .92rem;
  line-height: 1.55;
  margin-top: 12px;
}

.sobre__valores {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--borda);
}

.valor {
  padding-right: 12px;
}

.valor + .valor {
  border-left: 1px solid var(--borda);
  padding-left: 16px;
}

.valor svg {
  width: 30px;
  height: 30px;
  color: var(--amarelo);
  margin-bottom: 10px;
}

.valor h4 {
  font-family: var(--font-titulo);
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: .95rem;
  margin-bottom: 6px;
}

.valor p {
  color: var(--cinza-texto);
  font-size: .75rem;
  line-height: 1.5;
}

/* ============================================================
   CONTATO / CTA
   ============================================================ */
.contato {
  background: var(--preto);
}

/* Texto à esquerda, mapa quadrado à direita */
.contato__inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: center;
}

.contato__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: 28px;
}

.contato__texto .section-subtitle {
  text-align: left;
  max-width: 460px;
  margin: 14px 0 0;
}

.contato__endereco {
  color: var(--cinza-texto);
  font-size: .9rem;
}

/* Mapa da localização (coluna direita) */
.contato__mapa {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contato__mapa-quadro {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--borda);
  border-radius: 10px;
  overflow: hidden;
}

.contato__mapa-quadro iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  /* Deixa o mapa no tom escuro do site */
  filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

.contato__rota {
  width: 100%;
}

/* ============================================================
   DEPOIMENTOS — carrossel infinito (notificações liquid glass)
   ============================================================ */
.depoimentos {
  position: relative;
  overflow: hidden;
  padding: 44px 0;
  background: var(--preto);
}

/* Brilho por trás para o "vidro" ter o que refratar.
   A 1ª camada é um degradê preto no topo: faz a seção começar preta
   (igual ao fim do hero) e o brilho âmbar só aparece mais abaixo,
   eliminando a linha dura na transição. */
.depoimentos::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--preto) 0%, rgba(7, 7, 7, 0) 38%, rgba(7, 7, 7, 0) 72%, var(--preto) 100%),
    radial-gradient(460px circle at 15% 45%, rgba(245, 166, 35, .16), transparent 60%),
    radial-gradient(460px circle at 85% 58%, rgba(245, 166, 35, .10), transparent 60%);
  pointer-events: none;
}

/* Máscara que suaviza as bordas esquerda/direita */
.depo-marquee {
  position: relative;
  z-index: 1;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

.depo-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: depo-scroll 55s linear infinite;
}

/* -50% = exatamente um conjunto (os cards são duplicados no main.js) */
@keyframes depo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .depo-track { animation: none; }
}

/* Cartão de notificação — liquid glass */
.notif-card {
  flex: 0 0 330px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .18);
}

.notif-icon {
  flex: 0 0 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-titulo);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}

.notif-body {
  min-width: 0;
  flex: 1;
}

.notif-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.notif-name {
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
}

.notif-time {
  font-size: .72rem;
  color: rgba(255, 255, 255, .5);
  white-space: nowrap;
}

.notif-text {
  margin-top: 3px;
  font-size: .82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, .88);
}

.notif-stars {
  margin-top: 5px;
  color: var(--amarelo);
  font-size: .78rem;
  letter-spacing: 2px;
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 992px) {
  .hero {
    /* No celular a proporção da foto deixaria a seção baixa demais */
    aspect-ratio: auto;
    min-height: 78vh;
    /* 15% centraliza o lutador no recorte estreito do celular
       (ele fica a ~29% da largura da foto original) */
    background-position: 15% top;
    align-items: flex-end; /* conteúdo no rodapé, abaixo do lutador */
  }

  /* Degradê inferior mais alto: cria uma faixa escura no rodapé para
     o título e os botões ficarem legíveis abaixo do lutador */
  .hero::after {
    height: 62%;
  }

  /* No celular mostramos só o título e os botões */
  .hero__tagline,
  .hero__text {
    display: none;
  }

  /* Título centralizado */
  .hero__title {
    text-align: center;
    font-size: clamp(2.9rem, 14vw, 4.2rem);
  }

  /* Botões centralizados, largos e mais finos */
  .hero__actions {
    margin-top: 22px;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 400px;
    padding: 16px 24px;
    font-size: 1.15rem;
  }

  /* Contato: empilha texto e mapa, centralizado */
  .contato__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .contato__actions {
    align-items: center;
  }

  .contato__texto .section-subtitle {
    text-align: center;
    margin: 14px auto 0;
  }

  .contato__mapa {
    max-width: 420px;
    margin: 0 auto;
  }

  .hero__slide {
    justify-content: center;
    padding: 0 24px 48px;
  }

  .hero__content {
    max-width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .feature + .feature {
    border-left: none;
  }

  .treinos__header {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .treinos__intro {
    border-left: none;
    padding-left: 0;
  }

  /* Mais alto para caber uma faixa limpa de foto no topo + o texto */
  .treino-card {
    min-height: 700px;
  }

  /* O padding do topo reserva a área da foto, então o texto começa
     abaixo dela em vez de ficar por cima */
  .treino-card__body {
    max-width: 100%;
    padding: 300px 24px 32px;
  }

  /* Sobe o enquadramento: quem aparece na foto fica na faixa limpa
     do topo, e não atrás do texto */
  .treino-card__bg {
    width: 100%;
    object-position: 65% 30%;
  }

  /* Na foto do Muay Thai o rapaz em destaque fica à direita do
     enquadramento: puxar até 100% traz ele para o centro do card */
  .treino-card:nth-child(2) .treino-card__bg {
    object-position: 100% 30%;
  }

  /* Foto sem fumê no topo; embaixo o escurecimento é leve, o suficiente
     para o texto (com sombra) continuar legível sem esconder a foto */
  .treino-card::before {
    background: linear-gradient(
      180deg,
      rgba(10, 10, 10, 0) 0%,
      rgba(10, 10, 10, 0) 32%,
      rgba(10, 10, 10, .72) 46%,
      rgba(10, 10, 10, .82) 100%
    );
  }

  /* Texto branco, com sombra para se destacar da foto */
  .treino-card__body,
  .treino-card__desc {
    color: var(--branco);
    text-shadow: 0 2px 6px rgba(0, 0, 0, .9);
  }

  /* Nome da aula maior */
  .treino-card__title {
    font-size: 2.5rem;
  }

  /* Descrição mais compacta: quebra a linha antes, em vez de
     atravessar o card todo */
  .treino-card__desc {
    max-width: 28ch;
  }

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

  .produtos__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .planos__grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .plano-card--destaque {
    transform: none;
  }

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

  .valor + .valor {
    border-left: none;
    padding-left: 0;
  }

  /* No celular: foto da equipe inteira no topo, desvanecendo para o
     preto, e o texto centralizado logo abaixo dela.
     - camada 1: degradê que funde a base da foto no preto
     - camada 2: a foto, com 380px de altura, ancorada à direita
       (é onde a equipe está na imagem original) */
  .sobre {
    background-image:
      linear-gradient(to bottom,
        var(--preto-2) 0%,
        rgba(13, 13, 13, 0) 34%,
        rgba(13, 13, 13, 0) 48%,
        var(--preto-2) 92%),
      url('../img/equipe.png');
    background-size: 100% 480px, auto 460px;
    background-position: left top, right top;
    background-repeat: no-repeat, no-repeat;
    padding-top: 480px; /* empurra o texto para baixo da foto */
  }

  /* O degradê de transição de seção escureceria o topo da foto */
  .sobre::before {
    display: none;
  }

  /* Sem os blocos Missão/Visão/Valores/Comunidade */
  .sobre__valores {
    display: none;
  }

  /* Texto centralizado (o style.css alinha o rótulo à esquerda) */
  .sobre__content {
    max-width: none;
    text-align: center;
  }

  .sobre .section-label {
    text-align: center;
  }

  .sobre__content .section-title,
  .sobre__content > p {
    max-width: none;
  }

  .evento__img {
    min-height: 280px;
  }
}

@media (max-width: 560px) {
  .features__grid {
    grid-template-columns: 1fr;
  }

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

  /* Zoom na equipe: a altura em vw faz a foto acompanhar a largura da
     tela, então a equipe preenche o quadro em qualquer celular (a faixa
     escura da imagem original fica de fora do recorte). */
  .sobre {
    background-size: 100% 115vw, auto 110vw;
    padding-top: 115vw;
  }

  .evento__img {
    min-height: 200px;
  }

  .carousel__arrow {
    width: 36px;
    height: 36px;
  }
}
