/* =========================================================
   TRUE SHAPE SALON — Folha de estilo principal
   Estrutura:
   01. Fontes da marca
   02. Tokens
   03. Reset & base
   04. Tipografia
   05. Botões & links
   06. Cursor personalizado
   07. Header
   08. Hero (home)
   09. Hero (páginas internas)
   10. Marquee
   11. Colagem de imagens
   12. Especialidades (sticky scroll)
   13. Favoritos / lista de preços
   14. Sobre
   15. Serviços
   16. Localizações
   17. Equipa
   18. Oferta / destaque
   19. Próxima página
   20. Footer
   21. Banner de cookies
   22. Páginas legais
   23. Animações de revelação
   24. Responsivo
   ========================================================= */

/* ---------- 01. Fontes da marca ----------
   Rahong (títulos) e Evolventa (textos) não existem no Google Fonts.
   Coloca os ficheiros .woff2 em assets/fonts/ e são usados automaticamente;
   enquanto não existirem, o browser cai nas alternativas do Google
   (Anton e Jost) declaradas nas font stacks abaixo. */
@font-face {
  font-family: "Rahong";
  src: url("assets/fonts/Rahong.woff2") format("woff2"),
       url("assets/fonts/Rahong.woff") format("woff");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Evolventa";
  src: url("assets/fonts/Evolventa-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Evolventa";
  src: url("assets/fonts/Evolventa-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- 02. Tokens ---------- */
:root {
  /* paleta da marca */
  --white: #ffffff;
  --smoke: #e3e3e3;
  --ink: #000000;
  --amber: #d48011;
  --amber-dark: #a9640c;

  --ink-60: rgba(0, 0, 0, 0.6);
  --ink-40: rgba(0, 0, 0, 0.4);
  --ink-20: rgba(0, 0, 0, 0.2);
  --ink-08: rgba(0, 0, 0, 0.08);
  --white-65: rgba(255, 255, 255, 0.65);
  --white-20: rgba(255, 255, 255, 0.2);

  /* tipografia da marca */
  --font-display: "Rahong", "Anton", "Archivo", sans-serif;
  --font-ui: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Evolventa", "Jost", "Century Gothic", sans-serif;

  --wrap: 1520px;
  --gutter: 40px;

  --ease: cubic-bezier(0.44, 0, 0.56, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --header-h: 96px;
}

/* ---------- 03. Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Cursor personalizado só em ponteiro fino */
@media (hover: hover) and (pointer: fine) {
  body.has-cursor,
  body.has-cursor a,
  body.has-cursor button { cursor: none; }
}

img,
video { display: block; max-width: 100%; }

h1, h2, h3, h4, p, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: 976px; }

.section { padding-block: 120px; }
.section--tight { padding-block: 80px; }
.section--alt { background: var(--smoke); }
.section--dark {
  background: var(--ink);
  color: var(--white);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* marcador de conteúdo por confirmar com o cliente */
.tbd {
  color: var(--amber);
  border-bottom: 1px dashed currentColor;
}
.section--dark .tbd { color: var(--amber); }

/* ---------- 04. Tipografia ---------- */
.display,
.h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.display { font-size: clamp(2.5rem, 6.6vw, 5rem); }
.h1 { font-size: clamp(2.25rem, 5.6vw, 4rem); }
.h2 { font-size: clamp(1.85rem, 4.2vw, 3.25rem); line-height: 1.14; }

/* nível 3 em DM Sans — o manual da marca usa Rahong *e* DM Sans nos destaques */
.h3 {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: none;
}

.eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--amber);
}
/* eyebrow da Experiência do Cliente: maior e mais grossa que a norma do site */
.split__body .eyebrow { font-size: 13px; font-weight: 700; }

.lead {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  line-height: 1.5;
}

.body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-60);
  max-width: 66ch;
}

.section--dark .body { color: rgba(255, 255, 255, 0.68); }

/* ---------- 05. Botões & links ---------- */
.btn {
  --btn-bg: var(--white);
  --btn-fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 32px;
  overflow: hidden;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  isolation: isolate;
}

/* Os dois rótulos ocupam a altura total do botão, para que translateY(±100%)
   os retire por completo da caixa — com uma percentagem menor o rótulo
   original ficava visível por baixo do duplicado durante o hover. */
.btn__label {
  display: flex;
  align-items: center;
  height: 100%;
  transition: transform 0.45s var(--ease);
}

/* rótulo duplicado que entra por baixo (roll hover) */
.btn__label--ghost {
  position: absolute;
  inset: 0;
  justify-content: center;
  transform: translateY(100%);
}

.btn:hover .btn__label { transform: translateY(-100%); }
.btn:hover .btn__label--ghost { transform: translateY(0); }

.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--white); }
/* âmbar da marca com texto preto — o branco não teria contraste suficiente */
.btn--amber { --btn-bg: var(--amber); --btn-fg: var(--ink); }
.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink-20);
}
.btn--glass {
  --btn-bg: var(--white-65);
  --btn-fg: var(--ink);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.section--dark .btn--outline {
  --btn-fg: var(--white);
  box-shadow: inset 0 0 0 1px var(--white-20);
}

.btn--sm { height: 44px; padding: 0 24px; }

/* link com sublinhado que cresce */
.link-u {
  position: relative;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.link-u::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.link-u:hover::after { transform: scaleX(1); transform-origin: left; }

.star {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  fill: var(--amber);
}

/* ---------- 06. Cursor personalizado ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 999;
  pointer-events: none;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cursor.is-visible { opacity: 1; }

.cursor__ring {
  position: absolute;
  width: 36px; height: 36px;
  margin: -18px 0 0 -18px;
  border: 1px solid var(--white);
  border-radius: 50%;
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out),
              margin 0.35s var(--ease-out), background-color 0.35s var(--ease-out);
}
.cursor__dot {
  position: absolute;
  width: 4px; height: 4px;
  margin: -2px 0 0 -2px;
  background: var(--white);
  border-radius: 50%;
  transition: opacity 0.3s ease;
}
.cursor.is-hover .cursor__ring {
  width: 72px; height: 72px;
  margin: -36px 0 0 -36px;
  background: rgba(255, 255, 255, 0.12);
}
.cursor.is-hover .cursor__dot { opacity: 0; }

/* ---------- 07. Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 100;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  transition: transform 0.5s var(--ease), background-color 0.4s var(--ease);
}
.header.is-stuck {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.header.is-hidden { transform: translate3d(0, -100%, 0); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand { display: block; }
.brand img {
  display: block;
  height: 56px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  position: relative;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-block: 6px;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  position: relative;
  width: 22px; height: 1px;
  background: var(--ink);
  transition: background-color 0.2s linear;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px; height: 1px;
  background: var(--ink);
  transition: transform 0.4s var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 08. Hero (home) ---------- */
/* Ordem: imagem larga em cima, título por baixo, subtítulo e CTA.
   Nada de texto sobre a foto — era aí que a legibilidade se perdia,
   porque o mix-blend-mode invertia o título consoante o que estava atrás. */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: calc(var(--header-h) + 40px) 88px;
  background: var(--white);
  overflow: hidden;
}

/* margens em vez de gap único: o subtítulo tem de ficar colado ao título,
   e a imagem mais afastada dos dois */
.hero .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}

/* Banda da equipa na largura toda. 16:9 acompanha o recorte da
   fotografia de grupo, para manter o letreiro e as caras todas. */
.hero__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 56px;
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* Duas linhas: a segunda é bastante mais longa, por isso não leva medida
   máxima (senão quebrava numa terceira) e o corpo desce o suficiente para
   caber de uma ponta à outra em ecrãs correntes. */
.hero__title {
  max-width: none;
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  line-height: 1.12;
}

.hero__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

/* medida de leitura: o texto do hero passou de uma frase a um parágrafo.
   max-width fixo (não em ch) porque o parágrafo tem uma quebra manual a
   meio, a dividir as duas metades o mais equilibradas possível em nº de
   caracteres. Mesmo assim, no desktop mais estreito (~980px) a metade
   maior não cabe numa linha ao tamanho normal — daí o font-size um pouco
   menor nessa faixa, só até deixar de ser preciso (ver 1150px abaixo). */
.hero__sub {
  max-width: 950px;
  color: var(--ink-60);
  font-size: 1.15rem;
  line-height: 1.7;
}
@media (max-width: 1150px) {
  .hero__sub { font-size: 1rem; }
}


/* ---------- 09. Hero (páginas internas) ---------- */
.page-hero {
  padding-block: calc(var(--header-h) + 96px) 72px;
  text-align: center;
}
/* título e subtítulo no mesmo tamanho e com o mesmo espaçamento entre
   si em todas as páginas: 52px / 18px, 18px de distância — o padrão já
   usado na home e no Sobre. */
.page-hero__title {
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 4vw, 3.25rem);
}
.page-hero__sub {
  max-width: 900px;
  margin-inline: auto;
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink-60);
}
/* hero escuro (Serviços), como no original */
.page-hero--dark {
  background: var(--ink);
  color: var(--white);
}
.page-hero--dark .page-hero__sub { color: rgba(255, 255, 255, 0.65); }

/* com o hero preto, o header tem de inverter enquanto está no topo */
body[data-hero="dark"] .header:not(.is-stuck) { color: var(--white); }
body[data-hero="dark"] .header:not(.is-stuck) .brand img { filter: invert(1); }
body[data-hero="dark"] .header:not(.is-stuck) .nav-toggle span,
body[data-hero="dark"] .header:not(.is-stuck) .nav-toggle span::before,
body[data-hero="dark"] .header:not(.is-stuck) .nav-toggle span::after {
  background: var(--white);
}

/* ...mas com o menu aberto o fundo é claro: desfaz-se a inversão, senão
   logótipo, links e ícone ficam brancos sobre branco (ecrã em branco) */
body[data-hero="dark"] .header.nav-open:not(.is-stuck) { color: var(--ink); }
body[data-hero="dark"] .header.nav-open:not(.is-stuck) .brand img { filter: none; }
body[data-hero="dark"] .header.nav-open:not(.is-stuck) .nav-toggle span,
body[data-hero="dark"] .header.nav-open:not(.is-stuck) .nav-toggle span::before,
body[data-hero="dark"] .header.nav-open:not(.is-stuck) .nav-toggle span::after {
  background: var(--ink);
}

/* menu aberto passa à frente do banner de cookies (z-index 200) */
.header.nav-open { z-index: 300; }

.page-hero__media {
  margin-top: 64px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.page-hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ---------- 10. Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 24px;
  border-block: 1px solid var(--ink-08);
  user-select: none;
}
.marquee--dark {
  background: var(--ink);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.12);
}
.marquee--amber {
  background: var(--amber);
  color: var(--ink);
  border-color: rgba(0, 0, 0, 0.12);
}
.marquee--amber .marquee__item .star { fill: var(--ink); }
.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-inline: 32px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 3.25rem);
  line-height: 1.16;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__item .star { width: 0.42em; height: 0.42em; flex: none; fill: var(--amber); }
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ---------- 11. Colagem de imagens ----------
   Reproduz a grelha do original: 8 colunas com goteira de 24px e 20 linhas
   iguais, onde as imagens se sobrepõem por partilharem colunas e linhas.
   O aspect-ratio mantém as proporções em qualquer largura. */
.collage {
  position: relative;
  width: 100%;
  max-width: 1128px;
  margin-inline: auto;
  aspect-ratio: 1128 / 800;
}
.collage--about { max-width: 896px; aspect-ratio: 896 / 800; }

.collage__item {
  position: absolute;
  overflow: hidden;
}
.collage__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
  transition: transform 0.9s var(--ease-out);
}
/* especificidade acima da regra de revelação, senão o hover não pega */
.collage__item.is-revealed:hover > img { transform: scale(1.04); }

/* home — 8 colunas de 120px com goteira de 24px em 1128px de largura:
   coluna = 10.638%, goteira = 2.128%, passo = 12.766%.
   Grande ao centro (col 2-7), duas verticais a sobrepor as extremidades. */
.collage__item--main  { left: 12.766%; width: 74.468%; top: 0;   height: 75%; }
.collage__item--left  { left: 0;       width: 23.404%; top: 40%; height: 45%; z-index: 2; }
.collage__item--right { left: 76.596%; width: 23.404%; top: 55%; height: 45%; z-index: 2; }

/* sobre — 8 colunas de 91px com goteira de 24px em 896px: passo = 12.835%.
   Duas colunas desencontradas e uma horizontal a cavalgar a junta. */
.collage__item--a { left: 0;       width: 48.66%; top: 0;   height: 75%; }
.collage__item--b { left: 51.34%;  width: 48.66%; top: 20%; height: 75%; }
.collage__item--c { left: 38.504%; width: 22.99%; top: 65%; height: 35%; z-index: 2; }

/* ---------- 12. Especialidades (sticky scroll) ---------- */
.spec { position: relative; }
.spec__sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: flex;
  align-items: center;
}
.spec__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  width: 100%;
}
.spec__intro { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.spec__list { display: flex; flex-direction: column; gap: 10px; }
.spec__item a {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  overflow: hidden;
}

/* seta depois do nome do serviço, sempre visível, a sinalizar que o
   link abre outra página; avança um pouco no hover */
.spec__arrow {
  width: clamp(12px, 1.5vw, 18px);
  height: clamp(12px, 1.5vw, 18px);
  flex: 0 0 auto;
  fill: var(--amber);
  transition: transform 0.5s var(--ease-out);
}
.spec__item a:hover .spec__arrow { transform: translateX(6px); }
/* todos os serviços ficam a preto; quem marca o ativo é uma linha âmbar
   por baixo do nome, não mais ao lado — o texto fica encostado à esquerda. */
.spec__label {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  text-transform: uppercase;
  line-height: 1.1;
}
.spec__label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0.2);
  transform-origin: left;
  opacity: 0.35;
  transition: transform 0.6s var(--ease-out), opacity 0.6s var(--ease-out);
}
.spec__item.is-active .spec__label::after { transform: scaleX(1); opacity: 1; }

.spec__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.spec__media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.8s var(--ease), transform 1.2s var(--ease-out);
}
.spec__media img.is-active { opacity: 1; transform: scale(1); }

/* ---------- 13. Favoritos / lista de preços ---------- */
.list-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
}

.price-list { display: flex; flex-direction: column; }

.price-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 26px;
  border-bottom: 1px solid var(--ink-08);
  overflow: hidden;
}
.section--dark .price-row { border-color: rgba(255, 255, 255, 0.14); }
.price-row:first-child { border-top: 1px solid var(--ink-08); }
.section--dark .price-row:first-child { border-color: rgba(255, 255, 255, 0.14); }

.price-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--amber);
  opacity: 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
}
.price-row:hover::before { opacity: 0.12; transform: scaleY(1); }

.price-row__name {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 16px;
  transition: transform 0.5s var(--ease-out);
}
.price-row:hover .price-row__name { transform: translateX(16px); }

.price-row__meta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  transition: transform 0.5s var(--ease-out);
}
.price-row:hover .price-row__meta { transform: translateX(-16px); }

.price-row__price {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 1.15rem;
}
.price-row__cta {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-out);
}
.price-row:hover .price-row__cta { opacity: 1; transform: translateX(0); }

@media (max-width: 700px) {
  .price-row__cta { display: none; }
}

/* ---------- 14. Sobre ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 64px;
  align-items: center;
}
.about-intro__media { aspect-ratio: 4 / 5; overflow: hidden; }
.about-intro__media img { width: 100%; height: 100%; object-fit: cover; }

/* hero do Sobre: colagem, título por baixo e o texto a seguir.
   Tamanho e espaçamento do título já vêm do .page-hero__title comum;
   só falta o espaço acima, por causa da colagem. */
.about-hero__collage + .page-hero__title { margin-top: 64px; }
.about-hero__text {
  max-width: 950px;
  margin: 0 auto 0;
  font-size: 1.15rem;
}

.story {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  max-width: 760px;
  margin-inline: auto;
  text-align: left;
}
.story .star { width: 20px; height: 20px; margin-top: 8px; }

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value { display: flex; flex-direction: column; gap: 16px; }
.value .star { width: 18px; height: 18px; }

/* ---------- 15. Serviços ----------
   Estrutura do original: cada categoria é um bloco com 64px de respiro
   vertical, título e uma grelha de duas colunas com goteira de 80px.
   Cada linha é compacta (12px, caixa alta) com uma linha condutora entre
   o nome e o preço. */
.treat-list { max-width: 1128px; margin-inline: auto; }

.treat-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-block: 64px;
}

.treat-block__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255, 255, 255, 0.65);
}

.treat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 80px;
}

.treat-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  overflow: hidden;
  isolation: isolate;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.35s var(--ease);
}

/* separador fino no topo de cada linha */
.treat-row::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 1;
}

/* preenchimento que sobe no hover */
.treat-row::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--amber);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease-out);
  z-index: 0;
}
.treat-row:hover::after { transform: scaleY(1); }
.treat-row:hover { color: var(--ink); }

.treat-row > * { position: relative; z-index: 2; }

.treat-row__line {
  flex: 1 1 auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  transition: background-color 0.35s var(--ease);
}
.treat-row:hover .treat-row__line { background: rgba(0, 0, 0, 0.3); }

.treat-row__price { white-space: nowrap; }

/* duração do serviço, discreta a seguir ao nome */
.treat-row__dur {
  white-space: nowrap;
  opacity: 0.45;
  font-size: 12px;
}
.treat-row:hover .treat-row__dur { opacity: 0.7; }

.treat-note {
  max-width: 62ch;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.7;
}
.treat-row:hover .tbd { color: var(--ink); }

/* ---------- 16. Localizações ---------- */
.loc + .loc { margin-top: 120px; }
.loc__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 64px;
  align-items: start;
}
.loc__info { display: flex; flex-direction: column; gap: 24px; }
.loc__details { display: flex; flex-direction: column; gap: 6px; }
.loc__details a:hover { color: var(--amber); }
.loc__hours {
  margin-top: 12px;
  color: var(--ink-60);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.loc__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.loc__media figure { overflow: hidden; aspect-ratio: 3 / 4; margin: 0; }
.loc__media figure:nth-child(2) { margin-top: 56px; }
.loc__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.loc__media figure.is-revealed:hover > img { transform: scale(1.05); }

/* ---------- 17. Equipa ---------- */
.barber-group + .barber-group { margin-top: 112px; }
.barber-group__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--ink-08);
}
.barbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.barber__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin-bottom: 20px;
}
.barber__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out), filter 0.6s var(--ease);
}
/* sem foto: mostra só a marca, centrada, em vez de esticar/cortar o logótipo */
.barber__media--logo { background: var(--smoke); }
.barber__media--logo img {
  object-fit: contain;
  padding: 18%;
  box-sizing: border-box;
}
.barber:hover .barber__media img { transform: scale(1.05); }
.barber__book {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out);
}
.barber:hover .barber__book { transform: translateY(0); }
.barber__book .btn { width: 100%; }
.barber__role { color: var(--ink-60); margin-top: 6px; }

/* ---------- 18. Oferta / destaque ---------- */
.offer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}
.offer img {
  position: absolute;
  top: -10%; left: 0;
  width: 100%; height: 120%;
  object-fit: cover;
  object-position: center 68%;
  z-index: 0;
  will-change: transform;
}
.offer__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.5);
}
.offer__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 96px 24px;
}

/* ---------- 19. Próxima página ---------- */
/* coluna: o rótulo fica sempre por cima do título, nunca ao lado
   (com display:block os dois spans inline-flex caíam na mesma linha) */
.next {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-block: 96px;
  text-align: center;
  border-top: 1px solid var(--ink-08);
}
.next__label {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* A seta fica fora do fluxo (absoluta, à direita do texto) para não
   entrar na medida do bloco: assim o título fica mesmo centrado em
   repouso e só desliza para a esquerda quando o rato passa por cima. */
.next__title {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.next__title > span {
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.next__title svg {
  position: absolute;
  left: calc(100% + 20px);
  top: 50%;
  width: 0.5em; height: 0.5em;
  margin-top: -0.25em;
  fill: var(--amber);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.45s var(--ease), transform 0.6s var(--ease-out);
}
.next:hover .next__title > span { transform: translateX(-24px); }
.next:hover .next__title svg { opacity: 1; transform: translateX(-24px); }

/* ---------- 20. Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--white);
  padding-block: 96px 40px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px 24px;
  padding-bottom: 72px;
}
/* logo preto sobre fundo escuro → invertido para branco */
.footer__brand { display: block; margin-bottom: 28px; }
.footer__brand img {
  width: 210px;
  max-width: 60%;
  height: auto;
  filter: invert(1);
}
.footer__tagline {
  color: var(--white);
  max-width: 34ch;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  text-transform: uppercase;
  line-height: 1.25;
}
.footer__words {
  margin-top: 14px;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}
.footer__col h4 {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col a { position: relative; }
/* nota pequena por baixo do número de telefone, sem ser um link */
.footer__note {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}
.footer__col a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.footer__col a:hover::after { transform: scaleX(1); transform-origin: left; }

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.footer__legal a:hover { color: var(--amber); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.footer__credit a { color: var(--amber); }
.footer__credit a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 21. Banner de cookies ----------
   Popup pequeno, ancorado ao canto inferior esquerdo (não uma barra a toda
   a largura). No mobile volta a ficar a toda a largura: width:100vw em vez
   de depender de right:0, que pode expandir o cartão para lá do viewport
   quando há overflow no documento. */
.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: 380px;
  max-width: calc(100vw - 48px);
  max-height: calc(100svh - 48px);
  overflow-y: auto;
  z-index: 200;
  box-sizing: border-box;
  background: var(--ink);
  color: var(--white);
  border-radius: 16px;
  padding: 28px;
  transform: translate3d(0, calc(100% + 24px), 0);
  -webkit-transform: translate3d(0, calc(100% + 24px), 0);
  transition: transform 0.6s var(--ease-out);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
}
.cookie-banner.is-open { transform: translate3d(0, 0, 0); }

.cookie-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.cookie-banner__text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}
.cookie-banner__text a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}
.cookie-banner__actions .btn { width: 100%; height: 44px; padding: 0 24px; }
/* no banner preto, o botão preto desapareceria — usa-se âmbar e outline branco */
.cookie-banner .btn--outline {
  --btn-fg: var(--white);
  box-shadow: inset 0 0 0 1px var(--white-20);
}

.cookie-prefs {
  margin-top: 20px;
  padding-top: 20px;
  display: none;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.cookie-prefs.is-open { display: flex; }
.cookie-prefs label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}
.cookie-prefs input { margin-top: 4px; accent-color: var(--amber); flex: none; }
.cookie-prefs strong { color: var(--white); font-weight: 500; }
.cookie-prefs .btn--sm { width: 100%; }

/* ---------- 22. Páginas legais ---------- */

/* transição leve entre o site e a política de privacidade / de cookies:
   um crossfade curto e discreto, sem movimento de câmara nem slide, para
   não pesar em páginas de texto simples. script.js intercepta o clique
   nestes links, aplica .is-leaving e só então navega; a página de chegada
   nasce com .legal-enter, que se desvanece após o load. */
body.is-leaving {
  opacity: 0;
  transition: opacity 0.22s var(--ease-out);
}
body[data-page="privacidade"],
body[data-page="cookies"] {
  animation: legalFadeIn 0.38s var(--ease-out) both;
}
@keyframes legalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  body.is-leaving { transition: none; opacity: 1; }
  body[data-page="privacidade"],
  body[data-page="cookies"] { animation: none; }
}

.legal { padding-block: calc(var(--header-h) + 88px) 96px; }
.legal__meta {
  margin-bottom: 48px;
  color: var(--ink-40);
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.legal h2 {
  margin: 56px 0 16px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.legal h3 {
  margin: 32px 0 12px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 1.15rem;
}
.legal p,
.legal li { color: var(--ink-60); line-height: 1.75; }
.legal p + p { margin-top: 14px; }
.legal ul {
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal ul li { position: relative; padding-left: 22px; }
.legal ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 1px;
  background: var(--amber);
}
.legal a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }

.legal__table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  font-size: 15px;
}
.legal__table th,
.legal__table td {
  text-align: left;
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--ink-08);
  vertical-align: top;
  color: var(--ink-60);
}
.legal__table th {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}
.legal__scroll { overflow-x: auto; }

/* ---------- 23. Animações de revelação ---------- */
/* palavras / caracteres */
.split-word,
.split-char {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(0.4em);
  will-change: transform, opacity, filter;
}
.is-revealed .split-word,
.is-revealed .split-char {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
  transition: opacity 0.8s var(--ease-out), filter 0.8s var(--ease-out),
              transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}

/* blocos */
[data-reveal="up"],
[data-reveal="fade"] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
[data-reveal="fade"] { transform: none; }
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* Imagens com máscara.
   A revelação é feita movendo a imagem dentro de um contentor com
   overflow:hidden — e NÃO com clip-path no próprio elemento observado.
   O Chrome calcula o intersectionRatio do IntersectionObserver já com o
   clip aplicado: com clip-path a zerar a área, o rácio é sempre 0, nunca
   chega ao threshold e a imagem nunca era revelada. */
[data-reveal="mask"] { overflow: hidden; }
[data-reveal="mask"] > img,
[data-reveal="mask"] > picture > img {
  transform: translateY(101%) scale(1.12);
  transition: transform 1.3s var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: transform;
}
[data-reveal="mask"].is-revealed > img,
[data-reveal="mask"].is-revealed > picture > img {
  transform: translateY(0) scale(1);
}

/* linhas de lista */
[data-reveal="row"] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
[data-reveal="row"].is-revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .split-word,
  .split-char,
  [data-reveal] { opacity: 1 !important; filter: none !important; transform: none !important; clip-path: none !important; }
  .cursor { display: none; }
}

/* ---------- 24. Responsivo ---------- */
@media (max-width: 1160px) {
  .nav { gap: 24px; }
  .brand img { height: 48px; }
}

@media (max-width: 1100px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .barbers-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  :root { --gutter: 24px; --header-h: 80px; }

  .section { padding-block: 80px; }

  .nav-toggle { display: inline-flex; }

  .header__inner { position: relative; }
  .brand,
  .nav-toggle { position: relative; z-index: 2; }
  .brand img { height: 44px; }

  /* nav mobile: fade (nunca translateX — duplica a largura do documento) */
  .nav {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100svh;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    background: var(--white);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
    z-index: 1;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s var(--ease), visibility 0s linear 0s;
  }
  .nav__link { font-size: 14px; letter-spacing: 0.24em; }

  .header__cta { display: none; }

  /* no mobile a foto passa para cima da lista */
  .spec__grid { grid-template-columns: 1fr; gap: 40px; }
  .spec__grid > div:first-child { order: 2; }
  .spec__media { order: 1; aspect-ratio: 4 / 5; }
  .spec__sticky { min-height: auto; position: static; padding-block: 64px; }

  .about-intro,
  .loc__grid { grid-template-columns: 1fr; gap: 40px; }
  .values { grid-template-columns: 1fr; gap: 40px; }

  /* a colagem mantém as sobreposições, só fica mais alta para as fotos respirarem */
  .collage,
  .collage--about { aspect-ratio: 3 / 4; column-gap: 12px; }

  .about-hero__collage + .page-hero__title { margin-top: 40px; }
  .about-hero__text { margin-top: 40px; }

  .treat-grid { grid-template-columns: 1fr; column-gap: 0; }
  .treat-block { padding-block: 48px; }

  .hero__media { margin-bottom: 36px; }
  .hero__title { margin-bottom: 14px; }
  .hero__foot { gap: 28px; }
  .hero__media { aspect-ratio: 4 / 3; }
  .hero__media img { object-position: center 35%; }
  .hero__title { max-width: 100%; }

  .list-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .barber__book { transform: translateY(0); position: static; margin-top: 12px; }

  /* no mobile o popup volta a ser uma barra a toda a largura, colada ao
     fundo — um cartão pequeno no canto fica apertado a estas larguras, e
     width:100vw evita o overflow de right:0 (ver CLAUDE.md). */
  .cookie-banner {
    left: 0;
    bottom: 0;
    width: 100vw;
    max-width: none;
    max-height: calc(100svh - 32px);
    border-radius: 16px 16px 0 0;
    transform: translate3d(0, 100%, 0);
    -webkit-transform: translate3d(0, 100%, 0);
  }
}

@media (max-width: 620px) {
  .barbers-grid { grid-template-columns: 1fr; }
  .loc__media { grid-template-columns: 1fr; }
  .loc__media figure:nth-child(2) { margin-top: 0; }
  .price-row { padding-block: 20px; }
  .cookie-banner { padding: 20px 20px 24px; }
}

/* =========================================================
   REVISÃO "ALMA" — componentes novos
   Ver documento de diretrizes estratégicas da True Shape.
   ========================================================= */

/* ---------- Declarações grandes ---------- */
.statement {
  max-width: 32ch;
  margin-inline: auto;
  text-align: center;
}
.statement--wide { max-width: 40ch; }
.statement__sub {
  max-width: 80ch;
  margin: 32px auto 0;
  color: var(--ink-60);
  font-size: 1.15rem;
  line-height: 1.7;
}
.section--dark .statement__sub { color: rgba(255, 255, 255, 0.68); }

/* ---------- Bloco imagem + texto ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: 24px 56px;
  align-items: center;
}
.split__media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.split__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.split--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr); }
.split--flip .split__media { order: 2; }
/* parágrafos curtos de introdução: as duas ou três linhas ficam
   com o mesmo comprimento, em vez de sobrar uma palavra na última. */
.split__body .body,
.treat-list .body { text-wrap: balance; }

.split__body .body { max-width: none; }
.split__body { min-width: 0; display: flex; flex-direction: column; gap: 24px; }

/* ---------- Momentos: antes / durante / depois (ponto 7) ---------- */
.moments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 48px;
}
.moment {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-08);
}
.section--dark .moment { border-color: rgba(255, 255, 255, 0.16); }
.moment__step {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
}
.moment p { line-height: 1.7; color: var(--ink-60); }
.section--dark .moment p { color: rgba(255, 255, 255, 0.68); }
/* Experiência do Cliente: sem o rótulo Antes/Durante/Depois, é o traço
   por cima de cada linha que fica a amarelo/âmbar; o texto mantém a cor
   padrão do corpo. */
.moments--amber .moment { border-color: var(--amber); }

/* ---------- Prova social (ponto 13) ----------
   Três colunas de depoimentos em rolagem vertical contínua e infinita,
   cada uma a uma velocidade diferente. script.js duplica o conteúdo de
   cada .testi-track (tal como o marquee horizontal) para o loop de -50%
   ficar sem emenda. Sem reduced motion, o conteúdo fica só uma vez, sem
   animação — coluna estática e legível. */
.testi-cols {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-height: 640px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 8%, black 92%, transparent);
}
.testi-col { flex: 1 1 0; min-width: 0; overflow: hidden; }
.testi-track {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  animation: testiScroll 26s linear infinite;
}
.testi-col:hover .testi-track { animation-play-state: paused; }
.testi-col--b .testi-track { animation-duration: 32s; }
.testi-col--c .testi-track { animation-duration: 29s; }
@keyframes testiScroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -50%, 0); }
}
@media (max-width: 980px) {
  .testi-col--b, .testi-col--c { display: none; }
}
@media (min-width: 981px) and (max-width: 1150px) {
  .testi-col--c { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .testi-track { animation: none; }
}

.quote {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 24px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out),
              background 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.quote:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(212, 128, 17, 0.4);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
}
.quote p { line-height: 1.7; color: rgba(255, 255, 255, 0.78); }
/* sem foto de perfil: o nome do cliente fica encostado à esquerda do cartão,
   com um traço amarelo por cima a fazer as vezes do avatar */
.quote footer {
  position: relative;
  padding-top: 20px;
  text-align: left;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}
.quote footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

/* ---------- Manifesto do artista (ponto 18) ---------- */
.artist {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1100px;
  margin-inline: auto;
  text-align: center;
}
.artist p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.75rem);
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--ink);
}
/* uma linha só, mas apenas a partir do desktop: a frase mais longa (71
   caracteres) não cabe numa linha legível em ecrãs de telemóvel. */
@media (min-width: 981px) {
  .artist p { white-space: nowrap; }
}
/* a variante escura mantém o texto a branco */
.section--dark .artist p { color: var(--white); }

/* ---------- Em breve (Academia) ---------- */
.soon__eyebrow {
  font-size: clamp(0.95rem, 2.4vw, 1.5rem);
  letter-spacing: 0.4em;
  color: var(--amber);
}

.soon {
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  text-align: center;
  padding-block: calc(var(--header-h) + 64px) 96px;
}
.soon__title { max-width: 20ch; }
.soon__text {
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.15rem;
  line-height: 1.7;
}
.soon__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
}

/* num wrap estreito os três momentos ficariam com colunas demasiado
   curtas: no desktop largo saem um pouco para fora do wrap. */
@media (min-width: 1120px) {
  .wrap--narrow .moments {
    width: calc(100% + 180px);
    margin-inline: -90px;
  }
}

@media (min-width: 981px) and (max-width: 1200px) {
  :root { --gutter: 28px; }
}

/* abaixo de 1150 px as duas colunas do .split deixam a coluna de texto
   demasiado curta: passa a uma coluna só. */
@media (max-width: 1150px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--flip { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
}

@media (max-width: 980px) {
  .split,
  .moments { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .split { gap: 32px; }
  .statement { max-width: none; }
}

/* ---------- Palavras soltas no fim das linhas ----------
   Títulos: as linhas são equilibradas entre si, para não sobrar
   uma palavra sozinha na última.
   Texto corrido: o browser reserva palavras suficientes para a
   última linha nunca ficar órfã. */
h1, h2, h3, h4,
.display, .h1, .h2, .h3,
.statement,
.treat-block__title,
.footer__tagline,
.soon__title {
  text-wrap: balance;
}

p, li,
.body, .lead,
.hero__sub, .page-hero__sub,
.statement__sub, .soon__text, .treat-note,
.moment p, .quote p, .barber__role,
.loc__info .body {
  text-wrap: balance;
}

/* textos longos (políticas) não beneficiam do equilíbrio, só de evitar órfãs */
.legal p, .legal li { text-wrap: pretty; }
