/* =====================================================================
   AREVU — HOME (dobras 02 a 08, header fixo, painéis e página de produto)
   Paleta oficial: #FFFFFF  #F5F9FC  #72C3F5  #073B78  #17283A
   ===================================================================== */
:root {
  --px: clamp(20px, 4.4vw, 72px);           /* margem lateral das seções */
  --maxw: 1520px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
}
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
body { background: var(--white); }
img { max-width: 100%; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

/* faixa de diferenciais da hero: fundo branco para combinar com o resto */
.strip { position: relative; }

/* ---------- tipografia e botões compartilhados ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--px); }
.kicker {
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--navy);
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--sky); }
.kicker--light { color: var(--white); }
.title {
  margin: 0; font-family: var(--display); font-style: italic; font-weight: 800;
  font-size: clamp(46px, 6.4vw, 108px); line-height: .98; letter-spacing: -.012em;
  text-transform: uppercase; color: var(--navy);
}
.title span { display: block; }
.title .soft { color: var(--sky); }
.lede { margin: 22px 0 0; max-width: 46ch; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; color: rgba(23, 40, 58, .78); }

.cta {
  --bg: var(--navy); --fg: var(--white); --bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); cursor: pointer;
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .15s ease;
}
.cta svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.cta:hover { --bg: var(--deep); --bd: var(--deep); }
.cta:hover svg { transform: translateX(4px); }
.cta:active { transform: scale(.98); }
.cta--ghost { --bg: transparent; --fg: var(--navy); --bd: rgba(7, 59, 120, .35); }
.cta--ghost:hover { --bg: var(--navy); --fg: var(--white); --bd: var(--navy); }
.cta--light { --bg: var(--white); --fg: var(--navy); --bd: var(--white); }
.cta--light:hover { --bg: var(--sky); --fg: var(--deep); --bd: var(--sky); }
.cta--ghost-light { --bg: transparent; --fg: var(--white); --bd: rgba(255, 255, 255, .6); }
.cta--ghost-light:hover { --bg: rgba(255, 255, 255, .14); --bd: var(--white); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; cursor: pointer;
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--navy);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

.link-plain { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.link-plain:hover { color: var(--sky); }

/* transição contínua do tênis entre carrossel e página de produto */
::view-transition-group(tenis) { animation-duration: .85s; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; }

/* entrada progressiva no scroll */
[data-reveal] { opacity: 0; translate: 0 34px; transition: opacity 1s var(--ease), translate 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
[data-reveal].is-in { opacity: 1; translate: 0 0; }

/* ---------- header fixo (aparece depois da hero) ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; gap: clamp(24px, 3vw, 52px);
  height: 72px; padding: 0 var(--px);
  background: rgba(255, 255, 255, .86); color: var(--deep);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(23, 40, 58, .08);
  translate: 0 -100%; transition: translate .5s var(--ease);
}
.topbar.is-on { translate: 0 0; }
.topbar__logo img { height: 40px; width: auto; display: block; }
.topbar__links { display: flex; gap: clamp(18px, 2vw, 32px); list-style: none; margin: 0; padding: 0; font-size: 14px; font-weight: 500; }
.topbar__links a { position: relative; padding: 6px 0; }
.topbar__links a::after { content: ""; position: absolute; inset: auto 0 0 0; height: 2px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.topbar__links a:hover::after { transform: scaleX(1); }
.topbar__right { margin-left: auto; display: flex; align-items: center; gap: 4px; }
@media (min-width: 1101px) {
  .topbar { display: grid; grid-template-columns: 1fr auto 1fr; }
  .topbar__logo { justify-self: start; }
  .topbar__right { justify-self: end; margin-left: 0; }
}
.tb-btn {
  position: relative; width: 42px; height: 42px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; transition: background .2s ease;
}
.tb-btn:hover { background: rgba(7, 59, 120, .08); }
.tb-btn svg { width: 21px; height: 21px; }
.tb-menu { display: none; }
.badge {
  position: absolute; top: 4px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  display: grid; place-items: center; font-size: 10px; font-weight: 700; line-height: 1;
  background: var(--sky); color: var(--deep); pointer-events: none;
  transform: scale(0); transition: transform .3s var(--ease);
}
.badge.has { transform: scale(1); }
.icon-btn { position: relative; }   /* para os contadores da hero */

/* =====================================================================
   DOBRA 02 — CARROSSEL IMERSIVO
   ===================================================================== */
.models { position: relative; background: var(--off-white); padding: clamp(80px, 8vw, 130px) 0 clamp(60px, 7vw, 110px); overflow: hidden; scroll-margin-top: -40px; }
.models .title { font-size: clamp(46px, 5.4vw, 92px); }
.models__head .lede { margin-top: 18px; }

.carousel { position: relative; margin-top: clamp(16px, 2vw, 32px); }
.carousel__stage {
  --sh: clamp(320px, min(42vw, 58svh), 660px);
  position: relative; height: var(--sh);
  perspective: 1400px; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none;
}
.carousel__stage:active { cursor: grabbing; }
.carousel__stage:focus-visible { outline-offset: -6px; }
/* halo de luz atrás do tênis */
.carousel__stage::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: min(70vw, 980px); aspect-ratio: 1.6; translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)); pointer-events: none;
}
.shoe {
  --x: 0px; --y: 0px; --r: -14deg; --s: 1; --blur: 0px; --o: 1;
  position: absolute; left: 50%; top: 48%; width: min(46vw, calc(var(--sh) * 1.18)); aspect-ratio: 1.82;
  padding: 0; border: 0; background: none; cursor: pointer;
  transform: translate(-50%, -50%) translate3d(var(--x), var(--y), 0) rotate(var(--r)) scale(var(--s));
  filter: blur(var(--blur)); opacity: var(--o);
  transition: transform 1.05s var(--ease-io), filter 1.05s var(--ease-io), opacity .9s var(--ease-io);
  will-change: transform, filter, opacity;
}
.shoe img { width: 100%; height: 100%; object-fit: contain; display: block; pointer-events: none; -webkit-user-drag: none; }
.shoe__float { width: 100%; height: 100%; }
.shoe.is-active .shoe__float { animation: float 5.5s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.shoe[aria-hidden="true"] { pointer-events: none; }
.carousel__shadow {
  position: absolute; left: 50%; top: 84%; width: min(34vw, 560px); height: 34px; translate: -50% 0;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(23, 40, 58, .22), rgba(23, 40, 58, 0));
  animation: shadow 5.5s ease-in-out infinite; pointer-events: none;
}
@keyframes shadow { 0%, 100% { scale: 1; opacity: 1; } 50% { scale: .9; opacity: .7; } }

.carousel__info { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px; margin-top: clamp(-30px, -2vw, -10px); }
.carousel__meta { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: rgba(23, 40, 58, .65); }
.carousel__count { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: .06em; color: var(--navy); }
.carousel__count b { font-weight: 600; }
.carousel__name { text-align: center; min-width: min(560px, 46vw); }
.name-swap { position: relative; display: grid; overflow: hidden; }
.name-swap > * { grid-area: 1 / 1; }
.carousel__title {
  margin: 0; font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: clamp(44px, 5.6vw, 92px); line-height: .9; letter-spacing: -.01em; color: var(--navy);
  transition: transform .7s var(--ease), opacity .5s ease;
}
.carousel__title em {
  font-style: italic; color: transparent; -webkit-text-stroke: 1.5px var(--sky); margin-left: .18em;
}
.carousel__desc { margin: 10px auto 0; max-width: 46ch; font-size: 15px; line-height: 1.55; color: rgba(23, 40, 58, .72); transition: opacity .5s ease, transform .6s var(--ease); }
.is-leaving { transform: translateY(-70%); opacity: 0; }
.is-entering { transform: translateY(70%); opacity: 0; transition: none !important; }
.carousel__open { margin-top: 18px; }
.carousel__nav { display: flex; justify-content: flex-end; gap: 10px; }
.round-btn {
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  border: 1.5px solid rgba(7, 59, 120, .25); background: var(--white); color: var(--navy);
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .15s ease;
}
.round-btn svg { width: 20px; height: 20px; }
.round-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.round-btn:active { transform: scale(.95); }
.carousel__dots { display: flex; gap: 8px; margin-top: 10px; }
.carousel__dots button { width: 22px; height: 3px; padding: 0; border: 0; border-radius: 2px; background: rgba(7, 59, 120, .18); cursor: pointer; transition: background .3s ease, width .4s var(--ease); }
.carousel__dots button[aria-current="true"] { width: 44px; background: var(--navy); }

/* =====================================================================
   PÁGINA DE PRODUTO (abre a partir do carrossel)
   ===================================================================== */
.detail {
  position: fixed; inset: 0; z-index: 80; overflow-y: auto; overscroll-behavior: contain;
  background: var(--off-white); color: var(--deep);
}
.detail[hidden] { display: none; }
.detail__bar {
  position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 72px; padding: 0 var(--px); background: rgba(245, 249, 252, .86);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.detail__back { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 18px 0 12px; border-radius: 999px; border: 1.5px solid rgba(7, 59, 120, .2); background: var(--white); color: var(--navy); cursor: pointer; font-size: 13px; font-weight: 600; }
.detail__back svg { width: 18px; height: 18px; }
.detail__back:hover { border-color: var(--navy); }
.detail__bar img { height: 34px; }
.detail__hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: clamp(24px, 4vw, 72px); align-items: center; min-height: calc(100svh - 72px); padding: 0 var(--px) clamp(40px, 5vw, 80px); max-width: var(--maxw); margin: 0 auto; }
.detail__media { position: relative; }
.detail__main { position: relative; aspect-ratio: 1.6; display: grid; place-items: center; }
.detail__main img { width: 100%; height: 100%; object-fit: contain; rotate: -10deg; transition: opacity .35s ease, rotate .8s var(--ease); }
.detail__main img.is-flat { rotate: 0deg; }
.detail__main::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 4%; height: 28px; border-radius: 50%; background: radial-gradient(closest-side, rgba(23, 40, 58, .2), transparent); z-index: -1; }
.detail__thumbs { display: flex; gap: 10px; margin-top: 18px; }
.detail__thumbs button {
  width: 92px; aspect-ratio: 1.3; padding: 8px; border-radius: 14px; border: 1.5px solid transparent; background: var(--white); cursor: pointer;
  transition: border-color .25s ease;
}
.detail__thumbs button[aria-pressed="true"] { border-color: var(--navy); }
.detail__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.detail__info .kicker { margin-bottom: 14px; }
.detail__name { margin: 0; font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: clamp(56px, 6.2vw, 104px); line-height: .86; color: var(--navy); }
.detail__name em { display: block; font-style: italic; color: transparent; -webkit-text-stroke: 1.6px var(--navy); }
.detail__colors-label { margin: 22px 0 6px; font-size: 13px; color: rgba(23, 40, 58, .65); }
.detail__colors-label b { color: var(--deep); font-weight: 600; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  width: 34px; height: 34px; border-radius: 50%; padding: 0; cursor: pointer; background: var(--c);
  border: 2px solid var(--white); box-shadow: 0 0 0 1px rgba(23, 40, 58, .2); transition: box-shadow .25s ease, transform .2s ease;
}
.swatch:hover { transform: scale(1.08); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--navy); }
.detail__desc { margin: 22px 0 0; font-size: 16px; line-height: 1.6; color: rgba(23, 40, 58, .8); max-width: 44ch; }
.detail__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.fav-btn { width: 52px; height: 52px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(7, 59, 120, .25); background: var(--white); color: var(--navy); cursor: pointer; transition: background .25s ease, color .25s ease; }
.fav-btn svg { width: 22px; height: 22px; }
.fav-btn[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.fav-btn[aria-pressed="true"] svg path { fill: currentColor; }
.detail__note { margin: 18px 0 0; font-size: 13px; line-height: 1.5; color: rgba(23, 40, 58, .55); }
.detail__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.4vw, 20px); padding: 0 var(--px); max-width: var(--maxw); margin: 0 auto; }
.detail__gallery figure { position: relative; margin: 0; aspect-ratio: 1.25; border-radius: 24px; background: var(--white); display: grid; place-items: center; padding: 6%; overflow: hidden; }
.detail__gallery figure:first-child { grid-column: 1 / -1; aspect-ratio: 2.4; }
.detail__gallery img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; }
.detail__specs { max-width: var(--maxw); margin: 0 auto; padding: clamp(48px, 6vw, 96px) var(--px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; }
.detail__specs dl { margin: 0; }
.detail__specs dl div { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid rgba(23, 40, 58, .12); }
.detail__specs dt { font-family: var(--display); font-weight: 600; font-size: 20px; text-transform: uppercase; letter-spacing: .03em; color: var(--navy); }
.detail__specs dd { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(23, 40, 58, .75); }
.detail__next { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--px) 64px; }

/* =====================================================================
   DOBRA 03 — CATEGORIAS
   ===================================================================== */
.cats { padding: clamp(90px, 10vw, 160px) 0 clamp(60px, 6vw, 100px); background: var(--white); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 40px; align-items: end; margin-bottom: clamp(36px, 4vw, 64px); }
.sec-head .lede { margin: 0 0 6px; justify-self: end; }
.cats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 20px); }
.cat {
  position: relative; display: block; aspect-ratio: 3 / 4.1; border-radius: clamp(18px, 1.8vw, 28px); overflow: hidden; color: var(--white);
  isolation: isolate;
}
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.02); transition: transform 1.4s var(--ease); }
.cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 40, 90, 0) 45%, rgba(7, 35, 80, .78) 100%); }
.cat:hover img { transform: scale(1.08); }
.cat__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 2.4vw, 36px); }
.cat__num { position: absolute; top: clamp(18px, 2vw, 28px); left: clamp(22px, 2.4vw, 36px); font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: .1em; }
.cat h3 { margin: 0; font-family: var(--display); font-style: italic; font-weight: 800; font-size: clamp(44px, 4.6vw, 80px); line-height: .9; text-transform: uppercase; transition: transform .6s var(--ease); }
.cat p { margin: 10px 0 18px; max-width: 30ch; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.cat .link-arrow { color: var(--white); }
.cat:hover h3 { transform: translateY(-4px); }
.cat:hover .link-arrow svg { transform: translateX(6px); }

/* =====================================================================
   EM MOVIMENTO — carrossel em tela cheia (imagens 16:9)
   ===================================================================== */
.motion { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); touch-action: pan-y; }
.motion__slide { position: absolute; inset: 0; isolation: isolate; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.motion__slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease, visibility 0s; }
.motion__slide img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.motion__slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 30, 70, .62) 0%, rgba(4, 30, 70, .28) 34%, rgba(4, 30, 70, 0) 54%); }
.motion__slide--light::after { display: none; }
.motion__copy { position: absolute; left: var(--px); top: 50%; translate: 0 -50%; max-width: 46%; color: var(--white); }
.motion__copy .title { color: var(--white); font-size: clamp(54px, min(7.2vw, 15svh), 136px); }
.motion__copy .title .soft { color: var(--sky); }
.motion__slide--light .motion__copy .title { color: var(--navy); }
.motion__copy .kicker::before { display: none; }
.motion__copy .cta { margin-top: clamp(22px, 3.4svh, 36px); }
.motion__copy > * { opacity: 0; translate: 0 26px; transition: opacity .7s ease, translate .9s var(--ease); }
.motion__slide.is-active .motion__copy > * { opacity: 1; translate: 0 0; }
.motion__slide.is-active .motion__copy > :nth-child(1) { transition-delay: .25s; }
.motion__slide.is-active .motion__copy > :nth-child(2) { transition-delay: .35s; }
.motion__slide.is-active .motion__copy > :nth-child(3) { transition-delay: .5s; }
.motion__controls { position: absolute; left: var(--px); bottom: clamp(48px, 16%, 170px); z-index: 2; display: flex; gap: 12px; }
.topbar.is-on.is-away { translate: 0 -100%; }
@media (max-width: 767px) {
  .motion { --tf: clamp(44px, 13vw, 64px); aspect-ratio: auto; height: min(162vw, 700px); min-height: 580px; }
  .motion__slide img { inset: 0 0 auto 0; height: 62%; object-position: var(--mx, 60%) 50%; }
  .motion__slide::after, .motion__slide--light::after { display: block; background: linear-gradient(180deg, rgba(7, 59, 120, 0) 44%, rgba(7, 59, 120, .1) 48%, rgba(7, 59, 120, .3) 52%, rgba(7, 59, 120, .58) 56%, rgba(7, 59, 120, .83) 59%, var(--navy) 62%); }
  .motion__copy { left: 20px; right: 20px; top: auto; bottom: 36px; translate: none; max-width: none; text-align: center; }
  .motion__copy .kicker { justify-content: center; }
  .motion__copy .title, .motion__slide--light .motion__copy .title { color: var(--white); font-size: var(--tf); }
  .motion__slide--light .motion__copy .kicker { color: var(--white); }
  .motion__slide--light .motion__copy .cta { --bg: var(--white); --fg: var(--navy); --bd: var(--white); }
  .motion__copy .cta { margin-top: 16px; }
  /* só as setas, nas laterais, na altura do nome do modelo (acima do título) */
  .motion__controls { left: 8px; right: 8px; bottom: calc(107.5px + var(--tf) * 1.96); justify-content: space-between; pointer-events: none; }
  .motion__controls .round-btn { pointer-events: auto; width: 44px; height: 44px; border: 0; background: none; color: var(--white); filter: drop-shadow(0 1px 4px rgba(4, 30, 70, .6)); }
  .motion__controls .round-btn:hover { background: none; color: var(--sky); }
  .motion__controls .round-btn svg { width: 24px; height: 24px; }
}

/* =====================================================================
   DOBRA 04 — TECNOLOGIA (sticky controlado pelo scroll)
   ===================================================================== */
.tech { position: relative; height: 340vh; background: var(--white); }
.tech__sticky { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr); align-items: center; gap: clamp(20px, 3vw, 60px); padding: 0 var(--px); max-width: var(--maxw); margin: 0 auto; overflow: hidden; }
.tech__list { list-style: none; margin: clamp(18px, 3svh, 40px) 0 clamp(16px, 2.6svh, 30px); padding: 0; counter-reset: t; }
.tech__list li { position: relative; padding: clamp(10px, 1.8svh, 18px) 0 clamp(10px, 1.8svh, 18px) 54px; border-top: 1px solid rgba(23, 40, 58, .1); opacity: .38; transition: opacity .5s ease; }
.tech__list li::before { counter-increment: t; content: "0" counter(t); position: absolute; left: 0; top: 18px; font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--navy); }
.tech__list li.is-active { opacity: 1; }
.tech__list b { display: block; font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: .03em; text-transform: uppercase; color: var(--navy); }
.tech__list span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.55; color: rgba(23, 40, 58, .75); max-height: 0; overflow: hidden; transition: max-height .6s var(--ease); }
.tech__list li.is-active span { max-height: 90px; }
.tech__progress { height: 2px; background: rgba(7, 59, 120, .12); border-radius: 2px; overflow: hidden; margin-bottom: clamp(16px, 3svh, 30px); }
.tech__progress i { display: block; height: 100%; width: 100%; background: var(--navy); transform-origin: left; transform: scaleX(var(--p, 0)); }
.tech__sticky { padding-top: 72px; }
.tech .title { font-size: clamp(40px, min(5.2vw, 8.6svh), 92px); }
.tech .lede { margin-top: 14px; }
.tech__visual { position: relative; height: min(76svh, 720px); display: grid; place-items: center; overflow: hidden; border-radius: 36px; background: var(--off-white); }
.tech__shoe { position: relative; width: 100%; aspect-ratio: 2.09; transition: transform 1.2s var(--ease-io); transform: translate(var(--tx, 0), var(--ty, 0)) scale(var(--ts, 1)); }
.tech__shoe img { width: 100%; height: 100%; object-fit: contain; display: block; }
.tech__marks { position: absolute; inset: 0; overflow: visible; }
.mark { position: absolute; left: var(--mx); top: var(--my); opacity: 0; scale: calc(1 / var(--ts, 1)); transition: opacity .6s ease, scale 1.2s var(--ease-io); }
.mark i { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 6px rgba(114, 195, 245, .45); }
.mark.is-active { opacity: 1; }
.mark.is-active i { animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(114, 195, 245, .7); } 100% { box-shadow: 0 0 0 22px rgba(114, 195, 245, 0); } }
/* linha reta ligando o ponto ao rótulo */
.mark::after { content: ""; position: absolute; left: -.5px; width: 1px; height: 58px; background: var(--navy); box-shadow: 0 0 0 1px rgba(255, 255, 255, .55); }
.mark i { border: 2px solid var(--white); box-sizing: border-box; }
/* evita o texto "pular" quando a descrição ativa muda de altura */
@media (min-width: 1101px) { .tech__list li.is-active span { min-height: 47px; } }
.mark span {
  position: absolute; left: 0; translate: -50% 0; white-space: nowrap; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy); background: var(--white); padding: 8px 14px; border-radius: 999px; box-shadow: 0 10px 30px -14px rgba(7, 40, 90, .45);
}
.mark--up::after { bottom: 7px; }
.mark--up span { bottom: 65px; }
.mark--down::after { top: 7px; }
.mark--down span { top: 65px; }

/* =====================================================================
   DOBRA 05 — VITRINE (cena com os modelos)
   ===================================================================== */
.showcase { padding: clamp(80px, 8vw, 130px) 0; background: var(--off-white); scroll-margin-top: 40px; }
.showcase__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.showcase__text .cta { margin-top: 32px; }
.showcase__photo { margin: 0; justify-self: end; width: min(100%, calc(min(100svh - 112px, 920px) * .75)); aspect-ratio: 3 / 4; border-radius: clamp(20px, 2vw, 32px); overflow: hidden; }
.showcase__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* =====================================================================
   DOBRA 06 — CAMPANHA
   ===================================================================== */
.campaign { position: relative; height: 170vh; background: var(--white); }
.campaign__sticky { position: sticky; top: 0; height: 100svh; display: grid; place-items: stretch; padding: var(--cg, 6vh) var(--cgx, 6vw); transition: padding .1s linear; }
.campaign__frame { position: relative; overflow: hidden; border-radius: var(--cr, 32px); isolation: isolate; color: var(--white); }
.campaign__frame img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: 70% 50%; z-index: -2; transform: translate3d(0, var(--py, 0), 0) scale(var(--ps, 1.08)); }
.campaign__frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 30, 70, .55) 0%, rgba(4, 30, 70, .18) 45%, rgba(4, 30, 70, 0) 65%); }
.campaign__body { position: absolute; left: clamp(28px, 5vw, 96px); top: 50%; translate: 0 -50%; max-width: min(620px, 52%); }
.campaign .title { color: var(--white); font-size: clamp(54px, 8vw, 150px); }
.campaign .title span { opacity: 0; translate: 0 60%; transition: opacity .9s var(--ease), translate 1s var(--ease); }
.campaign .title span:nth-child(2) { transition-delay: .12s; }
.campaign .lede { color: rgba(255, 255, 255, .9); opacity: 0; translate: 0 20px; transition: opacity .9s var(--ease) .25s, translate .9s var(--ease) .25s; }
.campaign .campaign__cta { margin-top: 30px; opacity: 0; translate: 0 20px; transition: opacity .9s var(--ease) .38s, translate .9s var(--ease) .38s; }
.campaign .kicker { opacity: 0; transition: opacity .8s ease; }
.campaign.is-in .title span, .campaign.is-in .lede, .campaign.is-in .campaign__cta { opacity: 1; translate: 0 0; }
.campaign.is-in .kicker { opacity: 1; }

/* =====================================================================
   DOBRA 07 — BRAND STORY
   ===================================================================== */
.story { padding: clamp(100px, 11vw, 180px) 0; background: var(--white); }
.story__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.story__photo { position: sticky; top: 96px; margin: 0; aspect-ratio: 3 / 4; border-radius: clamp(20px, 2vw, 32px); overflow: hidden; }
.story__photo img { width: 100%; height: 118%; object-fit: cover; transform: translate3d(0, var(--sy, 0), 0); }
.story__text { padding-top: clamp(0px, 4vw, 60px); }
.story__text p { margin: 0 0 22px; max-width: 52ch; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.7; color: rgba(23, 40, 58, .8); }
.story__text .title { margin-bottom: clamp(30px, 3vw, 48px); }
.story__quote { margin: clamp(40px, 5vw, 72px) 0; padding: 0; font-family: var(--display); font-style: italic; font-weight: 700; font-size: clamp(34px, 3.6vw, 60px); line-height: 1; text-transform: uppercase; color: var(--navy); }
.story__quote::before { content: ""; display: block; width: 64px; height: 3px; margin-bottom: 24px; background: var(--sky); }

/* =====================================================================
   DOBRA 08 — FECHAMENTO + RODAPÉ
   ===================================================================== */
.closing { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: clamp(90px, 10vw, 160px) 0 clamp(80px, 8vw, 130px); }
.closing::before { content: ""; position: absolute; right: -10%; top: -30%; width: 70vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(114, 195, 245, .35), rgba(114, 195, 245, 0)); }
.closing__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.closing .title { color: var(--white); font-size: clamp(52px, 6.6vw, 118px); }
.closing .title .soft { color: var(--sky); }
.closing .lede { color: rgba(255, 255, 255, .82); }
.closing__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.closing__shoe { position: relative; }
.closing__shoe { display: grid; place-items: center; }
.closing__shoe img { width: 100%; max-height: 62svh; object-fit: contain; rotate: -14deg; filter: drop-shadow(0 50px 50px rgba(0, 10, 30, .4)); animation: float 6s ease-in-out infinite; }

.site-footer { background: var(--deep); color: rgba(255, 255, 255, .78); padding: clamp(64px, 6vw, 96px) 0 32px; font-size: 14px; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer__brand img { height: 64px; }
.site-footer__brand p { margin: 20px 0 0; max-width: 34ch; line-height: 1.6; color: rgba(255, 255, 255, .62); }
.site-footer h4 { margin: 0 0 16px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--white); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--sky); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: clamp(48px, 5vw, 80px); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .5); }
.site-footer__credit { display: inline-flex; align-items: center; gap: 9px; margin: 0; }
.site-footer__credit img { display: block; height: 19px; width: auto; opacity: .9; }
.site-footer__word { margin: 40px 0 0; font-family: var(--display); font-style: italic; font-weight: 800; font-size: clamp(80px, 17vw, 300px); line-height: .8; letter-spacing: -.01em; color: rgba(255, 255, 255, .06); text-transform: uppercase; user-select: none; }

/* =====================================================================
   PAINÉIS: menu, busca, sacola e favoritos
   ===================================================================== */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(23, 40, 58, .45); opacity: 0; transition: opacity .4s ease; }
.scrim.is-on { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 91; width: min(440px, 100%); display: flex; flex-direction: column;
  background: var(--white); color: var(--deep); translate: 100% 0; transition: translate .55s var(--ease); box-shadow: -30px 0 80px -40px rgba(7, 40, 90, .5);
}
.drawer.is-on { translate: 0 0; }
.drawer--left { left: 0; right: auto; translate: -100% 0; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; height: 76px; padding: 0 24px; border-bottom: 1px solid rgba(23, 40, 58, .08); }
.drawer__head h2 { margin: 0; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 30px; text-transform: uppercase; color: var(--navy); }
.drawer__body { flex: 1; overflow-y: auto; padding: 16px 24px 24px; }
.drawer__empty { margin: 40px 0; text-align: center; color: rgba(23, 40, 58, .6); line-height: 1.6; }
.line-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(23, 40, 58, .08); }
.line-item img { width: 96px; aspect-ratio: 1.3; object-fit: contain; background: var(--off-white); border-radius: 12px; padding: 6px; }
.line-item b { display: block; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 22px; text-transform: uppercase; color: var(--navy); line-height: 1; }
.line-item span { font-size: 13px; color: rgba(23, 40, 58, .65); }
.line-item button { border: 0; background: none; color: rgba(23, 40, 58, .6); cursor: pointer; font-size: 13px; text-decoration: underline; }
.menu-links { list-style: none; margin: 8px 0 0; padding: 0; }
.menu-links a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(23, 40, 58, .08); font-family: var(--display); font-style: italic; font-weight: 800; font-size: 34px; text-transform: uppercase; color: var(--navy); }
.search-box { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 18px; border-radius: 16px; background: var(--off-white); }
.search-box svg { width: 20px; height: 20px; color: var(--navy); flex: none; }
.search-box input { flex: 1; height: 100%; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: var(--deep); }
.search-results { list-style: none; margin: 16px 0 0; padding: 0; }
.search-results button { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(23, 40, 58, .08); background: none; text-align: left; cursor: pointer; color: inherit; }
.search-results img { width: 84px; aspect-ratio: 1.3; object-fit: contain; background: var(--off-white); border-radius: 10px; padding: 6px; }
.search-results b { display: block; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 22px; text-transform: uppercase; color: var(--navy); }
.search-results span { font-size: 13px; color: rgba(23, 40, 58, .65); }
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 100; translate: -50% calc(100% + 60px); display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-radius: 999px; background: var(--deep); color: var(--white); font-size: 14px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5);
  transition: translate .5s var(--ease);
}
.toast.is-on { translate: -50% 0; }
.toast i { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }
body.is-locked { overflow: hidden; }

/* =====================================================================
   RESPONSIVO
   ===================================================================== */
@media (max-width: 1100px) {
  .topbar__links { display: none; }
  .tb-menu { display: grid; }
  .carousel__info { grid-template-columns: 1fr auto; }
  .carousel__name { grid-column: 1 / -1; grid-row: 1; min-width: 0; }
  .carousel__meta { grid-row: 2; }
  .carousel__nav { grid-row: 2; }
  /* tecnologia empilhada (sem sticky) em tablet e celular */
  .tech { height: auto; padding: 90px 0 60px; }
  .tech__sticky { position: relative; height: auto; grid-template-columns: 1fr; padding-top: 0; }
  .tech__visual { height: auto; order: -1; padding: 30px 0; }
  .tech__list li { opacity: 1; }
  .tech__list span { max-height: none; }
  .tech__progress { display: none; }
  .mark { opacity: 1; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .detail__hero { grid-template-columns: 1fr; min-height: 0; padding-top: 12px; }
}
@media (max-width: 767px) {
  .topbar { height: 64px; }
  .topbar__logo img { height: 34px; }
  .topbar__right .tb-btn.hide-sm { display: none; }
  .sec-head { grid-template-columns: 1fr; gap: 16px; }
  .showcase__grid { grid-template-columns: 1fr; }
  .showcase__photo { width: 100%; justify-self: stretch; }
  .sec-head .lede { justify-self: start; }
  .carousel__stage { height: 300px; }
  .shoe { width: 84vw; }
  .carousel__shadow { width: 60vw; top: 82%; }
  .carousel__info { grid-template-columns: 1fr; text-align: center; margin-top: 0; }
  .carousel__meta { align-items: center; grid-column: 1; grid-row: 3; }
  .carousel__nav { justify-content: center; grid-column: 1; grid-row: 1; }
  .carousel__name { min-width: 0; grid-column: 1; grid-row: 2; }
  .carousel__desc { max-width: none; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  /* categorias: uma imagem embaixo da outra */
  .cats__grid { grid-template-columns: 1fr; gap: 14px; }
  /* tecnologia: sem sticky, conteúdo empilhado */
  .tech { height: auto; padding: 80px 0; }
  .tech__sticky { position: relative; height: auto; grid-template-columns: 1fr; padding-top: 0; }
  .tech__visual { height: auto; order: -1; padding: 30px 0; }
  .tech__list li { opacity: 1; }
  .tech__list span { max-height: none; }
  .tech__progress { display: none; }
  .mark { opacity: 1; }
  .campaign { height: auto; }
  .campaign__sticky { position: relative; height: 86svh; padding: 10px; }
  .campaign__body { left: 24px; right: 24px; top: auto; bottom: 32px; translate: none; max-width: none; }
  .campaign__frame::after { background: linear-gradient(0deg, rgba(4, 30, 70, .75) 0%, rgba(4, 30, 70, 0) 60%); }
  .story__grid { grid-template-columns: 1fr; }
  .story__photo { position: relative; top: 0; aspect-ratio: 4 / 4.4; }
  .closing__grid { grid-template-columns: 1fr; }
  .closing__shoe { order: -1; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer__bottom { flex-direction: column; }
  .detail__gallery { grid-template-columns: 1fr; }
  .detail__gallery figure:first-child { aspect-ratio: 1.6; }
  .detail__specs { grid-template-columns: 1fr; }
  .detail__specs dl div { grid-template-columns: 1fr; gap: 6px; }
  .detail__next { flex-direction: column; align-items: stretch; }
}

@media (max-width: 767px) {
  /* tecnologia: pontos numerados, na mesma ordem da lista 01, 02 e 03 */
  .tech__visual { padding: 44px 0 50px; }
  .mark::after { height: 40px; }
  .mark span { display: block; width: 26px; height: 26px; padding: 0; border-radius: 50%; background: var(--navy); font-size: 0; letter-spacing: 0; box-shadow: none; }
  .mark span::before { content: attr(data-n); position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: 0; font-variant-numeric: tabular-nums; color: var(--white); }
  .mark--up span { bottom: 47px; }
  .mark--down span { top: 47px; }
  /* fechamento: menos azul em volta do tênis */
  .closing { padding: 44px 0 56px; }
  .closing__grid { gap: 14px; text-align: center; }
  .closing .kicker { justify-content: center; }
  .closing .lede { margin-left: auto; margin-right: auto; }
  .closing__actions { justify-content: center; }
  .closing__shoe { padding: 18px 0 14px; }
  .closing__shoe img { height: auto; max-height: none; }
  /* página do produto: conteúdo centralizado */
  .detail__thumbs { justify-content: center; }
  .detail__info { text-align: center; }
  .detail__info .kicker { justify-content: center; }
  .detail__desc { margin-left: auto; margin-right: auto; }
  .swatches, .detail__actions { justify-content: center; }
}

@media (max-width: 1100px) {
  /* com os três pontos à vista, todos iguais e visíveis sobre o tecido claro e o contraforte escuro */
  .mark i, .mark.is-active i { width: 12px; height: 12px; margin: -6px 0 0 -6px; background: var(--sky); border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--navy); animation: none; }
}
@media (max-width: 400px) {
  .tech .kicker { font-size: 11px; letter-spacing: .14em; }
}

/* =====================================================================
   MOVIMENTO REDUZIDO
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  [data-reveal] { opacity: 1; translate: none; }
  .campaign .title span, .campaign .lede, .campaign .campaign__cta, .campaign .kicker { opacity: 1; translate: none; }
  .tech { height: auto; }
  .tech__sticky { position: relative; height: auto; padding: 80px var(--px); }
  .tech__list li { opacity: 1; }
  .tech__list span { max-height: none; }
  .mark { opacity: 1; }
  .campaign { height: auto; }
  .campaign__sticky { position: relative; }
}
