@font-face { font-family: "Anton"; src: url("/polices/Anton.ttf") format("truetype"); font-display: swap }
@font-face { font-family: "Special Elite"; src: url("/polices/SpecialElite.ttf") format("truetype"); font-display: swap }
@font-face { font-family: "Archivo"; src: url("/polices/archivo-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap }
@font-face { font-family: "Archivo"; src: url("/polices/archivo-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap }
@font-face { font-family: "Archivo"; src: url("/polices/archivo-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap }
/* Mise en page : établi de l'atelier. Bandeau sombre, fiches produit comme des étiquettes d'atelier, une seule couleur d'accent (le jaune de la marque). */
:root {
  --fond: #F4F1EA; --surface: #EAE5DA; --texte: #141416; --doux: #5E5A52; --trait: #D6D0C3;
  --accent: #FFC400; --accent-texte: #8A6400; --sur-accent: #141416; --bandeau: #141416; --sur-bandeau: #F4F1EA;
  --f-titre: "Anton", Impact, "Arial Narrow", sans-serif;
  --f-mention: "Special Elite", "Courier New", monospace;
  --f-texte: "Archivo", "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) { :root {
  --fond: #141416; --surface: #1E1E21; --texte: #F4F1EA; --doux: #A8A397; --trait: #34343A;
  --accent: #FFC400; --accent-texte: #FFC400; --sur-accent: #141416; --bandeau: #0C0C0D; --sur-bandeau: #F4F1EA; color-scheme: dark } }


* { box-sizing: border-box }
[hidden] { display: none !important }
img { max-width: 100%; height: auto }
body { background: var(--fond); color: var(--texte); font-family: var(--f-texte); font-size: 16px; line-height: 1.55 }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bandeau) }
.cadre { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)) }
a { color: inherit }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px }
h1, h2, h3 { font-family: var(--f-titre); font-weight: 400; letter-spacing: .01em; line-height: 1.05; text-wrap: balance; margin: 0 }
.mention { font-family: var(--f-mention); letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; color: var(--doux) }

/* bandeau */
header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--bandeau); color: var(--sur-bandeau) }
header .cadre { display: flex; align-items: center; gap: 24px; padding-block: 12px; flex-wrap: wrap }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none }
.logo svg { width: 30px; height: 34px; flex: none }
.logo span { display: flex; flex-direction: column; line-height: 1 }
.logo small { font-family: var(--f-mention); font-size: .75rem; letter-spacing: .12em }
.logo b { font-family: var(--f-titre); font-weight: 400; font-size: 1.45rem; color: var(--accent); letter-spacing: .02em }
nav { display: flex; gap: 20px; flex-wrap: wrap; margin-left: auto; font-size: .95rem }
nav a { text-decoration: none; opacity: .8 }
nav a:hover, nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px }
.panier { font-family: var(--f-mention); font-size: .85rem; border: 1px solid #F4F1EA44; padding: 6px 12px; border-radius: 2px }

main { padding-block: 40px 72px }
.vue { display: grid; gap: 48px }

/* accueil : la page est une planche de dessin technique.
   Le nom de la marque sert de titre, avec les volutes du logo qui fument au-dessus de MÉTIER. */
.une { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; padding-top: 8px }
.titre-marque { display: grid; gap: 4px; margin: 0; font-weight: 400 }
.titre-marque .l1 { font-family: var(--f-mention); font-size: clamp(1.15rem, 2.4vw, 1.8rem); letter-spacing: .22em }
.mot { position: relative; display: inline-block; justify-self: start; font-family: var(--f-titre); font-size: clamp(4.4rem, 12.5vw, 9.6rem); line-height: .92; letter-spacing: .005em; padding-top: .55em }
.mot .volutes { position: absolute; top: 0; right: .08em; width: .62em; height: .6em; overflow: visible }
.mot .volutes path { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; animation: fumee 4.5s ease-in-out infinite }
.mot .volutes path:nth-child(2) { animation-delay: -1.5s } .mot .volutes path:nth-child(3) { animation-delay: -3s }
@keyframes fumee { 0%, 100% { transform: translateY(0); opacity: 1 } 50% { transform: translateY(-6%); opacity: .55 } }
.mot .base { position: relative; display: inline-block }
.une .chapo { max-width: 44ch; color: var(--doux); font-size: 1.1rem; margin: 64px 0 28px }
.une .actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap }
.lien-fleche { font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px }

/* la pièce du moment, présentée comme une planche avec son cartouche */
.planche { display: grid; text-decoration: none; position: relative; padding: 14px; border: 1px solid var(--trait) }
.planche::before, .planche::after { content: ""; position: absolute; width: 22px; height: 22px; border: 2px solid var(--texte) }
.planche::before { top: -6px; left: -6px; border-right: 0; border-bottom: 0 }
.planche::after { bottom: -6px; right: -6px; border-left: 0; border-top: 0 }
.planche img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block }
.cartouche { display: grid; grid-template-columns: 1fr 1fr 1fr; border: 1px solid var(--texte); border-top: 0; font-size: .9rem }
.cartouche div { padding: 7px 10px; border-top: 1px solid var(--texte); min-width: 0 }
.cartouche div + div { border-left: 1px solid var(--texte) }
.cartouche div:nth-child(4) { border-left: 0 }
.cartouche .large { grid-column: 1 / -1; border-left: 0 !important; display: flex; justify-content: space-between; align-items: baseline; gap: 12px }
.cartouche small { display: block; font-family: var(--f-mention); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--doux) }
.cartouche strong { font-weight: 600 }
.cartouche .large strong { font-family: var(--f-titre); font-weight: 400; font-size: 1.5rem; letter-spacing: .02em }
.planche:hover .large strong { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px }

/* nomenclature : les collections présentées comme la liste de pièces d'un plan */
.nomenclature { display: grid; gap: 18px }
.nomenclature .tete { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap }
.nomenclature h2 { font-size: clamp(2rem, 4vw, 2.8rem) }
.nomenclature .tete p { margin: 0; color: var(--doux); max-width: 48ch }
.defile { overflow-x: auto }
table.pieces { width: 100%; min-width: 620px; border-collapse: collapse; border: 2px solid var(--texte) }
.pieces th { font-family: var(--f-mention); font-weight: 400; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--doux); text-align: left; padding: 10px 14px; border-bottom: 2px solid var(--texte) }
.pieces td { padding: 16px 14px; border-top: 1px solid var(--trait); vertical-align: middle }
.pieces td:first-child, .pieces th:first-child { width: 64px; text-align: center; border-right: 1px solid var(--trait) }
.pieces .rep { font-family: var(--f-titre); font-size: 1.5rem }
.pieces .nom { font-family: var(--f-titre); font-size: 1.6rem; letter-spacing: .01em; text-decoration: none }
.pieces .pour { color: var(--doux); font-size: .95rem }
.pieces .qte { font-variant-numeric: tabular-nums; text-align: center }
.etat { display: inline-block; font-family: var(--f-mention); font-size: .78rem; letter-spacing: .06em; padding: 3px 9px; border: 1px solid var(--trait); color: var(--doux); white-space: nowrap }
.etat.dispo { background: var(--accent); border-color: var(--accent); color: var(--sur-accent) }
.pieces tr.lien:hover .nom { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px }

/* coulisses et questions */
.coulisses { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; padding-top: 40px; border-top: 1px solid var(--trait) }
.coulisses h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem) }
.coulisses .texte { display: grid; gap: 14px; color: var(--doux); max-width: 62ch }
.coulisses .texte p { margin: 0 }
.coulisses .texte strong { color: var(--texte); font-weight: 600 }
.faq h2 { font-size: 1.6rem; margin-bottom: 8px }
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--accent); color: var(--sur-accent); font-family: var(--f-titre); font-size: 1.15rem; letter-spacing: .04em; padding: 14px 26px; border: 0; border-radius: 2px; text-decoration: none; cursor: pointer }
.bouton:hover { filter: brightness(1.06) }
/* catégorie */
.entete-cat { display: grid; gap: 10px; border-bottom: 1px solid var(--trait); padding-bottom: 28px }
.entete-cat h1 { font-size: clamp(2.4rem, 5vw, 3.8rem) }
.entete-cat p { max-width: 60ch; margin: 0; color: var(--doux) }
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px 20px }
.carte { display: grid; gap: 10px; text-decoration: none }
.carte .photo { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--surface) }
.carte .photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s }
.carte img + img { position: absolute; inset: 0; opacity: 0 }
.carte:hover img + img { opacity: 1 }
.carte h3 { font-size: 1.35rem }
.carte .ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 12px }
.prix { font-family: var(--f-titre); font-size: 1.3rem; font-variant-numeric: tabular-nums }
.pastilles { display: flex; gap: 6px }
.pastille { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--trait) }
.p-noir { background: #18181A } .p-ecru { background: #F3EFE4 }
.a-venir { display: grid; place-content: center; text-align: center; gap: 6px; aspect-ratio: 1; border: 1px dashed var(--trait); color: var(--doux); padding: 20px }

/* fiche produit */
.fil { font-size: .9rem; color: var(--doux) }
.fil a { text-decoration: none } .fil a:hover { text-decoration: underline }
.produit { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start }
.galerie { display: grid; gap: 12px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 80px) }
.galerie .grande { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--surface) }
.vignettes { display: flex; gap: 10px }
.vignettes button { padding: 0; border: 2px solid transparent; background: none; cursor: pointer; width: 84px; aspect-ratio: 1 }
.vignettes button[aria-pressed="true"] { border-color: var(--accent) }
.vignettes img { width: 100%; height: 100%; object-fit: cover; display: block }
.infos { display: grid; gap: 22px; min-width: 0 }
.infos h1 { font-size: clamp(2.4rem, 5vw, 3.6rem) }
.infos .sous-titre { font-family: var(--f-mention); font-size: 1.1rem; color: var(--accent-texte); margin: 6px 0 0 }
.infos .prix { font-size: 2rem }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px }
legend { padding: 0; margin-bottom: 10px; font-weight: 600; font-size: .95rem }
legend span { font-weight: 400; color: var(--doux) }
.choix { display: flex; gap: 8px; flex-wrap: wrap }
.choix input { position: absolute; opacity: 0; pointer-events: none }
.choix label { display: inline-flex; align-items: center; gap: 8px; min-width: 52px; justify-content: center; padding: 10px 14px; border: 1px solid var(--trait); cursor: pointer; font-variant-numeric: tabular-nums; border-radius: 2px }
.choix input:checked + label { border-color: var(--texte); box-shadow: inset 0 0 0 1px var(--texte) }
.choix input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px }
.ajout { width: 100% }
.message { min-height: 1.5em; margin: -8px 0 0; font-size: .92rem; color: var(--doux) }
.fiche { border-top: 1px solid var(--trait) }
.fiche details { border-bottom: 1px solid var(--trait); padding: 14px 0 }
.fiche summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between }
.fiche summary::after { content: "+"; font-family: var(--f-mention) }
.fiche details[open] summary::after { content: "−" }
.fiche p, .fiche ul { margin: 10px 0 0; color: var(--doux); max-width: 60ch }
.fiche ul { padding-left: 18px }
.cadeau { display: flex; flex-wrap: wrap; gap: 8px }
.cadeau span { font-size: .85rem; padding: 4px 10px; background: var(--surface); border-radius: 2px }
.cote { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 16px; background: var(--surface) }
.cote svg { width: 70px; height: 30px }
.cote p { margin: 0; font-size: .93rem; color: var(--doux) }
.cote strong { color: var(--texte); font-weight: 600 }

footer { background: var(--bandeau); color: #C9C4B8; font-size: .9rem }
footer .cadre { padding-block: 28px; display: flex; gap: 16px 32px; flex-wrap: wrap; justify-content: space-between }

@media (max-width: 820px) {
  .une, .produit, .coulisses { grid-template-columns: 1fr }
  .une { gap: 40px }
  .une .chapo { margin-top: 56px }
  .galerie { position: static }
  nav { margin-left: 0; width: 100%; order: 3; gap: 16px }
  header .cadre { gap: 10px 16px }
  .panier { margin-left: auto }
}
@media (max-width: 600px) {
  table.pieces { min-width: 0 }
  .pieces th:nth-child(3), .pieces td:nth-child(3), .pieces th:nth-child(4), .pieces td:nth-child(4) { display: none }
  .pieces td:first-child, .pieces th:first-child { width: 44px }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important } }

html { -webkit-text-size-adjust: 100% }
body { margin: 0 }
.lien-retour { font-weight: 600 }
.panier-liste { display: grid; gap: 16px; padding: 0; margin: 0; list-style: none }
.panier-ligne { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--trait) }
.panier-ligne img { width: 96px; height: 96px; object-fit: cover }
.panier-ligne h3 { font-size: 1.25rem }
.panier-ligne p { margin: 2px 0 0; color: var(--doux); font-size: .95rem }
.panier-ligne .actions-ligne { display: flex; gap: 10px; align-items: center; margin-top: 6px }
.qte-bouton { width: 32px; height: 32px; border: 1px solid var(--trait); background: none; color: inherit; cursor: pointer; font-size: 1rem }
.retirer { background: none; border: 0; color: var(--doux); text-decoration: underline; cursor: pointer; padding: 0; font: inherit; font-size: .9rem }
.recap { display: grid; gap: 10px; max-width: 420px; margin-left: auto; padding: 20px; background: var(--surface) }
.recap .ligne { display: flex; justify-content: space-between }
.recap .total { font-family: var(--f-titre); font-size: 1.5rem; border-top: 1px solid var(--trait); padding-top: 10px }
.vide { display: grid; gap: 16px; justify-items: start }
.page-texte { max-width: 68ch; display: grid; gap: 14px }
.page-texte h1 { font-size: clamp(2.2rem, 5vw, 3.2rem) }
.page-texte h2 { font-size: 1.6rem; margin-top: 16px }
.page-texte p { margin: 0 }
.nav-bientot { opacity: .45; cursor: default }
.consentement { position: fixed; z-index: 20; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 560px; margin: 0 auto; display: grid; gap: 12px; padding: 16px 18px; background: var(--bandeau); color: var(--sur-bandeau); box-shadow: 0 6px 24px #0004 }
.consentement p { margin: 0; font-size: .95rem }
.consentement div { display: flex; gap: 18px; align-items: center }
.consentement .bouton { padding: 10px 20px; font-size: 1rem }
.consentement .lien-fleche, .lien-pied { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0 }
.lien-pied { text-decoration: underline; text-underline-offset: 3px }
