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

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

  /* Proporção da arte (1805x871): a foto aparece inteira, sem corte */
  aspect-ratio: 1805 / 871;
  min-height: 460px;

  display: flex;
  align-items: flex-end; /* conteúdo no rodapé, sobre os lutadores */
  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;
  /* Desce a arte para ela começar abaixo do cabeçalho fixo, em vez de
     ficar escondida atrás dele */
  background-origin: content-box;
  background-clip: content-box;
}

/* 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: 340px;
  background: linear-gradient(to bottom, transparent, rgba(7, 7, 7, .82) 55%, 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: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 24px 30px;
}

.hero__content {
  max-width: 900px;
  padding: 20px 0;
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Tagline e frase de apoio ficam ocultas: o topo mostra só o slogan */
.hero__tagline,
.hero__text {
  display: none;
}

.hero__tagline {
  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-claro);
  margin: 18px 0 0;
  font-size: .95rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Sem botões no topo: a arte fica limpa, com slogan e frase de apoio */
.hero__actions {
  display: none;
}

/* ============================================================
   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);
}

.horarios {
  background: var(--preto-2);
}

/* Os carrosséis de eventos e de horários compartilham o mesmo formato */
.carousel--eventos,
.carousel--horarios {
  max-width: 900px;
  margin: 0 auto 40px;
  border-radius: 6px;
}

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

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

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

/* Mensagem exibida quando não há banners 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);
  /* Sem borda embaixo: quem faz a transição para o uGym é o degradê */
}

/* 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);
}

/* ---------- Abas de modalidade ---------- */
.planos__abas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  margin: 0 auto 40px;
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--borda);
  border-radius: 999px;
  background: var(--preto-3);
}

.planos__aba {
  padding: 11px 26px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--cinza-texto);
  font-family: var(--font-titulo);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background .25s ease, color .25s ease;
}

.planos__aba:hover {
  color: var(--branco);
}

.planos__aba.is-active {
  background: var(--amarelo);
  color: var(--preto);
}

.planos__aba:focus-visible {
  outline: 2px solid var(--amarelo);
  outline-offset: 2px;
}

/* ---------- Painéis ---------- */
.planos__painel {
  display: none;
  max-width: 760px;
  margin: 0 auto;
  animation: planosEntra .35s ease;
}

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

@keyframes planosEntra {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

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

/* ---------- Bloco de valores ---------- */
.plano-bloco {
  position: relative;
  border: 1px solid var(--amarelo);
  border-radius: 14px;
  padding: 38px 28px 32px;
  background: var(--preto-3);
  text-align: center;
}

.plano-bloco + .plano-bloco {
  margin-top: 22px;
}

/* Etiqueta de frequência (3x na semana, etc.) */
.plano-bloco__freq {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 22px;
  background: var(--amarelo);
  color: var(--preto);
  font-family: var(--font-titulo);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 2px;
  white-space: nowrap;
  border-radius: 4px;
}

.plano-bloco__valores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.valor-item__rotulo {
  display: block;
  font-family: var(--font-titulo);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 1.5px;
  color: var(--amarelo);
}

.valor-item__preco {
  margin-top: 6px;
  font-family: var(--font-titulo);
  font-weight: 800;
  font-size: 2.8rem;
  line-height: 1;
  color: var(--branco);
}

.valor-item__preco small {
  font-size: 1.5rem;
  vertical-align: baseline;
  margin-right: 2px;
}

.plano-bloco__parcerias {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--borda);
  color: var(--cinza-texto);
  font-size: .9rem;
}

.plano-bloco__parcerias strong {
  color: var(--branco);
  font-weight: 600;
}

.planos__cta {
  display: flex;
  width: fit-content;
  margin: 30px auto 0;
}

/* ============================================================
   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;
}

/* ============================================================
   uGYM — monitor de performance
   Foto de fundo: img/ugymweb.png (1774x887, produtos à direita)
   ============================================================ */
.ugym {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 720px;
  padding: 90px 0;
  background-color: #0a0a0a;
  background-image: url('../img/ugymweb.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* A foto já é escura à esquerda, então o reforço é leve — o bastante
   para o texto ficar legível sem apagar os reflexos de luz da imagem */
.ugym::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8, 8, 8, .6) 0%,
    rgba(8, 8, 8, .4) 40%,
    rgba(8, 8, 8, .08) 66%,
    rgba(8, 8, 8, 0) 82%
  );
  pointer-events: none;
}

/* Funde o topo e a base da foto nas seções vizinhas (produtos acima,
   planos abaixo), evitando o corte reto */
.ugym::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, var(--preto) 0%, rgba(7, 7, 7, .9) 6%, rgba(7, 7, 7, 0) 28%),
    linear-gradient(to top, var(--preto) 0%, rgba(7, 7, 7, 0) 22%);
}

/* A foto ocupa a largura toda da tela, então o texto sai da caixa
   centralizada do .container e encosta mais à esquerda, acompanhando
   o enquadramento da imagem */
.ugym__inner {
  position: relative;
  z-index: 1;
  max-width: none;
  width: 100%;
  padding-left: clamp(24px, 5vw, 90px);
  padding-right: 24px;
}

.ugym__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--branco);
}

.ugym__badge svg {
  width: 17px;
  height: 17px;
  color: var(--amarelo);
}

/* Título em três linhas: branco / amarelo / branco */
.ugym__titulo {
  margin-top: 26px;
  font-family: var(--font-titulo);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: .95;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: var(--branco);
}

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

.ugym__texto {
  margin-top: 22px;
  max-width: 440px;
  color: var(--cinza-texto);
  font-size: .95rem;
  line-height: 1.7;
}

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

/* Frase de fecho — só no celular, conforme o layout aprovado */
.ugym__fecho {
  display: none;
  margin-top: 30px;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--branco);
}

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

/* ---------- Diferenciais ---------- */
.ugym__features {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 64px;
}

.ugym__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--branco);
  font-size: .84rem;
  line-height: 1.4;
}

.ugym__features li + li {
  border-left: 1px solid rgba(255, 255, 255, .18);
  padding-left: 26px;
}

.ugym__features svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 992px) {
  /* No celular usamos a arte vertical pronta (930x1691), que já traz a
     logo e a frase "DESPERTE A SUA FORÇA".
     O !important é necessário porque o dados.js aplica a foto do painel
     como estilo inline — e essa arte é fixa, não é a foto do topo. */
  .hero {
    aspect-ratio: auto;
    /* A arte tem 182vw de altura; cortamos a pedra da base para o
       carrossel de depoimentos subir e ficar perto do slogan */
    min-height: 166vw;
    background-image: url('../img/home_mobile.png') !important;
    background-size: 100% auto;
    background-position: center top;
    /* No celular a arte segue atrás do cabeçalho: é assim que a logo
       desenhada nela fica escondida, sem duplicar com a do menu */
    background-origin: border-box;
    background-clip: border-box;
    align-items: flex-end;
  }

  /* Faixa escura no rodapé para o slogan ficar legível sobre a arte
     (mais alta porque o texto subiu, ficando sobre os lutadores) */
  .hero::after {
    height: 48%;
  }

  /* Menos respiro no topo: o carrossel encosta mais no slogan */
  .depoimentos {
    padding-top: 20px;
  }

  .hero__title {
    text-align: center;
    font-size: clamp(3.4rem, 17vw, 5.2rem);
  }

  /* uGym: no celular a foto vai para o fundo inteiro e o escurecimento
     passa a ser de cima para baixo, para o texto continuar legível */
  /* No celular a arte é vertical: texto no topo, o aparelho no miolo da
     foto e a frase de fecho no rodapé.
     A altura acompanha a proporção da imagem (853x1844 = 216% da
     largura), então a arte aparece inteira, sem corte. */
  .ugym {
    display: flex;
    align-items: stretch;
    /* 216vw é a altura natural da arte (853x1844) com a largura toda.
       O extra abre uma faixa escura acima dela, para o texto respirar
       sem encostar no celular da foto. */
    min-height: 250vw;
    padding: 52px 0 38px;
    background-image: url('../img/ugym_mobile.png');
    background-size: 100% auto;
    background-position: center bottom;
  }

  /* Escurece só o topo, onde fica o texto — o miolo fica livre para o
     aparelho e o brilho amarelo da arte aparecerem */
  .ugym::before {
    background: linear-gradient(
      to bottom,
      rgba(8, 8, 8, .88) 0%,
      rgba(8, 8, 8, .6) 26%,
      rgba(8, 8, 8, 0) 46%
    );
  }

  /* Coluna: texto no topo e a frase de fecho empurrada para o rodapé */
  .ugym__inner {
    display: flex;
    flex-direction: column;
  }

  /* Título maior, ocupando a largura da tela */
  .ugym__titulo {
    font-size: clamp(3rem, 14vw, 5rem);
    letter-spacing: -.5px;
  }

  /* Parágrafo mais compacto: quebra a linha antes em vez de
     atravessar a tela toda */
  .ugym__texto {
    max-width: 30ch;
  }

  /* Os quatro itens ficariam por cima do aparelho: só no desktop */
  .ugym__features {
    display: none;
  }

  .ugym__fecho {
    display: block;
    margin-top: auto;
  }

  /* 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 6vw; /* com a seção mais curta, o slogan fica na mesma altura */
  }

  .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;
  }

  /* Cabeçalho centralizado e maior no celular (no desktop ele é uma
     grade de duas colunas, alinhada à esquerda) */
  .treinos__header {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

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

  .treinos__header .section-title {
    font-size: clamp(2.4rem, 11vw, 3.6rem);
  }

  .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);
  }

  /* Abas de valores: rolagem lateral quando não cabem */
  .planos__abas {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    border-radius: 12px;
    scrollbar-width: none;
  }

  .planos__abas::-webkit-scrollbar {
    display: none;
  }

  .planos__aba {
    padding: 10px 18px;
    font-size: .85rem;
  }

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

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

  /* No celular usamos a foto vertical (1080x1920), que já vem com a
     equipe centralizada e as bordas escurecidas. Ela ocupa a largura
     toda (altura = 178% da largura) e o texto vem logo abaixo.
     - camada 1: degradê que emenda o topo e a base nas seções vizinhas
     - camada 2: a foto */
  .sobre {
    background-image:
      linear-gradient(to bottom,
        var(--preto) 0%,
        rgba(7, 7, 7, 0) 14%,
        rgba(13, 13, 13, 0) 62%,
        var(--preto-2) 96%),
      url('../img/sobre_mobile.png');
    background-size: 100% 178vw, 100% auto;
    background-position: left top, center top;
    background-repeat: no-repeat, no-repeat;
    padding-top: 128vw; /* deixa o texto abaixo da equipe */
  }

  /* 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,
  .horario__img {
    min-height: 280px;
  }
}

@media (max-width: 560px) {
  /* "RECORRENTE" é uma palavra longa: reduz para caber nas duas colunas */
  .plano-bloco {
    padding: 34px 18px 28px;
  }

  .plano-bloco__valores {
    gap: 14px;
  }

  .valor-item__rotulo {
    font-size: 1.05rem;
    letter-spacing: .5px;
  }

  .valor-item__preco {
    font-size: 2.2rem;
  }

  .valor-item__preco small {
    font-size: 1.2rem;
  }

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

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

  .evento__img,
  .horario__img {
    min-height: 200px;
  }

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