/* TAON — home */
body.is-home { font-family: var(--tx-body); }
.is-home h1, .is-home h2, .is-home h3, .is-home p { margin: 0; }

.h-loader { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: #000; color: #fff; animation: h-failsafe 0s 4s forwards; }
.h-loader img { width: min(220px, 42vw); }
.h-loader-count { position: absolute; right: var(--tx-pad); bottom: 24px; font: 900 clamp(48px, 7vw, 120px)/1 var(--tx-display); }
@keyframes h-failsafe { to { visibility: hidden; } } /* se o script falhar, a loja abre mesmo assim */

.h-title { font: 900 clamp(30px, 3.4vw, 62px)/1 var(--tx-display); text-transform: uppercase; }
.h-link { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.h-link::after { content: '→'; transition: transform .4s var(--tx-ease); }
.h-link:hover::after { transform: translateX(6px); }
.h-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: clamp(36px, 4vw, 64px) var(--tx-pad) 20px; }

/* hero */
.h-hero { position: relative; height: 100svh; min-height: 540px; overflow: hidden; background: #000; color: #fff; }
.h-hero-media { position: absolute; inset: 0; }
.h-hero-media > video, .h-hero-media > img, .h-hero-media .banner-carousel { width: 100%; height: 100%; object-fit: cover; transform: none; }
.h-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,0) 24%, rgba(0,0,0,0) 55%, rgba(0,0,0,.55)); }
.h-hero-copy { position: absolute; left: var(--tx-pad); right: var(--tx-pad); bottom: clamp(36px, 7vh, 80px); z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 22px; }
.h-hero h1 { font: 900 clamp(72px, 11vw, 210px)/.84 var(--tx-display); text-transform: uppercase; }
.h-hero p { margin-top: 10px; font-size: clamp(14px, 1.2vw, 21px); font-weight: 600; text-transform: uppercase; }
.h-scroll { position: absolute; right: var(--tx-pad); top: 46%; z-index: 2; display: flex; align-items: center; gap: 12px; writing-mode: vertical-rl; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.h-scroll i { position: relative; width: 1px; height: 56px; overflow: hidden; background: rgba(255,255,255,.35); }
.h-scroll i::after { content: ''; position: absolute; inset: 0 0 60%; background: #fff; animation: h-drip 1.8s var(--tx-ease) infinite; }
@keyframes h-drip { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* duas coleções: a foto recua e revela quatro peças */
.h-cols { display: grid; grid-template-columns: 1fr 1fr; height: clamp(540px, 54vw, 1000px); background: #000; color: #fff; }
.h-col { position: relative; min-width: 0; overflow: hidden; }
.h-col-main { position: absolute; inset: 0; overflow: hidden; transform-origin: 30% 50%; transition: transform 1.1s var(--tx-ease), filter .6s, opacity .6s; }
.h-col-main img { width: 100%; height: 100%; object-fit: cover; }
.h-col-main::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.4), transparent 25%, transparent 62%, rgba(0,0,0,.5)); }
.h-col-label { position: absolute; left: var(--tx-pad); top: 24px; z-index: 4; display: flex; gap: 10px; align-items: flex-start; }
.h-col-label h2 { font: 900 clamp(38px, 4.6vw, 88px)/.9 var(--tx-display); text-transform: uppercase; }
.h-col-count { color: var(--tx-orange); font-size: 13px; font-weight: 700; }
.h-col-grid { position: absolute; left: 51%; right: var(--tx-pad); top: 20%; bottom: 14%; z-index: 2; display: grid; grid-template: 1fr 1fr / 1fr 1fr; gap: 8px; pointer-events: none; }
.h-col-grid a { min-width: 0; min-height: 0; overflow: hidden; background: #fff; clip-path: inset(100% 0 0 0); transition: clip-path .9s var(--tx-ease); }
.h-col-grid a:nth-child(2) { transition-delay: .06s; }
.h-col-grid a:nth-child(3) { transition-delay: .12s; }
.h-col-grid a:nth-child(4) { transition-delay: .18s; }
.h-col-grid img { width: 100%; height: 100%; object-fit: contain; transition: transform 1.2s var(--tx-out); }
.h-col-grid a:hover img { transform: scale(1.08); }
.h-col > .h-link { position: absolute; left: var(--tx-pad); bottom: 26px; z-index: 4; }
.h-col:hover .h-col-main, .h-col.is-active .h-col-main { transform: scale(.5); }
.h-col:hover .h-col-grid, .h-col.is-active .h-col-grid { pointer-events: auto; }
.h-col:hover .h-col-grid a, .h-col.is-active .h-col-grid a { clip-path: inset(0); }
@media (hover: hover) { .h-cols:hover .h-col:not(:hover) .h-col-main { filter: grayscale(1); opacity: .5; } }

/* peça da semana */
.h-pick { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; min-height: 660px; overflow: hidden; background: #000; color: #fff; }
.h-pick-media { position: relative; width: min(100%, 720px); aspect-ratio: 1; justify-self: center; background: #fff; }
.h-pick-media img { width: 100%; height: 100%; object-fit: contain; }
.h-pick-copy { display: grid; justify-items: start; gap: 18px; padding: 40px var(--tx-pad); }
.h-kicker { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--tx-orange); }
.h-pick-name { font: 900 clamp(40px, 5.4vw, 100px)/.9 var(--tx-display); text-transform: uppercase; }
.h-pick-price { font-size: 20px; font-weight: 700; }
.h-dot { position: absolute; width: 28px; height: 28px; margin: -14px; padding: 0; border: 0; border-radius: 50%; background: #000; box-shadow: inset 0 0 0 9px #000, inset 0 0 0 14px var(--tx-orange); cursor: pointer; }
.h-dot::after { content: ''; position: absolute; inset: -6px; border: 1px solid var(--tx-orange); border-radius: 50%; animation: h-pulse 2.4s var(--tx-out) infinite; }
@keyframes h-pulse { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.h-dot span {
  position: absolute; left: 36px; top: 50%; width: max-content; max-width: 150px; padding: 8px 10px; pointer-events: none;
  background: #000; color: #fff; font: 12px/1.3 var(--tx-body); text-align: left;
  opacity: 0; transform: translate(-6px, -50%); transition: opacity .3s, transform .4s var(--tx-out);
}
.h-dot b { display: block; color: var(--tx-orange); text-transform: uppercase; font-size: 10px; }
.h-dot:hover span, .h-dot.is-on span { opacity: 1; transform: translate(0, -50%); }

/* categorias */
.h-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--tx-line); }
.h-cat { position: relative; aspect-ratio: 3 / 4; overflow: hidden; color: #000; perspective: 900px; }
.h-cat + .h-cat { border-left: 1px solid var(--tx-line); }
.h-cat::before { content: ''; position: absolute; inset: 0; background: #000; transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--tx-ease); }
.h-cat img { position: absolute; left: 4%; top: 12%; width: 92%; height: 70%; object-fit: contain; transition: scale .8s var(--tx-out); }
.h-cat em { position: absolute; left: 16px; top: 16px; z-index: 2; font-style: normal; font-size: 11px; color: var(--tx-orange); }
.h-cat h3 { position: absolute; left: 16px; right: 16px; bottom: 16px; font: 900 clamp(24px, 2.4vw, 46px)/.95 var(--tx-display); text-transform: uppercase; transition: color .4s; }
.h-cat:hover::before { transform: none; }
.h-cat:hover h3 { color: #fff; }
.h-cat:hover img { scale: .9; }

/* banner e editorial */
.h-banner { position: relative; display: block; height: clamp(380px, 48vw, 900px); overflow: hidden; background: #000; }
.h-banner .banner-slot-wrap { position: absolute; inset: -10% 0; }
.h-banner img, .h-banner video { width: 100%; height: 100%; object-fit: cover; }
.h-editorial { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #000; color: #fff; }
.h-tile { position: relative; height: min(88svh, 820px); overflow: hidden; color: #fff; }
.h-tile .banner-slot-wrap { position: absolute; inset: 0; }
.h-tile img, .h-tile video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--tx-out); }
.h-tile::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(transparent 55%, rgba(0,0,0,.65)); }
.h-tile:hover img { transform: scale(1.05); }
.h-tile .banner-overlay { display: none; }
.h-tile h3 { position: absolute; left: 20px; right: 20px; bottom: 22px; z-index: 2; font: 900 clamp(30px, 3.2vw, 60px)/.92 var(--tx-display); text-transform: uppercase; }

/* looks */
.h-looks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; }
.h-look { position: relative; aspect-ratio: 3 / 4.3; overflow: hidden; background: #000; color: #fff; }
.h-look img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--tx-out); }
.h-look:hover img { transform: scale(1.05); }
.h-look::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 62%, rgba(0,0,0,.6)); }
.h-look span { position: absolute; left: 16px; bottom: 16px; z-index: 2; font: 900 clamp(22px, 2vw, 36px)/1 var(--tx-display); text-transform: uppercase; }

/* manifesto */
.h-about { display: grid; justify-items: center; gap: 22px; padding: clamp(64px, 9vw, 150px) var(--tx-pad); background: #000; color: #fff; text-align: center; }
.h-about-mark { width: clamp(110px, 12vw, 220px); }
.h-about-text { max-width: 24em; font-size: clamp(22px, 2.6vw, 46px); font-weight: 600; line-height: 1.18; }

/* instagram: só aparece quando o painel tem posts */
.h-insta:not(:has(.has-embed)) { display: none; }
.h-insta .testimonials-grid { padding: 0 var(--tx-pad) 48px; }

/* letreiro */
.h-ticker { overflow: hidden; background: var(--tx-orange); color: #000; }
.h-ticker .marquee-content { display: flex; width: max-content; padding: 13px 0; animation: h-ticker 90s linear infinite; }
.h-ticker .marquee-content span { display: block; padding-right: 40px; white-space: nowrap; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
@keyframes h-ticker { to { transform: translateX(-50%); } }

@media (max-width: 900px) {
  .h-hero-copy { flex-direction: column; align-items: flex-start; bottom: 92px; }
  .h-scroll { display: none; }
  .h-cols { grid-template-columns: minmax(0, 1fr); height: auto; }
  .h-col { height: 68svh; min-height: 420px; }
  .h-col:hover .h-col-main, .h-col.is-active .h-col-main { transform: scale(.52); }
  .h-pick { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .h-pick-copy { padding: 28px var(--tx-pad) 40px; }
  .h-dot span { max-width: 110px; }
  .h-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-cat:nth-child(3) { border-left: 0; }
  .h-cat:nth-child(n+3) { border-top: 1px solid var(--tx-line); }
  .h-editorial { grid-template-columns: minmax(0, 1fr); }
  .h-tile { height: 58svh; }
  .h-looks { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .h-look { scroll-snap-align: start; }
  .h-banner { height: 62vw; min-height: 260px; }
}
