/* =================================================================
   CPN ACADEMIA — sections.css  ·  redesign "Luz Líquida"
   Header, Hero, Sobre, Modalidades, Galeria, Parceiros,
   Destaque, Contato, Footer e flutuantes.
   ================================================================= */

/* ══════════════════════════════════════════════════════════════════
   SCROLL PROGRESS — barra de progresso de leitura
   ══════════════════════════════════════════════════════════════════ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(
    90deg,
    var(--purple),
    var(--aqua),
    var(--aqua-light),
    var(--aqua),
    var(--purple)
  );
  background-size: 200% 100%;
  z-index: 200;
  animation: aquaShift 3.5s linear infinite;
  pointer-events: none;
  box-shadow:
    0 0 8px rgba(22, 207, 230, 0.6),
    0 0 20px rgba(22, 207, 230, 0.3);
}

.modalidades .section__sub {
  color: #bcd3ea;
}

/* ══════════════════════════════════════════════════════════════════
   SECTION HEAD — underline animado em todos os títulos de seção
   ══════════════════════════════════════════════════════════════════ */
.section__head .h2 {
  position: relative;
}
.section__head .h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--grad-brand);
  border-radius: 4px;
  margin: 20px auto 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1s var(--ease) 0.5s;
}
.section__head.is-visible .h2::after {
  transform: scaleX(1);
}
.section__head .h2--light::after {
  background: linear-gradient(90deg, var(--aqua-light), var(--aqua));
}

/* Camada de bolhas/partículas para seções escuras (CSS puro) */
.bubble-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* ══════════════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 14px;
  transition:
    background 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    padding 0.45s var(--ease);
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow:
    0 1px 0 rgba(94, 23, 196, 0.1),
    0 10px 34px -14px rgba(8, 30, 60, 0.22);
  padding-block: 8px;
}
.header__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header__actions .btn {
  display: none;
}

.nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(340px, 86vw);
  background: linear-gradient(165deg, var(--purple-deep), #2c0f63 70%, #0a2440);
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 48px;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
  display: flex;
  box-shadow: -30px 0 60px -20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
/* luz ambiente no menu mobile */
.nav::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(closest-side, rgba(102, 231, 242, 0.35), transparent 70%)
      80% 15% / 320px 320px,
    radial-gradient(closest-side, rgba(123, 60, 224, 0.4), transparent 70%) 10%
      90% / 360px 360px;
  background-repeat: no-repeat;
  filter: blur(8px);
  animation: caustics 18s ease-in-out infinite alternate;
  pointer-events: none;
}
.nav.is-open {
  transform: translateX(0);
}
.nav__link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  color: rgba(255, 255, 255, 0.9);
  padding: 12px 0;
  position: relative;
  width: max-content;
  z-index: 1;
  transition:
    color 0.2s,
    transform 0.3s var(--ease-spring);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  height: 3px;
  width: 0;
  background: var(--aqua);
  border-radius: 3px;
  box-shadow: 0 0 12px var(--aqua);
  transition: width 0.35s var(--ease);
}
.nav__link:hover {
  color: #fff;
  transform: translateX(8px);
}
.nav__link:hover::after {
  width: 100%;
}

.hamburger {
  width: 46px;
  height: 46px;
  display: grid;
  place-content: center;
  gap: 5px;
  border-radius: 13px;
  background: var(--grad-brand);
  box-shadow: 0 8px 20px -8px rgba(94, 23, 196, 0.6);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #fff;
  border-radius: 3px;
  transition:
    transform 0.4s var(--ease-spring),
    opacity 0.25s;
}
.hamburger.is-active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(4, 16, 30, 0.6);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s,
    visibility 0.4s;
  backdrop-filter: blur(4px);
}
.nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

/* ══════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: #050f1c;
}
@keyframes heroKenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

/* ── Carrossel de slides do hero ── */
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      155deg,
      rgba(26, 10, 61, 0.84) 0%,
      rgba(6, 20, 38, 0.52) 42%,
      rgba(4, 14, 30, 0.88) 100%
    ),
    var(--slide-img, none);
  background-size: cover;
  background-position: 60% center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
  will-change: opacity;
  animation: heroKenBurns 24s ease-in-out infinite alternate;
}
.hero__slide.is-active {
  opacity: 1;
}

/* brilho de cor sobre os slides */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      ellipse 70% 60% at 12% 38%,
      rgba(94, 23, 196, 0.28),
      transparent 60%
    ),
    radial-gradient(
      ellipse 62% 52% at 88% 62%,
      rgba(22, 207, 230, 0.2),
      transparent 60%
    );
  pointer-events: none;
}
/* luz cáustica viva — acima dos slides */
.hero__caustics {
  position: absolute;
  inset: -20%;
  z-index: 2;
  opacity: 0.18;
  mix-blend-mode: screen;
  background:
    radial-gradient(closest-side, rgba(180, 255, 255, 0.6), transparent 70%) 10%
      20% / 280px 280px,
    radial-gradient(closest-side, rgba(150, 240, 255, 0.4), transparent 70%) 70%
      60% / 320px 320px,
    radial-gradient(closest-side, rgba(200, 255, 255, 0.3), transparent 70%) 40%
      80% / 240px 240px;
  background-repeat: no-repeat;
  filter: blur(14px);
  animation: caustics 16s ease-in-out infinite alternate;
}
.bubbles {
  display: none;
}

/* ── Orbes atmosféricos ── */
.hero__orbs {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(88px);
}
.orb--1 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(94, 23, 196, 0.48), transparent 68%);
  top: -18%;
  left: -8%;
  animation: orbDrift1 26s ease-in-out infinite alternate;
}
.orb--2 {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(22, 207, 230, 0.38), transparent 68%);
  bottom: 8%;
  right: -6%;
  animation: orbDrift2 32s ease-in-out infinite alternate;
}
.orb--3 {
  width: 330px;
  height: 330px;
  background: radial-gradient(circle, rgba(123, 60, 224, 0.3), transparent 68%);
  top: 48%;
  left: 54%;
  animation: orbDrift3 21s ease-in-out infinite alternate;
}

/* ── Dots do carrossel hero ── */
.hero__reel {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
  align-items: center;
}
.reel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition:
    background 0.35s,
    transform 0.35s var(--ease-spring),
    box-shadow 0.35s;
}
.reel-dot--active {
  background: var(--aqua);
  border-color: var(--aqua-light);
  transform: scale(1.5);
  box-shadow: 0 0 10px var(--aqua);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero__body {
  max-width: 720px;
}

/* Badge de topo */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--aqua-light);
  background: rgba(22, 207, 230, 0.1);
  border: 1px solid rgba(22, 207, 230, 0.35);
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  animation: heroBadgeIn 0.7s var(--ease) 0.2s both;
}
.hero__badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--aqua);
  flex-shrink: 0;
  animation: badgeDot 2s ease-in-out infinite;
}

/* Título principal */
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.9rem, 8vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: #fff;
  text-shadow: 0 4px 44px rgba(0, 0, 0, 0.5);
  margin-bottom: 24px;
  animation: heroTitleIn 1.1s var(--ease-out) 0.38s both;
}

/* Subtítulo */
.hero__sub {
  font-size: clamp(1.02rem, 2.4vw, 1.22rem);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.72;
  max-width: 52ch;
  margin-bottom: 40px;
  animation: heroSubIn 0.9s var(--ease) 0.62s both;
}

/* Stats em barra de vidro */
.hero__stats {
  display: flex;
  align-items: stretch;
  margin-bottom: 44px;
  animation: heroStatsIn 0.9s var(--ease-spring) 0.78s both;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 22px 0;
  width: fit-content;
  backdrop-filter: blur(12px);
  box-shadow:
    0 24px 60px -30px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 34px;
  gap: 5px;
}
.hero__stat strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3rem);
  background: linear-gradient(180deg, #fff, var(--aqua-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  letter-spacing: -0.03em;
  filter: drop-shadow(0 0 22px rgba(22, 207, 230, 0.5));
}
.hero__stat span {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 600;
}
.hero__stat-sep {
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  flex-shrink: 0;
  align-self: stretch;
}

/* CTAs */
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: heroCtasIn 0.9s var(--ease) 0.95s both;
}

/* Logo branca antes do scroll */
.header:not(.is-scrolled) .brand__name {
  color: #fff;
}
.header:not(.is-scrolled) .brand__sub {
  color: var(--aqua-light);
}

/* ─── ONDAS DIVISÓRIAS ─── */
.wave-divider {
  position: absolute;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 3;
  pointer-events: none;
}
.wave-divider--bottom {
  bottom: -1px;
}
.wave-divider svg {
  width: 100%;
  height: 120px;
  display: block;
}
.wave {
  transform-box: fill-box;
  animation:
    waveSlide 9s ease-in-out infinite,
    waveSwell 6s ease-in-out infinite;
}
.wave--1 {
  fill: var(--bg);
  opacity: 1;
  animation:
    waveSlide 11s ease-in-out infinite,
    waveSwell 7s ease-in-out infinite;
}
.wave--2 {
  fill: var(--aqua);
  opacity: 0.22;
  animation:
    waveSlide 8s ease-in-out infinite reverse,
    waveSwell 5.5s ease-in-out infinite;
}
.wave--3 {
  fill: var(--purple);
  opacity: 0.14;
  animation:
    waveSlide 6.5s ease-in-out infinite,
    waveSwell 4.5s ease-in-out infinite reverse;
}
.modalidades .wave--1,
.galeria .wave--1 {
  fill: var(--bg);
}
.modalidades .wave--2 {
  fill: var(--aqua-light);
  opacity: 0.18;
}
.modalidades .wave--3 {
  fill: var(--purple-soft);
  opacity: 0.16;
}

/* ══════════════════════════════════════════════════════════════════
   BUTTON RIPPLE — ondulação ao clique
   ══════════════════════════════════════════════════════════════════ */
.btn-ripple {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: btnRipple 0.65s ease-out forwards;
  z-index: 10;
}

/* ══════════════════════════════════════════════════════════════════
   SOBRE (A Academia)
   ══════════════════════════════════════════════════════════════════ */
.sobre {
  padding-top: clamp(56px, 7vw, 90px);
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.sobre::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(22, 207, 230, 0.08),
    transparent 70%
  );
  pointer-events: none;
}
.sobre::after {
  content: "";
  position: absolute;
  bottom: -90px;
  left: -90px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 23, 196, 0.07), transparent 70%);
  pointer-events: none;
}
.sobre__grid {
  display: grid;
  gap: 50px;
  position: relative;
  isolation: isolate;  /* cria contexto de empilhamento para a marca d'água */
}
/* Marca d'água decorativa '+20 anos' */
.sobre__grid::after {
  /* content: "+20"; */
  position: absolute;
  right: -60px;
  bottom: -40px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(8rem, 18vw, 16rem);
  line-height: 1;
  background: linear-gradient(
    145deg,
    rgba(94, 23, 196, 0.07),
    rgba(22, 207, 230, 0.05)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
  user-select: none;
  z-index: -1; /* fica atrás do conteúdo dentro do contexto de isolamento */
}
.sobre__text .kicker {
  margin-bottom: 14px;
}
.sobre__text .h2 {
  margin-bottom: 8px;
}
.sobre__text p {
  color: var(--ink-soft);
  margin-top: 18px;
  max-width: 54ch;
  font-size: 1.04rem;
  line-height: 1.8;
}
.sobre__text strong {
  color: var(--ink);
  font-weight: 700;
}
.sobre__cta {
  margin-top: 34px;
}

/* Info cards glass com borda gradiente */
.sobre__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.5s var(--ease-spring),
    box-shadow 0.5s var(--ease);
  box-shadow: var(--ring), var(--shadow);
}
.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
  border-radius: 0 0 3px 3px;
}
.info-card:hover {
  transform: translateY(-9px);
  box-shadow:
    0 0 0 1px rgba(94, 23, 196, 0.15),
    var(--shadow-lg),
    0 0 0 5px rgba(94, 23, 196, 0.04);
}
.info-card:hover::before {
  transform: scaleX(1);
}
.info-card__ico {
  display: grid;
  place-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--grad-brand);
  color: #fff;
  font-size: 1.45rem;
  margin-bottom: 16px;
  box-shadow: 0 12px 28px -10px rgba(94, 23, 196, 0.65);
  transition: transform 0.5s var(--ease-spring), box-shadow 0.4s var(--ease);
  animation: infoIconFloat 5s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.sobre__cards > :nth-child(1) .info-card__ico { --d: 0s; }
.sobre__cards > :nth-child(2) .info-card__ico { --d: 1.3s; }
.sobre__cards > :nth-child(3) .info-card__ico { --d: 0.65s; }
.sobre__cards > :nth-child(4) .info-card__ico { --d: 1.95s; }
.info-card:hover .info-card__ico {
  transform: translateY(-6px) rotate(-8deg) scale(1.1);
  box-shadow: 0 18px 36px -12px rgba(94, 23, 196, 0.8);
  animation-play-state: paused;
}
.info-card:hover {
  transform: translateY(-9px);
  box-shadow:
    0 0 0 1px rgba(94, 23, 196, 0.15),
    var(--shadow-lg),
    0 0 40px -10px rgba(22, 207, 230, 0.18),
    0 0 0 5px rgba(94, 23, 196, 0.04);
}
.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.info-card p {
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════════
   MODALIDADES — "Nossas Aulas"
   ══════════════════════════════════════════════════════════════════ */
.modalidades {
  background:
    radial-gradient(
      110% 65% at 50% 0%,
      rgba(22, 207, 230, 0.2),
      transparent 55%
    ),
    radial-gradient(
      100% 55% at 100% 100%,
      rgba(123, 60, 224, 0.24),
      transparent 55%
    ),
    linear-gradient(180deg, #06233e 0%, #020f1e 100%);
  color: #fff;
  padding-block: clamp(90px, 11vw, 130px) clamp(120px, 14vw, 160px);
  position: relative;
  overflow: hidden;
}
.modalidades::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background:
    radial-gradient(closest-side, rgba(102, 231, 242, 0.32), transparent 70%)
      12% 22% / 340px 340px,
    radial-gradient(closest-side, rgba(123, 60, 224, 0.32), transparent 70%) 88%
      72% / 400px 400px;
  background-repeat: no-repeat;
  animation: caustics 20s ease-in-out infinite alternate;
}
/* bolhas subindo (CSS) */
.modalidades::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.5) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(102, 231, 242, 0.5) 0 3px, transparent 4px),
    radial-gradient(circle, rgba(255, 255, 255, 0.4) 0 1.5px, transparent 2.5px);
  background-size:
    200px 200px,
    320px 320px,
    150px 150px;
  background-position:
    10% 0,
    60% 0,
    85% 0;
  animation: bubblesUp 14s linear infinite;
}
@keyframes bubblesUp {
  from {
    background-position-y: 100%, 100%, 100%;
  }
  to {
    background-position-y:
      -100%,
      -120%,
      -90%;
  }
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  position: relative;
  z-index: 1;
}
.card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: rgba(8, 30, 60, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 30px 70px -30px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 0.55s var(--ease-spring),
    box-shadow 0.55s var(--ease);
  will-change: transform;
  backdrop-filter: blur(4px);
}
.card:hover {
  transform: translateY(-14px);
  box-shadow:
    0 0 0 1.5px rgba(22, 207, 230, 0.5),
    0 0 32px rgba(22, 207, 230, 0.12),
    0 50px 95px -35px rgba(22, 207, 230, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.07) 50%,
    transparent 65%
  );
  transform: translateX(-130%) skewX(-18deg);
  pointer-events: none;
}
.card:hover::after {
  animation: shimmer 0.8s var(--ease) forwards;
}

.card__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  display: grid;
  place-content: center;
}
.media--baby {
  background: linear-gradient(150deg, #36b6e0, #1c6fb0);
}
.media--infantil {
  background: linear-gradient(150deg, #5ec8e8, #2a7bd0);
}
.media--adultos {
  background: linear-gradient(150deg, #1f6fb0, #0c3f73);
}
.media--hidro {
  background: linear-gradient(150deg, #19c7d6, #0a7a93);
}
.media--musc {
  background: linear-gradient(150deg, #6a32c9, #2c0f63);
}
.media--cond {
  background: linear-gradient(150deg, #6a32c9, #33126e);
}

.card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: transform 0.95s var(--ease);
}
.card:hover .card__media img {
  transform: scale(1.12);
}
.card__media img.img-missing {
  display: none;
}

.card__icon {
  display: grid;
  place-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  font-size: 1.7rem;
  z-index: 5;
  backdrop-filter: blur(5px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
  position: relative;
  transition: transform 0.55s var(--ease-spring);
}
/* Anel de ondulação ao hover — como uma gota na piscina */
.card__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(22, 207, 230, 0.55);
  transform: scale(1);
  opacity: 0;
  pointer-events: none;
}
.card:hover .card__icon::before {
  animation: iconRingPulse 1.5s ease-out infinite;
}
.card:hover .card__icon {
  transform: scale(1.12) rotate(-8deg);
}

.card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.04) 0%,
    transparent 25%,
    rgba(4, 18, 38, 0.85) 80%,
    rgba(4, 18, 38, 0.96) 100%
  );
}
.card__media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  z-index: 4;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.4s;
}
.card:hover .card__media::after {
  opacity: 1;
}

.card__body {
  padding: 22px 24px 24px;
}
.card__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--grad-brand-soft);
  padding: 5px 13px;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 8px 20px -8px rgba(94, 23, 196, 0.9);
}
.card__body h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.38rem;
  line-height: 1.08;
  color: #fff;
}
.card__body p {
  color: rgba(180, 215, 245, 0.9);
  font-size: 0.9rem;
  margin-top: 5px;
}
.card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.93rem;
  color: #fff;
  background: var(--grad-brand-soft);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 28px -12px rgba(94, 23, 196, 0.9);
  transition:
    transform 0.4s var(--ease-spring),
    box-shadow 0.4s var(--ease),
    filter 0.3s;
}
.card__more .ico {
  transition: transform 0.4s var(--ease-spring);
}
.card__more:hover {
  transform: translateY(-3px);
  filter: brightness(1.12);
  box-shadow: 0 20px 38px -14px rgba(22, 207, 230, 0.7);
}
.card__more:hover .ico {
  transform: translateX(6px);
}

/* ══════════════════════════════════════════════════════════════════
   HERO WATERLINE — superfície de água animada no rodapé do hero
   ══════════════════════════════════════════════════════════════════ */
.hero__waterline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  z-index: 3;
  pointer-events: none;
  display: block;
}

/* ══════════════════════════════════════════════════════════════════
   MOD-CAUSTICS — luz de piscina no fundo da seção de modalidades
   ══════════════════════════════════════════════════════════════════ */
.mod-caustics {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* ══════════════════════════════════════════════════════════════════
   GALERIA — "Por Dentro da CPN"
   ══════════════════════════════════════════════════════════════════ */
.galeria {
  background:
    radial-gradient(
      110% 70% at 0% 0%,
      rgba(94, 23, 196, 0.08),
      transparent 55%
    ),
    radial-gradient(
      110% 70% at 100% 100%,
      rgba(22, 207, 230, 0.1),
      transparent 55%
    ),
    var(--bg);
  padding-block: clamp(80px, 10vw, 100px) clamp(120px, 14vw, 150px);
  overflow: hidden;
}
.galeria .section__head {
  position: relative;
}
.galeria .section__head .kicker {
  color: var(--purple);
}

.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 18px;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 22px;
  animation: marqueeMove var(--marquee-duration, 48s) linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__item {
  position: relative;
  flex: none;
  width: clamp(280px, 65vw, 420px);
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(150deg, var(--purple-soft), var(--aqua-deep));
  box-shadow: 0 22px 54px -22px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition:
    box-shadow 0.45s var(--ease),
    transform 0.45s var(--ease-spring);
}
.marquee__item:hover {
  transform: translateY(-6px);
  box-shadow:
    0 32px 64px -22px rgba(94, 23, 196, 0.35),
    0 0 0 2px rgba(22, 207, 230, 0.3);
}
.marquee__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.marquee__item:hover img {
  transform: scale(1.08);
  filter: saturate(1.18) brightness(1.06);
}
.marquee__item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  z-index: 3;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.4s;
}
.marquee__item:hover::before {
  opacity: 1;
}
.marquee__item.item-missing img {
  display: none;
}

/* ══════════════════════════════════════════════════════════════════
   PARCEIROS — Speedo
   ══════════════════════════════════════════════════════════════════ */
.parceiros {
  background:
    radial-gradient(
      130% 80% at 50% 0%,
      rgba(22, 207, 230, 0.07),
      transparent 55%
    ),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  padding-block: var(--space-section);
}
.partner {
  display: grid;
  gap: 44px;
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(94, 23, 196, 0.1);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 0 var(--line) inset,
    var(--shadow-lg);
}
.partner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple), var(--aqua), var(--purple));
  background-size: 200% 100%;
  animation: aquaShift 6s ease-in-out infinite;
}
.partner::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 207, 230, 0.1), transparent 70%);
  pointer-events: none;
}
.partner__text p {
  color: var(--ink-soft);
  margin-top: 14px;
  line-height: 1.75;
}
.partner__text strong {
  color: var(--ink);
}
.partner__list {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}
.partner__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.98rem;
}
.partner__list .ico {
  color: #fff;
  background: var(--grad-brand);
  padding: 7px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 8px 18px -8px rgba(94, 23, 196, 0.6);
}
.partner__logo-card {
  background: linear-gradient(145deg, #fff 0%, #f6faff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 54px 44px;
  display: grid;
  place-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -20px rgba(94, 23, 196, 0.12);
  transition:
    transform 0.5s var(--ease-spring),
    box-shadow 0.5s var(--ease);
  z-index: 1;
}
.partner__logo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.65) 50%,
    transparent 70%
  );
  transform: translateX(-130%) skewX(-18deg);
  pointer-events: none;
}
.partner__logo-card:hover {
  transform: scale(1.04) translateY(-5px);
  box-shadow: 0 30px 56px -20px rgba(94, 23, 196, 0.22);
}
.partner__logo-card:hover::after {
  animation: shimmer 0.9s var(--ease) forwards;
}
.partner__logo-card img {
  max-width: 220px;
  width: 100%;
  filter: drop-shadow(0 8px 20px rgba(255, 0, 0, 0.14));
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════════════════════════════
   DESTAQUE / CTA dark
   ══════════════════════════════════════════════════════════════════ */
.destaque {
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(100px, 13vw, 140px);
  background: var(--grad-night);
  position: relative;
}
.destaque__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.destaque .lights {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  background:
    radial-gradient(closest-side, rgba(123, 60, 224, 0.6), transparent 70%) 10%
      15% / 460px 460px,
    radial-gradient(closest-side, rgba(22, 207, 230, 0.5), transparent 70%) 88%
      80% / 520px 520px,
    radial-gradient(closest-side, rgba(255, 255, 255, 0.15), transparent 70%)
      55% 35% / 340px 340px;
  background-repeat: no-repeat;
  animation: caustics 18s ease-in-out infinite alternate;
}
/* bolhas subindo */
.destaque::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.5) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(102, 231, 242, 0.5) 0 3px, transparent 4px);
  background-size:
    220px 220px,
    300px 300px;
  background-position:
    20% 0,
    70% 0;
  animation: bubblesUp 16s linear infinite;
}
.destaque__inner {
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.destaque__title {
  margin-top: 10px;
}
.destaque__sub {
  color: rgba(220, 210, 255, 0.9);
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  margin: 22px auto 44px;
  max-width: 600px;
  line-height: 1.75;
}
.destaque__features {
  display: grid;
  gap: 16px;
  margin-bottom: 48px;
}
.feat {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  padding: 24px 20px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.5s var(--ease-spring),
    background 0.3s,
    box-shadow 0.5s;
}
.feat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}
.feat:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 24px 48px -24px rgba(22, 207, 230, 0.35);
}
.feat:hover::before {
  transform: scaleX(1);
}
/* Ícone decorativo dos blocos de destaque */
.feat__ico {
  display: grid;
  place-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(22, 207, 230, 0.22), rgba(94, 23, 196, 0.28));
  border: 1px solid rgba(22, 207, 230, 0.35);
  color: var(--aqua-light);
  font-size: 1.55rem;
  margin: 0 auto 18px;
  backdrop-filter: blur(6px);
  box-shadow:
    0 12px 28px -10px rgba(22, 207, 230, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.5s var(--ease-spring), box-shadow 0.4s var(--ease);
}
.feat:hover .feat__ico {
  transform: translateY(-5px) scale(1.08);
  box-shadow:
    0 20px 40px -10px rgba(22, 207, 230, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.feat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #fff;
}
.feat span {
  font-size: 0.88rem;
  color: rgba(200, 195, 230, 0.9);
  margin-top: 4px;
  display: block;
}

/* ══════════════════════════════════════════════════════════════════
   CONTATO  (destaque reforçado)
   ══════════════════════════════════════════════════════════════════ */
.contato {
  background:
    radial-gradient(
      120% 70% at 100% 0%,
      rgba(22, 207, 230, 0.08),
      transparent 55%
    ),
    radial-gradient(
      110% 60% at 0% 100%,
      rgba(94, 23, 196, 0.07),
      transparent 55%
    ),
    var(--bg);
  padding-block: var(--space-section);
  position: relative;
  overflow: hidden;
}
.contato::before {
  content: "";
  position: absolute;
  top: -130px;
  left: -130px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 23, 196, 0.07), transparent 70%);
  pointer-events: none;
}
.contato::after {
  content: "";
  position: absolute;
  bottom: -110px;
  right: -110px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(22, 207, 230, 0.08),
    transparent 70%
  );
  pointer-events: none;
}
.contato__grid {
  display: grid;
  gap: 44px;
}
.contato__intro p {
  color: var(--ink-soft);
  margin-top: 16px;
  max-width: 46ch;
  line-height: 1.75;
}
.contato__intro strong {
  color: var(--ink);
}
.contato__info {
  margin-top: 34px;
  display: grid;
  gap: 16px;
}
.contato__info li {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--ink-soft);
  font-weight: 500;
}
.contato__ico {
  display: grid;
  place-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--grad-brand);
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 10px 24px -12px rgba(94, 23, 196, 0.65);
  transition:
    transform 0.4s var(--ease-spring),
    box-shadow 0.4s var(--ease);
}
.contato__info li:hover .contato__ico {
  transform: scale(1.12) rotate(-8deg);
  box-shadow: 0 14px 30px -10px rgba(94, 23, 196, 0.8);
}

/* Formulário — cartão em destaque com halo */
.form-wrap {
  background: var(--white);
  border: 1px solid rgba(94, 23, 196, 0.12);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  box-shadow:
    var(--shadow-lg),
    0 0 0 5px rgba(94, 23, 196, 0.04);
  position: relative;
  overflow: hidden;
}
/* halo aquático pulsante atrás do cartão */
.form-wrap::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(
    130deg,
    var(--purple),
    var(--aqua),
    var(--purple-soft)
  );
  background-size: 200% 200%;
  filter: blur(22px);
  opacity: 0.28;
  animation: aquaShift 7s ease-in-out infinite;
}
.form-wrap::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;
  z-index: 2;
}
.form-wrap__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.65rem;
  color: var(--ink);
  position: relative;
  z-index: 1;
  margin-bottom: 4px;
}
.form-wrap__sub {
  color: var(--muted);
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
}
.form {
  display: grid;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.field-row {
  display: grid;
  gap: 16px;
}
.field {
  position: relative;
}
.field input,
.field select {
  width: 100%;
  padding: 21px 16px 9px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--ink);
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    background 0.3s;
  appearance: none;
}
.field select {
  cursor: pointer;
  padding-right: 44px;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--purple);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(94, 23, 196, 0.12);
}
.field label {
  position: absolute;
  left: 16px;
  top: 17px;
  color: var(--muted);
  font-size: 1rem;
  pointer-events: none;
  transition:
    transform 0.24s var(--ease),
    color 0.24s,
    font-size 0.24s;
  transform-origin: left;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field select:focus + label,
.field select:valid + label {
  transform: translateY(-10px) scale(0.74);
  color: var(--purple);
  font-weight: 700;
}
.field__chev {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  width: 18px;
  height: 18px;
  color: var(--purple);
  pointer-events: none;
}
.field.invalid input,
.field.invalid select {
  border-color: #e0455e;
  box-shadow: 0 0 0 4px rgba(224, 69, 94, 0.1);
}
.form__hint {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  margin-top: 6px;
}
#submitBtn {
  position: relative;
  overflow: hidden;
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════ */
.footer {
  position: relative;
  background:
    radial-gradient(
      130% 90% at 50% 0%,
      rgba(94, 23, 196, 0.36),
      transparent 55%
    ),
    #020f1e;
  color: #c7d6e6;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--aqua), var(--purple));
  background-size: 200% 100%;
  animation: aquaShift 8s ease-in-out infinite;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding-block: 58px 36px;
}
.footer .brand--footer {
  justify-content: center;
}
.footer__tag {
  color: #8fa8c0;
  font-size: 0.92rem;
  max-width: 46ch;
  line-height: 1.65;
}
.footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  font-size: 0.9rem;
  color: #8fa8c0;
}
.footer__meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer__meta .ico {
  color: var(--aqua-light);
}
.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.footer__social a {
  display: grid;
  place-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.2rem;
  transition:
    transform 0.4s var(--ease-spring),
    background 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
.footer__social a:hover {
  transform: translateY(-5px);
  background: var(--grad-brand);
  border-color: transparent;
  box-shadow: 0 14px 28px -10px rgba(94, 23, 196, 0.5);
}
.footer__bottom {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 20px;
  text-align: center;
  font-size: 0.82rem;
  color: #6d88a0;
}

/* ══════════════════════════════════════════════════════════════════
   BOTÕES FLUTUANTES
   ══════════════════════════════════════════════════════════════════ */
.floats {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float {
  position: relative;
  display: grid;
  place-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.55rem;
  box-shadow: 0 14px 32px -10px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.4s var(--ease-spring),
    box-shadow 0.4s var(--ease);
  animation: floatIn 0.5s var(--ease) backwards;
}
.float:hover {
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 20px 44px -14px rgba(0, 0, 0, 0.55);
}
.float--wa {
  background: #25d366;
}
.float--ig {
  background: linear-gradient(
    135deg,
    #feda75,
    #d62976 45%,
    #962fbf 80%,
    #4f5bd5
  );
  animation-delay: 0.08s;
}
.float--tt {
  background: #010101;
  animation-delay: 0.16s;
}
.float__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: pulse 2.4s ease-out infinite;
}
.to-top {
  position: fixed;
  left: 20px;
  bottom: 22px;
  z-index: 80;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--grad-brand);
  color: #fff;
  display: grid;
  place-content: center;
  font-size: 1.25rem;
  box-shadow: 0 14px 32px -12px rgba(94, 23, 196, 0.8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition:
    opacity 0.4s,
    visibility 0.4s,
    transform 0.4s var(--ease-spring);
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover {
  filter: brightness(1.1);
  transform: translateY(-4px);
}
