/* ================================================================
   Run Fitness Club — style.css
   ================================================================ */

:root {
  --yellow:       #fedc00;
  --yellow-dark:  #e0c300;
  --black:        #0a0a0a;
  --black-nav:    rgba(0,0,0,.95);
  --white:        #ffffff;
  --off-white:    #f8f8f8;
  --gray-50:      #fafafa;
  --gray-100:     #f2f2f2;
  --gray-200:     #e4e4e4;
  --gray-400:     #aaaaaa;
  --gray-600:     #666666;
  --gray-800:     #222222;

  --font-head:    'Syne', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    22px;
  --radius-pill:  100px;

  --shadow-xs:    0 1px 4px rgba(0,0,0,.06);
  --shadow-sm:    0 2px 12px rgba(0,0,0,.08);
  --shadow-md:    0 6px 24px rgba(0,0,0,.10);
  --shadow-lg:    0 16px 48px rgba(0,0,0,.14);
  --shadow-y:     0 8px 28px rgba(254,220,0,.30);

  --ease:         cubic-bezier(.4,0,.2,1);
  --dur:          .28s;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }

/* ── Container ── */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 5%; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: .9rem;
  border: none; cursor: pointer; border-radius: var(--radius-sm);
  transition: all var(--dur) var(--ease); white-space: nowrap;
}
.btn-lg  { padding: 15px 32px; font-size: .98rem; }
.btn-md  { padding: 11px 22px; }
.btn-sm  { padding: 8px 16px; font-size: .82rem; }

.btn-yellow { background: var(--yellow); color: var(--black); box-shadow: var(--shadow-y); }
.btn-yellow:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(254,220,0,.4); }

.btn-black { background: var(--black); color: var(--white); }
.btn-black:hover { background: #1a1a1a; transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.35); }
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-2px); }

.btn-outline-dark { background: transparent; color: var(--black); border: 2px solid rgba(0,0,0,.18); }
.btn-outline-dark:hover { border-color: var(--black); background: var(--black); color: var(--white); }

.btn-wpp { background: #25D366; color: var(--white); box-shadow: 0 4px 20px rgba(37,211,102,.28); }
.btn-wpp:hover { background: #1ebe5d; transform: translateY(-2px); }

/* ── Section commons ── */
.section { padding: 96px 0; }
.section--white  { background: var(--white); }
.section--light  { background: var(--off-white); }
.section--gray   { background: var(--gray-100); }
.section--dark   { background: var(--black); }
.section--yellow { background: var(--yellow); }

.section__eyebrow {
  display: block;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--gray-600);
}
.section--dark .section__eyebrow { color: var(--yellow); }

.section__title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.015em;
}
.section--dark .section__title { color: var(--white); }

.section__sub {
  font-size: .95rem; color: var(--gray-600); line-height: 1.75;
  max-width: 500px; margin-top: 14px;
}
.section--dark .section__sub { color: rgba(255,255,255,.55); }

.divider {
  width: 40px; height: 3px;
  background: var(--yellow); border-radius: 3px;
  margin: 16px 0;
}
.divider--center { margin: 16px auto; }

.section__header { margin-bottom: 52px; }
.section__header--center { text-align: center; }
.section__header--center .section__sub { margin-left: auto; margin-right: auto; }

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 68px; display: flex; align-items: center; padding: 0 5%;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.navbar.at-top  { background: transparent; }
.navbar.scrolled {
  background: var(--black-nav);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(254,220,0,.4);
}

.navbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1160px; margin: 0 auto;
}
.navbar__logo img { height: 50px; width: auto; }

.navbar__nav { display: flex; align-items: center; gap: 8px; }

.navbar__burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
}
.navbar__burger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all var(--dur) var(--ease);
}
.navbar__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.open span:nth-child(2) { opacity: 0; }
.navbar__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.navbar__drawer {
  display: none; position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--black-nav); backdrop-filter: blur(16px);
  padding: 20px 5% 28px; flex-direction: column; gap: 10px;
  border-top: 1px solid rgba(255,255,255,.07); z-index: 999;
}
.navbar__drawer.open { display: flex; }
.navbar__drawer .btn { width: 100%; justify-content: center; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.72) 0%, rgba(0,0,0,.52) 50%, rgba(0,0,0,.78) 100%),
    url('../images/hero.jpg') center center / cover no-repeat;
  background-color: #111;
  padding: 100px 5% 80px;
  overflow: hidden;
}


.hero__content {
  position: relative; z-index: 2;
  max-width: 720px; margin: 0 auto;
}

.hero__location {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.8);
  padding: 6px 14px; border-radius: var(--radius-pill);
  font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 30px;
  backdrop-filter: blur(8px);
}
.hero__location svg { flex-shrink: 0; }

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800; line-height: 1.12;
  letter-spacing: -.02em; color: var(--white);
  margin-bottom: 22px;
}
.hero__title mark {
  background: var(--yellow); color: var(--black);
  padding: 0 8px; border-radius: 5px;
  font-style: normal;
}

.hero__sub {
  font-size: clamp(.95rem, 1.8vw, 1.08rem);
  color: rgba(255,255,255,.78); line-height: 1.75;
  max-width: 600px; margin: 0 auto 38px;
}

.hero__actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; margin-bottom: 44px;
}

.hero__proof {
  display: flex; align-items: center; gap: 24px;
  justify-content: center; flex-wrap: wrap;
}
.hero__proof-item {
  display: flex; align-items: center; gap: 7px;
  font-size: .8rem; color: rgba(255,255,255,.55);
}
.hero__proof-item svg { color: var(--yellow); flex-shrink: 0; }

.hero__scroll {
  position: absolute; bottom: 110px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.3); font-size: .65rem;
  letter-spacing: .1em; text-transform: uppercase;
}
.hero__scroll-bar {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.35), transparent);
  animation: scrollAnim 1.8s ease-in-out infinite;
}
@keyframes scrollAnim { 0%,100%{opacity:.3} 50%{opacity:.8} }

/* =========================================================
   STRIP / MARQUEE
   ========================================================= */
.strip { background: var(--yellow); overflow: hidden; padding: 13px 0; }
.strip__wrap { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.strip__wrap:hover { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }
.strip__track { display: flex; gap: 48px; }
.strip__item {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: .8rem;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap; color: var(--black);
}
.strip__sep { width: 4px; height: 4px; background: rgba(0,0,0,.3); border-radius: 50%; }

/* =========================================================
   ICON COMPONENT
   ========================================================= */
.icon-box {
  width: 52px; height: 52px; min-width: 52px;
  background: var(--yellow); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.icon-box svg { width: 22px; height: 22px; }

.icon-box--sm { width: 42px; height: 42px; min-width: 42px; }
.icon-box--sm svg { width: 18px; height: 18px; }

.icon-box--ghost {
  background: transparent;
  border: 1.5px solid var(--gray-200);
}
.icon-box--ghost:hover, .diff-item:hover .icon-box--ghost {
  background: var(--yellow); border-color: var(--yellow);
}

/* =========================================================
   BENEFITS
   ========================================================= */
.benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.benefit-card:hover {
  box-shadow: var(--shadow-md); transform: translateY(-4px);
  border-color: transparent;
}
.benefit-card .icon-box { margin-bottom: 18px; }
.benefit-card__title {
  font-family: var(--font-head); font-size: 1rem;
  font-weight: 700; margin-bottom: 8px;
}
.benefit-card__text { font-size: .875rem; color: var(--gray-600); line-height: 1.65; }

/* =========================================================
   SERVICES
   ========================================================= */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  position: relative; overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.service-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--yellow);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon-box { margin-bottom: 18px; }
.service-card__title {
  font-family: var(--font-head); font-size: 1rem;
  font-weight: 700; margin-bottom: 8px;
}
.service-card__text { font-size: .875rem; color: var(--gray-600); line-height: 1.65; }

/* =========================================================
   GALLERY CAROUSEL  — full-width, portrait 4:5, 5 per row
   ========================================================= */

/* full-width wrapper — section already spans viewport, no transform needed */
.gallery-carousel-wrap {
  position: relative;
  width: 100%;
  padding: 0 56px;
  box-sizing: border-box;
}

.carousel { position: relative; user-select: none; }

.carousel__viewport { overflow: hidden; }

.carousel__track {
  display: flex;
  gap: 6px;
  transition: transform .48s var(--ease);
  will-change: transform;
}

.carousel__slide {
  flex: 0 0 calc((100% - 4 * 6px) / 5);
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--gray-200);
  position: relative;
  flex-shrink: 0;
  cursor: zoom-in;
}

.carousel__slide img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .48s var(--ease);
}
.carousel__slide:hover img { transform: scale(1.04); }

/* placeholder (no img or broken) */
.carousel__slide.empty::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg,
    var(--gray-100) 0, var(--gray-100) 10px,
    var(--gray-200) 10px, var(--gray-200) 20px
  );
}
.carousel__slide.empty::after {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; color: var(--gray-400); letter-spacing: .05em;
}

/* arrows */
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; width: 46px; height: 46px;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.carousel__btn:hover { background: var(--yellow); border-color: var(--yellow); transform: translateY(-50%) scale(1.08); }
.carousel__btn:hover svg { stroke: var(--black); }
.carousel__btn svg { width: 18px; height: 18px; stroke: var(--gray-600); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.carousel__btn--prev { left: 4px; }
.carousel__btn--next { right: 4px; }

/* dots */
.carousel__dots {
  display: flex; align-items: center; justify-content: center;
  gap: 7px; margin-top: 22px;
}
.carousel__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gray-300); border: none; cursor: pointer; padding: 0;
  transition: background var(--dur) var(--ease), width var(--dur) var(--ease);
}
.carousel__dot.active { background: var(--black); width: 22px; border-radius: 4px; }

@media (max-width: 768px) {
  .gallery-carousel-wrap { padding: 0 44px; }
  .carousel__slide { flex: 0 0 calc((100% - 6px) / 2); }
  .carousel__btn--prev { left: 2px; }
  .carousel__btn--next { right: 2px; }
}
@media (max-width: 480px) {
  .gallery-carousel-wrap { padding: 0 40px; }
  .carousel__slide { flex: 0 0 100%; }
}

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.93);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
  cursor: zoom-out;
}
.lightbox.active { opacity: 1; pointer-events: all; }

.lightbox__img {
  max-width: min(88vw, 520px);
  max-height: 90vh;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 24px 64px rgba(0,0,0,.6);
  transform: scale(.93);
  transition: transform .35s var(--ease);
  cursor: default;
}
.lightbox.active .lightbox__img { transform: scale(1); }

.lightbox__close {
  position: absolute; top: 18px; right: 18px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.lightbox__close:hover { background: rgba(255,255,255,.22); }
.lightbox__close svg { stroke: var(--white); fill: none; width: 18px; height: 18px; stroke-width: 2.2; stroke-linecap: round; }

/* =========================================================
   DIFFERENTIALS
   ========================================================= */
.diff-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}

.diff-item {
  display: flex; flex-direction: column; gap: 0;
  padding: 32px 28px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.diff-item:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.diff-item .icon-box { margin-bottom: 18px; }
.diff-item__title {
  font-family: var(--font-head); font-size: 1rem;
  font-weight: 700; margin-bottom: 8px;
}
.diff-item__text { font-size: .875rem; color: var(--gray-600); line-height: 1.65; }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band { padding: 96px 0; background: var(--yellow); position: relative; overflow: hidden; }
.cta-band::before {
  content: 'RUN';
  position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-head); font-size: 22vw; font-weight: 900;
  color: rgba(0,0,0,.055); pointer-events: none; line-height: 1; user-select: none;
}

.cta-band__inner {
  display: grid; grid-template-columns: 1fr auto;
  gap: 48px; align-items: center;
}

.cta-band__eyebrow {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  opacity: .5; margin-bottom: 10px;
}
.cta-band__title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -.015em; margin-bottom: 10px;
}
.cta-band__sub { font-size: .95rem; color: rgba(0,0,0,.6); max-width: 440px; }

.cta-band__actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; min-width: 220px; }
.cta-band__note { font-size: .78rem; opacity: .45; text-align: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--black); color: var(--white);
  padding: 72px 0 0;
  border-top: 2px solid var(--yellow);
}

.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px; padding-bottom: 56px;
}

.footer__logo img { height: 40px; margin-bottom: 14px; }
.footer__tagline { font-size: .875rem; color: rgba(255,255,255,.4); max-width: 210px; line-height: 1.7; }

.footer__socials { display: flex; gap: 8px; margin-top: 22px; }
.social-btn {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--dur) var(--ease);
}
.social-btn:hover { background: var(--yellow); border-color: var(--yellow); }
.social-btn:hover svg { stroke: var(--black) !important; }

.footer__col-title {
  font-family: var(--font-head); font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 18px;
}
.footer__links { display: flex; flex-direction: column; gap: 11px; }
.footer__link {
  font-size: .865rem; color: rgba(255,255,255,.5);
  display: flex; align-items: flex-start; gap: 9px;
  line-height: 1.5; transition: color var(--dur) var(--ease);
}
.footer__link:hover { color: var(--white); }
.footer__link svg { flex-shrink: 0; margin-top: 2px; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
  font-size: .78rem; color: rgba(255,255,255,.22);
}
.footer__bottom a { color: rgba(255,255,255,.38); transition: color var(--dur) var(--ease); }
.footer__bottom a:hover { color: var(--yellow); }

/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */
.float-wpp {
  position: fixed; bottom: 26px; right: 26px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.float-wpp:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 8px 32px rgba(37,211,102,.55); }
.float-wpp__ring {
  position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid #25D366; opacity: 0;
  animation: ring 2.2s ease-out infinite;
}
@keyframes ring { 0%{transform:scale(1);opacity:.5} 100%{transform:scale(1.55);opacity:0} }

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal       { opacity: 0; transform: translateY(28px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal-left  { opacity: 0; transform: translateX(-28px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal-right { opacity: 0; transform: translateX(28px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translate(0); }

.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }
.d5 { transition-delay: .5s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .benefits-grid  { grid-template-columns: repeat(2, 1fr); }
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .diff-grid      { grid-template-columns: repeat(2, 1fr); }
  .footer__grid   { grid-template-columns: 1fr 1fr; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .cta-band__actions { align-items: flex-start; flex-direction: row; }
}

@media (max-width: 768px) {
  .section { padding: 68px 0; }
  .navbar__nav  { display: none; }
  .navbar__burger { display: flex; }
  .benefits-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .diff-grid     { grid-template-columns: 1fr; }
  .footer__grid  { grid-template-columns: 1fr; }
  .gallery-grid  { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--tall { grid-row: span 1; aspect-ratio: 4/3; }
  .gallery-item--wide { grid-column: span 2; }
  .cta-band__actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; max-width: 300px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--wide { grid-column: span 1; }
}
