/* =========================================================================
   Claradress — maison de robes
   Typographie éditoriale : Bodoni Moda (display) + Jost (texte)
   Architecture : header / slideshow / featured-collections / circle-menu /
   collection-list / image-with-text / blog-posts / text-with-icons / wave / footer
   ========================================================================= */

:root {
  /* --- typographie ------------------------------------------------------ */
  --font-display: 'Bodoni Moda', 'Times New Roman', serif;
  --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  /* échelle éditoriale */
  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: clamp(1.35rem, 1.6vw, 1.6rem);
  --step-3: clamp(1.7rem, 2.6vw, 2.4rem);
  --step-4: clamp(2.1rem, 4vw, 3.4rem);
  --step-5: clamp(2.6rem, 6vw, 4.8rem);

  /* --- couleur ---------------------------------------------------------- */
  --ink: 12 12 13;
  --paper: 255 255 255;
  --muted: #63636a;
  --faint: #6f6f77;
  --line: #e5e5e7;
  --line-strong: #ceced2;
  --surface: #f3f3f4;
  --sale: #9d2b25;
  --gold: #a8843c;        /* accent « Luxury Premium » (noir / or / blanc) */

  --radius: 2px;
  --radius-lg: 6px;

  --container: 1520px;
  --gutter: clamp(18px, 4.5vw, 68px);
  --section-space: clamp(56px, 8vw, 60px);

  --header-h: 78px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--step-0);
  line-height: 1.72;
  letter-spacing: 0;
  color: rgb(var(--ink));
  background: rgb(var(--paper));
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
[hidden] { display: none !important; }
img, svg, iframe { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.26;
  margin: 0 0 0.55em;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); line-height: 1.16; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.35; }
h4 { font-size: var(--step-1); line-height: 1.4; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.86em; background: var(--surface); padding: 2px 6px; border-radius: 3px; }
::selection { background: rgb(var(--ink)); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 999; background: rgb(var(--ink)); color: #fff; padding: 10px 16px; }

/* ------------------------------------------------------------------ boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 16px 34px; border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 400; font-size: 11.5px; letter-spacing: 0.18em;
  text-transform: uppercase; cursor: pointer; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn--dark { background: rgb(var(--ink)); color: #fff; border-color: rgb(var(--ink)); }
.btn--dark:hover { background: #33333a; border-color: #33333a; }
.btn--light { background: #fff; color: rgb(var(--ink)); border-color: #fff; }
.btn--light:hover { background: transparent; color: #fff; border-color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.62); }
.btn--ghost-light:hover { background: #fff; color: rgb(var(--ink)); border-color: #fff; }
.btn--outline { background: transparent; border-color: var(--line-strong); color: rgb(var(--ink)); }
.btn--outline:hover { background: rgb(var(--ink)); border-color: rgb(var(--ink)); color: #fff; }
.btn--full { width: 100%; }
/* état désactivé : on garde un contraste lisible plutôt que de baisser l'opacité */
.btn[disabled],
.btn--dark[disabled],
.btn--light[disabled],
.btn--outline[disabled],
.btn--ghost-light[disabled] {
  background: #dcdce0; color: #46464e; border-color: #dcdce0; opacity: 1; cursor: not-allowed;
}
.link-underline {
  background: none; border: 0; padding: 0; font-size: 13px; letter-spacing: 0.01em;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; cursor: pointer;
}
.link-underline:hover { color: var(--muted); }

/* ------------------------------------------------------------------- header */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgb(var(--ink)); color: #fff;
  transition: box-shadow .3s var(--ease);
}
.header.is-scrolled { box-shadow: 0 1px 0 rgba(255,255,255,.12), 0 10px 30px -18px rgba(0,0,0,.7); }
.header__bar {
  position: relative;
  display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto;
  /* les zones nommées doivent exister à toutes les tailles, sinon le logo et
     les icônes se retrouvent empilés au même endroit */
  grid-template-areas: 'burger lang logo icons';
  gap: 16px; min-height: var(--header-h);
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
}
.header__burger { grid-area: burger; display: block; justify-self: start; background: none; border: 0; cursor: pointer; padding: 8px; }
.header__burger span { display: block; width: 22px; height: 1px; background: #fff; margin: 5px 0; }
/* Navigation : dans le tiroir sur mobile, sur sa propre ligne centrée sur PC */
.header__nav { display: none; }
.nav-item { position: relative; }
.nav-item--mega { position: static; }
.nav-item__link {
  display: inline-block; padding: 14px 0; font-size: 11.5px; font-weight: 400;
  letter-spacing: 0.145em; text-transform: uppercase; position: relative; white-space: nowrap;
}
.nav-item__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-item:hover .nav-item__link::after, .nav-item__link[aria-current]::after { transform: scaleX(1); }
.header__logo { grid-area: logo; text-align: center; }
.header__logo-text {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(15px, 1.5vw, 20px);
  letter-spacing: 0.24em; text-transform: uppercase; white-space: nowrap;
}
.header__icons { grid-area: icons; display: flex; justify-self: end; align-items: center; gap: 4px; }
/* Sur PC : logo centré sur toute la largeur, navigation en dessous, mêmes marges à gauche qu'à droite */
@media (min-width: 1000px) {
  :root { --header-h: 116px; }
  .header__bar {
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
    grid-template-areas: 'lang logo icons' 'nav nav nav';
    gap: 0; min-height: 0;
  }
  .header__burger { display: none; }
  .lang-switch { justify-self: start; margin: 0; padding: 0; }
  .header__nav {
    grid-area: nav; display: flex; justify-content: center;
    gap: clamp(18px, 2vw, 40px);
    border-top: 1px solid rgba(255,255,255,.12);
  }
  .header__bar > .header__logo { padding: 14px 0; }
  .header__icons { padding: 8px 0; }
}
.icon-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; color: #fff; }
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn:hover { opacity: .66; }
/* Sélecteur de langue : à gauche de l'en-tête sur PC, dans la barre sur mobile */
.lang-switch { grid-area: lang; display: flex; align-items: center; justify-self: start; }
.lang-switch a {
  padding: 6px 7px; font-size: 11.5px; line-height: 1; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,.58); transition: color .25s var(--ease);
}
.lang-switch a + a { border-left: 1px solid rgba(255,255,255,.22); }
.lang-switch a:hover { color: #fff; }
.lang-switch a.is-active { color: #fff; }
.cart-count {
  position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 4px;
  background: #fff; color: rgb(var(--ink)); border-radius: 999px; font-size: 11px; font-weight: 500;
  display: grid; place-items: center; line-height: 1;
}
/* ---------------------------------------------------- favoris (en-tête) */
.likes-count { background: #fff; }
/* page « Mes favoris » : même gabarit qu'une collection, sans pagination */
.wishlist__count { padding: 24px 0 0; }
.wishlist__empty { text-align: center; }
.wishlist__cta { margin: 22px 0 0; }
.wishlist__suggestions { padding-bottom: var(--section-space); }
.wishlist__suggestions .section__header { margin-bottom: clamp(28px, 4vw, 52px); }
/* pastille de comptage reprise dans le menu mobile */
.drawer__badge {
  display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 999px;
  background: rgb(var(--ink)); color: #fff; font-size: 11px; letter-spacing: .04em;
}

/* ------------------------------------------------------------------ mega menu */
/* display:none -> aucun texte ne reste bloqué en opacité 0 au repos */
.mega {
  position: absolute; top: 100%; left: 0; right: 0;
  background: rgb(var(--paper)); color: rgb(var(--ink));
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.45);
  display: none;
  /* filet de sécurité : un mega très fourni ne dépasse jamais l'écran */
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.nav-item--mega:hover .mega, .nav-item--mega:focus-within .mega { display: block; animation: megaIn .28s var(--ease); }
@keyframes megaIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
/* colonnes côte à côte (flex, et non auto-fit : plus de colonnes empilées) */
.mega__inner {
  display: flex; align-items: flex-start; flex-wrap: nowrap;
  gap: clamp(22px, 2.6vw, 52px);
  padding: clamp(26px, 3vw, 40px) var(--gutter) clamp(28px, 3.2vw, 44px);
  max-width: var(--container); margin: 0 auto;
}
.mega__col { flex: 1 1 0; min-width: 0; }
.mega__title {
  font-family: var(--font-display); font-size: 13px; font-weight: 500; letter-spacing: 0.045em;
  margin: 0 0 14px; padding-bottom: 9px; border-bottom: 1px solid var(--line);
}
.mega__list { list-style: none; margin: 0; padding: 0; line-height: 1.35; }
.mega__list li { margin-bottom: 6px; line-height: 1.35; }
.mega__list a { font-size: 13px; line-height: 1.35; color: #3d3d42; }
.mega__list a:hover { color: rgb(var(--ink)); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.mega__media { flex: 0 0 auto; display: flex; gap: 14px; align-items: flex-start; }
/* visuels 9:16, format « éditorial » du mega menu */
.mega__media-item { position: relative; width: clamp(132px, 11vw, 190px); }
.mega__media-item img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 9 / 16; object-fit: cover; background: var(--surface);
}
.mega__media-item span {
  position: absolute; left: 10px; bottom: 10px; right: 10px; color: #fff; font-size: 12px;
  font-family: var(--font-display); letter-spacing: .02em;
}
/* menus à une seule colonne de liens : sans cela la colonne s'étire sur toute
   la largeur et laisse un grand vide entre la liste et les visuels */
.mega__inner:has(.mega__media) .mega__col { flex: 0 1 auto; }
.mega__inner:has(.mega__media) .mega__media { flex: 0 1 auto; }
/* entre 1000 et 1200px : mêmes colonnes, simplement plus resserrées */
@media (max-width: 1199px) {
  .mega__inner { gap: 22px; }
  .mega__list a { font-size: 12.5px; }
}

/* --------------------------------------------------------------- mobile nav */
.drawer { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.drawer.is-open { pointer-events: auto; }
.drawer__panel {
  position: absolute; inset: 0 auto 0 0; width: min(380px, 88vw); background: rgb(var(--paper));
  transform: translateX(-102%); transition: transform .38s var(--ease); overflow-y: auto;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__overlay {
  position: absolute; inset: 0; background: rgba(12,12,13,.42); border: 0;
  opacity: 0; transition: opacity .38s var(--ease); cursor: pointer;
}
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer__head {
  display: flex; justify-content: space-between; align-items: center; padding: 20px 22px;
  border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 13px; letter-spacing: .08em;
}
.drawer__close { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; }
.drawer__group { border-bottom: 1px solid var(--line); padding: 2px 22px; }
.drawer__group summary { padding: 16px 0; cursor: pointer; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; list-style: none; }
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer__group ul { padding: 0 0 16px 2px; }
.drawer__group li { padding: 7px 0; font-size: 15px; color: #3d3d42; }
.drawer__simple { display: block; padding: 17px 22px; border-bottom: 1px solid var(--line); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; }

/* ----------------------------------------------------------------- slideshow */
.slideshow { position: relative; overflow: hidden; background: rgb(var(--ink)); }
.slideshow__track { position: relative; height: clamp(460px, 74vh, 820px); }
.slideshow__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s; }
.slideshow__slide.is-active { opacity: 1; visibility: visible; }
.slideshow__slide.is-active .slideshow__image { animation: slowZoom 9s var(--ease) forwards; }
@keyframes slowZoom { from { transform: scale(1.045); } to { transform: scale(1); } }
.slideshow__image { width: 100%; height: 100%; object-fit: cover; }
.slideshow__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.24), rgba(0,0,0,.1) 40%, rgba(0,0,0,.42)); }
.slideshow__content {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; color: #fff; gap: 4px;
}
.slideshow__heading {
  font-size: var(--step-5); font-weight: 400; margin: 0; max-width: 24ch;
  letter-spacing: -0.02em; text-shadow: 0 2px 40px rgba(0,0,0,.34);
}
.slideshow__sub { font-size: var(--step-1); max-width: 54ch; opacity: .94; }
.slideshow__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }
.slideshow__dots { position: absolute; left: 0; right: 0; bottom: 26px; display: flex; gap: 10px; justify-content: center; }
.slideshow__dots button { width: 26px; height: 2px; border: 0; background: rgba(255,255,255,.42); cursor: pointer; padding: 0; transition: background .3s var(--ease); }
.slideshow__dots button.is-active { background: #fff; }
.slideshow__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: rgb(var(--ink));
  font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.slideshow__nav:hover { background: rgb(var(--ink)); color: #fff; }
.slideshow__nav--prev { left: 22px; }
.slideshow__nav--next { right: 22px; }

/* ------------------------------------------------------------ sections */
.section { padding: var(--section-space) 0; }
.section--flush { padding: 0; }
.section__header { max-width: 860px; margin: 0 auto clamp(44px, 7vw, 104px); padding-inline: var(--gutter); text-align: center; }
.section__title { margin: 0; }
/* sous-titre éditorial placé SOUS le titre (jamais un kicker au-dessus) */
.section__eyebrow {
  font-size: var(--step--1); letter-spacing: 0.02em; color: var(--muted);
  margin: 14px auto 0; max-width: 56ch; font-weight: 400; text-transform: none;
}
.section__link {
  display: inline-block; margin-top: 18px; font-size: var(--step--1); color: var(--muted);
  border-bottom: 1px solid var(--line-strong); padding-bottom: 3px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.section__link:hover { color: rgb(var(--ink)); border-color: rgb(var(--ink)); }

/* ------------------------------------------------------------------- grille */
.grid { display: grid; gap: clamp(16px, 1.7vw, 30px); }
.grid--products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 741px) { .grid--products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .grid--products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid--articles, .grid--articles-3 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* carrousel éditorial (sections « featured collections » de la home) */
[data-carousel] { position: relative; }
.carousel { padding-inline: 0; }
.grid--rail {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: 68%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px var(--gutter) 10px;
  scroll-padding-inline: var(--gutter);
}
.grid--rail::-webkit-scrollbar { display: none; }
.grid--rail { cursor: grab; }
.grid--rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.grid--rail > * { scroll-snap-align: start; }
/* sur PC (souris), on retire le magnétisme : le glissement devient aussi fluide
   que le menu circulaire au lieu de « sauter » d'une carte à l'autre */
@media (hover: hover) and (pointer: fine) {
  .grid--rail { scroll-snap-type: none; }
}
@media (min-width: 741px) { .grid--rail { grid-auto-columns: 32%; } }
@media (min-width: 1000px) { .grid--rail { grid-auto-columns: 24%; } }
.carousel-nav {
  position: absolute; top: 36%; z-index: 5; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: rgb(var(--ink)); color: #fff; cursor: pointer;
  display: grid; place-items: center; font-size: 18px; line-height: 1;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.carousel-nav:hover { background: #33333a; transform: scale(1.06); }
.carousel-nav--prev { left: 10px; }
.carousel-nav--next { right: 10px; }
@media (max-width: 999px) { .carousel-nav { display: none; } }

/* ------------------------------------------------------------- carte produit */
.product-card { position: relative; display: flex; flex-direction: column; }
.product-card__media { position: relative; display: block; overflow: hidden; background: var(--surface); }
.product-card__media-link { display: block; }
.product-card__img {
  display: block; width: 100%; aspect-ratio: 3 / 4.25; object-fit: cover;
  transition: transform 1.1s var(--ease), opacity .45s var(--ease);
}
/* 2e visuel : apparait au survol en fondu rapide, par-dessus l'image principale */
.product-card__img--hover { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .product-card__img { transform: scale(1.04); }
.product-card:hover .product-card__img--hover { opacity: 1; }
/* une pastille couleur choisie fige l'image : le survol ne reprend plus la main */
.product-card__media.is-pinned .product-card__img--hover { opacity: 0; }
.product-card__img.is-fading { opacity: .35; }
#gallery-main { transition: opacity .35s var(--ease); }
#gallery-main.is-fading { opacity: .35; }
.product-card__badges { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.product-card__badge {
  background: rgb(var(--ink)); color: #fff;
  font-size: 11px; letter-spacing: 0.1em; padding: 6px 10px;
}
.product-card__badge--sold { background: var(--muted); }
/* favori : stocké dans le navigateur, jamais envoyé au serveur */
.product-card__like {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 34px; height: 34px; display: grid; place-items: center;
  background: rgba(255,255,255,.92); border: 1px solid rgba(12,12,13,.06); border-radius: 50%;
  color: rgb(var(--ink)); cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.product-card__like svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.product-card__like:hover { transform: scale(1.09); }
.product-card__like.is-liked { background: var(--sale); border-color: var(--sale); color: #fff; }
.product-card__like.is-liked svg { fill: currentColor; }
.product-card__body { padding: 15px 0 0; }
.product-card__title {
  font-family: var(--font-body); font-weight: 400; font-size: 14px; line-height: 1.5;
  letter-spacing: 0.01em; margin: 0 0 6px;
}
.product-card__title a { border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.product-card__title a:hover { border-color: var(--line-strong); }
.product-card__price { margin: 0; display: flex; align-items: baseline; gap: 9px; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.price--sale { color: var(--sale); font-weight: 500; }
.price--compare { color: var(--faint); font-size: 12.5px; }
.product-card__variants { color: var(--faint); font-size: 11.5px; letter-spacing: .04em; }
/* pastilles couleur : carrés sans contour, la couleur choisie est encadrée d'un
   filet noir détaché par un liseré blanc (rendu nuancier) */
.product-card__swatches { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 10px 0 0; padding: 0; }
.swatch {
  display: block; width: 17px; height: 17px; padding: 0;
  background: var(--swatch-color, #d8d8dc);
  border: 0; border-radius: 0;
  cursor: pointer; position: relative;
  transition: box-shadow .22s var(--ease);
}
.swatch.is-active { box-shadow: 0 0 0 2px rgb(var(--paper)), 0 0 0 4px rgb(var(--ink)); }
.swatch:hover { box-shadow: 0 0 0 1px rgba(12,12,13,.3); }
.swatch.is-active:hover { box-shadow: 0 0 0 2px rgb(var(--paper)), 0 0 0 4px rgb(var(--ink)); }
.swatch--static { cursor: default; }
.swatch--static:hover { box-shadow: none; }
.product-card__quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; padding: 13px 12px; font-size: 11px;
  opacity: 0; transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .3s var(--ease);
}
.product-card:hover .product-card__quick, .product-card:focus-within .product-card__quick { opacity: 1; transform: none; }
@media (hover: none) { .product-card__quick { opacity: 1; transform: none; } }

/* ---------------------------------------------------------- menu circulaire */
.circle-menu__scroller { overflow-x: auto; scrollbar-width: none; cursor: grab; }
.circle-menu__scroller::-webkit-scrollbar { display: none; }
.circle-menu__scroller.is-dragging { cursor: grabbing; }
/* « safe center » : centré quand tout tient, mais aligné à gauche dès que ça
   déborde — sinon les premiers cercles étaient inaccessibles sur téléphone */
.circle-menu__list { display: flex; flex-wrap: nowrap; gap: clamp(18px, 2.6vw, 40px); justify-content: safe center; padding-bottom: 6px; }
.circle-menu__item { flex: 0 0 auto; width: clamp(100px, 12vw, 156px); text-align: center; }
.circle-menu__media { display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--surface); }
.circle-menu__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.circle-menu__item:hover .circle-menu__media img { transform: scale(1.07); }
.circle-menu__label { display: block; margin-top: 15px; font-size: 12.5px; line-height: 1.45; letter-spacing: 0.03em; }

/* ------------------------------------------------------- vignettes collection */
.collection-list__grid { display: grid; gap: clamp(12px, 1.3vw, 22px); grid-template-columns: repeat(2, 1fr); }
.collection-tile { position: relative; display: block; overflow: hidden; background: var(--surface); min-height: clamp(250px, 38vw, 540px); }
.collection-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.collection-tile:hover img { transform: scale(1.04); }
.collection-tile--wide { grid-column: span 2; }
.collection-tile__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.52), rgba(0,0,0,.04) 62%); }
.collection-tile__content { position: absolute; left: clamp(20px, 2.4vw, 38px); bottom: clamp(20px, 2.4vw, 38px); color: #fff; }
.collection-tile__label { display: block; font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 2rem); font-weight: 400; letter-spacing: -0.01em; }
.collection-tile__cta {
  display: inline-block; margin-top: 10px; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.62); padding-bottom: 4px;
}
@media (min-width: 741px) {
  .collection-list__grid { grid-template-columns: 1.6fr 1fr; grid-auto-rows: minmax(clamp(160px, 17vw, 270px), auto); }
  .collection-tile--wide { grid-row: span 2; grid-column: span 1; }
}

/* -------------------------------------------------------- image + texte */
.image-with-text { position: relative; }
.image-with-text__media img { width: 100%; height: clamp(340px, 56vw, 660px); object-fit: cover; }
.image-with-text__content { position: absolute; inset: 0; display: grid; place-items: center; padding: var(--gutter); }
.image-with-text__card {
  background: rgb(var(--paper)); padding: clamp(30px, 4.4vw, 62px); text-align: center;
  max-width: 580px; box-shadow: 0 40px 90px -50px rgba(0,0,0,.55);
}
.image-with-text__card .section__title { margin-bottom: 0.9em; }
.image-with-text__card .btn { margin-top: 6px; }

/* ------------------------------------------------------------- blog / revue */
.blog-posts .article-card__title { font-family: var(--font-display); font-weight: 500; font-size: var(--step-1); line-height: 1.32; }
.article-card { display: flex; flex-direction: column; }
.article-card__media { display: block; overflow: hidden; background: var(--surface); }
.article-card__media img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--ease); }
.article-card:hover .article-card__media img { transform: scale(1.04); }
.article-card__meta { font-size: 11.5px; letter-spacing: 0.1em; color: var(--faint); margin: 16px 0 7px; }
.article-card__title { font-size: var(--step-1); margin: 0 0 8px; line-height: 1.34; }
.article-card__title a { border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.article-card__title a:hover { border-color: var(--line-strong); }
.article-card__excerpt { font-size: 14px; color: var(--muted); margin: 0; max-width: 46ch; }

/* -------------------------------------------------------- texte + pictos */
.text-with-icons { padding: clamp(38px, 4.6vw, 64px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* minmax(0, 1fr) : le titre en capitales très espacées a un min-content plus large
   que la colonne, ce qui faisait déborder la page de quelques pixels sur téléphone */
.text-with-icons__list { display: grid; gap: 26px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.text-with-icons__item { display: flex; gap: 15px; align-items: flex-start; min-width: 0; }
.text-with-icons__icon { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 3px; color: var(--muted); }
.text-with-icons__icon svg { width: 22px; height: 22px; }
.text-with-icons__title { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 4px; overflow-wrap: anywhere; }
.text-with-icons__text { font-size: 13.5px; color: var(--muted); margin: 0; max-width: 30ch; overflow-wrap: anywhere; }
@media (min-width: 1000px) { .text-with-icons__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.wave-divider { line-height: 0; margin-top: -1px; }
.wave-divider svg { display: block; width: 100%; height: clamp(40px, 6vw, 96px); }

/* ------------------------------------------------------------------ footer */
.footer { background: rgb(var(--ink)); color: #fff; padding: clamp(56px, 7vw, 104px) 0 30px; }
.footer a { color: rgba(255,255,255,.76); }
.footer a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.footer__inner { display: grid; gap: clamp(30px, 3.4vw, 54px); grid-template-columns: 1fr; }
@media (min-width: 741px) { .footer__inner { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer__inner { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }
.footer__title {
  font-family: var(--font-display); font-size: 14px; font-weight: 500; letter-spacing: .04em;
  margin: 0 0 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(168, 132, 60, .45);
}
.footer__title--spaced { margin-top: 30px; }
.footer__links li { margin-bottom: 11px; font-size: 14px; }
.footer__text { font-size: 14px; color: rgba(255,255,255,.7); margin: 0 0 16px; max-width: 34ch; line-height: 1.72; }
.footer__meta { font-size: 13.5px; color: rgba(255,255,255,.6); margin: 0 0 12px; max-width: 36ch; line-height: 1.8; }
.footer__socials { display: flex; flex-wrap: wrap; gap: 10px; }
.footer__socials a { font-size: 12px; border: 1px solid rgba(255,255,255,.24); padding: 8px 16px; letter-spacing: .04em; transition: border-color .3s var(--ease), color .3s var(--ease); }
.footer__socials a:hover { border-color: #fff; text-decoration: none; }
.footer__aside {
  margin-top: clamp(42px, 5vw, 72px); padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center;
}
.footer__copy { font-size: 12px; color: rgba(255,255,255,.5); margin: 0; max-width: 62ch; }
.footer__copy code { background: rgba(255,255,255,.1); color: #fff; }

/* -------------------------------------------------------------------- toast */
.cart-toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 80;
  background: rgb(var(--ink)); color: #fff; padding: 16px 24px;
  display: flex; gap: 20px; align-items: center; font-size: 13.5px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.7);
}
.cart-toast a { text-decoration: underline; text-underline-offset: 4px; }
body.has-cookie-banner .cart-toast { bottom: 132px; }

/* ------------------------------------------------------------------ cookies */
.cookie-banner {
  position: fixed; left: var(--gutter); bottom: 26px; z-index: 90;
  width: min(420px, calc(100vw - 2 * var(--gutter)));
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 26px 64px -30px rgba(0,0,0,.5);
  padding: 20px 22px 18px; display: grid; gap: 14px;
  font-size: 13px; line-height: 1.55; color: var(--muted);
  opacity: 0; transform: translateY(14px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.cookie-banner.is-visible { opacity: 1; transform: none; }
.cookie-banner[hidden] { display: none; }
.cookie-banner__title { margin: 0 0 6px; font-family: var(--font-display); font-size: 1.05rem; font-weight: 400; letter-spacing: .01em; color: rgb(var(--ink)); }
.cookie-banner__text { margin: 0; }
.cookie-banner__text a { color: rgb(var(--ink)); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__actions { display: flex; gap: 10px; justify-content: flex-end; }
.cookie-banner .btn { padding: 11px 20px; font-size: 11.5px; letter-spacing: .08em; }
@media (max-width: 560px) {
  .cookie-banner { left: 0; right: 0; bottom: 0; width: 100%; border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0; padding: 16px var(--gutter) 18px; }
  .cookie-banner__actions { justify-content: stretch; }
  .cookie-banner .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: none; }
}

/* -------------------------------------------------------------- breadcrumb */
.breadcrumb { font-size: 11.5px; letter-spacing: .045em; color: var(--faint); padding: 22px 0; display: flex; gap: 9px; flex-wrap: wrap; }
.breadcrumb a:hover { color: rgb(var(--ink)); }
/* le fil d'ariane de la fiche produit porte aussi .container : sans ce rappel,
   son padding « 22px 0 » écrasait la gouttière et le texte collait le bord de
   l'écran sur téléphone */
.breadcrumb.container { padding-inline: var(--gutter); }
@media (max-width: 767px) { .breadcrumb.container { padding-left: calc(var(--gutter) + 4px); } }

/* --------------------------------------------------------- page produit */
.product-page .main-product { display: grid; gap: clamp(30px, 4.5vw, 76px); grid-template-columns: 1fr; padding-bottom: var(--section-space); }
/* minmax(0, …) : sans ça, la largeur intrinsèque du sélecteur de variantes
   élargit la colonne et fait déborder la page sur les écrans intermédiaires */
@media (min-width: 1000px) { .product-page .main-product { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.main-product__info { min-width: 0; }
.main-product__gallery { min-width: 0; }
.main-product__frame { position: relative; margin: 0; background: var(--surface); overflow: hidden; }
.main-product__frame img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
/* la remise flotte sur l'image (sinon elle ajoute une ligne et décale la grille) */
.main-product__frame .product-card__badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
/* points du slider téléphone : masqués tant qu'on n'est pas sur un écran étroit */
.main-product__dots { display: none; }
/* téléphone : slider horizontal + points (plus de vignettes à cliquer) */
@media (max-width: 999px) {
  .main-product__frames { display: flex; flex-wrap: nowrap; gap: 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .main-product__frames::-webkit-scrollbar { display: none; }
  .main-product__frame { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; }
  .main-product__dots { display: flex; justify-content: center; gap: 9px; margin-top: 14px; }
  .main-product__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--line-strong); cursor: pointer; transition: background .25s var(--ease), transform .25s var(--ease); }
  .main-product__dots button.is-active { background: rgb(var(--ink)); transform: scale(1.2); }
}
/* PC : galerie 2 par 2, séparés par un tout petit espace blanc */
@media (min-width: 1000px) {
  .main-product__frames { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .main-product__frames:not(.is-multi) { grid-template-columns: minmax(0, 1fr); }
  .main-product__frame { margin: 0; }
  .main-product__dots { display: none; }
}
.main-product__title { font-size: var(--step-4); margin: 0 0 14px; }
.main-product__rating { display: flex; gap: 10px; align-items: center; margin-bottom: 20px; font-size: 12.5px; color: var(--muted); letter-spacing: .045em; }
.stars { color: var(--gold); letter-spacing: 3px; font-size: 12px; }
.main-product__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.price--big { font-family: var(--font-display); font-size: var(--step-3); font-weight: 500; font-variant-numeric: tabular-nums; }
.badge-sale { background: var(--sale); color: #fff; font-size: 11px; letter-spacing: .1em; padding: 4px 9px; }
.product-form { display: grid; gap: 26px; margin-bottom: 26px; }
.product-form__label { display: flex; justify-content: space-between; align-items: baseline; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.product-form__guide { background: none; border: 0; padding: 0; font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; text-transform: none; letter-spacing: 0; }
.product-form__values { display: flex; flex-wrap: wrap; gap: 10px; }
/* options de couleur : mêmes carrés que les cartes produit */
.product-form__values--colors { gap: 9px; padding: 4px 0; }
.product-form__value-name { font-style: normal; letter-spacing: 0; text-transform: none; color: var(--muted); }
.swatch-option { position: relative; display: block; cursor: pointer; }
.swatch-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch-option__dot {
  display: block; width: 21px; height: 21px;
  background: var(--swatch-color, #d8d8dc);
  transition: box-shadow .22s var(--ease);
}
.swatch-option:hover .swatch-option__dot { box-shadow: 0 0 0 1px rgba(12,12,13,.3); }
.swatch-option input:checked + .swatch-option__dot,
.swatch-option input:focus-visible + .swatch-option__dot {
  box-shadow: 0 0 0 2px rgb(var(--paper)), 0 0 0 4px rgb(var(--ink));
}
.swatch-option input:disabled + .swatch-option__dot { opacity: .35; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; min-width: 56px; text-align: center; padding: 12px 16px;
  border: 1px solid var(--line-strong); font-size: 13.5px; letter-spacing: .04em; cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.chip input:checked + span { border-color: rgb(var(--ink)); background: rgb(var(--ink)); color: #fff; }
.chip:hover span { border-color: rgb(var(--ink)); }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line-strong); }
.qty button { border: 0; background: transparent; width: 46px; cursor: pointer; font-size: 16px; transition: background .25s var(--ease); }
.qty button:hover { background: var(--surface); }
.qty input { width: 58px; border: 0; text-align: center; font-size: 14px; -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm button { width: 34px; }
.qty--sm input { width: 44px; }
.product-form__variant { width: 100%; padding: 15px 16px; border: 1px solid var(--line-strong); background: rgb(var(--paper)); font-size: 14px; }
.trust-list { font-size: 13.5px; color: var(--muted); margin: 0 0 26px; }
.trust-list li { padding: 8px 0 8px 24px; position: relative; }
.trust-list li::before { content: ''; position: absolute; left: 0; top: 17px; width: 9px; height: 1px; background: rgb(var(--ink)); }
.trust-list--compact { margin: 16px 0 0; }
.accordion details { border-top: 1px solid var(--line); padding: 17px 0; }
.accordion summary { cursor: pointer; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; list-style: none; }.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; float: right; font-weight: 300; }
.accordion details[open] summary::after { content: '−'; }
.accordion .rte { padding-top: 16px; font-size: 15px; }
.main-product__tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.tag { font-size: 11.5px; letter-spacing: .04em; border: 1px solid var(--line); padding: 6px 13px; color: var(--muted); }
.tag:hover { border-color: rgb(var(--ink)); color: rgb(var(--ink)); }

/* ---------------------------------------------------- guide des tailles (modale) */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.size-guide { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: clamp(14px, 3vw, 40px); }
.size-guide__overlay {
  position: absolute; inset: 0; border: 0; padding: 0; background: rgba(12, 12, 13, .58);
  opacity: 0; transition: opacity .25s var(--ease); cursor: pointer;
}
.size-guide.is-open .size-guide__overlay { opacity: 1; }
.size-guide__panel {
  position: relative; width: min(760px, 100%); max-height: 88vh; overflow-y: auto;
  background: rgb(var(--paper)); padding: clamp(20px, 3vw, 38px);
  opacity: 0; transform: translateY(14px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.size-guide.is-open .size-guide__panel { opacity: 1; transform: none; }
.size-guide__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.size-guide__title { font-size: var(--step-3); margin: 0; }
.size-guide__close { border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
.size-guide__intro { margin: 14px 0 12px; font-size: 14px; color: var(--muted); max-width: 62ch; }
.size-guide__available { margin: 0 0 18px; font-size: 13.5px; color: var(--muted); }
.size-guide__available strong { color: rgb(var(--ink)); font-weight: 500; }
.size-guide__scroll { overflow-x: auto; border: 1px solid var(--line); }
.size-guide__table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.size-guide__table th, .size-guide__table td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.size-guide__table thead th { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.size-guide__table tbody tr:last-child th, .size-guide__table tbody tr:last-child td { border-bottom: 0; }
.size-guide__table tbody tr:hover { background: var(--surface); }
.size-guide__table tbody th { font-weight: 500; }
.size-guide__note { margin: 16px 0 0; font-size: 12.5px; color: var(--faint); max-width: 66ch; }
.size-guide__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.size-guide__help { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }

/* ------------------------------------------------------------------- rte */
.rte { max-width: 72ch; overflow-x: auto; }
.rte h2 { font-size: var(--step-3); margin-top: 1.5em; }
.rte h3 { font-size: var(--step-2); margin-top: 1.5em; }
.rte img { margin: 1.6em 0; }
.rte ul { list-style: disc; padding-left: 24px; margin-bottom: 1em; }
.rte ol { padding-left: 24px; }
.rte table { width: 100%; border-collapse: collapse; margin: 1.6em 0; }
.rte th, .rte td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.rte a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* -------------------------------------------------------------- collection */
.collection-banner { position: relative; background: var(--surface); text-align: center; padding: clamp(30px, 3.4vw, 58px) 0; overflow: hidden; }
.collection-banner--image { color: #fff; padding: clamp(46px, 6.5vw, 96px) 0; }
.collection-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.collection-banner__overlay { position: absolute; inset: 0; background: rgba(12,12,13,.44); }
.collection-banner__content { position: relative; }
.collection-banner .breadcrumb { padding: 0 0 12px; }
.collection-banner--image .breadcrumb { color: rgba(255,255,255,.78); }
.collection-banner--image .breadcrumb a:hover { color: #fff; }
/* titre volontairement plus compact que le h1 global : la bannière ne doit pas
   manger tout l'écran, surtout sur grand écran */
.collection-banner h1 { margin: 0 0 10px; font-size: clamp(1.75rem, 2.9vw, 2.6rem); }
.collection-banner p { max-width: 66ch; margin: 0 auto; font-size: 13.5px; line-height: 1.65; color: var(--muted); }
.collection-banner--image p { color: rgba(255,255,255,.86); }
.collection-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 24px 0; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: clamp(26px, 3vw, 44px); }
.collection-toolbar__count { margin: 0; font-size: 12.5px; letter-spacing: .045em; color: var(--muted); }
.collection-toolbar__sort { display: flex; align-items: center; gap: 14px; font-size: 12.5px; letter-spacing: .045em; }
.collection-toolbar__sort label { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.collection-toolbar__sort select {
  appearance: none; -webkit-appearance: none;
  padding: 12px 42px 12px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background-color: rgb(var(--paper));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' fill='none' stroke='%230c0c0d' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; background-size: 11px;
  font-family: var(--font-body); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: rgb(var(--ink)); cursor: pointer;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.collection-toolbar__sort select:hover { border-color: rgb(var(--ink)); background-color: #fafafa; }
.collection-toolbar__sort select:focus-visible { outline: 2px solid rgb(var(--ink)); outline-offset: 2px; }
.collection-toolbar__sort select option { letter-spacing: .02em; text-transform: none; font-size: 13px; }
.pagination { display: flex; gap: 6px; justify-content: center; padding: 48px 0 40px; flex-wrap: wrap; }
.pagination a { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); font-size: 13px; transition: all .25s var(--ease); }
.pagination a.is-active, .pagination a:hover { background: rgb(var(--ink)); border-color: rgb(var(--ink)); color: #fff; }
.empty-state { padding: 80px 0; text-align: center; color: var(--muted); }

/* -------------------------------------------------------------------- blog */
.blog-banner { background: var(--surface); padding: clamp(52px, 7vw, 96px) 0; text-align: center; }
.blog-banner h1 { margin: 0 0 10px; }
.blog-banner p { color: var(--muted); margin: 0 auto; max-width: 50ch; }
.main-blog { padding-bottom: var(--section-space); }
.main-article { max-width: 880px; padding-bottom: 36px; }
.main-article__header { text-align: center; margin-bottom: 44px; }
.main-article__header h1 { font-size: clamp(1.9rem, 3.4vw, 3rem); margin: 0 auto 18px; max-width: 26ch; }
.main-article__meta { color: var(--faint); font-size: 12.5px; letter-spacing: .045em; }
.main-article__hero img { width: 100%; }
.main-article__content { font-size: var(--step-1); }

/* sélections de robes et appel à l'action dans un article */
.article-picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 1.8em 0; }
.rte .article-picks__item { display: grid; gap: 8px; text-decoration: none; }
.article-picks__item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--surface); }
.article-picks__label { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.rte .article-picks__item:hover .article-picks__label { color: rgb(var(--ink)); text-decoration: underline; text-underline-offset: 3px; }
.article-links { font-size: 13.5px; color: var(--muted); }
.rte .article-links a { text-decoration: underline; text-underline-offset: 3px; }
.article-cta { border: 1px solid var(--line); background: var(--surface); padding: 24px 26px; margin: 2em 0 0; }
.article-cta__title { font-family: var(--font-display); font-size: var(--step-2); margin: 0 0 8px; }
.article-cta__text { font-size: 14px; color: var(--muted); margin: 0 0 18px; max-width: 62ch; }
.article-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 0; }
.main-article__share {
  display: flex; gap: 20px; align-items: center; padding-top: 32px; font-size: 13px;
  border-top: 1px solid var(--line); margin-top: 40px;
}
.main-article__share a { text-decoration: underline; text-underline-offset: 4px; }

/* -------------------------------------------------------------- page panier */
.cart-page { padding-bottom: var(--section-space); }
.cart-page__title { margin: 0 0 34px; }
.cart-layout { display: grid; gap: clamp(28px, 3.4vw, 64px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1000px) { .cart-layout { grid-template-columns: 1.65fr 1fr; } }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); padding: 0 12px 14px; border-bottom: 1px solid var(--line); font-weight: 400; }
.cart-table td { padding: 22px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table__media { width: 104px; padding-left: 0 !important; }
.cart-table__media img { width: 88px; aspect-ratio: 3 / 4; object-fit: cover; background: var(--surface); }
.cart-table__info a { font-size: 14.5px; }
.cart-table__variant { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.cart-table__remove { background: none; border: 0; padding: 0; margin: 8px 0 0 8px; font-size: 12px; color: var(--faint); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.cart-table__price, .cart-table__total { white-space: nowrap; font-size: 14px; font-variant-numeric: tabular-nums; }
.cart-table__total { font-weight: 500; }
.cart-actions { display: flex; justify-content: space-between; gap: 18px; padding-top: 26px; flex-wrap: wrap; }
.cart-empty { text-align: center; padding: 90px 0; }
.cart-empty p { color: var(--muted); margin-bottom: 24px; }
.cart-summary { background: var(--surface); padding: clamp(26px, 3vw, 42px); position: sticky; top: calc(var(--header-h) + 22px); }
.cart-summary h2 { font-size: var(--step-2); margin: 0 0 24px; }
.promo-form { padding-bottom: 24px; border-bottom: 1px solid var(--line-strong); margin-bottom: 24px; }
.promo-form label { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
.promo-form__row { display: flex; gap: 9px; }
.promo-form__row input { flex: 1; min-width: 0; padding: 13px 14px; border: 1px solid var(--line-strong); background: rgb(var(--paper)); font-size: 13.5px; letter-spacing: .05em; }
.promo-form__msg { font-size: 12.5px; margin: 10px 0 0; min-height: 18px; }
.promo-form__msg.is-ok { color: #1f6b45; }
.promo-form__msg.is-error { color: var(--sale); }
.promo-form__hints { margin-top: 12px; font-size: 12px; color: var(--muted); display: flex; flex-direction: column; gap: 5px; }
.cart-totals { margin: 0 0 26px; }
.cart-totals > div { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.cart-totals dt, .cart-totals dd { margin: 0; }
.cart-totals__grand { border-top: 1px solid var(--line-strong); margin-top: 10px; padding-top: 18px !important; font-family: var(--font-display); font-size: var(--step-2) !important; }
.cart-summary__note { font-size: 12.5px; color: var(--muted); margin: 18px 0 0; max-width: 46ch; }

/* ------------------------------------------------------------------ recherche */
.main-search { padding-bottom: var(--section-space); }
.main-search h1 { margin-bottom: 26px; }
.search-form { display: flex; gap: 10px; flex-wrap: wrap; }
.search-form input {
  flex: 1; min-width: 240px; padding: 16px 18px; border: 1px solid var(--line-strong);
  background: rgb(var(--paper)); font-size: 14.5px;
}
.search-form--inline { margin-bottom: 40px; max-width: 640px; }

/* ------------------------------------------------------------- pages statiques */
.static-page { padding-bottom: var(--section-space); }
.static-page__content { font-size: 15.5px; }
.static-page__aside { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; }
.static-page__aside li { padding: 8px 0; }
.static-page__aside a { text-decoration: underline; text-underline-offset: 4px; }

/* ------------------------------------------------------------------ erreurs */
.error-page { text-align: center; padding: clamp(72px, 13vw, 160px) var(--gutter); }
.error-page__code { font-family: var(--font-display); font-size: clamp(4.5rem, 13vw, 10rem); line-height: 1; margin: 0; color: #94949b; }
.error-page__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ======================================================= contact / FAQ / partenaires */

/* ---------------------------------------------------------- formulaire contact */
.contact { padding-top: clamp(40px, 5vw, 72px); padding-bottom: var(--section-space); }
.contact__grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(30px, 4vw, 68px); align-items: start;
}
.contact-form { border: 1px solid var(--line); padding: clamp(22px, 2.6vw, 40px); }
.contact-form__title { font-size: var(--step-3); margin: 0 0 6px; }
.contact-form__hint { font-size: 13px; color: var(--muted); margin: 0 0 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-field { margin: 0 0 20px; }
.form-field label {
  display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.form-field__opt { text-transform: none; letter-spacing: 0; font-size: 11px; color: var(--faint); }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
  width: 100%; padding: 14px 15px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: rgb(var(--paper)); font-family: var(--font-body); font-size: 14.5px; color: rgb(var(--ink));
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.form-field textarea { resize: vertical; min-height: 138px; line-height: 1.6; }
.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible { outline: none; border-color: rgb(var(--ink)); box-shadow: 0 0 0 1px rgb(var(--ink)); }
.form-field input::placeholder, .form-field textarea::placeholder { color: #9a9aa1; }
.form-field--check { display: flex; gap: 11px; align-items: flex-start; }
.form-field--check input { width: 17px; height: 17px; margin: 4px 0 0; flex: 0 0 auto; accent-color: rgb(var(--ink)); }
.form-field--check label { text-transform: none; letter-spacing: 0; font-size: 13px; margin: 0; color: var(--muted); }
.form-field--check a { text-decoration: underline; text-underline-offset: 3px; color: rgb(var(--ink)); }
/* contrôle anti-spam : un cadre discret, lisible et sans ambiguïté */
.captcha {
  border: 1px dashed var(--line-strong); padding: 16px 18px; margin: 0 0 22px;
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center;
}
.captcha__label { grid-column: 1 / -1; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.captcha__question { margin: 0; font-family: var(--font-display); font-size: var(--step-1); }
.captcha input[type="text"] {
  width: 86px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  text-align: center; font-family: var(--font-body); font-size: 16px; background: rgb(var(--paper));
}
.captcha input[type="text"]:focus-visible { outline: none; border-color: rgb(var(--ink)); box-shadow: 0 0 0 1px rgb(var(--ink)); }
.captcha__help { grid-column: 1 / -1; font-size: 12px; color: var(--faint); }
/* piège à robots : hors écran, jamais lu par un lecteur d'écran */
.contact-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; margin: 0; }
.contact-form__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 4px 0 0; }
.contact-form__reassure { font-size: 12.5px; color: var(--faint); }
.form-status { border-left: 3px solid rgb(var(--ink)); background: var(--surface); padding: 20px 24px; margin-bottom: 26px; }
.form-status--ok { border-left-color: #1f6b45; background: #f1f8f3; }
.form-status--error { border-left-color: var(--sale); background: #fdf5f4; }
.form-status__title { font-family: var(--font-display); font-size: var(--step-1); margin: 0 0 6px; }
.form-status__text { margin: 0; font-size: 13.5px; color: var(--muted); }
.form-status__list { margin: 0 0 10px; font-size: 13.5px; color: var(--muted); }
.form-status__list li { position: relative; padding-left: 16px; }
.form-status__list li::before { content: '·'; position: absolute; left: 4px; }
.form-status__links { margin: 16px 0 0; }
.contact__aside { display: grid; gap: 30px; }
.contact-aside__title { font-family: var(--font-display); font-size: var(--step-2); margin: 0 0 16px; }
.promise-list { display: grid; gap: 16px; }
.promise-list li { border-top: 1px solid var(--line); padding-top: 16px; }
.promise-list strong { display: block; font-weight: 500; font-size: 14px; margin-bottom: 4px; }
.promise-list span { font-size: 13.5px; color: var(--muted); }
.contact-details { border: 1px solid var(--line); padding: 22px 24px; }
.contact-details__list { margin: 0; font-size: 13.5px; }
.contact-details__list dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-top: 14px; }
.contact-details__list dt:first-child { margin-top: 0; }
.contact-details__list dd { margin: 3px 0 0; }
.contact-details__list a { text-decoration: underline; text-underline-offset: 3px; }
.contact__faq { font-size: 13.5px; color: var(--muted); margin: 0; }
.contact__faq a { color: rgb(var(--ink)); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------------- FAQ */
.faq { padding-top: clamp(40px, 5vw, 72px); padding-bottom: var(--section-space); }
.faq-highlights {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); margin-bottom: clamp(40px, 5vw, 72px);
}
.faq-highlights li { background: rgb(var(--paper)); padding: 26px 22px; text-align: center; }
.faq-highlights__value { display: block; font-family: var(--font-display); font-size: var(--step-2); }
.faq-highlights__label { display: block; font-size: 12.5px; color: var(--muted); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(30px, 4vw, 68px); align-items: start; }
.faq__heading { font-size: var(--step-3); margin: 0 0 22px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid rgb(var(--ink)); outline-offset: 3px; }
.faq-item__question { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.4; }
.faq-item__icon { position: relative; flex: 0 0 auto; width: 14px; height: 14px; }
.faq-item__icon::before, .faq-item__icon::after {
  content: ''; position: absolute; background: rgb(var(--ink));
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.faq-item__icon::before { left: 0; top: 6px; width: 14px; height: 1px; }
.faq-item__icon::after { left: 6px; top: 0; width: 1px; height: 14px; }
.faq-item[open] .faq-item__icon::after { transform: rotate(90deg); opacity: 0; }
.faq-item__answer { margin: 0; padding: 0 44px 22px 0; font-size: 14.5px; color: var(--muted); max-width: 68ch; }
.faq__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-card { border: 1px solid var(--line); background: var(--surface); padding: 28px 26px; }
.faq-card__title { font-size: var(--step-2); margin: 0 0 10px; }
.faq-card__text { font-size: 13.5px; color: var(--muted); margin: 0 0 20px; }
.faq-card__links { margin-top: 20px; font-size: 13.5px; }
.faq-card__links li { padding: 8px 0; border-top: 1px solid var(--line-strong); }
.faq-card__links a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- partenaires */
.partner-hero { background: rgb(var(--ink)); color: #fff; padding: clamp(44px, 6vw, 92px) 0; }
.partner-hero__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(34px, 4vw, 72px); align-items: center; }
.partner-hero__breadcrumb { color: rgba(255, 255, 255, .66); padding: 0 0 18px; }
.partner-hero__breadcrumb a:hover { color: #fff; }
.partner-hero h1 { font-size: clamp(2rem, 4vw, 3.4rem); margin: 0 0 16px; max-width: 22ch; }
.partner-hero__text { font-size: 15.5px; color: rgba(255, 255, 255, .84); max-width: 58ch; margin: 0; }
.partner-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 22px; }
.partner-hero__points { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 13px; color: rgba(255, 255, 255, .76); }
.partner-hero__points li { position: relative; padding-left: 18px; }
.partner-hero__points li::before { content: ''; position: absolute; left: 0; top: 11px; width: 8px; height: 1px; background: var(--gold); }
.partner-hero__figure { position: relative; border: 1px solid rgba(255, 255, 255, .22); padding: 30px 26px 26px; }
.partner-hero__badge {
  position: absolute; top: -12px; left: 24px; background: var(--gold); color: rgb(var(--ink));
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: 5px 12px;
}
.partner-hero__stats { display: grid; gap: 18px; }
.partner-hero__stats li { border-bottom: 1px solid rgba(255, 255, 255, .16); padding-bottom: 14px; }
.partner-hero__stats li:last-child { border-bottom: 0; padding-bottom: 0; }
.partner-hero__stats strong { display: block; font-family: var(--font-display); font-size: var(--step-3); font-weight: 500; }
.partner-hero__stats span { font-size: 12.5px; color: rgba(255, 255, 255, .72); }
.partner-section { padding-top: clamp(52px, 6vw, 96px); }
.partner-section--surface { background: var(--surface); padding: clamp(52px, 6vw, 96px) 0; margin-top: clamp(52px, 6vw, 96px); }
.partner-section__head { max-width: 74ch; margin-bottom: clamp(30px, 3.6vw, 52px); }
.partner-section__head h2 { margin: 0 0 12px; }
.partner-section__lead { font-size: 15px; color: var(--muted); margin: 0; max-width: 68ch; }
.partner-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.partner-benefit { background: rgb(var(--paper)); padding: clamp(24px, 2.6vw, 36px); }
.partner-benefit__index { font-family: var(--font-display); font-size: 12px; letter-spacing: .16em; color: var(--gold); }
.partner-benefit__title { font-size: var(--step-2); margin: 10px 0 8px; }
.partner-benefit__text { margin: 0; font-size: 14px; color: var(--muted); }
.partner-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(22px, 2.6vw, 40px); }
.partner-step { border-top: 1px solid var(--line-strong); padding-top: 20px; }
.partner-step__number {
  display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 14px;
  border: 1px solid rgb(var(--ink)); border-radius: 50%; font-size: 12.5px;
}
.partner-step__title { font-size: var(--step-1); margin: 0 0 8px; }
.partner-step__text { margin: 0; font-size: 13.5px; color: var(--muted); }
.partner-profiles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 4vw, 68px); align-items: start; padding-bottom: var(--section-space); }
.partner-profiles__intro h2 { margin: 0 0 12px; }
.partner-profiles__list { display: grid; gap: 12px; }
.partner-profiles__list li { position: relative; padding: 0 0 12px 22px; border-bottom: 1px solid var(--line); font-size: 15px; }
.partner-profiles__list li::before { content: ''; position: absolute; left: 0; top: 12px; width: 10px; height: 1px; background: var(--gold); }
.partner-cta { background: rgb(var(--ink)); color: #fff; padding: clamp(48px, 6vw, 92px) 0; scroll-margin-top: var(--header-h); }
.partner-cta__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 3.6vw, 64px); align-items: center; }
.partner-cta h2 { margin: 0 0 12px; }
.partner-cta p { margin: 0; font-size: 15px; color: rgba(255, 255, 255, .84); max-width: 64ch; }
.partner-cta__actions { display: grid; gap: 12px; justify-items: start; }
.partner-cta__note { font-size: 12.5px; color: rgba(255, 255, 255, .68); }
.partner-cta__affiliate { font-size: 12.5px; color: rgba(255, 255, 255, .82); text-decoration: underline; text-underline-offset: 4px; }

/* ============================================================ essayage virtuel */
.dress-ai-page { padding-bottom: var(--section-space); }
.ai-hero { background: rgb(var(--ink)); color: #fff; padding: clamp(40px, 5.4vw, 84px) 0; }
/* sur PC, l'accroche et le comparateur avant/après sont côte à côte */
.ai-hero__columns { display: grid; gap: clamp(26px, 3.4vw, 62px); align-items: center; }
@media (min-width: 1000px) { .ai-hero__columns { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }
.ai-hero__inner { min-width: 0; }
.ai-hero__breadcrumb { color: rgba(255, 255, 255, .66); padding: 0 0 18px; }
.ai-hero__breadcrumb a:hover { color: #fff; }
.ai-hero h1 { font-size: clamp(1.9rem, 3.8vw, 3.2rem); margin: 0 0 16px; max-width: 24ch; }
.ai-hero__text { font-size: 15.5px; color: rgba(255, 255, 255, .84); max-width: 62ch; margin: 0; }
.ai-hero__points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; font-size: 13px; color: rgba(255, 255, 255, .78); }
.ai-hero__points li { position: relative; padding-left: 18px; }
.ai-hero__points li::before { content: ''; position: absolute; left: 0; top: 11px; width: 8px; height: 1px; background: var(--gold); }

.ai-body { padding-top: clamp(34px, 4vw, 58px); }
.ai-note { border: 1px solid var(--line); background: var(--surface); padding: 20px 24px; margin-top: clamp(28px, 3.4vw, 46px); }
.ai-note__title { font-family: var(--font-display); font-size: var(--step-1); margin: 0 0 6px; }
/* petite règle dorée devant le titre : repère discret, sans filet latéral */
.ai-note__title::before { content: ''; display: inline-block; width: 12px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: 10px; }
.ai-note__text { margin: 0; font-size: 14px; color: var(--muted); max-width: 68ch; }

/* comparateur avant / après : deux photos superposées, une barre à glisser.
   Le calque « après » est rogné depuis la droite, donc à 0 % on voit la photo
   d'origine et à 100 % la robe ajoutée par l'essayage. */
.ai-demo { margin-bottom: clamp(30px, 3.6vw, 52px); }
.ai-demo__title { font-size: var(--step-2); margin: 0 0 6px; }
.ai-demo__text { margin: 0 0 18px; font-size: 13.5px; color: var(--muted); max-width: 68ch; }
/* dans l'en-tête sombre : pas de marge basse et textes clairs */
.ai-hero .ai-demo { margin-bottom: 0; }
.ai-hero .ai-demo__title { color: #fff; }
.ai-hero .ai-demo__text { color: rgba(255, 255, 255, .78); }
.ai-compare {
  position: relative; overflow: hidden; background: var(--surface);
  /* 9 / 16 = format des deux photos : aucun recadrage, tête et pieds visibles */
  aspect-ratio: 9 / 16; max-width: 560px; touch-action: pan-y; cursor: ew-resize;
  user-select: none; -webkit-user-select: none;
}
@media (min-width: 1000px) { .ai-hero .ai-compare { max-width: 340px; } }
.ai-compare__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ai-compare__layer { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ai-compare__tag {
  position: absolute; bottom: 14px; padding: 5px 10px; background: rgb(var(--paper)); color: rgb(var(--ink));
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
.ai-compare__tag--before { left: 14px; }
.ai-compare__tag--after { right: 14px; }
.ai-compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px;
  background: #fff; box-shadow: 0 0 0 1px rgba(12,12,13,.12); cursor: ew-resize;
  display: grid; place-items: center;
}
/* zone de saisie élargie : 2 px de trait sont impossibles à attraper au doigt */
.ai-compare__handle::before { content: ''; position: absolute; inset: 0 -16px; }
.ai-compare__grip {
  position: relative; width: 46px; height: 46px; border-radius: 50%; background: rgb(var(--paper));
  border: 1px solid var(--line-strong); display: grid; place-items: center;
  box-shadow: 0 10px 26px -14px rgba(0,0,0,.6);
}
.ai-compare__grip::before { content: '↔'; font-size: 16px; line-height: 1; }
.ai-compare__handle:focus-visible { outline: 2px solid rgb(var(--ink)); outline-offset: 4px; }
.ai-compare.is-dragging { cursor: grabbing; }

.ai-alert { border: 1px solid var(--sale); color: var(--sale); padding: 14px 18px; font-size: 13.5px; margin: 0 0 28px; }

.ai-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(22px, 2.6vw, 40px); align-items: start; }
.ai-card { border: 1px solid var(--line); padding: clamp(20px, 2.4vw, 32px); background: rgb(var(--paper)); }
.ai-card__head { margin-bottom: 20px; }
.ai-card__step {
  display: inline-grid; place-items: center; width: 25px; height: 25px; margin-right: 10px;
  border: 1px solid rgb(var(--ink)); border-radius: 50%;
  font-family: var(--font-body); font-size: 12.5px; letter-spacing: 0; vertical-align: middle;
}
.ai-card__title { font-size: var(--step-2); margin: 6px 0 8px; }
.ai-card__help { margin: 0; font-size: 13.5px; color: var(--muted); max-width: 62ch; }

/* dépôt de la photo */
.ai-drop__zone {
  display: grid; justify-items: center; gap: 8px; text-align: center; cursor: pointer;
  border: 1px dashed var(--line-strong); padding: clamp(26px, 3.4vw, 44px) 20px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.ai-drop__zone:hover, .ai-drop__zone.is-dragging { border-color: rgb(var(--ink)); background: var(--surface); }
.ai-drop__icon { color: rgb(var(--ink)); }
.ai-drop__icon svg { width: 30px; height: 30px; }
.ai-drop__title { font-family: var(--font-display); font-size: var(--step-1); }
.ai-drop__hint { font-size: 13px; color: var(--muted); }
.ai-drop__btn { margin-top: 10px; }
.ai-preview { display: grid; gap: 12px; }
.ai-preview img { width: 100%; max-height: 420px; object-fit: contain; background: var(--surface); }
.ai-preview__meta { display: flex; justify-content: space-between; gap: 14px; font-size: 12.5px; color: var(--muted); }
.ai-preview__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ai-preview__change { justify-self: start; border: 0; background: none; padding: 0; font-size: 12.5px; color: rgb(var(--ink)); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.ai-privacy { margin: 16px 0 0; font-size: 12.5px; color: var(--faint); }
.ai-tips { margin: 14px 0 0; display: grid; gap: 7px; font-size: 13px; color: var(--muted); }
.ai-tips li { position: relative; padding-left: 16px; }
.ai-tips li::before { content: ''; position: absolute; left: 0; top: 11px; width: 7px; height: 1px; background: var(--line-strong); }

/* sélection de la robe */
.ai-search { display: flex; gap: 9px; margin-bottom: 14px; flex-wrap: wrap; }
.ai-search input {
  flex: 1; min-width: 200px; padding: 13px 15px; border: 1px solid var(--line-strong);
  background: rgb(var(--paper)); font-family: var(--font-body); font-size: 14px;
}
.ai-search input:focus-visible { outline: none; border-color: rgb(var(--ink)); box-shadow: 0 0 0 1px rgb(var(--ink)); }
.ai-dresses__count { margin: 0 0 14px; font-size: 12.5px; letter-spacing: .045em; color: var(--muted); }
.ai-dresses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-height: 520px; overflow-y: auto; padding-right: 4px; }
.ai-dress { display: grid; gap: 6px; width: 100%; text-align: left; border: 1px solid transparent; background: none; padding: 6px; cursor: pointer; transition: border-color .22s var(--ease), background .22s var(--ease); }
.ai-dress:hover { background: var(--surface); }
.ai-dress.is-selected { border-color: rgb(var(--ink)); background: var(--surface); }
.ai-dress__media { position: relative; display: block; background: var(--surface); }
.ai-dress__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.ai-dress__check {
  position: absolute; right: 6px; bottom: 6px; display: none; place-items: center;
  width: 24px; height: 24px; background: rgb(var(--ink)); color: #fff;
}
.ai-dress__check svg { width: 16px; height: 16px; }
.ai-dress.is-selected .ai-dress__check { display: grid; }
.ai-dress__title { font-size: 12.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ai-dress__price { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ai-dresses__empty { padding: 26px 0; text-align: center; color: var(--muted); font-size: 13.5px; }

/* lancement */
.ai-run { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; border: 1px solid var(--line); border-top: 0; padding: 20px clamp(20px, 2.4vw, 32px); }
.ai-run__recap { display: flex; align-items: center; gap: 14px; margin: 0; }
.ai-run__thumb { flex: 0 0 auto; width: 52px; border: 1px solid var(--line); background: var(--surface); }
.ai-run__thumb img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.ai-run__text { display: grid; gap: 4px; }
.ai-run__line { margin: 0; font-size: 13.5px; color: var(--faint); }
.ai-run__line.is-done { color: rgb(var(--ink)); }
.ai-run__line.is-done::before { content: '✓ '; }
.ai-run__error { flex: 1 1 100%; margin: 0; font-size: 13.5px; color: var(--sale); }
.ai-run__btn { min-width: 240px; }
.ai-run__btn[disabled] { opacity: 1; }

/* chargement animé */
.ai-loading {
  margin-top: clamp(28px, 3.4vw, 48px); border: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(22px, 3vw, 46px); align-items: center; padding: clamp(20px, 2.6vw, 38px);
}
.ai-loading__figure { position: relative; overflow: hidden; background: var(--surface); }
.ai-loading__figure img { width: 100%; max-height: 460px; object-fit: contain; opacity: .82; }
.ai-loading__veil {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 55%);
  animation: aiPulse 3.4s var(--ease) infinite;
}
.ai-loading__scan {
  position: absolute; left: 0; right: 0; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, rgba(12, 12, 13, 0), rgba(12, 12, 13, .85), rgba(12, 12, 13, 0));
  box-shadow: 0 0 18px rgba(12, 12, 13, .45);
  animation: aiScan 2.8s cubic-bezier(.5, 0, .5, 1) infinite;
}
.ai-loading__title { font-size: var(--step-3); margin: 0 0 8px; }
.ai-loading__hint { margin: 0 0 22px; font-size: 13.5px; color: var(--muted); }
.ai-progress { position: relative; height: 4px; background: var(--line); overflow: hidden; }
.ai-progress__bar {
  display: block; height: 100%; width: 100%; background: rgb(var(--ink));
  transform-origin: left center; transform: scaleX(0);
  transition: transform .4s var(--ease);
}
.ai-progress::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 30%; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .7), rgba(255, 255, 255, 0));
  animation: aiSheen 1.8s linear infinite;
}
.ai-progress__meta { display: flex; justify-content: space-between; margin: 9px 0 22px; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ai-loading__steps { display: grid; gap: 9px; font-size: 13.5px; color: var(--faint); }
.ai-loading__steps li { position: relative; padding-left: 24px; transition: color .3s var(--ease); }
.ai-loading__steps li::before {
  content: ''; position: absolute; left: 4px; top: 11px; width: 10px; height: 1px; background: currentColor;
  transition: all .3s var(--ease);
}
.ai-loading__steps li.is-active { color: rgb(var(--ink)); }
.ai-loading__steps li.is-active::before { height: 8px; top: 6px; width: 2px; }
.ai-loading__steps li.is-done { color: var(--muted); }
.ai-loading__steps li.is-done::before { content: '✓'; background: none; height: auto; top: 0; width: auto; font-size: 12px; }

@keyframes aiScan { 0% { top: -2%; } 100% { top: 102%; } }
@keyframes aiSheen { 0% { transform: translateX(-120%); } 100% { transform: translateX(320%); } }
@keyframes aiPulse { 0%, 100% { opacity: .5; } 50% { opacity: .95; } }
@media (prefers-reduced-motion: reduce) {
  .ai-loading__scan, .ai-loading__veil, .ai-progress::after { animation: none; }
}

/* résultat */
.ai-result {
  margin-top: clamp(28px, 3.4vw, 48px); border: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 46px); padding: clamp(20px, 2.6vw, 38px); align-items: center;
}
.ai-result__figure img { width: 100%; background: var(--surface); }
.ai-result__title { font-size: var(--step-3); margin: 0 0 10px; }
.ai-result__text { margin: 0 0 22px; font-size: 14px; color: var(--muted); max-width: 56ch; }
.ai-result__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ai-result__link { border: 0; background: none; padding: 0; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.ai-result__note { margin: 18px 0 0; font-size: 12.5px; color: var(--faint); }

/* -------------------------------------------------------------- responsive */
@media (max-width: 999px) {
  .slideshow__nav { display: none; }
  .cart-summary { position: static; }
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr { display: grid; grid-template-columns: 100px 1fr; gap: 0 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
  .cart-table td { border: 0; padding: 4px 0 !important; }
  .cart-table__media { grid-row: span 4; }

  .contact__grid, .faq__grid, .partner-hero__inner, .partner-cta__inner, .partner-profiles { grid-template-columns: minmax(0, 1fr); }
  .faq__aside { position: static; }
  .faq-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .ai-grid, .ai-loading, .ai-result { grid-template-columns: minmax(0, 1fr); }
  .ai-dresses { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ai-run { align-items: flex-start; }
}
@media (max-width: 599px) {
  /* une seule colonne : l'e-mail du bloc « Service client » ne tient pas dans
     une demi-largeur et forçait la page à déborder de quelques pixels */
  .text-with-icons__list { grid-template-columns: minmax(0, 1fr); }
  /* champ promo + bouton empilés : côte à côte ils élargissaient le récapitulatif */
  .promo-form__row { flex-wrap: wrap; }
  .promo-form__row input { flex: 1 1 100%; }
  .promo-form__row .btn { width: 100%; }
  /* la carte « image + texte » centrée dépassait la largeur de l'écran */
  .image-with-text__card { max-width: 100%; padding: 26px 22px; }
  .image-with-text__card .btn { white-space: normal; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .partner-benefits { grid-template-columns: minmax(0, 1fr); }
  .partner-steps { grid-template-columns: minmax(0, 1fr); }
  .faq-highlights { grid-template-columns: minmax(0, 1fr); }
  .ai-dresses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-run__btn { width: 100%; min-width: 0; }
}

/* ============================== lien « Ma robe IA » et achat après essayage */
.icon-btn--ai { color: #fff; }
/* icône « accueil » : affichée sur téléphone seulement, là où le logo disparaît */
.icon-btn--home { display: none; }
.product-ai {
  display: flex; align-items: center; gap: 14px; border: 1px solid var(--line);
  padding: 16px 18px; margin: 0 0 26px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.product-ai:hover { border-color: rgb(var(--ink)); background: var(--surface); }
.product-ai__icon { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border: 1px solid rgb(var(--ink)); border-radius: 50%; }
.product-ai__icon svg { width: 18px; height: 18px; }
.product-ai__text { display: grid; gap: 2px; }
.product-ai__text strong { font-weight: 500; font-size: 14px; }
.product-ai__text span { font-size: 12.5px; color: var(--muted); }
.product-ai__arrow { margin-left: auto; font-size: 16px; }

.search-suggest { font-size: 14px; color: var(--muted); max-width: 68ch; margin: 10px 0 26px; }
.search-suggest__cta { margin: 28px 0 0; }

.faq-item__link { color: rgb(var(--ink)); text-decoration: underline; text-underline-offset: 3px; }

/* encart d'achat affiché sous un rendu */
.ai-buy { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 22px; }
.ai-buy__title { font-family: var(--font-display); font-size: var(--step-2); margin: 0 0 6px; }
.ai-buy__text { margin: 0 0 10px; font-size: 13.5px; color: var(--muted); }
.ai-buy__code { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; }
.ai-buy__code code { background: rgb(var(--ink)); color: #fff; padding: 7px 12px; font-size: 14px; letter-spacing: .16em; }
.ai-buy__copy {
  border: 1px solid var(--line-strong); background: none; padding: 7px 12px; cursor: pointer;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}
.ai-buy__copy:hover { border-color: rgb(var(--ink)); }
.ai-buy__dress { margin: 0 0 16px; font-size: 13.5px; color: rgb(var(--ink)); }
.ai-buy__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0; }
.ai-buy__link { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }

/* galerie des rendus, en bas de la page d'essayage */
.ai-gallery { margin-top: clamp(34px, 4vw, 58px); border-top: 1px solid var(--line); padding-top: clamp(24px, 3vw, 40px); }
.ai-gallery__title { font-size: var(--step-3); margin: 0 0 8px; }
.ai-gallery__text { margin: 0 0 22px; font-size: 13.5px; color: var(--muted); }
.ai-gallery__list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.ai-gallery__list a { display: grid; gap: 6px; }
.ai-gallery__list img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--surface); }
.ai-gallery__list span {
  font-size: 11.5px; color: var(--muted); line-height: 1.35; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
}

/* ==================================================== correctifs téléphone */
@media (max-width: 999px) {
  /* la galerie produit devient un slider : plus de scroll horizontal de page */
  .product-page .main-product { grid-template-columns: minmax(0, 1fr); }
  /* le calque de fond passait devant le menu et captait les clics : supprimé */
  .drawer__panel { z-index: 2; }
  .drawer__overlay { z-index: 1; display: none; }
  .ai-gallery__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  /* sections : un peu moins d'air en haut et en bas sur téléphone */
  :root { --section-space: clamp(38px, 7vw, 58px); }
  /* en-tête : sans le logo, tout est agrandi de 50 % (56 -> 84 px) */
  .header__bar {
    grid-template-columns: auto auto minmax(0, 1fr) auto; grid-template-areas: 'burger lang logo icons';
    gap: 2px; min-height: 84px;
    /* marge latérale propre à l'en-tête : avec 4 icônes à +50 %, la gouttière
       habituelle ne laissait plus la place sur un écran de 360 px */
    padding: 0 12px;
  }
  .header__logo { display: none; }
  .header__burger { padding: 4px; }
  .header__burger span { width: 30px; height: 1.5px; margin: 7px 0; }
  .header__icons { gap: 2px; }
  /* 44 px pour cinq icônes : à 51 px (le +50 % d’origine) la rangée dépassait
     de ~30 px dès qu’on ajoutait l’accueil */
  .icon-btn { width: 44px; height: 44px; }
  .icon-btn svg { width: 23px; height: 23px; }
  /* l’icône accueil remplace le logo, masqué sur téléphone */
  .icon-btn--home { display: grid; }
  .lang-switch { justify-self: start; align-self: center; }
  .lang-switch a { padding: 6px 4px; font-size: 13px; }
  /* la pastille masquait l'icône : plus petite et collée au coin */
  .cart-count { top: 5px; right: 4px; min-width: 15px; height: 15px; font-size: 10px; padding: 0 3px; }
  /* favoris : retiré de la barre, on le retrouve dans le menu */
  .icon-btn--likes { display: none; }
  .drawer__close { font-size: 39px; }
  /* pastille d'ajout rapide plus discrète sur les cartes produit */
  .product-card__quick { left: 8px; right: 8px; bottom: 8px; padding: 9px 10px; font-size: 11px; letter-spacing: .12em; }
  .ai-gallery__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* le toast « ajouté au panier » débordait de l'écran */
  .cart-toast {
    left: var(--gutter); right: var(--gutter); bottom: 16px; transform: none;
    padding: 14px 16px; gap: 12px; font-size: 13px; flex-wrap: wrap;
    justify-content: space-between;
  }
  body.has-cookie-banner .cart-toast { bottom: 148px; }
}

/* ------------------------------------------- espace client & suivi de commande */
.account-page { padding-bottom: var(--section-space); }
.account { padding-top: clamp(34px, 4.5vw, 62px); }
.account__grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 3.4vw, 56px); align-items: start; }
.account__main { min-width: 0; }
.account__aside { display: grid; gap: 22px; min-width: 0; }
.account-section__title { font-size: var(--step-2); margin: 0 0 20px; }
.account-aside__block { border: 1px solid var(--line); padding: 22px 24px; }
.account-aside__title { font-family: var(--font-display); font-size: var(--step-1); margin: 0 0 12px; }
.account-aside__list { margin: 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--muted); }
.account-aside__list li { position: relative; padding: 7px 0 7px 16px; }
.account-aside__list li::before { content: '·'; position: absolute; left: 4px; }
.account-aside__list a { color: rgb(var(--ink)); text-decoration: underline; text-underline-offset: 4px; }
.account-aside__text { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.account-details { margin: 0; font-size: 13.5px; }
.account-details dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-top: 14px; }
.account-details dt:first-child { margin-top: 0; }
.account-details dd { margin: 3px 0 0; overflow-wrap: anywhere; }

/* formulaires de connexion / inscription */
.auth-form { border: 1px solid var(--line); padding: clamp(22px, 2.6vw, 40px); }
.auth-form__title { font-size: var(--step-3); margin: 0 0 22px; }
.auth-form__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 4px 0 18px; }
.auth-form__reassure { font-size: 12.5px; color: var(--faint); }
.auth-form__switch { margin: 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.auth-form__switch a { color: rgb(var(--ink)); text-decoration: underline; text-underline-offset: 4px; }
.form-field__help { display: block; margin-top: 6px; font-size: 12px; color: var(--faint); }
.form-status--info { border-left-color: #1f4d6b; background: #f2f6f9; }

.account-empty { border: 1px solid var(--line); padding: clamp(26px, 3vw, 44px); text-align: center; }
.account-empty__title { font-family: var(--font-display); font-size: var(--step-2); margin: 0 0 8px; }
.account-empty__text { color: var(--muted); font-size: 13.5px; max-width: 56ch; margin: 0 auto 20px; }
.account-empty__cta { margin: 0; }

/* liste des commandes */
.order-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.order-card { border: 1px solid var(--line); padding: clamp(18px, 2.2vw, 26px); }
.order-card__head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-start; }
.order-card__number { margin: 0; font-size: 13px; }
.order-card__number strong { font-family: var(--font-display); font-size: var(--step-1); letter-spacing: .02em; }
.order-card__date { margin: 4px 0 0; font-size: 12.5px; color: var(--faint); }
.order-card__facts { display: flex; align-items: center; gap: 12px; }
.order-card__total { font-size: 15px; font-variant-numeric: tabular-nums; }
.order-card__meta { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }
.order-card__meta code { font-size: 12px; letter-spacing: .06em; }
.order-card__details { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.order-card__details summary { cursor: pointer; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.order-card__actions { margin: 16px 0 0; }

.badge-status { display: inline-block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--line-strong); }
.badge-status--paid { border-color: #1f6b45; color: #1f6b45; background: #f1f8f3; }
.badge-status--pending { border-color: #8a6a1f; color: #7a5c14; background: #fdf9ef; }
.badge-status--failed { border-color: var(--sale); color: var(--sale); background: #fdf5f4; }

.order-items { list-style: none; margin: 12px 0 0; padding: 0; }
.order-item { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.order-item:last-child { border-bottom: 0; }
.order-item__media { width: 54px; aspect-ratio: 3 / 4; object-fit: cover; background: var(--surface); flex: 0 0 auto; }
.order-item__media--empty { display: block; border: 1px solid var(--line); }
.order-item__info { display: grid; gap: 3px; min-width: 0; flex: 1; }
.order-item__title { font-size: 13.5px; overflow-wrap: anywhere; }
.order-item__qty { font-size: 12px; color: var(--faint); }
.order-item__price { font-size: 13.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.order-totals { margin: 14px 0 0; }
.order-totals > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.order-totals dt, .order-totals dd { margin: 0; }
.order-totals__grand { border-top: 1px solid var(--line-strong); margin-top: 8px; padding-top: 12px !important; font-family: var(--font-display); font-size: var(--step-1) !important; }

/* page de suivi */
.track-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; border: 1px solid var(--line); padding: clamp(20px, 2.4vw, 30px); }
.track-form__field { flex: 1 1 260px; min-width: 0; margin: 0; }
.track-form__help { flex: 1 1 100%; font-size: 12.5px; color: var(--faint); }
.track { margin-top: clamp(26px, 3.2vw, 44px); display: grid; gap: clamp(26px, 3vw, 40px); }
.track__head { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: flex-start; border: 1px solid var(--line); padding: clamp(20px, 2.4vw, 30px); }
.track__label { margin: 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.track__number { margin: 4px 0 6px; font-family: var(--font-display); font-size: var(--step-3); letter-spacing: .03em; overflow-wrap: anywhere; }
.track__date { margin: 0; font-size: 12.5px; color: var(--muted); }
.track__status { max-width: 380px; min-width: 0; }
.track__current { margin: 12px 0 2px; font-family: var(--font-display); font-size: var(--step-1); }
.track__current-desc { margin: 0; font-size: 13px; color: var(--muted); }
.track__facts { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 0; }
.track__facts dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.track__facts dd { margin: 5px 0 0; font-size: 13.5px; }
.track__title { font-size: var(--step-2); margin: 0 0 18px; }
.track__columns { display: grid; grid-template-columns: 1fr; gap: clamp(26px, 3.2vw, 46px); align-items: start; }
.track__block { min-width: 0; }
.track__address { font-style: normal; font-size: 13.5px; line-height: 1.7; margin: 0 0 14px; }
.track__contact { font-size: 12.5px; color: var(--faint); margin: 0 0 18px; overflow-wrap: anywhere; }
.track__help { border-top: 1px solid var(--line); padding-top: 18px; }
.track__help-title { font-family: var(--font-display); font-size: var(--step-1); margin: 0 0 6px; }
.track__help-text { font-size: 13px; color: var(--muted); margin: 0 0 16px; }
.track__login-hint { margin: 0; font-size: 13.5px; color: var(--muted); }
.track__login-hint a { color: rgb(var(--ink)); text-decoration: underline; text-underline-offset: 4px; }
.track-notfound { margin-top: clamp(24px, 3vw, 36px); }

/* chronologie du colis */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline__step { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 16px; padding-bottom: 26px; }
.timeline__step::before { content: ''; position: absolute; left: 12px; top: 15px; bottom: -2px; width: 1px; background: var(--line-strong); }
.timeline__step:last-child { padding-bottom: 0; }
.timeline__step:last-child::before { display: none; }
.timeline__marker { position: relative; z-index: 1; width: 13px; height: 13px; margin: 5px 0 0 6px; border-radius: 50%; background: rgb(var(--paper)); border: 1px solid var(--line-strong); }
.timeline__step.is-current .timeline__marker { background: rgb(var(--ink)); border-color: rgb(var(--ink)); box-shadow: 0 0 0 4px rgba(12, 12, 13, .08); }
.timeline__title { margin: 0; font-size: 14px; }
.timeline__step.is-current .timeline__title { font-family: var(--font-display); font-size: var(--step-1); }
.timeline__desc { margin: 3px 0 0; font-size: 13px; color: var(--muted); max-width: 62ch; }
.timeline__date { margin: 5px 0 0; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }

@media (min-width: 700px) { .track__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .account__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .track__columns { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .track__head, .order-card__head { flex-direction: column; }
  .track__status { max-width: none; }
  .order-card__facts { width: 100%; justify-content: space-between; }
  .order-item__media { width: 46px; }
  .auth-form, .account-aside__block, .order-card, .track__head, .track-form { padding: 18px 16px; }
}

/* ------------------------------------------------- confirmation de commande */
.success-page { padding: clamp(34px, 4.5vw, 64px) 0 var(--section-space); }
.success-card { max-width: 720px; margin: 0 auto; text-align: center; border: 1px solid var(--line); padding: clamp(26px, 3.4vw, 52px); }
.success-check { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: #1f6b45; }
.success-check svg { width: 40px; height: 40px; }
.success-check circle { stroke: rgba(255, 255, 255, .45); stroke-width: 2; }
.success-check path { stroke: #fff; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.success-card__title { font-size: var(--step-3); margin: 0 0 10px; }
.success-card__text { max-width: 62ch; margin: 0 auto 26px; font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.success-info { display: grid; gap: 1px; margin: 0 0 22px; border: 1px solid var(--line); background: var(--line); text-align: left; }
.success-info > div { display: flex; justify-content: space-between; gap: 14px; padding: 12px 16px; background: rgb(var(--paper)); }
.success-info dt { align-self: center; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.success-info dd { margin: 0; font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
.success-info__ok { color: #1f6b45; }
.success-email { max-width: 65ch; margin: 0 0 24px; padding: 14px 18px; background: var(--surface); font-size: 13px; line-height: 1.6; color: var(--muted); text-align: left; }
.success-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 0; }

.success-summary { max-width: 720px; margin: clamp(26px, 3.2vw, 44px) auto 0; border: 1px solid var(--line); padding: clamp(20px, 2.6vw, 32px); }
.success-summary__title { font-size: var(--step-2); margin: 0 0 18px; }
.success-items { list-style: none; margin: 0; padding: 0; }
.success-item { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.success-item:last-child { border-bottom: 0; }
.success-item__media { display: block; width: 56px; aspect-ratio: 3 / 4; background: var(--surface); flex: 0 0 auto; overflow: hidden; }
.success-item__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.success-item__info { display: grid; gap: 3px; flex: 1; min-width: 0; }
.success-item__title { font-size: 13.5px; overflow-wrap: anywhere; }
.success-item__qty { font-size: 12px; color: var(--faint); }
.success-item__price { font-size: 13.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.success-items__empty { margin: 0; font-size: 13px; color: var(--muted); }
.success-totals { margin: 16px 0 0; }
.success-totals > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.success-totals dt, .success-totals dd { margin: 0; }
.success-totals__grand { border-top: 1px solid var(--line-strong); margin-top: 8px; padding-top: 12px !important; font-family: var(--font-display); font-size: var(--step-1) !important; }

.success-trust { display: grid; gap: 18px; max-width: 720px; margin: clamp(26px, 3.2vw, 40px) auto 0; padding: 0; list-style: none; }
.success-trust li { display: flex; gap: 14px; align-items: flex-start; }
.success-trust svg { width: 26px; height: 26px; flex: 0 0 auto; color: var(--faint); }
.success-trust p { display: grid; gap: 3px; margin: 0; font-size: 13px; }
.success-trust strong { font-size: 13.5px; }
.success-trust span { color: var(--muted); }
.success-secure, .success-help { display: flex; align-items: center; gap: 8px; max-width: 720px; margin: 22px auto 0; font-size: 12.5px; color: var(--faint); }
.success-secure svg { width: 18px; height: 18px; flex: 0 0 auto; }
.success-help a { color: rgb(var(--ink)); text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 800px) { .success-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .success-info > div { flex-direction: column; gap: 2px; }
  .success-item__media { width: 48px; }
  .success-card, .success-summary { padding: 20px 16px; }
}
