/*
 * Art Cleaner / anti-template art direction
 *
 * This layer is intentionally quiet: real photographs, typography, rules and
 * rhythm carry the page. It removes the catalogue/card anatomy from the lower
 * home without changing the site's interaction or content model.
 */

.art-home {
  --art-paper: #f7f7f5;
  --art-stone: #eeece6;
  --art-ink: #171717;
  --art-muted: #5f625f;
  --art-line: #d7d8d3;
  --art-orange: #f05a24;
}

/* The proof tabs remain tabs for keyboard and screen-reader users, but read
   like an editorial index instead of a row of product controls. */
.art-home #comparador .comparison-cases-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 72px);
  margin: clamp(44px, 7vw, 96px) 0 34px;
  padding: 0;
  overflow: visible;
  border-top: 1px solid var(--art-line);
}

.art-home #comparador .case-tab-btn {
  min-height: 70px;
  padding: 17px 0 13px;
  border: 0;
  border-top: 2px solid transparent;
  border-bottom: 0;
  border-radius: 0;
  background: transparent;
  color: var(--art-muted);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.25;
  text-align: left;
  white-space: normal;
  transition: color .25s ease, border-color .25s ease;
}

.art-home #comparador .case-tab-btn:hover,
.art-home #comparador .case-tab-btn.active {
  border-top-color: var(--art-orange);
  background: transparent;
  color: var(--art-ink);
  box-shadow: none;
}

.art-home #comparador .case-num {
  display: block;
  margin: 0 0 10px;
  color: var(--art-orange);
  font-size: .66rem;
  letter-spacing: .12em;
  line-height: 1;
}

.art-home #comparador .comparison-wrapper {
  border: 1px solid var(--art-line);
  border-radius: 0;
  box-shadow: none;
}

.art-home #comparador > .container > div:last-child {
  margin-top: clamp(42px, 6vw, 76px) !important;
  text-align: left !important;
}

.art-home #comparador > .container > div:last-child .btn-outline {
  border: 0;
  border-bottom: 1px solid var(--art-ink);
  border-radius: 0;
  padding: 12px 0 9px;
  color: var(--art-ink);
  background: transparent;
  box-shadow: none;
}

/* Services are a ledger of real offerings, not a wall of feature cards. */
.art-home #servicos {
  padding: clamp(112px, 14vw, 220px) 0 clamp(118px, 14vw, 210px);
  background: var(--art-stone);
  border-top: 1px solid var(--art-line);
  border-bottom: 1px solid var(--art-line);
}

.art-home #servicos .home-service-layout {
  display: grid;
  grid-template-columns: minmax(230px, .72fr) minmax(480px, 1.28fr);
  gap: clamp(58px, 10vw, 170px);
  align-items: start;
}

.art-home #servicos .home-service-intro {
  position: relative;
  padding-top: 5px;
}

.art-home #servicos .home-service-intro h2 {
  max-width: 7ch;
  color: var(--art-ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3.3rem, 6.3vw, 7.2rem);
  font-weight: 400;
  line-height: .84;
  letter-spacing: -.065em;
}

.art-home #servicos .home-service-intro p {
  max-width: 28ch;
  margin-top: 28px;
  color: var(--art-muted);
  font: 400 clamp(1rem, 1.35vw, 1.22rem)/1.42 Georgia, 'Times New Roman', serif;
}

.art-home #servicos .home-service-list {
  counter-reset: service;
}

.art-home #servicos .home-service-list a {
  display: grid;
  grid-template-columns: 3.1rem minmax(0, 1fr) 1.4rem;
  column-gap: 18px;
  align-items: start;
  min-height: 140px;
  margin: 0;
  padding: 24px 0 26px;
  border: 0;
  border-top: 1px solid var(--art-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  transition: color .25s ease, padding-left .35s ease;
}

.art-home #servicos .home-service-list a:last-child {
  border-bottom: 1px solid var(--art-line);
}

.art-home #servicos .home-service-list a::before {
  counter-increment: service;
  content: counter(service, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1 / span 2;
  padding-top: 3px;
  color: var(--art-orange);
  font: 700 .68rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .1em;
}

.art-home #servicos .home-service-list h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  color: var(--art-ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.6rem, 2.7vw, 3.15rem);
  font-weight: 400;
  line-height: .97;
  letter-spacing: -.045em;
  transition: color .25s ease;
}

.art-home #servicos .home-service-list p {
  grid-column: 2;
  grid-row: 2;
  max-width: 38ch;
  margin: 12px 0 0;
  color: var(--art-muted);
  font-size: .92rem;
  line-height: 1.45;
}

.art-home #servicos .home-service-list span {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: start;
  position: static;
  padding-top: 1px;
  color: var(--art-ink);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform .35s ease, color .25s ease;
}

.art-home #servicos .home-service-list a:nth-child(2) { padding-left: clamp(0px, 2.4vw, 36px); }
.art-home #servicos .home-service-list a:nth-child(3) { padding-left: clamp(0px, 4.8vw, 72px); }
.art-home #servicos .home-service-list a:nth-child(4) { padding-left: clamp(0px, 1.4vw, 22px); }

.art-home #servicos .home-service-list a:hover {
  background: transparent;
  box-shadow: none;
  transform: none;
}

.art-home #servicos .home-service-list a:hover h3,
.art-home #servicos .home-service-list a:hover span {
  color: var(--art-orange);
}

.art-home #servicos .home-service-list a:hover span {
  transform: translate(5px, -4px);
}

/* Process becomes a quiet photographic ledger with one tall, intentional crop. */
.art-home #processo {
  padding: clamp(112px, 14vw, 210px) 0;
  background: var(--art-paper);
  border-bottom: 1px solid var(--art-line);
}

.art-home #processo .home-process-layout {
  grid-template-columns: minmax(300px, .84fr) minmax(360px, 1.16fr);
  gap: clamp(56px, 10vw, 160px);
  align-items: start;
}

.art-home #processo .home-process-layout figure {
  position: relative;
  top: auto;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.art-home #processo .home-process-layout img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5 !important;
  border-radius: 0 !important;
  object-fit: cover;
  object-position: 64% 22%;
  transition: transform .7s cubic-bezier(.16, 1, .3, 1);
}

.art-home #processo .home-process-layout figure:hover {
  transform: none;
  box-shadow: none;
}

.art-home #processo .home-process-layout figure:hover img {
  transform: scale(1.018);
}

.art-home #processo .home-process-layout > div {
  padding-top: 4px;
}

.art-home #processo .home-process-layout h2 {
  max-width: 8ch;
  color: var(--art-ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3.2rem, 5.8vw, 6.6rem);
  font-weight: 400;
  line-height: .86;
  letter-spacing: -.065em;
}

.art-home #processo .home-process-list {
  list-style: none;
  padding: 0;
  margin: clamp(48px, 7vw, 92px) 0 0;
  counter-reset: process;
}

.art-home #processo .home-process-list li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  column-gap: 18px;
  margin: 0;
  padding: 25px 0 28px;
  border-top: 1px solid var(--art-line);
  transform: none;
  transition: color .25s ease;
}

.art-home #processo .home-process-list li:last-child { border-bottom: 1px solid var(--art-line); }

.art-home #processo .home-process-list li::before {
  counter-increment: process;
  content: counter(process, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1 / span 2;
  padding-top: 4px;
  color: var(--art-orange);
  font: 700 .68rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .1em;
}

.art-home #processo .home-process-list li:nth-child(2) { padding-left: clamp(0px, 3vw, 48px); }
.art-home #processo .home-process-list li:nth-child(3) { padding-left: clamp(0px, 6vw, 96px); }

.art-home #processo .home-process-list h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  color: var(--art-ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.45rem, 2vw, 2.2rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.035em;
}

.art-home #processo .home-process-list p {
  grid-column: 2;
  grid-row: 2;
  max-width: 38ch;
  margin-top: 10px;
  color: var(--art-muted);
  line-height: 1.5;
}

/* Field archive: three photographs with a deliberate 7/3/2 composition. */
.art-home #provas-reais .proof-archive-header {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.art-home #provas-reais .proof-archive-index { grid-column: 1 / span 2; align-self: end; }
.art-home #provas-reais .proof-archive-header h2 { grid-column: 3 / span 6; max-width: 8ch; }
.art-home #provas-reais .proof-archive-header > p:last-child { grid-column: 10 / -1; }

.art-home #provas-reais .proof-archive-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto;
  gap: clamp(14px, 2vw, 28px);
  align-items: end;
}

.art-home #provas-reais .proof-archive-figure--wide { grid-column: 1 / span 7; grid-row: auto; }
.art-home #provas-reais .proof-archive-figure--portrait { grid-column: 8 / span 3; grid-row: auto; }
.art-home #provas-reais .proof-archive-figure--detail { grid-column: 11 / -1; grid-row: auto; margin-bottom: clamp(36px, 7vw, 110px); }

.art-home #provas-reais .proof-archive-figure img,
.art-home #provas-reais .proof-archive-figure--wide img,
.art-home #provas-reais .proof-archive-figure--portrait img,
.art-home #provas-reais .proof-archive-figure--detail img {
  aspect-ratio: auto;
  border-radius: 0;
}

.art-home #provas-reais .proof-archive-figure--wide img { aspect-ratio: 1.18 / 1; }
.art-home #provas-reais .proof-archive-figure--portrait img { aspect-ratio: 3 / 4; }
.art-home #provas-reais .proof-archive-figure--detail img { aspect-ratio: 4 / 5; }

/* One form is useful; a floating generic card around it is not. */
.art-home #orcamento {
  padding: clamp(112px, 14vw, 210px) 0;
  background: var(--art-paper);
  border-bottom: 1px solid var(--art-line);
}

.art-home #orcamento .container-narrow { max-width: 1120px; }

.art-home #orcamento .card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.art-home #orcamento .section-header {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(260px, .7fr);
  gap: clamp(30px, 8vw, 120px);
  align-items: end;
  margin-bottom: clamp(42px, 6vw, 72px) !important;
  text-align: left !important;
}

.art-home #orcamento .section-header h2 {
  max-width: 8ch;
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3.2rem, 6vw, 6.7rem);
  font-weight: 400;
  line-height: .86;
  letter-spacing: -.065em;
}

.art-home #orcamento .section-header p { max-width: 34ch; margin: 0; }

.art-home #quoteForm {
  padding-top: 28px;
  border-top: 1px solid var(--art-line);
}

.art-home #faq {
  padding: clamp(98px, 12vw, 180px) 0;
  background: var(--art-stone);
}

.art-home #faq .section-header { margin-bottom: clamp(42px, 6vw, 72px); text-align: left; }
.art-home #faq .section-header h2 { max-width: 8ch; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3.2rem, 5.5vw, 6rem); font-weight: 400; }
.art-home #faq .faq-list { max-width: 980px; margin-left: auto; border-top: 1px solid var(--art-line); }
.art-home #faq .faq-item { background: transparent; border: 0; border-bottom: 1px solid var(--art-line); border-radius: 0; box-shadow: none; overflow: visible; }
.art-home #faq .faq-button { min-height: 84px; padding: 22px 0; border-radius: 0; background: transparent; box-shadow: none; }
.art-home #faq .faq-button:hover { background: transparent; }
.art-home #faq .faq-content { padding: 0 0 24px; }

@media (max-width: 900px) {
  .art-home #comparador .comparison-cases-tabs {
    display: flex;
    gap: 24px;
    margin: 38px 0 24px;
    padding-bottom: 2px;
    overflow-x: auto;
    border-top: 1px solid var(--art-line);
    scrollbar-width: thin;
  }

  .art-home #comparador .case-tab-btn {
    flex: 0 0 135px;
    min-height: 76px;
  }

  .art-home #servicos,
  .art-home #processo,
  .art-home #orcamento { padding: 84px 0; }

  .art-home #servicos .home-service-layout,
  .art-home #processo .home-process-layout { grid-template-columns: 1fr; gap: 48px; }

  .art-home #servicos .home-service-intro h2,
  .art-home #processo .home-process-layout h2 { max-width: 9ch; font-size: clamp(3.25rem, 15vw, 5.7rem); }

  .art-home #servicos .home-service-list a:nth-child(n),
  .art-home #processo .home-process-list li:nth-child(n) { padding-left: 0; }

  .art-home #processo .home-process-layout figure { max-width: none; }
  .art-home #processo .home-process-layout img { aspect-ratio: 4 / 5 !important; }

  .art-home #provas-reais .proof-archive-header { display: block; }
  .art-home #provas-reais .proof-archive-header h2 { max-width: 9ch; margin: 18px 0 24px; }
  .art-home #provas-reais .proof-archive-header > p:last-child { max-width: 34ch; }
  .art-home #provas-reais .proof-archive-grid { display: block; }
  .art-home #provas-reais .proof-archive-figure--detail { margin-bottom: 28px; }

  .art-home #orcamento .section-header { display: block; }
  .art-home #orcamento .section-header p { margin-top: 22px; }
  .art-home #faq .section-header { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .art-home #servicos .home-service-list a,
  .art-home #processo .home-process-layout img,
  .art-home #servicos .home-service-list span { transition: none; }
  .art-home #processo .home-process-layout figure:hover img { transform: none; }
}
