/* ==========================================================================
   Bella Rocha Pedras — Showroom digital (depende de base.css e site.css)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Utilidades
   -------------------------------------------------------------------------- */

.link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--gold);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-note {
  margin-left: 2px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(27, 20, 8, .14);
  font-size: .68rem;
  font-weight: 600;
}

.sub-title {
  margin: 72px 0 24px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: .03em;
}

.fine-print {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: .78rem;
  color: var(--faint);
}

.fine-print svg {
  width: 15px;
  height: 15px;
}

.noscript {
  padding: 24px var(--gutter);
  color: var(--muted);
}

.noscript a {
  color: var(--gold);
}

/* Itens de grid com trilhos roláveis não podem esticar a coluna */
.sim > *,
.sim-controls > *,
.sim-row > *,
.cat-tools > *,
.quiz-intro > *,
.video-grid > *,
.faq-grid > *,
.visit-grid > * {
  min-width: 0;
}

.dot-cor {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: var(--c);
}

/* --------------------------------------------------------------------------
   Hero com mosaico de chapas
   -------------------------------------------------------------------------- */

.sr-hero {
  min-height: 92vh;
  min-height: 92svh;
  justify-content: flex-end;
}

.mosaic {
  position: absolute;
  inset: -10% -20% -10% -10%;
  z-index: -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  transform: rotate(-9deg);
  opacity: .9;
}

.mosaic-col {
  display: grid;
  gap: 12px;
  align-content: start;
  animation: col-up 70s linear infinite;
}

.mosaic-col:nth-child(even) {
  animation-name: col-down;
  animation-duration: 85s;
}

.mosaic-col img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
}

.sr-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(11, 10, 8, .7) 0%, rgba(11, 10, 8, .55) 35%, rgba(11, 10, 8, .9) 70%, var(--bg) 100%);
}

.sr-hero-copy {
  padding-bottom: 48px;
}

.sr-hero-stats {
  list-style: none;
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: .78rem;
  color: var(--muted);
}

.sr-hero-stats strong {
  margin-right: 6px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold);
}

@media (min-width: 960px) {
  .sr-hero {
    min-height: 88vh;
    justify-content: center;
  }

  .mosaic {
    inset: -20% -6% -20% 44%;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .mosaic-col,
  .mosaic-col img {
    gap: 16px;
  }

  .sr-hero::after {
    background:
      linear-gradient(to right, var(--bg) 0%, var(--bg) 40%, rgba(11, 10, 8, .55) 62%, rgba(11, 10, 8, .25) 100%),
      linear-gradient(to bottom, transparent 70%, var(--bg) 100%);
  }

  .sr-hero-copy {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .sr-hero-copy .hero-title {
    max-width: 12ch;
  }
}

@keyframes col-up {
  to { transform: translateY(-50%); }
}

@keyframes col-down {
  from { transform: translateY(-50%); }
  to { transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   Subnavegação fixa
   -------------------------------------------------------------------------- */

.subnav {
  position: sticky;
  top: var(--nav-h);
  z-index: 30;
  background: rgba(11, 10, 8, .82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.subnav-track {
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 10px var(--gutter);
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav-track::-webkit-scrollbar {
  display: none;
}

.subnav a {
  flex: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted);
  transition: background .25s, color .25s;
}

.subnav a:hover {
  color: var(--text);
}

.subnav a.is-on {
  background: var(--text);
  color: var(--bg);
}

html:has(.page-showroom) {
  scroll-padding-top: calc(var(--nav-h) + 60px);
}

/* --------------------------------------------------------------------------
   Quiz
   -------------------------------------------------------------------------- */

.quiz {
  position: relative;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(214, 178, 106, .1), transparent 60%),
    var(--bg-2);
  padding: 28px 20px;
  overflow: hidden;
}

@media (min-width: 760px) {
  .quiz {
    padding: 56px;
  }
}

.quiz-intro {
  display: grid;
  gap: 40px;
  align-items: center;
}

.quiz-intro .btn {
  margin-top: 28px;
}

.quiz-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: .78rem;
  color: var(--faint);
}

.quiz-note svg {
  width: 14px;
  height: 14px;
}

.quiz-intro-art {
  position: relative;
  height: 260px;
}

.quiz-intro-art img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46%;
  max-width: 220px;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  border-radius: 18px;
  border: 4px solid var(--bg-2);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
  transition: transform .6s var(--ease);
}

.quiz-intro-art img:nth-child(1) { transform: translate(-115%, -50%) rotate(-10deg); }
.quiz-intro-art img:nth-child(2) { transform: translate(-50%, -56%) rotate(0deg); z-index: 2; }
.quiz-intro-art img:nth-child(3) { transform: translate(15%, -50%) rotate(10deg); }

.quiz-intro:hover .quiz-intro-art img:nth-child(1) { transform: translate(-125%, -50%) rotate(-14deg); }
.quiz-intro:hover .quiz-intro-art img:nth-child(3) { transform: translate(25%, -50%) rotate(14deg); }

@media (min-width: 900px) {
  .quiz-intro {
    grid-template-columns: 1.1fr .9fr;
  }

  .quiz-intro-art {
    height: 360px;
  }
}

/* Etapas */

.quiz-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.quiz-back {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color .25s, opacity .25s;
}

.quiz-back:disabled {
  opacity: .3;
  cursor: default;
}

.quiz-back svg {
  width: 18px;
  height: 18px;
}

.quiz-progress {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}

.quiz-progress span {
  display: block;
  height: 100%;
  width: var(--p, 0%);
  border-radius: inherit;
  background: var(--gold-grad);
  transition: width .5s var(--ease);
}

.quiz-step-n {
  font-size: .76rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.quiz-q {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  font-weight: 500;
  line-height: 1.15;
}

.quiz-hint {
  margin-top: 8px;
  color: var(--muted);
  font-size: .92rem;
}

.quiz-opts {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

@media (max-width: 520px) {
  .quiz-opts {
    grid-template-columns: 1fr 1fr;
  }

  .quiz-opts.is-list {
    grid-template-columns: 1fr;
  }
}

.opt {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 132px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color .25s, background .25s, transform .35s var(--ease);
}

.opt:hover {
  border-color: rgba(214, 178, 106, .45);
  background: rgba(214, 178, 106, .06);
  transform: translateY(-3px);
}

.opt[aria-pressed="true"] {
  border-color: var(--gold);
  background: rgba(214, 178, 106, .12);
}

.opt[aria-pressed="true"]::after {
  content: '';
  position: absolute;
  top: 14px;
  right: 14px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1408' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.opt-i {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(214, 178, 106, .1);
  color: var(--gold);
}

.opt-t {
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.3;
}

.opt-d {
  font-size: .78rem;
  line-height: 1.45;
  color: var(--muted);
}

.opt-swatch {
  display: flex;
}

.opt-swatch img,
.opt-swatch span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--bg-2);
  object-fit: cover;
}

.opt-swatch > * + * {
  margin-left: -10px;
}

.opt-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

.quiz-anim-in {
  animation: quiz-in .5s var(--ease) both;
}

.quiz-anim-out {
  animation: quiz-out .25s ease-in both;
}

@keyframes quiz-in {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: none; }
}

@keyframes quiz-out {
  to { opacity: 0; transform: translateX(-24px); }
}

/* Resultado */

.res-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.res-answers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.res-answers span {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: .72rem;
  color: var(--muted);
}

.res-cards {
  display: grid;
  gap: 14px;
}

@media (min-width: 900px) {
  .res-cards {
    grid-template-columns: 1.25fr 1fr 1fr;
    align-items: stretch;
  }
}

.res-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
  animation: rise .7s var(--ease) both;
  animation-delay: calc(var(--i) * 140ms);
}

.res-card.is-top {
  border-color: var(--line-strong);
  box-shadow: 0 30px 60px -30px rgba(214, 178, 106, .35);
}

.res-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.res-card.is-top .res-media {
  aspect-ratio: 16 / 11;
}

.res-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}

.res-card:hover .res-media img {
  transform: scale(1.05);
}

.res-rank {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(11, 10, 8, .7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.res-card.is-top .res-rank {
  background: var(--gold-grad);
  color: #1b1408;
}

.res-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.res-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.res-title h4 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.15;
}

.res-pct {
  flex: none;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--gold);
}

.res-type {
  margin-top: 4px;
  font-size: .76rem;
  color: var(--muted);
}

.res-bar {
  height: 3px;
  margin: 14px 0 16px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}

.res-bar span {
  display: block;
  height: 100%;
  width: var(--p);
  background: var(--gold-grad);
  animation: grow 1.2s var(--ease) both;
  animation-delay: calc(var(--i) * 140ms + 300ms);
}

@keyframes grow {
  from { width: 0; }
}

.res-why {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  font-size: .84rem;
}

.res-why li {
  display: flex;
  gap: 10px;
}

.res-why svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--gold);
}

.res-warn {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(227, 139, 122, .08);
  border: 1px solid rgba(227, 139, 122, .25);
  font-size: .76rem;
  color: #f0c4ba;
}

.res-warn.is-note {
  background: rgba(214, 178, 106, .07);
  border-color: rgba(214, 178, 106, .25);
  color: #e6d3a6;
}

.res-warn + .res-warn {
  margin-top: -8px;
}

.res-warn svg {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}

.res-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.res-actions .btn {
  flex: 1 1 auto;
}

.res-extra {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}

@media (min-width: 900px) {
  .res-extra {
    grid-template-columns: 1.4fr 1fr;
  }
}

.res-tip {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
  font-size: .88rem;
  color: var(--muted);
}

.res-tip h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: .9rem;
  color: var(--text);
}

.res-tip h4 svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.res-footer {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   Catálogo
   -------------------------------------------------------------------------- */

.cat-tools {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.search {
  position: relative;
  display: block;
}

.search svg {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  color: var(--faint);
  pointer-events: none;
}

.search input {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  font: inherit;
  font-size: .9rem;
  transition: border-color .25s;
}

.search input {
  padding: 0 18px 0 46px;
}

.search input:focus {
  outline: none;
  border-color: var(--gold);
}

.search input::placeholder {
  color: var(--faint);
}

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter);
  scrollbar-width: none;
}

.chips::-webkit-scrollbar {
  display: none;
}

@media (min-width: 900px) {
  .chips {
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
  }
}

.cat-status {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: .82rem;
  color: var(--muted);
}

.slabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 700px) {
  .slabs {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

@media (min-width: 1100px) {
  .slabs {
    grid-template-columns: repeat(4, 1fr);
  }
}

.slab {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: border-color .3s, transform .4s var(--ease);
  animation: rise .5s var(--ease) both;
}

.slab[hidden] {
  display: none;
}

.slab:hover {
  border-color: rgba(214, 178, 106, .4);
  transform: translateY(-4px);
}

.slab-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.slab-img {
  aspect-ratio: 1;
  overflow: hidden;
}

.slab-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.slab:hover .slab-img img {
  transform: scale(1.08);
}

.slab-body {
  padding: 12px 14px 14px;
}

.slab-body h3 {
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.25;
}

.slab-meta {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: .72rem;
  color: var(--muted);
}

.slab-dots {
  display: flex;
  gap: 3px;
}

.slab-dots .dot-cor {
  width: 10px;
  height: 10px;
}

.slab-cmp {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(11, 10, 8, .6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
  font-size: .7rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
}

.slab-cmp svg {
  width: 13px;
  height: 13px;
}

@media (max-width: 599px) {
  .slab-cmp {
    width: 32px;
    padding: 0;
    justify-content: center;
  }

  .slab-cmp span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .slab-badge {
    font-size: .54rem;
    padding: 3px 7px;
  }
}

.slab-cmp[aria-pressed="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: #1b1408;
}

.slab-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--gold-grad);
  color: #1b1408;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.empty {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 56px 20px;
  border-radius: 20px;
  border: 1px dashed var(--line);
  text-align: center;
  color: var(--muted);
}

.empty > svg {
  width: 32px;
  height: 32px;
  color: var(--gold);
}

.empty strong {
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Ficha da pedra (gaveta)
   -------------------------------------------------------------------------- */

.drawer,
.compare-modal {
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  color: var(--text);
  background: var(--bg-2);
}

.drawer::backdrop,
.compare-modal::backdrop {
  background: rgba(8, 7, 5, .7);
  backdrop-filter: blur(4px);
}

.drawer {
  position: fixed;
  inset: auto 0 0 0;
  width: 100%;
  height: auto;
  max-height: 92dvh;
  margin: 0;
  border-radius: 24px 24px 0 0;
  border-top: 1px solid var(--line-strong);
  overflow: hidden;
}

.drawer[open] {
  display: flex;
  animation: sheet-up .45s var(--ease);
}

@media (min-width: 860px) {
  .drawer {
    inset: 0 0 0 auto;
    width: min(560px, 100vw);
    height: 100dvh;
    max-height: none;
    border-radius: 0;
    border-top: 0;
    border-left: 1px solid var(--line-strong);
  }

  .drawer[open] {
    animation: sheet-left .45s var(--ease);
  }
}

@keyframes sheet-up {
  from { transform: translateY(100%); }
}

@keyframes sheet-left {
  from { transform: translateX(100%); }
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.drawer-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.f-zoom {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #000;
  cursor: zoom-in;
}

.f-zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s var(--ease);
}

.f-zoom.is-zoom img {
  transform: scale(2.2);
}

.f-zoom-hint {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(11, 10, 8, .65);
  font-size: .68rem;
  color: var(--muted);
  pointer-events: none;
  transition: opacity .3s;
}

.f-zoom-hint svg {
  width: 13px;
  height: 13px;
}

.f-zoom.is-zoom .f-zoom-hint {
  opacity: 0;
}

.f-main {
  padding: 24px 22px 120px;
}

@media (min-width: 860px) {
  .f-main {
    padding: 28px 32px 120px;
  }
}

.f-type {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

.f-main h2 {
  margin: 8px 0 12px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.1;
}

.f-colors {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: var(--muted);
}

.f-main p {
  color: var(--muted);
  font-size: .92rem;
}

.f-section {
  margin-top: 28px;
}

.f-section h3 {
  margin-bottom: 12px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--faint);
}

.f-desc p + p {
  margin-top: 10px;
}

.props {
  display: grid;
  gap: 12px;
}

.prop {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  font-size: .82rem;
}

.prop small {
  color: var(--faint);
  font-size: .7rem;
}

.prop-bar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}

.prop-bar i {
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .08);
}

.prop-bar i.on {
  background: var(--gold);
}

.prop.is-low .prop-bar i.on {
  background: #b9a98a;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: .78rem;
}

.tags.is-ok span {
  border-color: rgba(111, 207, 142, .3);
  color: #bfe8cc;
}

.tags.is-no span {
  border-color: rgba(227, 139, 122, .3);
  color: #f0c4ba;
}

.notice {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  font-size: .78rem;
  color: var(--muted);
}

.notice svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.f-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 22px calc(14px + env(safe-area-inset-bottom));
  margin-top: -100px;
  background: linear-gradient(to bottom, rgba(20, 18, 15, 0), var(--bg-2) 30%);
}

.f-actions .btn {
  flex: 1 1 auto;
}

/* --------------------------------------------------------------------------
   Bandeja + comparador
   -------------------------------------------------------------------------- */

.tray {
  position: fixed;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 12px;
  width: calc(100% - 28px);
  max-width: 560px;
  padding: 10px 10px 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(20, 18, 15, .92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .8);
  transform: translateX(-50%);
  animation: tray-in .45s var(--ease);
}

.tray[hidden] {
  display: none;
}

@keyframes tray-in {
  from { transform: translate(-50%, 140%); }
}

.tray-thumbs {
  display: flex;
}

.tray-thumbs img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg-2);
  object-fit: cover;
}

.tray-thumbs img + img {
  margin-left: -10px;
}

.tray-text {
  flex: 1;
  min-width: 0;
  font-size: .78rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.has-tray .wa-float {
  bottom: calc(86px + env(safe-area-inset-bottom));
}

.compare-modal {
  width: min(1000px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  overflow: hidden;
}

.compare-modal[open] {
  display: flex;
  flex-direction: column;
  animation: rise .4s var(--ease);
}

.compare-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 16px 24px;
  border-bottom: 1px solid var(--line);
}

.compare-head h2 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
}

.compare-head .lb-btn {
  position: static;
  margin: 0;
}

.compare-scroll {
  overflow: auto;
  overscroll-behavior: contain;
}

.cmp-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: .84rem;
}

.cmp-table th,
.cmp-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.cmp-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--bg-2);
}

.cmp-table tbody th {
  position: sticky;
  left: 0;
  background: var(--bg-2);
  width: 160px;
  font-weight: 500;
  color: var(--muted);
  font-size: .78rem;
}

.cmp-head img {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}

.cmp-head strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
}

.cmp-head small {
  color: var(--muted);
}

.cmp-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cmp-cell .prop-bar {
  width: 90px;
}

.cmp-best {
  color: var(--gold);
  font-weight: 600;
}

.cmp-best::after {
  content: '★';
  margin-left: 4px;
  font-size: .7rem;
}

/* --------------------------------------------------------------------------
   Provador
   -------------------------------------------------------------------------- */

.sim {
  display: grid;
  gap: 20px;
}

@media (min-width: 1000px) {
  .sim {
    grid-template-columns: 1.55fr 1fr;
    align-items: start;
    gap: 28px;
  }
}

.sim-stage {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e9e3d9;
}

.sim-svg {
  display: block;
  width: 100%;
  height: auto;
}

.sim-svg .cab {
  fill: url(#pat-madeira);
  transition: fill .4s;
}

.sim-svg [data-painel],
.sim-svg image {
  transition: opacity .35s;
}

.sim-svg.is-swap image {
  opacity: .2;
}

.sim-label {
  position: absolute;
  left: 14px;
  top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: rgba(11, 10, 8, .78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sim-label img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.sim-label strong {
  display: block;
  font-size: .86rem;
  line-height: 1.2;
}

.sim-label small {
  font-size: .7rem;
  color: var(--muted);
}

.sim-note {
  position: absolute;
  right: 12px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(11, 10, 8, .55);
  font-size: .64rem;
  color: rgba(244, 239, 230, .8);
}

.sim-note svg {
  width: 12px;
  height: 12px;
}

.sim-controls {
  display: grid;
  gap: 22px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.sim-h {
  margin-bottom: 10px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--faint);
}

.sim-rail {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  grid-auto-columns: 58px;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(214, 178, 106, .4) transparent;
}

@media (min-width: 1000px) {
  .sim-rail {
    grid-auto-flow: row;
    grid-template-rows: none;
    grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
    max-height: 250px;
    overflow-y: auto;
    padding-right: 4px;
  }
}

.sim-stone {
  position: relative;
  aspect-ratio: 1;
  padding: 0;
  border-radius: 12px;
  border: 2px solid transparent;
  background: none;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .25s, transform .25s var(--ease);
}

.sim-stone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
}

.sim-stone:hover {
  transform: scale(1.06);
}

.sim-stone[aria-checked="true"] {
  border-color: var(--gold);
}

.sim-row {
  display: grid;
  gap: 18px;
}

.sim-cabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sim-cabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px 0 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: .8rem;
  cursor: pointer;
  transition: border-color .25s, color .25s;
}

.sim-cabs button::before {
  content: '';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}

.sim-cabs button[aria-checked="true"] {
  border-color: var(--gold);
  color: var(--text);
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .86rem;
  cursor: pointer;
}

.switch input {
  position: absolute;
  opacity: 0;
}

.switch-ui {
  position: relative;
  flex: none;
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  transition: background .25s;
}

.switch-ui::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--text);
  transition: transform .3s var(--ease);
}

.switch input:checked + .switch-ui {
  background: var(--gold);
}

.switch input:checked + .switch-ui::after {
  transform: translateX(18px);
  background: #1b1408;
}

.switch input:focus-visible + .switch-ui {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Vídeo
   -------------------------------------------------------------------------- */

.video-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 960px) {
  .video-grid {
    grid-template-columns: .85fr 1.15fr;
    gap: 64px;
  }
}

.chapters {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 10px;
}

.ch {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  color: var(--text);
  font: inherit;
  text-align: left;
}

button.ch {
  cursor: pointer;
  transition: border-color .25s, background .25s;
}

button.ch:hover {
  border-color: var(--line-strong);
  background: rgba(214, 178, 106, .06);
}

.ch-txt {
  font-size: .8rem;
  color: var(--muted);
}

.ch-txt strong {
  display: block;
  font-size: .92rem;
  color: var(--text);
}

.ch-i {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(214, 178, 106, .1);
  color: var(--gold);
}

.ch-i svg {
  width: 20px;
  height: 20px;
}

.ch-t {
  margin-left: auto;
  font-size: .72rem;
  font-weight: 600;
  color: var(--gold);
}

@media (max-width: 959px) {
  .mosaic-col:nth-child(4) {
    display: none;
  }
}

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #000;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9);
}

.video[data-formato="vertical"] {
  aspect-ratio: 9 / 16;
  max-height: 80vh;
  margin: 0 auto;
}

.video-poster,
.video iframe,
.video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.video-poster {
  filter: brightness(.6) saturate(.9);
  transition: transform 1.2s var(--ease), filter .5s;
}

.video:hover .video-poster {
  transform: scale(1.03);
  filter: brightness(.7);
}

.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: none;
  cursor: pointer;
}

.video-play span {
  position: relative;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-grad);
  color: #1b1408;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .6);
  transition: transform .35s var(--ease);
}

.video-play span::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(214, 178, 106, .5);
  animation: ring 2.4s ease-out infinite;
}

.video-play:hover span {
  transform: scale(1.08);
}

.video-play svg {
  width: 30px;
  height: 30px;
  margin-left: 4px;
}

@keyframes ring {
  from { transform: scale(.9); opacity: 1; }
  to { transform: scale(1.4); opacity: 0; }
}

.video-soon {
  position: absolute;
  inset: auto 0 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(8, 7, 5, .9), transparent);
}

.video-soon p {
  margin-top: 6px;
  font-size: .86rem;
  color: rgba(244, 239, 230, .85);
}

/* --------------------------------------------------------------------------
   Acabamentos e bordas
   -------------------------------------------------------------------------- */

.finishes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 760px) {
  .finishes {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1100px) {
  .finishes {
    grid-template-columns: repeat(5, 1fr);
  }
}

.finish {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  transition: border-color .3s, transform .4s var(--ease);
}

.finish:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.tex {
  position: relative;
  aspect-ratio: 4 / 3;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.tex::before,
.tex::after {
  content: '';
  position: absolute;
  inset: 0;
}

.tex-polido::after {
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .5) 45%, rgba(255, 255, 255, .1) 52%, transparent 65%);
  transform: translateX(-30%);
  transition: transform 1.2s var(--ease);
}

.finish:hover .tex-polido::after {
  transform: translateX(30%);
}

.tex-polido {
  filter: contrast(1.1) saturate(1.1);
}

.tex-fosco {
  filter: contrast(.85) brightness(1.08) saturate(.8);
}

.tex-fosco::after {
  background: rgba(255, 255, 255, .08);
}

.tex-escovado::after {
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .12) 0 1px, transparent 1px 3px, rgba(0, 0, 0, .1) 3px 4px, transparent 4px 6px);
}

.tex-escovado {
  filter: contrast(.95) saturate(.85);
}

.tex-flameado {
  filter: grayscale(.3) contrast(1.15) brightness(.95);
}

.tex-flameado::after {
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 0, 0, .25) 0 6%, transparent 7%),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, .18) 0 8%, transparent 9%),
    radial-gradient(circle at 45% 80%, rgba(0, 0, 0, .2) 0 5%, transparent 6%),
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .15) 0 5%, transparent 6%);
  background-size: 60px 60px, 70px 70px, 50px 50px, 80px 80px;
  mix-blend-mode: overlay;
}

.tex-apicoado {
  filter: brightness(1.05) contrast(.9);
}

.tex-apicoado::after {
  background:
    radial-gradient(circle, rgba(0, 0, 0, .35) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255, 255, 255, .3) 0 1px, transparent 1.5px);
  background-size: 7px 7px, 9px 9px;
  background-position: 0 0, 3px 4px;
}

.finish-body {
  padding: 16px;
}

.finish-body h3 {
  font-size: .95rem;
  font-weight: 600;
}

.finish-body p {
  margin-top: 6px;
  font-size: .78rem;
  line-height: 1.5;
  color: var(--muted);
}

.edges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 760px) {
  .edges {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .edges {
    grid-template-columns: repeat(6, 1fr);
  }
}

.edge {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 20px 12px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  text-align: center;
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted);
  transition: border-color .3s, color .3s;
}

.edge svg {
  width: 100%;
  max-width: 120px;
  height: auto;
}

.edge path {
  fill: rgba(244, 239, 230, .08);
  stroke: rgba(244, 239, 230, .55);
  stroke-width: 1.5;
  stroke-linejoin: round;
  transition: fill .4s, stroke .4s;
}

.edge:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.edge:hover path {
  fill: rgba(214, 178, 106, .18);
  stroke: var(--gold);
}

/* --------------------------------------------------------------------------
   Cuidados
   -------------------------------------------------------------------------- */

.care {
  display: grid;
  gap: 14px;
}

@media (min-width: 960px) {
  .care {
    grid-template-columns: .9fr 1.6fr;
    gap: 18px;
  }
}

.care-drop {
  position: relative;
  padding: 32px 28px;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 80% 10%, rgba(214, 178, 106, .18), transparent 55%),
    var(--bg);
  overflow: hidden;
}

.care-drop-i {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--gold-grad);
  color: #1b1408;
  animation: drip 3s ease-in-out infinite;
}

.care-drop-i svg {
  width: 26px;
  height: 26px;
}

@keyframes drip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.care-drop h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
}

.care-drop p {
  margin-top: 10px;
  color: var(--muted);
  font-size: .92rem;
}

.care-drop strong {
  color: var(--text);
}

.care-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 600px) {
  .care-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.care-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.care-card svg {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(214, 178, 106, .1);
  color: var(--gold);
}

.care-card h3 {
  font-size: .95rem;
  font-weight: 600;
}

.care-card p {
  margin-top: 4px;
  font-size: .84rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-grid {
  display: grid;
  gap: 40px;
}

.faq-grid .btn {
  margin-top: 24px;
}

@media (min-width: 960px) {
  .faq-grid {
    grid-template-columns: .8fr 1.2fr;
    gap: 64px;
    align-items: start;
  }

  .faq-grid > div:first-child {
    position: sticky;
    top: calc(var(--nav-h) + 90px);
  }
}

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

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

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color .25s;
}

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

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

.faq summary i {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .25s, background .25s;
}

.faq summary i::before,
.faq summary i::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  margin: -.75px 0 0 -5px;
  background: currentColor;
  transition: transform .35s var(--ease);
}

.faq summary i::after {
  transform: rotate(90deg);
}

.faq details[open] summary i {
  border-color: var(--gold);
  background: var(--gold);
  color: #1b1408;
}

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

.faq-a {
  padding: 0 44px 22px 0;
  color: var(--muted);
  font-size: .92rem;
  animation: rise .4s var(--ease);
}

/* --------------------------------------------------------------------------
   Visita
   -------------------------------------------------------------------------- */

.sr-visit {
  text-align: left;
  padding: 120px 0;
}

.visit-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 960px) {
  .visit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.sr-visit h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.1;
  text-wrap: balance;
}

.visit-lead {
  margin-top: 16px;
  max-width: 44ch;
  color: rgba(244, 239, 230, .8);
}

.visit-card {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(11, 10, 8, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

@media (prefers-reduced-motion: reduce) {
  .mosaic-col,
  .care-drop-i,
  .video-play span::before {
    animation: none !important;
  }
}
