/* ============================================================
   MENON · Personal Trainer — Design System v1
   Paleta: preto profundo + dourado + cinzas de apoio
   Mobile-first · sem dependências · uma única folha de estilo
   ============================================================ */

/* ---------- Fontes (self-hosted, variáveis, subset latino) ---------- */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 900;
  font-display: optional;
  src: url('../fonts/cinzel-var-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: optional;
  src: url('../fonts/manrope-var-latin.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  /* Cor — base escura */
  --preto: #0A0B0E;        /* fundo da página */
  --carvao: #12141A;       /* superfície padrão */
  --carvao-2: #1A1D25;     /* superfície elevada (cards) */
  --linha: #262A34;        /* bordas neutras */
  --linha-ouro: rgba(210, 168, 69, .28); /* hairline dourada */

  /* Cor — texto */
  --cinza: #969AA6;        /* secundário, legendas */
  --cinza-claro: #C8CBD3;  /* texto corrido */
  --branco: #F4F5F7;       /* títulos */

  /* Cor — ouro */
  --ouro: #D2A845;
  --ouro-claro: #EACD7A;
  --ouro-escuro: #96772A;
  --ouro-grad: linear-gradient(135deg, #EACD7A 0%, #C79A38 55%, #8F701F 100%);

  /* Cor — apoio */
  --whatsapp: #25D366;
  --erro: #E5715F;

  /* Tipografia */
  --f-display: 'Cinzel', 'Times New Roman', serif;
  --f-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --t-hero: clamp(2rem, 7.5vw, 3.75rem);
  --t-h2: clamp(1.55rem, 5vw, 2.5rem);
  --t-h3: clamp(1.15rem, 3.5vw, 1.45rem);
  --t-lead: clamp(1.05rem, 2.5vw, 1.25rem);
  --t-body: 1rem;
  --t-small: .875rem;
  --t-micro: .75rem;

  /* Espaço */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem;
  --s-5: 1.5rem; --s-6: 2rem;  --s-7: 3rem;   --s-8: 4rem;
  --secao: clamp(3.5rem, 10vw, 6.5rem);

  /* Forma */
  --r-1: .625rem;
  --r-2: 1rem;
  --r-pill: 999px;
  --sombra: 0 10px 40px rgba(0, 0, 0, .45);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  background: var(--preto);
  color: var(--cinza-claro);
  font-family: var(--f-sans);
  font-size: var(--t-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, video, svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 { color: var(--branco); line-height: 1.15; text-wrap: balance; }
h1 { font-family: var(--f-display); font-weight: 700; font-size: var(--t-hero); letter-spacing: .01em; }
h2 { font-family: var(--f-display); font-weight: 700; font-size: var(--t-h2); letter-spacing: .01em; }
h3 { font-weight: 800; font-size: var(--t-h3); }
p  { max-width: 65ch; }

a { color: var(--ouro-claro); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .2em; }

strong { color: var(--branco); font-weight: 700; }
small { font-size: var(--t-small); color: var(--cinza); }

::selection { background: var(--ouro); color: var(--preto); }

:focus-visible {
  outline: 2px solid var(--ouro);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Layout ---------- */
.container { width: min(100% - 2.5rem, 68rem); margin-inline: auto; }
.secao { padding-block: var(--secao); }
.secao-alt { background: var(--carvao); }

.grid { display: grid; gap: var(--s-5); }
@media (min-width: 48rem) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.pilha > * + * { margin-top: var(--s-4); }

.divisor {
  border: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--linha-ouro), transparent);
}

/* ---------- Tipografia utilitária ---------- */
.olho {
  font-size: var(--t-micro);
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ouro);
}

.lead { font-size: var(--t-lead); color: var(--cinza-claro); }

.ouro-texto {
  background: var(--ouro-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.numero {
  font-weight: 800;
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -.02em;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: .875rem 1.75rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: var(--f-sans);
  font-size: var(--t-body);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-ouro {
  background: var(--ouro-grad);
  color: #14100A;
  box-shadow: 0 6px 24px rgba(210, 168, 69, .25);
}
.btn-ouro:hover { box-shadow: 0 10px 32px rgba(210, 168, 69, .38); }

.btn-contorno {
  background: transparent;
  color: var(--branco);
  border-color: var(--linha-ouro);
}
.btn-contorno:hover { border-color: var(--ouro); background: rgba(210, 168, 69, .06); }

.btn-whats {
  background: var(--carvao-2);
  color: var(--branco);
  border-color: var(--linha);
}
.btn-whats:hover { border-color: var(--whatsapp); background: rgba(37, 211, 102, .08); }
.btn-whats svg { width: 1.25em; height: 1.25em; fill: var(--whatsapp); }

.btn-bloco { width: 100%; }
@media (min-width: 30rem) { .btn-bloco { width: auto; } }

/* ---------- Chips / selos ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: .375rem .875rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--linha-ouro);
  background: rgba(210, 168, 69, .07);
  color: var(--ouro-claro);
  font-size: var(--t-micro);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- Cards ---------- */
.card {
  background: var(--carvao-2);
  border: 1px solid var(--linha);
  border-radius: var(--r-2);
  padding: var(--s-6);
  box-shadow: var(--sombra);
}

/* Card de pilar (produto) */
.card-pilar {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  position: relative;
  overflow: hidden;
}
.card-pilar::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--ouro-grad);
}
.card-pilar .preco { margin-top: auto; }

.lista-check { list-style: none; padding: 0; display: grid; gap: var(--s-3); }
.lista-check li { padding-left: 1.75rem; position: relative; }
.lista-check li::before {
  content: '';
  position: absolute;
  left: 0; top: .45em;
  width: .95rem; height: .95rem;
  background: var(--ouro);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.1 11.6 2.5 8l1.4-1.4 2.2 2.2 5.9-5.9L13.4 4l-7.3 7.6z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.1 11.6 2.5 8l1.4-1.4 2.2 2.2 5.9-5.9L13.4 4l-7.3 7.6z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.preco { display: flex; align-items: baseline; gap: var(--s-2); flex-wrap: wrap; }
.preco .valor { font-weight: 800; font-size: 2rem; }
.preco .detalhe { color: var(--cinza); font-size: var(--t-small); }

/* Card de estatística */
.card-stat {
  background: var(--carvao);
  border: 1px solid var(--linha);
  border-radius: var(--r-1);
  padding: var(--s-5);
  display: grid;
  gap: var(--s-1);
}
.card-stat .rotulo { font-size: var(--t-micro); font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--cinza); }
.card-stat .fonte { font-size: var(--t-micro); color: var(--cinza); }

/* Card de case (resultado) */
.card-case { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-case img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-case .corpo { padding: var(--s-5); display: grid; gap: var(--s-2); }
.card-case .resultado { font-weight: 800; font-size: 1.5rem; }

/* ---------- Depoimento ---------- */
.depoimento {
  border-left: 3px solid var(--ouro);
  padding: var(--s-4) var(--s-5);
  background: var(--carvao);
  border-radius: 0 var(--r-1) var(--r-1) 0;
  display: grid;
  gap: var(--s-3);
}
.depoimento blockquote { font-size: var(--t-lead); color: var(--branco); font-weight: 500; line-height: 1.5; }
.depoimento cite { font-style: normal; color: var(--cinza); font-size: var(--t-small); }
.depoimento cite strong { color: var(--ouro-claro); }

/* ---------- Formulários ---------- */
.campo { display: grid; gap: var(--s-2); }
.campo label { font-weight: 700; color: var(--branco); font-size: var(--t-small); }
.campo .dica { font-size: var(--t-micro); color: var(--cinza); }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
select, textarea {
  width: 100%;
  padding: .8rem 1rem;
  background: var(--carvao);
  border: 1px solid var(--linha);
  border-radius: var(--r-1);
  color: var(--branco);
  font: inherit;
}
input::placeholder, textarea::placeholder { color: var(--cinza); opacity: .7; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--ouro);
  box-shadow: 0 0 0 3px rgba(210, 168, 69, .18);
}

.opcoes { display: grid; gap: var(--s-2); }
.opcao {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: .8rem 1rem;
  background: var(--carvao);
  border: 1px solid var(--linha);
  border-radius: var(--r-1);
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.opcao:hover { border-color: var(--linha-ouro); }
.opcao:has(input:checked) { border-color: var(--ouro); background: rgba(210, 168, 69, .07); }
.opcao input { accent-color: var(--ouro); width: 1.1rem; height: 1.1rem; }

/* ---------- FAQ (sem JS) ---------- */
.faq { border: 1px solid var(--linha); border-radius: var(--r-1); background: var(--carvao); }
.faq + .faq { margin-top: var(--s-3); }
.faq summary {
  padding: var(--s-4) var(--s-5);
  font-weight: 700;
  color: var(--branco);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ouro);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq .resposta { padding: 0 var(--s-5) var(--s-5); color: var(--cinza-claro); }

/* ---------- Cabeçalho / navegação ---------- */
.topo {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 11, 14, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--linha);
}
.topo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding-block: var(--s-3);
}

.marca { display: inline-flex; align-items: baseline; gap: .5rem; text-decoration: none; }
.marca:hover { text-decoration: none; }
.marca .nome {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: .06em;
  background: var(--ouro-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.marca .sub {
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--cinza);
}

.nav-links { display: none; }
@media (min-width: 54rem) {
  .nav-links { display: flex; gap: var(--s-5); align-items: center; }
  .nav-links a { color: var(--cinza-claro); font-weight: 600; font-size: var(--t-small); }
  .nav-links a:hover { color: var(--ouro-claro); text-decoration: none; }
}

/* ---------- Rodapé ---------- */
.rodape {
  border-top: 1px solid var(--linha);
  background: var(--carvao);
  padding-block: var(--s-7);
  font-size: var(--t-small);
  color: var(--cinza);
}
.rodape a { color: var(--cinza-claro); }

/* ---------- Passos (como funciona) ---------- */
.passos { list-style: none; padding: 0; display: grid; gap: var(--s-5); counter-reset: passo; }
@media (min-width: 48rem) { .passos { grid-template-columns: repeat(4, 1fr); } }
.passos li { counter-increment: passo; display: grid; gap: var(--s-2); }
.passos li::before {
  content: counter(passo, decimal-leading-zero);
  font-weight: 800;
  font-size: 1.9rem;
  background: var(--ouro-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.passos h3 { font-size: 1.05rem; }
.passos p { font-size: var(--t-small); color: var(--cinza); }

/* ---------- Case em destaque ---------- */
.caso-destaque {
  display: grid;
  gap: var(--s-5);
  align-items: center;
}
@media (min-width: 54rem) { .caso-destaque { grid-template-columns: 1.15fr 1fr; } }
.caso-destaque img { border-radius: var(--r-2); border: 1px solid var(--linha); }

.cabeca-secao { display: grid; gap: var(--s-3); margin-bottom: var(--s-6); max-width: 46rem; }

.nota { font-size: var(--t-micro); color: var(--cinza); }

/* ---------- Hero ---------- */
.hero { padding-block: var(--secao); position: relative; }
.hero .pilha > .olho { margin-bottom: var(--s-2); }
.hero-brilho {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 50% at 70% 10%, rgba(210, 168, 69, .09), transparent 70%);
}

/* links dentro de texto corrido do rodapé precisam de sublinhado (a11y) */
.rodape p a { text-decoration: underline; text-underline-offset: .2em; }
