/* =========================================================================
   MARKEN FASSI — Sistema de design (site público)
   Luxo editorial artesanal · Cormorant Garamond + Jost · neutros quentes
   ========================================================================= */

:root {
  --cream: #faf7f2;
  --paper: #ffffff;
  --bone: #f2ece3;
  --bone-deep: #ebe3d6;
  --ink: #2b2724;
  --ink-2: #3c362f;
  --ink-soft: #5a524a;
  --muted: #8c8275;
  --sand: #b9a88f;
  --line: #e7e0d6;
  --line-2: #ddd3c4;
  --gold: #a6794c;
  --gold-deep: #8a5e37;
  --gold-soft: #c9a876;
  /* Acento principal = VERDE (verde+branco predominam; dourado fica só em filetes sutis). */
  --accent: #3f6b4a;
  --accent-deep: #2f5238;
  /* Verde de marca (sálvia/eucalipto, amostrado do logo #56755C) */
  --sage: #56755c;
  --forest: #3c503f;
  --forest-deep: #324233;
  --sage-soft: #eaefe6;
  --sage-line: #cfd8c9;
  --shadow: rgba(43, 39, 36, 0.1);
  --shadow-lg: rgba(43, 39, 36, 0.18);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, sans-serif;
  --maxw: 1240px;
  --gut: 24px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button {
  font-family: inherit;
}
[x-cloak] {
  display: none !important;
}
::selection {
  background: var(--gold);
  color: var(--cream);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  margin: 0;
  color: var(--ink);
  letter-spacing: 0.2px;
}
.display {
  font-size: clamp(2.8rem, 6.5vw, 5.4rem);
  font-weight: 500;
  letter-spacing: 0.4px;
}
.display-xl {
  font-size: clamp(3.4rem, 10vw, 8rem);
  line-height: 0.96;
  font-weight: 500;
}
h2.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
}
em,
.italic {
  font-style: italic;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
}
.container-wide {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 var(--gut);
}
.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gut);
}
section {
  position: relative;
}
.section {
  padding: clamp(4rem, 9vw, 8rem) 0;
}
.section-sm {
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.bg-bone {
  background: var(--bone);
}
.bg-sage-soft {
  background: var(--sage-soft);
}
.bg-paper {
  background: var(--paper);
}
.bg-ink {
  background: var(--forest);
  color: #e7ece3;
}
.bg-ink h1,
.bg-ink h2,
.bg-ink h3 {
  color: var(--cream);
}

/* ---- Eyebrow / labels ---- */
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.2rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.center {
  justify-content: center;
}
.eyebrow.no-line::before {
  display: none;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 54ch;
}
.muted {
  color: var(--muted);
}
.section-head {
  max-width: 60ch;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.model-pieces {
  margin-bottom: 3.4rem;
}
.model-pieces-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 0 0 1.6rem;
}
.model-pieces-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
/* Cabeçalho de linha + carrossel lateral */
.row-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.row-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-top: 0.6rem;
  max-width: 48ch;
}
.row-head-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.carousel-nav {
  display: flex;
  gap: 0.5rem;
}
.cnav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: none;
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.2s;
}
.cnav:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.h-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.h-carousel::-webkit-scrollbar {
  height: 5px;
}
.h-carousel::-webkit-scrollbar-thumb {
  background: var(--line-2);
  border-radius: 4px;
}
.h-carousel > .card {
  flex: 0 0 clamp(240px, 28vw, 310px);
  scroll-snap-align: start;
}
/* Carrossel full-width estilo Netflix (sem barra de rolagem) */
.novidades {
  position: relative;
}
.nflix {
  display: flex;
  gap: 1.4rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1.9rem max(var(--gut), calc((100% - var(--maxw)) / 2 + var(--gut)))
    2.8rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.nflix::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.nflix > .card {
  flex: 0 0 clamp(238px, 22vw, 316px);
  position: relative;
  transform-origin: center;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.nflix > .card:hover {
  transform: scale(1.04);
  z-index: 3;
  box-shadow: 0 14px 32px rgba(43, 39, 36, 0.16);
}
/* Essências — imagem + texto alternado */
.essence-rows {
  display: flex;
  flex-direction: column;
}
.essence-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(2.4rem, 5vw, 4.4rem) 0;
  border-bottom: 1px solid var(--line);
}
.essence-row:last-child {
  border-bottom: 0;
}
.essence-row.reverse .essence-figure {
  order: 2;
}
.essence-figure img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
  border-radius: 2px;
}
.essence-name {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  color: var(--ink);
  margin: 0.3rem 0 0.6rem;
}
.essence-thread {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.essence-desc {
  color: var(--ink-soft);
  max-width: 50ch;
  margin-bottom: 1.4rem;
  line-height: 1.8;
}
.about-story {
  max-width: 780px;
  margin: 2.8rem auto 0;
}
.about-story p {
  font-size: 1.06rem;
  color: var(--ink-soft);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

/* ---- Scallop divider (eco do bordado inglês) ---- */
.scallop {
  height: 14px;
  width: 100%;
  color: var(--sage-line);
  background-image: radial-gradient(
    circle at 7px 0,
    transparent 6px,
    currentColor 6px 7px,
    transparent 7px
  );
  background-size: 14px 14px;
  background-repeat: repeat-x;
  opacity: 0.8;
}
.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}
.rule-gold {
  height: 1px;
  width: 60px;
  background: var(--gold);
  border: 0;
}

/* ---- Buttons ---- */
.btn {
  --bg: transparent;
  --fg: var(--ink);
  --bd: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  cursor: pointer;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--bd);
  border-radius: 1px;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn:hover {
  --bg: var(--ink);
  --fg: var(--cream);
  --bd: var(--ink);
}
.btn-primary {
  --bg: var(--ink);
  --fg: var(--cream);
  --bd: var(--ink);
}
.btn-primary:hover {
  --bg: var(--accent);
  --bd: var(--accent);
}
.btn-gold {
  --bg: var(--accent);
  --fg: #fff;
  --bd: var(--accent);
}
.btn-gold:hover {
  --bg: var(--ink);
  --bd: var(--ink);
}
.btn-light {
  --bg: transparent;
  --fg: var(--cream);
  --bd: rgba(255, 255, 255, 0.5);
}
.btn-light:hover {
  --bg: var(--cream);
  --fg: var(--ink);
  --bd: var(--cream);
}
.btn-sm {
  padding: 0.62rem 1.2rem;
  font-size: 0.7rem;
}
.btn-block {
  display: flex;
  width: 100%;
  justify-content: center;
}
.link-arrow {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ink);
  transition: 0.3s var(--ease);
}
.link-arrow:hover {
  color: var(--accent);
  border-color: var(--accent);
  gap: 1rem;
}

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  border-top: 4px solid var(--sage);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s var(--ease);
}
/* Linha 1 — utilidades · logo central · busca */
.header-top-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem var(--gut);
  transition: padding 0.35s var(--ease);
}
.is-scrolled .header-top-inner {
  padding: 0.7rem var(--gut);
}
.header-left {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.brand {
  justify-self: center;
  display: block;
  line-height: 1;
}
.brand-logo {
  height: 60px;
  width: auto;
  display: block;
  transition: height 0.35s var(--ease);
}
.is-scrolled .brand-logo {
  height: 42px;
}
.brand-word {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink);
  text-align: center;
}
.brand-since {
  font-size: 0.58rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 4px;
  text-align: center;
}
.footer-logo {
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  margin-bottom: 0.4rem;
}
/* Busca */
.header-search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border-bottom: 1px solid var(--line);
  padding: 0.35rem 0.2rem;
  min-width: 210px;
  transition: border-color 0.25s;
}
.header-search:focus-within {
  border-color: var(--accent);
}
.header-search input {
  flex: 1;
  border: 0;
  background: none;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--ink);
  outline: none;
}
.header-search input::placeholder {
  color: var(--muted);
}
.header-search button {
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--ink-soft);
  display: grid;
  place-items: center;
  padding: 0;
}
.header-search button:hover {
  color: var(--accent);
}
.header-search-icon {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--ink);
  padding: 6px;
}
/* Linha 2 — navegação central */
.header-nav {
  border-top: 1px solid var(--line);
}
.is-scrolled .header-nav {
  border-top-color: transparent;
}
.header-nav-inner {
  display: flex;
  justify-content: center;
  gap: 2.4rem;
  padding: 0.9rem 0;
  flex-wrap: wrap;
}
.is-scrolled .header-nav-inner {
  padding: 0.55rem 0;
}
.nav-link {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding: 0.3rem 0;
  font-weight: 400;
  transition: 0.25s;
  white-space: nowrap;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}
.nav-link:hover,
.nav-link.active {
  color: var(--ink);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-memorias {
  color: var(--accent);
  font-weight: 500;
}
.lang-switch {
  display: flex;
  gap: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.lang-switch a {
  transition: 0.2s;
}
.lang-switch a.active {
  color: var(--ink);
  font-weight: 500;
}
.lang-switch a:hover {
  color: var(--accent);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 1.5px;
  background: var(--ink);
  transition: 0.3s;
}
.mobile-search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--muted);
}
.mobile-search input {
  flex: 1;
  border: 0;
  background: none;
  outline: none;
  font-size: 1rem;
  color: var(--ink);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
}
.mobile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 16, 0.45);
  backdrop-filter: blur(2px);
  animation: fadeIn 0.28s var(--ease);
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.mobile-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: auto;
  height: 100%;
  width: min(86vw, 400px);
  background: var(--cream);
  padding: 5.5rem 2.2rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  box-shadow: 30px 0 80px rgba(0, 0, 0, 0.22);
  border-top: 4px solid var(--sage);
  animation: drawerIn 0.32s var(--ease);
}
@keyframes drawerIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: none;
  }
}
.mobile-panel a {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--ink);
}
.mobile-panel a:hover {
  color: var(--accent);
}
.mobile-close {
  position: absolute;
  top: 1.4rem;
  right: 1.6rem;
  font-size: 2.2rem;
  line-height: 1;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--ink);
}
.mobile-lang {
  margin-top: auto;
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  min-height: clamp(420px, 60vh, 620px);
  overflow: hidden;
  background: var(--forest);
  color: var(--cream);
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.9s var(--ease);
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
.hero-slide.pos-top {
  align-items: flex-start;
  padding-top: clamp(7rem, 13vh, 9rem);
}
.hero-slide.pos-center {
  align-items: center;
}
.hero-slide.pos-bottom {
  align-items: flex-end;
  padding-bottom: clamp(3rem, 7vw, 6rem);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  will-change: transform;
}
.hero-slide.is-active .hero-media img {
  animation: heroKen 9s var(--ease) both;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(22, 31, 24, calc(0.18 + var(--ovl, 0.45))) 0%,
    rgba(22, 31, 24, calc(var(--ovl, 0.45) * 0.55)) 55%,
    rgba(28, 38, 30, calc(0.1 + var(--ovl, 0.45) * 0.5)) 100%
  );
}
@keyframes heroZoom {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
}
@keyframes heroKen {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.14) translate(-1.5%, -1.2%);
  }
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero-inner {
  max-width: 680px;
}
.hero-inner.align-left {
  text-align: left;
  margin-right: auto;
}
.hero-inner.align-center {
  text-align: center;
  margin: 0 auto;
}
.hero-inner.align-right {
  text-align: right;
  margin-left: auto;
}
.hero .eyebrow {
  color: var(--gold-soft);
}
.hero .eyebrow::before {
  background: var(--gold-soft);
}
.hero-inner.align-center .eyebrow {
  justify-content: center;
}
.hero-title {
  color: var(--cream);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.02;
  margin: 0 0 1.1rem;
}
.hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  color: #eadfce;
  font-weight: 400;
  max-width: 34ch;
  margin-bottom: 2.2rem;
}
.hero-inner.align-center .hero-sub {
  margin-left: auto;
  margin-right: auto;
}
.hero-inner.align-right .hero-sub {
  margin-left: auto;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-inner.align-center .hero-cta {
  justify-content: center;
}
.hero-inner.align-right .hero-cta {
  justify-content: flex-end;
}
.hero-img-m {
  display: none;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(250, 247, 242, 0.14);
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.25s;
  backdrop-filter: blur(4px);
}
.hero-arrow:hover {
  background: rgba(250, 247, 242, 0.92);
  color: var(--ink);
  border-color: transparent;
}
.hero-arrow.prev {
  left: 12px;
}
.hero-arrow.next {
  right: 12px;
}
/* Cliente v5: ocultar setas abaixo de 1365px (evita cobrir o texto); acima ficam no respiro externo */
@media (max-width: 1364px) {
  .hero-arrow {
    display: none !important;
  }
}
.hero-dots {
  position: absolute;
  bottom: 2.1rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--maxw), 100%);
  padding: 0 var(--gut);
  display: flex;
  gap: 0.5rem;
  justify-content: flex-start;
  z-index: 4;
}
.hero-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: 0.25s;
}
.hero-dots button.active {
  background: var(--cream);
  border-color: var(--cream);
  width: 26px;
  border-radius: 6px;
}
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  z-index: 4;
  color: var(--cream);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 34px;
  background: currentColor;
  animation: scrollPulse 2s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%,
  100% {
    transform: scaleY(0.4);
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* Page hero (interno) */
.page-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(3rem, 5vw, 4rem);
  text-align: center;
  position: relative;
}
.page-hero .display {
  margin-top: 0.4rem;
}
.page-hero .lead {
  margin: 1.4rem auto 0;
  text-align: center;
}
.breadcrumb {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.breadcrumb a:hover {
  color: var(--accent);
}

/* =========================================================================
   CARDS & GRIDS
   ========================================================================= */
.grid {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.4rem);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  display: block;
  position: relative;
}
.card-media {
  position: relative;
  overflow: hidden;
  background: var(--bone);
  aspect-ratio: 4/5;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.card:hover .card-media img {
  transform: scale(1.06);
}
.card-media .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(250, 247, 242, 0.92);
  color: var(--accent);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  font-weight: 500;
}
.card-body {
  padding: 1.1rem 0 0;
}
.card-kicker {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.card-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  transition: 0.25s;
}
.card:hover .card-title {
  color: var(--accent);
}
.card-meta {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 0.3rem;
}
.card-swatches {
  display: flex;
  gap: 0.34rem;
  margin-top: 0.7rem;
}
.swatch {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  box-shadow: inset 0 0 0 2px var(--paper);
}
.card-arrow {
  margin-top: 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  opacity: 0;
  transform: translateY(6px);
  transition: 0.35s var(--ease);
}
.card:hover .card-arrow {
  opacity: 1;
  transform: none;
}

/* Collection card (larger, editorial) */
.collection-card .card-media {
  aspect-ratio: 3/4;
}
.collection-card .card-title {
  font-size: 2rem;
}

/* =========================================================================
   HOME — sections
   ========================================================================= */
.intro-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.intro-split .figure {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bone);
}
.intro-split .figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stat-row {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.stat .num {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--accent);
  line-height: 1;
}
.stat .lbl {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.3rem;
}

/* Memórias feature band */
.memorias-band {
  background: var(--forest);
  color: #e7ece3;
  overflow: hidden;
  position: relative;
}
.memorias-band .quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3.4vw, 2.8rem);
  color: var(--cream);
  max-width: 24ch;
  line-height: 1.25;
}
.memorias-band .eyebrow {
  color: var(--gold-soft);
}
.memorias-band .eyebrow::before {
  background: var(--gold-soft);
}
/* Cards sobre fundo escuro (faixa Memórias / seções escuras) — contraste */
.memorias-band .card-kicker,
.bg-ink .card-kicker {
  color: var(--gold-soft);
}
.memorias-band .card-title,
.bg-ink .card-title {
  color: var(--cream);
}
.memorias-band .card-meta,
.bg-ink .card-meta {
  color: #c2cbbd;
}
.memorias-band .card-arrow,
.bg-ink .card-arrow {
  color: #edefe9;
}
.memorias-band .card:hover .card-title,
.bg-ink .card:hover .card-title {
  color: var(--gold-soft);
}

/* Faixa Memórias — versão editorial */
.memorias-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    120% 90% at 82% 8%,
    rgba(201, 168, 118, 0.12),
    transparent 55%
  );
}
.mb-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(9rem, 30vw, 26rem);
  line-height: 1;
  white-space: nowrap;
  color: rgba(247, 243, 236, 0.05);
  pointer-events: none;
  user-select: none;
}
.mb-inner {
  position: relative;
  z-index: 1;
}
.mb-head {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3rem;
}
.mb-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.9rem, 4.2vw, 3.4rem);
  line-height: 1.18;
  color: var(--cream);
  max-width: 32ch;
  margin: 0.5rem 0 0;
}
.mb-desc {
  color: #b7c2b3;
  max-width: 44ch;
  margin-top: 1.3rem;
  font-size: 1rem;
  line-height: 1.7;
}
.mb-cta {
  text-align: right;
  padding-bottom: 0.4rem;
}
.mb-cards {
  counter-reset: mb;
}
.mb-cards .card {
  counter-increment: mb;
}
.mb-cards .card .card-media {
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.35s var(--ease);
}
.mb-cards .card:hover .card-media {
  border-color: var(--gold-soft);
}
.mb-cards .card .card-media::before {
  content: counter(mb, decimal-leading-zero);
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--cream);
  background: rgba(28, 38, 30, 0.5);
  backdrop-filter: blur(3px);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.mb-foot {
  margin-top: 2.8rem;
  text-align: center;
}
.mb-foot .link-arrow {
  color: var(--gold-soft);
  border-color: rgba(201, 168, 118, 0.5);
}
.mb-foot .link-arrow:hover {
  color: var(--cream);
  border-color: var(--cream);
}
@media (max-width: 780px) {
  .mb-head {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .mb-cta {
    text-align: left;
  }
}

/* Essences trio */
.essence-card {
  padding: 2.2rem;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: 0.4s var(--ease);
  height: 100%;
}
.essence-card:hover {
  border-color: var(--gold);
  box-shadow: 0 30px 60px -30px var(--shadow-lg);
  transform: translateY(-4px);
}
.essence-card .num {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.essence-card h3 {
  font-size: 2rem;
  margin: 0.4rem 0 0.2rem;
}
.essence-card .thread {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.essence-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* CTA band */
.cta-band {
  background: var(--accent);
  color: #fff;
  text-align: center;
}
.cta-band h2 {
  color: #fff;
}
.cta-band .lead {
  color: rgba(255, 255, 255, 0.85);
  margin-inline: auto;
}
.cta-band .btn-light:hover {
  --fg: var(--accent);
}

/* =========================================================================
   EDITORIAL (Memórias)
   ========================================================================= */
.editorial-hero {
  min-height: 92vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--cream);
  position: relative;
  overflow: hidden;
  background: var(--forest);
}
.editorial-hero .hero-media img {
  animation: heroZoom 18s var(--ease) forwards;
}
.editorial-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 2rem;
}
.editorial-hero .display-xl {
  color: var(--cream);
}
.editorial-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  color: #eadfce;
  max-width: 34ch;
  margin: 1.6rem auto 0;
}
.manifesto {
  text-align: center;
  max-width: 740px;
  margin-inline: auto;
}
.manifesto p {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  line-height: 1.5;
  color: var(--ink-2);
  font-weight: 400;
}
.phrases {
  display: grid;
  gap: 1.4rem;
  max-width: 780px;
  margin-inline: auto;
}
.phrases .phrase {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  color: var(--ink);
  text-align: center;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.phrases .phrase:last-child {
  border-bottom: 0;
}

/* Model scene (alternating) */
.scene {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 6rem) 0;
}
.scene:nth-child(even) .scene-media {
  order: 2;
}
.scene-media {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bone);
  position: relative;
}
.scene-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.scene:hover .scene-media img {
  transform: scale(1.05);
}
.scene-num {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.2em;
}
.scene h3 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin: 0.4rem 0 0.3rem;
}
.scene .ambiente {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.scene .tech {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 1.2rem 0;
}
.statement-block {
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}
.statement-block .big {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
  color: var(--cream);
}

/* =========================================================================
   CATALOG
   ========================================================================= */
.catalog-layout {
  display: grid;
  grid-template-columns: 248px 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.filters {
  position: sticky;
  top: 110px;
}
.filter-group {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0;
}
.filter-group:first-child {
  border-top: 0;
}
.filter-group h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.filter-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.filter-list a {
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: 0.2s;
  display: flex;
  justify-content: space-between;
}
.filter-list a:hover,
.filter-list a.active {
  color: var(--accent);
}
.filter-list a.active {
  font-weight: 500;
}
.catalog-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.6rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.catalog-count {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.filter-toggle {
  display: none;
}
.empty-state {
  text-align: center;
  padding: 4rem 0;
  color: var(--muted);
}

/* =========================================================================
   PRODUCT DETAIL
   ========================================================================= */
.product-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.gallery-main {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bone);
  margin-bottom: 1rem;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumbs {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.gallery-thumbs button {
  width: 74px;
  height: 92px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: none;
  cursor: pointer;
  padding: 0;
  transition: 0.25s;
}
.gallery-thumbs button.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-info {
  position: sticky;
  top: 110px;
}
.product-info .kicker {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.product-info h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 0.6rem;
}
.product-info .highlight {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--gold-soft);
  padding: 0.35rem 0.8rem;
  margin-bottom: 1.2rem;
}
.product-desc {
  font-size: 1.02rem;
  color: var(--ink-soft);
  margin-bottom: 1.8rem;
}
.spec {
  border-top: 1px solid var(--line);
  padding: 1.1rem 0;
}
.spec h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.7rem;
}
.spec-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.spec-sizes span {
  font-size: 0.82rem;
  border: 1px solid var(--line-2);
  padding: 0.4rem 0.8rem;
  color: var(--ink-soft);
}
/* Tamanhos clicáveis → medidas */
.size-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.size-chip {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  border: 1px solid var(--line-2);
  background: none;
  padding: 0.5rem 0.95rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: 0.2s;
  border-radius: 2px;
}
.size-chip:hover {
  border-color: var(--accent);
  color: var(--ink);
}
.size-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.size-measure {
  margin-top: 0.9rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.size-measure .sm-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.size-measure strong {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
}
.size-hint {
  margin-top: 0.5rem;
  font-size: 0.76rem;
  color: var(--muted);
}
.spec-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.color-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.color-chip .dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  box-shadow: inset 0 0 0 2px var(--paper);
}
.product-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

/* =========================================================================
   ESSENCE / ABOUT
   ========================================================================= */
.essence-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 2rem;
}
.value {
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}
.value h4 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.value p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.about-figure {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bone);
}
.about-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  text-align: center;
  max-width: 24ch;
  margin: 0 auto;
  color: var(--ink);
  line-height: 1.3;
}

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.form-field {
  margin-bottom: 1.2rem;
}
.form-field label {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-2);
  padding: 0.85rem 1rem;
  border-radius: 1px;
  transition: 0.25s;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(166, 121, 76, 0.12);
}
.form-field textarea {
  min-height: 140px;
  resize: vertical;
}
.form-field.has-error input,
.form-field.has-error textarea {
  border-color: #c0563f;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}
.form-consent input {
  margin-top: 3px;
}
.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}
.contact-aside {
  background: var(--bone);
  padding: clamp(1.8rem, 3vw, 2.6rem);
}
.contact-aside h3 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}
.contact-item {
  display: flex;
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 0.95rem;
}
.contact-item:last-child {
  border-bottom: 0;
}
.contact-item .ci-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.2rem;
}
.alert {
  padding: 1rem 1.2rem;
  border-radius: 2px;
  margin-bottom: 1.4rem;
  font-size: 0.92rem;
}
.alert-success {
  background: #eaf1e8;
  color: #3d5d3a;
  border: 1px solid #cfe0cb;
}
.alert-error {
  background: #f6e9e5;
  color: #9a432e;
  border: 1px solid #e8cfc6;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  background: var(--forest-deep);
  color: #cdd6c9;
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 0;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}
.site-footer .brand-word {
  color: var(--cream);
  font-size: 1.7rem;
}
.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-soft);
  margin: 1rem 0 0.8rem;
  font-size: 1.1rem;
}
.footer-about {
  font-size: 0.9rem;
  max-width: 34ch;
  color: #aeb8a8;
  line-height: 1.7;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1.2rem;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-col a {
  font-size: 0.92rem;
  color: #cdd6c9;
  transition: 0.2s;
}
.footer-col a:hover {
  color: var(--gold-soft);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem var(--gut);
  margin-top: 1rem;
  font-size: 0.78rem;
  color: #8e847a;
}
.footer-bottom a:hover {
  color: var(--gold-soft);
}

/* WhatsApp float */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: 0.3s var(--ease);
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.05);
}

/* =========================================================================
   REVEAL animation
   ========================================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
[data-reveal][data-delay="1"] {
  transition-delay: 0.1s;
}
[data-reveal][data-delay="2"] {
  transition-delay: 0.2s;
}
[data-reveal][data-delay="3"] {
  transition-delay: 0.3s;
}
[data-reveal][data-delay="4"] {
  transition-delay: 0.4s;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .filters {
    position: static;
    display: none;
  }
  .filters.open {
    display: block;
    margin-bottom: 1.5rem;
  }
  .filter-toggle {
    display: inline-flex;
  }
}
@media (max-width: 900px) {
  .header-nav,
  .header-left .lang-switch,
  .header-right .header-search {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .header-search-icon {
    display: inline-flex;
  }
  .header-top-inner {
    padding: 0.9rem var(--gut);
    gap: 0.5rem;
  }
  .brand-logo {
    height: 36px;
  }
  .is-scrolled .brand-logo {
    height: 30px;
  }
  .nav-toggle {
    padding: 6px 4px;
  }
  .header-search-icon {
    padding: 6px 4px;
  }
  .intro-split,
  .product-layout,
  .contact-layout,
  .essence-detail,
  .scene,
  .essence-row {
    grid-template-columns: 1fr;
  }
  .essence-row.reverse .essence-figure {
    order: 0;
  }
  .scene:nth-child(even) .scene-media {
    order: 0;
  }
  .product-info,
  .filters {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
}
@media (max-width: 680px) {
  .grid-3,
  .grid-4,
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-arrow {
    display: none;
  }
  .hero-img-m {
    display: block;
  }
  .hero-img-d:has(+ .hero-img-m) {
    display: none;
  }
}
@media (max-width: 420px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Prose (páginas estáticas) */
.prose p {
  margin: 0 0 1.2rem;
}
.prose h2,
.prose h3 {
  font-family: var(--serif);
  margin: 1.8rem 0 0.6rem;
  color: var(--ink);
}
.prose a {
  color: var(--accent);
  text-decoration: underline;
}
.prose ul {
  padding-left: 1.2rem;
  margin: 0 0 1.2rem;
}

/* Faixa Memórias — responsivo */
@media (max-width: 780px) {
  .memorias-band-head {
    grid-template-columns: 1fr !important;
    gap: 1.4rem !important;
  }
  .memorias-band-cta {
    text-align: left !important;
  }
}

/* ============================================================
   Player de vídeo customizado (apenas play/pause)
   Usado em qualquer placeholder de mídia via media() helper.
   ============================================================ */
.mediaplayer {
  position: relative;
  overflow: hidden;
  background: var(--bone);
  display: block;
  line-height: 0;
}
.mediaplayer--fill {
  position: absolute;
  inset: 0;
}
.mediaplayer--block {
  width: 100%;
}
.mp-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--bone);
}
.mediaplayer--block .mp-video {
  position: absolute;
  inset: 0;
}

/* Botão central (vídeos sob demanda: começam pausados) */
.mp-toggle {
  position: absolute;
  inset: 0;
  margin: auto;
  width: clamp(54px, 7vw, 76px);
  height: clamp(54px, 7vw, 76px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 0;
  background: rgba(250, 247, 242, 0.14);
  -webkit-backdrop-filter: blur(7px) saturate(1.1);
  backdrop-filter: blur(7px) saturate(1.1);
  border: 1px solid rgba(250, 247, 242, 0.55);
  color: var(--cream);
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(43, 39, 36, 0.25);
  opacity: 0;
  transition:
    transform 0.4s var(--ease),
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    opacity 0.35s var(--ease);
}

div:has(.mp-toggle):hover .mp-toggle {
  opacity: 1;
}

.mp-toggle:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.07);
}
.mp-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.mp-ico {
  width: 42%;
  height: 42%;
  fill: currentColor;
  display: none;
}
.mp-ico-play {
  margin-left: 6%;
} /* centragem óptica do triângulo */
.mediaplayer:not(.is-playing) .mp-ico-play {
  display: block;
}
.mediaplayer.is-playing .mp-ico-pause {
  display: block;
}

/* Vídeos autoplay (fundo de hero/cards): controle discreto no canto */
.mediaplayer.is-auto .mp-toggle {
  inset: auto 1rem 1rem auto;
  margin: 0;
  width: 44px;
  height: 44px;
  opacity: 0;
}
.mediaplayer.is-auto:hover .mp-toggle,
.mediaplayer.is-auto:not(.is-playing) .mp-toggle,
.mediaplayer.is-auto .mp-toggle:focus-visible {
  opacity: 1;
}

/* Hero: só as ÁREAS VAZIAS do conteúdo repassam o clique ao controle de vídeo;
   o conteúdo em si (texto/CTAs) continua selecionável e clicável. */
.hero-content,
.editorial-hero-inner {
  pointer-events: none;
}
.hero-inner > *,
.editorial-hero-inner > * {
  pointer-events: auto;
}
.hero .mediaplayer .mp-toggle,
.editorial-hero .mediaplayer .mp-toggle {
  z-index: 4;
}
/* Sem flash bege sobre o hero escuro enquanto o vídeo carrega */
.hero .mediaplayer,
.hero .mp-video,
.editorial-hero .mediaplayer,
.editorial-hero .mp-video {
  background: transparent;
}

/* Containers de mídia que passam a hospedar vídeo (preenchimento do player) */
.intro-split .figure {
  position: relative;
}
.gallery-main {
  position: relative;
}
.gallery-stage {
  position: absolute;
  inset: 0;
}

/* Hover-zoom também para vídeos dentro de cards/cenas */
.card-media .mp-video {
  transition: transform 1.1s var(--ease);
}
.card:hover .card-media .mp-video {
  transform: scale(1.06);
}
.scene-media .mp-video {
  transition: transform 1.4s var(--ease);
}
.scene:hover .scene-media .mp-video {
  transform: scale(1.05);
}

/* Miniaturas de vídeo na galeria do produto */
.gallery-thumbs video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumbs button.is-video {
  position: relative;
}
.gallery-thumbs button.is-video::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-left: 12px solid rgba(255, 255, 255, 0.92);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  filter: drop-shadow(0 1px 2px rgba(43, 39, 36, 0.5));
  pointer-events: none;
}

/* Preview de mídia no admin (img + vídeo sobrepostos, um oculto) */
.media-preview {
  position: relative;
  flex: 0 0 auto;
}
.media-preview [hidden] {
  display: none;
}

/* Tamanhos com componentes (medidas por peça) */
.size-detail {
  margin-top: 0.8rem;
}
.size-parts {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}
.size-parts li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.size-parts li:first-child {
  border-top: 1px solid var(--line);
}
.size-parts .sp-name {
  color: var(--ink-soft);
}
.size-parts .sp-measure {
  color: var(--ink);
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}

/* ============================================================
   Cliente v3 — Fase D
   ============================================================ */
/* Remover ornamentos: traço dourado dos rótulos + ondinhas (scallop) + filete dourado */
.eyebrow::before {
  display: none;
}
.scallop {
  display: none;
}
.rule-gold {
  display: none;
}

/* Mega-menu (sumário ao passar o mouse) */
.header-nav-inner .nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 230px;
  max-width: 340px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 22px 48px var(--shadow-lg);
  padding: 1.1rem 1.2rem;
  border-radius: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.22s var(--ease),
    transform 0.22s var(--ease),
    visibility 0.22s;
  z-index: 60;
  text-align: left;
}
.nav-item:hover > .nav-mega,
.nav-item:focus-within > .nav-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-mega-title {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.6rem;
}
.nav-mega a {
  display: block;
  padding: 0.34rem 0;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  text-transform: none;
  transition:
    color 0.18s var(--ease),
    padding 0.18s var(--ease);
}
.nav-mega a:hover {
  color: var(--accent);
  padding-left: 0.25rem;
}
.nav-mega a.nav-mega-all {
  margin-top: 0.5rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-mega p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 0.4rem;
  max-width: 260px;
}
@media (max-width: 980px) {
  .nav-mega {
    display: none;
  }
}

/* Revendedores (Onde nos encontrar) */
.reseller-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 1.6rem;
  align-items: start;
}
.reseller-actions {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.reseller-search {
  flex: 1;
  min-width: 160px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line-2);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
}
.reseller-search:focus {
  border-color: var(--accent);
}
.reseller-list-items {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: 600px;
  overflow: auto;
  padding-right: 0.3rem;
}
.reseller-card {
  border: 1px solid var(--line);
  padding: 0.9rem 1.1rem;
  cursor: pointer;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
  background: var(--paper);
}
.reseller-card:hover,
.reseller-card.active {
  border-color: var(--accent);
  box-shadow: 0 6px 18px var(--shadow);
}
.reseller-card h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 0.15rem;
  color: var(--ink);
}
.reseller-card .reseller-city {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0.1rem 0 0.35rem;
}
.reseller-card p {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin: 0.12rem 0;
  line-height: 1.5;
}
.reseller-map {
  height: 600px;
  border: 1px solid var(--line);
  border-radius: 3px;
  position: sticky;
  top: 120px;
  overflow: hidden;
  z-index: 1;
}
.footer-address {
  font-size: 0.85rem;
  color: #b7ac9e;
  margin: 0.8rem 0 0;
  line-height: 1.6;
}
@media (max-width: 860px) {
  .reseller-layout {
    grid-template-columns: 1fr;
  }
  .reseller-map {
    height: 380px;
    position: static;
  }
}

/* ============================================================
   Coleção Promocional + Contato da loja (MB Casa)
   ============================================================ */
.promo-hero {
  position: relative;
  min-height: clamp(360px, 52vh, 560px);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  background: var(--forest);
}
.promo-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.promo-hero-media img,
.promo-hero-media video,
.promo-hero-media .mp-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.promo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(43, 39, 36, 0.46);
  z-index: 1;
  pointer-events: none;
}
.promo-hero-inner {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 2rem var(--gut);
  max-width: 760px;
}
.promo-hero-inner .display {
  color: #fff;
}
.promo-badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f3e7cf;
  background: rgba(166, 121, 76, 0.5);
  border: 1px solid var(--gold-soft);
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 1.2rem;
}
.promo-hero-sub {
  max-width: 52ch;
  margin: 0 auto 1.6rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.7;
}

.promo-store-strip {
  background: var(--sage);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  padding: 1rem var(--gut);
  font-size: 0.95rem;
  text-align: center;
}
.promo-store-actions {
  display: inline-flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}
.promo-store-strip .btn {
  --bg: #fff;
  --fg: var(--accent);
  --bd: #fff;
}
.promo-store-strip .btn:hover {
  --bg: var(--cream);
  --fg: var(--ink);
  --bd: var(--cream);
}
.promo-store-strip .btn-ghost-light {
  --bg: transparent;
  --fg: #fff;
  --bd: rgba(255, 255, 255, 0.6);
}
.promo-store-strip .btn-ghost-light:hover {
  --bg: #fff;
  --fg: var(--accent);
  --bd: #fff;
}

.card-media .tag-promo {
  background: var(--gold);
  color: #fff;
}

.promo-cta {
  background: var(--forest);
  color: #fff;
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.promo-cta h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 0.5rem;
}
.promo-cta p {
  color: #cfd8c9;
  margin-bottom: 1.6rem;
}
.promo-cta-actions {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.store-contact {
  padding-top: clamp(3rem, 7vw, 6rem);
}
.store-contact-actions {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.4rem;
}
.store-contact-info {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.9;
}
.store-contact-info a {
  color: var(--accent);
  text-decoration: underline;
}

/* Fiações & tecidos (fim da página de Linhas) */
.yarn-rows {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3.6rem);
}
.yarn-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.yarn-row.reverse .yarn-figure {
  order: 2;
}
.yarn-row.no-img {
  grid-template-columns: 1fr;
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}
.yarn-figure {
  aspect-ratio: 5/4;
  overflow: hidden;
  border-radius: 2px;
  background: var(--paper);
}
.yarn-figure img,
.yarn-figure video,
.yarn-figure .mp-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yarn-name {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--ink);
  margin: 0 0 0.6rem;
}
.yarn-desc {
  color: var(--ink-soft);
  line-height: 1.85;
  margin-bottom: 1.1rem;
  max-width: 54ch;
}
.yarn-row.no-img .yarn-desc {
  margin-inline: auto;
}
.yarn-fabrics {
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.yarn-fabrics span {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.25rem;
}
@media (max-width: 760px) {
  .yarn-row,
  .yarn-row.reverse {
    grid-template-columns: 1fr;
  }
  .yarn-row.reverse .yarn-figure {
    order: 0;
  }
}

/* ============================ BLOG ============================ */
.blog-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 0.4rem;
}
.blog-cat {
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line-2);
  border-radius: 40px;
  transition: 0.25s var(--ease);
}
.blog-cat:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.blog-cat.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
}
@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  transition: 0.35s var(--ease);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(43, 39, 36, 0.12);
}
.blog-card-media {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bone);
}
.blog-card-media img,
.blog-card-media video,
.blog-card-media .mp-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.blog-card:hover .blog-card-media img {
  transform: scale(1.05);
}
.blog-card-body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-cat {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.blog-card-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}
.blog-card-title a:hover {
  color: var(--accent);
}
.blog-card-excerpt {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.blog-card-more {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}
.blog-post-hero {
  padding-bottom: clamp(1.4rem, 3vw, 2rem);
  text-align: center;
}
.blog-post-date {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-top: 1rem;
}
.blog-post-cover {
  margin: clamp(1.4rem, 4vw, 2.6rem) auto 0;
  max-width: 1000px;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 2px;
  background: var(--bone);
}
.blog-post-cover img,
.blog-post-cover video,
.blog-post-cover .mp-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-body {
  padding: clamp(2.4rem, 5vw, 3.6rem) var(--gut);
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--ink-2);
}
.blog-body h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 2rem 0 1rem;
}
.blog-body h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin: 1.6rem 0 0.8rem;
}
.blog-body p {
  margin: 0 0 1.3rem;
}
.blog-body a {
  color: var(--accent);
  text-decoration: underline;
}
.blog-body ul,
.blog-body ol {
  margin: 0 0 1.3rem 1.4rem;
}
.blog-body li {
  margin-bottom: 0.5rem;
}
.blog-body blockquote {
  border-left: 3px solid var(--gold);
  margin: 1.6rem 0;
  padding: 0.4rem 0 0.4rem 1.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ink);
}
.blog-body img {
  border-radius: 2px;
  margin: 1.4rem 0;
}
.blog-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}
@media (max-width: 700px) {
  .blog-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
.blog-gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 2px;
  background: var(--bone);
}
.blog-gallery-item img,
.blog-gallery-item video,
.blog-gallery-item .mp-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
