/* ==========================================================================
   MHouses Fit — style.css
   Identidade: preto profundo + vermelho vivo + branco.
   Mobile-first. Organizado por seções.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. VARIÁVEIS & RESET
   -------------------------------------------------------------------------- */
:root {
  --c-black: #0b0b0c;
  --c-black-2: #131316;
  --c-black-3: #1a1a1e;
  --c-red: #e10600;
  --c-red-dark: #b90400;
  --c-red-soft: #ff2e28;
  --c-white: #ffffff;
  --c-gray: #a6aab0;
  --c-gray-dark: #6f7379;
  --c-line: rgba(255, 255, 255, 0.09);
  --c-wa: #25d366;
  --c-wa-dark: #1eb856;

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --header-h: 76px;
  --radius: 14px;
  --radius-sm: 10px;
  --transition: 0.35s cubic-bezier(0.25, 0.6, 0.3, 1);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.55);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-white);
  background-color: var(--c-black);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

.container {
  width: min(var(--container), 100% - 40px);
  margin-inline: auto;
}

.accent {
  color: var(--c-red);
}

/* --------------------------------------------------------------------------
   1. BOTÕES
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: background-color var(--transition), color var(--transition),
    border-color var(--transition), transform 0.2s ease, box-shadow var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.btn--solid {
  background: var(--c-red);
  color: var(--c-white);
  box-shadow: 0 10px 30px -12px rgba(225, 6, 0, 0.65);
}

.btn--solid:hover {
  background: var(--c-red-soft);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -12px rgba(225, 6, 0, 0.7);
}

.btn--ghost {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover {
  border-color: var(--c-white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn--wa {
  background: var(--c-wa);
  color: #0b0b0c;
  box-shadow: 0 10px 30px -12px rgba(37, 211, 102, 0.55);
}

.btn--wa:hover {
  background: var(--c-wa-dark);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 11px 20px;
  font-size: 13px;
}

.btn--lg {
  padding: 17px 34px;
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   2. HEADER
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.35s ease, box-shadow 0.35s ease, height 0.35s ease;
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.75), rgba(11, 11, 12, 0));
}

.header.scrolled {
  height: calc(var(--header-h) - 10px);
  background: rgba(11, 11, 12, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px -18px rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid var(--c-line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--c-red);
  color: var(--c-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
}

/* Quando o logo é imagem (type: "image" no data.js), remove o bloco vermelho */
img.logo-mark {
  background: none;
  border-radius: 0;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.logo-sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.5em;
  color: var(--c-red);
  margin-top: 3px;
}

.header__nav {
  display: none;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}

.nav__link {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.82);
  border-radius: 6px;
  position: relative;
  transition: color 0.25s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--c-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav__link:hover,
.nav__link.active {
  color: var(--c-white);
}

.nav__link:hover::after,
.nav__link.active::after {
  transform: scaleX(1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header__cta {
  display: none;
}

/* Burger */
.header__burger {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--c-line);
  position: relative;
  z-index: 1102;
}

.header__burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header__burger span:nth-child(1) { transform: translateY(-6px); }
.header__burger span:nth-child(2) { transform: translateY(0); }
.header__burger span:nth-child(3) { transform: translateY(6px); }

.header__burger.open span:nth-child(1) { transform: translateY(0) rotate(45deg); }
.header__burger.open span:nth-child(2) { opacity: 0; }
.header__burger.open span:nth-child(3) { transform: translateY(0) rotate(-45deg); }

/* Menu mobile */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(11, 11, 12, 0.98);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 24px) 32px 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 4px;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--c-line);
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.mobile-menu__link:hover {
  color: var(--c-red);
  padding-left: 10px;
}

.mobile-menu__footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.mobile-menu__cta {
  width: 100%;
}

/* --------------------------------------------------------------------------
   3. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 40px) 0 100px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1517836357463-d25dfeac3438?auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 14s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.14); }
  to { transform: scale(1.05); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.55) 0%, rgba(11, 11, 12, 0.62) 45%, rgba(11, 11, 12, 0.96) 100%),
    radial-gradient(120% 90% at 50% 10%, transparent 30%, rgba(11, 11, 12, 0.7) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 22px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 9vw, 96px);
  font-weight: 700;
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.hero__subtitle {
  max-width: 640px;
  margin: 24px auto 0;
  font-size: clamp(16px, 2.4vw, 19px);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.hero__ctas .btn {
  width: 100%;
  max-width: 300px;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 42px;
}

.hero__tags li {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(11, 11, 12, 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 9px 16px;
  border-radius: 100px;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  animation: bounce 2.2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(7px); }
}

/* Animação de entrada do hero */
.hero .reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: heroIn 0.9s cubic-bezier(0.22, 0.8, 0.3, 1) forwards;
}

.hero .reveal:nth-of-type(1) { animation-delay: 0.15s; }
.hero .reveal:nth-of-type(2) { animation-delay: 0.3s; }
.hero .reveal:nth-of-type(3) { animation-delay: 0.45s; }
.hero .reveal:nth-of-type(4) { animation-delay: 0.6s; }
.hero .reveal:nth-of-type(5) { animation-delay: 0.75s; }

@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   4. SEÇÕES GENÉRICAS
   -------------------------------------------------------------------------- */
.section {
  padding: 56px 0;
}

.section--alt {
  background: var(--c-black-2);
}

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 14px;
}

.section-eyebrow--light {
  color: var(--c-white);
  opacity: 0.85;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5.6vw, 54px);
  font-weight: 600;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.section-text {
  margin-top: 18px;
  color: var(--c-gray);
  font-size: 16.5px;
}

.section-text--narrow {
  max-width: 620px;
}

.section-head {
  margin-bottom: 44px;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.22, 0.8, 0.3, 1),
    transform 0.8s cubic-bezier(0.22, 0.8, 0.3, 1);
  transition-delay: var(--d, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   5. A ACADEMIA
   -------------------------------------------------------------------------- */
.about__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.about__media {
  position: relative;
}

.about__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about__badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(11, 11, 12, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
}

.about__badge strong {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--c-red);
  line-height: 1;
}

.about__badge span {
  font-size: 13px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.about__list {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}

.about__list li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.88);
}

.about__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  background: var(--c-red);
  border-radius: 2px;
  transform: rotate(45deg);
}

.about__actions {
  margin-top: 32px;
}

/* Stats */
.stats {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  background: var(--c-black-2);
  padding: 28px 20px;
  text-align: center;
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 700;
  color: var(--c-red);
  line-height: 1;
}

.stat__label {
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-gray);
}

/* --------------------------------------------------------------------------
   6. MODALIDADES
   -------------------------------------------------------------------------- */
.modalities__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.modality-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  border: 1px solid var(--c-line);
  transition: transform 0.45s cubic-bezier(0.22, 0.8, 0.3, 1), box-shadow 0.45s ease;
}

.modality-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.modality-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.7s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.modality-card:hover .modality-card__img {
  transform: scale(1.07);
}

.modality-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 11, 12, 0) 35%, rgba(11, 11, 12, 0.94) 100%);
}

.modality-card__body {
  padding: 26px;
  width: 100%;
}

.modality-card__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.modality-card__desc {
  margin-top: 8px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 46ch;
}

.modality-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-red-soft);
  transition: gap 0.3s ease, color 0.3s ease;
}

.modality-card__link:hover {
  gap: 14px;
  color: var(--c-white);
}

/* --------------------------------------------------------------------------
   8. TOUR VIRTUAL
   -------------------------------------------------------------------------- */
.tour__card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  isolation: isolate;
  border: 1px solid var(--c-line);
}

.tour__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("https://images.unsplash.com/photo-1540497077202-7c8a3999166f?auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
  transition: transform 0.9s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.tour__card:hover .tour__bg {
  transform: scale(1.05);
}

.tour__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(80% 80% at 50% 50%, rgba(11, 11, 12, 0.25), rgba(11, 11, 12, 0.88));
}

.tour__content {
  padding: 40px 24px;
  max-width: 640px;
}

.tour__icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(225, 6, 0, 0.16);
  border: 1.5px solid var(--c-red);
  color: var(--c-white);
  animation: spinPulse 5s ease-in-out infinite;
}

@keyframes spinPulse {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(8deg) scale(1.05); }
}

.tour__label {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-red-soft);
}

.tour__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.1;
  margin-top: 12px;
}

.tour__note {
  margin: 14px auto 26px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15.5px;
  max-width: 46ch;
}

/* Placeholder elegante do tour (modo demonstração) */
.tour-placeholder {
  text-align: center;
  padding: 60px 24px;
}

.tour-placeholder__icon {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(225, 6, 0, 0.14);
  border: 1.5px dashed var(--c-red);
  color: var(--c-red-soft);
}

.tour-placeholder h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  text-transform: uppercase;
}

.tour-placeholder p {
  margin: 10px auto 0;
  max-width: 44ch;
  color: var(--c-gray);
  font-size: 15px;
}

.tour-placeholder code {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--c-black-3);
  border: 1px solid var(--c-line);
  color: var(--c-gray);
  font-size: 13px;
}

.tour-placeholder .btn {
  margin-top: 26px;
}

/* --------------------------------------------------------------------------
   9. HORÁRIOS
   -------------------------------------------------------------------------- */
.schedule__grid {
  display: grid;
  gap: 44px;
}

.schedule__intro .btn {
  margin-top: 28px;
}

.schedule__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.day-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--c-black-3);
  border: 1px solid var(--c-line);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.day-card:hover {
  border-color: rgba(225, 6, 0, 0.5);
  transform: translateX(4px);
}

.day-card--today {
  border-color: var(--c-red);
}

.day-card__day {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.day-card__hours {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.02em;
}

.day-card--closed .day-card__hours {
  color: var(--c-gray-dark);
}

/* --------------------------------------------------------------------------
   10. LOCALIZAÇÃO
   -------------------------------------------------------------------------- */
.location__grid {
  display: grid;
  gap: 44px;
  align-items: stretch;
}

.location__card {
  margin-top: 30px;
  background: var(--c-black-3);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 26px;
}

.location__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.location__list {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}

.location__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}

.location__list svg {
  flex-shrink: 0;
  color: var(--c-red);
  margin-top: 2px;
}

.location__list a {
  color: var(--c-red-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.location__actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.location__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-line);
  min-height: 320px;
  display: flex;
}

.location__map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  filter: grayscale(0.4) contrast(1.05);
}

/* --------------------------------------------------------------------------
   11. PLANOS
   -------------------------------------------------------------------------- */
.plans__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  background: var(--c-black-3);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 255, 255, 0.18);
}

.plan-card--featured {
  border-color: var(--c-red);
  background: linear-gradient(180deg, rgba(225, 6, 0, 0.1), var(--c-black-3) 40%);
  box-shadow: 0 30px 60px -28px rgba(225, 6, 0, 0.5);
}

.plan-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-red);
  color: var(--c-white);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-card__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gray);
}

.plan-card__price {
  margin-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-card__price .currency {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}

.plan-card__price .value {
  font-family: var(--font-display);
  font-size: clamp(46px, 6vw, 58px);
  font-weight: 700;
  line-height: 1;
}

.plan-card__price .period {
  font-size: 15px;
  color: var(--c-gray);
}

.plan-card__features {
  margin: 26px 0;
  display: grid;
  gap: 12px;
  flex: 1;
}

.plan-card__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
}

.plan-card__features li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(225, 6, 0, 0.16);
  border: 1px solid var(--c-red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e10600' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

.plan-card .btn {
  width: 100%;
}

.plans__note {
  margin-top: 26px;
  text-align: center;
  font-size: 13.5px;
  color: var(--c-gray-dark);
}

/* --------------------------------------------------------------------------
   12. EQUIPE
   -------------------------------------------------------------------------- */
.team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.team-card {
  background: var(--c-black-3);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.team-card__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
}

.team-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.team-card:hover .team-card__media img {
  transform: scale(1.06);
}

.team-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 11, 12, 0.55));
}

.team-card__body {
  padding: 22px;
}

.team-card__name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.team-card__role {
  margin-top: 4px;
  color: var(--c-red-soft);
  font-size: 14px;
  font-weight: 500;
}

.team-card__specialty {
  margin-top: 10px;
  font-size: 14px;
  color: var(--c-gray);
}

/* --------------------------------------------------------------------------
   13. DEPOIMENTOS
   -------------------------------------------------------------------------- */
.testimonials__note {
  font-size: 13.5px;
  color: var(--c-gray-dark);
  font-style: italic;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.testimonial-card {
  background: var(--c-black-3);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  color: #ffb400;
  font-size: 17px;
  letter-spacing: 2px;
}

.testimonial-card__text {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  flex: 1;
}

.testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--c-line);
  padding-top: 16px;
}

.testimonial-card__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--c-red), var(--c-red-dark));
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--c-white);
}

.testimonial-card__author {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14.5px;
  letter-spacing: 0.04em;
}

.testimonial-card__tag {
  font-size: 12.5px;
  color: var(--c-gray);
}



/* --------------------------------------------------------------------------
   15. EVENTOS
   -------------------------------------------------------------------------- */
.events {
  background: var(--c-black);
}

.events__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.event-card {
  background: var(--c-black-3);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.event-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.event-card:hover .event-card__media img {
  transform: scale(1.06);
}

.event-card__date {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--c-red);
  color: var(--c-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.05em;
  padding: 8px 14px;
  border-radius: 8px;
}

.event-card__body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.event-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.event-card__desc {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--c-gray);
  flex: 1;
}

.event-card__btn {
  margin-top: 20px;
  align-self: flex-start;
}

/* --------------------------------------------------------------------------
   16. CTA FINAL
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  padding: 110px 0;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.cta__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(90% 90% at 50% 50%, rgba(11, 11, 12, 0.55), rgba(11, 11, 12, 0.92));
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 7vw, 68px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}

.cta__subtitle {
  max-width: 520px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
}

.cta__actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.cta__actions .btn {
  width: 100%;
  max-width: 300px;
}

/* --------------------------------------------------------------------------
   17. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--c-black);
  border-top: 1px solid var(--c-line);
  padding-top: 64px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.footer__desc {
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--c-gray);
  max-width: 34ch;
}

.footer__social {
  margin-top: 22px;
  display: flex;
  gap: 12px;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--c-line);
  border-radius: 100px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.footer__social-link:hover {
  border-color: var(--c-red);
  color: var(--c-white);
  background: rgba(225, 6, 0, 0.08);
}

.footer__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: 18px;
}

.footer__links {
  display: grid;
  gap: 10px;
}

.footer__links a {
  font-size: 14.5px;
  color: var(--c-gray);
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer__links a:hover {
  color: var(--c-red-soft);
  padding-left: 5px;
}

.footer__bottom {
  margin-top: 56px;
  border-top: 1px solid var(--c-line);
  padding: 22px 0;
}

.footer__bottom .container {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.footer__bottom p {
  font-size: 13px;
  color: var(--c-gray-dark);
}

/* --------------------------------------------------------------------------
   18. ELEMENTOS FLUTUANTES
   -------------------------------------------------------------------------- */
.float-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  width: 56px;
  height: 56px;
  display: none;
  place-items: center;
  border-radius: 50%;
  background: var(--c-wa);
  color: var(--c-white);
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, 0.6);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.float-wa:hover {
  transform: scale(1.08);
  background: var(--c-wa-dark);
}

.float-wa__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--c-wa);
  animation: waPulse 2.4s ease-out infinite;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.55); opacity: 0; }
}

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 950;
  display: flex;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(11, 11, 12, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--c-line);
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.mobile-cta.show {
  transform: translateY(0);
}

.mobile-cta__primary {
  flex: 1;
  padding: 15px 12px;
}

.mobile-cta__wa {
  width: 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--c-wa);
  color: var(--c-white);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   19. MODAIS E LIGHTBOX
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.modal.open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 6, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 960px;
  max-height: 88vh;
  background: var(--c-black-2);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.modal.open .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(11, 11, 12, 0.8);
  border: 1px solid var(--c-line);
  color: var(--c-white);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.modal__close:hover {
  background: var(--c-red);
  transform: rotate(90deg);
}

.modal__body {
  max-height: 88vh;
  overflow: auto;
}

.modal__body iframe {
  display: block;
  width: 100%;
  height: 78vh;
  min-height: 420px;
  border: 0;
}

/* ===== TOUR 360° (Pannellum) ===== */
.tour360 {
  display: flex;
  flex-direction: column;
  height: 78vh;
  min-height: 420px;
}

.tour360__viewer {
  flex: 1;
  min-height: 0;
  background: #000;
}

/* Barra de botões dos ambientes */
.tour360__scenes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--c-black-2);
  border-top: 1px solid var(--c-line);
}

.tour360__scene-btn {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-white);
  background: transparent;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.tour360__scene-btn:hover {
  border-color: var(--c-red);
  color: var(--c-red);
}

.tour360__scene-btn.active {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-white);
}

/* Setas (hotspots) do Pannellum com a cara do site */
.pnlm-hotspot.pnlm-scene {
  position: absolute !important;
  width: 34px !important;
  height: 34px !important;
  top: -17px !important;  /* Offset exato de centralização: metade da largura (34/2 = 17) */
  left: -17px !important;
  margin: 0 !important;
  background-image: none !important;
  background-color: rgba(11, 11, 12, 0.85);
  border: 1px solid var(--c-red);
  border-radius: 50%;
  cursor: pointer;
}

.pnlm-hotspot.pnlm-scene::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--c-red);
  border-right: 2px solid var(--c-red);
  transform: translate(-60%, -50%) rotate(45deg);
}

/* Hotspots de retorno (Voltar / Sair): exibe seta apontando para trás (<) */
.pnlm-hotspot.pnlm-scene.pnlm-hotspot-back::after {
  border-right: none !important;
  border-left: 2px solid var(--c-red) !important;
  border-top: 2px solid var(--c-red) !important;
  transform: translate(-35%, -50%) rotate(-45deg) !important;
}

/* Tooltip customizada nos hotspots (caixa preta semi-transparente que aparece no hover) */
.pnlm-hotspot .hotspot-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(11, 11, 12, 0.9);
  color: #ffffff;
  border: 1px solid rgba(229, 9, 20, 0.5);
  padding: 6px 12px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  z-index: 100;
}

/* Exibe a caixa de texto suavemente no HOVER */
.pnlm-hotspot:hover .hotspot-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-2px);
}

/* Oculta a caixa de título nativa do Pannellum (já existe o menu de ambientes abaixo) */
.pnlm-title-box {
  display: none !important;
}

@media (max-width: 640px) {
  .tour360 {
    height: 70vh;
    min-height: 360px;
  }

  .tour360__scene-btn {
    font-size: 11px;
    padding: 7px 12px;
  }
}

/* --------------------------------------------------------------------------
   20. MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  .modalities__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .events__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .schedule__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__ctas .btn,
  .cta__actions .btn {
    width: auto;
  }
}

@media (min-width: 768px) {
  .section {
    padding: 104px 0;
  }

  .mobile-cta {
    display: none;
  }

  .header__nav {
    display: flex;
  }

  .header__burger {
    display: none;
  }

  .header__cta {
    display: inline-flex;
  }

  .about__grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
  }

  .stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .location__grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

  .plans__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
  }

  .plan-card--featured {
    transform: translateY(-12px);
  }

  .plan-card--featured:hover {
    transform: translateY(-16px);
  }

  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
  }

  .footer__bottom .container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .float-wa {
    display: grid;
  }
}

@media (min-width: 1024px) {
  .modalities__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .team__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .events__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .schedule__grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
    align-items: center;
  }

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

@media (min-width: 1280px) {
  .hero__bg,
  .cta__bg {
    background-attachment: fixed;
  }
}

/* --------------------------------------------------------------------------
   21. ACESSIBILIDADE & MISC
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--c-red);
  outline-offset: 3px;
}

::selection {
  background: var(--c-red);
  color: var(--c-white);
}

/* Prefere menos animação */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero .reveal,
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   22. CURSOR PERSONALIZADO (Efeito de Mouse Interativo)
   -------------------------------------------------------------------------- */
@media (pointer: fine) {
  body, a, button, input, textarea, select, label {
    cursor: none !important;
  }

  .custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 999999;
  }

  /* Ponto central: pequeno, branco, preciso */
  .custom-cursor__dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
    opacity: 0;
    transition: opacity 0.3s ease,
                width 0.2s ease,
                height 0.2s ease;
    z-index: 2;
  }

  /* Halo: grande, vermelho, blur intenso — aura do cursor */
  .custom-cursor__ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle,  rgba(150, 0, 0, 0.301) 0%, rgba(225, 6, 0, 0.15) 45%, transparent 72%);
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
    opacity: 0;
    transition: opacity 0.3s ease,
                width 0.25s ease,
                height 0.25s ease;
    filter: blur(30px);
    z-index: 1;
  }

  /* Hover em links/botões: halo maior */
  body.cursor-hover .custom-cursor__dot {
    width: 12px;
    height: 12px;
    background: var(--c-red);
    box-shadow: 0 0 10px var(--c-red);
  }

  body.cursor-hover .custom-cursor__ring {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(225, 6, 0, 0.65) 0%, rgba(225, 6, 0, 0.2) 45%, transparent 72%);
  }

  /* Clique: contrai */
  body.cursor-active .custom-cursor__dot,
  body.cursor-active .custom-cursor__ring {
    transform: translate3d(var(--cx, 0), var(--cy, 0), 0) scale(0.75);
  }
}

/* ==========================================================================
   FIXES (P0 & P1) MOBILE
   ========================================================================== */
@media (max-width: 767px) {
  /* P0 - Garante que o botão flutuante não apareça no mobile */
  .float-wa {
    display: none !important;
  }
  
  /* P1 - Oculta as tags no hero para subir o CTA */
  .hero__tags {
    display: none !important;
  }
}
