/* ============================================================
   Clínica Veterinária do Parchal — «Luminoso»
   Muito branco e espaço, fotografia grande de cantos redondos,
   profundidade suave, vidro, movimento fluido. O azul e o turquesa
   do logótipo entram saturados: botões, luz, painéis profundos.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --azul: #3F62AD;            /* azul do logótipo */
  --azul-claro: #4C72C6;      /* topo do gradiente de ação */
  --azul-fundo: #1E3F86;      /* base do gradiente de ação */
  --turq: #59C5D6;            /* turquesa do logótipo: luz e acento */
  --tinta: #101B3D;           /* texto e painéis profundos */
  --noite: #0B1330;
  --papel: #FFFFFF;
  --nevoa: #F5F6F9;           /* superfície alternada, quase neutra */
  --linha: rgb(16 27 61 / .1);
  --suave: #55607A;
  --claro: #D9E2F5;

  --grad-acao: linear-gradient(135deg, var(--azul-claro) 0%, var(--azul) 45%, var(--azul-fundo) 100%);
  --grad-profundo:
    radial-gradient(70% 90% at 88% -10%, rgb(89 197 214 / .42), transparent 60%),
    radial-gradient(60% 80% at 0% 110%, rgb(63 98 173 / .7), transparent 65%),
    linear-gradient(160deg, #1A2D66 0%, var(--noite) 100%);

  --sombra-s: 0 1px 2px rgb(16 27 61 / .06), 0 4px 12px -4px rgb(16 27 61 / .1);
  --sombra-m: 0 2px 4px rgb(16 27 61 / .04), 0 18px 40px -18px rgb(16 27 61 / .28);
  --sombra-l: 0 4px 8px rgb(16 27 61 / .04), 0 40px 80px -32px rgb(16 27 61 / .4);
  --sombra-acao: 0 12px 28px -12px rgb(63 98 173 / .75);

  --fonte: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --t-xs: .8125rem;
  --t-sm: .9375rem;
  --t-base: clamp(1rem, .965rem + .17vw, 1.0625rem);
  --t-lg: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  --t-xl: clamp(1.5rem, 1.25rem + 1.1vw, 2.125rem);
  --t-2xl: clamp(2.1rem, 1.4rem + 2.9vw, 3.75rem);
  --t-3xl: clamp(2.35rem, 1rem + 5.6vw, 5rem);

  --max: 76rem;
  --max-l: 84rem;
  --gut: clamp(1.15rem, 4vw, 3rem);
  --sec-y: clamp(4.5rem, 9vw, 8.5rem);
  --r-s: 14px;
  --r-m: 22px;
  --r-l: clamp(24px, 3vw, 36px);
  --cab-h: 4.25rem;

  --saida: cubic-bezier(.16, 1, .3, 1);
  --saida-quart: cubic-bezier(.25, 1, .5, 1);

  --z-elevado: 10;
  --z-cab: 200;
  --z-menu: 300;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--azul) var(--nevoa); }
body {
  margin: 0; font-family: var(--fonte); font-size: var(--t-base); line-height: 1.65;
  color: var(--tinta); background: var(--papel); caret-color: var(--azul);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
::selection { background: var(--turq); color: var(--tinta); }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -.035em; font-weight: 650; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; max-width: 68ch; }
p:last-child { margin-bottom: 0; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; border-radius: 6px; }
.sobre-escuro :focus-visible, .remate :focus-visible, .aviso-urgencia :focus-visible,
.hero-equipa :focus-visible, .faixa-viva :focus-visible { outline-color: var(--papel); }

.sr-so { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.saltar { position: absolute; left: 1rem; top: -5rem; z-index: 500; padding: .8rem 1.2rem; background: var(--tinta); color: var(--papel); font-weight: 700; border-radius: 999px; }
.saltar:focus { top: 1rem; }

.espaco, .espaco-l { width: 100%; margin-inline: auto; padding-inline: var(--gut); }
.espaco { max-width: var(--max); }
.espaco-l { max-width: var(--max-l); }

.seccao { padding-block: var(--sec-y); }
.faixa-vaga, .faixa-nevoa { background: var(--nevoa); }
.sobre-escuro { color: var(--papel); }

.cab-seccao { margin-bottom: clamp(2.25rem, 4.5vw, 3.75rem); display: grid; gap: 1.25rem; }
.titulo-seccao { font-size: var(--t-2xl); max-width: 16ch; }
.titulo-seccao + .chamada { margin-top: 1.25rem; }
.chamada { font-size: var(--t-lg); line-height: 1.5; color: var(--suave); max-width: 46ch; margin: 0; }
.sobre-escuro .chamada { color: var(--claro); }
.lead { font-size: var(--t-lg); line-height: 1.5; font-weight: 500; }
@media (min-width: 56rem) {
  .cab-seccao--dividido { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3rem; align-items: end; }
  .cab-seccao--dividido > :last-child { justify-self: end; }
}

/* ---------- 3. Botões ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 2.875rem; padding: .6rem 1.3rem; font-weight: 650; font-size: var(--t-sm); line-height: 1.1;
  text-decoration: none; white-space: nowrap; cursor: pointer; border: 1px solid transparent; border-radius: 999px;
  transition: transform .35s var(--saida), box-shadow .35s var(--saida), background-color .25s, color .25s, border-color .25s, filter .25s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--grande { min-height: 3.6rem; padding: .9rem 1.8rem; font-size: var(--t-base); }

.btn--tinta, .btn--acento { background: var(--grad-acao); color: var(--papel); box-shadow: var(--sombra-acao), inset 0 1px 0 rgb(255 255 255 / .25); }
.btn--tinta:hover, .btn--acento:hover { filter: brightness(1.08); box-shadow: 0 18px 34px -12px rgb(63 98 173 / .8), inset 0 1px 0 rgb(255 255 255 / .25); }
.btn--linha { background: var(--papel); color: var(--tinta); border-color: var(--linha); box-shadow: var(--sombra-s); }
.btn--linha:hover { border-color: rgb(16 27 61 / .25); box-shadow: var(--sombra-m); }
.btn--claro { background: var(--papel); color: var(--tinta); box-shadow: var(--sombra-m); }

/* Sobre painéis profundos: principal em branco, secundário em vidro */
.remate .btn--tinta { background: var(--papel); color: var(--tinta); box-shadow: 0 16px 36px -16px rgb(0 0 0 / .6); filter: none; }
.remate .btn--linha {
  background: rgb(255 255 255 / .12); color: var(--papel); border-color: rgb(255 255 255 / .35);
  box-shadow: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.remate .btn--linha:hover { background: rgb(255 255 255 / .22); }

.btn__girar { display: none; width: 1rem; height: 1rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; }
[data-ocupado] .btn__girar { display: block; animation: girar .7s linear infinite; }
[data-ocupado] { pointer-events: none; opacity: .75; }
@keyframes girar { to { transform: rotate(1turn); } }

/* ---------- 4. Estado aberto/fechado ---------- */
.estado { display: inline-flex; align-items: center; gap: .55rem; font-weight: 650; font-size: var(--t-sm); }
.estado__ponto { width: .6rem; height: .6rem; border-radius: 50%; background: #9AA3B8; flex: none; }
.estado[data-aberto="sim"] .estado__ponto { background: var(--turq); animation: pulso 2.4s var(--saida-quart) infinite; }
@keyframes pulso { 0% { box-shadow: 0 0 0 0 rgb(89 197 214 / .7); } 70%, 100% { box-shadow: 0 0 0 .6rem rgb(89 197 214 / 0); } }

.faixa-viva { background: var(--noite); color: var(--claro); }
.faixa-viva__interior {
  max-width: var(--max-l); margin-inline: auto; padding: .45rem var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 2.4rem; font-size: var(--t-xs); font-weight: 500;
}
.faixa-viva .estado { font-size: var(--t-xs); color: var(--papel); }
.faixa-viva__horas { display: none; margin: 0; }
@media (min-width: 48rem) { .faixa-viva__horas { display: block; } }

/* ---------- 5. Cabeçalho flutuante em vidro ---------- */
.cab {
  position: sticky; top: .75rem; z-index: var(--z-cab);
  width: min(calc(100% - 1.5rem), calc(var(--max-l) - 2 * var(--gut) + 2rem)); margin: .75rem auto 0;
  background: rgb(255 255 255 / .78); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgb(255 255 255 / .7); border-radius: 999px;
  box-shadow: 0 0 0 1px rgb(16 27 61 / .06), var(--sombra-s);
  transition: box-shadow .4s var(--saida), background-color .4s;
}
.cab[data-preso="sim"] { background: rgb(255 255 255 / .9); box-shadow: 0 0 0 1px rgb(16 27 61 / .06), var(--sombra-m); }
.cab__barra { min-height: var(--cab-h); padding-inline: 1rem .6rem; display: flex; align-items: center; gap: .6rem; }
.cab__marca { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.cab__marca img { width: 2.4rem; height: 2.4rem; }
.cab__marca-texto { display: none; font-size: var(--t-xs); font-weight: 500; line-height: 1.15; color: var(--suave); }
.cab__marca-texto b { display: block; font-size: 1.0625rem; font-weight: 700; letter-spacing: -.02em; color: var(--tinta); }
.cab__nav { display: none; margin-inline: auto; gap: .15rem; }
.cab__nav a {
  padding: .6rem 1rem; font-weight: 600; font-size: var(--t-sm); text-decoration: none; border-radius: 999px; color: var(--suave);
  transition: background-color .25s, color .25s;
}
.cab__nav a:hover { color: var(--tinta); background: rgb(16 27 61 / .05); }
.cab__nav a[aria-current="page"] { color: var(--tinta); background: rgb(16 27 61 / .07); }
.cab__acoes { display: flex; align-items: center; gap: .4rem; margin-left: auto; }
.cab .btn--tel { background: transparent; color: var(--tinta); box-shadow: none; border-color: var(--linha); width: 2.875rem; padding: 0; filter: none; }
.cab .btn--tel:hover { background: var(--papel); box-shadow: var(--sombra-s); filter: none; }
.btn__num, .btn__extra { display: none; }
/* Custo da chamada junto ao número (obrigatório por lei). No telemóvel fica à esquerda do ícone, em duas linhas; a partir de 48rem fica por baixo do número. */
.cab__tel { display: flex; align-items: center; gap: .45rem; min-width: 0; }
.cab .cab__custo { margin: 0; max-width: 5.6rem; font-size: .625rem; line-height: 1.15; text-align: right; text-wrap: balance; color: var(--suave); }
/* Ecrãs muito estreitos: a nota desce para uma etiqueta por baixo da barra */
@media (max-width: 22.49rem) {
  .cab__barra { position: relative; }
  .cab .cab__custo { position: absolute; top: calc(100% + .3rem); right: .75rem; max-width: none; padding: .25rem .6rem; border-radius: 999px; white-space: nowrap; background: rgb(255 255 255 / .92); box-shadow: var(--sombra-s); }
}
.cab__tel .btn--tel { order: 2; }
.cab__menu {
  width: 2.875rem; height: 2.875rem; flex: none; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--linha); border-radius: 50%; cursor: pointer;
}
.cab__menu span, .cab__menu span::before, .cab__menu span::after { display: block; width: 1.1rem; height: 2px; border-radius: 2px; background: var(--tinta); transition: transform .35s var(--saida), background-color .2s; }
.cab__menu span { position: relative; }
.cab__menu span::before, .cab__menu span::after { content: ""; position: absolute; left: 0; }
.cab__menu span::before { top: -6px; }
.cab__menu span::after { top: 6px; }
.cab__menu[aria-expanded="true"] span { background: transparent; }
.cab__menu[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.cab__menu[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 34rem) { .btn__extra { display: inline; } }
@media (min-width: 48rem) {
  .cab__barra { padding-inline: 1.4rem .7rem; }
  .cab__marca-texto { display: block; }
  .btn__num { display: inline; }
  .cab .btn--tel { width: auto; padding: .6rem 1.2rem; min-height: 2.5rem; }
  .cab__tel { flex-direction: column; gap: .2rem; }
  .cab__tel .btn--tel { order: 0; }
  .cab .cab__custo { max-width: none; font-size: .6875rem; text-align: center; white-space: nowrap; }
}
@media (min-width: 62rem) {
  .cab__nav { display: flex; }
  .cab__acoes { margin-left: 0; }
  .cab__menu { display: none; }
}

.menu-movel {
  position: fixed; inset: 0; z-index: var(--z-menu); padding: calc(var(--cab-h) + 5rem) var(--gut) 2rem;
  background: rgb(255 255 255 / .96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; overflow-y: auto;
}
.menu-movel[hidden] { display: none; }
.menu-movel > a { padding: .85rem 0; font-size: 2.25rem; font-weight: 650; letter-spacing: -.035em; text-decoration: none; border-bottom: 1px solid var(--linha); }
.menu-movel > a[aria-current="page"] { color: var(--azul); }
.menu-movel__pe { margin-top: auto; padding-top: 2rem; display: grid; }
.menu-movel .btn--claro { background: var(--grad-acao); color: var(--papel); box-shadow: var(--sombra-acao); }
.cab:has(.cab__menu[aria-expanded="true"]) { z-index: calc(var(--z-menu) + 1); }
@media (min-width: 62rem) { .menu-movel { display: none; } }

/* ---------- 6. Hero ---------- */
.hero { position: relative; }
.hero__interior { position: relative; max-width: var(--max-l); margin-inline: auto; padding: clamp(2.5rem, 6vw, 5rem) var(--gut); }
.hero h1 { font-size: var(--t-3xl); line-height: 1; letter-spacing: -.045em; }
.hero__linha { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.hero__linha > span { display: block; }
.hero__linha:last-child > span { color: var(--azul); }
.hero__sub { font-size: var(--t-lg); line-height: 1.5; color: var(--suave); max-width: 40ch; margin: 1.6rem 0 0; }
.hero__idiomas { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--t-sm); font-weight: 600; }
.hero__acoes { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }

/* Página inicial */
.hero--foto::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  right: -8rem; top: 2rem; width: min(46rem, 90vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, var(--turq) 0%, var(--azul) 45%, transparent 68%);
  filter: blur(90px); opacity: .38;
}
.hero--foto .hero__interior { display: grid; gap: 3rem; z-index: 1; padding-bottom: 2rem; }
.hero__foto { position: relative; }
.hero__foto img {
  width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 35% 70%;
  border-radius: var(--r-l); box-shadow: var(--sombra-l);
}
.hero__chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: .55rem;
  padding: .7rem 1.05rem; border-radius: 999px; font-size: var(--t-sm); font-weight: 650; color: var(--tinta);
  background: rgb(255 255 255 / .82); -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6);
  border: 1px solid rgb(255 255 255 / .8); box-shadow: var(--sombra-m);
  animation: flutua 6s ease-in-out infinite alternate;
}
.hero__chip--estado { top: 1rem; left: 1rem; }
.hero__chip--nota { bottom: 1rem; right: 1rem; animation-delay: -3s; }
.hero__chip--nota b { font-size: 1.15rem; font-weight: 700; letter-spacing: -.03em; }
.hero__chip--nota svg { width: 1.05rem; height: 1.05rem; color: var(--azul); }
.hero__chip .estado { font-size: inherit; }
@keyframes flutua { from { transform: translateY(-4px); } to { transform: translateY(6px); } }

.hero__factos {
  position: relative; z-index: 1; list-style: none; display: flex; flex-wrap: wrap; gap: .6rem;
  max-width: var(--max-l); margin-inline: auto; padding: 0 var(--gut) clamp(2.5rem, 5vw, 4rem);
  font-weight: 600; font-size: var(--t-sm);
}
.hero__factos li {
  display: flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: 999px;
  background: var(--papel); border: 1px solid var(--linha); box-shadow: var(--sombra-s);
}
.hero__factos svg { width: 1.15rem; height: 1.15rem; flex: none; color: var(--azul); }
@media (max-width: 33.99rem) { .hero__acoes .btn { flex: 1 1 100%; } }
@media (min-width: 62rem) {
  .hero--foto .hero__interior { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(3rem, 6vw, 6rem); align-items: center; }
  .hero__foto img { aspect-ratio: 4 / 5; max-height: min(70vh, 42rem); object-position: 35% 50%; }
  .hero__chip--estado { top: 2rem; left: -1.75rem; }
  .hero__chip--nota { bottom: 2.25rem; right: -1.25rem; }
}
@media (min-width: 62rem) and (max-height: 50rem) {
  .hero h1 { font-size: clamp(2.75rem, 4.4vw, 4.1rem); }
  .hero__interior { padding-block: 2rem; }
}

/* Páginas interiores */
.hero--pagina { overflow: hidden; }
.hero--pagina::before {
  content: ""; position: absolute; pointer-events: none; right: -10rem; top: -14rem; width: min(44rem, 100vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--turq) 0%, var(--azul) 45%, transparent 68%); filter: blur(90px); opacity: .34;
}
.hero--pagina .hero__interior { padding-block: clamp(3.5rem, 8vw, 7rem) clamp(2rem, 4vw, 3.5rem); }
.hero--pagina h1 { max-width: 15ch; }
.hero--pagina .hero__sub { max-width: 52ch; }
.hero__marca { display: none; }

/* Equipa: a fachada em painel grande, texto sobre véu */
.hero-equipa {
  position: relative; display: grid; align-items: end; overflow: hidden; isolation: isolate;
  width: min(calc(100% - 1.5rem), calc(var(--max-l) - 2 * var(--gut) + 2rem)); margin: 1.25rem auto 0;
  min-height: clamp(30rem, 72vh, 44rem); border-radius: var(--r-l); color: var(--papel); box-shadow: var(--sombra-l);
}
/* a fotografia traz controlos de navegação na base: a escala deixa-os fora do enquadramento */
.hero-equipa__foto { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 30% 0; transform: scale(1.3); transform-origin: 40% 0; }
.hero-equipa__veu { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(11 19 48 / .1) 0%, rgb(11 19 48 / .55) 45%, rgb(11 19 48 / .92) 100%); }
.hero-equipa__texto { max-width: none; margin: 0; padding: clamp(1.5rem, 4vw, 3.5rem); }
.hero-equipa h1 { font-size: var(--t-3xl); line-height: 1; letter-spacing: -.045em; }
.hero-equipa .hero__sub { color: var(--claro); max-width: 48ch; }
.hero-equipa .hero__idiomas { margin-top: 1.6rem; }

/* Entrada assinada (uma vez por sessão) */
.hero--anima .hero__linha > span { animation: sobe 1s var(--saida) both; animation-delay: calc(var(--i, 0) * 100ms + 80ms); }
.hero--anima .hero__sub { animation: surge .9s var(--saida) .45s both; }
.hero--anima .hero__acoes { animation: surge .9s var(--saida) .58s both; }
.hero--anima .hero__foto img { animation: abre 1.4s var(--saida) .15s both; }
.hero--anima .hero__chip { animation: surge .9s var(--saida) .9s both, flutua 6s ease-in-out 1.8s infinite alternate; }
.hero--anima .hero__factos { animation: surge .9s var(--saida) .75s both; }
.hero--anima.hero--pagina h1, .hero--anima.hero--pagina .hero__sub { animation: surge 1s var(--saida) both; }
@keyframes sobe { from { transform: translateY(110%); } }
@keyframes surge { from { opacity: 0; transform: translateY(1.1rem); filter: blur(6px); } }
@keyframes abre { from { clip-path: inset(12% 12% 12% 12% round 36px); transform: scale(1.06); opacity: 0; } to { clip-path: inset(0 round 36px); } }

/* ---------- 7. Índice de serviços ---------- */
.mosaico { counter-reset: serv; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.ficha {
  counter-increment: serv; position: relative; display: grid; grid-template-columns: auto 1fr; align-content: space-between;
  gap: 1.75rem .5rem; min-height: 9rem; padding: 1.1rem; border-radius: var(--r-m);
  background: var(--nevoa); color: var(--tinta); text-decoration: none; overflow: hidden; isolation: isolate;
  transition: transform .45s var(--saida), box-shadow .45s var(--saida), color .3s;
}
.ficha::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-acao); opacity: 0; transition: opacity .35s var(--saida-quart); }
.ficha::before {
  content: counter(serv, decimal-leading-zero); grid-column: 2; justify-self: end;
  font-weight: 600; font-size: var(--t-xs); color: var(--suave); transition: color .3s;
}
.ficha__icone {
  grid-column: 1; grid-row: 1; width: 2.9rem; height: 2.9rem; padding: .7rem; border-radius: 50%;
  background: var(--papel); color: var(--azul); box-shadow: var(--sombra-s); transition: transform .5s var(--saida);
}
.ficha__nome { grid-column: 1 / -1; font-weight: 650; font-size: 1.0625rem; line-height: 1.15; letter-spacing: -.025em; }
.ficha:hover, .ficha:focus-visible { transform: translateY(-5px); box-shadow: 0 24px 44px -20px rgb(63 98 173 / .7); color: var(--papel); }
.ficha:hover::after, .ficha:focus-visible::after { opacity: 1; }
.ficha:hover::before, .ficha:focus-visible::before { color: var(--papel); }
.ficha:hover .ficha__icone { transform: scale(1.08) rotate(-6deg); }
@media (min-width: 48rem) {
  .mosaico { gap: 1rem; }
  .ficha { min-height: 10.5rem; padding: 1.4rem; }
  .ficha__nome { font-size: 1.1875rem; }
}
/* 10 serviços: 5 colunas = 2 filas completas, sem buracos */
@media (min-width: 64rem) {
  .mosaico { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ---------- 8. Sobre nós ---------- */
.sobre { display: grid; gap: clamp(2.5rem, 5vw, 5rem); }
.sobre__texto .titulo-seccao { margin-bottom: 1.75rem; }
.sobre__texto > div + div { margin-top: 1.25rem; }
.sobre__texto p { color: var(--suave); }
.sobre__texto p + p { margin-top: 1em; }
.sobre__texto .lead { color: var(--tinta); }
.factos { margin-top: 2.5rem; display: grid; gap: .75rem; }
.factos > div { display: flex; flex-direction: column-reverse; gap: .35rem; padding: 1.25rem 1.4rem; border-radius: var(--r-m); background: var(--papel); box-shadow: var(--sombra-s); }
.factos dt { font-weight: 500; font-size: var(--t-sm); color: var(--suave); line-height: 1.3; }
.factos dd { font-weight: 650; font-size: var(--t-2xl); letter-spacing: -.05em; line-height: 1; color: var(--azul); }
@media (min-width: 36rem) { .factos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.moldura { position: relative; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--sombra-l); }
.moldura img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 56rem) { .sobre { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; } }

/* ---------- 9. Avaliações: painel profundo ---------- */
.faixa-escura { width: min(calc(100% - 1.5rem), 100rem); margin-inline: auto; border-radius: var(--r-l); background: var(--grad-profundo); overflow: hidden; }
.aval__resumo { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1.6rem; }
.aval__nota { font-size: var(--t-2xl); font-weight: 650; letter-spacing: -.05em; line-height: 1; color: var(--turq); }
.estrelas { position: relative; display: inline-block; line-height: 0; }
.estrelas__vazias, .estrelas__cheias { display: flex; gap: .15rem; }
.estrelas svg { width: 1.35rem; height: 1.35rem; flex: none; }
.estrelas__vazias { color: rgb(255 255 255 / .25); }
.estrelas__cheias { position: absolute; inset: 0 auto 0 0; width: var(--pct, 100%); overflow: hidden; color: var(--turq); }
.faixa-escura a { color: var(--papel); }
.rail-ctrl { display: flex; gap: .5rem; }
.rail-ctrl button {
  width: 3.25rem; height: 3.25rem; display: grid; place-items: center; cursor: pointer; border-radius: 50%;
  background: rgb(255 255 255 / .1); color: var(--papel); border: 1px solid rgb(255 255 255 / .3);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background-color .25s, color .25s, opacity .25s, transform .35s var(--saida);
}
.rail-ctrl button:hover:not(:disabled) { background: var(--papel); color: var(--tinta); transform: scale(1.06); }
.rail-ctrl button:disabled { opacity: .35; cursor: default; }
.rail-ctrl svg { width: 1.25rem; height: 1.25rem; }
.aval__rail { display: flex; gap: 1rem; overflow-x: auto; padding: .5rem 0 1.5rem; scroll-snap-type: x mandatory; scrollbar-color: rgb(255 255 255 / .4) transparent; scrollbar-width: thin; }
.aval {
  flex: 0 0 min(78vw, 20rem); scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem;
  padding: 1.35rem 1.4rem; border-radius: var(--r-m); color: var(--papel);
  background: rgb(255 255 255 / .09); border: 1px solid rgb(255 255 255 / .18);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: background-color .3s, transform .45s var(--saida);
}
.aval:hover { background: rgb(255 255 255 / .14); transform: translateY(-4px); }
.aval__texto {
  margin: 0; font-size: 1rem; line-height: 1.5; font-weight: 400; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden;
}
.aval__quem { display: flex; align-items: center; gap: .75rem; font-weight: 600; font-size: var(--t-sm); color: var(--claro); }
.aval__inicial { width: 2.2rem; height: 2.2rem; display: grid; place-items: center; flex: none; background: var(--turq); color: var(--tinta); border-radius: 50%; font-size: var(--t-xs); font-weight: 700; }

/* ---------- 10. Espécies e galeria ---------- */
.especies { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.especie { position: relative; border-radius: var(--r-m); overflow: hidden; isolation: isolate; box-shadow: var(--sombra-m); }
.especie img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--nevoa); transition: transform 1.2s var(--saida); }
.especie:hover img { transform: scale(1.06); }
.especie figcaption {
  position: absolute; inset: auto 0 0 0; display: grid; gap: .3rem; padding: 3.5rem 1.1rem 1.1rem; color: var(--papel);
  background: linear-gradient(180deg, transparent, rgb(11 19 48 / .88) 62%);
}
.especie b { font-size: var(--t-lg); font-weight: 650; letter-spacing: -.025em; line-height: 1.1; }
.especie span { font-size: var(--t-sm); color: var(--claro); line-height: 1.4; }
/* 3 cartões: no telemóvel o último ocupa a largura toda, em vez de ficar sozinho */
.especies > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.especies > li:last-child:nth-child(odd) .especie img { aspect-ratio: 16 / 9; }
@media (min-width: 56rem) { .especies { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } .especies > li:last-child:nth-child(odd) { grid-column: auto; } .especies > li:last-child:nth-child(odd) .especie img { aspect-ratio: 3 / 4; } .especie figcaption { padding: 4rem 1.5rem 1.5rem; } }

.galeria { display: grid; gap: 1.25rem; }
.galeria__item { display: grid; grid-template-rows: 1fr auto; }
.galeria__item > img, .galeria__corte { border-radius: var(--r-l); box-shadow: var(--sombra-m); }
.galeria__item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.galeria__item figcaption { margin-top: .9rem; font-weight: 600; font-size: var(--t-sm); color: var(--suave); }
.galeria__item--topo img { object-position: 50% 25%; }
/* a fotografia da fachada traz controlos de navegação na base: ficam fora do enquadramento */
.galeria__corte { display: block; overflow: hidden; }
.galeria__corte img { transform: scale(1.24); transform-origin: 100% 0; }
@media (min-width: 48rem) {
  .galeria--dupla { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .galeria__item img { aspect-ratio: auto; height: clamp(18rem, 36vw, 30rem); }
}

/* ---------- 11. Contactos ---------- */
.contacto-grelha { display: grid; gap: 1.25rem; }
.bloco-info { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--r-l); background: var(--nevoa); }
.bloco-info h3 { font-size: var(--t-xl); margin-bottom: 1.25rem; }
.lista-contacto { display: grid; gap: .5rem; }
.lista-contacto > div { display: flex; gap: .9rem; align-items: center; padding: .8rem; border-radius: var(--r-s); background: var(--papel); box-shadow: var(--sombra-s); }
.lista-contacto__icone { width: 2.75rem; height: 2.75rem; flex: none; display: grid; place-items: center; background: var(--grad-acao); color: var(--papel); border-radius: 50%; }
.lista-contacto__icone svg { width: 1.2rem; height: 1.2rem; }
.lista-contacto dt { font-size: var(--t-xs); font-weight: 500; color: var(--suave); }
.lista-contacto dd { font-weight: 650; line-height: 1.35; }
.lista-contacto dd a { text-decoration: none; }
.lista-contacto dd a:hover { color: var(--azul); text-decoration: underline; }
.email { overflow-wrap: anywhere; }
.horario { font-variant-numeric: tabular-nums; margin-bottom: 1.25rem; border-collapse: separate; border-spacing: 0 .3rem; }
.horario th, .horario td { padding: .7rem 1rem; text-align: left; background: var(--papel); }
.horario th { font-weight: 500; border-radius: var(--r-s) 0 0 var(--r-s); }
.horario td { text-align: right; font-weight: 650; border-radius: 0 var(--r-s) var(--r-s) 0; }
.horario td[data-fechado] { color: var(--suave); font-weight: 500; }
.horario tr[data-hoje] th, .horario tr[data-hoje] td { background: var(--tinta); color: var(--papel); font-weight: 650; }
.mapa { border-radius: var(--r-l); overflow: hidden; box-shadow: var(--sombra-m); }
.mapa iframe { width: 100%; height: clamp(17rem, 40vw, 24rem); border: 0; }
@media (min-width: 48rem) { .contacto-grelha { grid-template-columns: repeat(2, minmax(0, 1fr)); } .contacto-grelha > :last-child { grid-column: 1 / -1; } }
@media (min-width: 70rem) {
  .contacto-grelha { grid-template-columns: 1fr .9fr 1.1fr; }
  .contacto-grelha > :last-child { grid-column: auto; }
  .mapa iframe { height: 26rem; }
}

/* ---------- 12. Remate: painel profundo ---------- */
.remate {
  position: relative; width: min(calc(100% - 1.5rem), 100rem); margin: 0 auto clamp(.75rem, 1.5vw, 1.25rem);
  border-radius: var(--r-l); background: var(--grad-profundo); color: var(--papel); overflow: hidden;
}
.remate h2 { font-size: var(--t-2xl); max-width: 16ch; }
.remate .chamada { color: var(--claro); }
.remate__interior { display: grid; gap: 2rem; }
.remate__acoes { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 56rem) { .remate__interior { grid-template-columns: 1.3fr auto; align-items: end; gap: 3rem; } }

/* ---------- 13. Rodapé ---------- */
.pe {
  width: min(calc(100% - 1.5rem), 100rem); margin: 0 auto .75rem; border-radius: var(--r-l);
  background: var(--noite); padding-top: clamp(3rem, 6vw, 5rem); font-size: var(--t-sm);
}
.pe__topo { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.pe__lockup { display: flex; align-items: center; gap: .8rem; text-decoration: none; font-weight: 500; line-height: 1.15; color: var(--claro); margin-bottom: 1.25rem; }
.pe__lockup img { width: 3rem; height: 3rem; }
.pe__lockup b { display: block; font-size: 1.3125rem; font-weight: 700; letter-spacing: -.02em; color: var(--papel); }
.pe__marca p { color: var(--claro); }
.pe h3 { font-size: var(--t-sm); font-weight: 600; letter-spacing: 0; margin-bottom: .9rem; color: var(--turq); }
.pe__lista { list-style: none; display: grid; gap: .15rem; color: var(--claro); }
.pe__lista a { display: inline-block; padding: .3rem 0; color: var(--papel); font-weight: 500; text-decoration: none; overflow-wrap: anywhere; transition: color .2s; }
.pe__lista a:hover { color: var(--turq); }
.sociais { display: flex; gap: .5rem; margin-top: 1.25rem; }
.social { width: 2.875rem; height: 2.875rem; display: grid; place-items: center; border-radius: 50%; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .2); transition: background-color .25s, color .25s, transform .35s var(--saida); }
.social:hover { background: var(--turq); color: var(--tinta); transform: translateY(-3px); }
.social svg { width: 1.2rem; height: 1.2rem; }
.pe__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.4rem; border-top: 1px solid rgb(255 255 255 / .14); font-size: var(--t-xs); color: var(--claro); }
.pe__base p { margin: 0; }
.pe__base a { color: var(--papel); font-weight: 600; }
.pe__legal { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; flex: 1 1 100%; }
.pe__legal a { display: inline-block; padding: .45rem 0; }
@media (min-width: 48rem) { .pe__topo { grid-template-columns: 1.4fr .7fr 1fr; gap: 3rem; } }

/* ---------- 14. Serviços ---------- */
main { counter-reset: bula; }

.servico { counter-increment: bula; display: grid; gap: 1.75rem; padding-block: clamp(2.5rem, 5vw, 4.5rem); scroll-margin-top: calc(var(--cab-h) + 2rem); }
.servico__lado { display: grid; gap: 1.5rem; align-content: start; }
.servico__cabeca { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; }
.servico__cabeca::before {
  content: counter(bula, decimal-leading-zero); grid-column: 2; grid-row: 1; justify-self: start;
  padding: .3rem .7rem; border-radius: 999px; background: var(--nevoa); font-size: var(--t-xs); font-weight: 600; color: var(--suave);
}
.servico__cabeca > div { grid-column: 1 / -1; grid-row: 2; }
.servico h2 { font-size: var(--t-xl); letter-spacing: -.035em; line-height: 1.08; }
.servico__selo { grid-column: 1; grid-row: 1; width: 3.25rem; height: 3.25rem; display: grid; place-items: center; background: var(--grad-acao); color: var(--papel); border-radius: 50%; box-shadow: var(--sombra-acao); }
.servico__selo svg { width: 1.5rem; height: 1.5rem; }
.servico:target .servico__selo { animation: carimbo 1.1s var(--saida) 1; }
@keyframes carimbo { 0% { transform: scale(1.7); box-shadow: 0 0 0 1.5rem rgb(89 197 214 / .35); } }
.servico__foto { border-radius: var(--r-l); overflow: hidden; box-shadow: var(--sombra-m); }
.servico__foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--nevoa); }
.servico__corpo { display: grid; gap: 1.75rem; align-content: center; }
.servico__corpo > p { font-size: var(--t-lg); line-height: 1.55; color: var(--suave); }
.servico__corpo > p strong { color: var(--tinta); }
.servico__lista { list-style: none; display: grid; gap: .5rem; }
.servico__lista li { position: relative; padding: .8rem 1rem .8rem 3rem; border-radius: var(--r-s); background: var(--nevoa); font-weight: 500; line-height: 1.4; }
.servico__lista li::before {
  content: ""; position: absolute; left: .9rem; top: .85rem; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--azul) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 12.5 3.7 3.7 7.3-8.2'/%3E%3C/svg%3E") center / 70% no-repeat;
}
@media (min-width: 56rem) {
  .servico { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(3rem, 6vw, 6rem); align-items: center; }
  .servico:nth-of-type(even) .servico__lado { order: 2; }
}

/* ---------- 15. Equipa ---------- */
.equipa { display: grid; gap: 1.25rem; }
.membro { display: grid; gap: 1.5rem; padding: clamp(1.5rem, 3.5vw, 3rem); border-radius: var(--r-l); background: var(--nevoa); scroll-margin-top: calc(var(--cab-h) + 2rem); transition: box-shadow .5s var(--saida), background-color .4s; }
.membro:hover { background: var(--papel); box-shadow: var(--sombra-l); }
.membro__retrato { width: 7rem; aspect-ratio: 1; border-radius: 32%; overflow: hidden; background: var(--papel); box-shadow: var(--sombra-m); }
.membro__retrato img { width: 100%; height: 100%; object-fit: cover; }
.membro__retrato[data-provisorio] { display: grid; place-items: center; background: var(--grad-acao); }
.membro__mono { font-size: 2.4rem; font-weight: 650; letter-spacing: -.05em; color: var(--papel); line-height: 1; }
.membro:nth-child(even) .membro__retrato[data-provisorio] { background: linear-gradient(135deg, #7FD8E5, var(--turq) 55%, #3BA9BD); }
.membro:nth-child(even) .membro__mono { color: var(--tinta); }
.membro__corpo { display: grid; gap: 1.1rem; align-content: start; }
.membro h3 { font-size: var(--t-xl); }
.membro__papel { margin: .4rem 0 0; font-weight: 600; color: var(--azul); }
.membro__bio { color: var(--suave); font-size: var(--t-lg); line-height: 1.55; }
.membro__meta { display: flex; flex-wrap: wrap; gap: .5rem; }
.etiqueta { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .9rem; font-size: var(--t-xs); font-weight: 600; line-height: 1.2; background: var(--papel); border: 1px solid transparent; border-radius: 999px; box-shadow: var(--sombra-s); }
.etiqueta svg { color: var(--azul); flex: none; }
.etiqueta--linha { background: transparent; border-color: rgb(16 27 61 / .2); box-shadow: none; }
.membro__pessoal { margin: 0; padding-top: 1.1rem; border-top: 1px solid var(--linha); font-style: italic; color: var(--suave); }
@media (min-width: 48rem) {
  .membro { grid-template-columns: 10rem minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); }
  .membro__retrato { width: 100%; }
  .membro__mono { font-size: 3.5rem; }
}

/* ---------- 16. Dicas ---------- */
.dicas { display: block; }
.dica { display: grid; gap: 1.5rem; padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.dica:first-child { padding-top: 0; }
.dica__foto { border-radius: var(--r-l); overflow: hidden; box-shadow: var(--sombra-m); }
.dica__foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--nevoa); }
.dica__conteudo { display: grid; gap: 1.25rem; align-content: center; }
.dica__topo { display: flex; align-items: center; gap: 1rem; }
.dica__icone { width: 3.25rem; height: 3.25rem; flex: none; display: grid; place-items: center; background: var(--grad-acao); color: var(--papel); border-radius: 50%; box-shadow: var(--sombra-acao); }
.dica__icone svg { width: 1.5rem; height: 1.5rem; }
.dica h3 { font-size: var(--t-xl); line-height: 1.08; }
.dica p { color: var(--suave); font-size: var(--t-lg); line-height: 1.55; }
.dica__alerta { display: flex; gap: .85rem; align-items: flex-start; padding: 1.1rem 1.25rem; border-radius: var(--r-m); background: var(--tinta); color: var(--papel); font-weight: 500; line-height: 1.5; }
.dica__alerta svg { width: 1.4rem; height: 1.4rem; flex: none; margin-top: .1rem; color: var(--turq); }
@media (min-width: 52rem) {
  .dica { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(3rem, 6vw, 6rem); align-items: center; }
  .dica:nth-child(even) .dica__foto { order: 2; }
}
.lista-urgencia { padding: clamp(1rem, 2.5vw, 1.75rem); border-radius: var(--r-l); background: var(--papel); box-shadow: var(--sombra-m); }
.lista-urgencia li::before { background-color: var(--tinta); }
@media (min-width: 52rem) { .lista-urgencia { grid-template-columns: 1fr 1fr; } }
.aviso-urgencia { display: grid; gap: 1.5rem; align-items: center; padding: clamp(1.75rem, 4vw, 3rem); background: var(--grad-profundo); color: var(--papel); border-radius: var(--r-l); box-shadow: var(--sombra-l); }
.aviso-urgencia h3 { font-size: var(--t-xl); margin-bottom: .7rem; }
.aviso-urgencia p { color: var(--claro); }
@media (min-width: 52rem) { .aviso-urgencia { grid-template-columns: 1fr auto; gap: 3rem; } }

/* ---------- 17. Marcação (dialog) ---------- */
.modal { width: min(46rem, calc(100vw - 1.5rem)); max-height: calc(100dvh - 1.5rem); padding: 0; border: 0; border-radius: var(--r-l); background: var(--papel); color: var(--tinta); box-shadow: 0 40px 100px -30px rgb(11 19 48 / .7); overflow: auto; }
.modal::backdrop { background: rgb(11 19 48 / .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.modal[open] { animation: cola-modal .6s var(--saida); }
@keyframes cola-modal { from { opacity: 0; transform: translateY(2rem) scale(.97); } }
.modal__cabeca { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.5rem clamp(1.25rem, 3vw, 2.25rem) 1.1rem; background: rgb(255 255 255 / .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--linha); }
.modal__cabeca h2 { font-size: var(--t-xl); }
.modal__cabeca p { margin: .4rem 0 0; color: var(--suave); font-size: var(--t-sm); }
.modal__fechar { width: 2.875rem; height: 2.875rem; flex: none; display: grid; place-items: center; cursor: pointer; background: var(--nevoa); border: 0; border-radius: 50%; transition: background-color .25s, color .25s, transform .4s var(--saida); }
.modal__fechar:hover { background: var(--tinta); color: var(--papel); transform: rotate(90deg); }
.modal__fechar svg { width: 1.2rem; height: 1.2rem; }
.form { display: grid; gap: 1.5rem; padding: clamp(1.25rem, 3vw, 2.25rem); }
.mel { position: absolute; left: -9999px; opacity: 0; }
.form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form legend, .campo label { display: block; padding: 0; margin-bottom: .55rem; font-weight: 650; font-size: var(--t-sm); }
.form legend span, .campo label span { font-weight: 400; color: var(--suave); }
.escolhas { display: flex; flex-wrap: wrap; gap: .45rem; }
.escolha { position: relative; cursor: pointer; }
.escolha input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.escolha span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .45rem 1rem; font-size: var(--t-sm); font-weight: 500; background: var(--nevoa); border: 1px solid transparent; border-radius: 999px; transition: background-color .2s, color .2s, box-shadow .3s; }
.escolha:hover span { border-color: rgb(16 27 61 / .2); }
.escolha input:checked + span { background: var(--grad-acao); color: var(--papel); box-shadow: var(--sombra-acao); }
.escolha input:focus-visible + span { outline: 3px solid var(--azul); outline-offset: 2px; }
.campos { display: grid; gap: 1.1rem; }
@media (min-width: 36rem) { .campos--par { grid-template-columns: 1fr 1fr; } }
.campo input, .campo select, .campo textarea { width: 100%; min-height: 3.1rem; padding: .75rem 1rem; font: inherit; color: var(--tinta); background: var(--nevoa); border: 1px solid transparent; border-radius: var(--r-s); accent-color: var(--azul); transition: background-color .2s, border-color .2s, box-shadow .2s; }
.campo textarea { min-height: 7rem; resize: vertical; }
.campo ::placeholder { color: #5F6A85; opacity: 1; }
.campo input:focus-visible, .campo select:focus-visible, .campo textarea:focus-visible { outline: 0; background: var(--papel); border-color: var(--azul); box-shadow: 0 0 0 4px rgb(63 98 173 / .2); }
.consentimento { display: flex; gap: .75rem; align-items: flex-start; font-size: var(--t-sm); font-weight: 500; cursor: pointer; }
.consentimento input { width: 1.4rem; height: 1.4rem; flex: none; margin: .1rem 0 0; accent-color: var(--azul); cursor: pointer; }
.consentimento a { color: var(--azul); font-weight: 650; }
.form__pe { display: grid; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--linha); }
.form__estado:empty { display: none; }
.form__estado { display: flex; gap: .7rem; align-items: flex-start; padding: 1rem 1.15rem; border-radius: var(--r-s); font-weight: 500; line-height: 1.45; background: var(--nevoa); }
.form__estado[data-tipo="ok"] { background: var(--tinta); color: var(--papel); }
.form__estado[data-tipo="ok"] svg { color: var(--turq); }
.form__estado svg { width: 1.4rem; height: 1.4rem; flex: none; }
.form__nota { margin: 0; font-size: var(--t-sm); color: var(--suave); }
.form__nota a { color: var(--tinta); font-weight: 650; }

/* Custo das chamadas (DL 59/2021): indicação junto de cada número */
.custo-chamada { display: block; margin: .5rem 0 0; font-size: var(--t-xs); font-weight: 400; line-height: 1.35; color: var(--suave); }
.hero__acoes + .custo-chamada { margin-top: .75rem; }
.hero--anima .hero__acoes + .custo-chamada { animation: surge .9s var(--saida) .66s both; }
.menu-movel__pe .custo-chamada { text-align: center; }
.lista-contacto dd .custo-chamada { margin-top: .15rem; }

/* ---------- 18. Páginas legais ---------- */
.legal { max-width: 50rem; }
.legal > p, .legal li { color: var(--suave); }
.legal > .lead { color: var(--tinta); }
.legal h2 { font-size: var(--t-xl); margin: clamp(2.75rem, 5vw, 3.75rem) 0 1rem; }
.legal h3 { font-size: var(--t-lg); letter-spacing: -.02em; margin: 2rem 0 .6rem; }
.legal ul { list-style: none; display: grid; gap: .5rem; max-width: 68ch; }
.legal li { position: relative; padding: .8rem 1rem .8rem 2.6rem; border-radius: var(--r-s); background: var(--nevoa); }
.legal li::before { content: ""; position: absolute; left: 1.05rem; top: 1.35rem; width: .5rem; height: .5rem; background: var(--azul); border-radius: 50%; }
.legal a { color: var(--azul); font-weight: 650; }

/* ---------- 19. Movimento ---------- */
.js [data-rev] {
  opacity: 0; transform: translateY(1.75rem); filter: blur(8px);
  transition: opacity .9s var(--saida), transform 1.1s var(--saida), filter .9s var(--saida);
  transition-delay: calc(min(var(--i, 0), 8) * 60ms);
}
.js [data-rev="escala"] { transform: translateY(1.25rem) scale(.96); }
.js [data-rev].visivel { opacity: 1; transform: none; filter: none; }
.js .ficha[data-rev].visivel, .js .membro[data-rev].visivel {
  transition: transform .45s var(--saida), box-shadow .45s var(--saida), color .3s, background-color .4s; transition-delay: 0s;
}

/* As fotografias assentam enquanto entram no ecrã */
@supports (animation-timeline: view()) {
  .servico__foto img, .dica__foto img, .moldura img, .galeria__item--topo img {
    animation: assenta linear both; animation-timeline: view(); animation-range: entry 0% cover 45%;
  }
  @keyframes assenta { from { transform: scale(1.16); } to { transform: scale(1); } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-rev] { opacity: 1; transform: none; filter: none; }
}
@media print {
  .cab, .faixa-viva, .menu-movel, .modal,   .js [data-rev] { opacity: 1; transform: none; filter: none; }
}

/* ---------- 20. Afinações após a primeira inspeção ---------- */
@media (min-width: 62rem) {
  .hero--foto h1 { font-size: clamp(2.75rem, 1rem + 3.9vw, 4.25rem); }
  .hero__chip--estado { top: auto; bottom: 24%; left: -1.75rem; }
}
@media (max-width: 61.99rem) {
  .hero__chip--estado { top: auto; bottom: 4.6rem; left: 1rem; }
  .hero--foto::before { top: auto; bottom: 0; right: -6rem; opacity: .26; }
}
/* A fachada é uma imagem pequena: painel mais baixo para não a esticar; luz das páginas interiores mais discreta */
.hero-equipa { min-height: clamp(22rem, 50vh, 30rem); }
.hero-equipa__foto { transform: scale(1.26); }
.hero--pagina::before { opacity: .2; }
/* Em telemóvel fica só o selo da nota, no canto livre da parede, para não tapar quem está na fotografia */
@media (max-width: 61.99rem) {
  .hero__foto img { aspect-ratio: 4 / 5; object-position: 35% 60%; }
  .hero__chip--estado { display: none; }
  .hero__chip--nota { right: auto; left: 1rem; bottom: 1rem; }
}

/* ---------- 21. Hero do início: elementos visuais ----------
   Regra: nenhum elemento se sobrepõe a outro. Tudo o que vive na fotografia fica dentro dela,
   em zonas de parede livre, sem tapar o logótipo pintado, a pessoa, o cão nem os outros selos. */
/* Pegadas: seguem em linha o fim do título, por isso nunca tapam texto em nenhuma língua */
.hero__patas { display: inline-flex; align-items: flex-end; gap: .2em; margin-left: .28em; vertical-align: -.02em; pointer-events: none; }
.hero__patas svg { flex: none; color: var(--turq); }
.hero__patas svg:nth-child(1) { width: .58em; height: .58em; transform: rotate(38deg); }
.hero__patas svg:nth-child(2) { width: .48em; height: .48em; margin-bottom: .16em; transform: rotate(52deg); opacity: .75; color: var(--azul); }
.hero__patas svg:nth-child(3) { width: .38em; height: .38em; margin-bottom: .32em; transform: rotate(40deg); opacity: .45; }
/* Nota do custo da chamada e formas soltas, lado a lado */
.hero__nota { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 34rem; margin-top: .75rem; }
.hero__nota .custo-chamada { margin: 0; }
.hero--anima .hero__nota { animation: surge .9s var(--saida) .66s both; }
.hero--anima .hero__nota .custo-chamada { animation: none; }
.hero__formas { flex: none; display: flex; align-items: center; gap: .7rem; pointer-events: none; }
.hero__formas i { display: block; flex: none; }
.hero__formas i:nth-child(1) { width: .45rem; height: .45rem; border-radius: 50%; background: var(--azul-claro); opacity: .5; }
.hero__formas i:nth-child(2) { width: .8rem; height: .8rem; border: .2rem solid var(--azul); border-radius: 50%; opacity: .55; }
.hero__formas i:nth-child(3) { width: 1.05rem; height: 1.05rem; background: linear-gradient(var(--turq), var(--turq)) center / 100% .28rem no-repeat, linear-gradient(var(--turq), var(--turq)) center / .28rem 100% no-repeat; transform: rotate(12deg); }

/* Fotografia: em tablet deixa de crescer sem limite */
@media (max-width: 61.99rem) { .hero__foto { width: 100%; max-width: 30rem; margin-inline: auto; } }

/* Bolha com ícone: faixa de parede à direita do nome pintado */
.hero__bolha { position: absolute; z-index: 2; right: .6rem; top: 31%; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; color: var(--papel); background: var(--grad-acao); box-shadow: var(--sombra-acao); }
.hero__bolha svg { width: 1.25rem; height: 1.25rem; }
/* Selo redondo com texto a rodar: canto superior direito, por dentro da fotografia */
.hero__selo { --s: 4.75rem; position: absolute; z-index: 2; top: .75rem; right: .75rem; display: grid; place-items: center; width: var(--s); height: var(--s); border-radius: 50%; background: var(--tinta); box-shadow: var(--sombra-m); }
.hero__selo svg { grid-area: 1 / 1; width: 100%; height: 100%; animation: girar 26s linear infinite; }
.hero__selo text { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; fill: var(--papel); }
.hero__foto .hero__selo img { grid-area: 1 / 1; width: 34%; height: 34%; aspect-ratio: 1; max-height: none; border-radius: 0; object-fit: contain; box-shadow: none; animation: none; }
.hero--anima .hero__bolha { animation: surge .9s var(--saida) 1.1s both; }
.hero--anima .hero__selo { animation: surge .9s var(--saida) 1.2s both; }
/* os selos de vidro deixam de flutuar: parados, não se aproximam de mais nada */
.hero__chip, .hero--anima .hero__chip { animation: none; }
.hero--anima .hero__chip { animation: surge .9s var(--saida) .9s both; }
@media (max-width: 23.99rem) {
  .hero__chip--nota { font-size: .8125rem; white-space: nowrap; padding: .6rem .85rem; }
  .hero__bolha { right: .5rem; width: 2.5rem; height: 2.5rem; }
  .hero__selo { --s: 4.2rem; }
}

/* ---------- 22. Heros em desktop: cabem no ecrã a 100% de zoom e ficam centrados ---------- */
.hero--foto { overflow-x: clip; }
@media (min-width: 62rem) {
  /* Início: o bloco inteiro (texto, fotografia e factos) cabe na altura visível e fica centrado nela */
  .hero--foto {
    --topo: 7.9rem;                                             /* faixa viva + cabeçalho */
    --foto-h: clamp(15rem, calc(100svh - var(--topo) - 7rem), 42rem);
    display: flex; flex-direction: column; justify-content: center;
    min-height: calc(100svh - var(--topo));
  }
  .hero--foto .hero__interior { width: 100%; align-items: center; padding-block: clamp(.75rem, 2.4vh, 2rem) clamp(1rem, 2.8vh, 2rem); }
  .hero--foto h1 { font-size: clamp(2.4rem, min(4.3vw, 9.4vh), 4.5rem); }
  .hero--foto .hero__sub { margin-top: clamp(.85rem, 2.6vh, 1.6rem); }
  .hero--foto .hero__acoes { margin-top: clamp(1rem, 3.4vh, 2.25rem); }
  /* a moldura nunca é mais larga do que alta: a fotografia deixa de ser cortada em ecrãs baixos */
  .hero__foto { justify-self: center; width: 100%; max-width: var(--foto-h); }
  .hero__foto img { aspect-ratio: 4 / 5; max-height: var(--foto-h); object-position: 35% 40%; }
  .hero__factos { width: 100%; justify-content: center; padding-bottom: clamp(.9rem, 3vh, 2.5rem); }
  /* disposição na fotografia: estado em cima à direita, nota em baixo à direita,
     selo «Desde 2018» em baixo à esquerda; a bolha sai */
  .hero__chip--estado { top: 1.25rem; bottom: auto; left: auto; right: -1.25rem; }
  .hero__chip--nota { bottom: 1.25rem; right: -1.25rem; }
  .hero__selo { --s: clamp(5rem, 13vh, 6.75rem); top: auto; right: auto; left: 1rem; bottom: 1rem; }
  .hero__bolha { display: none; }
}
@media (min-width: 62rem) and (max-height: 44rem) {
  .hero--foto .btn--grande { min-height: 3.1rem; padding-block: .65rem; }
  .hero__factos li { padding: .45rem .9rem; }
}

/* Páginas interiores: título e texto centrados, com a luz por trás ao centro */
@media (min-width: 48rem) {
  .hero--pagina .hero__interior { display: grid; justify-items: center; text-align: center; padding-block: clamp(2.75rem, 9vh, 6rem) clamp(1.75rem, 5vh, 3.5rem); }
  .hero--pagina h1 { max-width: 20ch; text-wrap: balance; }
  .hero--pagina .hero__sub { max-width: 56ch; margin-inline: auto; text-wrap: balance; }
  .hero--pagina::before { right: auto; left: 50%; top: -26rem; translate: -50% 0; }

  /* Equipa: texto ao centro do painel, painel sempre dentro da altura visível */
  .hero-equipa { align-items: center; min-height: clamp(20rem, calc(100svh - 10rem), 34rem); }
  .hero-equipa__texto { display: grid; justify-items: center; text-align: center; width: 100%; }
  .hero-equipa h1 { text-wrap: balance; }
  .hero-equipa .hero__sub { margin-inline: auto; text-wrap: balance; }
  .hero-equipa__veu { background: linear-gradient(180deg, rgb(11 19 48 / .5) 0%, rgb(11 19 48 / .68) 50%, rgb(11 19 48 / .88) 100%); }
}

/* ---------- 23. Modal de marcação compacto: cabe no ecrã sem scroll ----------
   Desktop: duas colunas lado a lado. Telemóvel: dois passos curtos. */
.modal { width: min(60rem, calc(100vw - 1.5rem)); }
.modal__cabeca { padding: 1rem clamp(1.1rem, 2.5vw, 1.75rem) .85rem; align-items: center; }
.modal__cabeca h2 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.75rem); }
.modal__cabeca p { margin-top: .2rem; }
.modal__fechar { width: 2.5rem; height: 2.5rem; }
.form { gap: .9rem; padding: 1rem clamp(1.1rem, 2.5vw, 1.75rem) 1.15rem; }
.form__passo { display: grid; gap: .8rem; align-content: start; min-width: 0; }
.form legend, .campo label { margin-bottom: .35rem; }
.escolhas { gap: .4rem; }
.escolha span { min-height: 2.25rem; padding: .3rem .85rem; font-size: .875rem; }
.campos { gap: .8rem; }
.campos--par { grid-template-columns: 1fr 1fr; }
.campo { min-width: 0; }
.campo input, .campo select, .campo textarea { min-height: 2.65rem; padding: .5rem .85rem; }
.campo textarea { min-height: 4.6rem; height: 4.6rem; }
.consentimento { align-items: center; gap: .6rem; }
.consentimento input { width: 1.25rem; height: 1.25rem; margin: 0; }
.form__pe { gap: .7rem; padding-top: .9rem; }
.form__estado { padding: .7rem 1rem; }
.form__botoes { display: flex; gap: .6rem; }
.form__botoes .btn, .form__seguinte { min-height: 2.9rem; }
.form__nota { margin: 0; font-size: var(--t-xs); line-height: 1.4; color: var(--suave); }
.form__voltar, .form__seguinte { display: none; }
@media (min-width: 48rem) {
  .form { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); column-gap: clamp(1.25rem, 3vw, 2.25rem); }
  .form__pe { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 1.5rem; }
  .form__estado { grid-column: 1 / -1; }
  .form__botoes { grid-column: 2; grid-row: 2; }
  .form__nota { grid-column: 1; grid-row: 2; max-width: 46ch; }
  .form__passo--1 .campo:last-of-type { display: grid; grid-template-rows: auto 1fr; }
}
/* ecrãs de portátil muito baixos */
@media (min-width: 48rem) and (max-height: 37rem) {
  .modal__cabeca p { display: none; }
  .form { gap: .7rem; padding-block: .8rem .9rem; }
  .form__passo { gap: .6rem; }
  .campo input, .campo select { min-height: 2.4rem; padding-block: .35rem; }
  .campo textarea { min-height: 3.6rem; height: 3.6rem; }
  .escolha span { min-height: 2rem; }
}
/* telemóvel: um passo de cada vez */
@media (max-width: 47.99rem) {
  .modal__cabeca p { display: none; }
  .form__seguinte { display: inline-flex; justify-self: stretch; }
  .form[data-passo] .form__voltar { display: inline-flex; flex: none; }
  .form__botoes .btn[type="submit"] { flex: 1; }
  .form[data-passo="1"] .form__passo--2, .form[data-passo="1"] .form__pe { display: none; }
  .form[data-passo="2"] .form__passo--1 { display: none; }
  .form:not([data-passo]) .form__seguinte { display: none; }
  .campos--empilha { grid-template-columns: 1fr; }
  .modal__cabeca { padding-block: .7rem .6rem; }
  .form { gap: .7rem; padding-block: .8rem .9rem; }
  .form__passo, .campos { gap: .6rem; }
  .form legend, .campo label { margin-bottom: .25rem; line-height: 1.3; }
  .campos--par:not(.campos--empilha) label span { display: none; }
  .consentimento { font-size: .8125rem; line-height: 1.3; }
  .form__passo--2 { gap: .5rem; }
  .escolhas { gap: .35rem; }
  .escolha span { min-height: 2rem; padding: .2rem .7rem; font-size: .8125rem; }
  .campo input, .campo select { min-height: 2.5rem; padding-block: .4rem; }
  .campo textarea { min-height: 6rem; height: 6rem; }
  .form__pe { gap: .55rem; padding-top: .7rem; }
  .form__nota { font-size: .75rem; line-height: 1.35; }
}

/* ---------- 24. Telemóvel: cartões e elementos mais baixos ---------- */
@media (max-width: 47.99rem) {
  :root { --sec-y: 3rem; --t-lg: 1.0625rem; }
  .cab-seccao { margin-bottom: 1.4rem; gap: .85rem; }
  .titulo-seccao + .chamada { margin-top: .7rem; }
  .btn--grande { min-height: 3rem; padding: .6rem 1.4rem; }

  /* heros */
  .hero__interior { padding-block: 1.5rem; }
  .hero--foto .hero__interior { gap: 1.4rem; padding-bottom: 1.1rem; }
  .hero__sub { margin-top: .9rem; }
  .hero__acoes { margin-top: 1.2rem; gap: .5rem; }
  .hero__foto img { aspect-ratio: 1; object-position: 35% 45%; }
  .hero__factos { gap: .4rem; padding-bottom: 1.5rem; }
  .hero__factos li { padding: .45rem .85rem; }
  .hero--pagina .hero__interior { padding-block: 2rem 1rem; }
  .hero-equipa { min-height: 19rem; }

  /* mosaico de serviços: ícone e nome lado a lado */
  .mosaico { gap: .5rem; }
  .ficha { grid-template-columns: auto minmax(0, 1fr); align-items: center; align-content: center; gap: .5rem; min-height: 3.5rem; padding: .5rem; border-radius: var(--r-s); }
  .ficha::before { display: none; }
  .ficha__icone { grid-row: auto; width: 2rem; height: 2rem; padding: .45rem; }
  .ficha__nome { grid-column: 2; font-size: .8125rem; letter-spacing: -.02em; overflow-wrap: break-word; hyphens: auto; }

  /* sobre nós */
  .sobre { gap: 1.6rem; }
  .sobre__texto .titulo-seccao { margin-bottom: 1rem; }
  .moldura img { aspect-ratio: 4 / 3; }
  .factos { margin-top: 1.4rem; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
  .factos > div { padding: .75rem .7rem; }
  .factos dd { font-size: 1.6rem; }
  .factos dt { font-size: .75rem; }

  /* avaliações */
  .aval { padding: 1rem 1.1rem; gap: .9rem; }
  .aval__texto { font-size: .9375rem; -webkit-line-clamp: 5; line-clamp: 5; }
  .aval__resumo { margin-top: 1rem; }
  .rail-ctrl button { width: 2.75rem; height: 2.75rem; }

  /* espécies e galeria */
  .especie img { aspect-ratio: 1; }
  .especies > li:last-child:nth-child(odd) .especie img { aspect-ratio: 2 / 1; }
  .especie figcaption { padding: 2.5rem .85rem .8rem; gap: .15rem; }
  .galeria { gap: 1rem; }
  .galeria__item img { aspect-ratio: 16 / 10; }
  .galeria__item figcaption { margin-top: .5rem; }

  /* contactos e horário */
  .contacto-grelha { gap: .9rem; }
  .bloco-info { padding: 1.1rem; }
  .bloco-info h3 { margin-bottom: .8rem; }
  .lista-contacto { gap: .4rem; }
  .lista-contacto > div { padding: .55rem .7rem; gap: .7rem; }
  .lista-contacto__icone { width: 2.25rem; height: 2.25rem; }
  .horario { border-spacing: 0 .2rem; margin-bottom: .8rem; }
  .horario th, .horario td { padding: .45rem .85rem; }
  .mapa iframe { height: 14rem; }

  /* remate e rodapé */
  .remate__interior { gap: 1.25rem; }
  .pe { padding-top: 2.25rem; }
  .pe__topo { gap: 1.5rem; padding-bottom: 1.75rem; }
  .pe__lockup { margin-bottom: .8rem; }
  .pe h3 { margin-bottom: .5rem; }

  /* serviços */
  .servico { gap: 1.1rem; padding-block: 1.75rem; }
  .servico__lado { gap: 1rem; }
  .servico__selo { width: 2.6rem; height: 2.6rem; }
  .servico__selo svg { width: 1.25rem; height: 1.25rem; }
  .servico__foto img { aspect-ratio: 16 / 9; }
  .servico__corpo { gap: 1.1rem; }
  .servico__lista { gap: .35rem; }
  .servico__lista li { padding: .55rem .85rem .55rem 2.6rem; font-size: .9375rem; }
  .servico__lista li::before { left: .75rem; top: .6rem; width: 1.2rem; height: 1.2rem; }

  /* equipa */
  .equipa { gap: .9rem; }
  .membro { gap: 1rem; padding: 1.15rem; }
  .membro__retrato { width: 4.5rem; }
  .membro__mono { font-size: 1.6rem; }
  .membro__corpo { gap: .8rem; }
  .membro__pessoal { padding-top: .8rem; }

  /* dicas */
  .dica { gap: 1rem; padding-block: 1.75rem; }
  .dica__foto img { aspect-ratio: 16 / 9; }
  .dica__conteudo { gap: .9rem; }
  .dica__icone { width: 2.6rem; height: 2.6rem; }
  .dica__icone svg { width: 1.25rem; height: 1.25rem; }
  .dica__alerta { padding: .8rem .95rem; }
  .aviso-urgencia { gap: 1rem; padding: 1.25rem; }
}

/* ---------- 25. Acertos ---------- */
/* Números dos factos sempre alinhados pelo topo, tenha a legenda uma ou três linhas */
.factos > div { justify-content: flex-end; }
.factos dd { margin: 0; }

/* Serviços: o índice dos 10 tratamentos cabe inteiro no primeiro ecrã em desktop */
.seccao--mosaico { padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 64rem) {
  .hero--servicos .hero__interior { padding-block: clamp(1.4rem, 4.2vh, 3rem) clamp(1.6rem, 5vh, 3.25rem); }
  .hero--servicos h1 { max-width: none; font-size: clamp(2.1rem, min(4vw, 7.6vh), 3.75rem); }
  .hero--servicos .hero__sub { max-width: 70ch; margin-top: clamp(.6rem, 1.8vh, 1.2rem); }
  .seccao--mosaico { padding-top: 0; }
  .seccao--mosaico .mosaico { gap: clamp(.6rem, 1.6vh, 1rem); }
  /* altura das fichas: metade do que sobra do ecrã depois do cabeçalho e do título */
  .seccao--mosaico .ficha { min-height: clamp(5.75rem, calc((100svh - 22.75rem) / 2), 10.5rem); padding: clamp(.9rem, 2.2vh, 1.4rem); gap: .5rem; }
}

/* ---------- 26. Seletor de língua (faixa do topo) ---------- */
.faixa-viva__interior { gap: .75rem; }
.faixa-viva .estado { min-width: 0; }
.faixa-viva__horas { margin-left: auto; }
.linguas { display: flex; align-items: center; gap: .15rem; flex: none; margin-left: auto; }
.faixa-viva__horas + .linguas { margin-left: 0; }
.linguas a {
  display: grid; place-items: center; min-width: 2rem; min-height: 1.75rem; padding: 0 .4rem; border-radius: 999px;
  font-size: .75rem; font-weight: 650; letter-spacing: .04em; line-height: 1; color: var(--claro); text-decoration: none;
  transition: background-color .2s, color .2s;
}
.linguas a:hover { background: rgb(255 255 255 / .16); color: var(--papel); }
.linguas a[aria-current] { background: var(--papel); color: var(--tinta); }
.linguas a:focus-visible { outline: 2px solid var(--turq); outline-offset: 2px; }
@media (max-width: 47.99rem) {
  .faixa-viva__horas + .linguas { margin-left: auto; }
  .faixa-viva .estado { line-height: 1.25; }
  .linguas a { min-width: 1.8rem; padding: 0 .3rem; }
}
@media (max-width: 22.49rem) {
  .ficha { gap: .4rem; padding: .45rem .4rem; }
  .ficha__icone { width: 1.75rem; height: 1.75rem; padding: .4rem; }
  .ficha__nome { font-size: .75rem; }
}

/* ---------- 27. Telemóvel: textos centrados ---------- */
@media (max-width: 47.99rem) {
  /* heros */
  .hero__texto, .hero--pagina .hero__interior, .hero-equipa__texto { text-align: center; }
  .hero h1, .hero-equipa h1, .hero--pagina h1 { margin-inline: auto; }
  .hero__sub, .hero-equipa .hero__sub { margin-inline: auto; }
  .hero__acoes { justify-content: center; }
  .hero__nota { justify-content: center; margin-inline: auto; }
  .hero__factos { justify-content: center; }
  .hero-equipa__texto { display: grid; justify-items: center; width: 100%; }
  .hero__idiomas { justify-content: center; text-align: center; }

  /* cabeçalhos de secção e textos de apoio */
  .cab-seccao { justify-items: center; text-align: center; }
  .titulo-seccao, .chamada { margin-inline: auto; }
  .sobre__texto { text-align: center; }
  .factos > div { align-items: center; text-align: center; }

  /* avaliações */
  .aval__resumo, .rail-ctrl { justify-content: center; }
  .faixa-escura .espaco-l > p, .faixa-escura .espaco-l > a, .aval__mais { text-align: center; }

  /* espécies, galeria, contactos */
  .especie figcaption, .galeria__item figcaption { text-align: center; justify-items: center; }
  .bloco-info h3 { text-align: center; }
  .bloco-info > .estado, .bloco-info > p { justify-content: center; text-align: center; }
  .bloco-info > .btn, .mapa + .btn { display: flex; width: fit-content; margin-inline: auto; }

  /* remate */
  .remate__interior { justify-items: center; text-align: center; }
  .remate h2 { margin-inline: auto; }
  .remate__acoes { justify-content: center; }

  /* rodapé */
  .pe__topo { justify-items: center; text-align: center; }
  .pe__lockup { justify-content: center; text-align: left; }
  .sociais { justify-content: center; }
  .pe__lista { justify-items: center; }
  .pe__base, .pe__legal { justify-content: center; text-align: center; }

  /* serviços */
  .servico__cabeca { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .6rem .8rem; text-align: center; }
  .servico__cabeca::before { order: 1; }
  .servico__cabeca > div { order: 2; flex: 0 0 100%; }
  .rail-ctrl { width: fit-content; margin-inline: auto; }
  .bloco-info .estado { display: flex; justify-content: center; }
  .servico__corpo > p { text-align: center; }
  .servico__corpo > div:last-child { text-align: center; }

  /* equipa */
  .membro { justify-items: center; text-align: center; }
  .membro__corpo { justify-items: center; }
  .membro__meta { justify-content: center; }
  .membro__pessoal { width: 100%; }

  /* dicas */
  .dica__topo { flex-direction: column; text-align: center; gap: .6rem; }
  .dica__conteudo > p { text-align: center; }
  .aviso-urgencia { justify-items: center; text-align: center; }
}

/* ---------- 28. Línguas com textos mais longos ---------- */
/* rótulo curto do botão do cabeçalho, só em ecrãs onde o rótulo completo está escondido */
@media (min-width: 34rem) { .btn__curto { display: none; } }
.cab__acoes { min-width: 0; }
@media (max-width: 47.99rem) {
  .hero--foto h1 { font-size: clamp(1.8rem, 9.2vw, 3.25rem); }
  .hero__linha > span { text-wrap: balance; }
}
@media (min-width: 62rem) {
  .hero--foto .hero__sub { max-width: 46ch; }
  .hero--foto h1 { font-size: clamp(2.3rem, min(4.2vw, 9vh), 4.5rem); }
}
@media (min-width: 62rem) and (max-height: 40rem) { .hero__chip--estado { display: none; } }
