/* Cores tiradas da logo original (identidade/Logo Corpo em Movimento.jpg) */
:root {
  --roxo: #903089;
  --magenta: #C13387;
  --dourado: #E5AD5A;
  --creme: #FFF7F2;
  --roxo-escuro: #2A1030;
  --branco: #FFFFFF;
  --texto: #4A3550;
  --gradiente: linear-gradient(90deg, #E5AD5A, #C13387 55%, #903089);
  --raio: 28px;
  --serifa: "Instrument Serif", Georgia, serif;
  --sans: "Figtree", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--texto);
  font: 400 1.0625rem/1.6 var(--sans);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--roxo); }
h1, h2, h3 {
  margin: 0;
  font-family: var(--serifa);
  font-weight: 400;
  line-height: 1.05;
  color: var(--roxo);
}
h2 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 em { color: var(--magenta); }

section { padding: 72px 16px; }

/* Botões */
.botao {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.botao:hover { transform: translateY(-2px); }
.botao--cheio { background: var(--magenta); color: var(--branco); }
.botao--cheio:hover { background: var(--roxo); }
.botao--claro { border-color: var(--branco); color: var(--branco); }
.botao--claro:hover { background: var(--branco); color: var(--roxo); }
.botao--linha { border-color: var(--roxo); color: var(--roxo); }
.botao--linha:hover { background: var(--roxo); color: var(--branco); }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; }

/* Abertura: o anel se desenha, o nome pula para dentro e a cortina sobe. Menos de 2s. */
@property --giro {
  syntax: "<angle>";
  inherits: false;
  initial-value: 360deg;
}
.abertura {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--branco);
  cursor: pointer;
  animation: abertura-sobe .5s cubic-bezier(.76, 0, .24, 1) 1.4s forwards;
}
.abertura::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: var(--gradiente);
}
.abertura__marca {
  position: relative;
  width: min(62vw, 300px);
  aspect-ratio: 1;
  animation: abertura-pulo .4s cubic-bezier(.34, 1.8, .64, 1) .95s;
}
.abertura__marca img { position: absolute; inset: 0; width: 100%; height: 100%; }
.abertura__anel {
  -webkit-mask: conic-gradient(from -20deg, #000 var(--giro), transparent 0);
  mask: conic-gradient(from -20deg, #000 var(--giro), transparent 0);
  animation: abertura-giro .7s ease-in-out both;
}
.abertura__miolo {
  position: absolute;
  inset: 40.5% 8.5% 31.8%;
  background: var(--branco);
}
.abertura__linha { opacity: 0; animation: abertura-entra .45s cubic-bezier(.34, 1.8, .64, 1) forwards; }
.abertura__linha--1 { clip-path: inset(40.5% 8.5% 45.5%); animation-delay: .4s; }
.abertura__linha--2 { clip-path: inset(56% 8.5% 31.8%); animation-delay: .58s; }

@keyframes abertura-giro { from { --giro: 0deg; } to { --giro: 360deg; } }
@keyframes abertura-entra {
  from { opacity: 0; transform: translateY(26px) scale(.8); }
  to { opacity: 1; transform: none; }
}
@keyframes abertura-pulo {
  0%, 100% { transform: none; }
  45% { transform: translateY(-14px) scale(1.04); }
}
@keyframes abertura-sobe {
  to { transform: translateY(-100%); visibility: hidden; }
}

/* Topo */
.topo {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  background: rgba(255, 247, 242, .92);
  backdrop-filter: blur(8px);
}
.topo__marca img { width: 56px; height: 56px; border-radius: 50%; }
.topo__abrir {
  margin-left: auto;
  padding: 8px 18px;
  border: 1.5px solid var(--roxo);
  border-radius: 999px;
  background: none;
  color: var(--roxo);
  font: 600 .95rem var(--sans);
  cursor: pointer;
}
.topo__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 16px;
  right: 16px;
  flex-direction: column;
  padding: 10px 24px;
  border-radius: 20px;
  background: var(--branco);
  box-shadow: 0 12px 32px rgba(42, 16, 48, .14);
}
.topo__menu.aberto { display: flex; }
.topo__menu a { padding: 11px 0; color: var(--roxo-escuro); font-weight: 500; text-decoration: none; }
.topo__menu a:hover { color: var(--magenta); }
.topo__agendar { display: none; }

/* Principal */
.hero {
  position: relative;
  margin: 0 16px;
  padding: 0;
  min-height: min(78svh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--raio);
  overflow: hidden;
  background: var(--roxo-escuro);
}
.hero__foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 16, 48, .1) 25%, rgba(42, 16, 48, .82) 78%);
}
.hero__texto, .hero__selos { position: relative; z-index: 1; }
.hero__texto { padding: 24px 22px 18px; color: var(--branco); }
.hero h1 { color: var(--branco); font-size: clamp(3rem, 7vw, 5.25rem); }
.hero__texto p { margin: 14px 0 22px; max-width: 34em; }
.hero__selos {
  margin: 0;
  padding: 14px 22px 22px;
  list-style: none;
  color: var(--branco);
  font-size: .9rem;
  line-height: 1.4;
}
.hero__selos li + li { margin-top: 6px; }
.hero__selos strong { color: var(--dourado); font-size: 1.05rem; }

/* Apresentação */
.intro { display: grid; gap: 36px; align-items: center; max-width: 1120px; margin: 0 auto; }
.intro__foto {
  max-width: 460px;
  margin: 0 auto;
  border-radius: 999px 999px var(--raio) var(--raio);
  overflow: hidden;
}
.intro__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 55% 100%; }
.intro__texto { text-align: center; }
.intro__texto p { margin: 20px auto 26px; max-width: 34em; }

/* Títulos de seção */
.titulo { max-width: 40em; margin: 0 auto 40px; text-align: center; }
.titulo p { margin: 12px 0 0; }
.titulo--claro h2 { color: var(--branco); }

/* Aulas */
.aulas__grade {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}
.aula { text-align: center; }
.aula img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--raio); }
.aula h3 { margin-top: 12px; font-size: 1.75rem; }

/* Fisioterapia */
.bem-estar {
  margin: 0 16px;
  padding: 64px 22px;
  border-radius: var(--raio);
  background: var(--roxo-escuro);
  color: var(--branco);
}
.bem-estar__lista {
  display: grid;
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.bem-estar__lista li {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .22);
  font: 400 clamp(1.75rem, 4vw, 2.5rem)/1.15 var(--serifa);
}
.bem-estar__lista small {
  display: block;
  margin-top: 6px;
  font: 400 .95rem/1.4 var(--sans);
  color: #E9D9EA;
}

/* Galeria */
.galeria {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}
.galeria figure { margin: 0; }
.galeria img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--raio); }
.galeria figcaption { margin-top: 8px; font-size: .9rem; text-align: center; }
.galeria__grande { grid-column: 1 / -1; }

/* Equipe */
.equipe {
  display: grid;
  gap: 24px;
  justify-items: center;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.equipe__logo { width: 168px; border-radius: 50%; }
.equipe__rotulo { margin: 0 0 6px; color: var(--magenta); font-weight: 600; }
.equipe p:last-child { margin: 14px 0 0; }

/* Avaliações */
.avaliacoes { background: var(--branco); }
.avaliacoes__grade { display: grid; gap: 16px; max-width: 1120px; margin: 0 auto; }
.avaliacoes blockquote {
  margin: 0;
  padding: 28px;
  border-radius: var(--raio);
  background: var(--creme);
  font: italic 400 1.5rem/1.25 var(--serifa);
  color: var(--roxo-escuro);
}
.avaliacoes__link { margin: 32px 0 0; text-align: center; }

/* Contato */
.contato { display: grid; gap: 32px; max-width: 1120px; margin: 0 auto; }
.contato dl { margin: 24px 0 0; }
.contato dt { margin-top: 18px; color: var(--magenta); font-weight: 600; }
.contato dd { margin: 2px 0 0; }
.contato__mapa { width: 100%; min-height: 340px; height: 100%; border: 0; border-radius: var(--raio); }

/* Rodapé */
.rodape {
  padding: 40px 16px 104px;
  background: var(--roxo-escuro);
  color: var(--branco);
  font-size: .9rem;
  text-align: center;
}
.rodape img { width: 88px; margin: 0 auto 14px; border-radius: 50%; }
.rodape p { margin: 0; }

/* Botão fixo no celular */
.whats-fixo {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 30;
  padding: 14px;
  border-radius: 999px;
  background: var(--magenta);
  box-shadow: 0 10px 26px rgba(42, 16, 48, .3);
  color: var(--branco);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

/* Entrada suave ao rolar (só com JS ligado) */
.js .revelar { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .revelar.visivel { opacity: 1; transform: none; }

@media (min-width: 860px) {
  section { padding: 104px 32px; }
  .topo { padding: 10px 32px; gap: 28px; }
  .topo__abrir { display: none; }
  .topo__menu {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 26px;
    margin-left: auto;
    padding: 0;
    background: none;
    box-shadow: none;
  }
  .topo__agendar { display: inline-block; padding: 9px 22px; font-size: .95rem; }

  .hero { margin: 0 32px; min-height: min(82vh, 760px); justify-content: center; align-items: flex-start; }
  .hero__foto { object-position: 50% 42%; }
  .hero::after {
    background:
      linear-gradient(0deg, rgba(42, 16, 48, .78) 0, rgba(42, 16, 48, 0) 20%),
      linear-gradient(90deg, rgba(42, 16, 48, .74) 8%, rgba(42, 16, 48, .08) 62%);
  }
  .hero__texto { max-width: 620px; padding: 48px 56px 24px; }
  .hero__selos { position: absolute; left: 56px; bottom: 34px; padding: 0; display: flex; gap: 32px; max-width: 720px; }
  .hero__selos li + li { margin: 0; }

  .intro { grid-template-columns: 5fr 6fr; gap: 72px; }
  .intro__foto { width: 100%; }
  .intro__texto { text-align: center; }

  .aulas__grade { grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }
  .aula:nth-child(even) { margin-top: 44px; }

  .bem-estar { margin: 0 32px; padding: 96px 64px; }
  .bem-estar__lista { grid-template-columns: repeat(2, 1fr); column-gap: 64px; }

  .galeria { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .galeria__grande { grid-column: span 2; grid-row: span 2; }
  .galeria__grande img { height: 100%; }

  .equipe { grid-template-columns: 200px 1fr; gap: 48px; text-align: left; }
  .equipe__logo { width: 200px; }

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

  .contato { grid-template-columns: 2fr 3fr; gap: 56px; }

  .rodape { padding-bottom: 40px; }
  .whats-fixo { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .abertura { display: none; }
  .js .revelar { opacity: 1; transform: none; transition: none; }
  .botao { transition: none; }
}
