/* ============================================================
   VITTA SUL PILATES — Folha de Estilos Principal
   Design: clean, acolhedor, clínico premium leve
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Roxo — paleta principal e seus tons */
  --purple:         #7F13D3;  /* principal */
  --purple-dark:    #5A0EA8;  /* escuro / hover */
  --purple-light:   #9B4DFF;  /* claro / ícones */
  --purple-lighter: #C084FC;  /* mais claro / labels em fundo escuro */
  --purple-pale:    #F3E8FF;  /* muito claro / fundos de badges e ícones */
  --purple-faint:   #FAF5FF;  /* quase branco / fundos de seção alternados */

  /* Neutros */
  --white:        #ffffff;
  --gray-100:     #F1F1F1;
  --gray-200:     #E5E7EB;
  --gray-400:     #6B7280;
  --gray-700:     #374151;
  --gray-900:     #1F2937;

  /* WhatsApp (CTA principal) */
  --whatsapp:     #25D366;
  --whatsapp-dark:#1DA851;

  /* Utilitário */
  --yellow:       #f59e0b;

  --font-head:    'Montserrat', system-ui, sans-serif;
  --font-body:    'Montserrat', system-ui, sans-serif;

  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --radius-xl:    32px;

  --shadow-sm:    0 1px 4px rgba(0,0,0,.06);
  --shadow-md:    0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:    0 8px 32px rgba(0,0,0,.10);

  --transition:   .25s ease;
  --max-w:        1140px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ───────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: .75rem;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--gray-900); }
h1 { font-size: clamp(2rem, 5vw, 3.25rem);   margin-bottom: 1.25rem; line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem);   margin-bottom: .625rem; }
h4 { margin-bottom: .5rem; }

/* Global p max-width — usada apenas para limitar linhas longas.
   Em contextos centralizados, margin: auto é aplicado via classe específica. */
p { max-width: 65ch; }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }
.section-bg-beige { background: var(--purple-faint); }
.section-bg-green { background: var(--purple-faint); }
.section-bg-dark  { background: var(--purple); color: var(--white); }
.section-bg-dark h2,
.section-bg-dark h3  { color: var(--white); }
.section-bg-dark .section-label { color: var(--purple-lighter); }
.section-bg-dark .btn-primary { background: var(--white); color: var(--purple); }
.section-bg-dark .btn-primary:hover { background: var(--purple-faint); }

/* Blocos de cabeçalho centralizados —
   .section-header é a classe canônica; os aliases cobrem o HTML existente */
.section-header,
.diferenciais-header,
.como-header,
.depoimentos-header,
.ambiente-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header p,
.diferenciais-header p,
.como-header p,
.depoimentos-header p,
.ambiente-header p {
  margin-left: auto;
  margin-right: auto;
  color: var(--gray-700);
  font-size: 1.05rem;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
  text-align: center;
}
.btn:hover  { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--purple); color: var(--white); }
.btn-primary:hover { background: var(--purple-dark); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  font-size: 1.05rem;
  padding: 1rem 2.25rem;
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); }

.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}
.btn-outline:hover { background: var(--purple-pale); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); }

.btn-lg { padding: 1.1rem 2.75rem; font-size: 1.1rem; }

/* ── Header / Nav ─────────────────────────────────────────── */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
  /* necessário para ancorar o dropdown mobile */
  position: sticky; /* redeclared to force stacking context */
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: relative; /* ancora o dropdown position:absolute */
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  height: 38px;
  width: auto;
  display: block;
}
.footer-brand .logo-img {
  height: 42px;
}

/* ── Nav menu (desktop: inline flex | mobile: dropdown) ─── */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--purple);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--purple-dark); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { margin-left: 1.5rem; flex-shrink: 0; }
.nav-cta .btn { padding: .6rem 1.4rem; font-size: .88rem; }

/* Hambúrguer */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .35rem;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────────── */
#hero {
  background: linear-gradient(135deg, var(--purple-faint) 0%, var(--white) 60%);
  padding: 5rem 0;
}

/* FIX: grid aplicado ao container interno, não ao <section> */
#hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.hero-content { display: flex; flex-direction: column; gap: 1.5rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--purple-pale);
  color: var(--purple);
  border-radius: 100px;
  padding: .35rem 1rem;
  font-size: .8rem;
  font-weight: 600;
  width: fit-content;
}

.hero-content h1 { color: var(--gray-900); max-width: 18ch; }

.hero-sub {
  font-size: 1.1rem;
  color: var(--gray-700);
  max-width: 50ch;
  margin-bottom: 1rem;
}

.hero-complement {
  font-size: 1rem;
  color: var(--gray-500);
  max-width: 50ch;
  margin-bottom: 2rem;
  font-style: italic;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-200);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: var(--gray-700);
  white-space: nowrap;
}
.hero-trust-item svg { color: var(--purple-light); flex-shrink: 0; }

.hero-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  width: 100%;
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-image-placeholder {
  width: 100%; height: 100%;
  min-height: 400px;
  background: linear-gradient(160deg, var(--purple-pale) 0%, var(--purple-pale) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--purple);
  font-family: var(--font-head);
  font-size: 1.1rem;
  text-align: center;
  padding: 2rem;
}

/* ── Dores / Identificação ────────────────────────────────── */
.dores-intro {
  text-align: center;
  margin-bottom: 3rem;
}
.dores-intro h2 { margin-bottom: .75rem; }
.dores-intro p {
  color: var(--gray-700);
  font-size: 1.05rem;
  margin-left: auto;
  margin-right: auto;
}

.dores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.dor-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.dor-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.dor-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--purple-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--purple);
}
.dor-card h3 { font-size: 1rem; margin-bottom: .25rem; }
.dor-card p  { font-size: .875rem; color: var(--gray-400); max-width: none; }

/* ── Diferenciais ─────────────────────────────────────────── */
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.diferencial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.diferencial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.diferencial-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--purple-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
}
.diferencial-card h3 { font-size: 1.05rem; color: var(--gray-900); }
.diferencial-card p  { font-size: .9rem; color: var(--gray-400); max-width: none; }

/* ── Como Funciona (home — passo a passo simples) ─────────── */
.como-header {
  text-align: center;
  margin-bottom: 4rem;
}
.como-header p { margin-left: auto; margin-right: auto; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

/* Linha de conexão entre os steps (desktop only) */
.steps::before {
  content: '';
  position: absolute;
  top: 25px; /* centro do círculo (52/2 - 1px) */
  left: calc(12.5% + 26px);
  right: calc(12.5% + 26px);
  height: 2px;
  background: linear-gradient(90deg, var(--purple-light), var(--purple-pale));
  z-index: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px var(--purple-pale);
  position: relative;
  z-index: 2;
}
.step h3 { font-size: 1.05rem; color: var(--gray-900); }
.step p   { font-size: .9rem;  color: var(--gray-400); max-width: none; }

/* ── Pilates Clínico (seção com duas colunas) ─────────────── */
#pilates-clinico { padding: 5rem 0; }

/* FIX: grid no container interno, não na section */
#pilates-clinico .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
}

.pilates-clinico-text { display: flex; flex-direction: column; gap: 1.25rem; }
.pilates-clinico-text p { font-size: 1.05rem; }
.pilates-clinico-text .btn { align-self: flex-start; }

.pilates-clinico-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5/4;
  width: 100%;
}
.pilates-clinico-image img { width: 100%; height: 100%; object-fit: cover; }

.img-placeholder {
  width: 100%; height: 100%;
  min-height: 280px;
  background: linear-gradient(135deg, var(--purple-pale), var(--purple-pale));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  color: var(--purple);
  font-family: var(--font-head);
  font-size: 1rem;
  text-align: center;
  padding: 2rem;
}

/* ── Google Reviews Widget ────────────────────────────────── */

/* Barra de resumo (header do widget) */
.reviews-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.reviews-google-block {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.reviews-google-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-700);
  margin: 0 0 .2rem;
}

.reviews-stars-row { display: flex; gap: 2px; margin-bottom: .15rem; }

.reviews-count {
  font-size: .78rem;
  color: var(--gray-400);
  margin: 0;
}

/* Track full-width (sangra até o viewport, alinha nos extremos ao container) */
.reviews-track-wrap {
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  /* Padding simétrico: alinha primeiro e último card com o container */
  --rv-pad: max(1.5rem, calc((100vw - var(--max-w)) / 2 + 1.5rem));
  padding-left:  var(--rv-pad);
  padding-right: var(--rv-pad);
  padding-bottom: .5rem;
  /* Snap respeita o padding em ambos os lados */
  scroll-snap-type: x mandatory;
  scroll-padding-left:  var(--rv-pad);
  scroll-padding-right: var(--rv-pad);
  cursor: grab;
}
.reviews-track-wrap::-webkit-scrollbar { display: none; }

.reviews-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
}

/* Último card encaixa pela borda direita */
.reviews-track .review-card:last-child {
  scroll-snap-align: end;
}

/* Card individual */
.review-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.review-author {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.review-avatar-initial {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--purple-pale);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .95rem;
  flex-shrink: 0;
  font-family: var(--font-head);
}

.review-author-name {
  font-size: .88rem;
  display: block;
  line-height: 1.3;
  color: var(--gray-900);
}

.review-time {
  font-size: .73rem;
  color: var(--gray-400);
  display: block;
}

.review-text {
  font-size: .85rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

/* Skeleton loader */
.review-skeleton { pointer-events: none; animation: sk-pulse 1.4s ease-in-out infinite; }
.sk-line { height: .7rem; border-radius: 4px; background: var(--gray-200); margin-bottom: .6rem; }
.sk-short  { width: 45%; }
.sk-medium { width: 70%; }

@keyframes sk-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

/* Botões de navegação */
.reviews-nav {
  display: flex;
  gap: .5rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.reviews-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-700);
  transition: background .15s, border-color .15s, color .15s;
}
.reviews-nav-btn:hover:not(:disabled) {
  background: var(--purple-pale);
  border-color: var(--purple-light);
  color: var(--purple);
}
.reviews-nav-btn:disabled { opacity: .3; cursor: default; }

/* ── Página Sobre ─────────────────────────────────────────── */

/* Bloco institucional */
#sobre-estudio { padding: 5rem 0; }

.sobre-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.sobre-intro-text h2 {
  margin: .5rem 0 1.5rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.sobre-intro-text p {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.sobre-intro-text p:last-child { margin-bottom: 0; }

.sobre-intro-destaques {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: .5rem;
}

.sobre-destaque-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.sobre-destaque-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--purple-pale);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sobre-destaque-item strong {
  display: block;
  font-size: .95rem;
  color: var(--gray-900);
  margin-bottom: .2rem;
}

.sobre-destaque-item p {
  font-size: .88rem;
  color: var(--gray-400);
  margin: 0;
  max-width: none;
}

/* Bloco fundadora */
#fundadora { padding: 5rem 0; }

.fundadora-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 5rem;
  align-items: start;
}

/* Imagem e credenciais (coluna esquerda) */
.fundadora-aside {
  position: sticky;
  top: 100px;
}

.fundadora-img-wrap { margin-bottom: 1.5rem; }

.fundadora-img-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  width: 100%;
}
.fundadora-img-container img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

.fundadora-img-placeholder {
  background: var(--purple-pale);
  border-radius: var(--radius-lg);
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  color: var(--purple-light);
}

.fundadora-img-placeholder span {
  font-size: .82rem;
  color: var(--gray-400);
}

.fundadora-credenciais {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}

.fundadora-credenciais-titulo {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--purple);
  margin: 0 0 .85rem;
}

.fundadora-credenciais ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.fundadora-credenciais li {
  font-size: .85rem;
  color: var(--gray-700);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.4;
}

.fundadora-credenciais li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple-light);
}

/* Bio (coluna direita) */
.fundadora-conteudo h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin: .4rem 0 .5rem;
}

.fundadora-subtitulo {
  font-size: 1rem;
  color: var(--purple);
  font-weight: 600;
  margin: 0 0 2rem;
}

.fundadora-bio p {
  color: var(--gray-700);
  line-height: 1.85;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  max-width: 62ch;
}

.fundadora-quote {
  border-left: 3px solid var(--purple);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: var(--white);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gray-900);
  line-height: 1.7;
}

.fundadora-bio-fechamento {
  font-weight: 600 !important;
  color: var(--gray-900) !important;
  border-top: 1px solid var(--gray-200);
  padding-top: 1.25rem;
  margin-top: 1.75rem;
}

/* ── Ambiente ─────────────────────────────────────────────── */
.ambiente-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto;
  gap: 1rem;
}
.ambiente-item:not(.large) {
  aspect-ratio: 4 / 3;
}

.ambiente-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
/* Item grande: ocupa toda a coluna esquerda */
.ambiente-item.large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.ambiente-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.ambiente-item:hover .ambiente-img { transform: scale(1.03); }

.ambiente-placeholder {
  width: 100%; height: 100%;
  min-height: 180px;
  background: linear-gradient(135deg, var(--purple-faint) 0%, var(--purple-pale) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  color: var(--gray-400);
  font-size: .85rem;
  text-align: center;
  padding: 1.5rem;
}
.ambiente-item.large .ambiente-placeholder {
  min-height: 100%;
  font-size: 1rem;
}

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner { text-align: center; }
.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p  {
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  opacity: .9;
  max-width: 55ch;
}
.cta-banner .btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Localização ──────────────────────────────────────────── */
.localizacao-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.localizacao-info { display: flex; flex-direction: column; gap: 2rem; }
.localizacao-info .btn { align-self: flex-start; }

.info-list { display: flex; flex-direction: column; gap: 1rem; }
.info-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .95rem;
}
.info-item svg { color: var(--purple-light); flex-shrink: 0; margin-top: 2px; }

.horarios-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.horarios-table td { padding: .4rem .25rem; }
.horarios-table td:last-child { color: var(--purple); font-weight: 600; text-align: right; }
.horarios-table tr + tr td { border-top: 1px solid var(--gray-200); }

.mapa-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.mapa-wrapper iframe { display: block; width: 100%; height: 420px; border: none; }

/* ── Footer ───────────────────────────────────────────────── */
#footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p { margin-top: 1rem; font-size: .9rem; max-width: 36ch; }

.footer-col h4 {
  font-family: var(--font-head);
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { font-size: .9rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--purple-light); }

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  font-size: .8rem;
  opacity: .5;
}

/* ── WhatsApp Float Button ────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  display: none;
}
.whatsapp-float a {
  position: relative; /* FIX: âncora o ::before pulse */
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float a:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37,211,102,.5);
}
/* Anel de pulse — agora ancorado no <a> com position:relative */
.whatsapp-float a::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37,211,102,.35);
  animation: waPulse 2.2s infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1);   opacity: .8; }
  70%  { transform: scale(1.65); opacity: 0; }
  100% { transform: scale(1);   opacity: 0; }
}

/* ── Back to top ──────────────────────────────────────────── */
.back-top {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 199;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  border: none;
}
.back-top.visible { opacity: 1; pointer-events: auto; }
.back-top:hover   { transform: translateY(-2px); }

/* ── Page Hero (páginas internas) ─────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  padding: 4.5rem 0 3.5rem;
  color: var(--white);
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: .75rem; font-size: clamp(1.8rem, 4vw, 2.75rem); }
.page-hero p  { opacity: .85; font-size: 1.1rem; max-width: 55ch; margin: 0 auto; }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  margin-bottom: .5rem;
  display: flex;
  gap: .5rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: var(--white); }

/* ── Blog ─────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.post-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.post-card:hover { box-shadow: 0 4px 16px rgba(127,19,211,.08); transform: translateY(-3px); }

.post-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--purple-pale), var(--purple-faint));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: .85rem;
  overflow: hidden;
}
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }

.post-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.post-category {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--purple);
}
.post-body h3 { font-size: 1.05rem; line-height: 1.3; max-width: none; }
.post-body p  { font-size: .9rem; color: var(--gray-400); max-width: none; }
.post-meta {
  font-size: .8rem;
  color: var(--gray-400);
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid var(--gray-200);
}

/* ── Artigo ───────────────────────────────────────────────── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3.5rem;
  align-items: start;
}
.article-header { margin-bottom: 2rem; }
.article-meta {
  font-size: .85rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.article-header h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.article-header .lead {
  font-size: 1.1rem;
  color: var(--gray-700);
  margin-top: 1rem;
  max-width: 68ch;
}

.article-body { font-size: 1.05rem; line-height: 1.8; }
.article-body h2 { margin: 2.5rem 0 1rem; font-size: 1.5rem; }
.article-body h3 { margin: 2rem 0 .75rem; font-size: 1.2rem; }
.article-body p  { margin-bottom: 1.25rem; max-width: none; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.article-body li { margin-bottom: .5rem; }

.article-sidebar { position: sticky; top: 88px; }
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-widget h4 {
  font-size: 1rem;
  color: var(--gray-900);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--gray-200);
}
.sidebar-cta { background: var(--purple-pale); text-align: center; }
.sidebar-cta h4 { border-color: rgba(127,19,211,.12); }
.sidebar-cta p { font-size: .9rem; margin-bottom: 1.25rem; max-width: none; }
.sidebar-cta .btn { width: 100%; justify-content: center; }

/* ── Contato ──────────────────────────────────────────────── */
.contato-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .875rem; font-weight: 600; color: var(--gray-700); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: .75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--gray-700);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(127,19,211,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* ── Sobre – grade de história ────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}
.about-grid.reverse { direction: rtl; }
.about-grid.reverse > * { direction: ltr; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.value-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--purple-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin-bottom: 1rem;
}
.value-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.value-card p  { font-size: .875rem; color: var(--gray-400); max-width: none; }

/* ── Para quem é – perfis ─────────────────────────────────── */
.perfil-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.perfil-card {
  border-radius: var(--radius-md);
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.perfil-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.perfil-emoji { font-size: 2.5rem; line-height: 1; }
.perfil-card h3 { font-size: 1.1rem; }
.perfil-card p  { font-size: .9rem; color: var(--gray-400); max-width: none; }

/* ── Como Funciona – linhas detalhe (página interna) ─────── */
/* FIX: substitui os grids inline da como-funciona.html */
.step-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}
.step-row:last-child { margin-bottom: 0; }
.step-row.reverse { direction: rtl; }
.step-row.reverse > * { direction: ltr; }

.step-num-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.step-num-badge .num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
}
.step-row.reverse .step-num-badge .num { background: var(--purple); }

.step-checklist {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.step-checklist li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .95rem;
}
.step-checklist li svg { flex-shrink: 0; margin-top: 2px; }

/* Destaque roxo em hover de cards */
.diferencial-card:hover,
.dor-card:hover,
.perfil-card:hover,
.post-card:hover {
  border-color: rgba(127, 19, 211, .15);
}

/* ── Helpers ──────────────────────────────────────────────── */
.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;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVIDADE
════════════════════════════════════════════════════════════ */

/* ── 1024px ───────────────────────────────────────────────── */
@media (max-width: 1024px) {

  /* Sobre: reduz colunas em telas médias */
  .sobre-intro-grid { gap: 3rem; }
  .fundadora-grid { grid-template-columns: 280px 1fr; gap: 3rem; }

  /* Hero: reduz gap, mantém 2 colunas */
  #hero .container { gap: 2rem; }

  /* Pilates clínico: empilha */
  #pilates-clinico .container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Localização: empilha */
  .localizacao-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  /* Artigo: oculta sidebar */
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }

  /* Footer: brand em linha cheia */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  /* Contato: empilha */
  .contato-layout { grid-template-columns: 1fr; gap: 3rem; }

  /* Como funciona – step rows */
  .step-row { gap: 2.5rem; }

  /* Sobre – about-grid: reduz gap em telas médias */
  .about-grid { gap: 2.5rem; }
}

/* ── 900px: nav começa a apertar ─────────────────────────── */
@media (max-width: 900px) {
  .nav-links { gap: 1.25rem; }
}

/* ── 768px ───────────────────────────────────────────────── */
@media (max-width: 768px) {

  section { padding: 3.5rem 0; }

  /* ── Nav mobile ─────────────────────────────────────────── */
  .nav-toggle { display: flex; }

  /* O .nav-menu vira o painel dropdown */
  .nav-menu {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    z-index: 99;
  }
  .nav-menu.open { display: flex; }

  /* links ficam em coluna */
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: .6rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--gray-100);
  }
  .nav-links li:last-child a { border-bottom: none; }

  /* CTA dentro do dropdown */
  .nav-cta {
    margin-left: 0;
    padding: 1rem 1.5rem 1.25rem;
    width: 100%;
  }
  .nav-cta .btn { width: 100%; justify-content: center; font-size: .95rem; }

  /* ── Hero ────────────────────────────────────────────────── */
  #hero { padding: 3rem 0 2.5rem; min-height: auto; }
  #hero .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-image { order: -1; aspect-ratio: 4/3; }
  .hero-image-placeholder { min-height: 260px; }
  .hero-content { align-items: center; text-align: center; }
  .hero-content h1 { max-width: none; }
  .hero-sub { text-align: center; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-badge { margin: 0 auto; }

  /* ── Diferenciais: tablet 2 colunas ─────────────────────── */
  .diferenciais-grid { grid-template-columns: repeat(2, 1fr); }

  /* ── Steps home ──────────────────────────────────────────── */
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }

  /* ── Step rows (como-funciona) ───────────────────────────── */
  .step-row,
  .step-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
    margin-bottom: 3.5rem;
  }

  /* ── Ambiente ────────────────────────────────────────────── */
  .ambiente-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: auto;
  }
  .ambiente-item.large {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  /* ── About grid ──────────────────────────────────────────── */
  .about-grid,
  .about-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
  }

  /* ── Footer ──────────────────────────────────────────────── */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* ── Mapa ────────────────────────────────────────────────── */
  .mapa-wrapper iframe { height: 320px; }

  /* ── WhatsApp float: exibe no mobile ─────────────────────── */
  .whatsapp-float { display: block; }
}

/* ── 480px ───────────────────────────────────────────────── */
@media (max-width: 480px) {

  .container { padding: 0 1rem; }

  /* Botões: largura total em mobile */
  .btn { width: 100%; justify-content: center; align-self: stretch; }

  /* Hero: botões em coluna */
  .hero-ctas { flex-direction: column; align-items: stretch; }

  /* Diferenciais: mobile 1 coluna */
  .diferenciais-grid { grid-template-columns: 1fr; }

  /* Steps home: coluna única */
  .steps { grid-template-columns: 1fr; }

  /* Ambiente: coluna única */
  .ambiente-grid { grid-template-columns: 1fr; }

  /* Sobre: empilha colunas */
  .sobre-intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .fundadora-grid   { grid-template-columns: 1fr; gap: 2.5rem; }
  .fundadora-aside  { position: static; }
  .fundadora-img-placeholder { aspect-ratio: 4/3; max-height: 320px; }
  .fundadora-img-container { aspect-ratio: 4/3; max-height: 320px; }
  .fundadora-bio p  { max-width: none; }

  /* Reviews: barra de resumo em coluna */
  .reviews-summary-bar { flex-direction: column; align-items: flex-start; }
  .review-card { flex: 0 0 82vw; }
  .reviews-track-wrap { padding-left: 1rem; }

  /* CTA group: coluna */
  .cta-banner .btn-group { flex-direction: column; align-items: stretch; }

  /* Blog: garante 1 coluna */
  .blog-grid { grid-template-columns: 1fr; }
}

/* ── CRO: Microtextos de conversão ──────────────────────── */
.hero-microcopy {
  font-size: .82rem;
  color: var(--gray-400);
  margin-top: .5rem;
  letter-spacing: .01em;
}
