/* ==========================================================================
   Pelo Fino — Pet Spa, Telheiras (Lisboa)
   --------------------------------------------------------------------------
   Direcção visual: fotografia a comandar, tipografia simples, azulejo como
   assinatura. Dois grotescos geométricos (Outfit para títulos, Instrument Sans
   para texto) e um padrão de azulejo desenhado à medida nos azuis do logótipo.
   Layout: grelhas assimétricas, imagens em arco que rompem as margens,
   e um sistema de movimento ligado ao scroll.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Cor — tema claro. Neutros com viés azul, nunca cinzento puro. */
  --porcelain:   #F3F9F8;
  --glaze:       #FFFFFF;
  --glaze-sunk:  #E9F2F1;
  --ink:         #112F2F;
  --haze:        #5c8c8b;
  --cobalt:      #1F8C91;
  --cobalt-soft: #DEF3F3;
  --aqua:        #32D0B1;
  --sand:        #D99C6A;
  --on-cobalt:   #FFFFFF;
  --deep:        #114445;   /* painéis cheios e scrims sobre fotografia */
  --on-deep:     #FFFFFF;
  --rule:        rgba(17,47,47, 0.13);
  --rule-soft:   rgba(17,47,47, 0.07);
  --shadow:      0 1px 2px rgba(17,47,47,.05), 0 14px 34px -16px rgba(17,47,47,.24);
  --shadow-lift: 0 2px 8px rgba(17,47,47,.07), 0 34px 60px -24px rgba(17,47,47,.34);

  /* A placa do logótipo é sempre clara: o lettering do logótipo é azul-escuro. */
  --plaque: #FFFFFF;

  /* Tipografia — duas geométricas simples, contraste feito por peso e escala. */
  --font-display: "Outfit", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  --font-body:    "Instrument Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;

  --step--2: clamp(0.8rem, 0.78rem + 0.10vw, 0.86rem);
  --step--1: clamp(0.94rem, 0.92rem + 0.12vw, 1rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.20vw, 1.09rem);
  --step-1:  clamp(1.18rem, 1.10rem + 0.42vw, 1.42rem);
  --step-2:  clamp(1.45rem, 1.28rem + 0.85vw, 2.05rem);
  --step-3:  clamp(1.95rem, 1.58rem + 1.85vw, 3.10rem);
  --step-4:  clamp(2.45rem, 1.80rem + 3.25vw, 4.40rem);
  --step-5:  clamp(2.90rem, 1.95rem + 4.70vw, 6.00rem);

  --gutter:     clamp(1rem, 0.55rem + 2.2vw, 2.6rem);
  --measure:    66ch;
  --wrap:       1260px;
  --wrap-tight: 940px;
  --radius:     6px;
  --radius-lg:  14px;
  --arch:       50% 50% var(--radius-lg) var(--radius-lg) / 44% 44% var(--radius-lg) var(--radius-lg);
  --band:       clamp(3.5rem, 2rem + 6vw, 7.5rem);

  --ease:       cubic-bezier(.16, .8, .3, 1);
  --pattern-alpha: 0.5;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --porcelain:   #091D1C;
    --glaze:       #102D2B;
    --glaze-sunk:  #0C2523;
    --ink:         #E8F5F4;
    --haze:        #94BBB9;
    --cobalt:      #81E0DE;
    --cobalt-soft: #184947;
    --aqua:        #5AE4C6;
    --sand:        #E0B187;
    --on-cobalt:   #092727;
    --deep:        #0D3433;
    --on-deep:     #EBF9F8;
    --rule:        rgba(215,244,241, 0.17);
    --rule-soft:   rgba(215,244,241, 0.08);
    --shadow:      0 1px 2px rgba(0,0,0,.34), 0 14px 34px -16px rgba(0,0,0,.66);
    --shadow-lift: 0 2px 8px rgba(0,0,0,.40), 0 34px 60px -24px rgba(0,0,0,.74);
    --pattern-alpha: 0.4;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --porcelain:   #091D1C;
  --glaze:       #102D2B;
  --glaze-sunk:  #0C2523;
  --ink:         #E8F5F4;
  --haze:        #94BBB9;
  --cobalt:      #81E0DE;
  --cobalt-soft: #184947;
  --aqua:        #5AE4C6;
  --sand:        #E0B187;
  --on-cobalt:   #092727;
  --deep:        #0D3433;
  --on-deep:     #EBF9F8;
  --rule:        rgba(215,244,241, 0.17);
  --rule-soft:   rgba(215,244,241, 0.08);
  --shadow:      0 1px 2px rgba(0,0,0,.34), 0 14px 34px -16px rgba(0,0,0,.66);
  --shadow-lift: 0 2px 8px rgba(0,0,0,.40), 0 34px 60px -24px rgba(0,0,0,.74);
  --pattern-alpha: 0.4;
  color-scheme: dark;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
/* SVG em linha dimensionam-se por atributo ou por regra própria. */
svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.028em;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--cobalt); color: var(--on-cobalt); }

.skip-link {
  position: absolute; left: var(--gutter); top: 0;
  transform: translateY(-140%);
  z-index: 200;
  background: var(--cobalt); color: var(--on-cobalt);
  padding: 0.7rem 1.1rem; border-radius: var(--radius);
  font-size: var(--step--1); font-weight: 600; text-decoration: none;
  transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0.6rem); }

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

/* --------------------------------------------------------------------------
   3. Padrão de azulejo (máscaras SVG, coloridas por token)
   -------------------------------------------------------------------------- */

:root {
  --tile-azulejo: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><g fill='none' stroke='%23000' stroke-width='1.5'><path d='M30 5 L55 30 L30 55 L5 30 Z'/><path d='M0 14 A14 14 0 0 0 14 0'/><path d='M46 0 A14 14 0 0 0 60 14'/><path d='M60 46 A14 14 0 0 0 46 60'/><path d='M14 60 A14 14 0 0 0 0 46'/></g><g fill='%23000'><ellipse cx='30' cy='34.2' rx='5.2' ry='4.2'/><ellipse cx='23.6' cy='27.6' rx='2.2' ry='2.8'/><ellipse cx='27.7' cy='24.3' rx='2.2' ry='2.9'/><ellipse cx='32.3' cy='24.3' rx='2.2' ry='2.9'/><ellipse cx='36.4' cy='27.6' rx='2.2' ry='2.8'/></g></svg>");

  --tile-espuma: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'><g fill='%23000'><circle cx='6.5' cy='6.5' r='1.15'/><circle cx='19.5' cy='19.5' r='1.15'/></g><g stroke='%23000' stroke-width='1' stroke-linecap='round'><path d='M19.5 4v5M17 6.5h5M6.5 17v5M4 19.5h5'/></g></svg>");

  --tile-rede: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'><g fill='none' stroke='%23000' stroke-width='1'><path d='M17 0 L34 17 L17 34 L0 17 Z'/></g></svg>");
}

.tile-pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-color: var(--tile-ink, var(--cobalt));
  opacity: var(--tile-alpha, var(--pattern-alpha));
  -webkit-mask-image: var(--tile-src, var(--tile-azulejo));
  mask-image: var(--tile-src, var(--tile-azulejo));
  -webkit-mask-size: var(--tile-size, 60px 60px);
  mask-size: var(--tile-size, 60px 60px);
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
}

/* Fita de azulejo usada como separador entre secções. */
.tile-rail {
  position: relative;
  height: 60px;
  background: var(--glaze-sunk);
  border-block: 1px solid var(--rule-soft);
  overflow: hidden;
  --tile-alpha: 0.4;
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */

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

.section { padding-block: var(--band); position: relative; }
.section--sunk { background: var(--glaze-sunk); }
.section--flush-top { padding-top: 0; }

.stack { display: flex; flex-direction: column; }
.stack > * { min-width: 0; }

/* --------------------------------------------------------------------------
   5. Tipografia partilhada
   -------------------------------------------------------------------------- */

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cobalt);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
}
.eyebrow::before {
  content: ""; width: 1.9rem; height: 1px;
  background: currentColor; flex: none; opacity: .6;
}
.eyebrow--plain::before { display: none; }

.lead {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--haze);
  max-width: 54ch;
}

.prose { max-width: var(--measure); }
.prose p + p { margin-top: 1.1em; }
.prose strong { font-weight: 600; color: var(--ink); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 62ch;
  margin-bottom: clamp(2rem, 1.2rem + 2.4vw, 3.6rem);
}
.section-head h2 { font-size: var(--step-3); }

/* Uma palavra realçada dentro de um título. */
h1 .hl { color: var(--cobalt); font-weight: 700; }
/* Nos títulos de secção a frase lê-se inteira: sem palavra noutra cor. */
h2 .hl { color: inherit; font-weight: inherit; }

/* --------------------------------------------------------------------------
   6. Botões
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--cobalt);
  color: var(--on-cobalt);
  box-shadow: 0 10px 26px -12px color-mix(in srgb, var(--cobalt) 70%, transparent);
}
.btn--primary:hover {
  background: color-mix(in srgb, var(--cobalt) 86%, var(--ink));
  box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--cobalt) 60%, transparent);
}

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--ghost:hover { border-color: var(--cobalt); color: var(--cobalt); }

.btn--sm { padding: 0.62rem 1.15rem; font-size: var(--step--2); }

.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.link-under {
  text-decoration: none;
  font-weight: 600;
  color: var(--cobalt);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 2px;
  transition: background-size .25s var(--ease);
}
.link-under:hover { background-size: 0% 1px; }

/* --------------------------------------------------------------------------
   7. Barra de progresso de leitura
   -------------------------------------------------------------------------- */

.progress {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0; right: 0;
  height: 2px;
  z-index: 120;
  background: transparent;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--cobalt), var(--aqua));
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* --------------------------------------------------------------------------
   8. Cabeçalho + navegação
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 100;
  background: color-mix(in srgb, var(--porcelain) 84%, transparent);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--rule-soft); }

.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; margin-right: auto; flex: none; }
/* O emblema do logótipo do cliente, recortado do lockup vertical. */
.brand__mark {
  width: 46px; height: 46px;
  flex: none;
  object-fit: contain;
  transition: transform .3s var(--ease);
}
.brand:hover .brand__mark { transform: scale(1.06); }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}
.brand__name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--haze);
  margin-top: 5px;
}

.nav { display: flex; align-items: center; gap: clamp(0.5rem, 1.3vw, 1.6rem); }
.nav a {
  text-decoration: none;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--haze);
  padding: 0.4rem 0.1rem;
  position: relative;
  transition: color .18s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; border-radius: 2px; background: var(--aqua);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .28s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-tools { display: flex; align-items: center; gap: 0.5rem; flex: none; }

.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease);
}
.icon-btn:hover { border-color: var(--cobalt); color: var(--cobalt); }
.icon-btn svg { width: 18px; height: 18px; }

.theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .moon { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .sun { display: none; }
}
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }

.nav-toggle { display: none; }

.mobile-nav {
  position: fixed; inset: 0; z-index: 150;
  background: var(--porcelain);
  padding: calc(env(safe-area-inset-top, 0px) + 1rem) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 2rem);
  display: flex; flex-direction: column; overflow-y: auto;
  animation: menu-in .3s var(--ease);
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
.mobile-nav__top { display: flex; justify-content: flex-end; }
.mobile-nav__links { display: flex; flex-direction: column; gap: 0.3rem; margin-block: auto; list-style: none; padding: 0; }
.mobile-nav__links a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.1rem + 4.4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  text-decoration: none;
  display: block;
  padding-block: 0.3em;
  border-bottom: 1px solid var(--rule-soft);
}
.mobile-nav__links a[aria-current="page"] { color: var(--cobalt); }
.mobile-nav__foot { display: grid; gap: 0.9rem; padding-top: 1.6rem; }
.mobile-nav__foot .btn { width: 100%; }

@media (max-width: 880px) {
  .nav { display: none; }
  .nav-toggle { display: grid; }
}

/* Barra de acção fixa no telemóvel: abaixo dos 560px o cabeçalho não tem
   espaço para marca + ferramentas + CTA sem empurrar a página para fora. */
.mobile-cta { display: none; }

@media (max-width: 560px) {
  .brand__name { font-size: 1.14rem; }
  .brand__name small { display: none; }
  .site-header .header-tools .btn,
  .site-header .theme-toggle { display: none; }

  .mobile-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.6rem;
    position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 90;
    padding: 0.7rem var(--gutter);
    padding-bottom: calc(0.7rem + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--porcelain) 90%, transparent);
    backdrop-filter: saturate(160%) blur(16px);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    border-top: 1px solid var(--rule);
  }
  .mobile-cta .btn { width: 100%; padding-inline: 1.2rem; }
  .site-footer { padding-bottom: 5.5rem; }
}

/* --------------------------------------------------------------------------
   9. Media — fotografia e vídeo
   -------------------------------------------------------------------------- */

.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--glaze-sunk);
  isolation: isolate;
}
.media > img, .media > video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.media--arch { border-radius: var(--arch); }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }
.media--wide { aspect-ratio: 16 / 10; }
.media--cine { aspect-ratio: 21 / 9; }

/* Zoom suave ao passar o rato (só onde o cartão é clicável). */
.zoom > img, .zoom > video { transition: transform .8s var(--ease); }
a:hover .zoom > img, a:hover .zoom > video,
.zoom:hover > img, .zoom:hover > video { transform: scale(1.055); }

/* Véu que garante contraste do texto sobre a imagem. */
.scrim::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(190deg,
    color-mix(in srgb, var(--deep) 30%, transparent) 0%,
    color-mix(in srgb, var(--deep) 12%, transparent) 38%,
    color-mix(in srgb, var(--deep) 82%, transparent) 100%);
  pointer-events: none;
}

.media__caption {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1.3rem 1.1rem;
  color: #fff;
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(to top, rgba(10,38,38,.78), transparent);
}

/* Painel de azulejo no lugar de uma fotografia que ainda não existe. */
.media--tile {
  display: grid;
  place-items: center;
  background: linear-gradient(150deg,
    color-mix(in srgb, var(--cobalt) 14%, var(--glaze)),
    color-mix(in srgb, var(--aqua) 10%, var(--glaze)));
  --tile-alpha: 0.3;
}
.media--tile > span {
  position: relative; z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.2rem + 3vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--cobalt);
}

/* Etiqueta em vidro sobre fotografia. */
.chip-glass {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.26);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.chip-glass svg { width: 14px; height: 14px; }

/* --------------------------------------------------------------------------
   10. Herói com vídeo
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: #fff;
  min-height: max(560px, calc(100svh - var(--header-h, 72px)));
  display: grid;
  align-items: end;
}

.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__bg video, .hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
  /* o parallax escreve --hero-shift; a imagem é maior para ter folga */
  transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1.08);
  will-change: transform;
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(9,35,36,.82) 0%, rgba(9,35,36,.28) 42%, rgba(9,35,36,0) 70%),
    linear-gradient(to right, rgba(9,35,36,.74) 0%, rgba(9,35,36,.3) 40%, transparent 64%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: clamp(2.6rem, 1.6rem + 4vw, 5rem);
  display: grid;
  gap: 1.5rem;
  justify-items: start;
}

.hero h1 {
  font-size: var(--step-5);
  font-weight: 300;
  letter-spacing: -0.042em;
  line-height: 0.98;
  max-width: 16ch;
  color: #fff;
}
.hero h1 .hl { font-weight: 700; color: #fff; }

.hero .lead { color: rgba(255,255,255,.84); max-width: 46ch; }
.hero .eyebrow { color: rgba(255,255,255,.82); }

.hero__meta {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem;
  font-size: var(--step--1);
  color: rgba(255,255,255,.78);
  padding-top: 1rem;
  margin-top: 0.4rem;
  border-top: 1px solid rgba(255,255,255,.2);
  width: 100%;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__meta svg { width: 15px; height: 15px; flex: none; opacity: .8; }

.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.12); color: #fff; }

/* Controlo de pausa do vídeo, discreto no canto.
   Qualquer vídeo que arranque sozinho tem de ter forma de o parar. */
.video-toggle {
  position: absolute;
  z-index: 3;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.34);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.video-toggle:hover { background: rgba(255,255,255,.24); transform: scale(1.06); }
.video-toggle svg { width: 16px; height: 16px; }
.video-toggle .icon-play { display: none; }
.video-toggle[aria-pressed="true"] .icon-play { display: block; }
.video-toggle[aria-pressed="true"] .icon-pause { display: none; }

.hero > .video-toggle { right: var(--gutter); bottom: clamp(1.2rem, 3vw, 2.2rem); }
.media > .video-toggle { right: 0.9rem; bottom: 0.9rem; }

/* --------------------------------------------------------------------------
   11. Faixa em movimento
   -------------------------------------------------------------------------- */

.marquee {
  position: relative;
  border-block: 1px solid var(--rule);
  background: var(--cobalt-soft);
  overflow: hidden;
  padding-block: clamp(0.65rem, 0.5rem + 0.7vw, 1rem);
  --tile-src: var(--tile-espuma);
  --tile-size: 26px 26px;
  --tile-alpha: 0.16;
}
.marquee__track { position: relative; z-index: 1; display: flex; width: max-content; animation: marquee 44s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 2.8rem); padding-right: clamp(1.4rem, 3vw, 2.8rem); flex: none; }
.marquee__group span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(0.95rem, 0.8rem + 0.7vw, 1.35rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}
.marquee__group svg { width: 14px; height: 14px; fill: var(--cobalt); flex: none; opacity: .7; }
.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee { overflow-x: auto; }
}

/* --------------------------------------------------------------------------
   12. Bloco editorial
   -------------------------------------------------------------------------- */

.editorial__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.8rem, 1rem + 3.4vw, 4.5rem);
  align-items: center;
}

.pullquote {
  border-left: 3px solid var(--aqua);
  padding: 0.2rem 0 0.2rem 1.4rem;
  margin-block: 1.8rem;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.22;
  color: var(--ink);
}

/* Duas imagens sobrepostas, uma delas a romper a margem. */
.photo-pair { position: relative; }
.photo-pair .media--main { width: 100%; }
.photo-pair .media--inset {
  position: absolute;
  right: clamp(-1.4rem, -2vw, 0rem);
  bottom: clamp(-1.6rem, -2.4vw, -1rem);
  width: clamp(130px, 38%, 220px);
  border: 5px solid var(--porcelain);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}
.section--sunk .photo-pair .media--inset { border-color: var(--glaze-sunk); }

.checklist { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: var(--step--1); color: var(--haze); line-height: 1.55; }
.checklist li svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--aqua); }
.checklist li b { color: var(--ink); font-weight: 600; }

@media (max-width: 860px) { .editorial__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   13. Serviços
   -------------------------------------------------------------------------- */

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 268px), 1fr));
  gap: clamp(1rem, 0.6rem + 1.4vw, 1.6rem);
}

.service {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--glaze);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
a.service:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: transparent; }

.service .media { border-radius: 0; aspect-ratio: 16 / 11; }
.service__body { padding: clamp(1.1rem, 0.9rem + 0.7vw, 1.5rem); display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }

.service__icon { width: 30px; height: 30px; color: var(--cobalt); transition: color .22s var(--ease); }
.service__icon svg { width: 100%; height: 100%; }
a.service:hover .service__icon { color: var(--aqua); }

.service h3 { font-size: var(--step-1); font-weight: 600; letter-spacing: -0.028em; }
.service p { font-size: var(--step--1); color: var(--haze); line-height: 1.55; }

.service__more {
  margin-top: auto; padding-top: 0.8rem;
  font-size: var(--step--2); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cobalt);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
a.service:hover .service__more svg { transform: translateX(3px); }
.service__more svg { transition: transform .2s var(--ease); }

/* --------------------------------------------------------------------------
   14. O ritual — sequência com barra de progresso ligada ao scroll
   -------------------------------------------------------------------------- */

.ritual-wrap { position: relative; }

/* Seis passos: 3x2 no desktop, 2x3 em tablet, uma coluna no telemóvel.
   Colunas fixas em vez de auto-fit, para as linhas nunca ficarem órfãs. */
.ritual {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.6rem, 0.9rem + 2.2vw, 2.6rem);
}
@media (min-width: 560px) { .ritual { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 940px) { .ritual { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ritual li { position: relative; padding-top: 2.4rem; }
.ritual li::after {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: var(--rule);
}
.ritual__num {
  position: absolute; top: -0.95rem; left: 0;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--porcelain);
  color: var(--cobalt);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  z-index: 1;
}
.section--sunk .ritual__num { background: var(--glaze-sunk); }
.ritual__num::before {
  content: "";
  position: absolute; inset: 2px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: .5;
  transition: transform .5s var(--ease), opacity .3s var(--ease);
}
.ritual li.is-in .ritual__num::before { transform: rotate(135deg); opacity: 1; }
.ritual h3 { font-size: var(--step-1); font-weight: 600; margin-bottom: 0.45rem; }
.ritual p { font-size: var(--step--1); color: var(--haze); line-height: 1.55; }

/* --------------------------------------------------------------------------
   15. Galeria em fita horizontal
   -------------------------------------------------------------------------- */

.strip {
  display: flex;
  gap: clamp(0.8rem, 0.5rem + 1vw, 1.3rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-block: 0.4rem 1.6rem;
  padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: thin;
  cursor: grab;
}
.strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.strip.is-dragging * { pointer-events: none; }
.strip::-webkit-scrollbar { height: 6px; }
.strip::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 999px; }
.strip::-webkit-scrollbar-track { background: transparent; }

.strip figure {
  margin: 0; flex: none;
  width: clamp(230px, 30vw, 340px);
  scroll-snap-align: start;
}
.strip .media { aspect-ratio: 4 / 5; }
.strip figcaption {
  padding-top: 0.7rem;
  font-size: var(--step--2);
  color: var(--haze);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.strip-hint {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--step--2); color: var(--haze);
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
}
.strip-hint svg { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   16. Secção de vídeo
   -------------------------------------------------------------------------- */

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.8rem, 1rem + 3.4vw, 4rem);
  align-items: center;
}
.showcase .media { aspect-ratio: 4 / 3; box-shadow: var(--shadow-lift); }
@media (max-width: 860px) { .showcase { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   17. Patudos e testemunhos
   -------------------------------------------------------------------------- */

.patudos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1.4rem, 0.8rem + 2vw, 2.4rem);
}

.patudo {
  background: var(--glaze);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
}
.patudo .media { border-radius: 0; aspect-ratio: 16 / 10; }
.patudo__body { padding: clamp(1.2rem, 0.9rem + 1vw, 1.7rem); display: flex; flex-direction: column; gap: 0.6rem; }
.patudo__body h3 { font-size: var(--step-2); font-weight: 600; }
.patudo__tag {
  align-self: flex-start;
  font-size: var(--step--2);
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  color: var(--cobalt);
  background: var(--cobalt-soft);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}
.patudo__body p { font-size: var(--step--1); color: var(--haze); line-height: 1.6; }

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1.2rem, 0.8rem + 1.6vw, 2rem);
}
.quote {
  background: var(--glaze);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 1rem + 1.2vw, 2rem);
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: var(--step-1); font-weight: 400; letter-spacing: -0.024em; line-height: 1.38; }
.quote figcaption { font-size: var(--step--1); color: var(--haze); margin-top: auto; display: flex; align-items: center; gap: 0.6rem; }
.quote figcaption b { color: var(--ink); font-weight: 600; }
.stars { display: inline-flex; gap: 2px; color: var(--sand); }
.stars svg { width: 14px; height: 14px; fill: currentColor; }

/* --------------------------------------------------------------------------
   18. Faixa de visita
   -------------------------------------------------------------------------- */

.visit {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: var(--on-deep);
  border-radius: var(--radius-lg);
  --tile-ink: var(--on-deep);
  --tile-alpha: 0.12;
}
.visit::before { border-radius: inherit; }
.visit__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.8rem, 1rem + 3vw, 4rem);
  padding: clamp(1.8rem, 1.1rem + 3vw, 4rem);
  align-items: center;
}
.visit h2 { font-size: var(--step-3); color: inherit; }
.visit p { color: color-mix(in srgb, var(--on-deep) 82%, transparent); }
.visit .eyebrow { color: inherit; }
.visit .btn--primary { background: var(--on-deep); color: var(--deep); box-shadow: none; }
.visit .btn--primary:hover { background: color-mix(in srgb, var(--on-deep) 88%, transparent); }
.visit .btn--ghost { color: var(--on-deep); border-color: color-mix(in srgb, var(--on-deep) 40%, transparent); }
.visit .btn--ghost:hover { border-color: var(--on-deep); color: var(--on-deep); background: color-mix(in srgb, var(--on-deep) 12%, transparent); }

.visit__facts { display: grid; gap: 1.1rem; }
.visit__fact { display: flex; gap: 0.9rem; align-items: flex-start; }
.visit__fact svg { width: 19px; height: 19px; flex: none; margin-top: 3px; opacity: .8; }
.visit__fact dt { font-size: var(--step--2); letter-spacing: 0.13em; text-transform: uppercase; font-weight: 600; opacity: .72; margin-bottom: 0.15rem; }
.visit__fact dd { margin: 0; font-size: var(--step--1); line-height: 1.5; }
.visit__fact a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }

@media (max-width: 860px) { .visit__inner { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   19. Cabeçalho de página interior
   -------------------------------------------------------------------------- */

.page-head {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: #fff;
  padding-block: clamp(2.4rem, 1.5rem + 3.6vw, 5rem);
}
.page-head__bg { position: absolute; inset: 0; z-index: 0; }
.page-head__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-head__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,35,36,.93) 10%, rgba(9,35,36,.62) 70%, rgba(9,35,36,.72) 100%);
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: var(--step-4); font-weight: 300; letter-spacing: -0.04em; margin-block: 0.8rem 1rem; color: #fff; }
.page-head h1 .hl { font-weight: 700; color: #fff; }
.page-head .lead { max-width: 58ch; color: rgba(255,255,255,.84); }
.page-head .eyebrow { color: rgba(255,255,255,.8); }

.crumbs { font-size: var(--step--2); color: rgba(255,255,255,.66); letter-spacing: 0.06em; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: .5; padding-inline: 0.4rem; }

/* --------------------------------------------------------------------------
   20. Página de serviços — detalhe
   -------------------------------------------------------------------------- */

.svc-layout {
  display: grid;
  grid-template-columns: minmax(0, 230px) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 3.6vw, 4.5rem);
  align-items: start;
}

.svc-index { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 94px); display: flex; flex-direction: column; gap: 0.15rem; }
.svc-index p { font-size: var(--step--2); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--haze); margin-bottom: 0.7rem; }
.svc-index a {
  text-decoration: none; font-size: var(--step--1); color: var(--haze);
  padding: 0.42rem 0 0.42rem 0.9rem;
  border-left: 2px solid var(--rule);
  transition: color .18s var(--ease), border-color .18s var(--ease), padding-left .18s var(--ease);
}
.svc-index a:hover { color: var(--ink); border-color: var(--haze); padding-left: 1.15rem; }
.svc-index a.is-active { color: var(--cobalt); border-color: var(--cobalt); font-weight: 600; }

.svc-detail { scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 104px); }
.svc-detail + .svc-detail { margin-top: clamp(2.6rem, 1.6rem + 3.4vw, 4.6rem); padding-top: clamp(2.6rem, 1.6rem + 3.4vw, 4.6rem); border-top: 1px solid var(--rule-soft); }
.svc-detail__head { display: flex; align-items: flex-start; gap: 1.1rem; margin-bottom: 1.2rem; }
.svc-detail__head .service__icon { width: 38px; height: 38px; flex: none; }
.svc-detail h2 { font-size: var(--step-3); font-weight: 600; }
.svc-detail .media { margin-bottom: 1.6rem; aspect-ratio: 21 / 9; }
.svc-detail .prose { color: var(--haze); }
.svc-detail .prose strong { color: var(--ink); }

@media (max-width: 900px) {
  .svc-layout { grid-template-columns: 1fr; }
  .svc-index { position: static; flex-direction: row; flex-wrap: wrap; gap: 0.4rem; padding-bottom: 0.4rem; }
  .svc-index p { width: 100%; margin-bottom: 0.3rem; }
  .svc-index a { border-left: 0; border: 1px solid var(--rule); border-radius: 999px; padding: 0.35rem 0.85rem; font-size: var(--step--2); }
  .svc-index a:hover { padding-left: 0.85rem; }
  .svc-index a.is-active { border-color: var(--cobalt); }
}

/* --------------------------------------------------------------------------
   21. FAQ
   -------------------------------------------------------------------------- */

.faq { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none;
  padding-block: clamp(1rem, 0.8rem + 0.6vw, 1.4rem);
  display: flex; align-items: flex-start; gap: 1rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  letter-spacing: -0.024em;
  line-height: 1.3;
  transition: color .18s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--cobalt); }
.faq summary .sign { margin-left: auto; flex: none; width: 22px; height: 22px; margin-top: 5px; position: relative; color: var(--cobalt); }
.faq summary .sign::before, .faq summary .sign::after {
  content: ""; position: absolute; inset: 50% 0 auto 0;
  height: 1.6px; background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease);
}
.faq summary .sign::after { transform: rotate(90deg); }
.faq details[open] summary .sign::after { transform: rotate(0deg); }
.faq details[open] summary { color: var(--cobalt); }
.faq .answer { padding-bottom: 1.5rem; max-width: var(--measure); color: var(--haze); animation: answer-in .3s var(--ease); }
.faq .answer p + p { margin-top: 0.9em; }
@keyframes answer-in { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) {
  .faq summary .sign::before, .faq summary .sign::after { transition: none; }
  .faq .answer { animation: none; }
}

/* --------------------------------------------------------------------------
   22. Formulário
   -------------------------------------------------------------------------- */

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 1rem + 3.6vw, 4.5rem);
  align-items: start;
}
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }

.form {
  background: var(--glaze);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 1rem + 1.8vw, 2.4rem);
  display: grid; gap: 1.15rem;
  box-shadow: var(--shadow);
}
.field { display: grid; gap: 0.42rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

.field label, .fieldset legend {
  font-size: var(--step--2); font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--haze);
}
.field .req { color: var(--sand); }

.field input, .field textarea, .field select {
  font: inherit; font-size: var(--step-0);
  color: var(--ink);
  background: var(--porcelain);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0.78rem 0.95rem;
  width: 100%;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 118px; line-height: 1.55; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--cobalt);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--cobalt) 18%, transparent);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #C2553F; }

.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.chip span {
  display: block; padding: 0.5rem 0.95rem;
  border: 1px solid var(--rule); border-radius: 999px;
  font-size: var(--step--1); color: var(--haze);
  transition: border-color .18s var(--ease), color .18s var(--ease), background-color .18s var(--ease), transform .18s var(--ease);
  user-select: none;
}
.chip:hover span { transform: translateY(-1px); }
.chip input:checked + span { border-color: var(--cobalt); color: var(--cobalt); background: var(--cobalt-soft); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--aqua); outline-offset: 2px; }

.form-note { font-size: var(--step--2); color: var(--haze); line-height: 1.5; }

.form-out {
  border: 1px solid var(--cobalt);
  background: var(--cobalt-soft);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  display: grid; gap: 0.9rem;
  animation: answer-in .35s var(--ease);
}
.form-out h3 { font-family: var(--font-body); font-size: var(--step--1); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cobalt); }
.form-out pre {
  margin: 0; white-space: pre-wrap; word-break: break-word;
  font-family: var(--font-body); font-size: var(--step--1); line-height: 1.6;
  color: var(--ink); background: var(--glaze);
  border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 0.9rem 1rem; max-height: 260px; overflow: auto;
}

.contact-card {
  display: grid; gap: 1.3rem;
  background: var(--glaze-sunk);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 1rem + 1.4vw, 2rem);
}
.contact-line { display: grid; gap: 0.25rem; }
.contact-line dt { font-size: var(--step--2); letter-spacing: 0.13em; text-transform: uppercase; font-weight: 600; color: var(--cobalt); }
.contact-line dd { margin: 0; font-size: var(--step-0); line-height: 1.5; }
.contact-line dd a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.contact-line dd a:hover { border-color: var(--cobalt); color: var(--cobalt); }
.contact-line .muted { color: var(--haze); font-size: var(--step--1); }

.copy-btn {
  font: inherit; font-size: var(--step--2); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cobalt); background: transparent; border: 0;
  padding: 0.2rem 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.copy-btn:hover { color: var(--aqua); }
.copy-btn svg { width: 13px; height: 13px; }

.hours { display: grid; gap: 0.35rem; font-size: var(--step--1); }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.28rem; border-bottom: 1px dashed var(--rule-soft); }
.hours div:last-child { border-bottom: 0; }
.hours dt { color: var(--haze); }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.hours .closed { color: var(--haze); font-weight: 400; }

/* Indicador aberto / fechado — o JS preenche-o com a hora actual. */
[data-open-status] { display: inline-flex; align-items: center; gap: 0.45rem; }
[data-open-status]::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--haze); flex: none; }
[data-open-status="open"]::before { background: #2E9C6B; box-shadow: 0 0 0 3px color-mix(in srgb, #2E9C6B 22%, transparent); }
[data-open-status="closed"]::before { background: var(--sand); }

/* --------------------------------------------------------------------------
   23. Rodapé
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--glaze-sunk);
  border-top: 1px solid var(--rule);
  padding-block: clamp(2.6rem, 1.6rem + 3vw, 4.2rem) 1.6rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  gap: clamp(1.8rem, 1rem + 3vw, 3.6rem);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

.footer-brand { display: grid; gap: 1rem; justify-items: start; }
.footer-brand img { width: 124px; background: var(--plaque); border-radius: var(--radius); padding: 0.6rem; border: 1px solid var(--rule); }
.footer-brand p { font-size: var(--step--1); color: var(--haze); max-width: 34ch; }

.footer-col h3 { font-family: var(--font-body); font-size: var(--step--2); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-col a { text-decoration: none; font-size: var(--step--1); color: var(--haze); }
.footer-col a:hover { color: var(--ink); }
.footer-col address { font-style: normal; font-size: var(--step--1); color: var(--haze); line-height: 1.7; }

.socials { display: flex; gap: 0.55rem; }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--rule); border-radius: 999px; color: var(--ink);
  transition: border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.socials a:hover { border-color: var(--cobalt); color: var(--cobalt); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }

.footer-base {
  margin-top: clamp(2rem, 1.2rem + 2.4vw, 3.2rem);
  padding-top: 1.3rem;
  border-top: 1px solid var(--rule-soft);
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem;
  justify-content: space-between;
  font-size: var(--step--2); color: var(--haze);
}
.footer-base a { text-decoration: none; }
.footer-base a:hover { color: var(--cobalt); }

/* --------------------------------------------------------------------------
   24. Movimento
   -------------------------------------------------------------------------- */

/* Estado de repouso = visível. O JS só activa a animação se puder animar. */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js-anim .reveal.is-in { opacity: 1; transform: none; }

/* Variante: a imagem entra por baixo de uma cortina.
   O clip vai na imagem, não no contentor: um contentor com a caixa colapsada
   a zero deixa de ser visto pelo IntersectionObserver e nunca se revelaria. */
.js-anim .reveal-clip > img,
.js-anim .reveal-clip > video {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.05);
  transition: clip-path 1s var(--ease), transform 1.3s var(--ease);
}
.js-anim .reveal-clip.is-in > img,
.js-anim .reveal-clip.is-in > video { clip-path: inset(0 0 0 0); transform: none; }

/* Entrada do título do herói, palavra a palavra. */
.js-anim .word { display: inline-block; opacity: 0; transform: translateY(0.5em); }
.js-anim .word.is-in { animation: word-up .8s var(--ease) forwards; }
@keyframes word-up { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .js-anim .reveal, .js-anim .reveal-clip, .js-anim .word {
    opacity: 1 !important; transform: none !important; clip-path: none !important;
    transition: none !important; animation: none !important;
  }
  .hero__bg video, .hero__bg img { transform: none !important; }
  .zoom > img, .zoom > video { transition: none; }
  a:hover .zoom > img, .zoom:hover > img { transform: none; }
}

/* --------------------------------------------------------------------------
   25. Impressão
   -------------------------------------------------------------------------- */

@media print {
  .site-header, .mobile-nav, .marquee, .nav-toggle, .theme-toggle,
  .mobile-cta, .progress, .hero__videobtn { display: none !important; }
  body { background: #fff; color: #000; }
  .tile-pattern::before { display: none; }
}


/* Avaliações: nome do dono e do patudo por baixo da citação. */
.quotes { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.quote figcaption { flex-direction: column; align-items: flex-start; gap: 0.1rem; }
.quote figcaption b { color: var(--ink); }
.quote figcaption span { font-size: var(--step--2); }
.quote blockquote { font-size: clamp(1.06rem, 1rem + 0.3vw, 1.2rem); line-height: 1.45; }
