/* Refinamentos: hero fotográfico, catálogo real e controles vetoriais. */
.ui-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  pointer-events: none;
}
.circle-button,
.circle-outline,
.button-icon,
.image-link {
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}
.circle-button:hover {
  transform: none;
}
.circle-button {
  min-width: 44px;
  min-height: 44px;
}
.circle-button .ui-icon,
.circle-outline .ui-icon {
  width: 20px;
  height: 20px;
}
.step i,
.faq-list i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  padding: 0;
  line-height: 1;
}
.text-link .ui-icon {
  width: 18px;
  height: 18px;
}
.button,
.text-link {
  max-width: 100%;
}
.button {
  text-align: left;
}
.button-icon {
  flex: 0 0 36px;
}
.button-small .button-icon {
  flex-basis: 30px;
}
.wrap > *,
.material-layout > *,
.room-feature > *,
.process > *,
.faq > *,
.partner-inner > *,
.gallery-grid > *,
.partner-form-layout > *,
.benefits-layout > *,
.architect-look > * {
  min-width: 0;
}

.hero.hero-immersive {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: clamp(720px, calc(100svh - 145px), 920px);
  margin: 0;
  gap: 0;
  padding: 64px max(5.4vw, calc((100vw - 1400px) / 2));
  overflow: hidden;
  background: var(--green);
  color: var(--paper);
}
.hero-background,
.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-background {
  z-index: -2;
  background: url("../assets/images/fachada.webp") center 47% / cover no-repeat;
}
.hero-shade {
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(16, 29, 20, 0.91) 0%,
      rgba(16, 29, 20, 0.8) 27%,
      rgba(16, 29, 20, 0.38) 51%,
      rgba(16, 29, 20, 0.04) 75%
    ),
    linear-gradient(0deg, rgba(16, 29, 20, 0.43), transparent 40%);
}
.hero-immersive .hero-copy {
  width: min(610px, 50%);
  padding: 0;
}
.hero-immersive .hero-copy .eyebrow {
  max-width: none;
  margin-bottom: 32px;
  font-size: 10px;
}
.hero-immersive .tiny-line {
  background: var(--beige);
}
.hero-immersive h1 {
  font-size: clamp(90px, 8vw, 128px);
  line-height: 0.9;
  letter-spacing: -0.055em;
}
.hero-immersive h1 em {
  color: #e5d6b9;
}
.hero-immersive .hero-description {
  max-width: 380px;
  font-size: 15px;
  line-height: 1.7;
  margin-top: 30px;
  color: var(--paper);
}
.hero-immersive .hero-description br {
  display: initial;
}
.hero-immersive .hero-actions {
  gap: 24px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.hero-immersive .small-note {
  display: block;
  color: var(--paper);
  font-size: 11px;
}
.hero-immersive .button {
  min-height: 54px;
}
.hero-immersive .explore-link {
  display: flex;
  margin: 36px 0 0;
  font-size: 10px;
}
.hero-immersive .circle-outline {
  border-color: rgba(245, 242, 235, 0.5);
}
.hero-caption {
  position: absolute;
  right: 4vw;
  bottom: 28px;
  display: grid;
  gap: 5px;
  text-align: right;
  font-size: 9px;
  letter-spacing: 0.03em;
  color: var(--paper);
}
.hero-caption span:first-child {
  font: italic 23px var(--serif);
  letter-spacing: 0;
}

.material-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: start;
}
.material-copy {
  position: sticky;
  top: 40px;
}
.sample-studio {
  width: 100%;
  min-width: 0;
}
.sample-stage {
  max-width: 490px;
  margin-inline: auto;
}
.slab-front > img {
  object-fit: cover;
}
.sample-slab-label {
  font-size: 7px;
  letter-spacing: 0.12em;
}
.sample-info {
  gap: 18px;
}
.sample-info > div {
  min-width: 0;
}
.sample-info h3 {
  overflow-wrap: anywhere;
}
.sample-placeholder {
  min-height: 32px;
}
.material-browser {
  margin-top: 16px;
}
.material-browser-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 14px;
}
.material-browser-heading h4 {
  font-size: 13px;
  font-weight: 400;
  margin: 0;
}
.material-browser-heading > span {
  font-size: 10px;
  color: var(--beige);
  flex-shrink: 0;
}
.material-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 12px;
}
.material-search-row label {
  min-width: 0;
  display: grid;
  gap: 6px;
  font-size: 10px;
  color: var(--beige);
}
.material-search-row input,
.material-search-row select {
  width: 100%;
  min-width: 0;
  border: 1px solid #6d796a;
  border-radius: 3px;
  background: var(--green);
  color: var(--paper);
  font-size: 12px;
  padding: 11px 10px;
  min-height: 44px;
}
.material-search-row input::placeholder {
  color: var(--beige);
  opacity: 1;
}
.material-search-row input:focus-visible,
.material-search-row select:focus-visible {
  outline: 2px solid var(--beige);
  outline-offset: 3px;
}
.swatches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 12px 7px 12px 3px;
  max-height: 285px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #acb4a6 transparent;
  scroll-padding: 10px;
  overscroll-behavior-y: auto;
}
.swatch {
  width: 100%;
  height: auto;
  padding: 5px;
  min-height: 96px;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
  text-align: left;
  border: 1px solid transparent;
  background: rgba(245, 242, 235, 0.03);
  color: var(--paper);
}
.swatch::before {
  content: none;
}
.swatch img {
  width: 100%;
  height: 53px;
  object-fit: cover;
  border-radius: 1px;
}
.swatch > span {
  font-size: 10px;
  line-height: 1.3;
  overflow-wrap: anywhere;
  padding-bottom: 3px;
}
.swatch:hover {
  transform: none;
  background: rgba(245, 242, 235, 0.09);
}
.swatch[aria-pressed="true"] {
  border-color: var(--beige);
  background: rgba(245, 242, 235, 0.07);
}
.swatch:focus-visible {
  outline-color: var(--paper);
  outline-offset: 0;
}
.material-hint {
  color: var(--beige);
  font-size: 9px;
  margin: 6px 0 10px;
}
#material-empty {
  padding: 15px 0;
  color: var(--paper);
}
#sample-full {
  font-size: 11px;
  gap: 16px;
}
.selection-tray {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(215, 208, 195, 0.25);
}
.selection-tray p {
  overflow-wrap: anywhere;
}
.selection-tray .text-link {
  line-height: 1.6;
}
.texture-zoom {
  display: block;
}
.material-card-surface > span {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.4;
}
.material-card-surface .ui-icon {
  width: 14px;
  height: 14px;
}
.material-card h3 {
  overflow-wrap: anywhere;
}
.menu-dialog {
  overflow-y: auto;
  overscroll-behavior: contain;
}
.menu-close {
  position: fixed;
  z-index: 1;
  background: var(--green);
}
.lightbox {
  overflow-y: auto;
  overscroll-behavior: contain;
}
.lightbox-close {
  z-index: 1;
}
.lightbox-inner {
  min-width: 0;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
}
.lightbox-copy {
  min-width: 0;
}
.lightbox-copy h2 {
  overflow-wrap: anywhere;
}
.gallery-card-text {
  min-width: 0;
}
.gallery-card-text > div {
  min-width: 0;
}
.gallery-card-text h2 {
  overflow-wrap: anywhere;
}
.gallery-grid .gallery-card:nth-child(even) {
  padding-top: 0;
}
.gallery-grid .gallery-card:nth-child(4n + 2) {
  padding-top: 60px;
}
.gallery-grid .gallery-card[hidden] {
  display: none;
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-immersive {
      view-timeline-name: --immersive-hero;
    }
    .hero-background {
      animation: immersive-parallax 1s both;
      animation-timing-function: cubic-bezier(0.3, 0.3, 0.7, 0.7);
      animation-timeline: --immersive-hero;
      animation-range: entry 0% exit 100%;
    }
  }
}
@keyframes immersive-parallax {
  from {
    transform: scale(1.1) translateY(-3%);
  }
  to {
    transform: scale(1.1) translateY(4%);
  }
}
@media (min-width: 1600px) {
  .hero-immersive .hero-copy {
    width: 620px;
  }
  .hero-caption {
    right: max(5vw, calc((100vw - 1400px) / 2));
  }
}
@media (max-width: 1100px) {
  .hero.hero-immersive {
    padding-inline: 40px;
    min-height: 740px;
  }
  .hero-immersive .hero-copy {
    width: 56%;
  }
  .hero-immersive h1 {
    font-size: clamp(82px, 9vw, 110px);
  }
  .hero-immersive .hero-copy .eyebrow {
    font-size: 9px;
  }
  .hero-immersive .hero-actions {
    gap: 15px;
  }
  .hero-immersive .hero-description {
    max-width: 330px;
  }
  .material-layout {
    gap: 45px;
  }
  .swatches {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .material-search-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .material-search-row label {
    grid-template-columns: 65px minmax(0, 1fr);
    align-items: center;
  }
  .sample-stage {
    height: 320px;
  }
  .materials h2 {
    font-size: clamp(43px, 5.2vw, 62px);
  }
  .room-feature {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }
  .lightbox-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .hero.hero-immersive {
    padding: 52px 24px 95px;
    min-height: 755px;
    align-items: flex-start;
  }
  .hero-immersive .hero-copy {
    width: 100%;
    max-width: 490px;
  }
  .hero-immersive .hero-copy .eyebrow {
    font-size: 8px;
    margin-bottom: 32px;
  }
  .hero-immersive h1 {
    font-size: clamp(74px, 16.8vw, 110px);
    line-height: 0.93;
  }
  .hero-immersive .hero-description {
    margin-top: 28px;
    max-width: 330px;
    font-size: 14px;
  }
  .hero-immersive .hero-actions {
    margin-top: 26px;
    align-items: center;
  }
  .hero-immersive .small-note {
    font-size: 10px;
  }
  .hero-immersive .explore-link {
    margin-top: 30px;
    font-size: 9px;
  }
  .hero-background {
    background-position: 53% center;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(15, 27, 18, 0.85), rgba(15, 27, 18, 0.55)),
      linear-gradient(0deg, rgba(15, 27, 18, 0.4), transparent 30%);
  }
  .hero-caption {
    left: 24px;
    right: 24px;
    bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 25px;
    font-size: 8px;
  }
  .hero-caption span:first-child {
    font-size: 20px;
    text-align: left;
  }
  .hero-caption span:last-child {
    max-width: 115px;
  }
  .hero-immersive .button {
    font-size: 12px;
    gap: 20px;
  }
  .material-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
  }
  .material-copy {
    position: static;
  }
  .materials h2 {
    font-size: clamp(43px, 11vw, 60px);
  }
  .sample-studio {
    max-width: 540px;
  }
  .sample-stage {
    height: 330px;
  }
  .material-search-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
  }
  .material-search-row label {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .material-search-row input,
  .material-search-row select {
    font-size: 16px;
    padding: 10px 8px;
  }
  .swatches {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: 303px;
    gap: 9px;
  }
  .swatch {
    min-height: 95px;
  }
  .swatch > span {
    font-size: 11px;
  }
  .room-feature {
    grid-template-columns: minmax(0, 1fr);
  }
  .gallery-grid .gallery-card:nth-child(4n + 2) {
    padding-top: 0;
  }
  .gallery-card-image {
    height: auto;
    aspect-ratio: 1.16;
  }
  .lightbox-inner {
    display: flex;
  }
  .lightbox-copy {
    padding: 25px 22px;
  }
  .lightbox-image {
    flex: 0 0 auto;
    height: min(38svh, 340px);
  }
  .lightbox-close {
    top: 10px;
    right: 10px;
  }
  .lightbox-controls {
    margin-top: 20px;
  }
  .material-card-surface > span {
    font-size: 8px;
    left: 7px;
    right: 7px;
    bottom: 7px;
    padding: 5px;
    gap: 5px;
    justify-content: space-between;
  }
  .material-card h3 {
    font-size: 25px;
  }
  .material-card .text-link {
    font-size: 10px;
    gap: 10px;
  }
  .material-card .text-link .ui-icon {
    width: 14px;
    height: 14px;
  }
}
@media (max-width: 374px) {
  .hero.hero-immersive {
    padding-inline: 20px;
    min-height: 710px;
  }
  .hero-immersive h1 {
    font-size: clamp(65px, 21vw, 76px);
  }
  .hero-immersive .hero-actions .small-note {
    display: none;
  }
  .hero-immersive .hero-copy .eyebrow {
    letter-spacing: 0.1em;
    font-size: 7px;
  }
  .hero-immersive .hero-description {
    font-size: 13px;
  }
  .sample-slab {
    width: 166px;
    height: 225px;
    left: calc(50% - 83px);
  }
  .sample-stage {
    height: 305px;
  }
  .material-search-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .material-search-row label {
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: center;
  }
  .material-card h3 {
    font-size: 23px;
  }
  .materials-list {
    column-gap: 14px;
  }
  .material-browser-heading h4 {
    font-size: 12px;
  }
}
@media (max-height: 540px) and (min-width: 600px) {
  .menu-dialog {
    padding-block: 25px;
  }
  .menu-brand {
    width: 150px;
    margin-bottom: 22px;
  }
  .menu-dialog nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 25px;
    padding-right: 35px;
  }
  .menu-dialog nav a {
    font-size: 26px;
  }
  .menu-contact {
    margin-top: 25px;
  }
  .lightbox-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    min-height: 0;
  }
  .lightbox-image {
    height: 85svh;
    max-height: none;
  }
  .lightbox-copy {
    padding: 55px 20px 20px;
  }
  .lightbox-copy h2 {
    font-size: 30px;
  }
  .lightbox-copy p {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-background {
    animation: none !important;
    transform: none !important;
  }
}
@media print {
  .hero.hero-immersive {
    color: var(--green);
    background: white;
    min-height: 0;
    padding: 30px;
  }
  .hero-background,
  .hero-shade,
  .hero-caption {
    display: none;
  }
  .hero-immersive h1 em,
  .hero-immersive .hero-description {
    color: var(--green);
  }
}

/* Focused review: tactile samples, readable room tabs and texture inspection. */
.room-tabs button {
  flex: 0 0 auto;
}
.room-image,
.look-visual figure {
  position: relative;
  overflow: hidden;
}
.photo-window {
  width: 100%;
  height: 100%;
}
.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-height: none;
  overflow: visible;
  padding: 12px 3px;
}
.swatch {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  min-height: 0;
  padding: 4px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
}
.swatch img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.swatch[aria-pressed="true"] {
  border-color: var(--paper);
}
.swatch:focus-visible {
  outline-offset: 3px;
}
.texture-dialog {
  width: min(1180px, calc(100% - 48px));
  max-width: none;
  max-height: calc(100svh - 48px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 3px;
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--paper);
  color: var(--green);
  box-shadow: 0 24px 100px #101c1866;
}
.texture-dialog::backdrop {
  background: #18231cba;
  backdrop-filter: blur(6px);
}
.texture-dialog-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.texture-dialog-header > div {
  min-width: 0;
}
.texture-dialog-header .eyebrow {
  margin: 0 0 4px;
}
.texture-dialog h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}
.texture-close {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
}
.texture-dialog-body {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(230px, 1fr);
}
.texture-viewport {
  height: min(65svh, 700px);
  min-width: 0;
  overflow: auto;
  background: #e8e3da;
  overscroll-behavior: contain;
  scrollbar-color: #7d806c #e8e3da;
}
.texture-viewport img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.texture-viewport.is-zoomed img {
  width: 200%;
  height: auto;
  max-width: none;
  max-height: none;
}
.texture-viewport:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -3px;
}
.texture-details {
  padding: 28px;
  font-size: 13px;
  line-height: 1.7;
}
.texture-details .eyebrow {
  line-height: 1.7;
  margin-bottom: 16px;
}
.texture-details dl {
  margin: 24px 0;
}
.texture-details dl > div {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.texture-details dt {
  color: var(--muted);
  font-size: 10px;
}
.texture-details dd {
  margin: 0;
}
.texture-zoom-button {
  min-height: 44px;
  border: 1px solid var(--green);
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 12px;
}
.texture-zoom-button:hover {
  background: var(--green);
  color: var(--paper);
}
.texture-status {
  margin-top: 14px;
  font-size: 11px;
}
.texture-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 11px;
}
@media (max-width: 767px) {
  .room-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 40px);
    margin-inline: auto;
    padding: 0;
    gap: 8px;
    border: 0;
    overflow: visible;
  }
  .room-tabs button {
    min-height: 48px;
    padding: 12px;
    white-space: normal;
    text-align: left;
    font-size: 12px;
    line-height: 1.4;
    border: 1px solid var(--line);
    border-radius: 2px;
  }
  .room-tabs button:last-child {
    grid-column: 1 / -1;
  }
  .room-tabs button[aria-selected="true"] {
    background: var(--green);
    color: var(--paper);
    border-color: var(--green);
  }
  .room-tabs button::after {
    content: none;
  }
  .room-tabs sup {
    margin-left: 5px;
    color: inherit;
  }
  .swatches {
    gap: 10px;
  }
  .swatch {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
  }
  .room-image,
  .look-visual figure {
    height: auto;
    overflow: visible;
    border-radius: 0;
  }
  .room-image .photo-window {
    height: clamp(290px, 80vw, 430px);
    border-radius: 3px 3px 65px 3px;
  }
  .look-visual {
    padding: 0;
  }
  .look-visual .photo-window {
    height: clamp(360px, 115vw, 540px);
    border-radius: 3px 130px 3px 3px;
  }
  .room-image figcaption,
  .look-visual figcaption {
    position: static;
    padding: 12px 0 0;
    background: transparent;
    color: var(--green);
    font-size: 10px;
    line-height: 1.6;
  }
  .look-seal {
    position: static;
    width: fit-content;
    margin: 16px 0 0 auto;
    border: 0;
    padding: 16px 20px;
  }
  .brand-interlude {
    padding-block: 38px;
  }
  .brand-flow {
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: 0 20px;
    animation: none !important;
    transform: none !important;
  }
  .brand-flow img {
    display: none;
  }
  .brand-flow span {
    font-size: clamp(66px, 19vw, 108px);
    line-height: 1.05;
  }
  .brand-flow span ~ span {
    margin-top: -0.12em;
  }
  .brand-flow span:first-child {
    align-self: center;
    transform: translateX(-0.15em);
  }
  .brand-flow span:last-of-type {
    transform: translateX(0.15em);
  }
  .texture-dialog {
    width: calc(100% - 20px);
    max-height: calc(100svh - 20px);
  }
  .texture-dialog-header {
    padding: 16px;
    gap: 12px;
  }
  .texture-dialog-header .eyebrow {
    font-size: 8px;
  }
  .texture-dialog-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .texture-viewport {
    height: 44svh;
    min-height: 230px;
  }
  .texture-details {
    padding: 22px;
  }
  .texture-details dl {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin: 16px 0 20px;
  }
  .texture-details dl > div {
    flex: 1 1 auto;
  }
  .texture-note {
    margin-top: 16px;
  }
}
@media (max-height: 540px) and (min-width: 600px) {
  .texture-dialog {
    max-height: calc(100svh - 20px);
  }
  .texture-dialog-header {
    padding-block: 12px;
  }
  .texture-dialog h2 {
    font-size: 30px;
  }
  .texture-viewport {
    height: 65svh;
  }
}
