/* =================================================================
   CPN ACADEMIA — modalidade-enhancements.css
   Riqueza de detalhes EXTRA para as páginas de modalidade.
   Novas seções: chips, stats, benefícios, steps, depoimento, FAQ, CTA.
   Carregar depois de modalidade.css e enhancements.css.
   ================================================================= */

/* ── Keyframes locais ── */
@keyframes mFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes mPop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes mGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(22, 207, 230, 0);
  }
  50% {
    box-shadow: 0 0 26px 2px rgba(22, 207, 230, 0.35);
  }
}
@keyframes mRingPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* ══════════════════════════════════════════════════════════════════
   HERO DA MODALIDADE — extras
   ══════════════════════════════════════════════════════════════════ */


/* Ícone do hero ganha anel pulsante */
.mhero__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  pointer-events: none;
  animation: mRingPulse 2.4s ease-out infinite;
}
.mhero__icon {
  position: relative;
}

/* Chips de destaque no hero */
.mhero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 auto 30px;
  max-width: 620px;
  animation: heroSubIn 0.9s var(--ease) 0.6s both;
}
.mchip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  color: #eafcff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
  transition:
    transform 0.35s var(--ease-spring),
    background 0.3s,
    border-color 0.3s;
}
.mchip .ico {
  width: 1.1em;
  height: 1.1em;
  color: var(--aqua-light);
}
.mchip:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.55);
}

/* Onda divisória no rodapé do hero */
.mhero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
}
.mhero__wave .ws-fill {
  fill: var(--bg);
}

/* ══════════════════════════════════════════════════════════════════
   BARRA DE STATS (contadores)
   ══════════════════════════════════════════════════════════════════ */
.mstats {
  background: var(--bg);
  padding-block: clamp(40px, 6vw, 60px);
  position: relative;
}
.mstats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.mstat {
  position: relative;
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(94, 23, 196, 0.1);
  border-radius: var(--radius);
  padding: 26px 16px;
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition:
    transform 0.45s var(--ease-spring),
    box-shadow 0.45s var(--ease);
}
.mstat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.mstat:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
}
.mstat:hover::before {
  transform: scaleX(1);
}
.mstat__ico {
  display: grid;
  place-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 14px;
  background: var(--grad-brand);
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 10px 24px -10px rgba(94, 23, 196, 0.6);
  animation: mFloat 5s ease-in-out infinite;
}
.mstat:nth-child(2) .mstat__ico {
  animation-delay: 0.4s;
}
.mstat:nth-child(3) .mstat__ico {
  animation-delay: 0.8s;
}
.mstat:nth-child(4) .mstat__ico {
  animation-delay: 1.2s;
}
.mstat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mstat__label {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════════
   BENEFÍCIOS (grid de cards)
   ══════════════════════════════════════════════════════════════════ */
.mbenefits {
  background:
    radial-gradient(90% 60% at 0% 0%, rgba(94, 23, 196, 0.06), transparent 60%),
    radial-gradient(
      90% 60% at 100% 100%,
      rgba(22, 207, 230, 0.07),
      transparent 60%
    ),
    var(--white);
  padding-block: clamp(70px, 9vw, 100px);
}
.mbenefits .section__head::after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 4px;
  background: var(--grad-brand);
}
.mbenefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.mbenefit {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.5s var(--ease-spring),
    box-shadow 0.5s var(--ease),
    border-color 0.3s;
}
.mbenefit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(94, 23, 196, 0.05) 50%,
    transparent 65%
  );
  transform: translateX(-130%) skewX(-18deg);
  pointer-events: none;
}
.mbenefit:hover {
  transform: translateY(-10px);
  border-color: rgba(22, 207, 230, 0.4);
  box-shadow:
    var(--shadow-lg),
    0 0 40px -14px rgba(22, 207, 230, 0.4);
}
.mbenefit:hover::after {
  animation: sheen 0.9s var(--ease) forwards;
}
.mbenefit__ico {
  display: grid;
  place-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  margin-bottom: 18px;
  background: linear-gradient(
    135deg,
    rgba(94, 23, 196, 0.12),
    rgba(22, 207, 230, 0.16)
  );
  border: 1px solid rgba(94, 23, 196, 0.18);
  color: var(--purple);
  font-size: 1.5rem;
  position: relative;
  transition:
    transform 0.5s var(--ease-spring),
    box-shadow 0.4s,
    color 0.3s;
}
.mbenefit:hover .mbenefit__ico {
  transform: translateY(-4px) rotate(-6deg) scale(1.08);
  color: var(--aqua-deep);
  box-shadow: 0 16px 30px -12px rgba(22, 207, 230, 0.6);
}
.mbenefit__ico::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(22, 207, 230, 0.5);
  opacity: 0;
  pointer-events: none;
}
.mbenefit:hover .mbenefit__ico::after {
  animation: mRingPulse 1.4s ease-out infinite;
}
.mbenefit h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.mbenefit p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════════
   GALERIA — legenda nas fotos
   ══════════════════════════════════════════════════════════════════ */
.mshot__cap {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 4;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  color: #fff;
  background: rgba(8, 30, 60, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 40px;
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease-spring);
}
.mshot:hover .mshot__cap {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════════════
   PASSO A PASSO (steps)
   ══════════════════════════════════════════════════════════════════ */
.msteps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 50px;
  position: relative;
}
.mstep {
  position: relative;
  background: linear-gradient(160deg, #fff, #f6faff);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px 26px;
  box-shadow: var(--shadow);
  transition:
    transform 0.5s var(--ease-spring),
    box-shadow 0.5s var(--ease);
}
.mstep:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.mstep__num {
  display: grid;
  place-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 16px;
  box-shadow: 0 12px 26px -10px rgba(94, 23, 196, 0.7);
  animation: mFloat 5s ease-in-out infinite;
}
.mstep:nth-child(2) .mstep__num {
  animation-delay: 0.5s;
}
.mstep:nth-child(3) .mstep__num {
  animation-delay: 1s;
}
.mstep h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.mstep p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════════
   DEPOIMENTO
   ══════════════════════════════════════════════════════════════════ */
.mquote {
  background:
    radial-gradient(
      100% 60% at 50% 0%,
      rgba(22, 207, 230, 0.08),
      transparent 60%
    ),
    var(--bg);
  padding-block: clamp(60px, 8vw, 90px);
}
.mquote__card {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(94, 23, 196, 0.12);
  border-radius: var(--radius-xl);
  padding: 54px 38px 40px;
  box-shadow:
    var(--shadow-lg),
    0 0 0 5px rgba(94, 23, 196, 0.04);
  overflow: hidden;
}
.mquote__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--purple), var(--aqua), var(--purple));
  background-size: 200% 100%;
  animation: aquaShift 6s ease-in-out infinite;
}
.mquote__mark {
  position: absolute;
  top: 6px;
  left: 26px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 7rem;
  line-height: 1;
  color: rgba(94, 23, 196, 0.08);
  pointer-events: none;
  user-select: none;
}
.mquote__stars {
  display: inline-flex;
  gap: 4px;
  color: #ffb400;
  margin-bottom: 18px;
}
.mquote__stars .ico {
  width: 1.2em;
  height: 1.2em;
}
.mquote__card blockquote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}
.mquote__card figcaption {
  margin-top: 22px;
}
.mquote__card figcaption strong {
  display: block;
  font-family: var(--font-display);
  color: var(--purple);
  font-size: 1.05rem;
}
.mquote__card figcaption span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* ══════════════════════════════════════════════════════════════════
   FAQ (accordion)
   ══════════════════════════════════════════════════════════════════ */
.mfaq {
  background: var(--white);
  padding-block: clamp(70px, 9vw, 100px);
}
.mfaq__list {
  max-width: 760px;
  margin: 10px auto 0;
  display: grid;
  gap: 14px;
}
.mfaq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
  transition:
    box-shadow 0.4s var(--ease),
    border-color 0.3s;
}
.mfaq__item.is-open {
  border-color: rgba(22, 207, 230, 0.4);
  box-shadow: 0 18px 40px -22px rgba(22, 207, 230, 0.5);
}
.mfaq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 20px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--ink);
}
.mfaq__chev {
  display: grid;
  place-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--grad-brand);
  color: #fff;
  flex: none;
  transition: transform 0.4s var(--ease-spring);
}
.mfaq__chev .ico {
  width: 1.1em;
  height: 1.1em;
}
.mfaq__item.is-open .mfaq__chev {
  transform: rotate(135deg);
}
.mfaq__a {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.45s var(--ease),
    padding 0.45s var(--ease);
}
.mfaq__item.is-open .mfaq__a {
  max-height: 240px;
}
.mfaq__a p {
  padding: 0 22px 22px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════════════
   CTA FINAL
   ══════════════════════════════════════════════════════════════════ */
.mcta {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding-block: clamp(80px, 11vw, 120px);
  background: var(--grad-night);
}
.mcta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background:
    radial-gradient(closest-side, rgba(123, 60, 224, 0.5), transparent 70%) 12%
      20% / 460px 460px,
    radial-gradient(closest-side, rgba(22, 207, 230, 0.45), transparent 70%) 86%
      78% / 520px 520px;
  background-repeat: no-repeat;
  animation: caustics 18s ease-in-out infinite alternate;
}
.mcta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}
.mcta__inner p {
  color: rgba(220, 210, 255, 0.92);
  font-size: clamp(1rem, 2.6vw, 1.18rem);
  margin: 16px auto 32px;
  max-width: 520px;
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVO
   ══════════════════════════════════════════════════════════════════ */
@media (min-width: 560px) {
  .mstats__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 768px) {
  .mbenefits__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .msteps {
    grid-template-columns: repeat(3, 1fr);
  }
  /* Linha conectora entre os passos */
  .msteps::before {
    content: "";
    position: absolute;
    top: 55px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(94, 23, 196, 0.3),
      rgba(22, 207, 230, 0.3),
      transparent
    );
    z-index: 0;
  }
}

/* ══════════════════════════════════════════════════════════════════
   MOVIMENTO REDUZIDO
   ══════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .mhero__particles,
  .mhero__icon::after,
  .mstat__ico,
  .mstep__num,
  .mquote__card::before,
  .mcta::before,
  .mcta::after,
  .mbenefit:hover .mbenefit__ico::after {
    animation: none !important;
  }
}
