@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("fonts/bodoni-moda-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Bodoni Moda";
  font-style: italic;
  font-weight: 400;
  font-display: block;
  src: url("fonts/bodoni-moda-latin-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: Jost;
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
  src: url("fonts/jost-latin-wght-normal.woff2") format("woff2");
}

:root, :root[data-theme="sombre"] {
  --bg: #0B0E2A;
  --surface: #141942;
  --fg: #F4F0F7;
  --muted: #A5AAD8;
  --line: #2B3170;
  --feu: #FF6A3D;
  --pri: #FF6A3D;
  --pri2: #FF8A63;
  --onpri: #0B0E2A;
  --focus: #FFD27A;
  --bar: #141942;
  --bar-fg: #F4F0F7;
  color-scheme: dark;
}

:root[data-theme="clair"] {
  --bg: #F6F4F9;
  --surface: #ECE8F3;
  --fg: #12163A;
  --muted: #55597F;
  --line: #CFCADD;
  --feu: #D8380F;
  --pri: #C23209;
  --pri2: #9E2706;
  --onpri: #FFFFFF;
  --focus: #1B2A8A;
  --bar: #F6F4F9;
  --bar-fg: #12163A;
  color-scheme: light;
}

:root[data-theme="daltonien"] {
  --bg: #FFFFFF;
  --surface: #F0F2F7;
  --fg: #101433;
  --muted: #4B5068;
  --line: #C9CCDA;
  --feu: #A85A00;
  --pri: #0072B2;
  --pri2: #005A8D;
  --onpri: #FFFFFF;
  --focus: #101433;
  --bar: #101433;
  --bar-fg: #FFFFFF;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Jost, Futura, "Century Gothic", system-ui, sans-serif;
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.wrap {
  width: min(80rem, calc(100% - 2rem));
  margin-inline: auto;
}

@media (min-width: 40rem) {
  .wrap { width: min(80rem, calc(100% - 3rem)); }
}

@media (min-width: 64rem) {
  .wrap { width: min(80rem, calc(100% - 4rem)); }
}

.bar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bar);
  color: var(--bar-fg);
  border-bottom: 1px solid var(--line);
}

.bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  min-height: 4rem;
  padding-block: 0.75rem;
}

.home {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  margin-right: auto;
}

h1, h2, h3, .signature {
  font-family: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
  font-weight: 400;
}

h1 {
  font-style: italic;
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-family: Jost, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--feu);
}

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.site-fleur { display: block; width: 40px; height: 30px; }

.signature { display: block; width: 8.6rem; height: 2rem; }

.on-light { display: none; }

:root[data-theme="clair"] .on-dark { display: none; }

:root[data-theme="clair"] .on-light { display: block; }

.themes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
}

.themes a {
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

html[data-theme="sombre"] .themes a[data-set="sombre"],
html[data-theme="clair"] .themes a[data-set="clair"],
html[data-theme="daltonien"] .themes a[data-set="daltonien"] {
  box-shadow: inset 0 -2px 0 var(--feu);
}

.announce {
  background: var(--pri);
  color: var(--onpri);
}

.add {
  background: var(--pri);
  color: var(--onpri);
  border-radius: 0;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.76rem;
}

.try {
  border-style: dashed;
  border-radius: 0;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25rem;
}

.lines,
.lang {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lines a,
.lang a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.5rem;
}

.lines a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--fg);
}

html[data-lang="fr"] .lang a[data-set="fr"],
html[data-lang="en"] .lang a[data-set="en"],
html[data-lang="es"] .lang a[data-set="es"] {
  font-weight: 650;
  box-shadow: inset 0 -1px 0 var(--fg);
}

html[data-lang="fr"] .en,
html[data-lang="fr"] .es,
html[data-lang="en"] .fr,
html[data-lang="en"] .es,
html[data-lang="es"] .fr,
html[data-lang="es"] .en { display: none; }

.lead {
  padding-block: 1.25rem 1.5rem;
}

h1 {
  margin: 0;
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.suite {
  margin: 0.35rem 0 0;
  font-size: 1rem;
  font-weight: 450;
  line-height: 1.5rem;
}

.rule {
  border-top: 1px solid var(--feu);
}

.shop {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding-block: 1.25rem 2rem;
}

.line h2 {
  margin: 0 0 0.65rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.5rem;
}

.goods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 1rem;
}

.good {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-decoration: none;
  min-width: 0;
}

.good img {
  width: 100%;
  height: auto;
  display: block;
  background: var(--surface);
  border-radius: 0.375rem;
}

.stage img {
  width: 100%;
  height: auto;
  display: block;
  background: var(--surface);
  border-radius: 0.375rem;
}

.stage.switch .shot-back { display: none; }

.stage.switch:has(input[value="back"]:checked) .shot-front { display: none; }

.stage.switch:has(input[value="back"]:checked) .shot-back { display: block; }

.views {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
}

.views label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 0.375rem;
  padding: 0.25rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.views label:has(:checked) {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.qty {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.qty input {
  width: 4.5rem;
  border: 1px solid var(--line);
  border-radius: 0.375rem;
  padding: 0.25rem 0.5rem;
  font: inherit;
  color: var(--fg);
  background: var(--bg);
}

.ship {
  margin: 0.45rem 0 0;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--muted);
}

.good-name,
.good-price {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25rem;
}

.good-price { font-weight: 500; }

.back {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.back a { text-decoration: none; }

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
  gap: 2rem 3rem;
  align-items: start;
  padding-bottom: 2rem;
}

.stage {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.facts h1 {
  font-size: clamp(1.75rem, 2.2vw, 2rem);
  line-height: 2.5rem;
}

.who { font-weight: 650; }

.price {
  margin: 0.75rem 0 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.sizes {
  border: 0;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sizes legend {
  width: 100%;
  padding: 0;
  margin: 0 0 0.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.sizes label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 0.375rem;
  padding: 0.25rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.5rem;
}

.sizes input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--fg);
}

.sizes label:has(:checked) {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.sizes label:has(:checked) input { accent-color: var(--bg); }

.cart {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.add {
  display: inline-flex;
  margin-top: 1.25rem;
  border: 0;
  border-radius: 0;
  background: var(--pri);
  color: var(--onpri);
  padding: 0.7rem 1.2rem;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
}

.foot {
  padding: 1.25rem 0 5rem;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: var(--muted);
}

.foot p { margin: 0; }

@media (max-width: 800px) {
  .goods, .tiles { grid-template-columns: minmax(0, 1fr); }
  .product { grid-template-columns: minmax(0, 1fr); }
  .facts h1 { line-height: 1.2; }
  .stage img, .hero img { max-height: 22rem; object-fit: contain; }
  .hero { min-height: 0; }
}

.announce {
  margin: 0;
  padding: 0.45rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--pri);
  color: var(--onpri);
}

.hero {
  position: relative;
  background: var(--surface);
  min-height: 28rem;
}

.hero-photo { display: block; color: inherit; }

.hero img {
  width: 100%;
  height: min(62vh, 36rem);
  object-fit: contain;
  display: block;
}

.hero-copy {
  padding: 0 0 1.5rem;
}

.hero-copy a { text-decoration: none; }

.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-block: 1.5rem 0.5rem;
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.tile img, .card-photo img {
  width: 100%;
  height: auto;
  display: block;
  background: var(--surface);
  border-radius: 0.375rem;
}

.card h3 {
  margin: 0.55rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.5rem;
}

.card .price { margin-top: 0.2rem; }

.card-photo { display: block; position: relative; }

.card-back { display: none; }

.card:hover .card-back,
.card:has(input[value="back"]:checked) .card-back { display: block; }

.card:hover .card-photo > img,
.card:has(input[value="back"]:checked) .card-photo > img { display: none; }

.card .views { margin-top: 0.55rem; }

.try {
  display: inline-flex;
  margin-top: 0.75rem;
  border: 1.5px dashed var(--muted);
  border-radius: 0;
  background: var(--surface);
  color: var(--muted);
  padding: 0.35rem 1rem;
  font: inherit;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.try:disabled { cursor: not-allowed; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 30;
  width: min(24rem, 100%);
  height: 100%;
  overflow: auto;
  background: var(--bg);
  color: var(--fg);
  border-left: 1px solid var(--line);
  padding: 1.25rem;
}

.drawer[hidden] { display: none; }

.drawer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.drawer h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.drawer-bar button {
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.drawer-link a { font-weight: 600; }

body.drawer-open { overflow: hidden; }

.opening {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  background: #0B0E2A;
}

.opening img {
  width: 100%;
  height: 72vh;
  min-height: 22rem;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  border-radius: 0;
  background: #0B0E2A;
}

.opening-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 2.2rem 1.25rem 1.6rem;
  color: #F4F0F7;
  background: linear-gradient(transparent, rgba(11, 14, 42, 0.92) 70%);
}

.opening-copy h1 {
  margin: 0;
  color: #F4F0F7;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 0.98;
}

.opening-copy .suite { color: #F4F0F7; }

.bento {
  display: grid;
  grid-template-columns: minmax(0, 28rem) minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.75rem;
  width: min(80rem, calc(100% - 2rem));
  margin: 1.25rem auto 0;
}

.flare-cell {
  width: 100%;
  max-width: 28rem;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #0B0E2A;
}

.flare-cell .flare {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.still {
  display: block;
  min-height: 0;
  overflow: hidden;
  background: #0B0E2A;
}

.still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  border-radius: 0;
}

.editorial {
  width: min(80rem, calc(100% - 2rem));
  margin: 2.5rem auto 0;
  display: grid;
  gap: 2.5rem;
}

.editorial a {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1.25rem 2rem;
  align-items: end;
  color: inherit;
  text-decoration: none;
}

.editorial a:nth-child(even) { direction: rtl; }

.editorial a:nth-child(even) > * { direction: ltr; }

.editorial img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  border-radius: 0;
  background: #0B0E2A;
}

.editorial h2 {
  margin: 0;
  font-family: "Bodoni Moda", Didot, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.editorial a span span {
  display: inline-block;
  margin-top: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
  border-bottom: 1px solid var(--feu);
}

.close {
  width: min(80rem, calc(100% - 2rem));
  margin: 3rem auto 4rem;
}

.close a {
  color: inherit;
  font-family: "Bodoni Moda", Didot, serif;
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-decoration: none;
}

@media (max-width: 800px) {
  .bento, .editorial a { grid-template-columns: minmax(0, 1fr); }
  .editorial a:nth-child(even),
  .editorial a:nth-child(even) > * { direction: ltr; }
  .opening img { height: 62vh; }
  .editorial img { height: 16rem; }
  .flare-cell { max-width: min(28rem, 100%); }
}

@media (prefers-reduced-motion: reduce) {
  .flare-cell .flare { display: none; }
  .flare-cell {
    background: #0B0E2A url("marks/fleur_web.jpg") center / cover no-repeat;
  }
}
