/*
  Joice Granoski · Fisioterapia
  Fontes: Fira Sans e Sacramento — SIL Open Font License 1.1 (https://openfontlicense.org)
*/

@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/fira-sans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/fira-sans-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/fira-sans-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/fira-sans-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Sacramento';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/sacramento-400.woff2') format('woff2');
}

:root {
  color-scheme: only light;

  /* Cor 1 · Púrpura — assinatura: nome, ícone, títulos */
  --roxo-1: #6A3E9E;
  --roxo-2: #AD95CA;
  --roxo-3: #E4DCEE;
  --roxo-4: #F5F1F8;
  /* Cor 2 · Azul — slogan, destaques, botões */
  --azul-1: #2D5F92;
  --azul-2: #8CA7C3;
  --azul-3: #D9E2EB;
  --azul-4: #F0F4F7;
  /* Cor 3 · Castanho — detalhes: pontos, linhas */
  --castanho-1: #8C6B55;
  --castanho-2: #C0AEA2;
  --castanho-3: #EAE4E0;
  --castanho-4: #F7F5F3;
  /* Cor 4 · Cinza — textos de apoio, legendas */
  --cinza-1: #5F586B;
  --cinza-2: #A7A3AE;
  --cinza-3: #E2E1E4;
  --cinza-4: #F4F3F5;
  /* Cor 5 · Preto — textos longos, fundo escuro */
  --preto-1: #16101C;
  --preto-2: #7F7C82;
  --preto-3: #D5D4D6;
  --preto-4: #EFEEEF;

  /* Tom escuro do castanho para texto pequeno (contraste AA sobre os fundos castanhos) */
  --castanho-texto: #6F5444;

  /* Cores de texto da seção: cada fundo troca o tema para a família da paleta */
  --tema-1: var(--roxo-1);
  --tema-2: var(--roxo-2);

  --fonte: 'Fira Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fonte-script: 'Sacramento', cursive;
  --raio: 20px;
  --header-h: 96px;
}

/* ---------- reset leve ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--fonte);
  font-size: 18px;
  line-height: 1.6;
  color: var(--preto-1);
  background: #FFFFFF;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--azul-1); }
h1, h2 { font-weight: 700; color: var(--tema-1); line-height: 1.15; }
h1 { font-size: clamp(2rem, 7vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 5.5vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 600; color: var(--tema-1); line-height: 1.3; }

:focus-visible { outline: 3px solid var(--azul-1); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- blocos ---------- */

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--lilas { background: var(--roxo-4); }
.section--lilas-medio { background: var(--roxo-3); }
.section--azul { background: var(--azul-4); --tema-1: var(--azul-1); --tema-2: var(--azul-2); }
.section--neutra { background: var(--preto-4); --tema-1: var(--preto-1); --tema-2: var(--preto-2); }
.section--escura { background: var(--preto-1); color: var(--preto-4); }
.section--escura h2, .section--escura h3 { color: #FFFFFF; }

.eyebrow {
  display: block;
  margin-bottom: 14px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--tema-1);
}
.eyebrow::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 12px;
  background: var(--tema-2);
}
.section--escura .eyebrow { color: var(--azul-2); }

.script {
  display: block;
  font-family: var(--fonte-script);
  font-weight: 400;
  font-size: clamp(2.75rem, 10vw, 4rem);
  line-height: 1.05;
  color: var(--tema-1);
}

.lead { font-size: 1.125rem; color: var(--cinza-1); max-width: 34em; }

/* ---------- botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn svg { flex: none; width: 20px; height: 20px; }
.btn--primary { background: var(--tema-1); color: #FFFFFF; animation: pulso 3.2s ease-out infinite; }
.btn--claro { animation: pulso-claro 3.2s ease-out infinite; }
.btn--primary:hover, .btn--claro:hover { animation: none; }

/* pulso suave: um anel que se expande e some, a cada ~3s */
@keyframes pulso {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--tema-1) 45%, transparent); }
  45%, 100% { box-shadow: 0 0 0 12px color-mix(in srgb, var(--tema-1) 0%, transparent); }
}
@keyframes pulso-claro {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55); }
  45%, 100% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); }
}
.btn--primary:hover { background: color-mix(in srgb, var(--tema-1) 82%, #000000); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--tema-1); border-color: var(--tema-2); }
.btn--ghost:hover { border-color: var(--tema-1); background: #FFFFFF; }
.btn--small { min-height: 48px; padding: 10px 18px; font-size: 0.9375rem; }
.section--escura .btn--ghost { color: #FFFFFF; border-color: var(--preto-2); }
.section--escura .btn--ghost:hover { border-color: #FFFFFF; background: transparent; }

.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- foto em arco ---------- */

.arch { position: relative; padding: 12px 12px 0; max-width: 300px; }
.arch::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--tema-2);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  pointer-events: none;
}
.arch img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 999px 999px 0 0;
}

/* ---------- cartão ---------- */

.card {
  background: #FFFFFF;
  border-radius: var(--raio);
  padding: 24px;
}
.card p { margin-top: 8px; color: var(--cinza-1); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--roxo-3);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: var(--header-h);
}
.site-header .marca { flex: none; }
.site-header .marca img { width: 270px; }
.site-header nav, .site-header__cta { display: none; }
.site-header nav ul { display: flex; gap: 28px; }
.site-header nav a { color: var(--cinza-1); text-decoration: none; font-size: 1rem; font-weight: 500; }
.site-header nav a:hover { color: var(--roxo-1); }

/* ---------- topo ---------- */

.hero { padding: 48px 0 64px; overflow: hidden; }
.hero .container { display: grid; gap: 40px; }
.hero__assinatura { font-family: var(--fonte-script); font-weight: 400; font-size: clamp(1.75rem, 5vw, 2.25rem); line-height: 1.2; text-transform: none; color: var(--tema-1); }
.hero__titulo { margin-top: 4px; font-weight: 400; font-size: clamp(2.25rem, 6vw, 2.875rem); line-height: 1.15; color: var(--tema-1); }
.hero__slogan { margin-top: 14px; font-size: 1.25rem; font-weight: 600; text-transform: uppercase; color: var(--azul-1); }
.hero .lead { margin-top: 20px; }
.hero .acoes .btn { flex: 1 1 240px; }
.hero__foto { justify-self: center; width: 100%; max-width: 340px; }
.hero__moldura { position: relative; margin-right: 14px; }
.hero__moldura::before {
  content: '';
  position: absolute;
  inset: 22px -14px -14px 22px;
  border-radius: 28px;
  background: var(--roxo-3);
}
.hero__moldura img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(22, 16, 28, 0.12);
}

/* ---------- layout em duas colunas (empilha no celular) ---------- */

.duas-colunas { display: grid; gap: 28px; }

/* ---------- para você ---------- */

.lista-pontos { display: grid; gap: 4px; }
.lista-pontos li {
  position: relative;
  padding: 14px 0 14px 32px;
  border-bottom: 1px solid var(--castanho-3);
  font-size: 1.125rem;
}
.lista-pontos li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 24px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--castanho-1);
}
.nota { margin-top: 24px; color: var(--cinza-1); }

/* ---------- atendimento ---------- */

.atendimento { display: grid; gap: 24px; margin-top: 32px; }
.atendimento__foto img { width: 100%; border-radius: var(--raio); }
.cards { display: grid; gap: 16px; }
.card { border-left: 4px solid var(--tema-2); }

/* ---------- como funciona ---------- */

.section--castanho-medio { background: var(--castanho-3); --tema-1: var(--castanho-texto); --tema-2: var(--castanho-2); }
.titulo-centro { text-align: center; }
.titulo-centro .eyebrow::after { margin-left: auto; margin-right: auto; }
.titulo-centro .script { margin-top: 4px; }

.passos { display: grid; gap: 16px; margin-top: 40px; }
.passos li {
  position: relative;
  padding: 32px 24px 28px;
  border-radius: var(--raio);
  background: var(--castanho-4);
  text-align: center;
}
.passos__icone {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--tema-1);
}
.passos__icone svg { width: 44px; height: 44px; }
.passos__num {
  display: block;
  margin-bottom: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--tema-1);
}
.passos p { margin-top: 8px; color: var(--cinza-1); }
.acoes--centro { justify-content: center; }

/* ---------- ATM ---------- */

#atm { padding-bottom: 0; }
.atm__grid { display: grid; gap: 40px; }
.atm h2 { line-height: 1; }
.atm h2 .script { font-size: clamp(3rem, 10vw, 4.5rem); }
.atm__sigla { display: block; margin-top: 4px; font-size: clamp(2.25rem, 7vw, 3.25rem); font-weight: 700; color: var(--tema-1); }
.atm__texto > p { margin-top: 24px; color: var(--preto-1); }
.atm__texto > .chips + p { margin-top: 20px; }
.atm__foto .arch { margin: 0 auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li {
  padding: 6px 14px;
  border-radius: 999px;
  background: #FFFFFF;
  font-size: 0.9375rem;
  color: var(--azul-1);
}

/* ---------- sobre ---------- */

.sobre { display: grid; gap: 40px; }
#sobre { padding-bottom: 0; }
.sobre__foto { order: 2; }
.sobre__foto .arch { margin: 0 auto; }
.sobre h2 .script { font-size: clamp(3rem, 11vw, 4.5rem); }
.sobre__registro { margin: 8px 0 24px; font-weight: 600; color: var(--tema-1); }
.sobre__texto > p + p { margin-top: 16px; }
.sobre__cursos { margin-top: 24px; }
.sobre__cursos ul { margin-top: 8px; padding-left: 20px; list-style: disc; color: var(--cinza-1); }
.sobre__insta { margin-top: 24px; }
.sobre__insta a { font-weight: 600; color: var(--tema-1); }

/* ---------- onde atendo ---------- */

.local { display: grid; gap: 32px; margin-top: 8px; }
.local__studio { display: grid; gap: 20px; align-items: start; }
.local__logo { width: 160px; border-radius: 14px; }
.local__nome { font-size: 1.75rem; color: var(--tema-1); }
.local address { margin: 8px 0 20px; font-style: normal; color: var(--cinza-1); }
.local__horario {
  background: #FFFFFF;
  border-radius: var(--raio);
  padding: 24px;
  border-top: 3px solid var(--tema-2);
}
.local__horario h3 { color: var(--tema-1); }
.local__horario dl { margin: 12px 0 0; }
.local__horario dl div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 10px 0; border-bottom: 1px solid var(--preto-3); }
.local__horario dt { font-weight: 600; }
.local__horario dd { margin: 0; color: var(--cinza-1); }
.local__horario .nota { margin-top: 16px; font-size: 1rem; }

.galeria {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 75%;
  gap: 12px;
  margin: 40px -20px 0;
  padding: 0 20px 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 20px;
  -webkit-overflow-scrolling: touch;
}
.galeria li { scroll-snap-align: start; }
.galeria img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--raio); }

/* ---------- contato ---------- */

.section--roxa { background: var(--roxo-1); color: #FFFFFF; }
.section--roxa h2 { color: #FFFFFF; }
.contato { text-align: center; }
.contato p { margin: 12px auto 0; max-width: 30em; color: var(--roxo-3); }
.contato .acoes { justify-content: center; }
.btn--claro { background: #FFFFFF; color: var(--roxo-1); }
.btn--claro:hover { background: var(--roxo-4); transform: translateY(-1px); }

/* ---------- rodapé ---------- */

#contato { padding-bottom: 56px; }
.site-footer {
  background: var(--roxo-1);
  color: var(--roxo-3);
  padding: 0 0 96px;
  font-size: 0.9375rem;
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.site-footer img { width: 180px; }

/* ---------- botão flutuante (celular) ---------- */

.wa-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 30;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(22, 16, 28, 0.28);
}
.wa-float:hover { background: #1EBE5A; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- desktop ---------- */

@media (min-width: 900px) {
  :root { --header-h: 80px; }
  body { font-size: 19px; }
  .section { padding: 104px 0; }
  .site-header .marca img { width: 210px; }
  .site-header .container { justify-content: space-between; }
  .site-header nav { display: block; }
  .site-header__cta { display: inline-flex; }
  .btn { font-size: 1.0625rem; }
  .btn svg { width: 22px; height: 22px; }
  .btn--small { font-size: 0.9375rem; }

  .hero { padding: 72px 0 96px; }
  .hero .container { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 64px; }
  .hero .acoes .btn { flex: 0 0 auto; }
  .hero__foto { max-width: 420px; justify-self: end; }
  .hero__moldura::before { inset: 28px -22px -22px 28px; }
  .hero__moldura { margin-right: 22px; }
  .arch { max-width: 400px; }

  .duas-colunas { grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
  .atendimento { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
  .atendimento__foto { position: sticky; top: calc(var(--header-h) + 24px); }
  .passos { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
  .passos li { padding: 40px 32px 36px; }

  .atm__grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: end; }
  .atm__texto { padding-bottom: 104px; }
  .atm__foto .arch { margin: 0 0 0 auto; }
  .sobre { grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: end; }
  .sobre__foto { order: 0; }
  .sobre__texto { padding-bottom: 104px; }
  .local { grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
  .local__studio { grid-template-columns: auto 1fr; gap: 28px; }
  .galeria { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); margin: 56px 0 0; padding: 0; overflow: visible; }
  .site-footer { padding-bottom: 32px; }
  .site-footer__inner { flex-direction: row; justify-content: space-between; }
  .wa-float { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- página 404 ---------- */

.erro {
  display: grid;
  align-items: center;
  min-height: calc(100vh - var(--header-h) - 140px);
  min-height: calc(100svh - var(--header-h) - 140px);
}
.erro__conteudo { text-align: center; }
.erro__conteudo .eyebrow::after { margin-left: auto; margin-right: auto; }
.erro__icone { width: 112px; margin: 0 auto 24px; border-radius: 50%; }
.erro .lead { margin: 16px auto 0; }
.site-footer--solo { padding-bottom: 32px; }
.site-footer--solo .site-footer__inner { border-top: 0; }
