/* Furniture Neto & Neto — demonstração privada (noindex) */

:root {
  --verde: #1e3b2f;
  --verde-escuro: #142a21;
  --marfim: #f7f3ea;
  --marfim-puro: #fdfbf6;
  --bege: #e9deca;
  --madeira: #a97c50;
  --preto: #17130f;
  --cinza: #57503f;
  --ouro: #b9903f;
  --ouro-texto: #7c5e1e;
  --ouro-claro: #d3ae62;
  --hairline: rgba(23, 19, 15, 0.14);
  --hairline-clara: rgba(247, 243, 234, 0.22);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --largura: 1120px;
  --raio: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--marfim);
  color: var(--preto);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  background: var(--bege);
}

a {
  color: inherit;
}

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

.section-escura :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--ouro-claro);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 60;
  background: var(--verde);
  color: var(--marfim-puro);
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--raio) var(--raio);
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
}

/* ---------- tipografia ---------- */

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.35rem, 5.4vw, 3.9rem);
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

p {
  margin: 0 0 1.1rem;
}

.lead {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.6;
  color: var(--cinza);
}

.section-escura .lead,
.sobre-marfim {
  color: var(--marfim);
}

.overline {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ouro-texto);
  margin: 0 0 1.2rem;
}

.overline::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--ouro);
}

.ampersand {
  font-style: italic;
  color: var(--ouro);
}

/* ---------- estrutura ---------- */

.container {
  width: min(var(--largura), 100% - 2.75rem);
  margin-inline: auto;
}

.section {
  padding-block: clamp(4rem, 9vw, 7rem);
}

.section-apertada {
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.section-escura {
  background: var(--verde);
  color: var(--marfim);
}

.section-escura h1,
.section-escura h2,
.section-escura h3 {
  color: var(--marfim-puro);
}

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

.rodape-secao {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--hairline);
  padding-top: 1.6rem;
  margin-top: 2.6rem;
}

/* ---------- botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn svg {
  flex: none;
}

.btn--primario {
  background: var(--verde);
  color: var(--marfim-puro);
}

.btn--primario:hover {
  background: var(--verde-escuro);
}

.btn--ouro {
  background: var(--ouro);
  color: var(--preto);
}

.btn--ouro:hover {
  background: var(--ouro-claro);
  color: var(--preto);
}

.btn--contorno {
  border-color: var(--verde);
  color: var(--verde);
  background: transparent;
}

.btn--contorno:hover {
  background: var(--verde);
  color: var(--marfim-puro);
}

.btn--contorno-claro {
  border-color: var(--hairline-clara);
  color: var(--marfim);
  background: transparent;
}

.btn--contorno-claro:hover {
  border-color: var(--marfim);
  background: rgba(247, 243, 234, 0.08);
}

.ligacao-seta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  color: var(--verde);
  border-bottom: 1px solid var(--ouro);
  padding-bottom: 0.2rem;
}

.ligacao-seta::after {
  content: "\2192";
  color: var(--ouro);
  transition: transform 0.15s ease;
}

.ligacao-seta:hover::after {
  transform: translateX(4px);
}

/* ---------- cabeçalho ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 234, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}

.cabecalho-linha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.4rem;
}

.marca {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--preto);
  white-space: nowrap;
}

.nav-principal ul {
  display: flex;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-principal a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cinza);
  padding-block: 0.4rem;
}

.nav-principal a:hover {
  color: var(--preto);
}

.nav-principal a[aria-current="page"] {
  color: var(--preto);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--preto);
  cursor: pointer;
}

.nav-toggle svg {
  display: block;
}

.nav-toggle .icono-fechar {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icono-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icono-fechar {
  display: block;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-principal {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--marfim-puro);
    border-bottom: 1px solid var(--hairline);
    display: none;
    padding: 0.75rem 1.4rem 1.4rem;
  }

  .nav-principal.aberto {
    display: block;
  }

  .nav-principal ul {
    flex-direction: column;
    gap: 0;
  }

  .nav-principal li {
    border-top: 1px solid var(--hairline);
  }

  .nav-principal li:first-child {
    border-top: 0;
  }

  .nav-principal a {
    display: block;
    padding: 0.9rem 0.2rem;
    font-size: 1rem;
  }

  .nav-principal a[aria-current="page"] {
    color: var(--ouro-texto);
  }
}

/* ---------- hero Home ---------- */

.hero-home {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  min-height: min(88vh, 46rem);
}

.hero-home-texto {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.4rem, 4vw, 4.5rem);
}

.hero-home-texto h1 {
  max-width: 12ch;
}

.hero-home-texto .lead {
  max-width: 44ch;
}

.hero-acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.hero-microcopy {
  margin-top: 1.4rem;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--cinza);
  max-width: 40ch;
  border-left: 2px solid var(--ouro);
  padding-left: 0.9rem;
}

.hero-home-figura {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.hero-home-figura img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 860px) {
  .hero-home {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-home-figura {
    order: -1;
    aspect-ratio: 4 / 3;
  }

  .hero-home-figura img {
    position: static;
  }
}

/* ---------- hero genérico (Sobre / Serviços / Contactos) ---------- */

.hero-pagina {
  padding-block: clamp(3.2rem, 7vw, 5.5rem) clamp(2.4rem, 5vw, 4rem);
}

.hero-pagina h1 {
  max-width: 20ch;
}

.hero-pagina .lead {
  max-width: 56ch;
}

/* Sobre: texto + imagem alta sobreposta */

.hero-sobre {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
}

.hero-sobre-figura {
  margin: 0;
}

.hero-sobre-figura img {
  border-radius: var(--raio);
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

@media (max-width: 860px) {
  .hero-sobre {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* ---------- Home: secção editorial ---------- */

.editorial {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.editorial h2 {
  max-width: 14ch;
}

.editorial > div p:last-child {
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .editorial {
    grid-template-columns: 1fr;
  }
}

/* Home: divisões em lista editorial */

.divisoes {
  border-top: 1px solid var(--hairline);
}

.divisao-item {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 1rem clamp(2rem, 5vw, 5rem);
  padding-block: 2.1rem;
  border-bottom: 1px solid var(--hairline);
}

.divisao-item h3 {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin: 0;
}

.divisao-num {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ouro-texto);
}

.divisao-item p {
  margin: 0;
  color: var(--cinza);
}

@media (max-width: 860px) {
  .divisao-item {
    grid-template-columns: 1fr;
  }
}

/* ---------- composições de imagens ---------- */

.composicao {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.9rem, 2vw, 1.6rem);
  align-items: start;
}

.composicao figure {
  margin: 0;
}

.composicao img {
  border-radius: var(--raio);
  width: 100%;
  object-fit: cover;
}

.composicao figcaption {
  margin-top: 0.7rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--cinza);
}

.composicao figcaption strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ouro-texto);
  margin-bottom: 0.25rem;
}

/* Home: uma ampla + duas verticais empilhadas */

.composicao-projetos .amplo {
  grid-column: 1 / 8;
  grid-row: 1 / 3;
}

.composicao-projetos .amplo img {
  height: 100%;
  min-height: 26rem;
  aspect-ratio: auto;
}

.composicao-projetos .vert-a {
  grid-column: 8 / 13;
}

.composicao-projetos .vert-a img {
  aspect-ratio: 5 / 4;
}

.composicao-projetos .vert-b {
  grid-column: 8 / 13;
}

.composicao-projetos .vert-b img {
  aspect-ratio: 5 / 4;
}

@media (max-width: 860px) {
  .composicao-projetos .amplo,
  .composicao-projetos .vert-a,
  .composicao-projetos .vert-b {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .composicao-projetos .amplo img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

/* Serviços: trio salas */

.composicao-salas .amplo {
  grid-column: 1 / 6;
  grid-row: 1 / 3;
}

.composicao-salas .amplo img {
  height: 100%;
  min-height: 24rem;
  aspect-ratio: auto;
}

.composicao-salas .vert-a {
  grid-column: 6 / 10;
}

.composicao-salas .vert-a img {
  aspect-ratio: 3 / 4;
}

.composicao-salas .vert-b {
  grid-column: 10 / 13;
  padding-top: clamp(1.5rem, 4vw, 4rem);
}

.composicao-salas .vert-b img {
  aspect-ratio: 3 / 4;
}

@media (max-width: 860px) {
  .composicao-salas .amplo,
  .composicao-salas .vert-a,
  .composicao-salas .vert-b {
    grid-column: 1 / -1;
    grid-row: auto;
    padding-top: 0;
  }

  .composicao-salas .amplo img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

/* Serviços: destaque + pormenor */

.par-imagens {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(0.9rem, 2vw, 1.6rem);
  align-items: end;
}

.par-imagens figure {
  margin: 0;
}

.par-imagens img {
  width: 100%;
  border-radius: var(--raio);
  object-fit: cover;
}

.par-imagens .destaque img {
  aspect-ratio: 4 / 5;
}

.par-imagens .pormenor img {
  aspect-ratio: 4 / 3;
}

.par-imagens figcaption {
  margin-top: 0.7rem;
  font-size: 0.86rem;
  color: var(--cinza);
}

@media (max-width: 860px) {
  .par-imagens {
    grid-template-columns: 1fr;
  }
}

/* ---------- secções de serviços ---------- */

.servico {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.servico + .servico {
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

.servico--invertido .servico-texto {
  order: 2;
}

.servico--invertido .servico-visual {
  order: 1;
}

.servico-texto h2 {
  max-width: 16ch;
}

.servico-texto .ligacao-seta {
  margin-top: 0.6rem;
}

@media (max-width: 860px) {
  .servico {
    grid-template-columns: 1fr;
  }

  .servico--invertido .servico-texto {
    order: 1;
  }

  .servico--invertido .servico-visual {
    order: 2;
  }
}

/* bloco só de texto (escritórios) */

.bloco-editorial {
  max-width: 62ch;
}

.bloco-editorial p:last-child {
  margin-bottom: 0;
}

.citacao-material {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.4;
  color: var(--verde);
  border-left: 2px solid var(--ouro);
  padding-left: 1.2rem;
  margin: 2rem 0 0;
}

/* nota de complementos */

.nota {
  background: var(--marfim-puro);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--ouro);
  border-radius: var(--raio);
  padding: 1.2rem 1.4rem;
  font-size: 0.96rem;
  color: var(--cinza);
  margin-top: 1.6rem;
  max-width: 56ch;
}

.nota strong {
  color: var(--preto);
}

/* fichas de material (Sobre) */

.materiais {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.material-lista {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.material-lista li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.42rem 0.95rem;
  font-size: 0.88rem;
  background: var(--marfim-puro);
}

.material-lista li::before {
  content: "";
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: var(--madeira);
}

.material-lista li:nth-child(2)::before {
  background: var(--bege);
  border: 1px solid var(--hairline);
}

.material-lista li:nth-child(3)::before {
  background: var(--preto);
}

.material-lista li:nth-child(4)::before {
  background: var(--ouro);
}

.material-lista li:nth-child(5)::before {
  background: var(--verde);
}

/* morada / base (Sobre) */

.base-info {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.cartao-morada {
  background: var(--marfim-puro);
  border: 1px solid var(--hairline);
  border-radius: var(--raio);
  padding: 1.6rem 1.8rem;
  color: var(--preto);
}

.cartao-morada dt {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ouro-texto);
  margin-top: 1.2rem;
}

.cartao-morada dt:first-child {
  margin-top: 0;
}

.cartao-morada dd {
  margin: 0.3rem 0 0;
  font-weight: 500;
}

@media (max-width: 860px) {
  .materiais,
  .base-info {
    grid-template-columns: 1fr;
  }
}

/* ---------- contactos ---------- */

.canais {
  border-top: 1px solid var(--hairline);
}

.canal {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 6fr);
  gap: 0.4rem 2rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
}

.canal dt {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cinza);
}

.canal dt svg {
  color: var(--ouro);
}

.canal dd {
  margin: 0;
  font-weight: 500;
}

.canal a {
  text-decoration: none;
  border-bottom: 1px solid var(--ouro);
  padding-bottom: 0.1rem;
}

.canal a:hover {
  color: var(--verde);
}

@media (max-width: 860px) {
  .canal {
    grid-template-columns: 1fr;
  }
}

.pedido-panel {
  background: var(--bege);
  border-radius: var(--raio);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

.pedido-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pedido-panel li {
  display: flex;
  gap: 0.8rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid rgba(23, 19, 15, 0.12);
  font-size: 0.98rem;
}

.pedido-panel li:last-child {
  border-bottom: 0;
}

.pedido-panel li::before {
  content: "\2014";
  color: var(--ouro);
  font-weight: 600;
}

.contacto-cta {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.mensagem-sugerida {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--marfim);
  border-left: 2px solid var(--ouro-claro);
  padding-left: 1.1rem;
  margin: 0;
}

@media (max-width: 860px) {
  .contacto-cta {
    grid-template-columns: 1fr;
  }
}

/* FAQ */

.faq {
  max-width: 78ch;
}

.faq details {
  border-bottom: 1px solid var(--hairline);
}

.faq details:first-child {
  border-top: 1px solid var(--hairline);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding-block: 1.25rem;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  font-weight: 500;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.3rem;
  color: var(--ouro);
  flex: none;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  color: var(--cinza);
  padding-bottom: 1.3rem;
  margin: 0;
  max-width: 62ch;
}

/* ---------- rodapé ---------- */

.site-footer {
  background: var(--verde-escuro);
  color: var(--marfim);
  padding-top: clamp(3.2rem, 6vw, 5rem);
}

.rodape-grelha {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.8rem;
}

.rodape-grelha h2 {
  font-size: 1.6rem;
}

.rodape-grelha h3 {
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ouro-claro);
  margin-bottom: 1.1rem;
}

.rodape-grelha p,
.rodape-grelha address {
  font-style: normal;
  font-size: 0.94rem;
  line-height: 1.7;
  color: rgba(247, 243, 234, 0.78);
}

.rodape-grelha ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.rodape-grelha a {
  color: var(--marfim);
  text-decoration: none;
  font-size: 0.94rem;
  border-bottom: 1px solid transparent;
}

.rodape-grelha a:hover {
  border-bottom-color: var(--ouro-claro);
}

.rodape-fim {
  border-top: 1px solid var(--hairline-clara);
  padding-block: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(247, 243, 234, 0.6);
}

@media (max-width: 860px) {
  .rodape-grelha {
    grid-template-columns: 1fr;
  }
}

/* utilitário */

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ligacao-seta::after,
  .faq summary::after,
  .skip-link {
    transition: none;
  }
}

/* ============================================================
   MOVIMENTO E INTERAÇÕES
   ============================================================ */

@keyframes subir {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes aparecer {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes deslizar {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes crescer-linha {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

/* barra de progresso de leitura */

.barra-progresso {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 0;
  height: 3px;
  background: var(--ouro);
  pointer-events: none;
}

/* cabeçalho ao rolar */

.site-header {
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.rolou {
  box-shadow: 0 10px 30px rgba(23, 19, 15, 0.1);
}

/* sublinhado animado da navegação */

.nav-principal a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--ouro);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.nav-principal a:hover::after,
.nav-principal a:focus-visible::after,
.nav-principal a[aria-current="page"]::after {
  transform: scaleX(1);
}

@media (max-width: 860px) {
  .nav-principal a::after {
    bottom: 6px;
  }
}

/* revelação ao scroll */

.js [data-anima] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--atraso, 0s);
  will-change: opacity, transform;
}

.js [data-anima].anima-visivel {
  opacity: 1;
  transform: none;
}

/* atrasos em grupo */

.js .divisoes .divisao-item:nth-child(2) {
  transition-delay: 0.08s;
}

.js .divisoes .divisao-item:nth-child(3) {
  transition-delay: 0.16s;
}

.js .divisoes .divisao-item:nth-child(4) {
  transition-delay: 0.24s;
}

.js .composicao .vert-a {
  transition-delay: 0.12s;
}

.js .composicao .vert-b {
  transition-delay: 0.22s;
}

.js .par-imagens .pormenor {
  transition-delay: 0.14s;
}

.js .faq details:nth-child(2) {
  transition-delay: 0.06s;
}

.js .faq details:nth-child(3) {
  transition-delay: 0.12s;
}

.js .faq details:nth-child(4) {
  transition-delay: 0.18s;
}

.js .faq details:nth-child(5) {
  transition-delay: 0.24s;
}

.js .canais .canal:nth-child(2) {
  transition-delay: 0.06s;
}

.js .canais .canal:nth-child(3) {
  transition-delay: 0.12s;
}

.js .canais .canal:nth-child(4) {
  transition-delay: 0.18s;
}

.js .canais .canal:nth-child(5) {
  transition-delay: 0.24s;
}

/* entrada do hero no carregamento */

.js .hero-home-texto > * {
  animation: subir 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
}

.js .hero-home-texto > *:nth-child(1) {
  animation-delay: 0.05s;
}

.js .hero-home-texto > *:nth-child(2) {
  animation-delay: 0.15s;
}

.js .hero-home-texto > *:nth-child(3) {
  animation-delay: 0.28s;
}

.js .hero-home-texto > *:nth-child(4) {
  animation-delay: 0.4s;
}

.js .hero-home-texto > *:nth-child(5) {
  animation-delay: 0.5s;
}

.js .hero-home-figura {
  animation: aparecer 1s ease backwards 0.1s;
}

.js .hero-pagina .container > *,
.js .hero-sobre > * {
  animation: subir 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
}

.js .hero-pagina .container > *:nth-child(2) {
  animation-delay: 0.1s;
}

.js .hero-pagina .container > *:nth-child(3) {
  animation-delay: 0.2s;
}

.js .hero-sobre > *:nth-child(2) {
  animation-delay: 0.15s;
}

.js .overline::before {
  transform-origin: left;
}

.js .anima-visivel .overline::before,
.js .hero-home-texto .overline::before {
  animation: crescer-linha 0.7s ease 0.3s backwards;
}

/* hovers — imagens erguem com sombra suave */

main figure {
  transition: transform 0.35s ease;
}

main figure:hover {
  transform: translateY(-6px);
}

main figure img {
  transition: filter 0.35s ease, box-shadow 0.35s ease;
}

main figure:hover img {
  filter: brightness(1.05);
  box-shadow: 0 20px 44px rgba(23, 19, 15, 0.16);
}

main .hero-home-figura:hover,
main .hero-sobre-figura:hover {
  transform: none;
}

main .hero-home-figura:hover img,
main .hero-sobre-figura:hover img {
  filter: none;
  box-shadow: none;
}

/* botões */

.btn {
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(23, 19, 15, 0.18);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(23, 19, 15, 0.14);
}

/* cartões e painéis */

.cartao-morada,
.pedido-panel,
.nota {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cartao-morada:hover,
.pedido-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(23, 19, 15, 0.12);
}

/* fichas de material */

.material-lista li {
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.material-lista li:hover {
  border-color: var(--ouro);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(23, 19, 15, 0.1);
}

/* linhas de canal (contactos) */

.canal {
  transition: background 0.25s ease, padding-left 0.25s ease, border-radius 0.25s ease;
}

.canal:hover {
  background: var(--marfim-puro);
  padding-left: 0.9rem;
  border-radius: var(--raio);
}

/* FAQ */

.faq summary {
  transition: color 0.2s ease;
}

.faq summary:hover {
  color: var(--verde);
}

.faq details[open] p {
  animation: deslizar 0.35s ease;
}

.faq details {
  transition: background 0.25s ease;
}

.faq details:hover {
  background: rgba(233, 222, 202, 0.35);
}

/* ligação com seta */

.ligacao-seta {
  transition: color 0.2s ease;
}

/* parallax do hero (aplicado por JS) */

.hero-home-figura img {
  will-change: transform;
}

/* ---------- movimento reduzido ---------- */

@media (prefers-reduced-motion: reduce) {
  .js [data-anima],
  .js .hero-home-texto > *,
  .js .hero-home-figura,
  .js .hero-home-figura img,
  .js .hero-pagina .container > *,
  .js .hero-sobre > *,
  .js .anima-visivel .overline::before,
  .js .hero-home-texto .overline::before,
  .faq details[open] p {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .barra-progresso {
    display: none;
  }

  main figure:hover,
  .cartao-morada:hover,
  .pedido-panel:hover,
  .material-lista li:hover,
  .btn:hover {
    transform: none;
  }
}
