/*
  EFX7 Franchise — Studios Mormaii Fitness
  Folha de estilos global: variáveis, layout, componentes e responsividade.
  Utilizada em todas as páginas para consistência visual e manutenção centralizada.
*/

/* ---- Variáveis de design ---- */
:root {
  --bg0: #06080a;
  --bg1: #0a0d11;
  --bg2: #0f1319;
  --bg3: #151b23;

  --text: #f2f6fa;
  --text-soft: #c5cfda;
  --muted: #8a9aad;
  --muted2: #6b7d94;

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --surface: rgba(255, 255, 255, 0.05);
  --surface2: rgba(255, 255, 255, 0.08);

  --accent: #7ec4ff;
  --accent-strong: #5eb0ff;
  --accent2: #6cf5b0;
  --accent2-strong: #4ae89a;
  --danger: #ff6b6b;

  --shadow: 0 20px 55px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.55);
  --radius: 16px;
  --radius-lg: 24px;
  --max: 1140px;

  /* Transições padrão para interatividade */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.2s var(--ease);
}

/* ---- Reset e base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { min-height: 100%; margin: 0; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1400px 900px at 15% -15%, rgba(126, 196, 255, 0.12), transparent 50%),
    radial-gradient(1000px 700px at 105% 5%, rgba(108, 245, 176, 0.08), transparent 50%),
    linear-gradient(180deg, var(--bg2) 0%, var(--bg0) 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow-x: hidden;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---- Navegação ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(6, 8, 10, 0.7);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
}
.mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(126, 196, 255, 0.95), rgba(108, 245, 176, 0.75));
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
  display: grid;
  place-items: center;
  color: #031018;
  font-weight: 900;
  letter-spacing: 0.5px;
  font-size: 15px;
  flex-shrink: 0;
}
.brand strong { display: block; font-weight: 800; letter-spacing: 0.4px; line-height: 1.1; font-size: 1.05rem; }
.brand span { display: block; font-size: 12px; color: var(--muted2); margin-top: 2px; letter-spacing: 0.3px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 10px;
  opacity: 0.9;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--text); background: var(--surface); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

/* ---- Botões ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--surface2);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
}
.btn.primary {
  border: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #051218;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
}
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45); }

/* ---- Menu mobile ---- */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.mobile {
  display: none;
  padding: 0 0 16px;
  border-top: 1px solid var(--line);
}
.mobile a {
  display: block;
  padding: 12px 0;
  color: var(--text-soft);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-weight: 700;
  font-size: 14px;
}
.mobile a:hover { color: var(--text); }
.mobile.open { display: block; }

/* ---- Hero (página inicial) ---- */
.hero {
  position: relative;
  padding: 48px 0 40px;
}
.hero-wrap {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow-lg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 8, 10, 0.92) 0%, rgba(6, 8, 10, 0.78) 45%, rgba(6, 8, 10, 0.5) 75%, rgba(6, 8, 10, 0.3) 100%),
    url("../assets/Academia-studio-mormaii-1024x649.webp") center center / cover no-repeat;
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.02);
}
.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  padding: 40px 36px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(126, 196, 255, 0.3);
  background: rgba(126, 196, 255, 0.1);
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.3px;
  font-size: 13px;
  width: fit-content;
}
.badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent2);
  box-shadow: 0 0 0 4px rgba(108, 245, 176, 0.2);
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 900;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}
.hero .sub {
  margin: 0 0 24px;
  color: var(--text-soft);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.55;
  max-width: 52ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.trust-row {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.trust {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  padding: 14px 14px;
  transition: border-color var(--transition), background var(--transition);
}
.trust:hover { border-color: var(--line-strong); background: var(--surface2); }
.trust strong { display: block; font-size: 14px; font-weight: 800; }
.trust span { display: block; color: var(--muted2); font-size: 12px; margin-top: 4px; line-height: 1.4; }

/* ---- Lead card (formulário) ---- */
.lead {
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.lead h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: 0.2px; font-weight: 800; }
.lead p { margin: 0 0 16px; color: var(--text-soft); font-size: 13px; line-height: 1.5; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
label { font-size: 12px; color: var(--muted2); font-weight: 600; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
input::placeholder, textarea::placeholder { color: var(--muted2); }
select { cursor: pointer; }
textarea { min-height: 100px; resize: vertical; }
.lead .fine { margin-top: 12px; font-size: 11px; color: var(--muted2); line-height: 1.45; }

/* ---- Seções genéricas ---- */
section { padding: 72px 0; }
.section-head {
  margin-bottom: 28px;
  max-width: 720px;
}
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.8vw, 36px);
  letter-spacing: -0.02em;
  font-weight: 900;
  line-height: 1.15;
}
.section-head p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
  font-size: 16px;
}

/* ---- Grid e cards ---- */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
/* Grid de 4 colunas (números e 8 motivos na página Franquia) */
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.card-num {
  text-align: center;
  padding: 24px;
}
.card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-3px);
  background: var(--surface2);
  border-color: var(--line-strong);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

/* ---- Imagem com overlay ---- */
.img-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  min-height: 300px;
  position: relative;
  box-shadow: var(--shadow);
}
.img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.03) saturate(1.05);
  transition: transform 0.4s var(--ease);
}
.img-card:hover img { transform: scale(1.04); }
.img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.8) 100%);
  pointer-events: none;
}
.img-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
}
.img-caption strong { font-size: 15px; font-weight: 800; }
.img-caption span { font-size: 12px; color: rgba(255, 255, 255, 0.85); }

/* ---- Listas e pills ---- */
.list {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--text-soft);
  line-height: 1.75;
}
.list li { margin: 8px 0; }
.pill-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
}
.pill b { color: var(--text); }

/* ---- Pilares (método) ---- */
.pillar { grid-column: span 3; }
.pillar .top { display: flex; align-items: center; gap: 14px; }
.icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(126, 196, 255, 0.12);
  border: 1px solid rgba(126, 196, 255, 0.25);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pillar h3 { margin: 14px 0 8px; font-size: 17px; font-weight: 800; }
.pillar p { margin: 0; color: var(--text-soft); font-size: 14px; line-height: 1.6; }

/* ---- Feature / diferencial ---- */
.feature { grid-column: span 4; }
.feature h3 { margin: 0 0 10px; font-size: 17px; font-weight: 800; }
.feature p { margin: 0; color: var(--text-soft); font-size: 14px; line-height: 1.65; }
.feature .tag {
  display: inline-flex;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.2px;
  border: 1px solid rgba(108, 245, 176, 0.3);
  background: rgba(108, 245, 176, 0.12);
  color: rgba(214, 255, 236, 0.95);
  width: fit-content;
}

/* ---- Galeria ---- */
.gallery { grid-template-columns: repeat(12, 1fr); }
.shot {
  grid-column: span 6;
  padding: 0;
  overflow: hidden;
  position: relative;
  min-height: 280px;
  border-radius: var(--radius);
}
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s var(--ease); }
.shot:hover img { transform: scale(1.05); }
.shot .label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.5);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.2px;
  backdrop-filter: blur(10px);
}

/* ---- Processo (steps) ---- */
.steps { grid-column: span 12; display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color var(--transition), background var(--transition);
}
.step:hover { border-color: var(--line-strong); background: var(--surface2); }
.num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 18px;
  background: rgba(126, 196, 255, 0.12);
  border: 1px solid rgba(126, 196, 255, 0.25);
  color: var(--text);
  flex-shrink: 0;
}
.step h4 { margin: 2px 0 8px; font-size: 16px; font-weight: 800; }
.step p { margin: 0; color: var(--text-soft); font-size: 14px; line-height: 1.6; }

/* ---- FAQ ---- */
.faq { display: grid; grid-template-columns: 1fr; gap: 14px; }
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 16px 18px;
  transition: border-color var(--transition);
}
details:hover { border-color: var(--line-strong); }
details[open] { border-color: rgba(126, 196, 255, 0.3); }
summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
}
summary::-webkit-details-marker { display: none; }
details p { margin: 14px 0 0; color: var(--text-soft); line-height: 1.7; font-size: 14px; }

/* ---- CTA final ---- */
.cta { padding: 64px 0 80px; }
.cta-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(900px 550px at 10% 20%, rgba(126, 196, 255, 0.18), transparent 55%),
    radial-gradient(800px 500px at 100% 10%, rgba(108, 245, 176, 0.12), transparent 55%),
    var(--surface);
  box-shadow: var(--shadow-lg);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}
.cta-wrap h3 { margin: 0 0 10px; font-size: 24px; letter-spacing: -0.02em; font-weight: 900; }
.cta-wrap p { margin: 0; color: var(--text-soft); line-height: 1.65; font-size: 16px; }
.cta .box {
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.25);
  padding: 20px;
}

/* ---- Vídeo ---- */
.video-card {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 24px 20px;
}
.video-frame {
  width: clamp(260px, 32vw, 440px);
  aspect-ratio: 9/16;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}
.video-card small { color: var(--muted2); margin-top: 12px; font-size: 13px; }

/* ---- Footer ---- */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 48px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}
footer a { color: var(--accent); font-weight: 600; }
footer a:hover { text-decoration: underline; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 32px;
  align-items: start;
}
.footer-grid h4 {
  margin: 0 0 14px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted2);
  font-weight: 800;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--text-soft); font-weight: 500; }
.footer-links a:hover { color: var(--accent); }

/* ---- WhatsApp flutuante ---- */
.wa-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  text-decoration: none;
  background: #25D366;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  border: 1px solid #1daf57;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}
.wa-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.55);
  filter: saturate(1.08);
}
.wa-cta svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ---- Página interna: título ---- */
.page-hero {
  padding: 36px 0 48px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.5vw, 42px);
  letter-spacing: -0.02em;
  font-weight: 900;
  line-height: 1.12;
}
.page-hero p {
  margin: 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.6;
}

/* ---- Conteúdo longo (páginas internas) ---- */
.prose {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.75;
}
.prose h2 { margin: 40px 0 16px; font-size: 24px; font-weight: 800; color: var(--text); }
.prose h3 { margin: 28px 0 10px; font-size: 19px; font-weight: 800; color: var(--text); }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin: 6px 0; }

/* ---- Responsivo ---- */
@media (max-width: 980px) {
  .hero-content { grid-template-columns: 1fr; padding: 28px 24px; }
  .trust-row { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .pillar { grid-column: span 6; }
  .feature { grid-column: span 6; }
  .cta-wrap { grid-template-columns: 1fr; text-align: center; }
  .cta .box { text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: inline-flex; }
  .shot { grid-column: span 12; }
  .pillar { grid-column: span 12; }
  .feature { grid-column: span 12; }
  .hero { padding-top: 24px; }
  .hero-content { padding: 22px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  section { padding: 48px 0; }
  .grid-4 { grid-template-columns: 1fr; }
}
