/* =========================================================
   Pulso Fit - Landing Page
   Design tokens
   ========================================================= */
:root {
  --bg-primary: #080C14;
  --bg-secondary: #0A111F;
  --brand: #24C7FF;
  --grad-start: #315BFF;
  --grad-end: #24C7FF;
  --card-bg: rgba(16, 25, 41, 0.7);
  --card-border: rgba(0, 210, 255, 0.18);
  --text-title: #FFFFFF;
  --text-body: #A0AEC0;
  --accent-green: var(--brand);

  --font-title: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --radius: 14px;
  --container: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-body);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--brand);
  color: #04101C;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 8px;
  z-index: 1000;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* =========================================================
   Typography helpers
   ========================================================= */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--brand);
  font-size: 0.95rem;
  margin: 0 0 14px;
}

.badge {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--brand);
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid var(--card-border);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--text-title);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  margin: 0;
  max-width: 620px;
}

.section-text {
  max-width: 60ch;
  font-size: 1.05rem;
}

.section-head { margin-bottom: 48px; }
.section-head--light .section-title,
.section-head--light .badge { position: relative; z-index: 2; }

.section-cta { margin-top: 40px; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 15px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn .icon { width: 20px; height: 20px; flex-shrink: 0; }

.btn--primary {
  background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
  color: #04101C;
  box-shadow: 0 8px 24px rgba(0, 210, 255, 0.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 210, 255, 0.38); }

.btn--outline {
  background: transparent;
  border: 1.5px solid var(--card-border);
  color: var(--text-title);
}
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }

.btn--ghost {
  background: rgba(0, 210, 255, 0.06);
  color: var(--brand);
  border: 1px solid var(--card-border);
}
.btn--ghost:hover { background: rgba(0, 210, 255, 0.12); }

.btn--lg { padding: 18px 34px; font-size: 1.05rem; }

.btn--nav { padding: 12px 24px; font-size: 0.92rem; }

/* =========================================================
   Header
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 12, 20, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 210, 255, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.logo {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-title);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.logo span { color: var(--brand); margin-left: 4px; }
.logo--sm { font-size: 1rem; }

.nav {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color 0.15s ease;
}
.nav__link:hover { color: var(--brand); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-title);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100dvh - 72px);
  padding: 76px 0 96px;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(0, 210, 255, 0.12), transparent),
    var(--bg-primary);
  clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
}

.hero__watermark {
  position: absolute;
  top: 8%;
  left: 0;
  width: 100%;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(4rem, 14vw, 11rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 210, 255, 0.08);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, 0.84fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.hero__content { min-width: 0; }

.hero__title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(3rem, 4.4vw, 4.3rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: var(--text-title);
  margin: 0 0 22px;
  max-width: 19ch;
  text-wrap: balance;
}

.hero__subtitle {
  font-size: 1.06rem;
  line-height: 1.7;
  max-width: 54ch;
  margin: 0 0 34px;
}

.hero__visual {
  position: relative;
  min-height: 550px;
  isolation: isolate;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 8% -18% -5% 14%;
  background: var(--grad-start);
  clip-path: polygon(18% 0, 100% 0, 78% 100%, 0 90%);
  z-index: -2;
  opacity: 0.86;
}

.hero__image-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: polygon(15% 0, 100% 7%, 84% 100%, 0 91%);
  background: #0d214a;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 44%;
  filter: saturate(0.86) contrast(1.05);
}

.hero__image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, transparent 48%, rgba(3, 18, 54, 0.62));
  pointer-events: none;
}

.hero__slash {
  position: absolute;
  width: 44%;
  height: 11px;
  right: -5%;
  bottom: 12%;
  background: #eef7ff;
  transform: rotate(-13deg);
  transform-origin: center;
  z-index: 2;
}

/* Assinatura aquática entre o hero e a prova social */
.water-ripple {
  position: relative;
  z-index: 3;
  width: min(360px, 42vw);
  height: 76px;
  margin: -82px 9vw 4px auto;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.78;
}

.water-ripple span {
  position: absolute;
  left: 50%;
  bottom: -42px;
  width: 86%;
  height: 82px;
  border: 1px solid rgba(36, 199, 255, 0.55);
  border-radius: 50%;
  transform: translate3d(-50%, 0, 0) scaleY(0.34);
}

.water-ripple span:nth-child(2) {
  width: 62%;
  bottom: -34px;
  border-color: rgba(238, 247, 255, 0.46);
}

.water-ripple span:nth-child(3) {
  width: 38%;
  bottom: -27px;
  border-color: rgba(49, 91, 255, 0.72);
}

/* =========================================================
   Stats bar
   ========================================================= */
.stats { padding: 0 0 40px; margin-top: -60px; position: relative; z-index: 2; }

.stats__bar {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 30px 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.stat { text-align: center; min-width: 140px; }

.stat__num, .stat__num-text {
  display: block;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--text-title);
  margin-bottom: 4px;
}

.stat__label { font-size: 0.88rem; color: var(--text-body); }

.stat__divider {
  width: 1px;
  height: 44px;
  background: var(--card-border);
}

/* =========================================================
   About
   ========================================================= */
.about {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.about__watermark {
  position: absolute;
  bottom: -6%;
  right: -2%;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(3.5rem, 11vw, 8rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 210, 255, 0.06);
  pointer-events: none;
  z-index: 0;
}

.about__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.8fr 1.6fr;
  gap: 40px;
}

.about__tag {
  color: var(--brand);
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  max-width: 8ch;
}

.about__body p + p { margin-top: 16px; }

/* =========================================================
   Services
   ========================================================= */
.services { padding: 60px 0 100px; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  gap: 20px;
}

.services__grid .card { grid-column: span 3; }
.services__grid .card--featured { grid-column: span 6; }
.card--featured { background: linear-gradient(145deg, rgba(49, 91, 255, 0.3), rgba(16, 25, 41, 0.72)); }

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 32px 26px;
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 210, 255, 0.1);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card__icon svg { width: 24px; height: 24px; }

.card__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-title);
  margin: 0 0 10px;
}

.card__text { font-size: 0.98rem; margin: 0; }

/* =========================================================
   Differentials
   ========================================================= */
.diff {
  position: relative;
  padding: 100px 0;
  background: var(--bg-secondary);
  clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 96%);
}

.diff__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.diff__item {
  padding: 30px 24px 34px;
  border-right: 1px solid var(--card-border);
}
.diff__item:last-child { border-right: 0; }

.diff__mark {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--accent-green);
  margin-bottom: 14px;
}

.diff__item h3 {
  font-family: var(--font-title);
  color: var(--text-title);
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.diff__item p { font-size: 0.95rem; margin: 0; }

/* =========================================================
   Pricing
   ========================================================= */
.pricing { position: relative; padding: 110px 0 100px; overflow: hidden; }

.pricing__watermark {
  position: absolute;
  top: -4%;
  left: -2%;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(3.5rem, 11vw, 8rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 210, 255, 0.06);
  pointer-events: none;
}

.pricing__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
}

.plan {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.plan--featured {
  border-color: var(--brand);
  box-shadow: 0 20px 50px rgba(0, 210, 255, 0.18);
  transform: translateY(-14px);
  position: relative;
}

.plan__badge {
  position: absolute;
  top: -14px;
  left: 28px;
  background: var(--accent-green);
  color: #04101C;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: 100px;
}

.plan__name {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-title);
  margin: 0;
}

.plan__desc { font-size: 0.95rem; margin: 0; }

.plan__list { display: flex; flex-direction: column; gap: 10px; margin: 6px 0; }
.plan__list li {
  font-size: 0.92rem;
  color: var(--text-body);
  padding-left: 22px;
  position: relative;
}
.plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--brand);
}

.plan .btn { justify-content: center; margin-top: auto; }

/* =========================================================
   Testimonials
   ========================================================= */
.testimonials { padding: 100px 0; }

.testi__track {
  display: flex;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  border-radius: var(--radius);
  max-width: 640px;
  margin: 0 auto;
}

.testi {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}

.testi__stars { color: var(--accent-green); letter-spacing: 4px; margin-bottom: 16px; }

.testi__text {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--text-title);
  margin: 0 0 18px;
}

.testi__author { color: var(--brand); font-weight: 600; margin: 0; }

.testi__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}

.testi__btn {
  width: 40px;
  height: 40px;
  border-radius: 100px;
  border: 1px solid var(--card-border);
  background: transparent;
  color: var(--text-title);
  font-size: 1.3rem;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.testi__btn:hover { border-color: var(--brand); color: var(--brand); }

.testi__dots { display: flex; gap: 8px; }

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--card-border);
  cursor: pointer;
  border: none;
  padding: 0;
}
.dot.is-active { background: var(--brand); }

/* =========================================================
   FAQ / Accordion
   ========================================================= */
.faq { padding: 60px 0 110px; }

.accordion { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }

.acc-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  color: var(--text-title);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  padding: 22px 26px;
  cursor: pointer;
}

.acc-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 210, 255, 0.1);
  color: var(--brand);
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.acc-trigger[aria-expanded="true"] .acc-icon { transform: rotate(45deg); }

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.acc-trigger[aria-expanded="true"] + .acc-panel { grid-template-rows: 1fr; }

.acc-panel__inner { overflow: hidden; }

.acc-panel p {
  margin: 0;
  padding: 0 26px 24px;
  font-size: 0.98rem;
}

/* =========================================================
   Closing / Location
   ========================================================= */
.closing {
  position: relative;
  padding: 110px 0;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(0, 210, 255, 0.14), transparent),
    var(--bg-secondary);
}

.closing__inner { display: flex; flex-direction: column; align-items: center; }

.closing__title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  color: var(--text-title);
  max-width: 18ch;
  margin: 0 0 16px;
}

.closing__subtitle { font-size: 1.05rem; margin: 0 0 8px; }

.closing__address {
  font-size: 0.95rem;
  color: rgba(160, 174, 192, 0.75);
  margin: 0 0 34px;
}

/* =========================================================
   Footer
   ========================================================= */
.footer { padding: 40px 0; border-top: 1px solid rgba(0, 210, 255, 0.08); }

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__text { font-size: 0.85rem; margin: 0; }

/* =========================================================
   Sticky mobile CTA
   ========================================================= */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
  color: #04101C;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.sticky-cta.is-visible { opacity: 1; pointer-events: auto; }
.sticky-cta .icon { width: 20px; height: 20px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .nav { display: none; }
  .btn--nav { display: none !important; }
  .menu-toggle { display: flex; }

  body { padding-bottom: 58px; }
  .hero { min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; text-align: left; }
  .hero__content { max-width: 680px; }
  .hero__visual { min-height: 360px; max-width: 620px; width: 100%; margin: 20px auto 0; }

  .about__grid { grid-template-columns: 1fr; }

  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid .card, .services__grid .card--featured { grid-column: auto; }
  .services__grid .card--featured { grid-column: 1 / -1; }

  .diff__grid { grid-template-columns: 1fr 1fr; }

  .pricing__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .plan--featured { transform: none; order: -1; }

  .sticky-cta { display: flex; }
  .footer { padding-bottom: 110px; }
}

@media (max-width: 640px) {
  .services__grid { grid-template-columns: 1fr; }
  .services__grid .card--featured { grid-column: auto; }
  .diff__grid { grid-template-columns: 1fr; }
  .diff__item { border-right: 0; border-bottom: 1px solid var(--card-border); padding-inline: 0; }
  .diff__item:last-child { border-bottom: 0; }
  .stats__bar { flex-direction: column; }
  .stat__divider { width: 100%; height: 1px; }
  .hero { padding: 42px 0 72px; clip-path: polygon(0 0, 100% 0, 100% 98%, 0 100%); }
  .hero__title { font-size: clamp(2rem, 9vw, 2.5rem); line-height: 1; max-width: 100%; }
  .hero__subtitle { font-size: 1rem; margin-bottom: 26px; }
  .hero__visual { min-height: 245px; margin-top: 34px; }
  .hero__image-frame { clip-path: polygon(10% 0, 100% 7%, 90% 100%, 0 91%); }
  .water-ripple { width: 210px; height: 58px; margin: -62px 4vw 4px auto; opacity: 0.62; }
  .water-ripple span { bottom: -50px; }
  .diff { clip-path: polygon(0 2%, 100% 0, 100% 100%, 0 98%); }
}

@media (max-width: 380px) {
  .btn { padding: 13px 18px; font-size: 0.86rem; }
  .btn--lg { padding: 15px 20px; font-size: 0.9rem; }
  .hero__title { font-size: 1.95rem; }
}

/* Mobile nav drawer */
@media (max-width: 980px) {
  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--card-border);
    padding: 20px 24px 28px;
    gap: 18px;
  }
}
