/* ==========================================================================
   Barbearia Santino — santinobarbearia.pt
   ========================================================================== */

/* ---------------------------------------------------------------- Fontes --
   As duas fontes do manual de identidade da Santino, alojadas neste servidor
   (nada é pedido ao Google — mais rápido e sem questões de RGPD).            */
@font-face {
  font-family: 'DM Serif Text';
  src: url('../fonts/dm-serif-text-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Serif Text';
  src: url('../fonts/dm-serif-text-italic-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto Condensed';
  src: url('../fonts/roboto-condensed-latin.woff2') format('woff2-variations');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------- Tokens -- */
:root {
  /* Paleta oficial do manual de identidade da Barbearia Santino. */
  --ink:        #06080A;  /* preto da marca */
  --ink-2:      #0C0E10;
  --ink-3:      #141617;
  --ink-4:      #282929;  /* cinzento escuro da marca */
  --brown:      #523729;  /* Santino's Brown */
  --grey:       #717070;  /* cinzento médio da marca */

  --gold:       #C8AD7E;  /* bege claro da marca */
  --gold-soft:  #DCC49E;
  --gold-deep:  #BD9469;  /* Santino's Bege */

  --bone:       #F2EFEA;
  --bone-2:     rgba(242, 239, 234, 0.68);
  --bone-3:     rgba(242, 239, 234, 0.56);
  --line:       rgba(242, 239, 234, 0.13);

  --max:        1360px;
  --gut:        clamp(1.25rem, 4vw, 4rem);

  --r-sm:       4px;
  --r-md:       10px;
  --r-lg:       18px;

  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --dur:        .7s;

  --header-h:   76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: 'Roboto Condensed', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

/* O <picture> é só um invólucro — quem manda no layout é o <img>. */
picture { display: contents; }

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

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

h1, h2, h3, h4 {
  font-family: 'DM Serif Text', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

/* O browser dá margens próprias a estes elementos — anular. */
figure, figcaption, dl, dd, blockquote { margin: 0; }

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ------------------------------------------------------------ Utilities -- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.section { padding-block: clamp(4.5rem, 11vw, 9.5rem); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: .75rem 1.25rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
}
.skip:focus { left: 1rem; top: 1rem; }

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

/* Etiqueta pequena em maiúsculas, usada como "kicker" das secções */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .688rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}

.h-display { font-size: clamp(2.6rem, 6vw, 5.25rem); }
.h-section { font-size: clamp(2.1rem, 5.2vw, 4rem); }
.h-card    { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }

.lead {
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  color: var(--bone-2);
  max-width: 46ch;
}

/* --------------------------------------------------------------- Botões -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: 1rem 1.9rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: var(--gold);
  color: var(--ink);
}
.btn--gold:hover { background: var(--gold-soft); }

.btn--ghost {
  border: 1px solid var(--line);
  color: var(--bone);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn--sm { padding: .7rem 1.3rem; font-size: .688rem; }

/* Ligação sublinhada com animação de "wipe" */
.link-u {
  position: relative;
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding-bottom: .35rem;
}
.link-u::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.link-u:hover::after { transform: scaleX(0); transform-origin: left; }
.link-u--gold { color: var(--gold); }

/* -------------------------------------------------------------- Header -- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color .4s var(--ease), border-color .4s var(--ease),
              backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: rgba(6, 8, 10, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

.header__inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gut);
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Logótipo oficial: emblema + lettering, ambos em PNG com transparência. */
.brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-right: auto;
}
.brand__mark { height: 38px; width: auto; flex: none; }
.brand__word { height: 34px; width: auto; flex: none; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.1rem); }
.nav a {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bone-2);
  transition: color .3s var(--ease);
}
.nav a:hover,
.nav a.is-active { color: var(--bone); }

.header__cta { margin-left: 1.25rem; }

.burger {
  position: relative;
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
}
.burger span {
  position: absolute;
  left: 11px;
  width: 22px; height: 1.5px;
  background: var(--bone);
  transition: transform .4s var(--ease), opacity .25s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Menu móvel */
.menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink);
  padding: calc(var(--header-h) + 2rem) var(--gut) 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; }
/* Só os links directos do menu — não o botão nem o telefone do rodapé. */
.menu > a {
  font-family: 'DM Serif Text', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.85rem, 8vw, 2.5rem);
  padding-block: .45rem;
  border-bottom: 1px solid var(--line);
}
.menu > a:last-of-type { border-bottom: 0; }
.menu__foot {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  font-size: .875rem;
  color: var(--bone-2);
}
.menu__foot a:not(.btn) { color: var(--gold); }

/* ----------------------------------------------------------------- Hero -- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: clamp(2rem, 5vh, 4rem);
  overflow: hidden;
}

.hero__grid {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gut);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero__copy { padding-block: clamp(0rem, 2vw, 1.5rem); }
.hero__eyebrow { margin-bottom: 1.5rem; }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 em {
  font-style: italic;
  font-weight: 700;
  color: var(--gold);
}
.hero__lead { margin-bottom: 2.5rem; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}

/* Nota do Google, logo abaixo dos botões do hero */
.rating {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1.75rem;
  font-size: .813rem;
  color: var(--bone-3);
  transition: color .3s var(--ease);
}
.rating:hover { color: var(--bone-2); }
.rating strong { color: var(--bone); font-weight: 600; }
.rating__stars { color: var(--gold); letter-spacing: .1em; font-size: .875rem; }

/* Painel de vídeo vertical (todo o material de origem é 9:16) */
.hero__media {
  position: relative;
  aspect-ratio: 9 / 12;
  /* Nunca ultrapassar a altura do ecrã, para que os botões fiquem visíveis
     sem ter de rolar. */
  max-height: calc(100svh - var(--header-h) - 6rem);
  margin-left: auto;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-3);
}
.hero__media video,
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(190deg, rgba(6,8,10,.20) 0%, rgba(6,8,10,0) 42%, rgba(6,8,10,.58) 100%);
  pointer-events: none;
}

.hero__badge {
  position: absolute;
  left: 1.25rem; bottom: 1.25rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .9rem 1.25rem;
  border-radius: var(--r-md);
  background: rgba(6, 8, 10, 0.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  font-size: .75rem;
  line-height: 1.5;
}
.hero__badge strong {
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .625rem;
  color: var(--gold);
}

/* Barra de informação no fundo do hero */
.hero__bar {
  position: absolute;
  inset: auto 0 0 0;
  display: none;
}

/* -------------------------------------------------------------- Marquee -- */
.marquee {
  border-block: 1px solid rgba(242, 239, 234, 0.08);
  background: var(--brown);
  padding-block: 1.15rem;
  overflow: hidden;
  --marquee-dur: 42s;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: slide var(--marquee-dur) linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  flex: none;
  padding-right: 0;
}
.marquee__group span {
  display: inline-flex;
  align-items: center;
  gap: 2.25rem;
  padding-inline: 1.125rem;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(242, 239, 234, 0.85);
  white-space: nowrap;
}
.marquee__group span::after {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold-soft);
  flex: none;
}
@keyframes slide {
  to { transform: translateX(-50%); }
}
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ------------------------------------------------------------- Princípios -- */
.pillars__head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.pillars__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pillar {
  background: var(--ink);
  padding: clamp(1.75rem, 3.2vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: .9rem;
  transition: background-color .45s var(--ease);
}
.pillar:hover { background: var(--ink-2); }
.pillar__num {
  font-size: .688rem;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--gold);
}
.pillar p { color: var(--bone-2); font-size: .938rem; }

/* -------------------------------------------------------------- Serviços -- */
.services { background: var(--ink-2); }

.services__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.services__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, .95fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: start;
}

.svc-group + .svc-group { margin-top: clamp(2.25rem, 4vw, 3.25rem); }

.svc-group__title {
  font-size: .688rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: .5rem;
}

.svc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: .5rem 1.5rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--line);
  transition: padding-left .4s var(--ease);
}
.svc:hover { padding-left: .5rem; }
.svc__name {
  font-family: 'DM Serif Text', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  letter-spacing: 0;
}
.svc__price {
  font-size: 1.05rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
  white-space: nowrap;
}
.svc__note {
  grid-column: 1 / -1;
  font-size: .813rem;
  color: var(--bone-3);
  margin-top: -.15rem;
}

.services__aside {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.services__media {
  aspect-ratio: 3 / 4;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-3);
}
.services__media video { width: 100%; height: 100%; object-fit: cover; }

.services__card {
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.services__card p { font-size: .875rem; color: var(--bone-2); }

/* --------------------------------------------------------------- Espaço -- */
.space__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.5rem, 1.2vw, 1rem);
}
.tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--ink-3);
  aspect-ratio: 3 / 4;
}
.tile img,
.tile video {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter .6s var(--ease);
}
.tile:hover img,
.tile:hover video { transform: scale(1.045); }

/* O bloco grande ocupa 2×2 células. Como todos os outros mosaicos são 3/4,
   as linhas ficam alinhadas sem precisar de proporção própria. */
.tile--big {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
/* Sem isto, o tamanho intrínseco do vídeo empurraria a altura das linhas. */
.tile--big img,
.tile--big video { position: absolute; inset: 0; }

.tile__tag {
  position: absolute;
  left: .75rem; bottom: .75rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: rgba(6, 8, 10, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: .563rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bone-2);
}

/* ---------------------------------------------------------------- Sobre -- */
.about { background: var(--ink-2); }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-3);
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__body { display: flex; flex-direction: column; gap: 1.5rem; }
.about__body p { color: var(--bone-2); }
.about__body h2 { margin-block: .35rem .25rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: .75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.stat__k {
  display: block;
  font-family: 'DM Serif Text', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  color: var(--gold);
  line-height: 1;
}
.stat__v {
  display: block;
  margin-top: .5rem;
  font-size: .688rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bone-3);
}

/* -------------------------------------------------------------- Visitar -- */
.visit__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.info-block + .info-block { margin-top: 2.5rem; }
.info-block__title {
  font-size: .688rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hours { display: flex; flex-direction: column; }
.hours__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-block: .85rem;
  border-bottom: 1px solid var(--line);
  font-size: .938rem;
}
.hours__row dt { color: var(--bone-2); margin: 0; }
.hours__row dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.hours__row--off dd { color: var(--bone-3); }

.contact-list { display: flex; flex-direction: column; gap: .9rem; }
.contact-list a,
.contact-list p {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .938rem;
  color: var(--bone-2);
  transition: color .3s var(--ease);
}
.contact-list a:hover { color: var(--gold); }
.contact-list svg { width: 17px; height: 17px; flex: none; margin-top: .28rem; color: var(--gold); }

/* Lista de factos práticos (estacionamento, pagamentos, …) */
.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.facts li {
  position: relative;
  padding-left: 1.6rem;
  font-size: .938rem;
  color: var(--bone-2);
}
.facts li::before {
  content: '';
  position: absolute;
  left: 0; top: .55em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.map {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-3);
}
.map img,
.map iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.map iframe { position: absolute; inset: 0; filter: grayscale(1) invert(0.92) contrast(0.86); }

.map__bar {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: 1rem;
  background: linear-gradient(to top, rgba(6, 8, 10, .92), rgba(6, 8, 10, 0));
}
.map__credit { font-size: .688rem; color: var(--bone-3); }
.map__credit a { text-decoration: underline; text-underline-offset: 2px; }
.map__credit a:hover { color: var(--gold); }
.map__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.map__actions .btn--ghost {
  border-color: rgba(242, 239, 234, 0.3);
  background: rgba(6, 8, 10, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.map.is-live .map__bar,
.map.is-live img { display: none; }

.map__note {
  margin-top: .9rem;
  font-size: .75rem;
  line-height: 1.55;
  color: var(--bone-3);
}
.map__note a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

/* ------------------------------------------------------------------ CTA -- */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(5rem, 12vw, 10rem);
  background: var(--ink-2);
  border-top: 1px solid var(--line);
}
.cta::before {
  content: '';
  position: absolute;
  left: 50%; top: -35%;
  width: min(120vw, 900px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(200, 173, 126, 0.12) 0%, transparent 62%);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}
.cta h2 { max-width: 16ch; }
.cta .lead { max-width: 48ch; }

/* --------------------------------------------------------------- Footer -- */
.footer {
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  border-top: 1px solid var(--line);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
}
.footer__blurb {
  margin-top: 1.25rem;
  font-size: .875rem;
  color: var(--bone-3);
  max-width: 34ch;
}
.footer__col h3 {
  font-family: inherit;
  font-size: .688rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.footer__col a,
.footer__col li { font-size: .875rem; color: var(--bone-2); }
.footer__col a:hover { color: var(--bone); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: .75rem;
  color: var(--bone-3);
}
.footer__bottom a:hover { color: var(--bone-2); }

/* Barra flutuante com marcação e WhatsApp (apenas em ecrãs pequenos) */
.fab-bar {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 90;
  display: none;
  gap: .6rem;
  transform: translateY(160%);
  transition: transform .45s var(--ease);
}
.fab-bar.is-shown { transform: none; }
.fab-bar__book {
  flex: 1;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .5);
}
.fab-bar__wa {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  border-radius: 999px;
  background: var(--ink-4);
  border: 1px solid var(--line);
  color: var(--bone);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .5);
}
.fab-bar__wa svg { width: 24px; height: 24px; }

/* ------------------------------------------------------------- Produtos -- */
.products__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.products__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-3);
}
.products__media img { width: 100%; height: 100%; object-fit: cover; }

.services__alt { font-size: .813rem; color: var(--bone-3); }
.services__alt a { color: var(--gold); }
.services__alt a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* ---------------------------------------------------- Perguntas frequentes -- */
.faq { background: var(--ink-2); }

.faq__list {
  max-width: 52rem;
  border-top: 1px solid var(--line);
}

.qa { border-bottom: 1px solid var(--line); }

.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.4rem;
  cursor: pointer;
  list-style: none;
  font-family: 'DM Serif Text', Georgia, serif;
  font-size: clamp(1.1rem, 1.9vw, 1.375rem);
  line-height: 1.3;
  transition: color .3s var(--ease);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--gold); }

/* Sinal de mais que se transforma em menos ao abrir */
.qa summary::after {
  content: '';
  flex: none;
  width: 15px; height: 15px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  color: var(--gold);
  transition: transform .35s var(--ease);
}
/* A barra vertical rodada 90° fica horizontal: o "+" vira "−" a girar. */
.qa[open] summary::after {
  transform: rotate(90deg);
  background: linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
}

.qa__body {
  padding-bottom: 1.6rem;
  max-width: 62ch;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--bone-2);
  font-size: .938rem;
}
.qa__body a:not(.link-u) { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.qa__body strong { color: var(--bone); font-weight: 600; }

/* ------------------------------------------------ Janela de marcação (Buk) -- */
.booking {
  width: min(560px, 100vw);
  max-width: 100vw;
  height: min(860px, 100svh);
  max-height: 100svh;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--ink-2);
  color: var(--bone);
  overflow: hidden;
}
.booking::backdrop { background: rgba(6, 8, 10, .72); backdrop-filter: blur(4px); }
.booking[open] { display: flex; flex-direction: column; }

.booking__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem 1rem .85rem 1.25rem;
  border-bottom: 1px solid var(--line);
  flex: none;
}
.booking__title {
  font-size: .688rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-right: auto;
}
.booking__ext {
  font-size: .75rem;
  color: var(--bone-3);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.booking__ext:hover { color: var(--bone); }
.booking__close {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  color: var(--bone-2);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.booking__close:hover { background: var(--ink-4); color: var(--bone); }

.booking__frame { flex: 1; width: 100%; border: 0; background: #fff; }

/* ---------------------------------------------------- Equipa (por ativar) -- */
.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.member { display: flex; flex-direction: column; gap: .6rem; }
.member__photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ink-3);
  margin-bottom: .6rem;
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__role {
  font-size: .688rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
.member__bio { font-size: .938rem; color: var(--bone-2); }
.member .link-u { align-self: flex-start; margin-top: .35rem; color: var(--gold); }

/* ----------------------------------------------- Testemunhos (por ativar) -- */
.reviews { background: var(--ink-2); }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.review {
  background: var(--ink-2);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.reviews__score { color: var(--gold); }
.review__stars { color: var(--gold); letter-spacing: .18em; font-size: .875rem; }
.review blockquote {
  font-family: 'DM Serif Text', Georgia, serif;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.45;
}
.review figcaption {
  font-size: .688rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bone-3);
  margin-top: auto;
}

/* ------------------------------------------------------- Rodapé (extras) -- */
.footer__legal { display: flex; gap: 1.25rem; }
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ----------------------------------------------------- Aviso de cookies -- */
.consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  background: rgba(6, 8, 10, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  animation: consent-in .5s var(--ease) both;
}
.consent[hidden] { display: none; }

@keyframes consent-in {
  from { transform: translateY(100%); }
  to   { transform: none; }
}

.consent__inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: 1.1rem var(--gut);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.consent__text {
  flex: 1 1 28rem;
  font-size: .813rem;
  line-height: 1.55;
  color: var(--bone-2);
  max-width: 62ch;
}
.consent__text a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

/* Os dois botões têm o mesmo peso visual de propósito: recusar tem de ser
   tão fácil como aceitar. */
.consent__actions { display: flex; gap: .6rem; flex: none; }
.consent__actions .btn { min-width: 7.5rem; }

/* Enquanto o aviso estiver à vista, a barra flutuante sai da frente. */
body.consent-open .fab-bar { display: none; }

.footer__legal button {
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ------------------------------------------------------------- Revelação -- */
/* O <noscript> no index.html anula isto quando não há JavaScript. */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ Responsivo -- */
@media (max-width: 1080px) {
  .services__layout { grid-template-columns: 1fr; }
  .services__aside { position: static; flex-direction: row; }
  .services__media { flex: 1 1 50%; aspect-ratio: 4 / 3; }
  .services__card { flex: 1 1 50%; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }

  .products__grid { grid-template-columns: 1fr; }
  .products__media { aspect-ratio: 3 / 2; order: -1; }
  .booking { width: 100vw; height: 100svh; border-radius: 0; border: 0; }

  .nav,
  .header__cta { display: none; }
  .burger { display: grid; }

  .hero { min-height: auto; padding-bottom: clamp(3rem, 8vw, 5rem); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { padding-bottom: 0; }
  .hero__media { aspect-ratio: 4 / 5; }

  .pillars__head,
  .services__head { grid-template-columns: 1fr; align-items: start; }
  .pillars__list { grid-template-columns: 1fr; }

  .about__grid,
  .visit__grid { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 3 / 2; order: -1; }

  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .consent__inner { padding-block: 1rem; }
  .consent__actions { width: 100%; }
  .consent__actions .btn { flex: 1; min-width: 0; }

  .services__aside { flex-direction: column; }
  .services__media { aspect-ratio: 4 / 3; }

  /* Com duas colunas o bloco grande ocuparia sozinho duas linhas inteiras e
     estas ficariam sem altura — passa a ocupar apenas uma linha. */
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--big { grid-row: span 1; aspect-ratio: 1 / 1; }
  .tile--big img,
  .tile--big video { position: absolute; }

  .stats { grid-template-columns: 1fr; gap: 1.5rem; text-align: left; }
  .footer__top { grid-template-columns: 1fr; }

  .fab-bar { display: flex; }
  .footer { padding-bottom: 6rem; }
}

/* ----------------------------------------------- Preferências do sistema -- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

@media print {
  .header, .menu, .fab-bar, .marquee, .booking, .consent, video { display: none !important; }
  body { background: #fff; color: #000; }
}
