/* ===========================
   VARIÁVEIS & RESET
=========================== */
:root {
  --bg:        #0e1117;
  --bg-card:   #161b24;
  --border:    #1f2937;
  --fg:        #f5f5f5;
  --fg-muted:  #7a8499;
  --orange:    #f97316;
  --orange-lt: #fb923c;
  --green:     #22c55e;
  --green-dk:  #16a34a;
  --radius:    12px;
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-card:    0 4px 24px rgba(0,0,0,.45);
  --shadow-orange:  0 8px 32px rgba(249,115,22,.35);
  --shadow-green:   0 8px 24px rgba(34,197,94,.4);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  letter-spacing: .02em;
  line-height: 1.1;
}

h2 { font-size: clamp(2.5rem, 5vw, 3.75rem); text-transform: uppercase; margin-bottom: 1rem; }

p { line-height: 1.7; color: var(--fg-muted); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--font-body); border: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===========================
   UTILITÁRIOS
=========================== */
.text-gradient {
  background: linear-gradient(135deg, var(--orange), var(--orange-lt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center { text-align: center; }

.section-label {
  display: block;
  color: var(--orange);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.card {
  background: linear-gradient(160deg, #161d28, #0f141e);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

/* ===========================
   BOTÕES
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  border-radius: var(--radius);
  transition: all .25s;
  white-space: nowrap;
}

.btn--sm  { font-size: .85rem; padding: .6rem 1.2rem; }
.btn--lg  { font-size: 1.1rem; padding: 1rem 2rem; }
.btn--xl  { font-size: 1.2rem; padding: 1.2rem 2.5rem; }

.btn--whatsapp {
  background: var(--green);
  color: #fff;
}
.btn--whatsapp:hover {
  background: var(--green-dk);
  transform: scale(1.05);
  box-shadow: var(--shadow-green);
}

.btn--primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-lt));
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn--primary:hover { opacity: .9; transform: scale(1.03); }

.btn--outline {
  background: transparent;
  border: 1.5px solid rgba(249,115,22,.4);
  color: var(--orange);
}
.btn--outline:hover {
  border-color: var(--orange);
  background: rgba(249,115,22,.1);
}

/* ===========================
   NAVBAR
=========================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s, border-color .3s, box-shadow .3s;
}

.navbar--scrolled {
  background: rgba(14,17,23,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar__logo {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fff;
}

.navbar__links {
  display: flex;
  gap: 2rem;
}

.navbar__links a {
  color: var(--fg-muted);
  font-size: .85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: color .2s;
}
.navbar__links a:hover { color: var(--orange); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--fg); transition: all .3s; border-radius: 2px; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.5rem 1.5rem;
  background: rgba(22,27,36,.97);
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--fg-muted); font-weight: 500; }
.mobile-menu a:hover { color: var(--orange); }

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Imagem do personal - Translúcida, ancorada à direita */
.hero__bg {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 70%;
  background-image: url(../img/trainer-hero.jpg);
  background-size: cover;
  /* descer a imagem para mostrar melhor o corpo do personal (ajustado para ~85%) */
  background-position: 85% 20%;
  background-repeat: no-repeat;
  opacity: 0.45;
  z-index: 0;
}

/* Overlay gradiente escuro na imagem (sem afetar o texto) */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(14,17,23,.95) 0%, rgba(14,17,23,.7) 25%, rgba(14,17,23,.3) 60%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(14,17,23,.5) 80%, rgba(14,17,23,1) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 8rem;
  padding-bottom: 6rem;
  max-width: 700px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(249,115,22,.12);
  border: 1px solid rgba(249,115,22,.3);
  border-radius: 999px;
  padding: .4rem 1rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.badge__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.hero__name {
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: .95;
  margin-bottom: 1.25rem;
}

.hero__tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
}
.hero__tagline strong { color: var(--fg); }

.hero__credentials {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 2.5rem;
}

.hero__credentials span {
  font-size: .8rem;
  color: var(--fg-muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .35rem .75rem;
  background: rgba(22,27,36,.6);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: var(--fg-muted);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ===========================
   STATS
=========================== */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(22,27,36,.3);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3rem 0;
}

.stat { text-align: center; }

.stat__value {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: .5rem;
}

.stat__label {
  font-size: .75rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 500;
}

/* ===========================
   SOBRE
=========================== */
.about { padding: 6rem 0; }

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__text h2 { margin-top: .5rem; margin-bottom: 1.25rem; }
.about__text p  { margin-bottom: 1rem; }
.about__text strong { color: var(--fg); }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }

.tag {
  font-size: .8rem;
  font-weight: 600;
  color: var(--orange);
  border: 1.5px solid rgba(249,115,22,.3);
  background: rgba(249,115,22,.08);
  border-radius: 999px;
  padding: .35rem 1rem;
}

.about__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about__cards .card {
  padding: 1.5rem;
  transition: transform .3s, border-color .3s;
}
.about__cards .card:hover {
  transform: translateY(-4px);
  border-color: rgba(249,115,22,.3);
}

.card__icon { font-size: 2rem; margin-bottom: .75rem; }
.card h3 { font-size: 1.05rem; color: var(--fg); margin-bottom: .35rem; }
.card p  { font-size: .85rem; }

/* ===========================
   SERVIÇOS
=========================== */
.services {
  padding: 6rem 0;
  background: rgba(22,27,36,.2);
}

.services h2 { margin-bottom: 3rem; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-card {
  position: relative;
  background: linear-gradient(160deg, #161d28, #0f141e);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform .3s, border-color .3s;
  box-shadow: var(--shadow-card);
}
.service-card:hover { transform: translateY(-8px); }

.service-card--highlight {
  border-color: rgba(249,115,22,.5);
  background: linear-gradient(160deg, rgba(249,115,22,.08), #0f141e);
  box-shadow: var(--shadow-orange);
}

.service-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--orange), var(--orange-lt));
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: .35rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--shadow-orange);
}

.service-card__icon { font-size: 2.5rem; margin-bottom: 1.25rem; }
.service-card h3 { font-size: 1.1rem; color: var(--fg); margin-bottom: .75rem; }
.service-card p  { font-size: .85rem; flex: 1; margin-bottom: 1.25rem; }

.service-card__footer {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.price {
  display: block;
  color: var(--orange);
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: 1rem;
}

/* ===========================
   HORÁRIOS
=========================== */
.schedule { padding: 6rem 0; }

.schedule h2 { margin-bottom: .5rem; }

.schedule__subtitle {
  max-width: 560px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.schedule__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 2rem;
}

.tab-btn {
  padding: .65rem 1.25rem;
  border-radius: .75rem;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--fg-muted);
  transition: all .25s;
}

.tab-btn:hover {
  border-color: rgba(249,115,22,.4);
  color: var(--orange);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--orange), var(--orange-lt));
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-orange);
  transform: scale(1.05);
}

.schedule__panel { padding: 2rem; border-radius: 1.5rem; }

.schedule__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.schedule__header h3 {
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--fg);
}

.schedule__legend {
  display: flex;
  gap: 1.5rem;
  font-size: .8rem;
  color: var(--fg-muted);
}

.dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 4px;
}
.dot--green { background: var(--green); }
.dot--gray  { background: var(--border); }

.schedule__slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.slot {
  position: relative;
  padding: 1rem;
  border-radius: .75rem;
  font-size: 1.05rem;
  font-weight: 700;
  border: 1.5px solid;
  transition: all .25s;
  text-align: center;
}

.slot--available {
  border-color: rgba(34,197,94,.4);
  color: var(--green);
  background: transparent;
}
.slot--available:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  transform: scale(1.05);
  box-shadow: var(--shadow-green);
}

.slot__dot {
  position: absolute;
  top: 6px; right: 6px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.slot--busy {
  border-color: var(--border);
  color: rgba(122,132,153,.35);
  background: rgba(22,27,36,.2);
  cursor: not-allowed;
}

.schedule__hint {
  text-align: center;
  font-size: .8rem;
  margin-top: 2rem;
}

/* ===========================
   DEPOIMENTOS
=========================== */
.testimonials {
  padding: 6rem 0;
  background: rgba(22,27,36,.2);
}

.testimonials h2 { margin-bottom: 3rem; }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.testimonial-card {
  background: linear-gradient(160deg, #161d28, #0f141e);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: transform .3s, border-color .3s;
  box-shadow: var(--shadow-card);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249,115,22,.3);
}

.stars { color: var(--orange); font-size: 1.1rem; }

.testimonial-card > p {
  font-size: .85rem;
  font-style: italic;
  flex: 1;
}

.result-badge {
  background: rgba(249,115,22,.1);
  border: 1px solid rgba(249,115,22,.2);
  border-radius: .5rem;
  padding: .45rem .75rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--orange);
  text-align: center;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-lt));
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-author span { font-weight: 600; color: var(--fg); font-size: .9rem; }

/* ===========================
   CTA
=========================== */
.cta { padding: 6rem 1.5rem; }

.cta__box {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 3rem;
  border-radius: 1.5rem;
  border-color: rgba(249,115,22,.2);
  box-shadow: var(--shadow-orange);
  text-align: center;
}

.cta__box h2 { margin-bottom: 1rem; }

.cta__text {
  max-width: 500px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}
.cta__text strong { color: var(--fg); }

.cta__note {
  margin-top: 1.25rem;
  font-size: .8rem;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  border-top: 1px solid var(--border);
  background: rgba(22,27,36,.3);
  padding-top: 2.5rem;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.footer__logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: .35rem;
}

.footer p { font-size: .85rem; }

.footer__nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__nav a {
  color: var(--fg-muted);
  font-size: .85rem;
  transition: color .2s;
}
.footer__nav a:hover { color: var(--orange); }

.footer__copy {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 1.25rem;
  font-size: .75rem;
  color: var(--fg-muted);
}

/* ===========================
   BOTÃO FLUTUANTE
=========================== */
.floating-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-green);
  transition: transform .3s, background .3s, box-shadow .3s;
}

.floating-whatsapp:hover {
  background: var(--green-dk);
  transform: scale(1.12);
  box-shadow: 0 12px 40px rgba(34,197,94,.6);
}

.floating-whatsapp__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green);
  animation: ring 2.5s infinite;
}

@keyframes ring {
  0%   { transform: scale(1); opacity: .35; }
  80%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ===========================
   RESPONSIVO
=========================== */
@media (max-width: 1024px) {
  .services__grid,
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .navbar__links,
  .navbar > .container > .btn { display: none; }
  .hamburger { display: flex; }

  /* Hero responsivo - imagem full width e mais transparente */
  .hero__bg { width: 100%; opacity: 0.3; }
  .hero__content { padding-top: 6rem; padding-bottom: 4rem; }

  .about__grid    { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__cards   { grid-template-columns: 1fr 1fr; }
  .schedule__slots { grid-template-columns: repeat(2, 1fr); }
  .schedule__header { flex-direction: column; align-items: flex-start; gap: .75rem; }

  .footer__inner { flex-direction: column; align-items: flex-start; }
  .cta__box { padding: 2.5rem 1.5rem; }
}

@media (max-width: 480px) {
  .services__grid,
  .testimonials__grid,
  .about__cards { grid-template-columns: 1fr; }
  .stats__grid  { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  
  /* Hero mobile - ainda mais transparente */
  .hero__bg { opacity: 0.2; }
  .hero__content { padding-top: 3rem; max-width: 100%; }
  .hero__name { font-size: 2rem; }
  
  .hero__ctas   { flex-direction: column; }
  .btn--lg, .btn--xl { width: 100%; justify-content: center; }
}
