:root {
  --bg: #07070a;
  --bg-2: #101018;
  --bg-3: #171722;
  --text: #f6f2ea;
  --muted: #a8a29a;
  --line: rgba(246, 242, 234, 0.12);
  --cyan: #3ee8ff;
  --magenta: #ff3d9a;
  --violet: #8a5cff;
  --gold: #ffb347;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #8a5cff #0b0b12;
}

body {
  font-family: Manrope, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: #0b0b12;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3ee8ff, #8a5cff 55%, #ff3d9a);
  border: 2px solid #0b0b12;
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #6ef2ff, #a07cff 55%, #ff6bb3);
}

*::-webkit-scrollbar-corner {
  background: #0b0b12;
}

img,
iframe {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 90;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--magenta));
}

.cursor {
  display: none;
}

@media (pointer: fine) {
  .cursor {
    display: block;
    position: fixed;
    z-index: 100;
    pointer-events: none;
    mix-blend-mode: difference;
  }

  .cursor__dot,
  .cursor__ring {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }

  .cursor__dot {
    width: 8px;
    height: 8px;
    background: #fff;
  }

  .cursor__ring {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    transition: width 0.25s var(--ease), height 0.25s var(--ease);
  }

  .cursor.is-hover .cursor__ring {
    width: 72px;
    height: 72px;
  }

  body,
  a,
  button {
    cursor: none;
  }
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: #050509;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
}

.loader__orb {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: conic-gradient(from 90deg, var(--cyan), var(--violet), var(--magenta), var(--gold), var(--cyan));
  filter: blur(1px);
  animation: spin 1.6s linear infinite;
  mask: radial-gradient(circle, transparent 58%, #000 60%);
}

.loader__logo {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.loader__text {
  position: absolute;
  bottom: 12vh;
  letter-spacing: 0.45em;
  font-size: 0.72rem;
  font-family: Syne, sans-serif;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 6vw;
  background: linear-gradient(180deg, rgba(7, 7, 10, 0.86), transparent);
  backdrop-filter: blur(10px);
  transition: transform 0.45s var(--ease);
}

.nav.is-hidden {
  transform: translateY(-120%);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Syne, sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.nav__brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
}

.nav__links {
  display: flex;
  gap: 28px;
  font-size: 0.92rem;
}

.nav__links a {
  position: relative;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width 0.3s var(--ease);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  position: relative;
  z-index: 3;
}

.nav__toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: #fff;
  transition: 0.3s var(--ease);
}

.nav__toggle span:first-child {
  top: 16px;
}

.nav__toggle span:last-child {
  top: 24px;
}

.nav.is-open {
  inset: 0;
  height: 100svh;
  align-items: flex-start;
  background: rgba(7, 7, 10, 0.96);
}

.nav.is-open .nav__toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav.is-open .nav__toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--cyan), var(--violet) 55%, var(--magenta));
  color: #07070a;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 0 32px rgba(62, 232, 255, 0.25);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 44px rgba(255, 61, 154, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn--sm {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.88rem;
}

.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18vh 6vw 9vh;
  overflow: hidden;
}

.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media img {
  animation: ken 18s ease-in-out infinite alternate;
  filter: saturate(1.15) contrast(1.08);
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(62, 232, 255, 0.18), transparent 28%),
    radial-gradient(circle at 80% 70%, rgba(255, 61, 154, 0.22), transparent 32%),
    linear-gradient(180deg, rgba(7, 7, 10, 0.25) 0%, rgba(7, 7, 10, 0.82) 100%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.55;
  animation: float 9s ease-in-out infinite;
}

.blob--cyan {
  width: 280px;
  height: 280px;
  background: var(--cyan);
  top: 12%;
  left: 8%;
}

.blob--magenta {
  width: 340px;
  height: 340px;
  background: var(--magenta);
  right: 4%;
  bottom: 8%;
  animation-delay: -3s;
}

.blob--violet {
  width: 220px;
  height: 220px;
  background: var(--violet);
  left: 42%;
  top: 30%;
  animation-delay: -5s;
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.eyebrow,
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.74rem;
  color: var(--cyan);
  margin-bottom: 18px;
}

.hero__title {
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: clamp(3.4rem, 11vw, 8.4rem);
  line-height: 0.82;
  letter-spacing: -0.04em;
}

.hero__line {
  display: block;
}

.hero__line--glow {
  background: linear-gradient(90deg, #fff, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(62, 232, 255, 0.18);
}

.hero__quote {
  margin-top: 22px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.hero__lead {
  max-width: 520px;
  margin-top: 14px;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__meta {
  position: absolute;
  right: 6vw;
  bottom: 12vh;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: Syne, sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  background: #0b0b12;
}

.marquee__track {
  display: flex;
  gap: 48px;
  padding: 18px 0;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: Syne, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.marquee__track span::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  margin-left: 48px;
  background: var(--magenta);
  vertical-align: middle;
}

.manifesto,
.ritmos,
.estudio,
.grade,
.equipe,
.instagram,
.contato {
  padding: 12vh 6vw;
  scroll-margin-top: 88px;
}

.section-title {
  font-family: Syne, sans-serif;
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.section-title em {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-lead {
  max-width: 560px;
  color: var(--muted);
  margin-top: 16px;
}

.manifesto__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.manifesto__card {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  min-height: 280px;
  transition: transform 0.45s var(--ease), border-color 0.45s;
}

.manifesto__card:hover {
  transform: translateY(-8px);
  border-color: rgba(62, 232, 255, 0.45);
}

.manifesto__card span {
  color: var(--magenta);
  font-family: Syne, sans-serif;
}

.manifesto__card h3 {
  font-size: 2rem;
  margin: 24px 0 12px;
  font-family: Syne, sans-serif;
}

.ritmos__slider {
  overflow: hidden;
  margin-top: 48px;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.ritmos__track {
  display: flex;
  width: max-content;
  animation: ritmosSlide 42s linear infinite;
}

.ritmos__slider:hover .ritmos__track {
  animation-play-state: paused;
}

.ritmos__group {
  display: flex;
  gap: 18px;
  padding-right: 18px;
  flex-shrink: 0;
}

.ritmo {
  position: relative;
  flex: 0 0 min(320px, 78vw);
  width: min(320px, 78vw);
  height: 62vh;
  min-height: 420px;
  border-radius: 32px;
  overflow: hidden;
}

.ritmo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.ritmo:hover img {
  transform: scale(1.08);
}

.ritmo__info {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 56px 24px 22px;
  background: linear-gradient(
    180deg,
    rgba(7, 7, 10, 0) 0%,
    rgba(7, 7, 10, 0.7) 42%,
    rgba(7, 7, 10, 0.94) 100%
  );
}

.ritmo__info h3 {
  font-family: Syne, sans-serif;
  font-size: 2rem;
}

.estudio {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.estudio__visual {
  position: relative;
}

.estudio__visual img {
  width: 100%;
  height: 78vh;
  object-fit: cover;
  border-radius: 36px;
}

.estudio__stamp {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 110px;
  height: 110px;
  border: 1px dashed var(--cyan);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(7, 7, 10, 0.5);
  animation: spin 18s linear infinite;
}

.estudio__facts {
  list-style: none;
  margin-top: 32px;
  display: grid;
  gap: 14px;
}

.estudio__facts li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.grade__layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  margin-top: 48px;
}

.hours,
.classes article {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
}

.hours ul {
  list-style: none;
  margin-top: 18px;
}

.hours li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.hours b {
  color: var(--text);
}

.classes {
  display: grid;
  gap: 16px;
}

.classes__day {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
}

.classes h3 {
  font-family: Syne, sans-serif;
  font-size: 1.7rem;
  margin: 8px 0;
}

.classes__cta {
  background:
    radial-gradient(circle at 90% 10%, rgba(138, 92, 255, 0.28), transparent 30%),
    var(--bg-3);
}

.equipe {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: center;
}

.equipe__mosaic {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.equipe__mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  min-height: 180px;
}

.equipe__mosaic img:first-child {
  grid-row: 1 / 3;
  min-height: 420px;
}

.contato {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contato__card {
  padding: 48px 40px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 0 0, rgba(62, 232, 255, 0.16), transparent 34%),
    var(--bg-2);
  border: 1px solid var(--line);
}

.contato__phone {
  display: block;
  margin: 18px 0 28px;
  font-family: Syne, sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.contato__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contato__map {
  min-height: 460px;
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.contato__map iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  filter: grayscale(1) contrast(1.15) invert(0.92);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 32px 6vw 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer__credit {
  width: 100%;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--muted);
}

.footer__credit:hover {
  color: var(--cyan);
}

.footer div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
}

.instagram__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 48px;
}

.instagram__grid a {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  min-height: 280px;
  display: block;
}

.instagram__grid img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.instagram__grid a:hover img {
  transform: scale(1.07);
}

.instagram__grid span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  font-family: Syne, sans-serif;
  font-size: 0.95rem;
}

.instagram__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.instagram__cta .btn {
  margin-top: 0;
}

.footer strong {
  color: var(--text);
}

.share {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 5, 9, 0.78);
  backdrop-filter: blur(12px);
}

.share[hidden] {
  display: none;
}

.share__panel {
  width: min(420px, 100%);
  max-height: 92vh;
  overflow: auto;
  padding: 28px 24px 24px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  position: relative;
}

.share__panel h2 {
  font-family: Syne, sans-serif;
  font-size: 1.7rem;
  margin-bottom: 16px;
}

.share__close {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--muted);
}

.share__preview {
  width: 100%;
  max-height: 46vh;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 14px;
}

.share__hint,
.share__status {
  color: var(--muted);
  font-size: 0.9rem;
}

.share__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 10px;
}

.share__status.is-ok {
  color: var(--cyan);
}

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #062;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  animation: pulse 2.4s ease-in-out infinite;
}

.whatsapp svg {
  width: 30px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes float {
  50% {
    transform: translate3d(30px, -24px, 0) scale(1.08);
  }
}

@keyframes ken {
  to {
    transform: scale(1.12) translate3d(-2%, 1%, 0);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes ritmosSlide {
  to {
    transform: translateX(-50%);
  }
}

@keyframes pulse {
  50% {
    transform: scale(1.08);
  }
}

@media (max-width: 980px) {
  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(7, 7, 10, 0.96);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
  }

  .nav.is-open .nav__links {
    transform: none;
    position: absolute;
    inset: 0;
  }

  .nav__toggle {
    display: block;
    z-index: 2;
  }

  .nav .btn--sm {
    display: none;
  }

  .hero__meta,
  .manifesto__grid,
  .estudio,
  .grade__layout,
  .equipe,
  .contato,
  .footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  .instagram__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero__meta {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 40px;
    flex-direction: row;
  }

  .estudio__visual img,
  .ritmo,
  .equipe__mosaic img:first-child {
    height: 52vh;
    min-height: 320px;
  }

  .footer {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
