/* =========================================================
   Heluza Queiroz - Personal Trainer
   Cores, fontes e medidas principais ficam nas variáveis abaixo.
   ========================================================= */
:root {
  --rosa: #ff0055;
  --rosa-escuro: #b2003c;
  --rosa-claro: #ff99bb;
  --rosa-fundo: #fff2f7;
  --texto: #1a1717;
  --texto-suave: #606060;
  --texto-depo: #666666;
  --cinza: #a7a7a7;
  --verde: #00c851;
  --estrela: #e89a00;
  --branco: #ffffff;

  --fonte: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fonte-texto: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1232px;
  --gutter: 104px;
  --header-h: 97px;
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--fonte);
  color: var(--texto);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
section[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 200px;
  background: var(--rosa);
  color: var(--branco);
  font-weight: 700;
  white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); background: #e6004d; box-shadow: 0 8px 20px rgba(255, 0, 85, .25); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--rosa-claro); outline-offset: 3px; }
.btn-md { padding: 16px 24px; font-size: 14px; line-height: 1.2; }
.btn-lg { padding: 16px 32px; font-size: 20px; line-height: 1.2; }
.btn-block { display: flex; width: 100%; }
.btn-inverse { background: var(--branco); color: var(--rosa); }
.btn-inverse:hover { background: var(--branco); box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img { width: 241px; height: 40px; }

/* ---------- Hero ---------- */
.hero { background: var(--rosa-fundo); padding: 80px 0; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 652px;
  gap: 32px;
  align-items: center;
}
.hero-kicker { color: var(--rosa); font-size: 32px; line-height: 1.2; font-weight: 700; }
.hero-title { margin-top: 16px; font-size: 64px; line-height: 1.2; font-weight: 700; }
.hero-lead { margin-top: 16px; max-width: 540px; color: var(--texto-suave); font-size: 16px; line-height: 1.2; }
.hero-text .btn { margin-top: 24px; }
.hero-media {
  height: 496px;
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Objeções ---------- */
.objecao { background: var(--rosa); color: var(--branco); padding: 120px 0; }
.objecao-title { font-size: 40px; line-height: 1.2; font-weight: 700; }
.objecao-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.objecao-card { background: var(--rosa-escuro); border-radius: 8px; padding: 24px; }
.objecao-card h3 { font-size: 24px; line-height: 1.2; font-weight: 700; }
.objecao-card p { margin-top: 16px; font-size: 16px; line-height: 1.2; }

/* ---------- Conteúdo + navegação lateral ---------- */
.conteudo { padding: 160px 0 40px; }
.conteudo-inner {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.side-nav {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 0;
}
.side-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  background: var(--branco);
  color: var(--cinza);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  transition: color .2s ease;
}
.side-link svg {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: color .2s ease;
}
.side-link:hover { color: var(--texto-suave); }
.side-link.is-active { color: var(--texto-suave); }
.side-link.is-active svg { color: var(--rosa); }

.secao + .secao { margin-top: 140px; }
.h2 { font-size: 32px; line-height: 1.2; font-weight: 700; }

/* Sobre */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 32px;
  align-items: start;
  padding-top: 48px;
}
.sobre-destaque { margin-top: 40px; color: var(--rosa); font-size: 24px; line-height: 1.2; font-weight: 700; }
.sobre-body { margin-top: 40px; font-size: 16px; line-height: 1.5; }

.perfil-card {
  position: relative;
  margin-top: 48px;
  background: var(--rosa-fundo);
  border-radius: var(--radius);
  padding: 64px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.perfil-avatar {
  position: absolute;
  top: -48px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 96px;
  border-radius: 50%;
  border: 4px solid var(--rosa-claro);
  background: var(--branco);
  overflow: hidden;
}
.perfil-avatar img { width: 100%; height: 100%; object-fit: cover; }
.perfil-nome { color: var(--rosa); font-size: 32px; line-height: 1.2; font-weight: 700; }
.perfil-cargo { margin-top: 4px; font-size: 20px; line-height: 1.2; font-weight: 700; }
.perfil-status {
  margin-top: 24px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  border-radius: 200px;
  background: var(--branco);
  font-size: 14px; line-height: 1.2; font-weight: 700;
}
.perfil-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--verde); }
.perfil-local { margin-top: 24px; font-size: 16px; line-height: 1.2; }
.perfil-local strong { font-weight: 700; }
.perfil-card .btn { margin-top: 24px; }

.insta-box {
  margin-top: 32px;
  background: var(--rosa-fundo);
  border-radius: var(--radius);
  padding: 16px;
  min-height: 200px;
}

/* Benefícios */
#beneficios .marquee { margin-top: 32px; }
#beneficios .btn-block { margin-top: 32px; }
.beneficio-card {
  position: relative;
  flex: 0 0 auto;
  width: 260px; height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 32px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  color: var(--branco);
  isolation: isolate;
}
.beneficio-card img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.beneficio-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.85) 100%);
}
.beneficio-card:hover img { transform: scale(1.05); }
.beneficio-card h3 { color: var(--rosa-claro); font-size: 24px; line-height: 1.2; font-weight: 700; }
.beneficio-card p { font-size: 20px; line-height: 1.2; }

/* Depoimentos */
/* Setas ficam em colunas próprias, fora da área dos cards */
.slider {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  grid-template-areas: "prev track next";
  align-items: center;
  gap: 16px;
}
.slider-track {
  grid-area: track;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
  mask-image: linear-gradient(90deg, #000 85%, transparent);
}
.slider-track::-webkit-scrollbar { display: none; }
.slider.at-end .slider-track {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%);
  mask-image: linear-gradient(90deg, transparent, #000 15%);
}
.depo-card {
  flex: 0 0 290px;
  scroll-snap-align: start;
  background: var(--rosa-fundo);
  border-radius: var(--radius);
  padding: 40px 24px;
  display: flex; flex-direction: column;
  min-height: 460px;
}
.stars { display: flex; gap: 8px; color: var(--estrela); }
.stars svg { width: 24px; height: 24px; }
.depo-card h3 { margin-top: 24px; color: var(--rosa); font-size: 24px; line-height: 1.2; font-weight: 700; }
.depo-texto {
  margin-top: 8px;
  font-family: var(--fonte-texto);
  color: var(--texto-depo);
  font-size: 16px; line-height: 1.6; letter-spacing: -0.02em;
  flex: 1;
}
.depo-nome { margin-top: 24px; font-size: 16px; line-height: 1.2; font-weight: 700; }
.depo-desde { margin-top: 4px; font-size: 12px; line-height: 1.2; }
.slider-btn {
  width: 48px; height: 48px;
  border: 0; border-radius: 50%;
  background: var(--rosa); color: var(--branco);
  display: grid; place-items: center;
  cursor: pointer;
  transition: opacity .2s ease, transform .2s ease;
}
.slider-btn svg { width: 40px; height: 40px; }
.slider-btn:hover { transform: scale(1.06); }
.slider-btn:focus-visible { outline: 3px solid var(--rosa-claro); outline-offset: 2px; }
.slider-prev { grid-area: prev; }
.slider-next { grid-area: next; }
.slider-btn[disabled] { opacity: .3; cursor: default; pointer-events: none; }

/* ---------- Faixas animadas (marquee) ---------- */
.marquee { overflow: hidden; }
.marquee-fade {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee var(--speed, 40s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 10px; padding-right: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Resultados */
.resultados { padding: 40px 0 120px; }
.resultado-foto {
  flex: 0 0 auto;
  width: 335px; height: 335px;
  border-radius: var(--radius);
  object-fit: cover;
}

/* ---------- Contato ---------- */
.contato { padding-bottom: 60px; }
.contato-card {
  background: var(--rosa);
  color: var(--branco);
  border-radius: var(--radius);
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
}
.contato-text h2 { font-size: 32px; line-height: 1.2; font-weight: 700; }
.contato-text p { margin-top: 32px; font-size: 24px; line-height: 1.2; }
.contato-text .btn { margin-top: 24px; }
.contato-info { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.contato-info > img { width: 380px; height: 64px; }
.contato-links { display: flex; align-items: center; gap: 24px; }
.contato-fone { font-size: 24px; line-height: 1.2; font-weight: 700; }
.contato-sep { width: 1px; height: 28px; background: rgba(255, 255, 255, .6); }
.contato-insta { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; }
.contato-insta img { width: 24px; height: 24px; }
.contato a:not(.btn):hover { text-decoration: underline; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}

/* =========================================================
   Tablet
   ========================================================= */
@media (max-width: 1199px) {
  :root { --gutter: 40px; }
  .hero-inner { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 52px; }
  .hero-kicker { font-size: 26px; }
  .hero-media { height: 440px; }
  .contato-card { grid-template-columns: 1fr; padding: 48px; }
  .contato-info { align-items: flex-start; }
}

/* =========================================================
   Celular
   ========================================================= */
@media (max-width: 809px) {
  :root { --gutter: 16px; --header-h: 64px; }

  .header-inner { justify-content: center; }
  .header-cta { display: none; }
  .logo img { width: 193px; height: 32px; }

  .hero { padding: 24px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-kicker { font-size: 20px; }
  .hero-title { margin-top: 16px; font-size: 40px; }
  .hero-lead { margin-top: 16px; }
  .hero-text .btn { margin-top: 24px; }
  .btn-lg { padding: 16px 24px; font-size: 14px; }
  .hero-media { height: 400px; }

  .objecao { padding: 80px 0; }
  .objecao-grid { grid-template-columns: 1fr; margin-top: 24px; }

  .conteudo { padding: 0 0 24px; }
  .conteudo-inner { display: block; padding: 0; }
  .conteudo-main { padding: 0 var(--gutter); }
  .side-nav {
    top: var(--header-h);
    z-index: 40;
    flex-direction: row;
    justify-content: center;
    gap: 0;
    padding: 8px;
    background: var(--branco);
    margin-bottom: 24px;
  }
  .side-link { width: 110px; }

  .secao + .secao { margin-top: 80px; }
  section[id] { scroll-margin-top: calc(var(--header-h) + 100px); }

  .sobre-grid { grid-template-columns: 1fr; padding-top: 0; }
  .sobre-destaque { margin-top: 40px; }
  .perfil-card { margin-top: 72px; }

  .beneficio-card { width: 240px; height: 400px; padding: 24px; }

  .depo-card { flex-basis: 290px; }
  /* No celular as setas vão para baixo dos cards */
  .slider {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "track track" "prev next";
    gap: 16px 12px;
  }
  .slider-prev { justify-self: end; }
  .slider-next { justify-self: start; }

  .resultados { padding: 24px 0 80px; }
  .resultado-foto { width: 260px; height: 260px; }

  .contato { padding: 0 0 40px; }
  .contato-card { padding: 24px; gap: 48px; text-align: center; }
  .contato-text { display: flex; flex-direction: column; align-items: center; }
  .contato-text h2 { font-size: 24px; }
  .contato-text h2 br { display: none; }
  .contato-text p { margin-top: 24px; font-size: 20px; }
  .contato-info { align-items: center; }
  .contato-info > img { width: 100%; max-width: 300px; height: auto; }
  .contato-links { flex-direction: column; gap: 12px; }
  .contato-sep { display: none; }
}
