/* ==========================================================
   BMJAPANWATCHES — Tema SIMPLES
   Fundo claro, tipografia sem serifa, fotos coloridas,
   cantos arredondados e pouca animação.
   Usa o mesmo HTML do tema luxo (style.css): só o visual muda.
   ========================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #ffffff;         /* fundo da página */
  --surface: #f5f5f3;    /* faixas, rodapé, fundo das fotos */
  --line: #e6e6e3;       /* bordas e divisores */
  --muted: #8a8a86;      /* texto terciário */
  --text-2: #55554f;     /* texto secundário */
  --text: #161616;       /* texto principal, botão principal */
  --white: #ffffff;
  --green: #1f9d55;      /* disponível */
  --amber: #c27c0e;      /* reservado */
  --wa: #25d366;         /* WhatsApp */

  --font: "Inter", "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --radius: 12px;
  --ease: ease;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 0.75rem;
}

/* Efeitos do tema luxo desligados: sem barra de progresso nem parallax */
.scroll-progress, .scroll-hint { display: none; }
[data-reveal] { opacity: 1; transform: none; }

/* ---------- 3. Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid var(--text);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn--light { background: var(--text); color: var(--white); }
.btn--light:hover { background: #333; border-color: #333; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--text); }
.btn--wa svg,
.card__buy svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 4. Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.logo { font-size: 1.15rem; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; }
.logo__sub { color: var(--muted); font-weight: 400; }

.nav__list { display: flex; gap: 2rem; }
.nav__link { font-size: 0.92rem; color: var(--text-2); transition: color 0.2s var(--ease); }
.nav__link:hover { color: var(--text); }

.header__actions { display: flex; align-items: center; gap: 1rem; }

.menu-toggle { display: none; width: 40px; height: 40px; position: relative; }
.menu-toggle span {
  position: absolute; left: 10px; right: 10px; height: 2px; border-radius: 2px; background: var(--text);
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}
.menu-toggle span:first-child { top: 15px; }
.menu-toggle span:last-child { top: 23px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* Seletor de idioma */
.lang { display: flex; align-items: center; gap: 0.25rem; font-size: 0.82rem; font-weight: 500; }
.lang__item { padding: 0.3rem 0.55rem; border-radius: 999px; color: var(--muted); transition: color 0.2s, background 0.2s; }
.lang a.lang__item:hover { color: var(--text); }
.lang__item.is-active { background: var(--surface); color: var(--text); }
.lang__sep { display: none; }

/* ---------- 5. Hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0; background: var(--bg); }
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.hero__title {
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}
.hero__title em { font-style: normal; color: var(--muted); }
.hero__text { max-width: 30rem; color: var(--text-2); font-size: 1.05rem; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero__media {
  position: relative;
  border-radius: calc(var(--radius) * 1.5);
  overflow: hidden;
  background: var(--surface);
}
.hero__img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* ---------- 6. Vitrine ---------- */
.showcase { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-head { max-width: 40rem; margin: 0 0 clamp(2rem, 4vw, 3rem); }
.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.section-text { color: var(--text-2); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }

.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  transition-delay: 0s !important;
}
.card:hover { border-color: #d4d4d0; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07); }

.card__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface); }
.card__cover { display: block; width: 100%; height: 100%; }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.card:hover .card__img { transform: scale(1.03); }

/* Botão do WhatsApp: sempre visível, discreto no canto da foto */
.card__buy {
  position: absolute; right: 0.75rem; bottom: 0.75rem; z-index: 3;
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: background 0.2s, color 0.2s;
}
.card__buy:hover { background: var(--text); color: var(--white); }

.card__body {
  flex: 1;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem;
  padding: 1rem 1.1rem 1.15rem;
}
.card__brand { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.15rem; }
.card__name { font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
.card__price { font-size: 1rem; font-weight: 600; white-space: nowrap; }

/* Etiquetas e selos */
.card__tag, .badge {
  position: absolute; top: 0.75rem; z-index: 2;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  pointer-events: none;
}
.card__tag { left: 0.75rem; background: var(--white); color: var(--text); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); }
.badge { position: static; display: inline-block; }
.card__status, .gallery__badge { position: absolute; top: 0.75rem; }
.card__status { right: 0.75rem; }
.gallery__badge { left: 0.75rem; }
.badge--reservado { background: #fff4e0; color: var(--amber); }
.badge--vendido { background: var(--text); color: var(--white); }

.card.is-vendido .card__img { opacity: 0.5; filter: grayscale(0.6); }
.card__price.is-sold,
.product__price.is-sold { color: var(--muted); text-decoration: line-through; }

/* Reserva quando a foto não carrega */
.card__img.is-broken, .hero__img.is-broken { visibility: hidden; }
.card__media.has-fallback::before,
.gallery__main.has-fallback::before,
.hero__media.has-fallback::before {
  content: ""; position: absolute; inset: 25%;
  border: 2px solid var(--line); border-radius: 50%;
}

/* ---------- 7. Diferenciais ---------- */
.about { background: var(--surface); }
.about__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.about__stat { background: var(--bg); border-radius: var(--radius); padding: 1.5rem 1.25rem; }
.about__stat strong { display: block; font-size: 1.6rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.2rem; }
.about__stat span { font-size: 0.9rem; color: var(--text-2); }

/* ---------- 8. Rodapé ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; color: var(--text-2); }
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid var(--line);
}
.footer__brand .logo { color: var(--text); display: inline-block; margin-bottom: 0.75rem; }
.footer__brand p { max-width: 22rem; font-size: 0.92rem; margin-bottom: 1.25rem; }
.footer__col h3 { font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 0.9rem; }
.footer__col li + li { margin-top: 0.5rem; }
.footer__col a { font-size: 0.92rem; transition: color 0.2s; }
.footer__col a:hover { color: var(--text); }

.social { display: flex; gap: 0.5rem; }
.social a {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--bg); border: 1px solid var(--line); color: var(--text);
  transition: background 0.2s, color 0.2s;
}
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.social a:hover { background: var(--text); color: var(--white); }

.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem;
  padding-top: 1.5rem; font-size: 0.82rem; color: var(--muted);
}

/* ---------- 9. Botão flutuante do WhatsApp ---------- */
.wa-float {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 120;
  display: flex; align-items: center; gap: 0.5rem;
  height: 52px; padding: 0 1.1rem;
  border-radius: 999px;
  background: var(--wa); color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  font-size: 0.92rem; font-weight: 600;
  transition: transform 0.2s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 10. Página do relógio ---------- */
.product { padding: 2rem 0 clamp(4rem, 8vw, 6rem); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; font-size: 0.85rem; color: var(--muted); }
.breadcrumb a:hover, .breadcrumb [aria-current] { color: var(--text); }

.product__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }

.gallery { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.gallery__main {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: var(--radius); background: var(--surface); cursor: zoom-in;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease), opacity 0.2s ease; }
.gallery__main.is-zoomed img { transform: scale(2); }
.gallery__main img.is-swapping { opacity: 0; }
.gallery__main.is-vendido img { opacity: 0.55; filter: grayscale(0.6); }

.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.6rem; margin-top: 0.6rem; }
.gallery__thumb {
  aspect-ratio: 1; overflow: hidden; border-radius: 8px;
  border: 2px solid transparent; opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: 0.9; }
.gallery__thumb.is-active { opacity: 1; border-color: var(--text); }

.product__info .eyebrow { color: var(--muted); }
.product__title { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 1rem; }
.product__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem;
  padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line);
}
.product__price { font-size: 1.6rem; font-weight: 600; }

.status-pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.3rem 0.75rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 500;
  background: #e8f6ee; color: var(--green);
}
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-pill--reservado { background: #fff4e0; color: var(--amber); }
.status-pill--vendido { background: var(--surface); color: var(--muted); }

.product__desc { color: var(--text-2); }
.product__desc p + p { margin-top: 0.9rem; }
.product__actions { display: flex; flex-direction: column; gap: 0.6rem; margin: 1.75rem 0 0.75rem; }
.product__actions .btn--light { background: var(--wa); border-color: var(--wa); color: var(--white); }
.product__actions .btn--light:hover { background: #1fb959; border-color: #1fb959; }
.product__note { font-size: 0.85rem; color: var(--muted); }

.specs__title { margin: 2.25rem 0 0.25rem; font-size: 1.05rem; font-weight: 600; }
.specs > div { display: flex; justify-content: space-between; gap: 1.5rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.specs dt { color: var(--muted); }
.specs dd { text-align: right; font-weight: 500; }

.related { margin-top: clamp(4rem, 8vw, 6rem); }

.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 3rem 0; }
.notfound .section-text { margin: 0.75rem auto 2rem; max-width: 34rem; }

/* ---------- 11. Responsivo ---------- */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 60px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.5rem;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { display: block; padding: 0.85rem 0; font-size: 1.05rem; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav__list li:last-child .nav__link { border-bottom: 0; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; }

  .product__grid { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .header__actions { gap: 0.25rem; }
}

@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; white-space: nowrap; }
  .footer__bottom { flex-direction: column; }
  .wa-float__label { display: none; }
  .wa-float { width: 52px; padding: 0; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
