/* Quinta dos Bichos e Bichinhos, NOVO SITE 2.
   Telemóvel primeiro; ecrãs maiores com min-width.
   Cores: branco e verde (a quinta, a natureza), tinta quase preta, verde na ação principal,
   nos números e numa faixa cheia. Raio de 6px igual em tudo. */

@font-face { font-family: "Caveat"; src: url("../letras/caveat.woff2") format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../letras/source-sans-3.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --fundo: #FAF9F5;
  --pedra: #EAE4D6;
  --tinta: #3d3d39;
  --tinta-2: #66665f;
  --linha: #DCD4C2;
  --cartao: #FAF8F2;
  --verde: #456925;
  --verde-escuro: #37541d;
  --verde-claro: #5a7631;
  --escuro: #33332f;
  --mato: #262f1e;
  --titulo-cor: #444440;
  --titulo: "Caveat", "Segoe Print", cursive;
  --texto: "Source Sans 3", system-ui, sans-serif;
  --raio: 0.875rem;
  --raio-pequeno: 0.5rem;
  --raio-botao: 999px;
  --lado: 1rem;
  --topo: 4.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topo) + 1rem); }
body { margin: 0; background: var(--fundo); color: var(--tinta); font-family: var(--texto); font-size: 1.125rem; line-height: 1.6; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--titulo); font-weight: 600; line-height: 1; color: var(--titulo-cor); letter-spacing: 0; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--verde); outline-offset: 3px; }

.largura { width: min(100% - 2 * var(--lado), 76rem); margin-inline: auto; }
.saltar { position: absolute; left: -999px; top: .5rem; background: var(--tinta); color: #fff; padding: .6rem 1rem; z-index: 100; border-radius: var(--raio); }
.saltar:focus { left: .5rem; }
.icone { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }


/* Cabeçalho */
.cabecalho { position: sticky; top: 0; z-index: 50; background: var(--fundo); border-bottom: 1px solid var(--linha); }
.cabecalho-dentro { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--topo); }
.marca { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.marca img { height: 3.5rem; width: auto; border-radius: 0; }
.marca .logo-branco { display: none; }
.marca-nome { font-family: var(--titulo); font-weight: 700; font-size: 1.5rem; line-height: 0.95; letter-spacing: 0; color: var(--mato); }
.menu-botao { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; background: none; border: 1px solid var(--linha); border-radius: 50%; cursor: pointer; }
.menu-botao span, .menu-botao span::before { display: block; width: 1.1rem; height: 1.5px; background: currentColor; position: relative; transition: transform .2s; }
.menu-botao span::before { content: ""; position: absolute; top: -6px; }
.menu-botao span::after { content: ""; position: absolute; top: 6px; width: 1.1rem; height: 1.5px; background: currentColor; transition: transform .2s; }
.menu-aberto .menu-botao span { background: transparent; }
.menu-aberto .menu-botao span::before { transform: translateY(6px) rotate(45deg); }
.menu-aberto .menu-botao span::after { transform: translateY(-6px) rotate(-45deg); }

.menu { display: none; position: fixed; inset: var(--topo) 0 0 0; background: var(--fundo); padding: 1rem var(--lado) calc(2rem + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; }
.menu-aberto .menu { display: block; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li a { display: flex; align-items: center; min-height: 3.5rem; border-bottom: 1px solid var(--linha); font-family: var(--texto); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; text-decoration: none; }
.menu .botao { width: 100%; margin-top: 1.5rem; }
.menu-whatsapp-topo { display: none; }


/* Factos */
.factos { position: relative; z-index: 2; background: var(--verde); color: #fff; }
.factos ul { list-style: none; margin-block: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* Telemóvel e tablet: o registo sai da faixa (ficava apertado); computador mostra os 4 */
@media (max-width: 59.99rem) { .factos ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } .factos .so-pc { display: none; } .factos .so-pc + li { border-left: 0; } }
.factos li { padding: 1rem .3rem; text-align: center; }
/* Telemóvel: caixas mais baixas (ícone e letras mais pequenos, menos espaço) */
@media (max-width: 39.99rem) {
  .factos li { padding: .55rem .25rem; }
  .factos .ico { width: 1.25rem; height: 1.25rem; margin-bottom: .25rem; }
  .factos strong { font-size: .875rem; }
}
/* Telemóvel e tablet: sem as frases por baixo dos números */
@media (max-width: 59.99rem) { .factos li span { display: none; } .factos li { padding-block: .85rem; } .factos .ico { margin-bottom: .4rem; } }
.factos li + li { border-left: 1px solid rgba(255,255,255,.28); }
.factos .ico { display: block; width: clamp(1.5rem, 1.1rem + 1.3vw, 2.25rem); height: clamp(1.5rem, 1.1rem + 1.3vw, 2.25rem); margin: 0 auto .55rem; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.factos .ico .ch { fill: #fff; stroke: none; }
/* Computador: ícone à esquerda do nome; no telemóvel e tablet fica por cima (não cabe ao lado) */
@media (min-width: 60rem) {
  .factos li { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: .55rem; }
  .factos .ico { margin: 0; }
  .factos li span { flex-basis: 100%; }
}
.factos strong { display: block; font-family: var(--texto); font-weight: 700; font-size: clamp(.9rem, .5rem + 1.6vw, 1.5rem); line-height: 1.1; letter-spacing: -0.02em; color: #fff; }
.factos strong em { font-style: normal; color: #fff; }
.factos span { display: block; margin-top: .3rem; font-size: clamp(.6875rem, .55rem + .5vw, .9375rem); line-height: 1.3; color: rgba(255,255,255,.88); }

/* Secções */
.bloco { padding-block: 3.5rem; }
.cabeca-seccao { display: grid; gap: .75rem; margin-bottom: 2rem; }
.titulo-seccao { font-size: clamp(2rem, 1.4rem + 2.8vw, 3.5rem); }
.lead { color: var(--tinta-2); max-width: 32rem; }

/* Raças em cartões: 2 colunas no telemóvel, 3 no tablet, 6 no computador */
.racas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.racas a { display: flex; flex-direction: column; height: 100%; background: var(--cartao); border: 1px solid var(--linha); border-radius: var(--raio); overflow: hidden; text-decoration: none; color: var(--tinta); }
.racas .foto { aspect-ratio: 4 / 5; overflow: hidden; background: var(--pedra); }
.racas .foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.raca-info { display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem; padding: .75rem .875rem 1rem; flex: 1; }
.raca-info h3 { font-family: var(--texto); font-weight: 700; font-size: 1.0625rem; line-height: 1.15; color: var(--mato); margin-top: .25rem; letter-spacing: -0.01em; }
.raca-info .seta { flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid var(--linha); border-radius: 50%; color: var(--verde); }
.raca-info .seta .icone { width: 1rem; height: 1rem; }
.raca-info .seta::after { content: none; }
.racas a:focus-visible, .racas a:active { border-color: var(--verde); }

/* Barra de ação fixa (telemóvel) */
.barra-acao { position: fixed; inset: auto 0 0 0; z-index: 40; display: grid; grid-template-columns: 1.4fr 1fr; gap: .5rem; padding: .6rem var(--lado) calc(.6rem + env(safe-area-inset-bottom)); background: var(--fundo); border-top: 1px solid var(--linha); transform: translateY(110%); transition: transform .25s ease; }
.barra-acao.visivel { transform: none; }
.barra-acao .botao { min-height: 3rem; padding: 0 .75rem; }
.menu-aberto .barra-acao { transform: translateY(110%); }

/* Tablet */
@media (min-width: 40rem) {
  :root { --lado: 2rem; }
  .factos li { padding: 1.75rem 1.25rem; }
  .racas { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}

/* Computador */
@media (min-width: 60rem) {
  :root { --topo: 6.25rem; }
  body { padding-bottom: 0; font-size: 1.125rem; }
  .barra-acao { display: none; }
  .menu-botao { display: none; }
  .menu { display: flex !important; position: static; padding: 0; background: none; overflow: visible; align-items: center; gap: 2rem; }
  .menu ul { display: flex; gap: 1.75rem; }
  .menu li a { min-height: 2.75rem; border: 0; font-family: var(--texto); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
  .menu .botao { width: auto; margin: 0; min-height: 2.75rem; padding: 0 1.1rem; font-size: 1rem; }
  .marca img { height: 5rem; }
  .marca-nome { font-size: 1.875rem; }


  .bloco { padding-block: 6rem; }
  .cabeca-seccao { grid-template-columns: 7fr 5fr; align-items: end; gap: 3rem; margin-bottom: 3rem; }
  .racas { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .racas .foto { aspect-ratio: 16 / 10; }
  .raca-info { padding: 1.125rem 1.25rem 1.25rem; }
  .raca-info h3 { font-size: 1.375rem; }
}

/* ---------- Peças comuns ---------- */
.linha-cima { border-top: 1px solid var(--linha); }
.estreito { max-width: 44rem; }
.largura.estreito { max-width: none; }
.largura.estreito > * { max-width: 44rem; }
.filete { border: 0; border-top: 1px solid var(--linha); margin: 0; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.seta::after { content: " \2192"; }
.nota { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--linha); color: var(--tinta-2); font-size: 1rem; }
.acoes { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; margin-top: 1.75rem; }
.acoes .botao { width: 100%; }
@media (min-width: 40rem) { .acoes { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; } .acoes .botao { width: auto; } }
.lead + .pontos, .lead + .acoes { margin-top: 1.5rem; }
.titulo-seccao + .lead { margin-top: .9rem; }
figure { margin: 0; }
figcaption { font-size: .875rem; color: var(--tinta-2); margin-top: .6rem; }

/* Duas colunas com foto */
.par { display: grid; gap: 2rem; }
.par > * { min-width: 0; }
.par img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--raio); }
.par .ligacao { margin-top: 1.25rem; }

/* Lista numerada curta (1, 2, 3) */
.pontos { list-style: none; margin: 1.5rem 0 0; padding: 0; counter-reset: p; }
.pontos li { counter-increment: p; display: grid; grid-template-columns: 2.5rem 1fr; padding: 1rem 0; border-top: 1px solid var(--linha); }
.pontos li:last-child { border-bottom: 1px solid var(--linha); }
.pontos li::before { content: counter(p); font-family: var(--texto); font-weight: 700; font-size: 1.5rem; line-height: 1.1; color: var(--verde); }
.pontos strong { display: block; font-weight: 700; }
.pontos span { color: var(--tinta-2); }

/* Grelhas de duas colunas */
.raca-corpo, .perguntas-grelha, .contacto-grelha { display: grid; gap: 2.5rem; }
.raca-corpo > *, .perguntas-grelha > *, .contacto-grelha > * { min-width: 0; }



/* Prémios */
.premios { display: grid; gap: 2.5rem; }
.premio { display: grid; gap: 1.25rem; align-content: start; }
.premio img { width: 100%; max-width: 26rem; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--raio); }
.premio h3 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); margin-top: .35rem; }
.premio p { color: var(--tinta-2); margin-top: .5rem; }
.premio .titulo-premio { font-family: var(--texto); font-weight: 700; color: var(--verde); font-size: 1rem; letter-spacing: 0; margin: 0; }

/* Tabela e ficha */
.tabela-caixa { overflow-x: auto; margin-top: 1rem; }
table { border-collapse: collapse; width: 100%; min-width: 20rem; font-variant-numeric: tabular-nums; font-size: 1rem; }
caption { text-align: left; font-size: .875rem; color: var(--tinta-2); padding-bottom: .75rem; }
th, td { text-align: left; padding: .8rem .75rem .8rem 0; border-bottom: 1px solid var(--linha); vertical-align: top; }
thead th { font-family: var(--texto); font-weight: 700; font-size: 1.05rem; border-bottom: 2px solid var(--tinta); }
tbody th { font-weight: 600; color: var(--tinta-2); }
.ficha { margin: 0; border-top: 2px solid var(--tinta); }
.ficha div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--linha); }
.ficha dt { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tinta-2); font-weight: 700; padding-top: .2rem; }
.ficha dd { margin: 0; }
.ficha-coluna { background: var(--fundo); border: 1px solid var(--linha); border-radius: 6px; padding: 1.5rem 1.5rem 1.25rem; }

/* Perguntas */
.perguntas details { border-bottom: 1px solid var(--linha); }
.perguntas details:first-of-type { border-top: 1px solid var(--linha); }
.perguntas summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 1.25rem; gap: 1rem; align-items: center; min-height: 3.75rem; padding: 1rem 0; font-weight: 700; font-size: 1.0625rem; }
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary::after { content: ""; width: 1.25rem; height: 1.25rem; background: linear-gradient(var(--verde), var(--verde)) center / 100% 2px no-repeat, linear-gradient(var(--verde), var(--verde)) center / 2px 100% no-repeat; transition: transform .2s; }
.perguntas details[open] summary::after { transform: rotate(45deg); }
.perguntas .resposta { padding: 0 0 1.5rem; color: var(--tinta-2); max-width: 42rem; }
.perguntas .resposta p + p { margin-top: .75rem; }
.perguntas .resposta ul, .perguntas .resposta ol { margin: .5rem 0 1rem; padding-left: 1.2rem; }
.grupo-perguntas + .grupo-perguntas { margin-top: 3rem; }
.grupo-perguntas h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); margin-bottom: 1rem; }

/* Contactos */
.contactos { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linha); }
.contactos li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .9rem; padding: 1.1rem 0; border-bottom: 1px solid var(--linha); }
.contactos .icone { margin-top: .2rem; color: var(--verde); }
.contactos small { display: block; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: var(--tinta-2); }
.contactos a { font-size: 1.15rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contactos address { font-style: normal; font-size: 1.1rem; }
.contactos a[href^="mailto"] { font-size: 1rem; }
.contactos .ligacao { font-size: 1rem; }

/* ---------- Páginas interiores: topo verde, como o primeiro ecrã do início ---------- */
.migalhas, .raca-topo, .artigo-topo { background: var(--verde); color: #fff; padding-inline: max(var(--lado), calc((100% - 76rem) / 2)); }
.migalhas { padding-top: 1.25rem; font-size: .9375rem; }
.migalhas ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; color: rgba(255,255,255,.8); }
.migalhas a { color: #fff; }
.migalhas li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.raca-topo, .artigo-topo { padding-top: 1.25rem; padding-bottom: 2.5rem; }
.raca-topo h1 { font-size: clamp(2.6rem, 1.5rem + 5vw, 5.5rem); font-weight: 700; max-width: 18ch; }
.artigo-topo h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 4rem); font-weight: 700; max-width: 22ch; }
.raca-topo p, .raca-topo .lead, .artigo-topo p { color: rgba(255,255,255,.88); max-width: 40rem; margin-top: 1rem; }
.raca-topo :focus-visible, .migalhas :focus-visible { outline-color: #fff; }
/* Fotos da raça: logo a seguir ao topo verde, a entrar por cima dele */
.raca-topo:has(+ .fotos-raca) { padding-bottom: 4rem; }
.fotos-raca { position: relative; display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin: -2.5rem 0 0; padding: 0 var(--lado); scroll-padding-inline: var(--lado); }
.fotos-raca figure { flex: 0 0 80%; scroll-snap-align: start; }
.fotos-raca img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--raio); }

/* Corpo das raças */
.texto-raca h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); margin: 2.5rem 0 1rem; }
.texto-raca h2:first-child { margin-top: 0; }
.texto-raca p { max-width: 40rem; }
.texto-raca p + p { margin-top: 1rem; }
.texto-raca ul, .texto-raca ol { max-width: 40rem; padding-left: 1.2rem; }
.artigos-raca { margin-top: 2.5rem; }
.outras { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linha); }
.outras a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 3.5rem; border-bottom: 1px solid var(--linha); text-decoration: none; font-family: var(--texto); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.outras a::after { content: "\2192"; font-family: var(--texto); color: var(--verde); }

/* Cãezinhos por raça */
.galeria-grupo { scroll-margin-top: 6rem; }
.racas.curto { margin-bottom: 3rem; }
.racas.curto .foto { aspect-ratio: 1 / 1; }
.racas.curto .raca-info { padding: .75rem .9rem; }
.racas.curto h3 { font-size: 1rem; line-height: 1.15; }
@media (min-width: 64rem) { .racas.curto { grid-template-columns: repeat(6, 1fr); gap: .75rem; } .racas.curto .foto { aspect-ratio: 1 / 1; } }
.galeria-grupo + .galeria-grupo { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--linha); }
.galeria-grupo h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); margin-bottom: 1.25rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.galeria-grupo h2 a { font-family: var(--texto); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
/* 4 fotos por raça: 2 por linha no telemóvel, 4 numa fila no computador */
.galeria { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.galeria figure { margin: 0; }
.galeria img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--raio); }
@media (min-width: 64rem) { .galeria { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; } }

/* Artigos */
.artigos-grupo + .artigos-grupo { margin-top: 3rem; }
.artigos-grupo h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); margin-bottom: 1rem; }
.lista-artigos { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linha); }
.lista-artigos li { border-bottom: 1px solid var(--linha); }
.lista-artigos a { display: block; padding: 1.1rem 0; text-decoration: none; }
.lista-artigos strong { display: block; font-family: var(--texto); font-weight: 700; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); line-height: 1.2; letter-spacing: -0.02em; }
.lista-artigos span { display: block; color: var(--tinta-2); font-size: 1rem; margin-top: .3rem; max-width: 44rem; }
.artigos-raca .lista-artigos a { padding: .8rem 0; }
.artigos-raca .lista-artigos strong { font-size: 1.1rem; }
.artigo-data { font-size: .9375rem; }
.artigo-foto, .artigo-corpo, .artigos-coluna { width: min(100% - 2 * var(--lado), 44rem); margin-inline: auto; }
.artigo-foto { margin-top: 2rem; }
.artigo-foto img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--raio); }
.artigo-corpo, .artigos-coluna { padding: 2.5rem 0 3.5rem; }
.artigo-corpo > * { max-width: none; }
.artigo-corpo p + p { margin-top: 1rem; }
.artigo-corpo .resumo { font-size: 1.25rem; line-height: 1.5; color: var(--tinta); padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--linha); }
.artigo-corpo h2 { font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2.1rem); margin: 2.5rem 0 1rem; }
.artigo-corpo h3 { font-size: 1.2rem; margin: 1.75rem 0 .5rem; }
.artigo-corpo ul, .artigo-corpo ol { padding-left: 1.25rem; margin: 1rem 0 1.25rem; }
.artigo-corpo li { margin-bottom: .45rem; }
.artigo-corpo a { text-decoration-thickness: 1px; text-underline-offset: .2em; color: var(--verde); }
.artigo-corpo table { margin: 1rem 0 1.5rem; }
/* Artigos: coluna de leitura centrada; o topo verde usa a mesma coluna */
.artigo-topo, .migalhas:has(+ .artigo-topo) { padding-inline: max(var(--lado), calc((100% - 44rem) / 2)); }
.artigo-topo h1, .artigo-topo p { max-width: none; }
.artigo-fim { border-top: 1px solid var(--linha); margin-top: 2.5rem; padding-top: 1.5rem; }

/* Pedido de contacto no fim das páginas: branco, separado por linha */
.pedido, .contacto-verde { border-top: 1px solid var(--linha); }
.pedido .acoes, .contacto-verde .acoes { margin-top: 1.5rem; }


@media (min-width: 40rem) {
  .premios { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .fotos-raca { width: min(100% - 2 * var(--lado), 76rem); margin: -3rem auto 0; padding: 0; overflow: visible; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
  .outras { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 2rem; border-top: 0; }
  .outras li:nth-child(-n+2) a { border-top: 1px solid var(--linha); }
}

@media (min-width: 60rem) {
  .par { grid-template-columns: 5fr 6fr; gap: 5rem; align-items: center; }
  .perguntas-grelha, .contacto-grelha { grid-template-columns: 5fr 7fr; gap: 5rem; }
  .coluna-fixa { position: sticky; top: calc(var(--topo) + 2rem); align-self: start; }
  .raca-corpo { grid-template-columns: 4fr 7fr; gap: 5rem; }
  .ficha-coluna { position: sticky; top: calc(var(--topo) + 2rem); align-self: start; }
  .raca-topo, .artigo-topo { padding-bottom: 4rem; }
  .raca-topo:has(+ .fotos-raca) { padding-bottom: 7rem; }
  .fotos-raca { margin-top: -4.5rem; }
  .migalhas { padding-top: 2rem; }
  .outras { grid-template-columns: repeat(3, 1fr); }
  .outras li:nth-child(3) a { border-top: 1px solid var(--linha); }
  .artigos-grupo + .artigos-grupo { margin-top: 4rem; }
}

@media (hover: hover) {
  .outras a:hover, .lista-artigos a:hover strong { color: var(--verde); }
  .contactos a:hover { color: var(--verde); }
}

@media (hover: hover) {
  .menu li a:hover, .ligacao:hover { color: var(--verde); }
  .racas a:hover { border-color: var(--verde); }
  .racas a:hover .foto img { transform: scale(1.04); }
  .racas a:hover .seta { background: var(--verde); color: #fff; border-color: var(--verde); }
}











/* Títulos na letra escrita à mão: tamanhos e exceções */
.titulo-seccao { font-size: clamp(2.6rem, 1.8rem + 3.4vw, 4.5rem); }
.raca-topo h1 { font-size: clamp(3.2rem, 1.9rem + 6vw, 6.5rem); font-weight: 600; }
.artigo-topo h1 { font-size: clamp(2.6rem, 1.6rem + 4.4vw, 4.75rem); font-weight: 600; }
.premio h3 { font-size: 2.1rem; line-height: 1; }
.texto-raca h2, .grupo-perguntas h2, .artigos-grupo h2, .galeria-grupo h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.artigo-corpo h2 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem); }
/* ================= Estilo da referência (pedido do Ricardo, 23/11/2026) ================= */

/* Botões: pílula, maiúsculas pequenas e sublinhadas, como na referência */
.botao { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.25rem; padding: 0 2rem; border-radius: var(--raio-botao); background: var(--verde); color: #fff; border: 2px solid var(--verde); font-weight: 700; font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: background-color .15s, color .15s; }
.botao:active { background: var(--verde-escuro); border-color: var(--verde-escuro); }
.botao.claro { background: var(--verde); color: #fff; border-color: var(--verde); }
.botao.contorno { background: transparent; color: var(--tinta); border-color: var(--tinta); }
.ligacao { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; color: var(--verde); font-weight: 700; font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.ligacao .icone { width: 1rem; height: 1rem; }
.etiqueta { margin: 0 0 .5rem; font-family: var(--texto); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--verde); }
.titulo-seccao em { font-style: normal; color: var(--verde); }
.etiqueta-mao { font-family: var(--titulo); font-weight: 600; font-size: 1.6rem; line-height: 1.1; color: var(--verde); margin-bottom: .25rem; }

/* Primeiro ecrã: telemóvel foto em cima e texto no verde-escuro; computador dividido, foto sem filtro */
.entrada { position: relative; display: flex; flex-direction: column; min-height: 100svh; background: var(--mato); color: #fff; }
.entrada-foto { position: absolute; inset: 0; }
.entrada-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.entrada-texto { position: relative; flex: 1; display: flex; flex-direction: column; padding-block: calc(var(--topo) + 1.25rem) 2rem; text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.entrada-texto .resto { display: none; }
/* Verde esbatido atrás do texto e dos botões (pedido do Ricardo); não chega aos cães */
.entrada::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(38,47,30,.78) 0%, rgba(38,47,30,.35) 30%, rgba(38,47,30,0) 42%, rgba(38,47,30,0) 70%, rgba(38,47,30,.72) 100%); }
.entrada-texto { z-index: 2; }
.entrada .botao { text-shadow: none; }
.entrada h1 { color: #fff; font-family: "Source Sans 3", system-ui, sans-serif; font-weight: 700; font-size: clamp(2.2rem, 1rem + 4vw, 4.8rem); line-height: 1.05; max-width: 100%; text-shadow: 0 2px 6px rgba(0,0,0,.45); text-wrap: balance; }
.raca-topo h1, .artigo-topo h1 { color: #fff; }
.entrada-texto > p { margin-top: .75rem; max-width: 30rem; color: #fff; font-size: 1.2rem; font-weight: 400; text-shadow: 0 1px 4px rgba(0,0,0,.55); }
.entrada .acoes { margin-top: auto; padding-top: 2rem; }
.entrada .botao.contorno { color: #fff; border-color: #fff; }
.entrada :focus-visible { outline-color: #fff; }
/* Botões do primeiro ecrã e do cabeçalho: sem sublinhado; o verde ganha presença */
.menu .botao { background: var(--verde-claro); border-color: var(--verde-claro); box-shadow: 0 4px 16px rgba(0,0,0,.32); }
/* Botão principal do primeiro ecrã em branco cheio, letra e ícone verdes: destaca-se da foto verde e do botão do cabeçalho */
.entrada .botao:not(.contorno) { background: var(--fundo); border-color: var(--fundo); color: var(--verde); box-shadow: 0 4px 16px rgba(0,0,0,.28); }
.entrada .botao:not(.contorno) { font-size: 1rem; min-height: 3.5rem; padding: 0 2.25rem; }
/* Telemóvel: título e texto abaixo das cabeças dos cães; escurece só de baixo para o texto se ler sobre o pelo claro */
@media (max-width: 59.99rem) {
  /* A faixa dos números entra no fundo do primeiro ecrã; texto e botões assentam por cima dela */
  .entrada-texto { justify-content: flex-end; padding-top: calc(var(--topo) + 1.25rem); padding-bottom: 1.5rem; }
  .entrada .acoes { margin-top: 1.5rem; padding-top: 0; }
  .entrada::before { background: linear-gradient(180deg, rgba(38,47,30,.55) 0%, rgba(38,47,30,0) 16%, rgba(38,47,30,0) 40%, rgba(38,47,30,.8) 58%, rgba(38,47,30,.88) 100%); }
}
/* Telemóvel: botões lado a lado, mais pequenos */
@media (max-width: 39.99rem) {
  .entrada .acoes { flex-direction: row; gap: .625rem; }
  .entrada .acoes .botao, .entrada .botao:not(.contorno) { flex: 1 1 0; width: auto; min-height: 3rem; padding: 0 .75rem; font-size: .875rem; }
  .entrada .so-largo { display: none; }
  /* Título a encher a largura do ecrã; texto em letra normal (não negrito) */
  .entrada-foto img { object-position: 42% 30%; }
  .entrada-texto { align-items: center; text-align: center; padding-bottom: 4rem; }
  .entrada .acoes { justify-content: center; width: 100%; margin-top: 2.25rem; }
  .entrada-texto > p { margin-top: 1.5rem; }
  .entrada .acoes .botao, .entrada .botao:not(.contorno) { min-height: 3.5rem; font-size: 1rem; }
  .entrada h1 { font-size: 9.7vw; }
  .entrada-texto > p { font-weight: 400; font-size: 1.125rem; line-height: 1.45; text-shadow: 0 1px 4px rgba(0,0,0,.55); }
}
/* Tablet: texto e botões ao centro, por baixo do cão, letra maior */
@media (min-width: 40rem) and (max-width: 59.99rem) {
  .entrada-texto { align-items: center; text-align: center; padding-bottom: 3.5rem; }
  .entrada h1 { font-size: clamp(4rem, 1rem + 7vw, 4.8rem); }
  .entrada-texto > p { font-size: 1.1rem; max-width: 36rem; margin-top: 1rem; }
  .factos li { padding-block: .5rem; }
  .factos .ico { margin-bottom: .25rem; }
  .entrada .acoes { margin-top: 2.25rem; padding-top: 0; justify-content: center; }
}
.menu .botao:hover { background: var(--verde-escuro); border-color: var(--verde-escuro); }

/* Raças com lista das raças por baixo */
.seta-sub { width: .5rem; height: .5rem; margin-left: .55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); flex: none; }
.menu .sub li a { min-height: 3rem; font-size: 1.125rem; font-weight: 500; letter-spacing: 0; padding-left: 1.25rem; }
@media (min-width: 60rem) {
  .tem-sub { position: relative; }
  .menu .sub { display: none; position: absolute; top: 100%; left: -1rem; min-width: 17.5rem; padding: .5rem 0; background: var(--fundo); color: var(--tinta); border: 1px solid var(--linha); border-radius: 6px; box-shadow: 0 10px 28px rgba(0,0,0,.18); text-shadow: none; z-index: 60; }
  .menu .sub { flex-direction: column; gap: 0; }
  .tem-sub:hover > .sub, .tem-sub:focus-within > .sub { display: flex; }
  .menu .sub li a { min-height: 2.75rem; padding: 0 1.25rem; font-size: 1rem; font-weight: 500; }
  .menu .sub li a:hover, .menu .sub li a[aria-current] { color: var(--verde); background: var(--pedra); }
  .inicio:not(.rolou) .menu .sub li a:hover { color: var(--verde); text-decoration: none; }
}
.entrada .botao:not(.contorno):hover { background: #EEF1E8; border-color: #EEF1E8; color: var(--verde-escuro); }

/* Início: cabeçalho transparente por cima; branco ao descer */
.inicio .cabecalho { position: fixed; top: 0; left: 0; right: 0; background: transparent; border-bottom-color: transparent; color: #fff; transition: background-color .25s, border-color .25s, color .25s; }
.inicio .menu-botao { border-color: rgba(255,255,255,.6); }
.inicio:not(.rolou):not(.menu-aberto) .cabecalho { text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.inicio.rolou .cabecalho, .inicio.menu-aberto .cabecalho { background: var(--fundo); border-bottom-color: var(--linha); color: var(--tinta); }
.inicio.rolou .menu-botao, .inicio.menu-aberto .menu-botao { border-color: var(--linha); }
.inicio:not(.rolou):not(.menu-aberto) .cabecalho .logo-cor { display: none; }
.inicio:not(.rolou):not(.menu-aberto) .cabecalho .logo-branco { display: block; }
.inicio:not(.rolou):not(.menu-aberto) .cabecalho .marca-nome { color: #fff; }

/* Quem somos e como criamos, em bege */
.sobre { padding-block: 3.5rem; }
.sobre-grelha { display: grid; gap: 2rem; }
.sobre .lead { max-width: 36rem; }
.sobre-foto { margin: 0; }
.sobre-foto img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%; border: .5rem solid #fff; border-radius: calc(var(--raio) + .5rem); box-shadow: 0 6px 20px rgba(38,47,30,.14); }
.sobre .pontos { margin-top: 0; }
.sobre-fim { margin: 0 0 .5rem; }

/* Comentários das famílias */
.comentarios-grelha { display: grid; gap: 1.5rem; }
.comentarios-print { position: relative; width: 100%; max-width: 30rem; margin: 0 auto; }
.comentarios-print picture img { display: block; width: 100%; height: auto; border-radius: var(--raio); box-shadow: 0 8px 28px rgba(38,47,30,.18); }
.comentario-zoom { display: none; }
@media (min-width: 48rem) { .comentario-zoom { position: absolute; display: grid; } }
.comentario-zoom { grid-template-columns: 2.5rem 1fr; gap: .75rem; align-items: start; padding: 1rem 1.1rem; background: #1c1c1e; border: 3px solid #a5c46a; border-radius: var(--raio); box-shadow: 0 14px 36px rgba(0,0,0,.5); }
.comentario-zoom img { width: 2.5rem; height: 2.5rem; border-radius: 50%; }
.comentario-zoom p { margin: 0; color: #f5f5f5; font-size: 1.0625rem; line-height: 1.4; }
.comentario-zoom strong { color: #fff; margin-right: .3rem; }
@media (min-width: 48rem) {
  .comentarios-print { max-width: 1115px; }
  .comentario-zoom { left: auto; right: 2%; top: 52%; width: 52%; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 1.4rem 1.6rem; }
  .comentario-zoom img { width: 3.5rem; height: 3.5rem; }
  .comentario-zoom p { font-size: clamp(1.15rem, .6rem + 1vw, 1.6rem); }
}

/* Como levar, tudo a verde com patas brancas */
#como-levar .bloco { background: var(--verde); }
#como-levar .titulo-seccao, #como-levar .lead, #como-levar .nota { color: #fff; }
#como-levar .passos-linha h3 { color: #fff; }
#como-levar .passos-linha p { color: rgba(255,255,255,.88); }
#como-levar .passos-linha li::before { color: var(--verde); background: var(--verde) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='%23ffffff'%3E%3Cellipse cx='19' cy='42' rx='9.5' ry='12.5' transform='rotate(-28 19 42)'/%3E%3Cellipse cx='37' cy='19' rx='10.5' ry='13.5' transform='rotate(-9 37 19)'/%3E%3Cellipse cx='63' cy='19' rx='10.5' ry='13.5' transform='rotate(9 63 19)'/%3E%3Cellipse cx='81' cy='42' rx='9.5' ry='12.5' transform='rotate(28 81 42)'/%3E%3Cpath d='M50 40c17 0 32 15 33 31 1 14-9 22-19 20-6-1-9-5-14-5s-8 4-14 5c-10 2-20-6-19-20 1-16 16-31 33-31z'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
#como-levar .passos-linha li::after { border-color: rgba(255,255,255,.4); }

/* Foto e texto lado a lado */
.destaque { display: grid; gap: 2rem; align-items: center; }
.destaque > img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: .5rem solid #fff; border-radius: calc(var(--raio) + .5rem); box-shadow: 0 6px 20px rgba(38,47,30,.14); }

/* Passos com círculos ligados por tracejado */
.centro { text-align: center; margin-inline: auto; }
.lead.centro { max-width: 40rem; }
.nota.centro { max-width: 44rem; }
.passos-linha { list-style: none; margin: 2.5rem 0 0; padding: 0; counter-reset: pl; display: grid; }
.passos-linha li { counter-increment: pl; position: relative; display: grid; grid-template-columns: 4.5rem 1fr; column-gap: 1.25rem; padding-bottom: 2rem; }
.passos-linha li::before { content: counter(pl); grid-row: span 2; width: 4.5rem; height: 4.5rem; box-sizing: border-box; padding-top: 1.85rem; display: grid; place-items: center; font-family: var(--texto); font-weight: 700; font-size: 1.375rem; line-height: 1; color: #fff; background: var(--fundo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='%23456925'%3E%3Cellipse cx='19' cy='42' rx='9.5' ry='12.5' transform='rotate(-28 19 42)'/%3E%3Cellipse cx='37' cy='19' rx='10.5' ry='13.5' transform='rotate(-9 37 19)'/%3E%3Cellipse cx='63' cy='19' rx='10.5' ry='13.5' transform='rotate(9 63 19)'/%3E%3Cellipse cx='81' cy='42' rx='9.5' ry='12.5' transform='rotate(28 81 42)'/%3E%3Cpath d='M50 40c17 0 32 15 33 31 1 14-9 22-19 20-6-1-9-5-14-5s-8 4-14 5c-10 2-20-6-19-20 1-16 16-31 33-31z'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; position: relative; z-index: 1; }
.passos-linha li::after { content: ""; position: absolute; left: calc(2.25rem - 1px); top: 4.5rem; bottom: 0; border-left: 2px dashed var(--linha); }
.passos-linha li:last-child::after { display: none; }
.passos-linha h3 { font-family: var(--texto); font-weight: 400; font-size: 1.375rem; color: var(--titulo-cor); margin-top: 1rem; }
.passos-linha p { color: var(--tinta-2); margin-top: .5rem; font-size: 1.0625rem; }

/* Artigos em cartões sobre fundo claro */
.fundo-pedra { background: var(--fundo); }
.fundo-branco { background: var(--fundo); }
.fundo-claro { background: var(--fundo); }
.cabeca-linha { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: .5rem 2rem; margin-bottom: 2.5rem; }
.cartoes-artigos { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.cartoes-artigos a { display: flex; flex-direction: column; height: 100%; background: var(--cartao); border-radius: var(--raio); overflow: hidden; text-decoration: none; }
.cartoes-artigos img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.cartoes-artigos div { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.5rem 1.75rem; }
.cartoes-artigos h3 { font-family: var(--texto); font-weight: 700; font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.01em; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.cartoes-artigos .resumo-cartao { color: var(--tinta-2); margin-top: .75rem; }
/* Telemóvel: os 3 artigos do início um por baixo do outro, cada cartão deitado (foto à esquerda, texto à direita) */
@media (max-width: 39.99rem) {
  #artigos .cartoes-artigos { gap: 1rem; }
  #artigos .cartoes-artigos a { flex-direction: row; }
  #artigos .cartoes-artigos img { width: 38%; flex: none; aspect-ratio: auto; height: auto; min-height: 100%; object-fit: cover; }
  #artigos .cartoes-artigos div { padding: 1rem 1rem 1.1rem; }
  #artigos .cartoes-artigos h3 { font-size: 1.125rem; }
  #artigos .cartoes-artigos .resumo-cartao { font-size: .9375rem; line-height: 1.4; margin-top: .5rem; }
}
/* Tablet: os 3 artigos do início lado a lado */
@media (min-width: 40rem) and (max-width: 59.99rem) {
  #artigos .cartoes-artigos { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  #artigos .cartoes-artigos div { padding: 1rem 1rem 1.25rem; }
  #artigos .cartoes-artigos h3 { font-size: 1.125rem; }
  #artigos .cartoes-artigos .resumo-cartao { font-size: .9375rem; line-height: 1.4; margin-top: .5rem; }
}

/* Chamada final escura */
.chamada { background: var(--verde); color: #fff; text-align: center; padding-block: 3rem; }
.raca-topo + .chamada { padding-top: 0; }
.medalha-premios { display: block; width: 3.25rem; height: auto; margin: 0 auto 1rem; }
@media (min-width: 60rem) { .medalha-premios { width: 4rem; } }.raca-topo + .chamada-form .chamada-texto > .titulo-seccao,
.raca-topo + .chamada-form .chamada-texto > .lead { display: none; }
.chamada h2 { color: #fff; }
.chamada .lead { color: rgba(255,255,255,.9); margin: 1rem auto 0; max-width: 38rem; }
.chamada .etiqueta { color: rgba(255,255,255,.8); }
.chamada .nota-tel { margin-top: 1rem; color: rgba(255,255,255,.75); }
.chamada .nota-tel a { color: #fff; font-weight: 700; white-space: nowrap; }
.chamada .botao { background: var(--fundo); border-color: var(--fundo); color: var(--verde-escuro); }
.chamada .botao:hover { background: var(--fundo); border-color: var(--fundo); color: var(--verde-escuro); }
.chamada .acoes { align-items: center; margin-top: 1.5rem; }
.chamada :focus-visible { outline-color: #fff; }

/* Rodapé preto */
.rodape { background: #161614; color: #fff; padding: 3.5rem 0 1.5rem; font-size: 1.0625rem; }
.rodape-grelha { display: grid; gap: 2.5rem; }
.rodape h2 { font-family: var(--texto); font-weight: 700; font-size: 1.375rem; color: #fff; margin-bottom: .75rem; }
.rodape-logo a { display: inline-block; }
.rodape-logo img { display: block; width: 9rem; height: auto; }
@media (min-width: 60rem) { .rodape-logo img { width: 11.25rem; } }
.rodape ul { list-style: none; margin: 0; padding: 0; }
.rodape li a { display: inline-flex; min-height: 2.5rem; align-items: center; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.rodape-fim { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.25); font-size: .9375rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.rodape-fim a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.rodape-fim { flex-direction: column; align-items: flex-start; }
.rodape-legal { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.rodape .rodape-legal li a { min-height: 0; display: inline; color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (min-width: 60rem) { .rodape-fim { flex-direction: row; align-items: center; } }

/* Páginas legais */
.legal { padding-block: 2.5rem 4rem; }
.texto-legal { max-width: 46rem; margin-inline: max(var(--lado), calc((100% - 76rem) / 2)); }
.texto-legal h2 { font-family: var(--titulo); font-size: 1.5rem; margin-top: 2.5rem; }
.texto-legal > h2:first-child { margin-top: 0; }
.texto-legal p, .texto-legal li { font-size: 1.0625rem; line-height: 1.6; color: var(--tinta); }
.texto-legal p { margin: .75rem 0 0; }
.texto-legal ul { margin: .75rem 0 0; padding-left: 1.25rem; list-style: disc; }
.texto-legal li + li { margin-top: .35rem; }
.texto-legal a { color: var(--verde); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.texto-legal .atualizacao { margin-top: 2.5rem; color: var(--tinta-2); }
.grelha-litigios { display: grid; gap: 1rem; margin-top: 1.5rem; }
.texto-legal .litigio { border: 1px solid var(--linha); background: var(--cartao); border-radius: var(--raio); padding: 1.25rem; }
.texto-legal .litigio h2 { font-family: var(--texto); font-size: 1.25rem; font-weight: 700; color: var(--texto-cor, var(--tinta)); line-height: 1.25; margin: 0 0 .5rem; }
.texto-legal .litigio p { margin-top: .4rem; }
@media (min-width: 48rem) { .grelha-litigios { grid-template-columns: 1fr 1fr; } }
.rodape :focus-visible { outline-color: #fff; }

@media (min-width: 40rem) {
  .cartoes-artigos { grid-template-columns: repeat(2, 1fr); }
  .chamada .acoes { justify-content: center; }
  .rodape-grelha { grid-template-columns: 1fr 1.1fr 1.2fr 1fr; gap: 2.5rem; }
}

@media (min-width: 60rem) {
  /* Foto da relva a toda a largura; cães à direita, texto por cima à esquerda, sem filtro */
  /* Primeiro ecrã = altura exata da janela; a faixa dos números fica colada ao fundo, inteira, em qualquer ecrã */
  .entrada { display: flex; flex-direction: column; min-height: min(100svh, calc(55.8vw + 7.25rem)); }
  .entrada-foto img { object-position: 70% 40%; }
  .entrada::before { background: linear-gradient(90deg, rgba(38,47,30,.85) 0%, rgba(38,47,30,.6) 28%, rgba(38,47,30,.2) 42%, rgba(38,47,30,0) 52%); }
  .entrada .largura.entrada-texto { flex: 1; display: flex; justify-content: center; min-height: 0; padding-block: calc(var(--topo) + 2rem) 3rem; }
  .entrada-texto > * { max-width: 34rem; }
  .entrada-texto > h1 { max-width: 40rem; font-size: clamp(2.8rem, 1rem + 3.4vw, 3.9rem); }
  .entrada h1 span { display: block; white-space: nowrap; }
  .entrada-texto .resto { display: inline; }
  .entrada .acoes { margin-top: 2rem; padding-top: 0; }
  .sobre { padding-block: 6rem; }
  .sobre-grelha { grid-template-columns: 5fr 6fr; grid-template-areas: "foto cabeca" "foto resto"; column-gap: 5rem; row-gap: 2rem; align-items: start; }
  .sobre-cabeca { grid-area: cabeca; align-self: end; }
  .sobre-foto { grid-area: foto; }
  .sobre-resto { grid-area: resto; align-self: start; }
  .sobre-foto img { aspect-ratio: 4 / 5; }
  .comentarios-grelha { gap: 2.5rem; }
  .destaque { grid-template-columns: 5fr 6fr; gap: 5rem; }
  .passos-linha { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3.5rem; max-width: 60rem; margin-inline: auto; }
  .passos-linha li { grid-template-columns: 1fr; justify-items: center; align-content: start; text-align: center; padding: 0; }
  .passos-linha li::before { grid-row: auto; margin-bottom: .25rem; }
  .passos-linha li::after { top: calc(2.25rem - 1px); bottom: auto; left: calc(50% + 2.75rem); width: calc(100% - 3rem); border-left: 0; border-top: 2px dashed var(--linha); }
  .cartoes-artigos { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .chamada { padding-block: 3.5rem; }
  .rodape { padding-top: 4.5rem; }
}

@media (hover: hover) {
  .botao:hover { background: var(--verde-escuro); border-color: var(--verde-escuro); color: #fff; }
  .botao.contorno:hover { background: var(--tinta); color: #fff; border-color: var(--tinta); }
  .entrada .botao.contorno:hover { background: var(--fundo); color: var(--mato); border-color: var(--fundo); }
  .ligacao:hover { color: var(--verde-escuro); }
  .inicio:not(.rolou) .menu li a:hover { color: #fff; text-decoration: underline; text-underline-offset: .3em; }
  .cartoes-artigos a:hover h3 { color: var(--verde); }
  .rodape li a:hover { text-decoration: underline; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.racas a:focus-visible .foto img { transform: scale(1.04); }
.racas a:focus-visible .seta { background: var(--verde); color: #fff; border-color: var(--verde); }

/* medalhas */
.medalha-foto { margin: 0; align-self: start; }
.medalha-foto img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--raio); }
.ico-premio { flex: none; width: 2.25rem; height: 2.25rem; fill: none; stroke: var(--verde); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ico-premio .ch { fill: var(--verde); stroke: none; }
.titulos { list-style: none; margin: 0; padding: 0; }
.titulos li { display: grid; grid-template-columns: 2.25rem 1fr; column-gap: .875rem; align-items: center; padding: .875rem 0; border-bottom: 1px solid var(--linha); }
.titulos .ico-premio { grid-row: span 2; }
.titulos strong { display: block; font-size: 1.0625rem; line-height: 1.3; }
.titulos span { display: block; font-size: .9375rem; color: var(--tinta-2); }
@media (min-width: 60rem) { .titulos { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.premios-campeas .premio img { max-width: none; aspect-ratio: 5 / 6; }
.premios-campeas .titulo-premio { display: flex; align-items: center; gap: .5rem; }
.premios-campeas .titulo-premio .ico-premio { width: 1.75rem; height: 1.75rem; }
@media (min-width: 60rem) { .galeria-livre.galeria-premios { columns: 3; } }
.medalha-texto h3 { font-size: 1.75rem; margin: 2rem 0 .5rem; }
.medalha-texto .nome-completo { color: var(--verde); font-weight: 700; font-size: 1rem; margin: .25rem 0 1rem; }

/* Outras raças: cartões pequenos; 5 numa linha no computador, 3 e 2 no telemóvel e tablet */
.racas.cinco { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.racas.cinco .foto { aspect-ratio: 1 / 1; }
.racas.cinco .raca-info { padding: .5rem .6rem .65rem; }
.racas.cinco .raca-info h3 { font-size: .8125rem; line-height: 1.15; margin-top: 0; }
.racas.cinco .raca-info .seta { display: none; }
@media (min-width: 40rem) { .racas.cinco { gap: .75rem; } .racas.cinco .raca-info { padding: .7rem .85rem .85rem; } .racas.cinco .raca-info h3 { font-size: 1rem; } }
@media (min-width: 60rem) { .racas.cinco { grid-template-columns: repeat(5, 1fr); gap: .75rem; } .racas.cinco .foto { aspect-ratio: 1 / 1; } .racas.cinco .raca-info h3 { font-size: .9375rem; } }

/* Formulário de contacto na chamada final: texto à esquerda, formulário à direita; no telemóvel o formulário vem depois */
.chamada-grelha { display: grid; gap: 2.25rem; }
.form-contacto { background: var(--fundo); color: var(--tinta); border-radius: 6px; padding: 1.5rem 1.25rem; text-align: left; box-shadow: 0 8px 28px rgba(0,0,0,.16); }
.form-contacto h3 { font-family: var(--texto); font-weight: 700; font-size: 1.25rem; color: var(--mato); margin: 0 0 .5rem; }
.form-contacto label { display: block; margin-top: .9rem; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tinta-2); }
.form-contacto input, .form-contacto select, .form-contacto textarea { display: block; width: 100%; margin-top: .35rem; min-height: 2.9rem; padding: .6rem .75rem; font: inherit; font-size: 1rem; color: var(--tinta); background: var(--cartao); border: 1px solid var(--linha); border-radius: 6px; }
.form-contacto textarea { resize: vertical; min-height: 6rem; }
.form-contacto input:focus-visible, .form-contacto select:focus-visible, .form-contacto textarea:focus-visible { outline: 2px solid var(--verde); outline-offset: 1px; border-color: var(--verde); }
.form-duas { display: grid; gap: 0; }
.chamada .form-contacto .botao { width: 100%; margin-top: 1.25rem; background: var(--verde); border-color: var(--verde); color: #fff; }
.chamada .form-contacto .botao:hover { background: var(--verde-escuro); border-color: var(--verde-escuro); color: #fff; }
.form-nota { margin: .9rem 0 0; font-size: .8125rem; color: var(--tinta-2); text-align: center; }
.form-nota a { color: var(--verde); }
.chamada .form-contacto :focus-visible { outline-color: var(--verde); }
@media (min-width: 40rem) { .form-duas { grid-template-columns: 1fr 1fr; gap: 0 1rem; } .form-contacto { padding: 2rem; } }
/* Dados de contacto da chamada final: 2 telefones, email e morada, numa lista vertical */
.dados-chamada { list-style: none; margin: 0; padding: 0; text-align: left; border-top: 1px solid rgba(255,255,255,.22); }
.dados-chamada li { display: flex; align-items: center; gap: .9rem; padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.dados-chamada .icone { flex: none; width: 2.5rem; height: 2.5rem; padding: .6rem; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.dado-rotulo { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.dados-chamada a, .dado-valor { display: block; color: #fff; font-weight: 700; font-size: 1.0625rem; line-height: 1.35; text-decoration: none; overflow-wrap: anywhere; }
.dado-valor { font-weight: 600; }
@media (hover: hover) { .dados-chamada a:hover { text-decoration: underline; text-underline-offset: .2em; } }
.chamada .dados-chamada :focus-visible { outline-color: #fff; }

/* Computador: esquerda = texto e dados por baixo; direita = formulário a ocupar as duas linhas */
@media (min-width: 60rem) {
  .chamada-grelha { grid-template-columns: 1fr 1.1fr; grid-template-rows: auto 1fr; column-gap: 4.5rem; row-gap: 2.25rem; }
  .chamada-form .chamada-texto { grid-column: 1; grid-row: 1; text-align: left; }
  .chamada-form .chamada-texto .lead { margin-left: 0; }
  .chamada-form .chamada-texto .acoes { justify-content: flex-start; }
  .chamada-form .form-contacto { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .chamada-form .dados-chamada { grid-column: 1; grid-row: 2; align-self: start; }
}

/* Contacto, computador: título à esquerda, à altura do topo do formulário */
@media (min-width: 60rem) {
  .contacto-topo { display: grid; grid-template-columns: 1fr 1.1fr; grid-template-rows: auto auto 1fr; column-gap: 4.5rem; background: var(--verde); padding: 1.25rem max(var(--lado), calc((100% - 76rem) / 2)) 3.5rem; }
  .contacto-topo .chamada, .contacto-topo .chamada-grelha { display: contents; }
  .contacto-topo .raca-topo { grid-column: 1; grid-row: 1; padding: 0; }
  .contacto-topo .raca-topo h1 { font-size: clamp(2.75rem, 3.9vw, 3.75rem); max-width: none; }
  .contacto-topo .chamada-texto { grid-column: 1; grid-row: 2; margin-top: 2rem; }
  .contacto-topo .dados-chamada { grid-column: 1; grid-row: 3; margin-top: 2.25rem; align-self: end; }
  .contacto-topo .form-contacto { grid-column: 2; grid-row: 1 / 4; align-self: start; }
}

/* Página de perguntas frequentes: tudo centrado, dentro das margens */
.topo-centro { text-align: center; }
.migalhas.topo-centro ol { justify-content: center; }
.raca-topo.topo-centro h1, .raca-topo.topo-centro .lead { margin-inline: auto; }
.faq-centro { max-width: 50rem; margin-inline: auto; }
.faq-centro .grupo-perguntas h2 { text-align: center; }
.faq-centro .nota { text-align: center; margin-top: 1.25rem; }

/* Banner fininho no topo da página de uma raça */
.banner-raca { height: 9rem; overflow: hidden; background: var(--pedra); }
.banner-raca img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
@media (min-width: 40rem) { .banner-raca { height: 12rem; } }
@media (min-width: 60rem) { .banner-raca { height: 16rem; } }

/* Topo de uma raça com foto no lugar do bloco verde: título e texto por cima da relva, longe da cara do cão */
.topo-foto { position: relative; min-height: 25rem; display: flex; background: var(--verde); color: #fff; overflow: hidden; }
.topo-foto > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 12%; }
.topo-foto-grelha { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; padding-block: 1.25rem 2rem; }
.topo-foto-texto { margin-left: auto; max-width: 11.5rem; text-align: left; }
.topo-foto .lead { display: none; }
.topo-foto .migalhas { background: none; padding: 0; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.topo-foto .migalhas ol { color: rgba(255,255,255,.92); }
.topo-foto h1 { font-size: clamp(2.1rem, 1.2rem + 4.6vw, 4.5rem); line-height: 1; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.topo-foto .lead { margin-top: .75rem; color: #fff; font-size: 1.0625rem; max-width: 32rem; text-shadow: 0 1px 6px rgba(0,0,0,.65); }
@media (min-width: 40rem) { .topo-foto { min-height: 24rem; } .topo-foto > img { object-position: 50% 14%; } .topo-foto-texto { max-width: 21rem; } .topo-foto .lead { display: block; } }
@media (min-width: 60rem) { .topo-foto { min-height: 28rem; } .topo-foto > img { object-position: 50% 18%; } .topo-foto-grelha { padding-bottom: 2.5rem; } .topo-foto-texto { max-width: 34rem; } }

/* Fotos de uma raça: pequenas, a ampliar ao carregar. Telemóvel e tablet: 2 de cada vez, a rodar; computador: as 4 no fim do texto */
.galeria-raca { margin: 0 0 1.75rem; }
.foto-abrir { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--raio); overflow: hidden; }
.foto-abrir img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--raio); }
.galeria-raca figure { margin: 0; }
.galeria-pista { position: relative; display: flex; gap: .625rem; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.galeria-pista::-webkit-scrollbar { display: none; }
.galeria-pista figure { flex: 0 0 calc(50% - .3125rem); scroll-snap-align: start; }
.galeria-botoes { display: flex; justify-content: flex-end; gap: .5rem; margin-top: .75rem; }
.galeria-seta { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; background: var(--fundo); border: 1px solid var(--linha); border-radius: 50%; color: var(--verde); cursor: pointer; }
.galeria-seta .icone { width: 1.1rem; height: 1.1rem; }
.galeria-seta[data-dir="-1"] .icone { transform: scaleX(-1); }
.galeria-pc { display: none; }
@media (min-width: 40rem) { .galeria-movel { max-width: 40rem; } }
@media (min-width: 60rem) {
  .galeria-movel { display: none; }
  .galeria-pc { display: grid; grid-template-columns: repeat(4, 1fr); gap: .625rem; margin: 2.25rem 0 0; }
}
@media (hover: hover) { .galeria-seta:hover { background: var(--verde); color: #fff; border-color: var(--verde); } .foto-abrir:hover img { transform: scale(1.03); } .foto-abrir img { transition: transform .35s ease; } }

/* Foto ampliada */
.caixa-foto { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 3.5rem 1rem 1rem; background: rgba(20,20,18,.94); }
.caixa-foto img { max-width: min(94vw, 62rem); max-height: 86vh; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.caixa-fechar { position: absolute; top: .75rem; right: .75rem; width: 3rem; height: 3rem; display: grid; place-items: center; background: transparent; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: #fff; cursor: pointer; }
.caixa-fechar svg { width: 1.25rem; height: 1.25rem; stroke: #fff; stroke-width: 2; stroke-linecap: round; fill: none; }
.caixa-fechar:hover { background: rgba(255,255,255,.14); }
.caixa-fechar:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Linha branca entre a foto de topo e a secção seguinte */
.linha-branca { height: .5rem; background: var(--fundo); }

/* Topo claro (foto com céu e areia): texto escuro à esquerda, o cão fica à direita */
.topo-foto-claro, .topo-foto-claro h1, .topo-foto-claro .lead, .topo-foto-claro .migalhas ol, .topo-foto-claro .migalhas a { color: var(--mato); }
.topo-foto-claro .migalhas ol { color: var(--tinta); }
.topo-foto-claro .migalhas, .topo-foto-claro h1, .topo-foto-claro .lead { text-shadow: 0 0 10px rgba(255,255,255,.75), 0 0 2px rgba(255,255,255,.6); }
.topo-foto-claro > img { object-position: 90% 35%; }
.topo-foto-claro .topo-foto-texto { margin-left: 0; margin-right: auto; }
.topo-foto-claro .topo-foto-grelha { justify-content: flex-start; gap: 1.75rem; }
@media (min-width: 40rem) { .topo-foto-claro > img { object-position: 50% 24%; } .topo-foto-claro .topo-foto-grelha { justify-content: space-between; } }
@media (min-width: 60rem) { .topo-foto-claro > img { object-position: 50% 22%; } }

/* Topo com o cão à direita e relva livre à esquerda: no telemóvel o título vai para cima, à direita; no tablet e no computador fica à esquerda */
.topo-foto-esq > img { object-position: 100% 50%; }
.topo-foto-esq .topo-foto-grelha { justify-content: flex-start; gap: .75rem; }
@media (min-width: 40rem) {
  .topo-foto-esq > img { object-position: 50% 10%; }
  .topo-foto-esq .topo-foto-grelha { justify-content: space-between; }
  .topo-foto-esq .topo-foto-texto { margin-left: 0; margin-right: auto; max-width: 15rem; }
  .topo-foto-esq .lead { display: none; }
}
@media (min-width: 60rem) {
  .topo-foto-esq > img { object-position: 50% 20%; }
  .topo-foto-esq .topo-foto-texto { max-width: 24rem; }
  .topo-foto-esq .lead { display: block; }
}

/* Variante para a foto do Teckel: no telemóvel o título vai para a esquerda (cerca de madeira), longe da cara */
@media (max-width: 39.99rem) { .topo-foto-esq-mobile .topo-foto-texto { margin-left: 0; margin-right: auto; max-width: 8rem; } }

/* Cavalier: o cão está ao centro-direita; título à esquerda. No telemóvel o título fica em cima, pequeno, à esquerda. */
.topo-foto-cavalier > img { object-position: 78% 50%; }
@media (min-width: 40rem) { .topo-foto-cavalier > img { object-position: 50% 45%; } }
@media (min-width: 60rem) { .topo-foto-cavalier > img { object-position: 50% 45%; } .topo-foto-cavalier .topo-foto-texto { max-width: 22rem; } }
@media (max-width: 39.99rem) { .topo-foto-cavalier .topo-foto-texto { margin-left: 0; margin-right: auto; max-width: 8.5rem; } }

/* Chow-Chow: o cão está ao centro-direita; título à esquerda sobre as montanhas */
.topo-foto-chow > img { object-position: 68% 50%; }
@media (min-width: 40rem) { .topo-foto-chow > img { object-position: 50% 55%; } }
@media (min-width: 60rem) { .topo-foto-chow > img { object-position: 50% 52%; } .topo-foto-chow .topo-foto-texto { max-width: 22rem; } }
@media (max-width: 39.99rem) { .topo-foto-chow .topo-foto-texto { margin-left: 0; margin-right: auto; max-width: 9rem; } }
@media (min-width: 40rem) { .topo-foto-chow .topo-foto-grelha { justify-content: flex-start; gap: 2.25rem; } }

/* Topo da página de perguntas: o cão está ao centro, o título fica à esquerda sobre o fundo desfocado */
.topo-foto-faq > img { object-position: 62% 50%; }
@media (max-width: 39.99rem) { .topo-foto-faq .topo-foto-texto { margin-left: 0; margin-right: auto; max-width: 11rem; } .topo-foto-faq h1 { font-size: 2.1rem; overflow-wrap: normal; word-break: normal; } }
@media (min-width: 60rem) { .topo-foto-faq .topo-foto-texto { max-width: 26rem; } .topo-foto-faq > img { object-position: 50% 35%; } }
/* Topo da página de artigos: o cão está à esquerda, o título vai para a direita, em escuro sobre o chão claro */
.topo-foto-artigos > img { object-position: 36% 50%; }
.topo-foto-artigos, .topo-foto-artigos h1, .topo-foto-artigos .lead, .topo-foto-artigos .migalhas ol, .topo-foto-artigos .migalhas a { color: var(--mato); text-shadow: none; }
.topo-foto-artigos .migalhas ol { color: var(--tinta); }
.topo-foto-artigos .topo-foto-texto { margin-left: auto; max-width: 11rem; text-align: right; }
.topo-foto-artigos .lead { display: none; }
@media (min-width: 40rem) { .topo-foto-artigos .topo-foto-texto { max-width: 17rem; } }
@media (min-width: 40rem) { .topo-foto-artigos > img { object-position: 50% 40%; } }
@media (min-width: 60rem) { .topo-foto-artigos .topo-foto-texto { max-width: 27rem; } .topo-foto-artigos .lead { display: block; } }
@media (max-width: 39.99rem) { .topo-foto-artigos h1 { font-size: 1.9rem; } .topo-foto-artigos .topo-foto-grelha { padding-bottom: 1rem; } }

/* Foto escurecida para o texto branco ler bem (foto clara, com muito céu e água) */
.topo-foto-escuro::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(14,20,12,.66); }
.topo-foto-escuro .topo-foto-grelha { z-index: 2; }
.topo-foto-quem > img { object-position: 50% 62%; }
.topo-foto-quem .topo-foto-texto { margin-left: 0; max-width: 100%; }
.topo-foto-quem .lead { display: none; }
.topo-foto-quem h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.6rem); }
@media (min-width: 40rem) { .topo-foto-quem .topo-foto-texto { max-width: 30rem; } .topo-foto-quem .lead { display: block; } }
@media (min-width: 60rem) { .topo-foto-quem > img { object-position: 50% 58%; } .topo-foto-quem .topo-foto-texto { max-width: 36rem; } }

/* Quem somos: segundo título dentro do mesmo bloco de texto */
.titulo-sub { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); margin-top: 2rem; }

/* Segunda secção de Quem somos: lista à esquerda, foto da exposição à direita (no telemóvel, a foto vem depois da lista) */
.par-inverso img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 60rem) { .par-inverso { grid-template-columns: 6fr 5fr; } }

/* Página Galeria: miniaturas por raça, a ampliar ao carregar */
.galeria-titulo { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); margin: 2.5rem 0 1rem; }
.galeria-titulo:first-child { margin-top: 0; }
.galeria-grelha { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.galeria-grelha .foto-abrir img { aspect-ratio: 1 / 1; }
@media (min-width: 40rem) { .galeria-grelha { grid-template-columns: repeat(3, 1fr); gap: .75rem; } }
@media (min-width: 60rem) { .galeria-grelha { grid-template-columns: repeat(5, 1fr); } }

/* Galeria em mosaico: linhas da altura de uma coluna, fotos grandes (2x2), altas (1x2) e largas (2x1) */
.galeria-mosaico { grid-auto-flow: dense; grid-auto-rows: calc((100vw - 2 * var(--lado) - .5rem) / 2); }
.galeria-mosaico li, .galeria-mosaico .foto-abrir { height: 100%; }
.galeria-mosaico .foto-abrir img { aspect-ratio: auto; height: 100%; }
.galeria-mosaico .g-grande { grid-column: span 2; grid-row: span 2; }
.galeria-mosaico .g-alta { grid-row: span 2; }
.galeria-mosaico .g-larga { grid-column: span 2; }
@media (min-width: 40rem) { .galeria-mosaico { grid-auto-rows: calc((100vw - 2 * var(--lado) - 1.5rem) / 3); } }
@media (min-width: 60rem) { .galeria-mosaico { grid-template-columns: repeat(6, 1fr); grid-auto-rows: calc((min(100vw - 2 * var(--lado), 76rem) - 3.75rem) / 6); } }

/* Topo da galeria: foto escurecida por baixo do título */
.topo-foto-galeria { min-height: 16rem; }
.topo-foto-galeria > img { object-position: 50% 40%; }
.topo-foto-galeria .topo-foto-texto { margin-left: 0; max-width: 100%; }
.topo-foto-galeria .lead { display: none; }
@media (min-width: 40rem) { .topo-foto-galeria { min-height: 20rem; } .topo-foto-galeria .topo-foto-texto { max-width: 30rem; } .topo-foto-galeria .lead { display: block; } }
@media (min-width: 40rem) { .topo-foto-galeria > img { object-position: 50% 24%; } }

/* Fotos de prémios: sem corte, em colunas (há certificados e fotos em pé) */
.galeria-livre { display: block; columns: 2; column-gap: .5rem; margin-top: 2rem; }
.galeria-livre li { break-inside: avoid; margin-bottom: .5rem; }
.galeria-livre .foto-abrir img { aspect-ratio: auto; height: auto; }
@media (min-width: 40rem) { .galeria-livre { columns: 3; column-gap: .75rem; } .galeria-livre li { margin-bottom: .75rem; } }
@media (min-width: 60rem) { .galeria-livre { columns: 4; } }

/* Topo dos prémios: foto de exposição escurecida; título à esquerda */
.topo-foto-premios { min-height: 17rem; }
.topo-foto-premios > img { object-position: 50% 60%; }
.topo-foto-premios .topo-foto-texto { margin-left: 0; max-width: 100%; }
.topo-foto-premios h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.8rem); }
.topo-foto-premios .lead { display: none; }
@media (min-width: 40rem) { .topo-foto-premios { min-height: 20rem; } .topo-foto-premios .topo-foto-texto { max-width: 32rem; } .topo-foto-premios .lead { display: block; } }
@media (min-width: 60rem) { .topo-foto-premios { min-height: 24rem; } }
@media (min-width: 40rem) { .topo-foto-premios > img { object-position: 50% 82%; } }
@media (min-width: 60rem) { .topo-foto-premios { min-height: 27rem; } .topo-foto-premios > img { object-position: 50% 88%; } .topo-foto-premios .topo-foto-texto { max-width: 26rem; } }

/* Vídeos da galeria: verticais, só carregam quando se carrega em play */
.galeria-videos { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.galeria-videos video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: #111; border-radius: var(--raio); }
@media (min-width: 40rem) { .galeria-videos { gap: .75rem; } }
@media (min-width: 60rem) {
  .galeria-videos { max-width: 66rem; margin-inline: auto; gap: 1rem; }
  .galeria-videos video { aspect-ratio: 4 / 5; }
  [aria-labelledby="titulo-videos"] .largura > .etiqueta, #titulo-videos { text-align: center; }
}
@media (min-width: 40rem) and (max-width: 59.99rem) { .rodape-grelha { grid-template-columns: 1fr 1fr; gap: 2rem 2.5rem; } .rodape-logo { grid-column: 1 / -1; } }
/* Separador com patas */
.separador-patas { display: flex; align-items: center; gap: 1rem; width: min(100% - 2 * var(--lado), 76rem); margin: 0 auto; padding-bottom: 3.5rem; color: var(--verde); }
.separador-patas::before, .separador-patas::after { content: ""; flex: 1; border-top: 1px dashed currentColor; opacity: .35; }
.separador-patas .patas { display: flex; align-items: center; gap: .35rem; opacity: .55; }
.separador-patas svg { width: 1.5rem; height: 1.5rem; fill: currentColor; }
.separador-patas svg:first-child { transform: rotate(-16deg) translateY(.15rem); }
.separador-patas svg:last-child { transform: rotate(16deg) translateY(-.15rem); }
