/* Shot Wave — estrutura e hierarquia inspiradas na Nude Project, identidade Shot Wave. */
:root {
  --bordeaux: #6B0F1A;
  --cream: #F5F0E1;
  --ink: #111111;
  --muted: #6f6a60;
  --line: #e4ddcc;
  --bg: #ffffff;
  --card-bg: #F5F0E1;
  --header-h: 56px;
  --bar-h: 28px;
  --gutter: 16px;
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 13px; line-height: 1.45; letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }

/* Conteúdo por língua: blocos com data-lang só aparecem na língua ativa */
html[lang="pt"] [data-lang="en"], html[lang="en"] [data-lang="pt"] { display: none !important; }

.placeholder {
  display: inline-block; padding: 2px 6px; border: 1px dashed var(--bordeaux);
  color: var(--bordeaux); background: #fff8; font-size: 12px; font-weight: 500;
}
.placeholder-box {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--cream); border: 1px dashed var(--bordeaux); color: var(--bordeaux);
  font-weight: 500; min-height: 200px; padding: 16px;
}

/* ---------- Barra rotativa ---------- */
.sw-bar {
  position: relative; z-index: 60; height: var(--bar-h); overflow: hidden;
  background: var(--bordeaux); color: var(--cream); font-size: 11px; white-space: nowrap;
}
.sw-bar__track { display: inline-flex; align-items: center; height: 100%; animation: sw-marquee 40s linear infinite; }
.sw-bar__item { padding: 0 28px; position: relative; }
.sw-bar__item::after { content: "•"; position: absolute; right: -3px; opacity: .6; }
.sw-bar:hover .sw-bar__track { animation-play-state: paused; }
@keyframes sw-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .sw-bar__track { animation: none; } }

/* ---------- Cabeçalho ---------- */
.sw-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter);
  background: var(--bg); color: var(--ink); border-bottom: 1px solid transparent;
  transition: background .25s, color .25s, border-color .25s;
}
.sw-header.is-scrolled, .sw-header.is-open { border-bottom-color: var(--line); }
body.has-overlay-header .sw-header:not(.is-scrolled):not(.is-open) {
  background: transparent; color: #fff;
}
body.has-overlay-header .sw-main { margin-top: calc(-1 * var(--header-h)); }
.sw-logo { display: flex; align-items: center; gap: 8px; flex: none; font-weight: 600; font-size: 14px; letter-spacing: .02em; }
.sw-logo img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.sw-nav { display: flex; align-items: center; gap: 18px; height: 100%; }
.sw-nav__item { height: 100%; display: flex; align-items: center; }
.sw-nav__link { font-size: 13px; padding: 4px 0; border-bottom: 1px solid transparent; }
.sw-nav__item:hover > .sw-nav__link, .sw-nav__link[aria-current="page"] { border-bottom-color: currentColor; }
.sw-nav__link--accent { color: var(--bordeaux); font-weight: 600; }
body.has-overlay-header .sw-header:not(.is-scrolled):not(.is-open) .sw-nav__link--accent { color: #fff; }

.sw-mega {
  position: absolute; left: 0; right: 0; top: var(--header-h); display: none;
  background: var(--bg); color: var(--ink); border-bottom: 1px solid var(--line);
  padding: 28px var(--gutter) 36px;
}
.sw-nav__item:hover .sw-mega, .sw-nav__item:focus-within .sw-mega { display: flex; gap: 64px; }
.sw-mega__col h4 { margin: 0 0 12px; font-size: 11px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.sw-mega__col a { display: block; padding: 4px 0; font-size: 13px; }
.sw-mega__col a:hover { text-decoration: underline; }
.sw-mega__feature { margin-left: auto; display: flex; gap: 8px; }
.sw-mega__feature a { width: 180px; }
.sw-mega__feature img { width: 180px; aspect-ratio: 3/4; object-fit: cover; background: var(--card-bg); }
.sw-mega__feature span { display: block; margin-top: 6px; font-size: 12px; }

.sw-tools { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.sw-search { position: relative; }
.sw-search input {
  width: 220px; height: 30px; padding: 0 10px; border: 1px solid currentColor; border-radius: 999px;
  background: transparent; font-size: 12px; outline: none;
}
.sw-search input::placeholder { color: currentColor; opacity: .7; }
.sw-suggest {
  position: absolute; right: 0; top: 38px; width: 340px; display: none;
  background: var(--bg); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 8px 24px #0001; z-index: 70;
}
.sw-suggest.is-open { display: block; }
.sw-suggest h5 { margin: 0; padding: 10px 12px 4px; font-size: 11px; font-weight: 500; color: var(--muted); text-transform: uppercase; }
.sw-suggest a { display: flex; align-items: center; gap: 10px; padding: 6px 12px; font-size: 12px; }
.sw-suggest a:hover, .sw-suggest a.is-active { background: var(--cream); }
.sw-suggest img { width: 36px; height: 46px; object-fit: cover; background: var(--card-bg); }
.sw-suggest__empty { padding: 12px; font-size: 12px; color: var(--muted); }
.sw-icon { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; padding: 0; position: relative; }
.sw-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.sw-burger, .sw-search-toggle { display: none; }

/* Painel lateral (carrinho e menu móvel) */
.sw-drawer-backdrop { position: fixed; inset: 0; background: #0005; z-index: 80; display: none; }
.sw-drawer {
  position: fixed; top: 0; bottom: 0; right: 0; width: min(420px, 100%); z-index: 90;
  background: var(--bg); color: var(--ink); transform: translateX(100%); transition: transform .3s;
  display: flex; flex-direction: column; visibility: hidden;
}
.sw-drawer.is-open { visibility: visible; }
.sw-drawer--left { right: auto; left: 0; transform: translateX(-100%); }
.sw-drawer.is-open { transform: none; }
.sw-drawer.is-open + .sw-drawer-backdrop, .sw-drawer-backdrop.is-open { display: block; }
.sw-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); height: var(--header-h); border-bottom: 1px solid var(--line); font-weight: 500; }
.sw-drawer__body { padding: 20px var(--gutter); overflow-y: auto; flex: 1; }
.sw-acc { border-bottom: 1px solid var(--line); }
.sw-acc > button, .sw-acc > a { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; background: none; border: 0; font-size: 15px; text-align: left; }
.sw-acc__panel { display: none; padding: 0 0 12px 8px; }
.sw-acc.is-open .sw-acc__panel { display: block; }
.sw-acc__panel a { display: block; padding: 7px 0; font-size: 14px; color: var(--muted); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 18px;
  border-radius: 999px; border: 1px solid transparent; font-size: 12px; font-weight: 500; white-space: nowrap;
}
.btn--light { background: var(--cream); color: var(--bordeaux); }
.btn--light:hover { background: #fff; }
.btn--dark { background: var(--bordeaux); color: var(--cream); }
.btn--dark:hover { background: #4f0b13; }
.btn--outline { border-color: currentColor; background: transparent; }
.btn--block { width: 100%; height: 44px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; height: 100svh; min-height: 560px; max-height: 1000px; background: var(--cream); }
.hero__media { position: relative; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 160px; z-index: 1; pointer-events: none; background: linear-gradient(180deg, #0006, #0000); }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0000 55%, #0006); }
.hero__content { position: absolute; left: var(--gutter); bottom: 40px; z-index: 2; color: #fff; }
.hero__eyebrow { font-size: 11px; opacity: .9; margin-bottom: 6px; }
.hero__title { margin: 0 0 22px; font-size: clamp(28px, 3.2vw, 44px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
.hero__cta { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Secções genéricas ---------- */
.section { padding: 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; padding: 40px var(--gutter) 14px; }
.section-head h2 { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.section-head a { font-size: 12px; text-decoration: underline; }

/* Faixa de categorias */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); }
.tile { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--card-bg); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tile:hover img { transform: scale(1.03); }
.tile span { position: absolute; left: 12px; bottom: 12px; font-size: 11px; text-transform: uppercase; letter-spacing: .03em; border-bottom: 1px solid currentColor; color: var(--ink); }
.tile--dark span { color: #fff; }

/* Carrossel de produtos */
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc(100% / 6.4);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__btn {
  position: absolute; top: 40%; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: var(--cream); color: var(--bordeaux); display: flex; align-items: center; justify-content: center; opacity: .9;
}
.carousel__btn--prev { left: 10px; } .carousel__btn--next { right: 10px; }
.carousel__btn[hidden] { display: none; }

/* Cartão de produto */
.card { scroll-snap-align: start; display: block; padding-bottom: 18px; min-width: 0; }
.card__media { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--card-bg); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.card__media img.card__alt { opacity: 0; }
.card:hover .card__media img.card__alt { opacity: 1; }
.card__badge { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 3px 8px; border-radius: 999px; background: #fffd; font-size: 10px; }
.card__badge--out { background: var(--bordeaux); color: var(--cream); }
.card__info { padding: 8px 8px 0; }
.card__name { font-size: 12px; }
.card__price { font-size: 12px; color: var(--muted); margin-top: 2px; }
.card__swatches { display: flex; gap: 4px; margin-top: 6px; }
.card__swatches i { width: 8px; height: 8px; border: 1px solid #0002; }

/* Grelha de produtos */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }

/* Banners de meia largura (For Him / For Her, Community, Members, Loja) */
.halves { display: grid; grid-template-columns: 1fr 1fr; }
.half { position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--cream); color: #fff; }
.half > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.half:hover > img { transform: scale(1.02); }
.half::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0000 50%, #0007); pointer-events: none; }
.half__content { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; z-index: 2; }
.half__label { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid currentColor; }
.half__title { margin: 0 0 8px; font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; letter-spacing: -0.03em; }
.half__text { margin: 0 0 16px; max-width: 460px; font-size: 13px; opacity: .95; }

/* Separadores For Him / For Her */
.tabs { display: flex; gap: 18px; padding: 40px var(--gutter) 14px; }
.tabs button { background: none; border: 0; padding: 0 0 2px; font-size: 20px; font-weight: 500; color: var(--muted); border-bottom: 1px solid transparent; letter-spacing: -0.02em; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }

/* Lojas */
.stores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0 var(--gutter) 40px; }
.store-card { border: 1px solid var(--line); background: #fff; }
.store-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.store-card__body { padding: 14px; }
.store-card h3 { margin: 0 0 6px; font-size: 14px; font-weight: 500; }
.store-card p { margin: 0 0 4px; color: var(--muted); font-size: 12px; }

/* ---------- Rodapé ---------- */
.sw-footer { background: var(--cream); color: var(--ink); margin-top: 0; }
.sw-news { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 48px var(--gutter); border-bottom: 1px solid var(--line); }
.sw-news h3 { margin: 0 0 6px; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; color: var(--bordeaux); }
.sw-news p { margin: 0; color: var(--muted); }
.sw-news form { display: flex; flex-direction: column; gap: 10px; }
.sw-news__row { display: flex; border-bottom: 1px solid var(--ink); }
.sw-news__row input { flex: 1; border: 0; background: transparent; height: 40px; outline: none; }
.sw-news__row button { border: 0; background: none; font-weight: 500; font-size: 12px; letter-spacing: .04em; color: var(--bordeaux); }
.sw-news label { display: flex; gap: 8px; align-items: flex-start; font-size: 11px; color: var(--muted); }
.sw-news label a { text-decoration: underline; }
.sw-news__msg { font-size: 12px; min-height: 16px; }
.sw-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; padding: 36px var(--gutter); }
.sw-cols h4 { margin: 0 0 12px; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.sw-cols a { display: block; padding: 3px 0; }
.sw-cols a:hover { text-decoration: underline; }
.sw-cols select { width: 100%; height: 32px; border: 1px solid var(--line); background: #fff; padding: 0 8px; margin-bottom: 8px; border-radius: 0; }
.sw-social { display: flex; gap: 12px; }
.sw-social svg { width: 20px; height: 20px; fill: currentColor; }
.sw-legal { display: flex; justify-content: space-between; gap: 12px; padding: 16px var(--gutter) 24px; font-size: 11px; color: var(--muted); border-top: 1px solid var(--line); }

/* ---------- Páginas de conteúdo e formulários ---------- */
.page { max-width: 760px; margin: 0 auto; padding: 48px var(--gutter) 72px; }
.page h1 { margin: 0 0 24px; font-size: 28px; font-weight: 500; letter-spacing: -0.03em; }
.page h2 { margin: 32px 0 10px; font-size: 16px; font-weight: 500; }
.page p, .page li { font-size: 14px; line-height: 1.6; }
.page a { text-decoration: underline; }
.page--narrow { max-width: 420px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 12px; margin-bottom: 6px; color: var(--muted); }
.field input, .field select { width: 100%; height: 44px; border: 1px solid var(--line); padding: 0 12px; background: #fff; border-radius: 0; outline: none; }
.field input:focus { border-color: var(--ink); }
.form-msg { min-height: 18px; color: var(--bordeaux); font-size: 13px; margin: 10px 0; }
.table-wrap { overflow-x: auto; }
table.list { width: 100%; border-collapse: collapse; font-size: 13px; }
table.list th, table.list td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.list th { font-weight: 500; color: var(--muted); font-size: 11px; text-transform: uppercase; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .carousel__track { grid-auto-columns: calc(100% / 4.3); }
  .sw-nav { gap: 12px; }
  .sw-search input { width: 160px; }
}
@media (max-width: 900px) {
  :root { --header-h: 52px; }
  .sw-nav, .sw-search { display: none; }
  .sw-burger, .sw-search-toggle { display: inline-flex; }
  .sw-header { gap: 8px; }
  .sw-logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .sw-search.is-mobile-open { display: block; position: absolute; left: 0; right: 0; top: var(--header-h); padding: 8px var(--gutter); background: var(--bg); color: var(--ink); border-bottom: 1px solid var(--line); }
  .sw-search.is-mobile-open input { width: 100%; height: 38px; }
  .sw-search.is-mobile-open .sw-suggest { left: 0; right: 0; width: auto; top: 54px; }
  .hero { grid-template-columns: 1fr; height: 88svh; }
  .hero__media + .hero__media { display: none; }
  .hero__content { left: 0; right: 0; text-align: center; }
  .hero__cta { justify-content: center; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .carousel__track { grid-auto-columns: calc(100% / 2.3); }
  .carousel__btn { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .halves { grid-template-columns: 1fr; }
  .stores { grid-template-columns: 1fr; }
  .sw-news { grid-template-columns: 1fr; }
  .sw-cols { grid-template-columns: 1fr 1fr; }
  .sw-legal { flex-direction: column; }
}

.hero__media:first-child img { object-position: 30% 50%; }
#nav { margin-bottom: 20px; }
.half--contain { background: #e8e1d5; color: var(--ink); }
.half--contain > img { object-fit: contain; }
.half--contain::after { display: none; }
.half--contain .btn--light { background: var(--bordeaux); color: var(--cream); }

/* Hero com vídeos: 3 painéis no desktop (vertical | horizontal | vertical), deslizar no telemóvel */
.hero--videos { display: block; }
.hero__slides { display: grid; grid-template-columns: 1fr 1.6fr 1fr; height: 100%; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--cream); }
.hero__dots { display: none; }
@media (max-width: 900px) {
  .hero__slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .hero__slides::-webkit-scrollbar { display: none; }
  .hero--videos .hero__media { flex: 0 0 100%; scroll-snap-align: start; }
  .hero--videos .hero__media + .hero__media { display: block; }
  .hero__dots { display: flex; gap: 6px; position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 3; }
  .hero__dots i { width: 6px; height: 6px; border-radius: 50%; background: #fff8; }
  .hero__dots i.is-active { background: #fff; }
  .hero--videos .hero__content { bottom: 40px; }
}
.half--contain { aspect-ratio: 1 / 1; }
