/* ==========================================================================
   Maison Encantada — estilos
   ========================================================================== */

@property --bg     { syntax: '<color>'; inherits: true; initial-value: #F6F0E8; }
@property --yarn       { syntax: '<color>'; inherits: true; initial-value: #EEE5D6; }
@property --yarn-shade { syntax: '<color>'; inherits: true; initial-value: #CDBDA3; }
@property --yarn-light { syntax: '<color>'; inherits: true; initial-value: #FAF6EE; }

:root {
  --bg: #F6F0E8;
  --paper: #FBF8F3;
  --ink: #3B302B;
  --ink-2: #7A6A61;
  --ink-3: #A8988E;
  --line: rgba(59, 48, 43, 0.14);
  --accent: #A97C70;
  --serif: 'Cormorant', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.18, 1);
  --gutter: clamp(20px, 5.5vw, 96px);
  --top: clamp(76px, 11vh, 110px);
  --bottom: clamp(96px, 14vh, 132px);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  background: var(--bg);
  transition: --bg 1.4s var(--ease);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
}

body.is-dragging, body.is-dragging * { user-select: none; }
body.is-dragging:not(.has-cursor), body.is-dragging:not(.has-cursor) * { cursor: grabbing !important; }

/* com o cursor estilizado ativo, o ponteiro do sistema (seta, mãozinha, texto) some */
.has-cursor, .has-cursor * { cursor: none !important; }

button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
::selection { background: #E8C4BE; color: var(--ink); }

:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; border-radius: 2px; }

/* ---- grão de papel ------------------------------------------------------- */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: 0.09;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .22 0 0 0 0 .18 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- tipografia ---------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }

.display {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 7.4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.display em { font-weight: 300; color: var(--accent); }
.display--md { font-size: clamp(2.6rem, 5.2vw, 5.4rem); }

.lead { max-width: 36ch; margin: 0 0 40px; font-size: clamp(15px, 1.15vw, 17px); color: var(--ink-2); }
.note { margin: 14px 0 0; font-size: 12.5px; color: var(--ink-2); }
.label { margin: 0 0 12px; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-2); }

/* ---- botões -------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.5s var(--ease), background-color 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.btn--line { padding: 10px 0; }
.btn--line::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform 0.7s var(--ease);
}
.btn--line:hover::after { transform: scaleX(0.35); transform-origin: left; }
.btn--solid {
  padding: 18px 30px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
}
.btn--solid:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(59, 48, 43, 0.45); }
.btn--solid:active { transform: translateY(0) scale(0.98); }
.btn--full { width: 100%; }

.arrow {
  position: relative;
  display: inline-block;
  width: 26px;
  height: 1px;
  background: currentColor;
  transition: width 0.6s var(--ease);
}
.arrow::after {
  content: '';
  position: absolute;
  right: 0; top: -3.5px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.arrow--left { transform: scaleX(-1); }
.btn:hover .arrow, .round:hover .arrow { width: 38px; }

.round {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.5s var(--ease), background-color 0.5s var(--ease);
}
.round .arrow { width: 18px; }
.round:hover { border-color: var(--ink); background: rgba(255, 255, 255, 0.4); }
.round:hover .arrow { width: 24px; }

.link {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  color: inherit;
}

/* ---- abertura ------------------------------------------------------------ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  background: #F6F0E8;
  transition: opacity 1s var(--ease), visibility 0s linear 1s, transform 1.2s var(--ease);
}
.loader__mark { width: 84px; height: 84px; }
.loader__mark path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw 1.6s var(--ease-io) forwards;
}
.loader__name {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.06em;
  opacity: 0;
  animation: fade 1s var(--ease) 0.5s forwards;
}
.is-loaded .loader { opacity: 0; visibility: hidden; transform: translateY(-2%); }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* ---- topo ---------------------------------------------------------------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: clamp(18px, 3.2vh, 30px) var(--gutter);
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.topbar__label { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; }

.topbar__menu { justify-self: start; display: flex; align-items: center; gap: 14px; padding: 8px 0; }
.burger { position: relative; width: 24px; height: 8px; }
.burger i {
  position: absolute; left: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transition: transform 0.6s var(--ease), width 0.6s var(--ease), top 0.6s var(--ease);
}
.burger i:first-child { top: 0; }
.burger i:last-child { top: 7px; width: 66%; }
.topbar__menu:hover .burger i:last-child { width: 100%; }
.menu-open .burger i:first-child { top: 4px; transform: rotate(45deg); }
.menu-open .burger i:last-child { top: 4px; width: 100%; transform: rotate(-45deg); }

.logo {
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 25px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
}
.logo em { color: var(--accent); }
.logo { display: inline-flex; flex-direction: column; align-items: center; gap: 5px; }
.logo__sub, .loader__name small {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.5em;
  margin-right: -0.5em; /* compensa o espaçamento da última letra */
  text-transform: uppercase;
  color: var(--ink-2);
}
.loader__name small { margin-top: 10px; font-size: 10px; }

.topbar__bag { justify-self: end; display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.bag-icon { width: 18px; height: 18px; display: none; }
.bag-count {
  display: grid;
  place-items: center;
  min-width: 24px; height: 24px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.bag-count.has-items { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.bag-count.bump { animation: bump 0.7s var(--ease); }
@keyframes bump { 30% { transform: scale(1.35); } }

/* ---- trilho de páginas --------------------------------------------------- */
.viewport {
  position: fixed;
  inset: 0;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}
.track {
  position: relative;
  display: flex;
  height: 100%;
  will-change: transform;
}
.thread {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.thread path { fill: none; stroke: var(--ink); stroke-width: 1; opacity: 0.16; }

.slide {
  position: relative;
  z-index: 1;
  flex: 0 0 100vw;
  width: 100vw;
  height: 100%;
  padding: var(--top) var(--gutter) var(--bottom);
  display: grid;
  align-items: center;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  touch-action: pan-y;
}
.slide::-webkit-scrollbar { display: none; }

/* revelação */
.reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.is-loaded .slide.is-active .reveal {
  opacity: 1;
  transform: none;
  transition: opacity 1.2s var(--ease) calc(var(--d, 0) * 90ms + 280ms),
              transform 1.4s var(--ease) calc(var(--d, 0) * 90ms + 280ms);
}

/* arco de fundo */
.arch {
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: 74%;
  height: 92%;
  transform: translateX(-50%);
  border-radius: 999px 999px 18px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.08) 88%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}
.arch::after {
  content: '';
  position: absolute;
  inset: 14px 14px 0;
  border-radius: inherit;
  border: 1px solid rgba(59, 48, 43, 0.07);
  border-bottom: 0;
}

/* bolsa (ilustração) */
.bag-host, [data-bag] {
  transition: --yarn 0.9s var(--ease), --yarn-shade 0.9s var(--ease), --yarn-light 0.9s var(--ease);
}
.bag-svg { display: block; width: 100%; height: auto; overflow: visible; }
.bag-body { animation: bob 7s ease-in-out infinite; animation-delay: var(--phase, 0s); }
.bag-shadow {
  transform-box: fill-box;
  transform-origin: center;
  animation: shadow 7s ease-in-out infinite;
  animation-delay: var(--phase, 0s);
}
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes shadow { 50% { transform: scaleX(0.86); opacity: 0.65; } }

.f-base { fill: var(--yarn); }
.f-shade { fill: var(--yarn-shade); }
.f-light { fill: var(--yarn-light); }
.s-base { stroke: var(--yarn); }
.s-shade { stroke: var(--yarn-shade); }
.s-light { stroke: var(--yarn-light); }
.s-gold { stroke: #C6AB7B; }
.guide { fill: none; stroke: none; }
.stop-base { stop-color: var(--yarn); }
.stop-shade { stop-color: var(--yarn-shade); }
.stop-light { stop-color: var(--yarn-light); }

.pearl {
  transform-box: fill-box;
  transform-origin: center;
  animation: pop 0.6s var(--ease) backwards;
  animation-delay: calc(var(--i) * 22ms);
}
.fringe path { animation: fade 0.8s var(--ease) backwards; opacity: 0; animation-fill-mode: forwards; }
.monogram { animation: fade 0.8s var(--ease) backwards; }
.monogram__text { font-family: var(--serif); font-style: italic; font-size: 16px; letter-spacing: 1.5px; fill: #6E5A50; }
@keyframes pop { from { transform: scale(0); } }

.tilt {
  --rx: 0deg; --ry: 0deg;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) scale(var(--s, 1));
  transition: transform 0.9s var(--ease);
  will-change: transform;
}

.swap { animation: swap 0.7s var(--ease); }
@keyframes swap { from { opacity: 0; transform: perspective(1000px) translateY(14px) scale(0.97); filter: blur(6px); } }

/* ---- 01 · início --------------------------------------------------------- */
.intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(24px, 4vw, 80px);
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}
.intro__art {
  position: relative;
  justify-self: center;
  width: min(42vw, 64vh, 620px);
  aspect-ratio: 1 / 1.02;
}
.float { position: absolute; }
.float--a { left: 18%; bottom: 6%; width: 64%; z-index: 2; --phase: -1s; }
.float--b { left: -4%; bottom: 0; width: 34%; z-index: 3; --phase: -3.4s; }
.float--c { right: -6%; top: 6%; width: 36%; z-index: 1; --phase: -5s; }
.float > * { opacity: 0; transform: translateY(30px) scale(0.96); transition: opacity 1.4s var(--ease), transform 1.6s var(--ease); }
.is-loaded .is-active .float--a > * { opacity: 1; transform: none; transition-delay: 0.35s; }
.is-loaded .is-active .float--b > * { opacity: 1; transform: none; transition-delay: 0.6s; }
.is-loaded .is-active .float--c > * { opacity: 1; transform: none; transition-delay: 0.8s; }

.badge {
  position: absolute;
  right: 2%; bottom: 6%;
  z-index: 4;
  width: clamp(86px, 8vw, 118px);
  animation: spin 28s linear infinite;
}
.badge text { font-family: var(--sans); font-size: 7.6px; letter-spacing: 0; text-transform: uppercase; fill: var(--ink-2); }
@keyframes spin { to { transform: rotate(360deg); } }

.swipe-hint {
  position: absolute;
  left: 0; right: 0;
  bottom: calc(var(--bottom) - 30px);
  display: none;
}

/* ---- 02 · manifesto ------------------------------------------------------ */
.manifesto { width: 100%; max-width: 1180px; margin: 0 auto; }
.manifesto__text {
  margin: 0 0 clamp(36px, 7vh, 72px);
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 3.6vw, 3.6rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
}
.manifesto__text em { color: var(--accent); }
.words .w {
  display: inline-block;
  opacity: 0.08;
  filter: blur(3px);
  transform: translateY(0.25em);
  transition: opacity 0.4s, filter 0.4s, transform 0.4s;
}
.is-loaded .is-active .words .w {
  opacity: 1;
  filter: none;
  transform: none;
  transition: opacity 1s var(--ease) calc(var(--i) * 32ms + 300ms),
              filter 1s var(--ease) calc(var(--i) * 32ms + 300ms),
              transform 1.1s var(--ease) calc(var(--i) * 32ms + 300ms);
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column-reverse; gap: 4px; padding-top: 22px; }
.stat dt { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-2); }
.stat dd { margin: 0; font-family: var(--serif); font-size: clamp(2.6rem, 4.6vw, 4.4rem); font-weight: 300; line-height: 1; font-variant-numeric: tabular-nums; }

/* ---- 03–06 · produto ----------------------------------------------------- */
.product {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 96px);
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}
.product__num {
  position: absolute;
  left: 36%;
  top: 50%;
  margin-top: -0.56em;
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(14rem, 34vw, 34rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(59, 48, 43, 0.08);
  pointer-events: none;
  z-index: -1;
}
.product__stage {
  position: relative;
  justify-self: center;
  width: min(40vw, 66vh, 600px);
  aspect-ratio: 1 / 1.05;
  order: 2;
}
.product__bag {
  position: absolute;
  left: 50%; bottom: 8%;
  width: 78%;
  margin-left: -39%;
  cursor: pointer;
}
.product__hours {
  position: absolute;
  top: 9%; right: -2%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 18px 40px -22px rgba(59, 48, 43, 0.35);
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}
.product__hours span { margin-top: 6px; max-width: 9ch; font-family: var(--sans); font-size: 8.5px; line-height: 1.3; letter-spacing: 0.18em; text-transform: uppercase; text-align: center; color: var(--ink-2); }

.product__info { position: relative; max-width: 520px; }
.product__name {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(4.4rem, 10vw, 10rem);
  line-height: 0.86;
  letter-spacing: -0.03em;
}
.product__line { margin: 14px 0 22px; font-family: var(--serif); font-size: clamp(1.2rem, 1.6vw, 1.55rem); color: var(--ink-2); }
.product__text { margin: 0 0 28px; max-width: 42ch; color: var(--ink-2); }

.specs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 36px; margin: 0 0 28px; }
.specs dt { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-3); }
.specs dd { margin: 2px 0 0; font-size: 14px; }

.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.swatch {
  position: relative;
  width: 34px; height: 34px;
  border-radius: 50%;
}
.swatch::before {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--sw-l), var(--sw) 55%, var(--sw-s));
  box-shadow: inset 0 0 0 1px rgba(59, 48, 43, 0.08);
  transition: transform 0.5s var(--ease);
}
.swatch::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--ink);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.swatch:hover::before { transform: scale(1.12); }
.swatch[aria-pressed='true']::after { opacity: 1; transform: none; }

/* cor personalizada: arco-íris pastel; depois de escolhida, a cor aparece no centro */
.swatch--custom { cursor: pointer; }
.swatch--custom::before {
  background: conic-gradient(from 30deg, #F2B8B5, #F1D7A4, #CFE0B6, #B3D4E2, #C8BEE8, #EDB9D8, #F2B8B5);
}
.swatch--custom:not(.is-on)::before {
  -webkit-mask: radial-gradient(circle, transparent 3.2px, #000 3.8px);
          mask: radial-gradient(circle, transparent 3.2px, #000 3.8px);
}
.swatch--custom.is-on::before {
  border: 2.5px solid transparent;
  background:
    radial-gradient(circle at 35% 30%, var(--sw-l), var(--sw) 55%, var(--sw-s)) padding-box,
    conic-gradient(from 30deg, #F2B8B5, #F1D7A4, #CFE0B6, #B3D4E2, #C8BEE8, #EDB9D8, #F2B8B5) border-box;
}
.swatch--custom.is-on::after { opacity: 1; transform: none; }
.swatch__input {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  margin: 0; padding: 0; border: 0;
  opacity: 0; cursor: pointer;
}
.color-note { margin: 0; max-width: 34ch; font-size: 12px; line-height: 1.5; font-style: italic; color: var(--ink-2); }
.color-note[hidden] { display: none; }

.product__size, .product__yarn, .product__colors { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.product__size, .product__yarn { margin-bottom: 16px; }
.product__colors { margin-bottom: 26px; }
.product__size .label, .product__yarn .label, .product__colors .label { flex: 0 0 auto; min-width: 9.5rem; margin: 0; }
.yarn-note, .color-note { flex-basis: 100%; }
.yarn-note { margin: 0; font-size: 12px; line-height: 1.5; font-style: italic; color: var(--ink-2); }
.pills--sm { gap: 8px; }

/* tamanho livre: largura × altura */
.size-input { display: flex; align-items: flex-start; gap: 10px; }
.size-input label { display: grid; justify-items: center; gap: 2px; }
.size-input input {
  width: 3.4ch;
  padding: 2px 0 3px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: none;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
  text-align: center;
  color: var(--ink);
  transition: border-color 0.4s var(--ease);
  -moz-appearance: textfield;
  appearance: textfield;
}
.size-input input::-webkit-outer-spin-button,
.size-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.size-input input:hover, .size-input input:focus { border-color: var(--ink); outline: none; }
.size-input small { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }
.size-input__x, .size-input__unit { padding-top: 4px; font-family: var(--serif); font-size: 1.15rem; color: var(--ink-2); }
.size-input__unit { font-size: 1rem; }
.pills--sm .pill { padding: 6px 14px; font-size: 1rem; }
.product__colors .label span, .product__yarn .label span, .product__size .label span, .field__value { color: var(--ink); letter-spacing: 0.12em; }

.product__buy { display: grid; gap: 18px; }
.price { margin: 0; font-family: var(--serif); font-size: clamp(1.9rem, 2.4vw, 2.4rem); line-height: 1; }
.price small { display: block; margin-top: 8px; font-family: var(--sans); font-size: 12px; color: var(--ink-2); }
.product__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }

/* ---- 07 · ateliê --------------------------------------------------------- */
.atelier {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(16px, 3vh, 36px);
  width: 100%;
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
}
.atelier__head .display { margin: 0; }
.atelier__stage {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(24px, 6vw, 110px);
  min-height: 0;
}
.step-art {
  position: relative;
  justify-self: center;
  width: min(30vw, 40vh, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 70%);
}
.step-art svg { position: absolute; inset: 10%; width: 80%; height: 80%; overflow: visible; }
.step-art .draw {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.2s var(--ease-io) forwards;
}
.step-art .draw.accent { stroke: var(--accent); }
.step-art .draw:nth-child(2) { animation-delay: 0.15s; }
.step-art .draw:nth-child(3) { animation-delay: 0.3s; }
.step-art .draw:nth-child(4) { animation-delay: 0.45s; }
.step-art .draw:nth-child(5) { animation-delay: 0.6s; }
.step-art .draw:nth-child(n + 6) { animation-delay: 0.75s; }

.step-copy { max-width: 460px; }
.step-copy > * { transition: opacity 0.6s var(--ease), transform 0.8s var(--ease), filter 0.6s var(--ease); }
.step-copy.is-out > * { opacity: 0; transform: translateY(12px); filter: blur(4px); }
.step-copy__n { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(3rem, 5vw, 5rem); line-height: 1; color: var(--accent); }
.step-copy__title { margin: 12px 0 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 2.8vw, 2.7rem); line-height: 1.05; }
.step-copy__text { margin: 0; color: var(--ink-2); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.steps button { width: 100%; padding: 16px 0 0; text-align: left; color: var(--ink-3); transition: color 0.5s var(--ease); }
.steps button:hover, .steps .is-active button { color: var(--ink); }
.steps__bar { position: relative; display: block; height: 1px; margin-bottom: 14px; background: var(--line); overflow: hidden; }
.steps__bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
}
.steps .is-done .steps__bar::after { transform: scaleX(1); }
.steps .is-active .steps__bar::after { animation: progress var(--step-ms, 6000ms) linear forwards; }
.steps.is-paused .is-active .steps__bar::after { animation: none; transform: scaleX(1); }
@keyframes progress { to { transform: scaleX(1); } }
.steps small { display: block; font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; }
.steps strong { display: block; margin-top: 4px; font-family: var(--serif); font-size: 1.25rem; font-weight: 400; line-height: 1.2; }

/* ---- 08 · sob medida ----------------------------------------------------- */
.custom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 6vw, 110px);
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
}
.custom__preview {
  position: relative;
  justify-self: center;
  width: min(38vw, 62vh, 560px);
  aspect-ratio: 1 / 1.05;
}
.custom__bag { position: absolute; left: 11%; bottom: 10%; width: 78%; }
.custom__price {
  position: absolute;
  left: 50%; bottom: -2%;
  transform: translateX(-50%);
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 18px 40px -24px rgba(59, 48, 43, 0.4);
  white-space: nowrap;
}
.custom__price span { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-2); }
.custom__price strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; line-height: 1; }
.price__msg { font-size: 0.62em; font-style: italic; color: var(--ink-2); }
.product__hours.is-empty b { opacity: 0.45; }
.custom__lead:empty { display: none; }
.custom__lead { padding-left: 12px; border-left: 1px solid var(--line); font-family: var(--serif); font-size: 1rem; color: var(--ink-2); white-space: nowrap; }

.custom__form { max-width: 520px; }
.custom__form .display { margin-bottom: clamp(14px, 2.6vh, 26px); }
.field { margin: 0 0 clamp(10px, 1.6vh, 18px); padding: 0; border: 0; min-width: 0; }
.field legend, .field .legend {
  display: block;
  margin: 0 0 12px;
  padding: 0;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.field small { letter-spacing: 0.1em; text-transform: none; font-size: 12px; color: var(--ink-3); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.1;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.pill:hover { border-color: var(--ink); }
.pill[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pill small { margin-left: 6px; font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.06em; opacity: 0.7; color: inherit; }

.field--input input {
  width: 100%;
  max-width: 260px;
  padding: 6px 0 10px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: none;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  outline: none;
  transition: border-color 0.5s var(--ease);
}
.field--input input::placeholder { color: var(--ink-3); letter-spacing: 0.12em; text-transform: none; }
.field--input input:focus { border-color: var(--ink); }
.custom__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; margin-top: clamp(20px, 3.4vh, 34px); }

/* ---- 09 · clientes ------------------------------------------------------- */
.voices {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(24px, 6vw, 110px);
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}
.voices__art { position: relative; order: 2; width: min(30vw, 56vh, 420px); aspect-ratio: 1 / 1.1; justify-self: center; }
.voices__bag { position: absolute; left: 14%; bottom: 9%; width: 72%; }
.quote { position: relative; margin: 0 0 clamp(28px, 5vh, 56px); }
.quote__mark {
  display: block;
  height: 0.42em;
  margin: -0.08em 0 0 -0.04em;
  font-family: var(--serif);
  font-size: clamp(7rem, 11vw, 11rem);
  line-height: 1;
  color: var(--accent);
  opacity: 0.3;
  pointer-events: none;
}
.quote__text {
  position: relative;
  margin: 0 0 30px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 4.2vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.quote__who { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-2); }
.quote__who b { font-weight: 400; color: var(--ink); }
.quote__text, .quote__who { transition: opacity 0.7s var(--ease), transform 0.9s var(--ease), filter 0.7s var(--ease); }
.quote.is-out .quote__text, .quote.is-out .quote__who { opacity: 0; transform: translateY(14px); filter: blur(6px); }

.quote-nav { display: flex; align-items: center; gap: 22px; }
.quote-dots { display: flex; gap: 10px; }
.quote-dots button { position: relative; width: 34px; height: 20px; }
.quote-dots button::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: var(--ink);
  opacity: 0.2;
  transition: opacity 0.5s var(--ease);
}
.quote-dots button[aria-selected='true']::after { opacity: 1; }

/* ---- 10 · contato -------------------------------------------------------- */
.contact { width: 100%; max-width: 1080px; margin: 0 auto; }
.channels { margin: 0 0 clamp(28px, 5vh, 52px); padding: 0; list-style: none; border-top: 1px solid var(--line); }
.channels li { border-bottom: 1px solid var(--line); }
.channels a {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(14px, 2.4vh, 22px) 0;
  overflow: hidden;
}
.channels span {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.1;
  transition: transform 0.8s var(--ease), color 0.5s var(--ease);
}
.channels small { font-size: 12px; letter-spacing: 0.08em; color: var(--ink-2); }
.channels a:hover span { transform: translateX(18px); color: var(--accent); font-style: italic; }

.newsletter { max-width: 460px; margin-bottom: 30px; }
.newsletter label { display: block; margin-bottom: 10px; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-2); }
.newsletter__row { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); transition: border-color 0.5s var(--ease); }
.newsletter__row:focus-within { border-color: var(--ink); }
.newsletter input {
  flex: 1;
  min-width: 0;
  padding: 12px 0;
  border: 0;
  background: none;
  font-family: var(--serif);
  font-size: 1.35rem;
  outline: none;
}
.newsletter input::placeholder { color: var(--ink-3); }
.newsletter .round { width: 44px; height: 44px; margin-bottom: 6px; border: 0; }
.newsletter__msg { min-height: 1.5em; margin: 10px 0 0; font-size: 13px; color: var(--accent); }
.fine { margin: 0; font-size: 12px; color: var(--ink-2); }

/* ---- navegação inferior -------------------------------------------------- */
.hud {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter) clamp(18px, 3.4vh, 34px);
  pointer-events: none;
}
.hud > * { pointer-events: auto; }
.hud__arrow {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.5s var(--ease), opacity 0.5s var(--ease), background-color 0.5s var(--ease);
}
.hud__arrow .arrow { width: 18px; }
.hud__arrow:hover { border-color: var(--ink); background: rgba(255, 255, 255, 0.4); }
.hud__arrow:hover .arrow { width: 26px; }
.hud__arrow:disabled { opacity: 0.25; pointer-events: none; }
.hud__arrow.nudge { animation: nudge 2.6s var(--ease) 2s infinite; }
.hud__arrow.nudge .arrow { animation: nudge-arrow 2.6s var(--ease) 2s infinite; }
@keyframes nudge { 0%, 60%, 100% { box-shadow: 0 0 0 0 rgba(59, 48, 43, 0.18); } 30% { box-shadow: 0 0 0 10px rgba(59, 48, 43, 0); } }
@keyframes nudge-arrow { 0%, 60%, 100% { transform: none; } 20% { transform: translateX(5px); } 35% { transform: translateX(-1px); } }

.hud__center { display: grid; justify-items: center; gap: 2px; }
.hud__count { margin: 0; display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 15px; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.hud__sep { width: 22px; height: 1px; background: var(--ink); opacity: 0.4; }
.hud__total { color: var(--ink-3); }
.hud__title {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: opacity 0.4s var(--ease), transform 0.6s var(--ease);
}
.hud__title.is-out { opacity: 0; transform: translateY(6px); }
.hud__ticks { display: flex; gap: 6px; margin-top: 10px; }
.hud__ticks button { position: relative; width: 18px; height: 14px; }
.hud__ticks button::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: var(--ink);
  opacity: 0.18;
  transform: scaleX(0.55);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.hud__ticks button:hover::after { opacity: 0.5; }
.hud__ticks button[aria-current='true']::after { opacity: 1; transform: none; }

/* ---- menu ---------------------------------------------------------------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: grid;
  align-content: center;
  padding: var(--top) var(--gutter) var(--bottom);
  background: var(--paper);
  clip-path: circle(0 at 40px 40px);
  visibility: hidden;
  transition: clip-path 1s var(--ease-io), visibility 0s linear 1s;
}
.menu-open .menu { clip-path: circle(150% at 40px 40px); visibility: visible; transition: clip-path 1.1s var(--ease-io); }
.menu-open .hud { opacity: 0; pointer-events: none; }
.hud { transition: opacity 0.6s var(--ease); }
.menu__list {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: clamp(40px, 8vw, 140px);
  width: 100%;
  max-width: 1100px;
}
.menu__list li { break-inside: avoid; opacity: 0; transform: translateY(20px); transition: opacity 0.4s, transform 0.4s; }
.menu-open .menu__list li { opacity: 1; transform: none; transition: opacity 0.9s var(--ease) calc(var(--i) * 45ms + 350ms), transform 1s var(--ease) calc(var(--i) * 45ms + 350ms); }
.menu__list button {
  display: flex;
  align-items: baseline;
  gap: 18px;
  width: 100%;
  padding: clamp(4px, 1vh, 10px) 0;
  text-align: left;
}
.menu__list small { width: 2ch; font-size: 11px; letter-spacing: 0.1em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.menu__list span {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 4.6vw, 4.4rem);
  line-height: 1.08;
  transition: transform 0.7s var(--ease), color 0.5s var(--ease);
}
.menu__list button:hover span, .menu__list .is-current span { color: var(--accent); font-style: italic; transform: translateX(14px); }
.menu__foot {
  position: absolute;
  left: var(--gutter); bottom: clamp(20px, 4vh, 36px);
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---- sacola -------------------------------------------------------------- */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(59, 48, 43, 0.22);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0s linear 0.7s;
}
.drawer-open .scrim { opacity: 1; visibility: visible; transition: opacity 0.7s var(--ease); }
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  width: min(440px, 100vw);
  padding: clamp(22px, 4vh, 36px) clamp(22px, 3vw, 40px);
  background: var(--paper);
  box-shadow: -30px 0 80px -40px rgba(59, 48, 43, 0.35);
  transform: translateX(calc(100% + 140px));
  transition: transform 0.9s var(--ease-io);
}
.drawer-open .drawer { transform: none; }
.drawer__head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: 2rem; }
.drawer__close { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; }
.drawer__list { flex: 1; margin: 0; padding: 0; list-style: none; overflow-y: auto; }
.drawer__item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  animation: slidein 0.7s var(--ease) backwards;
}
@keyframes slidein { from { opacity: 0; transform: translateX(20px); } }
.drawer__thumb { width: 76px; height: 76px; padding: 6px; border-radius: 50%; background: var(--bg); }
.drawer__thumb .bag-body, .drawer__thumb .bag-shadow { animation: none; }
.drawer__name { margin: 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.1; }
.drawer__meta { margin: 2px 0 8px; font-size: 12px; color: var(--ink-2); }
.qty { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; }
.qty button { width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 50%; line-height: 1; transition: border-color 0.4s; }
.qty button:hover { border-color: var(--ink); }
.drawer__price { text-align: right; font-family: var(--serif); font-size: 1.2rem; }
.drawer__remove { display: block; margin: 6px 0 0 auto; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.drawer__remove:hover { color: var(--ink); }
.drawer__empty { flex: 1; display: none; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; }
.drawer__empty p { margin: 0; font-family: var(--serif); font-size: 1.6rem; font-style: italic; color: var(--ink-2); }
.drawer.is-empty .drawer__empty { display: flex; }
.drawer.is-empty .drawer__list, .drawer.is-empty .drawer__foot { display: none; }
.drawer__foot { padding-top: 20px; }
.drawer__total { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 18px; }
.drawer__total span { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-2); }
.drawer__total strong { font-family: var(--serif); font-size: 1.9rem; font-weight: 400; }

/* ---- aviso --------------------------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bottom) + 6px);
  z-index: 80;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast em { font-family: var(--serif); font-size: 15px; }

.flyer {
  position: fixed;
  left: 0; top: 0;
  z-index: 85;
  width: 18px; height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(59, 48, 43, 0.15);
}

/* ---- cursor -------------------------------------------------------------- */
.cursor { display: none; }
.has-cursor .cursor {
  position: fixed;
  left: 0; top: 0;
  z-index: 95;
  display: block;
  pointer-events: none;
}
.cursor span {
  position: absolute;
  left: -17px; top: -17px;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 1px solid rgba(59, 48, 43, 0.45);
  border-radius: 50%;
  font-size: 0;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: transform 0.5s var(--ease), background-color 0.5s var(--ease), border-color 0.5s var(--ease), font-size 0.3s;
}
.cursor span::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 4px; height: 4px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background: var(--ink);
  transition: opacity 0.3s;
}
.cursor.is-hover span { transform: scale(1.6); background: rgba(255, 255, 255, 0.35); border-color: rgba(59, 48, 43, 0.25); }
.cursor.is-hover span::after { opacity: 0; }
.cursor.is-label span { transform: scale(2.4); background: var(--ink); border-color: var(--ink); color: var(--paper); font-size: 3.6px; }
.cursor.is-label span::after { opacity: 0; }
.cursor.is-drag span { transform: scaleX(1.5) scaleY(0.8); }
.cursor.is-hidden { opacity: 0; }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1100px) {
  .product__hours { width: 82px; height: 82px; font-size: 25px; right: 0; }
}

@media (max-width: 820px), (max-aspect-ratio: 4/5) {
  :root { --top: 78px; --bottom: 112px; --gutter: 22px; }
  body { font-size: 14px; }

  .topbar__menu .topbar__label, .topbar__bag .topbar__label { display: none; }
  .bag-icon { display: block; }

  .slide { align-items: start; }

  .display { font-size: clamp(2.6rem, 11.5vw, 4.2rem); margin-bottom: 18px; }
  .display--md { font-size: clamp(2.3rem, 10vw, 3.4rem); }
  .eyebrow { margin-bottom: 14px; font-size: 10px; }
  .lead { margin-bottom: 26px; }

  /* início */
  .intro { grid-template-columns: 1fr; gap: 6px; align-content: center; min-height: 100%; }
  .intro__art { order: -1; width: min(78vw, 40vh, 400px); }
  .intro__text { text-align: left; }
  .swipe-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ink-2);
    margin: 0;
  }
  .swipe-hint i { position: relative; width: 36px; height: 1px; background: var(--line); overflow: hidden; }
  .swipe-hint i::after { content: ''; position: absolute; inset: 0; background: var(--ink); animation: hint 2.2s var(--ease-io) infinite; }
  @keyframes hint { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

  /* manifesto */
  .slide--manifesto { align-items: center; }
  .manifesto__text { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stat dt { font-size: 9px; letter-spacing: 0.16em; }
  .stat dd { font-size: 2.4rem; }

  /* produto */
  .product { grid-template-columns: 1fr; gap: 0; }
  .product__stage { order: 0; width: min(58vw, 27vh, 320px); }
  .product__info .yarn-note { display: none; }
  .product__line { margin: 6px 0 12px; }
  .size-input input { font-size: 1.3rem; }
  .product__hours { width: 66px; height: 66px; font-size: 20px; top: 4%; right: -6%; }
  .product__hours span { font-size: 6.5px; margin-top: 3px; }
  .product__num { font-size: 60vw; top: 2%; margin-top: 0; left: -6vw; }
  .product__info .eyebrow { margin-bottom: 8px; }
  .product__name { font-size: clamp(3.2rem, 16vw, 4.6rem); }
  .product__line { margin: 4px 0 14px; font-size: 1.15rem; }
  .product__text { display: none; }
  .specs { gap: 4px 20px; margin-bottom: 14px; }
  .specs dd { font-size: 13px; }
  .product__colors { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; margin-bottom: 14px; }
  .product__colors .color-note { flex-basis: 100%; margin: 0; }
  .product__colors .label { margin: 0; }
  .product__size, .product__yarn { justify-content: space-between; gap: 8px 12px; margin-bottom: 12px; }
  .product__size .label, .product__yarn .label, .product__colors .label { min-width: 0; }
  .swatch { width: 32px; height: 32px; }
  .product__buy { gap: 14px; }
  .price { display: flex; align-items: baseline; gap: 10px; font-size: 1.7rem; }
  .price small { margin: 0; font-size: 11px; }
  .product__actions { flex-wrap: nowrap; gap: 20px; }
  .btn { letter-spacing: 0.16em; font-size: 11px; }
  .btn--solid { padding: 15px 22px; }

  /* fundo atrás da navegação inferior, para conteúdo que rola */
  .hud { padding-top: 26px; background: linear-gradient(to top, var(--bg) 58%, transparent); transition: opacity 0.6s var(--ease), --bg 1.4s var(--ease); }
  .thread { display: none; }

  /* ateliê */
  .atelier { grid-template-rows: auto auto auto; align-content: center; height: auto; min-height: 100%; }
  .atelier__stage { grid-template-columns: 1fr; gap: 10px; }
  .step-art { width: min(52vw, 26vh, 240px); }
  .step-copy { min-height: 11.5em; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .steps strong { display: none; }

  /* sob medida */
  .custom { grid-template-columns: 1fr; gap: 26px; }
  .custom__preview { width: min(54vw, 26vh, 280px); }
  .custom__form .display { margin-bottom: 14px; }
  .custom__price { padding: 8px 16px; }
  .custom__price strong { font-size: 1.3rem; }
  .pill { padding: 8px 15px; font-size: 1.05rem; }

  /* clientes / contato */
  .slide--voices, .slide--contact { align-items: center; }
  .voices { grid-template-columns: 1fr; gap: 8px; }
  .voices__art { order: 0; width: min(46vw, 24vh, 220px); }
  .quote__mark { font-size: 5.5rem; }
  .quote__text { font-size: clamp(1.7rem, 7.6vw, 2.4rem); }

  /* hud */
  .hud__arrow { width: 44px; height: 44px; }
  .hud__ticks button { width: 12px; }

  .menu__list { columns: 1; }
  .menu__list span { font-size: clamp(1.9rem, 8vw, 2.6rem); }
}

/* telas baixas no computador: Sob Medida mais compacto para caber sem rolar */
@media (max-height: 860px) and (min-width: 821px) {
  .custom__form .eyebrow { margin-bottom: 8px; }
  .custom__form .display { font-size: clamp(2rem, 5.6vh, 3rem); margin-bottom: 12px; }
  .custom__form .pill { padding: 6px 14px; font-size: 1rem; }
  .custom__form .swatch { width: 30px; height: 30px; }
  .field { margin-bottom: 10px; }
  .field legend, .field .legend { margin-bottom: 8px; }
  .field--input input { font-size: 1.15rem; padding: 2px 0 6px; }
  .product__name { font-size: clamp(3.2rem, 10.5vh, 6rem); }
  .product__line { margin: 8px 0 14px; }
  .product__text { margin-bottom: 14px; font-size: 0.92rem; }
  .product__size, .product__yarn { margin-bottom: 10px; }
  .product__colors { margin-bottom: 16px; }
  .product__info .yarn-note { display: none; }
  .size-input input { font-size: 1.3rem; }
  .custom__form .size-input small { display: none; }
}

@media (max-height: 640px) and (min-width: 821px) {
  .product__text { display: none; }
  .steps strong { font-size: 1.05rem; }
}

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

@media (max-width: 820px) and (max-height: 720px) {
  .specs { display: none; }
  .product__stage { width: min(56vw, 30vh, 300px); }
}
