/* ============================================================
   MY SXM — Theme CSS
   Styles thème enfant mysxm-child.
   Toutes les valeurs de couleur via variables de tokens.css.
   ============================================================ */

/* ─── Skip link a11y ────────────────────────────────────────────────────────── */
.skip-link.screen-reader-text {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link.screen-reader-text:focus {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100000;
  width: auto;
  height: auto;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  outline: 2px solid var(--gold);
}

/* ─── WhatsApp FAB — flottant gauche ────────────────────────────────────────── */

.wa-float {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 90; /* sous les overlays : menu mobile (92), drawer filtres (100), toast (1000) */
  display: flex;
  flex-direction: row-reverse; /* tooltip à droite du bouton : ne couvre ni le scroll cue du hero ni le pied des drawers */
  align-items: center;
  gap: 10px;
}

.wa-button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa-green) !important;
  color: var(--white) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, .45);
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
}

.wa-button:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, .55);
}

.wa-button svg {
  fill: var(--white) !important;
  color: var(--white) !important;
}

.wa-tooltip {
  background: var(--ink);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-family: var(--font-body, sans-serif);
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(26, 25, 23, .12);
  animation: wa-bob 2.4s ease-in-out infinite;
  pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
}

.wa-tooltip.is-hidden {
  opacity: 0;
  visibility: hidden;
}

@keyframes wa-bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

/* ─── Multi-package checkout block ─────────────────────────────────────────── */

.mysxm-multi-package {
  margin: var(--s-5) 0;
  padding: var(--s-4) var(--s-5);
  background: var(--soft);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-sm);
}

.mysxm-multi-package__headline {
  margin: 0 0 var(--s-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.mysxm-multi-package__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.mysxm-multi-package__item {
  padding: var(--s-3) var(--s-4);
  background: var(--bg);
  border-radius: var(--r-xs);
}

.mysxm-multi-package__label {
  display: block;
  margin-bottom: var(--s-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
}

.mysxm-multi-package__products {
  list-style: none;
  margin: 0 0 var(--s-2);
  padding: 0;
}

.mysxm-multi-package__products li {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--ink-soft);
  padding: var(--s-1) 0;
  border-bottom: 1px solid rgba(26,25,23,0.07);
}

.mysxm-multi-package__products li:last-child {
  border-bottom: none;
}

.mysxm-multi-package__dates {
  margin: var(--s-2) 0 0;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--ink-soft);
}

/* ─── Language switcher — compact FR/EN ─────────────────────────────────────── */

.mysxm-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.mysxm-lang-btn {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .15s ease;
}

.mysxm-lang-btn.is-active {
  color: var(--ink);
  font-weight: 600;
}

.mysxm-lang-btn:hover {
  color: var(--gold);
}

.mysxm-lang-sep {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--line);
  user-select: none;
}

/* Legacy — conservé pour fallback .lang-pill (non utilisé en nav desktop) */
.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  padding: var(--s-1) var(--s-3);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
  white-space: nowrap;
}

.lang-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Masquer le widget WPML natif injecté ailleurs (footer widgets, etc.) */
.wpml-ls { display: none !important; }

/* Mobile — viewport 375px */
@media (max-width: 767px) {
  .mysxm-multi-package {
    padding: var(--s-3) var(--s-4);
  }

  .mysxm-multi-package__list {
    gap: var(--s-3);
  }

  .mysxm-multi-package__item {
    padding: var(--s-2) var(--s-3);
  }
}

/* ─── Announcement bar ──────────────────────────────────────────────────────── */

.sxm-announce {
  background: var(--bg);
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: .2em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 16px;
  overflow: hidden;
  white-space: nowrap;
}

.sxm-announce span { display: inline-block; padding: 0 24px; }

/* Marquee sur tablette/mobile — texte trop long pour tenir en une ligne */
@media (max-width: 1023px) {
  .sxm-announce {
    padding: 9px 0;
    text-align: left;
  }
  .sxm-announce span {
    padding: 0 48px;
    animation: sxm-ticker 28s linear infinite;
  }
}
@keyframes sxm-ticker {
  0%   { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* ─── Navigation ────────────────────────────────────────────────────────────── */

/* Hauteur réelle de la nav — utilisée par les pages pour leur padding-top
   Desktop : logo 90px + padding 18px×2 = 126px
   Mobile  : logo 64px + padding 10px×2 = 84px                               */
:root        { --nav-h: 126px; }
@media (max-width: 1023px) { :root { --nav-h: 84px; } }

#site-header { position: relative; z-index: 50; }

.sxm-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(26,25,23,0.07);
}

.sxm-nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 32px;
}

.sxm-nav-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sxm-logo-horizon { display: inline-flex; align-items: center; text-decoration: none; }

/* Nav logo — LogoFinal_CremFonce 3815×2000, ratio 1.9:1
   h:120px → w≈228px  (desktop) */
.sxm-nav .sxm-logo-horizon img {
  height: 120px !important;
  width: auto !important;
  max-width: none !important;
  display: block;
}

/* Footer logo — même logo, légèrement plus petit */
.sxm-footer .sxm-logo-horizon img {
  height: 92px !important;
  width: auto !important;
  max-width: none !important;
  display: block;
}

.sxm-nav-links {
  display: flex;
  gap: 40px;
  font-size: 15px;
  letter-spacing: .12em;
  font-weight: 500;
  text-transform: uppercase;
}

.sxm-nav-links a,
.sxm-nav-link {
  position: relative;
  padding: 8px 0;
  color: var(--ink);
  text-decoration: none;
  transition: color .2s ease;
}

.sxm-nav-links a:hover::after,
.sxm-nav-link:hover::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--accent);
}

/* Lien actif — encre sombre pour conformité WCAG AA (4.5:1) sur fond sable.
   L'indicateur visuel "actif" passe par le soulignement corail ci-dessous. */
.sxm-nav-links a[aria-current="page"],
.sxm-nav-links .current-menu-item > a,
.sxm-nav-links .current_page_item > a,
.sxm-nav-link[aria-current="page"] {
  color: var(--ink);
}

.sxm-nav-links a[aria-current="page"]::after,
.sxm-nav-links .current-menu-item > a::after,
.sxm-nav-links .current_page_item > a::after,
.sxm-nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--accent);
}

.sxm-nav-utils {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  align-items: center;
}

.sxm-nav-utils button,
.sxm-nav-utils a,
.mysxm-cart-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  position: relative;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: background .2s ease;
}

.sxm-nav-utils button:hover,
.sxm-nav-utils a:hover,
.mysxm-cart-link:hover { background: var(--soft); }

.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
}

.cart-badge.hidden { display: none; }

.sxm-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--ink);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .2s ease;
}

.sxm-hamburger:hover { background: var(--soft); }

.i { width: 20px; height: 20px; }
.i-sm { width: 16px; height: 16px; }

/* ─── Responsive breakpoints ────────────────────────────────────────────────── */

@media (max-width: 1023px) {
  .desktop-only { display: none !important; }

  .sxm-hamburger { display: inline-flex; }

  /* 3 colonnes conservées : [hamburger] [logo] [panier] */
  .sxm-nav-inner {
    grid-template-columns: 1fr auto 1fr;
    padding: 10px 16px;
  }

  .sxm-nav-left { gap: 12px; }

  /* Logo tablette/mobile — 3815×2000, height 80px → ~152px de large */
  .sxm-nav .sxm-logo-horizon img { height: 80px !important; width: auto !important; max-width: none !important; }
  .sxm-footer .sxm-logo-horizon img { height: 64px !important; width: auto !important; }
}

@media (min-width: 1024px) {
  .mobile-only { display: none !important; }
}

/* ─── Mobile menu overlay ───────────────────────────────────────────────────── */

.sxm-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 92;
}

.sxm-mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 25, 23, .5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .3s ease;
  cursor: pointer;
}

.sxm-mobile-menu.is-open .sxm-mobile-menu-backdrop { opacity: 1; }

.sxm-mobile-menu-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: var(--soft);
  transform: translateX(-100%);
  transition: transform .4s cubic-bezier(.2, .9, .2, 1);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  padding: 28px;
  overflow-y: auto;
}

.sxm-mobile-menu.is-open .sxm-mobile-menu-panel { transform: translateX(0); }

.sxm-mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sxm-mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .2s ease;
}

.sxm-mobile-menu-close:hover { background: var(--soft); }

.sxm-mobile-menu-nav { flex: 1; }

.sxm-mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--s-4);
}

.sxm-mobile-nav-list a {
  font-family: var(--font-display);
  font-size: 28px;
  font-style: italic;
  color: var(--ink);
  text-decoration: none;
  line-height: var(--lh-snug);
  transition: color .2s ease;
}

.sxm-mobile-nav-list a:hover,
.sxm-mobile-nav-list a[aria-current="page"] { color: var(--accent); }

.sxm-mobile-menu-footer {
  margin-top: auto;
  display: grid;
  gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.sxm-mobile-menu-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

body.menu-open { overflow: hidden; }

/* ─── Footer ────────────────────────────────────────────────────────────────── */

.sxm-footer {
  background: var(--bg);
  color: var(--ink);
  padding: 64px 32px 32px;
  margin-top: 80px;
  border-top: 1px solid var(--line);
}

.sxm-footer a { color: var(--ink-soft); text-decoration: none; transition: color .2s ease; }
.sxm-footer a:hover { color: var(--gold); }

.sxm-footer-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}

.sxm-footer h3,
.sxm-footer h5 {
  font-family: var(--f-mono, var(--font-mono));
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin-bottom: 16px;
}

.sxm-footer-col-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.sxm-footer-tag {
  font-family: var(--f-display, var(--font-display));
  font-size: 24px;
  font-style: italic;
  font-weight: 300;
  line-height: var(--lh-snug);
  max-width: 320px;
  margin-bottom: 20px;
  color: var(--ink);
}

.sxm-footer-tag .hand {
  font-family: var(--f-script, var(--font-hand));
  color: var(--gold);
}

.sxm-footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.sxm-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.sxm-social-link svg {
  display: block;
  flex-shrink: 0;
}

.sxm-social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(168, 123, 63, .08);
}

.sxm-footer-newsletter-desc {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 16px;
  line-height: var(--lh-relaxed);
}

.sxm-footer-newsletter-form {
  display: flex;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  margin-bottom: 6px;
  padding-bottom: 6px;
}

.sxm-footer-newsletter-form input[type="email"] {
  background: transparent;
  color: var(--ink);
  border: none;
  flex: 1;
  padding: 8px 0;
  font-family: var(--f-text, var(--font-body));
  font-size: 14px;
}

.sxm-footer-newsletter-form input[type="email"]::placeholder { color: var(--ink-soft); opacity: .5; }
.sxm-footer-newsletter-form input[type="email"]:focus { outline: none; }

.sxm-footer-newsletter-form button[type="submit"] {
  padding: 8px 16px;
  background: var(--gold-deep);
  color: var(--bg);
  border: none;
  border-radius: 0;
  font-family: var(--f-mono, var(--font-mono));
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease;
}

.sxm-footer-newsletter-form button[type="submit"]:hover { background: var(--gold-deep); }

.sxm-footer-newsletter-note {
  font-family: var(--f-mono, var(--font-mono));
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--ink-soft);
}

.sxm-footer-bottom {
  max-width: 1440px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono, var(--font-mono));
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--ink-soft);
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.sxm-footer-bottom-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.sxm-footer-bottom-legal a { color: var(--ink-soft) !important; }
.sxm-footer-bottom-legal a:hover { color: var(--gold) !important; }

@media (max-width: 1023px) {
  .sxm-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .sxm-footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 599px) {
  .sxm-footer { padding: 48px 20px 24px; margin-top: 60px; }
  .sxm-footer-grid { grid-template-columns: 1fr; }
  .sxm-footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ============================================================
   Homepage — classes spécifiques
   Référence design : Design/assets/home.css + homepage.jsx
   Toutes valeurs via tokens.css — aucun hex en dur.
   ============================================================ */

/* ─── Utilitaires globaux (shared.css portés en prod) ───────────────────────── */

.container     { max-width: 1440px; margin: 0 auto; padding: 0 var(--s-6); }
.container-sm  { max-width: 1120px; margin: 0 auto; padding: 0 var(--s-6); }
.row-between   { display: flex; justify-content: space-between; align-items: center; }
.mono          { font-family: var(--font-mono); letter-spacing: .04em; }
.hand          { font-family: var(--font-hand); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--ink-soft);
}

.rule {
  display: flex; align-items: center; gap: var(--s-4);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: var(--text-xs); letter-spacing: var(--ls-widest);
  text-transform: uppercase;
}
.rule::before, .rule::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}

/* ─── Boutons ───────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-size: var(--text-sm); font-weight: 500;
  letter-spacing: var(--ls-wide); text-transform: uppercase;
  border-radius: var(--r-pill);
  transition: transform var(--transition-fast), background var(--transition-base),
              color var(--transition-base), border-color var(--transition-base);
  white-space: nowrap;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border: 0;
  padding: 18px 32px;
  font-family: var(--f-text, var(--font-body));
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-radius: 0;
  transition: opacity var(--transition-fast);
}
.btn-primary:hover  { opacity: 0.85; }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 14px 24px;
  font-family: var(--f-text, var(--font-body));
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 0;
  transition: border-color var(--transition-fast);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-coral    { background: var(--accent);  color: var(--white); border-radius: 0; }
.btn-coral:hover  { opacity: 0.85; }

.btn-outline  { border-color: currentColor; color: var(--ink); background: transparent; border-radius: 0; }
.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, .7);
  color: var(--white); background: rgba(255, 255, 255, .08);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, .18); }

.btn-sm { padding: 10px 18px; font-size: var(--text-xs); }
.btn-lg { padding: 18px 36px; font-size: var(--text-sm); }

/* ─── Chip / badge ──────────────────────────────────────────────────────────── */

.chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs); letter-spacing: .16em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 0; /* charte v2 : bords vifs partout */
  background: var(--bg);
  color: var(--gold);
  border: 1px solid var(--line);
}
/* .chip.coral (v1) : conservé comme alias le temps de purger le markup restant */
.chip.coral { background: var(--bg); color: var(--gold); }

/* ─── Placeholders image (dégradés CSS) ─────────────────────────────────────── */

.ph {
  position: relative; overflow: hidden;
  background: var(--soft);
  display: flex; align-items: center; justify-content: center;
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    45deg, transparent 0 14px, rgba(26, 25, 23, .04) 14px 15px
  );
}
.ph-lagoon {
  background:
    radial-gradient(ellipse at 20% 30%, var(--bg) 0%, transparent 55%),
    linear-gradient(180deg, var(--soft) 0%, var(--sand) 100%);
}
.ph-sunset {
  background:
    radial-gradient(circle at 75% 35%, var(--bg) 0%, transparent 52%),
    linear-gradient(180deg, var(--sand) 0%, var(--soft) 100%);
}
.ph-sand {
  background:
    radial-gradient(ellipse at 40% 80%, var(--soft) 0%, transparent 60%),
    linear-gradient(175deg, var(--soft) 0%, var(--soft) 100%);
}
.ph-deep {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, .14) 0%, transparent 50%),
    linear-gradient(180deg, var(--sand) 0%, var(--soft) 100%);
}
.ph-palm {
  background:
    radial-gradient(ellipse at 50% 100%, var(--bg) 0%, transparent 55%),
    linear-gradient(180deg, var(--soft) 0%, var(--sand) 100%);
}

/* ─── Hero ──────────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  height: 86vh; min-height: 720px;
  overflow: hidden;
  background: var(--gold-deep);
}
.hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 50%;
}
.hero-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 58, 68, .25) 0%,
    rgba(12, 58, 68, .05) 40%,
    rgba(26, 25, 23, .7) 100%
  );
}
.hero-haze {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255, 217, 164, .3) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 70%, rgba(224, 122, 95, .25) 0%, transparent 45%);
}
.hero-coord {
  position: absolute; top: 24px; right: var(--s-6);
  text-align: right; display: grid; gap: var(--s-1);
}
.hero-content {
  position: relative;
  max-width: 1440px; margin: 0 auto;
  padding: 0 var(--s-7) 120px;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white);
}
.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 300; font-style: italic;
  line-height: .88;
  letter-spacing: -0.04em;
  color: inherit;
  max-width: 900px;
}
.hero-sub {
  margin-top: 28px;
  font-size: 17px; line-height: var(--lh-relaxed);
  max-width: 400px;
  color: inherit; opacity: .9;
}
.hero-actions {
  display: flex; gap: var(--s-4); flex-wrap: wrap;
  margin-top: 40px;
}

/* Marquee défilant — contenu doublé pour défilement sans saut */
.hero-marquee {
  position: absolute; left: 0; right: 0; bottom: var(--s-6);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: var(--text-xs); letter-spacing: var(--ls-widest);
  color: rgba(255, 255, 255, .7);
  white-space: nowrap;
}
.hero-marquee-track {
  display: inline-flex; gap: 40px;
  animation: marquee 24s linear infinite;
}
.hero-marquee-track span { flex-shrink: 0; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── ShippingBar ───────────────────────────────────────────────────────────── */

/* Bande typographique v3 — cellules séparées par hairlines, sans icônes */
.shipping-bar {
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}
.shipping-bar-inner {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.shipping-bar-item {
  padding: 26px 28px;
  border-left: 1px solid var(--line);
}
.shipping-bar-item:first-child { border-left: 0; }
.shipping-bar-icon { display: none; }
.shipping-bar-title {
  font-family: var(--font-text, 'Inter', sans-serif);
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 6px;
}
.shipping-bar-sub {
  font-size: 12px; line-height: 1.6; color: var(--ink-soft); margin-top: 0;
}

/* ─── Collections grid ──────────────────────────────────────────────────────── */

.collections-section { padding: var(--s-9) var(--s-6); }
.collections-section .container { }
.collections-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s-5);
}
/* 5 cartes : 2 cartes ligne 1 (span 3) + 3 cartes ligne 2 (span 2) — grille remplie, sans trou */
.coll-card { grid-column: span 2; }
.coll-card:nth-child(1),
.coll-card:nth-child(2) { grid-column: span 3; }
.coll-card {
  display: grid; gap: 20px;
  color: var(--ink); text-decoration: none;
}
.coll-card:hover .coll-img { transform: scale(1.005); }
.coll-img {
  aspect-ratio: 4/5;
  border-radius: var(--r-md);
  overflow: hidden; position: relative;
  transition: transform var(--transition-slow);
  background: var(--soft);
}
/* Toutes les cartes en 4/5 (cadrage portrait, adapté aux sujets debout) */
.coll-number {
  position: absolute; top: 20px; left: 20px;
  font-family: var(--font-mono);
  font-size: var(--text-xs); letter-spacing: var(--ls-widest);
  color: var(--white); padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: var(--r-pill);
}
.coll-meta {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px;
}
.coll-img-inner {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  object-position: 50% 15%; /* cadrage haut : garde les têtes, rogne par le bas */
}

/* ─── Featured products ─────────────────────────────────────────────────────── */

.featured-section { padding: 0 var(--s-6) var(--s-9); }
.featured-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 20px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line); padding-bottom: var(--s-5);
}
.featured-tabs {
  display: flex; gap: 2px; flex-wrap: wrap;
}
.featured-tab {
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: var(--text-xs); letter-spacing: .14em; text-transform: uppercase;
  border-radius: var(--r-pill);
  background: transparent; color: var(--ink-soft);
  border: none; cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.featured-tab.is-active,
.featured-tab[aria-selected="true"] {
  background: var(--ink); color: var(--bg);
}
.featured-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.featured-cta { text-align: center; margin-top: 56px; }

/* ─── Product card ──────────────────────────────────────────────────────────── */

.p-card {
  display: grid; gap: 14px;
  text-align: left; text-decoration: none; color: var(--ink);
}
.p-card-img {
  aspect-ratio: 4/5;
  border-radius: var(--r-md);
  overflow: hidden; position: relative;
  background: var(--soft);
}
.p-card-img .chip {
  position: absolute; top: 12px; left: 12px;
}
.p-card-img .quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  padding: 12px;
  background: color-mix(in oklab, var(--soft) 85%, transparent);
  backdrop-filter: blur(12px);
  border-radius: var(--r-sm);
  display: flex; gap: 6px; justify-content: center;
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--transition-base), transform var(--transition-base);
}
.p-card:hover .quick { opacity: 1; transform: translateY(0); }
.p-card .quick button {
  flex: 1;
  font-family: var(--font-mono);
  font-size: var(--text-xs); letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 6px; border-radius: var(--r-xs);
  background: var(--ink); color: var(--bg);
  border: none; cursor: pointer;
  transition: background var(--transition-fast);
}
.p-card .quick button:hover { background: var(--accent); }
.p-card-meta {
  display: flex; justify-content: space-between; gap: 12px; font-size: 14px;
}
.p-card-title {
  font-family: var(--font-display); font-style: italic;
  font-size: var(--text-lg); letter-spacing: var(--ls-tight);
}
.p-card-sub {
  font-family: var(--font-mono);
  font-size: var(--text-xs); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 2px;
}
.p-card-price { font-family: var(--font-mono); font-weight: 500; }
.p-swatches    { display: flex; gap: 6px; margin-top: var(--s-2); }
.p-swatch      { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line); }
.p-card-rating { margin-top: var(--s-2); color: var(--gold); font-size: 12px; line-height: 1; letter-spacing: 0.04em; }
.p-card-rating-count { color: var(--ink-soft, #6b6b6b); margin-left: 4px; font-family: var(--font-mono); font-size: 11px; }

/* ─── Storytelling ──────────────────────────────────────────────────────────── */

.story {
  display: grid; grid-template-columns: 1.1fr 1fr;
  min-height: 620px;
  background: var(--sand); /* maquette v3 — bande manifeste sur sable */
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.story-img {
  position: relative; overflow: hidden;
  background: var(--soft); /* jamais d'or en aplat — design system */
  min-height: 480px;
}
.story-hand {
  position: absolute; right: 48px; bottom: 48px;
}
.story-cap {
  position: absolute; right: 18px; bottom: -14px;
  font-family: var(--f-script, 'Caveat', cursive);
  font-size: 22px; line-height: 1;
  color: var(--ink);
  background: var(--bg);
  padding: 8px 14px;
  box-shadow: var(--shadow-polaroid);
  transform: rotate(-2deg);
  z-index: 2;
}
.story-content {
  padding: var(--s-9) 80px;
  display: flex; flex-direction: column; justify-content: center;
}
.story-content p { line-height: var(--lh-relaxed); color: var(--ink-soft); }
/* Le bloc manifesto pose ses textes sur `--sand` (#ecdcb8), nettement plus sombre
   que `--bg` : `--gold-deep` n'y atteint que 4,06:1, sous le seuil WCAG AA de
   4,5:1. La règle générale `.section-label` annonce « ~5.3:1 » — exact sur `--bg`,
   faux ici. `.chapter-roman` n'a pas de couleur propre et hérite de son parent,
   donc cette seule règle couvre les deux. Mesuré par axe le 13/08 (FR et EN). */
.story-content .section-label { color: var(--gold-on-sand, var(--gold-deep)); }
.story-content .story-actions { display: flex; gap: 20px; margin-top: 36px; flex-wrap: wrap; }

/* ─── Lookbook grid ─────────────────────────────────────────────────────────── */

.lookbook-section { padding: var(--s-9) var(--s-6); }
.lookbook-section .container { }
.lookbook-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 320px 320px;
  gap: 20px;
}
.lookbook-grid > div {
  border-radius: var(--r-md);
  position: relative; overflow: hidden;
}
.lb-a { grid-column: span 2; grid-row: span 2; }
.lb-b { grid-column: span 1; }
.lb-c { grid-column: span 1; grid-row: span 2; }
.lb-d { grid-column: span 1; }
.lb-e { grid-column: span 1; }
.lb-tag {
  position: absolute; top: 24px; left: 24px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: var(--text-xs); letter-spacing: .18em;
  line-height: 1.4;
}

/* ─── Journal ───────────────────────────────────────────────────────────────── */

.journal-section { padding: var(--s-9) var(--s-6); }
.journal-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.journal-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6);
}
.journal-card { display: grid; gap: var(--s-4); text-decoration: none; color: var(--ink); }
.journal-card-img { aspect-ratio: 4/3; border-radius: var(--r-md); }
.journal-card-read {
  font-family: var(--font-mono); font-size: var(--text-xs);
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
}
.journal-card-title { font-size: var(--text-2xl); letter-spacing: var(--ls-tight); }
.journal-card-excerpt { font-size: 15px; color: var(--ink-soft); line-height: var(--lh-relaxed); }

/* ─── Newsletter CTA ────────────────────────────────────────────────────────── */

.newsletter-section { padding: var(--s-9) var(--s-6); }
/* Newsletter v3 — charte : fond soft, hairlines, champ souligné + bouton encre.
 * Remplace le panneau sombre v1 (gold-deep + overlay corail + pill). */
.newsletter-cta {
  background: var(--soft); color: var(--ink);
  border-top: 1px solid var(--line);
  border-radius: 0; padding: 88px var(--pad-x, 40px);
  position: relative; overflow: hidden;
  max-width: none; margin: 0;
}
.newsletter-inner {
  position: relative;
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.newsletter-title {
  font-size: clamp(30px, 3.2vw, 44px); margin-top: 14px;
  color: var(--ink); line-height: 1.05; letter-spacing: -1px;
}
.newsletter-desc {
  margin-top: 16px; font-size: 13px;
  color: var(--ink-soft); max-width: 44ch; line-height: 1.7;
}
.newsletter-form { display: grid; gap: 12px; }
.newsletter-form-row {
  display: flex; gap: 0;
  border: 0; border-bottom: 1px solid var(--ink);
  border-radius: 0; overflow: visible;
  background: transparent;
  max-width: 460px;
}
.newsletter-form-row input[type="email"] {
  background: transparent; color: var(--ink);
  border: none; flex: 1; padding: 16px 0; font-size: 14px;
  font-family: var(--font-body);
}
.newsletter-form-row input[type="email"]::placeholder { color: var(--ink-soft); }
.newsletter-form-row input[type="email"]:focus { outline: none; }
.newsletter-form-row .newsletter-submit,
.newsletter-form-row .btn-primary {
  border-radius: 0; padding: 16px 26px;
  background: var(--ink); color: var(--bg); border: 0;
  font-family: var(--font-text, 'Inter', sans-serif);
  font-size: 11px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase;
  cursor: pointer;
  transition: opacity var(--t-fast, 160ms) var(--ease, ease);
}
.newsletter-form-row .newsletter-submit:hover { opacity: .85; }
.newsletter-note {
  display: flex; gap: var(--s-4);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em;
  color: var(--ink-soft);
}
.newsletter-feedback {
  font-family: var(--font-mono); font-size: var(--text-xs);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); min-height: 20px;
}

/* ─── Responsive homepage ───────────────────────────────────────────────────── */

@media (max-width: 1023px) {
  .shipping-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .shipping-bar-item { border-top: 1px solid var(--line); padding: 18px 16px; }
  .shipping-bar-item:nth-child(-n+2) { border-top: 0; }
  .shipping-bar-item:nth-child(odd) { border-left: 0; }
  .shipping-bar-item:nth-child(even) { border-left: 1px solid var(--line); }
  .featured-grid       { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .collections-grid    { grid-template-columns: repeat(2, 1fr); }
  .coll-card,
  .coll-card:nth-child(1),
  .coll-card:nth-child(2) { grid-column: span 1; }
  .journal-grid        { grid-template-columns: repeat(2, 1fr); }
  .newsletter-inner    { grid-template-columns: 1fr; gap: 40px; }
  .newsletter-cta      { padding: 60px 40px; }
  /* Story : 2 colonnes trop étroites (≈200px texte) — passage en 1 colonne */
  .story               { grid-template-columns: 1fr; min-height: auto; }
  .story-img           { aspect-ratio: 16/9; min-height: auto; }
  .story-content       { padding: 56px 40px; }
  .story-hand          { right: 24px; bottom: 24px; }
}

@media (max-width: 767px) {
  .hero                { height: 90vh; min-height: 600px; }
  .hero-content        { padding: 0 20px 80px; }
  .hero-coord          { right: 16px; top: 14px; font-size: 10px; }
  .hero-title          { font-size: clamp(56px, 18vw, 120px); letter-spacing: -0.03em; }
  .hero-actions        { flex-direction: column; align-items: flex-start; }
  .collections-grid    { grid-template-columns: 1fr; }
  .coll-card,
  .coll-card:nth-child(1),
  .coll-card:nth-child(2) { grid-column: span 1; }
  .featured-grid       { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .story               { grid-template-columns: 1fr; min-height: auto; }
  .story-img           { aspect-ratio: 4/5; min-height: auto; }
  .story-content       { padding: 60px 24px; }
  .lookbook-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 200px);
  }
  .lb-a { grid-column: span 2; grid-row: span 1; }
  .lb-b, .lb-c, .lb-d, .lb-e { grid-column: span 1; grid-row: span 1; }
  .journal-grid        { grid-template-columns: 1fr; }
  /* mobile : la bande garde le 2x2 (défini au breakpoint 1023) */
  .newsletter-cta      { padding: 48px 16px; }
  .newsletter-inner    { grid-template-columns: 1fr; gap: 32px; }
  .container, .container-sm { padding: 0 20px; }
  .collections-section,
  .featured-section,
  .lookbook-section,
  .journal-section,
  .newsletter-section { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 414px) {
  .hero-title          { font-size: clamp(48px, 16vw, 80px); }
  .featured-grid       { grid-template-columns: 1fr; }
}

/* ──────────────────────────────────────────────────────────────────────────
 * Liens éditoriaux — conformité WCAG AA sur fond clair (white/paper)
 * Coral #E07A5F → 2.88:1 sur blanc (échec). Lagoon-deep #1E7A8C → 4.86:1 (ok).
 * ──────────────────────────────────────────────────────────────────────── */
.entry-content a:not([class]),
.entry-content p a,
.wp-block-paragraph a,
.post-content a:not([class]) {
  color: var(--gold-deep);
  text-decoration: underline;
}
.entry-content a:not([class]):hover,
.wp-block-paragraph a:hover {
  color: var(--gold);
}

/* ──────────────────────────────────────────────────────────────────────────
   WPML — Masquer l'indicateur "Development Site" (non-prod, ne s'affiche pas
   en production avec licence WPML active)
   ──────────────────────────────────────────────────────────────────────── */
.otgs-development-site-front-end { display: none !important; }

/* ──────────────────────────────────────────────────────────────────────────
 * WooCommerce — Override boutons loop pour conformité WCAG AA
 * Blocksy default : bleu #2872fa + texte blanc 70% → ratio 2.87:1 (échec).
 * Override avec encre/sable : ratio > 16:1 (conforme).
 * ──────────────────────────────────────────────────────────────────────── */
/* Loop classique */
.woocommerce .products .button,
.woocommerce .products a.button,
.woocommerce ul.products li.product .button {
  background-color: var(--ink) !important;
  color: var(--bg) !important;
  border-radius: 0 !important;
  opacity: 1 !important;
}
.woocommerce .products .button:hover,
.woocommerce .products a.button:hover {
  background-color: var(--gold-deep) !important;
  color: var(--white) !important;
}

/* WooCommerce Blocks grid (wc-block-grid) */
.wc-block-grid__products .wc-block-grid__product-add-to-cart a,
.wc-block-grid__products .button,
.wc-block-grid__product-add-to-cart a.wp-block-button__link,
a[data-product_id] {
  background-color: var(--ink) !important;
  color: var(--bg) !important;
  border-radius: 0 !important;
  opacity: 1 !important;
}

/* Titres produit WC Blocks — ink sur fond blanc */
.wc-block-grid__product-title,
.wc-block-grid__product-link {
  color: var(--ink) !important;
}

/* ============================================================
   COMPOSANTS DESIGN v2 — Sandy Ivory × Gold
   Source : design/design-system/design-system.html
           design/hifi/styles.css
   GPS : 18°07'04" N · 63°03'23" W
   ============================================================ */

/* ─── Layout primitives v2 ──────────────────────────────────── */

.page-pad { padding: var(--pad-y) var(--pad-x); }
@media (max-width: 767px) { .page-pad { padding: 48px 16px; } }

.divider-line {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.edi-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.edi-grid-3 > * { background: var(--bg); padding: 32px; }
@media (max-width: 767px) {
  .edi-grid-3 { grid-template-columns: 1fr; }
}

.two-col {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
}
@media (max-width: 1023px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}

/* ─── Header / Nav v2 ───────────────────────────────────────── */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px var(--pad-x);
  gap: 24px;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color 150ms;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gold);
}
.nav-actions {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  align-items: center;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.nav-actions button {
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 0;
}
.nav-actions button:hover { color: var(--gold); }

.logo-mark {
  display: inline-flex;
  align-items: center;
  user-select: none;
}
.logo-mark img {
  display: block;
  height: 100px;
  width: 200px;
  object-fit: contain;
}
@media (max-width: 767px) { .logo-mark img { height: 64px; width: auto; } }

.cart-badge {
  display: inline-block;
  margin-left: 6px;
  font-family: var(--f-mono, var(--font-mono));
  font-size: 9px;
  color: var(--gold);
}

@media (max-width: 1023px) {
  .nav-links { display: none; }
}

/* ─── Footer v2 ─────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 64px var(--pad-x) 32px;
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.footer-grid h5 {
  font-family: var(--f-text, var(--font-body));
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  font-weight: 500;
  margin: 0 0 16px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; font-size: 12px; }
.footer-grid li a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 11px;
  color: var(--ink-soft);
}
@media (max-width: 767px) { .footer-bottom { flex-direction: column; gap: 12px; } }

.newsletter-input {
  display: flex;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  margin-top: 12px;
}
.newsletter-input input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  color: var(--ink);
  font-family: var(--f-text, var(--font-body));
  font-size: 12px;
  padding: 4px 0;
}
.newsletter-input button {
  background: none;
  border: 0;
  color: var(--gold);
  font-family: var(--f-mono, var(--font-mono));
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ─── Polaroid ──────────────────────────────────────────────── */

.polaroid-wrap {
  display: inline-block;
}
.polaroid {
  background: var(--white);
  padding: 7px 7px 26px;
  box-shadow: var(--shadow-polaroid);
  display: inline-block;
}
[data-palette="noir"] .polaroid { background: var(--soft); }
.polaroid .pol-img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  background: var(--soft);
}
.polaroid .pol-caption {
  font-family: var(--f-hand, 'Caveat', cursive);
  font-weight: 500;
  font-size: 18px;
  color: var(--gold-deep); /* ratio ~5.3:1 WCAG AA */
  text-align: center;
  margin-top: 6px;
  line-height: 1.1;
}

/* ─── Quote band ────────────────────────────────────────────── */

.quote-band {
  background: var(--quote-bg, var(--sand));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
}
@media (max-width: 767px) {
  .quote-band { grid-template-columns: 1fr; padding: 20px 16px; gap: 12px; }
}
.quote-band .quote {
  font-family: var(--f-display, var(--font-display));
  font-style: italic;
  font-weight: 300;
  font-size: 24px;
  line-height: 1.4;
  color: var(--ink);
}
@media (max-width: 767px) { .quote-band .quote { font-size: 16px; } }
.quote-band .attribution {
  font-family: var(--f-mono, var(--font-mono));
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

/* ─── Photo placeholder ─────────────────────────────────────── */

.photo-ph {
  background: var(--soft);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}
.photo-ph[data-tone="warm"]  { background: linear-gradient(0deg, var(--ph-warm-line) 0 1px, transparent 1px 8px), var(--ph-warm); }
.photo-ph[data-tone="sage"]  { background: linear-gradient(0deg, var(--ph-sage-line) 0 1px, transparent 1px 8px), var(--ph-sage); }
.photo-ph[data-tone="light"] { background: linear-gradient(0deg, var(--ph-light-line) 0 1px, transparent 1px 8px), var(--ph-light); }
.photo-ph[data-tone="cool"]  { background: linear-gradient(0deg, var(--ph-cool-line) 0 1px, transparent 1px 8px), var(--ph-cool); }
.photo-ph[data-tone="sand"]  { background: linear-gradient(0deg, var(--ph-sand-line) 0 1px, transparent 1px 8px), var(--ph-sand); }
.photo-ph[data-tone="ink"]   { background: linear-gradient(0deg, var(--ph-ink-line) 0 1px, transparent 1px 8px), var(--ph-ink); }

.photo-ph .ph-label {
  font-family: var(--f-mono, var(--font-mono));
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(40,30,20,0.55);
  background: rgba(255,255,255,0.5);
  padding: 4px 10px;
  border: 1px solid rgba(40,30,20,0.15);
}

/* ─── Product card v2 ───────────────────────────────────────── */

.product-card { display: block; cursor: pointer; }
.product-card .pc-img-wrap {
  aspect-ratio: 3 / 4;
  background: var(--soft);
  position: relative;
  overflow: hidden;
}
.product-card .pc-img-wrap > * {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  transition: transform 600ms ease;
}
.product-card:hover .pc-img-wrap > * { transform: scale(1.03); }
.product-card .pc-tag {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--f-mono, var(--font-mono));
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(253,250,243,0.85);
  padding: 4px 8px;
  z-index: 2;
}
.product-card .pc-name {
  font-family: var(--f-display, var(--font-display));
  font-weight: 300;
  font-size: 18px;
  line-height: 1.2;
  margin: 14px 0 4px;
}
.product-card .pc-meta {
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.product-card .pc-price { font-size: 14px; margin-top: 4px; color: var(--ink); }

/* ─── Filter sidebar v2 ─────────────────────────────────────── */

.filter-sidebar {
  position: sticky;
  top: calc(var(--nav-h, 126px) + 16px);
  align-self: start;
}
.filter-group { border-bottom: 1px solid var(--line); padding: 18px 0; }
.filter-group:first-child { padding-top: 0; }
.filter-group h4 {
  font-family: var(--f-text, var(--font-body));
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  font-weight: 500;
  margin: 0 0 12px;
}
.filter-list { list-style: none; padding: 0; margin: 0; }
.filter-list li {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 4px 0;
  cursor: pointer;
  color: var(--ink-soft);
  transition: color 150ms;
}
.filter-list li:hover,
.filter-list li.active { color: var(--ink); }
.filter-list li .count { font-family: var(--f-mono, var(--font-mono)); font-size: 10px; color: var(--ink-soft); }
.filter-list li.active::before { content: "↳ "; color: var(--gold); }

.shop-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
}
@media (max-width: 1023px) { .shop-layout { grid-template-columns: 1fr; } }

/* ─── Formulaires v2 ────────────────────────────────────────── */

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label {
  font-family: var(--f-mono, var(--font-mono));
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}
.field input,
.field textarea,
.field select {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 10px 0;
  font-family: var(--f-text, var(--font-body));
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 200ms;
  border-radius: 0;
}
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--ink); }
.field textarea { resize: vertical; min-height: 100px; }

/* ─── Swatch / size selectors ───────────────────────────────── */

.swatch-row { display: flex; gap: 10px; }
.swatch {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 150ms;
}
.swatch:hover { transform: scale(1.05); }
.swatch.active { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }

.size-row { display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn {
  background: transparent;
  border: 1px solid var(--line);
  width: 44px; height: 44px;
  font-family: var(--f-text, var(--font-body));
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--ink);
  transition: all 150ms;
  border-radius: 0;
}
.size-btn:hover { border-color: var(--ink); }
.size-btn.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ─── Qty stepper ───────────────────────────────────────────── */

.qty-stepper {
  display: inline-flex;
  border: 1px solid var(--line);
  align-items: stretch;
}
.qty-stepper button {
  background: transparent;
  border: 0;
  width: 32px;
  font-size: 14px;
  color: var(--ink);
}
.qty-stepper button:hover { color: var(--gold); }
.qty-stepper .qty {
  font-family: var(--f-mono, var(--font-mono));
  font-size: 12px;
  display: grid;
  place-items: center;
  min-width: 36px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

/* ─── Tag gold ──────────────────────────────────────────────── */

.tag-gold {
  display: inline-block;
  font-family: var(--f-mono, var(--font-mono));
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 3px 8px;
}

/* ─── Link arrow ────────────────────────────────────────────── */

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: all 150ms;
  width: fit-content;
}
.link-arrow:hover { color: var(--gold); border-color: var(--gold); }

/* ─── Roman numeral block ───────────────────────────────────── */

.roman-num {
  font-family: var(--f-display, var(--font-display));
  font-style: italic;
  font-weight: 300;
  font-size: 32px;
  color: var(--gold);
  margin: 0 0 10px;
}

/* ─── Scroll cue ────────────────────────────────────────────── */

.scroll-cue {
  font-family: var(--f-mono, var(--font-mono));
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
}

/* ─── Toast ─────────────────────────────────────────────────── */

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--bg);
  padding: 14px 22px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 1000;
  font-family: var(--f-mono, var(--font-mono));
  border: 1px solid var(--ink);
  animation: toastIn 200ms ease-out;
}
@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

/* ─── Manifesto block ───────────────────────────────────────── */

.manifesto {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 96px 24px;
}
.manifesto p {
  font-family: var(--f-display, var(--font-display));
  font-style: italic;
  font-weight: 300;
  font-size: 28px;
  line-height: 1.45;
  color: var(--ink);
  margin: 24px 0 0;
}

/* ─── Triptyque about (I / II / III) ───────────────────────── */

.tri-block {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tri-block > div { background: var(--bg); padding: 40px; }
@media (max-width: 767px) { .tri-block { grid-template-columns: 1fr; } }

/* ─── Cart / Checkout layout v2 ─────────────────────────────── */

.cart-layout { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 64px; }
@media (max-width: 1023px) { .cart-layout { grid-template-columns: 1fr; } }

.cart-line {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.cart-summary {
  border: 1px solid var(--line);
  padding: 32px;
  position: sticky;
  top: calc(var(--nav-h, 126px) + 16px);
  align-self: start;
  background: var(--soft);
}
.cart-summary .row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 13px;
}
.cart-summary .row.total {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 18px;
  font-family: var(--f-display, var(--font-display));
  font-size: 28px;
  font-weight: 300;
  align-items: baseline;
}

/* Checkout steps */
.checkout-steps {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  font-family: var(--f-mono, var(--font-mono));
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-soft);
  flex-wrap: wrap;
}
.checkout-steps .step.active { color: var(--ink); }
.checkout-steps .step.done   { color: var(--gold); }

/* ─── Account layout v2 ─────────────────────────────────────── */

.account-layout { display: grid; grid-template-columns: 220px 1fr; gap: 48px; }
@media (max-width: 767px) { .account-layout { grid-template-columns: 1fr; } }

.account-nav { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.account-nav button {
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-family: var(--f-text, var(--font-body));
}
.account-nav button.active { color: var(--ink); }
.account-nav button.active::before { content: "↳"; color: var(--gold); margin-right: 8px; }
.account-nav button:hover { color: var(--ink); }

/* Order table */
.order-table { width: 100%; border-collapse: collapse; }
.order-table th,
.order-table td {
  text-align: left;
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.order-table th {
  font-family: var(--f-mono, var(--font-mono));
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}
.order-table td.date,
.order-table td.id  { font-family: var(--f-mono, var(--font-mono)); font-size: 11px; }
.order-table td.total { font-family: var(--f-display, var(--font-display)); font-size: 18px; }

/* ─── Mobile drawer v2 ──────────────────────────────────────── */

.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 100;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-drawer a {
  font-family: var(--f-display, var(--font-display));
  font-size: 28px;
  font-weight: 300;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

/* ─── Map SXM ───────────────────────────────────────────────── */

.sxm-map {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--soft);
  position: relative;
  border: 1px solid var(--line);
}
.sxm-map .marker {
  position: absolute;
  width: 10px; height: 10px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--bg);
  transform: translate(-50%, -50%);
}
.sxm-map .marker::after {
  content: attr(data-name);
  position: absolute;
  left: 14px; top: -4px;
  font-family: var(--f-mono, var(--font-mono));
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

/* ─── Thumb gallery ─────────────────────────────────────────── */

.thumb-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.thumb-row .thumb {
  aspect-ratio: 1/1;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 150ms;
  border: 1px solid transparent;
}
.thumb-row .thumb:hover,
.thumb-row .thumb.active { opacity: 1; border-color: var(--gold); }

/* ─── Look numbers (Lookbook) ───────────────────────────────── */

.look-num {
  font-family: var(--f-display, var(--font-display));
  font-style: italic;
  font-weight: 300;
  font-size: 28px;
  color: var(--gold);
  margin: 16px 0 4px;
}

/* ─── Palette transition ────────────────────────────────────── */

body {
  transition: background 200ms ease, color 200ms ease;
}

/* ═══════════════════════════════════════════════════════════════
   DESIGN SYSTEM v2 — Composants éditoriaux hifi
   Source : design/hifi/components.jsx + design/hifi/styles.css
   Palette Sandy Ivory × Gold · session 2026-04-27
   ═══════════════════════════════════════════════════════════════ */

/* ─── Footer v2 — Sandy Ivory (override v1 dark) ────────────── */
/* Variables CSS avec fallback inline pour anciens navigateurs */

.sxm-footer {
  background: var(--soft, #f5ede0) !important;
  color: var(--ink, #1a1a1a) !important;
  border-top: 1px solid var(--line, #d8cfb6);
}
.sxm-footer a {
  color: var(--ink-soft, #4a4a4a) !important;
}
.sxm-footer a:hover {
  color: var(--gold) !important;
}
.sxm-footer h3,
.sxm-footer h5 {
  color: var(--gold-deep) !important; /* ratio ~4.74:1 WCAG AA sur --soft */
  font-family: var(--f-mono, var(--font-mono)) !important;
  font-size: 10px !important;
  letter-spacing: 2.5px !important;
}
.sxm-footer-grid {
  border-bottom-color: var(--line) !important;
}
.sxm-footer-tag {
  color: var(--ink) !important;
}
.sxm-footer-tag .hand {
  color: var(--gold) !important;
}
.sxm-social-link {
  border-color: var(--line) !important;
  color: var(--ink-soft) !important;
}
.sxm-social-link:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  background: rgba(168, 123, 63, .08) !important;
}
.sxm-footer-newsletter-desc {
  color: var(--ink-soft) !important;
}
.sxm-footer-newsletter-form {
  border-color: var(--line) !important;
}
.sxm-footer-newsletter-form input[type="email"] {
  color: var(--ink) !important;
  background: var(--bg) !important;
}
.sxm-footer-newsletter-form input[type="email"]::placeholder {
  color: var(--ink-soft) !important;
  opacity: 0.5;
}
.sxm-footer-newsletter-form button[type="submit"] {
  background: var(--gold-deep) !important; /* ratio ~5.3:1 WCAG AA */
  color: var(--bg) !important;
}
.sxm-footer-newsletter-form button[type="submit"]:hover {
  background: var(--ink) !important;
}
.sxm-footer-newsletter-note {
  color: var(--ink-soft) !important;
}
.sxm-footer-bottom {
  color: var(--ink-soft) !important;
  border-top: 1px solid var(--line);
}
.sxm-footer-bottom a,
.sxm-footer-bottom-legal a {
  color: var(--ink-soft) !important;
}
.sxm-footer-bottom-legal a:hover {
  color: var(--gold) !important;
}

/* ─── Typography utilities ───────────────────────────────────── */

.f-display {
  font-family: var(--f-display, var(--font-display));
  font-weight: 300;
  letter-spacing: -0.01em;
}
.h1-display {
  font-family: var(--f-display, var(--font-display));
  font-weight: 300;
  font-size: clamp(56px, 10vw, 140px);
  letter-spacing: -0.02em;
  line-height: 0.9;
}
.h3-display {
  font-family: var(--f-display, var(--font-display));
  font-weight: 300;
  font-size: clamp(22px, 2.5vw, 30px);
  letter-spacing: -0.01em;
}

/* ─── CoordsStamp ────────────────────────────────────────────── */

.coords {
  font-family: var(--f-mono, var(--font-mono));
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* ─── Section label (eyebrow gold) ──────────────────────────── */

.section-label {
  font-family: var(--f-mono, var(--font-mono));
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  /* 5,31:1 sur `--bg` (#fdfaf3) — conforme AA. ⚠️ Un ratio dépend du FOND : sur
     `--sand` cette même couleur tombe à 4,06:1 et échoue. D'où la surcharge
     `.story-content .section-label`. */
  color: var(--gold-deep);
  margin-bottom: 12px;
}

/* ─── Roman numeral ──────────────────────────────────────────── */

.roman-num {
  font-family: var(--f-display, var(--font-display));
  font-weight: 300;
  font-size: 28px;
  color: var(--ink-soft);
  margin-top: 20px;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

/* ─── Scroll cue ─────────────────────────────────────────────── */

.scroll-cue {
  display: inline-block;
  font-family: var(--f-text, var(--font-body));
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 48px;
}

/* ─── Link arrow ─────────────────────────────────────────────── */

.link-arrow {
  display: inline-block;
  font-family: var(--f-text, var(--font-body));
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  text-decoration: none;
  transition: color 160ms, border-color 160ms;
}
.link-arrow:hover { color: var(--gold); border-color: var(--gold); }

/* ─── Polaroid ───────────────────────────────────────────────── */

.polaroid-wrap {
  display: inline-block;
  transform: rotate(var(--pol-rotate, -3deg));
}
.polaroid {
  background: var(--white);
  padding: 10px 10px 28px;
  box-shadow: 0 4px 20px rgba(26, 26, 26, .14);
}
.pol-img {
  overflow: hidden;
  background: var(--soft);
}
.pol-caption {
  font-family: var(--f-hand, 'Caveat', cursive);
  font-weight: 500;
  font-size: 17px;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 8px;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

/* ─── Photo placeholder (hifi tones) ────────────────────────── */

.photo-ph {
  position: relative;
  overflow: hidden;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-ph[data-tone="warm"] { background: var(--soft); }
.photo-ph[data-tone="sage"] { background: var(--ph-sage-pale); }
.photo-ph[data-tone="light"] { background: var(--sand); }
.photo-ph[data-tone="cool"] { background: var(--ph-cool-pale); }
.ph-label {
  font-family: var(--f-mono, var(--font-mono));
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.6;
}

/* ─── Quote band ─────────────────────────────────────────────── */

.quote-band {
  background: var(--soft);
  padding: 64px var(--s-6, 40px);
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quote-band .quote {
  font-family: var(--f-display, var(--font-display));
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.4;
}
.quote-band .attribution {
  font-family: var(--f-mono, var(--font-mono));
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 20px;
}

/* ─── Editorial 3-column grid ────────────────────────────────── */

.edi-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}
.edi-grid-3 > * {
  background: var(--bg);
  padding: 32px;
}

@media (max-width: 767px) {
  .edi-grid-3 { grid-template-columns: 1fr; }
}

/* ─── Nav centre (hifi v2) ───────────────────────────────────── */

.sxm-nav-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ─── Page Notre histoire — markup .nh-* ────────────────────── */

.nh-hero {
  position: relative;
  background: var(--bg);
  padding: calc(var(--nav-h, 80px) + 64px) var(--pad-x, 40px) 96px;
}
.nh-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.nh-hero-text {
  min-width: 0;
}
.nh-hero-polaroid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}
.nh-polaroid {
  width: clamp(200px, 22vw, 300px);
}
.nh-polaroid .pol-img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
@media (max-width: 900px) {
  .nh-hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .nh-hero-polaroid {
    justify-content: flex-start;
  }
  .nh-polaroid { width: clamp(160px, 50vw, 240px); }
}
@media (max-width: 767px) {
  .nh-hero { padding: calc(var(--nav-h, 64px) + 40px) 20px 64px; }
}
.nh-epigraph {
  font-family: var(--f-display, 'Cormorant Garamond', serif);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  line-height: 1.55;
  color: var(--ink-soft);
  border-left: 2px solid var(--gold);
  padding-left: 20px;
  margin-bottom: 48px;
  max-width: 600px;
}
.nh-chapter {
  padding: 80px var(--pad-x, 40px);
  max-width: 840px;
  margin: 0 auto;
}
.nh-chapter-title {
  font-family: var(--f-display, 'Cormorant Garamond', serif);
  font-weight: 300;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 24px;
}
.nh-chapter p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 16px;
}
.nh-chapter p:last-child { margin-bottom: 0; }
.nh-chapter a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nh-chapter a:hover { color: var(--gold); }
.nh-chapter-photo {
  width: 100%;
  margin: 48px 0;
}
.nh-chapter-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.nh-signature {
  font-family: var(--f-display, 'Cormorant Garamond', serif);
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  color: var(--ink-soft);
  margin-top: 32px;
}
.nh-divider {
  border: none;
  border-top: 1px solid var(--line);
  max-width: 840px;
  margin: 0 auto;
}
.nh-cta {
  padding: 96px var(--pad-x, 40px);
  text-align: center;
  background: var(--soft);
}
.nh-cta-lead {
  font-family: var(--f-display, 'Cormorant Garamond', serif);
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
  color: var(--ink-soft);
  margin-bottom: 32px;
}
@media (max-width: 767px) {
  .nh-hero { padding-top: calc(var(--nav-h, 64px) + 40px); }
  .nh-chapter { padding: 48px 20px; }
  .nh-epigraph { font-size: 18px; }
  .nh-chapter-title { font-size: clamp(24px, 5vw, 32px); }
  .nh-cta { padding: 64px 20px; }
}

/* ─── Hero éditorial (hifi v2) ───────────────────────────────── */

.hero-editorial {
  padding: 80px var(--s-6, 40px) 60px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero-editorial-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: flex-end;
  max-width: 1440px;
  margin: 0 auto;
}
.hero-editorial-polaroid {
  position: relative;
  padding-right: 20px;
  padding-bottom: 20px;
}
/* Sizing piloté ici (et non plus en inline) pour rester responsive.
   Proportions polaroïd : image quasi carrée + marge basse épaisse. */
.hero-editorial-polaroid .polaroid {
  width: 220px;
  padding: 12px 12px 44px;
}
.hero-editorial-cue { margin-top: 80px; }
@media (max-width: 1023px) and (min-width: 768px) {
  .hero-editorial { padding: 60px var(--pad-x) 48px; }
  /* Composition côte à côte conservée en tablette : évite le grand vide
     vertical de l'empilement (texte pleine largeur + polaroid orphelin). */
  .hero-editorial-inner { grid-template-columns: 1fr auto; gap: 24px; }
  .hero-editorial-cue { margin-top: 48px; }
  .hero-editorial-polaroid {
    margin-top: 0;
    padding-right: 0;
  }
  .hero-editorial-polaroid .polaroid { width: 180px; }
}
@media (max-width: 767px) {
  .hero-editorial { padding: 48px 20px 40px; }
  .hero-editorial-inner { grid-template-columns: 1fr; }
  .hero-editorial-cue { margin-top: 48px; }
  .hero-editorial-polaroid {
    margin-top: 32px;
    padding-right: 0;
  }
  .hero-editorial-polaroid .polaroid { width: 190px; }
}


/* ============================================================
 * ÉDITORIAL v3 — chapitres romains, triptyque légendé
 * (editorial-redesign-v3)
 * ============================================================ */

.chapter-roman {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.5em;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

/* Triptyque éditorial : 1 large 4:3 + 2 portraits 3:4, légendes mono */
.lookbook-grid--triptych {
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  grid-template-rows: none;
  gap: 24px;
  align-items: start;
}

.lookbook-grid--triptych .lb-fig {
  margin: 0;
  border-radius: 0;
  position: static;
  overflow: visible;
}

.lookbook-grid--triptych .lb-fig-media {
  position: relative;
  overflow: hidden;
  background: var(--soft);
}

.lookbook-grid--triptych .lb-fig-1 .lb-fig-media { aspect-ratio: 4 / 3; }
.lookbook-grid--triptych .lb-fig-2 .lb-fig-media,
.lookbook-grid--triptych .lb-fig-3 .lb-fig-media { aspect-ratio: 3 / 4; }

.lookbook-grid--triptych figcaption {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.5px;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* `--gold` (#a87b3f) sur le fond clair des légendes ne donne que 3,64:1, sous le
   seuil WCAG AA de 4,5:1 — et à 9px il ne s'agit pas de « grand texte », donc le
   seuil abaissé de 3:1 ne s'applique pas. `--gold-deep` monte à 5,31:1 tout en
   restant dans la famille dorée. Mesuré par axe le 13/08 sur la page d'accueil,
   FR et EN. */
.lookbook-grid--triptych figcaption b {
  color: var(--gold-deep);
  font-weight: 500;
}

@media (max-width: 760px) {
  .lookbook-grid--triptych {
    grid-template-columns: 1fr 1fr;
  }

  .lookbook-grid--triptych .lb-fig-1 {
    grid-column: span 2;
  }
}

/* Accent italique or dans le H1 du hero (maquette v3) */
.hero-editorial .h1-display em {
  font-style: italic;
  color: var(--gold);
}
