/* ============================================
   NICE — Personal Trainer
   ============================================ */

:root {
  --bg: #0e0b0c;
  --bg-soft: #161113;
  --wine: #6e1423;
  --wine-light: #9c2538;
  --wine-glow: #c73349;
  --cream: #f3ece4;
  --cream-dim: #c9bfb4;
  --line: rgba(243, 236, 228, 0.12);

  --font-display: "Anton", sans-serif;
  --font-body: "Jost", sans-serif;

  --container: 1240px;
  --max-width: 1440px;
  --radius: 2px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  margin: 0;
  text-transform: uppercase;
}

p { margin: 0; }

/* grain overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.label {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wine-glow);
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.label--light { color: var(--cream-dim); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.1rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn--primary {
  background: var(--wine);
  color: var(--cream);
}
.btn--primary:hover {
  background: var(--wine-light);
  transform: translateY(-2px);
}
.btn--ghost {
  border-color: var(--line);
  color: var(--cream);
}
.btn--ghost:hover {
  border-color: var(--cream);
  transform: translateY(-2px);
}
.btn--lg {
  padding: 1.2rem 2.8rem;
  font-size: 1.05rem;
}
.btn--full { width: 100%; }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.6rem clamp(1.5rem, 5vw, 4rem);
  mix-blend-mode: difference;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
}
.nav__logo span { color: var(--wine-glow); }
.nav__links {
  display: flex;
  gap: 2.4rem;
}
.nav__links a {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  border: 1px solid var(--cream);
  padding: 0.65rem 1.3rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease;
}
.nav__cta:hover { background: var(--cream); color: var(--bg); }
.nav__burger {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 22px;
  position: relative;
  cursor: pointer;
  padding: 0;
}
.nav__burger span {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--cream);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav__burger span:nth-child(1) { top: 0; }
.nav__burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav__burger span:nth-child(3) { bottom: 0; }
.nav__burger.active span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav__burger.active span:nth-child(2) { opacity: 0; }
.nav__burger.active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  text-transform: uppercase;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: radial-gradient(ellipse at 75% 20%, rgba(110,20,35,0.35), transparent 55%), var(--bg);
}

.hero__inner {
  position: relative;
  height: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 6vw, 6rem);
}

.hero__bg-type {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 22vw, 20rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(243,236,228,0.06);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.hero__frame {
  position: absolute;
  right: clamp(0px, 4vw, 6rem);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 32vw, 460px);
  aspect-ratio: 3/4;
  z-index: 1;
}

/* halo de luz vinho atrás da foto, pra não "flutuar" sobre o fundo */
.hero__frame-glow {
  position: absolute;
  inset: -16%;
  background: radial-gradient(circle at 58% 38%, rgba(199, 51, 73, 0.45), transparent 62%);
  filter: blur(50px);
  z-index: -1;
}

/* moldura solta atrás, levemente girada, dá sensação de camadas/profundidade */
.hero__frame::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid rgba(243, 236, 228, 0.22);
  border-radius: 6px;
  transform: rotate(2.5deg);
  z-index: -1;
}

.hero__frame-photo {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 6px;
  transform: rotate(-1.4deg);
  box-shadow: 0 40px 70px -24px rgba(0, 0, 0, 0.75);
}
.hero__frame-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 52%, rgba(14, 11, 12, 0.92) 100%),
    linear-gradient(100deg, rgba(14, 11, 12, 0.6) 0%, transparent 22%);
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(1.05) contrast(1.05);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  animation: rise 1s cubic-bezier(.16,1,.3,1) both;
}
.hero__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wine-glow);
  margin-bottom: 1.4rem;
}
.hero__title {
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.92;
  margin-bottom: 1.6rem;
}
.hero__title-accent {
  display: block;
  color: var(--wine-light);
  -webkit-text-stroke: 2px var(--wine-light);
  color: transparent;
}
.hero__sub {
  font-size: 1.1rem;
  color: var(--cream-dim);
  max-width: 460px;
  margin-bottom: 2.4rem;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2.4rem;
  left: clamp(1.5rem, 6vw, 6rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0; right: 0;
  height: 100%;
  background: var(--wine-glow);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ VALORES ============ */
.values {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.6rem clamp(1.5rem, 6vw, 6rem);
}
.values__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.4rem;
}
.values__inner span {
  font-size: 0.82rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.values__inner i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--wine-glow);
  display: inline-block;
}

/* ============ SOBRE ============ */
.sobre {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 6vw, 6rem);
  max-width: var(--container);
  margin: 0 auto;
}
.sobre__photo {
  position: relative;
}
.sobre__photo img {
  width: 100%;
  border-radius: var(--radius);
  filter: grayscale(0.15) contrast(1.05);
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}
.sobre__photo-tag {
  position: absolute;
  bottom: -1.4rem;
  right: -1.2rem;
  background: var(--wine);
  padding: 1rem 1.4rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  line-height: 1.3;
}
.sobre__photo-tag span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  font-weight: 400;
  text-transform: uppercase;
  color: rgba(243,236,228,0.8);
}
.sobre__text h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-bottom: 1.8rem;
  line-height: 1.02;
}
.sobre__p {
  color: var(--cream-dim);
  max-width: 540px;
  margin-bottom: 1.2rem;
  font-size: 1.02rem;
}
.sobre__pillars {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2.4rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}
.pillar {
  display: flex;
  gap: 1.2rem;
  align-items: baseline;
}
.pillar__num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--wine-glow);
  flex-shrink: 0;
}
.pillar p { color: var(--cream-dim); font-size: 0.98rem; }

/* ============ SERVIÇOS ============ */
.servicos {
  background: var(--bg-soft);
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 6vw, 6rem);
  text-align: center;
}
.servicos__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 820px;
  margin: 0 auto 4rem;
}
.servicos__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.card {
  background: var(--bg-soft);
  padding: 2.6rem 1.8rem;
  text-align: left;
  transition: background 0.3s ease;
}
.card:hover { background: #1c1517; }
.card__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--wine-glow);
  margin-bottom: 1.4rem;
}
.card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.card p {
  color: var(--cream-dim);
  font-size: 0.95rem;
}

/* ============ MÉTODO ============ */
.metodo {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 6vw, 6rem);
}
.metodo__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.metodo h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 700px;
  margin-bottom: 4rem;
}
.metodo__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.4rem;
}
.beneficio__icon {
  width: 48px;
  height: 48px;
  color: var(--wine-glow);
  margin-bottom: 1.4rem;
}
.beneficio__icon svg { width: 100%; height: 100%; }
.beneficio h4 {
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
  letter-spacing: 0.01em;
}
.beneficio p {
  color: var(--cream-dim);
  font-size: 0.92rem;
}

/* ============ CTA STRIP ============ */
.cta-strip {
  background: linear-gradient(120deg, var(--wine), #450d17);
  padding: clamp(4rem, 8vw, 6rem) 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.2rem;
}
.cta-strip h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
}

/* ============ CONTATO ============ */
.contato {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 6vw, 6rem);
  max-width: var(--container);
  margin: 0 auto;
}
.contato__info h2 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 1.6rem;
}
.contato__p {
  color: var(--cream-dim);
  max-width: 420px;
  margin-bottom: 2.4rem;
}
.contato__links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contato__link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.contato__link:hover {
  border-color: var(--wine-glow);
  transform: translateX(4px);
}
.contato__link-icon {
  width: 28px; height: 28px;
  color: var(--wine-glow);
  flex-shrink: 0;
}
.contato__link strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}
.contato__link small {
  color: var(--cream-dim);
  font-size: 0.8rem;
}

.contato__form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: var(--bg-soft);
  padding: 2.2rem;
  border: 1px solid var(--line);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.field label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.field input,
.field select,
.field textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--cream);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: var(--radius);
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--wine-glow);
}
.field--hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.contato__form-status {
  min-height: 1.2em;
  font-size: 0.82rem;
  text-align: center;
}
.contato__form-status.is-ok { color: #7fd99a; }
.contato__form-status.is-error { color: #e2697a; }

/* ============ FOOTER ============ */
.footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem clamp(1.5rem, 6vw, 6rem) 2rem;
  border-top: 1px solid var(--line);
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
}
.footer__logo span { color: var(--wine-glow); }
.footer__nav {
  display: flex;
  gap: 1.8rem;
}
.footer__nav a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cream-dim);
}
.footer__nav a:hover { color: var(--cream); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--cream-dim);
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 80;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #0e0b0c;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s ease;
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: block; }

  .sobre { grid-template-columns: 1fr; }
  .servicos__grid { grid-template-columns: repeat(2, 1fr); }
  .metodo__grid { grid-template-columns: repeat(2, 1fr); gap: 2.8rem; }
  .contato { grid-template-columns: 1fr; }

  .hero__frame {
    position: static;
    transform: none;
    width: 100%;
    max-width: 380px;
    margin: 2.5rem auto 0;
  }
  .hero__frame::before { inset: 10px -10px -10px 10px; }
  .hero__frame-photo { transform: none; }
  .hero__inner { flex-direction: column; justify-content: center; padding-top: 7rem; padding-bottom: 3rem; }
  .hero__content { max-width: 100%; }
}

@media (max-width: 640px) {
  .servicos__grid { grid-template-columns: 1fr; }
  .metodo__grid { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
  .whatsapp-float { width: 54px; height: 54px; bottom: 1.2rem; right: 1.2rem; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}
