/* QUAD — Style v4 */

:root {
  --bg:       #0a0a0a;
  --surface:  #141414;
  --surface2: #1c1c1c;
  --fg:       #f2f2f2;
  --muted:    rgba(242,242,242,0.4);
  --muted2:   rgba(242,242,242,0.15);
  --line:     rgba(242,242,242,0.08);
  --orange:   #FF5500;
  --orange2:  #cc4400;
  --nav-h:    64px;
  --r:        12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ════════════════ NAV ════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav__logo-img { height: 24px; width: auto; filter: invert(1); }
.nav__links { display: flex; gap: 2rem; }
.nav__links a {
  font-size: .6rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); transition: color .2s;
}
.nav__links a:hover { color: var(--fg); }
.nav__actions { display: flex; align-items: center; gap: 1rem; }
.nav__wa {
  font-size: .6rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--orange); transition: opacity .2s;
}
.nav__wa:hover { opacity: .7; }
.nav__hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 22px; background: none; border: none;
}
.nav__hamburger span { display: block; height: 1.5px; background: var(--fg); transition: transform .3s, opacity .2s; }
.nav__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; background: var(--bg); z-index: 199;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2.5rem 2rem;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }
.mobile-menu__links { display: flex; flex-direction: column; gap: .25rem; margin-bottom: 2rem; }
.mobile-menu__links a {
  font-size: clamp(2rem, 10vw, 4rem); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.2;
  color: rgba(242,242,242,.1); transition: color .2s;
}
.mobile-menu__links a:hover { color: var(--fg); }
.mobile-menu__wa { font-size: .875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }

/* ════════════════ HERO ═══════════════════ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100vh; min-height: 560px;
}

.hero__visual { position: relative; overflow: hidden; background: #111; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.hero__no-image { width: 100%; height: 100%; background: #181818; }
.hero__dots { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); display: flex; gap: .5rem; z-index: 2; }
.hero__dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.25); cursor: pointer; transition: background .3s, transform .3s; border: none; }
.hero__dot.active { background: var(--fg); transform: scale(1.3); }

.hero__body {
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + 2.5rem) 2.5rem 2.5rem;
}
.hero__season { font-size: .5rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); margin-bottom: auto; }
.hero__title  { font-size: clamp(4rem, 8vw, 11rem); font-weight: 900; letter-spacing: -.05em; line-height: .85; margin-bottom: 1.75rem; }
.hero__rule   { border: none; border-top: 1px solid var(--line); margin-bottom: 1.5rem; }
.hero__tagline{ font-size: clamp(.875rem, 1.2vw, 1rem); font-weight: 300; color: var(--muted); line-height: 1.65; margin-bottom: 2.5rem; }
.hero__cta    { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.hero__link   { font-size: .5rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.hero__link:hover { color: var(--fg); }
.hero__wa-cta { font-size: .5rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--orange); transition: opacity .2s; }
.hero__wa-cta:hover { opacity: .7; }

/* ════════════════ COLEÇÃO ════════════════ */
.colecao { background: var(--bg); }
.colecao__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.colecao__header span { font-size: .55rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* ════════════════ CARDS ══════════════════ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  padding: 1.75rem 2rem 3rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .25s, transform .3s cubic-bezier(.2,0,.2,1), box-shadow .3s;
  cursor: pointer;
}
.card:hover {
  border-color: rgba(242,242,242,.18);
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0,0,0,.6);
}

.card__link { display: flex; flex-direction: column; flex: 1; }

.card__img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--surface2);
  flex-shrink: 0;
}
.card__img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .6s cubic-bezier(.2,0,.2,1);
}
.card:hover .card__img { transform: scale(1.03); }
.card__no-img { width: 100%; height: 100%; background: var(--surface2); }

.card__fotos {
  position: absolute; bottom: .625rem; right: .625rem;
  font-size: .45rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--fg); background: rgba(0,0,0,.6); padding: .2rem .45rem;
  border-radius: 4px;
}

.card__body { padding: .875rem .875rem .625rem; flex: 1; display: flex; flex-direction: column; gap: .3rem; }

.card__name {
  font-size: .8rem; font-weight: 700;
  color: var(--fg); line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__desc {
  font-size: .7rem; color: var(--muted); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.card__price-row { display: flex; align-items: baseline; gap: .4rem; margin-top: auto; padding-top: .25rem; }
.card__price     { font-size: .875rem; font-weight: 700; color: var(--fg); }
.card__old-price { font-size: .7rem; color: var(--muted); text-decoration: line-through; }

.card__wa {
  display: block; padding: .7rem .875rem;
  background: transparent; color: var(--orange); border: none;
  font-size: .5rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  text-align: center;
  border-top: 1px solid var(--line);
  transition: background .2s, color .2s;
}
.card__wa:hover { background: var(--orange); color: var(--fg); }

.empty { text-align: center; padding: 5rem 2rem; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.empty__link { display: inline-block; margin-top: 1rem; color: var(--orange); }

/* ════════════════ PRODUTO — PÁGINA ═══════ */
.sp-wrap { background: var(--bg); min-height: 100vh; padding-top: var(--nav-h); }

.sp-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
  min-height: calc(100vh - var(--nav-h));
}

/* ── Galeria ── */
.sp-gallery {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-right: 1px solid var(--line);
}

.sp-gallery__main {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
}

/* Slides */
.sp-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .35s ease;
}
.sp-slide.active { opacity: 1; }
.sp-slide img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
}

/* Setas */
.sp-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.12);
  color: var(--fg); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
  user-select: none;
}
.sp-arrow:hover { background: var(--orange); border-color: var(--orange); }
.sp-arrow--prev { left: .875rem; }
.sp-arrow--next { right: .875rem; }

/* Thumbnails */
.sp-thumbs {
  display: flex; gap: .5rem;
  padding: .75rem 1rem;
  background: var(--surface);
  border-top: 1px solid var(--line);
  overflow-x: auto;
  flex-shrink: 0;
}
.sp-thumbs::-webkit-scrollbar { height: 3px; }
.sp-thumbs::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }

.sp-thumb {
  width: 54px; height: 68px; flex-shrink: 0;
  overflow: hidden; background: var(--surface2);
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color .2s, opacity .2s;
  opacity: .5;
}
.sp-thumb.active, .sp-thumb:hover { opacity: 1; border-color: var(--orange); }
.sp-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ── Info ── */
.sp-info {
  padding: 2.5rem 2.5rem 2rem;
  display: flex; flex-direction: column; gap: 1.5rem;
  overflow-y: auto;
}

.sp-back {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .55rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); transition: color .2s; width: fit-content;
}
.sp-back:hover { color: var(--fg); }

.sp-name { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }

/* Preço */
.sp-price-bar {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1rem 1.25rem;
}
.sp-price-wrap { display: flex; flex-direction: column; gap: .2rem; }
.sp-price-old     { font-size: .75rem; color: var(--muted); text-decoration: line-through; }
.sp-price-current { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }

/* Tamanhos */
.sp-sizes-wrap { display: flex; flex-direction: column; gap: .75rem; }
.sp-sizes-label { font-size: .55rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.sp-sizes-grid  { display: flex; flex-wrap: wrap; gap: .5rem; }

.sp-size-btn {
  min-width: 44px; height: 40px; padding: 0 .875rem;
  border: 1.5px solid rgba(242,242,242,.15);
  border-radius: 8px;
  background: transparent; color: rgba(242,242,242,.6);
  font-size: .75rem; font-weight: 600; letter-spacing: .04em;
  transition: border-color .2s, background .2s, color .2s, transform .15s;
  font-family: inherit;
}
.sp-size-btn:hover { border-color: rgba(242,242,242,.4); color: var(--fg); transform: scale(1.05); }
.sp-size-btn.active {
  border-color: var(--orange); background: var(--orange); color: #fff;
  transform: scale(1.05);
}

/* Descrição */
.sp-desc {
  font-size: .9rem; font-weight: 300;
  color: rgba(242,242,242,.55); line-height: 1.8;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

/* CTA */
.sp-wa-btn {
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  padding: 1rem 1.5rem;
  background: var(--orange); color: #fff; border: none;
  border-radius: var(--r);
  font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  transition: background .2s, transform .2s, box-shadow .2s;
  text-decoration: none;
}
.sp-wa-btn:hover {
  background: var(--orange2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,85,0,.35);
}

.sp-note { font-size: .55rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted2); text-align: center; }

/* ════════════════ FOOTER ═════════════════ */
.footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.footer__copy { font-size: .5rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgba(242,242,242,.2); }
.footer__wa   { font-size: .5rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(242,242,242,.2); transition: color .2s; }
.footer__wa:hover { color: var(--orange); }

/* ════════════════ RESPONSIVE ════════════ */
@media (max-width: 1280px) { .cards-grid { grid-template-columns: repeat(4, 1fr); } }

@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .sp-container { grid-template-columns: 1fr; }
  .sp-gallery { position: static; height: 75vw; max-height: 520px; }
  .sp-info { padding: 1.75rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 56px; }
  .nav { padding: 0 1.25rem; }
  .nav__links, .nav__wa { display: none; }
  .nav__hamburger { display: flex; }

  .hero { grid-template-columns: 1fr; grid-template-rows: 75vw auto; height: auto; min-height: unset; }
  .hero__body { padding: 1.75rem 1.5rem 2rem; }
  .hero__season { margin-bottom: 1.25rem; }
  .hero__title { font-size: clamp(3.5rem, 18vw, 6rem); margin-bottom: 1.25rem; }
  .hero__tagline { margin-bottom: 2rem; }

  .colecao__header { padding: .875rem 1.25rem; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; padding: 1rem 1.25rem 2.5rem; }

  .sp-gallery { height: 85vw; max-height: 420px; }
  .sp-info { padding: 1.25rem; gap: 1.25rem; }
  .sp-price-bar { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .sp-arrow { width: 34px; height: 34px; font-size: .875rem; }

  .footer { flex-direction: column; align-items: center; text-align: center; padding: 1.25rem; gap: .5rem; }
}

@media (max-width: 420px) {
  .cards-grid { gap: .625rem; padding: .875rem 1rem 2rem; }
  .hero__title { font-size: clamp(3rem, 19vw, 5rem); }
}
