/* ============================================================
   NERON GYM — style.css (base global)
   Paleta: preto profundo + amarelo/dourado do protótipo
   ============================================================ */

:root {
  /* Cores */
  --preto-logo: #000000;
  --preto: #070707;
  --preto-2: #0d0d0d;
  --preto-3: #141414;
  --cinza-card: #1a1a1a;
  --borda: #262626;
  --amarelo: #f5a623;
  --amarelo-escuro: #d98e0b;
  --branco: #ffffff;
  --cinza-texto: #b5b5b5;
  --cinza-claro: #e8e8e8;

  /* Tipografia */
  --font-titulo: 'Barlow Condensed', sans-serif;
  --font-corpo: 'Inter', sans-serif;

  /* Layout */
  --container: 1180px;
  --header-h: 72px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-corpo);
  background: var(--preto);
  color: var(--branco);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
  position: relative;
}

/* Degradê nas bordas das seções — suaviza a transição de uma seção para
   a outra (principalmente onde há foto de fundo, como em "Sobre nós"). */
.section::before,
.section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 110px;
  pointer-events: none;
  z-index: 1;
}

.section::before {
  top: 0;
  background: linear-gradient(to bottom, var(--preto), transparent);
}

.section::after {
  bottom: 0;
  background: linear-gradient(to top, var(--preto), transparent);
}

/* O conteúdo fica acima do degradê */
.section > .container {
  position: relative;
  z-index: 2;
}

/* ---------- Títulos de seção ---------- */
.section-title {
  font-family: var(--font-titulo);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .5px;
}

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

.section-title--center {
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--cinza-texto);
  font-size: .95rem;
  margin: 14px auto 50px;
  max-width: 560px;
}

.section-label {
  display: block;
  text-align: center;
  color: var(--amarelo);
  font-family: var(--font-titulo);
  font-weight: 600;
  letter-spacing: 3px;
  font-size: .95rem;
  margin-bottom: 8px;
}

/* Label alinhado à esquerda quando dentro de coluna de texto */
.sobre .section-label {
  text-align: left;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-titulo);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 4px;
  border: 2px solid var(--amarelo);
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn--solid {
  background: var(--amarelo);
  color: var(--preto);
}

.btn--solid:hover {
  background: var(--amarelo-escuro);
  border-color: var(--amarelo-escuro);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--amarelo);
}

.btn--outline:hover {
  background: var(--amarelo);
  color: var(--preto);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 20px;
  font-size: .9rem;
}

.btn--lg {
  padding: 16px 40px;
  font-size: 1.15rem;
}

/* ---------- Placeholder de imagem (trocar por <img> depois) ---------- */
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(
    45deg,
    #101010,
    #101010 14px,
    #161616 14px,
    #161616 28px
  );
  border: 1px dashed #3a3a3a;
  color: #555;
  font-family: var(--font-titulo);
  font-weight: 600;
  letter-spacing: 2px;
  font-size: .85rem;
  text-align: center;
  min-height: 120px;
}

.img-placeholder::after {
  content: ' (' attr(data-img) ')';
  font-size: .7rem;
  letter-spacing: 1px;
  color: #444;
  margin-left: 6px;
}

/* ---------- Checklist com check amarelo ---------- */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 18px 0 24px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: .9rem;
  color: var(--cinza-claro);
}

.check-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--amarelo);
  font-size: .85rem;
}

/* ---------- Logo ----------
   A arte é quadrada com bastante fundo preto em cima e embaixo;
   o object-fit recorta essas sobras e mantém só a marca. */
.header__logo img,
.footer__logo {
  display: block;
  object-fit: cover;
  object-position: center;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  /* Preto puro, igual ao fundo da logo (#000000) */
  background: var(--preto-logo);
  border-bottom: 1px solid var(--borda);
  transition: box-shadow .3s ease;
}

.header.is-scrolled {
  box-shadow: 0 6px 24px rgba(0, 0, 0, .6);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__logo img {
  width: 148px;
  height: 46px;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav__link {
  font-family: var(--font-titulo);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--branco);
  position: relative;
  padding: 4px 0;
  transition: color .25s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--amarelo);
  transition: width .25s ease;
}

.nav__link:hover {
  color: var(--amarelo);
}

.nav__link:hover::after {
  width: 100%;
}

.header__cta {
  padding: 10px 20px;
  font-size: .9rem;
  border-radius: 6px;
}

/* Botão hamburguer (mobile) */
.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.header__toggle span {
  width: 26px;
  height: 3px;
  background: var(--amarelo);
  border-radius: 2px;
  transition: all .3s ease;
}

.header__toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.header__toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============================================================
   FOOTER (fundo claro, como no protótipo)
   ============================================================ */
.footer {
  background: var(--preto);
  color: var(--branco);
  padding-top: 60px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer__logo {
  width: 170px;
  height: 54px;
  border-radius: 4px;
}

.footer__brand p {
  margin-top: 16px;
  font-weight: 600;
  font-size: .95rem;
}

.footer__brand p span {
  color: var(--amarelo-escuro);
}

.footer__brand .footer__desc {
  margin-top: 6px;
  font-weight: 400;
  color: var(--cinza-texto);
  font-size: .85rem;
}

.footer__col h4 {
  font-family: var(--font-titulo);
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cinza-texto);
  font-size: .9rem;
  transition: color .25s ease;
}

.footer__col a:hover {
  color: var(--amarelo-escuro);
}

.footer__col .icon {
  width: 16px;
  height: 16px;
  color: var(--amarelo-escuro);
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cinza-card);
  border: 1px solid var(--borda);
  color: var(--branco);
  transition: all .25s ease;
}

.footer__social a:hover {
  background: var(--amarelo);
  color: var(--preto);
  transform: translateY(-3px);
}

.footer__social svg {
  width: 18px;
  height: 18px;
}

.footer__bottom {
  border-top: 1px solid var(--borda);
  padding: 18px 0;
  text-align: center;
  font-size: .8rem;
  color: #888;
}

/* Link discreto do painel dentro dos links rápidos */
.footer__admin {
  opacity: .5;
  transition: opacity .2s ease, color .2s ease;
}

.footer__admin:hover {
  opacity: 1;
}

/* ============================================================
   RESPONSIVO (base)
   ============================================================ */
@media (max-width: 992px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    right: -100%;
    width: min(320px, 80vw);
    height: calc(100vh - var(--header-h));
    background: var(--preto-2);
    border-left: 1px solid var(--borda);
    flex-direction: column;
    padding: 40px 32px;
    gap: 22px;
    transition: right .35s ease;
  }

  .nav.is-open {
    right: 0;
  }

  .header__toggle {
    display: flex;
  }

  .header__cta {
    margin-left: auto;
  }

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

/* ===== Botões flutuantes (matrícula online + WhatsApp) ===== */
.float-acoes {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.float-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-btn svg {
  width: 32px;
  height: 32px;
}

.float-btn:hover {
  transform: scale(1.08);
}

.float-btn--whatsapp {
  background: #25d366;
  color: #fff;
}

.float-btn--whatsapp:hover {
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

/* O logo do NextFit já vem com o fundo roxo: preenche o círculo todo */
.float-btn--nextfit {
  background: #4b1d55;
  overflow: hidden;
}

.float-btn--nextfit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.float-btn--nextfit:hover {
  box-shadow: 0 8px 24px rgba(117, 45, 133, 0.55);
}

/* Etiqueta que aparece ao passar o mouse */
.float-btn__dica {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  padding: 7px 12px;
  border-radius: 6px;
  background: var(--preto);
  color: var(--branco);
  border: 1px solid var(--borda);
  font-family: var(--font-titulo);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.float-btn:hover .float-btn__dica {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 560px) {
  .float-acoes {
    right: 16px;
    bottom: 16px;
    gap: 12px;
  }

  .float-btn {
    width: 52px;
    height: 52px;
  }

  .float-btn svg {
    width: 28px;
    height: 28px;
  }

  /* Sem mouse no celular, a etiqueta não faz sentido */
  .float-btn__dica {
    display: none;
  }

  .section {
    padding: 60px 0;
  }

  .header__cta {
    display: none;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
