/* LMTE : feuille de style unique */

/* polices hébergées sur le site (licence SIL Open Font License) : rien n'est demandé à Google */
@font-face { font-family: 'Bebas Neue'; font-style: normal; font-weight: 400; font-display: block; src: url(/fonts/bebas-neue.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 500; font-display: block; src: url(/fonts/inter.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400; font-display: block; src: url(/fonts/playfair-display.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400; font-display: block; src: url(/fonts/playfair-display-italic.woff2) format('woff2'); }

:root {
  /* fond blanc, texte presque noir */
  --bg: #ffffff;
  --fg: #0a0a0a;
  --fg-soft: #3d3d3d;
  --grey: #737373;
  --line: #e4e4e4;
  --tile: #ececec; /* même gris que le fond des photos produits */
  /* sur une photo sombre (accueil), le texte reste clair */
  --on-photo: #f5f5f5;
  --head: 'Bebas Neue';
  --body: 'Playfair Display';
  --ui: 'Inter';
  --gutter: clamp(16px, 3vw, 40px);
}

/* « hidden » doit toujours l'emporter, même sur un élément en grille ou en flex */
[hidden] {
  display: none !important;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0;
}

html {
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > main {
  flex: 1;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul {
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--head);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 0.95;
}

/* ---------- Bouton contour ---------- */

.btn {
  display: inline-block;
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--fg);
  padding: 18px 40px;
  transition: background-color 0.25s, color 0.25s;
}

.btn:hover,
.btn:focus-visible {
  background: var(--fg);
  color: var(--bg);
}

.btn[disabled] {
  opacity: 0.3;
  pointer-events: none;
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 72px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--fg);
  background: transparent;
  /* reste lisible sur photo claire comme sur fond noir */
  mix-blend-mode: difference;
  transition: background-color 0.3s;
}

.nav:hover {
  background: var(--bg);
  mix-blend-mode: normal;
}

.nav__brand {
  font-family: var(--head);
  font-style: normal;
  font-size: 28px;
  letter-spacing: 0.08em;
}

.nav__links {
  display: flex;
  gap: 40px;
}

.nav__links a,
.nav__links button,
.overlay a,
.overlay button {
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav__links a,
.nav__links button {
  font-size: 12px;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.nav__links a:hover,
.nav__links button:hover,
.nav__links a[aria-current='page'] {
  opacity: 1;
}

.nav__links a[aria-current='page'] {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

.nav__toggle {
  display: none;
  width: 28px;
  height: 20px;
  position: relative;
}

.nav__toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--fg);
  transition: transform 0.3s, top 0.3s;
}

.nav__toggle span:first-child { top: 6px; }
.nav__toggle span:last-child { top: 14px; }

.menu-open .nav__toggle span:first-child { top: 10px; transform: rotate(45deg); }
.menu-open .nav__toggle span:last-child { top: 10px; transform: rotate(-45deg); }

.overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.menu-open .overlay {
  opacity: 1;
  visibility: visible;
}

.menu-open {
  overflow: hidden;
}

.overlay ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.overlay a,
.overlay button {
  font-size: 18px;
}

@media (max-width: 800px) {
  .nav { height: 60px; }
  .nav__brand { font-size: 24px; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
}

/* ---------- Accueil ---------- */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 0 var(--gutter);
  text-align: center;
}

.hero__title {
  font-size: clamp(88px, 20vw, 280px);
  letter-spacing: 0.06em;
}

/* photo assombrie : menu blanc simple, sans inversion de couleurs */
body[data-page='home'] .nav {
  mix-blend-mode: normal;
}


/* ---------- Collection ---------- */

.page {
  padding-top: 72px;
}

.shop-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 56px var(--gutter) 24px;
  border-bottom: 1px solid var(--line);
}

.shop-head__title {
  font-size: clamp(44px, 5vw, 72px);
}

.shop-head__lede {
  margin-top: 6px;
  font-size: 16px;
  color: var(--fg-soft);
}

.shop-head__count {
  white-space: nowrap;
}

.shop-head__count,
.label,
.card__sizes {
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.card {
  position: relative;
  background: var(--bg);
}

.card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-bottom: 28px;
}

/* même gris que le fond des photos : les maillots semblent posés sur la page */
.card__img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--tile);
}

.card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s, transform 0.8s;
}

.card__back {
  opacity: 0;
}

.card:hover .card__back,
.card:focus-visible .card__back {
  opacity: 1;
}

.card:hover .card__img img {
  transform: scale(1.02);
}

.card__info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 18px 20px 0;
}

.card__name {
  font-family: var(--head);
  font-style: normal;
  font-size: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card__price {
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-align: right;
  white-space: nowrap;
  color: var(--fg-soft);
}

.card__sizes {
  display: flex;
  gap: 14px;
  padding: 8px 20px 0;
  letter-spacing: 0.15em;
}

.card__sizes span {
  color: var(--fg-soft);
}

.card__sizes s {
  opacity: 0.45;
}

.shop-note {
  padding: 48px var(--gutter) 96px;
  text-align: center;
  font-size: 15px;
  color: var(--grey);
}

@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid:has(> .card:last-child:nth-child(odd))::after {
    content: '';
    background: var(--bg);
  }
}

@media (max-width: 800px) {
  .page { padding-top: 60px; }
  .shop-head { padding-top: 36px; }
  .shop-head__lede { font-size: 14px; }
  .card__link { padding-bottom: 20px; }
  .card__info { flex-direction: column; gap: 4px; padding: 12px 12px 0; }
  .card__name { font-size: 18px; }
  .card__price { text-align: left; }
  .card__sizes { gap: 10px; padding: 6px 12px 0; font-size: 10px; }
}

/* ---------- Fiche produit ---------- */

.product {
  display: grid;
  grid-template-columns: 60% 40%;
}

.product__gallery {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product__gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--tile);
}

.product__info {
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 100vh;
  padding: 140px var(--gutter) 64px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.product__name {
  font-size: clamp(48px, 5vw, 84px);
}

.product__price {
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.15em;
}

.product__tagline {
  font-size: 22px;
  line-height: 1.4;
}

.product__desc {
  color: var(--fg-soft);
  font-size: 17px;
}

.sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 0;
}

.sizes legend {
  width: 100%;
  margin-bottom: 12px;
}

.colors .label {
  margin-bottom: 12px;
}

.colors__list {
  display: flex;
  gap: 10px;
}

.swatch {
  width: 28px;
  height: 28px;
  background: var(--swatch);
  outline: 1px solid var(--line);
  outline-offset: 3px;
  transition: outline-color 0.2s;
}

.swatch:hover,
.swatch[aria-current='true'] {
  outline-color: var(--fg);
}

.size[disabled] {
  color: var(--grey);
  text-decoration: line-through;
  opacity: 0.5;
  cursor: not-allowed;
}

.size[disabled]:hover {
  border-color: var(--line);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.size {
  min-width: 56px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.15em;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.size:hover {
  border-color: var(--fg);
}

.size[aria-pressed='true'] {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}

.product__info .btn {
  width: 100%;
  padding: 20px;
}

.product__details {
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 2;
  color: var(--grey);
}

.product__empty {
  grid-column: 1 / -1;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 140px var(--gutter);
}

@media (max-width: 800px) {
  .product { grid-template-columns: 1fr; }
  .product__info {
    position: static;
    min-height: 0;
    padding-top: 40px;
  }
}

/* ---------- À propos ---------- */

.about {
  padding: 160px var(--gutter) 120px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.about__head {
  padding-bottom: 72px;
}

.about__title {
  margin-top: 20px;
  max-width: 10ch;
  font-size: clamp(64px, 10vw, 150px);
}

.about__row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.about__row .label {
  font-weight: 300;
  padding-top: 8px;
}

.about__body {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 1em;
  font-size: clamp(19px, 1.8vw, 23px);
  line-height: 1.6;
}

.about__body a {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

@media (max-width: 800px) {
  .about { padding-top: 110px; }
  .about__head { padding-bottom: 40px; }
  .about__row { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
}

/* ---------- Pied de page ---------- */

.footer {
  border-top: 1px solid var(--line);
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 12px;
  color: var(--grey);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 48px var(--gutter);
}

.footer__cols > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__head {
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg);
}

.footer a:hover {
  color: var(--fg);
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 20px var(--gutter);
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.08em;
}

@media (max-width: 800px) {
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cols > div:last-child { grid-column: 1 / -1; }
}

/* ---------- Boutons communs ---------- */

.btn--solid {
  background: var(--fg);
  color: var(--bg);
}

.btn--solid:hover,
.btn--solid:focus-visible {
  background: transparent;
  color: var(--fg);
}

.btn--icon {
  display: grid;
  place-items: center;
  width: 62px;
  padding: 0;
  flex-shrink: 0;
}

.btn--icon svg,
.icon-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

.empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 64px var(--gutter);
  font-size: 18px;
}

.empty--page {
  min-height: 60vh;
  justify-content: center;
}

.reassure {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-soft);
}

.reassure li::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 1px;
  margin: 0 10px 3px 0;
  background: var(--grey);
}

/* ---------- Icônes du menu ---------- */

.nav__icons {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 32px;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  min-width: 40px;
  justify-content: center;
  color: inherit;
}

.icon-btn__count {
  position: absolute;
  top: 4px;
  right: 0;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--ui);
  font-style: normal;
  font-size: 9px;
  line-height: 15px;
  text-align: center;
}

.nav__links + .nav__icons {
  margin-left: 40px;
}

.nav {
  justify-content: flex-start;
}

.nav__brand {
  margin-right: auto;
}

/* accueil : sur la grille claire, menu en couleurs inversées pour rester lisible */
body[data-page='home'] .nav.nav--over-light {
  mix-blend-mode: difference;
}

body[data-page='home'] .nav.nav--over-light:hover {
  mix-blend-mode: normal;
}

@media (max-width: 800px) {
  .nav__icons { margin-left: 0; gap: 2px; }
  .nav__toggle { margin-left: 10px; }
}

/* ---------- Recherche ---------- */

.locked {
  overflow: hidden;
}

.search {
  position: fixed;
  inset: 0;
  z-index: 200;
  overflow-y: auto;
  background: var(--bg);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.25s, transform 0.25s;
}

.search.is-open {
  opacity: 1;
  transform: none;
}

.search__bar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 88px;
  padding: 0 var(--gutter);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.search__bar svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--fg);
  stroke-width: 1.2;
  flex-shrink: 0;
}

.search__bar input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: none;
  color: var(--fg);
  font-family: var(--head);
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: 0.04em;
}

.search__bar input::placeholder {
  color: #a3a3a3;
}

.search__bar input::-webkit-search-cancel-button {
  display: none;
}

.search__close {
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}

.search__close:hover {
  color: var(--fg);
}

.search__suggest,
.search__status {
  padding: 32px var(--gutter) 0;
}

.search__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.search__chips button {
  padding: 10px 18px;
  border: 1px solid var(--line);
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.search__chips button:hover {
  border-color: var(--fg);
}

.search__results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 24px;
  background: var(--line);
}

.search__results:empty {
  display: none;
}

@media (max-width: 800px) {
  .search__bar { height: 64px; }
  .search__results { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Tiroir panier ---------- */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
}

.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.3s;
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}

.drawer__head h2 {
  font-size: 30px;
}

.drawer__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.drawer__body .empty {
  padding: 40px 24px;
}

.drawer__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-top: 1px solid var(--line);
}

.drawer__foot .btn {
  text-align: center;
}

.freebar {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.freebar__track {
  height: 1px;
  margin-top: 12px;
  background: var(--line);
}

.freebar__track span {
  display: block;
  height: 1px;
  background: var(--fg);
  transition: width 0.4s;
}

.lines {
  padding: 0 24px;
}

.line {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.line__img {
  width: 84px;
  flex-shrink: 0;
  aspect-ratio: 4 / 5;
  background: var(--tile);
}

.line__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.line__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.line__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.line__name {
  font-family: var(--head);
  font-style: normal;
  font-size: 20px;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.line__price,
.line__meta,
.line__remove,
.qty,
.sum,
.sum__note {
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.line__price { white-space: nowrap; }
.line__meta { color: var(--grey); }
.line__added { color: var(--fg); }

.line__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
}

.qty button {
  width: 34px;
  height: 32px;
}

.qty button:disabled {
  opacity: 0.3;
  cursor: default;
}

.qty span {
  min-width: 24px;
  text-align: center;
}

.line__remove {
  color: var(--grey);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.line__remove:hover { color: var(--fg); }

.sum {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
}

.sum--total {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--fg);
}

.sum__note {
  color: var(--grey);
  line-height: 1.6;
}

/* ---------- Page panier ---------- */

.bag-page {
  display: grid;
  grid-template-columns: 1fr 380px;
  align-items: start;
  min-height: 50vh;
}

.bag-page > .empty {
  grid-column: 1 / -1;
}

.lines--page {
  padding: 0 var(--gutter);
  border-right: 1px solid var(--line);
}

.lines--page .line__img { width: 120px; }

.bag-sum {
  position: sticky;
  top: 72px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 var(--gutter) 48px;
}

.bag-sum .freebar {
  padding: 18px 0;
  margin-bottom: 8px;
}

.bag-sum .btn {
  text-align: center;
  margin: 12px 0;
}

@media (max-width: 800px) {
  .bag-page { grid-template-columns: 1fr; }
  .lines--page { border-right: 0; }
  .lines--page .line__img { width: 90px; }
  .bag-sum { position: static; padding-top: 24px; }
}

/* ---------- Fiche produit : achat ---------- */

.buy {
  display: flex;
  gap: 8px;
}

.buy .btn:first-child {
  flex: 1;
  padding: 20px;
}

/* ---------- Accueil : la collection sous la photo (façon Mowalola) ---------- */

.home-shop {
  background: var(--tile);
  color: var(--bg);
  padding: 96px var(--gutter) 120px;
}

.home-shop__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 40px;
}

.home-shop__head h2 {
  font-size: clamp(40px, 5vw, 64px);
}

.home-shop__head a {
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.home-shop__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 24px;
}

.tile__img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.tile__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s;
}

.tile__back { opacity: 0; }
.tile:hover .tile__back { opacity: 1; }

.tile__name,
.tile__price {
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
}

.tile__name { margin-top: 14px; }
.tile__price { margin-top: 4px; color: var(--grey); }

@media (max-width: 800px) {
  .home-shop { padding: 64px 12px 80px; }
  .home-shop__head { padding: 0 4px; margin-bottom: 24px; }
  .home-shop__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 8px; }
}

/* ---------- Pages légales ---------- */

.legal {
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
  padding: 150px var(--gutter) 120px;
}

.legal__title {
  font-size: clamp(48px, 7vw, 96px);
  margin-bottom: 56px;
}

.legal__body {
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.75;
  color: var(--fg-soft);
}

.legal__body h3 {
  margin: 48px 0 14px;
  font-size: 26px;
  color: var(--fg);
}

.legal__body p,
.legal__body ul,
.legal__body ol,
.legal__body table {
  margin-bottom: 16px;
}

.legal__body ul,
.legal__body ol {
  padding-left: 20px;
}

.legal__body ul { list-style: square; }
.legal__body ol { list-style: decimal; }
.legal__body li { margin-bottom: 8px; }
.legal__body strong { font-weight: 400; color: var(--fg); }
.legal__body em { font-family: var(--body); }

.legal__body a {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.legal__body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.legal__body th,
.legal__body td {
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal__body th {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}

@media (max-width: 800px) {
  .legal { padding-top: 110px; }
  .legal__body table { font-size: 13px; }
}

/* ---------- Commande ---------- */

.co-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
}

.co-top__back,
.co-top__secure {
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}

.co-top__back::before { content: '← '; }
.co-top__back:hover { color: var(--fg); }

.co-top__secure {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.co-top__secure svg,
.bank svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

.co {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.co__form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 48px var(--gutter) 80px;
  border-right: 1px solid var(--line);
}

.co__block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 0 32px;
  border-bottom: 1px solid var(--line);
}

.co__title {
  font-size: 28px;
  margin-bottom: 4px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field[hidden] { display: none; }

.field span {
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}

.field em {
  font-style: normal;
  letter-spacing: 0.05em;
  text-transform: none;
}

.field input,
.field select {
  height: 48px;
  padding: 0 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--fg);
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 15px;
  outline: none;
  appearance: none;
}

.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--grey) 50%), linear-gradient(135deg, var(--grey) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.field input:focus,
.field select:focus {
  border-color: var(--fg);
}

.field input:user-invalid {
  border-color: #ff6b6b;
}

.methods {
  display: flex;
  flex-direction: column;
}

.method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  margin-top: -1px;
  cursor: pointer;
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 13px;
}

.method:has(input:checked) {
  position: relative;
  border-color: var(--fg);
}

.method input {
  accent-color: var(--fg);
}

.method__name {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.method small,
.co-line small {
  color: var(--grey);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.co__payment {
  min-height: 60px;
}

.co__payment--off {
  min-height: 0;
}

.co__hint,
.co__legal,
.co__notice {
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 12px;
  line-height: 1.6;
  color: var(--grey);
}

.co__notice {
  padding: 14px 16px;
  border: 1px solid var(--line);
  color: var(--fg);
}

.co__legal a { text-decoration: underline; text-underline-offset: 3px; }

.co__error {
  padding: 18px;
  border: 1px solid #ff6b6b;
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
}

.co__error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.co__error-actions .btn {
  padding: 12px 18px;
  font-size: 11px;
}

.co__submit {
  margin-top: 24px;
  padding: 22px;
}

.co__submit:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.co__submit.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.co .reassure { margin-top: 16px; }

.co__summary {
  position: sticky;
  top: 0;
  align-self: start;
  padding: 48px var(--gutter);
}

.co__toggle { display: none; }

.co-lines {
  margin-bottom: 16px;
}

.co-line {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 13px;
}

.co-line__img {
  position: relative;
  width: 64px;
  flex-shrink: 0;
  aspect-ratio: 4 / 5;
  background: var(--tile);
}

.co-line__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.co-line__qty {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  background: var(--fg);
  color: var(--bg);
  font-size: 11px;
  line-height: 20px;
  text-align: center;
}

.co-line__name {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bank {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.96);
}

.bank[hidden] { display: none; }

.bank__box {
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-soft);
}

.bank__box svg { width: 28px; height: 28px; }

.bank__title {
  font-family: var(--head);
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--fg);
}

.thanks {
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
  padding: 80px var(--gutter) 120px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.thanks__title {
  font-size: clamp(56px, 8vw, 96px);
}

.thanks__lede {
  font-size: 19px;
  margin-bottom: 24px;
}

.thanks__help {
  margin: 24px 0 8px;
  font-size: 16px;
  color: var(--fg-soft);
}

.thanks__help a { text-decoration: underline; text-underline-offset: 4px; }

.thanks .btn { align-self: flex-start; }

.footer--slim .footer__base a:hover { color: var(--fg); }

@media (max-width: 900px) {
  .co { grid-template-columns: 1fr; }
  .co__form { order: 2; border-right: 0; padding-top: 8px; }
  .co__summary {
    position: static;
    order: 1;
    padding: 0;
    border-bottom: 1px solid var(--line);
  }
  .co__toggle {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 18px var(--gutter);
    font-family: var(--ui);
    font-style: normal;
    font-weight: 300;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }
  .co__toggle span:first-child::after { content: ' +'; }
  .co__summary.is-open .co__toggle span:first-child::after { content: ' −'; }
  .co__summary-body { display: none; padding: 0 var(--gutter) 24px; }
  .co__summary.is-open .co__summary-body { display: block; }
  .co-top { grid-template-columns: auto 1fr auto; gap: 12px; }
  .co-top .nav__brand { text-align: center; }
  .row { grid-template-columns: 1fr; }
}

/* ---------- Ajustements ---------- */

.search__results {
  gap: 0;
  background: none;
}

.search__results .card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product__info .buy .btn {
  width: auto;
}

.icon-btn__count {
  top: 2px;
  right: -2px;
}

@media (max-width: 900px) {
  .co-top__secure { font-size: 0; letter-spacing: 0; }
  .co-top__secure svg { width: 18px; height: 18px; }
}

/* ---------- Journal ---------- */

.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px 24px;
  padding: 48px var(--gutter) 120px;
}

.post-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post-card img,
.post-card__blank {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--tile);
  transition: opacity 0.4s;
}

.post-card:hover img {
  opacity: 0.85;
}

.post-card time {
  margin-top: 8px;
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}

.post-card h2 {
  font-size: 28px;
  line-height: 1;
}

.post-card p {
  font-size: 16px;
  color: var(--fg-soft);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article {
  padding: 150px var(--gutter) 120px;
}

.article__head {
  max-width: 900px;
  margin: 0 auto 56px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article__title {
  font-size: clamp(48px, 7vw, 104px);
}

.article__cover {
  width: 100%;
  max-width: 1200px;
  max-height: 80vh;
  margin: 0 auto 72px;
  object-fit: cover;
}

/* texte long : Playfair droit, plus reposant à lire que l'italique */
.article__body {
  max-width: 680px;
  margin: 0 auto;
  font-style: normal;
  font-size: 19px;
  line-height: 1.75;
  color: var(--fg-soft);
}

.article__body > * + * {
  margin-top: 1.1em;
}

.article__body h2,
.article__body h3 {
  margin-top: 2em;
  color: var(--fg);
}

.article__body h2 { font-size: 40px; }
.article__body h3 { font-size: 30px; }

.article__body strong { color: var(--fg); font-weight: 400; }
.article__body em { font-style: italic; }

.article__body a {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.article__body ul,
.article__body ol {
  padding-left: 22px;
}

.article__body ul { list-style: square; }
.article__body ol { list-style: decimal; }

.article__body blockquote {
  padding-left: 24px;
  border-left: 1px solid var(--fg);
  font-style: italic;
  font-size: 23px;
  color: var(--fg);
}

.article__body img {
  width: 100%;
  margin: 2em 0;
}

.article__end,
.article__more {
  max-width: 680px;
  margin: 80px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.article__more {
  margin-top: 48px;
}

.article__more a {
  font-family: var(--head);
  font-style: normal;
  font-size: 26px;
  line-height: 1.05;
}

.article__more a:hover { opacity: 0.7; }

.product__stock {
  min-height: 1em;
  margin-bottom: -16px;
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg);
}

@media (max-width: 900px) {
  .posts { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .posts { grid-template-columns: 1fr; gap: 48px; }
  .article { padding-top: 110px; }
  .article__body { font-size: 17px; }
  .article__cover { margin-bottom: 48px; }
}

/* ---------- Fiche produit : avis, guide des tailles, retours, bouton fixe ---------- */

.product__rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: -12px;
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--fg-soft);
}

.stars {
  letter-spacing: 0.12em;
  color: var(--fg);
}

.sizes legend {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.size-guide-link {
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.sizes.is-asking .size:not([disabled]) {
  border-color: var(--fg);
}

.product__returns {
  margin-top: -16px;
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-soft);
}

.product__returns a {
  color: var(--grey);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reviews {
  grid-column: 1 / -1;
  padding: 80px var(--gutter);
  border-top: 1px solid var(--line);
}

.reviews__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.reviews__head h2 {
  font-size: clamp(40px, 5vw, 64px);
}

.reviews__head p {
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--fg-soft);
}

.reviews__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
}

.review {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.review__stars {
  font-family: var(--ui);
  font-style: normal;
  font-size: 13px;
}

.review__body {
  font-size: 19px;
  line-height: 1.55;
}

.review__meta {
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
}

.guide {
  position: fixed;
  inset: 0;
  z-index: 250;
  overflow-y: auto;
  background: var(--bg);
  opacity: 0;
  transition: opacity 0.25s;
}

.guide.is-open { opacity: 1; }

.guide__inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 96px var(--gutter) 64px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.guide__close {
  position: absolute;
  top: 28px;
  right: var(--gutter);
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg);
  padding: 8px 0;
}

.guide h2 {
  font-size: clamp(48px, 8vw, 88px);
}

.guide__lede {
  font-size: 19px;
}

.guide table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 15px;
}

.guide th,
.guide td {
  padding: 16px 12px 16px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.guide th {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 300;
}

.guide td:first-child {
  font-family: var(--head);
  font-size: 22px;
  letter-spacing: 0.05em;
}

.guide__how,
.guide__help {
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.7;
  color: var(--fg-soft);
}

.guide__help a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* bouton d'achat fixe : seulement sur téléphone */
.sticky-buy {
  display: none;
}

@media (max-width: 800px) {
  .sticky-buy {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--bg);
    border-top: 1px solid var(--line);
    transform: translateY(100%);
    transition: transform 0.25s ease;
  }
  .sticky-buy.is-visible { transform: none; }
  .sticky-buy__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    font-family: var(--ui);
    font-style: normal;
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .sticky-buy__info span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-buy__info span:last-child { color: var(--grey); }
  .sticky-buy .btn { padding: 16px 18px; font-size: 11px; flex-shrink: 0; }
  .reviews { padding: 56px var(--gutter); }
  .reviews__list { grid-template-columns: 1fr; gap: 32px; }
  .review__body { font-size: 17px; }
}

/* ---------- Menu téléphone : plein écran, grands liens centrés ---------- */

.overlay ul {
  gap: 28px;
}

.overlay a,
.overlay button {
  font-size: 2rem;
  letter-spacing: 0.12em;
}

.overlay li:last-child a {
  margin-top: 16px;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  color: var(--grey);
}

.nav__toggle {
  width: 32px;
  height: 32px;
}

.nav__toggle span:first-child { top: 11px; }
.nav__toggle span:last-child { top: 19px; }
.menu-open .nav__toggle span:first-child,
.menu-open .nav__toggle span:last-child { top: 15px; }

/* menu ouvert : on cache les icônes pour ne garder que la croix en haut à droite */
.menu-open .nav__icons > :not(.nav__toggle) {
  visibility: hidden;
}

/* ---------- Téléphone : galerie produit à balayer ---------- */

.gallery-dots {
  display: none;
}

@media (max-width: 800px) {
  .product__gallery {
    flex-direction: row;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-top: 60px;
  }
  .product__gallery::-webkit-scrollbar { display: none; }
  .product__gallery img {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    scroll-snap-align: start;
  }
  .gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 14px 0 0;
  }
  .gallery-dots span {
    width: 16px;
    height: 1px;
    background: var(--line);
  }
  .gallery-dots span.is-on { background: var(--fg); }
  .product__info { padding-top: 24px; }
}

/* contour de focus (navigation au clavier) aux couleurs du site */
:focus-visible {
  outline: 1px solid var(--fg);
  outline-offset: 3px;
}

/* ---------- Journal : miniatures en 3:2, jamais déformées ---------- */

.posts {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px var(--gutter) 120px;
}

.post-card {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.post-card__thumb {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--tile);
}

.post-card__thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  transition: transform 0.6s, opacity 0.4s;
}

.post-card:hover .post-card__thumb img {
  transform: scale(1.03);
  opacity: 0.9;
}

.post-card__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post-card__text time {
  margin: 0;
}

.post-card__text h2 {
  font-size: clamp(26px, 2.6vw, 36px);
}

.post-card__more {
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.article__cover {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  max-height: none;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin: 0 auto 56px;
}

@media (max-width: 700px) {
  .post-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 24px 0;
  }
  .posts { gap: 0; }
  .post-card__text { gap: 6px; }
  .post-card__text h2 { font-size: 21px; }
  .post-card__text p { font-size: 14px; -webkit-line-clamp: 2; }
  .post-card__more { display: none; }
  .article__cover { margin-bottom: 36px; }
}

.reviews__note {
  max-width: 720px;
  margin-top: 40px;
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 11px;
  line-height: 1.7;
  color: var(--grey);
}

/* ---------- Page « Votre avis » (lien personnel) ---------- */

.rv {
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
  padding: 140px var(--gutter) 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.rv__title {
  font-size: clamp(48px, 9vw, 88px);
}

.rv__lede {
  font-size: 19px;
  color: var(--fg-soft);
}

.rv__form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 16px;
}

.rv-product {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 0 28px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.rv-product__head {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--head);
  font-style: normal;
  font-size: 24px;
  letter-spacing: 0.04em;
}

.rv-product__head img {
  width: 64px;
  height: 80px;
  object-fit: cover;
  background: var(--tile);
}

/* étoiles : de droite à gauche en HTML, remises dans l'ordre à l'écran, pour colorer jusqu'à l'étoile choisie */
.rv-stars {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}

.rv-stars input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rv-stars label {
  font-family: var(--ui);
  font-style: normal;
  font-size: 34px;
  line-height: 1;
  color: #d0d0d0;
  cursor: pointer;
  transition: color 0.15s;
}

.rv-stars input:checked ~ label,
.rv-stars label:hover,
.rv-stars label:hover ~ label {
  color: var(--fg);
}

.rv-stars input:focus-visible + label {
  outline: 1px solid var(--fg);
  outline-offset: 2px;
}

.rv .field textarea,
.rv .field input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--fg);
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 15px;
  outline: none;
  resize: vertical;
}

.rv .field textarea:focus,
.rv .field input:focus {
  border-color: var(--fg);
}

.rv__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-soft);
}

.rv__consent input {
  margin-top: 4px;
  accent-color: var(--fg);
}

.rv__form .btn {
  align-self: stretch;
  padding: 20px;
}

@media (max-width: 800px) {
  .rv { padding-top: 100px; }
}

/* ---------- Journal : grille de cartes (miniature, rubrique, date, titre, auteur) ---------- */

.posts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.post {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px clamp(16px, 2vw, 28px) 36px;
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.post:nth-child(4n) { border-right: 0; }

.post__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--tile);
  margin-bottom: 6px;
}

.post__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s, opacity 0.4s;
}

.post:hover .post__thumb img {
  transform: scale(1.03);
  opacity: 0.9;
}

.post__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}

.post__meta span:first-child { color: var(--fg); }

.post__title {
  font-size: clamp(24px, 1.9vw, 30px);
  line-height: 1.02;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.post__author {
  margin-top: auto;
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fg-soft);
}

@media (max-width: 1100px) {
  .posts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .post:nth-child(4n) { border-right: 1px solid var(--line); }
  .post:nth-child(3n) { border-right: 0; }
}

@media (max-width: 800px) {
  .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post:nth-child(3n) { border-right: 1px solid var(--line); }
  .post:nth-child(2n) { border-right: 0; }
  .post { padding: 20px 12px 24px; gap: 10px; }
  .post__meta { flex-direction: column; gap: 4px; font-size: 10px; }
  .post__title { font-size: 20px; padding-bottom: 12px; }
}

@media (max-width: 480px) {
  .posts-grid { grid-template-columns: 1fr; }
  .post { border-right: 0 !important; padding: 24px var(--gutter) 28px; }
  .post__meta { flex-direction: row; font-size: 11px; }
  .post__title { font-size: 26px; }
}

.article__title {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
}

/* ---------- Menu (façon Casablanca) : panneau qui glisse depuis la gauche ---------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 300;
  visibility: hidden;
  transition: visibility 0s 0.35s;
}

.menu-open .menu {
  visibility: visible;
  transition: none;
}

.menu__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.35s;
}

.menu__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(460px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-right: 1px solid var(--line);
  transform: translateX(-100%);
  transition: transform 0.35s ease;
}

.menu-open .menu__scrim { opacity: 1; }
.menu-open .menu__panel { transform: none; }

.menu__top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 16px 16px 12px;
  border-bottom: 1px solid var(--line);
}

.menu__close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.menu svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  flex-shrink: 0;
}

.menu__search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 16px;
  background: #f4f4f4;
  border: 1px solid var(--line);
}

.menu__search:focus-within {
  border-color: var(--fg);
}

.menu__search input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: none;
  color: var(--fg);
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
}

.menu__search input::placeholder { color: var(--grey); }

.menu__views {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.menu__view {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-left: 56px;
}

.menu__list a,
.menu__list button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 26px 24px 26px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  transition: opacity 0.2s;
}

.menu__list a:hover,
.menu__list button:hover { opacity: 0.65; }

.menu__list span[aria-hidden] { font-size: 1.1rem; }

.menu__utils {
  margin-top: auto;
  padding-top: 32px;
}

.menu__utils a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px 20px 0;
  border-top: 1px solid var(--line);
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 15px;
  color: var(--fg-soft);
}

.menu__utils a:hover { color: var(--fg); }

.menu__back {
  align-self: flex-start;
  padding: 20px 0 8px;
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}

.menu__title {
  padding: 8px 0 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--head);
  font-style: normal;
  font-size: 40px;
  line-height: 1;
}

.menu__list--products a {
  justify-content: flex-start;
  gap: 16px;
  padding: 14px 24px 14px 0;
  font-size: 1rem;
}

.menu__list--products img {
  width: 56px;
  height: 70px;
  object-fit: cover;
  background: var(--tile);
}

.menu__list--products span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu__list--products small {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--grey);
}

.menu__all {
  margin: 28px 24px 32px 0;
  padding: 16px;
  border: 1px solid var(--fg);
  text-align: center;
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.menu__all:hover { background: var(--fg); color: var(--bg); }

@media (max-width: 480px) {
  .menu__view { padding-left: 24px; }
  .menu__list a, .menu__list button { font-size: 1.35rem; padding: 22px 16px 22px 0; }
}

/* ---------- Pied de page (façon Casablanca) ---------- */

.footer {
  border-top: 1px solid var(--line);
  color: var(--fg-soft);
}

.footer__main {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr) 1.6fr;
  gap: 40px;
  padding: 80px var(--gutter) 64px;
}

.footer__logo {
  font-family: var(--head);
  font-style: normal;
  font-size: 56px;
  line-height: 0.9;
  letter-spacing: 0.06em;
  color: var(--fg);
  align-self: start;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer .footer__head {
  margin: 0 0 6px;
  font-family: var(--ui);
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg);
}

.footer__col a {
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 15px;
  color: var(--fg-soft);
  transition: color 0.2s;
}

.footer__col a:hover { color: var(--fg); }

.footer__news {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__text {
  font-size: 16px;
  line-height: 1.5;
}

.news {
  display: flex;
  align-items: center;
  height: 56px;
  border: 1px solid var(--fg-soft);
  transition: border-color 0.2s;
}

.news:focus-within { border-color: var(--fg); }

.news input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 18px;
  background: none;
  border: 0;
  outline: none;
  color: var(--fg);
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 15px;
}

.news input::placeholder { color: var(--grey); }

.news button {
  display: grid;
  place-items: center;
  width: 56px;
  height: 100%;
  color: var(--fg);
}

.news svg,
.footer__social svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}

.footer__small {
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 11px;
  line-height: 1.6;
  color: var(--grey);
}

.footer__small a { text-decoration: underline; text-underline-offset: 3px; }
.footer__small.is-ok { color: var(--fg); font-size: 13px; }

.footer__base {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 24px var(--gutter) 32px;
  border-top: 1px solid var(--line);
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--grey);
}

.footer__social { display: flex; gap: 16px; }
.footer__social a { color: var(--fg); }
.footer__copy { text-align: center; }

.footer__pay {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.footer__pay li {
  padding: 5px 8px;
  border: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-soft);
}

@media (max-width: 1100px) {
  .footer__main { grid-template-columns: repeat(3, 1fr); }
  .footer__logo { grid-column: 1 / -1; }
  .footer__news { grid-column: 1 / -1; max-width: 520px; }
}

@media (max-width: 700px) {
  .footer__main { grid-template-columns: 1fr 1fr; gap: 36px 20px; padding-top: 56px; }
  .footer__col:nth-of-type(3) { grid-column: 1 / -1; }
  .footer__logo { font-size: 44px; }
  .footer__base { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer__pay { justify-content: center; }
}

/* ---------- En-tête façon Casablanca : menu à gauche, LMTE au centre, icônes à droite ---------- */

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  justify-content: initial;
}

.nav__left {
  display: flex;
  align-items: center;
}

.nav__menu {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding-right: 8px;
  color: inherit;
}

.nav__burger {
  position: relative;
  width: 26px;
  height: 14px;
}

.nav__burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
}

.nav__burger span:first-child { top: 2px; }
.nav__burger span:last-child { top: 11px; }

.nav__menu-label {
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav .nav__brand {
  margin: 0;
  justify-self: center;
  transition: opacity 0.3s;
}

.nav__icons {
  justify-self: end;
  margin-left: 0;
}

/* accueil : le grand LMTE de la photo suffit ; celui de l'en-tête n'apparaît qu'une fois la photo passée */
body[data-page='home'] .nav:not(.nav--over-light) .nav__brand {
  opacity: 0;
  pointer-events: none;
}

.nav__links,
.nav__toggle {
  display: none !important;
}

@media (max-width: 800px) {
  .nav__menu-label { display: none; }
  .nav__icons { gap: 0; }
  .nav .icon-btn { min-width: 36px; }
}

/* ---------- Logos des moyens de paiement ---------- */

.footer__pay li {
  padding: 0;
  border: 0;
}

.footer__pay img {
  display: block;
  width: 44px;
  height: auto;
}


/* ---------- Fond blanc : réglages ---------- */

/* en-tête : texte foncé, sans inversion de couleurs */
.nav,
.nav.nav--over-light,
body[data-page='home'] .nav.nav--over-light {
  mix-blend-mode: normal;
  color: var(--fg);
}

.nav:hover {
  background: var(--bg);
}

/* accueil : sur la photo, l'en-tête et le texte restent clairs */
body[data-page='home'] .nav:not(.nav--over-light):not(:hover) {
  color: var(--on-photo);
}

.nav.nav--over-light,
body:not([data-page='home']) .nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

body[data-page='home'] .nav:not(.nav--over-light) .icon-btn__count {
  background: var(--on-photo);
  color: var(--fg);
}

.hero__content,
.hero__title {
  color: var(--on-photo);
}

.hero .btn {
  color: var(--on-photo);
  border-color: var(--on-photo);
}

.hero .btn:hover,
.hero .btn:focus-visible {
  background: var(--on-photo);
  color: var(--fg);
}

/* accueil : la grille produits sur fond blanc, les photos sur leur gris */
.home-shop {
  background: var(--bg);
  color: var(--fg);
}

/* pied de page : gris très clair pour le séparer du contenu */
.footer {
  background: #f6f6f6;
}

.drawer__scrim,
.menu__scrim {
  background: rgba(0, 0, 0, 0.35);
}

/* l'en-tête est opaque hors accueil : la galerie produit commence dessous */
@media (min-width: 801px) {
  .product__gallery { padding-top: 72px; }
  .product__info { padding-top: 140px; }
}

/* ---------- Bande défilante noire tout en haut (façon LFDY) ---------- */

:root {
  --bar: 32px;
  --bar-y: 0px; /* combien la bande est déjà partie avec la page (0 à 32 px, réglé par main.js) */
}

body {
  padding-top: var(--bar);
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 101;
  height: var(--bar);
  overflow: hidden;
  background: #000;
  color: #fff;
  transform: translateY(calc(-1 * var(--bar-y)));
}

.topbar__track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: topbar-scroll 80s linear infinite;
}

.topbar:hover .topbar__track {
  animation-play-state: paused;
}

.topbar__group {
  display: flex;
  align-items: center;
}

.topbar__group span {
  padding: 0 clamp(40px, 6vw, 96px);
  font-family: var(--ui);
  font-style: normal;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes topbar-scroll {
  to { transform: translateX(-50%); }
}

/* le menu se place sous la bande, puis remonte quand elle part */
.nav {
  top: calc(var(--bar) - var(--bar-y));
}

/* l'accueil garde sa photo plein écran, sous la bande */
.hero {
  height: calc(100vh - var(--bar));
  height: calc(100svh - var(--bar));
}

/* ---------- Accueil : rangée de pièces qui défile (façon LFDY) ---------- */

.drop {
  padding: 72px 0 96px;
  background: var(--bg);
  color: var(--fg);
}

.drop__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 var(--gutter);
  margin-bottom: 28px;
}

.drop__head h2 {
  font-size: clamp(40px, 5vw, 64px);
}

.drop__head a {
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.drop__viewport {
  overflow: hidden;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.8s;
}

.drop__viewport.is-waiting {
  opacity: 0;
  transform: translateY(32px);
}

.drop__track {
  display: flex;
  --drop-gap: 2px;
  gap: var(--drop-gap);
  width: max-content;
  animation: drop-scroll var(--drop-duration, 36s) linear infinite;
}

.drop__viewport:hover .drop__track,
.drop__viewport.is-held .drop__track {
  animation-play-state: paused;
}

@keyframes drop-scroll {
  /* la moitié de la piste, plus la moitié d'un écart : la boucle tombe pile */
  to { transform: translateX(calc(-50% - var(--drop-gap) / 2)); }
}

/* 5 cases par écran sur ordinateur, 2 et demie sur téléphone */
.drop__card {
  flex: 0 0 auto;
  width: calc((100vw - 8px) / 5);
  display: block;
}

.drop__img {
  position: relative;
  aspect-ratio: 25 / 32;
  overflow: hidden;
  background: var(--tile);
}

.drop__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s;
}

.drop__back { opacity: 0; }
.drop__card:hover .drop__back { opacity: 1; }

.drop__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 3px 8px;
  background: #fff;
  color: #000;
  font-family: var(--ui);
  font-style: normal;
  font-weight: 400;
  font-size: 11px;
}

.drop__name,
.drop__price {
  padding: 0 12px;
  font-family: var(--ui);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.drop__name { margin-top: 12px; font-weight: 400; }
.drop__price { margin-top: 2px; font-weight: 300; color: var(--grey); }

@media (max-width: 800px) {
  .drop { padding: 48px 0 64px; }
  .drop__head { margin-bottom: 20px; }
  .drop__track { --drop-gap: 1px; }
  .drop__card { width: calc((100vw - 2px) / 2.5); }
  .drop__badge { top: 8px; left: 8px; font-size: 10px; }
  .drop__name, .drop__price { padding: 0 8px; font-size: 11px; }
}

/* mouvements réduits demandés par le visiteur : rien ne défile, on fait glisser la rangée au doigt */
@media (prefers-reduced-motion: reduce) {
  .topbar__track { animation: none; }
  .topbar__group[aria-hidden] { display: none; }
  .topbar__group { overflow-x: auto; }
  .drop__track { animation: none; }
  .drop__viewport { overflow-x: auto; }
  .drop__viewport.is-waiting { opacity: 1; transform: none; }
}

/* ---------- Phrase signature et chapitres ---------- */

.hero__motto {
  margin-top: -16px;
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--on-photo);
  text-align: center;
}

.drop__chapter,
.shop-head__chapter {
  margin-bottom: 10px;
  font-family: var(--ui);
  font-style: normal;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}

@media (max-width: 800px) {
  .hero__motto { margin-top: -20px; font-size: 11px; letter-spacing: 0.24em; }
}

/* ---------- Journal, forme « Livre » : le sommaire ---------- */

.journal {
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px var(--gutter) 120px;
}

.journal__head {
  display: grid;
  gap: 16px;
  margin-bottom: 48px;
}

.journal__title {
  font-size: clamp(64px, 10vw, 128px);
  line-height: 0.9;
}

.journal__lede {
  max-width: 52ch;
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg-soft);
}

.toc {
  list-style: none;
  border-top: 1px solid var(--fg);
}

.toc__item {
  border-bottom: 1px solid var(--line);
}

.toc__link {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 200px;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  color: inherit;
  text-decoration: none;
}

.toc__n {
  font-family: var(--head);
  font-style: normal;
  font-size: 48px;
  line-height: 0.9;
  color: var(--grey);
  transition: color 0.3s;
}

.toc__main {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.toc__title {
  font-family: var(--head);
  font-style: normal;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1;
  letter-spacing: 0.01em;
}

.toc__excerpt {
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-soft);
}

/* l'image du récit se déplie au survol, comme une page qu'on entrouvre */
.toc__img {
  display: block;
  max-width: 480px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.4s, margin 0.4s;
}

.toc__img img {
  display: block;
  width: 100%;
  height: auto;
}

.toc__link:hover .toc__img,
.toc__link:focus-visible .toc__img {
  max-height: 340px;
  opacity: 1;
  margin-top: 8px;
}

.toc__link:hover .toc__n,
.toc__link:focus-visible .toc__n {
  color: var(--fg);
}

.toc__meta {
  font-family: var(--ui);
  font-style: normal;
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  text-align: right;
}

.toc__meta span {
  letter-spacing: 0.06em;
  text-transform: none;
}

.journal__empty {
  padding: 40px 0;
  color: var(--grey);
}

@media (max-width: 800px) {
  .journal { padding-top: 88px; padding-bottom: 80px; }
  .toc__link { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 22px 0; }
  .toc__n { font-size: 34px; }
  .toc__meta { grid-column: 2; text-align: left; }
  /* pas de survol sur téléphone : l'image reste visible */
  .toc__img { max-height: none; opacity: 1; margin-top: 6px; }
}

/* ---------- Journal : la page d'un récit ---------- */

.recit {
  padding: 120px var(--gutter) 96px;
}

.recit__open {
  max-width: 900px;
  margin: 0 auto 48px;
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.recit__title {
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.95;
  text-wrap: balance;
}

.recit__lede {
  max-width: 46ch;
  font-family: var(--body);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--fg-soft);
}

.recit__meta {
  font-family: var(--ui);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--grey);
}

/* l'image garde son format d'origine : jamais recadrée, jamais agrandie au-delà de sa taille réelle */
.recit__cover {
  margin: 0 auto 56px;
  width: 100%;
  max-width: 1100px;
}

.recit__cover img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--tile);
}

.recit__body {
  max-width: 640px;
  margin: 0 auto;
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.8;
  color: var(--fg);
}

.recit__body > * + * {
  margin-top: 1.1em;
}

/* lettrine, comme l'ouverture d'un chapitre */
.recit__body > p:first-child::first-letter {
  float: left;
  margin: 8px 12px 0 0;
  font-family: var(--head);
  font-size: 92px;
  line-height: 0.72;
}

.recit__body h2 {
  margin-top: 2.2em;
  font-size: clamp(30px, 3.6vw, 40px);
  line-height: 1;
}

.recit__body h3 {
  margin-top: 1.8em;
  font-family: var(--ui);
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
}

.recit__body strong { font-weight: 500; }

.recit__body a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* citation en exergue */
.recit__body blockquote {
  margin: 2em 0;
  padding: 24px 0;
  border-top: 1px solid var(--fg);
  border-bottom: 1px solid var(--fg);
  font-family: var(--body);
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.35;
  text-align: center;
}

.recit__body img {
  display: block;
  width: 100%;
  height: auto;
  margin: 2em 0;
}

.recit__body ul,
.recit__body ol {
  padding-left: 1.2em;
}

.recit__pieces {
  max-width: 1100px;
  margin: 80px auto 0;
  display: grid;
  gap: 20px;
}

.recit__nav {
  max-width: 1100px;
  margin: 80px auto 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: start;
  padding-top: 24px;
  border-top: 1px solid var(--fg);
}

.recit__nav a {
  display: grid;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}

.recit__nav a:last-child { text-align: right; }

.recit__nav a span:last-child {
  font-family: var(--head);
  font-style: normal;
  font-size: 22px;
  line-height: 1;
}

.recit__nav .recit__toc {
  align-self: center;
  font-family: var(--ui);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 6px;
}

@media (max-width: 800px) {
  .recit { padding-top: 88px; }
  .recit__body { font-size: 17px; }
  .recit__body > p:first-child::first-letter { font-size: 72px; }
  .recit__nav { grid-template-columns: 1fr 1fr; }
  .recit__nav .recit__toc { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}

/* rangée immobile (moins de 6 pièces) : les cases se partagent toute la largeur, bord à bord */
.drop__track--still {
  width: 100%;
  animation: none;
}

.drop__track--still .drop__card {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
}

/* sur téléphone, 2 cases et demie : on fait glisser la rangée au doigt */
@media (max-width: 800px) {
  .drop__viewport:has(.drop__track--still) {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .drop__viewport:has(.drop__track--still)::-webkit-scrollbar { display: none; }
  .drop__track--still { width: max-content; }
  .drop__track--still .drop__card {
    flex: 0 0 auto;
    width: calc((100vw - 2px) / 2.5);
    scroll-snap-align: start;
  }
}

/* ---------- Questions fréquentes ---------- */

.faq {
  max-width: 860px;
  margin: 0 auto;
  padding: 120px var(--gutter) 120px;
}

.faq__head {
  display: grid;
  gap: 16px;
  margin-bottom: 56px;
}

.faq__title {
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.92;
}

.faq__lede {
  max-width: 56ch;
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg-soft);
}

.faq__lede a { text-decoration: underline; text-underline-offset: 4px; }

.faq__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.faq__nav a {
  padding: 8px 14px;
  border: 1px solid var(--line);
  font-family: var(--ui);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.2s;
}

.faq__nav a:hover { border-color: var(--fg); }

.faq__section {
  scroll-margin-top: 120px;
}

.faq__section + .faq__section { margin-top: 56px; }

.faq__section-title {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--fg);
  font-size: clamp(30px, 4vw, 40px);
  font-style: normal;
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  position: relative;
  padding: 22px 48px 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--ui);
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.45;
}

.faq__item summary::-webkit-details-marker { display: none; }

/* le + devient − à l'ouverture */
.faq__item summary::before,
.faq__item summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s;
}

.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0deg); }

.faq__item summary:focus-visible {
  outline: 1px solid var(--fg);
  outline-offset: 4px;
}

.faq__answer {
  padding: 0 48px 24px 0;
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--fg-soft);
}

.faq__answer a { text-decoration: underline; text-underline-offset: 4px; color: var(--fg); }

@media (max-width: 800px) {
  .faq { padding-top: 88px; padding-bottom: 80px; }
  .faq__item summary { font-size: 16px; padding-right: 36px; }
  .faq__answer { padding-right: 0; font-size: 15px; }
}

/* ---------- Collection : l'histoire du chapitre, sous les pièces ---------- */

.shop-story {
  max-width: 680px;
  margin: 72px auto 0;
  padding: 0 var(--gutter);
  display: grid;
  gap: 16px;
}

.shop-story p {
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--fg-soft);
}

.shop-story a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Fiche produit : « L'histoire derrière le maillot » (liens vers le Journal) ---------- */

.product-reads {
  max-width: 1100px;
  width: 100%;
  box-sizing: border-box;
  margin: 24px auto 96px;
  padding: 0 var(--gutter);
  display: grid;
  gap: 16px;
}

.product-reads ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--fg);
}

.product-reads li a {
  display: grid;
  gap: 8px;
  height: 100%;
  padding: 18px 18px 18px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.product-reads__title {
  font-family: var(--head);
  font-style: normal;
  font-size: 24px;
  line-height: 1.05;
}

.product-reads li a:hover .product-reads__title { text-decoration: underline; text-underline-offset: 4px; }

.product-seen { margin-bottom: 48px; }

@media (max-width: 800px) {
  .product-reads ul { grid-template-columns: 1fr; }
}

/* ---------- FR / EN dans l'en-tête ---------- */

.lang-switch {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 10px;
  margin-right: 4px;
  font-family: var(--ui);
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
}

.lang-switch:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }

.menu__list small { font-size: 0.5em; letter-spacing: 0.1em; opacity: 0.6; }

/* ---------- Taille épuisée : « Me prévenir » ---------- */

.size--out {
  color: var(--grey);
}

.size--out s {
  text-decoration-thickness: 1px;
}

.size--out[aria-pressed='true'] {
  background: var(--bg);
  border-color: var(--fg);
  color: var(--fg);
}

.notify {
  margin: 4px 0 20px;
  padding: 20px;
  background: #f4f4f4;
  font-family: var(--ui);
  font-style: normal;
}

.notify__title {
  font-family: var(--head);
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.notify__lede {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 300;
  color: var(--fg-soft);
}

.notify__form {
  display: flex;
  margin-top: 14px;
}

.notify__form input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--fg);
  border-right: 0;
  background: var(--bg);
  font: 300 15px var(--ui);
}

.product__info .notify__form .btn {
  width: auto;
  padding: 0 18px;
  height: 48px;
  white-space: nowrap;
}

.notify__msg {
  margin-top: 8px;
  font-size: 13px;
}

.notify__msg:empty {
  display: none;
}

.notify__msg.is-ok {
  font-weight: 500;
}

.notify__also {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 300;
}

.notify__also a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.notify__dot {
  width: 12px;
  height: 12px;
  background: var(--swatch);
  outline: 1px solid var(--line);
}

/* ---------- Tiroir panier : « Complétez le chapitre » ---------- */

.upsell {
  padding: 20px 24px 8px;
}

.upsell .label {
  margin-bottom: 12px;
}

.upsell ul {
  list-style: none;
  display: grid;
  gap: 14px;
}

.upsell__item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: start;
}

.upsell__img {
  display: block;
  background: var(--tile);
}

.upsell__img img {
  display: block;
  width: 100%;
  height: auto;
}

.upsell__info {
  display: grid;
  gap: 2px;
  font-family: var(--ui);
  font-style: normal;
}

.upsell__name {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.upsell__price {
  font-size: 12px;
  font-weight: 300;
  color: var(--fg-soft);
}

.upsell__sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.upsell__sizes button {
  min-width: 44px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  font: 400 11px var(--ui);
  letter-spacing: 0.12em;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.upsell__sizes button:hover {
  border-color: var(--fg);
  background: var(--fg);
  color: var(--bg);
}

/* ---------- Commande : paiement express (Apple Pay, Google Pay) ---------- */

.co__express {
  margin-bottom: 8px;
}

.co__express #express-element {
  min-height: 48px;
}

.co__or {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  font-family: var(--ui);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}

.co__or::before,
.co__or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ---------- Accueil : récit du chapitre, détails, livres, « La Meute » ---------- */

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: var(--bg);
}

.story__img {
  background: var(--tile);
}

.story__img img {
  display: block;
  width: 100%;
  height: auto;
}

.story__text {
  max-width: 520px;
  padding: 64px clamp(24px, 6vw, 96px);
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-soft);
}

.story__text h2 {
  margin: 10px 0 6px;
  font-family: var(--head);
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.95;
  color: var(--fg);
}

.story__text .story__accent {
  margin: 0 0 18px;
  font-family: var(--body);
  font-style: italic;
  font-size: 20px;
  line-height: 1.4;
  color: var(--fg);
}

.story__text p + .story__accent {
  margin-top: 18px;
}

.story__text .btn {
  margin-top: 28px;
}

.story--reverse .story__img {
  order: 2;
}

.story--reverse .story__text {
  justify-self: end;
}

.story__img--wide {
  align-self: stretch;
  display: flex;
  align-items: center;
  background: #efece6; /* même fond que l'image des livres */
}

.details {
  padding: 96px 0 104px;
  background: var(--bg);
}

.details__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.details__item figure {
  background: var(--tile);
}

.details__item img {
  display: block;
  width: 100%;
  height: auto;
}

.details__item figcaption {
  display: grid;
  gap: 2px;
  padding: 14px var(--gutter) 0 12px;
  background: var(--bg);
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  font-size: 13px;
  color: var(--fg-soft);
}

.details__item figcaption strong {
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg);
}

.join {
  padding: clamp(72px, 10vw, 128px) var(--gutter);
  background: var(--fg);
  color: var(--bg);
  text-align: center;
  font-family: var(--ui);
  font-style: normal;
}

.join .label {
  color: #a3a3a3;
}

.join h2 {
  margin: 12px 0 10px;
  font-family: var(--head);
  font-size: clamp(44px, 6vw, 80px);
  line-height: 0.95;
}

.join__text {
  font-weight: 300;
  font-size: 16px;
  color: #d4d4d4;
}

.join__form {
  display: flex;
  max-width: 480px;
  margin: 32px auto 0;
}

.join__form input {
  flex: 1;
  min-width: 0;
  height: 56px;
  padding: 0 18px;
  border: 1px solid var(--bg);
  border-right: 0;
  background: transparent;
  color: var(--bg);
  font: 300 15px var(--ui);
}

.join__form input::placeholder {
  color: #a3a3a3;
}

.join__form .btn {
  height: 56px;
  padding: 0 28px;
  background: var(--bg);
  color: var(--fg);
  border-color: var(--bg);
}

.join__form .btn:hover,
.join__form .btn:focus-visible {
  background: transparent;
  color: var(--bg);
}

.join__msg {
  margin-top: 14px;
  font-size: 14px;
}

.join__msg:empty {
  display: none;
}

.join__note {
  max-width: 480px;
  margin: 18px auto 0;
  font-size: 11px;
  line-height: 1.6;
  color: #8a8a8a;
}

.join__note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 800px) {
  .story {
    grid-template-columns: 1fr;
  }

  .story--reverse .story__img {
    order: 0;
  }

  .story__text,
  .story--reverse .story__text {
    justify-self: start;
    padding: 40px var(--gutter) 64px;
  }

  .details {
    padding: 64px 0 72px;
  }

  /* téléphone : les détails se balaient du doigt */
  .details__list {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-right: var(--gutter);
  }

  .details__list::-webkit-scrollbar {
    display: none;
  }

  .details__item {
    flex: 0 0 75vw;
    scroll-snap-align: start;
  }
}

/* ---------- Finitions : lecture, zones tactiles, alignements ---------- */

/* les longs textes en lettres droites : l'italique reste pour les accroches */
.product__desc,
.about__body {
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
  line-height: 1.75;
}

.product__desc {
  font-size: 15px;
}

.about__body {
  font-size: clamp(16px, 1.4vw, 18px);
}

/* pastilles de couleur : 36 px visibles, 44 px sous le doigt */
.swatch {
  width: 36px;
  height: 36px;
  position: relative;
}

.swatch::after {
  content: '';
  position: absolute;
  inset: -4px;
}

.colors__list {
  gap: 14px;
}

/* petits liens de la fiche : zone de toucher plus haute, sans changer la mise en page */
.size-guide-link,
.product__returns a {
  display: inline-block;
  padding: 12px 0;
  margin: -12px 0;
}

.nav .icon-btn,
.nav__toggle {
  min-width: 44px;
  min-height: 44px;
}

.size {
  min-height: 48px;
}

/* commande sur téléphone : retour à gauche, LMTE bien au centre, cadenas à droite */
@media (max-width: 800px) {
  .co-top {
    grid-template-columns: 1fr auto 1fr;
  }

  .co-top .nav__brand {
    justify-self: center;
  }
}

/* collection : de l'air avant le pied de page */
.shop-story {
  padding-bottom: 120px;
}

/* fiche : les récits alignés par le haut */
.product-reads ul {
  align-items: start;
}

/* accueil : bloc « Chapitre 01 » sans image, aligné sur le titre de la rangée de pièces */
.story--text {
  display: block;
}

.story--text .story__text,
.story--text .story__text:only-child {
  max-width: 680px;
  padding: 24px var(--gutter) 104px;
}

/* ---------- Logo LMTE (un seul fichier, couleur du texte autour : blanc sur photo, noir ailleurs) ---------- */

.logo {
  display: block;
  aspect-ratio: 3208 / 586;
  background: currentColor;
  -webkit-mask: url(/img/lmte-logo.svg) center / contain no-repeat;
  mask: url(/img/lmte-logo.svg) center / contain no-repeat;
}

.nav__brand .logo {
  height: 22px;
}

.footer__logo .logo {
  height: 40px;
}

.hero__title {
  line-height: 0;
}

.hero__title .logo {
  width: clamp(260px, 56vw, 760px);
  margin: 0 auto;
}

@media (max-width: 800px) {
  .nav__brand .logo {
    height: 17px;
  }

  .footer__logo .logo {
    height: 30px;
  }
}

/* ---------- Accroches : « mélange » (octobre 2026) ----------
   Texte courant en lettres droites ; phrases courtes dans la police des titres (version sport) ;
   l'italique ne reste que pour les titres de livres et les citations des récits. */

body {
  font-family: var(--ui);
  font-style: normal;
  font-weight: 300;
}

/* phrases courtes : capitales, comme le logo et les numéros de maillot */
.product__tagline,
.story__text .story__accent,
.shop-head__lede {
  font-family: var(--head);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--fg);
}

.product__tagline {
  font-size: 28px;
}

.story__text .story__accent {
  font-size: 30px;
}

.shop-head__lede {
  font-size: 24px;
}

/* textes longs : lettres droites, lisibles */
.journal__lede,
.recit__lede,
.toc__excerpt,
.faq__lede,
.shop-note {
  font-family: var(--ui);
  font-style: normal;
  font-weight: 400;
}

/* titres de livres et citations dans les récits : l'italique reste */
.recit__body em,
.recit__body blockquote {
  font-family: var(--body);
  font-style: italic;
}

@media (max-width: 800px) {
  .product__tagline { font-size: 24px; }
  .story__text .story__accent { font-size: 26px; }
}

/* petit logo (menu, pied de page, commande) : sans le ®, illisible à cette taille */
.nav__brand .logo,
.footer__logo .logo {
  -webkit-mask-image: url(/img/lmte-logo-small.svg);
  mask-image: url(/img/lmte-logo-small.svg);
}
