/* Assinaturas do Terceirão: numeração de uniforme, molde, etiqueta e serigrafia.
   Elementos decorativos estáticos por padrão; animação apenas com .mo. */
.hero-terceirao {
  isolation: isolate;
  padding-bottom: 130px;
}
.hero-terceirao::before {
  z-index: 0;
  background: linear-gradient(
    100deg,
    #070708f7 0%,
    #070708e0 48%,
    #070708b8 100%
  );
}
.jersey-edition {
  position: absolute;
  z-index: 1;
  right: -2%;
  top: -3%;
  width: min(58vw, 790px);
  color: #c8a76d;
  pointer-events: none;
  transform: rotate(-8deg);
}
.jersey-number {
  display: block;
  font: 800 clamp(22rem, 46vw, 44rem)/0.8 var(--font-display);
  letter-spacing: -0.09em;
  color: transparent;
  -webkit-text-stroke: 1px #c8a76d50;
}
.jersey-edition-kicker,
.jersey-edition-foot {
  display: block;
  font: 700 0.68rem/1.3 var(--font-main);
  letter-spacing: 0.28em;
  color: #c8a76d80;
  padding-left: 10%;
}
.jersey-edition-kicker {
  margin-bottom: 24px;
}
.jersey-edition-foot {
  padding-left: 38%;
  margin-top: 24px;
}
.hero-media-wrapper {
  position: relative;
  padding-top: 90px;
  padding-bottom: 36px;
}
.cutting-pattern {
  position: absolute;
  inset: -8% -10%;
  width: 120%;
  height: 115%;
  pointer-events: none;
  overflow: visible;
}
.pattern-seam {
  stroke: #c8a76d88;
  stroke-width: 1.3;
  stroke-dasharray: 5 7;
}
.pattern-collar {
  stroke: #c8a76d40;
  stroke-width: 1;
}
.pattern-marks {
  stroke: #c8a76d80;
  stroke-width: 1;
}
.hero-image-card {
  border-radius: 4px 4px 30px 4px;
  border-color: #9c835d66;
  transform: rotate(1.5deg);
  box-shadow:
    16px 22px 0 -12px #070708,
    16px 22px 0 -11px #c8a76d40,
    0 26px 50px #0005;
}
.hero-image-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 2;
  border: 1px dashed #fdfcfb80;
  border-radius: 1px 1px 20px 1px;
  pointer-events: none;
}
.hero-floating-badge {
  z-index: 3;
  border-radius: 2px 2px 14px 2px;
  border: 1px solid #eee6d8;
}
.hero-sticker {
  box-shadow: 0 8px 20px #0003;
}
.sticker-min {
  right: -8px;
  top: 51%;
  background: #171717;
  color: #ead7b3;
  outline: 4px solid #171717;
  border-color: #c8a76d;
  border-radius: 6px;
  font-size: 0.86rem;
  rotate: 4deg;
}
.sticker-art {
  bottom: -2px;
  left: 14px;
  background: #c8a76d;
  rotate: -3deg;
  font-size: 0.8rem;
  border-radius: 5px;
  z-index: 4;
}
.lookbook-index {
  position: absolute;
  bottom: -36px;
  left: 22px;
  right: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #bfb6a6;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}
.lookbook-index > span {
  color: #c8a76d;
}
/* A etiqueta tem trama, ilhós e fio. O conteúdo não sugere certificações. */
.woven-tag {
  --tag-tilt: 0deg;
  position: absolute;
  top: -26px;
  left: -12px;
  z-index: 5;
  width: 106px;
  padding: 27px 10px 12px;
  background: #f1e9d9;
  color: #171512;
  transform: rotate(calc(-8deg + var(--tag-tilt)));
  transform-origin: 50% -38px;
  border: 1px solid #cfbfa3;
  border-radius: 2px;
  box-shadow: 4px 7px 14px #0005;
  text-align: center;
}
.woven-tag::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px dashed #8d795a88;
  pointer-events: none;
}
.woven-tag::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, #493c2410 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, #fdfcfb30 0 1px, transparent 1px 3px);
  pointer-events: none;
}
.tag-cord {
  position: absolute;
  width: 65px;
  height: 69px;
  left: calc(50% - 32px);
  top: -58px;
  stroke: #d6c29e;
  stroke-width: 1.6;
  overflow: visible;
}
.tag-eyelet {
  position: absolute;
  top: 10px;
  left: calc(50% - 4px);
  width: 8px;
  height: 8px;
  background: #171512;
  border: 2px solid #a99572;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #ddd0b9;
}
.woven-tag-brand {
  display: block;
  font: 800 0.95rem/1 var(--font-display);
  letter-spacing: 0.12em;
}
.woven-tag-caption {
  display: block;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin: 6px 0 12px;
}
.woven-tag-year {
  display: block;
  font: 800 2.65rem/0.75 var(--font-display);
  letter-spacing: -0.05em;
}
.woven-tag-year::first-line {
  color: #8a6b34;
}
.woven-tag-barcode {
  display: block;
  height: 9px;
  width: 58px;
  margin: 13px auto 8px;
  background: repeating-linear-gradient(
    90deg,
    #1b1812 0 1px,
    transparent 1px 3px,
    #1b1812 3px 5px,
    transparent 5px 7px,
    #1b1812 7px 8px,
    transparent 8px 12px
  );
}
.woven-tag-origin {
  display: block;
  font-size: 0.43rem;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.hero-measure {
  position: absolute;
  z-index: 2;
  bottom: 25px;
  left: max(24px, calc((100% - 1272px) / 2));
  right: max(24px, calc((100% - 1272px) / 2));
  display: flex;
  align-items: flex-end;
  gap: 20px;
  padding: 12px 0 0;
  border-top: 1px solid #c8a76d50;
  background: repeating-linear-gradient(
      90deg,
      #c8a76d60 0 1px,
      transparent 1px 10px
    )
    left top/100% 5px no-repeat;
  color: #a99d87;
  font: 700 0.58rem/1.2 var(--font-main);
  letter-spacing: 0.17em;
}
.hero-measure i {
  flex: 1;
}
/* Prancha de modelagem: grade discreta e código de cada tecido. */
.prod-thumb-box {
  background-color: #eee9df;
  background-image:
    linear-gradient(#8a6b3409 1px, transparent 1px),
    linear-gradient(90deg, #8a6b3409 1px, transparent 1px);
  background-size: 20px 20px;
}
.prod-thumb-box::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 12px;
  border: 1px solid #8a6b3426;
  pointer-events: none;
}
.prod-thumb-box::after {
  content: attr(data-pattern-code);
  position: absolute;
  right: 10px;
  top: 17px;
  writing-mode: vertical-rl;
  color: #655c4b;
  letter-spacing: 0.12em;
  font: 700 0.5rem/1 var(--font-main);
  pointer-events: none;
}
.prod-thumb-box .prod-pill-tag {
  z-index: 3;
}
.print-art {
  transform-box: fill-box;
}
.print-squeegee {
  opacity: 0;
  pointer-events: none;
}
.mo .print-ready.is-printing .print-art {
  animation: inkOnFabric 0.85s cubic-bezier(0.35, 0, 0.2, 1) both;
}
.mo .print-ready.is-printing .print-squeegee {
  animation: squeegeePass 0.85s cubic-bezier(0.35, 0, 0.2, 1) both;
}
@keyframes inkOnFabric {
  0%,
  12% {
    clip-path: inset(0 0 100% 0);
  }
  85%,
  100% {
    clip-path: inset(0);
  }
}
@keyframes squeegeePass {
  0% {
    opacity: 0;
    transform: translateY(-8px) rotate(-2deg);
  }
  12% {
    opacity: 1;
  }
  78% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(66px) rotate(1deg);
  }
}
/* As abas lembram amostras de tecido cortadas com tesoura de picotar. */
.fabric-tabs button {
  position: relative;
  border-radius: 3px;
  border-style: dashed;
  background-color: #ede6d7;
  background-image: repeating-linear-gradient(
    0deg,
    #8a6b3408 0 1px,
    transparent 1px 3px
  );
  font-weight: 700;
}
.fabric-tabs button::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  top: 4px;
  bottom: 4px;
  border-top: 1px solid #8a6b3440;
  border-bottom: 1px solid #8a6b3440;
  pointer-events: none;
}
.fabric-tabs button[aria-selected="true"] {
  border-color: #c8a76d;
  background-color: #151515;
  color: #f1e9d9;
}
.fabric-tabs button[aria-selected="true"]::after {
  border-color: #c8a76d70;
  border-style: dashed;
}
.fabric-panel {
  position: relative;
  border-radius: 4px 4px 20px 4px;
  border: 1px dashed #b4a17d;
}
.mo .fabric-panel:not([hidden]) {
  animation: fabricSample 0.3s ease both;
}
@keyframes fabricSample {
  from {
    opacity: 0;
    transform: translateX(12px) rotate(1deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* Etiqueta de memória no fechamento, afastada do texto e do CTA. */
.section-final-cta-t {
  position: relative;
  overflow: hidden;
}
.memory-label {
  position: relative;
  top: auto;
  right: auto;
  width: 111px;
  margin: -110px auto 40px;
  padding: 24px 12px 18px;
  border: 1px dashed #c8a76d;
  background: #151515;
  color: #e9dbbd;
  transform: rotate(7deg);
  text-align: center;
  box-shadow: 4px 8px 0 #07070816;
}
.memory-label::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid #c8a76d3d;
}
.memory-label > span {
  display: block;
  font-size: 0.5rem;
  letter-spacing: 0.15em;
  font-weight: 700;
}
.memory-label strong {
  display: block;
  font: 800 1.8rem/0.92 var(--font-display);
  padding: 18px 0;
}
.memory-label i {
  display: block;
  height: 14px;
  width: 1px;
  background: #151515;
  position: absolute;
  bottom: -13px;
  left: 15px;
  transform: rotate(-15deg);
}
/* As entradas não escondem conteúdo quando JavaScript está indisponível. */
.mo .hero-ready .jersey-number {
  animation: jerseyUnfold 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.mo .hero-ready .pattern-seam {
  animation: tracePattern 1.8s ease 0.2s both;
}
.mo .hero-ready .woven-tag {
  animation: labelHang 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.25s backwards;
}
@keyframes jerseyUnfold {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    clip-path: inset(0);
    transform: none;
  }
}
@keyframes tracePattern {
  from {
    clip-path: inset(0 100% 0 0);
    opacity: 0.3;
  }
  to {
    clip-path: inset(0);
    opacity: 1;
  }
}
@keyframes labelHang {
  0% {
    opacity: 0;
    transform: translateY(-18px) rotate(-20deg);
  }
  45% {
    opacity: 1;
    transform: translateY(0) rotate(5deg);
  }
  72% {
    transform: rotate(-11deg);
  }
  100% {
    opacity: 1;
    transform: rotate(calc(-8deg + var(--tag-tilt)));
  }
}
@media (hover: hover) and (pointer: fine) {
  .woven-tag {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .hero-ready .woven-tag:hover {
    animation: none;
  }
}
@media (max-width: 1199px) {
  .memory-label {
    width: 100px;
  }
  .memory-label strong {
    font-size: 1.5rem;
  }
}
@media (min-width: 768px) and (max-width: 859px) {
  .hero-media-wrapper {
    margin-top: 24px;
  }
  .woven-tag {
    left: calc(50% - 258px);
  }
  .jersey-edition {
    top: 35%;
    width: 90%;
    right: -10%;
  }
}
@media (max-width: 767px) {
  .hero-terceirao {
    padding-bottom: 100px;
  }
  .jersey-edition {
    top: 5%;
    right: -20%;
    width: 115%;
    opacity: 0.75;
  }
  .jersey-number {
    font-size: 26rem;
  }
  .jersey-edition-kicker,
  .jersey-edition-foot {
    display: none;
  }
  .hero-text-col {
    position: relative;
  }
  .hero-media-wrapper {
    padding-top: 90px;
    padding-bottom: 28px;
    margin-top: 14px;
  }
  .hero-image-card {
    border-radius: 3px 3px 25px 3px;
  }
  .hero-image-card::after {
    inset: 7px;
  }
  .woven-tag {
    left: -7px;
    top: -34px;
    width: 82px;
    padding: 22px 8px 10px;
    transform-origin: 50% -25px;
  }
  .tag-cord {
    width: 48px;
    height: 52px;
    left: calc(50% - 24px);
    top: -43px;
  }
  .tag-eyelet {
    top: 9px;
  }
  .woven-tag-brand {
    font-size: 0.7rem;
  }
  .woven-tag-caption {
    font-size: 0.37rem;
    margin-bottom: 9px;
  }
  .woven-tag-year {
    font-size: 2rem;
  }
  .woven-tag-barcode {
    width: 43px;
    height: 6px;
    margin: 10px auto 6px;
  }
  .woven-tag-origin {
    font-size: 0.34rem;
  }
  .sticker-min {
    font-size: 0.7rem;
    right: -6px;
    padding: 9px 10px;
  }
  .sticker-art {
    font-size: 0.7rem;
    left: 10px;
    bottom: -2px;
    padding: 8px 10px;
  }
  .lookbook-index {
    font-size: 0.47rem;
    left: 14px;
    right: 4px;
    bottom: -40px;
    letter-spacing: 0.1em;
  }
  .cutting-pattern {
    inset: -5% -8%;
    width: 116%;
  }
  .hero-measure {
    left: 18px;
    right: 18px;
    gap: 8px;
    font-size: 0.47rem;
    letter-spacing: 0.1em;
    bottom: 22px;
  }
  .memory-label {
    position: relative;
    width: 110px;
    top: auto;
    right: auto;
    margin: -90px auto 35px;
    padding: 17px 12px 14px;
    transform: rotate(-4deg);
  }
  .memory-label strong {
    font-size: 1.5rem;
    padding: 12px 0;
  }
  .memory-label > span {
    font-size: 0.43rem;
  }
  .section-final-cta-t {
    padding-top: 80px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .jersey-number,
  .pattern-seam,
  .woven-tag,
  .print-art,
  .print-squeegee,
  .fabric-panel {
    animation: none !important;
    transition: none !important;
  }
  .jersey-number,
  .pattern-seam,
  .print-art {
    clip-path: none !important;
    opacity: 1 !important;
  }
  .woven-tag {
    transform: rotate(-8deg) !important;
  }
  .print-squeegee {
    display: none;
  }
}
/* O tecido permanece à vista enquanto a arte recebe a passada de tinta. */
.mo .print-ready .prod-thumb-box .garment-mockup {
  clip-path: none;
}
/* Comparativo: mostruário selecionável, com a tabela inteira sempre à vista. */
.fabric-desktop-picker {
  display: none;
}
.tip-icon-circle {
  background: transparent;
  border: 1px dashed #8a6b3480;
  border-radius: 8px;
  color: #71572d;
  transform: rotate(-4deg);
  width: 50px;
  height: 50px;
}
.tip-icon-circle svg {
  display: block;
  width: 30px;
  height: 30px;
}
.tip-card:nth-child(2) .tip-icon-circle {
  border-color: #8a6b34;
  color: #574321;
}
.fabric-row-choice {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  padding: 4px 0;
  min-height: 44px;
}
.fabric-row-choice::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  border: 1px solid #a08b66;
  border-radius: 50%;
}
.fabric-row-choice[aria-pressed="true"]::before {
  border-color: #8a6b34;
  background: #8a6b34;
  box-shadow: 0 0 0 3px #c8a76d2b;
}
@media (min-width: 768px) {
  .fabric-desktop-picker {
    display: block;
    margin: 28px 0 24px;
  }
  .fabric-picker-hint {
    font-size: 0.8rem;
    color: #5f584d;
    margin-bottom: 12px;
  }
  .fabric-picker-toolbar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }
  .fabric-picker-button {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px dashed #ac9b7e;
    border-radius: 3px;
    padding: 10px 14px;
    text-align: left;
    background: #fdfcfb;
    color: #29251f;
    font-weight: 700;
    font-size: 0.85rem;
  }
  .fabric-picker-number {
    font: 800 1.25rem/1 var(--font-display);
    color: #8a6b34;
  }
  .fabric-picker-button[aria-pressed="true"] {
    background: #171717;
    border-color: #c8a76d;
    color: #f1e9d9;
  }
  .fabric-picker-button[aria-pressed="true"] .fabric-picker-number {
    color: #d1b47e;
  }
  .fabric-picker-button:hover {
    transform: translateY(-2px);
  }
  .fabric-specimen-board {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) minmax(100px, 180px);
    align-items: center;
    gap: 22px;
    margin-top: 16px;
    padding: 20px 24px;
    background: #1a1a1b;
    color: #f5eee2;
    border-radius: 3px 3px 20px 3px;
    border: 1px solid #706047;
    overflow: hidden;
  }
  .fabric-specimen {
    position: relative;
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    background-color: #272b31;
    background-image: radial-gradient(#0b0b0b 1px, transparent 1px);
    background-size: 4px 4px;
    color: #d7c4a1;
    clip-path: polygon(
      0 6%,
      6% 0,
      12% 6%,
      18% 0,
      24% 6%,
      30% 0,
      36% 6%,
      42% 0,
      48% 6%,
      54% 0,
      60% 6%,
      66% 0,
      72% 6%,
      78% 0,
      84% 6%,
      90% 0,
      100% 6%,
      100% 94%,
      94% 100%,
      88% 94%,
      82% 100%,
      76% 94%,
      70% 100%,
      64% 94%,
      58% 100%,
      52% 94%,
      46% 100%,
      40% 94%,
      34% 100%,
      28% 94%,
      22% 100%,
      16% 94%,
      10% 100%,
      0 94%
    );
  }
  .fabric-specimen::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px dashed #c8a76d99;
  }
  .fabric-specimen > span {
    font: 800 1rem/1 var(--font-display);
    letter-spacing: 0.12em;
  }
  .fabric-specimen-board[data-fabric="1"] .fabric-specimen {
    background-color: #e4d9c4;
    background-image:
      repeating-linear-gradient(0deg, #9c8b6b20 0 1px, transparent 1px 3px),
      repeating-linear-gradient(90deg, #fff8 0 1px, transparent 1px 3px);
    color: #4b3a1e;
  }
  .fabric-specimen-board[data-fabric="1"] .fabric-specimen::before {
    border-color: #77603b;
  }
  .fabric-specimen-board[data-fabric="2"] .fabric-specimen {
    background-color: #51483b;
    background-image: repeating-linear-gradient(
      15deg,
      #0b0b0b30 0 1px,
      transparent 1px 3px
    );
  }
  .fabric-specimen-board[data-fabric="3"] .fabric-specimen {
    background-color: #444446;
    background-image:
      repeating-linear-gradient(45deg, #0002 0 1px, transparent 1px 2px),
      repeating-linear-gradient(-45deg, #fff1 0 1px, transparent 1px 3px);
  }
  .fabric-specimen-index {
    display: block;
    color: #cfb88f;
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    margin-bottom: 6px;
  }
  .fabric-specimen-copy strong {
    display: block;
    font: 700 1.7rem/1.05 var(--font-display);
  }
  .fabric-specimen-copy p {
    color: #d1cbc1;
    font-size: 0.85rem;
    margin-top: 6px;
  }
  .fabric-specimen-composition {
    border-left: 1px dashed #c8a76d66;
    padding-left: 20px;
    color: #d1c2a9;
    font-size: 0.8rem;
  }
  .fabrics-table tbody tr {
    cursor: pointer;
  }
  .fabrics-table tbody tr:hover {
    background: #f7f0e5;
  }
  .fabrics-table tbody tr.fabric-selected {
    background: #f1e6d2;
    box-shadow: inset 3px 0 #8a6b34;
  }
  .fabrics-table td {
    transition: none;
  }
  .mo .fabric-specimen-board.is-changing .fabric-specimen {
    animation: swatchSwap 0.35s ease both;
  }
  .mo .fabric-specimen-board.is-changing .fabric-specimen-copy {
    animation: swatchCopy 0.3s ease both;
  }
}
@keyframes swatchSwap {
  from {
    opacity: 0.2;
    transform: translateY(-10px) rotate(-6deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes swatchCopy {
  from {
    opacity: 0;
    transform: translateX(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 768px) and (max-width: 1000px) {
  .fabric-picker-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fabric-specimen-board {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
  }
  .fabric-specimen-composition {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fabric-picker-button:hover {
    transform: none;
  }
  .fabric-specimen,
  .fabric-specimen-copy {
    animation: none !important;
    transition: none !important;
  }
}
.fabrics-table tbody tr.fabric-selected {
  --text-muted: #5e574b;
}
.fabrics-table td:first-child small {
  display: block;
  margin-top: 4px;
  line-height: 1.4;
}
@media (max-width: 767px) {
  .fabric-panel::before {
    content: "";
    position: absolute;
    top: 23px;
    right: 22px;
    width: 37px;
    height: 42px;
    border: 1px dashed #c8a76d;
    background-color: #272b31;
    background-image: radial-gradient(#080808 1px, transparent 1px);
    background-size: 4px 4px;
    transform: rotate(4deg);
  }
  .fabric-panel dl > div:first-child {
    padding-right: 48px;
  }
  #fabric-panel-1::before {
    background-color: #e4d9c4;
    background-image:
      repeating-linear-gradient(0deg, #8a6b3420 0 1px, transparent 1px 3px),
      repeating-linear-gradient(90deg, #fff8 0 1px, transparent 1px 3px);
    border-color: #8a6b34;
  }
  #fabric-panel-2::before {
    background-color: #51483b;
    background-image: repeating-linear-gradient(
      15deg,
      #0003 0 1px,
      transparent 1px 3px
    );
  }
  #fabric-panel-3::before {
    background-color: #444446;
    background-image:
      repeating-linear-gradient(45deg, #0002 0 1px, transparent 1px 2px),
      repeating-linear-gradient(-45deg, #fff1 0 1px, transparent 1px 3px);
  }
}
/* Cartões de produto só com informação: etiqueta acima do título, sem foto. */
.prod-card-body .prod-pill-tag {
  position: static;
  display: inline-block;
  margin-bottom: 14px;
  backdrop-filter: none;
}
