@layer componentes {
/* A foto e o degradê têm um único recorte, inclusive nos cantos. */
.work-link img { position: absolute; inset: 0; }
.work-link::after {
  inset: 0;
  border: 0;
  border-radius: 0;
  background: linear-gradient(to top, rgb(20 16 14 / .86), rgb(20 16 14 / .49) 19%, rgb(20 16 14 / .17) 42%, rgb(20 16 14 / .03) 69%, transparent);
}

#depoimentos {
  background: linear-gradient(112deg,#221f20 0%,#322b27 100%);
  color: #fffaf6;
  padding-block: clamp(3rem,6vw,6.5rem);
}
#depoimentos .review-heading { align-items: center; margin-bottom: 0; }
.review-heading h2, .coverage-film h2, .quote-copy h2 {
  font-weight: 590;
  line-height: 1.06;
  letter-spacing: -.05em;
}
#depoimentos h2 { letter-spacing: -.052em; }
#depoimentos h2 em, .quote-copy h2 em, .coverage-film h2 em {
  color: #ffb16c;
  letter-spacing: -.05em;
}
#depoimentos .review-source {
  margin: .85rem 0 0;
  gap: .4rem .65rem;
  color: #f8f4f1;
  font-size: 1rem;
}
.google-disc {
  display: inline-grid;
  place-items: center;
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 50%;
  background: white;
}
.google-disc img { width: 1.25rem; }
#depoimentos .review-source strong { color: white; letter-spacing: -.05em; }
.review-source strong small { font-size: .7em; }
.rating-stars::before { color: #e99511; }
.review-source .rating-stars { font-size: 1.25rem; color: #817668; }
.review-source .rating-stars::before { color: #ffc661; }
.review-profile { background: #fff8ef; color: #34271d; border: 1px solid #f4d7bd; padding: .8rem 1.2rem; font-weight: 650; }
.review-profile:hover { background: #ffdfbd; }
.review-intro { margin: 1.35rem 0 1.35rem; font-size: 1.0625rem; line-height: 1.55; color: #f5eee9; }
#depoimentos .review-track { padding: 0; --review-gap: 1.1rem; gap: var(--review-gap); grid-auto-columns: calc((100% - 2 * var(--review-gap))/3); }
.review-card {
  color: var(--ink);
  padding: clamp(1.15rem,2vw,1.7rem);
  gap: .55rem;
  min-height: 14.5rem;
  border: 1px solid #e6dbd2;
  border-radius: 1rem;
}
.review-card figcaption { width: 100%; display: grid; grid-template-columns: auto minmax(0,1fr) auto; margin-bottom: .7rem; }
.review-person strong { font-size: 1.0625rem; font-weight: 650; }
.review-origin { color: #605951; }
.review-google { align-self: start; }
.review-card blockquote { letter-spacing: -.023em; }
.review-card blockquote::before, .review-card blockquote::after { content: none; }
.review-preview { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.review-expand { min-height: 44px; align-self: start; padding: .3rem 0; border: 0; background: none; color: #904006; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
#depoimentos .reviews-nav { justify-content: center; margin-top: 1.4rem; }
.review-controls { gap: .85rem; }
.review-status { min-width: 5.2em; text-align: center; font-size: .95rem; color: white; }

.coverage-film {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #f5f1ec;
  border-radius: .85rem 2.6rem .85rem .85rem;
}
.coverage-film video {
  display: block; width: 100%; height: auto; aspect-ratio: 640 / 352; object-fit: cover;
  border-radius: 0; background: #322d28;
}
.coverage-film figcaption {
  display: flex; gap: 1.1rem; align-items: center; justify-content: space-between;
  padding: clamp(1.05rem,2.5vw,2.1rem);
}
.coverage-film h2, .home-process .coverage-film h2 { margin: 0; letter-spacing: -.045em; text-align: left; }
.coverage-film h2 em { color: #a4470d; }
.coverage-film p { margin: .5rem 0 0; max-width: 36ch; color: #59524d; font-size: 1rem; line-height: 1.5; }
.film-control {
  flex: none; display: grid; place-items: center; padding: 0; width: 46px; height: 46px;
  color: #42362b; background: #fffaf4; border: 1px solid #c4b3a1; border-radius: 50%;
}
.film-control:hover { background: #ffeace; border-color: #a65a24; }
.film-control .pause-shape, .film-control.is-playing .play-shape { display: none; }
.film-control.is-playing .pause-shape { display: block; }
.video-section { padding-block: clamp(2.25rem,5vw,4.5rem); }
.video-section .coverage-film { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,.85fr); align-items: stretch; }
.video-section .coverage-film figcaption { flex-direction: column; align-items: start; justify-content: center; padding: clamp(1.3rem,4vw,3.8rem); border-inline-start: 3px solid var(--orange); }
.video-section .coverage-film h2 { font-size: clamp(1.9rem,3.2vw,3.1rem); max-width: 12ch; text-align: left; }
.video-section .coverage-film video { max-height: none; border-radius: 0; }
.project-photo .coverage-film h2 { font-size: 1.5rem; }

.section.contact-strip {
  position: relative;
  color: var(--ink);
  background: #f5eadc;
  border-top: 1px solid #e7d7c6 !important;
  padding: 0;
}
.contact-strip::before {
  top: 0; bottom: 0; right: 0; width: 56%; height: 100%;
  transform: none;
  background: repeating-linear-gradient(116deg, transparent 0 72px, #a0703a20 72px 73px);
  mask-image: linear-gradient(to right,transparent,black 48%);
}
.contact-strip .quote-layout {
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(0,.85fr);
  align-items: end;
  gap: clamp(2rem,6vw,6rem);
  max-width: 66rem;
  text-align: left;
}
.quote-copy { padding-block: clamp(2.5rem,4.9vw,4.6rem); align-self: center; }
.contact-strip .quote-copy h2 {
  max-width: 17ch;
  margin: 0;
  text-align: left;
  letter-spacing: -.052em;
}
.contact-strip .quote-copy h2 em { display: block; color: #a3450c; }
.contact-strip .quote-copy p { color: #51473f; max-width: 43ch; margin: .9rem 0 1.25rem; font-size: 1.0625rem; line-height: 1.55; text-wrap: pretty; }
.contact-strip .quote-copy .btn.wa { width: fit-content; max-width: 100%; }
.quote-portrait {
  align-self: stretch; isolation: isolate; display: grid; align-items: end; justify-items: center; position: relative;
  min-width: 0;
}
.quote-portrait::before {
  content: ""; position: absolute; z-index: -1; bottom: 0; width: 100%; max-width: 23rem; height: 75%;
  border-radius: 65% 40% 0 0; background: #eac19a;
}
.quote-portrait img { width: auto; max-width: 100%; height: clamp(16rem,28vw,23.5rem); object-fit: contain; object-position: bottom; }

.inner-head h1, .page-intro .page-title, .project-notes .page-title {
  letter-spacing: -.047em;
}
.works-intro .page-title { font-size: clamp(2rem, 3.6vw, 3.15rem); }
.inner-head h1 em { font-weight: 400; }
.article h2, .project-notes h2, .info-grid h2 { font-weight: 620; }
.info-grid section { background: #faf7f3; padding: 1.3rem; border-top: 2px solid #ddaa7b; border-radius: 0 0 .75rem .75rem; }
.article > section { padding-block: .25rem; }

@media (max-width: 960px) {
  #depoimentos .review-track { grid-auto-columns: calc((100% - var(--review-gap))/2); }
}
@media (max-width: 760px) {
  [data-home-portfolio] #lista-obras .proj-title {
    letter-spacing: -.028em; text-wrap: pretty;
  }
  [data-home-portfolio] .expand { width: 27px; height: 27px; padding: 5px; bottom: .4rem; right: .4rem; }
  [data-home-portfolio] .proj-open .picture { aspect-ratio: 1.22; }
  #depoimentos .review-heading { flex-direction: column; gap: 1.1rem; text-align: center; }
  #depoimentos .review-source { justify-content: center; }
  #depoimentos .review-source > span:last-child { flex-basis: 100%; }
  .review-intro { text-align: center; max-width: 40ch; margin: 1rem auto 1.3rem; }
  .review-card { min-height: 13.4rem; }
  .video-section .coverage-film { display: block; }
  .video-section .coverage-film figcaption { flex-direction: row; align-items: center; justify-content: space-between; border-inline-start: 0; padding: 1.1rem; }
  .video-section .coverage-film h2 { max-width: none; font-size: 1.5rem; }
  .contact-strip .quote-layout {
    grid-template-columns: minmax(0,1.25fr) minmax(0,.8fr); gap: .6rem .8rem;
    max-width: 34rem; padding-block: 1.8rem 2.25rem; align-items: center;
  }
  .quote-copy { display: contents; }
  .contact-strip .quote-copy h2 { grid-column: 1; grid-row: 1; font-size: clamp(1.7rem,6.3vw,2.8rem); }
  .quote-portrait { grid-column: 2; grid-row: 1; overflow: hidden; border-radius: 0 0 .7rem .7rem; }
  .quote-portrait img { height: clamp(7.5rem,30vw,11.5rem); }
  .contact-strip .quote-copy p { grid-column: 1/-1; margin: .5rem 0; font-size: 1rem; }
  .contact-strip .quote-copy .btn.wa { grid-column: 1/-1; width: 100%; }
}
@media (max-width: 650px) {
  #depoimentos .review-track { grid-auto-columns: 100%; }
}

/* Portfólio da home */
.gallery[data-home-portfolio] {
  color: #fff8f0;
  background: var(--night);
  padding-block: clamp(2rem,4vw,3.6rem);
}
.gallery[data-home-portfolio] > .wrap {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  grid-template-areas: "title nav" "photos photos";
  align-items: center;
  gap: 1.35rem 1.75rem;
}
.gallery .portfolio-title {
  grid-area: title;
  margin: 0;
  letter-spacing: -.05em;
}
.gallery .portfolio-title em {
  color: #ffb16c;
  }
.gallery[data-home-portfolio] #lista-obras {
  --photo-gap: clamp(.95rem,1.7vw,1.5rem);
  grid-area: photos;
  gap: var(--photo-gap);
  padding: .25rem 0;
}
.gallery[data-home-portfolio] #lista-obras .proj-open {
  flex-basis: calc((100% - var(--photo-gap) * 2)/3);
  display: grid;
  grid-template-columns: minmax(0,1fr);
  grid-template-rows: auto auto 1fr;
  align-content: start;
  color: #fffbf6;
}
.gallery[data-home-portfolio] .proj-open .picture {
  aspect-ratio: 1.59;
  border-radius: .65rem 1.85rem .65rem .65rem;
  grid-row: 1;
}
.gallery[data-home-portfolio] .proj-type {
  grid-row: 2;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: .8rem 0 .2rem;
  color: #edbe96;
  }
.gallery[data-home-portfolio] .proj-type::before { content: ""; width: 1.05rem; height: 2px; background: var(--orange); }
.gallery[data-home-portfolio] #lista-obras .proj-title {
  grid-row: 3;
  align-self: start;
  letter-spacing: -.03em;
  margin: 0;
  text-wrap: pretty;
}
.gallery[data-home-portfolio] .project-actions {
  grid-area: nav;
  flex-direction: row;
  align-items: center;
  justify-content: end;
  gap: 1.25rem;
  margin: 0;
}
.gallery[data-home-portfolio] .textlink { text-decoration-color: #f8a55a; }
.gallery[data-home-portfolio] .carousel-nav { gap: .4rem; }
.gallery[data-home-portfolio] .carousel-nav button {
  background: #37302e; color: #fff5ec; border-color: #857569;
}
.gallery[data-home-portfolio] .carousel-nav button:disabled { opacity: .5; }
.gallery[data-home-portfolio] .proj-open:focus-visible { outline-offset: -3px; outline-color: #ffb16c; }
@media (hover: hover) {
  .gallery[data-home-portfolio] .carousel-nav button:hover:enabled { color: #231f20; background: #ffb16c; border-color: #ffb16c; }
  .gallery[data-home-portfolio] .proj-open:hover .proj-title { text-decoration: underline; text-underline-offset: .18em; }
}
@media (max-width: 760px) {
  .gallery[data-home-portfolio] > .wrap {
    grid-template-columns: minmax(0,1fr);
    grid-template-areas: "title" "photos" "nav";
    row-gap: 1.05rem;
  }
  .gallery .portfolio-title { font-size: clamp(1.8rem,6.5vw,2.3rem); }
  .gallery[data-home-portfolio] #lista-obras { --photo-gap: .65rem; }
  .gallery[data-home-portfolio] #lista-obras .proj-open { flex: 0 0 100%; scroll-snap-stop: always; }
  .gallery[data-home-portfolio] .proj-open .picture { aspect-ratio: 1.18; border-top-right-radius: 1.2rem; }
  .gallery[data-home-portfolio] .proj-type { margin-top: .55rem; gap: .35rem; }
  .gallery[data-home-portfolio] .proj-type::before { width: .65rem; }
  .gallery[data-home-portfolio] #lista-obras .proj-title { font-size: clamp(1rem,3.9vw,1.2rem); }
  .gallery[data-home-portfolio] .project-actions {
    justify-content: space-between;
    gap: .45rem;
    border-top: 1px solid #504741;
    padding-top: .7rem;
  }
}

/* Escala comum às seções de conteúdo e às páginas internas. */
.section-head h2, .home-process-copy > h2, .local-base h2,
.process h2, .about-mini h2, .faq h2, .inner-cta h2 {
  font-weight: 605;
  line-height: 1.13;
  letter-spacing: -.043em;
}
.section-head h2 em, .home-process-copy > h2 em, .process h2 em, .works-intro .page-title em {
  color: var(--accent-ink);
}
.service-grid .card h3, .blog-card h3, .steps h3, .gallery:not([data-home-portfolio]) .proj-title,
.dialog-info h2 {
  font-weight: 615;
  letter-spacing: -.027em;
  line-height: 1.24;
}
.blog-grid .blog-card > small, .project-notes > .label, .inner-head .label,
.page-intro:not(.works-intro) > .label {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  color: #97420b;
  letter-spacing: .025em;
  text-transform: none;
}
.blog-grid .blog-card > small::before, .project-notes > .label::before,
.inner-head .label::before, .page-intro:not(.works-intro) > .label::before {
  content: ""; width: 1rem; height: 2px; background: var(--orange);
}
.article-intro { max-width: 760px; }
.page-intro:not(.works-intro) .page-title { max-width: 26ch; }
.article > section + section { border-top: 1px solid #e6ddd6; margin-top: 1.35rem; }
.article .actions { row-gap: .65rem; }
.faq details { border-color: #e1d7cc; }
.faq details summary { color: var(--ink); line-height: 1.4; }
.faq details summary::after { color: var(--accent-ink); }
.project-photo > picture > img { background: #f5f1eb; }
.inner-cta .wrap h2 { font-size: clamp(1.65rem,3vw,2.7rem); }
.gallery:not(.works-catalog):not([data-home-portfolio]) { padding-block: clamp(2.3rem,4.6vw,4.6rem); }
.gallery:not(.works-catalog):not([data-home-portfolio]) .section-head { margin-bottom: clamp(1rem,2vw,1.75rem); }
@media (min-width: 761px) {
  .gallery:not(.works-catalog):has(.proj-open:only-child) > .wrap {
    display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(1.5rem,5vw,5rem); align-items: center;
  }
  .gallery:not(.works-catalog):has(.proj-open:only-child) #lista-obras .proj-open { flex-basis: 100%; }
  .gallery:not(.works-catalog):has(.proj-open:only-child) .section-head { margin: 0; }
}

/* As faixas usam a inclinação da marca e mantêm as fotos acima da estampa. */
.title-band {
  --band-paper: #fff8f0;
  --band-accent: #ffac64;
  --band-copy: #e5dcd5;
  --rib-space: clamp(4.75rem, 7vw, 7.5rem);
  position: relative;
  isolation: isolate;
  color: var(--band-paper);
  background: linear-gradient(104deg, #231f20 12%, #292423 62%, #382d27);
}
.title-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  width: auto;
  height: auto;
  transform: none;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 64%, #f69b4d0b 64%, #f69b4d04 75%, transparent 75%),
    repeating-linear-gradient(115deg,
      transparent 0 calc(var(--rib-space) - 11px),
      #ffbd8236 calc(var(--rib-space) - 11px) calc(var(--rib-space) - 9.5px),
      transparent calc(var(--rib-space) - 9.5px) calc(var(--rib-space) - 1px),
      #ffdcba1a calc(var(--rib-space) - 1px) var(--rib-space));
  mask-image: linear-gradient(100deg, transparent 8%, #0003 37%, #000d 70%, #000 94%);
}
.title-band .bread { color: #d8cfc9; }
.title-band .bread [aria-hidden] { color: var(--band-accent); }
.title-band .bread [aria-current] { color: #f7e9dc; }
.title-band .page-intro, .title-band .project-page { background: none; }
.title-band .page-intro { padding-block: clamp(1.2rem, 2.8vw, 2.65rem) clamp(2rem, 3.8vw, 3.65rem); }
.title-band .inner-head, .title-band .project-page {
  padding-block: clamp(.9rem, 2.25vw, 2.1rem) clamp(2.1rem, 4.2vw, 4rem);
}
.title-band :is(.inner-head, .page-intro, .project-notes) h1 { color: var(--band-paper); }
.title-band :is(.inner-head, .page-intro, .project-notes) h1 em,
.title-band :is(.inner-head, .page-intro, .project-notes) > .label,
.title-band .inner-head .label { color: var(--band-accent); }
.title-band :is(.inner-head, .page-intro, .project-notes) p { color: var(--band-copy); }
.title-band .textlink { color: var(--band-paper); text-decoration-color: var(--band-accent); }
.title-band .btn.dark { background: #fff4e7; color: #2b231e; border-color: #fff4e7; }
.title-band .work-pager a { background: #352e2b; color: var(--band-paper); border-color: #84766d; }
.title-band .coverage-film { color: var(--ink); }
.title-band .page-intro:has(+ .actions) { padding-bottom: 0; }
.title-band .page-intro + .actions { padding-bottom: 2.5rem; margin-top: 1.2rem; }
.title-band .article-intro { padding-bottom: 0; }
.band-follow { padding-top: clamp(1.7rem, 3vw, 3rem); }
.band-follow > :is(.article, .info-grid):first-child { margin-top: 0; }
@media (hover: hover) {
  .title-band :is(.bread a, .textlink):hover { color: #ffc38c; }
  .title-band :is(.btn.dark, .work-pager a):hover { color: #281f1b; background: #ffbc7d; border-color: #ffbc7d; }
}
@media (max-width: 760px) {
  .title-band { --rib-space: 3.9rem; }
  .title-band::before {
    mask-image: linear-gradient(105deg, transparent, #0003 34%, #000a 76%, #000 100%);
  }
  .title-band .page-intro { padding-block: .7rem 1.8rem; }
}
/* A foto determina a altura do detalhe. A ampliação preserva a imagem inteira. */
.title-band .project-page {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  grid-template-areas: "foto titulo" "foto resumo";
  grid-template-rows: auto auto;
  gap: 0 clamp(2rem, 5vw, 5rem);
}
.project-heading { grid-area: titulo; align-self: end; }
.project-heading .label { color: var(--band-accent); }
.project-heading h1 { color: var(--band-paper); margin: .55rem 0 0; }
.project-visual { grid-area: foto; }
.project-notes { grid-area: resumo; align-self: start; }
.project-notes > p { margin: .85rem 0 0; max-width: 42ch; }
.project-notes .actions { margin-top: 1.35rem; }
.project-links { display: flex; flex-wrap: wrap; gap: .3rem 1.35rem; margin-top: .8rem; }
.project-links a { min-height: 44px; }
.project-photo > picture > img { display: block; width: 100%; height: auto; max-height: none; background: transparent; }
.project-photo .zoom {
  inset: auto auto .75rem .75rem;
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: 44px; padding: .52rem .8rem; border-radius: .65rem;
  background: #231f20e8; border-color: #ffffff87;
}
.project-photo .zoom svg { position: static; width: 17px; height: 17px; padding: 0; border: 0; background: transparent; }
.project-visual .work-pager { justify-content: flex-start; margin-top: .65rem; }

.work-dialog {
  margin: auto; width: min(48rem, calc(100% - 2rem)); max-width: none;
  max-height: calc(100dvh - 2rem); border-radius: 1rem; background: #fff;
  box-shadow: 0 1.25rem 4rem #17131355;
}
.work-dialog::backdrop { background: #191617d9; }
.work-dialog .dialog-media { background: var(--ink); }
.work-dialog .dialog-media img {
  display: block; width: 100%; height: auto; max-height: 53dvh; object-fit: contain;
}
.work-dialog .close {
  width: 44px; height: 44px; display: grid; place-items: center; color: white;
  background: #231f20e8; border: 1px solid #ffffff87;
}
.work-dialog .dialog-info { padding: 1rem clamp(1rem, 3vw, 1.6rem) 1.35rem; }
.dialog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: .55rem; }
.dialog-toolbar .label { color: var(--accent-ink); }
.dialog-toolbar .photo-nav { margin: 0; gap: .45rem; }
.work-dialog .dialog-info h2 { margin: 0; max-width: 36ch; }
.work-dialog .dialog-info p { margin: .45rem 0 0; font-size: 1rem; line-height: 1.5; }
.work-dialog .actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.3rem; margin-top: 1rem; }
.work-dialog .textlink { min-height: 44px; }
.work-dialog :is(button, a):focus-visible,
.project-photo .zoom:focus-visible { outline: 3px solid #e66e0b; outline-offset: 2px; }

@media (max-width: 760px) {
  .title-band .project-page {
    grid-template-columns: minmax(0, 1fr); grid-template-areas: "titulo" "foto" "resumo"; gap: 1rem;
  }
  .project-heading h1 { margin-top: .3rem; }
  .project-notes > p, .project-visual .work-pager { margin-top: 0; }
  .project-visual { display: grid; gap: .55rem; }
  .project-visual .work-pager { justify-content: end; }
  .project-notes .actions { margin-top: .85rem; }
  .work-dialog { width: min(32rem, calc(100% - 1.25rem)); max-height: calc(100dvh - 1.25rem); }
  .work-dialog .actions { gap: .25rem; }
  .work-dialog .dialog-info .btn { width: 100%; }
  .work-dialog .details-link { margin-inline: auto; }
  .work-dialog .dialog-media img { max-height: 45dvh; }
  .gallery[data-home-portfolio] #lista-obras .proj-open {
    padding-bottom: .7rem; background: #302a28; border-radius: .7rem;
    box-shadow: inset 0 0 0 1px #ffffff19; overflow: hidden;
  }
  .gallery[data-home-portfolio] .proj-open .picture { border-radius: 0; aspect-ratio: 1.25; }
  .gallery[data-home-portfolio] .proj-open .expand { right: .4rem; bottom: .4rem; background: #231f20c7; }
  .gallery[data-home-portfolio] #lista-obras :is(.proj-type, .proj-title) { margin-inline: .65rem; }
  .gallery[data-home-portfolio] .proj-type { margin-top: .6rem; }
  .gallery[data-home-portfolio] .proj-type::before { display: none; }
  .gallery[data-home-portfolio] .project-actions .textlink { min-height: 44px; }
}
@media (max-height: 460px) and (orientation: landscape) {
  .work-dialog[open] { width: min(60rem, calc(100% - 1rem)); display: grid; grid-template-columns: 1fr 1fr; }
  .work-dialog .dialog-media { align-self: stretch; display: grid; align-items: center; }
  .work-dialog .dialog-media img { max-height: calc(100dvh - 1.25rem); }
}
}
