/* Ferro Vivo Academia — página de exemplo do portfólio
   Paleta: grafite com destaque verde-limão
   Fontes: Anton (títulos) e Barlow (texto) */

:root {
  --preto: #0e0e0f;
  --grafite: #1a1b1d;
  --grafite-claro: #26282b;
  --linha: #34373b;
  --texto: #f2f2f0;
  --texto-suave: #a7aaa6;
  --limao: #c8ff1e;
  --limao-escuro: #a6d900;
  --fonte-titulo: "Anton", Impact, "Arial Narrow", sans-serif;
  --fonte-texto: "Barlow", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--preto);
  color: var(--texto);
  font-family: var(--fonte-texto);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--fonte-titulo);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0;
}

a { color: inherit; }

/* ---------- Botões ---------- */
.botao {
  display: inline-block;
  font-family: var(--fonte-texto);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 1rem 1.6rem;
  border-radius: 4px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.botao:hover { transform: translateY(-2px); }

.botao-principal { background: var(--limao); color: var(--preto); }
.botao-principal:hover { background: #d8ff5a; }

.botao-contorno { border: 2px solid var(--limao); color: var(--limao); }
.botao-contorno:hover { background: var(--limao); color: var(--preto); }

.botao-escuro { background: var(--preto); color: var(--limao); }

.botao-centro { display: block; width: fit-content; margin: 2.2rem auto 0; }

/* ---------- Topo ---------- */
.topo {
  position: relative;
  min-height: min(100vh, 900px);
  min-height: min(100svh, 900px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.topo-fundo {
  position: absolute;
  inset: 0;
  background: url("imagens/topo.jpg") 84% center / cover no-repeat;
}
.topo-fundo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,14,15,0.35) 0%, rgba(14,14,15,0.55) 45%, rgba(14,14,15,0.97) 100%);
}
.topo-conteudo {
  position: relative;
  padding: 2rem 1.4rem 5.5rem;
  max-width: 760px;
}
.marca {
  font-family: var(--fonte-titulo);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  margin: 0 0 1.4rem;
}
.marca span { color: var(--limao); margin-left: 0.12em; }
.marca small {
  font-family: var(--fonte-texto);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--texto-suave);
  margin-left: 0.3rem;
  vertical-align: middle;
}
.topo h1 { font-size: clamp(3rem, 14vw, 6.2rem); }
.destaque { color: var(--limao); }
.topo-frase {
  font-size: 1.12rem;
  color: #dcdcd8;
  max-width: 34rem;
  margin: 1.2rem 0 1.8rem;
}
.link-secundario {
  display: inline-block;
  margin: 1.1rem 0 0 0.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  color: var(--texto);
  text-decoration-color: var(--limao);
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}
.topo .botao-principal { display: block; text-align: center; }

/* ---------- Seções ---------- */
.secao { padding: 4.2rem 1.4rem; max-width: 1180px; margin: 0 auto; }
.secao-escura { background: var(--grafite); max-width: none; }
.secao-escura, .secao-faixa { padding-left: max(1.4rem, calc((100% - 1180px) / 2 + 1.4rem)); padding-right: max(1.4rem, calc((100% - 1180px) / 2 + 1.4rem)); }

.sobretitulo {
  color: var(--limao);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.82rem;
  margin: 0 0 0.5rem;
}
.secao h2 { font-size: clamp(2.4rem, 10vw, 3.8rem); margin-bottom: 2rem; }

/* ---------- Modalidades ---------- */
.modalidades { display: grid; gap: 1.2rem; }
.modalidade {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: var(--grafite);
  min-height: 260px;
}
.modalidade img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  filter: grayscale(35%) contrast(1.05);
}
.modalidade-texto {
  position: absolute;
  inset: auto 0 0 0;
  padding: 3.5rem 1.2rem 1.2rem;
  background: linear-gradient(180deg, rgba(14,14,15,0) 0%, rgba(14,14,15,0.92) 55%);
}
.modalidade h3 {
  font-size: 1.9rem;
  border-left: 5px solid var(--limao);
  padding-left: 0.6rem;
}
.modalidade p { margin: 0.4rem 0 0; color: #d6d6d2; font-size: 0.98rem; }

/* ---------- Planos ---------- */
.planos { display: grid; gap: 1.2rem; }
.plano {
  position: relative;
  background: var(--grafite-claro);
  border: 1px solid var(--linha);
  border-radius: 6px;
  padding: 1.8rem 1.5rem;
}
.plano h3 { font-size: 1.6rem; }
.preco {
  font-family: var(--fonte-titulo);
  font-size: 3.6rem;
  line-height: 1;
  margin: 0.8rem 0 1.2rem;
}
.moeda { font-size: 1.3rem; vertical-align: top; margin-right: 0.2rem; color: var(--texto-suave); }
.mes { font-family: var(--fonte-texto); font-size: 1rem; color: var(--texto-suave); margin-left: 0.2rem; }
.plano ul { list-style: none; margin: 0; padding: 0; }
.plano li {
  padding: 0.55rem 0 0.55rem 1.7rem;
  border-top: 1px solid var(--linha);
  position: relative;
}
.plano li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.95rem;
  width: 0.75rem;
  height: 0.4rem;
  border-left: 3px solid var(--limao);
  border-bottom: 3px solid var(--limao);
  transform: rotate(-45deg);
}
.plano-destaque { background: var(--limao); color: var(--preto); border-color: var(--limao); }
.plano-destaque .moeda, .plano-destaque .mes { color: #3b4a00; }
.plano-destaque li { border-top-color: rgba(14,14,15,0.2); }
.plano-destaque li::before { border-color: var(--preto); }
.selo {
  position: absolute;
  top: -0.8rem;
  right: 1.2rem;
  margin: 0;
  background: var(--preto);
  color: var(--limao);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 3px;
}

/* ---------- Horários ---------- */
.horarios { display: grid; gap: 1.2rem; }
.horario-bloco {
  border: 1px solid var(--linha);
  border-top: 4px solid var(--limao);
  border-radius: 6px;
  padding: 1.5rem 1.3rem;
}
.horario-bloco h3 { font-size: 1.5rem; margin-bottom: 0.8rem; }
.lista-horas { margin: 0; }
.lista-horas div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.2rem 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--linha);
}
.lista-horas div:last-child { border-bottom: 0; }
.lista-horas dt { font-weight: 700; }
.lista-horas dd { margin: 0; color: var(--texto-suave); }

/* ---------- Diferenciais ---------- */
.secao-faixa {
  max-width: none;
  background: var(--limao);
  color: var(--preto);
}
.titulo-faixa { font-size: clamp(2.2rem, 9vw, 3.4rem); margin-bottom: 1.8rem; }
.diferenciais { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 1.4rem; }
.diferenciais li { border-top: 3px solid var(--preto); padding-top: 0.8rem; }
.diferenciais strong {
  display: block;
  font-family: var(--fonte-titulo);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.45rem;
  line-height: 1.1;
}
.diferenciais span { display: block; margin-top: 0.3rem; font-weight: 500; }

/* ---------- Estrutura ---------- */
.galeria { display: grid; gap: 0.8rem; grid-template-columns: 1fr 1fr; }
.galeria img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; min-height: 150px; }
.galeria img:first-child { grid-column: 1 / -1; height: 340px; object-position: center 40%; }

/* ---------- Localização ---------- */
.endereco { font-size: 1.25rem; font-weight: 700; margin: 0 0 0.3rem; }
.contato { color: var(--texto-suave); margin: 0 0 1.6rem; }

/* ---------- Chamada final ---------- */
.chamada-final {
  background: var(--limao);
  color: var(--preto);
  text-align: center;
  padding: 4.2rem 1.4rem 4.6rem;
}
.chamada-final h2 { font-size: clamp(2.3rem, 10vw, 4rem); line-height: 1.15; max-width: 14ch; margin: 0 auto; }
.chamada-final p { font-weight: 500; font-size: 1.12rem; margin: 1rem auto 1.8rem; max-width: 36rem; }

/* ---------- Rodapé ---------- */
.rodape {
  background: var(--preto);
  border-top: 1px solid var(--linha);
  color: var(--texto-suave);
  text-align: center;
  padding: 2.6rem 1.4rem 7rem;
  font-size: 0.95rem;
}
.rodape p { margin: 0.3rem 0; }
.marca-rodape { color: var(--texto); margin-bottom: 0.9rem; }
.aviso-exemplo {
  max-width: 34rem;
  margin: 1.4rem auto 0 !important;
  font-size: 0.82rem;
  opacity: 0.8;
}

/* ---------- Botão fixo do WhatsApp ---------- */
.whatsapp-fixo {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.1rem 0.8rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
}

/* ---------- Computador ---------- */
@media (min-width: 760px) {
  .topo { align-items: center; }
  .topo-conteudo { padding: 4rem 3rem; margin-left: 4vw; }
  .topo .botao-principal { display: inline-block; }
  .link-secundario { margin-left: 1.4rem; }
  .topo-fundo { background-position: center; }
  .topo-fundo::after {
    background: linear-gradient(90deg, rgba(14,14,15,0.95) 0%, rgba(14,14,15,0.75) 40%, rgba(14,14,15,0.15) 100%);
  }

  .secao { padding: 6rem 3rem; }
  .secao-escura, .secao-faixa { padding-left: max(3rem, calc((100% - 1180px) / 2 + 3rem)); padding-right: max(3rem, calc((100% - 1180px) / 2 + 3rem)); }
  .modalidades { grid-template-columns: repeat(4, 1fr); }
  .modalidade, .modalidade img { min-height: 420px; height: 420px; }

  .planos { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .plano-destaque { transform: translateY(-12px); }

  .horarios { grid-template-columns: 1fr 1fr; }
  .diferenciais { grid-template-columns: repeat(4, 1fr); }

  .galeria { grid-template-columns: 1.2fr 1fr; grid-template-rows: 240px 240px; }
  .galeria img:first-child { grid-column: 1; grid-row: 1 / 3; height: 100%; }

  .whatsapp-fixo { display: none; }
  .rodape { padding-bottom: 2.6rem; }
}
