/* ==========================================================================
   Gafas Raysol — site.css
   Système de design « Luz del Mediterráneo » (BRIEF §4) : papier chaud, encre,
   un seul accent (carey), Instrument Serif / Instrument Sans, beaucoup d'air.
   --------------------------------------------------------------------------
   01  Jetons
   02  Base
   03  Typographie et utilitaires
   04  Boutons, liens, champs, icônes
   05  Barre d'annonce
   06  En-tête, navigation, méga-menu
   07  Tiroirs et dialogues (menu, cesta, recherche, filtres, zoom)
   08  Notice et toasts
   09  Pied de page
   10  Composants (sections, carte produit, carrousel, onglets, accordéons, fil d'Ariane)
   11  Accueil
   12  Boutique (collections, filtres, tri)
   13  Fiche produit
   14  Pages de contenu (prose, sommaire, crédits, aide)
   15  Schémas (mesures, formes de visage) — repris de _sources/brand/diagrams.css
   16  Mouvement réduit, impression
   ========================================================================== */


/* 01 — Jetons
   ========================================================================== */
:root {
  /* Palette (BRIEF §4) */
  --paper: #FAF8F5;
  --sand: #F1ECE4;
  --sand-2: #E6DED2;
  --line: #E3DCD2;
  --ink: #161513;
  --ink-2: #3E3A35;
  --muted: #6F6A62;
  --carey: #9C5A2B;
  --carey-dark: #7A4320;
  --sea: #1E4B5A;
  --white: #FFFFFF;
  --paper-rgb: 250 248 245;
  --ink-rgb: 22 21 19;

  /* Polices (auto-hébergées, voir fonts.css) */
  --font-serif: "Instrument Serif", "Instrument Serif Fallback", Georgia, serif;
  --font-sans: "Instrument Sans", "Instrument Sans Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Échelle fluide */
  --fs-display: clamp(2.75rem, 1.45rem + 5vw, 5.5rem);   /* 44 → 88 px */
  --fs-1: clamp(2.5rem, 1.75rem + 2.9vw, 4.25rem);        /* 40 → 68 px */
  --fs-2: clamp(2.125rem, 1.6rem + 2.05vw, 3.5rem);       /* 34 → 56 px */
  --fs-3: clamp(1.625rem, 1.4rem + 0.9vw, 2.25rem);       /* 26 → 36 px */
  --fs-4: clamp(1.375rem, 1.27rem + 0.42vw, 1.625rem);    /* 22 → 26 px */
  --fs-lead: clamp(1.125rem, 1.06rem + 0.28vw, 1.3125rem);/* 18 → 21 px */
  --fs-body: clamp(1rem, 0.975rem + 0.1vw, 1.0625rem);    /* 16 → 17 px */
  --fs-sm: 0.9375rem;                                      /* 15 px */
  --fs-xs: 0.8125rem;                                      /* 13 px */
  --fs-micro: 0.75rem;                                     /* 12 px */

  /* Grille et rythme */
  --container: 1440px;
  --gutter: clamp(20px, 3.4vw, 48px);
  --gap: clamp(16px, 1.7vw, 24px);
  --section: clamp(64px, 3rem + 5.2vw, 136px);
  --radius: 2px;
  --radius-2: 4px;
  --header-h: 76px;
  --header-h-compact: 60px;

  /* Mouvement et profondeur */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 2px rgb(var(--ink-rgb) / .05), 0 18px 48px -18px rgb(var(--ink-rgb) / .22);

  color-scheme: light;
  interpolate-size: allow-keywords;
}

@media (max-width: 1023.98px) {
  :root { --header-h: 64px; --header-h-compact: 56px; }
}


/* 02 — Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h-compact) + 24px);
  /* éléments fixes en bas (notice, barre d'achat) : le focus clavier ne doit jamais passer dessous */
  scroll-padding-bottom: calc(var(--notice-offset, 0px) + var(--notice-h, 0px) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html.has-dialog { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
a { color: inherit; }
p, ul, ol, dl, dd, figure, blockquote, address { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
address { font-style: normal; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }

::selection { background: var(--carey); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.site-main:focus { outline: none; }
.site-main { display: block; }


/* 03 — Typographie et utilitaires
   ========================================================================== */
h1, h2, h3, h4,
.h-display, .h1, .h2, .h3, .h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 em, h2 em, h3 em, .h-display em { font-style: italic; letter-spacing: -0.005em; }
.h-display { font-size: var(--fs-display); line-height: .98; }
.h1 { font-size: var(--fs-1); }
.h2 { font-size: var(--fs-2); }
.h3 { font-size: var(--fs-3); }
.h4 { font-size: var(--fs-4); }
p { text-wrap: pretty; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-micro);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); }
.tabular { font-variant-numeric: tabular-nums; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -120px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.section { padding-block: var(--section); }
.section--sand { background: var(--sand); }
.section--tight-top { padding-top: calc(var(--section) * .55); }


/* 04 — Boutons, liens, champs, icônes
   ========================================================================== */
.icon {
  width: 24px; height: 24px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 28px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { --btn-bg: var(--carey-dark); --btn-bd: var(--carey-dark); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--outline:hover { --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-bd: var(--ink); }
.btn--light { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-bd: var(--paper); }
.btn--light:hover { --btn-bg: var(--sand); --btn-fg: var(--ink); --btn-bd: var(--sand); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--paper); --btn-bd: rgb(var(--paper-rgb) / .7); }
.btn--outline-light:hover { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-bd: var(--paper); }
.btn--block { display: flex; width: 100%; }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: .875rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
  text-decoration-color: rgb(var(--ink-rgb) / .35);
  transition: text-decoration-color .25s var(--ease);
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover { text-decoration-color: currentColor; }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--light { color: var(--paper); text-decoration-color: rgb(var(--paper-rgb) / .5); }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), opacity .2s var(--ease);
}
.icon-btn:hover { background: rgb(var(--ink-rgb) / .05); }
.icon-btn .icon { width: 22px; height: 22px; }
.icon-btn--outline {
  width: 48px; height: 48px;
  border: 1px solid var(--sand-2);
  border-radius: 50%;
}
.icon-btn--outline .icon { width: 20px; height: 20px; }
.icon-btn--outline:hover { background: transparent; border-color: var(--ink); }
.icon-btn[disabled] { opacity: .3; cursor: default; }
.icon-btn--outline[disabled]:hover { border-color: var(--sand-2); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip__count { font-size: var(--fs-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.chip[aria-current="page"] .chip__count { color: rgb(var(--paper-rgb) / .7); }

.select {
  appearance: none;
  min-height: 44px;
  padding: 0 40px 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161513' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px 16px;
  font-size: var(--fs-sm);
  color: var(--ink);
  cursor: pointer;
}
.select:hover { border-color: var(--ink-2); }

.check {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  font-size: var(--fs-sm);
  color: var(--ink);
  cursor: pointer;
}
.check input {
  appearance: none;
  display: grid;
  place-items: center;
  flex: none;
  width: 18px; height: 18px;
  margin: 0;
  border: 1px solid var(--ink-2);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
}
.check input::after {
  content: "";
  width: 10px; height: 5px;
  border: solid var(--paper);
  border-width: 0 0 1.5px 1.5px;
  transform: translateY(-1px) rotate(-45deg);
  opacity: 0;
}
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { opacity: 1; }
.check input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.check__swatch {
  width: 16px; height: 16px;
  flex: none;
  border-radius: 50%;
  background: var(--swatch, var(--sand-2));
  box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / .2);
}
.check__count { margin-left: auto; font-size: var(--fs-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.check.is-disabled { color: var(--muted); cursor: default; }
.check.is-disabled input { border-color: var(--sand-2); cursor: default; }
@media (pointer: coarse) { .check { min-height: 44px; } }
/* case à cocher sur plusieurs lignes (consentement : contacto, checkout) ; liens en carey comme .prose a (m17) */
.check--top { align-items: flex-start; min-height: 0; line-height: 1.55; }
.check--top input { margin-top: 2px; }
.check--top a { color: var(--carey); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.check--top a:hover { color: var(--carey-dark); }
.check input[aria-invalid="true"] { border-color: var(--carey-dark); box-shadow: 0 0 0 1px var(--carey-dark); }

/* Champs de formulaire — système unique (contacto + checkout, M3) : 48 px, contour --muted
   (≥ 3:1, WCAG 1.4.11), fond papier, 16 px (pas de zoom iOS), erreur = anneau carey-dark ;
   ordre dans le DOM : libellé, saisie, aide, erreur. */
.field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.field__label { font-size: var(--fs-sm); font-weight: 500; line-height: 1.35; color: var(--ink); }
.field__opt { font-weight: 400; color: var(--muted); }
.field__input {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  background-color: var(--paper);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field__input:hover { border-color: var(--ink-2); }
.field__input:focus-visible { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 2px; }
.field__input::placeholder { color: var(--muted); opacity: 1; }
.field__input[aria-invalid="true"] { border-color: var(--carey-dark); box-shadow: inset 0 0 0 1px var(--carey-dark); }
select.field__input {
  appearance: none;
  padding-right: 44px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161513' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px 16px;
  cursor: pointer;
}
textarea.field__input { min-height: 168px; resize: vertical; }
.field__hint { font-size: var(--fs-xs); line-height: 1.5; color: var(--muted); }
.field__error {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1.45;
  color: var(--carey-dark);
}
.field__error:empty { display: none; }
.field__error .icon { flex: none; width: 16px; height: 16px; margin-top: 1px; stroke-width: 1.75; }

/* Message d'erreur général d'un formulaire (role="alert") — contacto et checkout (M4) */
.form-alert {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 20px;
  border-left: 2px solid var(--carey-dark);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--paper);
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--ink);
}
/* conteneur non interactif focalisé par script (annonce aux lecteurs d'écran) : pas d'anneau */
.form-alert:focus, .form-alert:focus-visible { outline: none; }
.form-alert .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--carey-dark); }
.form-alert__title { font-weight: 500; }
.form-alert p + p { margin-top: 6px; color: var(--ink-2); }
.form-alert a { color: var(--carey-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }

.qty {
  display: inline-grid;
  grid-template-columns: 44px minmax(36px, 1fr) 44px;
  align-items: stretch;
  height: 48px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
}
.qty__btn {
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}
.qty__btn .icon { width: 16px; height: 16px; }
.qty__btn:hover { background: rgb(var(--ink-rgb) / .05); }
.qty__btn[disabled] { opacity: .3; cursor: default; background: transparent; }
.qty__input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: var(--fs-sm);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty__input::-webkit-outer-spin-button,
.qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__input:focus-visible { outline-offset: -2px; }
.qty--sm { height: 44px; grid-template-columns: 44px 32px 44px; border-color: var(--line); }
/* iOS agrandit la page au focus d'un champ < 16 px : taille minimale sur mobile */
@media (max-width: 767.98px) {
  .select, .qty__input { font-size: 1rem; }
}


/* 05 — Barre d'annonce
   ========================================================================== */
.announce {
  background: var(--ink);
  color: var(--paper);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .02em;
}
.announce__inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 40px;
}
.announce__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 4vw, 72px);
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.announce__item {
  position: relative;
  padding-block: 10px;
  line-height: 1.4;
  text-align: center;
}
.announce__toggle {
  position: absolute;
  right: calc(var(--gutter) - 12px);
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgb(var(--paper-rgb) / .8);
}
.announce__toggle .icon { width: 14px; height: 14px; }
.announce__toggle .icon--play { display: none; }
.announce.is-paused .announce__toggle .icon--play { display: block; }
.announce.is-paused .announce__toggle .icon--pause { display: none; }
.announce :focus-visible { outline-color: var(--paper); }

@media (min-width: 1200px) {
  .announce__item + .announce__item::before {
    content: "";
    position: absolute;
    left: calc(clamp(28px, 4vw, 72px) / -2 - 2px);
    top: 50%;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: rgb(var(--paper-rgb) / .45);
    translate: 0 -50%;
  }
}
@media (max-width: 1199.98px) {
  .announce__inner { min-height: 44px; }
  .announce__list { display: grid; gap: 0; }
  .announce__item {
    grid-area: 1 / 1;
    padding-inline: 32px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .7s var(--ease), visibility 0s linear .7s;
  }
  .announce__item.is-active { opacity: 1; visibility: visible; transition: opacity .7s var(--ease), visibility 0s; }
  /* mouvement réduit : pas de rotation automatique, bouton « siguiente » (.announce__next, main.js) */
}


/* 06 — En-tête, navigation, méga-menu
   ========================================================================== */
.site-header {
  position: sticky;
  top: calc(var(--header-h-compact) - var(--header-h));
  z-index: 40;
  height: var(--header-h);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-compact { box-shadow: 0 10px 30px -24px rgb(var(--ink-rgb) / .35); }
.site-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "logo nav actions";
  align-items: center;
  column-gap: clamp(32px, 4vw, 72px);
  height: 100%;
  transition: transform .35s var(--ease);
}
.site-header.is-compact .site-header__inner {
  transform: translateY(calc((var(--header-h) - var(--header-h-compact)) / 2));
}

.site-logo {
  grid-area: logo;
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  transform-origin: left center;
  transition: transform .35s var(--ease);
}
.site-logo svg { height: 22px; width: auto; display: block; }
.site-header.is-compact .site-logo { transform: scale(.92); }

.header-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius);
}
.header-btn .icon { width: 22px; height: 22px; }
.header-btn:hover { background: rgb(var(--ink-rgb) / .05); }
.header-btn--menu { grid-area: menu; display: none; }
.site-header__actions { grid-area: actions; display: flex; align-items: center; gap: 4px; margin-right: -10px; }
.cart-count {
  position: absolute;
  top: 5px; right: 3px;
  display: grid;
  place-items: center;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--paper);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 2px var(--paper);
}

.site-nav { grid-area: nav; height: 100%; }
.site-nav__list {
  display: flex;
  align-items: stretch;
  gap: clamp(18px, 2.3vw, 38px);
  height: 100%;
  margin: 0;
  padding: 0;
}
.site-nav__item { display: flex; align-items: center; }
.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 9px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.site-nav__link:hover::after,
.site-nav__link[aria-current="page"]::after,
.site-nav__item.is-open .site-nav__link::after { transform: scaleX(1); }
@media (hover: hover) {
  .has-mega:hover .site-nav__link::after { transform: scaleX(1); }
}
.site-nav__toggle {
  display: grid;
  place-items: center start;
  width: 44px; height: 44px;
  margin: 0 -26px 0 -2px;
  padding: 0 0 0 5px;
  border: 0;
  background: transparent;
  color: var(--muted);
}
.site-nav__toggle .icon { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.site-nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

/* Méga-menu léger (desktop) */
.mega {
  position: absolute;
  left: 0; right: 0; top: 100%;
  z-index: 30;
  display: none;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 40px 50px -40px rgb(var(--ink-rgb) / .28);
}
.has-mega.is-open > .mega { display: block; animation: mega-in .3s var(--ease-out) both; }
@media (hover: hover) {
  .has-mega:hover > .mega { display: block; animation: mega-in .3s var(--ease-out) .08s both; }
}
@keyframes mega-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.15fr);
  gap: clamp(32px, 4vw, 64px);
  padding-block: 40px 48px;
}
.mega__title { margin: 0 0 12px; font-size: var(--fs-micro); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mega__list + .mega__title { margin-top: 28px; }
.mega__list { margin: 0; padding: 0; list-style: none; }
.mega__list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  line-height: 1.2;
  text-decoration: none;
}
.mega__list a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.mega__list--plain a { font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: 500; padding: 8px 0; }
.mega__count { font-family: var(--font-sans); font-size: var(--fs-micro); color: var(--muted); font-variant-numeric: tabular-nums; }
.mega__feature { display: grid; gap: 14px; align-content: start; text-decoration: none; }
.mega__feature-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); border-radius: var(--radius); }
.mega__feature-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); transition: transform 1s var(--ease-out); }
.mega__feature:hover img { transform: scale(1.04); }
.mega__feature-label { display: grid; gap: 2px; font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.15; }
.mega__feature-count { font-family: var(--font-sans); font-size: var(--fs-xs); color: var(--muted); }

@media (max-width: 1023.98px) {
  .site-header__inner {
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "menu logo actions";
    column-gap: 8px;
  }
  .header-btn--menu { display: inline-grid; justify-self: start; margin-left: -10px; }
  .site-logo { justify-self: center; transform-origin: center; }
  .site-logo svg { height: 19px; }
  .site-nav { display: none; }
  .site-header__actions { justify-self: end; }
}


/* 07 — Tiroirs et dialogues
   ========================================================================== */
dialog {
  padding: 0;
  border: 0;
  color: var(--ink);
  background: var(--paper);
}
dialog::backdrop { background: rgb(var(--ink-rgb) / .4); }

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(440px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: none;
  margin: 0;
  overflow: hidden;
  transform: translateX(100%);
  transition: transform .45s var(--ease-out), overlay .45s allow-discrete, display .45s allow-discrete;
}
.drawer--left { inset: 0 auto 0 0; transform: translateX(-100%); }
.drawer[open] { transform: none; }
@starting-style {
  .drawer--right[open] { transform: translateX(100%); }
  .drawer--left[open] { transform: translateX(-100%); }
}
.drawer::backdrop {
  background: rgb(var(--ink-rgb) / .38);
  opacity: 0;
  transition: opacity .45s var(--ease), overlay .45s allow-discrete, display .45s allow-discrete;
}
.drawer[open]::backdrop { opacity: 1; }
@starting-style { .drawer[open]::backdrop { opacity: 0; } }

.drawer__panel { display: flex; flex-direction: column; height: 100%; }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: none;
  min-height: 72px;
  padding: 0 12px 0 24px;
  border-bottom: 1px solid var(--line);
}
.drawer__title { font-size: 1.875rem; line-height: 1.1; }
.drawer__count { font-family: var(--font-sans); font-size: var(--fs-sm); color: var(--muted); letter-spacing: 0; }
.drawer__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 24px; }
.drawer__foot {
  flex: none;
  padding: 20px 24px calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.drawer__toast:empty { display: none; }
.drawer__toast { padding: 12px 24px 0; }

/* Menu mobile */
.mobile-nav { width: min(420px, 92vw); }
.mobile-nav__logo { color: var(--ink); }
.mobile-nav__logo svg { height: 18px; width: auto; }
.mobile-nav__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.mobile-nav__list li { border-bottom: 1px solid var(--line); }
.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  line-height: 1.1;
  text-decoration: none;
}
.mobile-nav__link .icon { width: 18px; height: 18px; color: var(--muted); }
.mobile-nav__link[aria-current="page"] { font-style: italic; }
.mobile-nav__secondary { margin-top: 32px; }
.mobile-nav__secondary .eyebrow { margin-bottom: 8px; }
.mobile-nav__sublist { margin: 0; padding: 0; list-style: none; }
.mobile-nav__sublist a { display: flex; align-items: center; min-height: 44px; font-size: var(--fs-sm); text-decoration: none; color: var(--ink-2); }
.mobile-nav__contact { display: grid; gap: 4px; font-size: var(--fs-sm); color: var(--ink-2); }
.mobile-nav__contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; text-decoration: none; color: var(--ink); }
.mobile-nav__contact .icon { width: 18px; height: 18px; color: var(--carey); }
.mobile-nav__contact p { font-size: var(--fs-xs); color: var(--muted); }

/* Cesta (tiroir) */
.cart-drawer__ship { flex: none; padding: 16px 24px 18px; border-bottom: 1px solid var(--line); background: var(--sand); }
.cart-drawer__ship-msg { font-size: var(--fs-xs); color: var(--ink-2); }
.cart-drawer__ship-msg strong { color: var(--ink); font-weight: 600; }
.ship-bar { position: relative; height: 2px; margin-top: 10px; background: var(--sand-2); overflow: hidden; }
.ship-bar__fill {
  position: absolute; inset: 0;
  background: var(--carey);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  transition: transform .6s var(--ease-out);
}
.cart-lines { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.cart-line {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line:first-child { padding-top: 0; }
.cart-line__media { display: block; aspect-ratio: 1; background: var(--sand); border-radius: var(--radius); overflow: hidden; }
.cart-line__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 8%; }
.cart-line__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cart-line__name { font-family: var(--font-serif); font-size: 1.375rem; line-height: 1.15; text-decoration: none; }
.cart-line__name:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.cart-line__price { font-size: var(--fs-sm); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cart-line__variant { margin-top: 2px; font-size: var(--fs-xs); color: var(--muted); }
.cart-line__unit { margin-top: 2px; font-size: var(--fs-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.cart-line__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.cart-line__remove {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font-size: var(--fs-xs);
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cart-line__remove:hover { color: var(--ink); }
.cart-line__warn { margin-top: 6px; font-size: var(--fs-xs); color: var(--carey-dark); }
.cart-empty { display: grid; justify-items: center; gap: 12px; padding: 48px 8px; text-align: center; }
.cart-empty__icon { width: 40px; height: 40px; stroke-width: 1.1; color: var(--muted); margin-bottom: 8px; }
.cart-empty__title { font-family: var(--font-serif); font-size: 2rem; line-height: 1.1; }
.cart-empty__text { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 12px; }
.cart-empty__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin-top: 20px; padding: 0; list-style: none; }
.cart-empty__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--fs-sm); text-underline-offset: 4px; }
.cart-drawer__error { padding: 24px 0; color: var(--carey-dark); font-size: var(--fs-sm); }
.cart-totals { display: grid; gap: 6px; margin: 0 0 18px; }
.cart-totals__row { display: flex; justify-content: space-between; gap: 16px; font-size: var(--fs-sm); color: var(--ink-2); }
.cart-totals__row dd { margin: 0; font-variant-numeric: tabular-nums; }
.cart-totals__row--total { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: var(--fs-body); }
.cart-totals__row--total span { font-weight: 400; font-size: var(--fs-xs); color: var(--muted); margin-left: 6px; }
.cart-drawer__actions { display: grid; gap: 8px; }
.cart-drawer__note { margin-top: 14px; font-size: var(--fs-xs); color: var(--muted); text-align: center; }
.payments { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.payments__item { display: block; line-height: 0; }
.payments__item img { width: 38px; height: 24px; }
.payments--sm { justify-content: center; margin-top: 10px; gap: 6px; }
.payments--sm .payments__item img { width: 32px; height: 20px; }
/* tiroir en mobile : pied compact (N07) — sous-total et envoi côte à côte, « Ver la cesta » en lien
   texte à côté de « Finalizar compra », note masquée (les logos de paiement restent) */
@media (max-width: 639.98px) {
  .cart-drawer__foot .cart-totals { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 20px; margin-bottom: 12px; }
  .cart-drawer__foot .cart-totals__row { gap: 8px; font-size: var(--fs-xs); }
  .cart-drawer__foot .cart-totals__row--total { grid-column: 1 / -1; margin-top: 2px; padding-top: 8px; }
  .cart-drawer__foot .cart-drawer__actions { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; }
  .cart-drawer__foot .cart-drawer__actions .btn--outline,
  .cart-drawer__foot .cart-drawer__actions .btn--outline:hover { --btn-bg: transparent; --btn-bd: transparent; --btn-fg: var(--ink); width: auto; min-height: 44px; padding: 0 4px; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
  .cart-drawer__note { display: none; }
  .cart-drawer__foot .payments--sm { margin-top: 8px; }
}

/* Recherche */
.search-dialog {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(88dvh, 820px);
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .3s var(--ease), transform .4s var(--ease-out), overlay .4s allow-discrete, display .4s allow-discrete;
}
.search-dialog[open] { display: flex; flex-direction: column; opacity: 1; transform: none; }
@starting-style { .search-dialog[open] { opacity: 0; transform: translateY(-12px); } }
.search-dialog::backdrop { background: rgb(var(--ink-rgb) / .3); }
.search-dialog__panel { display: flex; flex-direction: column; min-height: 0; width: 100%; }
.search-dialog__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}
.search-form { position: relative; flex: 1; display: flex; align-items: center; }
.search-form__icon { position: absolute; left: 0; width: 24px; height: 24px; color: var(--muted); pointer-events: none; }
.search-form__input {
  width: 100%;
  min-height: 56px;
  padding: 0 0 0 40px;
  border: 0;
  background: transparent;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  color: var(--ink);
  outline: none;
}
.search-form__input::placeholder { color: var(--muted); opacity: .75; }
.search-form__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-form:focus-within { box-shadow: 0 1px 0 0 var(--ink); }
.search-dialog__body { overflow-y: auto; overscroll-behavior: contain; padding-block: 24px 40px; }
.search-dialog__status { font-size: var(--fs-xs); color: var(--muted); min-height: 1.4em; margin-bottom: 16px; }
.search-suggest .eyebrow { margin-bottom: 12px; }
.search-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr));
  gap: 0 48px;
  margin: 0; padding: 0;
  list-style: none;
}
.search-result {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.search-result__text { display: grid; gap: 2px; min-width: 0; }
.search-result:focus-visible { outline-offset: 2px; }
.search-result__media { aspect-ratio: 1; background: var(--sand); border-radius: var(--radius); overflow: hidden; }
.search-result__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 8%; }
.search-result__name { font-family: var(--font-serif); font-size: 1.375rem; line-height: 1.15; }
.search-result__variant { font-size: var(--fs-xs); color: var(--muted); }
.search-result__price { font-size: var(--fs-sm); font-weight: 500; font-variant-numeric: tabular-nums; }
.search-result:hover .search-result__name,
.search-result:focus-visible .search-result__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.search-empty { padding: 24px 0; color: var(--ink-2); }
.search-empty strong { font-family: var(--font-serif); font-weight: 400; font-size: var(--fs-4); display: block; color: var(--ink); margin-bottom: 6px; }

/* Zoom (fiche produit) */
.zoom {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: none;
  margin: 0;
  background: var(--white);
  opacity: 0;
  transition: opacity .35s var(--ease), overlay .35s allow-discrete, display .35s allow-discrete;
}
.zoom[open] { opacity: 1; }
@starting-style { .zoom[open] { opacity: 0; } }
.zoom__close { position: absolute; top: 16px; right: 16px; z-index: 2; background: var(--paper); }
.zoom__stage { height: 100%; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.zoom__slide { flex: 0 0 100%; display: grid; place-items: center; scroll-snap-align: center; padding: 64px 24px; }
.zoom__slide img { max-width: min(100%, 1400px); max-height: 100%; width: auto; height: auto; object-fit: contain; }
.zoom__nav { position: absolute; left: 50%; bottom: 20px; translate: -50% 0; display: flex; gap: 8px; }
.zoom__nav .icon-btn { background: var(--paper); }


/* 08 — Notice et toasts
   ========================================================================== */
.notice {
  position: fixed;
  z-index: 60;
  left: 16px;
  display: grid;
  gap: 14px;
  width: min(440px, calc(100% - 32px));
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  font-size: .875rem;
  line-height: 1.55;
  color: var(--ink-2);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .45s var(--ease), transform .45s var(--ease-out), bottom .35s var(--ease);
}
.notice.is-in { opacity: 1; transform: none; }
.notice a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.notice__btn { justify-self: start; }
.notice__short { display: none; }
/* Toutes largeurs : barre basse pleine largeur, sur une ligne (≤ 56 px en desktop, 65 px max en
   mobile). main.js ne l'affiche qu'après le premier défilement ou la première tabulation : au
   chargement, héro, titre, prix et bouton d'achat restent entièrement dégagés (N01/N02). */
.notice {
  left: 0; right: 0;
  bottom: var(--notice-offset, 0px);
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 0 -10px 30px -18px rgb(var(--ink-rgb) / .3);
  font-size: .8125rem;
  line-height: 1.45;
}
.notice__btn { min-height: 44px; padding-inline: 16px; }
@media (max-width: 639.98px) {
  .notice__long { display: none; }
  .notice__short { display: inline; }
}
@media (min-width: 640px) {
  .notice {
    grid-template-columns: auto auto;
    justify-content: center;
    gap: 28px;
    padding: 5px var(--gutter) calc(5px + env(safe-area-inset-bottom));
  }
}

.toasts {
  position: fixed;
  z-index: 70;
  top: 16px;
  left: 50%;
  translate: -50% 0;
  display: grid;
  gap: 8px;
  width: min(420px, calc(100% - 32px));
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-size: var(--fs-sm);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .35s var(--ease-out);
}
.toast .icon { width: 18px; height: 18px; }
.toast.is-in { opacity: 1; transform: none; }
.drawer__toast .toast { background: var(--ink); box-shadow: none; }


/* 09 — Pied de page
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: rgb(var(--paper-rgb) / .72);
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.site-footer a { color: rgb(var(--paper-rgb) / .9); text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.site-footer :focus-visible { outline-color: var(--paper); }
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 56px;
  padding-block: clamp(64px, 7vw, 112px) clamp(48px, 5vw, 80px);
}
.site-footer__logo { display: inline-block; color: var(--paper); }
.site-footer__logo svg { height: 64px; width: auto; }
.site-footer__tagline { margin-top: 28px; font-family: var(--font-serif); font-size: var(--fs-4); line-height: 1.2; color: var(--paper); }
.site-footer__address { display: grid; gap: 2px; margin-top: 20px; }
.site-footer__address a { justify-self: start; display: inline-flex; align-items: center; min-height: 32px; }
.site-footer__hours { color: rgb(var(--paper-rgb) / .6); font-size: var(--fs-xs); margin-top: 4px; }
.site-footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
.site-footer__title {
  margin-bottom: 14px;
  font-family: var(--font-sans);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.4;
  color: rgb(var(--paper-rgb) / .58);
}
.site-footer__links { margin: 0; padding: 0; list-style: none; }
/* interligne serré dans un lien qui passe à la ligne, espace net entre deux liens (N5) */
.site-footer__links a { display: inline-flex; align-items: center; min-height: 36px; padding-block: 3px; line-height: 1.3; }
.site-footer__links li + li { margin-top: 6px; }
.site-footer__links a[aria-current="page"] { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
@media (pointer: coarse) {
  .site-footer__links a, .site-footer__address a { min-height: 44px; }
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  padding-block: 28px calc(32px + env(safe-area-inset-bottom));
  border-top: 1px solid rgb(var(--paper-rgb) / .14);
  font-size: var(--fs-xs);
}
/* logos de paiement officiels réunis sur une bande claire unique (plus de taches de couleur sur l'encre) */
.site-footer__payments { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 6px 8px; border-radius: var(--radius); background: var(--paper); }
.site-footer__bottom .payments__item { padding: 2px 3px; border-radius: 2px; background: transparent; }
.site-footer__company { margin-top: 24px; }
.site-footer__inline { display: flex; flex-wrap: wrap; gap: 0 20px; margin: 0; padding: 0; list-style: none; }
.site-footer__inline a { display: inline-flex; align-items: center; min-height: 36px; }
.site-footer__inline a[aria-current="page"] { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
@media (pointer: coarse) { .site-footer__inline a { min-height: 44px; } }
.site-footer__legal { display: grid; gap: 4px; color: rgb(var(--paper-rgb) / .6); }
.site-footer__legal a { color: rgb(var(--paper-rgb) / .85); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 768px) {
  .site-footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__legal { text-align: right; justify-items: end; }
}
/* 4 colonnes : marque (plus large) + Comprar + Ayuda + Legal */
@media (min-width: 1100px) {
  .site-footer__top { grid-template-columns: minmax(0, 1.4fr) minmax(0, 3fr); gap: clamp(48px, 5vw, 96px); }
}


/* 10 — Composants
   ========================================================================== */

/* En-têtes de section */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: clamp(32px, 3.6vw, 56px);
}
.section-head__main { max-width: 680px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head__title { font-size: var(--fs-2); }
.section-head__intro { margin-top: 18px; max-width: 56ch; color: var(--ink-2); }
.section-head__aside { display: flex; align-items: center; gap: 28px; }
.section-head--center { justify-content: center; text-align: center; }
.section-head--center .section-head__main { margin-inline: auto; }
.section-head--center .section-head__intro { margin-inline: auto; }
.carousel-controls { display: flex; gap: 10px; }
.carousel-controls.is-hidden { visibility: hidden; }
@media (max-width: 767.98px) { .carousel-controls { display: none; } }

/* Fil d'Ariane */
.breadcrumbs { font-size: var(--fs-xs); color: var(--muted); }
.breadcrumbs__list { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.breadcrumbs__item { display: inline-flex; align-items: center; min-width: 0; }
.breadcrumbs__item + .breadcrumbs__item::before {
  content: "";
  width: 4px; height: 4px;
  margin: 0 12px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: .7;
}
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.breadcrumbs [aria-current="page"] { color: var(--ink-2); }
/* petit écran : la page courante (déjà en titre) est masquée pour garder le fil sur une ligne */
@media (max-width: 639.98px) {
  .breadcrumbs__item:last-child:not(:nth-child(-n + 2)) { display: none; }
}

/* Carte produit */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  container-type: inline-size;
}
.product-card__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  isolation: isolate;
  background: var(--sand);
  border-radius: var(--radius);
}
.product-card__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  padding: 7%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: opacity .55s var(--ease), transform 1s var(--ease-out);
}
.product-card__img--alt { opacity: 0; }
.product-card__media { transition: background-color .45s var(--ease); }
.product-card:hover .product-card__media { background: var(--sand-2); }
/* montures argentées : fond --paper (l'argent ne se fond plus dans le sable) (A06) */
.product-card__media[data-finish="metal"] { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.product-card:hover .product-card__media[data-finish="metal"] { background: var(--sand); }
.pgallery__viewport[data-finish="metal"] { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.product-card:hover .product-card__img { transform: scale(1.035); }
.product-card:hover .has-alt .product-card__img--alt { opacity: 1; }
.product-card:hover .has-alt .product-card__img:not(.product-card__img--alt) { opacity: 0; }
.product-card__tags {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 1;
  margin: 0;
  line-height: 1;
}
/* micro-libellé (BRIEF §4 : 11–12 px, .14em), identique partout */
.tag {
  display: inline-block;
  padding: 5px 8px 4px;
  border-radius: 1px;
  background: var(--paper);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--ink);
}
.product-card__swatches { position: absolute; left: 14px; bottom: 14px; z-index: 1; display: flex; gap: 7px; }
.swatch-dot {
  display: block;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--swatch, var(--sand-2));
  box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / .2);
}
/* deux coloris à monture identique : pastille monture / lente */
.swatch-dot.is-split, .color-option__dot.is-split { background: linear-gradient(135deg, var(--swatch) 50%, var(--lens, var(--swatch)) 50%); }
.product-card__swatches .swatch-dot.is-current:not(:only-child) { outline: 1px solid var(--ink-2); outline-offset: 2px; }
/* une seule mise en page de carte, quelle que soit sa largeur : nom / coloris / prix */
.product-card__body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  align-content: start;
  padding-top: 16px;
}
.product-card__title {
  grid-column: 1;
  grid-row: 1;
  font-size: 1.375rem;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.product-card__link { text-decoration: none; }
.product-card__link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.product-card__link:focus-visible { outline: none; }
.product-card:has(.product-card__link:focus-visible) { outline: 2px solid var(--ink); outline-offset: 4px; }
.product-card:hover .product-card__link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.product-card__price {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
  padding-top: 10px;
  font-size: var(--fs-sm);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
/* zone coloris de 2 lignes : les prix s'alignent d'une carte à l'autre */
.product-card__colorway { grid-column: 1; grid-row: 2; min-height: calc(2 * 1.45em); margin-top: 4px; font-size: var(--fs-xs); line-height: 1.45; color: var(--muted); }
.nowrap { white-space: nowrap; }
.colorway-extra { color: var(--carey); }
@container (max-width: 250px) {
  .product-card__tags { top: 8px; left: 8px; right: 8px; }
  .product-card__swatches { left: 10px; bottom: 10px; }
}

/* Carrousel (défilement natif + boutons) */
.carousel { position: relative; }
.carousel__viewport {
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__viewport:focus-visible { outline-offset: -2px; }
.carousel__track { display: flex; gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.carousel__track::after { content: ""; flex: 0 0 1px; margin-left: -1px; }
.carousel__item { flex: 0 0 var(--item-w, 64%); min-width: 0; scroll-snap-align: start; }
@media (min-width: 768px) { .carousel__item { --item-w: calc((100% - 2 * var(--gap)) / 3); } }
@media (min-width: 1024px) { .carousel__item { --item-w: calc((100% - 3 * var(--gap)) / 4); } }
.carousel__progress { position: relative; height: 1px; margin-top: 32px; background: var(--line); }
.carousel__thumb {
  position: absolute;
  left: 0; top: -.5px;
  height: 2px;
  width: calc(var(--thumb-w, .3) * 100%);
  background: var(--ink);
  transform: translateX(calc(var(--thumb-x, 0) * 100%));
}
.carousel.is-static .carousel__progress { visibility: hidden; }
.carousel--contained .carousel__viewport { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }

/* Onglets */
.tabs__list {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  margin: 0 0 clamp(28px, 3vw, 44px);
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 767.98px) {
  .tabs__list { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
}
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__tab {
  position: relative;
  flex: none;
  min-height: 44px;
  padding: 10px 0 16px;
  border: 0;
  background: none;
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 1.2rem + .6vw, 1.875rem);
  line-height: 1.15;
  color: var(--muted);
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"] { color: var(--ink); font-style: italic; }
.tabs__tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--ink);
}
.tabs__tab:focus-visible { outline-offset: -2px; }
.tabs__count { margin-left: 8px; font-family: var(--font-sans); font-style: normal; font-size: var(--fs-micro); color: var(--muted); vertical-align: super; }
.tabs__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 16px 24px; margin-top: 24px; }
/* en-tête des blocs à onglets : lien et flèches propres au panneau actif (main.js) */
.section-head__aside [data-tab-controls][hidden] { display: none !important; }

/* Accordéons (details) */
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 18px 0;
  list-style: none;
  cursor: pointer;
  font-size: var(--fs-body);
  font-weight: 500;
}
.accordion__summary::-webkit-details-marker { display: none; }
.accordion__summary::marker { content: ""; }
.accordion__summary:hover .accordion__label { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.accordion__summary:focus-visible { outline-offset: 2px; }
.plus {
  position: relative;
  flex: none;
  width: 14px; height: 14px;
}
.plus::before, .plus::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 1.5px;
  background: currentColor;
  translate: -50% -50%;
  transition: transform .3s var(--ease);
}
.plus::after { transform: rotate(90deg); }
details[open] > summary .plus::after { transform: rotate(0deg); }
.accordion__content { padding: 0 0 28px; }
details.accordion__item::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size .4s var(--ease), content-visibility .4s allow-discrete;
}
details.accordion__item[open]::details-content { block-size: auto; }


/* 11 — Accueil
   ========================================================================== */

/* Héro en diaporama */
.hero { position: relative; background: var(--sand); }
.hero__stage { position: relative; display: grid; }
.hero__slide {
  grid-area: 1 / 1;
  position: relative;
  height: clamp(560px, calc(100svh - var(--header-h) - 40px), 900px);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s var(--ease), visibility 0s linear 1.1s;
}
.hero__slide.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity 1.1s var(--ease), visibility 0s; }
.hero__media { position: absolute; inset: 0; overflow: hidden; background: var(--sand-2); }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--focal, 50% 50%);
  transform: scale(1.05);
  transition: transform 9s var(--ease-out);
}
.hero__slide.is-active .hero__media img { transform: scale(1); }
/* voile directionnel côté texte (papier si photo claire, encre si sombre) : lisibilité AA mesurée
   par _qa/design/contrast.py, sans assombrir le reste de la photo */
.hero__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(var(--veil-dir, 90deg), rgb(var(--veil) / var(--veil-edge)) 0%, rgb(var(--veil) / calc(var(--veil-edge) * .62)) 30%, rgb(var(--veil) / 0) 58%);
}
.hero__slide[data-side="right"]::before { --veil-dir: 270deg; }
.hero__slide[data-side="center"]::before { background: radial-gradient(ellipse 60% 55% at 50% 50%, rgb(var(--veil) / var(--veil-edge)), rgb(var(--veil) / 0)); }
.hero__content { position: relative; z-index: 2; display: flex; align-items: center; height: 100%; }
.hero__slide[data-valign="top"] .hero__content { align-items: flex-start; }
.hero__slide[data-valign="top"] .hero__text { padding-top: clamp(40px, 6vh, 72px); }
.hero__slide[data-side="right"] .hero__content { justify-content: flex-end; }
.hero__slide[data-side="center"] .hero__content { justify-content: center; text-align: center; }
.hero__text {
  position: relative;
  isolation: isolate;
  width: min(600px, 52%);
  padding-block: 40px 96px;
}
@media (min-width: 768px) and (max-width: 1023.98px) {
  .hero__title { font-size: clamp(2.75rem, 1rem + 4.6vw, 3.5rem); }
  .hero__lede { font-size: 1.0625rem; }
}
.hero__text::before {
  content: "";
  position: absolute;
  inset: -6% -22% 4% -22%;
  z-index: -1;
  background: radial-gradient(farthest-side, rgb(var(--veil) / var(--veil-a)) 0%, rgb(var(--veil) / calc(var(--veil-a) * .8)) 42%, rgb(var(--veil) / 0) 100%);
  pointer-events: none;
}
.hero__slide[data-tone="light"] { --veil: var(--paper-rgb); --veil-a: .55; --veil-edge: .74; color: var(--ink); }
.hero__slide[data-tone="dark"] { --veil: var(--ink-rgb); --veil-a: .42; --veil-edge: .66; color: var(--paper); }
.hero__slide[data-tone="dark"] .hero__text { text-shadow: 0 1px 2px rgb(var(--ink-rgb) / .25), 0 2px 28px rgb(var(--ink-rgb) / .35); }
.hero__slide[data-tone="dark"] .hero__text .btn { text-shadow: none; }
.hero__eyebrow { color: inherit; }
.hero__title { margin-top: 18px; font-size: var(--fs-display); line-height: .96; letter-spacing: -0.018em; }
.hero__lede { margin-top: 22px; max-width: 40ch; font-size: var(--fs-lead); line-height: 1.5; }
.hero__slide[data-side="center"] .hero__lede { margin-inline: auto; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px; }
.hero__slide[data-side="center"] .hero__ctas { justify-content: center; }
.hero__slide[data-tone="dark"] .btn { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-bd: var(--paper); }
.hero__slide[data-tone="dark"] .btn:hover { --btn-bg: var(--sand); --btn-bd: var(--sand); }
.hero__slide[data-tone="dark"] .link-arrow { color: var(--paper); text-decoration-color: rgb(var(--paper-rgb) / .6); }
.hero__slide[data-tone="dark"] :focus-visible { outline-color: var(--paper); }

.hero__controls {
  position: absolute;
  z-index: 3;
  right: 0; bottom: 28px; left: 0;
  pointer-events: none;
}
.hero__controls-row { display: flex; justify-content: flex-end; }
/* ≥ 768 px : commandes du diaporama en bas à gauche (le coin bas-droit accueille la notice) */
@media (min-width: 768px) { .hero__controls-row { justify-content: flex-start; } }
.hero__controls-inner {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 8px 2px 2px;
  border-radius: var(--radius);
  background: rgb(var(--paper-rgb) / .94);
  pointer-events: auto;
}
.hero__toggle { color: var(--ink); }
.hero__toggle .icon { width: 16px; height: 16px; }
.hero__toggle .icon--play { display: none; }
.hero.is-paused .hero__toggle .icon--play { display: block; }
.hero.is-paused .hero__toggle .icon--pause { display: none; }
.hero__counter { padding: 0 8px 0 2px; font-size: var(--fs-micro); font-weight: 500; letter-spacing: .08em; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.hero__dots { display: flex; }
.hero__dot { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; }
.hero__dot-bar { position: relative; width: 28px; height: 2px; overflow: hidden; background: rgb(var(--ink-rgb) / .18); }
.hero__dot-fill { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.hero__dot[aria-current="true"] .hero__dot-fill { transform: scaleX(1); }
.hero.is-playing .hero__dot[aria-current="true"] .hero__dot-fill { animation: dot-fill var(--slide-duration, 7s) linear both; }
.hero.is-hovered .hero__dot[aria-current="true"] .hero__dot-fill { animation-play-state: paused; }
@keyframes dot-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 767.98px) {
  /* hauteur de la photo : titre, sous-titre et bouton au-dessus du pli (N02) ; les commandes du
     diaporama se calent sur la même valeur */
  .hero { --hero-mh: max(240px, min(125vw, 50svh, calc(100svh - 430px))); background: var(--paper); }
  .hero__slide { height: auto; display: flex; flex-direction: column; }
  .hero__media { position: relative; inset: auto; aspect-ratio: 4 / 5; max-height: var(--hero-mh); width: 100%; }
  .hero__media img { position: absolute; inset: 0; object-position: var(--focal-m, var(--focal, 50% 50%)); }
  .hero__content { display: block; height: auto; color: var(--ink); }
  .hero__slide[data-tone] { color: var(--ink); }
  .hero__text { width: 100%; padding-block: 28px 8px; }
  .hero__slide[data-valign="top"] .hero__text { padding-top: 28px; }
  .hero__text::before, .hero__slide::before { display: none; }
  .hero__slide[data-tone="dark"] .hero__text { text-shadow: none; }
  .hero__title { font-size: clamp(2.5rem, 1.6rem + 4.2vw, 3rem); margin-top: 14px; }
  .hero__lede { margin-top: 14px; font-size: 1.0625rem; }
  .hero__ctas { margin-top: 22px; gap: 4px 24px; }
  .hero__slide[data-side="center"] .hero__content { text-align: left; }
  .hero__slide[data-tone="dark"] .btn { --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-bd: var(--ink); }
  .hero__slide[data-tone="dark"] .link-arrow { color: var(--ink); text-decoration-color: rgb(var(--ink-rgb) / .35); }
  .hero__slide[data-tone="dark"] :focus-visible { outline-color: var(--ink); }
  .hero__controls { bottom: auto; top: calc(var(--hero-mh) - 60px); }
}

/* Engagements */
.usps { border-bottom: 1px solid var(--line); }
.usps__list { display: grid; grid-template-columns: minmax(0, 1fr); margin-block: 0; list-style: none; }
.usp {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 22px 0;
}
.usp + .usp { border-top: 1px solid var(--line); }
.usp__icon { width: 26px; height: 26px; margin-top: 1px; color: var(--carey); stroke-width: 1.3; }
.usp__title { font-size: var(--fs-sm); font-weight: 600; line-height: 1.4; }
.usp__text { margin-top: 4px; font-size: var(--fs-xs); line-height: 1.55; color: var(--muted); }
/* mobile : grille 2 × 2 compacte, titres seuls (le détail reste dans les pages d'aide) */
@media (max-width: 767.98px) {
  .usps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .usp { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 18px 0; }
  .usp + .usp { border-top: 0; }
  .usp:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .usp__icon { width: 22px; height: 22px; }
  .usp__title { font-size: var(--fs-xs); line-height: 1.4; }
  .usp__text { display: none; }
}
@media (min-width: 768px) {
  .usps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .usp + .usp { border-top: 0; }
  .usp:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (min-width: 1100px) {
  .usps__list { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0; }
  .usp { padding: 40px clamp(20px, 2.4vw, 40px); }
  .usp:first-child { padding-left: 0; }
  .usp:last-child { padding-right: 0; }
  .usp:nth-child(n + 3) { border-top: 0; }
  .usp + .usp { border-left: 1px solid var(--line); }
}

/* Vitrine catégories */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.cat-card { position: relative; display: grid; gap: 18px; align-content: start; text-decoration: none; }
.cat-card__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); border-radius: var(--radius); }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); transition: transform 1.4s var(--ease-out); }
.cat-card:hover .cat-card__media img { transform: scale(1.045); }
.cat-card__label { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--font-serif); font-size: var(--fs-3); line-height: 1.05; }
.cat-card__label .icon { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.cat-card:hover .cat-card__label .icon { transform: translateX(4px); }
.cat-card__text { margin-top: -8px; max-width: 36ch; font-size: var(--fs-sm); color: var(--muted); }
.cat-card__count { font-family: var(--font-sans); font-size: var(--fs-micro); letter-spacing: .1em; color: var(--muted); white-space: nowrap; }
/* compteur sur sa propre ligne (jamais de « · 10 modelos » rejeté en début de ligne) */
.cat-card > .cat-card__count { display: block; margin-top: -12px; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 1023.98px) {
  .cats-scroller {
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .cats-scroller::-webkit-scrollbar { display: none; }
  .cats { display: flex; }
  .cats > li { flex: 0 0 min(72%, 340px); scroll-snap-align: start; }
  .cats::after { content: ""; flex: 0 0 1px; }
}

/* Bannière éditoriale (polarizadas) */
.banner { position: relative; overflow: hidden; background: var(--sand); }
.banner__media { position: relative; height: clamp(520px, 42vw, 680px); overflow: hidden; }
.banner__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); }
.banner__content { position: absolute; inset: 0; z-index: 1; display: flex; align-items: flex-start; padding-block: clamp(56px, 6.5vw, 104px); }
.banner[data-side="right"] .banner__content { justify-content: flex-end; }
.banner__box { position: relative; isolation: isolate; width: min(540px, 100%); }
.banner__box::before {
  content: "";
  position: absolute;
  inset: -22% -24%;
  z-index: -1;
  background: radial-gradient(farthest-side, rgb(var(--veil) / var(--veil-a)) 0%, rgb(var(--veil) / calc(var(--veil-a) * .75)) 45%, rgb(var(--veil) / 0) 100%);
}
.banner[data-tone="light"] { --veil: var(--paper-rgb); --veil-a: .6; color: var(--ink); }
.banner[data-tone="dark"] { --veil: var(--ink-rgb); --veil-a: .45; color: var(--paper); }
.banner .eyebrow { color: inherit; }
.banner__title { margin-top: 18px; font-size: var(--fs-2); }
.banner__text { margin-top: 20px; max-width: 46ch; }
.banner__cta { margin-top: 30px; }
@media (max-width: 767.98px) {
  .banner { background: var(--paper); }
  .banner__media { height: auto; aspect-ratio: 4 / 3; }
  .banner__content { position: static; display: block; padding-block: 32px 0; }
  .banner[data-tone] { color: var(--ink); }
  .banner__box::before { display: none; }
}

/* Bannière histoire (mer) */
/* photo haute, panneau --sea qui ne déborde que d'environ 120 px, légende posée sur la photo */
.story { position: relative; padding-bottom: var(--section); }
.story__media { position: relative; height: clamp(480px, 46vw, 720px); overflow: hidden; background: var(--sand); }
.story__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); }
.story__wrap { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: flex-end; gap: 32px; margin-top: clamp(-360px, -24vw, -48px); }
.story__caption {
  position: absolute;
  left: 0; right: 0; bottom: 28px;
  z-index: 1;
  margin: 0;
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper);
  text-shadow: 0 1px 12px rgb(var(--ink-rgb) / .45);
}
.story__caption .container { display: flex; align-items: center; gap: 14px; }
.story__caption .container::before { content: ""; width: 40px; height: 1px; background: currentColor; }
@media (max-width: 767.98px) { .story__caption { display: none; } }
.story__panel {
  width: min(660px, 100%);
  padding: clamp(32px, 4.4vw, 72px);
  background: var(--sea);
  color: var(--paper);
}
.story__panel .eyebrow { color: rgb(var(--paper-rgb) / .72); }
.story__title { margin-top: 18px; font-size: var(--fs-2); }
.story__text { margin-top: 22px; display: grid; gap: 14px; color: rgb(var(--paper-rgb) / .86); }
.story__panel :focus-visible { outline-color: var(--paper); }
.story__cta { margin-top: 30px; }
/* ≥ 1024 px : panneau ancré au bas de la photo, débord fixe de 120 px quelle que soit sa hauteur (A04) */
@media (min-width: 1024px) {
  .story { --story-over: 120px; display: grid; grid-template-columns: minmax(0, 1fr); padding-bottom: calc(var(--section) + var(--story-over)); }
  .story__media, .story__wrap { grid-area: 1 / 1; }
  .story__wrap { align-self: end; margin-top: 0; margin-bottom: calc(var(--story-over) * -1); }
}

/* Verres */
.lenses__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.lenses__media { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--sand-2); }
.lenses__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); }
.lenses__title { margin-top: 18px; font-size: var(--fs-2); }
.lenses__intro { margin-top: 20px; max-width: 54ch; }
.lenses__items { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin: 40px 0 0; padding: 0; list-style: none; }
.lens-item { padding-top: 22px; border-top: 1px solid var(--sand-2); }
.lens-item__icon { width: 26px; height: 26px; color: var(--carey); stroke-width: 1.3; }
.lens-item__title { margin-top: 14px; font-size: var(--fs-4); line-height: 1.15; }
.lens-item__text { margin-top: 8px; font-size: var(--fs-sm); color: var(--ink-2); }
.lens-item__summary { display: block; list-style: none; }
.lens-item__summary::-webkit-details-marker { display: none; }
.lens-item__summary::marker { content: ""; }
.lens-item__summary .plus { display: none; }
.lenses__more { margin-top: 36px; }
@media (min-width: 640px) {
  .lenses__items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; }
  /* desktop : texte toujours visible, le résumé n'est pas un bouton */
  .lens-item__summary { pointer-events: none; cursor: default; }
}
/* mobile : quatre lignes repliables (icône + titre), le texte s'ouvre au toucher (N06) */
@media (max-width: 639.98px) {
  .lenses__grid { gap: 28px; }
  .lenses__media { aspect-ratio: 16 / 10; }
  .lenses__items { gap: 0; margin-top: 24px; border-bottom: 1px solid var(--sand-2); }
  .lens-item { padding-top: 0; }
  .lens-item__summary { display: grid; grid-template-columns: 22px minmax(0, 1fr) 12px; align-items: center; gap: 14px; min-height: 56px; cursor: pointer; }
  .lens-item__summary .plus { display: block; width: 12px; height: 12px; }
  .lens-item__summary .plus::before, .lens-item__summary .plus::after { width: 12px; }
  .lens-item__icon { width: 22px; height: 22px; }
  .lens-item__title { margin-top: 0; font-size: 1.25rem; }
  .lens-item__text { margin: 0 0 18px; padding-left: 36px; }
  .lenses__more { margin-top: 24px; }
}
@media (min-width: 1024px) {
  .lenses__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 112px); }
}

/* Para ella / Para él : un bloc à onglets (voir Onglets) — plus de demi-colonnes */

/* « Los clásicos » : bandeau éditorial acétate + trois modèles */
.crafted__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.crafted__media { aspect-ratio: 16 / 11; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.crafted__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); }
.crafted__title { margin-top: 18px; font-size: var(--fs-2); }
.crafted__text { margin-top: 20px; max-width: 50ch; color: var(--ink-2); }
.crafted__list { display: grid; margin: 32px 0 24px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.mini-card { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mini-card__media { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--sand); transition: background-color .45s var(--ease); }
.mini-card__media img { width: 100%; height: 100%; padding: 6%; object-fit: contain; mix-blend-mode: multiply; }
.mini-card__text { display: grid; gap: 2px; min-width: 0; }
.mini-card__link { font-family: var(--font-serif); font-size: 1.375rem; line-height: 1.15; text-decoration: none; }
.mini-card__link::after { content: ""; position: absolute; inset: 0; }
.mini-card:hover .mini-card__link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.mini-card:hover .mini-card__media { background: var(--sand-2); }
.mini-card__colorway { font-size: var(--fs-xs); line-height: 1.45; color: var(--muted); }
.mini-card__price { font-size: var(--fs-sm); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (min-width: 1024px) {
  .crafted__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 112px); }
}

/* Guía de medidas (teaser) */
.guide { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.guide__media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.guide__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); }
.guide__title { margin-top: 18px; font-size: var(--fs-2); }
.guide__text { margin-top: 20px; color: var(--ink-2); max-width: 50ch; }
.marking {
  display: flex;
  align-items: flex-start;
  margin: 32px 0 34px;
  padding: 26px 0;
  border-block: 1px solid var(--line);
  font-size: clamp(2.75rem, 2rem + 2.6vw, 4.25rem);
}
.marking__part { display: grid; gap: 10px; }
.marking__part--temple { margin-left: .42em; }
.marking__num { font-family: var(--font-serif); line-height: .9; font-variant-numeric: lining-nums; }
.marking__box { flex: none; width: .3em; height: .3em; margin: .32em .1em 0; border: 1.5px solid currentColor; }
/* le carré reste à égale distance des deux nombres, quelle que soit la largeur des libellés (B15) */
.marking__part:first-child { justify-items: end; text-align: right; }
.marking__part:first-child + .marking__box + .marking__part { justify-items: start; }
.marking__label { font-size: var(--fs-micro); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 1024px) {
  .guide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 112px); }
}

/* Galerie */
/* mosaïque éditoriale asymétrique : une grande image verticale + trois, la dernière en bandeau */
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.gallery-grid__item { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); transition: transform 1.6s var(--ease-out); }
.gallery-grid__item:hover img { transform: scale(1.03); }
.gallery-grid__item:first-child { position: relative; grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.gallery-grid__item:first-child img { position: absolute; inset: 0; }
.gallery-grid--4 .gallery-grid__item:last-child { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 16px; }
  .gallery-grid__item:first-child { grid-column: 1; grid-row: span 2; aspect-ratio: auto; }
  .gallery-grid--4 .gallery-grid__item:last-child { grid-column: 2 / -1; aspect-ratio: 2 / 1; }
  .gallery-grid--5 .gallery-grid__item:first-child { grid-row: span 2; }
}

/* Blog */
.posts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; margin: 0; padding: 0; list-style: none; }
.post-card { position: relative; display: grid; gap: 18px; align-content: start; }
.post-card__media { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); transition: transform 1.4s var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.post-card__meta > * { white-space: nowrap; }
/* durée de lecture en casse normale : date + durée tiennent sur une ligne à 360 px (m14) */
.post-card__meta > span { letter-spacing: .02em; text-transform: none; }
/* accueil, mobile : les trois articles en carrousel natif plutôt qu'empilés */
@media (max-width: 767.98px) {
  .posts-scroller {
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .posts-scroller::-webkit-scrollbar { display: none; }
  .posts-scroller .posts { display: flex; gap: 16px; }
  .posts-scroller .post-card { flex: 0 0 78%; scroll-snap-align: start; }
  .posts-scroller .posts::after { content: ""; flex: 0 0 1px; }
  .posts-scroller .post-card__excerpt { display: none; }
}
.post-card__title { font-size: var(--fs-4); line-height: 1.15; }
.post-card__title a { text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card:hover .post-card__title a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.post-card__excerpt { font-size: var(--fs-sm); color: var(--muted); }
@media (min-width: 768px) {
  .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); column-gap: clamp(20px, 2.6vw, 40px); }
}

/* FAQ (accueil) */
.faq-home { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.faq-home__aside .section-head { margin-bottom: 0; }
.faq-home__aside .link-arrow { margin-top: 20px; }
.faq-home .accordion__content { color: var(--ink-2); max-width: 64ch; }
.faq-home .accordion__content a { color: var(--carey); text-underline-offset: 3px; }
.faq-home .accordion__summary { font-family: var(--font-serif); font-weight: 400; font-size: var(--fs-4); line-height: 1.2; }
@media (min-width: 1024px) {
  .faq-home { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 120px); }
  .faq-home__aside { position: sticky; top: calc(var(--header-h-compact) + 40px); align-self: start; }
}

/* Bandeau service */
.service { background: var(--sand); }
.service__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.service__title { margin-top: 18px; font-size: var(--fs-2); }
.service__text { margin-top: 18px; max-width: 46ch; color: var(--ink-2); }
.service__items { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--sand-2); }
.service-item { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--sand-2); }
.service-item__icon { width: 22px; height: 22px; margin-top: 2px; color: var(--carey); stroke-width: 1.4; }
.service-item__label { display: block; font-size: var(--fs-micro); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.service-item__value { display: block; margin-top: 6px; font-family: var(--font-serif); font-size: var(--fs-4); line-height: 1.2; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
a.service-item__value:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
a.service-item__value { display: flex; align-items: center; min-height: 44px; margin-block: -6px -8px; }
.service-item__value--text { font-family: var(--font-sans); font-size: var(--fs-sm); line-height: 1.5; margin-top: 8px; }
.service-item__note { display: block; margin-top: 4px; font-size: var(--fs-xs); color: var(--ink-2); }
@media (min-width: 768px) {
  .service__items { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
}
@media (min-width: 1024px) {
  .service__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 120px); }
}



/* 12 — Boutique
   ========================================================================== */
.shop-hero { padding-bottom: 8px; }
.shop-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: end; padding-bottom: clamp(32px, 3.5vw, 48px); }
.shop-hero__title { margin-top: 14px; font-size: var(--fs-1); }
.shop-hero__eyebrow { margin-top: 20px; }
.shop-hero__intro { margin-top: 20px; max-width: 62ch; color: var(--ink-2); }
.shop-hero__intro p + p, .shop-hero__more p, .shop-hero__more > * + * { margin-top: .8em; }
.shop-hero__more-toggle { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; list-style: none; cursor: pointer; font-size: var(--fs-sm); font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.shop-hero__more-toggle::-webkit-details-marker { display: none; }
.shop-hero__more-toggle::marker { content: ""; }
.shop-hero__more[open] > .shop-hero__more-toggle { display: none; }
@media (min-width: 1024px) {
  .shop-hero__more-toggle { display: none; }
}
/* < 1024 px : en-tête compact (photo en bandeau au-dessus du titre, introduction repliée) */
@media (max-width: 1023.98px) {
  .shop-hero--collection .shop-hero__media { order: -1; aspect-ratio: 21 / 9; }
  .shop-hero--collection .shop-hero__inner { gap: 20px; }
}
@media (max-width: 639.98px) {
  .shop-hero--collection .shop-hero__media { aspect-ratio: 16 / 9; }
}
.shop-hero__media { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.shop-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); }
.shop-hero--plain .shop-hero__inner { padding-bottom: clamp(24px, 3vw, 40px); }
.collection-links { display: flex; gap: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
.collection-links::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) {
  .shop-hero--collection .shop-hero__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 112px); }
}

.shop__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 28px; padding-bottom: var(--section); }
@media (min-width: 1024px) {
  .shop__layout { grid-template-columns: 236px minmax(0, 1fr); gap: clamp(36px, 4vw, 64px); }
}
@media (max-width: 1023.98px) {
  .filters { display: none; }
}
/* colonne de filtres collante avec défilement interne : les cartes restent à portée de vue */
@media (min-width: 1024px) {
  .filters {
    position: sticky;
    top: calc(var(--header-h-compact) + 20px);
    align-self: start;
    max-height: calc(100vh - var(--header-h-compact) - 40px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    padding-right: 6px;
    padding-bottom: 8px;
  }
  /* souris : lignes plus serrées (cible ≥ 24 px, WCAG 2.5.8) pour que la colonne tienne à l'écran */
  .filters .filter-group__summary { min-height: 46px; }
  .filters .check { min-height: 34px; }
  /* fondu bas tant qu'il reste des filtres à faire défiler (classe posée par main.js) (N03) */
  .filters.is-clipped { -webkit-mask-image: linear-gradient(#000 calc(100% - 64px), transparent); mask-image: linear-gradient(#000 calc(100% - 64px), transparent); }
}
.filters__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.filters__title { font-size: 1.75rem; }
.filters__clear { min-height: 44px; padding: 0; border: 0; background: none; font-size: var(--fs-xs); color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; }
.filters__clear:hover { color: var(--ink); }
.filter-group { border-bottom: 1px solid var(--line); }
.filter-group__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  list-style: none;
  cursor: pointer;
  font-size: var(--fs-sm);
  font-weight: 600;
}
.filter-group__summary::-webkit-details-marker { display: none; }
.filter-group__summary::marker { content: ""; }
.filter-group__summary .plus { width: 12px; height: 12px; }
.filter-group__summary .plus::before, .filter-group__summary .plus::after { width: 12px; }
.filter-group__body { display: grid; gap: 0; margin: 0; padding: 0 0 16px; border: 0; min-width: 0; }
.filter-price { display: grid; gap: 10px; padding-bottom: 6px; }
.filter-price__value { font-size: var(--fs-sm); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.filter-price input[type="range"] { width: 100%; margin: 8px 0; accent-color: var(--ink); }
.filter-price__scale { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--muted); font-variant-numeric: tabular-nums; }

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.shop-toolbar__count { font-size: var(--fs-sm); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.shop-toolbar__filter { display: none; }
.shop-toolbar__filter .filter-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: 11px; font-weight: 600; }
.shop-toolbar__filter:hover .filter-badge { background: var(--paper); color: var(--ink); }
.sort { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); color: var(--ink-2); }
/* < 640 px : « Filtrar » et le tri sur une rangée, le nombre de modèles dessous */
@media (max-width: 1023.98px) {
  .shop-toolbar { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "filter sort" "count count"; gap: 10px 12px; }
  .shop-toolbar__filter { display: inline-flex; grid-area: filter; }
  .shop-toolbar__count { grid-area: count; font-size: var(--fs-xs); color: var(--muted); }
  .sort { grid-area: sort; justify-self: stretch; justify-content: flex-end; min-width: 0; gap: 8px; }
  .sort .select { flex: 0 1 auto; min-width: 0; max-width: 100%; text-overflow: ellipsis; }
}
@media (min-width: 640px) and (max-width: 1023.98px) {
  .shop-toolbar { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "filter count sort"; }
  .shop-toolbar__count { justify-self: start; font-size: var(--fs-sm); color: var(--ink-2); }
}
.sort__label { white-space: nowrap; }
@media (max-width: 639.98px) {
  .sort__label-more { display: none; }
}

/* tuile éditoriale de la grille (complète la dernière rangée, main.js) */
.product-grid__promo { grid-column: span var(--span, 1); }
.promo-tile {
  position: relative;
  display: grid;
  align-content: end;
  gap: 12px;
  height: 100%;
  min-height: 100%;
  padding: clamp(20px, 2.4vw, 36px);
  border-radius: var(--radius);
  background: var(--sand-2);
  color: var(--ink);
  text-decoration: none;
}
.promo-tile .eyebrow { color: var(--ink-2); }
.promo-tile__title { font-family: var(--font-serif); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); line-height: 1.08; }
.promo-tile__text { max-width: 40ch; font-size: var(--fs-sm); color: var(--ink-2); }
.promo-tile__link { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; font-size: var(--fs-sm); font-weight: 500; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.promo-tile__link::after { content: ""; position: absolute; inset: 0; }
.promo-tile__link .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.promo-tile:hover .promo-tile__link .icon { transform: translateX(4px); }
.product-grid__promo:not(.is-wide) .promo-tile__text { display: none; }
.product-grid__promo:not(.is-wide) .promo-tile { aspect-ratio: auto; }
/* rangée entière (mobile, ou une seule case restante) : bandeau horizontal compact (N04) */
.product-grid__promo.is-full .promo-tile { align-content: center; gap: 8px; padding: 20px clamp(20px, 2.4vw, 36px); }
.product-grid__promo.is-full .promo-tile__title { font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); }
.promo-tile__link { white-space: nowrap; }
@media (min-width: 768px) {
  .product-grid__promo.is-full .promo-tile { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; grid-template-areas: "eyebrow text link" "title text link"; align-items: center; column-gap: clamp(24px, 3vw, 48px); row-gap: 6px; }
  .product-grid__promo.is-full .promo-tile .eyebrow { grid-area: eyebrow; }
  .product-grid__promo.is-full .promo-tile__title { grid-area: title; }
  .product-grid__promo.is-full .promo-tile__text { grid-area: text; }
  .product-grid__promo.is-full .promo-tile__link { grid-area: link; margin-top: 0; }
}

/* « Conviene saber » : conseils de la collection, sous la grille */
.shop-note { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px 48px; margin-top: clamp(48px, 5vw, 80px); padding: clamp(24px, 3vw, 40px); border-left: 2px solid var(--carey); background: var(--sand); color: var(--ink-2); }
.shop-note__title { font-size: var(--fs-3); color: var(--ink); }
.shop-note__body > * + * { margin-top: .8em; }
.shop-note__body { max-width: 68ch; }
@media (min-width: 1024px) { .shop-note { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); } }
@media (max-width: 399.98px) {
  .buy__actions { grid-template-columns: 116px minmax(0, 1fr); }
  .buy__actions .qty { grid-template-columns: 44px minmax(26px, 1fr) 44px; }
  .buy__actions .btn { padding-inline: 14px; }
}
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -8px 0 28px; }
.active-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 8px 0 12px;
  border: 0;
  border-radius: var(--radius);
  background: var(--sand);
  font-size: var(--fs-xs);
  color: var(--ink);
}
.active-chip .icon { width: 14px; height: 14px; }
.active-chip:hover { background: var(--sand-2); }
@media (pointer: coarse) { .active-chip { min-height: 44px; } }
.active-filters__clear { min-height: 36px; padding: 0 4px; border: 0; background: none; font-size: var(--fs-xs); text-decoration: underline; text-underline-offset: 4px; color: var(--ink-2); }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px var(--gap); margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px var(--gap); } }
@media (min-width: 1360px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.shop-empty { display: grid; justify-items: center; gap: 14px; padding: 72px 16px; text-align: center; border: 1px solid var(--line); }
.shop-empty__title { font-size: var(--fs-3); }
.shop-empty__text { color: var(--muted); max-width: 44ch; }

/* Filtres en tiroir (mobile) */
.filters-dialog { width: min(420px, 92vw); }
.filters-dialog .drawer__body { padding-top: 8px; }
.filters-dialog .filters__head { display: none; }
.filters-dialog__foot { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; }


/* 13 — Fiche produit
   ========================================================================== */
.product-top { padding-top: 4px; }
.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "gallery" "buy" "details";
  gap: 40px;
  padding-top: 12px;
  padding-bottom: var(--section);
}
.product__gallery { grid-area: gallery; }
.product__buy { grid-area: buy; }
.product__details { grid-area: details; }
@media (min-width: 1024px) {
  .product {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-areas: "gallery buy" "details buy";
    grid-template-rows: auto 1fr;
    column-gap: clamp(48px, 5.5vw, 104px);
    row-gap: 64px;
  }
  /* la hauteur de la notice basse est réservée sous la colonne collante (rien ne passe dessous) */
  .buy { position: sticky; top: calc(var(--header-h-compact) + 32px); padding-bottom: var(--notice-h, 0px); }
}

/* Galerie */
.pgallery { display: grid; gap: 12px; }
.pgallery__viewport {
  position: relative;
  display: flex;
  aspect-ratio: 1;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  background: var(--sand);
  border-radius: var(--radius);
}
.pgallery__viewport::-webkit-scrollbar { display: none; }
.pgallery__slide { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.pgallery__slide img { width: 100%; height: 100%; padding: 6%; object-fit: contain; mix-blend-mode: multiply; cursor: zoom-in; }
.pgallery__zoom {
  position: absolute;
  right: 16px; bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius);
  background: var(--paper);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--ink);
}
.pgallery__zoom .icon { width: 18px; height: 18px; }
.pgallery__wrap { position: relative; }
.pgallery__thumbs { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pgallery__thumb {
  display: block;
  width: 88px;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--sand);
  overflow: hidden;
}
/* vignettes sur --paper, packshot agrandi : une monture claire (argent, vue de profil) reste lisible à 88 px (B01) */
.pgallery__thumb { background: var(--paper); border-color: var(--line); }
.pgallery__thumb img { width: 100%; height: 100%; padding: 0; object-fit: cover; mix-blend-mode: multiply; transform: scale(1.2); }
.pgallery__thumb[aria-current="true"] { border-color: var(--ink); }
.pgallery__dots { display: none; justify-content: center; gap: 0; }
.pgallery__dot { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; }
.pgallery__dot span { width: 6px; height: 6px; border-radius: 50%; background: var(--sand-2); }
.pgallery__dot[aria-current="true"] span { background: var(--ink); }
@media (max-width: 767.98px) {
  /* mobile : galerie recadrée en 4:3 (marges blanches du packshot rognées) : le prix et le bouton remontent */
  .pgallery__viewport { margin-inline: calc(var(--gutter) * -1); border-radius: 0; aspect-ratio: 4 / 3; }
  .pgallery__slide img { padding: 0 4%; object-fit: cover; }
  .pgallery__thumbs { display: none; }
  .pgallery__dots { display: flex; }
  .pgallery__zoom span { display: none; }
  .pgallery__zoom { padding: 0; width: 44px; justify-content: center; right: 0; }
}

/* Colonne d'achat */
.buy__eyebrow { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.buy__title { margin-top: 14px; }
.buy__model { display: block; font-size: clamp(2.75rem, 2.1rem + 2.2vw, 4rem); line-height: .98; }
.buy__colorway { display: block; margin-top: 12px; font-family: var(--font-sans); font-size: var(--fs-lead); line-height: 1.4; letter-spacing: 0; color: var(--ink-2); }
.buy__price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-top: 22px; }
.buy__price { font-size: 1.625rem; font-weight: 500; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.buy__vat { font-size: var(--fs-xs); color: var(--muted); }
/* état du produit : simple micro-libellé à côté de l'IVA (plus de badge encadré) */
.buy__condition { flex-basis: 100%; font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.keyspecs__norms { margin-top: 16px; font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.condition {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: var(--fs-xs);
  color: var(--ink-2);
}
.condition .icon { width: 16px; height: 16px; color: var(--carey); }
.condition strong { font-weight: 600; color: var(--ink); }
.buy__lead { margin-top: 26px; color: var(--ink-2); }
.buy__block { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.colors__label { font-size: var(--fs-sm); color: var(--ink-2); }
.colors__label strong { color: var(--ink); font-weight: 600; }
.colors__list { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.color-option {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid transparent;
  border-radius: 50%;
  text-decoration: none;
  transition: border-color .2s var(--ease);
}
.color-option:hover { border-color: var(--sand-2); }
.color-option[aria-current="true"] { border-color: var(--ink); }
.color-option__dot { width: 28px; height: 28px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / .2); }
.keyspecs { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 8px clamp(24px, 3vw, 44px); margin: 0; }
.keyspecs dt { font-size: var(--fs-micro); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.keyspecs dd { margin: 6px 0 0; font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.1; color: var(--ink); font-variant-numeric: lining-nums; }
.keyspecs__sub { display: block; margin-top: 4px; font-family: var(--font-sans); font-size: var(--fs-xs); color: var(--muted); }
@media (max-width: 379.98px) { .keyspecs { grid-template-columns: repeat(2, minmax(0, auto)); } }
/* carré du calibre (52□20) : plus petit que les chiffres, centré sur leur hauteur, marges égales (B15) */
.sq { display: inline-block; width: .5em; height: .5em; margin: 0 .08em; border: 1.25px solid currentColor; vertical-align: .1em; }
/* □ dans le texte courant (absent des polices) : carré dessiné, aligné sur les chiffres */
.sq--text { width: .52em; height: .52em; margin: 0 .08em; border-width: 1px; vertical-align: .06em; }
.spec-note { display: block; margin-top: 6px; font-size: var(--fs-xs); line-height: 1.5; color: var(--ink-2); font-variant-numeric: normal; }
.buy__guide { margin-top: 14px; }
.buy__actions { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 10px; margin-top: 22px; }
.buy__actions .btn { width: 100%; }
.buy__facts { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; font-size: var(--fs-sm); color: var(--ink-2); }
.buy__facts li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; }
.buy__facts .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--ink-2); }
.buy__facts strong { color: var(--ink); font-weight: 600; }
.stock-dot { display: block; width: 8px; height: 8px; margin: 7px 0 0 5px; border-radius: 50%; background: var(--sea); box-shadow: 0 0 0 3px rgb(30 75 90 / .14); }
.trust { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 26px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.trust__item { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.trust__item .icon { width: 20px; height: 20px; color: var(--carey); stroke-width: 1.4; }
.trust__title { font-weight: 600; }
.trust__text { margin-top: 2px; font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; }
.trust__text a { color: var(--ink-2); text-underline-offset: 3px; }
.trust .payments { margin-top: 10px; gap: 6px; }
.trust .payments__item img { width: 34px; height: 22px; }

/* Détails (accordéons) */
.pdetails .accordion__summary { font-family: var(--font-serif); font-weight: 400; font-size: var(--fs-4); }
.accordion__label { font: inherit; letter-spacing: inherit; line-height: 1.2; }
.pdetails .accordion__content { color: var(--ink-2); }
.pdetails .accordion__content > * + * { margin-top: 1em; }
/* intertitres de la description : micro-libellés en capitales (hiérarchie serif / petites capitales du site) */
.pdetails .accordion__content h3 { margin-top: 2em; font-family: var(--font-sans); font-size: var(--fs-micro); font-weight: 500; line-height: 1.35; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pdetails .accordion__content h3 + * { margin-top: .7em; }
.spec-table--sheet { margin-top: 48px !important; }
.pdetails .accordion__content a { color: var(--carey); text-underline-offset: 3px; }
.pdetails .accordion__content ul { padding-left: 1.2em; }
.pdetails .accordion__content li + li { margin-top: .4em; }
.pdetails .accordion__content li::marker { color: var(--carey); }
.highlights { display: grid; gap: 10px; margin: 0; padding: 20px 22px !important; list-style: none; background: var(--sand); border-radius: var(--radius); }
.highlights li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; margin: 0 !important; color: var(--ink); font-size: var(--fs-sm); }
.highlights .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--carey); }
.spec-table { width: 100%; font-size: var(--fs-sm); }
.spec-table th, .spec-table td { padding: 11px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec-table th { width: 38%; padding-right: 16px; font-weight: 500; color: var(--ink-2); }
.spec-table td { color: var(--ink); font-variant-numeric: tabular-nums; }
.spec-table caption { caption-side: top; text-align: left; padding-bottom: 10px; font-size: var(--fs-micro); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.measures { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.measures__figure { margin: 0; padding: 20px; background: var(--sand); border-radius: var(--radius); }
.measures__figure .measures-diagram { margin-inline: auto; }
@media (min-width: 640px) and (max-width: 1023.98px), (min-width: 1280px) {
  .measures { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
}
.filter-cat { display: flex; gap: 4px; margin-top: 4px; }
.filter-cat__step { width: 22px; height: 6px; border-radius: 1px; background: var(--sand-2); }
.filter-cat__step.is-on { background: var(--ink-2); }
.safety { padding: 16px 18px; border-left: 2px solid var(--carey); background: var(--sand); font-size: var(--fs-xs); color: var(--ink-2); }
.safety strong { color: var(--ink); }

/* Produits liés */
.related { padding-bottom: var(--section); }
.related__inner { padding-top: clamp(48px, 5vw, 80px); border-top: 1px solid var(--line); }

/* Barre d'achat collante (mobile) */
.buybar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 35;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--paper);
  transform: translateY(105%);
  visibility: hidden;
  transition: transform .4s var(--ease-out), visibility 0s linear .4s;
}
.buybar.is-visible { transform: none; visibility: visible; transition: transform .4s var(--ease-out), visibility 0s; }
.buybar__media { flex: none; width: 48px; height: 48px; background: var(--sand); border-radius: var(--radius); overflow: hidden; }
.buybar__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6%; }
.buybar__info { min-width: 0; display: grid; line-height: 1.25; }
.buybar__name { font-family: var(--font-serif); font-size: 1.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar__price { font-size: var(--fs-xs); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.buybar .btn { margin-left: auto; flex: none; min-height: 44px; padding-inline: 18px; }
@media (min-width: 1024px) { .buybar { display: none; } }


/* 14 — Pages de contenu
   ========================================================================== */
.doc-hero { padding-bottom: clamp(36px, 4.5vw, 64px); border-bottom: 1px solid var(--line); }
/* air entre le fil d'Ariane et le micro-libellé, comme sur .shop-hero (N05) */
.doc-hero .breadcrumbs + .doc-hero__grid, .about-hero .breadcrumbs + .about-hero__grid { margin-top: 24px; }
/* règle N05 généralisée (M1) : FAQ, contacto, blog et articles mettent leur micro-libellé (ou leur
   grille) juste après le fil d'Ariane — même respiration de 24 px partout */
.doc-hero .breadcrumbs + *, .about-hero .breadcrumbs + *, .blog-hero .breadcrumbs + *, .post-hero .breadcrumbs + * { margin-top: 24px; }
.doc-hero__title { margin-top: 16px; max-width: 20ch; font-size: var(--fs-1); }
/* colonne « En resumen » (pages d'aide clés) */
.doc-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: end; }
.doc-summary { padding: 24px 28px; border-left: 2px solid var(--carey); background: var(--sand); }
.doc-summary__list { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; font-family: var(--font-serif); font-size: var(--fs-4); line-height: 1.2; color: var(--ink); }
@media (min-width: 1024px) {
  .doc-hero__grid.has-summary { grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); gap: clamp(40px, 6vw, 112px); }
}

/* Sobre nosotros : page de marque (récit et photos alternés) */
.about-hero { padding-bottom: clamp(40px, 5vw, 80px); }
.about-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: end; margin-top: 8px; }
.about-hero__title { margin-top: 16px; font-size: var(--fs-1); }
.about-hero__lead { margin-top: 24px; }
.about-hero__lead .lead { color: var(--ink); }
.about-hero__year { display: grid; gap: 10px; justify-items: start; }
.about-hero__year-num { font-family: var(--font-serif); font-size: clamp(5rem, 3rem + 9vw, 11rem); line-height: .8; letter-spacing: -0.02em; color: var(--carey); font-variant-numeric: lining-nums; }
.about-hero__year-label { font-size: var(--fs-micro); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.about-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; padding-block: clamp(40px, 5vw, 88px); border-top: 1px solid var(--line); }
.about-row .prose > h2:first-child { margin-top: 0; }
.about-row__media { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.about-row__media--tall { aspect-ratio: 4 / 5; }
.about-row__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); }
.about__legal { font-size: var(--fs-sm); }
.about__legal a { color: var(--carey); text-underline-offset: 3px; }
.about .service { margin-top: clamp(24px, 3vw, 48px); }
@media (min-width: 1024px) {
  .about-hero__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 112px); }
  .about-hero__year { justify-items: end; text-align: right; }
  .about-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 112px); }
  .about-row--reverse .about-row__media { order: -1; }
  .about-row--single { grid-template-columns: minmax(0, 1fr); }
}
.doc-hero__lead { margin-top: 20px; max-width: 60ch; }
.doc-hero__meta { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: var(--fs-xs); color: var(--muted); }
.doc-hero__meta .icon { width: 16px; height: 16px; }
.doc-figure { margin: clamp(32px, 4vw, 56px) 0 0; aspect-ratio: 21 / 9; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.doc-figure img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); }
@media (max-width: 767.98px) { .doc-figure { aspect-ratio: 4 / 3; } }
.doc-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); padding-bottom: var(--section); }
.doc-pair__item { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.doc-pair__item img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); }
@media (min-width: 768px) {
  .doc-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc-pair__item:nth-child(2) { margin-top: clamp(48px, 8vw, 120px); }
}
.doc__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: clamp(32px, 4.5vw, 72px); padding-bottom: var(--section); }
@media (min-width: 1024px) {
  .doc__layout { grid-template-columns: 240px minmax(0, 1fr); gap: clamp(48px, 7vw, 128px); }
  .doc__layout--single { grid-template-columns: minmax(0, 1fr); }
}

/* Sommaire */
.toc { font-size: .875rem; }
.toc__details { border: 1px solid var(--line); border-radius: var(--radius); }
.toc__summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 18px; list-style: none; cursor: pointer; font-weight: 600; }
.toc__summary::-webkit-details-marker { display: none; }
.toc__summary::marker { content: ""; }
.toc__list { margin: 0; padding: 0 18px 14px; list-style: none; counter-reset: toc; }
.toc__link { display: flex; align-items: center; min-height: 44px; padding: 8px 0; color: var(--ink-2); text-decoration: none; line-height: 1.4; }
.toc__link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.toc__link[aria-current="true"] { color: var(--ink); font-weight: 600; }
@media (min-width: 1024px) {
  .toc { position: sticky; top: calc(var(--header-h-compact) + 40px); align-self: start; max-height: calc(100vh - var(--header-h-compact) - 80px); overflow-y: auto; scrollbar-width: thin; }
  .toc__details { border: 0; }
  .toc__summary { min-height: 0; padding: 0 0 14px; pointer-events: none; font-size: var(--fs-micro); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .toc__summary .plus { display: none; }
  .toc__list { padding: 0; border-left: 1px solid var(--line); }
  .toc__link { min-height: 0; margin-left: -1px; padding: 7px 0 7px 18px; border-left: 1px solid transparent; color: var(--muted); }
  .toc__link[aria-current="true"] { border-left-color: var(--ink); color: var(--ink); font-weight: 500; }
}

/* Prose : une seule mesure de lecture (42rem ≈ 72 caractères à 17 px) pour tous les blocs de texte,
   chapeau compris ; schémas et tableaux s'alignent tous sur la même largeur de figure (960 px) */
.prose { color: var(--ink-2); }
.prose > * { max-width: 42rem; }
.prose > .lead:first-child { max-width: 42rem; }
.prose > .measure-guide, .prose > .face-shapes, .prose > figure { max-width: min(100%, 960px); }
.prose > .credits { max-width: 42rem; }
.prose > * + * { margin-top: 1.1em; }
.prose > .lead:first-child { margin-top: 0; font-size: var(--fs-lead); line-height: 1.55; color: var(--ink); }
.prose h2 { margin-top: 2.4em; font-size: var(--fs-3); color: var(--ink); scroll-margin-top: calc(var(--header-h-compact) + 32px); }
.prose h2 + * { margin-top: .9em; }
.prose h3 { margin-top: 2em; font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 600; line-height: 1.4; letter-spacing: 0; color: var(--ink); text-wrap: balance; }
.prose h3 + * { margin-top: .6em; }
.prose a { color: var(--carey); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose a:hover { color: var(--carey-dark); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li + li { margin-top: .55em; }
.prose li::marker { color: var(--carey); }
.prose ol li::marker { font-weight: 600; font-variant-numeric: tabular-nums; }
/* noms de fichiers techniques (robots.txt…) : texte courant, pas de pastille « code » dans un texte légal */
.prose code { font: inherit; color: inherit; }
/* Information de base sur la protection des données (contacto + checkout, m16) : micro-libellé
   + liste réglée de .prose, en petit corps, sans encadré */
.privacy-basic { font-size: var(--fs-sm); }
.privacy-basic > :is(h2, h3):first-child {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-micro);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.prose.privacy-basic dl { font-size: var(--fs-xs); }
@media (min-width: 640px) { .prose.privacy-basic dl { grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); } }
.privacy-basic__updated { font-size: var(--fs-xs); color: var(--muted); }
.prose dl { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 1.4em; border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.prose dt { padding-top: 14px; font-weight: 600; color: var(--ink); }
.prose dd { margin: 0; padding: 2px 0 14px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
/* liens seuls dans une définition ou un crédit : zone tactile de 44 px sans changer la mise en page */
.prose dd > a:only-child, .prose dd > a:first-child, .credits__name a { display: inline-block; padding-block: 12px; margin-block: -12px; }
@media (min-width: 640px) {
  .prose dl { grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); }
  .prose dt { padding: 14px 24px 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
  .prose dd { padding: 14px 0; }
}
.prose .note { padding: 20px 24px; border-left: 2px solid var(--carey); background: var(--sand); color: var(--ink); }
.prose address { padding: 20px 24px; background: var(--sand); color: var(--ink); line-height: 1.7; }
.prose blockquote { padding-left: 20px; border-left: 2px solid var(--line); font-family: var(--font-serif); font-size: var(--fs-4); color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose img { border-radius: var(--radius); }
.prose figure { margin-block: 2em; }
.prose figcaption { margin-top: 10px; font-size: var(--fs-xs); color: var(--muted); }
.table-wrap { margin-top: 1.6em; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.table-wrap:focus-visible { outline-offset: 2px; }
.prose table { width: 100%; min-width: 560px; font-size: var(--fs-sm); }
.prose caption { padding: 14px 18px; caption-side: top; text-align: left; font-size: var(--fs-xs); line-height: 1.5; color: var(--muted); border-bottom: 1px solid var(--line); background: var(--sand); }
.prose th, .prose td { padding: 13px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose tbody tr:last-child > * { border-bottom: 0; }
.prose thead th { font-size: var(--fs-micro); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.prose tbody th { font-weight: 600; color: var(--ink); }
.prose td { color: var(--ink-2); }
.prose .measure-guide, .prose .face-shapes { margin-block: 2.4em; }

/* Crédits photographiques (aviso legal) : une ligne par usage, auteurs regroupés */
.credits__intro { color: var(--ink-2); }
.prose .credits__groups { display: grid; grid-template-columns: minmax(0, 1fr); }
.credits__group { display: contents; }
.prose .credits__groups dd { font-size: var(--fs-sm); line-height: 1.7; }
.prose .credits__groups dd a { display: inline; padding: 0; margin: 0; color: var(--ink-2); text-decoration-color: rgb(var(--ink-rgb) / .3); }
.prose .credits__groups dd a:hover { color: var(--ink); }
@media (min-width: 640px) { .prose .credits__groups { grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); } }

/* Encadré d'aide */
.help-box { padding-bottom: var(--section); }
.help-box__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: clamp(28px, 4vw, 56px); background: var(--sand); border-radius: var(--radius); }
.help-box__title { margin-top: 14px; font-size: var(--fs-3); }
.help-box__text { margin-top: 12px; color: var(--ink-2); max-width: 48ch; }
.help-box__list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--sand-2); }
.help-box__list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--sand-2); font-size: var(--fs-sm); }
.help-box__list .icon { width: 20px; height: 20px; color: var(--carey); stroke-width: 1.4; margin-top: 1px; }
.help-box__list a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px -10px; color: var(--ink); font-weight: 500; text-underline-offset: 4px; }
.help-box__list span { display: block; font-size: var(--fs-xs); color: var(--ink-2); }
@media (min-width: 1024px) { .help-box__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; } }


/* 15 — Schémas (repris de _sources/brand/diagrams.css)
   ========================================================================== */
.measures-diagram { display: block; width: 100%; max-width: 480px; height: auto; color: var(--ink); }
.measure-guide { display: grid; gap: 56px; }
.measure-guide__figure, .measure-guide__marking { margin: 0; }
.measure-guide__figure { display: grid; gap: 32px; align-items: center; }
.measure-guide__svg { display: block; width: 100%; max-width: 520px; height: auto; color: var(--ink); }
.measure-guide__svg--marking { max-width: 560px; }
.measure-guide__legend dl { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; border: 0; font-size: var(--fs-body); }
.measure-guide__legend dl > div { display: block; }
.measure-guide__legend dt { display: flex; align-items: center; gap: 12px; padding: 0; border: 0; font-weight: 600; color: var(--ink); }
.measure-guide__legend dd { margin: 4px 0 0 36px; padding: 0; border: 0; color: var(--ink-2); line-height: 1.55; }
.measure-guide__key {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 24px; height: 24px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}
.measure-guide__marking { display: grid; gap: 20px; max-width: 640px; }
.measure-guide__marking figcaption { color: var(--ink-2); line-height: 1.6; font-size: var(--fs-body); }
@media (min-width: 900px) {
  .measure-guide__figure { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; }
}

.face-shapes { list-style: none; margin: 0; padding: 0 !important; display: grid; gap: 40px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.face-shapes__item { text-align: center; }
.face-shapes__item + .face-shapes__item { margin-top: 0; }
.face-shapes__svg { display: block; width: 100%; max-width: 132px; height: auto; margin: 0 auto 18px; color: var(--ink); }
.face-shapes__name { margin: 0 0 6px; font-family: var(--font-serif); font-weight: 400; font-size: 26px; line-height: 1.1; color: var(--ink); }
.face-shapes__frame { margin: 0 0 8px; font-size: 15px; font-weight: 500; color: var(--ink); }
.face-shapes__label { margin-right: 6px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.face-shapes__text { margin: 0 auto; max-width: 30ch; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
/* « Ver monturas » → boutique filtrée (?forma=) ; mêmes règles que .link-arrow même dans .prose */
.face-shapes__item:has(.face-shapes__link) { display: flex; flex-direction: column; align-items: center; }
.face-shapes .face-shapes__link { margin-top: auto; padding-top: 6px; gap: 8px; color: var(--ink); text-underline-offset: 6px; text-decoration-color: rgb(var(--ink-rgb) / .35); text-align: left; }
.face-shapes .face-shapes__link:hover { color: var(--ink); text-decoration-color: currentColor; }
.face-shapes .face-shapes__link .icon { flex: none; width: 16px; height: 16px; }
@media print { .face-shapes .face-shapes__link::after { content: none; } }
/* 2 colonnes : le 5e visage (orphelin) occupe toute la rangée */
@media (max-width: 719.98px) { .face-shapes > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 720px) { .face-shapes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .face-shapes { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.prose .face-shapes > li::marker { content: none; }


/* 16 — Mouvement réduit, impression
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .hero__media img, .hero__slide.is-active .hero__media img { transform: none !important; }
  /* la barre de progression du diaporama ne tourne que si l'utilisateur relance la lecture */
  .hero.is-playing .hero__dot[aria-current="true"] .hero__dot-fill { animation-duration: var(--slide-duration, 7s) !important; }
}

@media print {
  .announce, .site-header, .site-footer__nav, .notice, .toasts, .buybar, .carousel-controls,
  .hero__controls, .shop-toolbar, .filters, .toc, dialog { display: none !important; }
  body { background: #fff; }
  .prose a::after { content: " (" attr(href) ")"; font-size: .85em; color: var(--muted); }
}


/* 17 — Aviso armonizado de la UE sobre la garantía legal (Reglamento (UE) 2025/1960, anexo I)
   Partial templates/partials/legal-guarantee-notice.html (fiche produit, /garantia/, checkout).
   L'avis (PNG officiel de la Commission) n'est jamais modifié : ni recadrage, ni filtre, ni rayon
   sur l'image — le filet est posé sur le cadre. L'avis est toujours visible EN ENTIER, à la largeur
   disponible (plus de défilement horizontal, N4) ; sous 600 px de conteneur, son texte devient petit :
   le lien « Ver el aviso a tamaño completo » (SVG officiel) est mis en avant et la transcription mot
   pour mot est dépliée d'emblée sur petit écran (main.js §18).
   ========================================================================== */
.gnotice { container-type: inline-size; margin: 0; max-width: 760px; }
.prose > .gnotice { max-width: min(100%, 760px); margin-top: 1.4em; }
.gnotice__frame { border: 1px solid var(--line); background: #fff; }
.gnotice .gnotice__img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 0; }
.gnotice__hint { display: none; }
@container (max-width: 599.98px) {
  .gnotice__hint { display: flex; align-items: center; gap: 8px; margin-top: 2px; font-size: var(--fs-xs); color: var(--ink-2); }
  .gnotice__hint .icon { flex: none; width: 16px; height: 16px; color: var(--carey); }
  .gnotice__hint a { display: inline-block; padding-block: 10px; color: var(--carey); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
  .gnotice__hint a:hover { color: var(--carey-dark); }
  .gnotice .gnotice__full-link { display: none; } /* déjà proposé juste sous l'image */
}
.gnotice .gnotice__caption { margin-top: 14px; font-size: var(--fs-sm); line-height: 1.55; color: var(--ink-2); }
.gnotice .gnotice__caption strong { font-weight: 600; color: var(--ink); }
.gnotice ul.gnotice__links { display: flex; flex-wrap: wrap; gap: 0 22px; margin: 4px 0 0; padding: 0; list-style: none; font-size: var(--fs-xs); }
.gnotice .gnotice__links li + li { margin-top: 0; }
.gnotice .gnotice__links a { display: inline-block; padding-block: 8px; color: var(--carey); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gnotice .gnotice__links a:hover { color: var(--carey-dark); }
.gnotice__text { margin-top: 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gnotice__text > summary { padding: 12px 0; cursor: pointer; font-size: var(--fs-xs); font-weight: 600; color: var(--ink); }
.gnotice__text-body { padding: 0 0 18px; font-size: var(--fs-sm); line-height: 1.6; color: var(--ink-2); }
.gnotice__text-body > * + * { margin-top: .7em; }
.gnotice .gnotice__text-body ul, .gnotice .gnotice__text-body ol { padding-left: 1.3em; }
.gnotice .gnotice__text-body li + li { margin-top: .3em; }
.gnotice__t-title { font-weight: 600; color: var(--ink); }
/* rappel compact (récapitulatif du checkout) : même gabarit que .co-summary__help */
.gnotice-reminder { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; margin-top: 18px; font-size: var(--fs-xs); line-height: 1.55; color: var(--ink-2); }
.gnotice-reminder .icon { width: 18px; height: 18px; color: var(--carey); stroke-width: 1.4; }
.gnotice-reminder strong { font-weight: 600; color: var(--ink); }
.gnotice-reminder a { color: var(--ink); text-underline-offset: 3px; }
@media print {
  .gnotice__hint, .gnotice__text { display: none; }
}
