/* ============================================================
   REDE LION FITNESS — style.css
   Identidade: preto + dourado (leão) + branco
   Mobile-first: estilos base = celular; @media = telas maiores
   ============================================================ */

:root {
  /* 🎨 PALETA — ajuste aqui se quiser mudar as cores da marca */
  --preto: #0d0d0d;
  --preto-2: #161616;
  --preto-3: #1f1f1f;
  --dourado: #f2b705;
  --dourado-escuro: #c99400;
  --branco: #ffffff;
  --cinza: #b5b5b5;
  --cinza-claro: #e9e9e9;

  --fonte-titulo: "Anton", "Arial Black", sans-serif;
  --fonte-texto: "Inter", "Segoe UI", sans-serif;

  --raio: 12px;
  --sombra: 0 8px 30px rgba(0, 0, 0, 0.35);
  --transicao: 0.25s ease;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--fonte-texto);
  background: var(--preto);
  color: var(--branco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: min(1200px, 92%); margin-inline: auto; }

/* ---------- Tipografia ---------- */
h1, h2, h3 { font-family: var(--fonte-titulo); letter-spacing: 0.5px; line-height: 1.15; text-transform: uppercase; }

.secao-titulo { font-size: clamp(1.6rem, 5vw, 2.4rem); text-align: center; }
.secao-titulo span { color: var(--dourado); }
.secao-sub { text-align: center; color: var(--cinza); max-width: 560px; margin: 0.6rem auto 2.2rem; }

section { padding: 3.5rem 0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--transicao), background var(--transicao), color var(--transicao);
  font-size: 1rem;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--dourado); color: var(--preto); }
.btn-primary:hover { background: var(--dourado-escuro); }
.btn-outline { background: transparent; color: var(--dourado); border-color: var(--dourado); }
.btn-outline:hover { background: var(--dourado); color: var(--preto); }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.85rem; }

/* ---------- Header / Navegação ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(242, 183, 5, 0.12);
  transition: background var(--transicao), box-shadow var(--transicao), border-color var(--transicao);
}
/* linha dourada de destaque no rodapé do header */
.header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--dourado), transparent);
  opacity: 0;
  transition: opacity var(--transicao);
}
.header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55);
  border-color: transparent;
}
.header.scrolled::after { opacity: 1; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  transition: height var(--transicao);
}
.header.scrolled .nav { height: 66px; }

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--branco);
}
.logo-img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(242, 183, 5, 0.35));
  transition: transform var(--transicao);
}
.logo:hover .logo-img { transform: rotate(-6deg) scale(1.05); }
.logo-text {
  font-family: var(--fonte-titulo);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;
}
.logo-text span { color: var(--dourado); }
/* no header encolhido, a logo diminui um pouco */
.header.scrolled .logo-img { height: 42px; width: 42px; }

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: absolute;
  top: 78px;
  left: 0;
  right: 0;
  background: var(--preto-2);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.nav-links.open { max-height: 400px; box-shadow: var(--sombra); }
.nav-links a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--branco);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--preto-3);
  transition: color var(--transicao);
}
.nav-links a:hover, .nav-links a.ativo { color: var(--dourado); }

/* botão hambúrguer */
.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--branco);
  border-radius: 2px;
  transition: transform var(--transicao), opacity var(--transicao);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 78px;
  overflow: hidden;
  /* 🔴 OPCIONAL: para usar uma FOTO de academia como fundo, descomente e
     ajuste — a foto entra por baixo da logo e dos degradês:
     background-image:
       linear-gradient(180deg, rgba(10,10,10,.72), rgba(10,10,10,.92)),
       url("../img/hero.jpg");
     background-size: cover; background-position: center; */
  background:
    radial-gradient(ellipse at 75% 25%, rgba(242, 183, 5, 0.18), transparent 55%),
    linear-gradient(180deg, var(--preto-2), var(--preto));
}
/* Logo gigante como marca d'água no fundo do hero */
.hero::before {
  content: "";
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: min(620px, 85vw);
  aspect-ratio: 1;
  background: url("../img/logo-lion.png") center / contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
  animation: flutua 6s ease-in-out infinite;
}
@keyframes flutua {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(-54%); }
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-tag {
  color: var(--dourado);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
}
.hero h1 { font-size: clamp(2.4rem, 8vw, 4.5rem); margin: 0.8rem 0 1rem; }
.hero h1 span { color: var(--dourado); }
.hero p { color: var(--cinza); font-size: 1.1rem; margin-bottom: 2rem; max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}
.hero-stats div strong { display: block; font-family: var(--fonte-titulo); font-size: 1.8rem; color: var(--dourado); }
.hero-stats div small { color: var(--cinza); text-transform: uppercase; letter-spacing: 1px; font-size: 0.72rem; }

/* ---------- Unidades (mini cards na home) ---------- */
.grid-unidades-home {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.2rem;
}
.unidade-mini {
  background: var(--preto-2);
  border: 1px solid var(--preto-3);
  border-radius: var(--raio);
  padding: 1.6rem 1.3rem;
  text-align: center;
  transition: transform var(--transicao), border-color var(--transicao);
}
.unidade-mini:hover { transform: translateY(-4px); border-color: var(--dourado); }
.unidade-mini-icon { font-size: 1.6rem; margin-bottom: 0.4rem; }
.unidade-mini h3 { color: var(--dourado); font-size: 1.15rem; margin-bottom: 0.2rem; }
.unidade-mini p { color: var(--cinza); font-size: 0.85rem; margin-bottom: 1rem; }

/* ---------- Modalidades ---------- */
.secao-alt { background: var(--preto-2); }
.grid-modalidades {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
}
.modalidade {
  background: var(--preto);
  border: 1px solid var(--preto-3);
  border-radius: var(--raio);
  padding: 1.8rem 1.4rem;
  transition: transform var(--transicao), border-color var(--transicao);
}
.modalidade:hover { transform: translateY(-4px); border-color: var(--dourado); }
.modalidade .icone {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: rgba(242, 183, 5, 0.12);
  color: var(--dourado);
  border-radius: 12px;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.modalidade h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.modalidade p { color: var(--cinza); font-size: 0.9rem; }

/* ---------- Depoimentos ---------- */
.grid-depoimentos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}
.depoimento {
  background: var(--preto-2);
  border: 1px solid var(--preto-3);
  border-radius: var(--raio);
  padding: 1.8rem 1.5rem;
}
.depoimento .estrelas { color: var(--dourado); letter-spacing: 3px; margin-bottom: 0.8rem; }
.depoimento p { color: var(--cinza-claro); font-style: italic; margin-bottom: 1rem; }
.depoimento footer { display: flex; align-items: center; gap: 0.8rem; }
.depoimento .avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--preto-3);
  display: grid; place-items: center;
  color: var(--dourado);
  font-weight: 700;
}
.depoimento .nome { font-weight: 700; font-size: 0.95rem; }
.depoimento .unidade { color: var(--cinza); font-size: 0.8rem; }

/* ---------- Planos ---------- */
.grid-planos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  align-items: stretch;
}
.plano {
  background: var(--preto-2);
  border: 1px solid var(--preto-3);
  border-radius: var(--raio);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transicao), border-color var(--transicao);
}
.plano:hover { transform: translateY(-4px); }
.plano.destaque { border-color: var(--dourado); box-shadow: 0 0 40px rgba(242, 183, 5, 0.12); }
.plano .selo {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--dourado);
  color: var(--preto);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}
.plano h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.plano .preco { font-family: var(--fonte-titulo); font-size: 2.4rem; color: var(--dourado); margin: 0.8rem 0 0; }
.plano .preco small { font-size: 0.9rem; color: var(--cinza); font-family: var(--fonte-texto); font-weight: 400; }
.plano .preco-cartao { font-size: 0.82rem; color: var(--cinza); margin: 0.15rem 0 1.2rem; }

/* Itens avulsos (diária, passaporte, taxa) */
.planos-avulsos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.avulso {
  background: var(--preto-2);
  border: 1px solid var(--preto-3);
  border-radius: var(--raio);
  padding: 1.3rem 1rem;
  text-align: center;
}
.avulso span { display: block; color: var(--cinza); text-transform: uppercase; letter-spacing: 1px; font-size: 0.75rem; }
.avulso strong { display: block; font-family: var(--fonte-titulo); font-size: 1.8rem; color: var(--dourado); margin: 0.3rem 0; }
.avulso strong small { font-size: 0.8rem; color: var(--cinza); font-family: var(--fonte-texto); font-weight: 400; }
.avulso em { color: var(--cinza); font-size: 0.8rem; font-style: normal; }
.plano ul { list-style: none; margin-bottom: 1.8rem; flex: 1; }
.plano ul li { padding: 0.45rem 0; color: var(--cinza-claro); font-size: 0.92rem; border-bottom: 1px dashed var(--preto-3); }
.plano ul li::before { content: "✓ "; color: var(--dourado); font-weight: 700; }
.plano ul li.nao { color: var(--cinza); opacity: 0.55; }
.plano ul li.nao::before { content: "✕ "; color: var(--cinza); }

.aviso-placeholder {
  text-align: center;
  color: var(--cinza);
  font-size: 0.82rem;
  margin-top: 1.6rem;
  opacity: 0.8;
}

/* ---------- Página Unidades (cards completos) ---------- */
.pagina-topo {
  padding: 8rem 0 3rem;
  background: linear-gradient(180deg, var(--preto-2), var(--preto));
  text-align: center;
}
.pagina-topo h1 { font-size: clamp(2rem, 6vw, 3.2rem); }
.pagina-topo h1 span { color: var(--dourado); }
.pagina-topo p { color: var(--cinza); max-width: 560px; margin: 0.8rem auto 0; }

.unidade-card {
  background: var(--preto-2);
  border: 1px solid var(--preto-3);
  border-radius: var(--raio);
  overflow: hidden;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 1fr;
}
.unidade-card-foto img, .foto-placeholder { height: 220px; width: 100%; object-fit: cover; }
.foto-placeholder, .mapa-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  background: repeating-linear-gradient(45deg, var(--preto-3), var(--preto-3) 12px, var(--preto-2) 12px, var(--preto-2) 24px);
  color: var(--cinza);
  font-size: 0.9rem;
  padding: 1rem;
}
.unidade-card-body { padding: 1.8rem 1.5rem; }
.unidade-card-body h3 { color: var(--dourado); font-size: 1.3rem; margin-bottom: 0.8rem; }
.unidade-info { color: var(--cinza-claro); font-size: 0.95rem; margin-bottom: 0.4rem; }
.unidade-card-acoes { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }
.unidade-card-mapa iframe, .mapa-placeholder { width: 100%; height: 240px; border: 0; }

/* ---------- Formulário de contato ---------- */
.form-contato {
  max-width: 560px;
  margin-inline: auto;
  display: grid;
  gap: 1rem;
}
.form-contato label { font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 0.3rem; }
.form-contato input, .form-contato select, .form-contato textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--preto-2);
  border: 1px solid var(--preto-3);
  border-radius: 8px;
  color: var(--branco);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transicao);
}
.form-contato input:focus, .form-contato select:focus, .form-contato textarea:focus {
  outline: none;
  border-color: var(--dourado);
}
.form-contato textarea { resize: vertical; min-height: 110px; }
.form-sucesso {
  text-align: center;
  background: var(--preto-2);
  border: 1px solid var(--dourado);
  border-radius: var(--raio);
  padding: 2.5rem 1.5rem;
  max-width: 560px;
  margin-inline: auto;
}
.form-sucesso h3 { color: var(--dourado); margin-bottom: 0.5rem; }

/* ---------- CTA final ---------- */
.cta-final {
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(242, 183, 5, 0.15), transparent 60%),
    var(--preto-2);
}
.cta-final h2 { font-size: clamp(1.6rem, 5vw, 2.6rem); margin-bottom: 0.6rem; }
.cta-final h2 span { color: var(--dourado); }
.cta-final p { color: var(--cinza); margin-bottom: 1.8rem; }

/* ---------- Rodapé ---------- */
.footer { background: #090909; padding: 3rem 0 1.5rem; border-top: 1px solid var(--preto-3); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; margin-bottom: 2rem; }
.footer h4 { font-family: var(--fonte-titulo); text-transform: uppercase; color: var(--dourado); margin-bottom: 0.9rem; font-size: 1rem; }
.footer-logo { height: 70px; width: 70px; object-fit: contain; margin-bottom: 0.9rem; }
.footer p, .footer a { color: var(--cinza); font-size: 0.9rem; text-decoration: none; }
.footer a:hover { color: var(--dourado); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.5rem; }
.footer-social { display: flex; gap: 0.8rem; }
.footer-social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--preto-3);
  border-radius: 50%;
  font-size: 1.1rem;
  transition: background var(--transicao), color var(--transicao);
}
.footer-social a:hover { background: var(--dourado); color: var(--preto); }
.footer-bottom {
  border-top: 1px solid var(--preto-3);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--cinza);
  font-size: 0.8rem;
}

/* ---------- Botão flutuante de WhatsApp ---------- */
.whats-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform var(--transicao);
}
.whats-float:hover { transform: scale(1.08); }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   TELAS MAIORES (tablet / desktop)
   ============================================================ */
@media (min-width: 768px) {
  section { padding: 5rem 0; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .unidade-card { grid-template-columns: 280px 1fr; }
  .unidade-card-mapa { grid-column: 1 / -1; }
}

@media (min-width: 992px) {
  /* navegação vira horizontal no desktop */
  .nav-toggle { display: none; }
  .nav-links {
    position: static;
    flex-direction: row;
    gap: 0.4rem;
    max-height: none;
    background: transparent;
    overflow: visible;
    align-items: center;
  }
  .nav-links a { padding: 0.5rem 0.9rem; border-bottom: none; font-size: 0.95rem; position: relative; }
  /* sublinhado dourado animado no hover (menu desktop) */
  .nav-links a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0.9rem; right: 0.9rem; bottom: 0.15rem;
    height: 2px;
    background: var(--dourado);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transicao);
  }
  .nav-links a:not(.btn):hover::after,
  .nav-links a.ativo::after { transform: scaleX(1); }
  .nav-links .nav-cta { margin-left: 0.6rem; }
  .nav-links .nav-cta a::after { display: none; }

  .unidade-card { grid-template-columns: 300px 1fr 380px; }
  .unidade-card-mapa { grid-column: auto; }
  .unidade-card-mapa iframe, .unidade-card .mapa-placeholder { height: 100%; min-height: 260px; }
  .unidade-card-foto img, .unidade-card .foto-placeholder { height: 100%; }
}
