:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --ink: #141414;
  --muted: #6d6b66;
  --line: #dcd8cf;
  --accent: #ff4d1a;
  --jp: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --display: "Syne", "Zen Kaku Gothic New", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--jp);
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

/* ---------- bandeau + en-tête ---------- */
.announce {
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 8px 16px;
}
.header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 244, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
}
.logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.logo span { color: var(--accent); }
.nav { display: flex; gap: 32px; font-size: 13px; }
.nav a { position: relative; padding: 4px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--ink); transition: width .25s;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.menu-btn { display: none; background: none; border: 0; font-size: 22px; }

/* ---------- héro ---------- */
.hero {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr;
  min-height: calc(100vh - 110px);
  border-bottom: 1px solid var(--line);
}
.hero-text {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 64px 32px 72px;
}
.eyebrow {
  font-family: var(--display);
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(56px, 9vw, 132px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero h1 { font-style: italic; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-visual::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(-60deg, transparent 0 46px, rgba(255,77,26,.08) 46px 50px);
}
.hero-visual .move {
  position: absolute; right: -10px; top: 24px;
  font-family: var(--display); font-weight: 800; font-style: italic;
  font-size: clamp(64px, 9vw, 140px); line-height: .85; text-align: right;
  color: transparent; -webkit-text-stroke: 1px #3a3a3a; text-transform: uppercase;
}
.stats { display: flex; gap: 40px; margin-top: 40px; }
.stats b { display: block; font-family: var(--display); font-size: 28px; font-style: italic; }
.stats span { font-size: 12px; color: var(--muted); }
.hero-sub { margin-top: 28px; max-width: 420px; color: var(--muted); }
.hero-visual {
  position: relative; overflow: hidden;
  background: #1b1b1b;
  display: flex; align-items: center; justify-content: center;
}
.hero-visual .infinity {
  font-family: var(--display); font-weight: 800;
  font-size: min(42vw, 520px); line-height: 1;
  color: #262626; user-select: none;
}
.hero-visual .tag {
  position: absolute; left: 28px; bottom: 28px;
  color: #bdbab3; font-size: 12px; letter-spacing: .2em;
}
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px;
  background: var(--ink); color: var(--bg);
  border: 1px solid var(--ink);
  font-size: 13px; letter-spacing: 0.15em;
  transition: background .2s, color .2s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.hero .btn { margin-top: 36px; align-self: flex-start; }

/* ---------- sections ---------- */
.section { max-width: 1280px; margin: 0 auto; padding: 96px 32px; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 40px; gap: 16px;
}
.section-head h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  text-transform: uppercase; letter-spacing: 0.02em; line-height: 1;
}
.section-head p { color: var(--muted); font-size: 13px; }

/* ---------- grille produits ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: block; }
.card-media {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: #e9e5dc;
}
.card-media img, .card-media .ph {
  width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease;
}
.card:hover .card-media img, .card:hover .card-media .ph { transform: scale(1.04); }
.badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--bg); font-size: 11px; letter-spacing: .15em;
  padding: 4px 10px;
}
.card-info {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 16px 2px 4px;
}
.card-name { font-family: var(--display); font-weight: 700; letter-spacing: .04em; }
.card-ja { font-size: 12px; color: var(--muted); }
.card-price { font-size: 14px; white-space: nowrap; }
.swatches { display: flex; gap: 6px; padding: 6px 2px; }
.swatch-dot {
  width: 12px; height: 12px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.18);
}

/* visuel provisoire */
.ph {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.ph svg { width: 62%; height: auto; }
.ph .ph-label {
  position: absolute; bottom: 14px; right: 14px;
  font-size: 10px; letter-spacing: .2em; opacity: .55;
}

/* ---------- bloc histoire ---------- */
.story {
  background: var(--ink); color: var(--bg);
}
.story .section {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.story h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(36px, 5vw, 64px); line-height: 1; text-transform: uppercase;
}
.story p { color: #c9c6be; margin-top: 18px; }
.story .btn { margin-top: 32px; background: var(--bg); color: var(--ink); border-color: var(--bg); }
.story .btn:hover { background: transparent; color: var(--bg); }

/* ---------- arguments ---------- */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.feature { padding: 40px 32px; border-right: 1px solid var(--line); }
.feature:last-child { border-right: 0; }
.feature h3 { font-size: 15px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 13px; }
.feature .num { font-family: var(--display); font-size: 12px; color: var(--accent); letter-spacing: .2em; }

/* ---------- newsletter ---------- */
.newsletter { text-align: center; border-top: 1px solid var(--line); }
.newsletter h2 { font-family: var(--display); font-size: 32px; text-transform: uppercase; }
.newsletter p { color: var(--muted); margin: 8px 0 28px; }
.newsletter form { display: flex; max-width: 460px; margin: 0 auto; }
.newsletter input {
  flex: 1; padding: 15px 16px; border: 1px solid var(--ink); border-right: 0;
  background: transparent; font: inherit; min-width: 0;
}
.newsletter .msg { margin-top: 14px; font-size: 13px; color: var(--accent); min-height: 20px; }

/* ---------- page produit ---------- */
.product {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px;
  padding: 48px 32px 96px;
}
.gallery-main { aspect-ratio: 4 / 5; background: #e9e5dc; overflow: hidden; }
.gallery-main img, .gallery-main .ph { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.thumbs button {
  aspect-ratio: 1; border: 1px solid transparent; padding: 0; background: #e9e5dc; overflow: hidden;
}
.thumbs button.on { border-color: var(--ink); }
.thumbs img, .thumbs .ph { width: 100%; height: 100%; object-fit: cover; }
.thumbs .ph svg { width: 55%; }

.product-info { position: sticky; top: 100px; align-self: start; }
.crumb { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.product-info h1 {
  font-family: var(--display); font-weight: 800; font-size: 40px;
  line-height: 1.05; text-transform: uppercase;
}
.product-info .ja { color: var(--muted); margin-top: 6px; }
.product-info .price { font-size: 22px; margin-top: 18px; }
.product-info .price small { font-size: 12px; color: var(--muted); margin-left: 6px; }
.opt { margin-top: 30px; }
.opt-label { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 10px; }
.opt-label button { background: none; border: 0; text-decoration: underline; font-size: 12px; color: var(--muted); }
.color-opts { display: flex; gap: 10px; }
.color-opt {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.2); outline-offset: 3px;
}
.color-opt.on { outline: 1px solid var(--ink); }
.size-opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.size-opt {
  padding: 12px 0; background: transparent; border: 1px solid var(--line);
  font-size: 13px; transition: border-color .15s;
}
.size-opt:hover { border-color: var(--ink); }
.size-opt.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.buy { width: 100%; margin-top: 30px; padding: 18px; }
.buy-note { font-size: 12px; color: var(--muted); margin-top: 12px; text-align: center; }
.desc { margin-top: 36px; border-top: 1px solid var(--line); }
.desc details { border-bottom: 1px solid var(--line); }
.desc summary {
  list-style: none; padding: 18px 0; font-size: 14px; cursor: pointer;
  display: flex; justify-content: space-between;
}
.desc summary::after { content: "+"; }
.desc details[open] summary::after { content: "−"; }
.desc .body { padding: 0 0 20px; color: var(--muted); font-size: 14px; }
.desc ul { padding-left: 18px; }

table.size-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.size-table th, .size-table td { border-bottom: 1px solid var(--line); padding: 10px 6px; text-align: center; }
.size-table th { font-weight: 500; color: var(--ink); }
.unit { font-size: 11px; color: var(--muted); margin-top: 8px; }

/* modal guide des tailles */
.modal {
  position: fixed; inset: 0; z-index: 50; background: rgba(20,20,20,.5);
  display: none; align-items: center; justify-content: center; padding: 16px;
}
.modal.open { display: flex; }
.modal-box { background: var(--bg); max-width: 560px; width: 100%; padding: 32px; position: relative; }
.modal-box h3 { font-family: var(--display); text-transform: uppercase; margin-bottom: 16px; }
.modal-close { position: absolute; top: 12px; right: 16px; background: none; border: 0; font-size: 22px; }

/* ---------- pages texte ---------- */
.page { max-width: 820px; margin: 0 auto; padding: 72px 32px 96px; }
.page h1 {
  font-family: var(--display); font-weight: 800; font-size: clamp(36px, 6vw, 64px);
  text-transform: uppercase; line-height: 1;
}
.page .lead { color: var(--muted); margin: 16px 0 48px; }
.page h2 { font-size: 18px; margin: 40px 0 12px; }
.page p { margin-bottom: 14px; }
.page ul { padding-left: 20px; margin-bottom: 14px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal-table th, .legal-table td {
  text-align: left; vertical-align: top; padding: 18px 12px;
  border-bottom: 1px solid var(--line);
}
.legal-table th { width: 32%; font-weight: 500; }
.todo { background: #fff3c4; padding: 0 4px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 20px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; }
.faq details[open] summary::after { content: "−"; }
.faq .body { padding-bottom: 20px; color: var(--muted); }

/* ---------- pied de page ---------- */
.footer { background: var(--ink); color: #bdbab3; font-size: 13px; }
.footer-inner {
  max-width: 1280px; margin: 0 auto; padding: 64px 32px 32px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px;
}
.footer .logo { color: var(--bg); }
.footer h4 { color: var(--bg); font-weight: 500; margin-bottom: 12px; font-size: 13px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 6px; }
.footer a:hover { color: var(--bg); }
.footer-bottom {
  max-width: 1280px; margin: 0 auto; padding: 20px 32px;
  border-top: 1px solid #2c2c2c; font-size: 11px; letter-spacing: .1em;
}

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .header-inner { padding: 14px 16px; }
  .menu-btn { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; border-top: 1px solid var(--line); }
  .nav a::after { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-text { padding: 48px 16px; }
  .hero-visual { min-height: 56vh; order: -1; }
  .section { padding: 64px 16px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .story .section { grid-template-columns: 1fr; gap: 24px; }
  .features { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 16px; }
  .product { grid-template-columns: 1fr; gap: 28px; padding: 16px 16px 64px; }
  .product-info { position: static; }
  .page { padding: 48px 16px 72px; }
  .legal-table th { width: 38%; }
  .footer-inner { grid-template-columns: 1fr; padding: 48px 16px 24px; }
  .footer-bottom { padding: 16px; }
}
@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; }
  .card-info { padding-top: 12px; }
}

/* ---------- panier ---------- */
.header-actions { display: flex; align-items: center; gap: 12px; }
.cart-btn { position: relative; background: none; border: 0; padding: 6px; display: flex; color: var(--ink); }
.cart-count {
  position: absolute; top: -2px; right: -4px;
  min-width: 18px; height: 18px; border-radius: 9px; padding: 0 5px;
  background: var(--accent); color: #fff; font-size: 11px; line-height: 18px; text-align: center;
  transform: scale(0); transition: transform .2s;
}
.cart-count.show { transform: scale(1); }
.drawer-overlay {
  position: fixed; inset: 0; z-index: 60; background: rgba(20,20,20,.45);
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61;
  width: min(420px, 100%); background: var(--bg);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s ease;
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; border-bottom: 1px solid var(--line);
}
.drawer-head h3 { font-size: 16px; font-weight: 500; }
.drawer-close { background: none; border: 0; font-size: 24px; line-height: 1; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); }
.cart-empty { text-align: center; padding: 64px 0; color: var(--muted); }
.cart-empty .btn { margin-top: 20px; }
.cart-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { aspect-ratio: 4 / 5; overflow: hidden; background: #e9e5dc; display: block; }
.cart-thumb img, .cart-thumb .ph { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb .ph svg { width: 70%; }
.cart-name { font-family: var(--display); font-weight: 700; font-size: 14px; line-height: 1.4; }
.cart-var { font-size: 12px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: 10px; }
.qty button { background: none; border: 0; width: 30px; height: 30px; font-size: 14px; }
.qty button[disabled] { opacity: .3; }
.qty span { min-width: 26px; text-align: center; font-size: 13px; }
.cart-right { text-align: right; font-size: 14px; display: flex; flex-direction: column; justify-content: space-between; }
.cart-remove { background: none; border: 0; font-size: 12px; color: var(--muted); text-decoration: underline; }
.cart-line { display: flex; justify-content: space-between; font-size: 14px; padding: 3px 0; }
.cart-line.muted { color: var(--muted); }
.cart-line.total { font-size: 16px; font-weight: 700; padding-top: 10px; margin-top: 6px; border-top: 1px solid var(--line); }
.checkout-btn { width: 100%; margin-top: 18px; padding: 18px; }
.cart-msg { color: var(--accent); font-size: 12px; margin-top: 10px; text-align: center; min-height: 0; }
.cart-msg:empty { display: none; }
.cart-secure { font-size: 11px; color: var(--muted); text-align: center; margin-top: 10px; }
.thanks-icon { font-family: var(--display); font-size: 80px; font-style: italic; color: var(--accent); line-height: 1; }

/* photos produits */
.card-media .hover-img { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; }
.card:hover .card-media .hover-img { opacity: 1; }
.card-media, .gallery-main, .thumbs button, .cart-thumb { background: #ffffff; }
.thumbs { grid-template-columns: repeat(3, 1fr); }
