/* ==========================================================================
   Centro de Escritórios das Amoreiras — website (demonstração, reconstruído pela KIVO Media)
   Medidas tiradas das capturas originais (ver referencias/PLANO-amoreiras.md).
   Identidade própria, calma e "premium": não partilha estilos com a KIVO nem com a Boas Florestas.
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-variavel.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italico-variavel.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-variavel.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --azul: #3c93ac;
  --azul-texto: #2a768a; /* azul em texto pequeno sobre claro: #3c93ac dá 3,3:1 sobre o creme; este dá 4,8:1 */
  --azul-faixa: #347e94; /* faixa CTA: medido #3c93ac, mas texto branco pequeno dava 3,5:1; este dá 4,6:1 */
  --escuro: #16100c;
  --escuro-numeros: #1f1915;
  --rodape: #0a0704;
  --creme: #f9f6f1;
  --bege: #e8e4dd;
  --linha-bege: #dbd7d0;
  --linha-escura: #36302d;
  --tinta: #1f1915;
  --texto: #5c534d;
  --texto-suave: #6b635c; /* sobretítulos e textos secundários: medido #7a716a (3,8:1 sobre o bege); este dá 4,7:1 (bege) e 5,5:1 (creme) */
  --texto-sobre-escuro: #8a837a; /* medido #797367 (3,6:1 sobre #1f1915); clareado para 4,6:1 */
  --botao-escuro: #211b17;
  --texto-claro: #a29e9a; /* parágrafo do contacto (medido #969391; ~6:1) */
  --campo: #221c18;
  --linha-campo: #393330;
  --texto-campo: #8f887f; /* placeholder: medido #595552 (2,5:1 sobre #221c18) → 4,8:1 */
  --linha-escura-forte: #45403d;
  --erro: #ff9a8b;

  --serif: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --contentor: min(1408px, 78.4vw); /* 1408 a 1920 px; 1152 a 1470 px */
  --cabecalho-h: clamp(72px, 4.17vw, 80px);
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--texto);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
button { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; }

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

section[id] { scroll-margin-top: var(--cabecalho-h); }

.contentor { width: var(--contentor); margin-inline: auto; }

/* ---------- Sobretítulo: traço fino azul + maiúsculas espaçadas ---------- */

.sobretitulo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--texto-suave);
  font-size: 9.75px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.sobretitulo::before {
  content: "";
  flex: none;
  width: 40px;
  height: 1px;
  background: var(--azul);
  transform-origin: left;
}

.sobretitulo--claro { color: rgba(255, 255, 255, 0.72); }

/* ---------- Títulos: Cormorant leve, com uma parte em itálico ---------- */

.titulo {
  color: var(--tinta);
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 300;
  line-height: 1.2;
}

.titulo em { font-style: italic; }

/* ---------- Botões ---------- */

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 34px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.botao--branco { background: #fff; color: var(--tinta); }
.botao--contorno { border: 1px solid rgba(255, 255, 255, 0.6); color: #fff; }
.botao--escuro { background: var(--botao-escuro); color: #fff; }
.botao--azul { background: var(--azul); color: #fff; }

/* ---------- Cabeçalho: transparente sobre o hero, branco depois dos 10 px ---------- */

.cabecalho {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--cabecalho-h);
  color: #fff;
}

/* fundo branco numa camada própria, para entrar por opacidade */
.cabecalho::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fff;
  box-shadow: 0 1px 0 rgba(31, 25, 21, 0.06);
  opacity: 0;
}

.cabecalho.solido { color: var(--tinta); }
.cabecalho.solido::before { opacity: 1; }

.cabecalho__linha {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo { display: flex; align-items: center; gap: 17px; padding-left: 4px; }

/* as cores do símbolo passam por variáveis (os caminhos estão dentro de <symbol>, na sombra do <use>) */
.logo__simbolo { width: 40px; height: 36px; color: #fff; }
.solido .logo__simbolo { --simbolo-a: #8cc4de; --simbolo-b: #a3d3e8; --simbolo-c: #3e7d91; --simbolo-d: #4f93a8; }

.logo__texto { display: flex; flex-direction: column; text-transform: uppercase; }

/* sobre o hero: uma linha + "Das Amoreiras" */
.logo__texto--linha { font-size: 10.8px; font-weight: 400; line-height: 1.1; letter-spacing: 0.14em; }
.logo__texto--linha span + span { color: rgba(255, 255, 255, 0.7); }

/* cabeçalho branco: o bloco do logótipo original (3 linhas) */
.logo__texto--bloco { display: none; color: #3d3a37; font-size: 8.5px; line-height: 1.05; text-align: center; }
.logo__texto--bloco b { font-weight: 700; }
.logo__texto--bloco span { font-weight: 300; letter-spacing: 0.06em; }
.solido .logo__texto--linha { display: none; }
.solido .logo__texto--bloco { display: flex; }

.menu {
  display: flex;
  gap: 32px;
  margin-inline: auto;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu a { opacity: 0.9; }
.menu a:hover { opacity: 1; }

.cabecalho__telefone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 300;
}

.cabecalho__telefone svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.solido .cabecalho__telefone { color: var(--azul-texto); }

.botao--cabecalho {
  height: 36px;
  margin-left: 13px;
  padding: 0 20px;
  background: #fff;
  color: var(--tinta);
  font-size: 10px;
}

.solido .botao--cabecalho { background: var(--botao-escuro); color: #fff; }

.menu-botao { display: none; }

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

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--cabecalho-h) + 40px) 0 96px;
  overflow: hidden;
  background: #2b2623;
  color: #fff;
}

.hero__media { position: absolute; inset: 0; }

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% 50%;
}

/* película escura: mais forte do lado do texto; medida contra o píxel mais claro debaixo de cada bloco de texto */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 16, 14, 0.82), rgba(20, 16, 14, 0.72) 55%, rgba(20, 16, 14, 0.4));
}

.hero__conteudo { position: relative; }

.hero .sobretitulo { font-size: 9px; }

.hero__titulo {
  margin-top: 15px;
  font-family: var(--serif);
  font-size: 81px;
  font-weight: 300;
  line-height: 1.1;
}

.hero__titulo em { font-style: italic; }
.palavra { display: inline-block; }

.hero__texto {
  max-width: 512px;
  margin-top: 27px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 29px;
}

.hero__botoes { display: flex; gap: 12px; margin-top: 28px; }

.hero__numeros {
  display: flex;
  gap: 35px;
  margin-top: 33px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero__numeros > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }

.hero__numeros dd {
  font-family: var(--serif);
  font-size: 28.8px;
  font-weight: 300;
  line-height: 1.1;
}

.hero__numeros sup { font-size: 0.5em; vertical-align: 0.9em; line-height: 0; }

.hero__numeros dt {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 8.1px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__descer {
  position: absolute;
  right: 6px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: rgba(255, 255, 255, 0.6);
}

.hero__descer svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* ---------- Secções ---------- */

.seccao { padding: 128px 0; }

/* ---------- Sobre nós ---------- */

.sobre__grelha {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 663px;
  gap: 87px; /* coluna de texto com 658 px: "Lisboa —" na mesma linha, como na captura 40 */
  align-items: start;
}

.sobre .titulo { margin-top: 20px; }

.sobre__texto {
  margin-top: 22px;
  font-size: 16px;
  line-height: 26.6px;
}

.sobre__texto + .sobre__texto { margin-top: 19px; }

.pontos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 16px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.4;
}

.pontos li { position: relative; padding-left: 14px; }

.pontos li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--azul);
}

.sobre__botao { margin-top: 27px; padding: 0 33px; }

.sobre__foto { position: relative; }

.revelar { overflow: hidden; }

.sobre__foto img { width: 100%; height: auto; aspect-ratio: 663 / 496; object-fit: cover; }

/* selo azul "2002 Fundação": sai pela parte de baixo da fotografia */
.selo {
  position: absolute;
  left: 16px;
  bottom: -49px;
  width: 95px;
  height: 80px;
  padding-top: 16px;
  background: var(--azul-faixa); /* medido #3c93ac; escurecido para o texto pequeno passar 4,5:1 */
  box-shadow: 0 10px 24px rgba(31, 25, 21, 0.15);
  color: #fff;
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.selo strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
}

/* ---------- Faixa de números (escuro) ---------- */

.faixa-numeros { padding: 56px 0; background: var(--escuro-numeros); color: #fff; }

.faixa-numeros__grelha {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  text-align: center;
}

.faixa-numeros__grelha > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 4px;
}

.faixa-numeros__grelha > div + div { border-left: 1px solid var(--linha-escura); }

.faixa-numeros dd {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 300;
  line-height: 1.1;
}

.faixa-numeros sup { font-size: 0.5em; vertical-align: 0.9em; line-height: 0; }

.faixa-numeros small { color: var(--azul); font-family: var(--sans); font-size: 13px; font-weight: 300; }

.faixa-numeros dt { color: var(--texto-sobre-escuro); font-size: 12px; font-weight: 300; line-height: 18px; }

/* ---------- Porquê escolher-nos (bege) ---------- */

.beneficios { background: var(--bege); }

.beneficios .titulo { margin-top: 17px; }

.beneficios__grelha {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 70px 0 0;
  padding: 0;
  list-style: none;
}

.beneficios__grelha li { padding: 28px 28px 27px; }
.beneficios__grelha li:not(:nth-child(4n + 1)) { border-left: 1px solid var(--linha-bege); }
.beneficios__grelha li:nth-child(n + 5) { border-top: 1px solid var(--linha-bege); }

.beneficios__grelha svg { width: 20px; height: 20px; fill: none; stroke: var(--azul); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.beneficios__grelha h3 {
  margin-top: 10px;
  color: var(--tinta);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.3;
}

.beneficios__grelha p { margin-top: 8px; font-size: 14px; line-height: 23px; }

/* ---------- Os nossos espaços (creme) ---------- */

.espacos__topo {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.espacos .titulo { margin-top: 17px; }

.espacos__intro {
  max-width: 320px;
  margin-bottom: -4px;
  color: var(--texto-suave);
  font-size: 14px;
  line-height: 22px;
  text-align: right;
}

.espacos__grelha {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 67px;
}

.espaco + .espaco { border-left: 1px solid var(--linha-bege); }

.espaco__foto { position: relative; }

.espaco__foto .revelar { aspect-ratio: 16 / 9; }

.espaco__foto img { width: 100%; height: 100%; object-fit: cover; }

.espaco__etiqueta {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  background: rgba(22, 16, 12, 0.88);
  color: #fff;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.espaco__corpo { padding: 35px 28px 40px; }

.espaco__sobretitulo {
  color: var(--azul-texto);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.espaco__titulo {
  position: relative;
  margin-top: 6px;
  padding-bottom: 6px;
  color: var(--tinta);
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.25;
}

/* linha na cor de destaque por baixo do título: cresce no hover (secção Movimento) */
.espaco__titulo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 1px;
  background: var(--azul);
  transform: scaleX(0);
  transform-origin: left;
}

.espaco__texto { margin-top: 6px; font-size: 14px; line-height: 23px; }

.espaco__pontos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 16px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  line-height: 23px;
}

.espaco__pontos li { position: relative; padding-left: 14px; }

.espaco__pontos li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--azul);
}

.espaco__mais {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 3px;
  color: var(--azul-texto);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.espaco__mais svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; }

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

/* ---------- Faixa azul (CTA) ---------- */

.faixa-cta { padding: 56px 0; background: var(--azul-faixa); color: #fff; }

.faixa-cta__linha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.faixa-cta__titulo {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 300;
  line-height: 1.15;
}

.faixa-cta__titulo em { font-style: italic; }

.faixa-cta__texto { margin-top: 11px; font-size: 14px; line-height: 1.5; }

.faixa-cta__botoes { display: flex; flex-wrap: wrap; gap: 12px; }

.faixa-cta .botao--contorno { border-color: rgba(255, 255, 255, 0.7); }

/* ---------- Galeria (escuro) ---------- */

.galeria { background: var(--escuro); }

.sobretitulo--escuro { color: var(--texto-sobre-escuro); }

.titulo--claro { color: #fff; }
.titulo--claro em { color: var(--azul); }

.galeria .titulo { margin-top: 17px; }

.galeria__topo {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.galeria__intro {
  max-width: 310px;
  margin-bottom: -4px;
  color: var(--texto-sobre-escuro);
  font-size: 14px;
  line-height: 22px;
  text-align: right;
}

.galeria__grelha {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-rows: 200px;
  gap: 6px;
  margin: 60px 0 0;
  padding: 0;
  list-style: none;
}

.galeria__item--grande { grid-row: span 2; }

.galeria__item a,
.galeria__item .revelar { display: block; height: 100%; overflow: hidden; }

.galeria__item img { width: 100%; height: 100%; object-fit: cover; }

.galeria__item a { cursor: zoom-in; }
.galeria__item a:focus-visible { outline-offset: 2px; }

/* ---------- Lightbox da galeria ---------- */

.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(10, 7, 4, 0.94);
  color: #fff;
}

.lightbox::backdrop { background: transparent; }

.lightbox[open] { display: grid; place-items: center; }

.lightbox__figura { display: grid; justify-items: center; gap: 14px; max-width: calc(100vw - 176px); }

/* a imagem ocupa a área disponível e ajusta-se dentro dela (as provisórias são pequenas) */
.lightbox__imagem {
  width: calc(100vw - 176px);
  height: calc(100vh - 140px);
  height: calc(100svh - 140px);
  object-fit: contain;
}

.lightbox__legenda { color: rgba(255, 255, 255, 0.8); font-size: 14px; text-align: center; }
.lightbox__contagem { margin-left: 8px; color: rgba(255, 255, 255, 0.6); font-variant-numeric: tabular-nums; }

.lightbox__botao {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(10, 7, 4, 0.5);
  cursor: pointer;
}

.lightbox__botao svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__botao:hover { border-color: #fff; }

.lightbox__anterior { left: 32px; top: 50%; margin-top: -26px; }
.lightbox__anterior svg { transform: scaleX(-1); }
.lightbox__seguinte { right: 32px; top: 50%; margin-top: -26px; }
.lightbox__fechar { top: 24px; right: 32px; }

.sem-scroll { overflow: hidden; }

/* ---------- Localização (bege) ---------- */

.localizacao { background: var(--bege); }

.localizacao .titulo { margin-top: 17px; }

.localizacao__grelha {
  display: grid;
  grid-template-columns: minmax(0, 801fr) minmax(0, 559fr);
  gap: 48px;
  align-items: start;
  margin-top: 60px;
}

.localizacao__mapa { position: relative; display: block; }

.localizacao__mapa .revelar { display: block; aspect-ratio: 801 / 481; }

.localizacao__mapa img { width: 100%; height: 100%; object-fit: cover; }

/* no sítio dos controlos "Mapa | Satélite" do original */
.localizacao__abrir {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  color: var(--tinta);
  font-size: 14px;
  font-weight: 400;
}

.localizacao__abrir svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.morada {
  display: grid;
  grid-template-columns: 16px 1fr;
  column-gap: 13px;
  padding: 22px 20px 21px;
  background: var(--creme);
  font-style: normal;
}

.morada svg { width: 16px; height: 16px; margin-top: 3px; fill: none; stroke: var(--azul); stroke-width: 1.5; }

.morada__rua { color: var(--tinta); font-family: var(--serif); font-size: 18px; font-weight: 400; line-height: 1.3; }

.morada__resto { grid-column: 2; margin-top: 5px; color: var(--texto-suave); font-size: 14px; line-height: 1.4; }

.perto { margin: 30px 0 0; padding: 0; list-style: none; }

.perto li {
  display: grid;
  grid-template-columns: 16px 1fr;
  align-content: start;
  column-gap: 18px;
  padding: 7px 0 7px 18px;
  min-height: 64px;
}

.perto svg { grid-row: span 2; width: 14px; height: 14px; margin-top: 4px; fill: none; stroke: var(--texto-suave); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.perto strong { color: var(--tinta); font-size: 14px; font-weight: 400; line-height: 14px; }

.perto span { margin-top: 4px; color: var(--texto-suave); font-size: 12px; line-height: 14px; }

.localizacao__botao { margin-top: 12px; }

/* ---------- Contacto (escuro) ---------- */

.contacto { background: var(--escuro); color: #fff; }

.contacto__grelha {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 788px);
  gap: 64px;
  align-items: start;
}

.contacto .titulo { margin-top: 19px; }

.contacto__texto { max-width: 415px; margin-top: 24px; color: var(--texto-claro); font-size: 14px; line-height: 23px; }

.contactos { margin: 39px 0 0; padding: 0; list-style: none; }

.contactos li {
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 16px;
  align-content: start;
  min-height: 56.5px;
}

.contactos__icone {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--linha-escura-forte);
}

.contactos__icone svg { width: 14px; height: 14px; fill: none; stroke: var(--texto-sobre-escuro); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.contactos__rotulo {
  margin-top: 1px;
  color: var(--texto-sobre-escuro);
  font-size: 9.5px;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contactos a,
.contactos li > span:last-child { color: #fff; font-size: 14px; line-height: 23px; }

.contactos a:hover { color: var(--azul); }

/* ---------- Formulário (demonstração) ---------- */

.formulario {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 16px;
}

.campo { display: flex; flex-direction: column; }
.campo--largo { grid-column: 1 / -1; }

.campo label {
  margin-bottom: 8px;
  color: var(--texto-sobre-escuro);
  font-size: 9.5px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.campo input,
.campo select,
.campo textarea {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--linha-campo);
  border-radius: 0;
  background: var(--campo);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 300;
}

.campo select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a837a' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: 14px;
  font-weight: 400;
  cursor: pointer;
}

.campo select option { background: var(--campo); color: #fff; }

.campo textarea { height: 106px; padding-top: 14px; padding-bottom: 14px; line-height: 1.5; resize: none; }

.campo ::placeholder { color: var(--texto-campo); opacity: 1; }

.campo input:focus-visible,
.campo select:focus-visible,
.campo textarea:focus-visible { outline: 0; border-color: var(--azul); box-shadow: inset 0 0 0 1px var(--azul); }

.campo [aria-invalid="true"] { border-color: var(--erro); }

.campo__erro { margin-top: 6px; color: var(--erro); font-size: 13px; line-height: 1.4; }

.formulario__fim { margin-top: 6px; text-align: center; }

.formulario__botao { width: 100%; height: 46px; border: 0; background: var(--azul-faixa); font-size: 11px; }
.formulario__botao svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }

.formulario__estado {
  margin-top: 16px;
  padding: 12px 16px;
  border: 1px solid var(--azul);
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

.formulario__nota { margin-top: 18px; color: var(--texto-sobre-escuro); font-size: 12px; line-height: 1.4; }

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

.rodape { padding: 56px 0 32px; background: var(--rodape); color: var(--texto-sobre-escuro); }

.rodape__grelha {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 40px;
}

.logo--rodape { padding-left: 2px; opacity: 0.55; }
.logo--rodape .logo__simbolo { --simbolo-a: #8cc4de; --simbolo-b: #a3d3e8; --simbolo-c: #3e7d91; --simbolo-d: #4f93a8; }
.logo--rodape .logo__texto--bloco { display: flex; color: rgba(255, 255, 255, 0.6); }

.rodape__frase { max-width: 320px; margin-top: 18px; font-size: 12px; line-height: 20px; }

.rodape__titulo {
  margin: 0;
  color: var(--texto-sobre-escuro);
  font-size: 10px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rodape__lista { margin: 20px 0 0; padding: 0; list-style: none; font-size: 12px; line-height: 20px; }
.rodape__lista li + li { margin-top: 14px; }
.rodape__lista a:hover { color: #fff; }

.rodape__lista--contactos li { display: flex; gap: 8px; }
.rodape__lista--contactos li + li { margin-top: 6px; }
.rodape__lista--contactos svg { flex: none; width: 11px; height: 11px; margin-top: 4px; fill: none; stroke: currentColor; stroke-width: 1.6; }

.rodape__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--linha-escura);
  font-size: 12px;
  line-height: 1.5;
}

.rodape__kivo a { text-decoration: underline; text-decoration-color: rgba(138, 131, 122, 0.5); text-underline-offset: 3px; }
.rodape__kivo a:hover { color: #fff; }

/* números que contam: algarismos de largura fixa, para não tremerem durante a contagem */
[data-contar] { font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Movimento — elegante e calmo: só transform, opacity e clip-path; até 800 ms; easing (.22,1,.36,1).
   Tudo desligado com prefers-reduced-motion. Os estados escondidos só existem depois de o JS arrancar
   (.js no <html> para o hero, .js-anim para as entradas ao scroll).
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  /* hero: título palavra a palavra (fade + subida curta); "fazer crescer" em itálico entra por último */
  .js .hero__titulo .palavra { animation: palavra-entra 700ms var(--ease) both; animation-delay: calc(150ms + var(--i) * 70ms); }
  .js .hero__titulo .palavra--ultima { animation-duration: 800ms; animation-delay: 820ms; }
  @keyframes palavra-entra { from { opacity: 0; transform: translateY(0.28em); } to { opacity: 1; transform: none; } }

  .js .hero .sobretitulo::before { animation: traco 800ms var(--ease) 100ms both; }
  .js .hero__texto,
  .js .hero__botoes,
  .js .hero__numeros { animation: subir 700ms var(--ease) both; }
  .js .hero__texto { animation-delay: 700ms; }
  .js .hero__botoes { animation-delay: 800ms; }
  .js .hero__numeros { animation-delay: 900ms; }
  @keyframes subir { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes traco { from { transform: scaleX(0); } to { transform: scaleX(1); } }

  /* traço fino dos sobretítulos desenha-se da esquerda quando a secção entra */
  .js-anim .seccao .sobretitulo::before { transform: scaleX(0); transition: transform 800ms var(--ease) 100ms; }
  .js-anim .seccao .sobretitulo.visivel::before { transform: scaleX(1); }

  /* imagens das secções: revelação com máscara, de baixo para cima */
  .js-anim .seccao .revelar { clip-path: inset(100% 0 0 0); transition: clip-path 800ms var(--ease); }
  .js-anim .seccao .revelar.visivel { clip-path: inset(0); }
  .js-anim .galeria__item:nth-child(2) .revelar { transition-delay: 80ms; }
  .js-anim .galeria__item:nth-child(3) .revelar { transition-delay: 160ms; }
  .js-anim .galeria__item:nth-child(4) .revelar { transition-delay: 240ms; }
  .js-anim .galeria__item:nth-child(5) .revelar { transition-delay: 320ms; }

  /* selo "2002 Fundação": entra com ligeiro atraso depois da fotografia */
  .js-anim .selo { opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--ease) 550ms, transform 700ms var(--ease) 550ms; }
  .js-anim .selo.visivel { opacity: 1; transform: none; }

  /* cartões de espaços: zoom lento da imagem e linha azul que cresce por baixo do título */
  .espaco__foto img { transition: transform 800ms var(--ease); }
  .espaco:hover .espaco__foto img,
  .espaco:focus-within .espaco__foto img { transform: scale(1.05); }
  .espaco__titulo::after { transition: transform 600ms var(--ease); }

  /* galeria: zoom suave ao passar */
  .galeria__item img { transition: transform 800ms var(--ease); }
  .galeria__item a:hover img,
  .galeria__item a:focus-visible img { transform: scale(1.04); }

  /* lightbox: a fotografia entra com fade */
  .lightbox__imagem.a-entrar { animation: foto-entra 400ms var(--ease) both; }
  @keyframes foto-entra { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: none; } }

  /* botões e mapa */
  .botao { transition: opacity 200ms, transform 200ms var(--ease); }
  .botao:hover { opacity: 0.88; }
  .botao:active { transform: scale(0.98); }
  .espaco__mais svg { transition: transform 200ms var(--ease); }
  .espaco__mais:hover svg { transform: translateX(3px); }
  .localizacao__mapa img { transition: transform 800ms var(--ease); }
  .localizacao__mapa:hover img { transform: scale(1.03); }

  /* menu do telemóvel */
  .menu-botao span { transition: transform 300ms var(--ease); }
}

/* a linha do título dos espaços também aparece sem movimento (só não anima) */
.espaco:hover .espaco__titulo::after,
.espaco:focus-within .espaco__titulo::after { transform: scaleX(1); }

/* ==========================================================================
   Responsivo — sem referência de telemóvel/tablet; segue a linguagem do site (e o que foi feito na Boas Florestas).
   Pontos de corte: 1100 · 900 · 760 · 600
   ========================================================================== */

.menu__telefone,
.menu__cta { display: none; }

@media (max-width: 1099.98px) {
  :root { --contentor: calc(100% - 64px); }

  .menu { gap: 22px; }
  .botao--cabecalho { margin-left: 10px; }

  .hero__titulo { font-size: clamp(44px, 7.4vw, 81px); }

  .sobre__grelha { grid-template-columns: 1fr; gap: 64px; }
  .sobre__foto { max-width: 663px; }

  .faixa-numeros__grelha { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .faixa-numeros__grelha > div:nth-child(3) { border-left: 0; }

  .beneficios__grelha { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .beneficios__grelha li:not(:nth-child(4n + 1)) { border-left: 0; }
  .beneficios__grelha li:nth-child(even) { border-left: 1px solid var(--linha-bege); }
  .beneficios__grelha li:nth-child(n + 3) { border-top: 1px solid var(--linha-bege); }

  .localizacao__grelha,
  .contacto__grelha { grid-template-columns: 1fr; gap: 48px; }
  .localizacao__info { max-width: 640px; }
  .contacto__grelha > div:first-child { max-width: 640px; }

  .rodape__grelha { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
}

@media (max-width: 899.98px) {
  :root { --cabecalho-h: 68px; }

  .seccao { padding: 104px 0; }

  /* menu do telemóvel: botão com duas barras que viram "×"; painel branco por baixo do cabeçalho */
  .cabecalho__telefone,
  .botao--cabecalho { display: none; }

  .logo { min-height: 44px; }
  .logo__texto--linha { display: none; }
  .logo__texto--bloco { display: flex; color: #fff; }
  .logo__texto--bloco span { color: rgba(255, 255, 255, 0.75); }
  .solido .logo__texto--bloco { color: #3d3a37; }
  .solido .logo__texto--bloco span { color: inherit; }

  .menu-botao {
    display: grid;
    place-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    margin-right: -10px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }

  .menu-botao span { display: block; width: 22px; height: 1.5px; background: currentColor; }
  .menu-botao[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-botao[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 4px 32px 28px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(31, 25, 21, 0.12);
    color: var(--tinta);
    font-size: 13px;
  }

  .menu a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--linha-bege); opacity: 1; }
  .menu .menu__telefone { display: flex; color: var(--azul-texto); font-size: 15px; letter-spacing: 0.02em; text-transform: none; }
  .menu .menu__cta { display: inline-flex; justify-content: center; margin-top: 20px; border-bottom: 0; color: #fff; }

  .cabecalho.menu-aberto { color: var(--tinta); }
  .cabecalho.menu-aberto::before { opacity: 1; }
  .cabecalho.menu-aberto .logo__simbolo { --simbolo-a: #8cc4de; --simbolo-b: #a3d3e8; --simbolo-c: #3e7d91; --simbolo-d: #4f93a8; }
  .cabecalho.menu-aberto .logo__texto--bloco { color: #3d3a37; }
  .cabecalho.menu-aberto .logo__texto--bloco span { color: inherit; }
  .cabecalho.menu-aberto .menu { display: flex; }

  /* sem JS o menu fica sempre visível por baixo do logótipo */
  html:not(.js) .menu-botao { display: none; }
  html:not(.js) .cabecalho { position: absolute; height: auto; }
  html:not(.js) .cabecalho__linha { flex-wrap: wrap; padding: 12px 0; }
  html:not(.js) .menu { position: static; display: flex; flex-direction: row; flex-wrap: wrap; width: 100%; padding: 0; background: none; box-shadow: none; color: #fff; }
  html:not(.js) .menu a { min-height: 44px; margin-right: 20px; border: 0; }

  .hero { padding-bottom: 72px; }
  /* no telemóvel o texto ocupa a largura toda: película mais escura por baixo dele */
  .hero__media::after { background: linear-gradient(180deg, rgba(20, 16, 14, 0.55), rgba(20, 16, 14, 0.82) 40%); }
  .sobretitulo--claro { color: rgba(255, 255, 255, 0.8); } /* a 72% dava 4,49:1 no ponto mais claro da fotografia */
  .hero__texto { font-size: 17px; line-height: 1.65; }
  .hero__descer { display: none; }

  .espacos__topo,
  .galeria__topo { flex-direction: column; align-items: flex-start; gap: 20px; }
  .espacos__intro,
  .galeria__intro { margin-bottom: 0; text-align: left; }

  .espacos__grelha { grid-template-columns: 1fr; gap: 40px; margin-top: 48px; }
  .espaco + .espaco { border-left: 0; }
  .espaco__corpo { padding: 28px 0 0; }

  .faixa-cta__linha { flex-direction: column; align-items: flex-start; gap: 28px; }

  .galeria__grelha { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 30vw, 220px); margin-top: 48px; }
  .galeria__item--grande { grid-column: 1 / -1; grid-row: span 2; }

  .lightbox__figura { max-width: calc(100vw - 32px); }
  .lightbox__imagem { width: calc(100vw - 32px); height: calc(100svh - 200px); }
  .lightbox__anterior,
  .lightbox__seguinte { top: auto; bottom: 24px; margin-top: 0; }
  .lightbox__anterior { left: 16px; }
  .lightbox__seguinte { right: 16px; }
  .lightbox__fechar { top: 16px; right: 16px; }

  /* alvos de toque ≥ 44 px */
  .rodape__lista a,
  .rodape__kivo a,
  .contactos a { display: inline-flex; align-items: center; min-height: 44px; }
  .rodape__lista li + li { margin-top: 0; }
  .rodape__lista--contactos li { align-items: center; }
  .rodape__lista--contactos svg { margin-top: 0; }
  .contactos li { min-height: 64px; }
}

@media (max-width: 759.98px) {
  .beneficios__grelha { grid-template-columns: 1fr; }
  .beneficios__grelha li,
  .beneficios__grelha li:nth-child(even) { padding: 28px 0; border-left: 0; }
  .beneficios__grelha li + li { border-top: 1px solid var(--linha-bege); }

  .formulario { grid-template-columns: 1fr; }
}

@media (max-width: 599.98px) {
  :root { --contentor: calc(100% - 40px); --cabecalho-h: 64px; }

  .menu { padding-inline: 20px; }

  .seccao { padding: 80px 0; }
  .titulo { font-size: 36px; line-height: 1.18; }

  .hero__titulo { font-size: 44px; line-height: 1.12; }
  .hero__botoes { flex-direction: column; }
  .hero__botoes .botao { width: 100%; }
  .hero__numeros { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
  .hero__numeros dt { font-size: 11px; line-height: 1.35; }

  .faixa-numeros { padding: 48px 0; }
  .faixa-numeros dd { font-size: 40px; }
  .faixa-numeros dt { font-size: 13px; line-height: 1.4; }
  .faixa-numeros__grelha > div { padding-inline: 6px; }

  .faixa-cta__titulo { font-size: 32px; }
  .faixa-cta__botoes { flex-direction: column; width: 100%; }
  .faixa-cta__botoes .botao { width: 100%; }

  .galeria__grelha { grid-auto-rows: 140px; }

  .localizacao__abrir { font-size: 13px; height: 36px; padding: 0 12px; }
  .morada__rua { font-size: 19px; }
  .perto li { padding-left: 0; }
  .localizacao__botao { width: 100%; }

  .espaco__pontos { grid-template-columns: 1fr; }
  .espaco__etiqueta { right: 8px; bottom: 8px; }

  /* texto de corpo a 16 px no telemóvel (evita também o zoom automático do iOS nos campos) */
  .sobre__texto,
  .beneficios__grelha p,
  .espacos__intro,
  .espaco__texto,
  .espaco__pontos,
  .faixa-cta__texto,
  .galeria__intro,
  .morada__resto,
  .perto span,
  .contacto__texto,
  .contactos a,
  .contactos li > span:last-child,
  .campo input,
  .campo select,
  .campo textarea,
  .campo__erro,
  .formulario__estado,
  .rodape__frase,
  .rodape__lista,
  .lightbox__legenda,
  .formulario__nota { font-size: 16px; line-height: 1.6; }
  .rodape__base { font-size: 14px; }
  .pontos { grid-template-columns: 1fr; font-size: 16px; }
  .perto strong { font-size: 16px; line-height: 22px; }
  .perto span { line-height: 1.45; }
  .beneficios__grelha h3 { font-size: 20px; }
  .espaco__titulo { font-size: 26px; }

  .rodape__grelha { grid-template-columns: 1fr; }
  .rodape__base { flex-direction: column; }
}

/* ---------- Testemunhos (creme) — sem captura do site novo: segue a linguagem dos benefícios ---------- */

.testemunhos .titulo { margin-top: 17px; }

.testemunhos__grelha {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 60px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--linha-bege);
}

.testemunhos__grelha li + li { border-left: 1px solid var(--linha-bege); }

.testemunho { display: flex; flex-direction: column; height: 100%; margin: 0; padding: 40px 48px 8px; }
.testemunhos__grelha li:first-child .testemunho { padding-left: 0; }

/* aspa grande na cor de destaque (desenho; o texto não leva aspas) */
.testemunho__texto { position: relative; margin: 0; padding-top: 40px; }

.testemunho__texto::before {
  content: "\201C";
  position: absolute;
  top: -6px;
  left: -2px;
  color: var(--azul);
  font-family: var(--serif);
  font-size: 72px;
  line-height: 1;
}

.testemunho__texto p {
  color: var(--tinta);
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.35;
}

.testemunho__autor { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 32px; }

.testemunho__autor img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }

.testemunho__autor strong {
  display: block;
  color: var(--tinta);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.testemunho__autor span span { display: block; margin-top: 2px; color: var(--texto-suave); font-size: 13px; }

@media (max-width: 899.98px) {
  .testemunhos__grelha { grid-template-columns: 1fr; margin-top: 48px; }
  .testemunhos__grelha li + li { border-left: 0; border-top: 1px solid var(--linha-bege); }
  .testemunho,
  .testemunhos__grelha li:first-child .testemunho { padding: 36px 0; }
}

@media (max-width: 599.98px) {
  .testemunho__texto p { font-size: 22px; }
  .testemunho__autor span span { font-size: 16px; }
}
