/* ─────────────────────────────────────────────────────
   B.ON Pilates Clínico
   Paleta e tipografia derivadas do logótipo (esfera
   turquesa + carvão) e da fotografia dos estúdios.
   ───────────────────────────────────────────────────── */

:root {
  --paper:      #FBFAF8;
  --bone:       #ECE8E1;
  --ink:        #33322E;
  --ink-soft:   #6E6C65;
  --teal:       #8DBFC3;
  --teal-deep:  #4E7679;
  --line:       #DCD7CE;

  --pad: clamp(1.25rem, 5vw, 5rem);
  --maxw: 84rem;

  /* Vidro da island e dos rails laterais. */
  /* .72 e não menos: abaixo disto o texto perde contraste quando o vidro
     assenta sobre as fotografias escuras. */
  --glass:      rgba(251, 250, 248, .72);
  --glass-line: rgba(255, 255, 255, .58);
  --glass-cast: 0 10px 40px rgba(51, 50, 46, .13);
  --blur: blur(20px) saturate(180%);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* Sem backdrop-filter, o vidro passa a opaco para não perder legibilidade. */
@supports not (backdrop-filter: blur(1px)) {
  :root { --glass: rgba(251, 250, 248, .95); }
}

/* Espaço para os rails verticais não colidirem com o conteúdo. */
@media (min-width: 1025px) {
  :root { --pad: max(8.5rem, 5vw); }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--teal); color: var(--ink); }

:focus-visible {
  outline: 1.5px solid var(--teal-deep);
  outline-offset: 3px;
}

.skip {
  position: fixed; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: .75rem 1.25rem; text-decoration: none;
}
.skip:focus { left: 0; }

.sr {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ── Tipografia ─────────────────────────────────────── */

.eyebrow {
  margin: 0 0 1.75rem;
  font-family: 'Jost', sans-serif;
  font-size: .6875rem;
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow--light { color: rgba(255,255,255,.86); }

.display {
  margin: 0;
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.display--md { font-size: clamp(1.6rem, 2.9vw, 2.35rem); }

h3 {
  margin: 0 0 .5rem;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  letter-spacing: .01em;
  line-height: 1.35;
}

/* ── Ligações e botões ──────────────────────────────── */

.link {
  display: inline-block;
  color: var(--ink);
  text-decoration: none;
  font-size: .9375rem;
  padding-bottom: 2px;
  background-image: linear-gradient(var(--teal-deep), var(--teal-deep));
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .45s var(--ease), color .3s var(--ease);
}
.link:hover, .link:focus-visible {
  color: var(--teal-deep);
  background-size: 100% 1px;
}
.link--lg { font-size: 1rem; }

.btn {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper);
  background: var(--ink);
  padding: 1.15rem 2.25rem;
  border: 1px solid var(--ink);
  transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.btn:hover, .btn:focus-visible {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: var(--paper);
}
.btn--light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.75);
  backdrop-filter: blur(2px);
}
.btn--light:hover, .btn--light:focus-visible {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

/* ── Esfera (motivo da marca) ───────────────────────── */

.sphere {
  width: 100%; height: 100%;
  color: var(--teal);
  --sphere-line: var(--paper);
}

/* ── Navbar: barra no topo, island a partir do scroll ── */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  padding: 1.05rem var(--pad) 0;
  pointer-events: none;           /* só a barra interior recebe cliques */
}
.nav__in {
  pointer-events: auto;
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: .45rem .45rem .45rem .5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    max-width .65s var(--ease),
    padding .65s var(--ease),
    background .4s var(--ease),
    border-color .4s var(--ease),
    box-shadow .4s var(--ease);
}
/* O backdrop-filter só entra depois do scroll: aplicado sempre, desfocaria
   uma faixa do hero por trás de um fundo transparente. */
.is-stuck .nav__in {
  max-width: 50rem;   /* justo ao conteúdo: logótipo + secções + CTA */
  padding: .45rem .45rem .45rem 1.35rem;
  background: var(--glass);
  border-color: var(--glass-line);
  box-shadow: var(--glass-cast);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}

.nav__brand { display: block; line-height: 0; }
.nav__brand img {
  width: auto;
  height: 2.6rem;
  transition: height .65s var(--ease);
}
.is-stuck .nav__brand img { height: 2.1rem; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.2vw, 2rem);
}
.nav__links a {
  position: relative;
  text-decoration: none;
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .35s var(--ease);
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -.45rem;
  height: 1px;
  background: var(--teal-deep);
  transform: scaleX(0);
  transition: transform .4s var(--ease);
}
.nav__links a:hover, .nav__links a:focus-visible { color: var(--teal-deep); }
.nav__links a.is-here { color: var(--teal-deep); }
.nav__links a.is-here::after { transform: scaleX(1); }

.nav__cta {
  font-family: 'Jost', sans-serif;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--paper);
  background: var(--ink);
  padding: .9rem 1.6rem;
  border-radius: 999px;
  transition: background .4s var(--ease);
}
.nav__cta:hover, .nav__cta:focus-visible { background: var(--teal-deep); }

.nav__toggle {
  display: none;
  align-items: center;
  background: none;
  border: 0;
  padding: .85rem 1rem;
  cursor: pointer;
  color: var(--ink);
}
.nav__bars { display: inline-flex; flex-direction: column; gap: 5px; width: 20px; }
.nav__bars i { display: block; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.menu-open .nav__bars i:first-child { transform: translateY(3px) rotate(45deg); }
.menu-open .nav__bars i:last-child  { transform: translateY(-3px) rotate(-45deg); }

/* ── WhatsApp por estúdio ───────────────────────────── */

.wa {
  position: fixed;
  z-index: 55;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .55rem;
}
.wa__btn {
  display: flex;
  align-items: center;
  padding: .72rem .72rem .72rem 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: var(--glass-cast);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  transition: background .4s var(--ease);
}
.wa__btn:hover, .wa__btn:focus-visible { background: rgba(251, 250, 248, .88); }

.wa__name {
  font-family: 'Jost', sans-serif;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-right: .7rem;
}
/* O número só aparece no hover/foco — o botão abre para a esquerda. */
.wa__num {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: .8rem;
  letter-spacing: .03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
  transition:
    max-width .55s var(--ease),
    opacity .3s var(--ease),
    margin-right .55s var(--ease);
}
.wa__btn:hover .wa__num,
.wa__btn:focus-visible .wa__num {
  max-width: 12rem;
  opacity: 1;
  margin-right: .8rem;
}
.wa__ico {
  width: 1.3rem;
  height: 1.3rem;
  flex: none;
  color: var(--teal-deep);
}
.wa__title { display: none; }

/* Botão fixo em baixo (só mobile) que abre a lista de estúdios. */
.wa-fab {
  display: none;
  position: fixed;
  z-index: 58;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  align-items: center;
  gap: .65rem;
  padding: 1rem 1.6rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 12px 32px rgba(51, 50, 46, .3);
  font-family: 'Jost', sans-serif;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: background .4s var(--ease), transform .4s var(--ease);
}
.wa-fab__ico { width: 1.15rem; height: 1.15rem; flex: none; }
.wa-open .wa-fab { background: var(--teal-deep); }

.scrim {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(51, 50, 46, .3);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: fadeIn .35s var(--ease) both;
}
.scrim[hidden] { display: none; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── Blocos ─────────────────────────────────────────── */

.sec {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(5rem, 11vw, 9rem) var(--pad);
  scroll-margin-top: 6rem;
}
.sec--flush { padding-left: 0; padding-right: 0; max-width: none; }
.sec__pad { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* Faixa a toda a largura, com o conteúdo alinhado à mesma
   coluna das restantes secções. */
.sec--bone {
  background: var(--bone);
  max-width: none;
  padding-inline: max(var(--pad), calc((100% - var(--maxw)) / 2 + var(--pad)));
}

.sec__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 34ch; }

/* Hero ------------------------------------------------ */

.hero {
  position: relative;
  height: 100svh;
  min-height: 34rem;
  overflow: hidden;
  isolation: isolate;
}
.hero__media, .hero__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero__media img {
  object-fit: cover;
  object-position: 50% 42%;
  animation: heroIn 2.4s var(--ease) both;
}
/* Véu duplo: garante contraste do título sem escurecer a fotografia toda. */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(24,26,25,.5) 0%, rgba(24,26,25,.16) 42%, rgba(24,26,25,0) 72%),
    linear-gradient(to top, rgba(24,26,25,.72) 0%, rgba(24,26,25,.34) 40%, rgba(24,26,25,0) 72%);
}

@keyframes heroIn { from { transform: scale(1.07); } to { transform: scale(1); } }

.hero__text {
  position: absolute;
  z-index: 1;
  left: var(--pad);
  right: var(--pad);
  bottom: clamp(2.5rem, 8vh, 5.5rem);
  max-width: 40rem;
  color: #fff;
}
.hero__title {
  margin: 0 0 1.5rem;
  font-family: 'Jost', sans-serif;
  font-weight: 300; /* sobre fotografia, 200 perde legibilidade */
  font-size: clamp(2.1rem, 5.2vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.hero__sub {
  max-width: 34rem;
  margin: 0 0 2.25rem;
  color: rgba(255,255,255,.9);
  font-size: 1.0625rem;
  line-height: 1.7;
}
.hero__cue {
  position: absolute;
  z-index: 1;
  right: var(--pad);
  bottom: clamp(2.5rem, 8vh, 5.5rem);
  width: 2.25rem; height: 2.25rem;
  animation: bob 3.6s ease-in-out 1.6s infinite;
}
.hero__cue .sphere { --sphere-line: rgba(255,255,255,.9); }

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* Manifesto ------------------------------------------- */

.manifesto {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.manifesto__body {
  max-width: 38ch;
  color: var(--ink-soft);
  padding-top: .6rem;
}

/* Método ---------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}
.split__media { overflow: hidden; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.split__media:hover img { --z: 1.03; }
.split__text {
  padding: clamp(3rem, 7vw, 6rem) var(--pad) clamp(3rem, 7vw, 6rem) 0;
  max-width: 34rem;
}

.steps { margin-top: clamp(2rem, 4vw, 3rem); }
.steps li {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps p { color: var(--ink-soft); font-size: .9375rem; max-width: 44ch; }

/* Quatro ---------------------------------------------- */

.four {
  background: var(--teal-deep);
  color: var(--paper);
  padding: clamp(5rem, 11vw, 8.5rem) var(--pad);
  text-align: center;
}
.four__in { max-width: 46rem; margin: 0 auto; }
.four__balls {
  display: flex;
  justify-content: center;
  gap: clamp(.75rem, 2vw, 1.5rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.four__balls .sphere {
  width: clamp(2.25rem, 5vw, 3.5rem);
  height: clamp(2.25rem, 5vw, 3.5rem);
  --sphere-line: var(--teal-deep);
}
.four .display { color: var(--paper); }
.four__copy {
  margin-top: 1.5rem;
  color: rgba(251,250,248,.88);
  max-width: 38rem;
  margin-inline: auto;
}

/* Aulas ----------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}
.card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin-bottom: 1.25rem;
  transition: transform 1.1s var(--ease);
}
.card { overflow: hidden; }
.card:hover img { transform: scale(1.035); }
.card p { color: var(--ink-soft); font-size: .9375rem; }

/* Citação --------------------------------------------- */

.quote {
  background: var(--bone);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}
.quote__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.quote__text {
  margin: 0;
  padding: clamp(3rem, 8vw, 7rem) var(--pad) clamp(3rem, 8vw, 7rem) 0;
  max-width: 32rem;
}
.quote__text p {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  line-height: 1.3;
  letter-spacing: -.01em;
  margin-bottom: 1.75rem;
}
.quote__text cite {
  font-family: 'Jost', sans-serif;
  font-style: normal;
  font-size: .6875rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Equipa ---------------------------------------------- */

.bleed { margin-bottom: clamp(3.5rem, 8vw, 6rem); }
.bleed img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.person img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 20%;
  background: var(--bone);
  margin-bottom: 1.5rem;
}
.person__role {
  font-family: 'Jost', sans-serif;
  font-size: .6875rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: .9rem;
}
.person p:last-child { color: var(--ink-soft); font-size: .9375rem; }

/* Estúdios -------------------------------------------- */

.studios {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-bottom: clamp(3.5rem, 8vw, 6rem);
}
.studio {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.studio__addr { color: var(--ink-soft); font-size: .9375rem; margin-bottom: .9rem; }
.studio .link + .link { margin-left: 1.25rem; }

.strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}
.strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Contacto -------------------------------------------- */

.sec--contact { text-align: center; }
.sec--contact .eyebrow { margin-bottom: 1.5rem; }
.contact__lead {
  max-width: 40rem;
  margin: 1.75rem auto 0;
  color: var(--ink-soft);
}
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.contact__social {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
}

/* Rodapé ---------------------------------------------- */

.foot {
  border-top: 1px solid var(--line);
  padding: clamp(2.5rem, 5vw, 3.5rem) var(--pad);
}
.foot__in {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: 2rem;
}
.foot__logo { width: auto; height: 2.75rem; }
.foot__legal {
  font-size: .8125rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0;
}
.foot__legal .link { font-size: .8125rem; }

/* ── Estados iniciais do movimento ──────────────────── */
/* Só com JS ativo — sem script, tudo fica visível.
   O anime.js assume a partir daqui; o CSS não anima nada disto. */

.js .reveal { opacity: 0; }

.js .split__media img, .js .quote__media img, .js .bleed img,
.js .card img, .js .person img, .js .strip img {
  opacity: 0;
  clip-path: inset(0 0 100% 0);
}

.js .hero__text > *, .js .hero__cue, .js .nav__in { opacity: 0; }

/* Palavra a palavra nos títulos. */
.w { display: inline-block; will-change: transform, opacity, filter; }

/* Traço das esferas: o dash herda para dentro do <use>. */
.four__balls .sphere { stroke-dasharray: 300; }

/* Movimento desligado: repõe tudo. */
.anim-off .reveal,
.anim-off .hero__text > *, .anim-off .hero__cue, .anim-off .nav__in,
.anim-off .split__media img, .anim-off .quote__media img, .anim-off .bleed img,
.anim-off .card img, .anim-off .person img, .anim-off .strip img {
  opacity: 1 !important;
  clip-path: none !important;
}
.anim-off .four__balls .sphere { stroke-dasharray: none; }

/* Parallax das imagens a toda a largura (--shift vem do motion.js).
   O zoom de hover vive noutra variável para os dois não se anularem. */
.split__media img, .quote__media img, .bleed img {
  transform: translate3d(0, var(--shift, 0px), 0) scale(var(--z, 1));
  transition: --z 1.2s var(--ease);
}

/* ── Responsivo ─────────────────────────────────────── */

@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; }
  .people, .studios { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Abaixo de 1025px as secções e o WhatsApp saem do navbar e passam a ser
   dois painéis, abertos pelo botão do navbar. */
@media (max-width: 1024px) {
  .nav { padding-inline: 1rem; }
  .nav__in {
    max-width: none;
    padding: .45rem .45rem .45rem 1rem;
    background: var(--glass);
    border-color: var(--glass-line);
    box-shadow: var(--glass-cast);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
  }
  .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__brand img, .is-stuck .nav__brand img { height: 2.1rem; }
  body.menu-open, body.wa-open { overflow: hidden; }
  .wa-fab { display: inline-flex; }
  .foot { padding-bottom: 6.5rem; }        /* o botão fixo não tapa o rodapé */
  .hero__text { bottom: 7.5rem; }          /* nem o CTA do hero */

  .nav__links, .wa {
    position: fixed;
    top: auto;
    left: 1rem;
    right: 1rem;
    transform: translateY(-10px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-radius: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
  }
  .menu-open .nav__links, .wa-open .wa { opacity: 1; visibility: visible; transform: none; }

  .nav__links {
    top: 5.5rem;
    padding: .25rem 1.35rem;
    background: var(--glass);
    border: 1px solid var(--glass-line);
    box-shadow: var(--glass-cast);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
  }
  .nav__links a { font-size: .8rem; padding: 1.05rem 0; }
  .nav__links a + a { border-top: 1px solid var(--line); }
  .nav__links a::after { display: none; }

  .wa {
    bottom: 5.75rem;              /* assenta por cima do botão fixo */
    transform: translateY(10px);
    padding: .25rem 1.35rem 0;
    background: var(--glass);
    border: 1px solid var(--glass-line);
    box-shadow: var(--glass-cast);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
  }
  /* Sem hover no telemóvel: o número está sempre visível. */
  .wa__btn {
    justify-content: space-between;
    padding: 1rem 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
  }
  .wa__btn + .wa__btn { border-top: 1px solid var(--line); }
  .wa__btn:hover, .wa__btn:focus-visible { background: none; }
  .wa__name { margin-right: auto; }
  .wa__num { max-width: none; opacity: 1; margin-right: .9rem; }
  .wa__btn:hover .wa__num, .wa__btn:focus-visible .wa__num { margin-right: .9rem; }
  .wa__title {
    display: block;
    margin: 0;
    padding: 1.15rem 0 .9rem;
    font-family: 'Jost', sans-serif;
    font-size: .62rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--ink-soft);
    border-bottom: 1px solid var(--line);
  }
  .wa__btn:last-child { padding-bottom: 1.25rem; }
}

@media (min-width: 1025px) {
  .scrim { display: none; }
}

@media (max-width: 860px) {
  .manifesto, .split, .quote { grid-template-columns: minmax(0, 1fr); }
  .split__media img { aspect-ratio: 16 / 11; }
  .split__text { padding: 0 var(--pad) clamp(4rem, 10vw, 6rem); max-width: none; }
  .split { gap: clamp(2rem, 6vw, 3rem); }
  .sec--flush .split { padding-top: clamp(4rem, 10vw, 6rem); }

  .quote__media img { aspect-ratio: 16 / 11; }
  .quote__text { padding: 0 var(--pad) clamp(4rem, 10vw, 6rem); max-width: none; }
  .quote { gap: clamp(2rem, 6vw, 3rem); padding-top: clamp(4rem, 10vw, 6rem); }

  .bleed img { aspect-ratio: 16 / 10; }
  .foot__in { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .cards, .people, .studios { grid-template-columns: minmax(0, 1fr); }
  .studios { gap: 0; }
  .studio { padding-block: 1.5rem; }
  .strip { grid-template-columns: minmax(0, 1fr); }
  .strip figure:last-child { display: none; }
  .contact__actions { flex-direction: column; gap: 1.5rem; }
  .hero__cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  /* O motion.js também sai de cena e marca .anim-off; isto é a rede de segurança. */
  .js .reveal, .js .hero__text > *, .js .hero__cue, .js .nav__in,
  .js .split__media img, .js .quote__media img, .js .bleed img,
  .js .card img, .js .person img, .js .strip img {
    opacity: 1 !important;
    transform: none;
    clip-path: none !important;
  }
  .four__balls .sphere { stroke-dasharray: none; }
}
