/* Família Atelier (src/lib/sites/familias/atelier.js): uma sala acolhedora, em papel recortado. Títulos em Fraunces
   (suave), texto em Figtree, cantos redondos, arcos, seixos, etiquetas com sombra e ondas entre as secções. As cores
   vêm da paleta de cada site (variáveis em <style id="identidade">): areias e barro, e o acento da fotografia. */

@font-face {
  font-family: 'Fraunces Suave';
  src: url('../letras/fraunces-suave-v1.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Fraunces Suave';
  src: url('../letras/fraunces-suave-v1-ext.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Figtree';
  src: url('../letras/figtree-v1.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Figtree';
  src: url('../letras/figtree-v1-ext.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --letra-titulos: 'Fraunces Suave', Georgia, 'Times New Roman', serif;
  --letra-texto: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --largura: 1180px;
  --raio-botao: 999px;
  --raio: 28px;
  --sombra: 0 22px 44px -26px color-mix(in srgb, var(--texto) 45%, transparent), 0 6px 14px -8px color-mix(in srgb, var(--texto) 20%, transparent);
}

body {
  font-size: 18px;
}

/* As caixas têm o fundo do papel; numa secção desse mesmo fundo, passam ao da superfície, para se verem */
.seccao[data-tom='claro'] :is(.cartoes-hora a, .seixos li:not(:nth-child(3n + 2)), .etiqueta, .caixa-ficha, .texto-macio, .passos-macios li, .sobre__formacao, .cartoes-texto a, .perguntas details) {
  background: var(--superficie);
}

/* ---------- O cabeçalho: leve, com o monograma e os botões em pílula ---------- */
.topo {
  position: sticky;
  top: 0;
  z-index: 15;
  background: color-mix(in srgb, var(--fundo) 92%, transparent);
  backdrop-filter: blur(10px);
}

.topo__linha {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 76px;
}

.topo__marca {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: var(--texto);
  text-decoration: none;
}

/* Sem logótipo, o monograma faz de logótipo: as letras na cor do acento, sobre a forma clara, para mudar com a cor do
   site */
.topo__monograma {
  display: flex;
  color: var(--acento-texto);
}

.topo__monograma svg {
  width: auto;
  height: 42px;
}

.topo__nome {
  font-family: var(--letra-titulos);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
}

.topo__logotipo {
  width: auto;
  max-width: 200px;
  height: 44px;
  object-fit: contain;
}

.topo__nav {
  display: flex;
  gap: 6px;
}

.topo__nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--texto);
  font-weight: 500;
  text-decoration: none;
}

.topo__nav a:hover {
  background: var(--superficie);
}

.topo__marcar {
  min-height: 46px;
  padding: 0 20px;
  white-space: nowrap;
}

@media (max-width: 1020px) {
  .topo__nav {
    display: none;
  }
}

/* No telemóvel, o botão de marcar fica na barra de baixo (base.css, .barra-movel) */
@media (max-width: 760px) {
  .topo__marcar {
    display: none;
  }
}

/* ---------- A abertura: o arco primeiro (no computador, à direita), com o seixo das vagas na base ---------- */
.abertura {
  position: relative;
  padding-top: clamp(24px, 5vw, 64px);
  overflow: hidden;
}

.abertura__grelha {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

/* O nome e, por baixo, a profissão e onde */
.abertura__quem {
  margin-bottom: 12px;
  color: var(--texto-suave);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.abertura__nome {
  display: block;
  color: var(--texto);
  font-family: var(--letra-titulos);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.2;
}

.abertura__titulo {
  font-family: var(--letra-titulos);
  font-size: clamp(36px, 5.6vw, 70px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* O fim da frase, com o sublinhado feito à mão (gerado: identidade/padroes.js) */
.sublinhado {
  position: relative;
  white-space: nowrap;
}

.sublinhado .padrao {
  position: absolute;
  left: -2%;
  bottom: -0.12em;
  width: 104%;
  height: 0.32em;
  color: var(--acento);
}

.sublinhado .padrao .traco {
  stroke-width: 5;
  stroke-linecap: round;
}

/* O botão principal em forma de seixo (a forma vem da semente, atelier.js) */
.abertura .botoes {
  align-items: center;
  margin-top: 26px;
}

.abertura__marcar {
  display: contents;
}

.abertura__marcar .botao {
  min-height: 58px;
  padding: 0 32px;
  border-radius: var(--forma, 999px);
  box-shadow: var(--sombra);
  font-size: 17px;
}

.abertura__entrada {
  max-width: 46ch;
  margin-top: 24px;
  color: var(--texto-suave);
  font-size: 19px;
  line-height: 1.55;
}

.abertura .linguas {
  margin-top: 8px;
}

.ver-horarios {
  display: inline-block;
  margin-top: 14px;
  color: var(--acento-texto);
  font-weight: 600;
}

/* O arco (a forma de uma porta) por cima de uma forma orgânica gerada; o seixo sai por baixo dele */
.abertura__arco {
  position: relative;
  justify-self: center;
  width: min(80%, 340px);
}

.abertura__arco:has(.seixo-vagas) {
  margin-bottom: 46px;
}

.abertura__forma {
  position: absolute;
  inset: 8% -12% -6% -10%;
  z-index: 0;
}

.abertura__forma .padrao {
  width: 100%;
  height: 100%;
}

.arco {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 999px 999px var(--raio) var(--raio);
  background: var(--superficie-forte);
  box-shadow: var(--sombra);
}

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

/* Numa clínica, a equipa: até três arcos lado a lado sobre a forma orgânica, o do meio mais alto */
.arcos {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(var(--caras), minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.arcos .arco {
  aspect-ratio: 3 / 5;
}

.arcos--3 .arco:nth-child(2) {
  aspect-ratio: 1 / 2;
}

.abertura__arco:has(.arcos) {
  width: min(100%, 400px);
}

.arco__monograma {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 18%;
  background: var(--acento-claro);
  color: var(--sobre-acento-claro);
}

.arco__monograma svg {
  width: 100%;
  height: auto;
}

/* O seixo das vagas: fundo sólido, por cima da base do arco, com a próxima hora livre (só a primeira que não passou) */
.seixo-vagas {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -40px;
  width: max-content;
  max-width: min(300px, calc(100vw - 40px));
  padding: 14px 24px 16px;
  background: var(--fundo);
  box-shadow: var(--sombra);
  color: var(--texto);
  text-align: center;
  transform: translateX(-50%) rotate(-2deg);
}

.seixo-vagas .vagas {
  justify-content: center;
}

.seixo-vagas__horas {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.35;
}

.seixo-vagas__horas p {
  color: var(--texto-suave);
}

.seixo-vagas__horas li + li {
  display: none;
}

.seixo-vagas__horas a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.seixo-vagas__horas svg {
  width: 18px;
  height: 18px;
}

.seixo-vagas__horas:not(:has(li)) {
  display: none;
}

/* Os selos: pequenas etiquetas redondas, debaixo da abertura */
.selos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: clamp(32px, 4vw, 52px) 0 clamp(36px, 5vw, 64px);
  padding: 0;
  list-style: none;
}

.selos li {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--superficie);
  color: var(--texto);
  font-size: 15px;
  font-weight: 500;
}

/* A onda: o fundo da secção seguinte, a subir por cima da de antes */
.divisoria {
  display: block;
  line-height: 0;
}

.divisoria .padrao {
  display: block;
  width: 100%;
  height: clamp(36px, 5vw, 64px);
}

.divisoria[data-para='tom'] .p-fundo {
  fill: var(--superficie-forte);
}

.divisoria[data-para='escuro'] .p-fundo {
  fill: var(--bloco-3);
}

.abertura > .divisoria {
  margin-bottom: -1px;
}

/* No computador: o texto à esquerda e o arco à direita */
@media (min-width: 861px) {
  .abertura__grelha {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
  }

  .abertura__texto {
    grid-area: 1 / 1;
  }

  .abertura__arco {
    grid-area: 1 / 2;
    width: min(100%, 420px);
  }

  .abertura__arco:has(.arcos) {
    width: min(100%, 460px);
  }
}

/* ---------- As secções: o ritmo dos fundos e os títulos com uma pequena forma ---------- */
.seccao {
  padding-block: clamp(60px, 8vw, 108px);
}

.seccao[data-tom='papel'] {
  background: var(--superficie);
}

.seccao[data-tom='tom'] {
  background: var(--superficie-forte);
}

.cabeca {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(26px, 3.5vw, 42px);
}

.cabeca__forma {
  flex: none;
  width: 44px;
  height: 44px;
}

.cabeca__forma .padrao {
  width: 100%;
  height: 100%;
}

.cabeca h2 {
  font-family: var(--letra-titulos);
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.intro {
  max-width: 60ch;
  margin: -10px 0 26px;
  color: var(--texto-suave);
}

/* Os horários livres: cartões redondos, lado a lado (no telemóvel, a deslizar) */
.cartoes-hora {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cartoes-hora a {
  display: grid;
  gap: 4px;
  padding: 22px 22px 20px;
  border-radius: var(--raio);
  background: var(--fundo);
  color: var(--texto);
  text-decoration: none;
  box-shadow: var(--sombra);
  transition: transform 0.2s ease;
}

.cartoes-hora a:hover {
  transform: translateY(-3px);
}

.cartoes-hora__dia {
  color: var(--texto-suave);
  font-size: 15px;
}

.cartoes-hora__hora {
  font-family: var(--letra-titulos);
  font-size: 40px;
  line-height: 1.05;
}

.cartoes-hora__onde {
  color: var(--acento-texto);
  font-size: 15px;
  font-weight: 600;
}

/* Para quem: uma frase grande */
.frase-grande {
  font-family: var(--letra-titulos);
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.25;
  text-wrap: pretty;
}

/* As áreas: seixos, cada um com a sua forma */
.seixos {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seixos li {
  padding: 18px 28px;
  background: var(--fundo);
  color: var(--texto);
  font-size: 19px;
  font-weight: 500;
  box-shadow: var(--sombra);
}

.seixos li:nth-child(3n + 2) {
  background: var(--acento-claro);
  color: var(--sobre-acento-claro);
}

/* Com o texto de cada área, os seixos são cartões: o nome e o texto por baixo, numa grelha */
.seixos--com-texto {
  display: grid;
  grid-template-columns: repeat(var(--colunas, 3), minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 860px) {
  .seixos--com-texto {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .seixos--com-texto {
    grid-template-columns: minmax(0, 1fr);
  }
}

.seixos--com-texto li {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 24px 28px 26px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}

.seixo__nome {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
}

/* A equipa: cada pessoa num arco */
.pessoas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: clamp(24px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.pessoa__arco {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 999px 999px var(--raio) var(--raio);
  background: var(--acento-claro);
  box-shadow: var(--sombra);
}

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

.pessoa__iniciais {
  color: var(--sobre-acento-claro);
  font-family: var(--letra-titulos);
  font-size: 64px;
}

.pessoa h3 {
  margin-top: 18px;
  font-family: var(--letra-titulos);
  font-size: 26px;
  font-weight: 500;
}

.pessoa__titulo {
  color: var(--acento-texto);
  font-weight: 600;
}

.pessoa__cedula,
.pessoa__areas {
  margin-top: 6px;
  color: var(--texto-suave);
  font-size: 15px;
}

.pessoa__sobre {
  margin-top: 10px;
}

/* As consultas: etiquetas com um furo e sombra, um pouco tortas, e a ficha numa caixa macia */
.etiquetas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 22px;
  margin: 0 0 clamp(30px, 4vw, 48px);
  padding: 0;
  list-style: none;
}

.etiqueta {
  position: relative;
  padding: 30px 28px 26px 52px;
  border-radius: 14px var(--raio) var(--raio) 14px;
  background: var(--fundo);
  box-shadow: var(--sombra);
  transform: rotate(-0.8deg);
}

.etiqueta:nth-child(2n) {
  transform: rotate(0.9deg);
}

.etiqueta__furo {
  position: absolute;
  top: 50%;
  left: 20px;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border: 2px solid var(--linha);
  border-radius: 50%;
  background: var(--superficie-forte);
}

.etiqueta h3 {
  font-family: var(--letra-titulos);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}

.etiqueta__valor {
  margin-top: 8px;
  color: var(--acento-texto);
  font-size: 19px;
  font-weight: 700;
}

.etiqueta__nota {
  margin-top: 6px;
  color: var(--texto-suave);
  font-size: 15px;
}

.caixa-ficha {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 18px 28px;
  padding: 28px 32px;
  border-radius: var(--raio);
  background: var(--fundo);
}

.caixa-ficha dt {
  color: var(--texto-suave);
  font-size: 14px;
  font-weight: 600;
}

.caixa-ficha dd {
  margin-top: 4px;
}

/* O consultório: um percurso de arcos, ligados por uma linha a tracejado */
.percurso {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(22px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.percurso::before {
  content: '';
  position: absolute;
  top: 46%;
  left: 6%;
  right: 6%;
  border-top: 2px dashed var(--linha);
}

.percurso li {
  position: relative;
}

.percurso li:nth-child(2n) {
  margin-top: clamp(0px, 4vw, 48px);
}

.percurso__arco {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 999px 999px var(--raio) var(--raio);
  box-shadow: var(--sombra);
}

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

.percurso__legenda {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-weight: 600;
}

.percurso__legenda span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--acento);
  color: var(--sobre-acento);
  font-size: 15px;
}

/* Como trabalho: o texto numa caixa macia */
.texto-macio {
  display: grid;
  gap: 16px;
  padding: clamp(26px, 3.5vw, 40px);
  border-radius: var(--raio);
  background: var(--fundo);
  font-size: 19px;
  line-height: 1.65;
}

/* A primeira consulta: num balão */
.balao {
  position: relative;
  padding: clamp(26px, 3.5vw, 40px);
  border-radius: var(--raio) var(--raio) var(--raio) 8px;
  background: var(--acento-claro);
  color: var(--sobre-acento-claro);
  font-family: var(--letra-titulos);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.4;
}

/* As consultas online: passos em cartões, com o número num círculo */
.passos-macios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.passos-macios li {
  padding: 28px;
  border-radius: var(--raio);
  background: var(--fundo);
  box-shadow: var(--sombra);
}

.passos-macios__numero {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--acento);
  color: var(--sobre-acento);
  font-family: var(--letra-titulos);
  font-size: 22px;
}

.passos-macios h3 {
  font-family: var(--letra-titulos);
  font-size: 22px;
  font-weight: 500;
}

.passos-macios p {
  margin-top: 8px;
  color: var(--texto-suave);
}

/* Sobre: o texto, e a formação num cartão ao lado */
.sobre {
  display: grid;
  gap: clamp(26px, 4vw, 56px);
}

.sobre--com-formacao {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: start;
}

.sobre__texto {
  display: grid;
  gap: 16px;
  max-width: 62ch;
  font-size: 19px;
  line-height: 1.7;
}

.sobre__formacao {
  padding: 28px;
  border-radius: var(--raio);
  background: var(--fundo);
  box-shadow: var(--sombra);
}

.sobre__formacao h3 {
  margin-bottom: 12px;
  font-family: var(--letra-titulos);
  font-size: 22px;
  font-weight: 500;
}

.sobre__formacao ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

@media (max-width: 860px) {
  .sobre--com-formacao {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Quando não sou a pessoa certa: uma lista com pontos redondos */
.lista-macia {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.lista-macia li {
  position: relative;
  padding-left: 30px;
}

.lista-macia li::before {
  content: '';
  position: absolute;
  top: 0.5em;
  left: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--acento);
}

/* Os textos: cartões de cantos redondos */
.cartoes-texto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cartoes-texto a {
  display: grid;
  gap: 10px;
  height: 100%;
  padding: 28px;
  border-radius: var(--raio);
  background: var(--fundo);
  color: var(--texto);
  text-decoration: none;
  box-shadow: var(--sombra);
  transition: transform 0.2s ease;
}

.cartoes-texto a:hover {
  transform: translateY(-3px);
}

.cartoes-texto__data {
  color: var(--texto-suave);
  font-size: 14px;
}

.cartoes-texto h3 {
  font-family: var(--letra-titulos);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}

.cartoes-texto p {
  color: var(--texto-suave);
}

.cartoes-texto__ler {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--acento-texto);
  font-weight: 600;
}

.cartoes-texto__ler svg {
  width: 18px;
}

.textos-lista {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding-left: 20px;
}

.textos-lista a {
  color: var(--acento-texto);
}

/* As perguntas: caixas redondas */
.perguntas details {
  margin-bottom: 12px;
  padding: 0 24px;
  border-radius: 20px;
  background: var(--fundo);
}

.perguntas summary {
  font-family: var(--letra-titulos);
  font-size: 21px;
}

/* ---------- Os contactos: a sala ao fim do dia, com uma onda por cima ---------- */
.contactos {
  position: relative;
  padding-block: clamp(64px, 8vw, 104px) clamp(120px, 14vw, 170px);
  background: var(--bloco-3);
  color: var(--sobre-bloco-3);
  /* Corta a forma no fim da secção, mas deixa ver a onda por cima; e a forma não alarga a página */
  clip-path: inset(-80px 0 0 0);
  overflow-x: clip;
}

.contactos > .divisoria {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(calc(-100% + 1px));
}

/* A forma fica no canto de baixo, por baixo de tudo e longe do texto (nunca texto por cima de um padrão) */
.contactos__forma {
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: clamp(200px, 22vw, 280px);
  aspect-ratio: 1;
  opacity: 0.35;
}

.contactos__forma .padrao {
  width: 100%;
  height: 100%;
}

.contactos__grelha {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
}

.contactos h2 {
  font-family: var(--letra-titulos);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  line-height: 1.05;
}

.contactos__nota {
  margin-top: 14px;
  opacity: 0.9;
}

.contactos .botoes {
  margin-top: 28px;
}

.contactos__lista {
  display: grid;
  gap: 20px;
  align-content: start;
}

.contactos__lista dt {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.85;
}

.contactos__lista dd {
  margin-top: 4px;
  font-size: 19px;
}

.contactos__lista a {
  color: inherit;
}

@media (max-width: 860px) {
  .contactos__grelha {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Páginas interiores (aviso de privacidade, textos) ---------- */
.seccao--legal h1,
.artigo-pagina h1 {
  font-family: var(--letra-titulos);
  font-weight: 400;
}

/* ---------- Movimento: só com "reduzir movimento" desligado, e só em CSS ---------- */
@media (prefers-reduced-motion: no-preference) {
  .arco {
    animation: atelier-subir 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .abertura__forma {
    animation: atelier-crescer 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  /* O seixo assenta na base do arco, depois de ele subir */
  .seixo-vagas {
    animation: atelier-assentar 0.6s cubic-bezier(0.3, 1.3, 0.5, 1) 0.6s both;
  }

  @keyframes atelier-assentar {
    from {
      opacity: 0;
      transform: translateX(-50%) translateY(14px) rotate(-6deg);
    }
  }

  @keyframes atelier-subir {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
  }

  @keyframes atelier-crescer {
    from {
      opacity: 0;
      transform: scale(0.9);
    }
  }
}
