/* ============================================================
   BALANCE — v2 · editorial / kinetic (inspirado em landonorris.com)
   ============================================================ */

:root {
  --bg:        #0d0e0b;
  --bg-2:      #131510;
  --cream:     #efece1;
  --ink:       #14150f;
  --text:      #f3efe4;
  --muted:     #9c988a;
  --muted-2:   #6a6759;
  --gold:      #c9a86a;
  --gold-br:   #e7cd8e;
  --line:      #26281f;
  --maxw:      1240px;
  --ff-serif:  'Playfair Display', Georgia, serif;
  --ff-sans:   'Archivo', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth; -webkit-text-size-adjust: 100%;
  /* tira o ZOOM do duplo-toque no telemóvel (o zoom de pinça continua a funcionar,
     por acessibilidade) e elimina o atraso de 300ms nos toques */
  touch-action: manipulation;
}
body {
  font-family: var(--ff-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: italic; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  font-family: var(--ff-sans); text-transform: uppercase;
  letter-spacing: .28em; font-size: .7rem; font-weight: 700; color: var(--gold);
}

h1, h2, h3 { font-family: var(--ff-serif); font-weight: 700; line-height: 1; letter-spacing: -.01em; }

/* âncoras não ficam escondidas atrás dos botões fixos */
section[id], header[id] { scroll-margin-top: 96px; }

/* Fundo topográfico (canvas com contornos animados) */
.topo {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  z-index: 0; opacity: .55; pointer-events: none; display: block;
}

/* ---------- Botões pill flutuantes ---------- */
.pill {
  position: fixed; top: 22px; z-index: 80;
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--ff-sans); font-weight: 800; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .06em;
  padding: .85rem 1.25rem; border-radius: 999px; cursor: pointer;
  transition: transform .25s ease, background .25s ease;
}
.pill--menu {
  right: 22px; background: #fff; color: #14150f; border: none;
  width: 56px; height: 56px; padding: 0; justify-content: center; border-radius: 16px;
}
.pill--menu:hover { transform: translateY(-2px); }
.pill--menu__bars { display: grid; gap: 5px; }
.pill--menu__bars span { display: block; width: 22px; height: 2px; background: #14150f; border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.pill--menu__bars span:nth-child(2) { width: 15px; margin-left: auto; }
body.menu-open .pill--menu__bars span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .pill--menu__bars span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); width: 22px; }

/* ---------- Menu overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 70;
  background: var(--bg-2);
  clip-path: circle(0% at calc(100% - 50px) 50px);
  /* ao FECHAR: mantém visível durante a animação (visibility só muda no fim) */
  transition: clip-path .6s cubic-bezier(.76,0,.24,1), visibility 0s .6s;
  display: grid; place-items: center; visibility: hidden;
}
/* ao ABRIR: fica visível imediatamente para a animação se ver */
.menu.open { clip-path: circle(150% at calc(100% - 50px) 50px); visibility: visible; transition: clip-path .6s cubic-bezier(.76,0,.24,1), visibility 0s 0s; }
.menu__inner { text-align: center; }
.menu__list { display: flex; flex-direction: column; gap: .1rem; }
.menu__list a {
  font-family: var(--ff-serif); font-weight: 700; font-size: clamp(2.2rem, 8vw, 4.5rem);
  line-height: 1.05; color: var(--text); position: relative; display: inline-block;
  transition: color .25s ease, transform .25s ease; padding: .1em 0;
}
.menu__list a::before {
  content: attr(data-n); font-family: var(--ff-sans); font-size: .8rem; font-weight: 700;
  color: var(--gold); vertical-align: super; margin-right: .6rem; letter-spacing: .1em;
}
.menu__list a:hover { transform: translateX(6px); }   /* a cor faz-se pelo efeito "roll" */
.menu__list .roll__c { height: 1.2em; line-height: 1.2; vertical-align: middle; }
.menu__foot { margin-top: 2.6rem; display: flex; flex-direction: column; gap: .4rem; color: var(--muted); font-size: .9rem; }
.menu__foot a:hover { color: var(--gold-br); }

/* ---------- HERO (letreiro neon) ---------- */
/* pista do hero: alta no PC para "raspar" o zoom-out do banner ao fazer scroll */
/* dvh (altura dinâmica) e não vh: no telemóvel o 100vh conta o ecrã SEM a barra
   do browser, e o rodapé do banner (texto + botão) caía abaixo da dobra. */
.hero-track { position: relative; z-index: 1; height: 220vh; height: 220dvh; }
.hero { position: sticky; top: 0; z-index: 1; padding: 0; height: 100vh; height: 100dvh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero__frame {
  position: relative; flex: none; width: 100%; height: 100vh; height: 100dvh;
  border: none; border-radius: 0; overflow: hidden;
  background: radial-gradient(130% 100% at 50% 34%, #141610 0%, #0a0b08 72%);
  will-change: width, height; z-index: 1;
}
.hero__figure { transition: none; will-change: filter; }



/* Fonte do Lando Norris (Brier) para o texto grande do banner */
@font-face {
  font-family: 'Brier';
  src: url('../fonts/Brier-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* Texto grande em scroll horizontal CONTÍNUO por trás do banner (revelado ao encolher) */
.hero__marquee {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: .1em;
  pointer-events: none; opacity: 0;
}
.hero__mrow { overflow: hidden; width: 100%; }
.hero__mtrack { display: inline-flex; white-space: nowrap; will-change: transform; }
.hero__mtrack span {
  font-family: 'Brier', var(--ff-serif); font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 5rem); line-height: 1.08; letter-spacing: -.01em;
  text-transform: uppercase; color: var(--gold-br);
}
.hero__mtrack--l { animation: heromq-l 34s linear infinite; }
.hero__mtrack--r { animation: heromq-r 42s linear infinite; }
@keyframes heromq-l { from { transform: translateX(0); }     to { transform: translateX(-50%); } }
@keyframes heromq-r { from { transform: translateX(-50%); }  to { transform: translateX(0); } }
/* Linha de baixo: Mona Sans preenchida (sem outline), settings do landonorris.com */
.hero__mrow--alt .hero__mtrack span {
  font-family: "Mona Sans", var(--ff-sans); font-weight: 400;
  font-variation-settings: "wght" 660, "wdth" 93;
  letter-spacing: -.0625rem; line-height: .95;
  color: #fff; -webkit-text-stroke: 0;
}
.hero__mtrack em { color: var(--gold-br); font-style: normal; }

/* Logo animado do banner: descontinuado — o banner passou a usar foto (.hero__figure) */
.neon { display: none; }
.neon--legacy { position: absolute; inset: 0; z-index: 1; }
.neon img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; object-position: center 42%;
  user-select: none; -webkit-user-drag: none; pointer-events: none;
}
.neon__gold { display: none; }
.neon__frames { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.neon__mask { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero__topo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .5; }

/* Foto de fundo do banner (PC e telemóvel) */
.hero__figure {
  display: block; position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%;
  pointer-events: none; user-select: none; -webkit-user-drag: none;
}
/* Escurecer topo (para os botões) e fundo (para o texto) — a foto é clara */
.hero__frame::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(10,11,8,.55) 0%, rgba(10,11,8,0) 22%,
    rgba(10,11,8,0) 40%, rgba(10,11,8,.6) 72%, rgba(10,11,8,.94) 100%);
}
.hero__down { display: none; }   /* setas de scroll: só telemóvel */
/* Setas animadas a convidar a continuar (banner no telemóvel + painel do Método).
   Fora de qualquer media query: o Método também as usa no PC. */
@keyframes heroHint {   /* só opacidade — nada de letter-spacing (mudava a largura e tremia) */
  0%, 100% { opacity: .55; }
  50%      { opacity: 1;   }
}
@keyframes heroDown {
  0%, 100% { opacity: .2; transform: translateY(-3px); }
  50%      { opacity: 1;  transform: translateY(4px); }
}

/* Rodapé do hero */
.hero__foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
  padding: clamp(1.6rem,4vw,3rem) clamp(1.4rem,4vw,3.2rem);
}
.hero__tag { text-transform: uppercase; letter-spacing: .3em; font-size: .68rem; font-weight: 700; color: var(--gold-br); }
.hero__line { font-family: var(--ff-serif); font-size: clamp(1.5rem,3.2vw,2.7rem); font-weight: 600; margin-top: .5rem; }
.hero__line em { color: var(--gold-br); font-style: italic; }
.hero__sub { display: block; color: #d8d3c6; font-size: 1rem; line-height: 1.55; margin-top: .8rem; max-width: 46ch; }
.hero__cta {
  display: inline-flex; align-items: center; gap: .55rem; flex-shrink: 0;
  background: var(--gold); color: #201a10; font-weight: 800; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .04em;
  padding: 1rem 1.6rem; border-radius: 999px; transition: transform .25s ease, background .25s ease;
}
.hero__cta:hover { transform: translateY(-2px); background: var(--gold-br); }

.hero__scroll {
  position: absolute; bottom: clamp(1.6rem,4vw,3rem); left: 50%; transform: translateX(-50%); z-index: 2;
  display: inline-flex; align-items: center; gap: .5rem;
  text-transform: uppercase; letter-spacing: .2em; font-size: .68rem; font-weight: 700; color: #e6e2d6;
}
.hero__scroll svg { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(5px);} }

@media (max-width: 640px) {
  .hero__scroll { display: none; }
  /* pista alta também no telemóvel: mesmo zoom-out + preto-e-branco do PC */
  .hero-track { height: 200vh; height: 200dvh; }
  .neon { display: none; }

  /* Telemóvel: texto NÃO fica atrás da imagem — fica na faixa de baixo */
  .hero__marquee { top: 56%; bottom: 7vh; inset-inline: 0; gap: .04em; }
  .hero__mtrack span { font-size: clamp(1.6rem, 8vw, 2.4rem); }

  /* Foto da receção a preencher todo o banner */
  .hero__figure {
    display: block; position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%; object-fit: cover; object-position: 38% 42%;
    pointer-events: none; user-select: none;
  }
  /* Escurecer topo (para os botões) e fundo (para o texto). A foto do banner é
     uma parede clara e o texto é creme: sem um escurecimento forte na metade de
     baixo, o título fica ilegível. O título está a ~68% da altura. */
  .hero__frame::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(to bottom,
      rgba(10,11,8,.45) 0%, rgba(10,11,8,0) 18%,
      rgba(10,11,8,0) 55%, rgba(10,11,8,.35) 70%,
      rgba(10,11,8,.8) 84%, rgba(10,11,8,.97) 100%);
  }

  /* ---- Estilo "onboarding" no rodapé do banner ---- */
  .hero__foot {
    flex-direction: column; align-items: center; text-align: center; gap: 0; z-index: 2;
    padding: 1.4rem clamp(1.4rem,6vw,2rem) clamp(1.6rem,5vw,2.2rem);
  }
  .hero__foot-l { display: flex; flex-direction: column; align-items: center; }
  .hero__tag { display: none; }
  /* sombra: o texto lê-se mesmo sobre a camisa branca do coach ao centro */
  .hero__line { font-size: clamp(1.7rem, 7.4vw, 2.35rem); font-weight: 700; line-height: 1.16; margin: 0; text-shadow: 0 2px 18px rgba(0,0,0,.85), 0 1px 3px rgba(0,0,0,.7); }
  .hero__line em {
    font-style: normal; color: var(--text);
    background: linear-gradient(transparent 52%, rgba(201,168,106,.5) 52%);
    padding: 0 .06em;
  }
  .hero__sub { display: block; color: #e8e6dd; font-size: .84rem; line-height: 1.5; margin-top: .8rem; max-width: 30ch; text-shadow: 0 2px 14px rgba(0,0,0,.85), 0 1px 2px rgba(0,0,0,.7); }
  /* duas setas a "escorrer" para baixo, desfasadas — incentivo ao scroll */
  .hero__down {
    display: flex; flex-direction: column; align-items: center;
    margin: 1rem 0 1.15rem; color: var(--gold-br);
  }
  .hero__down__t { text-transform: uppercase; letter-spacing: .22em; font-size: .64rem; font-weight: 800; color: var(--gold-br); margin-bottom: .45rem; animation: heroHint 3s ease-in-out infinite; }
  .hero__down svg { animation: heroDown 1.7s ease-in-out infinite; }
  .hero__down svg:last-child { margin-top: -15px; animation-delay: .2s; }
  .hero__cta {
    width: 100%; max-width: 360px; justify-content: center;
    padding: 1.1rem 1.4rem; border-radius: 18px; font-size: .95rem;
  }
}

/* ---------- Marquee ---------- */
.marquee { position: relative; z-index: 1; padding: clamp(2rem,5vw,3.5rem) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.marquee__row { overflow: hidden; white-space: nowrap; }
.marquee__row--alt { margin-top: .3rem; }
.marquee__track { display: inline-flex; will-change: transform; animation: mq 30s linear infinite; }
.marquee__track--rev { animation-direction: reverse; animation-duration: 38s; }
.marquee__track span {
  font-family: var(--ff-serif); font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 5rem); line-height: 1; letter-spacing: -.01em;
  text-transform: uppercase; padding-right: .4em; color: transparent;
  -webkit-text-stroke: 1px var(--muted-2);
}
.marquee__row--alt .marquee__track span {
  -webkit-text-stroke: 0; color: var(--text);
  font-family: "Mona Sans", var(--ff-sans);
  font-variation-settings: "wght" 620, "wdth" 93; font-weight: 620;
  font-style: normal; letter-spacing: -.015em;
}
.marquee__track span i { color: var(--gold); -webkit-text-stroke: 0; font-style: normal; }
/* Ícones (substituem as estrelas) — coloridos a dourado via máscara */
.mq-ic {
  display: inline-block; vertical-align: -.14em; width: .82em; height: .82em; margin: 0 .12em;
  background: var(--gold); -webkit-text-stroke: 0;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.mq-ic--dumbell     { -webkit-mask-image: url(../imagens/dumbell.png);     mask-image: url(../imagens/dumbell.png); }
.mq-ic--kettlebells { -webkit-mask-image: url(../imagens/kettlebells.png); mask-image: url(../imagens/kettlebells.png); }
.mq-ic--musculo     { -webkit-mask-image: url(../imagens/musculo.png);     mask-image: url(../imagens/musculo.png); }
.mq-ic--prancheta   { -webkit-mask-image: url(../imagens/prancheta.png);   mask-image: url(../imagens/prancheta.png); }
.marquee__row--alt .marquee__track span em { color: var(--gold-br); }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- Manifesto ---------- */
.manifesto { position: relative; z-index: 1; padding: clamp(5rem, 12vw, 10rem) 0; }
.manifesto__title { font-size: clamp(2.6rem, 8vw, 6.5rem); font-weight: 800; margin: 1.4rem 0 3rem; }
.manifesto__title em { color: var(--gold-br); font-weight: 500; }
/* "Foco. Disciplina. Consistência." — sempre numa linha só, em tamanho menor;
   o vw garante que encolhe o suficiente para caber em qualquer ecrã.
   Fonte igual à das citações da Galeria (serif itálica leve, ex.: "Um ambiente
   reservado, onde só existe o teu treino."). */
.manifesto__motto {
  display: block; white-space: nowrap;
  font-size: min(.62em, 6.2vw);
  font-family: var(--ff-serif); font-style: italic; font-weight: 500;
  letter-spacing: .01em;
}
.reveal-line { display: block; overflow: hidden; }
.reveal-line > span { display: block; transform: translateY(110%); transition: transform .9s cubic-bezier(.22,1,.36,1); }
.reveal-line.in > span { transform: translateY(0); }

/* Highlight reveal — o texto "acende" LINHA a LINHA com um varrimento dourado.
   Dispara uma vez ao entrar no ecrã (não depende do scroll): as barras (uma por
   linha) são criadas em JS e sobrepostas ao texto. Ver .hl-reveal em js/main.js. */
.hl-reveal { line-height: 1.06; position: relative; }
.hlw { position: relative; display: inline-block; padding: 0 .04em .06em; }
/* Texto escondido por defeito — só aparece quando o bloco se retira (estilo landonorris.com) */
.hlw__ink { display: inline-block; color: inherit; opacity: 0; }
.hlw__ink--gold { color: var(--gold-br); }
.hl-reveal.play .hlw__ink { opacity: 1; }

/* Camada de blocos (um por linha): cobrem o texto e retiram-se a revelá-lo */
.hl-lines { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hl-bar {
  position: absolute; background: var(--gold);
  transform: scaleX(1); transform-origin: right center;   /* cobre por defeito */
}
.hl-reveal.play .hl-bar { animation: hlreveal .6s cubic-bezier(.76,0,.24,1) forwards; }
@keyframes hlreveal {
  from { transform: scaleX(1); transform-origin: right center; }
  to   { transform: scaleX(0); transform-origin: right center; }
}
.manifesto__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; max-width: 900px; }
.manifesto__grid p { color: var(--muted); font-size: 1.08rem; }
.manifesto__grid strong { color: var(--text); }
.manifesto__grid em { color: var(--gold-br); }

.stats { display: flex; flex-wrap: wrap; gap: clamp(2rem, 6vw, 5rem); margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; }
.stat__num, .stat__u { font-family: var(--ff-serif); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.5rem); color: var(--gold-br); line-height: 1; }
.stat__u { display: inline; }
.stat p { color: var(--muted); font-size: .9rem; margin-top: .7rem; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- Scroll horizontal com a tela presa (mecanismo genérico) ---------- */
.hscroll { position: relative; z-index: 1; }                 /* altura definida em JS (vh + curso horizontal) */
.hscroll__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.hscroll__track { display: flex; will-change: transform; }
.hscroll__prog { position: absolute; left: clamp(1.4rem,8vw,11rem); right: clamp(1.4rem,8vw,11rem); bottom: clamp(1.6rem,4vw,3rem); height: 3px; background: rgba(255,255,255,.16); border-radius: 3px; overflow: hidden; z-index: 2; }
.hscroll__prog > span { display: block; height: 100%; width: 0; background: var(--gold); }

/* ---------- Método (secção escura — mantém o fundo da página) ---------- */
.methodx__sticky { background: #2c2b27; color: var(--text); border-radius: 0; margin: 0; }   /* cinzento sólido — tapa as linhas topográficas */
.methodx .eyebrow { color: var(--gold); }
.methodx .hscroll__prog { background: rgba(255,255,255,.16); }
.methodx .hscroll__prog > span { background: var(--gold); }
.methodx__track {
  align-items: stretch; height: min(80vh, 620px);
  gap: clamp(1rem, 2vw, 2rem); padding: 0 clamp(1.4rem, 8vw, 11rem);
}
.mpanel {
  flex: 0 0 auto; width: min(84vw, 500px); display: flex; flex-direction: column; justify-content: center;
  padding: clamp(1.8rem, 4vw, 3rem); border-radius: 26px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
}
.mpanel--intro, .mpanel--cta { background: transparent; border: none; width: min(84vw, 460px); }
.mpanel__title { font-family: var(--ff-serif); font-weight: 800; font-size: clamp(2.2rem, 5.5vw, 3.8rem); color: var(--text); line-height: 1.05; margin-top: .6rem; }
.mpanel__lead { color: var(--muted); font-size: 1.05rem; margin: 1.2rem 0 2rem; max-width: 32ch; }
/* duas setas empilhadas e desfasadas, iguais às do banner (ver @keyframes heroDown) */
.mpanel__hint { display: flex; flex-direction: column; align-items: flex-start; color: var(--gold-br); margin-top: .2rem; }
.mpanel__hint svg { animation: heroDown 1.7s ease-in-out infinite; }
.mpanel__hint svg:last-child { margin-top: -15px; animation-delay: .2s; }
.mpanel__n { font-family: var(--ff-serif); font-weight: 800; font-size: clamp(3rem, 7vw, 5.2rem); color: var(--gold-br); line-height: 1; }
.mpanel__h { font-family: var(--ff-serif); font-weight: 800; font-size: clamp(1.7rem, 3.6vw, 2.6rem); color: var(--text); margin: .5rem 0 .3rem; }
.mpanel__h em { color: var(--gold-br); }
.mpanel__sub { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.6rem; }
.mpanel__list { display: flex; flex-direction: column; gap: .85rem; }
.mpanel__list li { display: flex; gap: .7rem; align-items: flex-start; font-size: 1.05rem; color: var(--text); }
.mpanel__list li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: .1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a86a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.mpanel--cta .btn-solid { margin-top: 1.4rem; align-self: flex-start; background: var(--gold); color: #201a10; }
.mpanel--cta .btn-solid:hover { background: var(--gold-br); }

/* ---------- Galeria (scroll horizontal — fotos do espaço) ----------
   Organização à landonorris.com: colunas verticais alinhadas à grelha,
   cada foto ancorada ao topo/base da tela, legenda por cima da imagem,
   tamanhos em vh, espaçadores fixos entre colunas e parallax no recorte. */
.galx__sticky { background: transparent; }        /* transparente: deixa ver os riscos (topo) */
/* cores de texto que escurecem à medida que o fundo clareia (definidas em JS pelo scroll) */
.galx { --gink: #f3efe4; --gmut: #9c988a; --ggold: #c9a86a; }
.galx .eyebrow { color: var(--ggold); }
.galx__track { align-items: stretch; height: 100%; padding: 9vh clamp(1.4rem, 8vw, 9rem) 12vh; }
.gitem { flex: 0 0 auto; }
.gitem--intro { display: flex; flex-direction: column; justify-content: center; width: min(80vw, 380px); margin-right: clamp(4rem, 12vw, 10rem); }
.gitem__title { font-family: var(--ff-serif); font-weight: 800; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.02; margin: .6rem 0 1.2rem; color: var(--gink); }
.gitem__lead { color: var(--gmut); font-size: 1.05rem; max-width: 26ch; margin-bottom: 1.8rem; }
.gitem__hint { display: inline-flex; align-items: center; gap: .5rem; text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 800; color: var(--ggold); }

/* Colunas: altura total da tela; os itens ancoram com margens automáticas */
.gcol { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-start; height: 100%; row-gap: 5vh; }
.gspacer { flex: 0 0 clamp(4.5rem, 16vh, 13rem); }
.gspacer--half { flex-basis: clamp(2.2rem, 8vh, 6.5rem); }

/* Foto: legenda em cima + moldura de recorte com tamanho fixo (vh) */
.gph { position: relative; flex: 0 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.gph--bot { margin-top: auto; }
.gph--mid { margin-top: auto; margin-bottom: auto; }
.gph__cap { text-transform: uppercase; letter-spacing: .16em; font-size: .68rem; font-weight: 800; color: var(--gmut); }
.gph__imgw { width: min(var(--w), 82vw); height: var(--h); overflow: clip; }
.gph__imgw img {
  width: calc(100% + 4rem); max-width: none; height: 100%;
  margin-left: -2rem; object-fit: cover; will-change: transform;
}
/* Tamanhos (proporções relativas à altura da tela, como no site de referência).
   Os itens de baixo levam um desvio horizontal — colunas "desencontradas". */
.gph--s1 { --w: 46vh; --h: 29vh; }   /* avaliações físicas (larga GRANDE, em baixo) */
.gph--s2 { --w: 26vh; --h: 33vh; margin-left: 10vh; }   /* receção (retrato) */
.gph--lg { --w: 52vh; --h: 58vh; }   /* zona de pesos (destaque) */
.gph--feat { --w: 44vh; --h: 62vh; }   /* receção + remo (destaque retrato) */
.gph--s3 { --w: 24vh; --h: 30vh; }   /* entrada */
.gph--s4 { --w: 23vh; --h: 23vh; margin-left: 8vh; }    /* detalhes (quadrada) */
.gph--s5 { --w: 24vh; --h: 32vh; }   /* cardio (retrato alto, no topo) */
.gph--s6 { --w: 30vh; --h: 27vh; }   /* máquinas */
.gph--s7 { --w: 24vh; --h: 30vh; margin-left: 6vh; }    /* zona funcional */
.gph--s8 { --w: 42vh; --h: 52vh; }   /* fecho */
.gph--s9 { --w: 22vh; --h: 26vh; margin-left: 7vh; }    /* nutrição */
.gph--s10 { --w: 40vh; --h: 50vh; }  /* treino acompanhado (fecho, GRANDE, ao centro) */
.gph--s11 { --w: 42vh; --h: 22vh; }  /* parede verde (larga) */
/* Enquadramentos: centrar o conteúdo de cada foto dentro do recorte */
/* pesos: o teto foi cortado no próprio ficheiro (a foto é mais larga que a moldura,
   por isso mostra toda a altura); aqui só se centra o enquadramento horizontal. */
.gph--lg img { object-position: 50% 50%; }
.gph--s6 img { object-position: 50% 55%; }   /* máquinas: faixa central */
.gph--s7 img { object-position: 50% 62%; }
.gph--s8 img { object-position: 50% 78%; }
.gph--s9 img { object-position: 50% 60%; }   /* nutrição: prateleira de baixo */
.gph--s10 img { object-position: 50% 40%; }  /* treino: cabeça do PT visível */

/* ---- Galeria no telemóvel: VERTICAL (sem pin nem scroll horizontal) ----
   O JS escreve height/transform em linha, por isso alguns !important. As cores
   do texto passam a ser calculadas pela posição vertical (paintText em js/main.js). */
@media (max-width: 640px) {
  .galx { height: auto !important; }
  .galx .hscroll__sticky {
    position: static; height: auto; display: block; overflow: visible;
    transform: none !important; padding: clamp(2.5rem,9vw,4rem) 0;
  }
  .galx__track {
    flex-direction: column; height: auto; align-items: stretch;
    gap: 1.7rem; padding: 0 clamp(1.2rem,5vw,2rem);
    transform: none !important;
  }
  .gitem--intro { width: auto; margin-right: 0; margin-bottom: .6rem; }
  .gcol { height: auto; width: 100%; row-gap: clamp(1.7rem,6vw,2.4rem); align-items: flex-start; }
  /* a largura vai na FIGURE (não na imagem): assim é definida, e o align-self
     consegue encostar a foto à direita. Com a % na imagem, a figure esticava. */
  .gph { width: var(--mw, 100%); max-width: 100%; }
  .gph--bot, .gph--mid, .gph--s2, .gph--s4, .gph--s7, .gph--s9, .gquote--bot { margin: 0; }

  /* Tamanhos VARIADOS (como no PC): cada foto guarda a sua proporção e uma largura
     própria — --mw = largura · --ar = proporção (a mesma do par --w/--h do PC). */
  /* min-height:0 / flex:none — sem isto o tamanho mínimo automático do flex item
     sobrepõe-se ao aspect-ratio nas fotos cuja original é mais alta (ex.: Receção). */
  .gph__imgw {
    width: 100%; height: auto; aspect-ratio: var(--ar, 4 / 3);
    flex: none; min-height: 0; min-width: 0;
  }
  .gph__imgw img { width: 100%; height: 100%; margin: 0; transform: none !important; }

  .gph--s1   { --mw: 100%; --ar: 40 / 25; }   /* inauguração (larga) */
  .gph--s2   { --mw: 62%;  --ar: 26 / 33; }   /* receção (retrato pequeno) */
  .gph--feat { --mw: 100%; --ar: 44 / 62; }   /* receção & cardio (destaque alto) */
  .gph--lg   { --mw: 100%; --ar: 52 / 58; }   /* zona de pesos (destaque) */
  .gph--s3   { --mw: 64%;  --ar: 24 / 30; }   /* entrada */
  .gph--s4   { --mw: 54%;  --ar: 1;       }   /* detalhes (quadrada pequena) */
  .gph--s5   { --mw: 64%;  --ar: 22 / 28; }   /* cardio */
  .gph--s6   { --mw: 82%;  --ar: 30 / 27; }   /* máquinas */
  .gph--s7   { --mw: 66%;  --ar: 24 / 30; }   /* zona funcional */
  .gph--s8   { --mw: 100%; --ar: 42 / 52; }   /* fecho */
  .gph--s9   { --mw: 56%;  --ar: 22 / 26; }   /* nutrição (pequena) */
  .gph--s10  { --mw: 68%;  --ar: 24 / 30; }   /* treino acompanhado */
  .gph--s11  { --mw: 100%; --ar: 42 / 22; }   /* parede verde (muito larga) */

  /* Desencontro: as fotos que no PC levam desvio horizontal vão para a direita */
  .gph--s2, .gph--s4, .gph--s7, .gph--s9 { align-self: flex-end; }

  .gspacer { display: none; }
  .gquote { width: auto; max-width: none; margin: .4rem 0; }
  .galx .hscroll__prog { display: none; }
  .gitem__hint { display: none; }   /* "Desliza" já não se aplica na vertical */
}

/* Pill de destaque (avaliação) sobre a foto grande */
.gph__pill { position: absolute; right: -0.9rem; bottom: -0.95rem; display: flex; gap: .35rem; z-index: 2; }
.gph__pill-box {
  display: inline-flex; align-items: center; justify-content: center;
  height: 2.2rem; padding: 0 .8rem; border-radius: .6rem;
  background: var(--gold); color: #201a10; font-weight: 800; font-size: .8rem; letter-spacing: .04em;
}
.gph__pill-box--ic { width: 2.2rem; padding: 0; }
.gph__pill-box .mq-ic { width: 1.15em; height: 1.15em; margin: 0; background: #201a10; }

/* Citações intercaladas nas colunas */
.gquote { display: flex; flex-direction: column; width: min(74vw, 320px); }
.gquote--bot { margin-top: auto; margin-left: 8vh; }
.gquote p { font-family: var(--ff-serif); font-style: italic; font-weight: 500; font-size: clamp(1.25rem, 2.5vw, 1.85rem); line-height: 1.3; color: var(--gink); }
.gquote em { color: var(--ggold); font-style: italic; }
.gquote__by { margin-top: 1rem; text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; font-weight: 800; color: var(--ggold); }

.scribble { position: relative; white-space: nowrap; }
.scribble::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .5em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 40' preserveAspectRatio='none'%3E%3Cpath d='M4 26 C 60 10, 120 34, 180 20 S 280 8, 296 22' fill='none' stroke='%23c9a86a' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center/100% 100%;
  z-index: -1;
}

.btn-solid {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--ink); color: var(--cream);
  font-family: var(--ff-sans); font-weight: 700; font-size: .95rem;
  padding: 1.05rem 1.8rem; border-radius: 999px; transition: transform .25s ease, background .25s ease;
}
.btn-solid:hover { transform: translateY(-2px); background: #000; }
.contact .btn-solid { background: var(--gold); color: #201a10; }
.contact .btn-solid:hover { background: var(--gold-br); }

/* ---------- Galeria editorial ---------- */
.editorial { position: relative; z-index: 1; padding: clamp(5rem, 12vw, 9rem) 0 clamp(3rem,7vw,6rem); }
.editorial__head { margin-bottom: 3rem; }
.editorial__title { font-size: clamp(2.6rem, 8vw, 6rem); font-weight: 800; margin-top: 1rem; }
.egrid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.4rem 1.4rem;
}
.eitem { position: relative; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); }
.eitem img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.eitem:hover img { transform: scale(1.05); }
.eitem__cap {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  font-family: var(--ff-sans); text-transform: uppercase; letter-spacing: .14em;
  font-size: .68rem; font-weight: 700; color: var(--bg);
  background: var(--gold); padding: .35rem .7rem; border-radius: 999px;
}
.eitem--a { grid-column: 1 / 6;  aspect-ratio: 4/5;  margin-top: 2rem; }
.eitem--b { grid-column: 7 / 13; aspect-ratio: 4/3; }
.eitem--c { grid-column: 2 / 7;  aspect-ratio: 4/3;  margin-top: -3rem; }
.eitem--d { grid-column: 8 / 13; aspect-ratio: 4/5;  margin-top: 3rem; }
.eitem--e { grid-column: 1 / 6;  aspect-ratio: 4/3;  margin-top: -1rem; }
.eitem--f { grid-column: 7 / 12; aspect-ratio: 4/4;  margin-top: 2rem; }

/* ---------- Citação ---------- */
/* ---------- Transição: a foto SOBE a tapar (estilo landonorris.com) ---------- */
.pquote__reveal { position: absolute; inset: 0; z-index: 6; transform: translateY(100%); will-change: transform; }
.pquote__reveal img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* vinheta subtil em cima/baixo */
.pquote__reveal::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(10,11,8,.5) 0%, rgba(10,11,8,0) 26%,
    rgba(10,11,8,0) 74%, rgba(10,11,8,.55) 100%);
}
/* Telemóvel (estilo landonorris.com): a foto ocupa a LARGURA toda mas mantém a
   altura natural — uma faixa, não cobre o ecrã inteiro. Fica centrada verticalmente
   e sobe (translateY animado pelo JS) sobre o fundo claro da citação. */
/* foto quadrada no topo dos resultados — só telemóvel (hoje desativada: o efeito
   de subida voltou ao telemóvel; ver o bloco @media abaixo) */
.results__photo { display: none; margin: 0; }
@media (max-width: 640px) {
  /* Telemóvel (estilo landonorris.com): a citação fica PRESA e a foto — uma faixa
     à largura do ecrã, centrada na vertical — SOBE a tapá-la (translateY animado
     pelo JS, o mesmo do PC). Depois de a foto assentar, o scroll segue normal. */
  .pquote.pquote--cover { height: 200vh; }     /* menos curso do que no PC (260vh) */
  .pquote__reveal {
    display: flex; align-items: center;        /* quadrado centrado na vertical */
    /* transparente por CIMA do quadrado (vê-se a citação no fundo claro);
       escuro por BAIXO dele — cola com o fundo das "Transformações" e não
       fica espaço claro entre a foto e a secção seguinte */
    background: linear-gradient(to bottom,
      transparent calc(50% + 50vw - 1px),
      #0c0d09    calc(50% + 50vw - 1px));
  }
  .pquote__reveal img {
    width: 100%; aspect-ratio: 1 / 1;          /* QUADRADO (como a antiga foto estática) */
    height: auto; object-fit: cover;
    position: relative; z-index: 1;            /* por cima do canvas das linhas */
  }
  /* linhas topográficas na faixa escura (mesmo padrão do fundo global, alinhado
     ao ecrã) — recortadas para só aparecerem por BAIXO do quadrado */
  .pquote__reveal .pquote__topo--strip {
    display: block;
    clip-path: inset(calc(50% + 50vw - 1px) 0 0 0);
  }
  .pquote__reveal::after { content: none; }    /* sem vinheta na faixa */
  /* As "Transformações" sobem a ENCAIXAR na foto: a margem negativa anula a
     metade escura por baixo do quadrado (escuro sobre escuro, sem costura),
     por isso o título aparece logo a seguir à foto — sem espaço preto morto.
     A secção fica transparente (como as outras) para se ver o fundo topográfico. */
  #transformacoes { margin-top: calc((100vw - 100vh) / 2); }
}
/* Telemóvel + "reduzir movimento": o JS não anima, por isso volta o layout antigo —
   citação em fluxo normal e foto estática no topo das transformações. */
@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .pquote.pquote--cover { height: auto; }
  .pquote--cover .pquote__stage {
    position: static; height: auto; overflow: visible;
    padding: clamp(3rem,10vw,5rem) 0;
  }
  .pquote__reveal { display: none; }
  #transformacoes { padding-top: 0; margin-top: 0; }
  .results { background: #0c0d09; }            /* sem o efeito a esconder a troca de
                                                  fundo, o preto sólido evita o flash */
  .results__photo {
    display: block; line-height: 0;
    margin-bottom: clamp(2rem,8vw,3rem);
  }
  .results__photo img {
    width: 100%; aspect-ratio: 1 / 1; height: auto;
    object-fit: cover; display: block;
  }
}

.pquote { position: relative; z-index: 1; padding: clamp(5rem, 12vw, 10rem) 0; text-align: center; }
/* Citação que fica presa e é tapada pela foto que sobe (mais curso = mais lento) */
.pquote--cover { height: 260vh; padding: 0; }
.pquote--cover .pquote__stage {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  /* fundo branco próprio: a citação continua legível depois de o fundo do site
     já ter passado a preto (a troca é feita antes de a secção se soltar) */
  background: #f4f4ed;
}
/* como o fundo acima é opaco, esta secção desenha as suas próprias linhas
   topográficas (mesmo padrão e cor do fundo global — ver overlays em js/main.js) */
.pquote__topo { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.pquote__topo--strip { display: none; }  /* só existe no telemóvel (ver @media acima) */
.pquote--cover .pquote__stage > .wrap { position: relative; z-index: 1; }
.pquote blockquote { font-family: var(--ff-serif); font-weight: 500; font-style: italic; font-size: clamp(1.8rem, 5vw, 3.6rem); line-height: 1.25; max-width: 20ch; margin: 0 auto; }
.pquote blockquote em { color: var(--gold-br); }
.pquote__by { margin-top: 2rem; text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 700; color: var(--muted); }
/* Convite a continuar o scroll (por baixo da citação) */
.pquote__scroll {
  margin-top: 2.2rem; display: flex; flex-direction: column; align-items: center; gap: .5rem;
  text-transform: uppercase; letter-spacing: .22em; font-size: .68rem; font-weight: 700;
  color: var(--muted-2);
}
.pquote--light .pquote__scroll { color: #6d5a2f; }   /* legível no fundo claro da citação */
.pquote__chevs { display: flex; flex-direction: column; align-items: center; gap: -2px; line-height: 0; }
.pquote__chevs svg { display: block; margin-top: -3px; animation: chevBob 1.8s ease-in-out infinite; }
.pquote__chevs svg:nth-child(1) { animation-delay: 0s; }
.pquote__chevs svg:nth-child(2) { animation-delay: .16s; }
.pquote__chevs svg:nth-child(3) { animation-delay: .32s; }
@keyframes chevBob {
  0%, 60%, 100% { opacity: .25; transform: translateY(0); }
  30%           { opacity: 1;   transform: translateY(3px); }
}
@media (prefers-reduced-motion: reduce) { .pquote__chevs svg { animation: none; opacity: .7; } }
/* Citação com fundo branco — texto escuro para se ler */
.pquote--light blockquote { color: #14150f; }
.pquote--light blockquote em,
.pquote--light .hlw__ink--gold { color: #7a5a12; }
.pquote--light .pquote__by { color: #55534a; }

/* ---------- Testemunhos (carrossel) ---------- */
.tst { position: relative; z-index: 1; padding: clamp(3rem,7vw,5rem) 0 clamp(5rem,10vw,8rem); }
.tst-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.8rem; }
.tst-title { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; margin: .5rem 0 1.2rem; }
.tst-rating { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.tst-rating strong { font-size: 1.15rem; font-weight: 800; }
.tst-rating__stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; }
.tst-rating a { color: var(--muted); font-size: .95rem; transition: color .2s; }
.tst-rating a:hover { color: var(--gold-br); }
.tst-nav { display: flex; gap: .6rem; flex-shrink: 0; }
.tst-arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); font-size: 1.5rem; cursor: pointer; display: grid; place-items: center; transition: border-color .2s, color .2s; }
.tst-arrow:hover { border-color: var(--gold); color: var(--gold-br); }
.tst-track { display: flex; gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: .3rem max(28px, calc((100% - var(--maxw)) / 2)) 1rem; scrollbar-width: none; -ms-overflow-style: none; }
.tst-track::-webkit-scrollbar { display: none; }
.tcard { flex: 0 0 calc((min(100vw, var(--maxw)) - 56px - 2.8rem) / 3); scroll-snap-align: start; background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 2rem 1.8rem; display: flex; flex-direction: column; }
.tcard__stars { color: var(--gold); letter-spacing: 3px; font-size: 1rem; margin-bottom: 1.1rem; }
.tcard__headline { font-family: var(--ff-serif); font-style: italic; font-weight: 600; font-size: 1.4rem; line-height: 1.25; margin-bottom: .9rem; }
.tcard__body { color: var(--muted); font-size: .97rem; line-height: 1.6; margin-bottom: 1.6rem; flex: 1; }
.tcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.tcard__who { display: flex; align-items: center; gap: .65rem; min-width: 0; flex: 1 1 auto; }
.tcard__avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.tcard__avatar--txt { display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .95rem; }
.tcard__name { font-weight: 700; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcard__verified { display: inline-flex; align-items: center; gap: .35rem; color: #8ea58c; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; flex-shrink: 0; }
.tcard__verified svg { width: 15px; height: 15px; }

/* ---------- Instagram ---------- */
.insta { position: relative; z-index: 1; padding: clamp(3rem,7vw,5rem) 0 clamp(4rem,9vw,7rem); overflow: hidden; }
.insta__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem; margin-bottom: 1rem; }
.insta__ic { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold); margin-bottom: .4rem; }
.insta__ic svg { width: 24px; height: 24px; }
.insta__head .eyebrow { color: var(--gold); }
.insta__title { font-size: clamp(2.4rem,7vw,4.6rem); font-weight: 800; line-height: 1.02; }
/* Rodapé: seguir + links de redes */
.insta__foot { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.1rem; margin-top: 2.6rem; }
.insta__follow { font-family: var(--ff-serif); font-style: italic; font-size: clamp(1.3rem, 3.4vw, 2rem); font-weight: 500; }
.insta__follow strong { font-style: normal; font-weight: 700; color: var(--gold-br); }
.insta__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem; }
.insta__links a {
  text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 800;
  color: var(--muted); padding: .2rem 0;
}
/* Efeito "roll" letra a letra no hover (cada caractere sobe e a cópia dourada entra por baixo) */
.roll__c { position: relative; display: inline-block; overflow: hidden; height: 1.05em; line-height: 1.05; vertical-align: bottom; }
.roll__c > span { display: block; transition: transform .42s cubic-bezier(.7,0,.2,1); transition-delay: calc(var(--i) * .028s); }
.roll__c > span:last-child { position: absolute; top: 0; left: 0; transform: translateY(100%); color: var(--gold-br); }
.roll:hover .roll__c > span { transform: translateY(-100%); }
.roll:hover .roll__c > span:last-child { transform: translateY(0); }
/* ---------- Instagram: leque de cartões (posicionado por JS) ---------- */
.fan { position: relative; width: 100%; height: clamp(420px, 50vw, 720px); margin-top: 3rem; }
.fan__card {
  position: absolute; left: 50%; top: 4%;
  width: clamp(175px, 19vw, 300px); aspect-ratio: 3 / 4.5;
  border-radius: 20px; overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 28px 60px -22px rgba(0,0,0,.55), 0 6px 16px rgba(0,0,0,.18);
  transform-origin: 50% 100%;
  transform: translate(-50%, 0) scale(1);
  opacity: 0;
  transition: transform .4s cubic-bezier(.22,1,.36,1), opacity .5s ease, box-shadow .35s ease;
  will-change: transform;
}
.fan.in .fan__card { opacity: 1; }
.fan__card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fan__ic { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; opacity: 0; background: rgba(0,0,0,.28); transition: opacity .3s ease; }
.fan__ic svg { width: 34px; height: 34px; }
.fan__card:hover, .fan__card.is-active { box-shadow: 0 36px 74px -18px rgba(0,0,0,.62); }
.fan__card:hover .fan__ic, .fan__card.is-active .fan__ic { opacity: 1; }

@media (max-width: 620px) {
  .fan { height: clamp(400px, 96vw, 520px); }
  .fan__card { width: clamp(150px, 40vw, 200px); }
}

/* ---------- Contacto ---------- */
.contact { position: relative; z-index: 1; padding: clamp(4rem,10vw,8rem) 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: stretch; }
.contact__title { font-size: clamp(2.6rem,7vw,5rem); font-weight: 800; margin: 1rem 0 1.2rem; }
.contact__title em { color: var(--gold-br); }
.contact__lead { color: var(--muted); font-size: 1.1rem; max-width: 42ch; }
.contact__list { margin: 2.2rem 0; display: flex; flex-direction: column; }
.contact__list li { display: flex; gap: 1.4rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.contact__list li:last-child { border-bottom: 1px solid var(--line); }
.contact__k { flex: 0 0 100px; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; color: var(--gold); padding-top: .2rem; }
.contact__list a:hover { color: var(--gold-br); }
.contact__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-line { display: inline-flex; align-items: center; padding: 1.05rem 1.8rem; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; font-size: .95rem; transition: border-color .2s, color .2s; }
.btn-line:hover { border-color: var(--gold); color: var(--gold-br); }
.contact__map { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); min-height: 440px; filter: grayscale(.3) contrast(1.05); }
.contact__map iframe { width: 100%; height: 100%; min-height: 440px; }

/* ---------- Footer ---------- */
.foot { position: relative; z-index: 1; background: #080906; border-top: 1px solid var(--line); padding-top: clamp(3rem,7vw,5rem); overflow: hidden; }
.foot__big { font-family: var(--ff-serif); font-weight: 900; text-align: center; font-size: clamp(4rem, 20vw, 18rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px #1b1c16; letter-spacing: -.02em; user-select: none; margin-bottom: -.1em; }
.foot__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-top: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); position: relative; }
.foot__logo { height: 48px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.foot__col p { color: var(--muted); font-size: .9rem; }
.foot__nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.foot__nav a { color: var(--muted); font-size: .95rem; font-weight: 500; }
.foot__nav a:hover { color: var(--gold-br); }
.foot__contact { display: flex; flex-direction: column; gap: .5rem; text-align: right; }
.foot__contact a { color: var(--gold-br); font-size: .95rem; font-weight: 600; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.6rem 0; font-size: .82rem; color: var(--muted-2); }
.foot__legal { display: inline-flex; flex-wrap: wrap; gap: 1.2rem; }
.foot__legal a { color: var(--muted-2); text-decoration: underline; text-underline-offset: 3px; }
.foot__legal a:hover { color: var(--gold-br); }

/* ---------- FAB ---------- */

/* ---------- Pop-up de marcação (nome · telefone · email) ---------- */
.bkg { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: clamp(1rem,4vw,2rem); }
.bkg[hidden] { display: none; }
.bkg__backdrop { position: absolute; inset: 0; background: rgba(6,7,5,.72); backdrop-filter: blur(3px); }
.bkg__card {
  position: relative; z-index: 1; width: min(100%, 460px);
  max-height: calc(100dvh - 2rem); overflow-y: auto;
  background: linear-gradient(180deg, #16180f 0%, #0e100b 100%);
  border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(1.6rem,5vw,2.4rem);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.8);
  animation: bkIn .32s cubic-bezier(.22,1,.36,1) both;
}
@keyframes bkIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.bkg__x {
  position: absolute; top: .8rem; right: .8rem; width: 38px; height: 38px;
  display: grid; place-items: center; border: none; cursor: pointer; border-radius: 50%;
  background: rgba(255,255,255,.06); color: var(--muted); transition: background .2s, color .2s;
}
.bkg__x:hover { background: rgba(255,255,255,.12); color: var(--text); }
.bkg__title { font-size: clamp(1.6rem,5vw,2.1rem); font-weight: 800; margin-top: .7rem; }
.bkg__title em { font-style: italic; color: var(--gold-br); }
.bkg__lead { color: var(--muted); font-size: .95rem; margin-top: .6rem; }
.bkg__form { display: flex; flex-direction: column; gap: .85rem; margin-top: 1.5rem; }
.bkg__field { display: flex; flex-direction: column; gap: .35rem; }
.bkg__field > span { text-transform: uppercase; letter-spacing: .14em; font-size: .66rem; font-weight: 800; color: var(--gold); }
.bkg__field input {
  font-family: var(--ff-sans); font-size: .98rem; color: var(--text);
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  border-radius: 12px; padding: .85rem 1rem; width: 100%;
  transition: border-color .2s, background .2s;
}
.bkg__field input::placeholder { color: var(--muted-2); }
.bkg__field input:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.07); }
.bkg__field input[aria-invalid="true"] { border-color: #c9603f; }
.bkg__err { color: #e8a08a; font-size: .86rem; font-weight: 600; }
.bkg__err[hidden] { display: none; }
.bkg__send {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  margin-top: .5rem; padding: 1.05rem 1.6rem; border: none; border-radius: 999px; cursor: pointer;
  font-family: var(--ff-sans); font-weight: 800; font-size: .95rem;
  background: var(--gold); color: #201a10; transition: transform .25s ease, background .25s ease;
}
.bkg__send:hover { background: var(--gold-br); transform: translateY(-2px); }
.bkg__note { color: var(--muted-2); font-size: .76rem; line-height: 1.5; text-align: center; }
.bkg__note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.bkg__note a:hover { color: var(--gold-br); }
/* checkbox opcional de novidades (consentimento de marketing) — quadrado
   personalizado: contorno fino, glow no hover, dourado com visto quando marcado */
.bkg__check {
  display: flex; align-items: flex-start; gap: .65rem; cursor: pointer;
  font-size: .82rem; line-height: 1.45; color: var(--muted);
  transition: color .2s;
}
.bkg__check:hover { color: var(--text); }
.bkg__check input {
  appearance: none; -webkit-appearance: none;
  flex: none; width: 20px; height: 20px; margin-top: .1rem;
  border-radius: 6px; border: 1.5px solid var(--gold);
  background: rgba(255,255,255,.05);
  cursor: pointer; position: relative;
  transition: border-color .2s, background .2s, transform .15s;
  animation: goldPulse 2.2s ease-out infinite;   /* pulso dourado a convidar ao clique */
}
/* anel dourado que "respira" a partir do quadrado e se dissolve */
@keyframes goldPulse {
  0%   { box-shadow: 0 0 0 0 rgba(201,168,106,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(201,168,106,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,168,106,0); }
}
.bkg__check:hover input { border-color: var(--gold-br); }
.bkg__check input:checked { animation: none; }   /* já aderiu — o pulso para */
.bkg__check input:active { transform: scale(.92); }
.bkg__check input:checked { background: var(--gold); border-color: var(--gold); }
.bkg__check input:checked::after {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23201a10' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.bkg__check input:focus-visible { outline: 2px solid var(--gold-br); outline-offset: 2px; }
.bkg__send[disabled] { opacity: .6; cursor: progress; transform: none; }
/* estado de sucesso (substitui o formulário depois de guardar) */
.bkg__ok { text-align: center; padding: .6rem 0 .2rem; }
.bkg__ok[hidden] { display: none; }
.bkg__ok-ic {
  display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 1.1rem;
  border-radius: 50%; background: rgba(201,168,106,.14); color: var(--gold-br);
  border: 1px solid rgba(201,168,106,.35);
}
.bkg__ok .bkg__lead { margin-bottom: 1.6rem; }
.bkg__ok .bkg__send { width: 100%; justify-content: center; }
body.bk-open { overflow: hidden; }

/* ---------- Pop-up da promoção ----------
   Desenho: telemóvel = imagem em cima (recorte 4:3, alto) · PC (≥641px) =
   imagem na coluna esquerda a toda a altura, conteúdo à direita. */
.promo { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: clamp(1rem,4vw,2rem); }
.promo[hidden] { display: none; }
.promo__backdrop { position: absolute; inset: 0; background: rgba(6,7,5,.76); backdrop-filter: blur(3px); }

.promo__card {
  position: relative; z-index: 1; overflow: hidden;
  display: flex; flex-direction: column;
  width: min(100%, 400px); max-height: calc(100dvh - 2rem); overflow-y: auto;
  scrollbar-width: none; -ms-overflow-style: none;   /* scroll de emergência sem barra */
  border-radius: 18px;
  /* clean/minimal: cartão escuro "vidro", contorno fino — sem dourado */
  background: rgba(15, 16, 13, .88);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.8);
}
.promo__card::-webkit-scrollbar { width: 0; height: 0; display: none; }
@keyframes promoIn { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }

.promo__x {
  position: absolute; top: .7rem; right: .7rem; width: 36px; height: 36px; z-index: 3;
  display: grid; place-items: center; cursor: pointer; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(10,11,8,.55); color: #f4f4ed; transition: background .2s, border-color .2s;
}
.promo__x:hover { background: rgba(10,11,8,.85); border-color: rgba(255,255,255,.3); }

/* imagem: telemóvel em cima, recorte alto para não "cortar" as pessoas */
.promo__media { margin: 0; line-height: 0; flex: none; position: relative; }
/* telemóvel: a foto desvanece para o fundo escuro do cartão (sem corte seco) */
.promo__media::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%;
  background: linear-gradient(to bottom, rgba(15,16,13,0) 0%, rgba(15,16,13,.55) 55%, rgba(15,16,13,.96) 100%);
  pointer-events: none;
}
/* recorte quase quadrado e centrado: mostra praticamente a foto toda; o
   max-height trava a altura em ecrãs baixos para o cartão continuar a caber */
.promo__media img { width: 100%; height: 100%; aspect-ratio: 1 / 1; max-height: 44dvh; object-fit: cover; object-position: 50% 42%; display: block; }

.promo__content { padding: 1.4rem clamp(1.3rem,5vw,1.8rem) 1.5rem; text-align: center; }
.promo__eyebrow { text-transform: uppercase; letter-spacing: .34em; font-size: .62rem; font-weight: 600; color: rgba(244,244,237,.55); }

.promo__title { margin-top: .6rem; }
.promo__big {
  display: flex; align-items: center; justify-content: center; gap: .16em;
  font-family: var(--ff-sans); font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(3.2rem, 14vw, 4.4rem); line-height: 1; color: #f4f4ed;
  font-variant-numeric: tabular-nums;
}
.promo__big em {
  font-style: normal; font-weight: 600;
  text-transform: uppercase; letter-spacing: .3em;
  font-size: clamp(.72rem, 2.8vw, .85rem); color: rgba(244,244,237,.55);
  align-self: center; padding: 0 .2em 0 .35em;   /* compensa o tracking à direita */
}
.promo__sub {
  display: block; margin-top: .55rem;
  font-family: var(--ff-sans); font-style: normal; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  font-size: clamp(.8rem, 3vw, .9rem); color: rgba(244,244,237,.78);
}

.promo__lead { max-width: 34ch; margin: .9rem auto 0; font-size: clamp(.88rem,2.5vw,.96rem); line-height: 1.55; color: rgba(244,244,237,.62); }
.promo__vagas {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem;
  padding: .45rem .8rem; border-radius: 999px;
  border: 1px solid rgba(255,92,92,.35);
  background: rgba(255,92,92,.08); color: #ff6b5e;
  font-size: clamp(.6rem, 2.9vw, .72rem);   /* encolhe no telemóvel p/ caber numa linha */
  font-weight: 600; letter-spacing: .02em;
  white-space: nowrap;                       /* sempre numa linha só */
  animation: vagasBlink 1.25s ease-in-out infinite;
}
.promo__vagas svg { flex: none; }
@keyframes vagasBlink { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .promo__vagas { animation: none; } }
.promo__cta {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  width: 100%; margin-top: 1.2rem; padding: 1.02rem 1.5rem;
  border: none; border-radius: 999px; cursor: pointer;
  font-family: var(--ff-sans); font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  background: #f4f4ed; color: #0c0d09;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.promo__cta:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -16px rgba(255,255,255,.35); }
.promo__skip {
  display: block; margin: .8rem auto 0; border: none; background: none; cursor: pointer;
  font-family: var(--ff-sans); font-size: .8rem; font-weight: 500; color: rgba(244,244,237,.45);
  text-decoration: underline; text-underline-offset: 3px;
}
.promo__skip:hover { color: #f4f4ed; }

/* PC: imagem à ESQUERDA a toda a altura, conteúdo à direita */
@media (min-width: 641px) {
  .promo__card { flex-direction: row; width: min(100%, 780px); }
  .promo__media { flex: 0 0 44%; }
  .promo__media img { aspect-ratio: auto; height: 100%; max-height: none; object-position: 50% 30%; }
  .promo__media::after { content: none; }   /* o fade da foto é só no telemóvel */
  .promo__content {
    flex: 1; display: flex; flex-direction: column; justify-content: center;
    text-align: left; padding: 2.2rem clamp(1.8rem,4vw,2.6rem);
  }
  .promo__big { justify-content: flex-start; }
  .promo__lead { margin-left: 0; }
  .promo__vagas { align-self: flex-start; }
}

body.promo-open { overflow: hidden; }

/* --- Entradas --- */
@keyframes promoFromCorner {
  from { opacity: 0; transform: translate(-32vw, 40vh) scale(.35); }
  to   { opacity: 1; transform: none; }
}
@keyframes promoFadeIn { from { opacity: 0; } to { opacity: 1; } }
.promo--enter   .promo__card { animation: promoIn .38s cubic-bezier(.22,1,.36,1) both; }
.promo--opening .promo__card { animation: promoFromCorner .46s cubic-bezier(.2,.85,.3,1) both; }  /* vem do chip no canto */
.promo--enter .promo__backdrop, .promo--opening .promo__backdrop { animation: promoFadeIn .3s ease both; }

/* --- Fecho animado: o cartão encolhe e voa para o canto inferior esquerdo --- */
@keyframes promoOut {
  from { opacity: 1; transform: none; }
  to   { opacity: 0; transform: translate(-32vw, 40vh) scale(.35); }
}
@keyframes promoFade { from { opacity: 1; } to { opacity: 0; } }
.promo--closing { pointer-events: none; }
.promo--closing .promo__card { animation: promoOut .42s cubic-bezier(.5,0,.75,0) forwards; }
.promo--closing .promo__backdrop { animation: promoFade .42s ease forwards; }

/* --- Chip a espreitar (canto inf. esquerdo) — dourado, chamativo --- */
.promo-peek {
  position: fixed; left: 16px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .5rem 1.05rem .5rem .5rem; cursor: pointer;
  border-radius: 999px; border: none;
  background: linear-gradient(135deg, #e7cd8e 0%, var(--gold) 55%, #b8934e 100%);
  color: #201a10;
  box-shadow: 0 12px 28px -8px rgba(0,0,0,.6), 0 0 0 0 rgba(201,168,106,.55);
  font-family: var(--ff-sans);
  transition: transform .25s ease, box-shadow .25s ease;
}
.promo-peek[hidden] { display: none; }
.promo-peek:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 18px 40px -10px rgba(0,0,0,.7); }
.promo-peek__badge {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: none;
  border-radius: 50%; background: #14150f; color: var(--gold-br);
  font-family: var(--ff-sans); font-weight: 800; font-size: .95rem; line-height: 1;
  white-space: nowrap; letter-spacing: -.02em;
}
.promo-peek__badge em { font-style: normal; font-size: .7em; opacity: .8; margin: 0 .02em; }
.promo-peek__txt {
  display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; text-align: left;
  text-transform: uppercase; letter-spacing: .18em; font-size: .56rem; font-weight: 700; color: rgba(32,26,16,.7);
}
.promo-peek__txt strong { font-size: .82rem; letter-spacing: .04em; color: #14150f; font-weight: 800; }
@keyframes peekIn { from { opacity: 0; transform: translateX(-120%); } to { opacity: 1; transform: none; } }
/* pulso dourado contínuo (anel que respira) + entrada deslizante */
@keyframes peekPulse {
  0%, 100% { box-shadow: 0 12px 28px -8px rgba(0,0,0,.6), 0 0 0 0 rgba(201,168,106,.55); }
  60%      { box-shadow: 0 12px 28px -8px rgba(0,0,0,.6), 0 0 0 12px rgba(201,168,106,0); }
}
.promo-peek { animation: peekIn .5s cubic-bezier(.22,1,.36,1) both, peekPulse 2s ease-out .6s infinite; }
@media (prefers-reduced-motion: reduce) {
  .promo--closing .promo__card, .promo--opening .promo__card, .promo--enter .promo__card, .promo-peek { animation: none !important; }
}

/* ---------- Reveal genérico ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Fundo: transição suave de cor pela secção ativa ---------- */
body { transition: background-color .9s ease; }

/* ---------- FAQ (acordeão) ---------- */
.faq { position: relative; z-index: 1; padding: clamp(5rem,12vw,9rem) 0; }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.faq__title { font-size: clamp(2.2rem,6vw,3.8rem); font-weight: 800; margin-top: .8rem; }
.faq__lead { color: var(--muted); margin-top: 1rem; max-width: 34ch; }
.faq__list { display: flex; flex-direction: column; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.4rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; font-family: var(--ff-serif); font-size: clamp(1.1rem,2.4vw,1.5rem); font-weight: 600; transition: color .25s ease; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--gold-br); }
.faq__ic { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; position: relative; transition: transform .3s ease, border-color .3s ease; }
.faq__ic::before, .faq__ic::after { content: ""; position: absolute; background: var(--gold); border-radius: 2px; transition: transform .3s ease; }
.faq__ic::before { width: 12px; height: 2px; }
.faq__ic::after  { width: 2px; height: 12px; }
.faq__item[open] .faq__ic { border-color: var(--gold); transform: rotate(180deg); }
.faq__item[open] .faq__ic::after { transform: scaleY(0); }
.faq__ans { color: var(--muted); font-size: 1rem; line-height: 1.7; padding: 0 0 1.4rem; max-width: 60ch; }
.faq__ans a { color: var(--gold-br); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.faq__ans a:hover { color: var(--text); }
.faq__item[open] .faq__ans { animation: faqin .4s ease; }
@keyframes faqin { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Transformações (antes/depois) ---------- */
.results { position: relative; z-index: 1; padding: clamp(4rem,10vw,8rem) 0; }
.results__head { text-align: center; margin-bottom: clamp(2rem,5vw,3.4rem); }
.results__title { font-size: clamp(2.2rem,6vw,4rem); font-weight: 800; }
.results__lead { color: var(--muted); max-width: 46ch; margin: 1.1rem auto 0; font-size: 1.02rem; }
/* PC: grelha 3 colunas, mostra 6 (2 linhas) com fade + "ver mais" */
.tcarousel { position: relative; max-width: 980px; margin: 0 auto; text-align: center; }
.tgrid-wrap { position: relative; }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2.4vw, 1.9rem); overflow: hidden; text-align: left; }
.tcase { margin: 0; }
/* O fade é feito por MÁSCARA na própria grelha (não por um degradê opaco por cima):
   assim as fotos esvanecem mas as linhas topográficas do fundo continuam visíveis. */
.tgrid__fade { display: none; }
.tcarousel.has-more .tgrid {
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 200px), transparent 100%);
          mask-image: linear-gradient(to bottom, #000 calc(100% - 200px), transparent 100%);
}
.tgrid__more {
  display: none; margin: 1.8rem auto 0; padding: .95rem 1.9rem; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--text);
  font-family: var(--ff-sans); font-weight: 700; font-size: .95rem; cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.tgrid__more:hover { border-color: var(--gold); color: #201a10; background: var(--gold); }
.tcarousel.has-more .tgrid__more { display: inline-flex; align-items: center; }
.tcarousel__arrow { display: none; }   /* setas só no telemóvel */

@media (max-width: 640px) {
  /* Telemóvel: carrossel horizontal com setas */
  .tgrid {
    display: flex; grid-template-columns: none; gap: 1rem;
    overflow-x: auto; overflow-y: hidden; max-height: none !important;
    /* "proximity" e não "mandatory": com centragem, o 1.º e o último cartão exigem
       posições fora do curso do scroll; com "mandatory" o browser era obrigado a
       assentar num ponto de snap e puxava de volta — dava saltos no fim. */
    scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding-bottom: .3rem;
    /* Carrossel até às bordas do ecrã: sem isto as fotos eram cortadas na margem
       do .wrap (20px) e via-se o fundo da secção depois do corte. O padding
       reposto por dentro mantém o 1.º cartão recuado como antes. */
    margin-left: -20px; margin-right: -20px;
    padding-left: 20px; padding-right: 20px;
  }
  .tgrid::-webkit-scrollbar { display: none; }
  .tcase { flex: 0 0 80%; scroll-snap-align: center; }
  .tgrid__fade, .tgrid__more { display: none !important; }
  /* no carrossel não há fade em baixo (a máscara é só para a grelha do PC) */
  .tcarousel.has-more .tgrid { -webkit-mask-image: none; mask-image: none; }
  .tcarousel__arrow {
    display: grid; place-items: center; position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
    width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
    border: 2px solid var(--gold);                       /* aro dourado: chama sem gritar */
    background: rgba(0,0,0,.62); color: var(--gold-br); font-size: 1.8rem; line-height: 1; padding-bottom: 3px;
    box-shadow: 0 4px 16px rgba(0,0,0,.5);
  }
  .tcarousel__arrow--prev { left: 6px; }
  .tcarousel__arrow--next { right: 6px; }
  /* nas extremidades a seta apaga-se: não fica ativa sem ter para onde ir */
  .tcarousel__arrow[disabled] { opacity: .22; pointer-events: none; border-color: rgba(255,255,255,.3); color: #fff; }
}
.tcase__cap { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 1.1rem; }

/* ---------- CTA de destaque (cartão dourado, depois das transformações) ---------- */
.cta { position: relative; z-index: 1; padding: clamp(1rem,3vw,2.5rem) 0 clamp(4rem,10vw,7rem); }
.cta__card {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  border-radius: clamp(20px, 3vw, 34px);
  padding: clamp(2.6rem,7vw,5.2rem) clamp(1.5rem,5vw,4rem);
  background: linear-gradient(142deg, #f0d9a0 0%, var(--gold) 46%, #b3904f 100%);
  box-shadow: 0 50px 90px -40px rgba(201,168,106,.45), inset 0 1px 0 rgba(255,255,255,.35);
}
/* brilho que atravessa o cartão de vez em quando — chama o olho sem ser exagerado */
.cta__glow {
  position: absolute; top: -60%; left: -35%; width: 45%; height: 220%; z-index: -1;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.5), rgba(255,255,255,0));
  transform: rotate(14deg); pointer-events: none;
  animation: ctaSheen 7s ease-in-out infinite;
}
@keyframes ctaSheen {
  0%, 62% { left: -35%; opacity: 0; }
  70%     { opacity: .9; }
  100%    { left: 105%; opacity: 0; }
}
.cta__eyebrow { text-transform: uppercase; letter-spacing: .26em; font-size: .68rem; font-weight: 800; color: #6b5324; }
.cta__title {
  font-family: var(--ff-serif); font-weight: 800; letter-spacing: -.015em;
  font-size: clamp(2.1rem, 6.4vw, 4.3rem); line-height: 1.02; margin-top: 1.1rem; color: #17130c;
}
/* italic em castanho profundo: contrasta com o dourado (o branco ficava lavado) */
.cta__title em { font-style: italic; color: #4a340f; text-shadow: 0 1px 0 rgba(255,255,255,.25); }
.cta__lead { max-width: 52ch; margin: 1.3rem auto 0; font-size: clamp(.98rem,1.5vw,1.08rem); line-height: 1.6; color: #40331c; }
.cta__lead strong { font-weight: 800; color: #17130c; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: clamp(1.8rem,4vw,2.6rem); }
.cta__btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 1.1rem 1.9rem; border-radius: 999px;
  font-family: var(--ff-sans); font-weight: 800; font-size: .96rem;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.cta__btn--primary { background: #14150f; color: var(--cream); box-shadow: 0 16px 34px -14px rgba(20,21,15,.7); }
.cta__btn--primary:hover { background: #000; transform: translateY(-3px); }
.cta__btn--ghost { border: 1.5px solid rgba(28,23,16,.4); color: #1c1710; }
.cta__btn--ghost:hover { border-color: #1c1710; background: rgba(255,255,255,.35); transform: translateY(-3px); }
.cta__note { margin-top: 1.5rem; font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: #5c4a22; }
@media (max-width: 640px) {
  .cta__actions { flex-direction: column; align-items: stretch; }
  .cta__btn { justify-content: center; }
  /* "Enviar mensagem pelo WhatsApp" tem de caber numa linha: nunca parte, e a
     fonte/espaçamentos encolhem com a largura do ecrã. */
  .cta__btn--ghost {
    white-space: nowrap; gap: .45rem;
    padding: 1.05rem .8rem;
    font-size: clamp(.8rem, 4vw, .96rem);   /* o maior tamanho que ainda cabe */
  }
  .cta__btn--ghost svg { flex: none; }
  /* mais folga no cartão para o botão ter espaço */
  .cta__card { padding-left: clamp(1rem,4vw,2rem); padding-right: clamp(1rem,4vw,2rem); }
}
/* ecrãs estreitos: margens menores e sem ícone, para o texto caber numa linha */
@media (max-width: 400px) {
  .cta .wrap { padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 380px) {
  .cta__btn--ghost svg { display: none; }
}

/* ---------- Slider antes/depois (comparação) ---------- */
.ba {
  --pos: 75%;
  position: relative; width: 100%; aspect-ratio: 3 / 4;
  border-radius: 16px; overflow: hidden; background: var(--bg-2);
  /* deixa o swipe na imagem rolar o carrossel/página; só a bola (.ba__handle)
     é que arrasta o comparador */
  touch-action: pan-x pan-y; user-select: none; -webkit-user-select: none; cursor: default;
}
.ba:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; -webkit-user-drag: none; pointer-events: none; }
/* "Antes" por cima, recortado até à barra; ao arrastar revela o "Depois" por baixo */
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); will-change: clip-path; }
.ba__tag {
  position: absolute; top: .8rem; z-index: 3; text-transform: uppercase; letter-spacing: .14em;
  font-size: .66rem; font-weight: 800; padding: .35rem .7rem; border-radius: 999px;
  background: rgba(0,0,0,.55); color: #fff; pointer-events: none;
}
.ba__tag--before { left: .8rem; }
.ba__tag--after { right: .8rem; background: var(--gold); color: #201a10; }
/* Linha divisória + pega */
.ba__divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; z-index: 4; pointer-events: none; box-shadow: 0 0 12px rgba(0,0,0,.35); }
.ba__handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #14150f;
  display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.35);
  /* a pega é o único ponto que arrasta o comparador */
  pointer-events: auto; touch-action: none; cursor: ew-resize;
}
/* área de toque invisível MAIOR à volta da bola: evita que um toque ligeiramente
   ao lado acerte na imagem e o carrossel deslize em vez de revelar */
.ba__handle::before {
  content: ""; position: absolute; inset: -18px; border-radius: 50%;
}

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
  .contact__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .faq__grid { grid-template-columns: 1fr; gap: 1.4rem; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .manifesto__grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .methodx__sticky { margin: 0; border-radius: 0; }

  /* Método no telemóvel: SEM pin nem scroll lateral (confundia — puxava-se para
     baixo e a tela andava para o lado). Painéis empilhados na vertical; o JS
     deteta este modo (vertical() em js/main.js) e não mexe em altura/transform. */
  .methodx { height: auto !important; }
  .methodx .hscroll__sticky {
    position: static; height: auto; display: block; overflow: visible;
    padding: clamp(2.5rem, 9vw, 4rem) 0;
  }
  .methodx__track {
    flex-direction: column; height: auto; align-items: stretch;
    gap: 1.1rem; padding: 0 20px;
    transform: none !important;
  }
  .mpanel, .mpanel--intro, .mpanel--cta { width: 100%; }
  .mpanel { padding: clamp(1.5rem, 6vw, 2.2rem); }
  .mpanel--intro { margin-bottom: .4rem; }
  .mpanel__hint { display: none; }              /* as setas "desliza" já não se aplicam */
  .methodx .hscroll__prog { display: none; }
  .tcard { flex-basis: 84%; }
  .foot__inner { flex-direction: column; }
  .foot__contact { text-align: left; }
  .pill { top: 16px; }
  .pill--menu { right: 16px; }
  .hero { padding: 0; }
  .hero__frame { border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal, .reveal-line > span { opacity: 1 !important; transform: none !important; }
  .hlw__ink { opacity: 1 !important; }
  .hl-lines { display: none; }
  .cta__glow, .promo__glow { display: none; }   /* sem animação, o brilho não deve ficar parado à vista */
  /* Scroll horizontal (Método/Galeria) sem pin: itens empilhados na vertical */
  .hscroll { height: auto !important; }
  .hscroll__sticky { position: static; height: auto; padding: clamp(3rem,8vw,5rem) 0; }
  .hscroll__track { flex-direction: column; height: auto; transform: none !important; align-items: stretch; gap: 1.4rem; padding: 0 clamp(1.4rem,6vw,3rem); }
  .mpanel, .gitem--intro { width: auto; }
  .gitem--intro { margin-right: 0; }
  /* Galeria sem pin: colunas desfeitas, fotos empilhadas ao natural */
  .gcol { height: auto; row-gap: 1.4rem; }
  .gph--bot, .gph--mid, .gquote--bot { margin: 0; }
  .gph__imgw { width: auto; height: auto; }
  .gph__imgw img { width: 100%; height: auto; margin: 0; transform: none !important; }
  .gspacer { display: none; }
  .gquote { width: auto; max-width: 40ch; margin: 1rem 0; }
  .hscroll__prog { display: none; }
}
