/* ==========================================================================
   Estúdio Divas Pole Dance — Design System & Layout
   ========================================================================== */

:root {
  /* Brand colors (extraídas da identidade visual real do estúdio) */
  --pink: #e5117f;
  --pink-dark: #a80d5d;
  --pink-darker: #7a0944;
  --pink-light: #fdeaf4;
  --pink-tint: #fff6fb;
  --ink: #1c1720;
  --ink-soft: #4a4350;
  --gray: #756e7a;
  --gray-light: #e9e3ea;
  --cream: #fffbf9;
  --white: #ffffff;
  --success: #1f9d55;

  /* Type */
  --font-display: "Playfair Display", "Georgia", serif;
  --font-body: "Poppins", "Segoe UI", sans-serif;

  /* Type scale (roles, not one-off values) */
  --text-2xs: 0.75rem;   /* micro labels: brand tagline, modality tag chip */
  --text-xs: 0.85rem;    /* captions/meta: eyebrow, stat captions, breadcrumb, hints */
  --text-sm: 0.9rem;     /* small body/labels: buttons, nav links, card copy, footer links */
  --text-base-sm: 0.96rem; /* near-body: form inputs, primary button */
  --text-md: 1.1rem;     /* mid emphasis: hero badge number, testimonial byline */
  --text-lede: 1.15rem;  /* lede paragraph, wordmark */
  --text-stat-sm: 1.7rem;
  --text-stat-lg: 2rem;

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 6.5rem;

  /* Layout */
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(28, 23, 32, 0.07);
  --shadow-md: 0 12px 32px rgba(28, 23, 32, 0.12);
  --shadow-pink: 0 14px 30px rgba(229, 17, 127, 0.28);

  --header-h: 76px;
}

/* ---- Reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  padding-top: var(--header-h);
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

html {
  /* Mantém a rolagem por toque/rodinha, mas remove a faixa visual do navegador. */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 var(--space-2);
  color: var(--ink);
  font-weight: 700;
}

p {
  margin: 0 0 var(--space-2);
  color: var(--ink-soft);
  line-height: 1.7;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.section {
  padding: var(--space-6) 0;
}

.section.container {
  padding-left: var(--space-3);
  padding-right: var(--space-3);
}

.section--tight {
  padding: var(--space-5) 0;
}

.section--pink {
  background: var(--pink-light);
}

.section--ink {
  background: var(--ink);
  color: var(--white);
}

.section--ink h2,
.section--ink h3,
.section--ink p {
  color: var(--white);
}

.eyebrow.eyebrow--light {
  color: var(--pink-light);
}

.section-head {
  max-width: 700px;
  margin: 0 auto var(--space-5);
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink-dark);
  margin-bottom: var(--space-2);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--pink);
  display: inline-block;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
}

h3 {
  font-size: 1.25rem;
}

.lede {
  font-size: var(--text-lede);
  color: var(--ink-soft);
}

.text-center {
  text-align: center;
}

.section-actions {
  margin-top: var(--space-5);
}

/* ---- Skip link (acessibilidade) ---- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--pink);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 999;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--text-base-sm);
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* "Ouse brilhar": um brilho sutil atravessa os CTAs principais ao passar o mouse */
.btn-primary::before,
.btn-whatsapp::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 35%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg) translateX(0);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.btn-primary:hover::before,
.btn-whatsapp:hover::before {
  transform: skewX(-20deg) translateX(360%);
}

.btn svg {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--pink);
  color: var(--white);
  box-shadow: var(--shadow-pink);
}

.btn-primary:hover {
  background: var(--pink-dark);
}

.btn-secondary {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--pink-dark);
}

.btn-light:hover {
  background: var(--pink-light);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: var(--text-sm);
  min-height: 44px;
}

.btn-whatsapp {
  background: #25d366;
  color: var(--ink);
}

.btn-whatsapp:hover {
  background: #1ebc59;
}

/* ---- Header ---- */
/* position: fixed em vez de sticky: testamos sticky + will-change + backdrop-filter
   isolado e o Chromium ainda falha em repintar o header durante scroll rápido de
   roda do mouse (o layout recalcula certo, mas a tela não acompanha). fixed usa um
   caminho de composição diferente, muito mais estável, e não tem esse problema. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(28, 23, 32, 0.06);
  isolation: isolate;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}

/* Blur/background isolados num pseudo-elemento: manter backdrop-filter direto no
   elemento sticky faz o Chromium perder o recalculo de posição durante scroll real
   (roda do mouse/touch) e o header some. Separar as duas camadas resolve. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 251, 249, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lede);
  color: var(--ink);
  flex-shrink: 0;
}

.brand img {
  height: 54px;
  width: auto;
  border-radius: var(--radius-sm);
}

.brand-text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-2xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-links {
  display: flex;
  gap: var(--space-4);
  font-weight: 500;
  font-size: var(--text-base-sm);
}

.nav-links a {
  position: relative;
  padding: 0.4rem 0;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 100%;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--pink-dark);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-contact {
  display: none;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  background: var(--pink-light);
  border: none;
  border-radius: 999px;
  padding: 0;
  color: var(--ink);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.nav-toggle svg {
  width: 28px;
  height: 28px;
  transition: opacity 0.16s ease, transform 0.2s ease;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.16s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-toggle[aria-expanded="true"] {
  background: var(--ink);
  color: var(--white);
}

.nav-toggle[aria-expanded="true"] svg {
  opacity: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::before {
  opacity: 1;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  opacity: 1;
  transform: rotate(-45deg);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-6) var(--space-3);
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
}

.hero-copy .eyebrow {
  margin-bottom: var(--space-3);
}

.hero-copy {
  min-width: 0;
}

.hero-copy h1 {
  margin-bottom: var(--space-3);
  text-wrap: balance;
}

.hero-copy h1 em {
  font-style: italic;
  color: var(--pink);
}

.hero-copy .lede {
  max-width: 59ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.hero-stats {
  display: flex;
  gap: var(--space-5);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--gray-light);
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-stat-sm);
  color: var(--pink-dark);
  font-variant-numeric: tabular-nums;
}

.hero-stat span {
  font-size: var(--text-xs);
  color: var(--gray);
}

.hero-media {
  position: relative;
  isolation: isolate;
}

.hero-media-frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 3 / 4;
  transform: rotate(-1.5deg);
  /* Em telas largas porém baixas de altura, a largura da coluna sozinha
     faria (via aspect-ratio) uma imagem mais alta que o espaço vertical
     disponível no hero, empurrando a seção inteira para além da tela.
     Com aspect-ratio já declarado, um max-height ligado à viewport basta:
     o navegador recalcula a largura junto para manter a proporção 3/4,
     encolhendo a imagem só quando a altura realmente aperta. Em telas
     altas esse teto não chega a ser o fator limitante, então o visual
     permanece igual ao anterior (imagem no tamanho natural da coluna). */
  max-height: calc(100vh - var(--header-h) - (var(--space-6) * 2));
  max-height: calc(100dvh - var(--header-h) - (var(--space-6) * 2));
}

.hero-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overdrive: luz de palco que acompanha o cursor sobre a foto do hero */
.hero-media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(255, 255, 255, 0.4), transparent 60%);
  mix-blend-mode: overlay;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.hero-media-frame.is-spotlit::after {
  opacity: 1;
}

.hero-badge {
  position: absolute;
  z-index: 2;
  bottom: -16px;
  left: -16px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-1) var(--space-2);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 200px;
  overflow: hidden;
}

.hero-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 35%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg) translateX(0);
  animation: badge-shine 1.4s cubic-bezier(0.16, 1, 0.3, 1) 1.2s 1 both;
  pointer-events: none;
}

@keyframes badge-shine {
  to {
    transform: skewX(-20deg) translateX(360%);
  }
}

.hero-badge .stars {
  color: var(--pink);
  font-size: 0.8rem;
  letter-spacing: 1.5px;
}

.hero-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
}

.hero-badge span {
  font-size: 0.68rem;
  color: var(--gray);
}

.hero-badge--inline {
  position: static;
  box-shadow: none;
  padding: 0;
  max-width: none;
}

/* ---- Manifesto em movimento ---- */
.tagbar {
  background: var(--ink);
  color: var(--white);
  padding: 0.85rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.tagbar-track {
  display: flex;
  width: max-content;
  animation: scroll-left 32s linear infinite;
  font-weight: 600;
  letter-spacing: 0.025em;
  font-size: var(--text-sm);
  color: var(--pink-light);
}

.tagbar-group {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding-right: 3rem;
}

.tagbar-group span {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
}

.tagbar-group span::after {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: var(--pink);
}

.tagbar:hover .tagbar-track {
  animation-play-state: paused;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-25%);
  }
}

/* ---- Cards de diferenciais ---- */
.grid {
  display: grid;
  gap: var(--space-4);
}

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

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

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

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.section--ink .feature-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.section--ink .feature-card h3 {
  color: var(--white);
}

.section--ink .feature-card p {
  color: rgba(255, 255, 255, 0.75);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--pink-light);
  color: var(--pink-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
}

.feature-card p {
  margin: 0;
  font-size: var(--text-base-sm);
}

/* A home troca a grade uniforme por uma composição editorial assimétrica. */
.home-differentials .section-head {
  max-width: 790px;
  margin-left: 0;
  text-align: left;
}

.home-differentials .section-head h2 {
  max-width: 680px;
  text-wrap: balance;
}

.differential-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-3);
}

.differential-grid .feature-card:nth-child(1) {
  grid-column: span 7;
}

.differential-grid .feature-card:nth-child(2) {
  grid-column: span 5;
}

.differential-grid .feature-card:nth-child(3) {
  grid-column: span 5;
}

.differential-grid .feature-card:nth-child(4) {
  grid-column: span 7;
}

.feature-card--lead {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(28, 23, 32, 0.16);
}

.feature-card--lead::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(253, 234, 244, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(229, 17, 127, 0.06), 0 0 0 78px rgba(229, 17, 127, 0.035);
  pointer-events: none;
}

.feature-card--lead h3,
.feature-card--lead p {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 580px;
}

.feature-card--lead h3 {
  font-size: clamp(1.7rem, 2.4vw, 2rem);
}

.feature-card--lead p {
  color: rgba(255, 255, 255, 0.76);
}

.feature-card--lead .feature-icon {
  position: relative;
  z-index: 1;
  background: rgba(253, 234, 244, 0.12);
  color: var(--pink-light);
}

.feature-card--community {
  background: var(--pink-tint);
}

.feature-card--community p {
  max-width: 660px;
}

/* ---- Modalidades ---- */
.modality-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--white);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.modality-media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.modality-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Card sem foto real disponível (ex.: Lira) — motivo de arcos no lugar de uma foto que não existe, em vez de forçar uma imagem errada */
.modality-media--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  background: linear-gradient(160deg, var(--pink-light), var(--pink-tint));
}

.modality-media-rings {
  position: relative;
  width: 44%;
  aspect-ratio: 1;
}

.modality-media-rings span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid var(--pink);
}

.modality-media-rings span:nth-child(2) {
  inset: 18%;
  border-color: var(--pink-dark);
  opacity: 0.7;
}

.modality-media-rings span:nth-child(3) {
  inset: 36%;
  border-color: var(--pink-darker);
  opacity: 0.45;
}

.modality-media-note {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-2xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink-dark);
}

.modality-card:hover .modality-media img {
  transform: scale(1.025);
}

.modality-body {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.modality-body h3 {
  margin-bottom: 0.4rem;
}

.modality-body p {
  font-size: var(--text-sm);
  flex: 1;
}

.modality-tag {
  display: inline-block;
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink-dark);
  background: var(--pink-light);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
  width: fit-content;
}

/* Par Pole Artístico / Polesporte: card na horizontal, não empilhado, para não ficar excessivamente alto num grid de 2 colunas */
.modality-pair .modality-card {
  flex-direction: row;
  align-items: stretch;
}

.modality-pair .modality-media {
  width: 42%;
  aspect-ratio: auto;
  flex-shrink: 0;
}

.modality-pair .modality-body {
  padding: var(--space-4);
}

/* A vitrine da home dá pesos diferentes às modalidades, como uma revista. */
.home-modalities .section-head,
.home-gallery .section-head {
  max-width: 760px;
  margin-left: 0;
  text-align: left;
}

.home-modalities .section-head h2,
.home-gallery .section-head h2 {
  text-wrap: balance;
}

.modalities-showcase {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: var(--space-3);
}

.modalities-showcase .modality-card:first-child {
  grid-column: span 5;
}

.modalities-showcase .modality-card:first-child .modality-media {
  aspect-ratio: 3 / 4;
}

.modalities-showcase .modality-card:first-child .modality-body {
  padding: var(--space-4);
}

.modalities-showcase .modality-card:first-child h3 {
  font-size: clamp(1.7rem, 2.5vw, 2rem);
}

/* Títulos que não podem quebrar linha: encolhe o texto para caber
   sempre em uma linha só, em vez de deixar o navegador quebrar. */
.nowrap-title {
  white-space: nowrap;
}

.modalities-showcase .modality-card:first-child h3.nowrap-title {
  font-size: clamp(1.5rem, calc(3.4vw - 8px), 2rem);
}

.section-head h2.nowrap-title {
  font-size: clamp(1rem, 4.4vw, 2.5rem);
}

.modalities-showcase .modality-card:nth-child(2) {
  grid-column: span 3;
}

.modalities-showcase .modality-card:nth-child(3) {
  grid-column: span 4;
}

.modalities-showcase .modality-card:not(:first-child) .modality-body {
  padding: var(--space-3);
}

/* ---- Sobre / imagem + texto ---- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-5);
  align-items: center;
}

.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.split-media.wide img {
  aspect-ratio: 3/4;
}

.check-list {
  margin: var(--space-3) 0;
  display: grid;
  gap: 0.85rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--ink-soft);
}

.check-list svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--pink);
  margin-top: 2px;
}

/* ---- Prova social / conquistas ---- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  text-align: center;
}

.stat-box {
  padding: var(--space-4) var(--space-2);
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--gray-light);
}

.stat-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-stat-lg);
  color: var(--pink-dark);
}

.stat-box span {
  font-size: var(--text-xs);
  color: var(--gray);
}

.stat-box--dark {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.12);
}

.stat-box--dark strong {
  color: var(--pink-light);
  font-variant-numeric: tabular-nums;
}

.stat-box--dark span {
  color: rgba(255, 255, 255, 0.72);
}

.section-note {
  max-width: 640px;
  margin: var(--space-4) auto 0;
  text-align: center;
  font-size: var(--text-sm);
}

.section-note--light {
  color: rgba(255, 255, 255, 0.72);
}

/* Prova social sem quatro caixas idênticas: os números formam uma faixa editorial. */
.home-proof .stat-strip {
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.home-proof .stat-box {
  min-width: 0;
  padding: var(--space-4) var(--space-3);
  border: 0;
  border-radius: 0;
  background: transparent;
}

.home-proof .stat-box + .stat-box {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.home-proof .stat-box strong {
  font-size: clamp(var(--text-stat-lg), 3vw, 2.5rem);
}

.home-proof .section-note {
  margin-top: var(--space-4);
}

/* ---- Depoimento ---- */
.testimonial {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.testimonial blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 var(--space-3);
}

.testimonial blockquote::before {
  content: "“";
  color: var(--pink);
}

.testimonial blockquote::after {
  content: "”";
  color: var(--pink);
}

.testimonial cite {
  font-style: normal;
  font-weight: 600;
  color: var(--pink-dark);
  display: block;
}

.testimonial cite span {
  display: block;
  font-weight: 400;
  color: var(--gray);
  font-size: var(--text-xs);
  margin-top: 0.2rem;
}

.testimonial .eyebrow {
  justify-content: center;
}

.section--ink .testimonial blockquote,
.section--ink .testimonial cite {
  color: var(--pink-light);
}

.section--ink .testimonial cite span {
  color: rgba(255, 255, 255, 0.6);
}

/* ---- Assinatura fundadora ---- */
.founder-signature {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.founder-signature strong {
  font: 600 var(--text-base)/1.3 var(--font-heading);
  color: var(--pink-dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.founder-signature span {
  color: var(--ink-soft);
  font-size: var(--text-sm);
}

/* ---- Galeria ---- */
.gallery-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  justify-content: center;
  position: relative;
  z-index: 2;
  margin-top: -1.75rem;
  margin-bottom: -0.25rem;
  padding: 0;
}

.gallery-switcher-button {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--gray-light);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink-soft);
  font: 600 var(--text-sm)/1.2 var(--font-body);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.gallery-switcher-button:hover,
.gallery-switcher-button:focus-visible {
  border-color: var(--pink);
  color: var(--pink-dark);
  transform: translateY(-1px);
}

.gallery-switcher-button.is-active {
  border-color: var(--pink);
  background: var(--pink);
  color: var(--white);
}

.gallery-switcher-button span {
  color: var(--gray);
  font-size: var(--text-2xs);
  font-weight: 500;
}

.gallery-switcher-button.is-active span {
  color: rgba(255, 255, 255, 0.82);
}

.gallery-panel {
  padding: var(--space-6) 0;
}

.gallery-panel--general {
  padding-top: var(--space-5);
}

.gallery-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  max-width: var(--max-width);
  margin: 0 auto var(--space-4);
  padding: 0 var(--space-3);
}

.gallery-panel-head .eyebrow {
  margin-bottom: 0.75rem;
}

.gallery-panel-head h2 {
  margin-bottom: 0.5rem;
}

.gallery-panel-head p {
  max-width: 60ch;
  margin: 0;
  color: var(--ink-soft);
}

.gallery-count {
  flex: 0 0 auto;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--gray-light);
  border-radius: 999px;
  color: var(--pink-dark);
  font-size: var(--text-xs);
  font-weight: 600;
  white-space: nowrap;
}

.gallery-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: var(--space-4);
}

.gallery-load-more {
  min-width: 190px;
}

[data-gallery-panel][hidden] {
  display: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  background: var(--gray-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(28, 23, 32, 0.45), transparent 45%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item .gallery-label {
  position: absolute;
  left: 12px;
  bottom: 10px;
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.25s ease;
}

.gallery-item:hover .gallery-label {
  opacity: 1;
  transform: translateY(0);
}

/* Sequência editorial: retratos completos com ritmo e profundidade. */
.gallery-showcase {
  grid-template-columns: 1.08fr 0.9fr 0.96fr 1.06fr;
  align-items: end;
  gap: var(--space-3);
}

.gallery-showcase .gallery-item {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
}

.gallery-showcase .gallery-item:nth-child(2) {
  margin-bottom: var(--space-5);
}

.gallery-showcase .gallery-item:nth-child(3) {
  margin-bottom: var(--space-3);
}

.gallery-showcase .gallery-item::after {
  opacity: 1;
}

.gallery-showcase .gallery-label {
  z-index: 1;
  opacity: 1;
  transform: none;
  font-size: var(--text-sm);
  text-shadow: 0 1px 12px rgba(28, 23, 32, 0.45);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 12, 17, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: var(--space-3);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 900px;
  width: 100%;
}

.lightbox-inner img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: var(--white);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--pink);
}

.lightbox-close {
  top: 12px;
  right: 12px;
}

.lightbox-prev {
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-inner svg {
  width: 22px;
  height: 22px;
}

.lightbox-caption {
  text-align: center;
  color: var(--white);
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  opacity: 0.8;
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-light);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: var(--space-3) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--ink);
}

.faq-question .icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--pink);
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq-item.is-open .faq-question .icon {
  background: var(--pink);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.3s ease;
}

.faq-answer > p {
  min-height: 0;
  overflow: hidden;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer p {
  padding-bottom: var(--space-3);
  margin: 0;
}

/* ---- Planos / Turmas ---- */
.plan-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}

.plan-card h3 {
  color: var(--pink-dark);
}

.schedule-times {
  font: 600 var(--text-lg)/1.4 var(--font-heading);
  color: var(--ink);
  margin-top: var(--space-2);
}

.plan-note {
  background: var(--pink-tint);
  border: 1px dashed var(--pink);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.plan-note svg {
  width: 30px;
  height: 30px;
  color: var(--pink);
  flex-shrink: 0;
}

/* ---- CTA final band ---- */
.cta-band {
  background: linear-gradient(120deg, var(--pink-darker), var(--pink));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-band p {
  opacity: 0.9;
  margin: 0;
}

/* ---- Contato ---- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
  align-items: start;
  min-width: 0;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-light);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.contact-list {
  display: grid;
  gap: var(--space-3);
}

.contact-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.contact-list .icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--pink-light);
  color: var(--pink-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-list .icon svg {
  width: 20px;
  height: 20px;
}

.contact-card > h2 {
  font-size: 1.25rem;
}

.contact-list h3 {
  margin: 0 0 0.2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base-sm);
}

.contact-list p {
  margin: 0;
  font-size: var(--text-sm);
}

.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  aspect-ratio: 16/11;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.form-field {
  margin-bottom: var(--space-3);
}

.form-field label {
  display: block;
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-light);
  font-family: inherit;
  font-size: var(--text-base-sm);
  background: var(--white);
  color: var(--ink);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--pink);
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--gray);
  margin-top: var(--space-2);
}

/* ---- Página interna: hero simples ---- */
.page-hero {
  padding: var(--space-6) 0 var(--space-5);
  background: var(--pink-light);
  text-align: center;
}

.page-hero .eyebrow {
  justify-content: center;
}

.page-hero .lede {
  max-width: 640px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: var(--text-xs);
  color: var(--gray);
  margin-bottom: var(--space-2);
}

.breadcrumb a {
  color: var(--pink-dark);
  font-weight: 600;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: var(--space-6) 0 var(--space-3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-4);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand {
  color: var(--white);
  margin-bottom: var(--space-2);
}

.footer-brand .brand-text small {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--text-sm);
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: var(--space-3);
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.footer-social a:hover {
  background: var(--pink);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-2);
}

.footer-col ul {
  display: grid;
  gap: 0.6rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--pink-light);
}

.footer-bottom {
  padding-top: var(--space-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
}

/* ---- WhatsApp floating button ---- */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-3);
  right: var(--space-3);
  z-index: 90;
  background: #25d366;
  color: var(--ink);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float.is-over-footer {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

/* ---- Utility ---- */
.mt-0 {
  margin-top: 0;
}
.mb-0 {
  margin-bottom: 0;
}
.mt-2 {
  margin-top: var(--space-2);
}
.mt-3 {
  margin-top: var(--space-3);
}
.mt-4 {
  margin-top: var(--space-4);
}
.mt-6 {
  margin-top: var(--space-6);
}
.mt-auto {
  margin-top: auto;
}
.mb-4 {
  margin-bottom: var(--space-4);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Movimento
   ========================================================================== */

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Momento autoral: entrada coreografada do hero da home */
.hero-copy > .eyebrow {
  animation: hero-rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-copy > h1 {
  animation: hero-rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.hero-copy > .lede {
  animation: hero-rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both;
}

.hero-copy > .hero-actions {
  animation: hero-rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both;
}

.hero-copy > .hero-stats {
  animation: hero-rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}

.hero-media {
  animation: hero-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

/* Entrada leve e única para os heróis internos (sem coreografia) */
.page-hero .breadcrumb,
.page-hero .eyebrow,
.page-hero h1,
.page-hero .lede {
  animation: hero-rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Scroll-reveal: aplicado via JS (initScrollReveal). Sem JS, nada fica oculto. */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Feedback tátil imediato nos botões e cards clicáveis */
.btn:active {
  transform: translateY(0) scale(0.97);
}

.gallery-item:active,
.modality-card:active {
  transform: scale(0.99);
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy > .eyebrow,
  .hero-copy > h1,
  .hero-copy > .lede,
  .hero-copy > .hero-actions,
  .hero-copy > .hero-stats,
  .hero-media,
  .page-hero .breadcrumb,
  .page-hero .eyebrow,
  .page-hero h1,
  .page-hero .lede {
    animation: none;
  }

  .reveal {
    transform: none;
    transition: opacity 0.3s ease;
  }

  .btn:hover,
  .feature-card:hover,
  .gallery-item:hover img,
  .modality-card:hover .modality-media img {
    transform: none;
  }

  .btn-primary:hover::before,
  .btn-whatsapp:hover::before {
    transition: none;
    transform: none;
  }

  .hero-badge::before {
    animation: none;
  }

  .hero-media-frame::after {
    display: none;
  }

  .tagbar-track {
    animation: none;
  }
}

/* ==========================================================================
   Responsividade
   ========================================================================== */

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
    max-width: 460px;
    margin: 0 auto;
  }

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

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

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

  .gallery-grid.gallery-showcase {
    grid-template-columns: 1.08fr 0.9fr 0.96fr 1.06fr;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .modalities-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modalities-showcase .modality-card:nth-child(n) {
    grid-column: auto;
    margin-top: 0;
  }

  .modalities-showcase .modality-card:first-child h3.nowrap-title {
    font-size: clamp(1.24rem, calc(3vw - 6px), 1.55rem);
  }

  .section-head h2.nowrap-title {
    font-size: clamp(1.3rem, 4vw, 2rem);
  }

  .modality-pair .modality-card {
    flex-direction: column;
  }

  .modality-pair .modality-media {
    width: 100%;
    aspect-ratio: 3 / 4;
  }
}

/* Nav vira drawer um pouco mais cedo que o resto do layout (1040px): entre 861-1024px
   os 6 links + CTA não cabem na barra horizontal e quebravam linha dentro do header. */
@media (max-width: 1040px) {
  /* No mobile o header participa do fluxo e fica preso ao próprio contêiner de
     rolagem. Isso evita o descarte da camada fixed quando a viewport dinâmica
     do navegador/preview aumenta ao rolar para baixo. */
  body {
    padding-top: 0;
  }

  .site-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: auto;
    right: auto;
    width: 100%;
    -webkit-transform: none;
    transform: none;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
    will-change: auto;
  }

  /* Em navegadores móveis, backdrop-filter dentro de uma camada fixed pode ser
     descartado durante a mudança da viewport causada pela barra do navegador.
     Um fundo sólido mantém o header na camada de composição durante todo o scroll. */
  .site-header::before,
  .site-header.scrolled::before {
    background: var(--cream);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: var(--space-3) var(--space-3) max(var(--space-4), env(safe-area-inset-bottom));
    gap: var(--space-4);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    clip-path: inset(0 0 100% 0);
    transition: opacity 0.18s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), clip-path 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: 1px solid var(--gray-light);
    box-shadow: 0 18px 36px rgba(28, 23, 32, 0.1);
    scrollbar-width: thin;
    scrollbar-color: var(--pink-light) transparent;
  }

  .main-nav::-webkit-scrollbar {
    width: 6px;
  }

  .main-nav::-webkit-scrollbar-thumb {
    background: var(--pink-light);
    border-radius: 999px;
  }

  .main-nav::before {
    content: "";
    position: absolute;
    inset: -10% -10% auto -10%;
    height: 60%;
    background: radial-gradient(circle at 25% 20%, rgba(229, 17, 127, 0.1) 0%, transparent 55%),
      radial-gradient(circle at 80% 0%, rgba(168, 13, 93, 0.08) 0%, transparent 50%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
  }

  .main-nav > * {
    position: relative;
    z-index: 1;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    clip-path: inset(0);
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
    font-size: var(--text-lede);
  }

  .nav-links li {
    border-bottom: 1px solid var(--gray-light);
  }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 0.85rem 0;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
  }

  .nav-links a::after {
    bottom: 6px;
    width: 30px;
  }

  .nav-contact {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-contact-social {
    display: flex;
    gap: var(--space-2);
  }

  .nav-contact-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--pink-light);
    color: var(--pink-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .nav-contact-social a:hover {
    background: var(--pink);
    color: var(--white);
  }

  .nav-contact-social svg {
    width: 19px;
    height: 19px;
  }

  .header-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .header-cta .btn {
    width: 100%;
    min-height: 52px;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .split-media {
    order: -1;
  }

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

  .stat-strip {
    grid-template-columns: 1fr 1fr;
  }

  .cta-band {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .differential-grid .feature-card:nth-child(n) {
    grid-column: span 6;
  }

  .modalities-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modalities-showcase .modality-card:nth-child(n) {
    grid-column: auto;
    margin-top: 0;
  }

  .modalities-showcase .modality-card:first-child h3.nowrap-title {
    font-size: clamp(0.86rem, calc(3.14vw - 6.38px), 1.29rem);
  }

  .section-head h2.nowrap-title {
    font-size: clamp(1.1rem, 5vw, 2rem);
  }

  .home-proof .stat-box:nth-child(odd) {
    border-left: 0;
  }

  .home-proof .stat-box:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 68px;
  }

  .section {
    padding: var(--space-5) 0;
  }

  .site-header .container {
    gap: 0.75rem;
    padding-right: var(--space-2);
    padding-left: var(--space-2);
  }

  .brand {
    gap: 0.55rem;
    min-width: 0;
    font-size: 1rem;
  }

  .brand img {
    width: auto;
    height: 44px;
  }

  .brand-text small {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .main-nav {
    padding-right: var(--space-2);
    padding-left: var(--space-2);
  }

  .hero {
    padding: var(--space-4) var(--space-3) var(--space-5);
  }

  .hero-copy .eyebrow {
    margin-bottom: var(--space-2);
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }

  .hero-media {
    order: initial;
    width: 100%;
  }

  .hero-media-frame {
    transform: none;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .gallery-grid.gallery-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  .gallery-showcase .gallery-item:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 3 / 4;
    margin-bottom: 0;
  }

  .stat-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-2);
  }

  .home-proof .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .home-proof .stat-box {
    padding: var(--space-3) 0.75rem;
  }

  .home-proof .stat-box strong {
    font-size: var(--text-stat-sm);
  }

  .home-proof .stat-box span {
    display: block;
    overflow-wrap: anywhere;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: var(--space-4);
    padding-top: var(--space-3);
  }

  .hero-stat {
    min-width: 0;
    padding: 0 0.65rem;
    text-align: center;
  }

  .hero-stat + .hero-stat {
    border-left: 1px solid var(--gray-light);
  }

  .hero-stat strong {
    font-size: clamp(1.25rem, 6vw, 1.55rem);
    line-height: 1.1;
  }

  .hero-stat span {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.68rem;
    line-height: 1.45;
  }

  .hero-badge {
    /* Mantém o brilho ::before contido dentro do badge. Com position: static,
       o pseudo-elemento absoluto usava .hero-media como containing block e a
       animação criava 80px de overflow horizontal, alterando a viewport móvel. */
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    margin-top: var(--space-2);
    max-width: none;
    padding: 0.9rem var(--space-2);
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    text-align: center;
  }

  .hero-badge .stars {
    line-height: 1;
  }

  .hero-badge strong,
  .hero-badge span {
    text-align: center;
  }

  .site-footer {
    padding: var(--space-4) 0 max(var(--space-2), env(safe-area-inset-bottom));
  }

  .site-footer .container {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4) 1.25rem;
    padding-bottom: var(--space-4);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand .brand {
    margin-bottom: 0.75rem;
  }

  .footer-brand p {
    max-width: none;
    margin-bottom: 0;
    font-size: var(--text-xs);
    line-height: 1.6;
  }

  .footer-social {
    gap: 0.6rem;
    margin-top: var(--space-2);
  }

  .footer-social a {
    width: 40px;
    height: 40px;
  }

  .footer-col h4 {
    margin-bottom: 0.75rem;
    font-size: var(--text-2xs);
  }

  .footer-col ul {
    gap: 0.45rem;
  }

  .footer-col a {
    font-size: var(--text-xs);
    line-height: 1.45;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
    padding-top: var(--space-3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-col:last-child ul {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.55rem;
  }

  .footer-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem;
    padding-top: var(--space-3);
    font-size: var(--text-2xs);
    line-height: 1.5;
  }

  .footer-bottom > span:last-child {
    display: none;
  }

  .differential-grid .feature-card:nth-child(n) {
    grid-column: 1 / -1;
  }

  .differential-grid .feature-card:not(:first-child) {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: var(--space-2);
    padding: var(--space-3);
  }

  .differential-grid .feature-card:not(:first-child) .feature-icon {
    grid-row: 1 / 3;
    width: 44px;
    height: 44px;
    margin: 0;
  }

  .differential-grid .feature-card:not(:first-child) h3,
  .differential-grid .feature-card:not(:first-child) p {
    grid-column: 2;
  }

  .modalities-showcase {
    grid-template-columns: minmax(0, 1fr);
  }

  .modalities-showcase .modality-card:nth-child(n) {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    grid-column: auto;
    margin-top: 0;
  }

  .modalities-showcase .modality-card:nth-child(n) .modality-media {
    aspect-ratio: 3 / 4;
    min-height: 0;
    height: auto;
    align-self: center;
  }

  .modalities-showcase .modality-card:nth-child(n) .modality-body {
    padding: var(--space-2);
  }

  .modalities-showcase .modality-card:nth-child(n) .modality-tag {
    font-size: 0.68rem;
  }

  .modalities-showcase .modality-card:nth-child(n) h3 {
    font-size: var(--text-lede);
  }

  .modalities-showcase .modality-card:nth-child(n) h3.nowrap-title {
    font-size: clamp(0.6rem, calc(8.14vw - 16.3px), 1.15rem);
  }

  .section-head h2.nowrap-title {
    font-size: clamp(0.85rem, 6vw, 1.7rem);
  }

  .aerial-grid .modality-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .aerial-grid .modality-media {
    aspect-ratio: 3 / 4;
    align-self: center;
  }

  .aerial-grid .modality-body {
    padding: var(--space-2);
  }

  .feature-card--lead h3 {
    font-size: 1.7rem;
  }


  .cta-band {
    padding: var(--space-4);
  }

  .cta-band .btn,
  .text-center .btn {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .brand-text small {
    display: none;
  }

  .brand img {
    height: 40px;
  }

  .modalities-showcase .modality-card:nth-child(n),
  .aerial-grid .modality-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }
}

/* ==========================================================================
   Efeitos adicionais (barra de progresso, preloader, header dinâmico,
   malha de gradiente no hero, botões magnéticos, tilt 3D, contadores)
   ========================================================================== */

/* ---- Barra de progresso de scroll ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 200;
  pointer-events: none;
  background: transparent;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--pink-dark), var(--pink));
  box-shadow: 0 0 14px rgba(229, 17, 127, 0.4);
}

/* ---- Header: estado ao rolar ---- */
.site-header::before {
  transition: background 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(28, 23, 32, 0.08);
}

.site-header.scrolled::before {
  background: rgba(255, 251, 249, 0.97);
}

/* ---- Preloader ---- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 700;
  color: var(--pink-light);
  letter-spacing: -0.02em;
}

.preloader-bar {
  width: 160px;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.preloader-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--pink-dark), var(--pink));
  transform: translateX(-100%);
  animation: load-bar 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes load-bar {
  to {
    transform: translateX(0);
  }
}

/* ---- Malha de gradiente do hero (apenas tons de rosa, sem cor nova) ---- */
.hero-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(160deg, var(--pink-light) 0%, var(--pink-tint) 55%, var(--pink-light) 100%);
}

.hero-gradient-mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 30%, rgba(229, 17, 127, 0.16) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(168, 13, 93, 0.14) 0%, transparent 40%);
  filter: blur(60px);
  animation: mesh-drift 22s ease-in-out infinite;
}

@keyframes mesh-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(3%, -3%) scale(1.05); }
  66% { transform: translate(-3%, 3%) scale(0.95); }
}

/* ---- Testimonial: aspa decorativa grande ---- */
.testimonial {
  position: relative;
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 7rem;
  color: var(--pink);
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
}

/* ---- Botões magnéticos e cards com tilt (transform aplicado via JS) ---- */
[data-magnetic] {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-tilt] {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .hero-gradient-mesh {
    animation: none;
  }

  .preloader {
    display: none !important;
  }

  [data-magnetic],
  [data-tilt] {
    transition: none;
  }
}

@media (max-width: 900px) {
  [data-magnetic],
  [data-tilt] {
    transform: none !important;
  }
}

@media (max-width: 640px) {
  .gallery-switcher {
    justify-content: center;
    margin-top: -1.25rem;
  }

  .gallery-switcher-button {
    flex: 0 1 auto;
    justify-content: center;
    padding: 0.6rem 1rem;
    font-size: var(--text-xs);
  }

  .gallery-panel-head {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--space-2);
    padding: 0 var(--space-2);
  }
}
