
/* A direção visual usa o vermelho das fitas e o dourado da marca. */
@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@500;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap");
:root {
  --titulo: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --papel: #fff8e9;
  --tinta: #202a17;
  --vinho: #a31326;
}
body { font-family: "DM Sans", "Segoe UI", sans-serif; }
header { background: #103000; border-color: #ffffff24; }
.capa {
  grid-template-columns: 1fr 1fr;
  text-align: left;
  color: #fff4e4;
  padding: clamp(36px, 6vw, 94px) max(6vw, calc((100% - 1120px) / 2));
  gap: clamp(22px, 5vw, 75px);
  min-height: 610px;
  background: url(assets/guirlanda-esquerda.png) left top / clamp(145px, 24vw, 380px) auto no-repeat, radial-gradient(ellipse at 30% 10%, #305000, transparent 65%), #103000;
  border: 0;
}
.capa-texto { justify-self: start; }
.capa h1 { font: 800 clamp(3.7rem, 7.5vw, 8rem)/.86 var(--titulo); letter-spacing: -.085em; }
.capa h1 span { color: #f0d050; }
.capa p { margin: 0 0 20px; }
.capa p.local { color: #f0d050; }
.capa p.chamada { max-width: 32ch; margin: 25px 0; font: 400 1.1rem/1.45 "DM Sans", "Segoe UI", sans-serif; letter-spacing: 0; text-transform: none; }
.capa-arte { display: grid; place-items: center; width: 100%; min-height: 370px; border-radius: 48% 48% 20px 20px; border: 1px solid #f0d05080; background: linear-gradient(#08251920,#08251980), url(assets/capa.jpg) center / cover; box-shadow: 0 25px 70px #10240080; }
.capa-arte img { width: min(63%, 300px); }
.shimmer { position: relative; isolation: isolate; overflow: hidden; padding: 2px; border-radius: 999px; background: #f0d050; color: #203000; }
.shimmer span { position: relative; display: block; padding: 10px 18px; border-radius: inherit; background: #f0d050; }
.shimmer b { margin-left: 12px; }
.shimmer::before { content: ""; position: absolute; inset: -200%; background: conic-gradient(transparent 75%, #fff7c2, #d0a030, transparent); }
#projeto { color: #203000; }
.intro { border: 0; background: url(assets/ornamento-dourado.png) left center / auto 100% no-repeat; }
.bloco h2 { font-weight: 800; }
.catalogo { background: #f5eed8; }
.catalogo-cabecalho { color: #204000; }
.filtros:not([hidden]) { display: flex; position: relative; isolation: isolate; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; width: fit-content; padding: 5px; border-radius: 18px; background: #fff8ee; }
.filtros button { position: relative; padding: 8px 14px; border: 0; border-radius: 13px; background: transparent; color: #304719; font: 700 .83rem "DM Sans", "Segoe UI", sans-serif; cursor: pointer; }
.filtros button[aria-pressed="true"] { color: white; }
.filtros button:focus-visible { outline: 2px solid #a31326; }
.filtro-selecao { position: absolute; z-index: -1; top: 0; left: 0; background: #9b1526; border-radius: 13px; pointer-events: none; }
article { border: 0; border-radius: 20px; box-shadow: 0 10px 28px #20300022; padding: 26px; }
article[hidden] { display: none; }
article span { display: inline-block; border-radius: 999px; background: #f8dfd9; color: #8a1423; padding: 4px 10px; }
article:nth-child(2) span { background: #d9eee4; color: #144f3c; }
article:nth-child(3) span { background: #f9e5ae; color: #6c4200; }
article h3 { font-weight: 800; letter-spacing: -.055em; }
footer { background: url(assets/guirlanda-direita.png) right top / clamp(90px, 15vw, 220px) auto no-repeat, #103000; border-color: #d0a030; }
.topo { border-radius: 999px; }
@keyframes girar { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: no-preference) {
  .shimmer::before { animation: girar 3s linear 3; }
  .filtro-selecao { transition: transform .22s ease, width .22s ease; }
  .capa-arte { animation: aparecer .9s .15s both; }
}
@media (max-width: 720px) {
  .capa { grid-template-columns: 1fr; min-height: auto; padding-top: 80px; }
  .capa-arte { min-height: 220px; border-radius: 26px; }
  .capa-arte img { width: min(44%, 190px); }
}


header .nome {
  display: inline-flex;
  align-items: center;
  padding-block: 6px;
}
.marca-cabecalho {
  display: block;
  width: clamp(66px, 9vw, 96px);
  height: clamp(44px, 6vw, 56px);
  object-fit: contain;
  object-position: left center;
}

header nav {
  gap: clamp(6px, 1.3vw, 16px);
}
header nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 7px clamp(10px, 2vw, 22px);
  border: 1px solid #e5b84d88;
  border-radius: 999px;
  color: #fff1c6;
  font: 700 clamp(.85rem, 1.1vw, 1rem)/1.15 var(--titulo);
  white-space: nowrap;
}
header nav a:hover {
  background: #f0d05022;
  border-color: #f0d050;
  text-decoration: none;
}
header nav a[href="#artesaos"] {
  background: #f0d050;
  border-color: #f0d050;
  color: #203000;
}
header nav a[href="#artesaos"]:hover {
  background: #ffe78b;
  border-color: #ffe78b;
}
@media (prefers-reduced-motion: no-preference) {
  header nav a { transition: background-color 180ms ease, border-color 180ms ease; }
}

.capa {
  background: linear-gradient(90deg, #071c10db 0%, #071c1080 49%, #071c1026 100%),
    url(assets/hero-natal.jpg) center top / cover no-repeat;
}
.capa-arte {
  background: #0b241b55;
}
@media (max-width: 720px) {
  .capa {
    background-position: center, center top;
    background-image: linear-gradient(#08231399, #082313ce), url(assets/hero-natal.jpg);
  }
}

.capa {
  grid-template-columns: minmax(0, 1fr);
}

.rodape-institucional .rodape {
  display: grid;
  grid-template-columns: 1.25fr 1fr .8fr;
  align-items: start;
  gap: clamp(20px, 4vw, 54px);
  padding-block: 54px 38px;
}
.rodape-institucional h2 { margin: .4rem 0; font: 750 clamp(1.35rem, 2.4vw, 1.85rem)/1.1 var(--titulo); }
.rodape-institucional h3 { margin: 0 0 .55rem; font: 700 1rem var(--titulo); }
.rodape-institucional p, .rodape-institucional address, .rodape-institucional nav a { font-size: .9rem; }
.rodape-institucional p { margin: 0; }
.rodape-institucional address { font-style: normal; line-height: 1.85; }
.rodape-institucional .rotulo-rodape { color: #f0d050; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; }
.rodape-institucional nav { display: grid; gap: .35rem; justify-items: start; }
.rodape-institucional a { text-decoration: underline; text-decoration-color: #f0d05086; overflow-wrap: anywhere; }
.rodape-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .65rem 1rem; padding: 16px max(6vw, calc((100% - 1120px) / 2)); border-top: 1px solid #f0d05045; font-size: .8rem; }
@media (max-width: 760px) {
  .rodape-institucional .rodape { grid-template-columns: 1fr; padding-block: 34px; }
}

.rodape-institucional {
  position: relative;
  isolation: isolate;
  background: #103000;
}
.rodape-institucional::before,
.rodape-institucional::after {
  content: "";
  position: absolute;
  right: 0;
  z-index: -1;
  pointer-events: none;
  width: clamp(72px, 13vw, 190px);
  height: 48%;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .38;
}
.rodape-institucional::before {
  top: 0;
  background-image: url(assets/guirlanda-direita.png);
  background-position: right top;
}
.rodape-institucional::after {
  bottom: 0;
  background-image: url(assets/guirlanda-esquerda.png);
  background-position: right bottom;
}

.rodape-institucional { border-top: 2px solid #d0a030; color: #fff4db; }
.rodape-institucional::before,
.rodape-institucional::after {
  top: 0;
  bottom: auto;
  width: min(17vw, 240px);
  height: 130px;
  opacity: 1;
}
.rodape-institucional::before { left: 0; right: auto; background-position: left top; }
.rodape-institucional::after { left: auto; right: 0; background-position: right top; }
.rodape-institucional .rodape {
  grid-template-columns: 1.25fr 1fr .8fr;
  gap: clamp(24px, 4vw, 64px);
  padding-inline: 0;
  margin-inline: auto;
  width: min(1120px, 78%);
  padding-block: 58px 42px;
}
.rodape-institucional h2 {
  margin: .55rem 0 .75rem;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -.035em;
}
.rodape-institucional h3 { margin-bottom: .85rem; font-size: 1.05rem; font-weight: 700; }
.rodape-institucional p, .rodape-institucional address, .rodape-institucional nav a { color: #ebdfc1; font-size: .92rem; line-height: 1.65; }
.rodape-institucional .rotulo-rodape { color: #f0d050; font-size: .73rem; letter-spacing: .16em; }
.rodape-institucional nav { gap: .55rem; }
.rodape-institucional a:hover { color: #fff8e9; text-decoration-color: #f0d050; }
.rodape-base { border-top-color: #f0d05038; padding-block: 19px; color: #ebdfc1; }
@media (max-width: 900px) {
  .rodape-institucional .rodape { width: 88%; padding-top: 74px; }
}
@media (max-width: 760px) {
  .rodape-institucional .rodape { grid-template-columns: 1fr; padding-block: 64px 32px; gap: 24px; }
  .rodape-institucional::before, .rodape-institucional::after { width: min(27vw, 125px); height: 62px; }
}

@media (prefers-reduced-motion: no-preference) {
  .capa { position: relative; isolation: isolate; }
  .capa::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse at 76% 40%, #ffcb592d, transparent 58%);
    animation: brilho-natal 6s ease-in-out 3 alternate both;
  }
  .capa-texto > * { animation: aparecer .72s ease-out both; }
  .capa-texto h1 { animation-delay: 100ms; }
  .capa-texto .chamada { animation-delay: 200ms; }
  .capa-texto .botao { animation-delay: 300ms; }
  .entrada-visivel { animation: aparecer .55s ease-out both; }
  .fichas article:not([hidden]) { transition: transform .25s ease, box-shadow .25s ease; }
  .fichas article:focus-within { transform: translateY(-3px); box-shadow: 0 12px 25px #20300032; }
  .fichas details[open] > ul { animation: aparecer .32s ease-out both; }
}
@keyframes brilho-natal {
  from { opacity: .1; }
  to { opacity: 1; }
}
article img.foto-produto { display: block; aspect-ratio: auto; max-height: 280px; object-fit: contain; border-radius: 8px; margin-top: .75rem; }

.fichas { grid-template-columns: 1fr; gap: 24px; }
.fichas > article { padding: clamp(18px, 4vw, 36px); }
.dados-artesao {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 12px 24px;
  margin-block: 20px;
}
.dados-artesao dt { color: #315520; font-weight: 700; font-size: .8rem; }
.dados-artesao dd { margin: 0; white-space: pre-line; }
.pecas-artesao {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(185px, 100%), 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
}
.pecas-artesao li { padding: 12px; border: 1px solid #ddcca8; border-radius: 12px; background: #fffaf0; }
.fichas .pecas-artesao .foto-produto { aspect-ratio: 4 / 3; object-fit: contain; background: #f0e4ce; margin: 0; }

#projeto {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 76px);
}
.projeto-rotulo {
  margin: 0 0 14px;
  color: #8a1423;
  font-size: .79rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
#projeto h2 { font-size: clamp(2.55rem, 5.2vw, 4.75rem); }
.projeto-conteudo { display: grid; gap: 16px; }
.projeto-conteudo p { margin: 0; }
.projeto-abertura { font-size: clamp(1.1rem, 2.1vw, 1.4rem); font-weight: 600; line-height: 1.45; }
.projeto-creditos { padding: 14px 0 0; border-top: 1px solid #d6bf85; font-size: .9rem; }
.projeto-link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  color: #203000;
  font-weight: 750;
  text-decoration-color: #b68432;
}
.projeto-link:hover { color: #8a1423; }
@media (max-width: 720px) {
  #projeto { grid-template-columns: 1fr; }
}

.dados-artesao a { color: #315520; text-decoration-thickness: 1px; }
.filtros button, .fichas summary { min-height: 44px; }
.fichas summary { padding-block: 10px; }
.filtros button:focus-visible, .fichas summary:focus-visible, .dados-artesao a:focus-visible {
  outline: 2px solid #8a1423;
  outline-offset: 3px;
}
