@import url("colors_and_type.css");

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-body);
}

img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1460px, calc(100vw - 64px));
  margin: 0 auto;
}

.section-pad {
  padding: 112px 0;
  scroll-margin-top: 154px;
}

.eyebrow,
.mono,
.panel-index,
.seal b,
.nav-bottom span,
.nav-tag span,
.field span,
.radio-group legend {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-700);
}

.eyebrow.on-dark {
  color: var(--gold-300);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.018em;
  color: var(--ink);
}

h1 {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 24px;
  font-size: clamp(56px, 8.7vw, 112px);
  line-height: 0.9;
}

h1 em,
h2 em {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--gold-700);
}

h2 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.98;
}

h3 {
  font-size: 28px;
  line-height: 1.05;
}

.lead {
  max-width: 58ch;
  margin: 28px 0 0;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.65;
  color: var(--stone-700);
}

.rule-lg,
.thin-rule,
.gold-thread {
  display: block;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--gold-600),
    var(--gold-500),
    transparent
  );
}

.rule-lg {
  width: 72px;
  margin-top: 34px;
}

.thin-rule {
  width: 100%;
  margin: 10px 0;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  padding: 0 48px;
  transition:
    background var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(244, 239, 230, 0.96);
  border-bottom-color: var(--stone-300);
}

.nav-shell {
  max-width: 1460px;
  margin: 0 auto;
  padding-top: 18px;
}

.nav-top {
  display: grid;
  grid-template-columns: 250px 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding-bottom: 14px;
}

.brand img {
  width: 224px;
  height: auto;
}

.nav-tag {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--stone-500);
}

.nav-tag span,
.nav-tag em {
  color: var(--gold-700);
}

.nav-bottom {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 14px 0 18px;
}

.nav-bottom a {
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.nav-bottom a::after,
.ghost-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: var(--gold-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms var(--ease-out);
}

.nav-bottom a:hover,
.nav-bottom a.is-active {
  color: var(--gold-700);
}
.nav-bottom a:hover::after,
.nav-bottom a.is-active::after {
  transform: scaleX(1);
}

.nav-bottom span {
  font-size: 9px;
  color: var(--gold-700);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 4px;
  right: 4px;
  height: 1px;
  background: var(--ink);
}

.nav-toggle span:first-child {
  top: 10px;
}
.nav-toggle span:nth-child(2) {
  top: 20px;
  background: var(--gold-600);
}
.nav-toggle b {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.mobile-menu {
  display: none;
  padding: 18px 0 26px;
}

/* Buttons */
.sample {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  width: fit-content;
  border: 1px solid var(--stone-300);
  padding: 10px 18px 10px 10px;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color var(--dur-slow) var(--ease-out),
    opacity var(--dur) var(--ease-out);
}

.sample:hover {
  border-color: var(--gold-600);
}
.sample:active {
  opacity: 0.85;
}

.sample-chip {
  position: relative;
  width: 42px;
  height: 36px;
  flex: 0 0 42px;
}

.sample-chip span {
  position: absolute;
  width: 36px;
  height: 16px;
  transition:
    background var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}

.sample-chip span:first-child {
  top: 0;
  left: 0;
  background: var(--ink);
}

.sample-chip span:nth-child(2) {
  top: 18px;
  left: 6px;
  background: var(--gold-700);
}

.sample-chip::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  top: 17px;
  height: 1px;
  background: var(--gold-500);
  transform: rotate(-2deg);
}

.sample:hover .sample-chip span:first-child {
  background: var(--gold-700);
}
.sample:hover .sample-chip span:nth-child(2) {
  background: var(--ink);
  transform: translateX(-3px);
}

.sample-copy {
  display: grid;
  gap: 2px;
  text-align: left;
  line-height: 1;
}

.sample-copy small {
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-700);
}

.sample-copy strong,
.sample-arrow {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.1;
  color: var(--ink);
  white-space: nowrap;
}

.sample-arrow {
  font-style: normal;
  font-weight: 300;
  color: var(--gold-700);
  transition: transform var(--dur-slow) var(--ease-out);
}

.sample:hover .sample-arrow {
  transform: translateX(5px);
}

.sample-compact {
  padding: 7px 12px 7px 7px;
  gap: 12px;
}

.sample-compact .sample-chip {
  width: 32px;
  height: 26px;
  flex-basis: 32px;
}

.sample-compact .sample-chip span {
  width: 26px;
  height: 11px;
}

.sample-compact .sample-chip span:nth-child(2) {
  top: 13px;
  left: 6px;
}

.sample-compact .sample-chip::after {
  top: 12px;
}
.sample-compact .sample-copy strong {
  font-size: 13px;
}
.sample-compact .sample-copy small {
  font-size: 7px;
}

.sample-hero {
  padding: 14px 22px 14px 14px;
  gap: 22px;
}

.sample-hero .sample-chip {
  width: 52px;
  height: 46px;
  flex-basis: 52px;
}

.sample-hero .sample-chip span {
  width: 46px;
  height: 21px;
}

.sample-hero .sample-chip span:nth-child(2) {
  top: 23px;
  left: 8px;
}

.sample-hero .sample-chip::after {
  top: 22px;
}
.sample-hero .sample-copy strong {
  font-size: 18px;
}

.sample-secondary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  padding: 6px 10px 6px 6px;
  color: var(--ink);
  text-decoration: none;
}

.secondary-chip {
  position: relative;
  width: 34px;
  height: 28px;
  flex: 0 0 34px;
}

.secondary-chip span {
  position: absolute;
  width: 28px;
  height: 12px;
  border: 1px solid var(--stone-700);
  transition:
    background var(--dur-slow) var(--ease-out),
    border-color var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}

.secondary-chip span:first-child {
  top: 0;
  left: 0;
}

.secondary-chip span:nth-child(2) {
  top: 14px;
  left: 6px;
}

.secondary-chip::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 13px;
  height: 1px;
  background: var(--gold-600);
  transform: rotate(-2deg);
}

.sample-secondary > span:not(.secondary-chip),
.sample-secondary i {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.1;
}

.sample-secondary i {
  font-style: normal;
  font-weight: 300;
  color: var(--gold-700);
  transition: transform var(--dur-slow) var(--ease-out);
}

.sample-secondary:hover .secondary-chip span:first-child {
  background: var(--ink);
  border-color: var(--ink);
}

.sample-secondary:hover .secondary-chip span:nth-child(2) {
  background: var(--gold-700);
  border-color: var(--gold-700);
}

.sample-secondary:hover > span:not(.secondary-chip) {
  color: var(--gold-700);
}
.sample-secondary:hover i {
  transform: translateX(6px);
}

.ghost-link {
  position: relative;
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
  padding: 9px 0;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink);
  text-decoration: none;
}

.ghost-link::after {
  transform: scaleX(1);
}
.ghost-link:hover {
  color: var(--gold-700);
}

.double-face {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  padding: 8px 14px 8px 8px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
}

.face-pair {
  display: flex;
  gap: 2px;
  flex: 0 0 auto;
}

.face-pair i {
  display: block;
  width: 18px;
  height: 32px;
  transition: background var(--dur-slow) var(--ease-out);
}

.face-pair i:first-child {
  background: var(--ink);
}
.face-pair i:nth-child(2) {
  background: var(--gold-700);
}

.double-face:hover .face-pair i:first-child {
  background: var(--gold-700);
}
.double-face:hover .face-pair i:nth-child(2) {
  background: var(--ink);
}

/* Hero */
.hero {
  /* Primeira dobra coesa: header (140px) + conteúdo dentro de ~100svh */
  padding-top: 172px;
  padding-bottom: 36px;
}

/* Headline e apoios do hero em escala que compõe com a galeria na dobra */
.hero-copy h1 {
  font-size: clamp(46px, 4.9vw, 78px);
  gap: 4px;
  margin-top: 16px;
}

.hero-copy .rule-lg {
  margin-top: 24px;
}

.hero-copy .lead {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.55;
}

.hero-copy .action-row {
  margin-top: 26px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 1.08fr);
  gap: 44px;
  align-items: center;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-top: 42px;
}

.stone-hero,
.stone-swatch {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.stone-hero {
  aspect-ratio: 4 / 5;
  margin: 0;
  background:
    radial-gradient(
      ellipse at 28% 36%,
      rgba(168, 130, 58, 0.38),
      transparent 48%
    ),
    radial-gradient(
      ellipse at 74% 74%,
      rgba(74, 69, 61, 0.32),
      transparent 56%
    ),
    linear-gradient(160deg, #f0ebdf 0%, #ddd0b8 36%, #a89060 82%);
}

.stone-hero::after,
.edition::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(244, 239, 230, 0.34);
  pointer-events: none;
}

.stone-hero .seal {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
}

.stone-hero figcaption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 30px;
  z-index: 2;
  color: var(--bone);
}

.stone-hero figcaption strong,
.fault-name {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.98;
}

.stone-hero figcaption strong {
  font-size: 56px;
}

.stone-hero figcaption span {
  display: block;
  margin-top: 12px;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-300);
}

/* Materials */
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 66px;
}

.head-note,
.system-note {
  margin: 0;
  max-width: 52ch;
  color: var(--stone-500);
  line-height: 1.65;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  border-bottom: 1px solid var(--stone-300);
}

.filter-tabs button {
  border: 0;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  padding: 12px 14px;
  background: transparent;
  color: var(--stone-500);
  font-family: var(--font-display);
  font-style: italic;
  cursor: pointer;
}

.filter-tabs button.active {
  color: var(--gold-700);
  border-color: var(--gold-600);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
}

.material-card {
  min-width: 0;
}

.material-card.is-hidden {
  display: none;
}

.plate .stone-swatch {
  aspect-ratio: 4 / 5;
}

.taj {
  background:
    radial-gradient(
      ellipse at 50% 50%,
      rgba(168, 130, 58, 0.35),
      transparent 54%
    ),
    linear-gradient(135deg, #e8ddc8 0%, #c9b991 35%, #b8a47c 70%, #d8c9a8 100%);
}

.calacatta {
  background:
    radial-gradient(
      ellipse at 64% 32%,
      rgba(124, 116, 104, 0.18),
      transparent 42%
    ),
    linear-gradient(160deg, #f0ebdf 0%, #ddd0b8 40%, #b8a07c 80%);
}

.preto {
  background:
    radial-gradient(
      ellipse at 60% 30%,
      rgba(244, 239, 230, 0.16),
      transparent 42%
    ),
    radial-gradient(
      ellipse at 25% 75%,
      rgba(200, 162, 75, 0.12),
      transparent 45%
    ),
    linear-gradient(150deg, #2a2620 0%, #4a453d 35%, #2a2620 70%, #1f1b16 100%);
}

.material-foot {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 16px;
  padding-bottom: 4px;
  border-top: 1px solid var(--ink);
}

.material-title,
.specimen-head {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.material-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.cat {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 12px;
  color: var(--gold-700);
}

.fault-name {
  font-size: 28px;
  position: relative;
  display: inline-block;
  width: max-content;
  max-width: 100%;
  isolation: isolate;
  overflow: visible;
  font-family: var(--font-display);
  font-weight: 700;
  font-variation-settings:
    "opsz" 96,
    "WONK" 1;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.fault-name .top,
.fault-name .bot {
  display: block;
  line-height: 0.95;
  white-space: normal;
}

.fault-name .top {
  position: relative;
  z-index: 2;
  clip-path: polygon(0 0, 100% 0, 100% 50%, 0 54%);
}

.fault-name .bot {
  position: absolute;
  inset: 0;
  z-index: 1;
  clip-path: polygon(0 54%, 100% 50%, 100% 100%, 0 100%);
  color: var(--gold-700);
  transform: translate(2.5px, 1.5px);
  font-style: italic;
  font-weight: 600;
}

.fault-name::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--gold-600) 0%,
    var(--gold-500) 50%,
    var(--gold-600) 100%
  );
  transform: translateY(-0.5px) rotate(-0.5deg);
  z-index: 3;
}

.fault-name.dark {
  color: var(--bone);
}

.fault-name.dark .top {
  color: var(--bone);
}
.fault-name.dark .bot {
  color: var(--gold-300);
}
.fault-name.dark::after {
  background: linear-gradient(
    90deg,
    var(--gold-400) 0%,
    var(--gold-300) 50%,
    var(--gold-400) 100%
  );
}

.fault-name.sm {
  font-size: 21px;
}
.fault-name.sm .bot {
  transform: translate(2px, 1.2px);
}

.edition {
  position: relative;
  min-height: 100%;
  aspect-ratio: 3 / 4;
  padding: 24px;
  background: var(--ink);
  color: var(--bone);
}

.edition .stone-swatch {
  position: absolute;
  inset: 0;
  opacity: 0.68;
  transition:
    opacity 600ms var(--ease-out),
    filter 600ms var(--ease-out);
}

.edition:hover .stone-swatch {
  opacity: 0.82;
  filter: brightness(1.04);
}

.edition-top {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.edition .cat {
  color: var(--gold-300);
}

.edition-copy {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.edition-copy .mono {
  color: rgba(244, 239, 230, 0.68);
  font-size: 9px;
}

.specimen {
  min-height: 100%;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  background: var(--cream);
  transition: background var(--dur-slow) var(--ease-out);
}

.specimen:hover {
  background: var(--bone);
}

.specimen-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 18px 20px;
}

.specimen dl,
.stationery-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 12px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.5;
}

.specimen dt,
.stationery-card dt {
  color: var(--stone-500);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 8.5px;
}

.specimen dd,
.stationery-card dd {
  margin: 0;
}

.specimen-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--stone-300);
}

.specimen-foot > span:first-child {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 11px;
  color: var(--stone-500);
}

.system-note {
  margin-top: 28px;
  font-size: 13px;
}

/* Seal and status */
.seal {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  padding: 6px 12px 6px 6px;
  color: var(--ink);
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

.seal.dark {
  color: var(--bone);
}
.seal.gold {
  color: var(--gold-700);
}
.seal.gold .seal-chip i:first-child {
  background: var(--gold-700);
}
.seal.gold .seal-chip i:nth-child(2) {
  background: var(--ink);
}

.seal-chip {
  position: relative;
  width: 32px;
  height: 24px;
  flex: 0 0 32px;
}

.seal-chip i {
  position: absolute;
  width: 24px;
  height: 9px;
  background: currentColor;
}

.seal-chip i:first-child {
  top: 1px;
  left: 0;
}
.seal-chip i:nth-child(2) {
  top: 13px;
  left: 6px;
  background: var(--gold-700);
}

.seal.dark .seal-chip i:nth-child(2) {
  background: var(--gold-400);
}

.seal-chip::after {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  top: 11px;
  height: 1px;
  background: var(--gold-500);
  transform: rotate(-2deg);
}

.seal-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.seal-body strong {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.1;
}

.seal b {
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  font-size: 8px;
  line-height: 1;
  color: var(--gold-700);
}

.seal-body b:only-child {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 11px;
  color: currentColor;
}

/* Process */
.process-section {
  background: var(--cream);
}

.process-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 72px;
}

.section-nav {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--stone-300);
  align-self: start;
}

.section-nav a {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 8px;
  padding: 14px 0 14px 18px;
  border-left: 1px solid transparent;
  margin-left: -1px;
  color: var(--stone-500);
  text-decoration: none;
  font-family: var(--font-display);
  font-style: italic;
}

.section-nav span,
.steps-grid span {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 10px;
  color: var(--gold-700);
  letter-spacing: 0.18em;
}

.section-nav a.active,
.section-nav a:hover {
  border-left-color: var(--gold-600);
  color: var(--ink);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin-top: 58px;
}

.steps-grid article {
  border-top: 1px solid var(--gold-600);
  padding-top: 18px;
}

.steps-grid h3 {
  margin-top: 14px;
  font-style: italic;
  color: var(--gold-700);
}

.steps-grid p {
  margin: 12px 0 0;
  color: var(--stone-700);
  line-height: 1.6;
}

/* Components */
.component-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.component-panel {
  min-height: 330px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  background: var(--bone);
  border: 1px solid var(--stone-300);
}

.panel-index {
  font-size: 9px;
  color: var(--gold-700);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
}

.category-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
  font-variation-settings:
    "opsz" 48,
    "WONK" 1;
  color: var(--ink);
}

.category-tag::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  background: var(--gold-600);
  transform: translateY(-3px);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--stone-700);
}

.status i {
  position: relative;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border: 1px solid currentColor;
}

.status.av {
  color: #3f5c4b;
}
.status.av i {
  background: #3f5c4b;
  border-color: #3f5c4b;
}

.status.re {
  color: #7a5c20;
}
.status.re i {
  border-color: #a8823a;
}
.status.re i::after {
  content: "";
  position: absolute;
  inset: 1.5px;
  background: #a8823a;
}

.status.es {
  color: #6b2a20;
}
.status.es i::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 50%;
  height: 1px;
  background: currentColor;
  transform: rotate(-22deg);
}

.status.np {
  color: var(--petrol-700);
}

/* Forms */
.field {
  position: relative;
  display: grid;
  gap: 0;
  padding-bottom: 14px;
}

.field::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  height: 1px;
  background: var(--gold-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 600ms var(--ease-out);
  pointer-events: none;
}

.field:focus-within::after {
  transform: scaleX(1);
}

.field-label {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 12px;
}

.field-label em {
  font-family: var(--font-mono);
  font-size: 10px;
  font-style: normal;
  color: var(--gold-700);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.field-label b {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  color: var(--stone-500);
  letter-spacing: 0;
  text-transform: lowercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--stone-300);
  border-radius: 0;
  padding: 6px 0 14px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  font-style: normal;
  line-height: 1.25;
  letter-spacing: -0.012em;
  font-variation-settings:
    "opsz" 36,
    "WONK" 1;
  outline: none;
  transition: border-color var(--dur-slow) var(--ease-out);
}

.field textarea {
  min-height: 92px;
  padding-top: 12px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: transparent;
}

.field-hover input:hover,
.field-hover select:hover,
.field-hover textarea:hover {
  border-bottom-color: var(--ink);
}

.form-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--gold-700);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.form-eyebrow span:nth-child(2) {
  flex: 1 1 auto;
  height: 1px;
  background: var(--gold-600);
  opacity: 0.45;
}

.check,
.radio {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 56ch;
  color: var(--stone-700);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.55;
  cursor: pointer;
}

.check input,
.radio input {
  position: absolute;
  opacity: 0;
}

.check span,
.radio span {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 18px;
  margin-top: 3px;
}

.check i,
.radio i {
  position: absolute;
  width: 18px;
  height: 7px;
  border: 1px solid var(--ink);
  transition:
    background var(--dur-slow) var(--ease-out),
    border-color var(--dur-slow) var(--ease-out);
}

.check i:first-child,
.radio i:first-child {
  top: 0;
  left: 0;
}
.check i:nth-child(2),
.radio i:nth-child(2) {
  top: 9px;
  left: 4px;
  border-color: var(--stone-300);
}

.check span::after,
.radio span::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 8px;
  height: 1px;
  background: var(--gold-500);
  transform: rotate(-2deg);
  opacity: 0.55;
}

.check input:checked + span i:first-child,
.radio input:checked + span i:first-child {
  background: var(--ink);
}
.check input:checked + span i:nth-child(2),
.radio input:checked + span i:nth-child(2) {
  background: var(--gold-700);
  border-color: var(--gold-700);
}
.check input:checked + span::after,
.radio input:checked + span::after {
  opacity: 1;
}

.scale-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--stone-300);
}

.scale-row-radio {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--stone-300);
  cursor: pointer;
  transition: padding-left var(--dur-slow) var(--ease-out);
}

.scale-row-radio input {
  position: absolute;
  opacity: 0;
}

.scale-row-radio .marker {
  width: 32px;
  flex: 0 0 32px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--stone-500);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.scale-row-radio .label {
  flex: 1 1 auto;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.012em;
  color: var(--stone-700);
  font-variation-settings:
    "opsz" 36,
    "WONK" 1;
}

.scale-row-radio .check-mark {
  position: relative;
  width: 22px;
  height: 18px;
  flex: 0 0 22px;
}

.scale-row-radio .check-mark i {
  position: absolute;
  width: 18px;
  height: 7px;
  border: 1px solid var(--stone-300);
}

.scale-row-radio .check-mark i:first-child {
  top: 0;
  left: 0;
}
.scale-row-radio .check-mark i:nth-child(2) {
  top: 9px;
  left: 4px;
}

.scale-row-radio .check-mark::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 8px;
  height: 1px;
  background: var(--gold-500);
  opacity: 0;
  transform: rotate(-2deg);
}

.scale-row-radio:hover .label {
  color: var(--ink);
}
.scale-row-radio:hover .check-mark i:first-child {
  border-color: var(--ink);
}
.scale-row-radio:hover .check-mark i:nth-child(2) {
  border-color: var(--gold-700);
}

.scale-row-radio.selected {
  padding-left: 16px;
}

.scale-row-radio.selected::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold-600);
}

.scale-row-radio.selected .marker {
  color: var(--gold-700);
}
.scale-row-radio.selected .label {
  color: var(--ink);
  font-style: italic;
  font-weight: 600;
}

.scale-row-radio.selected .check-mark i:first-child {
  background: var(--ink);
  border-color: var(--ink);
}

.scale-row-radio.selected .check-mark i:nth-child(2) {
  background: var(--gold-700);
  border-color: var(--gold-700);
}

.scale-row-radio.selected .check-mark::after {
  opacity: 1;
}

.submit-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding-top: 32px;
  border-top: 1px solid var(--stone-300);
  flex-wrap: wrap;
}

.submit-note {
  max-width: 42ch;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  color: var(--stone-500);
  line-height: 1.55;
}

/* Applications */
.application-section,
.site-footer {
  background: var(--petrol-900);
  color: var(--bone);
}

.application-section h2 {
  color: var(--bone);
}
.application-section h2 em {
  color: var(--gold-300);
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 58px;
}

.brand-card,
.stationery-card {
  min-height: 240px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(232, 203, 137, 0.28);
}

.brand-card.light {
  background: var(--bone);
  color: var(--ink);
}

.brand-card.dark,
.stationery-card {
  background: linear-gradient(180deg, var(--petrol-800), #0a1f28);
  color: var(--bone);
}

.brand-card.mark {
  background: var(--cream);
  color: var(--ink);
}

.brand-card.mark img:first-child {
  width: 84px;
}
.brand-card.mark img:nth-child(2) {
  width: 72px;
}

.brand-card span {
  font-family: var(--font-display);
  font-style: italic;
  color: currentColor;
}

.stationery-card strong {
  display: block;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 28px;
  font-style: italic;
  color: var(--gold-300);
}

.stationery-card p {
  color: rgba(244, 239, 230, 0.74);
  line-height: 1.6;
}

/* Consultation */
.consult-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(380px, 1fr);
  gap: 72px;
  align-items: start;
}

.consult-form {
  display: grid;
  gap: 24px;
  padding: 32px;
  background: var(--cream);
  border: 1px solid var(--stone-300);
}

.radio-group {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 12px;
}

.radio-group legend {
  margin-bottom: 4px;
}

.form-message {
  margin: 0;
  color: var(--gold-700);
  font-family: var(--font-display);
  font-style: italic;
}

/* Footer */
.site-footer {
  padding: 72px 0 36px;
  border-top: 1px solid rgba(232, 203, 137, 0.22);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.9fr 0.9fr;
  gap: 48px;
}

.footer-grid img {
  width: 260px;
}

.footer-grid p,
.footer-grid a {
  display: block;
  margin: 16px 0 0;
  color: rgba(244, 239, 230, 0.72);
  text-decoration: none;
  line-height: 1.65;
}

/* Responsive */
@media (max-width: 1040px) {
  .site-header {
    padding: 0 24px;
  }
  .nav-top {
    grid-template-columns: 210px 1fr auto;
  }
  .nav-top > .sample {
    display: none;
  }
  .hero-grid,
  .consult-grid {
    grid-template-columns: 1fr;
  }
  .materials-grid,
  .component-grid,
  .application-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .section-nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100vw - 32px, 1240px);
  }
  .section-pad {
    padding: 82px 0;
  }
  .hero {
    padding-top: 150px;
  }
  .nav-top {
    grid-template-columns: 1fr auto;
  }
  .brand img {
    width: 178px;
  }
  .nav-tag,
  .nav-bottom {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .site-header.is-open .mobile-menu {
    display: grid;
    gap: 12px;
  }
  .mobile-menu a {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 10px;
    padding: 8px 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-style: italic;
    text-decoration: none;
  }
  .mobile-menu span {
    font-family: var(--font-mono);
    font-style: normal;
    font-size: 10px;
    color: var(--gold-700);
    letter-spacing: 0.18em;
  }
  .section-head {
    display: grid;
    margin-bottom: 42px;
  }
  .materials-grid,
  .component-grid,
  .application-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .specimen {
    grid-template-columns: 96px 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .consult-form {
    padding: 24px;
  }
  .sample-copy strong {
    white-space: normal;
  }
}

/* =========================================================
   Crivo — produção com conteúdo real
   Mantém a sintaxe do HML aprovado e troca swatches por rochas reais.
   ========================================================= */

body {
  min-width: 320px;
}

.body-note {
  max-width: 68ch;
  margin: 22px 0 0;
  color: var(--stone-700);
  line-height: 1.75;
}

.real-stone img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.real-stone::before,
.stone-swatch::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.real-stone::before {
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(15, 42, 53, 0.08) 0%,
    rgba(15, 42, 53, 0.64) 100%
  );
}

.stone-swatch::after {
  background: linear-gradient(
    180deg,
    rgba(15, 42, 53, 0.02) 0%,
    rgba(15, 42, 53, 0.18) 100%
  );
}

.plate .stone-swatch::after,
.specimen .stone-swatch::after {
  border: 1px solid rgba(26, 31, 36, 0.08);
}

#hero-3d {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: auto;
}

#hero-3d canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.paramount {
  background-image: url("assets/rocks/quartzito-paramount.webp");
  background-position: 50% 50%;
}

.kalahary {
  background-image: url("assets/rocks/quartzito-kalahary-blue.webp");
  background-position: 58% 50%;
}

.matarazzo {
  background-image: url("assets/rocks/marmore-matarazzo.webp");
  background-position: 50% 50%;
}

.super-white {
  background-image: url("assets/rocks/marmore-dolomitico-super-white.webp");
  background-position: 50% 46%;
}

.sao-gabriel {
  background-image: url("assets/rocks/granito-sao-gabriel.webp");
  background-position: 50% 50%;
}

.infinity-white {
  background-image: url("assets/rocks/quartzo-infinity-white.jpeg");
  background-position: 50% 50%;
}

.laguna-bay {
  background-image: url("assets/rocks/lamina-verde-laguna-bay.webp");
  background-position: 50% 50%;
}

.botanic-soapstone {
  background-image: url("assets/rocks/soapstone-botanic.webp");
  background-position: 50% 50%;
}

.patagonia-oro {
  background-image: url("assets/rocks/quartzito-patagonia-oro.webp");
  background-position: 50% 50%;
}

.about-section,
.learn-section {
  background: var(--bone);
}

.represent-section {
  background: var(--cream);
}

.represent-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 0.8fr));
  gap: 28px;
  align-items: stretch;
}

.represent-feature {
  grid-row: span 2;
  display: grid;
  grid-template-rows: minmax(260px, 1fr) auto;
  min-height: 100%;
  background: var(--bone);
  border: 1px solid var(--stone-300);
}

.represent-feature .stone-swatch {
  min-height: 360px;
}

.represent-copy {
  display: grid;
  gap: 14px;
  padding: 30px;
}

.represent-copy h3,
.compact-panel h3,
.learn-card h3 {
  font-style: italic;
  color: var(--gold-700);
}

.represent-copy p,
.compact-panel p,
.learn-card p,
.recommendation-card p {
  margin: 0;
  color: var(--stone-700);
  line-height: 1.65;
}

.compact-panel {
  min-height: 260px;
  justify-content: flex-start;
}

.five-steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.learn-card {
  min-height: 286px;
  justify-content: flex-start;
}

.media-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(232, 203, 137, 0.08), transparent 42%),
    var(--bone);
}

.media-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(168, 130, 58, 0.54),
    transparent
  );
  pointer-events: none;
}

.media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 0.85fr));
  gap: 28px;
  align-items: stretch;
}

.media-card {
  min-height: 100%;
  justify-content: flex-start;
  gap: 18px;
  padding: 18px;
  background: var(--cream);
  box-shadow: 0 24px 70px rgba(15, 42, 53, 0.08);
}

.media-card-feature {
  grid-row: span 2;
}

.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  min-height: 280px;
  background: var(--petrol-900);
  border: 1px solid rgba(168, 130, 58, 0.28);
  isolation: isolate;
}

.media-card:not(.media-card-feature) .media-frame {
  aspect-ratio: 16 / 11;
  min-height: 176px;
}

.media-frame video,
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.02);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15, 42, 53, 0.02), rgba(15, 42, 53, 0.32)),
    linear-gradient(135deg, rgba(232, 203, 137, 0.18), transparent 38%);
}

.media-card h3 {
  font-style: italic;
  color: var(--gold-700);
}

.media-card p {
  margin: 0;
  color: var(--stone-700);
  line-height: 1.65;
}

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

.recommendation-card strong {
  display: block;
  margin: 18px 0 14px;
  font-family: var(--font-display);
  font-size: 25px;
  font-style: italic;
  line-height: 1.12;
  color: var(--gold-300);
}

.recommendation-card p {
  color: rgba(244, 239, 230, 0.76);
}

.brand-card.dark.recommendation-card .mono {
  color: var(--gold-300);
}

.catalogue-grid {
  align-items: stretch;
}

.catalogue-grid .material-card {
  min-height: 100%;
}

.consult-section {
  background: var(--bone);
}

.consult-form input,
.consult-form select,
.consult-form textarea {
  min-height: 44px;
}

.form-message[hidden] {
  display: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(232, 203, 137, 0.18);
  color: rgba(244, 239, 230, 0.58);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (max-width: 1040px) {
  .represent-grid,
  .recommendation-grid,
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .represent-feature,
  .media-card-feature {
    grid-column: 1 / -1;
  }

  .media-card-feature {
    grid-row: auto;
  }

  .five-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .represent-grid,
  .recommendation-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .represent-feature .stone-swatch,
  .media-frame,
  .media-card:not(.media-card-feature) .media-frame {
    min-height: 240px;
  }

  .media-card {
    padding: 16px;
  }

  .five-steps {
    grid-template-columns: 1fr;
  }

  .filter-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .filter-tabs button {
    white-space: nowrap;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .media-frame,
  .media-card:not(.media-card-feature) .media-frame {
    aspect-ratio: 4 / 5;
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .media-frame video {
    opacity: 0;
  }

  .media-frame {
    background-size: cover;
    background-position: center;
  }

  .media-card-feature .media-frame {
    background-image: url("assets/rocks/quartzito-paramount.webp");
  }

  .media-card:nth-child(2) .media-frame {
    background-image: url("assets/rocks/quartzito-kalahary-blue.webp");
  }

  .media-card:nth-child(3) .media-frame {
    background-image: url("assets/rocks/marmore-matarazzo.webp");
  }

  .media-card:nth-child(4) .media-frame {
    background-image: url("assets/rocks/quartzito-patagonia-oro.webp");
  }

  .media-card:nth-child(5) .media-frame {
    background-image: url("assets/rocks/soapstone-botanic.webp");
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  min-height: 100vh;
  gap: 48px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 680px;
  overflow: hidden;
}

#hero-3d {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 680px;
  background: transparent;
}

#hero-3d canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
  }

  #hero-3d {
    min-height: 420px;
  }
}
