/* J & J — Dois Manequins. Chalk, tape, paired forms. Not mirrored. */
:root {
  --chalk: #F2EFE6;
  --paper: #F7F4EC;
  --stripe: #2D2D2D;
  --blue: #3E5C76;
  --tape: #E0B84C;
  --tape-ink: #5C4708;
  --mist: #E7E2D4;
  --line: rgba(45, 45, 45, 0.22);
  --serif: "Libre Caslon Text", "Times New Roman", serif;
  --sans: "Work Sans", "Segoe UI", sans-serif;
  --rail: 26px;
  --max: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--stripe);
  background:
    radial-gradient(circle at 18% 12%, rgba(224, 184, 76, 0.08), transparent 28%),
    radial-gradient(circle at 82% 88%, rgba(62, 92, 118, 0.08), transparent 32%),
    var(--chalk);
  padding-left: var(--rail);
  padding-right: var(--rail);
}

body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: var(--rail);
  z-index: 40;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      to bottom,
      var(--tape) 0 10px,
      #d6ad3d 10px 11px,
      var(--tape) 11px 22px,
      #c79a2a 22px 23px
    );
  box-shadow: inset 0 0 0 1px rgba(92, 71, 8, 0.25);
}
body::before {
  left: 0;
  background-image:
    repeating-linear-gradient(to bottom, transparent 0 18px, rgba(92, 71, 8, 0.55) 18px 19px),
    repeating-linear-gradient(to bottom, var(--tape) 0 11px, #d4a83a 11px 12px);
}
body::after {
  right: 0;
  background-image:
    repeating-linear-gradient(to bottom, transparent 0 27px, rgba(92, 71, 8, 0.55) 27px 28px),
    repeating-linear-gradient(to bottom, #e6c25a 0 11px, var(--tape) 11px 12px);
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--stripe); }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }
button, input, select, textarea { font: inherit; }

.hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--stripe);
  color: var(--chalk);
  padding: 0.55rem 0.9rem;
  text-decoration: none;
}
.skip-link:focus { top: 0.6rem; }

.wrap {
  width: min(var(--max), calc(100% - 1.5rem));
  margin-inline: auto;
}

.par-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
}
.par-label::before,
.par-label::after {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: var(--tape);
}
.par-label::after { width: 2.4rem; opacity: 0.7; }

.chalk-rule {
  height: 0;
  border: 0;
  border-top: 1px dashed var(--stripe);
  opacity: 0.35;
  margin: 0;
}

.pair-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.7rem 4.5%;
  background: color-mix(in srgb, var(--paper) 92%, white);
  border-bottom: 1px dashed var(--stripe);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--stripe);
  min-width: 0;
}
.jj-pair {
  display: flex;
  align-items: stretch;
  gap: 0.28rem;
}
.mark-j {
  width: 2.35rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.35rem;
  border: 1.5px solid var(--stripe);
  border-radius: 50% 50% 42% 42% / 46% 46% 54% 54%;
}
.mark-j.is-a {
  background: var(--blue);
  color: var(--chalk);
  border-color: var(--blue);
  transform: rotate(-4deg);
}
.mark-j.is-b {
  background: var(--paper);
  color: var(--stripe);
  transform: rotate(5deg);
  margin-top: 0.28rem;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.brand-name {
  font-family: var(--sans);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}
.brand-tag {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: 0.22rem;
}
.pair-nav {
  display: flex;
  justify-content: center;
  gap: 1.15rem;
  flex-wrap: wrap;
}
.pair-nav a {
  color: var(--stripe);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.1rem;
}
.pair-nav a[aria-current="page"],
.pair-nav a:hover {
  border-bottom-color: var(--tape);
  color: var(--blue);
}
.bar-tools {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  justify-content: flex-end;
}
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--stripe);
  font-weight: 600;
  border: 1px solid var(--stripe);
  padding: 0.35rem 0.65rem 0.35rem 0.7rem;
  background: var(--paper);
}
.cart-link strong {
  min-width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  background: var(--tape);
  color: var(--tape-ink);
  font-size: 0.78rem;
}
.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--stripe);
  background: var(--paper);
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--stripe);
  margin: 0 auto;
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.twin-stage {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: min(78vh, 42rem);
  background: var(--paper);
  border-bottom: 1px dashed var(--stripe);
}
.twin-stage figure {
  margin: 0;
  position: relative;
  overflow: hidden;
}
.twin-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 18rem;
  filter: saturate(0.86) contrast(1.04);
}
.twin-stage figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: var(--tape);
  color: var(--tape-ink);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.3rem 0.55rem;
}
.twin-copy {
  padding: clamp(1.4rem, 4vw, 3.2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px dashed var(--blue);
  background:
    linear-gradient(90deg, transparent 47%, rgba(62, 92, 118, 0.05) 47% 53%, transparent 53%);
}
.lead { font-size: 1.08rem; max-width: 38rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 0.4rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.7rem;
  padding: 0.55rem 1.15rem;
  border: 1.5px solid var(--stripe);
  background: var(--stripe);
  color: var(--chalk);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}
.btn:hover { background: var(--blue); border-color: var(--blue); color: var(--chalk); }
.btn-ghost {
  background: transparent;
  color: var(--stripe);
}
.btn-ghost:hover { background: var(--mist); color: var(--stripe); }
.btn-wide { width: 100%; }
.btn-tape {
  background: var(--tape);
  color: var(--tape-ink);
  border-color: #c79a2a;
}
.btn-tape:hover { background: #c79a2a; color: var(--stripe); }

.band { padding: clamp(2rem, 5vw, 4rem) 0; }
.band-paper { background: var(--paper); border-block: 1px dashed var(--stripe); }
.band-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.4rem;
}

.pair-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
}
.pair-tile {
  background: var(--paper);
  border: 1px dashed var(--stripe);
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
}
.pair-tile:nth-child(odd) { transform: translateY(0.55rem); }
.pair-tile:nth-child(even) { margin-left: 0.4rem; }
.pair-tile a.tile-photo {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--mist);
}
.pair-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pair-no {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  background: var(--paper);
  border: 1px solid var(--stripe);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  padding: 0.2rem 0.45rem;
  font-weight: 700;
  color: var(--blue);
}
.tile-body { padding: 0.85rem 0.95rem 1rem; }
.tile-body p {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.tile-body h3 a { color: var(--stripe); text-decoration: none; }
.tile-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.55rem;
}
.price { font-weight: 700; }
.icon-btn {
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--stripe);
  background: var(--tape);
  color: var(--tape-ink);
  cursor: pointer;
}

.offset-pair {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 0;
  border-block: 1px dashed var(--stripe);
}
.offset-pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 16rem;
}
.offset-copy {
  padding: clamp(1.4rem, 4vw, 3rem);
  background: var(--paper);
  border-left: 1px dashed var(--blue);
}

.note-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.note-card {
  background: var(--paper);
  border: 1px dashed var(--stripe);
  padding: 1rem 1.05rem;
}
.note-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--blue);
  margin-bottom: 0.35rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
}
.filter-chip {
  border: 1px dashed var(--stripe);
  background: transparent;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
}
.filter-chip[aria-pressed="true"] {
  background: var(--blue);
  color: var(--chalk);
  border-style: solid;
}

.crumbs { font-size: 0.88rem; margin-bottom: 1rem; }
.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.6rem;
  align-items: start;
}
.product-photo {
  background: var(--paper);
  border: 1px dashed var(--stripe);
  padding: 0.7rem;
}
.product-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.size-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.4rem 0 1rem; }
.size-chip {
  min-width: 2.6rem;
  border: 1px solid var(--stripe);
  background: var(--paper);
  padding: 0.35rem 0.55rem;
  cursor: pointer;
}
.size-chip.is-on { background: var(--stripe); color: var(--chalk); }

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(16rem, 0.7fr);
  gap: 1.4rem;
  align-items: start;
}
.form-card,
.resume-card,
.aside-box {
  background: var(--paper);
  border: 1px dashed var(--stripe);
  padding: 1.1rem 1.15rem 1.2rem;
  margin-bottom: 1rem;
}
.form-card h2, .resume-card h2, .aside-box h2 {
  font-size: 1.2rem;
}
.form-group { margin-bottom: 0.8rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.form-row {
  display: grid;
  gap: 0.7rem;
}
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.field {
  width: 100%;
  min-height: 2.6rem;
  border: 1px solid var(--stripe);
  background: #fffdf7;
  padding: 0.45rem 0.65rem;
  color: var(--stripe);
}
textarea.field { min-height: 8.5rem; resize: vertical; }
.hint { font-size: 0.86rem; color: #3a3a3a; margin: 0.3rem 0 0; }
.pay-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  padding: 0.7rem 0.2rem;
  border-bottom: 1px dashed var(--line);
  cursor: pointer;
}
.pay-option span span { display: block; font-size: 0.92rem; color: #333; }
.checkbox-line {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: start;
  margin: 0.65rem 0;
  font-size: 0.92rem;
  color: var(--stripe);
}
.checkbox-line input { margin-top: 0.28rem; accent-color: var(--blue); }
.checkbox-line a { color: var(--blue); text-decoration: underline; }
.checkbox-line.full { width: 100%; }

.cart-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 0.8rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--line);
  background: var(--paper);
}
.cart-row img { width: 5.5rem; height: 6.6rem; object-fit: cover; }
.qty { display: flex; align-items: center; gap: 0.4rem; margin: 0.4rem 0; }
.qty button {
  width: 1.8rem;
  height: 1.8rem;
  border: 1px solid var(--stripe);
  background: var(--mist);
  cursor: pointer;
}
.link-btn {
  border: 0;
  background: none;
  color: var(--blue);
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}
.resumo-line {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--line);
}
.resumo-line.total { font-weight: 700; font-size: 1.05rem; border-bottom: 0; margin-top: 0.4rem; }
.empty-note {
  background: var(--paper);
  border: 1px dashed var(--stripe);
  padding: 1.4rem;
}

.legal-pair {
  display: grid;
  grid-template-columns: minmax(12rem, 16rem) minmax(0, 1fr);
  gap: 1.6rem;
  align-items: start;
}
.legal-index {
  position: sticky;
  top: 5.4rem;
  background: var(--paper);
  border: 1px dashed var(--stripe);
  padding: 0.95rem 1rem;
}
.legal-index a {
  display: block;
  color: var(--stripe);
  text-decoration: none;
  padding: 0.28rem 0;
  border-bottom: 1px dashed var(--line);
}
.legal-index a:hover { color: var(--blue); }
.legal-prose {
  min-width: 0;
  background: var(--paper);
  border: 1px dashed var(--stripe);
  padding: clamp(1.1rem, 3vw, 1.8rem);
}
.legal-prose h1, .legal-prose h2 { font-family: var(--sans); letter-spacing: 0; }
.legal-prose h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.legal-prose h2 { font-size: 1.15rem; margin-top: 1.4rem; color: var(--blue); }
.meta { font-size: 0.88rem; color: #3a3a3a; }
.id-box {
  border: 1px solid var(--stripe);
  background: var(--chalk);
  padding: 0.85rem 1rem;
  margin: 1rem 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
  gap: 1.3rem;
  align-items: start;
}

.site-end {
  background: var(--stripe);
  color: var(--chalk);
  margin-top: 2.5rem;
  padding: 2rem 4.5% 1.2rem;
  border-top: 8px solid var(--tape);
}
.site-end a { color: #F3D36A; text-decoration: underline; }
.site-end h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tape);
}
.end-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.3fr;
  gap: 1.4rem;
}
.end-brand {
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--chalk);
  text-decoration: none;
}
.end-links { list-style: none; padding: 0; margin: 0; }
.end-links a { color: var(--chalk); text-decoration: underline; }
.end-links li { margin: 0.28rem 0; }
.news-form form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
}
.news-form .field {
  background: #1a1a1a;
  color: var(--chalk);
  border-color: #F3D36A;
}
.news-form .field::placeholder { color: #d7d1c3; }
.news-form .btn { background: var(--tape); color: var(--tape-ink); border-color: var(--tape); }
.news-form .checkbox-line {
  grid-column: 1 / -1;
  color: var(--chalk);
}
.news-form .checkbox-line a { color: #F3D36A; }
.end-legal {
  margin-top: 1.4rem;
  padding-top: 0.9rem;
  border-top: 1px dashed rgba(242, 239, 230, 0.35);
  font-size: 0.88rem;
  color: #efeae0;
}

.form-feedback {
  margin-top: 0.8rem;
  padding: 0.7rem 0.8rem;
  background: #e7f0e4;
  border: 1px solid #3d6b3a;
  color: #1e3b1c;
}
.toast-region {
  position: fixed;
  right: calc(var(--rail) + 0.8rem);
  bottom: 1rem;
  z-index: 60;
  display: grid;
  gap: 0.4rem;
}
.toast {
  background: var(--stripe);
  color: var(--chalk);
  padding: 0.7rem 0.9rem;
  border-left: 4px solid var(--tape);
}

@media (max-width: 900px) {
  :root { --rail: 14px; }
  .pair-bar { grid-template-columns: auto 1fr auto; }
  .pair-nav {
    display: none;
    position: absolute;
    left: var(--rail);
    right: var(--rail);
    top: 4.4rem;
    background: var(--paper);
    border: 1px dashed var(--stripe);
    padding: 0.8rem;
    flex-direction: column;
    z-index: 25;
  }
  .pair-nav.is-open { display: flex; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .twin-stage,
  .offset-pair,
  .product-layout,
  .two-col,
  .contact-grid,
  .legal-pair,
  .end-grid,
  .note-row,
  .pair-grid,
  .form-row-2,
  .form-row-3,
  .news-form form {
    grid-template-columns: 1fr;
  }
  .pair-tile:nth-child(odd),
  .pair-tile:nth-child(even) { transform: none; margin: 0; }
  .legal-index { position: static; }
  .twin-copy { border-left: 0; border-top: 1px dashed var(--blue); }
  .offset-copy { border-left: 0; border-top: 1px dashed var(--blue); }
  .band-head { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 4.4rem 1fr; }
}

@media (max-width: 560px) {
  .brand-name { font-size: 1.12rem; }
  .mark-j { width: 2rem; height: 2.3rem; font-size: 1.15rem; }
  .cart-link span { display: none; }
}
