/* MG Fitness & Fisio — Landing page (extends mg-design-system.css) */

/* Proteção global contra overflow de palavras longas em PT-BR */
h1, h2, h3, h4, h5, h6, p {
  overflow-wrap: break-word;
}

/* Logo oficial (PDF) — branco no menu escuro, colorido ao scroll */
.nav-logo-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.nav-logo-img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
}

.nav-logo-img--dark {
  display: none;
}

.header-mg.scrolled .nav-logo-img--light {
  display: none;
}

.header-mg.scrolled .nav-logo-img--dark {
  display: block;
}

.footer-logo-img {
  display: block;
  height: 130px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

/* Header sempre legível sobre o banner claro */
.header-mg {
  background: rgba(30, 42, 35, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(247, 245, 240, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.header-mg .nav-links a {
  color: rgba(247, 245, 240, 0.95);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.header-mg .nav-links a:hover,
.header-mg .nav-links a.active {
  color: #fff;
}

.header-mg .nav-links a::after {
  background: rgba(247, 245, 240, 0.95);
  height: 2px;
}

.header-mg .btn-ghost {
  color: #F7F5F0;
  border-color: rgba(247, 245, 240, 0.45);
  background: rgba(0, 0, 0, 0.15);
}

.header-mg .nav-toggle {
  color: #F7F5F0;
  border-color: rgba(247, 245, 240, 0.4);
  background: rgba(0, 0, 0, 0.25);
}

.header-mg.scrolled {
  background: rgba(248, 246, 242, 0.96);
  border-bottom-color: rgba(47, 62, 53, 0.08);
  box-shadow: var(--shadow-sm);
}

.header-mg.scrolled .nav-links a {
  color: var(--color-text-secondary);
  text-shadow: none;
  font-weight: 600;
}

.header-mg.scrolled .nav-links a:hover,
.header-mg.scrolled .nav-links a.active {
  color: var(--color-primary);
}

.header-mg.scrolled .nav-links a::after {
  background: var(--color-primary);
}

.header-mg.scrolled .btn-ghost {
  color: var(--color-primary);
  border-color: rgba(47, 62, 53, 0.2);
  background: transparent;
}

.header-mg.scrolled .nav-toggle {
  color: var(--color-primary);
  border-color: rgba(47, 62, 53, 0.15);
  background: rgba(47, 62, 53, 0.06);
}

/* Hero: sem vídeo na landing */
#hero .hero-media video {
  display: none;
}

/* Full banner — foto lotus + texto à esquerda */
.hero--banner .hero-media .hero-bg-img {
  filter: saturate(0.88) brightness(0.82);
}

.hero--banner .hero-bg {
  background: linear-gradient(
    105deg,
    rgba(30, 42, 35, 0.88) 0%,
    rgba(30, 42, 35, 0.62) 38%,
    rgba(30, 42, 35, 0.28) 58%,
    rgba(30, 42, 35, 0.08) 78%,
    transparent 100%
  );
}

.hero--banner .hero-bg-grid {
  opacity: 0.35;
}

.hero--banner .hero-orb-1,
.hero--banner .hero-orb-2 {
  opacity: 0.25;
}

.hero--banner .hero-content {
  grid-template-columns: 1fr;
  max-width: 720px;
  padding-top: 140px;
}

.hero--banner .hero-right {
  display: none;
}

.hero--banner .hero-title,
.hero--banner .hero-title-line .accent {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.hero--banner .hero-subtitle {
  color: rgba(247, 245, 240, 0.96);
  font-size: 1.0625rem;
  font-weight: 400;
  max-width: 520px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.hero--banner .hero-eyebrow {
  color: #F7F5F0;
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(247, 245, 240, 0.25);
}

.hero--banner .hero-stats {
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(247, 245, 240, 0.18);
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-6);
  border-top: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: fit-content;
}

.hero--banner .hero-stat-num {
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hero--banner .hero-stat-label {
  color: rgba(247, 245, 240, 0.9);
  font-weight: 500;
}

.hero--banner .hero-stat-divider {
  background: rgba(247, 245, 240, 0.35);
  height: 40px;
}

.hero--banner .btn-ghost {
  color: #F7F5F0;
  border-color: rgba(247, 245, 240, 0.5);
  background: rgba(0, 0, 0, 0.2);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero--banner .hero-scroll-text {
  color: rgba(247, 245, 240, 0.85);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* Grids específicos da landing */
.services-grid--six {
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  /* Respiro para o hover translateY não clipar no topo/lados */
  padding: var(--space-3) var(--space-2);
  margin: 0 calc(-1 * var(--space-2));
  overflow: visible;
}

/* Serviços — cards glass (ref: glass-pricing) */
.ds-section-services .service-card--glass {
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: default;
  border-radius: 1.5rem;
  border: 1px solid rgba(47, 62, 53, 0.1);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.28) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 2.8px 2.2px rgba(47, 62, 53, 0.034),
    0 12.5px 10px rgba(47, 62, 53, 0.06),
    0 22.3px 17.9px rgba(47, 62, 53, 0.04);
  overflow: hidden;
}

.ds-section-services .service-card--glass::after {
  display: none;
}

.ds-section-services .service-card--glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.55);
  mask-image: linear-gradient(135deg, #000, transparent 52%);
  -webkit-mask-image: linear-gradient(135deg, #000, transparent 52%);
  pointer-events: none;
  z-index: 4;
}

.ds-section-services .service-card-media {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin: var(--space-4) var(--space-4) 0;
  border-radius: 1rem;
}

.ds-section-services .service-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(30, 42, 35, 0.12) 100%);
  pointer-events: none;
  z-index: 1;
}

.ds-section-services .service-card--glass .service-card-img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.ds-section-services .service-card-glass {
  position: relative;
  flex: 1;
  margin-top: 0;
  padding: var(--space-8) var(--space-8) var(--space-10);
  z-index: 2;
  transform: none;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(255, 255, 255, 0.72) 100%
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.ds-section-services .service-card-glass::after {
  content: '';
  position: absolute;
  left: var(--space-8);
  right: var(--space-8);
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(47, 62, 53, 0.12) 20%,
    rgba(47, 62, 53, 0.18) 50%,
    rgba(47, 62, 53, 0.12) 80%,
    transparent
  );
  pointer-events: none;
}

.ds-section-services .service-card--glass:hover .service-card-content {
  transform: none;
}

.ds-section-services .service-card--glass:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 62, 53, 0.16);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(255, 255, 255, 0.45) 100%
  );
  box-shadow:
    0 6.7px 5.3px rgba(47, 62, 53, 0.05),
    0 22.3px 17.9px rgba(47, 62, 53, 0.08),
    0 41.8px 33.4px rgba(47, 62, 53, 0.06);
}

.ds-section-services .service-card--glass:hover .service-card-img {
  transform: scale(1.04);
}

.ds-section-services .service-card-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  padding: 5px 14px;
  margin-bottom: var(--space-4);
  color: var(--color-primary);
  background: rgba(47, 62, 53, 0.08);
  border: 1px solid rgba(47, 62, 53, 0.15);
  border-radius: var(--radius-full);
}

.ds-section-services .service-card--glass h3 {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-primary-dark);
  margin: 0 0 var(--space-4);
  -webkit-text-fill-color: currentColor;
  background: none;
  background-clip: unset;
  -webkit-background-clip: unset;
}

.ds-section-services .service-card--glass p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0;
}

/* Pacotes — largura total + respiro interno */
.pacotes-grid-full {
  width: 100%;
  padding: 0 clamp(20px, 4vw, 56px);
  margin: 0 auto;
}

#pacotes .pricing-grid.pricing-grid--five {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  max-width: none;
  width: 100%;
  margin: 0;
  align-items: stretch;
}

#pacotes .pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(28px, 2.8vw, 40px) clamp(20px, 2.2vw, 32px);
  border-radius: 1.25rem;
  overflow: visible;
}

#pacotes .pricing-card.featured {
  padding-top: clamp(36px, 3vw, 44px);
}

#pacotes .pricing-tag {
  margin-bottom: var(--space-4);
  line-height: 1.35;
}

#pacotes .pricing-name {
  font-size: clamp(1.05rem, 1.15vw, 1.25rem);
  line-height: 1.3;
  margin-bottom: var(--space-3);
}

#pacotes .pricing-per-lesson {
  margin: var(--space-4) 0 var(--space-3);
  gap: 6px;
}

#pacotes .pricing-per-lesson .pricing-price {
  font-size: clamp(1.85rem, 2.8vw, 2.5rem);
  line-height: 1;
}

#pacotes .pricing-total,
#pacotes .pricing-intro {
  margin-bottom: var(--space-4);
  line-height: 1.5;
  min-height: 0;
}

#pacotes .pricing-divider {
  margin: var(--space-5) 0;
}

#pacotes .pricing-list {
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  flex: 1;
}

#pacotes .pricing-list li {
  font-size: 0.9375rem;
  line-height: 1.5;
  gap: var(--space-3);
  align-items: flex-start;
}

#pacotes .pricing-list li i {
  margin-top: 0.2em;
}

#pacotes .pricing-card-cta {
  width: 100%;
  margin-top: auto;
  padding: 16px 24px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.06em;
}

#pacotes .pricing-card.featured .pricing-tag {
  padding: 8px 16px;
  margin-bottom: var(--space-5);
}

.pacotes-footer-note {
  text-align: center;
  margin-top: var(--space-10);
  font-size: var(--text-body-sm);
  color: var(--color-text-subtle);
  line-height: 1.6;
}

.pacotes-footer-note a {
  color: var(--color-primary);
  font-weight: var(--fw-semibold);
}

/* CTA — texto à esquerda + foto à direita */
#cta .cta-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
}

#cta .cta-split__content {
  align-items: flex-start;
  text-align: left;
  max-width: 560px;
  margin: 0;
}

#cta .cta-split__content .eyebrow {
  align-self: flex-start;
}

#cta .cta-split__content h2 {
  text-align: left;
  font-size: clamp(1.75rem, 4vw, 3rem);
  overflow-wrap: break-word;
}

#cta .cta-split__content h2::after {
  left: 0;
  transform: none;
}

#cta .cta-split__content p {
  text-align: left;
  max-width: 520px;
}

#cta .cta-actions {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: var(--space-4);
}

#cta .cta-split__media {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow:
    0 12.5px 10px rgba(47, 62, 53, 0.08),
    0 22.3px 17.9px rgba(47, 62, 53, 0.06);
  border: 1px solid rgba(47, 62, 53, 0.08);
  aspect-ratio: 4 / 5;
  max-height: 560px;
  justify-self: end;
  width: 100%;
  max-width: 480px;
}

#cta .cta-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

@media (max-width: 991px) {
  #cta .cta-split {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  #cta .cta-split__media {
    max-width: none;
    justify-self: stretch;
    aspect-ratio: 16 / 10;
    max-height: none;
  }

  #cta .cta-split__content {
    max-width: none;
  }
}

.pricing-grid--five {
  grid-template-columns: repeat(5, 1fr);
  max-width: none;
  align-items: stretch;
}

.steps-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.steps-grid--three::before {
  display: none;
}

.steps-grid--three .step-num {
  font-size: 1.35rem;
  color: var(--color-primary);
  margin: 0 auto var(--space-4);
}

.steps-grid--three .step-card:hover .step-num {
  color: #F7F5F0;
}

/* Como funciona — animações (ref: animation-clean) */
.animate-clean {
  opacity: 0.01;
  filter: blur(8px);
  transform: translateY(18px);
  transition:
    opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: var(--ac-delay, 0ms);
}

.animate-clean.in-view {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

#schedule .eyebrow {
  gap: var(--space-2);
}

#schedule .eyebrow::before {
  display: none;
}

#schedule .eyebrow-pulse {
  position: relative;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
}

#schedule .eyebrow-pulse::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-secondary);
  animation: step-pulse-ring 2s ease-out infinite;
}

#schedule .eyebrow-pulse::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 50%;
  background: var(--color-primary);
}

@keyframes step-pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

#schedule .steps-grid--animated {
  position: relative;
  gap: var(--space-8);
}

#schedule .steps-progress-line {
  position: absolute;
  top: 32px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: rgba(47, 62, 53, 0.1);
  border-radius: 2px;
  z-index: 0;
  overflow: hidden;
}

#schedule .steps-progress-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    var(--color-primary-dark),
    var(--color-primary),
    var(--color-secondary)
  );
  transition: width 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#schedule .steps-grid--animated.is-progress-active .steps-progress-fill {
  width: 100%;
}

#schedule .flashlight-step {
  --mouse-x: 50%;
  --mouse-y: 50%;
  position: relative;
  z-index: 1;
  padding: var(--space-8) var(--space-6) var(--space-6);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(47, 62, 53, 0.09);
  box-shadow: 0 2px 12px rgba(47, 62, 53, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  transition:
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.5s ease,
    border-color 0.5s ease;
}

#schedule .flashlight-step::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    420px circle at var(--mouse-x) var(--mouse-y),
    rgba(138, 154, 139, 0.14),
    transparent 42%
  );
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  z-index: 0;
}

#schedule .flashlight-step .flashlight-border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    360px circle at var(--mouse-x) var(--mouse-y),
    rgba(47, 62, 53, 0.35),
    transparent 40%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  z-index: 2;
}

#schedule .flashlight-step:hover::before,
#schedule .flashlight-step:hover .flashlight-border {
  opacity: 1;
}

#schedule .flashlight-step:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 62, 53, 0.16);
  box-shadow: 0 16px 40px rgba(47, 62, 53, 0.12);
}

#schedule .flashlight-step .step-num,
#schedule .flashlight-step .step-title,
#schedule .flashlight-step .step-desc {
  position: relative;
  z-index: 1;
}

#schedule .flashlight-step .step-num {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#schedule .flashlight-step:hover .step-num {
  transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .animate-clean {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }

  #schedule .steps-progress-fill {
    width: 100%;
    transition: none;
  }

  #schedule .flashlight-step {
    transition: none;
  }

  #schedule .eyebrow-pulse::before {
    animation: none;
  }
}

@media (max-width: 991px) {
  #schedule .steps-progress-line {
    display: none;
  }
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: stretch;
}

.profile-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.profile-card .pricing-list {
  flex: 1;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.faq-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(47, 62, 53, 0.09);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition-base);
}

.faq-card:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(47, 62, 53, 0.18);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.faq-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(47, 62, 53, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-bottom: var(--space-4);
}

.faq-card h4 {
  font-size: var(--text-h5);
  margin-bottom: var(--space-3);
}

.faq-card p {
  font-size: var(--text-body-sm);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
  margin: 0;
}

/* Pacotes: destaque valor/aula */
.pricing-per-lesson {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: var(--space-2) 0 var(--space-1);
}

.pricing-per-lesson .pricing-price {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
}

.pricing-total {
  font-size: var(--text-body-sm);
  color: var(--color-text-subtle);
  margin-bottom: var(--space-2);
}

.pricing-total strong {
  color: var(--color-text-muted);
  font-weight: var(--fw-bold);
}

.pricing-intro {
  font-size: var(--text-body-sm);
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: var(--space-4);
  min-height: 2.5rem;
}

.pricing-card.featured::before {
  display: none;
}

.pricing-card.featured .pricing-tag {
  background: var(--gradient-accent);
  color: var(--color-primary-dark);
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-accent-glow);
}

.pricing-card.featured .btn-primary {
  background: var(--gradient-accent);
  color: var(--color-primary-dark);
  border: none;
}

.pricing-card.featured .btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: var(--shadow-accent-glow);
}

/* Fundos — Aura ai-marketing-56: grid técnico 40px, pontos 24px, glows, véu leve */
.page-ambience {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-ambience__grid {
  position: absolute;
  inset: 0;
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(47, 62, 53, 0.038) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(47, 62, 53, 0.038) 1px, transparent 1px);
  mask-image: linear-gradient(to bottom, black 18%, black 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 18%, black 72%, transparent 100%);
}

.page-ambience__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(47, 62, 53, 0.042) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, black 14%, black 68%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 14%, black 68%, transparent 100%);
}

#hero,
.marquee-section,
.ds-section,
#footer {
  position: relative;
  z-index: 1;
}

.ds-section:not(#hero) {
  background: transparent;
  isolation: isolate;
  border-top: 1px solid rgba(47, 62, 53, 0.06);
}

.ds-section > .container,
#pacotes > .container,
#pacotes > .pacotes-grid-full {
  position: relative;
  z-index: 2;
}

.section-ambience {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.section-ambience__video {
  position: absolute;
  inset: -12%;
  width: 124%;
  height: 124%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(0.7) blur(2px);
  transform: scale(1.05);
  transition: opacity 1.2s ease;
}

.section-ambience--video.is-video-active .section-ambience__video {
  opacity: var(--ambience-video-opacity, 0.2);
}

.section-ambience--video[data-video="movement"].is-video-active .section-ambience__video {
  --ambience-video-opacity: 0.16;
}

.section-ambience--pattern-only .section-ambience__video {
  display: none;
}

.section-ambience__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  z-index: 0;
}

.section-ambience__glow--a {
  width: min(520px, 62vw);
  height: min(380px, 48vw);
  top: -14%;
  right: -10%;
  background: radial-gradient(circle, rgba(138, 154, 139, 0.28) 0%, transparent 68%);
}

.section-ambience__glow--b {
  width: min(440px, 55vw);
  height: min(340px, 42vw);
  bottom: -18%;
  left: -12%;
  background: radial-gradient(circle, rgba(202, 162, 76, 0.14) 0%, transparent 70%);
}

.section-ambience--sand .section-ambience__glow--a {
  background: radial-gradient(circle, rgba(202, 162, 76, 0.2) 0%, transparent 68%);
}

.section-ambience--sand .section-ambience__glow--b {
  background: radial-gradient(circle, rgba(138, 154, 139, 0.16) 0%, transparent 70%);
}

.section-ambience__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(47, 62, 53, 0.065) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(47, 62, 53, 0.065) 1px, transparent 1px);
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.section-ambience__dots {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: radial-gradient(rgba(47, 62, 53, 0.075) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    black 12%,
    black 88%,
    rgba(0, 0, 0, 0.4) 100%
  );
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    black 12%,
    black 88%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.section-ambience__grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.section-ambience__frame {
  position: absolute;
  inset: clamp(var(--space-6), 3vw, var(--space-10));
  z-index: 4;
  border: 1px solid rgba(47, 62, 53, 0.07);
  border-radius: 1.75rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  opacity: 0.55;
  pointer-events: none;
}

.section-ambience__veil {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.section-ambience--cream .section-ambience__veil {
  background:
    linear-gradient(
      180deg,
      rgba(247, 245, 240, 0.48) 0%,
      rgba(247, 245, 240, 0.62) 45%,
      rgba(247, 245, 240, 0.78) 100%
    ),
    radial-gradient(ellipse 90% 55% at 50% -8%, rgba(138, 154, 139, 0.14) 0%, transparent 62%),
    radial-gradient(ellipse 50% 42% at 100% 88%, rgba(202, 162, 76, 0.07) 0%, transparent 58%);
}

.section-ambience--sand .section-ambience__veil {
  background:
    linear-gradient(
      180deg,
      rgba(238, 233, 223, 0.5) 0%,
      rgba(238, 233, 223, 0.65) 45%,
      rgba(238, 233, 223, 0.8) 100%
    ),
    radial-gradient(ellipse 75% 50% at 85% 12%, rgba(202, 162, 76, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 8% 92%, rgba(138, 154, 139, 0.1) 0%, transparent 58%);
}

/* Marquee — grid visível, faixa técnica */
.marquee-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent !important;
  border-top: 1px solid rgba(47, 62, 53, 0.08);
  border-bottom: 1px solid rgba(47, 62, 53, 0.08);
}

.marquee-section .marquee-track {
  position: relative;
  z-index: 2;
}

.marquee-section .section-ambience__frame {
  display: none;
}

.marquee-section .section-ambience--cream .section-ambience__veil {
  background:
    linear-gradient(180deg, rgba(247, 245, 240, 0.55) 0%, rgba(247, 245, 240, 0.82) 100%),
    radial-gradient(ellipse 70% 100% at 50% 50%, rgba(138, 154, 139, 0.08) 0%, transparent 70%);
}

.section-ambience--compact .section-ambience__grid {
  opacity: 1;
  background-image:
    linear-gradient(to right, rgba(47, 62, 53, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(47, 62, 53, 0.08) 1px, transparent 1px);
}

.section-ambience--compact .section-ambience__dots {
  background-image: radial-gradient(rgba(47, 62, 53, 0.09) 1px, transparent 1px);
}

/* Footer — mesmo sistema de profundidade */
#footer {
  position: relative;
  isolation: isolate;
  background: transparent !important;
  border-top: 1px solid rgba(47, 62, 53, 0.1);
  overflow: hidden;
}

#footer > .container {
  position: relative;
  z-index: 2;
}

#footer .section-ambience__frame {
  display: none;
}

#footer .section-ambience--cream .section-ambience__veil {
  background:
    linear-gradient(180deg, rgba(247, 245, 240, 0.58) 0%, rgba(247, 245, 240, 0.88) 100%),
    radial-gradient(ellipse 60% 80% at 20% 100%, rgba(138, 154, 139, 0.1) 0%, transparent 65%);
}

/* CTA — padding preservado */
.ds-section-cta {
  padding: var(--space-16) 0;
}

#cta.ds-section-cta {
  background: transparent;
}

.ds-section-instagram {
  padding-bottom: var(--space-16);
}

@media (prefers-reduced-motion: reduce) {
  .section-ambience__video {
    display: none !important;
  }

  .section-ambience--cream .section-ambience__veil {
    background: var(--color-dark);
  }

  .section-ambience--sand .section-ambience__veil {
    background: var(--color-dark-2);
  }
}

.ds-section-about .section-num-bg {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  top: -0.15em;
  color: rgba(47, 62, 53, 0.055);
  z-index: 0;
}

.ds-section-header {
  z-index: 2;
}

@media (max-width: 767px) {
  .section-ambience__frame {
    display: none;
  }

  .section-ambience__glow--a {
    width: 70vw;
    height: 50vw;
    opacity: 0.85;
  }
}

.about-section-header .about-lead {
  max-width: min(1080px, 94vw);
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.5;
  text-wrap: balance;
}

@media (min-width: 992px) {
  .about-section-header .about-lead {
    max-width: 1040px;
  }
}

/* Galeria estúdio — 5 fotos clientes (grid 6 colunas) */
.studio-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-4);
}

/* Linha 1: fotos 1-3 → cada uma ocupa 2 de 6 colunas (landscape) */
.studio-gallery-item:nth-child(-n+3) {
  grid-column: span 2;
  aspect-ratio: 4 / 3;
}

/* Linha 2: fotos 4-5 → cada uma ocupa 3 de 6 colunas (portrait proporcional) */
.studio-gallery-item:nth-child(4),
.studio-gallery-item:nth-child(5) {
  grid-column: span 3;
  aspect-ratio: 3 / 4;
}

/* Foto 3: barrel exercise — enquadra no rosto (parte superior da imagem) */
.studio-gallery-item:nth-child(3) img {
  object-position: center top;
}

.studio-gallery-item {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.studio-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.studio-gallery-item:hover img {
  transform: scale(1.04);
}

/* Contato — cards glass (ref: glass-pricing) */
#contact .contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(var(--space-5), 2vw, var(--space-8));
  align-items: stretch;
}

#contact .contact-card--glass {
  --mouse-x: 50%;
  --mouse-y: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 1.5rem;
  border: 1px solid rgba(47, 62, 53, 0.1);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.58) 0%,
    rgba(255, 255, 255, 0.32) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 2.8px 2.2px rgba(47, 62, 53, 0.034),
    0 12.5px 10px rgba(47, 62, 53, 0.06);
  overflow: hidden;
  transition:
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.5s ease,
    border-color 0.5s ease;
}

#contact .contact-card--glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    480px circle at var(--mouse-x) var(--mouse-y),
    rgba(138, 154, 139, 0.12),
    transparent 42%
  );
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  z-index: 0;
}

#contact .contact-card--glass .flashlight-border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    400px circle at var(--mouse-x) var(--mouse-y),
    rgba(47, 62, 53, 0.32),
    transparent 40%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  z-index: 3;
}

#contact .contact-card--glass:hover::before,
#contact .contact-card--glass:hover .flashlight-border {
  opacity: 1;
}

#contact .contact-card--glass:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 62, 53, 0.16);
  box-shadow:
    0 6.7px 5.3px rgba(47, 62, 53, 0.05),
    0 22.3px 17.9px rgba(47, 62, 53, 0.1);
}

#contact .contact-card-media {
  position: relative;
  flex-shrink: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  z-index: 1;
}

#contact .contact-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(30, 42, 35, 0.1) 100%);
  pointer-events: none;
}

#contact .contact-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

#contact .contact-card--glass:hover .contact-card-media img {
  transform: scale(1.04);
}

#contact .contact-card-glass {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding:
    var(--space-8)
    clamp(var(--space-6), 4vw, var(--space-10))
    var(--space-10);
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.75) 100%
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

#contact .contact-card-glass::after {
  content: '';
  position: absolute;
  left: clamp(var(--space-6), 4vw, var(--space-10));
  right: clamp(var(--space-6), 4vw, var(--space-10));
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(47, 62, 53, 0.12) 20%,
    rgba(47, 62, 53, 0.18) 50%,
    rgba(47, 62, 53, 0.12) 80%,
    transparent
  );
  pointer-events: none;
}

#contact .contact-card-glass h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: var(--space-2) 0 0;
  padding-right: var(--space-2);
  color: var(--color-primary-dark);
  line-height: 1.35;
}

#contact .contact-card-glass p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0;
  padding-right: var(--space-1);
  flex: 1;
}

#contact .contact-card-cta {
  width: 100%;
  margin-top: var(--space-4);
  padding: 15px 24px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#contact .hours-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin: var(--space-1) 0 0;
  padding: var(--space-2) var(--space-1) var(--space-3);
  flex: 1;
}

#contact .hours-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-5);
  font-size: var(--text-body-sm);
  line-height: 1.5;
  padding: var(--space-3) 0 var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

#contact .hours-row:last-child {
  border-bottom: none;
  padding-bottom: var(--space-2);
}

.hours-row span:last-child {
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  font-family: var(--font-primary);
  text-align: right;
}

.hours-row .hours-note {
  font-weight: var(--fw-regular);
  color: var(--color-text-subtle);
  font-size: var(--text-caption);
}

/* Instagram — carrossel (ref: instagram-slides) */
#instagram .container {
  max-width: 1240px;
}

.instagram-slides {
  width: 100%;
  margin-top: var(--space-4);
}

.instagram-slides__toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.instagram-slides__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(47, 62, 53, 0.12);
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-primary);
  cursor: pointer;
  transition: all var(--transition-base);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.instagram-slides__arrow:hover {
  background: var(--color-primary);
  color: #F7F5F0;
  border-color: transparent;
  transform: scale(1.05);
}

.instagram-slides__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.instagram-slides__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 12px;
}

.instagram-slides__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(47, 62, 53, 0.18);
  cursor: pointer;
  transition: all var(--transition-base);
}

.instagram-slides__dot.is-active {
  background: var(--color-primary);
  transform: scale(1.15);
}

.instagram-slides__dot:hover:not(.is-active) {
  background: rgba(47, 62, 53, 0.35);
}

.instagram-slides__swipe {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: var(--text-caption);
  color: var(--color-text-subtle);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.instagram-slides__track {
  display: flex;
  flex-direction: row;
  gap: var(--space-6);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  padding: var(--space-2) clamp(var(--space-4), 5vw, var(--space-10)) var(--space-6);
  margin: 0 calc(-1 * clamp(var(--space-4), 5vw, var(--space-10)));
  scrollbar-width: none;
  -ms-overflow-style: none;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.instagram-slides__track::-webkit-scrollbar {
  display: none;
}

.ig-slide {
  position: relative;
  flex: 0 0 auto;
  width: min(85vw, 420px);
  aspect-ratio: 3 / 4;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(47, 62, 53, 0.12);
  box-shadow:
    0 12.5px 10px rgba(47, 62, 53, 0.08),
    0 22.3px 17.9px rgba(47, 62, 53, 0.05);
  scroll-snap-align: center;
  background: var(--color-dark-3);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
}

.ig-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(47, 62, 53, 0.14);
}

.ig-slide__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.ig-slide:hover .ig-slide__img {
  transform: scale(1.04);
}

.ig-slide__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(30, 42, 35, 0.75) 0%,
    rgba(30, 42, 35, 0.2) 42%,
    transparent 68%
  );
  z-index: 1;
  pointer-events: none;
}

.ig-slide--cover .ig-slide__veil {
  background: linear-gradient(
    to top,
    rgba(20, 30, 23, 0.96) 0%,
    rgba(20, 30, 23, 0.72) 45%,
    rgba(20, 30, 23, 0.28) 100%
  );
}

.ig-slide--cover .ig-slide__index,
.ig-slide--cover .ig-slide__title,
.ig-slide--cover .ig-slide__text {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.ig-slide__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6) var(--space-6) var(--space-8);
  color: #F7F5F0;
}

.ig-slide__content--compact {
  justify-content: flex-end;
  padding: var(--space-5);
}

.ig-slide__index {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.75);
  margin-bottom: var(--space-3);
}

.ig-slide__title {
  font-family: var(--font-primary);
  font-size: clamp(1.125rem, 2.8vw, 1.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
  color: #F7F5F0;
}

.ig-slide__text {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(247, 245, 240, 0.88);
  margin-bottom: var(--space-5);
  max-width: 100%;
}

.ig-slide__tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@keyframes ig-slide-enter {
  from {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

#instagram.is-track-visible .ig-slide {
  animation: ig-slide-enter 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}

#instagram.is-track-visible .ig-slide:nth-child(1) { animation-delay: 0s; }
#instagram.is-track-visible .ig-slide:nth-child(2) { animation-delay: 0.06s; }
#instagram.is-track-visible .ig-slide:nth-child(3) { animation-delay: 0.12s; }
#instagram.is-track-visible .ig-slide:nth-child(4) { animation-delay: 0.18s; }
#instagram.is-track-visible .ig-slide:nth-child(5) { animation-delay: 0.24s; }
#instagram.is-track-visible .ig-slide:nth-child(6) { animation-delay: 0.3s; }
#instagram.is-track-visible .ig-slide:nth-child(7) { animation-delay: 0.36s; }
#instagram.is-track-visible .ig-slide:nth-child(8) { animation-delay: 0.42s; }
#instagram.is-track-visible .ig-slide:nth-child(9) { animation-delay: 0.48s; }

@media (min-width: 768px) {
  .ig-slide {
    width: min(440px, 38vw);
  }

  .instagram-slides__swipe {
    display: none;
  }
}

@media (max-width: 767px) {
  .instagram-slides__arrow {
    display: none;
  }

  .instagram-slides__swipe {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    order: 3;
  }

  .instagram-slides__dots {
    order: 2;
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  #instagram.is-track-visible .ig-slide {
    animation: none;
  }

  .ig-slide:hover,
  .ig-slide:hover .ig-slide__img {
    transform: none;
  }
}

/* WhatsApp flutuante */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: var(--z-toast);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: var(--shadow-glow-strong);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.wa-float:hover {
  transform: scale(1.06);
  box-shadow: var(--shadow-xl);
  color: var(--color-dark);
}

.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 92px;
  z-index: var(--z-toast);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.scroll-top.is-visible {
  display: flex;
}

.scroll-top:hover {
  background: var(--color-primary);
  color: var(--color-dark);
}

/* Menu mobile */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.6);
  color: var(--color-text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.footer-map {
  width: 100%;
  height: 200px;
  border: 0;
  border-radius: var(--radius-lg);
  margin-top: var(--space-4);
}

/* Anula regra genérica .pricing-grid do design system (1 col / 420px) */
@media (max-width: 1024px) {
  #pacotes .pricing-grid.pricing-grid--five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
    margin: 0;
  }
}

@media (max-width: 1200px) {
  #pacotes .pricing-grid.pricing-grid--five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .services-grid--six,
  .profiles-grid,
  #contact .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #pacotes .pricing-grid.pricing-grid--five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    margin: 0;
  }

  .steps-grid--three {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .studio-gallery {
    grid-template-columns: repeat(4, 1fr);
  }

  .studio-gallery-item:nth-child(-n+3) {
    grid-column: span 2;
    aspect-ratio: 4 / 3;
  }

  .studio-gallery-item:nth-child(4),
  .studio-gallery-item:nth-child(5) {
    grid-column: span 2;
    aspect-ratio: 3 / 4;
  }

  .header-mg .container {
    flex-wrap: wrap;
    gap: var(--space-3);
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-4) 0;
    order: 4;
  }

  .nav-links.is-open {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
  }

  .header-mg .nav-links.is-open a {
    color: #F7F5F0;
    font-size: 0.9rem;
    text-shadow: none;
  }

  .header-mg.scrolled .nav-links.is-open {
    background: rgba(47, 62, 53, 0.06);
  }

  .header-mg.scrolled .nav-links.is-open a {
    color: var(--color-text);
  }

  .nav-logo-img {
    height: 46px;
  }

  .nav-actions {
    order: 3;
  }
}

@media (max-width: 575px) {
  .services-grid--six,
  .profiles-grid,
  #contact .contact-grid {
    grid-template-columns: 1fr;
  }

  .studio-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .studio-gallery-item:nth-child(-n+3),
  .studio-gallery-item:nth-child(4),
  .studio-gallery-item:nth-child(5) {
    grid-column: span 1;
    aspect-ratio: 1 / 1;
  }

  #pacotes .pricing-grid.pricing-grid--five {
    grid-template-columns: 1fr;
    max-width: min(440px, 100%);
    margin: 0 auto;
  }

  #pacotes .pricing-card {
    padding: var(--space-8) var(--space-6);
  }
}

/* Lead capture drawer: ver assets/css/lead-form.css */
